@sjcrh/proteinpaint-client 2.207.0 → 2.207.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (900) hide show
  1. package/dist/2dmaf-32F56QBJ.js +1367 -0
  2. package/dist/AggMatrixInput-RDFMGV47.js +277 -0
  3. package/dist/AggregateMatrix-TPXNNWVD.js +41 -0
  4. package/dist/AppHeader-SEJXDJE3.js +830 -0
  5. package/dist/BoxPlot-LOAO2MDO.js +1211 -0
  6. package/dist/CorrelationVolcano-AU6ZAFPG.js +614 -0
  7. package/dist/Cuminc-O533BXFY.js +1219 -0
  8. package/dist/DE-FDAUNOWU.js +89 -0
  9. package/dist/DEinput-TF2VYTIJ.js +499 -0
  10. package/dist/DM-42YN3OEO.js +90 -0
  11. package/dist/DifferentialAnalysis-H5NBPR3P.js +237 -0
  12. package/dist/Disco-FGFHIKUR.js +3389 -0
  13. package/dist/Disco.UI-YGIU2JPM.js +243 -0
  14. package/dist/DmrPlot-EQFXMAW5.js +637 -0
  15. package/dist/GB-244UT5VU.js +1391 -0
  16. package/dist/GSEA-KXQBR3HH.js +851 -0
  17. package/dist/GeneExpInput-ZY6SHXTX.js +42 -0
  18. package/dist/Geomap-6ZV4AM23.js +84 -0
  19. package/dist/HicApp-4UHX2YGP.js +2245 -0
  20. package/dist/IDCViewer-AB6LLO64.js +10812 -0
  21. package/dist/NumBinaryEditor-CGSO2T4L.js +279 -0
  22. package/dist/NumBinaryEditor.unit.spec-3QHARZQJ.js +312 -0
  23. package/dist/NumContEditor-YLKSC4Y2.js +105 -0
  24. package/dist/NumContEditor.unit.spec-L3GC3ZTJ.js +164 -0
  25. package/dist/NumCustomBinEditor-K3XSFHCC.js +33 -0
  26. package/dist/NumCustomBinEditor.unit.spec-2FUHE6BX.js +397 -0
  27. package/dist/NumDiscreteEditor-RJCSIW4R.js +170 -0
  28. package/dist/NumDiscreteEditor.unit.spec-CUA6BOIS.js +233 -0
  29. package/dist/NumRegularBinEditor-C3VIFDS4.js +33 -0
  30. package/dist/NumRegularBinEditor.unit.spec-V2UJ5FLH.js +278 -0
  31. package/dist/NumSplineEditor-XBE7OV7P.js +210 -0
  32. package/dist/NumSplineEditor.unit.spec-CKRRI4US.js +224 -0
  33. package/dist/NumericDensity-ZL7UY7TL.js +33 -0
  34. package/dist/NumericDensity.unit.spec-CWTMSR56.js +418 -0
  35. package/dist/NumericHandler-56ENFMNK.js +34 -0
  36. package/dist/NumericHandler.unit.spec-3YW34TTJ.js +214 -0
  37. package/dist/ProteomeInput-HIS4GYWH.js +388 -0
  38. package/dist/Regression-C5GZYLEN.js +1416 -0
  39. package/dist/RunChart2-X5WKYLPQ.js +749 -0
  40. package/dist/SC-3Y5J65DT.js +1107 -0
  41. package/dist/Violin-F3QS2EMJ.js +1082 -0
  42. package/dist/Volcano-ZNYDKP2O.js +1649 -0
  43. package/dist/Wsi-B6EIGTI2.js +609 -0
  44. package/dist/adSandbox-A52OQSOW.js +33 -0
  45. package/dist/animatedBubbleChart-OQOZ3WFK.js +547 -0
  46. package/dist/app-4KIKXQX4.js +32 -0
  47. package/dist/app-NZUNKWKK.js +42 -0
  48. package/dist/app.js +14 -14
  49. package/dist/bam-SME7YD3E.js +876 -0
  50. package/dist/barchart-ESY6FOS4.js +42 -0
  51. package/dist/barchart2-XEJZGCES.js +309 -0
  52. package/dist/block-747IK2EW.js +6249 -0
  53. package/dist/block.init-ITZ42K43.js +33 -0
  54. package/dist/block.mds.expressionrank-Q63IJAJK.js +354 -0
  55. package/dist/block.mds.geneboxplot-EZIKAIKC.js +823 -0
  56. package/dist/block.mds.junction-TJXFKZ2Q.js +1539 -0
  57. package/dist/block.mds.svcnv-WSIEAII6.js +6796 -0
  58. package/dist/block.svg-CQX5W6R4.js +159 -0
  59. package/dist/block.tk.aicheck-J4MQ4BSD.js +278 -0
  60. package/dist/block.tk.ase-2JFNPWCZ.js +360 -0
  61. package/dist/block.tk.bam-RBQ4AXSQ.js +1901 -0
  62. package/dist/block.tk.bedgraphdot-ZQBOMVTO.js +379 -0
  63. package/dist/block.tk.bigwig.ui-U5IBO3VF.js +206 -0
  64. package/dist/block.tk.hicstraw-ZRZMFLLX.js +818 -0
  65. package/dist/block.tk.junction-7U7ABE4O.js +2358 -0
  66. package/dist/block.tk.junction.textmatrixui-AEXZ7W3U.js +194 -0
  67. package/dist/block.tk.ld-E7WPFL5P.js +94 -0
  68. package/dist/block.tk.menu-AITMEZTZ.js +1024 -0
  69. package/dist/block.tk.pgv-EDPZHI5L.js +938 -0
  70. package/dist/brainImaging-35LPNBDR.js +555 -0
  71. package/dist/brainRegions-JMTQT4X3.js +217 -0
  72. package/dist/bubbleHeatmap-FMBKMDUL.js +378 -0
  73. package/dist/cellTypeBubbleHeatmap-ZPTAGEWW.js +278 -0
  74. package/dist/chunk-2GBG3KA7.js +129 -0
  75. package/dist/chunk-2IVN5DWA.js +302 -0
  76. package/dist/chunk-36AAUYZE.js +194 -0
  77. package/dist/chunk-3K7AYA3M.js +54 -0
  78. package/dist/chunk-4JFFFGL3.js +468 -0
  79. package/dist/chunk-4JFFFGL3.js.map +7 -0
  80. package/dist/chunk-4KJSNR5E.js +562 -0
  81. package/dist/chunk-52QHIKH2.js +2139 -0
  82. package/dist/chunk-5ALGKNTQ.js +6360 -0
  83. package/dist/chunk-5JCTTSV4.js +480 -0
  84. package/dist/chunk-5W7K7STT.js +26 -0
  85. package/dist/chunk-6CIGRV5K.js +677 -0
  86. package/dist/chunk-6U2OPC6J.js +176 -0
  87. package/dist/chunk-7AHTS4BP.js +382 -0
  88. package/dist/chunk-7HFAEB3C.js +55 -0
  89. package/dist/chunk-7HGZRJZZ.js +98 -0
  90. package/dist/chunk-A2ORIMUJ.js +339 -0
  91. package/dist/chunk-A32SGNCT.js +1233 -0
  92. package/dist/chunk-AKA6RWLC.js +217 -0
  93. package/dist/chunk-AMVZ6KT5.js +240 -0
  94. package/dist/chunk-ASXUC6SM.js +54 -0
  95. package/dist/chunk-BCO5T43J.js +379 -0
  96. package/dist/chunk-BDQPMVKD.js +783 -0
  97. package/dist/chunk-BOQZOLRA.js +274 -0
  98. package/dist/chunk-BSCMVKBP.js +5071 -0
  99. package/dist/chunk-BZN2O76M.js +119 -0
  100. package/dist/chunk-BZZZQFTI.js +34 -0
  101. package/dist/chunk-CRHGXVUQ.js +272 -0
  102. package/dist/chunk-D6AB63O3.js +216 -0
  103. package/dist/chunk-DPQP2GUW.js +626 -0
  104. package/dist/chunk-EKQ7NYOU.js +276 -0
  105. package/dist/chunk-EUQEQOFE.js +141 -0
  106. package/dist/chunk-FKA55PHV.js +281 -0
  107. package/dist/chunk-GVLWCGXX.js +397 -0
  108. package/dist/chunk-HLVWCJRO.js +518 -0
  109. package/dist/chunk-HPAW7XDM.js +178 -0
  110. package/dist/chunk-IV57XNTG.js +123 -0
  111. package/dist/chunk-JMAFJKGG.js +243 -0
  112. package/dist/chunk-JZHRVYNS.js +2676 -0
  113. package/dist/chunk-K6YUMBDY.js +55 -0
  114. package/dist/chunk-L6WNBKYN.js +158 -0
  115. package/dist/chunk-LGR6CJTW.js +2853 -0
  116. package/dist/chunk-LOWJQFCC.js +550 -0
  117. package/dist/chunk-M5SYLBBC.js +2327 -0
  118. package/dist/chunk-MKAILEWO.js +59 -0
  119. package/dist/chunk-MKAILEWO.js.map +7 -0
  120. package/dist/chunk-N4PDPZWQ.js +4366 -0
  121. package/dist/chunk-N4PDPZWQ.js.map +7 -0
  122. package/dist/chunk-OIJ6GRVS.js +134 -0
  123. package/dist/chunk-ONVIVITY.js +203 -0
  124. package/dist/chunk-OQX3HO46.js +56 -0
  125. package/dist/chunk-OYLGAFFY.js +31 -0
  126. package/dist/chunk-P7DIIYCX.js +197 -0
  127. package/dist/chunk-PC4MFDHP.js +24613 -0
  128. package/dist/chunk-PC4MFDHP.js.map +7 -0
  129. package/dist/chunk-PGKOJYV6.js +50 -0
  130. package/dist/chunk-PPSWNLMG.js +402 -0
  131. package/dist/chunk-R624P2GE.js +263 -0
  132. package/dist/chunk-RBSAEAQV.js +446 -0
  133. package/dist/chunk-RUBZCKIX.js +1608 -0
  134. package/dist/chunk-RUBZCKIX.js.map +7 -0
  135. package/dist/chunk-RZ3KEFZ2.js +339 -0
  136. package/dist/chunk-SS66BHGA.js +103 -0
  137. package/dist/chunk-SU63FEY6.js +294 -0
  138. package/dist/chunk-SVC65ZPG.js +102 -0
  139. package/dist/chunk-TG3QBMDK.js +102 -0
  140. package/dist/chunk-TMXW5HVE.js +1278 -0
  141. package/dist/chunk-TPDBOH3A.js +1339 -0
  142. package/dist/chunk-U5RWKZVS.js +1720 -0
  143. package/dist/chunk-UYKZ5HXA.js +1986 -0
  144. package/dist/chunk-VOYUJJQ6.js +70 -0
  145. package/dist/chunk-W4RYRU5D.js +38 -0
  146. package/dist/chunk-WFSMIVJT.js +2784 -0
  147. package/dist/chunk-Y4PX2ECH.js +299 -0
  148. package/dist/chunk-YKM46UX5.js +170 -0
  149. package/dist/chunk-Z7AO6A7M.js +14 -0
  150. package/dist/chunk-ZENZ5H2Q.js +49 -0
  151. package/dist/cohort-Q7TW5XTY.js +70 -0
  152. package/dist/condition-H6LBUHIF.js +327 -0
  153. package/dist/controls-DWDKFDXY.js +34 -0
  154. package/dist/controls.config-KF7PHZSG.js +34 -0
  155. package/dist/correlation-YMSARIER.js +95 -0
  156. package/dist/customdata.inputui-KEFE7ZHS.js +284 -0
  157. package/dist/dataDownload-G7TGPFGL.js +329 -0
  158. package/dist/databrowser.ui-NFIIFQJZ.js +425 -0
  159. package/dist/dictionary-ERJQMALC.js +113 -0
  160. package/dist/dnaMethylation-KVCXKAU3.js +33 -0
  161. package/dist/dnaMethylation.integration.spec-3NXGGG4J.js +198 -0
  162. package/dist/dofetch-YRWLEQEH.js +48 -0
  163. package/dist/e2pca-M2F2CI6I.js +344 -0
  164. package/dist/ep-QAEG4RV4.js +1249 -0
  165. package/dist/expclust.gdc.spec-P77T6JR2.js +302 -0
  166. package/dist/facet-LJTSTASE.js +519 -0
  167. package/dist/gb-KSB2DQHH.js +81 -0
  168. package/dist/geneExpClustering-KHDCPE65.js +244 -0
  169. package/dist/geneExpression-AWWMOUAR.js +310 -0
  170. package/dist/geneExpression-Z2EDR6EN.js +33 -0
  171. package/dist/geneExpression.unit.spec-WB2ESPKT.js +128 -0
  172. package/dist/geneORA-NGZTMFSJ.js +273 -0
  173. package/dist/geneRanking-AYNBGFKU.js +548 -0
  174. package/dist/geneVariant-AL64NDHH.js +36 -0
  175. package/dist/geneVariant-QMKR3LUV.js +286 -0
  176. package/dist/geneVariant.integration.spec-N3U5CIRT.js +489 -0
  177. package/dist/genefusion.ui-IWJMF2BM.js +303 -0
  178. package/dist/geneset-APCO4BRX.js +203 -0
  179. package/dist/genomeBrowser.spec-JTCVUTO5.js +276 -0
  180. package/dist/grin2-FVX6AIST.js +70 -0
  181. package/dist/grin2-LF46UKFY.js +1137 -0
  182. package/dist/hierCluster-4DRHXD6W.js +55 -0
  183. package/dist/hierCluster-SFRQK3PS.js +59 -0
  184. package/dist/hierCluster.config-G2TFGBYF.js +36 -0
  185. package/dist/hierCluster.integration.spec-ZUZKCG6A.js +483 -0
  186. package/dist/hierCluster.interactivity-LQA6J56H.js +49 -0
  187. package/dist/hierCluster.renderers-TZZJEVFO.js +19 -0
  188. package/dist/imagePlot-OUHFWYKT.js +156 -0
  189. package/dist/importPlot-7V456QK7.js +8 -0
  190. package/dist/isoformExpression-NGUJJ6VI.js +35 -0
  191. package/dist/isoformExpression.unit.spec-DCRPXPBY.js +237 -0
  192. package/dist/junction-QYKLNXIW.js +36 -0
  193. package/dist/junction.customTerm-EHOOBR4V.js +16 -0
  194. package/dist/junction.unit.spec-LDNY7OFK.js +182 -0
  195. package/dist/launch.adhoc-FF7B3UG6.js +37 -0
  196. package/dist/leftlabel.sample-BTHMKLGF.js +258 -0
  197. package/dist/lollipop-H3UCNMHN.js +166 -0
  198. package/dist/maf-KWGUTPKO.js +455 -0
  199. package/dist/maftimeline-UD5VE4UW.js +587 -0
  200. package/dist/matrix-DLCX6GOO.js +59 -0
  201. package/dist/matrix-TIV42IQB.js +54 -0
  202. package/dist/matrix.cells-J3QZ7C6U.js +26 -0
  203. package/dist/matrix.config-VNMS6B7J.js +37 -0
  204. package/dist/matrix.data-PIE3TLKD.js +23 -0
  205. package/dist/matrix.groups-URBU775S.js +26 -0
  206. package/dist/matrix.integration.spec-LC6YMEKP.js +3160 -0
  207. package/dist/matrix.interactivity-W5AFOAQN.js +37 -0
  208. package/dist/matrix.layout-LU3NIJAL.js +39 -0
  209. package/dist/matrix.legend-LTP6ETZO.js +20 -0
  210. package/dist/matrix.renderers-762XI65L.js +34 -0
  211. package/dist/matrix.serieses-FHDBRPZA.js +19 -0
  212. package/dist/matrix.sort-Q6A6UWMY.js +26 -0
  213. package/dist/matrix.sort.unit.spec-CTCOPKVS.js +468 -0
  214. package/dist/matrix.sorterUi-4M5AU5EL.js +16 -0
  215. package/dist/matrix.sorterUi.unit.spec-Y7GC3PM5.js +338 -0
  216. package/dist/matrix.unit.spec-DROPHFTM.js +150 -0
  217. package/dist/mavb-BWA73N3U.js +727 -0
  218. package/dist/mds.fimo-3UJWIH2J.js +513 -0
  219. package/dist/mds.samplescatterplot-EUS7DCSQ.js +1545 -0
  220. package/dist/mds.survivalplot-77UEBQIC.js +477 -0
  221. package/dist/multivalue-KZ2DMVIR.js +83 -0
  222. package/dist/numericDictTermCluster-C2MYJYPZ.js +63 -0
  223. package/dist/oncomatrix-6LGB3M7R.js +290 -0
  224. package/dist/oncomatrix.spec-UWMSLOHW.js +443 -0
  225. package/dist/plot.2dvaf-LZAVWH65.js +372 -0
  226. package/dist/plot.app-OEWE3AYV.js +36 -0
  227. package/dist/plot.barplot-VIBHGTUT.js +97 -0
  228. package/dist/plot.boxplot-NQI3PSKR.js +146 -0
  229. package/dist/plot.brainImaging-3MTTCZHI.js +51 -0
  230. package/dist/plot.disco-HODBY7SO.js +99 -0
  231. package/dist/plot.ssgq-4URQE673.js +134 -0
  232. package/dist/plot.vaf2cov-QIJNEKCK.js +253 -0
  233. package/dist/polar2-GVFQNSLK.js +232 -0
  234. package/dist/profileForms-Z22CJXI4.js +941 -0
  235. package/dist/profilePlot-IVQZBSID.js +49 -0
  236. package/dist/proteinView-AUK634AU.js +1357 -0
  237. package/dist/proteomeCohortCompare-7G2F35H5.js +912 -0
  238. package/dist/pseudbulk.unit.spec-JDKUQUCM.js +106 -0
  239. package/dist/pseudobulk-QTCUSH5I.js +37 -0
  240. package/dist/qualitative-7ST7SSBT.js +38 -0
  241. package/dist/radar2-CEE6SNBS.js +327 -0
  242. package/dist/radarFacility2-OSKDYIK7.js +335 -0
  243. package/dist/rememberedGvQ.unit.spec-RYFUJ2NW.js +211 -0
  244. package/dist/render-MAD3WMVD.js +33 -0
  245. package/dist/report-6JXJVSEB.js +217 -0
  246. package/dist/sampleView-SG3QYZKQ.js +43 -0
  247. package/dist/samplelst-R765UFP6.js +106 -0
  248. package/dist/samplematrix-EBJYE5SM.js +2193 -0
  249. package/dist/sc-7ZXPFDHD.js +81 -0
  250. package/dist/scatter-3GUL4KF3.js +88 -0
  251. package/dist/scatter-RHUVER53.js +920 -0
  252. package/dist/scatter-RHUVER53.js.map +7 -0
  253. package/dist/selectGenomeWithTklst-K4YXGJYG.js +129 -0
  254. package/dist/singleCellCellType-TU5VTPLP.js +33 -0
  255. package/dist/singleCellCellType.unit.spec-IRITQIGT.js +154 -0
  256. package/dist/singleCellGeneExpression-3IL52QDK.js +33 -0
  257. package/dist/singleCellGeneExpression.unit.spec-WXC4C37T.js +148 -0
  258. package/dist/singleCellPlot-XG3HZS7I.js +48 -0
  259. package/dist/singlecell-BRF2HAV2.js +81 -0
  260. package/dist/singlecell-KVCJF2HI.js +1566 -0
  261. package/dist/snp-RMZRB426.js +33 -0
  262. package/dist/snp.unit.spec-JF6KR2NT.js +171 -0
  263. package/dist/snplocus-AHUFHQ3Q.js +203 -0
  264. package/dist/spliceevent.a53ss.diagram-OSZZ2CF2.js +146 -0
  265. package/dist/spliceevent.exonskip.diagram-AMA2D2OL.js +278 -0
  266. package/dist/spliceevent.noeventdiagram-RKTUXH5D.js +455 -0
  267. package/dist/ssGSEA-7RKWYZKX.js +33 -0
  268. package/dist/ssGSEA.unit.spec-XLCZHH7S.js +83 -0
  269. package/dist/stattable-NDYUCLVZ.js +117 -0
  270. package/dist/studyCatalog-TAXRF5NS.js +414 -0
  271. package/dist/summarizeCnvGeneexp-3QLHU6N7.js +158 -0
  272. package/dist/summarizeGeneexpSurvival-ARI4MPFX.js +105 -0
  273. package/dist/summarizeMutationCnv-W7V7CKPI.js +159 -0
  274. package/dist/summarizeMutationDiagnosis-GCL4SRON.js +35 -0
  275. package/dist/summarizeMutationSurvival-6TTMSRRX.js +99 -0
  276. package/dist/summary-OUYDWLBF.js +44 -0
  277. package/dist/summary.integration.spec-4GTCG6HY.js +409 -0
  278. package/dist/summaryInput-UK3TLC7M.js +242 -0
  279. package/dist/sunburst-2UFHMNH3.js +278 -0
  280. package/dist/survival-SPWYSDVB.js +53 -0
  281. package/dist/survival-TL6UZ6FQ.js +1248 -0
  282. package/dist/survival.integration.spec-WWZELTKZ.js +613 -0
  283. package/dist/survival.integration.spec-WWZELTKZ.js.map +7 -0
  284. package/dist/svgraph-Z543MLIN.js +1382 -0
  285. package/dist/svmr-SZCAOAIF.js +3837 -0
  286. package/dist/table-IAQ6J4DO.js +197 -0
  287. package/dist/termCollection-3NGHR7QN.js +252 -0
  288. package/dist/termCollection-7P3WU6X6.js +33 -0
  289. package/dist/termCollection.unit.spec-EPYC7LOA.js +299 -0
  290. package/dist/termCollectionFractionSelection-YKIE6BME.js +42 -0
  291. package/dist/termCollectionFractionSelection.unit.spec-AG2CZPGZ.js +188 -0
  292. package/dist/tk-TOXMU4GT.js +1121 -0
  293. package/dist/tk-X454XH5N.js +41 -0
  294. package/dist/tp.ui-FDQ76KPL.js +1454 -0
  295. package/dist/tvs.dt-U77PCG6X.js +34 -0
  296. package/dist/tvs.dtcnv.categorical-XYZU4XLO.js +35 -0
  297. package/dist/tvs.dtcnv.continuous-4GJILFGP.js +67 -0
  298. package/dist/tvs.dtfusion-7YROAHVI.js +35 -0
  299. package/dist/tvs.dtitd-MIYU4ZHH.js +35 -0
  300. package/dist/tvs.dtsnvindel-XLDY7KWB.js +35 -0
  301. package/dist/tvs.dtsv-YMLJ37YR.js +35 -0
  302. package/dist/tvs.samplelst-KIVEXJKD.js +98 -0
  303. package/dist/tvs.termCollection-4CQV3EB3.js +124 -0
  304. package/dist/vocabulary-64GO4YDB.js +36 -0
  305. package/dist/wsi.direct-5MQVRJZX.js +8343 -0
  306. package/package.json +3 -3
  307. package/dist/2dmaf-5JKVMAPO.js +0 -1367
  308. package/dist/AggMatrixInput-254IEQYB.js +0 -277
  309. package/dist/AggregateMatrix-U3NZSNL6.js +0 -41
  310. package/dist/AppHeader-DK2GIYYT.js +0 -830
  311. package/dist/BoxPlot-POSL2ZLS.js +0 -1211
  312. package/dist/CorrelationVolcano-YZ6ACP5D.js +0 -614
  313. package/dist/Cuminc-SJVFK4VX.js +0 -1219
  314. package/dist/DE-RJMZGJ5Y.js +0 -89
  315. package/dist/DEinput-H25PS4QT.js +0 -499
  316. package/dist/DM-A3UCF7HM.js +0 -90
  317. package/dist/DifferentialAnalysis-4J75UMV7.js +0 -237
  318. package/dist/Disco-IXGGKIEI.js +0 -3389
  319. package/dist/Disco.UI-X3JG4ERN.js +0 -243
  320. package/dist/DmrPlot-SJWHTSMB.js +0 -637
  321. package/dist/GB-KPF7BZFQ.js +0 -1391
  322. package/dist/GSEA-BMVTJ6B7.js +0 -851
  323. package/dist/GeneExpInput-3KFGQEAY.js +0 -42
  324. package/dist/Geomap-R7Q3T3DZ.js +0 -84
  325. package/dist/HicApp-BTFHMXQE.js +0 -2245
  326. package/dist/IDCViewer-RVVWT7MH.js +0 -10812
  327. package/dist/NumBinaryEditor-V3YCDNRR.js +0 -279
  328. package/dist/NumBinaryEditor.unit.spec-IVY27SEV.js +0 -312
  329. package/dist/NumContEditor-FSHA32UV.js +0 -105
  330. package/dist/NumContEditor.unit.spec-5IFB4GXP.js +0 -164
  331. package/dist/NumCustomBinEditor-63YQZU52.js +0 -33
  332. package/dist/NumCustomBinEditor.unit.spec-BJLGQQ4R.js +0 -397
  333. package/dist/NumDiscreteEditor-K4AZ6UQF.js +0 -170
  334. package/dist/NumDiscreteEditor.unit.spec-AHL7QA4N.js +0 -233
  335. package/dist/NumRegularBinEditor-5N3PWOIQ.js +0 -33
  336. package/dist/NumRegularBinEditor.unit.spec-SYPTBY5A.js +0 -278
  337. package/dist/NumSplineEditor-ZLB5MWYK.js +0 -210
  338. package/dist/NumSplineEditor.unit.spec-ZLAVLV7E.js +0 -224
  339. package/dist/NumericDensity-K4CTMN2G.js +0 -33
  340. package/dist/NumericDensity.unit.spec-BLWEQHZC.js +0 -418
  341. package/dist/NumericHandler-3KACLCOL.js +0 -34
  342. package/dist/NumericHandler.unit.spec-4P7HBSCB.js +0 -214
  343. package/dist/ProteomeInput-JZ6MKE7L.js +0 -388
  344. package/dist/Regression-QBR2VYHT.js +0 -1416
  345. package/dist/RunChart2-UKN6M5M5.js +0 -749
  346. package/dist/SC-COHN7DMJ.js +0 -1107
  347. package/dist/Violin-SDUSKIEX.js +0 -1082
  348. package/dist/Volcano-KON4MOIM.js +0 -1649
  349. package/dist/Wsi-SJC56PRR.js +0 -609
  350. package/dist/adSandbox-L6ZHCJJO.js +0 -33
  351. package/dist/animatedBubbleChart-IQBJBHPP.js +0 -547
  352. package/dist/app-2NSQK3GQ.js +0 -32
  353. package/dist/app-GMYTOBRB.js +0 -42
  354. package/dist/bam-B4ZPOZTX.js +0 -876
  355. package/dist/barchart-WF5VWDCV.js +0 -42
  356. package/dist/barchart2-3HGZ5Q2B.js +0 -309
  357. package/dist/block-A3I2INBA.js +0 -6249
  358. package/dist/block.init-YUHPWTMF.js +0 -33
  359. package/dist/block.mds.expressionrank-TGAZQTVW.js +0 -354
  360. package/dist/block.mds.geneboxplot-GPIQWNWB.js +0 -823
  361. package/dist/block.mds.junction-YREJCNYJ.js +0 -1539
  362. package/dist/block.mds.svcnv-2ZDNI2XE.js +0 -6796
  363. package/dist/block.svg-2BRKZJAO.js +0 -159
  364. package/dist/block.tk.aicheck-ZDTQFF7Q.js +0 -278
  365. package/dist/block.tk.ase-JAIOSXZO.js +0 -360
  366. package/dist/block.tk.bam-V27YBYQG.js +0 -1901
  367. package/dist/block.tk.bedgraphdot-QFJNEYKU.js +0 -379
  368. package/dist/block.tk.bigwig.ui-X77XUZLB.js +0 -206
  369. package/dist/block.tk.hicstraw-OCZXKJOV.js +0 -818
  370. package/dist/block.tk.junction-2KI3SPXW.js +0 -2358
  371. package/dist/block.tk.junction.textmatrixui-G4OHYDVZ.js +0 -194
  372. package/dist/block.tk.ld-LM4A3V7Z.js +0 -94
  373. package/dist/block.tk.menu-GL6W3MKK.js +0 -1024
  374. package/dist/block.tk.pgv-T3YW5EGQ.js +0 -938
  375. package/dist/brainImaging-6WLB6DWG.js +0 -555
  376. package/dist/brainRegions-EVHXPPL5.js +0 -217
  377. package/dist/bubbleHeatmap-WZX7MLQF.js +0 -378
  378. package/dist/cellTypeBubbleHeatmap-3XY3U7EO.js +0 -278
  379. package/dist/chunk-26VFFI2G.js +0 -1278
  380. package/dist/chunk-2XOBD4ZZ.js +0 -102
  381. package/dist/chunk-4DXQJGJ7.js +0 -31
  382. package/dist/chunk-5UO7MKCO.js +0 -59
  383. package/dist/chunk-5UO7MKCO.js.map +0 -7
  384. package/dist/chunk-5X6CDEMT.js +0 -55
  385. package/dist/chunk-6BG5G6SC.js +0 -397
  386. package/dist/chunk-6EXPDXXV.js +0 -464
  387. package/dist/chunk-6EXPDXXV.js.map +0 -7
  388. package/dist/chunk-6KCG2NFA.js +0 -49
  389. package/dist/chunk-6KIZ3Q5X.js +0 -272
  390. package/dist/chunk-6MDL3FYD.js +0 -141
  391. package/dist/chunk-7CJKL3LK.js +0 -339
  392. package/dist/chunk-7T6G6BZF.js +0 -50
  393. package/dist/chunk-7WL4LROG.js +0 -1986
  394. package/dist/chunk-7WWTWWB7.js +0 -158
  395. package/dist/chunk-AEHBMP7F.js +0 -550
  396. package/dist/chunk-ANGLZ4XR.js +0 -26
  397. package/dist/chunk-B2XYBFGT.js +0 -299
  398. package/dist/chunk-BH55L7RJ.js +0 -480
  399. package/dist/chunk-BMQDU7KN.js +0 -38
  400. package/dist/chunk-BWE6BZK3.js +0 -240
  401. package/dist/chunk-BXM6PRTG.js +0 -274
  402. package/dist/chunk-CCYVGZGI.js +0 -178
  403. package/dist/chunk-DRKC4J62.js +0 -339
  404. package/dist/chunk-DX5WQOJU.js +0 -1339
  405. package/dist/chunk-E6FOW4UK.js +0 -562
  406. package/dist/chunk-EGKHDALO.js +0 -382
  407. package/dist/chunk-ESXQDVDP.js +0 -518
  408. package/dist/chunk-FIN6XVVG.js +0 -34
  409. package/dist/chunk-GH5EQCLQ.js +0 -379
  410. package/dist/chunk-GIBTGABW.js +0 -263
  411. package/dist/chunk-GJ6JKPEY.js +0 -626
  412. package/dist/chunk-GKB4YPSV.js +0 -14
  413. package/dist/chunk-GRVO7RW4.js +0 -2139
  414. package/dist/chunk-HZ3TCGBK.js +0 -402
  415. package/dist/chunk-IGJOH5LV.js +0 -276
  416. package/dist/chunk-IUT72AWA.js +0 -55
  417. package/dist/chunk-IYCSCSRS.js +0 -1720
  418. package/dist/chunk-IZUYLFOX.js +0 -1608
  419. package/dist/chunk-IZUYLFOX.js.map +0 -7
  420. package/dist/chunk-J2O74K2I.js +0 -129
  421. package/dist/chunk-JO5SX7RA.js +0 -176
  422. package/dist/chunk-JV5AGMUC.js +0 -123
  423. package/dist/chunk-KUHCBPKU.js +0 -446
  424. package/dist/chunk-L32KMIC3.js +0 -54
  425. package/dist/chunk-LWOWC4PF.js +0 -203
  426. package/dist/chunk-M3OUBH5W.js +0 -294
  427. package/dist/chunk-MZ6UOWXO.js +0 -2784
  428. package/dist/chunk-N7DVQTPC.js +0 -119
  429. package/dist/chunk-NQDF3U2C.js +0 -24607
  430. package/dist/chunk-NQDF3U2C.js.map +0 -7
  431. package/dist/chunk-P7EXGD5F.js +0 -281
  432. package/dist/chunk-QJQUSRGP.js +0 -134
  433. package/dist/chunk-RPKZLEY7.js +0 -170
  434. package/dist/chunk-RRGGHEA4.js +0 -783
  435. package/dist/chunk-S4XD4GGN.js +0 -6360
  436. package/dist/chunk-SKS6VDD4.js +0 -56
  437. package/dist/chunk-SPZQIZLJ.js +0 -70
  438. package/dist/chunk-SR35T6VI.js +0 -197
  439. package/dist/chunk-TEMNQTG3.js +0 -194
  440. package/dist/chunk-UG6RDT65.js +0 -5071
  441. package/dist/chunk-UO5AU7IW.js +0 -216
  442. package/dist/chunk-UTOWZWZ5.js +0 -243
  443. package/dist/chunk-V26BRUAV.js +0 -677
  444. package/dist/chunk-VRINIB6B.js +0 -1233
  445. package/dist/chunk-VVJMPICY.js +0 -217
  446. package/dist/chunk-VZKDGKCP.js +0 -103
  447. package/dist/chunk-WCAWZJ6M.js +0 -4311
  448. package/dist/chunk-WCAWZJ6M.js.map +0 -7
  449. package/dist/chunk-XCN3FKLF.js +0 -2676
  450. package/dist/chunk-XD2JMWMR.js +0 -54
  451. package/dist/chunk-XERHX42E.js +0 -98
  452. package/dist/chunk-XZXGNMNK.js +0 -2853
  453. package/dist/chunk-Y34GYPF6.js +0 -2327
  454. package/dist/chunk-YO5DWWBU.js +0 -102
  455. package/dist/chunk-Z4HZONN6.js +0 -302
  456. package/dist/cohort-ZLQA2KPW.js +0 -70
  457. package/dist/condition-SFZAHMKK.js +0 -327
  458. package/dist/controls-US3ID2ZR.js +0 -34
  459. package/dist/controls.config-Y7NGPB5K.js +0 -34
  460. package/dist/correlation-JD4FMZVF.js +0 -95
  461. package/dist/customdata.inputui-YUHO2ZSR.js +0 -284
  462. package/dist/dataDownload-4YQHUJQX.js +0 -329
  463. package/dist/databrowser.ui-4YE24U4B.js +0 -425
  464. package/dist/dictionary-LFOSXJGH.js +0 -113
  465. package/dist/dnaMethylation-2627GIZW.js +0 -33
  466. package/dist/dnaMethylation.integration.spec-HSZKXED3.js +0 -198
  467. package/dist/dofetch-7O5UTSGI.js +0 -48
  468. package/dist/e2pca-XL7F5BK3.js +0 -344
  469. package/dist/ep-35KADAYG.js +0 -1249
  470. package/dist/expclust.gdc.spec-TFJEXEAA.js +0 -302
  471. package/dist/facet-AWDU4CCU.js +0 -519
  472. package/dist/gb-UIBSH7KV.js +0 -81
  473. package/dist/geneExpClustering-VYZ5VDPL.js +0 -244
  474. package/dist/geneExpression-CNBSE3KW.js +0 -33
  475. package/dist/geneExpression-ECXW22H6.js +0 -310
  476. package/dist/geneExpression.unit.spec-SCBRU5BG.js +0 -128
  477. package/dist/geneORA-BQZ4XYJH.js +0 -273
  478. package/dist/geneRanking-GXRSXHIN.js +0 -548
  479. package/dist/geneVariant-Y7GASAY6.js +0 -36
  480. package/dist/geneVariant-ZVOUFF27.js +0 -286
  481. package/dist/geneVariant.integration.spec-2ATUV7NH.js +0 -489
  482. package/dist/genefusion.ui-CEMLY7HG.js +0 -303
  483. package/dist/geneset-HMADFO7Z.js +0 -203
  484. package/dist/genomeBrowser.spec-3U6KE3MK.js +0 -276
  485. package/dist/grin2-AJAXI4O4.js +0 -1137
  486. package/dist/grin2-CFAOAHY3.js +0 -70
  487. package/dist/hierCluster-JUJ7C7TQ.js +0 -59
  488. package/dist/hierCluster-N6B4L6FW.js +0 -55
  489. package/dist/hierCluster.config-RSSBKO6G.js +0 -36
  490. package/dist/hierCluster.integration.spec-YC6B3ID2.js +0 -483
  491. package/dist/hierCluster.interactivity-PRIWN65K.js +0 -49
  492. package/dist/hierCluster.renderers-3RHXOHZ5.js +0 -19
  493. package/dist/imagePlot-DSG4WJOG.js +0 -156
  494. package/dist/importPlot-QSWJBDWH.js +0 -8
  495. package/dist/isoformExpression-XWLMWXEK.js +0 -35
  496. package/dist/isoformExpression.unit.spec-T7VN2WPK.js +0 -237
  497. package/dist/junction-AUXJROOE.js +0 -36
  498. package/dist/junction.customTerm-FRYWSS4P.js +0 -16
  499. package/dist/junction.unit.spec-ODVQMDI5.js +0 -182
  500. package/dist/launch.adhoc-TNONPG6R.js +0 -37
  501. package/dist/leftlabel.sample-5VFAMSH5.js +0 -258
  502. package/dist/lollipop-NEDFCNJJ.js +0 -166
  503. package/dist/maf-2GO7PDOL.js +0 -455
  504. package/dist/maftimeline-UMVQGIXA.js +0 -587
  505. package/dist/matrix-74JSSVR5.js +0 -59
  506. package/dist/matrix-YARPFYCU.js +0 -54
  507. package/dist/matrix.cells-WYCIMZRW.js +0 -26
  508. package/dist/matrix.config-5SNEP3B4.js +0 -37
  509. package/dist/matrix.data-3H4GFMQK.js +0 -23
  510. package/dist/matrix.groups-FGLRK6IT.js +0 -26
  511. package/dist/matrix.integration.spec-4DQIRQQO.js +0 -3160
  512. package/dist/matrix.interactivity-GSV45F2N.js +0 -37
  513. package/dist/matrix.layout-BMH4V36B.js +0 -39
  514. package/dist/matrix.legend-5OVHDE6Q.js +0 -20
  515. package/dist/matrix.renderers-DENF4NZ6.js +0 -34
  516. package/dist/matrix.serieses-D7XPW5L4.js +0 -19
  517. package/dist/matrix.sort-XQEOXSEG.js +0 -26
  518. package/dist/matrix.sort.unit.spec-HGII2SCC.js +0 -468
  519. package/dist/matrix.sorterUi-J6PRUT6J.js +0 -16
  520. package/dist/matrix.sorterUi.unit.spec-TNRATMUJ.js +0 -338
  521. package/dist/matrix.unit.spec-LBMDCANX.js +0 -150
  522. package/dist/mavb-UQFSJN4W.js +0 -727
  523. package/dist/mds.fimo-TXHCH6LW.js +0 -513
  524. package/dist/mds.samplescatterplot-G6IJO3I7.js +0 -1545
  525. package/dist/mds.survivalplot-XFB2EL23.js +0 -477
  526. package/dist/multivalue-GLE6G3ZO.js +0 -83
  527. package/dist/numericDictTermCluster-YTAMQDWZ.js +0 -63
  528. package/dist/oncomatrix-P6QVGFAR.js +0 -290
  529. package/dist/oncomatrix.spec-O6U52E22.js +0 -443
  530. package/dist/plot.2dvaf-VZL4SH6G.js +0 -372
  531. package/dist/plot.app-VYMIF4VU.js +0 -36
  532. package/dist/plot.barplot-I6S266DG.js +0 -97
  533. package/dist/plot.boxplot-3CHI4AA2.js +0 -146
  534. package/dist/plot.brainImaging-LRQYKMLQ.js +0 -51
  535. package/dist/plot.disco-NCTBMD2W.js +0 -99
  536. package/dist/plot.ssgq-CL3TGZ55.js +0 -134
  537. package/dist/plot.vaf2cov-5RG3OD6G.js +0 -253
  538. package/dist/polar2-ABI2UJNC.js +0 -232
  539. package/dist/profileForms-Z4Y55OQY.js +0 -941
  540. package/dist/profilePlot-LMDZVOJK.js +0 -49
  541. package/dist/proteinView-UYMM76WH.js +0 -1357
  542. package/dist/proteomeCohortCompare-5GFBARC5.js +0 -912
  543. package/dist/pseudbulk.unit.spec-JJ2I4KPM.js +0 -106
  544. package/dist/pseudobulk-Y7HWDLIV.js +0 -37
  545. package/dist/qualitative-H72GEWTZ.js +0 -38
  546. package/dist/radar2-OXUS5DLT.js +0 -327
  547. package/dist/radarFacility2-VOUNCM6A.js +0 -335
  548. package/dist/rememberedGvQ.unit.spec-N43O4YTF.js +0 -211
  549. package/dist/render-KDLTAQVA.js +0 -33
  550. package/dist/report-PBRD2KBN.js +0 -217
  551. package/dist/sampleView-7HWFZCHE.js +0 -43
  552. package/dist/samplelst-3ZWV4XZQ.js +0 -106
  553. package/dist/samplematrix-YRJUNYQ6.js +0 -2193
  554. package/dist/sc-N4YM3GZI.js +0 -81
  555. package/dist/scatter-KBY6VF76.js +0 -88
  556. package/dist/scatter-TBGEXELG.js +0 -880
  557. package/dist/scatter-TBGEXELG.js.map +0 -7
  558. package/dist/selectGenomeWithTklst-25WQQ42Y.js +0 -129
  559. package/dist/singleCellCellType-35TDG2YM.js +0 -33
  560. package/dist/singleCellCellType.unit.spec-G5AVNAUK.js +0 -154
  561. package/dist/singleCellGeneExpression-7AHJYFWJ.js +0 -33
  562. package/dist/singleCellGeneExpression.unit.spec-LGZMOVTB.js +0 -148
  563. package/dist/singleCellPlot-AU5K4M7J.js +0 -49
  564. package/dist/singlecell-HNTYJLJ4.js +0 -81
  565. package/dist/singlecell-J4FIZPZF.js +0 -1566
  566. package/dist/snp-OXDVSFGB.js +0 -33
  567. package/dist/snp.unit.spec-B7LCCGWA.js +0 -171
  568. package/dist/snplocus-4VWXVQGS.js +0 -203
  569. package/dist/spliceevent.a53ss.diagram-YS32IFVI.js +0 -146
  570. package/dist/spliceevent.exonskip.diagram-PHFR53DH.js +0 -278
  571. package/dist/spliceevent.noeventdiagram-FFHMDEBQ.js +0 -455
  572. package/dist/ssGSEA-OYEIDW4M.js +0 -33
  573. package/dist/ssGSEA.unit.spec-SY5XFF45.js +0 -83
  574. package/dist/stattable-JCH2WPS6.js +0 -117
  575. package/dist/studyCatalog-FDB7D26M.js +0 -414
  576. package/dist/summarizeCnvGeneexp-KNW23YAI.js +0 -158
  577. package/dist/summarizeGeneexpSurvival-H57GGCXL.js +0 -105
  578. package/dist/summarizeMutationCnv-RBBDE27N.js +0 -159
  579. package/dist/summarizeMutationDiagnosis-R6YWQ4LQ.js +0 -35
  580. package/dist/summarizeMutationSurvival-Q6WKBNPD.js +0 -99
  581. package/dist/summary-AL3GEK3G.js +0 -42
  582. package/dist/summary.integration.spec-IFGDIEMW.js +0 -409
  583. package/dist/summaryInput-TYIKTBO3.js +0 -242
  584. package/dist/sunburst-4PA3CO44.js +0 -278
  585. package/dist/survival-GT4CSHX2.js +0 -53
  586. package/dist/survival-HXJCMNCG.js +0 -1248
  587. package/dist/survival.integration.spec-C7OJC4AG.js +0 -613
  588. package/dist/survival.integration.spec-C7OJC4AG.js.map +0 -7
  589. package/dist/svgraph-MZCOBO4J.js +0 -1382
  590. package/dist/svmr-FQPAAQHB.js +0 -3837
  591. package/dist/table-FKLXVILD.js +0 -197
  592. package/dist/termCollection-QDGR6J36.js +0 -33
  593. package/dist/termCollection-Y7CIC6GQ.js +0 -252
  594. package/dist/termCollection.unit.spec-PQMFOWLF.js +0 -299
  595. package/dist/termCollectionFractionSelection-2O32HROA.js +0 -42
  596. package/dist/termCollectionFractionSelection.unit.spec-WXGCO2RF.js +0 -188
  597. package/dist/tk-IBYM4FZC.js +0 -41
  598. package/dist/tk-QJNN6WK2.js +0 -1121
  599. package/dist/tp.ui-RI7S54LI.js +0 -1454
  600. package/dist/tvs.dt-7CIYMLQF.js +0 -34
  601. package/dist/tvs.dtcnv.categorical-D3W6R6BM.js +0 -35
  602. package/dist/tvs.dtcnv.continuous-4WS2TN3K.js +0 -67
  603. package/dist/tvs.dtfusion-NUUFIGG4.js +0 -35
  604. package/dist/tvs.dtitd-UCSEWRNJ.js +0 -35
  605. package/dist/tvs.dtsnvindel-J4S7KU3Y.js +0 -35
  606. package/dist/tvs.dtsv-4OPYIWB6.js +0 -35
  607. package/dist/tvs.samplelst-RUZYZ2FF.js +0 -98
  608. package/dist/tvs.termCollection-D5X2HNWO.js +0 -124
  609. package/dist/vocabulary-4L3RHQFQ.js +0 -36
  610. package/dist/wsi.direct-FNCUUBEJ.js +0 -8343
  611. /package/dist/{2dmaf-5JKVMAPO.js.map → 2dmaf-32F56QBJ.js.map} +0 -0
  612. /package/dist/{AggMatrixInput-254IEQYB.js.map → AggMatrixInput-RDFMGV47.js.map} +0 -0
  613. /package/dist/{AggregateMatrix-U3NZSNL6.js.map → AggregateMatrix-TPXNNWVD.js.map} +0 -0
  614. /package/dist/{AppHeader-DK2GIYYT.js.map → AppHeader-SEJXDJE3.js.map} +0 -0
  615. /package/dist/{BoxPlot-POSL2ZLS.js.map → BoxPlot-LOAO2MDO.js.map} +0 -0
  616. /package/dist/{CorrelationVolcano-YZ6ACP5D.js.map → CorrelationVolcano-AU6ZAFPG.js.map} +0 -0
  617. /package/dist/{Cuminc-SJVFK4VX.js.map → Cuminc-O533BXFY.js.map} +0 -0
  618. /package/dist/{DE-RJMZGJ5Y.js.map → DE-FDAUNOWU.js.map} +0 -0
  619. /package/dist/{DEinput-H25PS4QT.js.map → DEinput-TF2VYTIJ.js.map} +0 -0
  620. /package/dist/{DM-A3UCF7HM.js.map → DM-42YN3OEO.js.map} +0 -0
  621. /package/dist/{DifferentialAnalysis-4J75UMV7.js.map → DifferentialAnalysis-H5NBPR3P.js.map} +0 -0
  622. /package/dist/{Disco-IXGGKIEI.js.map → Disco-FGFHIKUR.js.map} +0 -0
  623. /package/dist/{Disco.UI-X3JG4ERN.js.map → Disco.UI-YGIU2JPM.js.map} +0 -0
  624. /package/dist/{DmrPlot-SJWHTSMB.js.map → DmrPlot-EQFXMAW5.js.map} +0 -0
  625. /package/dist/{GB-KPF7BZFQ.js.map → GB-244UT5VU.js.map} +0 -0
  626. /package/dist/{GSEA-BMVTJ6B7.js.map → GSEA-KXQBR3HH.js.map} +0 -0
  627. /package/dist/{GeneExpInput-3KFGQEAY.js.map → GeneExpInput-ZY6SHXTX.js.map} +0 -0
  628. /package/dist/{Geomap-R7Q3T3DZ.js.map → Geomap-6ZV4AM23.js.map} +0 -0
  629. /package/dist/{HicApp-BTFHMXQE.js.map → HicApp-4UHX2YGP.js.map} +0 -0
  630. /package/dist/{IDCViewer-RVVWT7MH.js.map → IDCViewer-AB6LLO64.js.map} +0 -0
  631. /package/dist/{NumBinaryEditor-V3YCDNRR.js.map → NumBinaryEditor-CGSO2T4L.js.map} +0 -0
  632. /package/dist/{NumBinaryEditor.unit.spec-IVY27SEV.js.map → NumBinaryEditor.unit.spec-3QHARZQJ.js.map} +0 -0
  633. /package/dist/{NumContEditor-FSHA32UV.js.map → NumContEditor-YLKSC4Y2.js.map} +0 -0
  634. /package/dist/{NumContEditor.unit.spec-5IFB4GXP.js.map → NumContEditor.unit.spec-L3GC3ZTJ.js.map} +0 -0
  635. /package/dist/{NumCustomBinEditor-63YQZU52.js.map → NumCustomBinEditor-K3XSFHCC.js.map} +0 -0
  636. /package/dist/{NumCustomBinEditor.unit.spec-BJLGQQ4R.js.map → NumCustomBinEditor.unit.spec-2FUHE6BX.js.map} +0 -0
  637. /package/dist/{NumDiscreteEditor-K4AZ6UQF.js.map → NumDiscreteEditor-RJCSIW4R.js.map} +0 -0
  638. /package/dist/{NumDiscreteEditor.unit.spec-AHL7QA4N.js.map → NumDiscreteEditor.unit.spec-CUA6BOIS.js.map} +0 -0
  639. /package/dist/{NumRegularBinEditor-5N3PWOIQ.js.map → NumRegularBinEditor-C3VIFDS4.js.map} +0 -0
  640. /package/dist/{NumRegularBinEditor.unit.spec-SYPTBY5A.js.map → NumRegularBinEditor.unit.spec-V2UJ5FLH.js.map} +0 -0
  641. /package/dist/{NumSplineEditor-ZLB5MWYK.js.map → NumSplineEditor-XBE7OV7P.js.map} +0 -0
  642. /package/dist/{NumSplineEditor.unit.spec-ZLAVLV7E.js.map → NumSplineEditor.unit.spec-CKRRI4US.js.map} +0 -0
  643. /package/dist/{NumericDensity-K4CTMN2G.js.map → NumericDensity-ZL7UY7TL.js.map} +0 -0
  644. /package/dist/{NumericDensity.unit.spec-BLWEQHZC.js.map → NumericDensity.unit.spec-CWTMSR56.js.map} +0 -0
  645. /package/dist/{NumericHandler-3KACLCOL.js.map → NumericHandler-56ENFMNK.js.map} +0 -0
  646. /package/dist/{NumericHandler.unit.spec-4P7HBSCB.js.map → NumericHandler.unit.spec-3YW34TTJ.js.map} +0 -0
  647. /package/dist/{ProteomeInput-JZ6MKE7L.js.map → ProteomeInput-HIS4GYWH.js.map} +0 -0
  648. /package/dist/{Regression-QBR2VYHT.js.map → Regression-C5GZYLEN.js.map} +0 -0
  649. /package/dist/{RunChart2-UKN6M5M5.js.map → RunChart2-X5WKYLPQ.js.map} +0 -0
  650. /package/dist/{SC-COHN7DMJ.js.map → SC-3Y5J65DT.js.map} +0 -0
  651. /package/dist/{Violin-SDUSKIEX.js.map → Violin-F3QS2EMJ.js.map} +0 -0
  652. /package/dist/{Volcano-KON4MOIM.js.map → Volcano-ZNYDKP2O.js.map} +0 -0
  653. /package/dist/{Wsi-SJC56PRR.js.map → Wsi-B6EIGTI2.js.map} +0 -0
  654. /package/dist/{adSandbox-L6ZHCJJO.js.map → adSandbox-A52OQSOW.js.map} +0 -0
  655. /package/dist/{animatedBubbleChart-IQBJBHPP.js.map → animatedBubbleChart-OQOZ3WFK.js.map} +0 -0
  656. /package/dist/{app-2NSQK3GQ.js.map → app-4KIKXQX4.js.map} +0 -0
  657. /package/dist/{app-GMYTOBRB.js.map → app-NZUNKWKK.js.map} +0 -0
  658. /package/dist/{bam-B4ZPOZTX.js.map → bam-SME7YD3E.js.map} +0 -0
  659. /package/dist/{barchart-WF5VWDCV.js.map → barchart-ESY6FOS4.js.map} +0 -0
  660. /package/dist/{barchart2-3HGZ5Q2B.js.map → barchart2-XEJZGCES.js.map} +0 -0
  661. /package/dist/{block-A3I2INBA.js.map → block-747IK2EW.js.map} +0 -0
  662. /package/dist/{block.init-YUHPWTMF.js.map → block.init-ITZ42K43.js.map} +0 -0
  663. /package/dist/{block.mds.expressionrank-TGAZQTVW.js.map → block.mds.expressionrank-Q63IJAJK.js.map} +0 -0
  664. /package/dist/{block.mds.geneboxplot-GPIQWNWB.js.map → block.mds.geneboxplot-EZIKAIKC.js.map} +0 -0
  665. /package/dist/{block.mds.junction-YREJCNYJ.js.map → block.mds.junction-TJXFKZ2Q.js.map} +0 -0
  666. /package/dist/{block.mds.svcnv-2ZDNI2XE.js.map → block.mds.svcnv-WSIEAII6.js.map} +0 -0
  667. /package/dist/{block.svg-2BRKZJAO.js.map → block.svg-CQX5W6R4.js.map} +0 -0
  668. /package/dist/{block.tk.aicheck-ZDTQFF7Q.js.map → block.tk.aicheck-J4MQ4BSD.js.map} +0 -0
  669. /package/dist/{block.tk.ase-JAIOSXZO.js.map → block.tk.ase-2JFNPWCZ.js.map} +0 -0
  670. /package/dist/{block.tk.bam-V27YBYQG.js.map → block.tk.bam-RBQ4AXSQ.js.map} +0 -0
  671. /package/dist/{block.tk.bedgraphdot-QFJNEYKU.js.map → block.tk.bedgraphdot-ZQBOMVTO.js.map} +0 -0
  672. /package/dist/{block.tk.bigwig.ui-X77XUZLB.js.map → block.tk.bigwig.ui-U5IBO3VF.js.map} +0 -0
  673. /package/dist/{block.tk.hicstraw-OCZXKJOV.js.map → block.tk.hicstraw-ZRZMFLLX.js.map} +0 -0
  674. /package/dist/{block.tk.junction-2KI3SPXW.js.map → block.tk.junction-7U7ABE4O.js.map} +0 -0
  675. /package/dist/{block.tk.junction.textmatrixui-G4OHYDVZ.js.map → block.tk.junction.textmatrixui-AEXZ7W3U.js.map} +0 -0
  676. /package/dist/{block.tk.ld-LM4A3V7Z.js.map → block.tk.ld-E7WPFL5P.js.map} +0 -0
  677. /package/dist/{block.tk.menu-GL6W3MKK.js.map → block.tk.menu-AITMEZTZ.js.map} +0 -0
  678. /package/dist/{block.tk.pgv-T3YW5EGQ.js.map → block.tk.pgv-EDPZHI5L.js.map} +0 -0
  679. /package/dist/{brainImaging-6WLB6DWG.js.map → brainImaging-35LPNBDR.js.map} +0 -0
  680. /package/dist/{brainRegions-EVHXPPL5.js.map → brainRegions-JMTQT4X3.js.map} +0 -0
  681. /package/dist/{bubbleHeatmap-WZX7MLQF.js.map → bubbleHeatmap-FMBKMDUL.js.map} +0 -0
  682. /package/dist/{cellTypeBubbleHeatmap-3XY3U7EO.js.map → cellTypeBubbleHeatmap-ZPTAGEWW.js.map} +0 -0
  683. /package/dist/{chunk-J2O74K2I.js.map → chunk-2GBG3KA7.js.map} +0 -0
  684. /package/dist/{chunk-Z4HZONN6.js.map → chunk-2IVN5DWA.js.map} +0 -0
  685. /package/dist/{chunk-TEMNQTG3.js.map → chunk-36AAUYZE.js.map} +0 -0
  686. /package/dist/{chunk-XD2JMWMR.js.map → chunk-3K7AYA3M.js.map} +0 -0
  687. /package/dist/{chunk-E6FOW4UK.js.map → chunk-4KJSNR5E.js.map} +0 -0
  688. /package/dist/{chunk-GRVO7RW4.js.map → chunk-52QHIKH2.js.map} +0 -0
  689. /package/dist/{chunk-S4XD4GGN.js.map → chunk-5ALGKNTQ.js.map} +0 -0
  690. /package/dist/{chunk-BH55L7RJ.js.map → chunk-5JCTTSV4.js.map} +0 -0
  691. /package/dist/{chunk-ANGLZ4XR.js.map → chunk-5W7K7STT.js.map} +0 -0
  692. /package/dist/{chunk-V26BRUAV.js.map → chunk-6CIGRV5K.js.map} +0 -0
  693. /package/dist/{chunk-JO5SX7RA.js.map → chunk-6U2OPC6J.js.map} +0 -0
  694. /package/dist/{chunk-EGKHDALO.js.map → chunk-7AHTS4BP.js.map} +0 -0
  695. /package/dist/{chunk-IUT72AWA.js.map → chunk-7HFAEB3C.js.map} +0 -0
  696. /package/dist/{chunk-XERHX42E.js.map → chunk-7HGZRJZZ.js.map} +0 -0
  697. /package/dist/{chunk-7CJKL3LK.js.map → chunk-A2ORIMUJ.js.map} +0 -0
  698. /package/dist/{chunk-VRINIB6B.js.map → chunk-A32SGNCT.js.map} +0 -0
  699. /package/dist/{chunk-VVJMPICY.js.map → chunk-AKA6RWLC.js.map} +0 -0
  700. /package/dist/{chunk-BWE6BZK3.js.map → chunk-AMVZ6KT5.js.map} +0 -0
  701. /package/dist/{chunk-L32KMIC3.js.map → chunk-ASXUC6SM.js.map} +0 -0
  702. /package/dist/{chunk-GH5EQCLQ.js.map → chunk-BCO5T43J.js.map} +0 -0
  703. /package/dist/{chunk-RRGGHEA4.js.map → chunk-BDQPMVKD.js.map} +0 -0
  704. /package/dist/{chunk-BXM6PRTG.js.map → chunk-BOQZOLRA.js.map} +0 -0
  705. /package/dist/{chunk-UG6RDT65.js.map → chunk-BSCMVKBP.js.map} +0 -0
  706. /package/dist/{chunk-N7DVQTPC.js.map → chunk-BZN2O76M.js.map} +0 -0
  707. /package/dist/{chunk-FIN6XVVG.js.map → chunk-BZZZQFTI.js.map} +0 -0
  708. /package/dist/{chunk-6KIZ3Q5X.js.map → chunk-CRHGXVUQ.js.map} +0 -0
  709. /package/dist/{chunk-UO5AU7IW.js.map → chunk-D6AB63O3.js.map} +0 -0
  710. /package/dist/{chunk-GJ6JKPEY.js.map → chunk-DPQP2GUW.js.map} +0 -0
  711. /package/dist/{chunk-IGJOH5LV.js.map → chunk-EKQ7NYOU.js.map} +0 -0
  712. /package/dist/{chunk-6MDL3FYD.js.map → chunk-EUQEQOFE.js.map} +0 -0
  713. /package/dist/{chunk-P7EXGD5F.js.map → chunk-FKA55PHV.js.map} +0 -0
  714. /package/dist/{chunk-6BG5G6SC.js.map → chunk-GVLWCGXX.js.map} +0 -0
  715. /package/dist/{chunk-ESXQDVDP.js.map → chunk-HLVWCJRO.js.map} +0 -0
  716. /package/dist/{chunk-CCYVGZGI.js.map → chunk-HPAW7XDM.js.map} +0 -0
  717. /package/dist/{chunk-JV5AGMUC.js.map → chunk-IV57XNTG.js.map} +0 -0
  718. /package/dist/{chunk-UTOWZWZ5.js.map → chunk-JMAFJKGG.js.map} +0 -0
  719. /package/dist/{chunk-XCN3FKLF.js.map → chunk-JZHRVYNS.js.map} +0 -0
  720. /package/dist/{chunk-5X6CDEMT.js.map → chunk-K6YUMBDY.js.map} +0 -0
  721. /package/dist/{chunk-7WWTWWB7.js.map → chunk-L6WNBKYN.js.map} +0 -0
  722. /package/dist/{chunk-XZXGNMNK.js.map → chunk-LGR6CJTW.js.map} +0 -0
  723. /package/dist/{chunk-AEHBMP7F.js.map → chunk-LOWJQFCC.js.map} +0 -0
  724. /package/dist/{chunk-Y34GYPF6.js.map → chunk-M5SYLBBC.js.map} +0 -0
  725. /package/dist/{chunk-QJQUSRGP.js.map → chunk-OIJ6GRVS.js.map} +0 -0
  726. /package/dist/{chunk-LWOWC4PF.js.map → chunk-ONVIVITY.js.map} +0 -0
  727. /package/dist/{chunk-SKS6VDD4.js.map → chunk-OQX3HO46.js.map} +0 -0
  728. /package/dist/{chunk-4DXQJGJ7.js.map → chunk-OYLGAFFY.js.map} +0 -0
  729. /package/dist/{chunk-SR35T6VI.js.map → chunk-P7DIIYCX.js.map} +0 -0
  730. /package/dist/{chunk-7T6G6BZF.js.map → chunk-PGKOJYV6.js.map} +0 -0
  731. /package/dist/{chunk-HZ3TCGBK.js.map → chunk-PPSWNLMG.js.map} +0 -0
  732. /package/dist/{chunk-GIBTGABW.js.map → chunk-R624P2GE.js.map} +0 -0
  733. /package/dist/{chunk-KUHCBPKU.js.map → chunk-RBSAEAQV.js.map} +0 -0
  734. /package/dist/{chunk-DRKC4J62.js.map → chunk-RZ3KEFZ2.js.map} +0 -0
  735. /package/dist/{chunk-VZKDGKCP.js.map → chunk-SS66BHGA.js.map} +0 -0
  736. /package/dist/{chunk-M3OUBH5W.js.map → chunk-SU63FEY6.js.map} +0 -0
  737. /package/dist/{chunk-YO5DWWBU.js.map → chunk-SVC65ZPG.js.map} +0 -0
  738. /package/dist/{chunk-2XOBD4ZZ.js.map → chunk-TG3QBMDK.js.map} +0 -0
  739. /package/dist/{chunk-26VFFI2G.js.map → chunk-TMXW5HVE.js.map} +0 -0
  740. /package/dist/{chunk-DX5WQOJU.js.map → chunk-TPDBOH3A.js.map} +0 -0
  741. /package/dist/{chunk-IYCSCSRS.js.map → chunk-U5RWKZVS.js.map} +0 -0
  742. /package/dist/{chunk-7WL4LROG.js.map → chunk-UYKZ5HXA.js.map} +0 -0
  743. /package/dist/{chunk-SPZQIZLJ.js.map → chunk-VOYUJJQ6.js.map} +0 -0
  744. /package/dist/{chunk-BMQDU7KN.js.map → chunk-W4RYRU5D.js.map} +0 -0
  745. /package/dist/{chunk-MZ6UOWXO.js.map → chunk-WFSMIVJT.js.map} +0 -0
  746. /package/dist/{chunk-B2XYBFGT.js.map → chunk-Y4PX2ECH.js.map} +0 -0
  747. /package/dist/{chunk-RPKZLEY7.js.map → chunk-YKM46UX5.js.map} +0 -0
  748. /package/dist/{chunk-GKB4YPSV.js.map → chunk-Z7AO6A7M.js.map} +0 -0
  749. /package/dist/{chunk-6KCG2NFA.js.map → chunk-ZENZ5H2Q.js.map} +0 -0
  750. /package/dist/{cohort-ZLQA2KPW.js.map → cohort-Q7TW5XTY.js.map} +0 -0
  751. /package/dist/{condition-SFZAHMKK.js.map → condition-H6LBUHIF.js.map} +0 -0
  752. /package/dist/{controls-US3ID2ZR.js.map → controls-DWDKFDXY.js.map} +0 -0
  753. /package/dist/{controls.config-Y7NGPB5K.js.map → controls.config-KF7PHZSG.js.map} +0 -0
  754. /package/dist/{correlation-JD4FMZVF.js.map → correlation-YMSARIER.js.map} +0 -0
  755. /package/dist/{customdata.inputui-YUHO2ZSR.js.map → customdata.inputui-KEFE7ZHS.js.map} +0 -0
  756. /package/dist/{dataDownload-4YQHUJQX.js.map → dataDownload-G7TGPFGL.js.map} +0 -0
  757. /package/dist/{databrowser.ui-4YE24U4B.js.map → databrowser.ui-NFIIFQJZ.js.map} +0 -0
  758. /package/dist/{dictionary-LFOSXJGH.js.map → dictionary-ERJQMALC.js.map} +0 -0
  759. /package/dist/{dnaMethylation-2627GIZW.js.map → dnaMethylation-KVCXKAU3.js.map} +0 -0
  760. /package/dist/{dnaMethylation.integration.spec-HSZKXED3.js.map → dnaMethylation.integration.spec-3NXGGG4J.js.map} +0 -0
  761. /package/dist/{dofetch-7O5UTSGI.js.map → dofetch-YRWLEQEH.js.map} +0 -0
  762. /package/dist/{e2pca-XL7F5BK3.js.map → e2pca-M2F2CI6I.js.map} +0 -0
  763. /package/dist/{ep-35KADAYG.js.map → ep-QAEG4RV4.js.map} +0 -0
  764. /package/dist/{expclust.gdc.spec-TFJEXEAA.js.map → expclust.gdc.spec-P77T6JR2.js.map} +0 -0
  765. /package/dist/{facet-AWDU4CCU.js.map → facet-LJTSTASE.js.map} +0 -0
  766. /package/dist/{gb-UIBSH7KV.js.map → gb-KSB2DQHH.js.map} +0 -0
  767. /package/dist/{geneExpClustering-VYZ5VDPL.js.map → geneExpClustering-KHDCPE65.js.map} +0 -0
  768. /package/dist/{geneExpression-ECXW22H6.js.map → geneExpression-AWWMOUAR.js.map} +0 -0
  769. /package/dist/{geneExpression-CNBSE3KW.js.map → geneExpression-Z2EDR6EN.js.map} +0 -0
  770. /package/dist/{geneExpression.unit.spec-SCBRU5BG.js.map → geneExpression.unit.spec-WB2ESPKT.js.map} +0 -0
  771. /package/dist/{geneORA-BQZ4XYJH.js.map → geneORA-NGZTMFSJ.js.map} +0 -0
  772. /package/dist/{geneRanking-GXRSXHIN.js.map → geneRanking-AYNBGFKU.js.map} +0 -0
  773. /package/dist/{geneVariant-Y7GASAY6.js.map → geneVariant-AL64NDHH.js.map} +0 -0
  774. /package/dist/{geneVariant-ZVOUFF27.js.map → geneVariant-QMKR3LUV.js.map} +0 -0
  775. /package/dist/{geneVariant.integration.spec-2ATUV7NH.js.map → geneVariant.integration.spec-N3U5CIRT.js.map} +0 -0
  776. /package/dist/{genefusion.ui-CEMLY7HG.js.map → genefusion.ui-IWJMF2BM.js.map} +0 -0
  777. /package/dist/{geneset-HMADFO7Z.js.map → geneset-APCO4BRX.js.map} +0 -0
  778. /package/dist/{genomeBrowser.spec-3U6KE3MK.js.map → genomeBrowser.spec-JTCVUTO5.js.map} +0 -0
  779. /package/dist/{grin2-CFAOAHY3.js.map → grin2-FVX6AIST.js.map} +0 -0
  780. /package/dist/{grin2-AJAXI4O4.js.map → grin2-LF46UKFY.js.map} +0 -0
  781. /package/dist/{hierCluster-JUJ7C7TQ.js.map → hierCluster-4DRHXD6W.js.map} +0 -0
  782. /package/dist/{hierCluster-N6B4L6FW.js.map → hierCluster-SFRQK3PS.js.map} +0 -0
  783. /package/dist/{hierCluster.config-RSSBKO6G.js.map → hierCluster.config-G2TFGBYF.js.map} +0 -0
  784. /package/dist/{hierCluster.integration.spec-YC6B3ID2.js.map → hierCluster.integration.spec-ZUZKCG6A.js.map} +0 -0
  785. /package/dist/{hierCluster.interactivity-PRIWN65K.js.map → hierCluster.interactivity-LQA6J56H.js.map} +0 -0
  786. /package/dist/{hierCluster.renderers-3RHXOHZ5.js.map → hierCluster.renderers-TZZJEVFO.js.map} +0 -0
  787. /package/dist/{imagePlot-DSG4WJOG.js.map → imagePlot-OUHFWYKT.js.map} +0 -0
  788. /package/dist/{importPlot-QSWJBDWH.js.map → importPlot-7V456QK7.js.map} +0 -0
  789. /package/dist/{isoformExpression-XWLMWXEK.js.map → isoformExpression-NGUJJ6VI.js.map} +0 -0
  790. /package/dist/{isoformExpression.unit.spec-T7VN2WPK.js.map → isoformExpression.unit.spec-DCRPXPBY.js.map} +0 -0
  791. /package/dist/{junction-AUXJROOE.js.map → junction-QYKLNXIW.js.map} +0 -0
  792. /package/dist/{junction.customTerm-FRYWSS4P.js.map → junction.customTerm-EHOOBR4V.js.map} +0 -0
  793. /package/dist/{junction.unit.spec-ODVQMDI5.js.map → junction.unit.spec-LDNY7OFK.js.map} +0 -0
  794. /package/dist/{launch.adhoc-TNONPG6R.js.map → launch.adhoc-FF7B3UG6.js.map} +0 -0
  795. /package/dist/{leftlabel.sample-5VFAMSH5.js.map → leftlabel.sample-BTHMKLGF.js.map} +0 -0
  796. /package/dist/{lollipop-NEDFCNJJ.js.map → lollipop-H3UCNMHN.js.map} +0 -0
  797. /package/dist/{maf-2GO7PDOL.js.map → maf-KWGUTPKO.js.map} +0 -0
  798. /package/dist/{maftimeline-UMVQGIXA.js.map → maftimeline-UD5VE4UW.js.map} +0 -0
  799. /package/dist/{matrix-74JSSVR5.js.map → matrix-DLCX6GOO.js.map} +0 -0
  800. /package/dist/{matrix-YARPFYCU.js.map → matrix-TIV42IQB.js.map} +0 -0
  801. /package/dist/{matrix.cells-WYCIMZRW.js.map → matrix.cells-J3QZ7C6U.js.map} +0 -0
  802. /package/dist/{matrix.config-5SNEP3B4.js.map → matrix.config-VNMS6B7J.js.map} +0 -0
  803. /package/dist/{matrix.data-3H4GFMQK.js.map → matrix.data-PIE3TLKD.js.map} +0 -0
  804. /package/dist/{matrix.groups-FGLRK6IT.js.map → matrix.groups-URBU775S.js.map} +0 -0
  805. /package/dist/{matrix.integration.spec-4DQIRQQO.js.map → matrix.integration.spec-LC6YMEKP.js.map} +0 -0
  806. /package/dist/{matrix.interactivity-GSV45F2N.js.map → matrix.interactivity-W5AFOAQN.js.map} +0 -0
  807. /package/dist/{matrix.layout-BMH4V36B.js.map → matrix.layout-LU3NIJAL.js.map} +0 -0
  808. /package/dist/{matrix.legend-5OVHDE6Q.js.map → matrix.legend-LTP6ETZO.js.map} +0 -0
  809. /package/dist/{matrix.renderers-DENF4NZ6.js.map → matrix.renderers-762XI65L.js.map} +0 -0
  810. /package/dist/{matrix.serieses-D7XPW5L4.js.map → matrix.serieses-FHDBRPZA.js.map} +0 -0
  811. /package/dist/{matrix.sort-XQEOXSEG.js.map → matrix.sort-Q6A6UWMY.js.map} +0 -0
  812. /package/dist/{matrix.sort.unit.spec-HGII2SCC.js.map → matrix.sort.unit.spec-CTCOPKVS.js.map} +0 -0
  813. /package/dist/{matrix.sorterUi-J6PRUT6J.js.map → matrix.sorterUi-4M5AU5EL.js.map} +0 -0
  814. /package/dist/{matrix.sorterUi.unit.spec-TNRATMUJ.js.map → matrix.sorterUi.unit.spec-Y7GC3PM5.js.map} +0 -0
  815. /package/dist/{matrix.unit.spec-LBMDCANX.js.map → matrix.unit.spec-DROPHFTM.js.map} +0 -0
  816. /package/dist/{mavb-UQFSJN4W.js.map → mavb-BWA73N3U.js.map} +0 -0
  817. /package/dist/{mds.fimo-TXHCH6LW.js.map → mds.fimo-3UJWIH2J.js.map} +0 -0
  818. /package/dist/{mds.samplescatterplot-G6IJO3I7.js.map → mds.samplescatterplot-EUS7DCSQ.js.map} +0 -0
  819. /package/dist/{mds.survivalplot-XFB2EL23.js.map → mds.survivalplot-77UEBQIC.js.map} +0 -0
  820. /package/dist/{multivalue-GLE6G3ZO.js.map → multivalue-KZ2DMVIR.js.map} +0 -0
  821. /package/dist/{numericDictTermCluster-YTAMQDWZ.js.map → numericDictTermCluster-C2MYJYPZ.js.map} +0 -0
  822. /package/dist/{oncomatrix-P6QVGFAR.js.map → oncomatrix-6LGB3M7R.js.map} +0 -0
  823. /package/dist/{oncomatrix.spec-O6U52E22.js.map → oncomatrix.spec-UWMSLOHW.js.map} +0 -0
  824. /package/dist/{plot.2dvaf-VZL4SH6G.js.map → plot.2dvaf-LZAVWH65.js.map} +0 -0
  825. /package/dist/{plot.app-VYMIF4VU.js.map → plot.app-OEWE3AYV.js.map} +0 -0
  826. /package/dist/{plot.barplot-I6S266DG.js.map → plot.barplot-VIBHGTUT.js.map} +0 -0
  827. /package/dist/{plot.boxplot-3CHI4AA2.js.map → plot.boxplot-NQI3PSKR.js.map} +0 -0
  828. /package/dist/{plot.brainImaging-LRQYKMLQ.js.map → plot.brainImaging-3MTTCZHI.js.map} +0 -0
  829. /package/dist/{plot.disco-NCTBMD2W.js.map → plot.disco-HODBY7SO.js.map} +0 -0
  830. /package/dist/{plot.ssgq-CL3TGZ55.js.map → plot.ssgq-4URQE673.js.map} +0 -0
  831. /package/dist/{plot.vaf2cov-5RG3OD6G.js.map → plot.vaf2cov-QIJNEKCK.js.map} +0 -0
  832. /package/dist/{polar2-ABI2UJNC.js.map → polar2-GVFQNSLK.js.map} +0 -0
  833. /package/dist/{profileForms-Z4Y55OQY.js.map → profileForms-Z22CJXI4.js.map} +0 -0
  834. /package/dist/{profilePlot-LMDZVOJK.js.map → profilePlot-IVQZBSID.js.map} +0 -0
  835. /package/dist/{proteinView-UYMM76WH.js.map → proteinView-AUK634AU.js.map} +0 -0
  836. /package/dist/{proteomeCohortCompare-5GFBARC5.js.map → proteomeCohortCompare-7G2F35H5.js.map} +0 -0
  837. /package/dist/{pseudbulk.unit.spec-JJ2I4KPM.js.map → pseudbulk.unit.spec-JDKUQUCM.js.map} +0 -0
  838. /package/dist/{pseudobulk-Y7HWDLIV.js.map → pseudobulk-QTCUSH5I.js.map} +0 -0
  839. /package/dist/{qualitative-H72GEWTZ.js.map → qualitative-7ST7SSBT.js.map} +0 -0
  840. /package/dist/{radar2-OXUS5DLT.js.map → radar2-CEE6SNBS.js.map} +0 -0
  841. /package/dist/{radarFacility2-VOUNCM6A.js.map → radarFacility2-OSKDYIK7.js.map} +0 -0
  842. /package/dist/{rememberedGvQ.unit.spec-N43O4YTF.js.map → rememberedGvQ.unit.spec-RYFUJ2NW.js.map} +0 -0
  843. /package/dist/{render-KDLTAQVA.js.map → render-MAD3WMVD.js.map} +0 -0
  844. /package/dist/{report-PBRD2KBN.js.map → report-6JXJVSEB.js.map} +0 -0
  845. /package/dist/{sampleView-7HWFZCHE.js.map → sampleView-SG3QYZKQ.js.map} +0 -0
  846. /package/dist/{samplelst-3ZWV4XZQ.js.map → samplelst-R765UFP6.js.map} +0 -0
  847. /package/dist/{samplematrix-YRJUNYQ6.js.map → samplematrix-EBJYE5SM.js.map} +0 -0
  848. /package/dist/{sc-N4YM3GZI.js.map → sc-7ZXPFDHD.js.map} +0 -0
  849. /package/dist/{scatter-KBY6VF76.js.map → scatter-3GUL4KF3.js.map} +0 -0
  850. /package/dist/{selectGenomeWithTklst-25WQQ42Y.js.map → selectGenomeWithTklst-K4YXGJYG.js.map} +0 -0
  851. /package/dist/{singleCellCellType-35TDG2YM.js.map → singleCellCellType-TU5VTPLP.js.map} +0 -0
  852. /package/dist/{singleCellCellType.unit.spec-G5AVNAUK.js.map → singleCellCellType.unit.spec-IRITQIGT.js.map} +0 -0
  853. /package/dist/{singleCellGeneExpression-7AHJYFWJ.js.map → singleCellGeneExpression-3IL52QDK.js.map} +0 -0
  854. /package/dist/{singleCellGeneExpression.unit.spec-LGZMOVTB.js.map → singleCellGeneExpression.unit.spec-WXC4C37T.js.map} +0 -0
  855. /package/dist/{singleCellPlot-AU5K4M7J.js.map → singleCellPlot-XG3HZS7I.js.map} +0 -0
  856. /package/dist/{singlecell-HNTYJLJ4.js.map → singlecell-BRF2HAV2.js.map} +0 -0
  857. /package/dist/{singlecell-J4FIZPZF.js.map → singlecell-KVCJF2HI.js.map} +0 -0
  858. /package/dist/{snp-OXDVSFGB.js.map → snp-RMZRB426.js.map} +0 -0
  859. /package/dist/{snp.unit.spec-B7LCCGWA.js.map → snp.unit.spec-JF6KR2NT.js.map} +0 -0
  860. /package/dist/{snplocus-4VWXVQGS.js.map → snplocus-AHUFHQ3Q.js.map} +0 -0
  861. /package/dist/{spliceevent.a53ss.diagram-YS32IFVI.js.map → spliceevent.a53ss.diagram-OSZZ2CF2.js.map} +0 -0
  862. /package/dist/{spliceevent.exonskip.diagram-PHFR53DH.js.map → spliceevent.exonskip.diagram-AMA2D2OL.js.map} +0 -0
  863. /package/dist/{spliceevent.noeventdiagram-FFHMDEBQ.js.map → spliceevent.noeventdiagram-RKTUXH5D.js.map} +0 -0
  864. /package/dist/{ssGSEA-OYEIDW4M.js.map → ssGSEA-7RKWYZKX.js.map} +0 -0
  865. /package/dist/{ssGSEA.unit.spec-SY5XFF45.js.map → ssGSEA.unit.spec-XLCZHH7S.js.map} +0 -0
  866. /package/dist/{stattable-JCH2WPS6.js.map → stattable-NDYUCLVZ.js.map} +0 -0
  867. /package/dist/{studyCatalog-FDB7D26M.js.map → studyCatalog-TAXRF5NS.js.map} +0 -0
  868. /package/dist/{summarizeCnvGeneexp-KNW23YAI.js.map → summarizeCnvGeneexp-3QLHU6N7.js.map} +0 -0
  869. /package/dist/{summarizeGeneexpSurvival-H57GGCXL.js.map → summarizeGeneexpSurvival-ARI4MPFX.js.map} +0 -0
  870. /package/dist/{summarizeMutationCnv-RBBDE27N.js.map → summarizeMutationCnv-W7V7CKPI.js.map} +0 -0
  871. /package/dist/{summarizeMutationDiagnosis-R6YWQ4LQ.js.map → summarizeMutationDiagnosis-GCL4SRON.js.map} +0 -0
  872. /package/dist/{summarizeMutationSurvival-Q6WKBNPD.js.map → summarizeMutationSurvival-6TTMSRRX.js.map} +0 -0
  873. /package/dist/{summary-AL3GEK3G.js.map → summary-OUYDWLBF.js.map} +0 -0
  874. /package/dist/{summary.integration.spec-IFGDIEMW.js.map → summary.integration.spec-4GTCG6HY.js.map} +0 -0
  875. /package/dist/{summaryInput-TYIKTBO3.js.map → summaryInput-UK3TLC7M.js.map} +0 -0
  876. /package/dist/{sunburst-4PA3CO44.js.map → sunburst-2UFHMNH3.js.map} +0 -0
  877. /package/dist/{survival-GT4CSHX2.js.map → survival-SPWYSDVB.js.map} +0 -0
  878. /package/dist/{survival-HXJCMNCG.js.map → survival-TL6UZ6FQ.js.map} +0 -0
  879. /package/dist/{svgraph-MZCOBO4J.js.map → svgraph-Z543MLIN.js.map} +0 -0
  880. /package/dist/{svmr-FQPAAQHB.js.map → svmr-SZCAOAIF.js.map} +0 -0
  881. /package/dist/{table-FKLXVILD.js.map → table-IAQ6J4DO.js.map} +0 -0
  882. /package/dist/{termCollection-Y7CIC6GQ.js.map → termCollection-3NGHR7QN.js.map} +0 -0
  883. /package/dist/{termCollection-QDGR6J36.js.map → termCollection-7P3WU6X6.js.map} +0 -0
  884. /package/dist/{termCollection.unit.spec-PQMFOWLF.js.map → termCollection.unit.spec-EPYC7LOA.js.map} +0 -0
  885. /package/dist/{termCollectionFractionSelection-2O32HROA.js.map → termCollectionFractionSelection-YKIE6BME.js.map} +0 -0
  886. /package/dist/{termCollectionFractionSelection.unit.spec-WXGCO2RF.js.map → termCollectionFractionSelection.unit.spec-AG2CZPGZ.js.map} +0 -0
  887. /package/dist/{tk-QJNN6WK2.js.map → tk-TOXMU4GT.js.map} +0 -0
  888. /package/dist/{tk-IBYM4FZC.js.map → tk-X454XH5N.js.map} +0 -0
  889. /package/dist/{tp.ui-RI7S54LI.js.map → tp.ui-FDQ76KPL.js.map} +0 -0
  890. /package/dist/{tvs.dt-7CIYMLQF.js.map → tvs.dt-U77PCG6X.js.map} +0 -0
  891. /package/dist/{tvs.dtcnv.categorical-D3W6R6BM.js.map → tvs.dtcnv.categorical-XYZU4XLO.js.map} +0 -0
  892. /package/dist/{tvs.dtcnv.continuous-4WS2TN3K.js.map → tvs.dtcnv.continuous-4GJILFGP.js.map} +0 -0
  893. /package/dist/{tvs.dtfusion-NUUFIGG4.js.map → tvs.dtfusion-7YROAHVI.js.map} +0 -0
  894. /package/dist/{tvs.dtitd-UCSEWRNJ.js.map → tvs.dtitd-MIYU4ZHH.js.map} +0 -0
  895. /package/dist/{tvs.dtsnvindel-J4S7KU3Y.js.map → tvs.dtsnvindel-XLDY7KWB.js.map} +0 -0
  896. /package/dist/{tvs.dtsv-4OPYIWB6.js.map → tvs.dtsv-YMLJ37YR.js.map} +0 -0
  897. /package/dist/{tvs.samplelst-RUZYZ2FF.js.map → tvs.samplelst-KIVEXJKD.js.map} +0 -0
  898. /package/dist/{tvs.termCollection-D5X2HNWO.js.map → tvs.termCollection-4CQV3EB3.js.map} +0 -0
  899. /package/dist/{vocabulary-4L3RHQFQ.js.map → vocabulary-64GO4YDB.js.map} +0 -0
  900. /package/dist/{wsi.direct-FNCUUBEJ.js.map → wsi.direct-5MQVRJZX.js.map} +0 -0
@@ -0,0 +1,2139 @@
1
+ import {
2
+ isNumericTerm
3
+ } from "./chunk-PPSWNLMG.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-RUBZCKIX.js";
29
+ import {
30
+ deepFreeze,
31
+ sleep
32
+ } from "./chunk-WINIL2KN.js";
33
+ import {
34
+ convertUnits,
35
+ isNumeric,
36
+ isStrictNumeric
37
+ } from "./chunk-W5J3LTYS.js";
38
+ import {
39
+ format
40
+ } from "./chunk-4OLM3KSB.js";
41
+ import {
42
+ select_default
43
+ } from "./chunk-I6Y4O3RR.js";
44
+
45
+ // ../shared/utils/dist/src/boxplot.js
46
+ function boxplot_getvalue(lst, removeOutliers = false) {
47
+ const l = lst.length;
48
+ if (l < 5) return { out: lst };
49
+ const isN = typeof lst[0] === "number";
50
+ const valueOf = isN ? (item) => item : (item) => item.value;
51
+ const p50 = valueOf(lst[Math.floor(l / 2)]);
52
+ const p25 = valueOf(lst[Math.floor(l / 4)]);
53
+ const p75 = valueOf(lst[Math.floor(l * 3 / 4)]);
54
+ const p05 = valueOf(lst[Math.floor(l * 0.05)]);
55
+ const p95 = valueOf(lst[Math.floor(l * 0.95)]);
56
+ const iqr = p75 - p25;
57
+ let w1, w2;
58
+ if (iqr === 0) {
59
+ w1 = p25;
60
+ w2 = p25;
61
+ } else {
62
+ const i = lst.findIndex((item) => valueOf(item) > p25 - iqr * 1.5);
63
+ w1 = valueOf(lst[i === -1 ? 0 : i]);
64
+ const j = lst.findIndex((item) => valueOf(item) > p75 + iqr * 1.5);
65
+ w2 = valueOf(lst[j === -1 ? l - 1 : j - 1]);
66
+ }
67
+ const out = removeOutliers ? [] : lst.filter((item) => valueOf(item) < p25 - iqr * 1.5 || valueOf(item) > p75 + iqr * 1.5);
68
+ return { w1, w2, p05, p25, p50, p75, p95, iqr, out };
69
+ }
70
+
71
+ // ../shared/utils/dist/src/bulk.js
72
+ function init_bulk_flag(genome) {
73
+ if (!genome) {
74
+ return null;
75
+ }
76
+ const mclasslabel2key2 = {};
77
+ for (const n in mclass) {
78
+ mclasslabel2key2[mclass[n].label.toUpperCase()] = n;
79
+ }
80
+ return {
81
+ genome,
82
+ mclasslabel2key: mclasslabel2key2,
83
+ data: {},
84
+ sample2disease: {},
85
+ // (proof) k: sample, v: disease
86
+ // will only record this when origin is used
87
+ patient2st: {},
88
+ // k: patient, v: { k: sampletype, v: sample }
89
+ // new sample names always override old
90
+ good: 0,
91
+ geneToUpper: true,
92
+ // option to not force uppercase on gene names
93
+ snv: {
94
+ loaded: false,
95
+ header: null,
96
+ badlines: [],
97
+ // jinghui: based on missense/silent ratio of entire dataset to decide whether to include silent when importing...
98
+ // hard-coded class codes
99
+ missense: 0,
100
+ silent: 0
101
+ },
102
+ svjson: {
103
+ loaded: false,
104
+ header: null,
105
+ badlines: []
106
+ },
107
+ fusion: {
108
+ loaded: false,
109
+ header: null,
110
+ badlines: [],
111
+ original: []
112
+ },
113
+ sv: {
114
+ loaded: false,
115
+ header: null,
116
+ badlines: [],
117
+ original: []
118
+ },
119
+ cnv: {
120
+ loaded: false,
121
+ header: null,
122
+ badlines: []
123
+ },
124
+ itd: {
125
+ loaded: false,
126
+ header: null,
127
+ badlines: []
128
+ },
129
+ del: {
130
+ loaded: false,
131
+ header: null,
132
+ badlines: []
133
+ },
134
+ truncation: {
135
+ loaded: false,
136
+ header: null,
137
+ badlines: []
138
+ }
139
+ };
140
+ }
141
+ function parsesample(m, flag, i, lst) {
142
+ let variantorigin = moriginsomatic;
143
+ if (m.sampletype) {
144
+ const s = m.sampletype.toLowerCase();
145
+ switch (s) {
146
+ case "relapse":
147
+ variantorigin = moriginrelapse;
148
+ break;
149
+ case "germline":
150
+ variantorigin = morigingermline;
151
+ break;
152
+ case "somatic":
153
+ case "diagnosis":
154
+ break;
155
+ }
156
+ if (m.sample) {
157
+ if (m.patient) {
158
+ } else {
159
+ m.patient = m.sample + " " + m.sampletype;
160
+ }
161
+ } else {
162
+ if (m.patient) {
163
+ m.sample = m.patient + " " + m.sampletype;
164
+ } else {
165
+ }
166
+ }
167
+ } else {
168
+ if (m.patient) {
169
+ if (m.sample) {
170
+ m.sampletype = m.sample;
171
+ } else {
172
+ m.sample = m.sampletype = m.patient;
173
+ }
174
+ } else {
175
+ if (m.sample) {
176
+ m.sampletype = m.sample;
177
+ } else {
178
+ }
179
+ }
180
+ }
181
+ if (m.origin) {
182
+ const s = m.origin.toLowerCase();
183
+ switch (s) {
184
+ case "r":
185
+ case "relapse":
186
+ variantorigin = moriginrelapse;
187
+ m.isrim2 = true;
188
+ break;
189
+ case "g":
190
+ case "germline":
191
+ variantorigin = morigingermline;
192
+ m.isrim1 = true;
193
+ break;
194
+ case "gp":
195
+ case "germline pathogenic":
196
+ variantorigin = morigingermlinepathogenic;
197
+ m.isrim1 = true;
198
+ break;
199
+ case "gnp":
200
+ case "germline nonpathogenic":
201
+ case "germline non-pathogenic":
202
+ variantorigin = morigingermlinenonpathogenic;
203
+ m.isrim1 = true;
204
+ break;
205
+ case "s":
206
+ case "somatic":
207
+ case "diagnosis":
208
+ variantorigin = moriginsomatic;
209
+ break;
210
+ }
211
+ }
212
+ m.origin = variantorigin;
213
+ if (!m.sample && !m.patient) {
214
+ return;
215
+ }
216
+ const nopatientname = "no patient/individual name";
217
+ if (m.patient) {
218
+ if (!flag.patient2st[m.patient]) {
219
+ flag.patient2st[m.patient] = {};
220
+ }
221
+ flag.patient2st[m.patient][m.sampletype] = m.sample;
222
+ } else {
223
+ if (!flag.patient2st[nopatientname]) {
224
+ flag.patient2st[nopatientname] = {};
225
+ }
226
+ flag.patient2st[nopatientname][m.sampletype] = m.sample;
227
+ }
228
+ if (m.sample) {
229
+ if (m.disease) {
230
+ if (m.sample in flag.sample2disease) {
231
+ if (m.disease != flag.sample2disease[m.sample]) {
232
+ flag.snv.badlines.push([
233
+ i,
234
+ 'conflict of disease types for sample "' + m.sample + '": ' + m.disease + ", " + flag.sample2disease[m.sample],
235
+ lst
236
+ ]);
237
+ return true;
238
+ }
239
+ } else {
240
+ flag.sample2disease[m.sample] = m.disease;
241
+ }
242
+ }
243
+ }
244
+ return false;
245
+ }
246
+
247
+ // ../shared/utils/dist/src/clustering.js
248
+ var clusterMethodLst = [
249
+ {
250
+ label: "Average",
251
+ value: "average",
252
+ title: `Cluster by average value`
253
+ },
254
+ {
255
+ label: `Complete`,
256
+ value: "complete",
257
+ title: `Use the complete clustering method`
258
+ },
259
+ {
260
+ label: `Single`,
261
+ value: "single",
262
+ title: `Use the single clustering method`
263
+ },
264
+ {
265
+ label: `Ward.D`,
266
+ value: "ward.D",
267
+ title: `Use the ward.D clustering method`
268
+ },
269
+ {
270
+ label: `Ward.D2`,
271
+ value: "ward.D2",
272
+ title: `Use the ward.D2 clustering method`
273
+ },
274
+ {
275
+ label: `Mcquitty`,
276
+ value: "mcquitty",
277
+ title: `Use the Mcquity clustering method`
278
+ }
279
+ /* These methods are currently disabled because the dendrogram lines tend to cross one another.
280
+ {
281
+ label: `Centroid`,
282
+ value: 'centroid',
283
+ title: `Use the centroid clustering method`
284
+ },
285
+ {
286
+ label: `Median`,
287
+ value: 'median',
288
+ title: `Use the median clustering method`
289
+ }
290
+ */
291
+ ];
292
+ var distanceMethodLst = [
293
+ {
294
+ label: "Euclidean",
295
+ value: "euclidean",
296
+ title: `Calculate distance using euclidean method`
297
+ },
298
+ {
299
+ label: "Maximum",
300
+ value: "maximum",
301
+ title: `Maximum distance between two components of x and y`
302
+ },
303
+ {
304
+ label: "Manhattan",
305
+ value: "manhattan",
306
+ title: `Calculate distance using the absolute distance between the two vectors`
307
+ },
308
+ {
309
+ label: "Canberra",
310
+ value: "canberra",
311
+ title: `Calculate distance using Canberra method`
312
+ }
313
+ ];
314
+
315
+ // ../shared/utils/dist/src/compute.percentile.js
316
+ function computePercentile(values, percentile, sorted = false) {
317
+ if (!sorted) values.sort((a, b) => a - b);
318
+ const index = Math.abs(percentile / 100 * values.length - 1);
319
+ const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
320
+ return value;
321
+ }
322
+
323
+ // ../shared/utils/dist/src/hash.js
324
+ var encoder = new TextEncoder();
325
+ async function hash(message) {
326
+ const msgUint8 = encoder.encode(message);
327
+ const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
328
+ const hashArray = Array.from(new Uint8Array(hashBuffer));
329
+ const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
330
+ return hexToBase64(hashHex).replace("=", "-");
331
+ }
332
+ function hexToBase64(hexStr) {
333
+ return btoa(
334
+ [...hexStr].reduce(
335
+ (acc, _, i) => acc += !(i - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i - 1, i + 1), 16)) : "",
336
+ ""
337
+ )
338
+ );
339
+ }
340
+
341
+ // ../shared/utils/dist/src/urljson.js
342
+ var reserved = ["false", "true", "null", "undefined"];
343
+ var delimiters = ['"', "{", "["];
344
+ function encode(rawObject) {
345
+ const params = [];
346
+ for (const [key, value] of Object.entries(rawObject)) {
347
+ if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
348
+ params.push(`${key}=${encodeURIComponent(value)}`);
349
+ } else if (value !== void 0) {
350
+ params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
351
+ }
352
+ }
353
+ return params.join("&");
354
+ }
355
+
356
+ // ../shared/utils/dist/src/fetch-helpers.js
357
+ async function processResponse(r) {
358
+ const ct = r.headers.get("content-type");
359
+ if (!ct) throw `missing response.header['content-type']`;
360
+ if (ct.includes("/json")) {
361
+ const payload = await r.json();
362
+ return payload;
363
+ }
364
+ if (ct.includes("/text") || ct.includes("text/")) {
365
+ return r.text();
366
+ }
367
+ if (ct.includes("multipart")) {
368
+ if (ct.startsWith("multipart/form-data")) return processFormData(r);
369
+ else throw `cannot handle response content-type: '${ct}'`;
370
+ }
371
+ if (ct == "application/x-ndjson-nestedkey") {
372
+ return processNDJSON_nestedKey(r);
373
+ }
374
+ return r.blob();
375
+ }
376
+ async function processFormData(res) {
377
+ const data = {};
378
+ const form = await res.formData();
379
+ for (const [key, value] of form.entries()) {
380
+ if (value.type) {
381
+ data[key] = { headers: { "content-type": value.type }, body: value };
382
+ } else {
383
+ const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
384
+ data[key] = { headers: { "content-type": "application/json" }, body };
385
+ }
386
+ }
387
+ return data;
388
+ }
389
+ async function processNDJSON_nestedKey(r) {
390
+ const stream = r.body.pipeThrough(new TextDecoderStream());
391
+ const reader = stream.getReader();
392
+ let rootObj = {};
393
+ let buffer = "";
394
+ let done = false;
395
+ while (!done) {
396
+ const readResult = await reader.read();
397
+ done = readResult.done;
398
+ if (done) break;
399
+ const value = readResult.value;
400
+ buffer += value;
401
+ const parts = buffer.split("\n");
402
+ buffer = parts.pop() ?? "";
403
+ for (const line of parts) {
404
+ if (line.trim()) {
405
+ const [keys, data] = JSON.parse(line);
406
+ if (!keys.length) rootObj = data;
407
+ else {
408
+ const lastKey = keys.pop();
409
+ let target = rootObj;
410
+ for (const k of keys) target = target[k];
411
+ target[lastKey] = data;
412
+ }
413
+ }
414
+ }
415
+ }
416
+ return rootObj;
417
+ }
418
+ var cacheLifetime = 1e3 * 60 * 5;
419
+ async function getDataName(url, init) {
420
+ const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
421
+ return await hash(dataName);
422
+ }
423
+
424
+ // ../shared/utils/dist/src/fileSize.js
425
+ function fileSize(v) {
426
+ if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
427
+ if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
428
+ if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
429
+ return v + " Bytes";
430
+ }
431
+
432
+ // ../shared/utils/dist/src/mds3tk.js
433
+ var ssmIdFieldsSeparator = "__";
434
+ function summarize_mclass(mlst) {
435
+ const m2c = /* @__PURE__ */ new Map();
436
+ const cnvs = [];
437
+ for (const m of mlst) {
438
+ if (m.dt == dtcnv) {
439
+ cnvs.push(m);
440
+ continue;
441
+ }
442
+ const key = m.class || m.dt;
443
+ m2c.set(key, 1 + (m2c.get(key) || 0));
444
+ }
445
+ if (cnvs.length) {
446
+ if (Number.isFinite(cnvs[0].value)) {
447
+ m2c.set(dtcnv, cnvs.length);
448
+ } else {
449
+ for (const c of cnvs) {
450
+ if (!c.class) continue;
451
+ m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
452
+ }
453
+ }
454
+ }
455
+ return [...m2c].sort((i, j) => j[1] - i[1]);
456
+ }
457
+ function guessSsmid(ssmid) {
458
+ const l = ssmid.split(ssmIdFieldsSeparator);
459
+ if (l.length == 4) {
460
+ const [chr, tmp, ref, alt] = l;
461
+ const pos = Number(tmp);
462
+ if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
463
+ return { dt: dtsnvindel, l: [chr, pos, ref, alt] };
464
+ }
465
+ if (l.length == 5) {
466
+ const [chr, _start, _stop, _class, _value] = l;
467
+ const start = Number(_start), stop = Number(_stop);
468
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
469
+ const value = _value == "" ? null : Number(_value);
470
+ if (_class == mclassitd) {
471
+ return { dt: dtitd, l: [chr, start, stop, _class, value] };
472
+ }
473
+ return { dt: dtcnv, l: [chr, start, stop, _class, value] };
474
+ }
475
+ if (l.length == 6) {
476
+ if (l[3] == "+" || l[3] == "-") {
477
+ const [_dt, chr2, _pos, strand, _pi, _mname] = l;
478
+ const mname = decodeURIComponent(_mname);
479
+ const dt = Number(_dt);
480
+ if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
481
+ const pos = Number(_pos);
482
+ if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
483
+ const pairlstIdx = Number(_pi);
484
+ if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
485
+ return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
486
+ }
487
+ const [chr, _start, _stop, _class, _value, sample] = l;
488
+ const start = Number(_start), stop = Number(_stop);
489
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
490
+ if (_class == mclassitd) {
491
+ return { dt: dtitd, l: [chr, start, stop, _class, _value, sample] };
492
+ }
493
+ const value = _value == "" ? null : Number(_value);
494
+ return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
495
+ }
496
+ throw new Error("unknown ssmid");
497
+ }
498
+
499
+ // ../shared/utils/dist/src/scatter.js
500
+ var xAxisOffSet = 80;
501
+ var yAxisOffSet = 30;
502
+ function getCoordinate(val, min, max) {
503
+ if (min != null && val < min) return min;
504
+ if (max != null && val > max) return max;
505
+ return val;
506
+ }
507
+ function calculatePadding(minScale, maxScale, min, max) {
508
+ return minScale != null || maxScale != null ? 0 : (max - min) * 0.01;
509
+ }
510
+
511
+ // ../shared/utils/dist/src/termdb.bins.js
512
+ function validate_bins(binconfig) {
513
+ const bc = binconfig;
514
+ if (!bc || typeof bc !== "object") throw "bin schema must be an object";
515
+ if (!("type" in bc)) bc.type = "regular-bin";
516
+ if (bc.type == "custom-bin") {
517
+ if (!Array.isArray(bc.lst)) throw "binconfig.lst must be an array";
518
+ if (!bc.lst.length) throw "binconfig.lst must have entries";
519
+ const first_bin = bc.lst[0];
520
+ const last_bin = bc.lst[bc.lst.length - 1];
521
+ for (const bin of bc.lst) {
522
+ if (!("startinclusive" in bin) && !("stopinclusive" in bin)) {
523
+ throw "custom bin.startinclusive and/or bin.stopinclusive must be defined";
524
+ }
525
+ if (bin == first_bin) {
526
+ if ("startunbounded" in bin && !bin.startunbounded) {
527
+ throw `a custom first bin must not set bin.startunbounded to false`;
528
+ }
529
+ bin.startunbounded = true;
530
+ if ("start" in bin) {
531
+ throw "a custom first bin must not set a bin.start value";
532
+ }
533
+ if ("start_percentile" in bin) {
534
+ throw "the first bin must not set a bin.start_percentile value";
535
+ }
536
+ if (!("stop" in bin)) {
537
+ throw `a custom first bin must define a bin.stop value`;
538
+ }
539
+ if (!isStrictNumeric(bin.stop)) {
540
+ throw `a custom first bin.stop value should be numeric`;
541
+ }
542
+ } else if (bin == last_bin) {
543
+ if (!("start" in bin)) {
544
+ throw `a custom last bin must define a bin.start value`;
545
+ }
546
+ if (!isStrictNumeric(bin.start)) {
547
+ throw `a custom last bin.start must be numeric`;
548
+ }
549
+ if ("stopunbounded" in bin && !bin.stopunbounded) {
550
+ throw "a custom last bin must not set bin.stopunbounded to false";
551
+ }
552
+ bin.stopunbounded = true;
553
+ if ("stop" in bin) {
554
+ throw "a custom last bin must not set a bin.stop value";
555
+ }
556
+ } else {
557
+ if (bin.startunbounded || bin.stopunbounded) {
558
+ throw "bin.startunbounded and bin.stopunbounded must not be set for non-first/non-last bins";
559
+ }
560
+ if (!isStrictNumeric(bin.start)) throw "bin.start must be numeric for a non-first bin";
561
+ if (!isStrictNumeric(bin.stop)) throw "bin.stop must be numeric for a non-last bin";
562
+ }
563
+ }
564
+ } else if (bc.type == "regular-bin") {
565
+ if (!Number.isFinite(bc.bin_size)) throw "non-numeric bin_size";
566
+ if (!bc.bin_size || bc.bin_size <= 0) throw "bin_size must be greater than 0";
567
+ if (!bc.startinclusive && !bc.stopinclusive) {
568
+ bc.startinclusive = true;
569
+ bc.stopinclusive = false;
570
+ }
571
+ if (!bc.first_bin) throw "first_bin{} missing";
572
+ if (typeof bc.first_bin != "object") throw "first_bin{} is not an object";
573
+ if (!Object.keys(bc.first_bin).length) throw "first_bin is an empty object";
574
+ {
575
+ const b = bc.first_bin;
576
+ b.startunbounded = true;
577
+ if (b.stop_percentile) {
578
+ if (!Number.isInteger(b.stop_percentile)) throw "first_bin.stop_percentile should be integer";
579
+ if (b.stop_percentile <= 0 || b.stop_percentile >= 100) throw "first_bin.stop_percentile out of bound (0-100)";
580
+ } else if (!Number.isFinite(b.stop)) {
581
+ throw "first_bin.stop not a number when stop_percentile is not set";
582
+ }
583
+ }
584
+ if (bc.last_bin) {
585
+ const b = bc.last_bin;
586
+ if (b.start_percentile) {
587
+ if (!Number.isInteger(b.start_percentile)) throw "last_bin.start_percentile should be integer";
588
+ if (b.start_percentile <= 0 || b.start_percentile >= 100) throw "last_bin.start_percentile out of bound (0-100)";
589
+ } else if (!Number.isFinite(b.start)) {
590
+ throw "last_bin.start not a number when start_percentile is not set";
591
+ }
592
+ b.stopunbounded = true;
593
+ if ("stop" in b) {
594
+ throw "a regular last bin must not set a bin.stop value";
595
+ }
596
+ }
597
+ } else {
598
+ throw `invalid binconfig.type="${bc.type}"`;
599
+ }
600
+ }
601
+ var maxNumBins = 100;
602
+ function compute_bins(binconfig, summaryfxn, valueConversion) {
603
+ const bc = binconfig;
604
+ validate_bins(bc);
605
+ if (bc.lst) {
606
+ if (!Array.isArray(bc.lst)) throw `bc.lst is not an array`;
607
+ if (bc.lst.length > maxNumBins) throw `bc.lst exceed the maximum of ${maxNumBins} allowed entries`;
608
+ assignBinColors(bc.lst);
609
+ }
610
+ if (bc.type == "custom-bin") return JSON.parse(JSON.stringify(bc.lst));
611
+ if (typeof summaryfxn != "function") throw "summaryfxn required for modules/termdb.bins.js compute_bins()";
612
+ const percentiles = target_percentiles(bc);
613
+ const summary = summaryfxn(percentiles);
614
+ if (!summary || typeof summary !== "object") throw "invalid returned value by summaryfxn";
615
+ bc.results = { summary };
616
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
617
+ const minFloor = Math.floor(summary.min * 100) / 100;
618
+ const maxCeil = Math.ceil(summary.max * 100) / 100;
619
+ const min = bc.first_bin.startunbounded ? minFloor : bc.first_bin.start_percentile ? summary["p" + bc.first_bin.start_percentile] : bc.first_bin.start;
620
+ let max = maxCeil, last_start, last_stop;
621
+ if (bc.last_bin) {
622
+ max = bc.last_bin.stopunbounded ? maxCeil : bc.last_bin.stop_percentile ? summary["p" + bc.last_bin.stop_percentile] : isNumeric(bc.last_bin.stop) && bc.last_bin.stop <= summary.max ? bc.last_bin.stop : maxCeil;
623
+ last_start = isStrictNumeric(bc.last_bin.start_percentile) ? summary["p" + bc.last_bin.start_percentile] : isStrictNumeric(bc.last_bin.start) ? bc.last_bin.start : void 0;
624
+ last_stop = bc.last_bin.stopunbounded ? null : bc.last_bin.stop_percentile ? summary["p" + bc.last_bin.stop_percentile] : isStrictNumeric(bc.last_bin.stop) ? bc.last_bin.stop : null;
625
+ } else if (bc.lst) {
626
+ const last_bin = bc.lst[bc.lst.length - 1];
627
+ last_start = last_bin.start;
628
+ last_stop = "stop" in last_bin && !last_bin.stopunbounded ? last_bin.stop : maxCeil;
629
+ max = last_stop;
630
+ } else {
631
+ last_start = maxCeil;
632
+ last_stop = maxCeil;
633
+ }
634
+ const numericMax = isStrictNumeric(max);
635
+ const numericLastStart = isStrictNumeric(last_start);
636
+ const numericLastStop = isStrictNumeric(last_stop);
637
+ if (!numericMax && !numericLastStart) return [];
638
+ const bins = [];
639
+ let currBin = {
640
+ startunbounded: bc.first_bin.startunbounded,
641
+ start: bc.first_bin.startunbounded ? void 0 : min,
642
+ stop: isStrictNumeric(bc.first_bin.stop_percentile) ? +summary["p" + bc.first_bin.stop_percentile] : isStrictNumeric(bc.first_bin.stop) ? +bc.first_bin.stop : min + bc.bin_size,
643
+ startinclusive: bc.startinclusive,
644
+ stopinclusive: bc.stopinclusive
645
+ };
646
+ if (!isStrictNumeric(currBin.stop)) throw "the computed first_bin.stop is non-numeric" + currBin.stop;
647
+ while (numericMax && currBin.stop <= max || currBin.startunbounded && !bins.length || currBin.stopunbounded) {
648
+ bins.push(currBin);
649
+ if (currBin.stop >= max) {
650
+ currBin.stopunbounded = true;
651
+ if (bins.length > 1) {
652
+ delete currBin.stop;
653
+ }
654
+ }
655
+ currBin.label = get_bin_label(currBin, bc, valueConversion);
656
+ if (currBin.stopunbounded) break;
657
+ const upper = currBin.stop + bc.bin_size;
658
+ const previousStop = currBin.stop;
659
+ currBin = {
660
+ startinclusive: bc.startinclusive,
661
+ stopinclusive: bc.stopinclusive,
662
+ start: previousStop,
663
+ stop: numericLastStop && (previousStop == last_start || upper > last_stop) ? last_stop : numericLastStart && upper > last_start && previousStop != last_start ? last_start : upper
664
+ };
665
+ if (currBin.stop >= max) {
666
+ currBin.stop = max;
667
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
668
+ if (bc.last_bin && bc.last_bin.stopinclusive) currBin.stopinclusive = 1;
669
+ }
670
+ if (numericLastStart && currBin.start == last_start) {
671
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
672
+ }
673
+ if (currBin.start > currBin.stop) {
674
+ if (numericLastStart && currBin.stop == last_start && bc.last_bin && bc.last_bin.stopunbounded)
675
+ currBin.stopunbounded = true;
676
+ else break;
677
+ }
678
+ if (bins.length + 1 >= maxNumBins) {
679
+ delete currBin.stop;
680
+ currBin.stopunbounded = true;
681
+ currBin.label = get_bin_label(currBin, bc, valueConversion);
682
+ if (!bins.includes(currBin)) bins.push(currBin);
683
+ const hint = "Please increase the bin_size or first bin stop, or have a lower last bin start.";
684
+ throw new Error(hint + " (max_num_bins_reached)");
685
+ }
686
+ }
687
+ delete bc.binLabelFormatter;
688
+ if (bins.length > 1) {
689
+ delete bins[bins.length - 1].stop;
690
+ }
691
+ assignBinColors(bins);
692
+ return bins;
693
+ }
694
+ function assignBinColors(lst) {
695
+ const k2c = getColors(lst.length);
696
+ for (const [i, bin] of lst.entries()) bin.color = k2c(String(i));
697
+ return lst;
698
+ }
699
+ function getNumDecimalsFormatter(bc) {
700
+ return "rounding" in bc ? format(bc.rounding) : (d) => d;
701
+ }
702
+ function get_bin_label(bin, binconfig, valueConversion) {
703
+ if (!bin) return "missing bin.label";
704
+ if (bin.label) return bin.label;
705
+ const bc = binconfig;
706
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
707
+ if (!bin.startunbounded && !bin.stopunbounded && !("startinclusive" in bin) && !("stopinclusive" in bin)) {
708
+ if (bc.startinclusive) bin.startinclusive = true;
709
+ else if (bc.stopinclusive) bin.stopinclusive = true;
710
+ }
711
+ const start = bc.use_as == "bins" || bin.start;
712
+ const stop = bc.use_as == "bins" || bin.stop;
713
+ let label_offset = 0;
714
+ if ("label_offset" in bc) {
715
+ bc.label_offset_ignored = "bin_size" in bc && bc.bin_size < bc.label_offset;
716
+ if (!bc.label_offset_ignored) label_offset = bc.label_offset;
717
+ } else if (bc.bin_size === 1 && bc.termtype == "integer") {
718
+ label_offset = 1;
719
+ }
720
+ if (bin.startunbounded) {
721
+ const oper = bin.stopinclusive ? "\u2264" : "<";
722
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(stop);
723
+ return oper + v1;
724
+ }
725
+ if (bin.stopunbounded || start === stop) {
726
+ const oper = bin.startinclusive ? "\u2265" : ">";
727
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
728
+ return oper + v0;
729
+ }
730
+ if (label_offset && bin.startinclusive && !bin.stopinclusive) {
731
+ if (Number.isInteger(bc.bin_size) && Math.abs(start - stop) === label_offset) {
732
+ return "" + (valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start));
733
+ } else {
734
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
735
+ const v1 = valueConversion ? convertUnits(
736
+ stop - label_offset,
737
+ valueConversion.fromUnit,
738
+ valueConversion.toUnit,
739
+ valueConversion.scaleFactor,
740
+ true
741
+ ) : bc.binLabelFormatter(stop - label_offset);
742
+ return +v0 >= +v1 ? v0.toString() : v0 + " to " + v1;
743
+ }
744
+ } else {
745
+ const oper0 = bin.startinclusive ? "" : ">";
746
+ const oper1 = bin.stopinclusive ? "" : "<";
747
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(start) ? start : bc.binLabelFormatter(start);
748
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(stop) ? stop : bc.binLabelFormatter(stop);
749
+ if (+v0 >= +v1) {
750
+ const oper = bin.startinclusive ? "\u2265" : ">";
751
+ return oper + v0;
752
+ } else {
753
+ return oper0 + v0 + " to " + oper1 + v1;
754
+ }
755
+ }
756
+ }
757
+ function get_bin_range_equation(bin, binconfig, valueConversion) {
758
+ const x = '<span style="font-family:Times;font-style:italic;">x</span>';
759
+ let range_eq;
760
+ const copy = structuredClone(bin);
761
+ copy.label = "";
762
+ const bin_label = get_bin_label(copy, binconfig, valueConversion);
763
+ if (bin.startunbounded || bin.stopunbounded) {
764
+ range_eq = x + " " + bin_label;
765
+ } else if (bin.startinclusive) {
766
+ range_eq = bin_label.replace("to <", "\u2264 " + x + " <");
767
+ } else if (bin.stopinclusive) {
768
+ range_eq = bin_label.replace(">", "").replace("to", "< " + x + " \u2264");
769
+ }
770
+ return range_eq;
771
+ }
772
+ function target_percentiles(binconfig) {
773
+ const percentiles = [];
774
+ const f = binconfig.first_bin;
775
+ if (f && isStrictNumeric(f.start_percentile)) percentiles.push(f.start_percentile);
776
+ if (f && isStrictNumeric(f.stop_percentile)) percentiles.push(f.stop_percentile);
777
+ const l = binconfig.last_bin;
778
+ if (l && isStrictNumeric(l.start_percentile)) percentiles.push(l.start_percentile);
779
+ if (l && isStrictNumeric(l.stop_percentile)) percentiles.push(l.stop_percentile);
780
+ return percentiles;
781
+ }
782
+
783
+ // ../shared/utils/dist/src/termdb.initbinconfig.js
784
+ function initBinConfig(data, opts = {}) {
785
+ if (!data.length)
786
+ return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
787
+ if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
788
+ let binConfig;
789
+ const s = new Set(data);
790
+ if (s.size === 1) {
791
+ const value = [...s][0];
792
+ binConfig = {
793
+ type: "custom-bin",
794
+ lst: [
795
+ { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
796
+ { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
797
+ { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
798
+ ]
799
+ };
800
+ } else {
801
+ data.sort((a, b) => a - b);
802
+ const l = data.length;
803
+ const min = data[0];
804
+ const max = data[l - 1];
805
+ const p5idx = Math.ceil(l * 0.05) - 1;
806
+ const p98idx = Math.ceil(l * 0.98) - 1;
807
+ const p5 = data[p5idx];
808
+ const p98 = data[p98idx];
809
+ const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
810
+ const firstBinStop = Math.max(min + binSize, p5);
811
+ const [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
812
+ binConfig = {
813
+ type: "regular-bin",
814
+ startinclusive: true,
815
+ bin_size: binSize_rnd,
816
+ first_bin: { stop: firstBinStop_rnd }
817
+ };
818
+ if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
819
+ if (rounding) binConfig.rounding = rounding;
820
+ }
821
+ if ("format" in opts) {
822
+ if (opts.format === "string") {
823
+ return JSON.stringify(binConfig);
824
+ } else {
825
+ throw "options are not in the correct format";
826
+ }
827
+ } else {
828
+ return binConfig;
829
+ }
830
+ }
831
+ function roundBinVals(binSize, firstBinStop, max, min) {
832
+ let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
833
+ const log = Math.floor(Math.log10(binSize));
834
+ if (binSize >= 0.1 && binSize <= 2) {
835
+ binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
836
+ firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
837
+ } else {
838
+ binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
839
+ firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
840
+ if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
841
+ if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
842
+ if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
843
+ }
844
+ if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
845
+ const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
846
+ if (max > eighthBinStop_rnd) {
847
+ lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
848
+ }
849
+ if (binSize < 1) {
850
+ const digits = Math.abs(log);
851
+ binSize_rnd = Number(binSize_rnd.toFixed(digits));
852
+ firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
853
+ if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
854
+ rounding = "." + digits + "f";
855
+ }
856
+ if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
857
+ return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
858
+ }
859
+
860
+ // ../shared/utils/dist/src/termdb.usecase.js
861
+ var graphableTypes = /* @__PURE__ */ new Set([
862
+ "categorical",
863
+ "integer",
864
+ "float",
865
+ "condition",
866
+ "survival",
867
+ "snplst",
868
+ "snplocus",
869
+ "geneVariant",
870
+ "samplelst",
871
+ "geneExpression",
872
+ ISOFORM_EXPRESSION,
873
+ "dtcnv",
874
+ "dtsnvindel",
875
+ "dtfusion",
876
+ "dtsv",
877
+ "date",
878
+ TermTypes.SSGSEA,
879
+ TermTypes.DNA_METHYLATION,
880
+ TermTypes.METABOLITE_INTENSITY,
881
+ TermTypes.PROTEOME_ABUNDANCE,
882
+ TermTypes.PSEUDOBULK,
883
+ TermTypes.JUNCTION,
884
+ SINGLECELL_GENE_EXPRESSION,
885
+ SINGLECELL_CELLTYPE,
886
+ TermTypes.SNP,
887
+ TermTypes.TERM_COLLECTION,
888
+ TermTypes.COHORT,
889
+ TermTypes.MULTIVALUE
890
+ ]);
891
+ function isUsableTerm(term, _usecase, termdbConfig, ds) {
892
+ const usecase = _usecase || {};
893
+ if (typeof ds?.usecase?.[usecase.target] == "function") {
894
+ return ds.usecase[usecase.target](term, usecase);
895
+ }
896
+ const uses = /* @__PURE__ */ new Set();
897
+ const child_types = term.child_types || [];
898
+ switch (usecase.target) {
899
+ case "barchart":
900
+ case "violin":
901
+ case "boxplot":
902
+ case "summary": {
903
+ const excluded = usecase.detail == "term2" ? ["survival", "multivalue"] : ["survival"];
904
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
905
+ if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
906
+ return uses;
907
+ }
908
+ case "summaryInput":
909
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
910
+ const excluded = usecase.detail === "term2" ? ["survival", "multivalue"] : ["survival"];
911
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
912
+ if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
913
+ return uses;
914
+ } else {
915
+ if (graphableTypes.has(term.type)) uses.add("plot");
916
+ if (!term.isleaf) uses.add("branch");
917
+ return uses;
918
+ }
919
+ case "matrix":
920
+ if (term.type) uses.add("plot");
921
+ if (!term.isleaf) uses.add("branch");
922
+ return uses;
923
+ case "table":
924
+ if (usecase.detail == "term") uses.add("plot");
925
+ if (child_types.length > 1) uses.add("branch");
926
+ return uses;
927
+ case "sampleScatter":
928
+ if (usecase.detail == "numeric") {
929
+ if (isNumericTerm(term)) {
930
+ uses.add("plot");
931
+ }
932
+ if (hasNumericChild(child_types)) uses.add("branch");
933
+ } else {
934
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
935
+ if (!term.isleaf) uses.add("branch");
936
+ }
937
+ return uses;
938
+ case "runChart2":
939
+ if (usecase.detail == "date" || usecase.detail == "xtw") {
940
+ if (term.type == "date") {
941
+ uses.add("plot");
942
+ }
943
+ if (child_types.includes("date")) uses.add("branch");
944
+ } else if (usecase.detail == "numeric") {
945
+ if (isNumericTerm(term) && term.type != "date") {
946
+ uses.add("plot");
947
+ }
948
+ if (hasNumericChild(child_types)) uses.add("branch");
949
+ } else {
950
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
951
+ if (!term.isleaf) uses.add("branch");
952
+ }
953
+ return uses;
954
+ case "numericDictTermCluster":
955
+ if (!usecase.detail?.exclude?.includes(term.id)) {
956
+ if (isNumericTerm(term)) {
957
+ uses.add("plot");
958
+ }
959
+ if (hasNumericChild(child_types)) {
960
+ uses.add("branch");
961
+ }
962
+ }
963
+ return uses;
964
+ case "termCollections":
965
+ if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
966
+ if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
967
+ return uses;
968
+ case "profileForms":
969
+ if (!term.isleaf) {
970
+ const ancestors = term.id.split("__").length;
971
+ if (ancestors == 3) {
972
+ uses.add("plot");
973
+ } else if (ancestors < 3) uses.add("branch");
974
+ }
975
+ return uses;
976
+ // case 'boxplot':
977
+ // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
978
+ // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
979
+ // return uses
980
+ case "cuminc":
981
+ if (usecase.detail == "term") {
982
+ if (term.type == "condition") uses.add("plot");
983
+ if (child_types.includes("condition")) uses.add("branch");
984
+ return uses;
985
+ }
986
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
987
+ if (term.type && term.type != "condition" && term.type != "survival" && term.type != "multivalue")
988
+ uses.add("plot");
989
+ if (hasAllowedChildTypes(child_types, ["condition", "survival", "multivalue"])) uses.add("branch");
990
+ return uses;
991
+ }
992
+ return uses;
993
+ case "survival":
994
+ if (usecase.detail == "term") {
995
+ if (term.type == "survival") uses.add("plot");
996
+ if (child_types.includes("survival")) uses.add("branch");
997
+ return uses;
998
+ }
999
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1000
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1001
+ if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1002
+ return uses;
1003
+ }
1004
+ return uses;
1005
+ case "regression":
1006
+ if (usecase.detail == "outcome") {
1007
+ if (usecase.regressionType == "linear") {
1008
+ if (term.type == "float" || term.type == "integer") uses.add("plot");
1009
+ if (hasNumericChild(child_types)) uses.add("branch");
1010
+ return uses;
1011
+ }
1012
+ if (usecase.regressionType == "logistic") {
1013
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1014
+ if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1015
+ return uses;
1016
+ } else if (usecase.regressionType == "cox") {
1017
+ if (term.type == "condition" || term.type == "survival") uses.add("plot");
1018
+ if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1019
+ return uses;
1020
+ }
1021
+ }
1022
+ if (usecase.detail == "independent") {
1023
+ if (term.type == TermTypes.TERM_COLLECTION) {
1024
+ if (term.memberType == "numeric") uses.add("plot");
1025
+ return uses;
1026
+ }
1027
+ if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1028
+ uses.add("plot");
1029
+ if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
1030
+ return uses;
1031
+ }
1032
+ return uses;
1033
+ case "filter": {
1034
+ const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1035
+ if (exlst) {
1036
+ if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1037
+ if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1038
+ return uses;
1039
+ }
1040
+ if (graphableTypes.has(term.type)) uses.add("plot");
1041
+ if (!term.isleaf) uses.add("branch");
1042
+ return uses;
1043
+ }
1044
+ case "correlationVolcano":
1045
+ if (usecase.detail == "numeric") {
1046
+ if (isNumericTerm(term)) {
1047
+ uses.add("plot");
1048
+ }
1049
+ if (hasNumericChild(child_types)) uses.add("branch");
1050
+ } else {
1051
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1052
+ if (!term.isleaf) uses.add("branch");
1053
+ }
1054
+ return uses;
1055
+ case "proteinView":
1056
+ if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
1057
+ if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
1058
+ return uses;
1059
+ case "brainImaging": {
1060
+ const allowMultivalue = usecase.detail == "term0";
1061
+ if (graphableTypes.has(term.type) && (allowMultivalue || term.type != "multivalue")) uses.add("plot");
1062
+ if (!term.isleaf) uses.add("branch");
1063
+ return uses;
1064
+ }
1065
+ case "dictionary":
1066
+ if (graphableTypes.has(term.type)) uses.add("plot");
1067
+ if (!term.isleaf) uses.add("branch");
1068
+ return uses;
1069
+ default:
1070
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1071
+ if (!term.isleaf) uses.add("branch");
1072
+ return uses;
1073
+ }
1074
+ }
1075
+ function hasAllowedChildTypes(child_types, excluded_types) {
1076
+ if (!child_types.length) {
1077
+ return false;
1078
+ }
1079
+ if (!excluded_types?.length) {
1080
+ return true;
1081
+ }
1082
+ if (child_types.some((type) => !excluded_types.includes(type))) {
1083
+ return true;
1084
+ }
1085
+ }
1086
+ function hasNumericChild(child_types) {
1087
+ return child_types.includes("float") || child_types.includes("integer");
1088
+ }
1089
+ function hasChildTypes(child_types, expected_types) {
1090
+ for (const a of expected_types) {
1091
+ if (child_types.includes(a)) return true;
1092
+ }
1093
+ }
1094
+
1095
+ // ../shared/utils/dist/src/time.js
1096
+ function formatElapsedTime(ms, precision = 2) {
1097
+ if (typeof ms !== "number" || isNaN(ms)) {
1098
+ return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1099
+ }
1100
+ if (!isFinite(ms)) {
1101
+ return ms > 0 ? "Infinite time" : "-Infinite time";
1102
+ }
1103
+ const absMs = Math.abs(ms);
1104
+ const sign = ms < 0 ? "-" : "";
1105
+ if (absMs < 1e3) {
1106
+ return `${sign}${absMs}ms`;
1107
+ }
1108
+ if (absMs < 6e4) {
1109
+ return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1110
+ }
1111
+ const minutes = Math.floor(absMs / 6e4);
1112
+ const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1113
+ return `${sign}${minutes}m ${seconds}s`;
1114
+ }
1115
+
1116
+ // ../shared/utils/dist/src/vcf.ann.js
1117
+ function parse_ANN(str, header, m) {
1118
+ if (!header) {
1119
+ return null;
1120
+ }
1121
+ for (const thisannotation of str.split(",")) {
1122
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1123
+ const o = {};
1124
+ for (let i = 0; i < header.length; i++) {
1125
+ if (lst[i]) {
1126
+ o[header[i].name] = lst[i];
1127
+ }
1128
+ }
1129
+ if (!o.Allele) {
1130
+ continue;
1131
+ }
1132
+ let allele = null;
1133
+ for (const a of m.alleles) {
1134
+ if (a.allele == o.Allele) {
1135
+ allele = a;
1136
+ break;
1137
+ }
1138
+ }
1139
+ if (!allele) {
1140
+ continue;
1141
+ }
1142
+ if (!allele.ann) {
1143
+ allele.ann = [];
1144
+ }
1145
+ allele.ann.push(o);
1146
+ o._gene = o.Gene_Name;
1147
+ if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
1148
+ o._isoform = o.Feature_ID.split(".")[0];
1149
+ }
1150
+ if (o.Annotation) {
1151
+ const [dt, cls, rank] = vepinfo(o.Annotation);
1152
+ o._dt = dt;
1153
+ o._class = cls;
1154
+ o._csqrank = rank;
1155
+ } else {
1156
+ o._dt = dtsnvindel;
1157
+ o._class = mclassnonstandard;
1158
+ }
1159
+ if (o["HGVS.p"]) {
1160
+ o._mname = o["HGVS.p"];
1161
+ } else if (o["HGVS.c"]) {
1162
+ o._mname = o["HGVS.c"];
1163
+ }
1164
+ }
1165
+ return true;
1166
+ }
1167
+
1168
+ // ../shared/utils/dist/src/vcf.csq.js
1169
+ function parse_CSQ(str, header, m) {
1170
+ if (!header) {
1171
+ return null;
1172
+ }
1173
+ for (const thisannotation of str.split(",")) {
1174
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1175
+ const o = {};
1176
+ for (let i = 0; i < header.length; i++) {
1177
+ if (lst[i]) {
1178
+ o[header[i].name] = lst[i];
1179
+ }
1180
+ }
1181
+ if (!o.Allele) {
1182
+ continue;
1183
+ }
1184
+ let allele = null;
1185
+ for (const a of m.mlst || m.alleles) {
1186
+ if (a.allele_original == o.Allele) {
1187
+ allele = a;
1188
+ break;
1189
+ }
1190
+ }
1191
+ if (!allele) {
1192
+ if (o.Allele == "-") {
1193
+ if (m.mlst) {
1194
+ if (m.mlst.length == 1) {
1195
+ allele = m.mlst[0];
1196
+ }
1197
+ } else if (m.alleles) {
1198
+ if (m.alleles.length == 1) {
1199
+ allele = m.alleles[0];
1200
+ }
1201
+ }
1202
+ } else {
1203
+ for (const a of m.mlst || m.alleles) {
1204
+ if (a.allele_original.substr(1) == o.Allele) {
1205
+ allele = a;
1206
+ break;
1207
+ }
1208
+ }
1209
+ }
1210
+ if (!allele) {
1211
+ continue;
1212
+ }
1213
+ }
1214
+ if (!allele.csq) {
1215
+ allele.csq = [];
1216
+ }
1217
+ allele.csq.push(o);
1218
+ o._gene = o.SYMBOL || o.Gene;
1219
+ if (o.Feature_type && o.Feature_type == "Transcript") {
1220
+ o._isoform = o.Feature.split(".")[0];
1221
+ } else {
1222
+ o._isoform = o._gene;
1223
+ }
1224
+ if (o.Consequence) {
1225
+ const [dt, cls, rank] = vepinfo(o.Consequence);
1226
+ o._dt = dt;
1227
+ o._class = cls;
1228
+ o._csqrank = rank;
1229
+ } else {
1230
+ o._dt = dtsnvindel;
1231
+ o._class = mclassnonstandard;
1232
+ }
1233
+ if (o.HGVSp) {
1234
+ o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
1235
+ } else if (o.Protein_position && o.Amino_acids) {
1236
+ o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
1237
+ } else if (o.HGVSc) {
1238
+ o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
1239
+ } else if (o.Existing_variation) {
1240
+ o._name = o.Existing_variation;
1241
+ }
1242
+ }
1243
+ return true;
1244
+ }
1245
+
1246
+ // ../shared/utils/dist/src/vcf.info.js
1247
+ function dissect_INFO(str) {
1248
+ let findsemicolon = false;
1249
+ let findequalorsemicolon = true;
1250
+ let i = 0;
1251
+ let idx = 0;
1252
+ const k2v = {};
1253
+ let lastkey;
1254
+ while (i < str.length) {
1255
+ const c = str[i];
1256
+ if (findequalorsemicolon) {
1257
+ if (c == "=") {
1258
+ findsemicolon = true;
1259
+ findequalorsemicolon = false;
1260
+ lastkey = str.substring(idx, i);
1261
+ idx = i + 1;
1262
+ } else if (c == ";") {
1263
+ k2v[str.substring(idx, i)] = 1;
1264
+ idx = i + 1;
1265
+ }
1266
+ } else if (findsemicolon && c == ";") {
1267
+ findequalorsemicolon = true;
1268
+ findsemicolon = false;
1269
+ k2v[lastkey] = str.substring(idx, i);
1270
+ lastkey = null;
1271
+ idx = i + 1;
1272
+ }
1273
+ i++;
1274
+ }
1275
+ const remainstr = str.substr(idx, i);
1276
+ if (lastkey) {
1277
+ k2v[lastkey] = remainstr;
1278
+ } else {
1279
+ k2v[remainstr] = 1;
1280
+ }
1281
+ return k2v;
1282
+ }
1283
+
1284
+ // ../shared/utils/dist/src/vcf.type.js
1285
+ function getVariantType(ref, alt) {
1286
+ if (ref.length == 1 && alt.length == 1) {
1287
+ if (alt == ".") {
1288
+ return mclassdeletion;
1289
+ }
1290
+ return mclasssnv;
1291
+ }
1292
+ if (ref.length == alt.length) return mclassmnv;
1293
+ if (ref.length < alt.length) return mclassinsertion;
1294
+ if (ref.length > alt.length) return mclassdeletion;
1295
+ return mclassnonstandard;
1296
+ }
1297
+
1298
+ // ../shared/utils/dist/src/vcf.js
1299
+ var getallelename = new RegExp(/<(.+)>/);
1300
+ var mclasslabel2key = {};
1301
+ for (const k in mclass) {
1302
+ mclasslabel2key[mclass[k].label.toUpperCase()] = k;
1303
+ }
1304
+ function vcfparsemeta(lines) {
1305
+ let sample = [];
1306
+ const errlst = [];
1307
+ const info = {};
1308
+ let hasinfo = false;
1309
+ const format2 = {};
1310
+ let hasformat = false;
1311
+ for (const line of lines) {
1312
+ if (!line.startsWith("#")) {
1313
+ continue;
1314
+ }
1315
+ if (line.startsWith("#C")) {
1316
+ sample = line.split(" ").slice(9);
1317
+ continue;
1318
+ }
1319
+ if (line.startsWith("##INFO")) {
1320
+ const e = tohash(line.substring(8, line.length - 1), info);
1321
+ if (e) {
1322
+ errlst.push("INFO error: " + e);
1323
+ } else {
1324
+ hasinfo = true;
1325
+ }
1326
+ continue;
1327
+ }
1328
+ if (line.startsWith("##FORMAT")) {
1329
+ const e = tohash(line.substring(10, line.length - 1), format2);
1330
+ if (e) {
1331
+ errlst.push("FORMAT error: " + e);
1332
+ } else {
1333
+ hasformat = true;
1334
+ }
1335
+ }
1336
+ }
1337
+ const sampleobjlst = [];
1338
+ for (const samplename of sample) {
1339
+ const a = { name: samplename };
1340
+ sampleobjlst.push(a);
1341
+ }
1342
+ if (info.CSQ) {
1343
+ const lst = info.CSQ.Description.split(" Format: ");
1344
+ if (lst[1]) {
1345
+ const lst2 = lst[1].split("|");
1346
+ if (lst2.length > 1) {
1347
+ info.CSQ.csqheader = [];
1348
+ for (const str of lst2) {
1349
+ const attr = { name: str };
1350
+ info.CSQ.csqheader.push(attr);
1351
+ }
1352
+ } else {
1353
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1354
+ }
1355
+ } else {
1356
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1357
+ }
1358
+ }
1359
+ if (info.ANN) {
1360
+ const lst = info.ANN.Description.split("'");
1361
+ if (lst[1]) {
1362
+ const lst2 = lst[1].split(" | ");
1363
+ if (lst2.length) {
1364
+ info.ANN.annheader = [];
1365
+ for (const s of lst2) {
1366
+ const attr = { name: s };
1367
+ info.ANN.annheader.push(attr);
1368
+ }
1369
+ } else {
1370
+ errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1371
+ }
1372
+ } else {
1373
+ errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1374
+ }
1375
+ }
1376
+ return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
1377
+ }
1378
+ function vcfparseline(line, vcf) {
1379
+ const lst = line.split(" ");
1380
+ if (lst.length < 8) {
1381
+ return ["line has less than 8 fields", null, null];
1382
+ }
1383
+ const rawpos = Number.parseInt(lst[2 - 1]);
1384
+ if (!Number.isInteger(rawpos)) {
1385
+ return ["invalid value for genomic position", null, null];
1386
+ }
1387
+ const refallele = lst[4 - 1];
1388
+ const m = {
1389
+ vcf_ID: lst[3 - 1],
1390
+ chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1391
+ pos: rawpos - 1,
1392
+ ref: refallele,
1393
+ //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1394
+ altstr: lst[5 - 1],
1395
+ alleles: [
1396
+ {
1397
+ /*
1398
+ ref allele only a placeholder, to be removed, this array only contains alt alleles
1399
+ this is a must
1400
+ also allows GT allele index to work
1401
+ */
1402
+ allele: refallele,
1403
+ sampledata: []
1404
+ }
1405
+ ],
1406
+ info: {},
1407
+ // locus info, do not contain allele info
1408
+ name: lst[3 - 1] == "." ? null : lst[3 - 1]
1409
+ };
1410
+ const altinvalid = [];
1411
+ for (const alt of lst[5 - 1].split(",")) {
1412
+ const a = {
1413
+ ref: m.ref,
1414
+ // may be corrected just below!
1415
+ allele: alt,
1416
+ // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1417
+ allele_original: alt,
1418
+ sampledata: [],
1419
+ _m: m,
1420
+ info: {}
1421
+ // allele info, do not contain locus info
1422
+ };
1423
+ m.alleles.push(a);
1424
+ if (alt[0] == "<") {
1425
+ const tmp2 = alt.match(getallelename);
1426
+ if (!tmp2) {
1427
+ altinvalid.push(alt);
1428
+ continue;
1429
+ }
1430
+ a.type = tmp2[1];
1431
+ a.allele = tmp2[1];
1432
+ a.issymbolicallele = true;
1433
+ } else {
1434
+ const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1435
+ a.pos = p;
1436
+ a.ref = ref;
1437
+ a.allele = alt2;
1438
+ }
1439
+ }
1440
+ if (lst[9 - 1] && lst[10 - 1]) {
1441
+ parse_FORMAT2(lst, m, vcf);
1442
+ }
1443
+ m.alleles.shift();
1444
+ const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1445
+ let badinfokeys = [];
1446
+ if (vcf.info) {
1447
+ badinfokeys = parse_INFO(tmp, m, vcf);
1448
+ } else {
1449
+ m.info = tmp;
1450
+ }
1451
+ const mlst = [];
1452
+ for (const a of m.alleles) {
1453
+ const m2 = {};
1454
+ for (const k in m) {
1455
+ if (k != "alleles") {
1456
+ m2[k] = m[k];
1457
+ }
1458
+ }
1459
+ for (const k in a) {
1460
+ if (k == "allele") {
1461
+ m2.alt = a[k];
1462
+ } else if (k == "info") {
1463
+ m2.altinfo = a[k];
1464
+ } else {
1465
+ m2[k] = a[k];
1466
+ }
1467
+ }
1468
+ if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1469
+ m2.type = getVariantType(m2.ref, m2.alt);
1470
+ }
1471
+ mlst.push(m2);
1472
+ }
1473
+ return [
1474
+ badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1475
+ mlst,
1476
+ altinvalid.length > 0 ? altinvalid : null
1477
+ ];
1478
+ }
1479
+ function correctRefAlt(p, ref, alt) {
1480
+ while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1481
+ ref = ref.substr(0, ref.length - 1);
1482
+ alt = alt.substr(0, alt.length - 1);
1483
+ }
1484
+ while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1485
+ ref = ref.substr(1);
1486
+ alt = alt.substr(1);
1487
+ p++;
1488
+ }
1489
+ return [p, ref, alt];
1490
+ }
1491
+ function parse_FORMAT2(lst, m, vcf) {
1492
+ const formatfields = lst[9 - 1].split(":");
1493
+ for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1494
+ const valuelst = lst[_sampleidx].split(":");
1495
+ {
1496
+ let none = true;
1497
+ for (const v of valuelst) {
1498
+ if (v != ".") {
1499
+ none = false;
1500
+ break;
1501
+ }
1502
+ }
1503
+ if (none) {
1504
+ continue;
1505
+ }
1506
+ }
1507
+ const sampleidx = _sampleidx - 9;
1508
+ for (let i = 1; i < m.alleles.length; i++) {
1509
+ const sobj = {};
1510
+ if (vcf.samples && vcf.samples[sampleidx]) {
1511
+ for (const k in vcf.samples[sampleidx]) {
1512
+ sobj[k] = vcf.samples[sampleidx][k];
1513
+ }
1514
+ } else {
1515
+ sobj.name = "missing_samplename_from_vcf_header";
1516
+ }
1517
+ m.alleles[i].sampledata.push({
1518
+ sampleobj: sobj
1519
+ });
1520
+ }
1521
+ for (let fi = 0; fi < formatfields.length; fi++) {
1522
+ const field = formatfields[fi];
1523
+ const value = valuelst[fi];
1524
+ if (value == ".") {
1525
+ continue;
1526
+ }
1527
+ if (field == "GT") {
1528
+ const splitter = value.indexOf("/") != -1 ? "/" : "|";
1529
+ let gtsum = 0;
1530
+ let unknowngt = false;
1531
+ const gtalleles = [];
1532
+ for (const i of value.split(splitter)) {
1533
+ if (i == ".") {
1534
+ unknowngt = true;
1535
+ continue;
1536
+ }
1537
+ const j = Number.parseInt(i);
1538
+ if (Number.isNaN(j)) {
1539
+ unknowngt = true;
1540
+ continue;
1541
+ }
1542
+ gtsum += j;
1543
+ const ale = m.alleles[j];
1544
+ if (ale) {
1545
+ gtalleles.push(ale.allele);
1546
+ }
1547
+ }
1548
+ let gtallref = false;
1549
+ if (!unknowngt) {
1550
+ gtallref = gtsum == 0;
1551
+ }
1552
+ const genotype = gtalleles.join(splitter);
1553
+ for (let i = 1; i < m.alleles.length; i++) {
1554
+ const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1555
+ ms.GT = value;
1556
+ ms.genotype = genotype;
1557
+ if (gtallref) {
1558
+ ms.gtallref = true;
1559
+ }
1560
+ ms.__gtalleles = gtalleles;
1561
+ }
1562
+ continue;
1563
+ }
1564
+ const formatdesc = vcf.format ? vcf.format[field] : null;
1565
+ if (!formatdesc) {
1566
+ for (let i = 1; i < m.alleles.length; i++) {
1567
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1568
+ }
1569
+ continue;
1570
+ }
1571
+ const isinteger = formatdesc.Type == "Integer";
1572
+ const isfloat = formatdesc.Type == "Float";
1573
+ if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1574
+ const fvlst = value.split(",").map((i) => {
1575
+ if (isinteger) return Number.parseInt(i);
1576
+ if (isfloat) return Number.parseFloat(i);
1577
+ return i;
1578
+ });
1579
+ for (let i = 1; i < m.alleles.length; i++) {
1580
+ if (fvlst[i] != void 0) {
1581
+ const m2 = m.alleles[i];
1582
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1583
+ m2s[field] = {};
1584
+ m2s[field][m2.ref] = fvlst[0];
1585
+ m2s[field][m2.allele] = fvlst[i];
1586
+ }
1587
+ }
1588
+ continue;
1589
+ }
1590
+ if (formatdesc.Number && formatdesc.Number == "A") {
1591
+ const fvlst = value.split(",").map((i) => {
1592
+ if (isinteger) return Number.parseInt(i);
1593
+ if (isfloat) return Number.parseFloat(i);
1594
+ return i;
1595
+ });
1596
+ for (let i = 1; i < m.alleles.length; i++) {
1597
+ if (fvlst[i - 1] != void 0) {
1598
+ const m2 = m.alleles[i];
1599
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1600
+ m2s[field] = {};
1601
+ m2s[field][m2.allele] = fvlst[i - 1];
1602
+ }
1603
+ }
1604
+ continue;
1605
+ }
1606
+ for (let i = 1; i < m.alleles.length; i++) {
1607
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1608
+ }
1609
+ }
1610
+ }
1611
+ for (const a of m.alleles) {
1612
+ for (const s of a.sampledata) {
1613
+ if (s.AD) {
1614
+ s.allele2readcount = {};
1615
+ for (const k in s.AD) {
1616
+ s.allele2readcount[k] = s.AD[k];
1617
+ }
1618
+ }
1619
+ }
1620
+ }
1621
+ }
1622
+ function tohash(s, hash2) {
1623
+ const h = {}, err = [];
1624
+ let prev = 0, prevdoublequote = false, k = null;
1625
+ for (let i = 0; i < s.length; i++) {
1626
+ if (s[i] == '"') {
1627
+ i++;
1628
+ const thisstart = i;
1629
+ while (s[i] != '"') {
1630
+ i++;
1631
+ }
1632
+ if (k) {
1633
+ h[k] = s.substring(thisstart, i);
1634
+ k = null;
1635
+ } else {
1636
+ err.push("k undefined before double quotes");
1637
+ }
1638
+ prevdoublequote = true;
1639
+ continue;
1640
+ }
1641
+ if (s[i] == "=") {
1642
+ k = s.substring(prev, i);
1643
+ prev = i + 1;
1644
+ continue;
1645
+ }
1646
+ if (s[i] == ",") {
1647
+ if (prevdoublequote) {
1648
+ prevdoublequote = false;
1649
+ } else {
1650
+ if (k) {
1651
+ h[k] = s.substring(prev, i);
1652
+ k = null;
1653
+ } else {
1654
+ err.push("k undefined");
1655
+ }
1656
+ }
1657
+ prev = i + 1;
1658
+ continue;
1659
+ }
1660
+ }
1661
+ if (k) {
1662
+ h[k] = s.substring(prev);
1663
+ }
1664
+ if (h.ID) {
1665
+ hash2[h.ID] = h;
1666
+ } else {
1667
+ return "no ID";
1668
+ }
1669
+ if (err.length) return err.join("\n");
1670
+ }
1671
+ function parse_INFO(tmp, m, vcf) {
1672
+ const badinfokeys = [];
1673
+ for (const key in tmp) {
1674
+ if (vcf.info[key] == void 0) {
1675
+ badinfokeys.push(key);
1676
+ continue;
1677
+ }
1678
+ const value = tmp[key];
1679
+ if (key == "CSQ") {
1680
+ const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1681
+ if (!okay) {
1682
+ m.info[key] = value;
1683
+ }
1684
+ continue;
1685
+ }
1686
+ if (key == "ANN") {
1687
+ const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1688
+ if (!okay) {
1689
+ m.info[key] = value;
1690
+ }
1691
+ continue;
1692
+ }
1693
+ if (vcf.info[key].Type == "Flag") {
1694
+ m.info[key] = key;
1695
+ continue;
1696
+ }
1697
+ const __number = vcf.info[key].Number;
1698
+ const isinteger = vcf.info[key].Type == "Integer";
1699
+ const isfloat = vcf.info[key].Type == "Float";
1700
+ if (__number == "0") {
1701
+ m.info[key] = key;
1702
+ continue;
1703
+ }
1704
+ if (__number == "A") {
1705
+ const tt = value.split(",");
1706
+ for (let j = 0; j < tt.length; j++) {
1707
+ if (m.alleles[j]) {
1708
+ m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1709
+ }
1710
+ }
1711
+ continue;
1712
+ }
1713
+ if (__number == "R") {
1714
+ }
1715
+ if (__number == "1") {
1716
+ m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1717
+ continue;
1718
+ }
1719
+ if (!value.split) {
1720
+ continue;
1721
+ }
1722
+ const lst = value.split(",");
1723
+ if (isinteger) {
1724
+ m.info[key] = lst.map(Number.parseInt);
1725
+ } else if (isfloat) {
1726
+ m.info[key] = lst.map(Number.parseFloat);
1727
+ } else {
1728
+ m.info[key] = lst;
1729
+ }
1730
+ }
1731
+ return badinfokeys;
1732
+ }
1733
+
1734
+ // common/auth.js
1735
+ var jwtByDsRoute;
1736
+ function setJwtByDsRoute() {
1737
+ if (jwtByDsRoute) return;
1738
+ const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1739
+ jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1740
+ }
1741
+ function setTokenByDsRoute(dslabel, route, jwt) {
1742
+ setJwtByDsRoute();
1743
+ if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1744
+ if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1745
+ else delete jwtByDsRoute[dslabel][route];
1746
+ localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1747
+ }
1748
+ function getSavedToken(dslabel, route) {
1749
+ setJwtByDsRoute();
1750
+ return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1751
+ }
1752
+ function mayAddJwtToRequest(init, body, url) {
1753
+ if (init.headers.authorization) return;
1754
+ let dslabel = body?.dslabel;
1755
+ if (!dslabel) {
1756
+ const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1757
+ if (!param) return;
1758
+ let value = decodeURIComponent(param.split("=")[1]);
1759
+ if (value.startsWith("{") && value.endsWith("}")) {
1760
+ value = JSON.parse(value);
1761
+ dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1762
+ } else {
1763
+ dslabel = value;
1764
+ }
1765
+ }
1766
+ setJwtByDsRoute();
1767
+ if (!dslabel || !jwtByDsRoute[dslabel]) return;
1768
+ const h = url.split("//");
1769
+ const postProtocolStr = h[1] || h[0];
1770
+ const preQuestionMarkStr = postProtocolStr.split("?")[0];
1771
+ const pathSegments = preQuestionMarkStr.split("/");
1772
+ let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1773
+ const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1774
+ if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1775
+ }
1776
+ var dsAuthOk = /* @__PURE__ */ new Set();
1777
+ var dsAuth;
1778
+ var authUi;
1779
+ var authUiHolder;
1780
+ var includeEmbedder = false;
1781
+ async function setDsAuthOk(opts) {
1782
+ dsAuth = opts.dsAuth;
1783
+ authUi = opts.ui || defaultAuthUi;
1784
+ authUiHolder = opts.holder || select_default("body");
1785
+ for (const auth of dsAuth) {
1786
+ if (auth.insession) dsAuthOk.add(auth);
1787
+ }
1788
+ includeEmbedder = opts.dsAuth?.length > 0 || false;
1789
+ }
1790
+ function getRequiredAuth(dslabel, route) {
1791
+ if (!dsAuth || !Array.isArray(dsAuth)) return;
1792
+ for (const a of dsAuth) {
1793
+ if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1794
+ }
1795
+ }
1796
+ async function isInSession(dslabel, route) {
1797
+ if (!dslabel) return false;
1798
+ if (!Array.isArray(dsAuth)) return false;
1799
+ for (const a of dsAuth) {
1800
+ if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1801
+ if (dsAuthOk.has(a)) return true;
1802
+ if (a.checked) return false;
1803
+ const jwt = getSavedToken(dslabel, a.route);
1804
+ if (!jwt) return false;
1805
+ const { dofetch3: dofetch32 } = await import("./dofetch-YRWLEQEH.js");
1806
+ const payload = decodeJwtPayload(jwt);
1807
+ if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
1808
+ const data = await dofetch32("/jwt-status", {
1809
+ method: "POST",
1810
+ credentials: "include",
1811
+ headers: {
1812
+ //authorization: `Bearer ${btoa(jwt)}`
1813
+ [a.headerKey]: jwt
1814
+ },
1815
+ body: {
1816
+ dslabel,
1817
+ route,
1818
+ embedder: location.hostname
1819
+ }
1820
+ });
1821
+ a.checked = true;
1822
+ if (data.ok || data.status == "ok") {
1823
+ dsAuthOk.add(a);
1824
+ a.insession = true;
1825
+ return true;
1826
+ }
1827
+ }
1828
+ return false;
1829
+ }
1830
+ async function mayShowAuthUi(init, path, opts = {}) {
1831
+ const ok = { status: "ok" };
1832
+ if (!dsAuth || path.endsWith("jwt-status")) return ok;
1833
+ const body = JSON.parse(init.body || `{}`);
1834
+ const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
1835
+ const [key, value] = kv.split("=");
1836
+ obj[key] = value;
1837
+ return obj;
1838
+ }, {});
1839
+ const q = Object.assign({}, body, params);
1840
+ const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
1841
+ for (const a of dsAuth) {
1842
+ if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
1843
+ if (dsAuthOk.has(a)) return ok;
1844
+ else if (a.route != "/**") return ok;
1845
+ else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
1846
+ else if (a.type == "jwt") {
1847
+ } else if (a.type == "forbidden") {
1848
+ alert("Forbidden access");
1849
+ } else throw `unsupported dsAuth type='${a.type}'`;
1850
+ }
1851
+ }
1852
+ return ok;
1853
+ }
1854
+ async function defaultAuthUi(dslabel, auth, opts = {}) {
1855
+ 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)");
1856
+ const form = mask.append("div").style("opacity", 1);
1857
+ form.append("div").html(`Restricted dataset '${dslabel}'`);
1858
+ form.append("span").html("Please enter password ");
1859
+ const pwd = form.append("input").attr("type", "password");
1860
+ pwd.node().focus();
1861
+ const btn = form.append("button").html("Submit");
1862
+ return new Promise((resolve, reject) => {
1863
+ function login() {
1864
+ fetch("/dslogin", {
1865
+ method: "POST",
1866
+ headers: {
1867
+ authorization: `Basic ${btoa(pwd.property("value"))}`
1868
+ },
1869
+ body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
1870
+ }).then((res) => res.json()).then((res) => {
1871
+ if (res.error) throw res.error;
1872
+ mask.remove();
1873
+ dsAuthOk.add(auth);
1874
+ if (res.jwt) {
1875
+ setTokenByDsRoute(dslabel, res.route, res.jwt);
1876
+ }
1877
+ if (!opts.setDomRefs) window.location.reload();
1878
+ else resolve(dslabel);
1879
+ }).catch((e) => {
1880
+ alert("login error: " + e);
1881
+ });
1882
+ }
1883
+ btn.on("click", login);
1884
+ pwd.on("change", login);
1885
+ if (opts.setDomRefs)
1886
+ opts.setDomRefs({
1887
+ pwd,
1888
+ btn,
1889
+ mask,
1890
+ authUiHolder
1891
+ });
1892
+ });
1893
+ }
1894
+ function decodeJwtPayload(token) {
1895
+ const base64Url = token.split(".")[1];
1896
+ const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
1897
+ const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
1898
+ const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
1899
+ return JSON.parse(jsonPayload);
1900
+ }
1901
+ function convertAtoBresult(c) {
1902
+ return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
1903
+ }
1904
+
1905
+ // common/dofetch.js
1906
+ function dofetch(path, arg, opts = null) {
1907
+ if (opts && typeof opts == "object") {
1908
+ if (opts.serverData && typeof opts.serverData == "object") {
1909
+ if (!dofetch.serverData) {
1910
+ dofetch.serverData = opts.serverData;
1911
+ } else if (!opts.serverData) {
1912
+ opts.serverData = dofetch.serverData;
1913
+ }
1914
+ }
1915
+ return dofetch2(
1916
+ path,
1917
+ {
1918
+ method: "POST",
1919
+ headers: {
1920
+ "content-type": "application/json"
1921
+ },
1922
+ body: JSON.stringify(arg)
1923
+ },
1924
+ opts
1925
+ );
1926
+ } else {
1927
+ if (path[0] == "/") {
1928
+ path = path.slice(1);
1929
+ }
1930
+ const jwt = sessionStorage.getItem("jwt");
1931
+ if (jwt) {
1932
+ arg.jwt = jwt;
1933
+ }
1934
+ let url = path;
1935
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1936
+ if (host) {
1937
+ if (host.endsWith("/")) {
1938
+ url = host + path;
1939
+ } else {
1940
+ url = host + "/" + path;
1941
+ }
1942
+ }
1943
+ return fetch(
1944
+ new Request(url, {
1945
+ method: "POST",
1946
+ headers: {
1947
+ "content-type": "application/json"
1948
+ },
1949
+ body: JSON.stringify(arg)
1950
+ })
1951
+ ).then((r) => r.json());
1952
+ }
1953
+ }
1954
+ function dofetch2(path, init = {}, opts = {}) {
1955
+ if (path[0] == "/") {
1956
+ path = path.slice(1);
1957
+ }
1958
+ let url = path;
1959
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1960
+ if (host) {
1961
+ if (host.endsWith("/")) {
1962
+ url = host + path;
1963
+ } else {
1964
+ url = host + "/" + path;
1965
+ }
1966
+ }
1967
+ const body = init.body || {};
1968
+ url = mayAdjustRequest(url, init);
1969
+ if (!init.headers) {
1970
+ init.headers = {};
1971
+ }
1972
+ if (!init.headers["content-type"] && init.body) {
1973
+ init.headers["content-type"] = "application/json";
1974
+ }
1975
+ const jwt = sessionStorage.getItem("jwt");
1976
+ if (jwt) {
1977
+ init.headers.authorization = "Bearer " + jwt;
1978
+ }
1979
+ return mayShowAuthUi(init, url).then(async () => {
1980
+ if (!jwt) mayAddJwtToRequest(init, body, url);
1981
+ if (opts.serverData) {
1982
+ return namedFetch(url, init, opts);
1983
+ } else {
1984
+ return fetch(url, init).then(processResponse);
1985
+ }
1986
+ });
1987
+ }
1988
+ var optsServerDataNames = /* @__PURE__ */ new WeakMap();
1989
+ async function namedFetch(url, init, opts = {}) {
1990
+ if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
1991
+ if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
1992
+ let result;
1993
+ const dataName = await getDataName(url, init);
1994
+ if (opts.serverData[dataName]) {
1995
+ if (init.signal) {
1996
+ await sleep(0);
1997
+ if (init.signal.aborted) throw `stale sequenceId`;
1998
+ }
1999
+ result = structuredClone(opts.serverData[dataName]);
2000
+ }
2001
+ if (!result || typeof result != "object" && !(result instanceof Promise)) {
2002
+ delete opts.serverData[dataName];
2003
+ result = void 0;
2004
+ }
2005
+ if (!result) {
2006
+ try {
2007
+ const res = await fetch(url, init);
2008
+ result = await processResponse(res);
2009
+ if (typeof result == "object" && !(result instanceof Promise)) {
2010
+ deepFreeze(result);
2011
+ opts.serverData[dataName] = result;
2012
+ result = structuredClone(result);
2013
+ }
2014
+ } catch (e) {
2015
+ delete opts.serverData[dataName];
2016
+ throw e;
2017
+ }
2018
+ }
2019
+ if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
2020
+ const keys = optsServerDataNames.get(opts.serverData);
2021
+ const i = keys.indexOf(dataName);
2022
+ if (i > 0) {
2023
+ keys.splice(i, 1);
2024
+ }
2025
+ keys.unshift(dataName);
2026
+ const maxKeys = 360;
2027
+ while (keys.length > maxKeys) {
2028
+ const oldestDataKey = keys.pop();
2029
+ delete opts.serverData[oldestDataKey];
2030
+ }
2031
+ return result;
2032
+ }
2033
+ var defaultServerDataCache = {};
2034
+ function dofetch3(path, init = {}, opts = {}) {
2035
+ if (!init.signal && this) {
2036
+ init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
2037
+ }
2038
+ opts.serverData = defaultServerDataCache;
2039
+ return dofetch2(path, init, opts);
2040
+ }
2041
+ function clearServerDataCache(opts = {}) {
2042
+ const cache = opts?.serverData || defaultServerDataCache;
2043
+ if (!cache) return;
2044
+ for (const k of Object.keys(cache)) {
2045
+ delete cache[k];
2046
+ }
2047
+ }
2048
+ var urlMaxLength = 2e3;
2049
+ function mayAdjustRequest(url, init) {
2050
+ const hostname = window.location.hostname;
2051
+ const method = init.method && init.method.toUpperCase() || "GET";
2052
+ if (method == "POST") {
2053
+ if (typeof init.body == "string") init.body = JSON.parse(init.body);
2054
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2055
+ init.body = JSON.stringify(init.body);
2056
+ return url;
2057
+ }
2058
+ if (method != "GET" && method != "DELETE" && method != "PUT") {
2059
+ throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
2060
+ }
2061
+ if (init.body) {
2062
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2063
+ const params = encode(init.body);
2064
+ if (!url.includes("?")) url += "?";
2065
+ url += params;
2066
+ }
2067
+ if (!url.includes("embedder=") && includeEmbedder) {
2068
+ const sep = url.includes("?") ? "&" : "?";
2069
+ url += `${sep}embedder=${hostname}`;
2070
+ }
2071
+ if (url.length < urlMaxLength) {
2072
+ if (init.body) delete init.body;
2073
+ return url;
2074
+ }
2075
+ init.method = "POST";
2076
+ const [hostpath, query] = url.split("?");
2077
+ if (init.body) {
2078
+ init.body = JSON.stringify(init.body);
2079
+ } else {
2080
+ const params = {};
2081
+ if (query)
2082
+ query.split("&").forEach((p) => {
2083
+ const [k, v] = p.split("=");
2084
+ const decodedVal = decodeURIComponent(v);
2085
+ try {
2086
+ params[k] = JSON.parse(decodedVal);
2087
+ } catch {
2088
+ params[k] = decodedVal;
2089
+ }
2090
+ });
2091
+ if (!params.embedder && includeEmbedder) params.embedder = hostname;
2092
+ init.body = JSON.stringify(params);
2093
+ }
2094
+ return hostpath;
2095
+ }
2096
+ function setAuth(opts) {
2097
+ setDsAuthOk(opts, dofetch3);
2098
+ }
2099
+
2100
+ export {
2101
+ boxplot_getvalue,
2102
+ init_bulk_flag,
2103
+ parsesample,
2104
+ clusterMethodLst,
2105
+ distanceMethodLst,
2106
+ computePercentile,
2107
+ processFormData,
2108
+ fileSize,
2109
+ ssmIdFieldsSeparator,
2110
+ summarize_mclass,
2111
+ guessSsmid,
2112
+ xAxisOffSet,
2113
+ yAxisOffSet,
2114
+ getCoordinate,
2115
+ calculatePadding,
2116
+ compute_bins,
2117
+ get_bin_label,
2118
+ get_bin_range_equation,
2119
+ initBinConfig,
2120
+ isUsableTerm,
2121
+ formatElapsedTime,
2122
+ vcfparsemeta,
2123
+ vcfparseline,
2124
+ setTokenByDsRoute,
2125
+ getSavedToken,
2126
+ mayAddJwtToRequest,
2127
+ includeEmbedder,
2128
+ setDsAuthOk,
2129
+ getRequiredAuth,
2130
+ isInSession,
2131
+ mayShowAuthUi,
2132
+ dofetch,
2133
+ dofetch2,
2134
+ namedFetch,
2135
+ dofetch3,
2136
+ clearServerDataCache,
2137
+ setAuth
2138
+ };
2139
+ //# sourceMappingURL=chunk-52QHIKH2.js.map