@sjcrh/proteinpaint-client 2.208.0 → 2.209.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 (930) hide show
  1. package/dist/2dmaf-VTMPVZGT.js +1367 -0
  2. package/dist/AggMatrixInput-CH3RQ2QC.js +406 -0
  3. package/dist/AggregateMatrix-DPCHUOMF.js +41 -0
  4. package/dist/AppHeader-RA7T467G.js +830 -0
  5. package/dist/BoxPlot-7Q7SMT26.js +1211 -0
  6. package/dist/CorrelationVolcano-YV4UHOAX.js +617 -0
  7. package/dist/Cuminc-ZN53C3MD.js +1219 -0
  8. package/dist/DE-BEWW5AIG.js +89 -0
  9. package/dist/DEinput-SJITUJF2.js +499 -0
  10. package/dist/DM-2LBNE4WE.js +90 -0
  11. package/dist/DifferentialAnalysis-WE4LBHEF.js +239 -0
  12. package/dist/DifferentialAnalysis-WE4LBHEF.js.map +7 -0
  13. package/dist/Disco-PTZQF7IM.js +3389 -0
  14. package/dist/Disco.UI-NBR67N5M.js +243 -0
  15. package/dist/DmrPlot-QROLI66S.js +362 -0
  16. package/dist/DmrPlot-QROLI66S.js.map +7 -0
  17. package/dist/GB-FEBSFX5U.js +1428 -0
  18. package/dist/GB-FEBSFX5U.js.map +7 -0
  19. package/dist/GSEA-KOXOVC5V.js +875 -0
  20. package/dist/GSEA-KOXOVC5V.js.map +7 -0
  21. package/dist/GeneExpInput-DYBK54HC.js +42 -0
  22. package/dist/Geomap-QRD2WZVL.js +84 -0
  23. package/dist/HicApp-VKET4QHD.js +2245 -0
  24. package/dist/IDCViewer-RLLTXGD7.js +10812 -0
  25. package/dist/NumBinaryEditor-GYHOYPQL.js +279 -0
  26. package/dist/NumBinaryEditor.unit.spec-E2HKBWOO.js +312 -0
  27. package/dist/NumContEditor-3V76ZSEY.js +105 -0
  28. package/dist/NumContEditor.unit.spec-RTT5Q5E5.js +164 -0
  29. package/dist/NumCustomBinEditor-O5DMPY7H.js +33 -0
  30. package/dist/NumCustomBinEditor.unit.spec-5LZBP2JL.js +397 -0
  31. package/dist/NumDiscreteEditor-DFOJ7AIH.js +170 -0
  32. package/dist/NumDiscreteEditor.unit.spec-PPJGEBFX.js +233 -0
  33. package/dist/NumRegularBinEditor-O6RDO32C.js +33 -0
  34. package/dist/NumRegularBinEditor.unit.spec-GOB3BF25.js +278 -0
  35. package/dist/NumSplineEditor-PUXJF2RW.js +210 -0
  36. package/dist/NumSplineEditor.unit.spec-4VOAAMOU.js +224 -0
  37. package/dist/NumericDensity-E6MH2THZ.js +33 -0
  38. package/dist/NumericDensity.unit.spec-IRPFBQUS.js +418 -0
  39. package/dist/NumericHandler-42RR54X3.js +34 -0
  40. package/dist/NumericHandler.unit.spec-YYOO7XVT.js +214 -0
  41. package/dist/ProteomeInput-4N2G6IFX.js +388 -0
  42. package/dist/Regression-LIWUWAGQ.js +1416 -0
  43. package/dist/Regression-LIWUWAGQ.js.map +7 -0
  44. package/dist/RunChart2-VAX5JGZY.js +749 -0
  45. package/dist/SC-UHBZ3HRO.js +1183 -0
  46. package/dist/SC-UHBZ3HRO.js.map +7 -0
  47. package/dist/Violin-V23VZR6B.js +1081 -0
  48. package/dist/Violin-V23VZR6B.js.map +7 -0
  49. package/dist/Volcano-64S4AW66.js +2443 -0
  50. package/dist/Volcano-64S4AW66.js.map +7 -0
  51. package/dist/Wsi-FOJCKDCP.js +629 -0
  52. package/dist/adSandbox-CLMUYNC3.js +33 -0
  53. package/dist/animatedBubbleChart-GMLNYTQC.js +547 -0
  54. package/dist/app-2SFDRDN2.js +32 -0
  55. package/dist/app-QOZ36UR4.js +42 -0
  56. package/dist/app.js +14 -14
  57. package/dist/bam-LLAK7FVG.js +876 -0
  58. package/dist/barchart-SEC6VKQ2.js +42 -0
  59. package/dist/barchart2-D4FXZCTU.js +309 -0
  60. package/dist/block-XGK6TEGH.js +6250 -0
  61. package/dist/block-XGK6TEGH.js.map +7 -0
  62. package/dist/block.init-UMRCAKCF.js +33 -0
  63. package/dist/block.mds.expressionrank-LFPJ52SX.js +354 -0
  64. package/dist/block.mds.geneboxplot-2QIEN6AH.js +823 -0
  65. package/dist/block.mds.junction-Z4HUFSG2.js +1539 -0
  66. package/dist/block.mds.svcnv-3GXGY6ET.js +6796 -0
  67. package/dist/block.svg-7RCJLMAP.js +159 -0
  68. package/dist/block.tk.aicheck-5N6EGZ6F.js +278 -0
  69. package/dist/block.tk.ase-V3AJRYT6.js +360 -0
  70. package/dist/block.tk.bam-W6QOVVEU.js +1901 -0
  71. package/dist/block.tk.bedgraphdot-FKTPJZTH.js +379 -0
  72. package/dist/block.tk.bigwig.ui-Y3M2TDM2.js +206 -0
  73. package/dist/block.tk.hicstraw-3SWYTMFQ.js +818 -0
  74. package/dist/block.tk.junction-OXB22PDS.js +2358 -0
  75. package/dist/block.tk.junction.textmatrixui-PWBLRGCO.js +194 -0
  76. package/dist/block.tk.ld-NTRJL5GA.js +94 -0
  77. package/dist/block.tk.menu-JIHSGGIO.js +1024 -0
  78. package/dist/block.tk.pgv-4Q6CY6QN.js +938 -0
  79. package/dist/brainImaging-MBI4XTTU.js +555 -0
  80. package/dist/brainRegions-YVTAESRP.js +217 -0
  81. package/dist/bubbleHeatmap-ZKTA3AIG.js +378 -0
  82. package/dist/cellTypeBubbleHeatmap-GJZNXDG4.js +278 -0
  83. package/dist/chunk-2PDBU42F.js +4375 -0
  84. package/dist/chunk-2RMSV4BS.js +6360 -0
  85. package/dist/chunk-33BE7AYS.js +299 -0
  86. package/dist/chunk-3FEP6B5T.js +119 -0
  87. package/dist/chunk-3XBG5HIV.js +424 -0
  88. package/dist/chunk-3XBG5HIV.js.map +7 -0
  89. package/dist/chunk-4G73CMUL.js +38 -0
  90. package/dist/chunk-5FRETII3.js +281 -0
  91. package/dist/chunk-5LYVIIYR.js +170 -0
  92. package/dist/chunk-6FG6JFZP.js +339 -0
  93. package/dist/chunk-6G45AUSV.js +237 -0
  94. package/dist/chunk-6G45AUSV.js.map +7 -0
  95. package/dist/chunk-6LDKSKYQ.js +70 -0
  96. package/dist/chunk-7FFTAYT4.js +272 -0
  97. package/dist/chunk-7GDRMBNO.js +339 -0
  98. package/dist/chunk-A2UUXYH6.js +1986 -0
  99. package/dist/chunk-AFQKYV4D.js +2853 -0
  100. package/dist/chunk-ANACCKCQ.js +276 -0
  101. package/dist/chunk-AR3HXZIW.js +562 -0
  102. package/dist/chunk-AVCEHJG7.js +446 -0
  103. package/dist/chunk-AVCIZWH5.js +692 -0
  104. package/dist/chunk-B6UXFX73.js +178 -0
  105. package/dist/chunk-BCCFJYPE.js +54 -0
  106. package/dist/chunk-BG3SGGVB.js +134 -0
  107. package/dist/chunk-C3HEDQPT.js +24921 -0
  108. package/dist/chunk-C3HEDQPT.js.map +7 -0
  109. package/dist/chunk-CFZ2ZW3E.js +382 -0
  110. package/dist/chunk-CKOU3P27.js +26 -0
  111. package/dist/chunk-CN6KJORZ.js +397 -0
  112. package/dist/chunk-CYWEYHJQ.js +203 -0
  113. package/dist/chunk-D5ETVOOE.js +158 -0
  114. package/dist/chunk-DANF4CC5.js +102 -0
  115. package/dist/chunk-DNCFJTPI.js +1339 -0
  116. package/dist/chunk-FNW6BKOA.js +480 -0
  117. package/dist/chunk-FR5USNAT.js +54 -0
  118. package/dist/chunk-FSLOUTTK.js +37 -0
  119. package/dist/chunk-FSLOUTTK.js.map +7 -0
  120. package/dist/chunk-GYE6FU7P.js +626 -0
  121. package/dist/chunk-IEIGHCZS.js +1278 -0
  122. package/dist/chunk-J5GQGWYX.js +1731 -0
  123. package/dist/chunk-JMDUO47F.js +5071 -0
  124. package/dist/chunk-JTANDSTD.js +54 -0
  125. package/dist/chunk-JTQPPUDG.js +379 -0
  126. package/dist/chunk-K32DV4QI.js +302 -0
  127. package/dist/chunk-K77W4SSI.js +98 -0
  128. package/dist/chunk-KEHVNCFK.js +102 -0
  129. package/dist/chunk-MMKSXXU2.js +55 -0
  130. package/dist/chunk-NDOKW2HJ.js +31 -0
  131. package/dist/chunk-NGMM2MNC.js +518 -0
  132. package/dist/chunk-OASGOTRM.js +80 -0
  133. package/dist/chunk-OASGOTRM.js.map +7 -0
  134. package/dist/chunk-OBDIJ4QS.js +2146 -0
  135. package/dist/chunk-OBDIJ4QS.js.map +7 -0
  136. package/dist/chunk-OEBGQKQR.js +2676 -0
  137. package/dist/chunk-OI5KBFBE.js +468 -0
  138. package/dist/chunk-OWEBE64A.js +243 -0
  139. package/dist/chunk-P7X4LDW4.js +783 -0
  140. package/dist/chunk-Q4HTEL2O.js +56 -0
  141. package/dist/chunk-QD75Q5LM.js +59 -0
  142. package/dist/chunk-QGH5BM2D.js +141 -0
  143. package/dist/chunk-QSOFGLWZ.js +240 -0
  144. package/dist/chunk-QXDGIQYA.js +217 -0
  145. package/dist/chunk-R2QE6ROO.js +176 -0
  146. package/dist/chunk-RMHUDMZ7.js +103 -0
  147. package/dist/chunk-SB36AUG7.js +1614 -0
  148. package/dist/chunk-SB36AUG7.js.map +7 -0
  149. package/dist/chunk-SXB4IZQ7.js +123 -0
  150. package/dist/chunk-T6Q76PDN.js +182 -0
  151. package/dist/chunk-TYR355RM.js +263 -0
  152. package/dist/chunk-ULZPHJYD.js +2784 -0
  153. package/dist/chunk-V3SOBDIT.js +255 -0
  154. package/dist/chunk-V3SOBDIT.js.map +7 -0
  155. package/dist/chunk-VFUSBU43.js +14 -0
  156. package/dist/chunk-VOF6NWTS.js +274 -0
  157. package/dist/chunk-WGDJX7WZ.js +2327 -0
  158. package/dist/chunk-WIQVSCD5.js +294 -0
  159. package/dist/chunk-WXXRVJSP.js +56 -0
  160. package/dist/chunk-X4MV2M5F.js +129 -0
  161. package/dist/chunk-XVVVNCXS.js +217 -0
  162. package/dist/chunk-XVVVNCXS.js.map +7 -0
  163. package/dist/chunk-YHP7MYB7.js +49 -0
  164. package/dist/chunk-YHWQWVWX.js +550 -0
  165. package/dist/chunk-YKZOQTT4.js +1233 -0
  166. package/dist/chunk-Z5HU276I.js +34 -0
  167. package/dist/chunk-Z6MCBFDM.js +194 -0
  168. package/dist/cohort-GVAJTICQ.js +70 -0
  169. package/dist/condition-EGPNMM47.js +327 -0
  170. package/dist/controls-HBROSXHF.js +34 -0
  171. package/dist/controls.config-FWKV66TU.js +34 -0
  172. package/dist/correlation-CEHE66EC.js +95 -0
  173. package/dist/customdata.inputui-LFT3N5FD.js +284 -0
  174. package/dist/dataDownload-ZPAIAAE4.js +329 -0
  175. package/dist/databrowser.ui-W5JGFBE6.js +425 -0
  176. package/dist/dictionary-RBE2CIZI.js +113 -0
  177. package/dist/dnaMethylation-CX22TSRO.js +33 -0
  178. package/dist/dnaMethylation.integration.spec-KEE6ZZRT.js +198 -0
  179. package/dist/dofetch-6NAGX5EG.js +48 -0
  180. package/dist/e2pca-XDGPTEXL.js +344 -0
  181. package/dist/ep-IUIDMIGW.js +1249 -0
  182. package/dist/expclust.gdc.spec-BMN2PTJX.js +302 -0
  183. package/dist/facet-DTJKZOBA.js +519 -0
  184. package/dist/gb-MV7MUJWO.js +81 -0
  185. package/dist/geneExpClustering-NFH5FS3S.js +244 -0
  186. package/dist/geneExpression-XVOLNYVN.js +310 -0
  187. package/dist/geneExpression-ZP2VWHED.js +33 -0
  188. package/dist/geneExpression.unit.spec-2NSK4ARK.js +128 -0
  189. package/dist/geneExpression.unit.spec-2NSK4ARK.js.map +7 -0
  190. package/dist/geneORA-HQ7FLMEJ.js +273 -0
  191. package/dist/geneRanking-MIABUKTN.js +548 -0
  192. package/dist/geneVariant-H52UUK6Z.js +289 -0
  193. package/dist/geneVariant-H52UUK6Z.js.map +7 -0
  194. package/dist/geneVariant-HDFWLALZ.js +36 -0
  195. package/dist/geneVariant.integration.spec-O36JK4B7.js +503 -0
  196. package/dist/geneVariant.integration.spec-O36JK4B7.js.map +7 -0
  197. package/dist/genefusion.ui-HSDZQHJA.js +303 -0
  198. package/dist/geneset-WKV3X2EJ.js +203 -0
  199. package/dist/genomeBrowser.spec-UTAHAU76.js +276 -0
  200. package/dist/grin2-M2JDZVYU.js +70 -0
  201. package/dist/grin2-N2QM3XTG.js +949 -0
  202. package/dist/grin2-N2QM3XTG.js.map +7 -0
  203. package/dist/hierCluster-LZI6OTRS.js +59 -0
  204. package/dist/hierCluster-VVXPOTQU.js +55 -0
  205. package/dist/hierCluster.config-NCYH3Y7Z.js +36 -0
  206. package/dist/hierCluster.integration.spec-ZDOOCTV3.js +483 -0
  207. package/dist/hierCluster.interactivity-4HP3JCON.js +49 -0
  208. package/dist/hierCluster.renderers-3F5GMEXA.js +19 -0
  209. package/dist/imagePlot-OA4WTMLU.js +156 -0
  210. package/dist/importPlot-OSTC2GPO.js +8 -0
  211. package/dist/isoformExpression-LZ5RTUS5.js +35 -0
  212. package/dist/isoformExpression.unit.spec-L6YDBKYM.js +237 -0
  213. package/dist/junction-UR6COY3A.js +36 -0
  214. package/dist/junction.customTerm-TMV43R7Z.js +16 -0
  215. package/dist/junction.unit.spec-NVBJTGA4.js +182 -0
  216. package/dist/launch.adhoc-AZG6QJG7.js +37 -0
  217. package/dist/leftlabel.sample-LYZG25RT.js +258 -0
  218. package/dist/lollipop-FJXVP5QM.js +166 -0
  219. package/dist/maf-OXJIJD6D.js +455 -0
  220. package/dist/maftimeline-75N6ZXEM.js +587 -0
  221. package/dist/matrix-QFKGEW5A.js +54 -0
  222. package/dist/matrix-XT7LUV5K.js +59 -0
  223. package/dist/matrix.cells-NB7LKKXV.js +26 -0
  224. package/dist/matrix.config-X6HS4UGD.js +37 -0
  225. package/dist/matrix.data-VLFF34SS.js +23 -0
  226. package/dist/matrix.groups-F62TSKIG.js +26 -0
  227. package/dist/matrix.integration.spec-7QBYWHW6.js +3160 -0
  228. package/dist/matrix.integration.spec-7QBYWHW6.js.map +7 -0
  229. package/dist/matrix.interactivity-2FBXB52E.js +37 -0
  230. package/dist/matrix.layout-6TPVKLSX.js +39 -0
  231. package/dist/matrix.legend-L4ULBMGX.js +20 -0
  232. package/dist/matrix.renderers-DK6YRLO2.js +34 -0
  233. package/dist/matrix.serieses-DCRJLJ3H.js +19 -0
  234. package/dist/matrix.sort-XSGPH44J.js +26 -0
  235. package/dist/matrix.sort.unit.spec-JF75F4I4.js +468 -0
  236. package/dist/matrix.sorterUi-WL5I6S3K.js +16 -0
  237. package/dist/matrix.sorterUi.unit.spec-66JMV5BK.js +338 -0
  238. package/dist/matrix.unit.spec-36AR4I43.js +150 -0
  239. package/dist/mavb-ZH4RO77H.js +727 -0
  240. package/dist/mds.fimo-MVP2G5PS.js +513 -0
  241. package/dist/mds.samplescatterplot-GYJ3OI4N.js +1545 -0
  242. package/dist/mds.survivalplot-Q6MYQGTB.js +477 -0
  243. package/dist/multivalue-BGFMPH4X.js +83 -0
  244. package/dist/numericDictTermCluster-FNNVLIWB.js +63 -0
  245. package/dist/oncomatrix-LIIALWWN.js +290 -0
  246. package/dist/oncomatrix.spec-NEMLM2ZN.js +443 -0
  247. package/dist/plot.2dvaf-HJO3SKNK.js +372 -0
  248. package/dist/plot.app-WSLFOFSR.js +36 -0
  249. package/dist/plot.barplot-SPI5JA37.js +97 -0
  250. package/dist/plot.boxplot-4W3XEY5I.js +146 -0
  251. package/dist/plot.brainImaging-KEOUTYIB.js +51 -0
  252. package/dist/plot.disco-7IDMKNAQ.js +99 -0
  253. package/dist/plot.ssgq-IOKUGDC4.js +134 -0
  254. package/dist/plot.vaf2cov-SFSZ6M43.js +253 -0
  255. package/dist/polar2-PLPE5TX5.js +232 -0
  256. package/dist/profileForms-ZDHG67GM.js +941 -0
  257. package/dist/profilePlot-UUZA2YG6.js +49 -0
  258. package/dist/proteinView-GHS3XARL.js +1357 -0
  259. package/dist/proteomeCohortCompare-TQ3BGIPS.js +912 -0
  260. package/dist/pseudbulk.unit.spec-HFESRN7A.js +86 -0
  261. package/dist/pseudobulk-ODXYIUD5.js +35 -0
  262. package/dist/qualitative-WOSYAIGQ.js +38 -0
  263. package/dist/radar2-2KXBS3Y3.js +327 -0
  264. package/dist/radarFacility2-JCOKJQQF.js +335 -0
  265. package/dist/rememberedGvQ.unit.spec-DYRO2LO5.js +211 -0
  266. package/dist/render-IJ6GE3NE.js +33 -0
  267. package/dist/report-WLLFUA7L.js +217 -0
  268. package/dist/sampleView-LPKSYUNF.js +43 -0
  269. package/dist/samplelst-MNI2MGMT.js +106 -0
  270. package/dist/samplematrix-KEKJP2B4.js +2193 -0
  271. package/dist/sc-ZYKFRJU4.js +81 -0
  272. package/dist/scatter-BAEZOFWA.js +88 -0
  273. package/dist/scatter-IGFBIZ3B.js +925 -0
  274. package/dist/selectGenomeWithTklst-HBHRXEDY.js +129 -0
  275. package/dist/singleCellCellType-PMFDV24B.js +33 -0
  276. package/dist/singleCellCellType.unit.spec-ZLYDUDIY.js +154 -0
  277. package/dist/singleCellGeneExpression-SUYO3HR3.js +33 -0
  278. package/dist/singleCellGeneExpression.unit.spec-3N3HRXFN.js +148 -0
  279. package/dist/singleCellNumericValue-BV7C6Y34.js +33 -0
  280. package/dist/singleCellNumericValue.unit.spec-7VJOMYQ6.js +416 -0
  281. package/dist/singleCellPlot-BG7UJOHA.js +48 -0
  282. package/dist/singlecell-BANNFGBS.js +81 -0
  283. package/dist/singlecell-ZUTL5ZWE.js +1566 -0
  284. package/dist/snp-BHG4NVK4.js +33 -0
  285. package/dist/snp.unit.spec-Q3AZHQRC.js +171 -0
  286. package/dist/snplocus-HTJL63M3.js +203 -0
  287. package/dist/spliceevent.a53ss.diagram-UKRIP7EP.js +146 -0
  288. package/dist/spliceevent.exonskip.diagram-CU777CXQ.js +278 -0
  289. package/dist/spliceevent.noeventdiagram-LGLXCF25.js +455 -0
  290. package/dist/ssGSEA-BIEEKAKX.js +33 -0
  291. package/dist/ssGSEA.unit.spec-YD4UDIRH.js +83 -0
  292. package/dist/stattable-LFR3RSD6.js +117 -0
  293. package/dist/studyCatalog-RINIZ277.js +414 -0
  294. package/dist/summarizeCnvGeneexp-ZQFNPR65.js +158 -0
  295. package/dist/summarizeGeneexpSurvival-GIS7XMMH.js +105 -0
  296. package/dist/summarizeMutationCnv-FWF7YIGR.js +159 -0
  297. package/dist/summarizeMutationDiagnosis-V5L2OKTK.js +35 -0
  298. package/dist/summarizeMutationSurvival-LAUUF6XN.js +99 -0
  299. package/dist/summary-OMU3ACNE.js +44 -0
  300. package/dist/summary.integration.spec-6JZAT73L.js +409 -0
  301. package/dist/summaryInput-QIKL3HDD.js +242 -0
  302. package/dist/sunburst-32IW2R57.js +278 -0
  303. package/dist/survival-BMOPVAN2.js +53 -0
  304. package/dist/survival-H5AWMQ36.js +1248 -0
  305. package/dist/survival.integration.spec-66UOWSZG.js +613 -0
  306. package/dist/svgraph-B75FS3BB.js +1382 -0
  307. package/dist/svmr-IUEUOHVO.js +3837 -0
  308. package/dist/table-YAAH7WR6.js +197 -0
  309. package/dist/termCollection-7F5ZG2DB.js +252 -0
  310. package/dist/termCollection-KNFUELYY.js +33 -0
  311. package/dist/termCollection.unit.spec-S6M6QC4C.js +299 -0
  312. package/dist/termCollectionFractionSelection-X22VMJWY.js +42 -0
  313. package/dist/termCollectionFractionSelection.unit.spec-ELU6SD7P.js +188 -0
  314. package/dist/tk-TT666UVE.js +41 -0
  315. package/dist/tk-UOPNJ323.js +1121 -0
  316. package/dist/tp.ui-HGAHRKO5.js +1454 -0
  317. package/dist/tvs.dt-H7YYR4EB.js +34 -0
  318. package/dist/tvs.dtcnv.categorical-IPJTKGMF.js +35 -0
  319. package/dist/tvs.dtcnv.continuous-XY5XZ4GH.js +67 -0
  320. package/dist/tvs.dtfusion-VFCBMXRM.js +35 -0
  321. package/dist/tvs.dtitd-RZVW6FTR.js +35 -0
  322. package/dist/tvs.dtsnvindel-IDPJWSGC.js +35 -0
  323. package/dist/tvs.dtsv-QERP756F.js +35 -0
  324. package/dist/tvs.samplelst-6KNDHBIU.js +98 -0
  325. package/dist/tvs.termCollection-GWPJK3NE.js +124 -0
  326. package/dist/vocabulary-C5FIZMPQ.js +36 -0
  327. package/dist/wsi.direct-2RBCBXDA.js +8343 -0
  328. package/package.json +3 -3
  329. package/dist/2dmaf-PN5YS362.js +0 -1367
  330. package/dist/AggMatrixInput-NJHU4FU2.js +0 -406
  331. package/dist/AggregateMatrix-IBWOJWOC.js +0 -41
  332. package/dist/AppHeader-XV6S7GG5.js +0 -830
  333. package/dist/BoxPlot-ZIVA55SK.js +0 -1211
  334. package/dist/CorrelationVolcano-33I4FC44.js +0 -617
  335. package/dist/Cuminc-WKY35UGV.js +0 -1219
  336. package/dist/DE-E256DHID.js +0 -89
  337. package/dist/DEinput-YU3W72K7.js +0 -499
  338. package/dist/DM-W7PXTIKY.js +0 -90
  339. package/dist/DifferentialAnalysis-SHMQHWJL.js +0 -236
  340. package/dist/DifferentialAnalysis-SHMQHWJL.js.map +0 -7
  341. package/dist/Disco-OZY5GW2Z.js +0 -3389
  342. package/dist/Disco.UI-NRALEYXK.js +0 -243
  343. package/dist/DmrPlot-QKUX5XUW.js +0 -637
  344. package/dist/DmrPlot-QKUX5XUW.js.map +0 -7
  345. package/dist/GB-ZYH7PGHT.js +0 -1391
  346. package/dist/GB-ZYH7PGHT.js.map +0 -7
  347. package/dist/GSEA-VQTD4MLY.js +0 -851
  348. package/dist/GSEA-VQTD4MLY.js.map +0 -7
  349. package/dist/GeneExpInput-XEFUTLFU.js +0 -42
  350. package/dist/Geomap-GEK7UEDU.js +0 -84
  351. package/dist/HicApp-ZY7UHV5H.js +0 -2245
  352. package/dist/IDCViewer-YNKG4V46.js +0 -10812
  353. package/dist/NumBinaryEditor-NEL727DX.js +0 -279
  354. package/dist/NumBinaryEditor.unit.spec-GCGZMJYF.js +0 -312
  355. package/dist/NumContEditor-IM6RRDGU.js +0 -105
  356. package/dist/NumContEditor.unit.spec-B5AJXANS.js +0 -164
  357. package/dist/NumCustomBinEditor-EZT5DRKP.js +0 -33
  358. package/dist/NumCustomBinEditor.unit.spec-KLUDS6TH.js +0 -397
  359. package/dist/NumDiscreteEditor-2M6Q5AAZ.js +0 -170
  360. package/dist/NumDiscreteEditor.unit.spec-2JYZYJUX.js +0 -233
  361. package/dist/NumRegularBinEditor-AQDHA2PU.js +0 -33
  362. package/dist/NumRegularBinEditor.unit.spec-62BYFNYG.js +0 -278
  363. package/dist/NumSplineEditor-6Y5TZSTO.js +0 -210
  364. package/dist/NumSplineEditor.unit.spec-S65AV5EK.js +0 -224
  365. package/dist/NumericDensity-5ES4SDWZ.js +0 -33
  366. package/dist/NumericDensity.unit.spec-J6KZSE2P.js +0 -418
  367. package/dist/NumericHandler-ZTLDPP2F.js +0 -34
  368. package/dist/NumericHandler.unit.spec-BZFBVHGU.js +0 -214
  369. package/dist/ProteomeInput-IKEXPCGV.js +0 -388
  370. package/dist/Regression-6F6YP3AX.js +0 -1416
  371. package/dist/Regression-6F6YP3AX.js.map +0 -7
  372. package/dist/RunChart2-CVRPXQH5.js +0 -749
  373. package/dist/SC-FPXVXBXF.js +0 -1175
  374. package/dist/SC-FPXVXBXF.js.map +0 -7
  375. package/dist/Violin-BAS6DQHL.js +0 -1081
  376. package/dist/Violin-BAS6DQHL.js.map +0 -7
  377. package/dist/Volcano-FCCWUMX7.js +0 -1649
  378. package/dist/Volcano-FCCWUMX7.js.map +0 -7
  379. package/dist/Wsi-3YTFABWG.js +0 -629
  380. package/dist/adSandbox-QYIG6637.js +0 -33
  381. package/dist/animatedBubbleChart-X53PR73H.js +0 -547
  382. package/dist/app-HJLTRZPI.js +0 -32
  383. package/dist/app-MGY6A4DM.js +0 -42
  384. package/dist/bam-VRQHRCP5.js +0 -876
  385. package/dist/barchart-TWMOUZFL.js +0 -42
  386. package/dist/barchart2-CV7RMMRG.js +0 -309
  387. package/dist/block-L53P4UGQ.js +0 -6249
  388. package/dist/block-L53P4UGQ.js.map +0 -7
  389. package/dist/block.init-XYOJTXKP.js +0 -33
  390. package/dist/block.mds.expressionrank-77FSBDHA.js +0 -354
  391. package/dist/block.mds.geneboxplot-4TSYV4WS.js +0 -823
  392. package/dist/block.mds.junction-P4MYDET6.js +0 -1539
  393. package/dist/block.mds.svcnv-CYOFAS2T.js +0 -6796
  394. package/dist/block.svg-IT3ELCF4.js +0 -159
  395. package/dist/block.tk.aicheck-GULHJLV5.js +0 -278
  396. package/dist/block.tk.ase-RW5YL6HN.js +0 -360
  397. package/dist/block.tk.bam-MPGQW6KB.js +0 -1901
  398. package/dist/block.tk.bedgraphdot-EYRY374P.js +0 -379
  399. package/dist/block.tk.bigwig.ui-BKSXCDNM.js +0 -206
  400. package/dist/block.tk.hicstraw-76PV6NM3.js +0 -818
  401. package/dist/block.tk.junction-Z52QHQJQ.js +0 -2358
  402. package/dist/block.tk.junction.textmatrixui-K32OOTZC.js +0 -194
  403. package/dist/block.tk.ld-DDGLRHPO.js +0 -94
  404. package/dist/block.tk.menu-MO6TESKI.js +0 -1024
  405. package/dist/block.tk.pgv-AKLKKSEP.js +0 -938
  406. package/dist/brainImaging-KSTJQJAB.js +0 -555
  407. package/dist/brainRegions-WCRMMSK4.js +0 -217
  408. package/dist/bubbleHeatmap-4YOQ3BAB.js +0 -378
  409. package/dist/cellTypeBubbleHeatmap-O6YZ2RW4.js +0 -278
  410. package/dist/chunk-3GUVLDUS.js +0 -299
  411. package/dist/chunk-3PQDD5HM.js +0 -446
  412. package/dist/chunk-3WYUHDDP.js +0 -1986
  413. package/dist/chunk-4C7MA5Q3.js +0 -158
  414. package/dist/chunk-4EZLVENZ.js +0 -1612
  415. package/dist/chunk-4EZLVENZ.js.map +0 -7
  416. package/dist/chunk-4PB5ZEOB.js +0 -102
  417. package/dist/chunk-5IMFPVGT.js +0 -119
  418. package/dist/chunk-6DPELKO5.js +0 -518
  419. package/dist/chunk-6HGTVMZM.js +0 -54
  420. package/dist/chunk-72P6O537.js +0 -1731
  421. package/dist/chunk-74C6G6JD.js +0 -397
  422. package/dist/chunk-A7TXS6JR.js +0 -276
  423. package/dist/chunk-AAJXHERO.js +0 -123
  424. package/dist/chunk-AVS4IXEA.js +0 -692
  425. package/dist/chunk-BFXZBZEV.js +0 -176
  426. package/dist/chunk-BGVGN73F.js +0 -480
  427. package/dist/chunk-BL7EYUZC.js +0 -6360
  428. package/dist/chunk-BPGZUNLL.js +0 -274
  429. package/dist/chunk-CPIPN5F6.js +0 -141
  430. package/dist/chunk-D5MSWPAZ.js +0 -217
  431. package/dist/chunk-DFT2PAIU.js +0 -243
  432. package/dist/chunk-DMWOK4DS.js +0 -178
  433. package/dist/chunk-E7NVJ44Z.js +0 -263
  434. package/dist/chunk-EMMGUSJB.js +0 -54
  435. package/dist/chunk-G3CCQOLH.js +0 -240
  436. package/dist/chunk-GGQVDHYF.js +0 -379
  437. package/dist/chunk-GMRIEUBW.js +0 -408
  438. package/dist/chunk-GMRIEUBW.js.map +0 -7
  439. package/dist/chunk-GPZYAJQH.js +0 -2676
  440. package/dist/chunk-GS6ZMPKP.js +0 -272
  441. package/dist/chunk-GUXKLMLM.js +0 -102
  442. package/dist/chunk-HELEV3LT.js +0 -2853
  443. package/dist/chunk-HKKTNIMX.js +0 -339
  444. package/dist/chunk-HKSRIEWJ.js +0 -26
  445. package/dist/chunk-IELQ3HMN.js +0 -70
  446. package/dist/chunk-IISNWG4X.js +0 -103
  447. package/dist/chunk-J7KB2MH3.js +0 -34
  448. package/dist/chunk-JEJV7V7M.js +0 -2327
  449. package/dist/chunk-JIZ3B32T.js +0 -626
  450. package/dist/chunk-KAY2ODXX.js +0 -38
  451. package/dist/chunk-KJM6PLXM.js +0 -5071
  452. package/dist/chunk-KTKZSYIH.js +0 -24
  453. package/dist/chunk-KTKZSYIH.js.map +0 -7
  454. package/dist/chunk-KZHF3MQX.js +0 -1278
  455. package/dist/chunk-MC674TS2.js +0 -194
  456. package/dist/chunk-MLKQZ3RL.js +0 -1339
  457. package/dist/chunk-MSSPT5YM.js +0 -550
  458. package/dist/chunk-N6IWVSFP.js +0 -4375
  459. package/dist/chunk-NBGVEZNX.js +0 -56
  460. package/dist/chunk-OBBR4UYN.js +0 -54
  461. package/dist/chunk-PQA3C2NY.js +0 -294
  462. package/dist/chunk-QJ2VBXFB.js +0 -134
  463. package/dist/chunk-QJ3HYZH3.js +0 -24772
  464. package/dist/chunk-QJ3HYZH3.js.map +0 -7
  465. package/dist/chunk-QP7EJXSU.js +0 -55
  466. package/dist/chunk-QUHXX7JE.js +0 -56
  467. package/dist/chunk-REPQKF5L.js +0 -182
  468. package/dist/chunk-SHXJW27D.js +0 -2784
  469. package/dist/chunk-SUNDNTVY.js +0 -302
  470. package/dist/chunk-TSI4W6XO.js +0 -98
  471. package/dist/chunk-TXIQ5PHR.js +0 -468
  472. package/dist/chunk-U45R6QNT.js +0 -562
  473. package/dist/chunk-UMZJQWWK.js +0 -1233
  474. package/dist/chunk-VMRO6DMC.js +0 -2140
  475. package/dist/chunk-VMRO6DMC.js.map +0 -7
  476. package/dist/chunk-VO7Q4WMM.js +0 -55
  477. package/dist/chunk-VO7Q4WMM.js.map +0 -7
  478. package/dist/chunk-VWGRKOVJ.js +0 -170
  479. package/dist/chunk-WCTKHF5T.js +0 -197
  480. package/dist/chunk-WCTKHF5T.js.map +0 -7
  481. package/dist/chunk-WOMERKMR.js +0 -31
  482. package/dist/chunk-WXX2YD4Q.js +0 -59
  483. package/dist/chunk-X44AR557.js +0 -382
  484. package/dist/chunk-XEU5HXOY.js +0 -783
  485. package/dist/chunk-XGYQZHNX.js +0 -281
  486. package/dist/chunk-XOND7UIK.js +0 -49
  487. package/dist/chunk-XRMUUWLS.js +0 -339
  488. package/dist/chunk-XTOGCXPD.js +0 -129
  489. package/dist/chunk-Y5BBFDC3.js +0 -14
  490. package/dist/chunk-Z2FSHODI.js +0 -203
  491. package/dist/cohort-JWIQOO7U.js +0 -70
  492. package/dist/condition-ZUAQYF5C.js +0 -327
  493. package/dist/controls-ZPQ6SXD2.js +0 -34
  494. package/dist/controls.config-NELL5HY5.js +0 -34
  495. package/dist/correlation-2X76UI3K.js +0 -95
  496. package/dist/customdata.inputui-V6QIGFRP.js +0 -284
  497. package/dist/dataDownload-NSDY4MSL.js +0 -329
  498. package/dist/databrowser.ui-DDLFQB6K.js +0 -425
  499. package/dist/dictionary-WSDD6TFI.js +0 -113
  500. package/dist/dnaMethylation-3IM4OACZ.js +0 -33
  501. package/dist/dnaMethylation.integration.spec-5CSJA67S.js +0 -198
  502. package/dist/dofetch-GZ7POIBV.js +0 -48
  503. package/dist/e2pca-AX7U2DOI.js +0 -344
  504. package/dist/ep-UKACHFJU.js +0 -1249
  505. package/dist/expclust.gdc.spec-46HDKH2Q.js +0 -302
  506. package/dist/facet-3EONZDDE.js +0 -519
  507. package/dist/gb-W7GX5NWS.js +0 -81
  508. package/dist/geneExpClustering-PJA6Y5GW.js +0 -244
  509. package/dist/geneExpression-EMLVPVNK.js +0 -310
  510. package/dist/geneExpression-JMGYBT53.js +0 -33
  511. package/dist/geneExpression.unit.spec-DDZVZJVC.js +0 -128
  512. package/dist/geneExpression.unit.spec-DDZVZJVC.js.map +0 -7
  513. package/dist/geneORA-CIAFQQWB.js +0 -273
  514. package/dist/geneRanking-JRAU6FMJ.js +0 -548
  515. package/dist/geneVariant-3DZTWQFG.js +0 -36
  516. package/dist/geneVariant-YWURIZ72.js +0 -286
  517. package/dist/geneVariant-YWURIZ72.js.map +0 -7
  518. package/dist/geneVariant.integration.spec-V3KECZMM.js +0 -489
  519. package/dist/geneVariant.integration.spec-V3KECZMM.js.map +0 -7
  520. package/dist/genefusion.ui-AO3TUDTL.js +0 -303
  521. package/dist/geneset-RCIP2GZH.js +0 -203
  522. package/dist/genomeBrowser.spec-7PZCNBL3.js +0 -276
  523. package/dist/grin2-EUBCNH4Q.js +0 -70
  524. package/dist/grin2-YYBB5XJK.js +0 -1137
  525. package/dist/grin2-YYBB5XJK.js.map +0 -7
  526. package/dist/hierCluster-AV5NO2GW.js +0 -59
  527. package/dist/hierCluster-W2MVN34V.js +0 -55
  528. package/dist/hierCluster.config-4MBWG6RZ.js +0 -36
  529. package/dist/hierCluster.integration.spec-JUIBIUKH.js +0 -483
  530. package/dist/hierCluster.interactivity-6PJE64PF.js +0 -49
  531. package/dist/hierCluster.renderers-RWDQ5SHY.js +0 -19
  532. package/dist/imagePlot-XLDQNUJA.js +0 -156
  533. package/dist/importPlot-7FISAQKR.js +0 -8
  534. package/dist/isoformExpression-WOQAOVZS.js +0 -35
  535. package/dist/isoformExpression.unit.spec-BMEGJNCO.js +0 -237
  536. package/dist/junction-6NO36IPU.js +0 -36
  537. package/dist/junction.customTerm-N6JAOWZO.js +0 -16
  538. package/dist/junction.unit.spec-UKGSQHO4.js +0 -182
  539. package/dist/launch.adhoc-42PUNEA6.js +0 -37
  540. package/dist/leftlabel.sample-EXAUDPSB.js +0 -258
  541. package/dist/lollipop-4ASTA5HO.js +0 -166
  542. package/dist/maf-HPXANL3M.js +0 -455
  543. package/dist/maftimeline-2SXFX3HF.js +0 -587
  544. package/dist/matrix-DX4W5XMX.js +0 -59
  545. package/dist/matrix-S34ITAPJ.js +0 -54
  546. package/dist/matrix.cells-BLULUGSZ.js +0 -26
  547. package/dist/matrix.config-Z3LWYH74.js +0 -37
  548. package/dist/matrix.data-73HY7Y2V.js +0 -23
  549. package/dist/matrix.groups-NOUMYNFY.js +0 -26
  550. package/dist/matrix.integration.spec-VTXYJ46U.js +0 -3160
  551. package/dist/matrix.integration.spec-VTXYJ46U.js.map +0 -7
  552. package/dist/matrix.interactivity-YHDIO5A2.js +0 -37
  553. package/dist/matrix.layout-25HYKUF2.js +0 -39
  554. package/dist/matrix.legend-IMK7DH4V.js +0 -20
  555. package/dist/matrix.renderers-3RZRN6HO.js +0 -34
  556. package/dist/matrix.serieses-ZTVHQ7QA.js +0 -19
  557. package/dist/matrix.sort-EDXHT6NZ.js +0 -26
  558. package/dist/matrix.sort.unit.spec-LSNY7PHU.js +0 -468
  559. package/dist/matrix.sorterUi-3DRNHG5Z.js +0 -16
  560. package/dist/matrix.sorterUi.unit.spec-GNIIWGRJ.js +0 -338
  561. package/dist/matrix.unit.spec-7A6ZFRXI.js +0 -150
  562. package/dist/mavb-M5AXPLYX.js +0 -727
  563. package/dist/mds.fimo-QE5OFA22.js +0 -513
  564. package/dist/mds.samplescatterplot-664EOHX2.js +0 -1545
  565. package/dist/mds.survivalplot-H4TJD44D.js +0 -477
  566. package/dist/multivalue-JD3CNQJR.js +0 -83
  567. package/dist/numericDictTermCluster-XPKEYXD7.js +0 -63
  568. package/dist/oncomatrix-TX5PZQ76.js +0 -290
  569. package/dist/oncomatrix.spec-6X2WAHL7.js +0 -443
  570. package/dist/plot.2dvaf-5OHUFTMK.js +0 -372
  571. package/dist/plot.app-XIVVJHWG.js +0 -36
  572. package/dist/plot.barplot-PSODLAXD.js +0 -97
  573. package/dist/plot.boxplot-W3ASYFOG.js +0 -146
  574. package/dist/plot.brainImaging-JGDLKLR7.js +0 -51
  575. package/dist/plot.disco-TPMXTTZK.js +0 -99
  576. package/dist/plot.ssgq-KIZIOZIF.js +0 -134
  577. package/dist/plot.vaf2cov-MSMW72IY.js +0 -253
  578. package/dist/polar2-LA4MSRRN.js +0 -232
  579. package/dist/profileForms-BJRNB2ZF.js +0 -941
  580. package/dist/profilePlot-DDO53C4T.js +0 -49
  581. package/dist/proteinView-NFUR42XQ.js +0 -1357
  582. package/dist/proteomeCohortCompare-OZVF3X66.js +0 -912
  583. package/dist/pseudbulk.unit.spec-RY72JF7A.js +0 -86
  584. package/dist/pseudobulk-UVT5G2VL.js +0 -35
  585. package/dist/qualitative-X3VXNC7X.js +0 -38
  586. package/dist/radar2-RTVUJ3AN.js +0 -327
  587. package/dist/radarFacility2-ZGLZ5AKM.js +0 -335
  588. package/dist/rememberedGvQ.unit.spec-RLLLWU5M.js +0 -211
  589. package/dist/render-LR5BOYW6.js +0 -33
  590. package/dist/report-37W5OXUM.js +0 -217
  591. package/dist/sampleView-BDC2WPH7.js +0 -43
  592. package/dist/samplelst-V2EIVZC5.js +0 -106
  593. package/dist/samplematrix-XOSKILUL.js +0 -2193
  594. package/dist/sc-ZVZPWQY7.js +0 -81
  595. package/dist/scatter-2ZE5MCYH.js +0 -88
  596. package/dist/scatter-ZOWFPGIS.js +0 -925
  597. package/dist/selectGenomeWithTklst-EF7WYEAJ.js +0 -129
  598. package/dist/singleCellCellType-TKCGC3G3.js +0 -33
  599. package/dist/singleCellCellType.unit.spec-JZ6UHC5F.js +0 -154
  600. package/dist/singleCellGeneExpression-I2INGXGI.js +0 -33
  601. package/dist/singleCellGeneExpression.unit.spec-KL77FSHZ.js +0 -148
  602. package/dist/singleCellNumericValue-2X5NCEHL.js +0 -33
  603. package/dist/singleCellNumericValue.unit.spec-OUDBX5MY.js +0 -416
  604. package/dist/singleCellPlot-Q6INE54V.js +0 -48
  605. package/dist/singlecell-5N2P5ZAT.js +0 -81
  606. package/dist/singlecell-NPSWMNI3.js +0 -1566
  607. package/dist/snp-2WPJYPDE.js +0 -33
  608. package/dist/snp.unit.spec-PPWIIOX6.js +0 -171
  609. package/dist/snplocus-T3HZFZWA.js +0 -203
  610. package/dist/spliceevent.a53ss.diagram-APCF4LV5.js +0 -146
  611. package/dist/spliceevent.exonskip.diagram-TT5JGBSC.js +0 -278
  612. package/dist/spliceevent.noeventdiagram-CPXQSX3Z.js +0 -455
  613. package/dist/ssGSEA-FSX6P7HA.js +0 -33
  614. package/dist/ssGSEA.unit.spec-TXYT665R.js +0 -83
  615. package/dist/stattable-BD64SFYV.js +0 -117
  616. package/dist/studyCatalog-6BOWO4PO.js +0 -414
  617. package/dist/summarizeCnvGeneexp-AMLYJIPU.js +0 -158
  618. package/dist/summarizeGeneexpSurvival-IDM7T333.js +0 -105
  619. package/dist/summarizeMutationCnv-R6SYSJQC.js +0 -159
  620. package/dist/summarizeMutationDiagnosis-XZJ4JLW2.js +0 -35
  621. package/dist/summarizeMutationSurvival-ABJ5RL4L.js +0 -99
  622. package/dist/summary-NVYCTE6P.js +0 -44
  623. package/dist/summary.integration.spec-SSLTLVNW.js +0 -409
  624. package/dist/summaryInput-SJOZETRP.js +0 -242
  625. package/dist/sunburst-RU5ZPJKW.js +0 -278
  626. package/dist/survival-BHJQMXKI.js +0 -53
  627. package/dist/survival-DVG6Y2FV.js +0 -1248
  628. package/dist/survival.integration.spec-OJUPTY5N.js +0 -613
  629. package/dist/svgraph-ETFA4GRX.js +0 -1382
  630. package/dist/svmr-AI3RU4JK.js +0 -3837
  631. package/dist/table-YCTSMLQL.js +0 -197
  632. package/dist/termCollection-GMKEZR6D.js +0 -252
  633. package/dist/termCollection-VEVKKJZD.js +0 -33
  634. package/dist/termCollection.unit.spec-EU6YCEPX.js +0 -299
  635. package/dist/termCollectionFractionSelection-UBS74X36.js +0 -42
  636. package/dist/termCollectionFractionSelection.unit.spec-Y5OJFGDD.js +0 -188
  637. package/dist/tk-HMF4HCNV.js +0 -1121
  638. package/dist/tk-W6Z4FJMW.js +0 -41
  639. package/dist/tp.ui-NECRDJCS.js +0 -1454
  640. package/dist/tvs.dt-2JEH3F35.js +0 -34
  641. package/dist/tvs.dtcnv.categorical-YBXKEBR2.js +0 -35
  642. package/dist/tvs.dtcnv.continuous-AD3SJ6BY.js +0 -67
  643. package/dist/tvs.dtfusion-ODI3CLQS.js +0 -35
  644. package/dist/tvs.dtitd-V3LYLPJY.js +0 -35
  645. package/dist/tvs.dtsnvindel-R3V5LTNL.js +0 -35
  646. package/dist/tvs.dtsv-ZQLKEDLJ.js +0 -35
  647. package/dist/tvs.samplelst-G25A7HM6.js +0 -98
  648. package/dist/tvs.termCollection-WLVCWDEJ.js +0 -124
  649. package/dist/vocabulary-6K537FJM.js +0 -36
  650. package/dist/wsi.direct-SNPPQPVO.js +0 -8343
  651. /package/dist/{2dmaf-PN5YS362.js.map → 2dmaf-VTMPVZGT.js.map} +0 -0
  652. /package/dist/{AggMatrixInput-NJHU4FU2.js.map → AggMatrixInput-CH3RQ2QC.js.map} +0 -0
  653. /package/dist/{AggregateMatrix-IBWOJWOC.js.map → AggregateMatrix-DPCHUOMF.js.map} +0 -0
  654. /package/dist/{AppHeader-XV6S7GG5.js.map → AppHeader-RA7T467G.js.map} +0 -0
  655. /package/dist/{BoxPlot-ZIVA55SK.js.map → BoxPlot-7Q7SMT26.js.map} +0 -0
  656. /package/dist/{CorrelationVolcano-33I4FC44.js.map → CorrelationVolcano-YV4UHOAX.js.map} +0 -0
  657. /package/dist/{Cuminc-WKY35UGV.js.map → Cuminc-ZN53C3MD.js.map} +0 -0
  658. /package/dist/{DE-E256DHID.js.map → DE-BEWW5AIG.js.map} +0 -0
  659. /package/dist/{DEinput-YU3W72K7.js.map → DEinput-SJITUJF2.js.map} +0 -0
  660. /package/dist/{DM-W7PXTIKY.js.map → DM-2LBNE4WE.js.map} +0 -0
  661. /package/dist/{Disco-OZY5GW2Z.js.map → Disco-PTZQF7IM.js.map} +0 -0
  662. /package/dist/{Disco.UI-NRALEYXK.js.map → Disco.UI-NBR67N5M.js.map} +0 -0
  663. /package/dist/{GeneExpInput-XEFUTLFU.js.map → GeneExpInput-DYBK54HC.js.map} +0 -0
  664. /package/dist/{Geomap-GEK7UEDU.js.map → Geomap-QRD2WZVL.js.map} +0 -0
  665. /package/dist/{HicApp-ZY7UHV5H.js.map → HicApp-VKET4QHD.js.map} +0 -0
  666. /package/dist/{IDCViewer-YNKG4V46.js.map → IDCViewer-RLLTXGD7.js.map} +0 -0
  667. /package/dist/{NumBinaryEditor-NEL727DX.js.map → NumBinaryEditor-GYHOYPQL.js.map} +0 -0
  668. /package/dist/{NumBinaryEditor.unit.spec-GCGZMJYF.js.map → NumBinaryEditor.unit.spec-E2HKBWOO.js.map} +0 -0
  669. /package/dist/{NumContEditor-IM6RRDGU.js.map → NumContEditor-3V76ZSEY.js.map} +0 -0
  670. /package/dist/{NumContEditor.unit.spec-B5AJXANS.js.map → NumContEditor.unit.spec-RTT5Q5E5.js.map} +0 -0
  671. /package/dist/{NumCustomBinEditor-EZT5DRKP.js.map → NumCustomBinEditor-O5DMPY7H.js.map} +0 -0
  672. /package/dist/{NumCustomBinEditor.unit.spec-KLUDS6TH.js.map → NumCustomBinEditor.unit.spec-5LZBP2JL.js.map} +0 -0
  673. /package/dist/{NumDiscreteEditor-2M6Q5AAZ.js.map → NumDiscreteEditor-DFOJ7AIH.js.map} +0 -0
  674. /package/dist/{NumDiscreteEditor.unit.spec-2JYZYJUX.js.map → NumDiscreteEditor.unit.spec-PPJGEBFX.js.map} +0 -0
  675. /package/dist/{NumRegularBinEditor-AQDHA2PU.js.map → NumRegularBinEditor-O6RDO32C.js.map} +0 -0
  676. /package/dist/{NumRegularBinEditor.unit.spec-62BYFNYG.js.map → NumRegularBinEditor.unit.spec-GOB3BF25.js.map} +0 -0
  677. /package/dist/{NumSplineEditor-6Y5TZSTO.js.map → NumSplineEditor-PUXJF2RW.js.map} +0 -0
  678. /package/dist/{NumSplineEditor.unit.spec-S65AV5EK.js.map → NumSplineEditor.unit.spec-4VOAAMOU.js.map} +0 -0
  679. /package/dist/{NumericDensity-5ES4SDWZ.js.map → NumericDensity-E6MH2THZ.js.map} +0 -0
  680. /package/dist/{NumericDensity.unit.spec-J6KZSE2P.js.map → NumericDensity.unit.spec-IRPFBQUS.js.map} +0 -0
  681. /package/dist/{NumericHandler-ZTLDPP2F.js.map → NumericHandler-42RR54X3.js.map} +0 -0
  682. /package/dist/{NumericHandler.unit.spec-BZFBVHGU.js.map → NumericHandler.unit.spec-YYOO7XVT.js.map} +0 -0
  683. /package/dist/{ProteomeInput-IKEXPCGV.js.map → ProteomeInput-4N2G6IFX.js.map} +0 -0
  684. /package/dist/{RunChart2-CVRPXQH5.js.map → RunChart2-VAX5JGZY.js.map} +0 -0
  685. /package/dist/{Wsi-3YTFABWG.js.map → Wsi-FOJCKDCP.js.map} +0 -0
  686. /package/dist/{adSandbox-QYIG6637.js.map → adSandbox-CLMUYNC3.js.map} +0 -0
  687. /package/dist/{animatedBubbleChart-X53PR73H.js.map → animatedBubbleChart-GMLNYTQC.js.map} +0 -0
  688. /package/dist/{app-HJLTRZPI.js.map → app-2SFDRDN2.js.map} +0 -0
  689. /package/dist/{app-MGY6A4DM.js.map → app-QOZ36UR4.js.map} +0 -0
  690. /package/dist/{bam-VRQHRCP5.js.map → bam-LLAK7FVG.js.map} +0 -0
  691. /package/dist/{barchart-TWMOUZFL.js.map → barchart-SEC6VKQ2.js.map} +0 -0
  692. /package/dist/{barchart2-CV7RMMRG.js.map → barchart2-D4FXZCTU.js.map} +0 -0
  693. /package/dist/{block.init-XYOJTXKP.js.map → block.init-UMRCAKCF.js.map} +0 -0
  694. /package/dist/{block.mds.expressionrank-77FSBDHA.js.map → block.mds.expressionrank-LFPJ52SX.js.map} +0 -0
  695. /package/dist/{block.mds.geneboxplot-4TSYV4WS.js.map → block.mds.geneboxplot-2QIEN6AH.js.map} +0 -0
  696. /package/dist/{block.mds.junction-P4MYDET6.js.map → block.mds.junction-Z4HUFSG2.js.map} +0 -0
  697. /package/dist/{block.mds.svcnv-CYOFAS2T.js.map → block.mds.svcnv-3GXGY6ET.js.map} +0 -0
  698. /package/dist/{block.svg-IT3ELCF4.js.map → block.svg-7RCJLMAP.js.map} +0 -0
  699. /package/dist/{block.tk.aicheck-GULHJLV5.js.map → block.tk.aicheck-5N6EGZ6F.js.map} +0 -0
  700. /package/dist/{block.tk.ase-RW5YL6HN.js.map → block.tk.ase-V3AJRYT6.js.map} +0 -0
  701. /package/dist/{block.tk.bam-MPGQW6KB.js.map → block.tk.bam-W6QOVVEU.js.map} +0 -0
  702. /package/dist/{block.tk.bedgraphdot-EYRY374P.js.map → block.tk.bedgraphdot-FKTPJZTH.js.map} +0 -0
  703. /package/dist/{block.tk.bigwig.ui-BKSXCDNM.js.map → block.tk.bigwig.ui-Y3M2TDM2.js.map} +0 -0
  704. /package/dist/{block.tk.hicstraw-76PV6NM3.js.map → block.tk.hicstraw-3SWYTMFQ.js.map} +0 -0
  705. /package/dist/{block.tk.junction-Z52QHQJQ.js.map → block.tk.junction-OXB22PDS.js.map} +0 -0
  706. /package/dist/{block.tk.junction.textmatrixui-K32OOTZC.js.map → block.tk.junction.textmatrixui-PWBLRGCO.js.map} +0 -0
  707. /package/dist/{block.tk.ld-DDGLRHPO.js.map → block.tk.ld-NTRJL5GA.js.map} +0 -0
  708. /package/dist/{block.tk.menu-MO6TESKI.js.map → block.tk.menu-JIHSGGIO.js.map} +0 -0
  709. /package/dist/{block.tk.pgv-AKLKKSEP.js.map → block.tk.pgv-4Q6CY6QN.js.map} +0 -0
  710. /package/dist/{brainImaging-KSTJQJAB.js.map → brainImaging-MBI4XTTU.js.map} +0 -0
  711. /package/dist/{brainRegions-WCRMMSK4.js.map → brainRegions-YVTAESRP.js.map} +0 -0
  712. /package/dist/{bubbleHeatmap-4YOQ3BAB.js.map → bubbleHeatmap-ZKTA3AIG.js.map} +0 -0
  713. /package/dist/{cellTypeBubbleHeatmap-O6YZ2RW4.js.map → cellTypeBubbleHeatmap-GJZNXDG4.js.map} +0 -0
  714. /package/dist/{chunk-N6IWVSFP.js.map → chunk-2PDBU42F.js.map} +0 -0
  715. /package/dist/{chunk-BL7EYUZC.js.map → chunk-2RMSV4BS.js.map} +0 -0
  716. /package/dist/{chunk-3GUVLDUS.js.map → chunk-33BE7AYS.js.map} +0 -0
  717. /package/dist/{chunk-5IMFPVGT.js.map → chunk-3FEP6B5T.js.map} +0 -0
  718. /package/dist/{chunk-KAY2ODXX.js.map → chunk-4G73CMUL.js.map} +0 -0
  719. /package/dist/{chunk-XGYQZHNX.js.map → chunk-5FRETII3.js.map} +0 -0
  720. /package/dist/{chunk-VWGRKOVJ.js.map → chunk-5LYVIIYR.js.map} +0 -0
  721. /package/dist/{chunk-HKKTNIMX.js.map → chunk-6FG6JFZP.js.map} +0 -0
  722. /package/dist/{chunk-IELQ3HMN.js.map → chunk-6LDKSKYQ.js.map} +0 -0
  723. /package/dist/{chunk-GS6ZMPKP.js.map → chunk-7FFTAYT4.js.map} +0 -0
  724. /package/dist/{chunk-XRMUUWLS.js.map → chunk-7GDRMBNO.js.map} +0 -0
  725. /package/dist/{chunk-3WYUHDDP.js.map → chunk-A2UUXYH6.js.map} +0 -0
  726. /package/dist/{chunk-HELEV3LT.js.map → chunk-AFQKYV4D.js.map} +0 -0
  727. /package/dist/{chunk-A7TXS6JR.js.map → chunk-ANACCKCQ.js.map} +0 -0
  728. /package/dist/{chunk-U45R6QNT.js.map → chunk-AR3HXZIW.js.map} +0 -0
  729. /package/dist/{chunk-3PQDD5HM.js.map → chunk-AVCEHJG7.js.map} +0 -0
  730. /package/dist/{chunk-AVS4IXEA.js.map → chunk-AVCIZWH5.js.map} +0 -0
  731. /package/dist/{chunk-DMWOK4DS.js.map → chunk-B6UXFX73.js.map} +0 -0
  732. /package/dist/{chunk-6HGTVMZM.js.map → chunk-BCCFJYPE.js.map} +0 -0
  733. /package/dist/{chunk-QJ2VBXFB.js.map → chunk-BG3SGGVB.js.map} +0 -0
  734. /package/dist/{chunk-X44AR557.js.map → chunk-CFZ2ZW3E.js.map} +0 -0
  735. /package/dist/{chunk-HKSRIEWJ.js.map → chunk-CKOU3P27.js.map} +0 -0
  736. /package/dist/{chunk-74C6G6JD.js.map → chunk-CN6KJORZ.js.map} +0 -0
  737. /package/dist/{chunk-Z2FSHODI.js.map → chunk-CYWEYHJQ.js.map} +0 -0
  738. /package/dist/{chunk-4C7MA5Q3.js.map → chunk-D5ETVOOE.js.map} +0 -0
  739. /package/dist/{chunk-4PB5ZEOB.js.map → chunk-DANF4CC5.js.map} +0 -0
  740. /package/dist/{chunk-MLKQZ3RL.js.map → chunk-DNCFJTPI.js.map} +0 -0
  741. /package/dist/{chunk-BGVGN73F.js.map → chunk-FNW6BKOA.js.map} +0 -0
  742. /package/dist/{chunk-EMMGUSJB.js.map → chunk-FR5USNAT.js.map} +0 -0
  743. /package/dist/{chunk-JIZ3B32T.js.map → chunk-GYE6FU7P.js.map} +0 -0
  744. /package/dist/{chunk-KZHF3MQX.js.map → chunk-IEIGHCZS.js.map} +0 -0
  745. /package/dist/{chunk-72P6O537.js.map → chunk-J5GQGWYX.js.map} +0 -0
  746. /package/dist/{chunk-KJM6PLXM.js.map → chunk-JMDUO47F.js.map} +0 -0
  747. /package/dist/{chunk-OBBR4UYN.js.map → chunk-JTANDSTD.js.map} +0 -0
  748. /package/dist/{chunk-GGQVDHYF.js.map → chunk-JTQPPUDG.js.map} +0 -0
  749. /package/dist/{chunk-SUNDNTVY.js.map → chunk-K32DV4QI.js.map} +0 -0
  750. /package/dist/{chunk-TSI4W6XO.js.map → chunk-K77W4SSI.js.map} +0 -0
  751. /package/dist/{chunk-GUXKLMLM.js.map → chunk-KEHVNCFK.js.map} +0 -0
  752. /package/dist/{chunk-QP7EJXSU.js.map → chunk-MMKSXXU2.js.map} +0 -0
  753. /package/dist/{chunk-WOMERKMR.js.map → chunk-NDOKW2HJ.js.map} +0 -0
  754. /package/dist/{chunk-6DPELKO5.js.map → chunk-NGMM2MNC.js.map} +0 -0
  755. /package/dist/{chunk-GPZYAJQH.js.map → chunk-OEBGQKQR.js.map} +0 -0
  756. /package/dist/{chunk-TXIQ5PHR.js.map → chunk-OI5KBFBE.js.map} +0 -0
  757. /package/dist/{chunk-DFT2PAIU.js.map → chunk-OWEBE64A.js.map} +0 -0
  758. /package/dist/{chunk-XEU5HXOY.js.map → chunk-P7X4LDW4.js.map} +0 -0
  759. /package/dist/{chunk-QUHXX7JE.js.map → chunk-Q4HTEL2O.js.map} +0 -0
  760. /package/dist/{chunk-WXX2YD4Q.js.map → chunk-QD75Q5LM.js.map} +0 -0
  761. /package/dist/{chunk-CPIPN5F6.js.map → chunk-QGH5BM2D.js.map} +0 -0
  762. /package/dist/{chunk-G3CCQOLH.js.map → chunk-QSOFGLWZ.js.map} +0 -0
  763. /package/dist/{chunk-D5MSWPAZ.js.map → chunk-QXDGIQYA.js.map} +0 -0
  764. /package/dist/{chunk-BFXZBZEV.js.map → chunk-R2QE6ROO.js.map} +0 -0
  765. /package/dist/{chunk-IISNWG4X.js.map → chunk-RMHUDMZ7.js.map} +0 -0
  766. /package/dist/{chunk-AAJXHERO.js.map → chunk-SXB4IZQ7.js.map} +0 -0
  767. /package/dist/{chunk-REPQKF5L.js.map → chunk-T6Q76PDN.js.map} +0 -0
  768. /package/dist/{chunk-E7NVJ44Z.js.map → chunk-TYR355RM.js.map} +0 -0
  769. /package/dist/{chunk-SHXJW27D.js.map → chunk-ULZPHJYD.js.map} +0 -0
  770. /package/dist/{chunk-Y5BBFDC3.js.map → chunk-VFUSBU43.js.map} +0 -0
  771. /package/dist/{chunk-BPGZUNLL.js.map → chunk-VOF6NWTS.js.map} +0 -0
  772. /package/dist/{chunk-JEJV7V7M.js.map → chunk-WGDJX7WZ.js.map} +0 -0
  773. /package/dist/{chunk-PQA3C2NY.js.map → chunk-WIQVSCD5.js.map} +0 -0
  774. /package/dist/{chunk-NBGVEZNX.js.map → chunk-WXXRVJSP.js.map} +0 -0
  775. /package/dist/{chunk-XTOGCXPD.js.map → chunk-X4MV2M5F.js.map} +0 -0
  776. /package/dist/{chunk-XOND7UIK.js.map → chunk-YHP7MYB7.js.map} +0 -0
  777. /package/dist/{chunk-MSSPT5YM.js.map → chunk-YHWQWVWX.js.map} +0 -0
  778. /package/dist/{chunk-UMZJQWWK.js.map → chunk-YKZOQTT4.js.map} +0 -0
  779. /package/dist/{chunk-J7KB2MH3.js.map → chunk-Z5HU276I.js.map} +0 -0
  780. /package/dist/{chunk-MC674TS2.js.map → chunk-Z6MCBFDM.js.map} +0 -0
  781. /package/dist/{cohort-JWIQOO7U.js.map → cohort-GVAJTICQ.js.map} +0 -0
  782. /package/dist/{condition-ZUAQYF5C.js.map → condition-EGPNMM47.js.map} +0 -0
  783. /package/dist/{controls-ZPQ6SXD2.js.map → controls-HBROSXHF.js.map} +0 -0
  784. /package/dist/{controls.config-NELL5HY5.js.map → controls.config-FWKV66TU.js.map} +0 -0
  785. /package/dist/{correlation-2X76UI3K.js.map → correlation-CEHE66EC.js.map} +0 -0
  786. /package/dist/{customdata.inputui-V6QIGFRP.js.map → customdata.inputui-LFT3N5FD.js.map} +0 -0
  787. /package/dist/{dataDownload-NSDY4MSL.js.map → dataDownload-ZPAIAAE4.js.map} +0 -0
  788. /package/dist/{databrowser.ui-DDLFQB6K.js.map → databrowser.ui-W5JGFBE6.js.map} +0 -0
  789. /package/dist/{dictionary-WSDD6TFI.js.map → dictionary-RBE2CIZI.js.map} +0 -0
  790. /package/dist/{dnaMethylation-3IM4OACZ.js.map → dnaMethylation-CX22TSRO.js.map} +0 -0
  791. /package/dist/{dnaMethylation.integration.spec-5CSJA67S.js.map → dnaMethylation.integration.spec-KEE6ZZRT.js.map} +0 -0
  792. /package/dist/{dofetch-GZ7POIBV.js.map → dofetch-6NAGX5EG.js.map} +0 -0
  793. /package/dist/{e2pca-AX7U2DOI.js.map → e2pca-XDGPTEXL.js.map} +0 -0
  794. /package/dist/{ep-UKACHFJU.js.map → ep-IUIDMIGW.js.map} +0 -0
  795. /package/dist/{expclust.gdc.spec-46HDKH2Q.js.map → expclust.gdc.spec-BMN2PTJX.js.map} +0 -0
  796. /package/dist/{facet-3EONZDDE.js.map → facet-DTJKZOBA.js.map} +0 -0
  797. /package/dist/{gb-W7GX5NWS.js.map → gb-MV7MUJWO.js.map} +0 -0
  798. /package/dist/{geneExpClustering-PJA6Y5GW.js.map → geneExpClustering-NFH5FS3S.js.map} +0 -0
  799. /package/dist/{geneExpression-EMLVPVNK.js.map → geneExpression-XVOLNYVN.js.map} +0 -0
  800. /package/dist/{geneExpression-JMGYBT53.js.map → geneExpression-ZP2VWHED.js.map} +0 -0
  801. /package/dist/{geneORA-CIAFQQWB.js.map → geneORA-HQ7FLMEJ.js.map} +0 -0
  802. /package/dist/{geneRanking-JRAU6FMJ.js.map → geneRanking-MIABUKTN.js.map} +0 -0
  803. /package/dist/{geneVariant-3DZTWQFG.js.map → geneVariant-HDFWLALZ.js.map} +0 -0
  804. /package/dist/{genefusion.ui-AO3TUDTL.js.map → genefusion.ui-HSDZQHJA.js.map} +0 -0
  805. /package/dist/{geneset-RCIP2GZH.js.map → geneset-WKV3X2EJ.js.map} +0 -0
  806. /package/dist/{genomeBrowser.spec-7PZCNBL3.js.map → genomeBrowser.spec-UTAHAU76.js.map} +0 -0
  807. /package/dist/{grin2-EUBCNH4Q.js.map → grin2-M2JDZVYU.js.map} +0 -0
  808. /package/dist/{hierCluster-AV5NO2GW.js.map → hierCluster-LZI6OTRS.js.map} +0 -0
  809. /package/dist/{hierCluster-W2MVN34V.js.map → hierCluster-VVXPOTQU.js.map} +0 -0
  810. /package/dist/{hierCluster.config-4MBWG6RZ.js.map → hierCluster.config-NCYH3Y7Z.js.map} +0 -0
  811. /package/dist/{hierCluster.integration.spec-JUIBIUKH.js.map → hierCluster.integration.spec-ZDOOCTV3.js.map} +0 -0
  812. /package/dist/{hierCluster.interactivity-6PJE64PF.js.map → hierCluster.interactivity-4HP3JCON.js.map} +0 -0
  813. /package/dist/{hierCluster.renderers-RWDQ5SHY.js.map → hierCluster.renderers-3F5GMEXA.js.map} +0 -0
  814. /package/dist/{imagePlot-XLDQNUJA.js.map → imagePlot-OA4WTMLU.js.map} +0 -0
  815. /package/dist/{importPlot-7FISAQKR.js.map → importPlot-OSTC2GPO.js.map} +0 -0
  816. /package/dist/{isoformExpression-WOQAOVZS.js.map → isoformExpression-LZ5RTUS5.js.map} +0 -0
  817. /package/dist/{isoformExpression.unit.spec-BMEGJNCO.js.map → isoformExpression.unit.spec-L6YDBKYM.js.map} +0 -0
  818. /package/dist/{junction-6NO36IPU.js.map → junction-UR6COY3A.js.map} +0 -0
  819. /package/dist/{junction.customTerm-N6JAOWZO.js.map → junction.customTerm-TMV43R7Z.js.map} +0 -0
  820. /package/dist/{junction.unit.spec-UKGSQHO4.js.map → junction.unit.spec-NVBJTGA4.js.map} +0 -0
  821. /package/dist/{launch.adhoc-42PUNEA6.js.map → launch.adhoc-AZG6QJG7.js.map} +0 -0
  822. /package/dist/{leftlabel.sample-EXAUDPSB.js.map → leftlabel.sample-LYZG25RT.js.map} +0 -0
  823. /package/dist/{lollipop-4ASTA5HO.js.map → lollipop-FJXVP5QM.js.map} +0 -0
  824. /package/dist/{maf-HPXANL3M.js.map → maf-OXJIJD6D.js.map} +0 -0
  825. /package/dist/{maftimeline-2SXFX3HF.js.map → maftimeline-75N6ZXEM.js.map} +0 -0
  826. /package/dist/{matrix-DX4W5XMX.js.map → matrix-QFKGEW5A.js.map} +0 -0
  827. /package/dist/{matrix-S34ITAPJ.js.map → matrix-XT7LUV5K.js.map} +0 -0
  828. /package/dist/{matrix.cells-BLULUGSZ.js.map → matrix.cells-NB7LKKXV.js.map} +0 -0
  829. /package/dist/{matrix.config-Z3LWYH74.js.map → matrix.config-X6HS4UGD.js.map} +0 -0
  830. /package/dist/{matrix.data-73HY7Y2V.js.map → matrix.data-VLFF34SS.js.map} +0 -0
  831. /package/dist/{matrix.groups-NOUMYNFY.js.map → matrix.groups-F62TSKIG.js.map} +0 -0
  832. /package/dist/{matrix.interactivity-YHDIO5A2.js.map → matrix.interactivity-2FBXB52E.js.map} +0 -0
  833. /package/dist/{matrix.layout-25HYKUF2.js.map → matrix.layout-6TPVKLSX.js.map} +0 -0
  834. /package/dist/{matrix.legend-IMK7DH4V.js.map → matrix.legend-L4ULBMGX.js.map} +0 -0
  835. /package/dist/{matrix.renderers-3RZRN6HO.js.map → matrix.renderers-DK6YRLO2.js.map} +0 -0
  836. /package/dist/{matrix.serieses-ZTVHQ7QA.js.map → matrix.serieses-DCRJLJ3H.js.map} +0 -0
  837. /package/dist/{matrix.sort-EDXHT6NZ.js.map → matrix.sort-XSGPH44J.js.map} +0 -0
  838. /package/dist/{matrix.sort.unit.spec-LSNY7PHU.js.map → matrix.sort.unit.spec-JF75F4I4.js.map} +0 -0
  839. /package/dist/{matrix.sorterUi-3DRNHG5Z.js.map → matrix.sorterUi-WL5I6S3K.js.map} +0 -0
  840. /package/dist/{matrix.sorterUi.unit.spec-GNIIWGRJ.js.map → matrix.sorterUi.unit.spec-66JMV5BK.js.map} +0 -0
  841. /package/dist/{matrix.unit.spec-7A6ZFRXI.js.map → matrix.unit.spec-36AR4I43.js.map} +0 -0
  842. /package/dist/{mavb-M5AXPLYX.js.map → mavb-ZH4RO77H.js.map} +0 -0
  843. /package/dist/{mds.fimo-QE5OFA22.js.map → mds.fimo-MVP2G5PS.js.map} +0 -0
  844. /package/dist/{mds.samplescatterplot-664EOHX2.js.map → mds.samplescatterplot-GYJ3OI4N.js.map} +0 -0
  845. /package/dist/{mds.survivalplot-H4TJD44D.js.map → mds.survivalplot-Q6MYQGTB.js.map} +0 -0
  846. /package/dist/{multivalue-JD3CNQJR.js.map → multivalue-BGFMPH4X.js.map} +0 -0
  847. /package/dist/{numericDictTermCluster-XPKEYXD7.js.map → numericDictTermCluster-FNNVLIWB.js.map} +0 -0
  848. /package/dist/{oncomatrix-TX5PZQ76.js.map → oncomatrix-LIIALWWN.js.map} +0 -0
  849. /package/dist/{oncomatrix.spec-6X2WAHL7.js.map → oncomatrix.spec-NEMLM2ZN.js.map} +0 -0
  850. /package/dist/{plot.2dvaf-5OHUFTMK.js.map → plot.2dvaf-HJO3SKNK.js.map} +0 -0
  851. /package/dist/{plot.app-XIVVJHWG.js.map → plot.app-WSLFOFSR.js.map} +0 -0
  852. /package/dist/{plot.barplot-PSODLAXD.js.map → plot.barplot-SPI5JA37.js.map} +0 -0
  853. /package/dist/{plot.boxplot-W3ASYFOG.js.map → plot.boxplot-4W3XEY5I.js.map} +0 -0
  854. /package/dist/{plot.brainImaging-JGDLKLR7.js.map → plot.brainImaging-KEOUTYIB.js.map} +0 -0
  855. /package/dist/{plot.disco-TPMXTTZK.js.map → plot.disco-7IDMKNAQ.js.map} +0 -0
  856. /package/dist/{plot.ssgq-KIZIOZIF.js.map → plot.ssgq-IOKUGDC4.js.map} +0 -0
  857. /package/dist/{plot.vaf2cov-MSMW72IY.js.map → plot.vaf2cov-SFSZ6M43.js.map} +0 -0
  858. /package/dist/{polar2-LA4MSRRN.js.map → polar2-PLPE5TX5.js.map} +0 -0
  859. /package/dist/{profileForms-BJRNB2ZF.js.map → profileForms-ZDHG67GM.js.map} +0 -0
  860. /package/dist/{profilePlot-DDO53C4T.js.map → profilePlot-UUZA2YG6.js.map} +0 -0
  861. /package/dist/{proteinView-NFUR42XQ.js.map → proteinView-GHS3XARL.js.map} +0 -0
  862. /package/dist/{proteomeCohortCompare-OZVF3X66.js.map → proteomeCohortCompare-TQ3BGIPS.js.map} +0 -0
  863. /package/dist/{pseudbulk.unit.spec-RY72JF7A.js.map → pseudbulk.unit.spec-HFESRN7A.js.map} +0 -0
  864. /package/dist/{pseudobulk-UVT5G2VL.js.map → pseudobulk-ODXYIUD5.js.map} +0 -0
  865. /package/dist/{qualitative-X3VXNC7X.js.map → qualitative-WOSYAIGQ.js.map} +0 -0
  866. /package/dist/{radar2-RTVUJ3AN.js.map → radar2-2KXBS3Y3.js.map} +0 -0
  867. /package/dist/{radarFacility2-ZGLZ5AKM.js.map → radarFacility2-JCOKJQQF.js.map} +0 -0
  868. /package/dist/{rememberedGvQ.unit.spec-RLLLWU5M.js.map → rememberedGvQ.unit.spec-DYRO2LO5.js.map} +0 -0
  869. /package/dist/{render-LR5BOYW6.js.map → render-IJ6GE3NE.js.map} +0 -0
  870. /package/dist/{report-37W5OXUM.js.map → report-WLLFUA7L.js.map} +0 -0
  871. /package/dist/{sampleView-BDC2WPH7.js.map → sampleView-LPKSYUNF.js.map} +0 -0
  872. /package/dist/{samplelst-V2EIVZC5.js.map → samplelst-MNI2MGMT.js.map} +0 -0
  873. /package/dist/{samplematrix-XOSKILUL.js.map → samplematrix-KEKJP2B4.js.map} +0 -0
  874. /package/dist/{sc-ZVZPWQY7.js.map → sc-ZYKFRJU4.js.map} +0 -0
  875. /package/dist/{scatter-2ZE5MCYH.js.map → scatter-BAEZOFWA.js.map} +0 -0
  876. /package/dist/{scatter-ZOWFPGIS.js.map → scatter-IGFBIZ3B.js.map} +0 -0
  877. /package/dist/{selectGenomeWithTklst-EF7WYEAJ.js.map → selectGenomeWithTklst-HBHRXEDY.js.map} +0 -0
  878. /package/dist/{singleCellCellType-TKCGC3G3.js.map → singleCellCellType-PMFDV24B.js.map} +0 -0
  879. /package/dist/{singleCellCellType.unit.spec-JZ6UHC5F.js.map → singleCellCellType.unit.spec-ZLYDUDIY.js.map} +0 -0
  880. /package/dist/{singleCellGeneExpression-I2INGXGI.js.map → singleCellGeneExpression-SUYO3HR3.js.map} +0 -0
  881. /package/dist/{singleCellGeneExpression.unit.spec-KL77FSHZ.js.map → singleCellGeneExpression.unit.spec-3N3HRXFN.js.map} +0 -0
  882. /package/dist/{singleCellNumericValue-2X5NCEHL.js.map → singleCellNumericValue-BV7C6Y34.js.map} +0 -0
  883. /package/dist/{singleCellNumericValue.unit.spec-OUDBX5MY.js.map → singleCellNumericValue.unit.spec-7VJOMYQ6.js.map} +0 -0
  884. /package/dist/{singleCellPlot-Q6INE54V.js.map → singleCellPlot-BG7UJOHA.js.map} +0 -0
  885. /package/dist/{singlecell-5N2P5ZAT.js.map → singlecell-BANNFGBS.js.map} +0 -0
  886. /package/dist/{singlecell-NPSWMNI3.js.map → singlecell-ZUTL5ZWE.js.map} +0 -0
  887. /package/dist/{snp-2WPJYPDE.js.map → snp-BHG4NVK4.js.map} +0 -0
  888. /package/dist/{snp.unit.spec-PPWIIOX6.js.map → snp.unit.spec-Q3AZHQRC.js.map} +0 -0
  889. /package/dist/{snplocus-T3HZFZWA.js.map → snplocus-HTJL63M3.js.map} +0 -0
  890. /package/dist/{spliceevent.a53ss.diagram-APCF4LV5.js.map → spliceevent.a53ss.diagram-UKRIP7EP.js.map} +0 -0
  891. /package/dist/{spliceevent.exonskip.diagram-TT5JGBSC.js.map → spliceevent.exonskip.diagram-CU777CXQ.js.map} +0 -0
  892. /package/dist/{spliceevent.noeventdiagram-CPXQSX3Z.js.map → spliceevent.noeventdiagram-LGLXCF25.js.map} +0 -0
  893. /package/dist/{ssGSEA-FSX6P7HA.js.map → ssGSEA-BIEEKAKX.js.map} +0 -0
  894. /package/dist/{ssGSEA.unit.spec-TXYT665R.js.map → ssGSEA.unit.spec-YD4UDIRH.js.map} +0 -0
  895. /package/dist/{stattable-BD64SFYV.js.map → stattable-LFR3RSD6.js.map} +0 -0
  896. /package/dist/{studyCatalog-6BOWO4PO.js.map → studyCatalog-RINIZ277.js.map} +0 -0
  897. /package/dist/{summarizeCnvGeneexp-AMLYJIPU.js.map → summarizeCnvGeneexp-ZQFNPR65.js.map} +0 -0
  898. /package/dist/{summarizeGeneexpSurvival-IDM7T333.js.map → summarizeGeneexpSurvival-GIS7XMMH.js.map} +0 -0
  899. /package/dist/{summarizeMutationCnv-R6SYSJQC.js.map → summarizeMutationCnv-FWF7YIGR.js.map} +0 -0
  900. /package/dist/{summarizeMutationDiagnosis-XZJ4JLW2.js.map → summarizeMutationDiagnosis-V5L2OKTK.js.map} +0 -0
  901. /package/dist/{summarizeMutationSurvival-ABJ5RL4L.js.map → summarizeMutationSurvival-LAUUF6XN.js.map} +0 -0
  902. /package/dist/{summary-NVYCTE6P.js.map → summary-OMU3ACNE.js.map} +0 -0
  903. /package/dist/{summary.integration.spec-SSLTLVNW.js.map → summary.integration.spec-6JZAT73L.js.map} +0 -0
  904. /package/dist/{summaryInput-SJOZETRP.js.map → summaryInput-QIKL3HDD.js.map} +0 -0
  905. /package/dist/{sunburst-RU5ZPJKW.js.map → sunburst-32IW2R57.js.map} +0 -0
  906. /package/dist/{survival-BHJQMXKI.js.map → survival-BMOPVAN2.js.map} +0 -0
  907. /package/dist/{survival-DVG6Y2FV.js.map → survival-H5AWMQ36.js.map} +0 -0
  908. /package/dist/{survival.integration.spec-OJUPTY5N.js.map → survival.integration.spec-66UOWSZG.js.map} +0 -0
  909. /package/dist/{svgraph-ETFA4GRX.js.map → svgraph-B75FS3BB.js.map} +0 -0
  910. /package/dist/{svmr-AI3RU4JK.js.map → svmr-IUEUOHVO.js.map} +0 -0
  911. /package/dist/{table-YCTSMLQL.js.map → table-YAAH7WR6.js.map} +0 -0
  912. /package/dist/{termCollection-GMKEZR6D.js.map → termCollection-7F5ZG2DB.js.map} +0 -0
  913. /package/dist/{termCollection-VEVKKJZD.js.map → termCollection-KNFUELYY.js.map} +0 -0
  914. /package/dist/{termCollection.unit.spec-EU6YCEPX.js.map → termCollection.unit.spec-S6M6QC4C.js.map} +0 -0
  915. /package/dist/{termCollectionFractionSelection-UBS74X36.js.map → termCollectionFractionSelection-X22VMJWY.js.map} +0 -0
  916. /package/dist/{termCollectionFractionSelection.unit.spec-Y5OJFGDD.js.map → termCollectionFractionSelection.unit.spec-ELU6SD7P.js.map} +0 -0
  917. /package/dist/{tk-W6Z4FJMW.js.map → tk-TT666UVE.js.map} +0 -0
  918. /package/dist/{tk-HMF4HCNV.js.map → tk-UOPNJ323.js.map} +0 -0
  919. /package/dist/{tp.ui-NECRDJCS.js.map → tp.ui-HGAHRKO5.js.map} +0 -0
  920. /package/dist/{tvs.dt-2JEH3F35.js.map → tvs.dt-H7YYR4EB.js.map} +0 -0
  921. /package/dist/{tvs.dtcnv.categorical-YBXKEBR2.js.map → tvs.dtcnv.categorical-IPJTKGMF.js.map} +0 -0
  922. /package/dist/{tvs.dtcnv.continuous-AD3SJ6BY.js.map → tvs.dtcnv.continuous-XY5XZ4GH.js.map} +0 -0
  923. /package/dist/{tvs.dtfusion-ODI3CLQS.js.map → tvs.dtfusion-VFCBMXRM.js.map} +0 -0
  924. /package/dist/{tvs.dtitd-V3LYLPJY.js.map → tvs.dtitd-RZVW6FTR.js.map} +0 -0
  925. /package/dist/{tvs.dtsnvindel-R3V5LTNL.js.map → tvs.dtsnvindel-IDPJWSGC.js.map} +0 -0
  926. /package/dist/{tvs.dtsv-ZQLKEDLJ.js.map → tvs.dtsv-QERP756F.js.map} +0 -0
  927. /package/dist/{tvs.samplelst-G25A7HM6.js.map → tvs.samplelst-6KNDHBIU.js.map} +0 -0
  928. /package/dist/{tvs.termCollection-WLVCWDEJ.js.map → tvs.termCollection-GWPJK3NE.js.map} +0 -0
  929. /package/dist/{vocabulary-6K537FJM.js.map → vocabulary-C5FIZMPQ.js.map} +0 -0
  930. /package/dist/{wsi.direct-SNPPQPVO.js.map → wsi.direct-2RBCBXDA.js.map} +0 -0
@@ -0,0 +1,2146 @@
1
+ import {
2
+ isNumericTerm
3
+ } from "./chunk-3XBG5HIV.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-SB36AUG7.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/dmrColors.js
316
+ var HYPER_COLOR = "#e66101";
317
+ var HYPO_COLOR = "#5e81f4";
318
+
319
+ // ../shared/utils/dist/src/compute.percentile.js
320
+ function computePercentile(values, percentile, sorted = false) {
321
+ if (!sorted) values.sort((a, b) => a - b);
322
+ const index = Math.abs(percentile / 100 * values.length - 1);
323
+ const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
324
+ return value;
325
+ }
326
+
327
+ // ../shared/utils/dist/src/hash.js
328
+ var encoder = new TextEncoder();
329
+ async function hash(message) {
330
+ const msgUint8 = encoder.encode(message);
331
+ const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
332
+ const hashArray = Array.from(new Uint8Array(hashBuffer));
333
+ const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
334
+ return hexToBase64(hashHex).replace("=", "-");
335
+ }
336
+ function hexToBase64(hexStr) {
337
+ return btoa(
338
+ [...hexStr].reduce(
339
+ (acc, _, i) => acc += !(i - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i - 1, i + 1), 16)) : "",
340
+ ""
341
+ )
342
+ );
343
+ }
344
+
345
+ // ../shared/utils/dist/src/urljson.js
346
+ var reserved = ["false", "true", "null", "undefined"];
347
+ var delimiters = ['"', "{", "["];
348
+ function encode(rawObject) {
349
+ const params = [];
350
+ for (const [key, value] of Object.entries(rawObject)) {
351
+ if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
352
+ params.push(`${key}=${encodeURIComponent(value)}`);
353
+ } else if (value !== void 0) {
354
+ params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
355
+ }
356
+ }
357
+ return params.join("&");
358
+ }
359
+
360
+ // ../shared/utils/dist/src/fetch-helpers.js
361
+ async function processResponse(r) {
362
+ const ct = r.headers.get("content-type");
363
+ if (!ct) throw `missing response.header['content-type']`;
364
+ if (ct.includes("/json")) {
365
+ const payload = await r.json();
366
+ return payload;
367
+ }
368
+ if (ct.includes("/text") || ct.includes("text/")) {
369
+ return r.text();
370
+ }
371
+ if (ct.includes("multipart")) {
372
+ if (ct.startsWith("multipart/form-data")) return processFormData(r);
373
+ else throw `cannot handle response content-type: '${ct}'`;
374
+ }
375
+ if (ct == "application/x-ndjson-nestedkey") {
376
+ return processNDJSON_nestedKey(r);
377
+ }
378
+ return r.blob();
379
+ }
380
+ async function processFormData(res) {
381
+ const data = {};
382
+ const form = await res.formData();
383
+ for (const [key, value] of form.entries()) {
384
+ if (value.type) {
385
+ data[key] = { headers: { "content-type": value.type }, body: value };
386
+ } else {
387
+ const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
388
+ data[key] = { headers: { "content-type": "application/json" }, body };
389
+ }
390
+ }
391
+ return data;
392
+ }
393
+ async function processNDJSON_nestedKey(r) {
394
+ const stream = r.body.pipeThrough(new TextDecoderStream());
395
+ const reader = stream.getReader();
396
+ let rootObj = {};
397
+ let buffer = "";
398
+ let done = false;
399
+ while (!done) {
400
+ const readResult = await reader.read();
401
+ done = readResult.done;
402
+ if (done) break;
403
+ const value = readResult.value;
404
+ buffer += value;
405
+ const parts = buffer.split("\n");
406
+ buffer = parts.pop() ?? "";
407
+ for (const line of parts) {
408
+ if (line.trim()) {
409
+ const [keys, data] = JSON.parse(line);
410
+ if (!keys.length) rootObj = data;
411
+ else {
412
+ const lastKey = keys.pop();
413
+ let target = rootObj;
414
+ for (const k of keys) target = target[k];
415
+ target[lastKey] = data;
416
+ }
417
+ }
418
+ }
419
+ }
420
+ return rootObj;
421
+ }
422
+ var cacheLifetime = 1e3 * 60 * 5;
423
+ async function getDataName(url, init) {
424
+ const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
425
+ return await hash(dataName);
426
+ }
427
+
428
+ // ../shared/utils/dist/src/fileSize.js
429
+ function fileSize(v) {
430
+ if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
431
+ if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
432
+ if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
433
+ return v + " Bytes";
434
+ }
435
+
436
+ // ../shared/utils/dist/src/mds3tk.js
437
+ var ssmIdFieldsSeparator = "__";
438
+ function summarize_mclass(mlst) {
439
+ const m2c = /* @__PURE__ */ new Map();
440
+ const cnvs = [];
441
+ for (const m of mlst) {
442
+ if (m.dt == dtcnv) {
443
+ cnvs.push(m);
444
+ continue;
445
+ }
446
+ const key = m.class || m.dt;
447
+ m2c.set(key, 1 + (m2c.get(key) || 0));
448
+ }
449
+ if (cnvs.length) {
450
+ if (Number.isFinite(cnvs[0].value)) {
451
+ m2c.set(dtcnv, cnvs.length);
452
+ } else {
453
+ for (const c of cnvs) {
454
+ if (!c.class) continue;
455
+ m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
456
+ }
457
+ }
458
+ }
459
+ return [...m2c].sort((i, j) => j[1] - i[1]);
460
+ }
461
+ function guessSsmid(ssmid) {
462
+ const l = ssmid.split(ssmIdFieldsSeparator);
463
+ if (l.length == 4) {
464
+ const [chr, tmp, ref, alt] = l;
465
+ const pos = Number(tmp);
466
+ if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
467
+ return { dt: dtsnvindel, l: [chr, pos, ref, alt] };
468
+ }
469
+ if (l.length == 5) {
470
+ const [chr, _start, _stop, _class, _value] = l;
471
+ const start = Number(_start), stop = Number(_stop);
472
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
473
+ const value = _value == "" ? null : Number(_value);
474
+ if (_class == mclassitd) {
475
+ return { dt: dtitd, l: [chr, start, stop, _class, value] };
476
+ }
477
+ return { dt: dtcnv, l: [chr, start, stop, _class, value] };
478
+ }
479
+ if (l.length == 6) {
480
+ if (l[3] == "+" || l[3] == "-") {
481
+ const [_dt, chr2, _pos, strand, _pi, _mname] = l;
482
+ const mname = decodeURIComponent(_mname);
483
+ const dt = Number(_dt);
484
+ if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
485
+ const pos = Number(_pos);
486
+ if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
487
+ const pairlstIdx = Number(_pi);
488
+ if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
489
+ return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
490
+ }
491
+ const [chr, _start, _stop, _class, _value, sample] = l;
492
+ const start = Number(_start), stop = Number(_stop);
493
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
494
+ if (_class == mclassitd) {
495
+ return { dt: dtitd, l: [chr, start, stop, _class, _value, sample] };
496
+ }
497
+ const value = _value == "" ? null : Number(_value);
498
+ return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
499
+ }
500
+ throw new Error("unknown ssmid");
501
+ }
502
+
503
+ // ../shared/utils/dist/src/scatter.js
504
+ var xAxisOffSet = 80;
505
+ var yAxisOffSet = 30;
506
+ function getCoordinate(val, min, max) {
507
+ if (min != null && val < min) return min;
508
+ if (max != null && val > max) return max;
509
+ return val;
510
+ }
511
+ function calculatePadding(minScale, maxScale, min, max) {
512
+ return minScale != null || maxScale != null ? 0 : (max - min) * 0.01;
513
+ }
514
+
515
+ // ../shared/utils/dist/src/termdb.bins.js
516
+ function validate_bins(binconfig) {
517
+ const bc = binconfig;
518
+ if (!bc || typeof bc !== "object") throw "bin schema must be an object";
519
+ if (!("type" in bc)) bc.type = "regular-bin";
520
+ if (bc.type == "custom-bin") {
521
+ if (!Array.isArray(bc.lst)) throw "binconfig.lst must be an array";
522
+ if (!bc.lst.length) throw "binconfig.lst must have entries";
523
+ const first_bin = bc.lst[0];
524
+ const last_bin = bc.lst[bc.lst.length - 1];
525
+ for (const bin of bc.lst) {
526
+ if (!("startinclusive" in bin) && !("stopinclusive" in bin)) {
527
+ throw "custom bin.startinclusive and/or bin.stopinclusive must be defined";
528
+ }
529
+ if (bin == first_bin) {
530
+ if ("startunbounded" in bin && !bin.startunbounded) {
531
+ throw `a custom first bin must not set bin.startunbounded to false`;
532
+ }
533
+ bin.startunbounded = true;
534
+ if ("start" in bin) {
535
+ throw "a custom first bin must not set a bin.start value";
536
+ }
537
+ if ("start_percentile" in bin) {
538
+ throw "the first bin must not set a bin.start_percentile value";
539
+ }
540
+ if (!("stop" in bin)) {
541
+ throw `a custom first bin must define a bin.stop value`;
542
+ }
543
+ if (!isStrictNumeric(bin.stop)) {
544
+ throw `a custom first bin.stop value should be numeric`;
545
+ }
546
+ } else if (bin == last_bin) {
547
+ if (!("start" in bin)) {
548
+ throw `a custom last bin must define a bin.start value`;
549
+ }
550
+ if (!isStrictNumeric(bin.start)) {
551
+ throw `a custom last bin.start must be numeric`;
552
+ }
553
+ if ("stopunbounded" in bin && !bin.stopunbounded) {
554
+ throw "a custom last bin must not set bin.stopunbounded to false";
555
+ }
556
+ bin.stopunbounded = true;
557
+ if ("stop" in bin) {
558
+ throw "a custom last bin must not set a bin.stop value";
559
+ }
560
+ } else {
561
+ if (bin.startunbounded || bin.stopunbounded) {
562
+ throw "bin.startunbounded and bin.stopunbounded must not be set for non-first/non-last bins";
563
+ }
564
+ if (!isStrictNumeric(bin.start)) throw "bin.start must be numeric for a non-first bin";
565
+ if (!isStrictNumeric(bin.stop)) throw "bin.stop must be numeric for a non-last bin";
566
+ }
567
+ }
568
+ } else if (bc.type == "regular-bin") {
569
+ if (!Number.isFinite(bc.bin_size)) throw "non-numeric bin_size";
570
+ if (!bc.bin_size || bc.bin_size <= 0) throw "bin_size must be greater than 0";
571
+ if (!bc.startinclusive && !bc.stopinclusive) {
572
+ bc.startinclusive = true;
573
+ bc.stopinclusive = false;
574
+ }
575
+ if (!bc.first_bin) throw "first_bin{} missing";
576
+ if (typeof bc.first_bin != "object") throw "first_bin{} is not an object";
577
+ if (!Object.keys(bc.first_bin).length) throw "first_bin is an empty object";
578
+ {
579
+ const b = bc.first_bin;
580
+ b.startunbounded = true;
581
+ if (b.stop_percentile) {
582
+ if (!Number.isInteger(b.stop_percentile)) throw "first_bin.stop_percentile should be integer";
583
+ if (b.stop_percentile <= 0 || b.stop_percentile >= 100) throw "first_bin.stop_percentile out of bound (0-100)";
584
+ } else if (!Number.isFinite(b.stop)) {
585
+ throw "first_bin.stop not a number when stop_percentile is not set";
586
+ }
587
+ }
588
+ if (bc.last_bin) {
589
+ const b = bc.last_bin;
590
+ if (b.start_percentile) {
591
+ if (!Number.isInteger(b.start_percentile)) throw "last_bin.start_percentile should be integer";
592
+ if (b.start_percentile <= 0 || b.start_percentile >= 100) throw "last_bin.start_percentile out of bound (0-100)";
593
+ } else if (!Number.isFinite(b.start)) {
594
+ throw "last_bin.start not a number when start_percentile is not set";
595
+ }
596
+ b.stopunbounded = true;
597
+ if ("stop" in b) {
598
+ throw "a regular last bin must not set a bin.stop value";
599
+ }
600
+ }
601
+ } else {
602
+ throw `invalid binconfig.type="${bc.type}"`;
603
+ }
604
+ }
605
+ var maxNumBins = 100;
606
+ function compute_bins(binconfig, summaryfxn, valueConversion) {
607
+ const bc = binconfig;
608
+ validate_bins(bc);
609
+ if (bc.lst) {
610
+ if (!Array.isArray(bc.lst)) throw `bc.lst is not an array`;
611
+ if (bc.lst.length > maxNumBins) throw `bc.lst exceed the maximum of ${maxNumBins} allowed entries`;
612
+ assignBinColors(bc.lst);
613
+ }
614
+ if (bc.type == "custom-bin") return JSON.parse(JSON.stringify(bc.lst));
615
+ if (typeof summaryfxn != "function") throw "summaryfxn required for modules/termdb.bins.js compute_bins()";
616
+ const percentiles = target_percentiles(bc);
617
+ const summary = summaryfxn(percentiles);
618
+ if (!summary || typeof summary !== "object") throw "invalid returned value by summaryfxn";
619
+ bc.results = { summary };
620
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
621
+ const minFloor = Math.floor(summary.min * 100) / 100;
622
+ const maxCeil = Math.ceil(summary.max * 100) / 100;
623
+ const min = bc.first_bin.startunbounded ? minFloor : bc.first_bin.start_percentile ? summary["p" + bc.first_bin.start_percentile] : bc.first_bin.start;
624
+ let max = maxCeil, last_start, last_stop;
625
+ if (bc.last_bin) {
626
+ 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;
627
+ 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;
628
+ 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;
629
+ } else if (bc.lst) {
630
+ const last_bin = bc.lst[bc.lst.length - 1];
631
+ last_start = last_bin.start;
632
+ last_stop = "stop" in last_bin && !last_bin.stopunbounded ? last_bin.stop : maxCeil;
633
+ max = last_stop;
634
+ } else {
635
+ last_start = maxCeil;
636
+ last_stop = maxCeil;
637
+ }
638
+ const numericMax = isStrictNumeric(max);
639
+ const numericLastStart = isStrictNumeric(last_start);
640
+ const numericLastStop = isStrictNumeric(last_stop);
641
+ if (!numericMax && !numericLastStart) return [];
642
+ const bins = [];
643
+ let currBin = {
644
+ startunbounded: bc.first_bin.startunbounded,
645
+ start: bc.first_bin.startunbounded ? void 0 : min,
646
+ 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,
647
+ startinclusive: bc.startinclusive,
648
+ stopinclusive: bc.stopinclusive
649
+ };
650
+ if (!isStrictNumeric(currBin.stop)) throw "the computed first_bin.stop is non-numeric" + currBin.stop;
651
+ while (numericMax && currBin.stop <= max || currBin.startunbounded && !bins.length || currBin.stopunbounded) {
652
+ bins.push(currBin);
653
+ if (currBin.stop >= max) {
654
+ currBin.stopunbounded = true;
655
+ if (bins.length > 1) {
656
+ delete currBin.stop;
657
+ }
658
+ }
659
+ currBin.label = get_bin_label(currBin, bc, valueConversion);
660
+ if (currBin.stopunbounded) break;
661
+ const upper = currBin.stop + bc.bin_size;
662
+ const previousStop = currBin.stop;
663
+ currBin = {
664
+ startinclusive: bc.startinclusive,
665
+ stopinclusive: bc.stopinclusive,
666
+ start: previousStop,
667
+ stop: numericLastStop && (previousStop == last_start || upper > last_stop) ? last_stop : numericLastStart && upper > last_start && previousStop != last_start ? last_start : upper
668
+ };
669
+ if (currBin.stop >= max) {
670
+ currBin.stop = max;
671
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
672
+ if (bc.last_bin && bc.last_bin.stopinclusive) currBin.stopinclusive = 1;
673
+ }
674
+ if (numericLastStart && currBin.start == last_start) {
675
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
676
+ }
677
+ if (currBin.start > currBin.stop) {
678
+ if (numericLastStart && currBin.stop == last_start && bc.last_bin && bc.last_bin.stopunbounded)
679
+ currBin.stopunbounded = true;
680
+ else break;
681
+ }
682
+ if (bins.length + 1 >= maxNumBins) {
683
+ delete currBin.stop;
684
+ currBin.stopunbounded = true;
685
+ currBin.label = get_bin_label(currBin, bc, valueConversion);
686
+ if (!bins.includes(currBin)) bins.push(currBin);
687
+ const hint = "Please increase the bin_size or first bin stop, or have a lower last bin start.";
688
+ throw new Error(hint + " (max_num_bins_reached)");
689
+ }
690
+ }
691
+ delete bc.binLabelFormatter;
692
+ if (bins.length > 1) {
693
+ delete bins[bins.length - 1].stop;
694
+ }
695
+ assignBinColors(bins);
696
+ return bins;
697
+ }
698
+ function assignBinColors(lst) {
699
+ const k2c = getColors(lst.length);
700
+ for (const [i, bin] of lst.entries()) bin.color = k2c(String(i));
701
+ return lst;
702
+ }
703
+ function getNumDecimalsFormatter(bc) {
704
+ return "rounding" in bc ? format(bc.rounding) : (d) => d;
705
+ }
706
+ function get_bin_label(bin, binconfig, valueConversion) {
707
+ if (!bin) return "missing bin.label";
708
+ if (bin.label) return bin.label;
709
+ const bc = binconfig;
710
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
711
+ if (!bin.startunbounded && !bin.stopunbounded && !("startinclusive" in bin) && !("stopinclusive" in bin)) {
712
+ if (bc.startinclusive) bin.startinclusive = true;
713
+ else if (bc.stopinclusive) bin.stopinclusive = true;
714
+ }
715
+ const start = bc.use_as == "bins" || bin.start;
716
+ const stop = bc.use_as == "bins" || bin.stop;
717
+ let label_offset = 0;
718
+ if ("label_offset" in bc) {
719
+ bc.label_offset_ignored = "bin_size" in bc && bc.bin_size < bc.label_offset;
720
+ if (!bc.label_offset_ignored) label_offset = bc.label_offset;
721
+ } else if (bc.bin_size === 1 && bc.termtype == "integer") {
722
+ label_offset = 1;
723
+ }
724
+ if (bin.startunbounded) {
725
+ const oper = bin.stopinclusive ? "\u2264" : "<";
726
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(stop);
727
+ return oper + v1;
728
+ }
729
+ if (bin.stopunbounded || start === stop) {
730
+ const oper = bin.startinclusive ? "\u2265" : ">";
731
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
732
+ return oper + v0;
733
+ }
734
+ if (label_offset && bin.startinclusive && !bin.stopinclusive) {
735
+ if (Number.isInteger(bc.bin_size) && Math.abs(start - stop) === label_offset) {
736
+ return "" + (valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start));
737
+ } else {
738
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
739
+ const v1 = valueConversion ? convertUnits(
740
+ stop - label_offset,
741
+ valueConversion.fromUnit,
742
+ valueConversion.toUnit,
743
+ valueConversion.scaleFactor,
744
+ true
745
+ ) : bc.binLabelFormatter(stop - label_offset);
746
+ return +v0 >= +v1 ? v0.toString() : v0 + " to " + v1;
747
+ }
748
+ } else {
749
+ const oper0 = bin.startinclusive ? "" : ">";
750
+ const oper1 = bin.stopinclusive ? "" : "<";
751
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(start) ? start : bc.binLabelFormatter(start);
752
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(stop) ? stop : bc.binLabelFormatter(stop);
753
+ if (+v0 >= +v1) {
754
+ const oper = bin.startinclusive ? "\u2265" : ">";
755
+ return oper + v0;
756
+ } else {
757
+ return oper0 + v0 + " to " + oper1 + v1;
758
+ }
759
+ }
760
+ }
761
+ function get_bin_range_equation(bin, binconfig, valueConversion) {
762
+ const x = '<span style="font-family:Times;font-style:italic;">x</span>';
763
+ let range_eq;
764
+ const copy = structuredClone(bin);
765
+ copy.label = "";
766
+ const bin_label = get_bin_label(copy, binconfig, valueConversion);
767
+ if (bin.startunbounded || bin.stopunbounded) {
768
+ range_eq = x + " " + bin_label;
769
+ } else if (bin.startinclusive) {
770
+ range_eq = bin_label.replace("to <", "\u2264 " + x + " <");
771
+ } else if (bin.stopinclusive) {
772
+ range_eq = bin_label.replace(">", "").replace("to", "< " + x + " \u2264");
773
+ }
774
+ return range_eq;
775
+ }
776
+ function target_percentiles(binconfig) {
777
+ const percentiles = [];
778
+ const f = binconfig.first_bin;
779
+ if (f && isStrictNumeric(f.start_percentile)) percentiles.push(f.start_percentile);
780
+ if (f && isStrictNumeric(f.stop_percentile)) percentiles.push(f.stop_percentile);
781
+ const l = binconfig.last_bin;
782
+ if (l && isStrictNumeric(l.start_percentile)) percentiles.push(l.start_percentile);
783
+ if (l && isStrictNumeric(l.stop_percentile)) percentiles.push(l.stop_percentile);
784
+ return percentiles;
785
+ }
786
+
787
+ // ../shared/utils/dist/src/termdb.initbinconfig.js
788
+ function initBinConfig(data, opts = {}) {
789
+ if (!data.length)
790
+ return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
791
+ if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
792
+ let binConfig;
793
+ const s = new Set(data);
794
+ if (s.size === 1) {
795
+ const value = [...s][0];
796
+ binConfig = {
797
+ type: "custom-bin",
798
+ lst: [
799
+ { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
800
+ { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
801
+ { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
802
+ ]
803
+ };
804
+ } else {
805
+ data.sort((a, b) => a - b);
806
+ const l = data.length;
807
+ const min = data[0];
808
+ const max = data[l - 1];
809
+ const p5idx = Math.ceil(l * 0.05) - 1;
810
+ const p98idx = Math.ceil(l * 0.98) - 1;
811
+ const p5 = data[p5idx];
812
+ const p98 = data[p98idx];
813
+ const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
814
+ const firstBinStop = Math.max(min + binSize, p5);
815
+ const [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
816
+ binConfig = {
817
+ type: "regular-bin",
818
+ startinclusive: true,
819
+ bin_size: binSize_rnd,
820
+ first_bin: { stop: firstBinStop_rnd }
821
+ };
822
+ if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
823
+ if (rounding) binConfig.rounding = rounding;
824
+ }
825
+ if ("format" in opts) {
826
+ if (opts.format === "string") {
827
+ return JSON.stringify(binConfig);
828
+ } else {
829
+ throw "options are not in the correct format";
830
+ }
831
+ } else {
832
+ return binConfig;
833
+ }
834
+ }
835
+ function roundBinVals(binSize, firstBinStop, max, min) {
836
+ let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
837
+ const log = Math.floor(Math.log10(binSize));
838
+ if (binSize >= 0.1 && binSize <= 2) {
839
+ binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
840
+ firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
841
+ } else {
842
+ binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
843
+ firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
844
+ if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
845
+ if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
846
+ if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
847
+ }
848
+ if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
849
+ const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
850
+ if (max > eighthBinStop_rnd) {
851
+ lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
852
+ }
853
+ if (binSize < 1) {
854
+ const digits = Math.abs(log);
855
+ binSize_rnd = Number(binSize_rnd.toFixed(digits));
856
+ firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
857
+ if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
858
+ rounding = "." + digits + "f";
859
+ }
860
+ if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
861
+ return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
862
+ }
863
+
864
+ // ../shared/utils/dist/src/termdb.usecase.js
865
+ var graphableTypes = /* @__PURE__ */ new Set([
866
+ "categorical",
867
+ "integer",
868
+ "float",
869
+ "condition",
870
+ "survival",
871
+ "snplst",
872
+ "snplocus",
873
+ "geneVariant",
874
+ "samplelst",
875
+ "geneExpression",
876
+ ISOFORM_EXPRESSION,
877
+ "dtcnv",
878
+ "dtsnvindel",
879
+ "dtfusion",
880
+ "dtsv",
881
+ "date",
882
+ TermTypes.SSGSEA,
883
+ TermTypes.DNA_METHYLATION,
884
+ TermTypes.METABOLITE_INTENSITY,
885
+ TermTypes.PROTEOME_ABUNDANCE,
886
+ TermTypes.PSEUDOBULK,
887
+ TermTypes.JUNCTION,
888
+ SINGLECELL_GENE_EXPRESSION,
889
+ SINGLECELL_CELLTYPE,
890
+ TermTypes.SINGLECELL_NUMERIC_VALUE,
891
+ TermTypes.SNP,
892
+ TermTypes.TERM_COLLECTION,
893
+ TermTypes.COHORT,
894
+ TermTypes.MULTIVALUE
895
+ ]);
896
+ function isUsableTerm(term, _usecase, termdbConfig, ds) {
897
+ const usecase = _usecase || {};
898
+ if (typeof ds?.usecase?.[usecase.target] == "function") {
899
+ return ds.usecase[usecase.target](term, usecase);
900
+ }
901
+ const uses = /* @__PURE__ */ new Set();
902
+ const child_types = term.child_types || [];
903
+ switch (usecase.target) {
904
+ case "barchart":
905
+ case "violin":
906
+ case "boxplot":
907
+ case "summary": {
908
+ const excluded = usecase.detail == "term2" ? ["survival", "multivalue"] : ["survival"];
909
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
910
+ if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
911
+ return uses;
912
+ }
913
+ case "summaryInput":
914
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
915
+ const excluded = usecase.detail === "term2" ? ["survival", "multivalue"] : ["survival"];
916
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
917
+ if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
918
+ return uses;
919
+ } else {
920
+ if (graphableTypes.has(term.type)) uses.add("plot");
921
+ if (!term.isleaf) uses.add("branch");
922
+ return uses;
923
+ }
924
+ case "matrix":
925
+ if (term.type) uses.add("plot");
926
+ if (!term.isleaf) uses.add("branch");
927
+ return uses;
928
+ case "table":
929
+ if (usecase.detail == "term") uses.add("plot");
930
+ if (child_types.length > 1) uses.add("branch");
931
+ return uses;
932
+ case "sampleScatter":
933
+ if (usecase.detail == "numeric") {
934
+ if (isNumericTerm(term)) {
935
+ uses.add("plot");
936
+ }
937
+ if (hasNumericChild(child_types)) uses.add("branch");
938
+ } else {
939
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
940
+ if (!term.isleaf) uses.add("branch");
941
+ }
942
+ return uses;
943
+ case "runChart2":
944
+ if (usecase.detail == "date" || usecase.detail == "xtw") {
945
+ if (term.type == "date") {
946
+ uses.add("plot");
947
+ }
948
+ if (child_types.includes("date")) uses.add("branch");
949
+ } else if (usecase.detail == "numeric") {
950
+ if (isNumericTerm(term) && term.type != "date") {
951
+ uses.add("plot");
952
+ }
953
+ if (hasNumericChild(child_types)) uses.add("branch");
954
+ } else {
955
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
956
+ if (!term.isleaf) uses.add("branch");
957
+ }
958
+ return uses;
959
+ case "numericDictTermCluster":
960
+ if (!usecase.detail?.exclude?.includes(term.id)) {
961
+ if (isNumericTerm(term)) {
962
+ uses.add("plot");
963
+ }
964
+ if (hasNumericChild(child_types)) {
965
+ uses.add("branch");
966
+ }
967
+ }
968
+ return uses;
969
+ case "termCollections":
970
+ if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
971
+ if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
972
+ return uses;
973
+ case "profileForms":
974
+ if (!term.isleaf) {
975
+ const ancestors = term.id.split("__").length;
976
+ if (ancestors == 3) {
977
+ uses.add("plot");
978
+ } else if (ancestors < 3) uses.add("branch");
979
+ }
980
+ return uses;
981
+ // case 'boxplot':
982
+ // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
983
+ // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
984
+ // return uses
985
+ case "cuminc":
986
+ if (usecase.detail == "term") {
987
+ if (term.type == "condition") uses.add("plot");
988
+ if (child_types.includes("condition")) uses.add("branch");
989
+ return uses;
990
+ }
991
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
992
+ if (term.type && term.type != "condition" && term.type != "survival" && term.type != "multivalue")
993
+ uses.add("plot");
994
+ if (hasAllowedChildTypes(child_types, ["condition", "survival", "multivalue"])) uses.add("branch");
995
+ return uses;
996
+ }
997
+ return uses;
998
+ case "survival":
999
+ if (usecase.detail == "term") {
1000
+ if (term.type == "survival") uses.add("plot");
1001
+ if (child_types.includes("survival")) uses.add("branch");
1002
+ return uses;
1003
+ }
1004
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1005
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1006
+ if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1007
+ return uses;
1008
+ }
1009
+ return uses;
1010
+ case "regression":
1011
+ if (usecase.detail == "outcome") {
1012
+ if (usecase.regressionType == "linear") {
1013
+ if (term.type == "float" || term.type == "integer") uses.add("plot");
1014
+ if (hasNumericChild(child_types)) uses.add("branch");
1015
+ return uses;
1016
+ }
1017
+ if (usecase.regressionType == "logistic") {
1018
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1019
+ if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1020
+ return uses;
1021
+ } else if (usecase.regressionType == "cox") {
1022
+ if (term.type == "condition" || term.type == "survival") uses.add("plot");
1023
+ if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1024
+ return uses;
1025
+ }
1026
+ }
1027
+ if (usecase.detail == "independent") {
1028
+ if (term.type == TermTypes.TERM_COLLECTION) {
1029
+ if (term.memberType == "numeric") uses.add("plot");
1030
+ return uses;
1031
+ }
1032
+ if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1033
+ uses.add("plot");
1034
+ if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
1035
+ return uses;
1036
+ }
1037
+ return uses;
1038
+ case "filter": {
1039
+ const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1040
+ if (exlst) {
1041
+ if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1042
+ if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1043
+ return uses;
1044
+ }
1045
+ if (graphableTypes.has(term.type)) uses.add("plot");
1046
+ if (!term.isleaf) uses.add("branch");
1047
+ return uses;
1048
+ }
1049
+ case "correlationVolcano":
1050
+ if (usecase.detail == "numeric") {
1051
+ if (isNumericTerm(term)) {
1052
+ uses.add("plot");
1053
+ }
1054
+ if (hasNumericChild(child_types)) uses.add("branch");
1055
+ } else {
1056
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1057
+ if (!term.isleaf) uses.add("branch");
1058
+ }
1059
+ return uses;
1060
+ case "proteinView":
1061
+ if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
1062
+ if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
1063
+ return uses;
1064
+ case "brainImaging": {
1065
+ const allowMultivalue = usecase.detail == "term0";
1066
+ if (graphableTypes.has(term.type) && (allowMultivalue || term.type != "multivalue")) uses.add("plot");
1067
+ if (!term.isleaf) uses.add("branch");
1068
+ return uses;
1069
+ }
1070
+ case "dictionary":
1071
+ if (graphableTypes.has(term.type)) uses.add("plot");
1072
+ if (!term.isleaf) uses.add("branch");
1073
+ return uses;
1074
+ default:
1075
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1076
+ if (!term.isleaf) uses.add("branch");
1077
+ return uses;
1078
+ }
1079
+ }
1080
+ function hasAllowedChildTypes(child_types, excluded_types) {
1081
+ if (!child_types.length) {
1082
+ return false;
1083
+ }
1084
+ if (!excluded_types?.length) {
1085
+ return true;
1086
+ }
1087
+ if (child_types.some((type) => !excluded_types.includes(type))) {
1088
+ return true;
1089
+ }
1090
+ }
1091
+ function hasNumericChild(child_types) {
1092
+ return child_types.includes("float") || child_types.includes("integer");
1093
+ }
1094
+ function hasChildTypes(child_types, expected_types) {
1095
+ for (const a of expected_types) {
1096
+ if (child_types.includes(a)) return true;
1097
+ }
1098
+ }
1099
+
1100
+ // ../shared/utils/dist/src/time.js
1101
+ function formatElapsedTime(ms, precision = 2) {
1102
+ if (typeof ms !== "number" || isNaN(ms)) {
1103
+ return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1104
+ }
1105
+ if (!isFinite(ms)) {
1106
+ return ms > 0 ? "Infinite time" : "-Infinite time";
1107
+ }
1108
+ const absMs = Math.abs(ms);
1109
+ const sign = ms < 0 ? "-" : "";
1110
+ if (absMs < 1e3) {
1111
+ return `${sign}${absMs}ms`;
1112
+ }
1113
+ if (absMs < 6e4) {
1114
+ return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1115
+ }
1116
+ const minutes = Math.floor(absMs / 6e4);
1117
+ const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1118
+ return `${sign}${minutes}m ${seconds}s`;
1119
+ }
1120
+
1121
+ // ../shared/utils/dist/src/vcf.ann.js
1122
+ function parse_ANN(str, header, m) {
1123
+ if (!header) {
1124
+ return null;
1125
+ }
1126
+ for (const thisannotation of str.split(",")) {
1127
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1128
+ const o = {};
1129
+ for (let i = 0; i < header.length; i++) {
1130
+ if (lst[i]) {
1131
+ o[header[i].name] = lst[i];
1132
+ }
1133
+ }
1134
+ if (!o.Allele) {
1135
+ continue;
1136
+ }
1137
+ let allele = null;
1138
+ for (const a of m.alleles) {
1139
+ if (a.allele == o.Allele) {
1140
+ allele = a;
1141
+ break;
1142
+ }
1143
+ }
1144
+ if (!allele) {
1145
+ continue;
1146
+ }
1147
+ if (!allele.ann) {
1148
+ allele.ann = [];
1149
+ }
1150
+ allele.ann.push(o);
1151
+ o._gene = o.Gene_Name;
1152
+ if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
1153
+ o._isoform = o.Feature_ID.split(".")[0];
1154
+ }
1155
+ if (o.Annotation) {
1156
+ const [dt, cls, rank] = vepinfo(o.Annotation);
1157
+ o._dt = dt;
1158
+ o._class = cls;
1159
+ o._csqrank = rank;
1160
+ } else {
1161
+ o._dt = dtsnvindel;
1162
+ o._class = mclassnonstandard;
1163
+ }
1164
+ if (o["HGVS.p"]) {
1165
+ o._mname = o["HGVS.p"];
1166
+ } else if (o["HGVS.c"]) {
1167
+ o._mname = o["HGVS.c"];
1168
+ }
1169
+ }
1170
+ return true;
1171
+ }
1172
+
1173
+ // ../shared/utils/dist/src/vcf.csq.js
1174
+ function parse_CSQ(str, header, m) {
1175
+ if (!header) {
1176
+ return null;
1177
+ }
1178
+ for (const thisannotation of str.split(",")) {
1179
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1180
+ const o = {};
1181
+ for (let i = 0; i < header.length; i++) {
1182
+ if (lst[i]) {
1183
+ o[header[i].name] = lst[i];
1184
+ }
1185
+ }
1186
+ if (!o.Allele) {
1187
+ continue;
1188
+ }
1189
+ let allele = null;
1190
+ for (const a of m.mlst || m.alleles) {
1191
+ if (a.allele_original == o.Allele) {
1192
+ allele = a;
1193
+ break;
1194
+ }
1195
+ }
1196
+ if (!allele) {
1197
+ if (o.Allele == "-") {
1198
+ if (m.mlst) {
1199
+ if (m.mlst.length == 1) {
1200
+ allele = m.mlst[0];
1201
+ }
1202
+ } else if (m.alleles) {
1203
+ if (m.alleles.length == 1) {
1204
+ allele = m.alleles[0];
1205
+ }
1206
+ }
1207
+ } else {
1208
+ for (const a of m.mlst || m.alleles) {
1209
+ if (a.allele_original.substr(1) == o.Allele) {
1210
+ allele = a;
1211
+ break;
1212
+ }
1213
+ }
1214
+ }
1215
+ if (!allele) {
1216
+ continue;
1217
+ }
1218
+ }
1219
+ if (!allele.csq) {
1220
+ allele.csq = [];
1221
+ }
1222
+ allele.csq.push(o);
1223
+ o._gene = o.SYMBOL || o.Gene;
1224
+ if (o.Feature_type && o.Feature_type == "Transcript") {
1225
+ o._isoform = o.Feature.split(".")[0];
1226
+ } else {
1227
+ o._isoform = o._gene;
1228
+ }
1229
+ if (o.Consequence) {
1230
+ const [dt, cls, rank] = vepinfo(o.Consequence);
1231
+ o._dt = dt;
1232
+ o._class = cls;
1233
+ o._csqrank = rank;
1234
+ } else {
1235
+ o._dt = dtsnvindel;
1236
+ o._class = mclassnonstandard;
1237
+ }
1238
+ if (o.HGVSp) {
1239
+ o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
1240
+ } else if (o.Protein_position && o.Amino_acids) {
1241
+ o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
1242
+ } else if (o.HGVSc) {
1243
+ o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
1244
+ } else if (o.Existing_variation) {
1245
+ o._name = o.Existing_variation;
1246
+ }
1247
+ }
1248
+ return true;
1249
+ }
1250
+
1251
+ // ../shared/utils/dist/src/vcf.info.js
1252
+ function dissect_INFO(str) {
1253
+ let findsemicolon = false;
1254
+ let findequalorsemicolon = true;
1255
+ let i = 0;
1256
+ let idx = 0;
1257
+ const k2v = {};
1258
+ let lastkey;
1259
+ while (i < str.length) {
1260
+ const c = str[i];
1261
+ if (findequalorsemicolon) {
1262
+ if (c == "=") {
1263
+ findsemicolon = true;
1264
+ findequalorsemicolon = false;
1265
+ lastkey = str.substring(idx, i);
1266
+ idx = i + 1;
1267
+ } else if (c == ";") {
1268
+ k2v[str.substring(idx, i)] = 1;
1269
+ idx = i + 1;
1270
+ }
1271
+ } else if (findsemicolon && c == ";") {
1272
+ findequalorsemicolon = true;
1273
+ findsemicolon = false;
1274
+ k2v[lastkey] = str.substring(idx, i);
1275
+ lastkey = null;
1276
+ idx = i + 1;
1277
+ }
1278
+ i++;
1279
+ }
1280
+ const remainstr = str.substr(idx, i);
1281
+ if (lastkey) {
1282
+ k2v[lastkey] = remainstr;
1283
+ } else {
1284
+ k2v[remainstr] = 1;
1285
+ }
1286
+ return k2v;
1287
+ }
1288
+
1289
+ // ../shared/utils/dist/src/vcf.type.js
1290
+ function getVariantType(ref, alt) {
1291
+ if (ref.length == 1 && alt.length == 1) {
1292
+ if (alt == ".") {
1293
+ return mclassdeletion;
1294
+ }
1295
+ return mclasssnv;
1296
+ }
1297
+ if (ref.length == alt.length) return mclassmnv;
1298
+ if (ref.length < alt.length) return mclassinsertion;
1299
+ if (ref.length > alt.length) return mclassdeletion;
1300
+ return mclassnonstandard;
1301
+ }
1302
+
1303
+ // ../shared/utils/dist/src/vcf.js
1304
+ var getallelename = new RegExp(/<(.+)>/);
1305
+ var mclasslabel2key = {};
1306
+ for (const k in mclass) {
1307
+ mclasslabel2key[mclass[k].label.toUpperCase()] = k;
1308
+ }
1309
+ function vcfparsemeta(lines) {
1310
+ let sample = [];
1311
+ const errlst = [];
1312
+ const info = {};
1313
+ let hasinfo = false;
1314
+ const format2 = {};
1315
+ let hasformat = false;
1316
+ for (const line of lines) {
1317
+ if (!line.startsWith("#")) {
1318
+ continue;
1319
+ }
1320
+ if (line.startsWith("#C")) {
1321
+ sample = line.split(" ").slice(9);
1322
+ continue;
1323
+ }
1324
+ if (line.startsWith("##INFO")) {
1325
+ const e = tohash(line.substring(8, line.length - 1), info);
1326
+ if (e) {
1327
+ errlst.push("INFO error: " + e);
1328
+ } else {
1329
+ hasinfo = true;
1330
+ }
1331
+ continue;
1332
+ }
1333
+ if (line.startsWith("##FORMAT")) {
1334
+ const e = tohash(line.substring(10, line.length - 1), format2);
1335
+ if (e) {
1336
+ errlst.push("FORMAT error: " + e);
1337
+ } else {
1338
+ hasformat = true;
1339
+ }
1340
+ }
1341
+ }
1342
+ const sampleobjlst = [];
1343
+ for (const samplename of sample) {
1344
+ const a = { name: samplename };
1345
+ sampleobjlst.push(a);
1346
+ }
1347
+ if (info.CSQ) {
1348
+ const lst = info.CSQ.Description.split(" Format: ");
1349
+ if (lst[1]) {
1350
+ const lst2 = lst[1].split("|");
1351
+ if (lst2.length > 1) {
1352
+ info.CSQ.csqheader = [];
1353
+ for (const str of lst2) {
1354
+ const attr = { name: str };
1355
+ info.CSQ.csqheader.push(attr);
1356
+ }
1357
+ } else {
1358
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1359
+ }
1360
+ } else {
1361
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1362
+ }
1363
+ }
1364
+ if (info.ANN) {
1365
+ const lst = info.ANN.Description.split("'");
1366
+ if (lst[1]) {
1367
+ const lst2 = lst[1].split(" | ");
1368
+ if (lst2.length) {
1369
+ info.ANN.annheader = [];
1370
+ for (const s of lst2) {
1371
+ const attr = { name: s };
1372
+ info.ANN.annheader.push(attr);
1373
+ }
1374
+ } else {
1375
+ errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1376
+ }
1377
+ } else {
1378
+ errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1379
+ }
1380
+ }
1381
+ return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
1382
+ }
1383
+ function vcfparseline(line, vcf) {
1384
+ const lst = line.split(" ");
1385
+ if (lst.length < 8) {
1386
+ return ["line has less than 8 fields", null, null];
1387
+ }
1388
+ const rawpos = Number.parseInt(lst[2 - 1]);
1389
+ if (!Number.isInteger(rawpos)) {
1390
+ return ["invalid value for genomic position", null, null];
1391
+ }
1392
+ const refallele = lst[4 - 1];
1393
+ const m = {
1394
+ vcf_ID: lst[3 - 1],
1395
+ chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1396
+ pos: rawpos - 1,
1397
+ ref: refallele,
1398
+ //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1399
+ altstr: lst[5 - 1],
1400
+ alleles: [
1401
+ {
1402
+ /*
1403
+ ref allele only a placeholder, to be removed, this array only contains alt alleles
1404
+ this is a must
1405
+ also allows GT allele index to work
1406
+ */
1407
+ allele: refallele,
1408
+ sampledata: []
1409
+ }
1410
+ ],
1411
+ info: {},
1412
+ // locus info, do not contain allele info
1413
+ name: lst[3 - 1] == "." ? null : lst[3 - 1]
1414
+ };
1415
+ const altinvalid = [];
1416
+ for (const alt of lst[5 - 1].split(",")) {
1417
+ const a = {
1418
+ ref: m.ref,
1419
+ // may be corrected just below!
1420
+ allele: alt,
1421
+ // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1422
+ allele_original: alt,
1423
+ sampledata: [],
1424
+ _m: m,
1425
+ info: {}
1426
+ // allele info, do not contain locus info
1427
+ };
1428
+ m.alleles.push(a);
1429
+ if (alt[0] == "<") {
1430
+ const tmp2 = alt.match(getallelename);
1431
+ if (!tmp2) {
1432
+ altinvalid.push(alt);
1433
+ continue;
1434
+ }
1435
+ a.type = tmp2[1];
1436
+ a.allele = tmp2[1];
1437
+ a.issymbolicallele = true;
1438
+ } else {
1439
+ const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1440
+ a.pos = p;
1441
+ a.ref = ref;
1442
+ a.allele = alt2;
1443
+ }
1444
+ }
1445
+ if (lst[9 - 1] && lst[10 - 1]) {
1446
+ parse_FORMAT2(lst, m, vcf);
1447
+ }
1448
+ m.alleles.shift();
1449
+ const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1450
+ let badinfokeys = [];
1451
+ if (vcf.info) {
1452
+ badinfokeys = parse_INFO(tmp, m, vcf);
1453
+ } else {
1454
+ m.info = tmp;
1455
+ }
1456
+ const mlst = [];
1457
+ for (const a of m.alleles) {
1458
+ const m2 = {};
1459
+ for (const k in m) {
1460
+ if (k != "alleles") {
1461
+ m2[k] = m[k];
1462
+ }
1463
+ }
1464
+ for (const k in a) {
1465
+ if (k == "allele") {
1466
+ m2.alt = a[k];
1467
+ } else if (k == "info") {
1468
+ m2.altinfo = a[k];
1469
+ } else {
1470
+ m2[k] = a[k];
1471
+ }
1472
+ }
1473
+ if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1474
+ m2.type = getVariantType(m2.ref, m2.alt);
1475
+ }
1476
+ mlst.push(m2);
1477
+ }
1478
+ return [
1479
+ badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1480
+ mlst,
1481
+ altinvalid.length > 0 ? altinvalid : null
1482
+ ];
1483
+ }
1484
+ function correctRefAlt(p, ref, alt) {
1485
+ while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1486
+ ref = ref.substr(0, ref.length - 1);
1487
+ alt = alt.substr(0, alt.length - 1);
1488
+ }
1489
+ while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1490
+ ref = ref.substr(1);
1491
+ alt = alt.substr(1);
1492
+ p++;
1493
+ }
1494
+ return [p, ref, alt];
1495
+ }
1496
+ function parse_FORMAT2(lst, m, vcf) {
1497
+ const formatfields = lst[9 - 1].split(":");
1498
+ for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1499
+ const valuelst = lst[_sampleidx].split(":");
1500
+ {
1501
+ let none = true;
1502
+ for (const v of valuelst) {
1503
+ if (v != ".") {
1504
+ none = false;
1505
+ break;
1506
+ }
1507
+ }
1508
+ if (none) {
1509
+ continue;
1510
+ }
1511
+ }
1512
+ const sampleidx = _sampleidx - 9;
1513
+ for (let i = 1; i < m.alleles.length; i++) {
1514
+ const sobj = {};
1515
+ if (vcf.samples && vcf.samples[sampleidx]) {
1516
+ for (const k in vcf.samples[sampleidx]) {
1517
+ sobj[k] = vcf.samples[sampleidx][k];
1518
+ }
1519
+ } else {
1520
+ sobj.name = "missing_samplename_from_vcf_header";
1521
+ }
1522
+ m.alleles[i].sampledata.push({
1523
+ sampleobj: sobj
1524
+ });
1525
+ }
1526
+ for (let fi = 0; fi < formatfields.length; fi++) {
1527
+ const field = formatfields[fi];
1528
+ const value = valuelst[fi];
1529
+ if (value == ".") {
1530
+ continue;
1531
+ }
1532
+ if (field == "GT") {
1533
+ const splitter = value.indexOf("/") != -1 ? "/" : "|";
1534
+ let gtsum = 0;
1535
+ let unknowngt = false;
1536
+ const gtalleles = [];
1537
+ for (const i of value.split(splitter)) {
1538
+ if (i == ".") {
1539
+ unknowngt = true;
1540
+ continue;
1541
+ }
1542
+ const j = Number.parseInt(i);
1543
+ if (Number.isNaN(j)) {
1544
+ unknowngt = true;
1545
+ continue;
1546
+ }
1547
+ gtsum += j;
1548
+ const ale = m.alleles[j];
1549
+ if (ale) {
1550
+ gtalleles.push(ale.allele);
1551
+ }
1552
+ }
1553
+ let gtallref = false;
1554
+ if (!unknowngt) {
1555
+ gtallref = gtsum == 0;
1556
+ }
1557
+ const genotype = gtalleles.join(splitter);
1558
+ for (let i = 1; i < m.alleles.length; i++) {
1559
+ const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1560
+ ms.GT = value;
1561
+ ms.genotype = genotype;
1562
+ if (gtallref) {
1563
+ ms.gtallref = true;
1564
+ }
1565
+ ms.__gtalleles = gtalleles;
1566
+ }
1567
+ continue;
1568
+ }
1569
+ const formatdesc = vcf.format ? vcf.format[field] : null;
1570
+ if (!formatdesc) {
1571
+ for (let i = 1; i < m.alleles.length; i++) {
1572
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1573
+ }
1574
+ continue;
1575
+ }
1576
+ const isinteger = formatdesc.Type == "Integer";
1577
+ const isfloat = formatdesc.Type == "Float";
1578
+ if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1579
+ const fvlst = value.split(",").map((i) => {
1580
+ if (isinteger) return Number.parseInt(i);
1581
+ if (isfloat) return Number.parseFloat(i);
1582
+ return i;
1583
+ });
1584
+ for (let i = 1; i < m.alleles.length; i++) {
1585
+ if (fvlst[i] != void 0) {
1586
+ const m2 = m.alleles[i];
1587
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1588
+ m2s[field] = {};
1589
+ m2s[field][m2.ref] = fvlst[0];
1590
+ m2s[field][m2.allele] = fvlst[i];
1591
+ }
1592
+ }
1593
+ continue;
1594
+ }
1595
+ if (formatdesc.Number && formatdesc.Number == "A") {
1596
+ const fvlst = value.split(",").map((i) => {
1597
+ if (isinteger) return Number.parseInt(i);
1598
+ if (isfloat) return Number.parseFloat(i);
1599
+ return i;
1600
+ });
1601
+ for (let i = 1; i < m.alleles.length; i++) {
1602
+ if (fvlst[i - 1] != void 0) {
1603
+ const m2 = m.alleles[i];
1604
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1605
+ m2s[field] = {};
1606
+ m2s[field][m2.allele] = fvlst[i - 1];
1607
+ }
1608
+ }
1609
+ continue;
1610
+ }
1611
+ for (let i = 1; i < m.alleles.length; i++) {
1612
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1613
+ }
1614
+ }
1615
+ }
1616
+ for (const a of m.alleles) {
1617
+ for (const s of a.sampledata) {
1618
+ if (s.AD) {
1619
+ s.allele2readcount = {};
1620
+ for (const k in s.AD) {
1621
+ s.allele2readcount[k] = s.AD[k];
1622
+ }
1623
+ }
1624
+ }
1625
+ }
1626
+ }
1627
+ function tohash(s, hash2) {
1628
+ const h = {}, err = [];
1629
+ let prev = 0, prevdoublequote = false, k = null;
1630
+ for (let i = 0; i < s.length; i++) {
1631
+ if (s[i] == '"') {
1632
+ i++;
1633
+ const thisstart = i;
1634
+ while (s[i] != '"') {
1635
+ i++;
1636
+ }
1637
+ if (k) {
1638
+ h[k] = s.substring(thisstart, i);
1639
+ k = null;
1640
+ } else {
1641
+ err.push("k undefined before double quotes");
1642
+ }
1643
+ prevdoublequote = true;
1644
+ continue;
1645
+ }
1646
+ if (s[i] == "=") {
1647
+ k = s.substring(prev, i);
1648
+ prev = i + 1;
1649
+ continue;
1650
+ }
1651
+ if (s[i] == ",") {
1652
+ if (prevdoublequote) {
1653
+ prevdoublequote = false;
1654
+ } else {
1655
+ if (k) {
1656
+ h[k] = s.substring(prev, i);
1657
+ k = null;
1658
+ } else {
1659
+ err.push("k undefined");
1660
+ }
1661
+ }
1662
+ prev = i + 1;
1663
+ continue;
1664
+ }
1665
+ }
1666
+ if (k) {
1667
+ h[k] = s.substring(prev);
1668
+ }
1669
+ if (h.ID) {
1670
+ hash2[h.ID] = h;
1671
+ } else {
1672
+ return "no ID";
1673
+ }
1674
+ if (err.length) return err.join("\n");
1675
+ }
1676
+ function parse_INFO(tmp, m, vcf) {
1677
+ const badinfokeys = [];
1678
+ for (const key in tmp) {
1679
+ if (vcf.info[key] == void 0) {
1680
+ badinfokeys.push(key);
1681
+ continue;
1682
+ }
1683
+ const value = tmp[key];
1684
+ if (key == "CSQ") {
1685
+ const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1686
+ if (!okay) {
1687
+ m.info[key] = value;
1688
+ }
1689
+ continue;
1690
+ }
1691
+ if (key == "ANN") {
1692
+ const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1693
+ if (!okay) {
1694
+ m.info[key] = value;
1695
+ }
1696
+ continue;
1697
+ }
1698
+ if (vcf.info[key].Type == "Flag") {
1699
+ m.info[key] = key;
1700
+ continue;
1701
+ }
1702
+ const __number = vcf.info[key].Number;
1703
+ const isinteger = vcf.info[key].Type == "Integer";
1704
+ const isfloat = vcf.info[key].Type == "Float";
1705
+ if (__number == "0") {
1706
+ m.info[key] = key;
1707
+ continue;
1708
+ }
1709
+ if (__number == "A") {
1710
+ const tt = value.split(",");
1711
+ for (let j = 0; j < tt.length; j++) {
1712
+ if (m.alleles[j]) {
1713
+ m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1714
+ }
1715
+ }
1716
+ continue;
1717
+ }
1718
+ if (__number == "R") {
1719
+ }
1720
+ if (__number == "1") {
1721
+ m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1722
+ continue;
1723
+ }
1724
+ if (!value.split) {
1725
+ continue;
1726
+ }
1727
+ const lst = value.split(",");
1728
+ if (isinteger) {
1729
+ m.info[key] = lst.map(Number.parseInt);
1730
+ } else if (isfloat) {
1731
+ m.info[key] = lst.map(Number.parseFloat);
1732
+ } else {
1733
+ m.info[key] = lst;
1734
+ }
1735
+ }
1736
+ return badinfokeys;
1737
+ }
1738
+
1739
+ // common/auth.js
1740
+ var jwtByDsRoute;
1741
+ function setJwtByDsRoute() {
1742
+ if (jwtByDsRoute) return;
1743
+ const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1744
+ jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1745
+ }
1746
+ function setTokenByDsRoute(dslabel, route, jwt) {
1747
+ setJwtByDsRoute();
1748
+ if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1749
+ if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1750
+ else delete jwtByDsRoute[dslabel][route];
1751
+ localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1752
+ }
1753
+ function getSavedToken(dslabel, route) {
1754
+ setJwtByDsRoute();
1755
+ return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1756
+ }
1757
+ function mayAddJwtToRequest(init, body, url) {
1758
+ if (init.headers.authorization) return;
1759
+ let dslabel = body?.dslabel;
1760
+ if (!dslabel) {
1761
+ const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1762
+ if (!param) return;
1763
+ let value = decodeURIComponent(param.split("=")[1]);
1764
+ if (value.startsWith("{") && value.endsWith("}")) {
1765
+ value = JSON.parse(value);
1766
+ dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1767
+ } else {
1768
+ dslabel = value;
1769
+ }
1770
+ }
1771
+ setJwtByDsRoute();
1772
+ if (!dslabel || !jwtByDsRoute[dslabel]) return;
1773
+ const h = url.split("//");
1774
+ const postProtocolStr = h[1] || h[0];
1775
+ const preQuestionMarkStr = postProtocolStr.split("?")[0];
1776
+ const pathSegments = preQuestionMarkStr.split("/");
1777
+ let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1778
+ const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1779
+ if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1780
+ }
1781
+ var dsAuthOk = /* @__PURE__ */ new Set();
1782
+ var dsAuth;
1783
+ var authUi;
1784
+ var authUiHolder;
1785
+ var includeEmbedder = false;
1786
+ async function setDsAuthOk(opts) {
1787
+ dsAuth = opts.dsAuth;
1788
+ authUi = opts.ui || defaultAuthUi;
1789
+ authUiHolder = opts.holder || select_default("body");
1790
+ for (const auth of dsAuth) {
1791
+ if (auth.insession) dsAuthOk.add(auth);
1792
+ }
1793
+ includeEmbedder = opts.dsAuth?.length > 0 || false;
1794
+ }
1795
+ function getRequiredAuth(dslabel, route) {
1796
+ if (!dsAuth || !Array.isArray(dsAuth)) return;
1797
+ for (const a of dsAuth) {
1798
+ if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1799
+ }
1800
+ }
1801
+ async function isInSession(dslabel, route) {
1802
+ if (!dslabel) return false;
1803
+ if (!Array.isArray(dsAuth)) return false;
1804
+ for (const a of dsAuth) {
1805
+ if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1806
+ if (dsAuthOk.has(a)) return true;
1807
+ if (a.checked) return false;
1808
+ const jwt = getSavedToken(dslabel, a.route);
1809
+ if (!jwt) return false;
1810
+ const { dofetch3: dofetch32 } = await import("./dofetch-6NAGX5EG.js");
1811
+ const payload = decodeJwtPayload(jwt);
1812
+ if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
1813
+ const data = await dofetch32("/jwt-status", {
1814
+ method: "POST",
1815
+ credentials: "include",
1816
+ headers: {
1817
+ //authorization: `Bearer ${btoa(jwt)}`
1818
+ [a.headerKey]: jwt
1819
+ },
1820
+ body: {
1821
+ dslabel,
1822
+ route,
1823
+ embedder: location.hostname
1824
+ }
1825
+ });
1826
+ a.checked = true;
1827
+ if (data.ok || data.status == "ok") {
1828
+ dsAuthOk.add(a);
1829
+ a.insession = true;
1830
+ return true;
1831
+ }
1832
+ }
1833
+ return false;
1834
+ }
1835
+ async function mayShowAuthUi(init, path, opts = {}) {
1836
+ const ok = { status: "ok" };
1837
+ if (!dsAuth || path.endsWith("jwt-status")) return ok;
1838
+ const body = JSON.parse(init.body || `{}`);
1839
+ const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
1840
+ const [key, value] = kv.split("=");
1841
+ obj[key] = value;
1842
+ return obj;
1843
+ }, {});
1844
+ const q = Object.assign({}, body, params);
1845
+ const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
1846
+ for (const a of dsAuth) {
1847
+ if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
1848
+ if (dsAuthOk.has(a)) return ok;
1849
+ else if (a.route != "/**") return ok;
1850
+ else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
1851
+ else if (a.type == "jwt") {
1852
+ } else if (a.type == "forbidden") {
1853
+ alert("Forbidden access");
1854
+ } else throw `unsupported dsAuth type='${a.type}'`;
1855
+ }
1856
+ }
1857
+ return ok;
1858
+ }
1859
+ async function defaultAuthUi(dslabel, auth, opts = {}) {
1860
+ 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)");
1861
+ const form = mask.append("div").style("opacity", 1);
1862
+ form.append("div").html(`Restricted dataset '${dslabel}'`);
1863
+ form.append("span").html("Please enter password ");
1864
+ const pwd = form.append("input").attr("type", "password");
1865
+ pwd.node().focus();
1866
+ const btn = form.append("button").html("Submit");
1867
+ return new Promise((resolve, reject) => {
1868
+ function login() {
1869
+ fetch("/dslogin", {
1870
+ method: "POST",
1871
+ headers: {
1872
+ authorization: `Basic ${btoa(pwd.property("value"))}`
1873
+ },
1874
+ body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
1875
+ }).then((res) => res.json()).then((res) => {
1876
+ if (res.error) throw res.error;
1877
+ mask.remove();
1878
+ dsAuthOk.add(auth);
1879
+ if (res.jwt) {
1880
+ setTokenByDsRoute(dslabel, res.route, res.jwt);
1881
+ }
1882
+ if (!opts.setDomRefs) window.location.reload();
1883
+ else resolve(dslabel);
1884
+ }).catch((e) => {
1885
+ alert("login error: " + e);
1886
+ });
1887
+ }
1888
+ btn.on("click", login);
1889
+ pwd.on("change", login);
1890
+ if (opts.setDomRefs)
1891
+ opts.setDomRefs({
1892
+ pwd,
1893
+ btn,
1894
+ mask,
1895
+ authUiHolder
1896
+ });
1897
+ });
1898
+ }
1899
+ function decodeJwtPayload(token) {
1900
+ const base64Url = token.split(".")[1];
1901
+ const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
1902
+ const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
1903
+ const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
1904
+ return JSON.parse(jsonPayload);
1905
+ }
1906
+ function convertAtoBresult(c) {
1907
+ return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
1908
+ }
1909
+
1910
+ // common/dofetch.js
1911
+ function dofetch(path, arg, opts = null) {
1912
+ if (opts && typeof opts == "object") {
1913
+ if (opts.serverData && typeof opts.serverData == "object") {
1914
+ if (!dofetch.serverData) {
1915
+ dofetch.serverData = opts.serverData;
1916
+ } else if (!opts.serverData) {
1917
+ opts.serverData = dofetch.serverData;
1918
+ }
1919
+ }
1920
+ return dofetch2(
1921
+ path,
1922
+ {
1923
+ method: "POST",
1924
+ headers: {
1925
+ "content-type": "application/json"
1926
+ },
1927
+ body: JSON.stringify(arg)
1928
+ },
1929
+ opts
1930
+ );
1931
+ } else {
1932
+ if (path[0] == "/") {
1933
+ path = path.slice(1);
1934
+ }
1935
+ const jwt = sessionStorage.getItem("jwt");
1936
+ if (jwt) {
1937
+ arg.jwt = jwt;
1938
+ }
1939
+ let url = path;
1940
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1941
+ if (host) {
1942
+ if (host.endsWith("/")) {
1943
+ url = host + path;
1944
+ } else {
1945
+ url = host + "/" + path;
1946
+ }
1947
+ }
1948
+ return fetch(
1949
+ new Request(url, {
1950
+ method: "POST",
1951
+ headers: {
1952
+ "content-type": "application/json"
1953
+ },
1954
+ body: JSON.stringify(arg)
1955
+ })
1956
+ ).then((r) => r.json());
1957
+ }
1958
+ }
1959
+ function dofetch2(path, init = {}, opts = {}) {
1960
+ if (path[0] == "/") {
1961
+ path = path.slice(1);
1962
+ }
1963
+ let url = path;
1964
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1965
+ if (host) {
1966
+ if (host.endsWith("/")) {
1967
+ url = host + path;
1968
+ } else {
1969
+ url = host + "/" + path;
1970
+ }
1971
+ }
1972
+ const body = init.body || {};
1973
+ url = mayAdjustRequest(url, init);
1974
+ if (!init.headers) {
1975
+ init.headers = {};
1976
+ }
1977
+ if (!init.headers["content-type"] && init.body) {
1978
+ init.headers["content-type"] = "application/json";
1979
+ }
1980
+ const jwt = sessionStorage.getItem("jwt");
1981
+ if (jwt) {
1982
+ init.headers.authorization = "Bearer " + jwt;
1983
+ }
1984
+ return mayShowAuthUi(init, url).then(async () => {
1985
+ if (!jwt) mayAddJwtToRequest(init, body, url);
1986
+ if (opts.serverData) {
1987
+ return namedFetch(url, init, opts);
1988
+ } else {
1989
+ return fetch(url, init).then(processResponse);
1990
+ }
1991
+ });
1992
+ }
1993
+ var optsServerDataNames = /* @__PURE__ */ new WeakMap();
1994
+ async function namedFetch(url, init, opts = {}) {
1995
+ if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
1996
+ if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
1997
+ let result;
1998
+ const dataName = await getDataName(url, init);
1999
+ if (opts.serverData[dataName]) {
2000
+ if (init.signal) {
2001
+ await sleep(0);
2002
+ if (init.signal.aborted) throw `stale sequenceId`;
2003
+ }
2004
+ result = structuredClone(opts.serverData[dataName]);
2005
+ }
2006
+ if (!result || typeof result != "object" && !(result instanceof Promise)) {
2007
+ delete opts.serverData[dataName];
2008
+ result = void 0;
2009
+ }
2010
+ if (!result) {
2011
+ try {
2012
+ const res = await fetch(url, init);
2013
+ result = await processResponse(res);
2014
+ if (typeof result == "object" && !(result instanceof Promise)) {
2015
+ deepFreeze(result);
2016
+ opts.serverData[dataName] = result;
2017
+ result = structuredClone(result);
2018
+ }
2019
+ } catch (e) {
2020
+ delete opts.serverData[dataName];
2021
+ throw e;
2022
+ }
2023
+ }
2024
+ if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
2025
+ const keys = optsServerDataNames.get(opts.serverData);
2026
+ const i = keys.indexOf(dataName);
2027
+ if (i > 0) {
2028
+ keys.splice(i, 1);
2029
+ }
2030
+ keys.unshift(dataName);
2031
+ const maxKeys = 360;
2032
+ while (keys.length > maxKeys) {
2033
+ const oldestDataKey = keys.pop();
2034
+ delete opts.serverData[oldestDataKey];
2035
+ }
2036
+ return result;
2037
+ }
2038
+ var defaultServerDataCache = {};
2039
+ function dofetch3(path, init = {}, opts = {}) {
2040
+ if (!init.signal && this) {
2041
+ init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
2042
+ }
2043
+ opts.serverData = defaultServerDataCache;
2044
+ return dofetch2(path, init, opts);
2045
+ }
2046
+ function clearServerDataCache(opts = {}) {
2047
+ const cache = opts?.serverData || defaultServerDataCache;
2048
+ if (!cache) return;
2049
+ for (const k of Object.keys(cache)) {
2050
+ delete cache[k];
2051
+ }
2052
+ }
2053
+ var urlMaxLength = 2e3;
2054
+ function mayAdjustRequest(url, init) {
2055
+ const hostname = window.location.hostname;
2056
+ const method = init.method && init.method.toUpperCase() || "GET";
2057
+ if (method == "POST") {
2058
+ if (typeof init.body == "string") init.body = JSON.parse(init.body);
2059
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2060
+ init.body = JSON.stringify(init.body);
2061
+ return url;
2062
+ }
2063
+ if (method != "GET" && method != "DELETE" && method != "PUT") {
2064
+ throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
2065
+ }
2066
+ if (init.body) {
2067
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2068
+ const params = encode(init.body);
2069
+ if (!url.includes("?")) url += "?";
2070
+ url += params;
2071
+ }
2072
+ if (!url.includes("embedder=") && includeEmbedder) {
2073
+ const sep = url.includes("?") ? "&" : "?";
2074
+ url += `${sep}embedder=${hostname}`;
2075
+ }
2076
+ if (url.length < urlMaxLength) {
2077
+ if (init.body) delete init.body;
2078
+ return url;
2079
+ }
2080
+ init.method = "POST";
2081
+ const [hostpath, query] = url.split("?");
2082
+ if (init.body) {
2083
+ init.body = JSON.stringify(init.body);
2084
+ } else {
2085
+ const params = {};
2086
+ if (query)
2087
+ query.split("&").forEach((p) => {
2088
+ const [k, v] = p.split("=");
2089
+ const decodedVal = decodeURIComponent(v);
2090
+ try {
2091
+ params[k] = JSON.parse(decodedVal);
2092
+ } catch {
2093
+ params[k] = decodedVal;
2094
+ }
2095
+ });
2096
+ if (!params.embedder && includeEmbedder) params.embedder = hostname;
2097
+ init.body = JSON.stringify(params);
2098
+ }
2099
+ return hostpath;
2100
+ }
2101
+ function setAuth(opts) {
2102
+ setDsAuthOk(opts, dofetch3);
2103
+ }
2104
+
2105
+ export {
2106
+ boxplot_getvalue,
2107
+ init_bulk_flag,
2108
+ parsesample,
2109
+ clusterMethodLst,
2110
+ distanceMethodLst,
2111
+ HYPER_COLOR,
2112
+ HYPO_COLOR,
2113
+ computePercentile,
2114
+ processFormData,
2115
+ fileSize,
2116
+ ssmIdFieldsSeparator,
2117
+ summarize_mclass,
2118
+ guessSsmid,
2119
+ xAxisOffSet,
2120
+ yAxisOffSet,
2121
+ getCoordinate,
2122
+ calculatePadding,
2123
+ compute_bins,
2124
+ get_bin_label,
2125
+ get_bin_range_equation,
2126
+ initBinConfig,
2127
+ isUsableTerm,
2128
+ formatElapsedTime,
2129
+ vcfparsemeta,
2130
+ vcfparseline,
2131
+ setTokenByDsRoute,
2132
+ getSavedToken,
2133
+ mayAddJwtToRequest,
2134
+ includeEmbedder,
2135
+ setDsAuthOk,
2136
+ getRequiredAuth,
2137
+ isInSession,
2138
+ mayShowAuthUi,
2139
+ dofetch,
2140
+ dofetch2,
2141
+ namedFetch,
2142
+ dofetch3,
2143
+ clearServerDataCache,
2144
+ setAuth
2145
+ };
2146
+ //# sourceMappingURL=chunk-OBDIJ4QS.js.map