@sjcrh/proteinpaint-client 2.213.0 → 2.214.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (913) hide show
  1. package/dist/2dmaf-AC7Y7AXT.js +1367 -0
  2. package/dist/AggMatrixInput-FJU2LFFO.js +406 -0
  3. package/dist/AggregateMatrix-RJ2VERUN.js +41 -0
  4. package/dist/AppHeader-NRHKFUAZ.js +830 -0
  5. package/dist/BoxPlot-MIY77WRA.js +1208 -0
  6. package/dist/CorrelationVolcano-TD4WNLVB.js +617 -0
  7. package/dist/Cuminc-JC2RB2JJ.js +1220 -0
  8. package/dist/DE-B7OOKFKF.js +89 -0
  9. package/dist/DEinput-NJYGTYXI.js +501 -0
  10. package/dist/DM-MSAEMNJD.js +90 -0
  11. package/dist/DifferentialAnalysis-K2OYA3GC.js +239 -0
  12. package/dist/Disco-3P2JTHPH.js +3389 -0
  13. package/dist/Disco.UI-TGJKDVPZ.js +243 -0
  14. package/dist/DmrPlot-COQ7G42N.js +362 -0
  15. package/dist/GB-TIAFRKC6.js +1392 -0
  16. package/dist/GSEA-SORUSH2I.js +875 -0
  17. package/dist/GeneExpInput-IJRT3ET6.js +42 -0
  18. package/dist/Geomap-4JSVYPKA.js +84 -0
  19. package/dist/HicApp-SFHELIGY.js +2245 -0
  20. package/dist/IDCViewer-2WDE35RN.js +10812 -0
  21. package/dist/NumBinaryEditor-3AJMTAM7.js +279 -0
  22. package/dist/NumBinaryEditor.unit.spec-YQAXVSJJ.js +312 -0
  23. package/dist/NumContEditor-GNRVX2GF.js +105 -0
  24. package/dist/NumContEditor.unit.spec-3MKW3BNU.js +164 -0
  25. package/dist/NumCustomBinEditor-XGEB7IZ5.js +33 -0
  26. package/dist/NumCustomBinEditor.unit.spec-3LBRRI7C.js +397 -0
  27. package/dist/NumDiscreteEditor-RASHJSS7.js +170 -0
  28. package/dist/NumDiscreteEditor.unit.spec-P5CI5OCT.js +233 -0
  29. package/dist/NumRegularBinEditor-ELSWMUJL.js +33 -0
  30. package/dist/NumRegularBinEditor.unit.spec-T7EUBNSW.js +278 -0
  31. package/dist/NumSplineEditor-RTNZTUQ5.js +210 -0
  32. package/dist/NumSplineEditor.unit.spec-POPB72U2.js +224 -0
  33. package/dist/NumericDensity-ASPLZQTW.js +33 -0
  34. package/dist/NumericDensity.unit.spec-WP7OAVND.js +418 -0
  35. package/dist/NumericHandler-X6MQSXNB.js +34 -0
  36. package/dist/NumericHandler.unit.spec-ET5ZEHDL.js +214 -0
  37. package/dist/ProteomeInput-CE2QSGHY.js +388 -0
  38. package/dist/Regression-TJJGAFZD.js +1416 -0
  39. package/dist/RunChart2-VSLNFIXS.js +749 -0
  40. package/dist/SC-AJWKVCOK.js +1348 -0
  41. package/dist/Violin-PEMCXVES.js +1064 -0
  42. package/dist/Volcano-OXSIAQ2Z.js +2456 -0
  43. package/dist/Wsi-AG2DF27X.js +629 -0
  44. package/dist/adSandbox-2PY3V5QD.js +33 -0
  45. package/dist/animatedBubbleChart-IN5UVZAD.js +547 -0
  46. package/dist/app-3BNMJWHT.js +32 -0
  47. package/dist/app-4J3OJFJN.js +42 -0
  48. package/dist/app.js +14 -14
  49. package/dist/bam-3GIL7RAN.js +876 -0
  50. package/dist/barchart-GEVUNJ3P.js +42 -0
  51. package/dist/barchart2-FN3EICRE.js +309 -0
  52. package/dist/block-KHDTWYNM.js +6250 -0
  53. package/dist/block.init-ZCL56N7C.js +33 -0
  54. package/dist/block.mds.expressionrank-FOELK7HF.js +354 -0
  55. package/dist/block.mds.geneboxplot-XG3HH5SQ.js +823 -0
  56. package/dist/block.mds.junction-IPTVBAVA.js +1539 -0
  57. package/dist/block.mds.svcnv-XPSRDCKO.js +6796 -0
  58. package/dist/block.svg-KCOUBG3K.js +159 -0
  59. package/dist/block.tk.aicheck-PXTLZ4NL.js +278 -0
  60. package/dist/block.tk.ase-FE4O3CXJ.js +360 -0
  61. package/dist/block.tk.bam-LKSL2QK7.js +1901 -0
  62. package/dist/block.tk.bedgraphdot-UDXTZQTP.js +379 -0
  63. package/dist/block.tk.bigwig.ui-JQX4DZY3.js +206 -0
  64. package/dist/block.tk.hicstraw-XGNFNV2D.js +818 -0
  65. package/dist/block.tk.junction-MJ42DFHW.js +2358 -0
  66. package/dist/block.tk.junction.textmatrixui-6UHTYDX2.js +194 -0
  67. package/dist/block.tk.ld-E35Z5Q2S.js +94 -0
  68. package/dist/block.tk.menu-RF4EPDZB.js +1054 -0
  69. package/dist/block.tk.pgv-H4LW2F7J.js +938 -0
  70. package/dist/brainImaging-R3F3PE6Z.js +555 -0
  71. package/dist/brainRegions-YQVQVKL4.js +217 -0
  72. package/dist/bubbleHeatmap-5O64CGYG.js +378 -0
  73. package/dist/cellTypeBubbleHeatmap-WWFWVCZ4.js +278 -0
  74. package/dist/chunk-2P47X7BT.js +80 -0
  75. package/dist/chunk-2PUOEKQW.js +182 -0
  76. package/dist/chunk-2QJ5YW7G.js +446 -0
  77. package/dist/chunk-2RZMDOJJ.js +550 -0
  78. package/dist/chunk-3FLNHVHA.js +54 -0
  79. package/dist/chunk-3KQKNLHI.js +339 -0
  80. package/dist/chunk-3ZGNYCH6.js +98 -0
  81. package/dist/chunk-45GG3VPI.js +274 -0
  82. package/dist/chunk-4HEBUKW2.js +56 -0
  83. package/dist/chunk-4QTTLHAM.js +1278 -0
  84. package/dist/chunk-5ANMO7OR.js +299 -0
  85. package/dist/chunk-5IC2RQNV.js +2784 -0
  86. package/dist/chunk-5JXRLP7K.js +294 -0
  87. package/dist/chunk-5OPIM5UQ.js +263 -0
  88. package/dist/chunk-7B3MFR7R.js +31 -0
  89. package/dist/chunk-7J7FKNHA.js +397 -0
  90. package/dist/chunk-7JP6JKKT.js +2258 -0
  91. package/dist/chunk-AAIRS4VB.js +1988 -0
  92. package/dist/chunk-BHDCIV2C.js +626 -0
  93. package/dist/chunk-C6FM3UFY.js +54 -0
  94. package/dist/chunk-COWQ5L4E.js +243 -0
  95. package/dist/chunk-CSNF6JCR.js +14 -0
  96. package/dist/chunk-D26T74BT.js +382 -0
  97. package/dist/chunk-DEQDVYSX.js +302 -0
  98. package/dist/chunk-DGZWMUOG.js +25002 -0
  99. package/dist/chunk-DGZWMUOG.js.map +7 -0
  100. package/dist/chunk-DP4XE22P.js +129 -0
  101. package/dist/chunk-DQNIHRZK.js +692 -0
  102. package/dist/chunk-EU5WPWP3.js +141 -0
  103. package/dist/chunk-FDYHFVFB.js +276 -0
  104. package/dist/chunk-FGXRTF6T.js +102 -0
  105. package/dist/chunk-FNIAQ672.js +54 -0
  106. package/dist/chunk-FPIJQWWG.js +134 -0
  107. package/dist/chunk-FTVJJYYR.js +379 -0
  108. package/dist/chunk-FZ6SNG7M.js +255 -0
  109. package/dist/chunk-G47IRKK5.js +518 -0
  110. package/dist/chunk-GAHZ2TSD.js +102 -0
  111. package/dist/chunk-GAPWAY3F.js +281 -0
  112. package/dist/chunk-GULFC3DW.js +1339 -0
  113. package/dist/chunk-HMFWT3XB.js +56 -0
  114. package/dist/chunk-HRLCNOZE.js +1812 -0
  115. package/dist/chunk-HZXFKWTP.js +38 -0
  116. package/dist/chunk-JJV7MQZR.js +176 -0
  117. package/dist/chunk-JZKVHXFQ.js +424 -0
  118. package/dist/chunk-K5737QEX.js +6360 -0
  119. package/dist/chunk-K626HR7F.js +272 -0
  120. package/dist/chunk-K7IB2U76.js +178 -0
  121. package/dist/chunk-KA4WZGUX.js +123 -0
  122. package/dist/chunk-KED5HIAW.js +158 -0
  123. package/dist/chunk-LUJHQWIK.js +5217 -0
  124. package/dist/chunk-LYKASWJ5.js +2902 -0
  125. package/dist/chunk-MJDIDCTT.js +119 -0
  126. package/dist/chunk-MMWHJ4BH.js +59 -0
  127. package/dist/chunk-NDJ4LBL3.js +170 -0
  128. package/dist/chunk-NIZVZ333.js +203 -0
  129. package/dist/chunk-OQJPDEKR.js +562 -0
  130. package/dist/chunk-OR6P5PR4.js +339 -0
  131. package/dist/chunk-OSCUO5KD.js +70 -0
  132. package/dist/chunk-QK4SEPZE.js +1233 -0
  133. package/dist/chunk-QZXFF4ID.js +103 -0
  134. package/dist/chunk-RIRH565U.js +217 -0
  135. package/dist/chunk-RIRIGN5F.js +468 -0
  136. package/dist/chunk-S6343VGL.js +217 -0
  137. package/dist/chunk-SREWSTR6.js +1616 -0
  138. package/dist/chunk-SREWSTR6.js.map +7 -0
  139. package/dist/chunk-V4I4NRWW.js +34 -0
  140. package/dist/chunk-VK4Q5SO4.js +2327 -0
  141. package/dist/chunk-VKFVPIA7.js +237 -0
  142. package/dist/chunk-VYFOWZY7.js +26 -0
  143. package/dist/chunk-VZ7MQ7NP.js +49 -0
  144. package/dist/chunk-W4JONZZ4.js +4375 -0
  145. package/dist/chunk-WM7BRZ3H.js +240 -0
  146. package/dist/chunk-XM464NQG.js +55 -0
  147. package/dist/chunk-Y4XYVSAV.js +2676 -0
  148. package/dist/chunk-Y6MMPNON.js +480 -0
  149. package/dist/chunk-Z6HJLJ2W.js +194 -0
  150. package/dist/chunk-ZJAXRB7K.js +37 -0
  151. package/dist/chunk-ZL2M2MPP.js +783 -0
  152. package/dist/cohort-ONANZDY5.js +70 -0
  153. package/dist/condition-NUBF4YSS.js +327 -0
  154. package/dist/controls-URVB3DH2.js +34 -0
  155. package/dist/controls.config-3R2MMWW5.js +34 -0
  156. package/dist/correlation-HA5MNQAE.js +95 -0
  157. package/dist/customdata.inputui-KN3ZI56U.js +284 -0
  158. package/dist/dataDownload-3PRPXLBV.js +329 -0
  159. package/dist/databrowser.ui-URTFAANK.js +425 -0
  160. package/dist/dictionary-OWTFXDAL.js +113 -0
  161. package/dist/dnaMethylation-YWKAU5FO.js +33 -0
  162. package/dist/dnaMethylation.integration.spec-T4PTIFLE.js +198 -0
  163. package/dist/dofetch-BPXQH2BQ.js +48 -0
  164. package/dist/e2pca-VCUSAIWF.js +344 -0
  165. package/dist/ep-SWVNGKAP.js +1249 -0
  166. package/dist/expclust.gdc.spec-WQBILTT5.js +302 -0
  167. package/dist/facet-4VGVDLCU.js +519 -0
  168. package/dist/gb-NQNMLAN2.js +81 -0
  169. package/dist/geneExpClustering-LBEA4MFK.js +244 -0
  170. package/dist/geneExpression-T7VRPFMN.js +33 -0
  171. package/dist/geneExpression-YGQAXIXM.js +310 -0
  172. package/dist/geneExpression.unit.spec-O3GTSFC4.js +128 -0
  173. package/dist/geneORA-A4V7B4TT.js +273 -0
  174. package/dist/geneRanking-G556D44I.js +548 -0
  175. package/dist/geneVariant-CRINPRE5.js +289 -0
  176. package/dist/geneVariant-HGNB2M5Q.js +36 -0
  177. package/dist/geneVariant.integration.spec-FKESYYXK.js +503 -0
  178. package/dist/genefusion.ui-OS5DZLHT.js +303 -0
  179. package/dist/geneset-6IYLHN2T.js +203 -0
  180. package/dist/genomeBrowser.spec-CRW6HZEX.js +276 -0
  181. package/dist/grin2-2ZM5J6IY.js +949 -0
  182. package/dist/grin2-PUMRW6PS.js +70 -0
  183. package/dist/hierCluster-LA5AMP66.js +55 -0
  184. package/dist/hierCluster-OYOHFDEK.js +59 -0
  185. package/dist/hierCluster.config-UKVHTPJ6.js +36 -0
  186. package/dist/hierCluster.integration.spec-6AYYST7M.js +483 -0
  187. package/dist/hierCluster.interactivity-5ZIL2SIF.js +49 -0
  188. package/dist/hierCluster.renderers-IUNCW6A2.js +19 -0
  189. package/dist/imagePlot-C6B6VHSQ.js +156 -0
  190. package/dist/importPlot-WDWIM2RH.js +8 -0
  191. package/dist/isoformExpression-XKWQBR2M.js +35 -0
  192. package/dist/isoformExpression.unit.spec-CQFMZONS.js +237 -0
  193. package/dist/junction-COJEPWLG.js +36 -0
  194. package/dist/junction.customTerm-Y4WVXFK2.js +16 -0
  195. package/dist/junction.unit.spec-L4F7HUOF.js +182 -0
  196. package/dist/launch.adhoc-HNKW2HH5.js +37 -0
  197. package/dist/leftlabel.sample-KWSX7IOS.js +258 -0
  198. package/dist/lollipop-SL7TP25K.js +166 -0
  199. package/dist/maf-32AWSYHI.js +455 -0
  200. package/dist/maftimeline-OHNRK3Y2.js +587 -0
  201. package/dist/matrix-CHYGXHGL.js +54 -0
  202. package/dist/matrix-YUEPHOTN.js +59 -0
  203. package/dist/matrix.cells-4IHL6PQC.js +26 -0
  204. package/dist/matrix.config-DA3SLAQQ.js +37 -0
  205. package/dist/matrix.data-BDSR5NNL.js +23 -0
  206. package/dist/matrix.groups-VGTU2ZYC.js +26 -0
  207. package/dist/matrix.integration.spec-GVPJT2SJ.js +3160 -0
  208. package/dist/matrix.interactivity-4LBV57KT.js +37 -0
  209. package/dist/matrix.layout-5B253XQW.js +39 -0
  210. package/dist/matrix.legend-MMTKJ4T3.js +20 -0
  211. package/dist/matrix.renderers-GPEV6MD5.js +34 -0
  212. package/dist/matrix.serieses-X2L6OZJG.js +19 -0
  213. package/dist/matrix.sort-BP4Y73VY.js +26 -0
  214. package/dist/matrix.sort.unit.spec-YMKKHB3J.js +468 -0
  215. package/dist/matrix.sorterUi-IWVHJMYP.js +16 -0
  216. package/dist/matrix.sorterUi.unit.spec-SEUSXDE7.js +338 -0
  217. package/dist/matrix.unit.spec-G4CLHZ3J.js +150 -0
  218. package/dist/mavb-UIJINXMP.js +727 -0
  219. package/dist/mds.fimo-R325XCLM.js +513 -0
  220. package/dist/mds.samplescatterplot-TEDCX5M5.js +1545 -0
  221. package/dist/mds.survivalplot-6MA34FMF.js +477 -0
  222. package/dist/multivalue-MRRF7WUG.js +83 -0
  223. package/dist/numericDictTermCluster-LRY554HK.js +63 -0
  224. package/dist/oncomatrix-5YESGMC5.js +290 -0
  225. package/dist/oncomatrix.spec-QPSKJVKL.js +443 -0
  226. package/dist/plot.2dvaf-2CYHDA4C.js +372 -0
  227. package/dist/plot.app-PHQ22GA2.js +36 -0
  228. package/dist/plot.barplot-IZJMM7HO.js +97 -0
  229. package/dist/plot.boxplot-OXDWGXVO.js +146 -0
  230. package/dist/plot.brainImaging-TZJINY47.js +51 -0
  231. package/dist/plot.disco-G2E5HCR5.js +99 -0
  232. package/dist/plot.ssgq-CBBSDYNO.js +134 -0
  233. package/dist/plot.vaf2cov-TG4ZWBOY.js +253 -0
  234. package/dist/polar2-KKLKRETZ.js +232 -0
  235. package/dist/profileForms-MA743GS4.js +941 -0
  236. package/dist/profilePlot-K75DW43W.js +49 -0
  237. package/dist/proteinView-FKWQBBX4.js +1357 -0
  238. package/dist/proteomeCohortCompare-VZVP4WOH.js +912 -0
  239. package/dist/pseudbulk.unit.spec-Y3KMRFRQ.js +86 -0
  240. package/dist/pseudobulk-P6FX64U3.js +35 -0
  241. package/dist/qualitative-CRSGQRFR.js +38 -0
  242. package/dist/radar2-7JXNJZ2E.js +327 -0
  243. package/dist/radarFacility2-DJ2V5JNW.js +335 -0
  244. package/dist/rememberedGvQ.unit.spec-PJTXLLVI.js +211 -0
  245. package/dist/render-VUBQKSGZ.js +33 -0
  246. package/dist/report-M34KCQN2.js +217 -0
  247. package/dist/sampleView-NSMHY3Q6.js +43 -0
  248. package/dist/samplelst-NPBKSYH5.js +106 -0
  249. package/dist/samplematrix-HEZ5NZ2X.js +2193 -0
  250. package/dist/sc-MKALGDFA.js +81 -0
  251. package/dist/scatter-2EEH73PX.js +925 -0
  252. package/dist/scatter-R74OPQV3.js +88 -0
  253. package/dist/selectGenomeWithTklst-PPJZPIC2.js +129 -0
  254. package/dist/singleCellCellType-V52WFBYC.js +33 -0
  255. package/dist/singleCellCellType.unit.spec-GYPZQ55V.js +154 -0
  256. package/dist/singleCellGeneExpression-NCGMA47O.js +33 -0
  257. package/dist/singleCellGeneExpression.unit.spec-YXOFQZB4.js +148 -0
  258. package/dist/singleCellNumericValue-IKI726PF.js +33 -0
  259. package/dist/singleCellNumericValue.unit.spec-L6QXS5LW.js +416 -0
  260. package/dist/singleCellPlot-64JKBI5G.js +48 -0
  261. package/dist/singlecell-5YENNNVD.js +81 -0
  262. package/dist/singlecell-XALP7US6.js +1566 -0
  263. package/dist/snp-N7KCIU7N.js +33 -0
  264. package/dist/snp.unit.spec-4S6OJT5C.js +171 -0
  265. package/dist/snplocus-RAN4UCKP.js +203 -0
  266. package/dist/spliceevent.a53ss.diagram-2EDVZHU5.js +146 -0
  267. package/dist/spliceevent.exonskip.diagram-GHNNFV5D.js +278 -0
  268. package/dist/spliceevent.noeventdiagram-KJGYK62N.js +455 -0
  269. package/dist/ssGSEA-HI3XLE5G.js +33 -0
  270. package/dist/ssGSEA.unit.spec-XKYEIVAO.js +83 -0
  271. package/dist/stattable-EYMMFP45.js +117 -0
  272. package/dist/studyCatalog-56TO46A5.js +414 -0
  273. package/dist/summarizeCnvGeneexp-F7MMS55Q.js +158 -0
  274. package/dist/summarizeGeneexpSurvival-ZUE5FNZG.js +105 -0
  275. package/dist/summarizeMutationCnv-GABFG5M7.js +159 -0
  276. package/dist/summarizeMutationDiagnosis-GSQN76UC.js +35 -0
  277. package/dist/summarizeMutationSurvival-DADX2MAN.js +99 -0
  278. package/dist/summary-TBHTSEMG.js +44 -0
  279. package/dist/summary.integration.spec-EWYBQXS3.js +409 -0
  280. package/dist/summaryInput-6C7ZY5Z5.js +242 -0
  281. package/dist/sunburst-WW4LZ5AT.js +278 -0
  282. package/dist/survival-L2IAJZXL.js +1249 -0
  283. package/dist/survival-LAIUKCZC.js +53 -0
  284. package/dist/survival.integration.spec-PTFUUTBJ.js +613 -0
  285. package/dist/svgraph-J5DEKHSP.js +1382 -0
  286. package/dist/svmr-YLS3OPQS.js +3837 -0
  287. package/dist/table-T73D4MMV.js +197 -0
  288. package/dist/termCollection-RR3OVXRS.js +252 -0
  289. package/dist/termCollection-VNEW4PUC.js +33 -0
  290. package/dist/termCollection.unit.spec-3L2CSNIT.js +299 -0
  291. package/dist/termCollectionFractionSelection-PKOCR4YR.js +42 -0
  292. package/dist/termCollectionFractionSelection.unit.spec-U5R2XDAA.js +188 -0
  293. package/dist/tk-CF4KEDKD.js +41 -0
  294. package/dist/tk-PZNFQ4NU.js +1121 -0
  295. package/dist/tp.ui-CC3HZGU4.js +1454 -0
  296. package/dist/tvs.dt-DBW7TIWI.js +34 -0
  297. package/dist/tvs.dtcnv.categorical-6NECYCSJ.js +35 -0
  298. package/dist/tvs.dtcnv.continuous-2S5Q7JXF.js +67 -0
  299. package/dist/tvs.dtfusion-UFAZO2TW.js +35 -0
  300. package/dist/tvs.dtitd-RMXA5UUR.js +35 -0
  301. package/dist/tvs.dtsnvindel-MKZMTANY.js +35 -0
  302. package/dist/tvs.dtsv-ZFWT2UIA.js +35 -0
  303. package/dist/tvs.samplelst-PKMMBZNN.js +98 -0
  304. package/dist/tvs.termCollection-H2BMI2R7.js +122 -0
  305. package/dist/vocabulary-QI76DY2B.js +36 -0
  306. package/dist/wsi.direct-CHL5SXDS.js +8343 -0
  307. package/package.json +2 -2
  308. package/dist/2dmaf-3FDGCUTK.js +0 -1367
  309. package/dist/AggMatrixInput-QA2FHMSY.js +0 -406
  310. package/dist/AggregateMatrix-XGVKDN2K.js +0 -41
  311. package/dist/AppHeader-NVLHCOVU.js +0 -830
  312. package/dist/BoxPlot-IVO7VBQZ.js +0 -1208
  313. package/dist/CorrelationVolcano-2XD5OH2S.js +0 -617
  314. package/dist/Cuminc-ECQ56PKO.js +0 -1220
  315. package/dist/DE-KWA2K24U.js +0 -89
  316. package/dist/DEinput-ZP6CYIRN.js +0 -501
  317. package/dist/DM-ME7CCC4E.js +0 -90
  318. package/dist/DifferentialAnalysis-6SIKR566.js +0 -239
  319. package/dist/Disco-LVRT7T3B.js +0 -3389
  320. package/dist/Disco.UI-GT64ZEK4.js +0 -243
  321. package/dist/DmrPlot-ZZYKJ4UH.js +0 -362
  322. package/dist/GB-WR6SENAZ.js +0 -1392
  323. package/dist/GSEA-U2GFOHWT.js +0 -875
  324. package/dist/GeneExpInput-CQSORTKI.js +0 -42
  325. package/dist/Geomap-CGJ7EIMD.js +0 -84
  326. package/dist/HicApp-DS3HC2G5.js +0 -2245
  327. package/dist/IDCViewer-6KWSZWZ7.js +0 -10812
  328. package/dist/NumBinaryEditor-BQVR2RDS.js +0 -279
  329. package/dist/NumBinaryEditor.unit.spec-FAOFWPDH.js +0 -312
  330. package/dist/NumContEditor-6T6XFLAM.js +0 -105
  331. package/dist/NumContEditor.unit.spec-GTBA5F4D.js +0 -164
  332. package/dist/NumCustomBinEditor-Q2GJOFOH.js +0 -33
  333. package/dist/NumCustomBinEditor.unit.spec-TSJE3OVN.js +0 -397
  334. package/dist/NumDiscreteEditor-QFKPIRDW.js +0 -170
  335. package/dist/NumDiscreteEditor.unit.spec-VKDRO52H.js +0 -233
  336. package/dist/NumRegularBinEditor-SLFPSTA3.js +0 -33
  337. package/dist/NumRegularBinEditor.unit.spec-WROEDSWQ.js +0 -278
  338. package/dist/NumSplineEditor-AEXNF6E4.js +0 -210
  339. package/dist/NumSplineEditor.unit.spec-UOESCG7A.js +0 -224
  340. package/dist/NumericDensity-KPJ6C7N3.js +0 -33
  341. package/dist/NumericDensity.unit.spec-HM5IAPQT.js +0 -418
  342. package/dist/NumericHandler-S3HPYHOJ.js +0 -34
  343. package/dist/NumericHandler.unit.spec-B4CY2GR6.js +0 -214
  344. package/dist/ProteomeInput-AC5TRXHE.js +0 -388
  345. package/dist/Regression-MHGQ2ECB.js +0 -1416
  346. package/dist/RunChart2-6VSXLBNE.js +0 -749
  347. package/dist/SC-KPIQR5JQ.js +0 -1348
  348. package/dist/Violin-6BRIIZAY.js +0 -1064
  349. package/dist/Volcano-TNNAVPVQ.js +0 -2456
  350. package/dist/Wsi-JRAK47YP.js +0 -629
  351. package/dist/adSandbox-HZROPAPC.js +0 -33
  352. package/dist/animatedBubbleChart-C57NY3PX.js +0 -547
  353. package/dist/app-HU4F4WBL.js +0 -32
  354. package/dist/app-OS2T3Q6X.js +0 -42
  355. package/dist/bam-XBYHZH7B.js +0 -876
  356. package/dist/barchart-7MOHGOPW.js +0 -42
  357. package/dist/barchart2-NOWNROMN.js +0 -309
  358. package/dist/block-PRB7FXIC.js +0 -6250
  359. package/dist/block.init-EQJ42A2H.js +0 -33
  360. package/dist/block.mds.expressionrank-W6GIHAAL.js +0 -354
  361. package/dist/block.mds.geneboxplot-GBP5N7AU.js +0 -823
  362. package/dist/block.mds.junction-TUIXESU2.js +0 -1539
  363. package/dist/block.mds.svcnv-YOUIXG4A.js +0 -6796
  364. package/dist/block.svg-XAQJBCOC.js +0 -159
  365. package/dist/block.tk.aicheck-MRR74ULN.js +0 -278
  366. package/dist/block.tk.ase-ZB5W537R.js +0 -360
  367. package/dist/block.tk.bam-66562WN7.js +0 -1901
  368. package/dist/block.tk.bedgraphdot-CGBLLLI7.js +0 -379
  369. package/dist/block.tk.bigwig.ui-FXE6KXRG.js +0 -206
  370. package/dist/block.tk.hicstraw-RZXW5CWM.js +0 -818
  371. package/dist/block.tk.junction-FSGFU7B3.js +0 -2358
  372. package/dist/block.tk.junction.textmatrixui-VR4ZIEUP.js +0 -194
  373. package/dist/block.tk.ld-QE54JIGV.js +0 -94
  374. package/dist/block.tk.menu-GFGPEMXQ.js +0 -1054
  375. package/dist/block.tk.pgv-IPX2D3GA.js +0 -938
  376. package/dist/brainImaging-J4HK4JON.js +0 -555
  377. package/dist/brainRegions-RH4EXEQ7.js +0 -217
  378. package/dist/bubbleHeatmap-R2CNWOAJ.js +0 -378
  379. package/dist/cellTypeBubbleHeatmap-KJSNP4A3.js +0 -278
  380. package/dist/chunk-2WKGE7BO.js +0 -54
  381. package/dist/chunk-2Z2TFFLP.js +0 -299
  382. package/dist/chunk-3447YXVI.js +0 -129
  383. package/dist/chunk-35DMRAGG.js +0 -302
  384. package/dist/chunk-3BBUXNES.js +0 -480
  385. package/dist/chunk-3KH5JUZV.js +0 -1278
  386. package/dist/chunk-3SBHDIJU.js +0 -468
  387. package/dist/chunk-3YNRU4SC.js +0 -98
  388. package/dist/chunk-4S7TWVOY.js +0 -397
  389. package/dist/chunk-4VZ4HR3U.js +0 -134
  390. package/dist/chunk-57Z4VYLM.js +0 -1616
  391. package/dist/chunk-57Z4VYLM.js.map +0 -7
  392. package/dist/chunk-5RFLLJRG.js +0 -2327
  393. package/dist/chunk-5X2MW4CV.js +0 -102
  394. package/dist/chunk-6TCULFEF.js +0 -2784
  395. package/dist/chunk-753GDKSC.js +0 -562
  396. package/dist/chunk-7AOA5WZY.js +0 -274
  397. package/dist/chunk-7HPICVA4.js +0 -178
  398. package/dist/chunk-7PBHM4JU.js +0 -14
  399. package/dist/chunk-B2FSMLYK.js +0 -4375
  400. package/dist/chunk-B5BLNQ2E.js +0 -70
  401. package/dist/chunk-BR76YIDV.js +0 -240
  402. package/dist/chunk-BS6IUMA6.js +0 -1339
  403. package/dist/chunk-BSWVDH75.js +0 -26
  404. package/dist/chunk-BUX5YSDF.js +0 -56
  405. package/dist/chunk-C2KMMY53.js +0 -339
  406. package/dist/chunk-CD2WD7ZG.js +0 -56
  407. package/dist/chunk-CUHJN6CC.js +0 -217
  408. package/dist/chunk-DCHHIXIP.js +0 -103
  409. package/dist/chunk-DD3DWHUY.js +0 -119
  410. package/dist/chunk-FDBT4PQ6.js +0 -182
  411. package/dist/chunk-FMFEQPMB.js +0 -783
  412. package/dist/chunk-FVADQZLY.js +0 -2676
  413. package/dist/chunk-G4A3ZDDS.js +0 -446
  414. package/dist/chunk-G6ZIO5T3.js +0 -37
  415. package/dist/chunk-GDJUSLDV.js +0 -1812
  416. package/dist/chunk-GPJLIBNO.js +0 -102
  417. package/dist/chunk-H6GPQPSM.js +0 -203
  418. package/dist/chunk-HFEFFFPL.js +0 -1233
  419. package/dist/chunk-HH5JKOE6.js +0 -339
  420. package/dist/chunk-HUGVRGQO.js +0 -176
  421. package/dist/chunk-HYOCZPKO.js +0 -281
  422. package/dist/chunk-I6P4LZP3.js +0 -194
  423. package/dist/chunk-IP2PLKC3.js +0 -158
  424. package/dist/chunk-JPJ2DKP5.js +0 -2902
  425. package/dist/chunk-JQ3JE2F6.js +0 -141
  426. package/dist/chunk-K2ITA56I.js +0 -80
  427. package/dist/chunk-K5P3JV6N.js +0 -49
  428. package/dist/chunk-KRQC5AOW.js +0 -626
  429. package/dist/chunk-LDDN2BHX.js +0 -6360
  430. package/dist/chunk-LOHACXSB.js +0 -255
  431. package/dist/chunk-MIG3QAYD.js +0 -1988
  432. package/dist/chunk-N5CSNFDP.js +0 -272
  433. package/dist/chunk-NZBCTASL.js +0 -54
  434. package/dist/chunk-O3EJBFK7.js +0 -5217
  435. package/dist/chunk-OB3S6QYD.js +0 -243
  436. package/dist/chunk-OLV3Q6TN.js +0 -55
  437. package/dist/chunk-OSYSJHAA.js +0 -170
  438. package/dist/chunk-PRPQ654B.js +0 -263
  439. package/dist/chunk-QI6X4V43.js +0 -25009
  440. package/dist/chunk-QI6X4V43.js.map +0 -7
  441. package/dist/chunk-QZXUHBUV.js +0 -550
  442. package/dist/chunk-RU2UHH7M.js +0 -424
  443. package/dist/chunk-S2PNRIOW.js +0 -123
  444. package/dist/chunk-SKF6HQ74.js +0 -31
  445. package/dist/chunk-TCHFJHHC.js +0 -237
  446. package/dist/chunk-TR2BNELL.js +0 -518
  447. package/dist/chunk-TZZTJWLD.js +0 -34
  448. package/dist/chunk-UH5BHS42.js +0 -692
  449. package/dist/chunk-VRY727VE.js +0 -276
  450. package/dist/chunk-W7A4QXZ7.js +0 -38
  451. package/dist/chunk-WKCVZIN7.js +0 -59
  452. package/dist/chunk-XIJC7RNK.js +0 -217
  453. package/dist/chunk-XVOHS4CK.js +0 -54
  454. package/dist/chunk-Y3ABEAKV.js +0 -379
  455. package/dist/chunk-YB2A2CWR.js +0 -294
  456. package/dist/chunk-YU7CVG4B.js +0 -2258
  457. package/dist/chunk-ZKZHYCO3.js +0 -382
  458. package/dist/cohort-J3JNIMCT.js +0 -70
  459. package/dist/condition-A6VAD4OS.js +0 -327
  460. package/dist/controls-2R2OQAX2.js +0 -34
  461. package/dist/controls.config-UPE6TAHK.js +0 -34
  462. package/dist/correlation-Q6HYOUOX.js +0 -95
  463. package/dist/customdata.inputui-KQJKSQNI.js +0 -284
  464. package/dist/dataDownload-PYQX2BWN.js +0 -329
  465. package/dist/databrowser.ui-LPFKGVW3.js +0 -425
  466. package/dist/dictionary-GYN7OXWQ.js +0 -113
  467. package/dist/dnaMethylation-TSRHGNNY.js +0 -33
  468. package/dist/dnaMethylation.integration.spec-3YYSFVKK.js +0 -198
  469. package/dist/dofetch-4YRJUWLJ.js +0 -48
  470. package/dist/e2pca-G4AVRHQC.js +0 -344
  471. package/dist/ep-MHT3CLGK.js +0 -1249
  472. package/dist/expclust.gdc.spec-2TWLDD2S.js +0 -302
  473. package/dist/facet-4O65ZSBQ.js +0 -519
  474. package/dist/gb-WLOGQSEU.js +0 -81
  475. package/dist/geneExpClustering-LOLLER5C.js +0 -244
  476. package/dist/geneExpression-NP2N4CRU.js +0 -310
  477. package/dist/geneExpression-RWE7PBBD.js +0 -33
  478. package/dist/geneExpression.unit.spec-MBE6YVKY.js +0 -128
  479. package/dist/geneORA-ZWZCCBL7.js +0 -273
  480. package/dist/geneRanking-UZXH5SLT.js +0 -548
  481. package/dist/geneVariant-MULXYJ7M.js +0 -36
  482. package/dist/geneVariant-ZPINPLRP.js +0 -289
  483. package/dist/geneVariant.integration.spec-6DNKP22T.js +0 -503
  484. package/dist/genefusion.ui-S4BPNRIO.js +0 -303
  485. package/dist/geneset-LZNALH2H.js +0 -203
  486. package/dist/genomeBrowser.spec-JOIKBWVC.js +0 -276
  487. package/dist/grin2-GFZ5REPY.js +0 -949
  488. package/dist/grin2-JPR6LCXT.js +0 -70
  489. package/dist/hierCluster-DCESQECE.js +0 -55
  490. package/dist/hierCluster-M6R4CH22.js +0 -59
  491. package/dist/hierCluster.config-DBQYJXML.js +0 -36
  492. package/dist/hierCluster.integration.spec-DPXTME5W.js +0 -483
  493. package/dist/hierCluster.interactivity-EKKKYVEP.js +0 -49
  494. package/dist/hierCluster.renderers-DUDSHKDT.js +0 -19
  495. package/dist/imagePlot-XXSCMNUV.js +0 -156
  496. package/dist/importPlot-LKMMP7ZV.js +0 -8
  497. package/dist/isoformExpression-A634VVY3.js +0 -35
  498. package/dist/isoformExpression.unit.spec-2J4VQH43.js +0 -237
  499. package/dist/junction-22DCADQW.js +0 -36
  500. package/dist/junction.customTerm-VNQKP5I4.js +0 -16
  501. package/dist/junction.unit.spec-NQDRD66O.js +0 -182
  502. package/dist/launch.adhoc-NAHAYONX.js +0 -37
  503. package/dist/leftlabel.sample-CRMQSNCJ.js +0 -258
  504. package/dist/lollipop-XLPUIZBA.js +0 -166
  505. package/dist/maf-LPXQMGJC.js +0 -455
  506. package/dist/maftimeline-X2YPHLLO.js +0 -587
  507. package/dist/matrix-U7PGR4MD.js +0 -54
  508. package/dist/matrix-UAU7QUP2.js +0 -59
  509. package/dist/matrix.cells-QKWO5EP4.js +0 -26
  510. package/dist/matrix.config-HZ3TORDS.js +0 -37
  511. package/dist/matrix.data-D77IGADO.js +0 -23
  512. package/dist/matrix.groups-XW2G5BJH.js +0 -26
  513. package/dist/matrix.integration.spec-7QLCJO26.js +0 -3160
  514. package/dist/matrix.interactivity-OIKLY2O6.js +0 -37
  515. package/dist/matrix.layout-ICBZ5PCU.js +0 -39
  516. package/dist/matrix.legend-C3MQRAZJ.js +0 -20
  517. package/dist/matrix.renderers-PN56PKD3.js +0 -34
  518. package/dist/matrix.serieses-SNMIQFKB.js +0 -19
  519. package/dist/matrix.sort-WHVUSUJZ.js +0 -26
  520. package/dist/matrix.sort.unit.spec-IQOMDVVS.js +0 -468
  521. package/dist/matrix.sorterUi-UKANNCZM.js +0 -16
  522. package/dist/matrix.sorterUi.unit.spec-JCN62VCG.js +0 -338
  523. package/dist/matrix.unit.spec-JASP2ZH6.js +0 -150
  524. package/dist/mavb-KHRJRSUD.js +0 -727
  525. package/dist/mds.fimo-LOR3DSLQ.js +0 -513
  526. package/dist/mds.samplescatterplot-W3TCPYHS.js +0 -1545
  527. package/dist/mds.survivalplot-EYAA5IO3.js +0 -477
  528. package/dist/multivalue-GGM5DFPD.js +0 -83
  529. package/dist/numericDictTermCluster-MJK6SIWE.js +0 -63
  530. package/dist/oncomatrix-MVLDAB6I.js +0 -290
  531. package/dist/oncomatrix.spec-43PZ4CLH.js +0 -443
  532. package/dist/plot.2dvaf-4H3YMAIV.js +0 -372
  533. package/dist/plot.app-OZGOECPK.js +0 -36
  534. package/dist/plot.barplot-OQKZAU3N.js +0 -97
  535. package/dist/plot.boxplot-4O4VNRMV.js +0 -146
  536. package/dist/plot.brainImaging-6I4HHUMD.js +0 -51
  537. package/dist/plot.disco-BOWNCFJV.js +0 -99
  538. package/dist/plot.ssgq-6STRLDEG.js +0 -134
  539. package/dist/plot.vaf2cov-75EZA7PJ.js +0 -253
  540. package/dist/polar2-QQ2ZYQ3I.js +0 -232
  541. package/dist/profileForms-WU7UNK7Y.js +0 -941
  542. package/dist/profilePlot-KW7UITCT.js +0 -49
  543. package/dist/proteinView-ET75MKLU.js +0 -1357
  544. package/dist/proteomeCohortCompare-SDX5D26O.js +0 -912
  545. package/dist/pseudbulk.unit.spec-T3B2T5FK.js +0 -86
  546. package/dist/pseudobulk-4O6GK2TZ.js +0 -35
  547. package/dist/qualitative-FUJ6JHPZ.js +0 -38
  548. package/dist/radar2-G75NIN2N.js +0 -327
  549. package/dist/radarFacility2-OOAUSL6F.js +0 -335
  550. package/dist/rememberedGvQ.unit.spec-B6RQM5LQ.js +0 -211
  551. package/dist/render-JMAJCJFT.js +0 -33
  552. package/dist/report-UKB7676O.js +0 -217
  553. package/dist/sampleView-JGWU2E5H.js +0 -43
  554. package/dist/samplelst-ZB23PILZ.js +0 -106
  555. package/dist/samplematrix-CQAB5PVO.js +0 -2193
  556. package/dist/sc-JOIUUG4I.js +0 -81
  557. package/dist/scatter-DCX72P3N.js +0 -88
  558. package/dist/scatter-JXBGEKLF.js +0 -925
  559. package/dist/selectGenomeWithTklst-EZTHPCBB.js +0 -129
  560. package/dist/singleCellCellType-BOQTDUZA.js +0 -33
  561. package/dist/singleCellCellType.unit.spec-3HUF7VWW.js +0 -154
  562. package/dist/singleCellGeneExpression-UBTHLFRN.js +0 -33
  563. package/dist/singleCellGeneExpression.unit.spec-YM6EQB3E.js +0 -148
  564. package/dist/singleCellNumericValue-53T6WOHJ.js +0 -33
  565. package/dist/singleCellNumericValue.unit.spec-SYSMD5IW.js +0 -416
  566. package/dist/singleCellPlot-3V47EUB4.js +0 -48
  567. package/dist/singlecell-AFGFONXY.js +0 -81
  568. package/dist/singlecell-VZI3LEUT.js +0 -1566
  569. package/dist/snp-IPIYL7OY.js +0 -33
  570. package/dist/snp.unit.spec-OC5JHCXR.js +0 -171
  571. package/dist/snplocus-DSGUSGUP.js +0 -203
  572. package/dist/spliceevent.a53ss.diagram-RNAJHS4P.js +0 -146
  573. package/dist/spliceevent.exonskip.diagram-YWRATK46.js +0 -278
  574. package/dist/spliceevent.noeventdiagram-6ZJRJ4QZ.js +0 -455
  575. package/dist/ssGSEA-IWCC6JDL.js +0 -33
  576. package/dist/ssGSEA.unit.spec-3TKDENWO.js +0 -83
  577. package/dist/stattable-EXOWMETP.js +0 -117
  578. package/dist/studyCatalog-OAGHQXKY.js +0 -414
  579. package/dist/summarizeCnvGeneexp-K6XO5YEP.js +0 -158
  580. package/dist/summarizeGeneexpSurvival-WTAGCCU4.js +0 -105
  581. package/dist/summarizeMutationCnv-QKIDS3LI.js +0 -159
  582. package/dist/summarizeMutationDiagnosis-ACFWADSQ.js +0 -35
  583. package/dist/summarizeMutationSurvival-XPFPN4N5.js +0 -99
  584. package/dist/summary-VCU2NTIZ.js +0 -44
  585. package/dist/summary.integration.spec-2DE653PH.js +0 -409
  586. package/dist/summaryInput-GO75OPLA.js +0 -242
  587. package/dist/sunburst-BSCFRYSV.js +0 -278
  588. package/dist/survival-BEP7JNML.js +0 -1249
  589. package/dist/survival-XUO2D6CX.js +0 -53
  590. package/dist/survival.integration.spec-EO5KAFDQ.js +0 -613
  591. package/dist/svgraph-YGXOB3QY.js +0 -1382
  592. package/dist/svmr-MATMMI4E.js +0 -3837
  593. package/dist/table-DFSX7XYJ.js +0 -197
  594. package/dist/termCollection-GKPC4K2O.js +0 -252
  595. package/dist/termCollection-ZUJFB7YB.js +0 -33
  596. package/dist/termCollection.unit.spec-YE7IKC6S.js +0 -299
  597. package/dist/termCollectionFractionSelection-DLWXUEEN.js +0 -42
  598. package/dist/termCollectionFractionSelection.unit.spec-N2LNHIWC.js +0 -188
  599. package/dist/tk-PHTWQHVV.js +0 -41
  600. package/dist/tk-RNUMIS5P.js +0 -1121
  601. package/dist/tp.ui-A52OBFJD.js +0 -1454
  602. package/dist/tvs.dt-SQSP3UXH.js +0 -34
  603. package/dist/tvs.dtcnv.categorical-3IWQMUEM.js +0 -35
  604. package/dist/tvs.dtcnv.continuous-ZD5WM32O.js +0 -67
  605. package/dist/tvs.dtfusion-G47Z7NP3.js +0 -35
  606. package/dist/tvs.dtitd-57PSTVRM.js +0 -35
  607. package/dist/tvs.dtsnvindel-CS3ZVFWN.js +0 -35
  608. package/dist/tvs.dtsv-LNWDVFCR.js +0 -35
  609. package/dist/tvs.samplelst-EMZOR4SY.js +0 -98
  610. package/dist/tvs.termCollection-RX5ASV3N.js +0 -122
  611. package/dist/vocabulary-JVAACQPU.js +0 -36
  612. package/dist/wsi.direct-J4SNIUUW.js +0 -8343
  613. /package/dist/{2dmaf-3FDGCUTK.js.map → 2dmaf-AC7Y7AXT.js.map} +0 -0
  614. /package/dist/{AggMatrixInput-QA2FHMSY.js.map → AggMatrixInput-FJU2LFFO.js.map} +0 -0
  615. /package/dist/{AggregateMatrix-XGVKDN2K.js.map → AggregateMatrix-RJ2VERUN.js.map} +0 -0
  616. /package/dist/{AppHeader-NVLHCOVU.js.map → AppHeader-NRHKFUAZ.js.map} +0 -0
  617. /package/dist/{BoxPlot-IVO7VBQZ.js.map → BoxPlot-MIY77WRA.js.map} +0 -0
  618. /package/dist/{CorrelationVolcano-2XD5OH2S.js.map → CorrelationVolcano-TD4WNLVB.js.map} +0 -0
  619. /package/dist/{Cuminc-ECQ56PKO.js.map → Cuminc-JC2RB2JJ.js.map} +0 -0
  620. /package/dist/{DE-KWA2K24U.js.map → DE-B7OOKFKF.js.map} +0 -0
  621. /package/dist/{DEinput-ZP6CYIRN.js.map → DEinput-NJYGTYXI.js.map} +0 -0
  622. /package/dist/{DM-ME7CCC4E.js.map → DM-MSAEMNJD.js.map} +0 -0
  623. /package/dist/{DifferentialAnalysis-6SIKR566.js.map → DifferentialAnalysis-K2OYA3GC.js.map} +0 -0
  624. /package/dist/{Disco-LVRT7T3B.js.map → Disco-3P2JTHPH.js.map} +0 -0
  625. /package/dist/{Disco.UI-GT64ZEK4.js.map → Disco.UI-TGJKDVPZ.js.map} +0 -0
  626. /package/dist/{DmrPlot-ZZYKJ4UH.js.map → DmrPlot-COQ7G42N.js.map} +0 -0
  627. /package/dist/{GB-WR6SENAZ.js.map → GB-TIAFRKC6.js.map} +0 -0
  628. /package/dist/{GSEA-U2GFOHWT.js.map → GSEA-SORUSH2I.js.map} +0 -0
  629. /package/dist/{GeneExpInput-CQSORTKI.js.map → GeneExpInput-IJRT3ET6.js.map} +0 -0
  630. /package/dist/{Geomap-CGJ7EIMD.js.map → Geomap-4JSVYPKA.js.map} +0 -0
  631. /package/dist/{HicApp-DS3HC2G5.js.map → HicApp-SFHELIGY.js.map} +0 -0
  632. /package/dist/{IDCViewer-6KWSZWZ7.js.map → IDCViewer-2WDE35RN.js.map} +0 -0
  633. /package/dist/{NumBinaryEditor-BQVR2RDS.js.map → NumBinaryEditor-3AJMTAM7.js.map} +0 -0
  634. /package/dist/{NumBinaryEditor.unit.spec-FAOFWPDH.js.map → NumBinaryEditor.unit.spec-YQAXVSJJ.js.map} +0 -0
  635. /package/dist/{NumContEditor-6T6XFLAM.js.map → NumContEditor-GNRVX2GF.js.map} +0 -0
  636. /package/dist/{NumContEditor.unit.spec-GTBA5F4D.js.map → NumContEditor.unit.spec-3MKW3BNU.js.map} +0 -0
  637. /package/dist/{NumCustomBinEditor-Q2GJOFOH.js.map → NumCustomBinEditor-XGEB7IZ5.js.map} +0 -0
  638. /package/dist/{NumCustomBinEditor.unit.spec-TSJE3OVN.js.map → NumCustomBinEditor.unit.spec-3LBRRI7C.js.map} +0 -0
  639. /package/dist/{NumDiscreteEditor-QFKPIRDW.js.map → NumDiscreteEditor-RASHJSS7.js.map} +0 -0
  640. /package/dist/{NumDiscreteEditor.unit.spec-VKDRO52H.js.map → NumDiscreteEditor.unit.spec-P5CI5OCT.js.map} +0 -0
  641. /package/dist/{NumRegularBinEditor-SLFPSTA3.js.map → NumRegularBinEditor-ELSWMUJL.js.map} +0 -0
  642. /package/dist/{NumRegularBinEditor.unit.spec-WROEDSWQ.js.map → NumRegularBinEditor.unit.spec-T7EUBNSW.js.map} +0 -0
  643. /package/dist/{NumSplineEditor-AEXNF6E4.js.map → NumSplineEditor-RTNZTUQ5.js.map} +0 -0
  644. /package/dist/{NumSplineEditor.unit.spec-UOESCG7A.js.map → NumSplineEditor.unit.spec-POPB72U2.js.map} +0 -0
  645. /package/dist/{NumericDensity-KPJ6C7N3.js.map → NumericDensity-ASPLZQTW.js.map} +0 -0
  646. /package/dist/{NumericDensity.unit.spec-HM5IAPQT.js.map → NumericDensity.unit.spec-WP7OAVND.js.map} +0 -0
  647. /package/dist/{NumericHandler-S3HPYHOJ.js.map → NumericHandler-X6MQSXNB.js.map} +0 -0
  648. /package/dist/{NumericHandler.unit.spec-B4CY2GR6.js.map → NumericHandler.unit.spec-ET5ZEHDL.js.map} +0 -0
  649. /package/dist/{ProteomeInput-AC5TRXHE.js.map → ProteomeInput-CE2QSGHY.js.map} +0 -0
  650. /package/dist/{Regression-MHGQ2ECB.js.map → Regression-TJJGAFZD.js.map} +0 -0
  651. /package/dist/{RunChart2-6VSXLBNE.js.map → RunChart2-VSLNFIXS.js.map} +0 -0
  652. /package/dist/{SC-KPIQR5JQ.js.map → SC-AJWKVCOK.js.map} +0 -0
  653. /package/dist/{Violin-6BRIIZAY.js.map → Violin-PEMCXVES.js.map} +0 -0
  654. /package/dist/{Volcano-TNNAVPVQ.js.map → Volcano-OXSIAQ2Z.js.map} +0 -0
  655. /package/dist/{Wsi-JRAK47YP.js.map → Wsi-AG2DF27X.js.map} +0 -0
  656. /package/dist/{adSandbox-HZROPAPC.js.map → adSandbox-2PY3V5QD.js.map} +0 -0
  657. /package/dist/{animatedBubbleChart-C57NY3PX.js.map → animatedBubbleChart-IN5UVZAD.js.map} +0 -0
  658. /package/dist/{app-HU4F4WBL.js.map → app-3BNMJWHT.js.map} +0 -0
  659. /package/dist/{app-OS2T3Q6X.js.map → app-4J3OJFJN.js.map} +0 -0
  660. /package/dist/{bam-XBYHZH7B.js.map → bam-3GIL7RAN.js.map} +0 -0
  661. /package/dist/{barchart-7MOHGOPW.js.map → barchart-GEVUNJ3P.js.map} +0 -0
  662. /package/dist/{barchart2-NOWNROMN.js.map → barchart2-FN3EICRE.js.map} +0 -0
  663. /package/dist/{block-PRB7FXIC.js.map → block-KHDTWYNM.js.map} +0 -0
  664. /package/dist/{block.init-EQJ42A2H.js.map → block.init-ZCL56N7C.js.map} +0 -0
  665. /package/dist/{block.mds.expressionrank-W6GIHAAL.js.map → block.mds.expressionrank-FOELK7HF.js.map} +0 -0
  666. /package/dist/{block.mds.geneboxplot-GBP5N7AU.js.map → block.mds.geneboxplot-XG3HH5SQ.js.map} +0 -0
  667. /package/dist/{block.mds.junction-TUIXESU2.js.map → block.mds.junction-IPTVBAVA.js.map} +0 -0
  668. /package/dist/{block.mds.svcnv-YOUIXG4A.js.map → block.mds.svcnv-XPSRDCKO.js.map} +0 -0
  669. /package/dist/{block.svg-XAQJBCOC.js.map → block.svg-KCOUBG3K.js.map} +0 -0
  670. /package/dist/{block.tk.aicheck-MRR74ULN.js.map → block.tk.aicheck-PXTLZ4NL.js.map} +0 -0
  671. /package/dist/{block.tk.ase-ZB5W537R.js.map → block.tk.ase-FE4O3CXJ.js.map} +0 -0
  672. /package/dist/{block.tk.bam-66562WN7.js.map → block.tk.bam-LKSL2QK7.js.map} +0 -0
  673. /package/dist/{block.tk.bedgraphdot-CGBLLLI7.js.map → block.tk.bedgraphdot-UDXTZQTP.js.map} +0 -0
  674. /package/dist/{block.tk.bigwig.ui-FXE6KXRG.js.map → block.tk.bigwig.ui-JQX4DZY3.js.map} +0 -0
  675. /package/dist/{block.tk.hicstraw-RZXW5CWM.js.map → block.tk.hicstraw-XGNFNV2D.js.map} +0 -0
  676. /package/dist/{block.tk.junction-FSGFU7B3.js.map → block.tk.junction-MJ42DFHW.js.map} +0 -0
  677. /package/dist/{block.tk.junction.textmatrixui-VR4ZIEUP.js.map → block.tk.junction.textmatrixui-6UHTYDX2.js.map} +0 -0
  678. /package/dist/{block.tk.ld-QE54JIGV.js.map → block.tk.ld-E35Z5Q2S.js.map} +0 -0
  679. /package/dist/{block.tk.menu-GFGPEMXQ.js.map → block.tk.menu-RF4EPDZB.js.map} +0 -0
  680. /package/dist/{block.tk.pgv-IPX2D3GA.js.map → block.tk.pgv-H4LW2F7J.js.map} +0 -0
  681. /package/dist/{brainImaging-J4HK4JON.js.map → brainImaging-R3F3PE6Z.js.map} +0 -0
  682. /package/dist/{brainRegions-RH4EXEQ7.js.map → brainRegions-YQVQVKL4.js.map} +0 -0
  683. /package/dist/{bubbleHeatmap-R2CNWOAJ.js.map → bubbleHeatmap-5O64CGYG.js.map} +0 -0
  684. /package/dist/{cellTypeBubbleHeatmap-KJSNP4A3.js.map → cellTypeBubbleHeatmap-WWFWVCZ4.js.map} +0 -0
  685. /package/dist/{chunk-K2ITA56I.js.map → chunk-2P47X7BT.js.map} +0 -0
  686. /package/dist/{chunk-FDBT4PQ6.js.map → chunk-2PUOEKQW.js.map} +0 -0
  687. /package/dist/{chunk-G4A3ZDDS.js.map → chunk-2QJ5YW7G.js.map} +0 -0
  688. /package/dist/{chunk-QZXUHBUV.js.map → chunk-2RZMDOJJ.js.map} +0 -0
  689. /package/dist/{chunk-NZBCTASL.js.map → chunk-3FLNHVHA.js.map} +0 -0
  690. /package/dist/{chunk-C2KMMY53.js.map → chunk-3KQKNLHI.js.map} +0 -0
  691. /package/dist/{chunk-3YNRU4SC.js.map → chunk-3ZGNYCH6.js.map} +0 -0
  692. /package/dist/{chunk-7AOA5WZY.js.map → chunk-45GG3VPI.js.map} +0 -0
  693. /package/dist/{chunk-CD2WD7ZG.js.map → chunk-4HEBUKW2.js.map} +0 -0
  694. /package/dist/{chunk-3KH5JUZV.js.map → chunk-4QTTLHAM.js.map} +0 -0
  695. /package/dist/{chunk-2Z2TFFLP.js.map → chunk-5ANMO7OR.js.map} +0 -0
  696. /package/dist/{chunk-6TCULFEF.js.map → chunk-5IC2RQNV.js.map} +0 -0
  697. /package/dist/{chunk-YB2A2CWR.js.map → chunk-5JXRLP7K.js.map} +0 -0
  698. /package/dist/{chunk-PRPQ654B.js.map → chunk-5OPIM5UQ.js.map} +0 -0
  699. /package/dist/{chunk-SKF6HQ74.js.map → chunk-7B3MFR7R.js.map} +0 -0
  700. /package/dist/{chunk-4S7TWVOY.js.map → chunk-7J7FKNHA.js.map} +0 -0
  701. /package/dist/{chunk-YU7CVG4B.js.map → chunk-7JP6JKKT.js.map} +0 -0
  702. /package/dist/{chunk-MIG3QAYD.js.map → chunk-AAIRS4VB.js.map} +0 -0
  703. /package/dist/{chunk-KRQC5AOW.js.map → chunk-BHDCIV2C.js.map} +0 -0
  704. /package/dist/{chunk-2WKGE7BO.js.map → chunk-C6FM3UFY.js.map} +0 -0
  705. /package/dist/{chunk-OB3S6QYD.js.map → chunk-COWQ5L4E.js.map} +0 -0
  706. /package/dist/{chunk-7PBHM4JU.js.map → chunk-CSNF6JCR.js.map} +0 -0
  707. /package/dist/{chunk-ZKZHYCO3.js.map → chunk-D26T74BT.js.map} +0 -0
  708. /package/dist/{chunk-35DMRAGG.js.map → chunk-DEQDVYSX.js.map} +0 -0
  709. /package/dist/{chunk-3447YXVI.js.map → chunk-DP4XE22P.js.map} +0 -0
  710. /package/dist/{chunk-UH5BHS42.js.map → chunk-DQNIHRZK.js.map} +0 -0
  711. /package/dist/{chunk-JQ3JE2F6.js.map → chunk-EU5WPWP3.js.map} +0 -0
  712. /package/dist/{chunk-VRY727VE.js.map → chunk-FDYHFVFB.js.map} +0 -0
  713. /package/dist/{chunk-5X2MW4CV.js.map → chunk-FGXRTF6T.js.map} +0 -0
  714. /package/dist/{chunk-XVOHS4CK.js.map → chunk-FNIAQ672.js.map} +0 -0
  715. /package/dist/{chunk-4VZ4HR3U.js.map → chunk-FPIJQWWG.js.map} +0 -0
  716. /package/dist/{chunk-Y3ABEAKV.js.map → chunk-FTVJJYYR.js.map} +0 -0
  717. /package/dist/{chunk-LOHACXSB.js.map → chunk-FZ6SNG7M.js.map} +0 -0
  718. /package/dist/{chunk-TR2BNELL.js.map → chunk-G47IRKK5.js.map} +0 -0
  719. /package/dist/{chunk-GPJLIBNO.js.map → chunk-GAHZ2TSD.js.map} +0 -0
  720. /package/dist/{chunk-HYOCZPKO.js.map → chunk-GAPWAY3F.js.map} +0 -0
  721. /package/dist/{chunk-BS6IUMA6.js.map → chunk-GULFC3DW.js.map} +0 -0
  722. /package/dist/{chunk-BUX5YSDF.js.map → chunk-HMFWT3XB.js.map} +0 -0
  723. /package/dist/{chunk-GDJUSLDV.js.map → chunk-HRLCNOZE.js.map} +0 -0
  724. /package/dist/{chunk-W7A4QXZ7.js.map → chunk-HZXFKWTP.js.map} +0 -0
  725. /package/dist/{chunk-HUGVRGQO.js.map → chunk-JJV7MQZR.js.map} +0 -0
  726. /package/dist/{chunk-RU2UHH7M.js.map → chunk-JZKVHXFQ.js.map} +0 -0
  727. /package/dist/{chunk-LDDN2BHX.js.map → chunk-K5737QEX.js.map} +0 -0
  728. /package/dist/{chunk-N5CSNFDP.js.map → chunk-K626HR7F.js.map} +0 -0
  729. /package/dist/{chunk-7HPICVA4.js.map → chunk-K7IB2U76.js.map} +0 -0
  730. /package/dist/{chunk-S2PNRIOW.js.map → chunk-KA4WZGUX.js.map} +0 -0
  731. /package/dist/{chunk-IP2PLKC3.js.map → chunk-KED5HIAW.js.map} +0 -0
  732. /package/dist/{chunk-O3EJBFK7.js.map → chunk-LUJHQWIK.js.map} +0 -0
  733. /package/dist/{chunk-JPJ2DKP5.js.map → chunk-LYKASWJ5.js.map} +0 -0
  734. /package/dist/{chunk-DD3DWHUY.js.map → chunk-MJDIDCTT.js.map} +0 -0
  735. /package/dist/{chunk-WKCVZIN7.js.map → chunk-MMWHJ4BH.js.map} +0 -0
  736. /package/dist/{chunk-OSYSJHAA.js.map → chunk-NDJ4LBL3.js.map} +0 -0
  737. /package/dist/{chunk-H6GPQPSM.js.map → chunk-NIZVZ333.js.map} +0 -0
  738. /package/dist/{chunk-753GDKSC.js.map → chunk-OQJPDEKR.js.map} +0 -0
  739. /package/dist/{chunk-HH5JKOE6.js.map → chunk-OR6P5PR4.js.map} +0 -0
  740. /package/dist/{chunk-B5BLNQ2E.js.map → chunk-OSCUO5KD.js.map} +0 -0
  741. /package/dist/{chunk-HFEFFFPL.js.map → chunk-QK4SEPZE.js.map} +0 -0
  742. /package/dist/{chunk-DCHHIXIP.js.map → chunk-QZXFF4ID.js.map} +0 -0
  743. /package/dist/{chunk-CUHJN6CC.js.map → chunk-RIRH565U.js.map} +0 -0
  744. /package/dist/{chunk-3SBHDIJU.js.map → chunk-RIRIGN5F.js.map} +0 -0
  745. /package/dist/{chunk-XIJC7RNK.js.map → chunk-S6343VGL.js.map} +0 -0
  746. /package/dist/{chunk-TZZTJWLD.js.map → chunk-V4I4NRWW.js.map} +0 -0
  747. /package/dist/{chunk-5RFLLJRG.js.map → chunk-VK4Q5SO4.js.map} +0 -0
  748. /package/dist/{chunk-TCHFJHHC.js.map → chunk-VKFVPIA7.js.map} +0 -0
  749. /package/dist/{chunk-BSWVDH75.js.map → chunk-VYFOWZY7.js.map} +0 -0
  750. /package/dist/{chunk-K5P3JV6N.js.map → chunk-VZ7MQ7NP.js.map} +0 -0
  751. /package/dist/{chunk-B2FSMLYK.js.map → chunk-W4JONZZ4.js.map} +0 -0
  752. /package/dist/{chunk-BR76YIDV.js.map → chunk-WM7BRZ3H.js.map} +0 -0
  753. /package/dist/{chunk-OLV3Q6TN.js.map → chunk-XM464NQG.js.map} +0 -0
  754. /package/dist/{chunk-FVADQZLY.js.map → chunk-Y4XYVSAV.js.map} +0 -0
  755. /package/dist/{chunk-3BBUXNES.js.map → chunk-Y6MMPNON.js.map} +0 -0
  756. /package/dist/{chunk-I6P4LZP3.js.map → chunk-Z6HJLJ2W.js.map} +0 -0
  757. /package/dist/{chunk-G6ZIO5T3.js.map → chunk-ZJAXRB7K.js.map} +0 -0
  758. /package/dist/{chunk-FMFEQPMB.js.map → chunk-ZL2M2MPP.js.map} +0 -0
  759. /package/dist/{cohort-J3JNIMCT.js.map → cohort-ONANZDY5.js.map} +0 -0
  760. /package/dist/{condition-A6VAD4OS.js.map → condition-NUBF4YSS.js.map} +0 -0
  761. /package/dist/{controls-2R2OQAX2.js.map → controls-URVB3DH2.js.map} +0 -0
  762. /package/dist/{controls.config-UPE6TAHK.js.map → controls.config-3R2MMWW5.js.map} +0 -0
  763. /package/dist/{correlation-Q6HYOUOX.js.map → correlation-HA5MNQAE.js.map} +0 -0
  764. /package/dist/{customdata.inputui-KQJKSQNI.js.map → customdata.inputui-KN3ZI56U.js.map} +0 -0
  765. /package/dist/{dataDownload-PYQX2BWN.js.map → dataDownload-3PRPXLBV.js.map} +0 -0
  766. /package/dist/{databrowser.ui-LPFKGVW3.js.map → databrowser.ui-URTFAANK.js.map} +0 -0
  767. /package/dist/{dictionary-GYN7OXWQ.js.map → dictionary-OWTFXDAL.js.map} +0 -0
  768. /package/dist/{dnaMethylation-TSRHGNNY.js.map → dnaMethylation-YWKAU5FO.js.map} +0 -0
  769. /package/dist/{dnaMethylation.integration.spec-3YYSFVKK.js.map → dnaMethylation.integration.spec-T4PTIFLE.js.map} +0 -0
  770. /package/dist/{dofetch-4YRJUWLJ.js.map → dofetch-BPXQH2BQ.js.map} +0 -0
  771. /package/dist/{e2pca-G4AVRHQC.js.map → e2pca-VCUSAIWF.js.map} +0 -0
  772. /package/dist/{ep-MHT3CLGK.js.map → ep-SWVNGKAP.js.map} +0 -0
  773. /package/dist/{expclust.gdc.spec-2TWLDD2S.js.map → expclust.gdc.spec-WQBILTT5.js.map} +0 -0
  774. /package/dist/{facet-4O65ZSBQ.js.map → facet-4VGVDLCU.js.map} +0 -0
  775. /package/dist/{gb-WLOGQSEU.js.map → gb-NQNMLAN2.js.map} +0 -0
  776. /package/dist/{geneExpClustering-LOLLER5C.js.map → geneExpClustering-LBEA4MFK.js.map} +0 -0
  777. /package/dist/{geneExpression-RWE7PBBD.js.map → geneExpression-T7VRPFMN.js.map} +0 -0
  778. /package/dist/{geneExpression-NP2N4CRU.js.map → geneExpression-YGQAXIXM.js.map} +0 -0
  779. /package/dist/{geneExpression.unit.spec-MBE6YVKY.js.map → geneExpression.unit.spec-O3GTSFC4.js.map} +0 -0
  780. /package/dist/{geneORA-ZWZCCBL7.js.map → geneORA-A4V7B4TT.js.map} +0 -0
  781. /package/dist/{geneRanking-UZXH5SLT.js.map → geneRanking-G556D44I.js.map} +0 -0
  782. /package/dist/{geneVariant-ZPINPLRP.js.map → geneVariant-CRINPRE5.js.map} +0 -0
  783. /package/dist/{geneVariant-MULXYJ7M.js.map → geneVariant-HGNB2M5Q.js.map} +0 -0
  784. /package/dist/{geneVariant.integration.spec-6DNKP22T.js.map → geneVariant.integration.spec-FKESYYXK.js.map} +0 -0
  785. /package/dist/{genefusion.ui-S4BPNRIO.js.map → genefusion.ui-OS5DZLHT.js.map} +0 -0
  786. /package/dist/{geneset-LZNALH2H.js.map → geneset-6IYLHN2T.js.map} +0 -0
  787. /package/dist/{genomeBrowser.spec-JOIKBWVC.js.map → genomeBrowser.spec-CRW6HZEX.js.map} +0 -0
  788. /package/dist/{grin2-GFZ5REPY.js.map → grin2-2ZM5J6IY.js.map} +0 -0
  789. /package/dist/{grin2-JPR6LCXT.js.map → grin2-PUMRW6PS.js.map} +0 -0
  790. /package/dist/{hierCluster-DCESQECE.js.map → hierCluster-LA5AMP66.js.map} +0 -0
  791. /package/dist/{hierCluster-M6R4CH22.js.map → hierCluster-OYOHFDEK.js.map} +0 -0
  792. /package/dist/{hierCluster.config-DBQYJXML.js.map → hierCluster.config-UKVHTPJ6.js.map} +0 -0
  793. /package/dist/{hierCluster.integration.spec-DPXTME5W.js.map → hierCluster.integration.spec-6AYYST7M.js.map} +0 -0
  794. /package/dist/{hierCluster.interactivity-EKKKYVEP.js.map → hierCluster.interactivity-5ZIL2SIF.js.map} +0 -0
  795. /package/dist/{hierCluster.renderers-DUDSHKDT.js.map → hierCluster.renderers-IUNCW6A2.js.map} +0 -0
  796. /package/dist/{imagePlot-XXSCMNUV.js.map → imagePlot-C6B6VHSQ.js.map} +0 -0
  797. /package/dist/{importPlot-LKMMP7ZV.js.map → importPlot-WDWIM2RH.js.map} +0 -0
  798. /package/dist/{isoformExpression-A634VVY3.js.map → isoformExpression-XKWQBR2M.js.map} +0 -0
  799. /package/dist/{isoformExpression.unit.spec-2J4VQH43.js.map → isoformExpression.unit.spec-CQFMZONS.js.map} +0 -0
  800. /package/dist/{junction-22DCADQW.js.map → junction-COJEPWLG.js.map} +0 -0
  801. /package/dist/{junction.customTerm-VNQKP5I4.js.map → junction.customTerm-Y4WVXFK2.js.map} +0 -0
  802. /package/dist/{junction.unit.spec-NQDRD66O.js.map → junction.unit.spec-L4F7HUOF.js.map} +0 -0
  803. /package/dist/{launch.adhoc-NAHAYONX.js.map → launch.adhoc-HNKW2HH5.js.map} +0 -0
  804. /package/dist/{leftlabel.sample-CRMQSNCJ.js.map → leftlabel.sample-KWSX7IOS.js.map} +0 -0
  805. /package/dist/{lollipop-XLPUIZBA.js.map → lollipop-SL7TP25K.js.map} +0 -0
  806. /package/dist/{maf-LPXQMGJC.js.map → maf-32AWSYHI.js.map} +0 -0
  807. /package/dist/{maftimeline-X2YPHLLO.js.map → maftimeline-OHNRK3Y2.js.map} +0 -0
  808. /package/dist/{matrix-U7PGR4MD.js.map → matrix-CHYGXHGL.js.map} +0 -0
  809. /package/dist/{matrix-UAU7QUP2.js.map → matrix-YUEPHOTN.js.map} +0 -0
  810. /package/dist/{matrix.cells-QKWO5EP4.js.map → matrix.cells-4IHL6PQC.js.map} +0 -0
  811. /package/dist/{matrix.config-HZ3TORDS.js.map → matrix.config-DA3SLAQQ.js.map} +0 -0
  812. /package/dist/{matrix.data-D77IGADO.js.map → matrix.data-BDSR5NNL.js.map} +0 -0
  813. /package/dist/{matrix.groups-XW2G5BJH.js.map → matrix.groups-VGTU2ZYC.js.map} +0 -0
  814. /package/dist/{matrix.integration.spec-7QLCJO26.js.map → matrix.integration.spec-GVPJT2SJ.js.map} +0 -0
  815. /package/dist/{matrix.interactivity-OIKLY2O6.js.map → matrix.interactivity-4LBV57KT.js.map} +0 -0
  816. /package/dist/{matrix.layout-ICBZ5PCU.js.map → matrix.layout-5B253XQW.js.map} +0 -0
  817. /package/dist/{matrix.legend-C3MQRAZJ.js.map → matrix.legend-MMTKJ4T3.js.map} +0 -0
  818. /package/dist/{matrix.renderers-PN56PKD3.js.map → matrix.renderers-GPEV6MD5.js.map} +0 -0
  819. /package/dist/{matrix.serieses-SNMIQFKB.js.map → matrix.serieses-X2L6OZJG.js.map} +0 -0
  820. /package/dist/{matrix.sort-WHVUSUJZ.js.map → matrix.sort-BP4Y73VY.js.map} +0 -0
  821. /package/dist/{matrix.sort.unit.spec-IQOMDVVS.js.map → matrix.sort.unit.spec-YMKKHB3J.js.map} +0 -0
  822. /package/dist/{matrix.sorterUi-UKANNCZM.js.map → matrix.sorterUi-IWVHJMYP.js.map} +0 -0
  823. /package/dist/{matrix.sorterUi.unit.spec-JCN62VCG.js.map → matrix.sorterUi.unit.spec-SEUSXDE7.js.map} +0 -0
  824. /package/dist/{matrix.unit.spec-JASP2ZH6.js.map → matrix.unit.spec-G4CLHZ3J.js.map} +0 -0
  825. /package/dist/{mavb-KHRJRSUD.js.map → mavb-UIJINXMP.js.map} +0 -0
  826. /package/dist/{mds.fimo-LOR3DSLQ.js.map → mds.fimo-R325XCLM.js.map} +0 -0
  827. /package/dist/{mds.samplescatterplot-W3TCPYHS.js.map → mds.samplescatterplot-TEDCX5M5.js.map} +0 -0
  828. /package/dist/{mds.survivalplot-EYAA5IO3.js.map → mds.survivalplot-6MA34FMF.js.map} +0 -0
  829. /package/dist/{multivalue-GGM5DFPD.js.map → multivalue-MRRF7WUG.js.map} +0 -0
  830. /package/dist/{numericDictTermCluster-MJK6SIWE.js.map → numericDictTermCluster-LRY554HK.js.map} +0 -0
  831. /package/dist/{oncomatrix-MVLDAB6I.js.map → oncomatrix-5YESGMC5.js.map} +0 -0
  832. /package/dist/{oncomatrix.spec-43PZ4CLH.js.map → oncomatrix.spec-QPSKJVKL.js.map} +0 -0
  833. /package/dist/{plot.2dvaf-4H3YMAIV.js.map → plot.2dvaf-2CYHDA4C.js.map} +0 -0
  834. /package/dist/{plot.app-OZGOECPK.js.map → plot.app-PHQ22GA2.js.map} +0 -0
  835. /package/dist/{plot.barplot-OQKZAU3N.js.map → plot.barplot-IZJMM7HO.js.map} +0 -0
  836. /package/dist/{plot.boxplot-4O4VNRMV.js.map → plot.boxplot-OXDWGXVO.js.map} +0 -0
  837. /package/dist/{plot.brainImaging-6I4HHUMD.js.map → plot.brainImaging-TZJINY47.js.map} +0 -0
  838. /package/dist/{plot.disco-BOWNCFJV.js.map → plot.disco-G2E5HCR5.js.map} +0 -0
  839. /package/dist/{plot.ssgq-6STRLDEG.js.map → plot.ssgq-CBBSDYNO.js.map} +0 -0
  840. /package/dist/{plot.vaf2cov-75EZA7PJ.js.map → plot.vaf2cov-TG4ZWBOY.js.map} +0 -0
  841. /package/dist/{polar2-QQ2ZYQ3I.js.map → polar2-KKLKRETZ.js.map} +0 -0
  842. /package/dist/{profileForms-WU7UNK7Y.js.map → profileForms-MA743GS4.js.map} +0 -0
  843. /package/dist/{profilePlot-KW7UITCT.js.map → profilePlot-K75DW43W.js.map} +0 -0
  844. /package/dist/{proteinView-ET75MKLU.js.map → proteinView-FKWQBBX4.js.map} +0 -0
  845. /package/dist/{proteomeCohortCompare-SDX5D26O.js.map → proteomeCohortCompare-VZVP4WOH.js.map} +0 -0
  846. /package/dist/{pseudbulk.unit.spec-T3B2T5FK.js.map → pseudbulk.unit.spec-Y3KMRFRQ.js.map} +0 -0
  847. /package/dist/{pseudobulk-4O6GK2TZ.js.map → pseudobulk-P6FX64U3.js.map} +0 -0
  848. /package/dist/{qualitative-FUJ6JHPZ.js.map → qualitative-CRSGQRFR.js.map} +0 -0
  849. /package/dist/{radar2-G75NIN2N.js.map → radar2-7JXNJZ2E.js.map} +0 -0
  850. /package/dist/{radarFacility2-OOAUSL6F.js.map → radarFacility2-DJ2V5JNW.js.map} +0 -0
  851. /package/dist/{rememberedGvQ.unit.spec-B6RQM5LQ.js.map → rememberedGvQ.unit.spec-PJTXLLVI.js.map} +0 -0
  852. /package/dist/{render-JMAJCJFT.js.map → render-VUBQKSGZ.js.map} +0 -0
  853. /package/dist/{report-UKB7676O.js.map → report-M34KCQN2.js.map} +0 -0
  854. /package/dist/{sampleView-JGWU2E5H.js.map → sampleView-NSMHY3Q6.js.map} +0 -0
  855. /package/dist/{samplelst-ZB23PILZ.js.map → samplelst-NPBKSYH5.js.map} +0 -0
  856. /package/dist/{samplematrix-CQAB5PVO.js.map → samplematrix-HEZ5NZ2X.js.map} +0 -0
  857. /package/dist/{sc-JOIUUG4I.js.map → sc-MKALGDFA.js.map} +0 -0
  858. /package/dist/{scatter-JXBGEKLF.js.map → scatter-2EEH73PX.js.map} +0 -0
  859. /package/dist/{scatter-DCX72P3N.js.map → scatter-R74OPQV3.js.map} +0 -0
  860. /package/dist/{selectGenomeWithTklst-EZTHPCBB.js.map → selectGenomeWithTklst-PPJZPIC2.js.map} +0 -0
  861. /package/dist/{singleCellCellType-BOQTDUZA.js.map → singleCellCellType-V52WFBYC.js.map} +0 -0
  862. /package/dist/{singleCellCellType.unit.spec-3HUF7VWW.js.map → singleCellCellType.unit.spec-GYPZQ55V.js.map} +0 -0
  863. /package/dist/{singleCellGeneExpression-UBTHLFRN.js.map → singleCellGeneExpression-NCGMA47O.js.map} +0 -0
  864. /package/dist/{singleCellGeneExpression.unit.spec-YM6EQB3E.js.map → singleCellGeneExpression.unit.spec-YXOFQZB4.js.map} +0 -0
  865. /package/dist/{singleCellNumericValue-53T6WOHJ.js.map → singleCellNumericValue-IKI726PF.js.map} +0 -0
  866. /package/dist/{singleCellNumericValue.unit.spec-SYSMD5IW.js.map → singleCellNumericValue.unit.spec-L6QXS5LW.js.map} +0 -0
  867. /package/dist/{singleCellPlot-3V47EUB4.js.map → singleCellPlot-64JKBI5G.js.map} +0 -0
  868. /package/dist/{singlecell-AFGFONXY.js.map → singlecell-5YENNNVD.js.map} +0 -0
  869. /package/dist/{singlecell-VZI3LEUT.js.map → singlecell-XALP7US6.js.map} +0 -0
  870. /package/dist/{snp-IPIYL7OY.js.map → snp-N7KCIU7N.js.map} +0 -0
  871. /package/dist/{snp.unit.spec-OC5JHCXR.js.map → snp.unit.spec-4S6OJT5C.js.map} +0 -0
  872. /package/dist/{snplocus-DSGUSGUP.js.map → snplocus-RAN4UCKP.js.map} +0 -0
  873. /package/dist/{spliceevent.a53ss.diagram-RNAJHS4P.js.map → spliceevent.a53ss.diagram-2EDVZHU5.js.map} +0 -0
  874. /package/dist/{spliceevent.exonskip.diagram-YWRATK46.js.map → spliceevent.exonskip.diagram-GHNNFV5D.js.map} +0 -0
  875. /package/dist/{spliceevent.noeventdiagram-6ZJRJ4QZ.js.map → spliceevent.noeventdiagram-KJGYK62N.js.map} +0 -0
  876. /package/dist/{ssGSEA-IWCC6JDL.js.map → ssGSEA-HI3XLE5G.js.map} +0 -0
  877. /package/dist/{ssGSEA.unit.spec-3TKDENWO.js.map → ssGSEA.unit.spec-XKYEIVAO.js.map} +0 -0
  878. /package/dist/{stattable-EXOWMETP.js.map → stattable-EYMMFP45.js.map} +0 -0
  879. /package/dist/{studyCatalog-OAGHQXKY.js.map → studyCatalog-56TO46A5.js.map} +0 -0
  880. /package/dist/{summarizeCnvGeneexp-K6XO5YEP.js.map → summarizeCnvGeneexp-F7MMS55Q.js.map} +0 -0
  881. /package/dist/{summarizeGeneexpSurvival-WTAGCCU4.js.map → summarizeGeneexpSurvival-ZUE5FNZG.js.map} +0 -0
  882. /package/dist/{summarizeMutationCnv-QKIDS3LI.js.map → summarizeMutationCnv-GABFG5M7.js.map} +0 -0
  883. /package/dist/{summarizeMutationDiagnosis-ACFWADSQ.js.map → summarizeMutationDiagnosis-GSQN76UC.js.map} +0 -0
  884. /package/dist/{summarizeMutationSurvival-XPFPN4N5.js.map → summarizeMutationSurvival-DADX2MAN.js.map} +0 -0
  885. /package/dist/{summary-VCU2NTIZ.js.map → summary-TBHTSEMG.js.map} +0 -0
  886. /package/dist/{summary.integration.spec-2DE653PH.js.map → summary.integration.spec-EWYBQXS3.js.map} +0 -0
  887. /package/dist/{summaryInput-GO75OPLA.js.map → summaryInput-6C7ZY5Z5.js.map} +0 -0
  888. /package/dist/{sunburst-BSCFRYSV.js.map → sunburst-WW4LZ5AT.js.map} +0 -0
  889. /package/dist/{survival-BEP7JNML.js.map → survival-L2IAJZXL.js.map} +0 -0
  890. /package/dist/{survival-XUO2D6CX.js.map → survival-LAIUKCZC.js.map} +0 -0
  891. /package/dist/{survival.integration.spec-EO5KAFDQ.js.map → survival.integration.spec-PTFUUTBJ.js.map} +0 -0
  892. /package/dist/{svgraph-YGXOB3QY.js.map → svgraph-J5DEKHSP.js.map} +0 -0
  893. /package/dist/{svmr-MATMMI4E.js.map → svmr-YLS3OPQS.js.map} +0 -0
  894. /package/dist/{table-DFSX7XYJ.js.map → table-T73D4MMV.js.map} +0 -0
  895. /package/dist/{termCollection-GKPC4K2O.js.map → termCollection-RR3OVXRS.js.map} +0 -0
  896. /package/dist/{termCollection-ZUJFB7YB.js.map → termCollection-VNEW4PUC.js.map} +0 -0
  897. /package/dist/{termCollection.unit.spec-YE7IKC6S.js.map → termCollection.unit.spec-3L2CSNIT.js.map} +0 -0
  898. /package/dist/{termCollectionFractionSelection-DLWXUEEN.js.map → termCollectionFractionSelection-PKOCR4YR.js.map} +0 -0
  899. /package/dist/{termCollectionFractionSelection.unit.spec-N2LNHIWC.js.map → termCollectionFractionSelection.unit.spec-U5R2XDAA.js.map} +0 -0
  900. /package/dist/{tk-PHTWQHVV.js.map → tk-CF4KEDKD.js.map} +0 -0
  901. /package/dist/{tk-RNUMIS5P.js.map → tk-PZNFQ4NU.js.map} +0 -0
  902. /package/dist/{tp.ui-A52OBFJD.js.map → tp.ui-CC3HZGU4.js.map} +0 -0
  903. /package/dist/{tvs.dt-SQSP3UXH.js.map → tvs.dt-DBW7TIWI.js.map} +0 -0
  904. /package/dist/{tvs.dtcnv.categorical-3IWQMUEM.js.map → tvs.dtcnv.categorical-6NECYCSJ.js.map} +0 -0
  905. /package/dist/{tvs.dtcnv.continuous-ZD5WM32O.js.map → tvs.dtcnv.continuous-2S5Q7JXF.js.map} +0 -0
  906. /package/dist/{tvs.dtfusion-G47Z7NP3.js.map → tvs.dtfusion-UFAZO2TW.js.map} +0 -0
  907. /package/dist/{tvs.dtitd-57PSTVRM.js.map → tvs.dtitd-RMXA5UUR.js.map} +0 -0
  908. /package/dist/{tvs.dtsnvindel-CS3ZVFWN.js.map → tvs.dtsnvindel-MKZMTANY.js.map} +0 -0
  909. /package/dist/{tvs.dtsv-LNWDVFCR.js.map → tvs.dtsv-ZFWT2UIA.js.map} +0 -0
  910. /package/dist/{tvs.samplelst-EMZOR4SY.js.map → tvs.samplelst-PKMMBZNN.js.map} +0 -0
  911. /package/dist/{tvs.termCollection-RX5ASV3N.js.map → tvs.termCollection-H2BMI2R7.js.map} +0 -0
  912. /package/dist/{vocabulary-JVAACQPU.js.map → vocabulary-QI76DY2B.js.map} +0 -0
  913. /package/dist/{wsi.direct-J4SNIUUW.js.map → wsi.direct-CHL5SXDS.js.map} +0 -0
@@ -0,0 +1,2258 @@
1
+ import {
2
+ isNumericTerm
3
+ } from "./chunk-JZKVHXFQ.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-SREWSTR6.js";
29
+ import {
30
+ deepFreeze,
31
+ sleep
32
+ } from "./chunk-HBNB5TRH.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
+ import {
45
+ __commonJS,
46
+ __toESM
47
+ } from "./chunk-HS5PO5ZQ.js";
48
+
49
+ // ../node_modules/secure-json-parse/index.js
50
+ var require_secure_json_parse = __commonJS({
51
+ "../node_modules/secure-json-parse/index.js"(exports, module) {
52
+ "use strict";
53
+ var hasBuffer = typeof Buffer !== "undefined";
54
+ var suspectProtoRx = /"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/;
55
+ var suspectConstructorRx = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;
56
+ function _parse(text, reviver, options) {
57
+ if (options == null) {
58
+ if (reviver !== null && typeof reviver === "object") {
59
+ options = reviver;
60
+ reviver = void 0;
61
+ }
62
+ }
63
+ if (hasBuffer && Buffer.isBuffer(text)) {
64
+ text = text.toString();
65
+ }
66
+ if (text && text.charCodeAt(0) === 65279) {
67
+ text = text.slice(1);
68
+ }
69
+ const obj = JSON.parse(text, reviver);
70
+ if (obj === null || typeof obj !== "object") {
71
+ return obj;
72
+ }
73
+ const protoAction = options && options.protoAction || "error";
74
+ const constructorAction = options && options.constructorAction || "error";
75
+ if (protoAction === "ignore" && constructorAction === "ignore") {
76
+ return obj;
77
+ }
78
+ if (protoAction !== "ignore" && constructorAction !== "ignore") {
79
+ if (suspectProtoRx.test(text) === false && suspectConstructorRx.test(text) === false) {
80
+ return obj;
81
+ }
82
+ } else if (protoAction !== "ignore" && constructorAction === "ignore") {
83
+ if (suspectProtoRx.test(text) === false) {
84
+ return obj;
85
+ }
86
+ } else {
87
+ if (suspectConstructorRx.test(text) === false) {
88
+ return obj;
89
+ }
90
+ }
91
+ return filter(obj, { protoAction, constructorAction, safe: options && options.safe });
92
+ }
93
+ function filter(obj, { protoAction = "error", constructorAction = "error", safe } = {}) {
94
+ let next = [obj];
95
+ while (next.length) {
96
+ const nodes = next;
97
+ next = [];
98
+ for (const node of nodes) {
99
+ if (protoAction !== "ignore" && Object.prototype.hasOwnProperty.call(node, "__proto__")) {
100
+ if (safe === true) {
101
+ return null;
102
+ } else if (protoAction === "error") {
103
+ throw new SyntaxError("Object contains forbidden prototype property");
104
+ }
105
+ delete node.__proto__;
106
+ }
107
+ if (constructorAction !== "ignore" && Object.prototype.hasOwnProperty.call(node, "constructor") && node.constructor !== null && typeof node.constructor === "object" && Object.prototype.hasOwnProperty.call(node.constructor, "prototype")) {
108
+ if (safe === true) {
109
+ return null;
110
+ } else if (constructorAction === "error") {
111
+ throw new SyntaxError("Object contains forbidden prototype property");
112
+ }
113
+ delete node.constructor;
114
+ }
115
+ for (const key in node) {
116
+ const value = node[key];
117
+ if (value && typeof value === "object") {
118
+ next.push(value);
119
+ }
120
+ }
121
+ }
122
+ }
123
+ return obj;
124
+ }
125
+ function parse(text, reviver, options) {
126
+ const { stackTraceLimit } = Error;
127
+ Error.stackTraceLimit = 0;
128
+ try {
129
+ return _parse(text, reviver, options);
130
+ } finally {
131
+ Error.stackTraceLimit = stackTraceLimit;
132
+ }
133
+ }
134
+ function safeParse(text, reviver) {
135
+ const { stackTraceLimit } = Error;
136
+ Error.stackTraceLimit = 0;
137
+ try {
138
+ return _parse(text, reviver, { safe: true });
139
+ } catch {
140
+ return void 0;
141
+ } finally {
142
+ Error.stackTraceLimit = stackTraceLimit;
143
+ }
144
+ }
145
+ module.exports = parse;
146
+ module.exports.default = parse;
147
+ module.exports.parse = parse;
148
+ module.exports.safeParse = safeParse;
149
+ module.exports.scan = filter;
150
+ }
151
+ });
152
+
153
+ // ../shared/utils/dist/src/boxplot.js
154
+ function boxplot_getvalue(lst, removeOutliers = false) {
155
+ const l = lst.length;
156
+ if (l < 5) return { out: lst };
157
+ const isN = typeof lst[0] === "number";
158
+ const valueOf = isN ? (item) => item : (item) => item.value;
159
+ const p50 = valueOf(lst[Math.floor(l / 2)]);
160
+ const p25 = valueOf(lst[Math.floor(l / 4)]);
161
+ const p75 = valueOf(lst[Math.floor(l * 3 / 4)]);
162
+ const p05 = valueOf(lst[Math.floor(l * 0.05)]);
163
+ const p95 = valueOf(lst[Math.floor(l * 0.95)]);
164
+ const iqr = p75 - p25;
165
+ let w1, w2;
166
+ if (iqr === 0) {
167
+ w1 = p25;
168
+ w2 = p25;
169
+ } else {
170
+ const i = lst.findIndex((item) => valueOf(item) > p25 - iqr * 1.5);
171
+ w1 = valueOf(lst[i === -1 ? 0 : i]);
172
+ const j = lst.findIndex((item) => valueOf(item) > p75 + iqr * 1.5);
173
+ w2 = valueOf(lst[j === -1 ? l - 1 : j - 1]);
174
+ }
175
+ const out = removeOutliers ? [] : lst.filter((item) => valueOf(item) < p25 - iqr * 1.5 || valueOf(item) > p75 + iqr * 1.5);
176
+ return { w1, w2, p05, p25, p50, p75, p95, iqr, out };
177
+ }
178
+
179
+ // ../shared/utils/dist/src/bulk.js
180
+ function init_bulk_flag(genome) {
181
+ if (!genome) {
182
+ return null;
183
+ }
184
+ const mclasslabel2key2 = {};
185
+ for (const n in mclass) {
186
+ mclasslabel2key2[mclass[n].label.toUpperCase()] = n;
187
+ }
188
+ return {
189
+ genome,
190
+ mclasslabel2key: mclasslabel2key2,
191
+ data: {},
192
+ sample2disease: {},
193
+ // (proof) k: sample, v: disease
194
+ // will only record this when origin is used
195
+ patient2st: {},
196
+ // k: patient, v: { k: sampletype, v: sample }
197
+ // new sample names always override old
198
+ good: 0,
199
+ geneToUpper: true,
200
+ // option to not force uppercase on gene names
201
+ snv: {
202
+ loaded: false,
203
+ header: null,
204
+ badlines: [],
205
+ // jinghui: based on missense/silent ratio of entire dataset to decide whether to include silent when importing...
206
+ // hard-coded class codes
207
+ missense: 0,
208
+ silent: 0
209
+ },
210
+ svjson: {
211
+ loaded: false,
212
+ header: null,
213
+ badlines: []
214
+ },
215
+ fusion: {
216
+ loaded: false,
217
+ header: null,
218
+ badlines: [],
219
+ original: []
220
+ },
221
+ sv: {
222
+ loaded: false,
223
+ header: null,
224
+ badlines: [],
225
+ original: []
226
+ },
227
+ cnv: {
228
+ loaded: false,
229
+ header: null,
230
+ badlines: []
231
+ },
232
+ itd: {
233
+ loaded: false,
234
+ header: null,
235
+ badlines: []
236
+ },
237
+ del: {
238
+ loaded: false,
239
+ header: null,
240
+ badlines: []
241
+ },
242
+ truncation: {
243
+ loaded: false,
244
+ header: null,
245
+ badlines: []
246
+ }
247
+ };
248
+ }
249
+ function parsesample(m, flag, i, lst) {
250
+ let variantorigin = moriginsomatic;
251
+ if (m.sampletype) {
252
+ const s = m.sampletype.toLowerCase();
253
+ switch (s) {
254
+ case "relapse":
255
+ variantorigin = moriginrelapse;
256
+ break;
257
+ case "germline":
258
+ variantorigin = morigingermline;
259
+ break;
260
+ case "somatic":
261
+ case "diagnosis":
262
+ break;
263
+ }
264
+ if (m.sample) {
265
+ if (m.patient) {
266
+ } else {
267
+ m.patient = m.sample + " " + m.sampletype;
268
+ }
269
+ } else {
270
+ if (m.patient) {
271
+ m.sample = m.patient + " " + m.sampletype;
272
+ } else {
273
+ }
274
+ }
275
+ } else {
276
+ if (m.patient) {
277
+ if (m.sample) {
278
+ m.sampletype = m.sample;
279
+ } else {
280
+ m.sample = m.sampletype = m.patient;
281
+ }
282
+ } else {
283
+ if (m.sample) {
284
+ m.sampletype = m.sample;
285
+ } else {
286
+ }
287
+ }
288
+ }
289
+ if (m.origin) {
290
+ const s = m.origin.toLowerCase();
291
+ switch (s) {
292
+ case "r":
293
+ case "relapse":
294
+ variantorigin = moriginrelapse;
295
+ m.isrim2 = true;
296
+ break;
297
+ case "g":
298
+ case "germline":
299
+ variantorigin = morigingermline;
300
+ m.isrim1 = true;
301
+ break;
302
+ case "gp":
303
+ case "germline pathogenic":
304
+ variantorigin = morigingermlinepathogenic;
305
+ m.isrim1 = true;
306
+ break;
307
+ case "gnp":
308
+ case "germline nonpathogenic":
309
+ case "germline non-pathogenic":
310
+ variantorigin = morigingermlinenonpathogenic;
311
+ m.isrim1 = true;
312
+ break;
313
+ case "s":
314
+ case "somatic":
315
+ case "diagnosis":
316
+ variantorigin = moriginsomatic;
317
+ break;
318
+ }
319
+ }
320
+ m.origin = variantorigin;
321
+ if (!m.sample && !m.patient) {
322
+ return;
323
+ }
324
+ const nopatientname = "no patient/individual name";
325
+ if (m.patient) {
326
+ if (!flag.patient2st[m.patient]) {
327
+ flag.patient2st[m.patient] = {};
328
+ }
329
+ flag.patient2st[m.patient][m.sampletype] = m.sample;
330
+ } else {
331
+ if (!flag.patient2st[nopatientname]) {
332
+ flag.patient2st[nopatientname] = {};
333
+ }
334
+ flag.patient2st[nopatientname][m.sampletype] = m.sample;
335
+ }
336
+ if (m.sample) {
337
+ if (m.disease) {
338
+ if (m.sample in flag.sample2disease) {
339
+ if (m.disease != flag.sample2disease[m.sample]) {
340
+ flag.snv.badlines.push([
341
+ i,
342
+ 'conflict of disease types for sample "' + m.sample + '": ' + m.disease + ", " + flag.sample2disease[m.sample],
343
+ lst
344
+ ]);
345
+ return true;
346
+ }
347
+ } else {
348
+ flag.sample2disease[m.sample] = m.disease;
349
+ }
350
+ }
351
+ }
352
+ return false;
353
+ }
354
+
355
+ // ../shared/utils/dist/src/clustering.js
356
+ var clusterMethodLst = [
357
+ {
358
+ label: "Average",
359
+ value: "average",
360
+ title: `Cluster by average value`
361
+ },
362
+ {
363
+ label: `Complete`,
364
+ value: "complete",
365
+ title: `Use the complete clustering method`
366
+ },
367
+ {
368
+ label: `Single`,
369
+ value: "single",
370
+ title: `Use the single clustering method`
371
+ },
372
+ {
373
+ label: `Ward.D`,
374
+ value: "ward.D",
375
+ title: `Use the ward.D clustering method`
376
+ },
377
+ {
378
+ label: `Ward.D2`,
379
+ value: "ward.D2",
380
+ title: `Use the ward.D2 clustering method`
381
+ },
382
+ {
383
+ label: `Mcquitty`,
384
+ value: "mcquitty",
385
+ title: `Use the Mcquity clustering method`
386
+ }
387
+ /* These methods are currently disabled because the dendrogram lines tend to cross one another.
388
+ {
389
+ label: `Centroid`,
390
+ value: 'centroid',
391
+ title: `Use the centroid clustering method`
392
+ },
393
+ {
394
+ label: `Median`,
395
+ value: 'median',
396
+ title: `Use the median clustering method`
397
+ }
398
+ */
399
+ ];
400
+ var distanceMethodLst = [
401
+ {
402
+ label: "Euclidean",
403
+ value: "euclidean",
404
+ title: `Calculate distance using euclidean method`
405
+ },
406
+ {
407
+ label: "Maximum",
408
+ value: "maximum",
409
+ title: `Maximum distance between two components of x and y`
410
+ },
411
+ {
412
+ label: "Manhattan",
413
+ value: "manhattan",
414
+ title: `Calculate distance using the absolute distance between the two vectors`
415
+ },
416
+ {
417
+ label: "Canberra",
418
+ value: "canberra",
419
+ title: `Calculate distance using Canberra method`
420
+ }
421
+ ];
422
+
423
+ // ../shared/utils/dist/src/dmrColors.js
424
+ var HYPER_COLOR = "#e66101";
425
+ var HYPO_COLOR = "#5e81f4";
426
+
427
+ // ../shared/utils/dist/src/compute.percentile.js
428
+ function computePercentile(values, percentile, sorted = false) {
429
+ if (!sorted) values.sort((a, b) => a - b);
430
+ const index = Math.abs(percentile / 100 * values.length - 1);
431
+ const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
432
+ return value;
433
+ }
434
+
435
+ // ../shared/utils/dist/src/hash.js
436
+ var encoder = new TextEncoder();
437
+ async function hash(message) {
438
+ const msgUint8 = encoder.encode(message);
439
+ const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
440
+ const hashArray = Array.from(new Uint8Array(hashBuffer));
441
+ const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
442
+ return hexToBase64(hashHex).replace("=", "-");
443
+ }
444
+ function hexToBase64(hexStr) {
445
+ return btoa(
446
+ [...hexStr].reduce(
447
+ (acc, _, i) => acc += !(i - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i - 1, i + 1), 16)) : "",
448
+ ""
449
+ )
450
+ );
451
+ }
452
+
453
+ // ../shared/utils/dist/src/urljson.js
454
+ var import_secure_json_parse = __toESM(require_secure_json_parse(), 1);
455
+ var reserved = ["false", "true", "null", "undefined"];
456
+ var delimiters = ['"', "{", "["];
457
+ function encode(rawObject) {
458
+ const params = [];
459
+ for (const [key, value] of Object.entries(rawObject)) {
460
+ if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
461
+ params.push(`${key}=${encodeURIComponent(value)}`);
462
+ } else if (value !== void 0) {
463
+ params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
464
+ }
465
+ }
466
+ return params.join("&");
467
+ }
468
+
469
+ // ../shared/utils/dist/src/fetch-helpers.js
470
+ async function processResponse(r) {
471
+ const ct = r.headers.get("content-type");
472
+ if (!ct) throw `missing response.header['content-type']`;
473
+ if (ct.includes("/json")) {
474
+ const payload = await r.json();
475
+ return payload;
476
+ }
477
+ if (ct.includes("/text") || ct.includes("text/")) {
478
+ return r.text();
479
+ }
480
+ if (ct.includes("multipart")) {
481
+ if (ct.startsWith("multipart/form-data")) return processFormData(r);
482
+ else throw `cannot handle response content-type: '${ct}'`;
483
+ }
484
+ if (ct == "application/x-ndjson-nestedkey") {
485
+ return processNDJSON_nestedKey(r);
486
+ }
487
+ return r.blob();
488
+ }
489
+ async function processFormData(res) {
490
+ const data = {};
491
+ const form = await res.formData();
492
+ for (const [key, value] of form.entries()) {
493
+ if (value.type) {
494
+ data[key] = { headers: { "content-type": value.type }, body: value };
495
+ } else {
496
+ const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
497
+ data[key] = { headers: { "content-type": "application/json" }, body };
498
+ }
499
+ }
500
+ return data;
501
+ }
502
+ async function processNDJSON_nestedKey(r) {
503
+ const stream = r.body.pipeThrough(new TextDecoderStream());
504
+ const reader = stream.getReader();
505
+ let rootObj = {};
506
+ let buffer = "";
507
+ let done = false;
508
+ while (!done) {
509
+ const readResult = await reader.read();
510
+ done = readResult.done;
511
+ if (done) break;
512
+ const value = readResult.value;
513
+ buffer += value;
514
+ const parts = buffer.split("\n");
515
+ buffer = parts.pop() ?? "";
516
+ for (const line of parts) {
517
+ if (line.trim()) {
518
+ const [keys, data] = JSON.parse(line);
519
+ if (!keys.length) rootObj = data;
520
+ else {
521
+ const lastKey = keys.pop();
522
+ let target = rootObj;
523
+ for (const k of keys) target = target[k];
524
+ target[lastKey] = data;
525
+ }
526
+ }
527
+ }
528
+ }
529
+ return rootObj;
530
+ }
531
+ var cacheLifetime = 1e3 * 60 * 5;
532
+ async function getDataName(url, init) {
533
+ const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
534
+ return await hash(dataName);
535
+ }
536
+
537
+ // ../shared/utils/dist/src/fileSize.js
538
+ function fileSize(v) {
539
+ if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
540
+ if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
541
+ if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
542
+ return v + " Bytes";
543
+ }
544
+
545
+ // ../shared/utils/dist/src/mds3tk.js
546
+ var ssmIdFieldsSeparator = "__";
547
+ function summarize_mclass(mlst) {
548
+ const m2c = /* @__PURE__ */ new Map();
549
+ const cnvs = [];
550
+ for (const m of mlst) {
551
+ if (m.dt == dtcnv) {
552
+ cnvs.push(m);
553
+ continue;
554
+ }
555
+ const key = m.class || m.dt;
556
+ m2c.set(key, 1 + (m2c.get(key) || 0));
557
+ }
558
+ if (cnvs.length) {
559
+ if (Number.isFinite(cnvs[0].value)) {
560
+ m2c.set(dtcnv, cnvs.length);
561
+ } else {
562
+ for (const c of cnvs) {
563
+ if (!c.class) continue;
564
+ m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
565
+ }
566
+ }
567
+ }
568
+ return [...m2c].sort((i, j) => j[1] - i[1]);
569
+ }
570
+ function guessSsmid(ssmid) {
571
+ const l = ssmid.split(ssmIdFieldsSeparator);
572
+ if (l.length == 4) {
573
+ const [chr, tmp, ref, alt] = l;
574
+ const pos = Number(tmp);
575
+ if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
576
+ return { dt: dtsnvindel, l: [chr, pos, ref, alt] };
577
+ }
578
+ if (l.length == 5) {
579
+ const [chr, _start, _stop, _class, _value] = l;
580
+ const start = Number(_start), stop = Number(_stop);
581
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
582
+ const value = _value == "" ? null : Number(_value);
583
+ if (_class == mclassitd) {
584
+ return { dt: dtitd, l: [chr, start, stop, _class, value] };
585
+ }
586
+ return { dt: dtcnv, l: [chr, start, stop, _class, value] };
587
+ }
588
+ if (l.length == 6) {
589
+ if (l[3] == "+" || l[3] == "-") {
590
+ const [_dt, chr2, _pos, strand, _pi, _mname] = l;
591
+ const mname = decodeURIComponent(_mname);
592
+ const dt = Number(_dt);
593
+ if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
594
+ const pos = Number(_pos);
595
+ if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
596
+ const pairlstIdx = Number(_pi);
597
+ if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
598
+ return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
599
+ }
600
+ const [chr, _start, _stop, _class, _value, sample] = l;
601
+ const start = Number(_start), stop = Number(_stop);
602
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
603
+ if (_class == mclassitd) {
604
+ return { dt: dtitd, l: [chr, start, stop, _class, _value, sample] };
605
+ }
606
+ const value = _value == "" ? null : Number(_value);
607
+ return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
608
+ }
609
+ throw new Error("unknown ssmid");
610
+ }
611
+
612
+ // ../shared/utils/dist/src/scatter.js
613
+ var xAxisOffSet = 80;
614
+ var yAxisOffSet = 30;
615
+ function getCoordinate(val, min, max) {
616
+ if (min != null && val < min) return min;
617
+ if (max != null && val > max) return max;
618
+ return val;
619
+ }
620
+ function calculatePadding(minScale, maxScale, min, max) {
621
+ return minScale != null || maxScale != null ? 0 : (max - min) * 0.01;
622
+ }
623
+
624
+ // ../shared/utils/dist/src/termdb.bins.js
625
+ function validate_bins(binconfig) {
626
+ const bc = binconfig;
627
+ if (!bc || typeof bc !== "object") throw "bin schema must be an object";
628
+ if (!("type" in bc)) bc.type = "regular-bin";
629
+ if (bc.type == "custom-bin") {
630
+ if (!Array.isArray(bc.lst)) throw "binconfig.lst must be an array";
631
+ if (!bc.lst.length) throw "binconfig.lst must have entries";
632
+ const first_bin = bc.lst[0];
633
+ const last_bin = bc.lst[bc.lst.length - 1];
634
+ for (const bin of bc.lst) {
635
+ if (!("startinclusive" in bin) && !("stopinclusive" in bin)) {
636
+ throw "custom bin.startinclusive and/or bin.stopinclusive must be defined";
637
+ }
638
+ if (bin == first_bin) {
639
+ if ("startunbounded" in bin && !bin.startunbounded) {
640
+ throw `a custom first bin must not set bin.startunbounded to false`;
641
+ }
642
+ bin.startunbounded = true;
643
+ if ("start" in bin) {
644
+ throw "a custom first bin must not set a bin.start value";
645
+ }
646
+ if ("start_percentile" in bin) {
647
+ throw "the first bin must not set a bin.start_percentile value";
648
+ }
649
+ if (!("stop" in bin)) {
650
+ throw `a custom first bin must define a bin.stop value`;
651
+ }
652
+ if (!isStrictNumeric(bin.stop)) {
653
+ throw `a custom first bin.stop value should be numeric`;
654
+ }
655
+ } else if (bin == last_bin) {
656
+ if (!("start" in bin)) {
657
+ throw `a custom last bin must define a bin.start value`;
658
+ }
659
+ if (!isStrictNumeric(bin.start)) {
660
+ throw `a custom last bin.start must be numeric`;
661
+ }
662
+ if ("stopunbounded" in bin && !bin.stopunbounded) {
663
+ throw "a custom last bin must not set bin.stopunbounded to false";
664
+ }
665
+ bin.stopunbounded = true;
666
+ if ("stop" in bin) {
667
+ throw "a custom last bin must not set a bin.stop value";
668
+ }
669
+ } else {
670
+ if (bin.startunbounded || bin.stopunbounded) {
671
+ throw "bin.startunbounded and bin.stopunbounded must not be set for non-first/non-last bins";
672
+ }
673
+ if (!isStrictNumeric(bin.start)) throw "bin.start must be numeric for a non-first bin";
674
+ if (!isStrictNumeric(bin.stop)) throw "bin.stop must be numeric for a non-last bin";
675
+ }
676
+ }
677
+ } else if (bc.type == "regular-bin") {
678
+ if (!Number.isFinite(bc.bin_size)) throw "non-numeric bin_size";
679
+ if (!bc.bin_size || bc.bin_size <= 0) throw "bin_size must be greater than 0";
680
+ if (!bc.startinclusive && !bc.stopinclusive) {
681
+ bc.startinclusive = true;
682
+ bc.stopinclusive = false;
683
+ }
684
+ if (!bc.first_bin) throw "first_bin{} missing";
685
+ if (typeof bc.first_bin != "object") throw "first_bin{} is not an object";
686
+ if (!Object.keys(bc.first_bin).length) throw "first_bin is an empty object";
687
+ {
688
+ const b = bc.first_bin;
689
+ b.startunbounded = true;
690
+ if (b.stop_percentile) {
691
+ if (!Number.isInteger(b.stop_percentile)) throw "first_bin.stop_percentile should be integer";
692
+ if (b.stop_percentile <= 0 || b.stop_percentile >= 100) throw "first_bin.stop_percentile out of bound (0-100)";
693
+ } else if (!Number.isFinite(b.stop)) {
694
+ throw "first_bin.stop not a number when stop_percentile is not set";
695
+ }
696
+ }
697
+ if (bc.last_bin) {
698
+ const b = bc.last_bin;
699
+ if (b.start_percentile) {
700
+ if (!Number.isInteger(b.start_percentile)) throw "last_bin.start_percentile should be integer";
701
+ if (b.start_percentile <= 0 || b.start_percentile >= 100) throw "last_bin.start_percentile out of bound (0-100)";
702
+ } else if (!Number.isFinite(b.start)) {
703
+ throw "last_bin.start not a number when start_percentile is not set";
704
+ }
705
+ b.stopunbounded = true;
706
+ if ("stop" in b) {
707
+ throw "a regular last bin must not set a bin.stop value";
708
+ }
709
+ }
710
+ } else {
711
+ throw `invalid binconfig.type="${bc.type}"`;
712
+ }
713
+ }
714
+ var maxNumBins = 100;
715
+ function compute_bins(binconfig, summaryfxn, valueConversion) {
716
+ const bc = binconfig;
717
+ validate_bins(bc);
718
+ if (bc.lst) {
719
+ if (!Array.isArray(bc.lst)) throw `bc.lst is not an array`;
720
+ if (bc.lst.length > maxNumBins) throw `bc.lst exceed the maximum of ${maxNumBins} allowed entries`;
721
+ assignBinColors(bc.lst);
722
+ }
723
+ if (bc.type == "custom-bin") return JSON.parse(JSON.stringify(bc.lst));
724
+ if (typeof summaryfxn != "function") throw "summaryfxn required for modules/termdb.bins.js compute_bins()";
725
+ const percentiles = target_percentiles(bc);
726
+ const summary = summaryfxn(percentiles);
727
+ if (!summary || typeof summary !== "object") throw "invalid returned value by summaryfxn";
728
+ bc.results = { summary };
729
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
730
+ const minFloor = Math.floor(summary.min * 100) / 100;
731
+ const maxCeil = Math.ceil(summary.max * 100) / 100;
732
+ const min = bc.first_bin.startunbounded ? minFloor : bc.first_bin.start_percentile ? summary["p" + bc.first_bin.start_percentile] : bc.first_bin.start;
733
+ let max = maxCeil, last_start, last_stop;
734
+ if (bc.last_bin) {
735
+ 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;
736
+ 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;
737
+ 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;
738
+ } else if (bc.lst) {
739
+ const last_bin = bc.lst[bc.lst.length - 1];
740
+ last_start = last_bin.start;
741
+ last_stop = "stop" in last_bin && !last_bin.stopunbounded ? last_bin.stop : maxCeil;
742
+ max = last_stop;
743
+ } else {
744
+ last_start = maxCeil;
745
+ last_stop = maxCeil;
746
+ }
747
+ const numericMax = isStrictNumeric(max);
748
+ const numericLastStart = isStrictNumeric(last_start);
749
+ const numericLastStop = isStrictNumeric(last_stop);
750
+ if (!numericMax && !numericLastStart) return [];
751
+ const bins = [];
752
+ let currBin = {
753
+ startunbounded: bc.first_bin.startunbounded,
754
+ start: bc.first_bin.startunbounded ? void 0 : min,
755
+ 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,
756
+ startinclusive: bc.startinclusive,
757
+ stopinclusive: bc.stopinclusive
758
+ };
759
+ if (!isStrictNumeric(currBin.stop)) throw "the computed first_bin.stop is non-numeric" + currBin.stop;
760
+ while (numericMax && currBin.stop <= max || currBin.startunbounded && !bins.length || currBin.stopunbounded) {
761
+ bins.push(currBin);
762
+ if (currBin.stop >= max) {
763
+ currBin.stopunbounded = true;
764
+ if (bins.length > 1) {
765
+ delete currBin.stop;
766
+ }
767
+ }
768
+ currBin.label = get_bin_label(currBin, bc, valueConversion);
769
+ if (currBin.stopunbounded) break;
770
+ const upper = currBin.stop + bc.bin_size;
771
+ const previousStop = currBin.stop;
772
+ currBin = {
773
+ startinclusive: bc.startinclusive,
774
+ stopinclusive: bc.stopinclusive,
775
+ start: previousStop,
776
+ stop: numericLastStop && (previousStop == last_start || upper > last_stop) ? last_stop : numericLastStart && upper > last_start && previousStop != last_start ? last_start : upper
777
+ };
778
+ if (currBin.stop >= max) {
779
+ currBin.stop = max;
780
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
781
+ if (bc.last_bin && bc.last_bin.stopinclusive) currBin.stopinclusive = 1;
782
+ }
783
+ if (numericLastStart && currBin.start == last_start) {
784
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
785
+ }
786
+ if (currBin.start > currBin.stop) {
787
+ if (numericLastStart && currBin.stop == last_start && bc.last_bin && bc.last_bin.stopunbounded)
788
+ currBin.stopunbounded = true;
789
+ else break;
790
+ }
791
+ if (bins.length + 1 >= maxNumBins) {
792
+ delete currBin.stop;
793
+ currBin.stopunbounded = true;
794
+ currBin.label = get_bin_label(currBin, bc, valueConversion);
795
+ if (!bins.includes(currBin)) bins.push(currBin);
796
+ const hint = "Please increase the bin_size or first bin stop, or have a lower last bin start.";
797
+ throw new Error(hint + " (max_num_bins_reached)");
798
+ }
799
+ }
800
+ delete bc.binLabelFormatter;
801
+ if (bins.length > 1) {
802
+ delete bins[bins.length - 1].stop;
803
+ }
804
+ assignBinColors(bins);
805
+ return bins;
806
+ }
807
+ function assignBinColors(lst) {
808
+ const k2c = getColors(lst.length);
809
+ for (const [i, bin] of lst.entries()) bin.color = k2c(String(i));
810
+ return lst;
811
+ }
812
+ function getNumDecimalsFormatter(bc) {
813
+ return "rounding" in bc ? format(bc.rounding) : (d) => d;
814
+ }
815
+ function get_bin_label(bin, binconfig, valueConversion) {
816
+ if (!bin) return "missing bin.label";
817
+ if (bin.label) return bin.label;
818
+ const bc = binconfig;
819
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
820
+ if (!bin.startunbounded && !bin.stopunbounded && !("startinclusive" in bin) && !("stopinclusive" in bin)) {
821
+ if (bc.startinclusive) bin.startinclusive = true;
822
+ else if (bc.stopinclusive) bin.stopinclusive = true;
823
+ }
824
+ const start = bc.use_as == "bins" || bin.start;
825
+ const stop = bc.use_as == "bins" || bin.stop;
826
+ let label_offset = 0;
827
+ if ("label_offset" in bc) {
828
+ bc.label_offset_ignored = "bin_size" in bc && bc.bin_size < bc.label_offset;
829
+ if (!bc.label_offset_ignored) label_offset = bc.label_offset;
830
+ } else if (bc.bin_size === 1 && bc.termtype == "integer") {
831
+ label_offset = 1;
832
+ }
833
+ if (bin.startunbounded) {
834
+ const oper = bin.stopinclusive ? "\u2264" : "<";
835
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(stop);
836
+ return oper + v1;
837
+ }
838
+ if (bin.stopunbounded || start === stop) {
839
+ const oper = bin.startinclusive ? "\u2265" : ">";
840
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
841
+ return oper + v0;
842
+ }
843
+ if (label_offset && bin.startinclusive && !bin.stopinclusive) {
844
+ if (Number.isInteger(bc.bin_size) && Math.abs(start - stop) === label_offset) {
845
+ return "" + (valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start));
846
+ } else {
847
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
848
+ const v1 = valueConversion ? convertUnits(
849
+ stop - label_offset,
850
+ valueConversion.fromUnit,
851
+ valueConversion.toUnit,
852
+ valueConversion.scaleFactor,
853
+ true
854
+ ) : bc.binLabelFormatter(stop - label_offset);
855
+ return +v0 >= +v1 ? v0.toString() : v0 + " to " + v1;
856
+ }
857
+ } else {
858
+ const oper0 = bin.startinclusive ? "" : ">";
859
+ const oper1 = bin.stopinclusive ? "" : "<";
860
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(start) ? start : bc.binLabelFormatter(start);
861
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(stop) ? stop : bc.binLabelFormatter(stop);
862
+ if (+v0 >= +v1) {
863
+ const oper = bin.startinclusive ? "\u2265" : ">";
864
+ return oper + v0;
865
+ } else {
866
+ return oper0 + v0 + " to " + oper1 + v1;
867
+ }
868
+ }
869
+ }
870
+ function get_bin_range_equation(bin, binconfig, valueConversion) {
871
+ const x = '<span style="font-family:Times;font-style:italic;">x</span>';
872
+ let range_eq;
873
+ const copy = structuredClone(bin);
874
+ copy.label = "";
875
+ const bin_label = get_bin_label(copy, binconfig, valueConversion);
876
+ if (bin.startunbounded || bin.stopunbounded) {
877
+ range_eq = x + " " + bin_label;
878
+ } else if (bin.startinclusive) {
879
+ range_eq = bin_label.replace("to <", "\u2264 " + x + " <");
880
+ } else if (bin.stopinclusive) {
881
+ range_eq = bin_label.replace(">", "").replace("to", "< " + x + " \u2264");
882
+ }
883
+ return range_eq;
884
+ }
885
+ function target_percentiles(binconfig) {
886
+ const percentiles = [];
887
+ const f = binconfig.first_bin;
888
+ if (f && isStrictNumeric(f.start_percentile)) percentiles.push(f.start_percentile);
889
+ if (f && isStrictNumeric(f.stop_percentile)) percentiles.push(f.stop_percentile);
890
+ const l = binconfig.last_bin;
891
+ if (l && isStrictNumeric(l.start_percentile)) percentiles.push(l.start_percentile);
892
+ if (l && isStrictNumeric(l.stop_percentile)) percentiles.push(l.stop_percentile);
893
+ return percentiles;
894
+ }
895
+
896
+ // ../shared/utils/dist/src/termdb.initbinconfig.js
897
+ function initBinConfig(data, opts = {}) {
898
+ if (!data.length)
899
+ return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
900
+ if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
901
+ let binConfig;
902
+ const s = new Set(data);
903
+ if (s.size === 1) {
904
+ const value = [...s][0];
905
+ binConfig = {
906
+ type: "custom-bin",
907
+ lst: [
908
+ { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
909
+ { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
910
+ { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
911
+ ]
912
+ };
913
+ } else {
914
+ data.sort((a, b) => a - b);
915
+ const l = data.length;
916
+ const min = data[0];
917
+ const max = data[l - 1];
918
+ const p5idx = Math.ceil(l * 0.05) - 1;
919
+ const p98idx = Math.ceil(l * 0.98) - 1;
920
+ const p5 = data[p5idx];
921
+ const p98 = data[p98idx];
922
+ const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
923
+ const firstBinStop = Math.max(min + binSize, p5);
924
+ const [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
925
+ binConfig = {
926
+ type: "regular-bin",
927
+ startinclusive: true,
928
+ bin_size: binSize_rnd,
929
+ first_bin: { stop: firstBinStop_rnd }
930
+ };
931
+ if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
932
+ if (rounding) binConfig.rounding = rounding;
933
+ }
934
+ if ("format" in opts) {
935
+ if (opts.format === "string") {
936
+ return JSON.stringify(binConfig);
937
+ } else {
938
+ throw "options are not in the correct format";
939
+ }
940
+ } else {
941
+ return binConfig;
942
+ }
943
+ }
944
+ function roundBinVals(binSize, firstBinStop, max, min) {
945
+ let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
946
+ const log = Math.floor(Math.log10(binSize));
947
+ if (binSize >= 0.1 && binSize <= 2) {
948
+ binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
949
+ firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
950
+ } else {
951
+ binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
952
+ firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
953
+ if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
954
+ if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
955
+ if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
956
+ }
957
+ if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
958
+ const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
959
+ if (max > eighthBinStop_rnd) {
960
+ lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
961
+ }
962
+ if (binSize < 1) {
963
+ const digits = Math.abs(log);
964
+ binSize_rnd = Number(binSize_rnd.toFixed(digits));
965
+ firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
966
+ if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
967
+ rounding = "." + digits + "f";
968
+ }
969
+ if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
970
+ return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
971
+ }
972
+
973
+ // ../shared/utils/dist/src/termdb.usecase.js
974
+ var graphableTypes = /* @__PURE__ */ new Set([
975
+ "categorical",
976
+ "integer",
977
+ "float",
978
+ "condition",
979
+ "survival",
980
+ "snplst",
981
+ "snplocus",
982
+ "geneVariant",
983
+ "samplelst",
984
+ "geneExpression",
985
+ ISOFORM_EXPRESSION,
986
+ "dtcnv",
987
+ "dtsnvindel",
988
+ "dtfusion",
989
+ "dtsv",
990
+ "date",
991
+ TermTypes.SSGSEA,
992
+ TermTypes.DNA_METHYLATION,
993
+ TermTypes.METABOLITE_INTENSITY,
994
+ TermTypes.PROTEOME_ABUNDANCE,
995
+ TermTypes.PSEUDOBULK,
996
+ TermTypes.JUNCTION,
997
+ SINGLECELL_GENE_EXPRESSION,
998
+ SINGLECELL_CELLTYPE,
999
+ TermTypes.SINGLECELL_NUMERIC_VALUE,
1000
+ TermTypes.SNP,
1001
+ TermTypes.TERM_COLLECTION,
1002
+ TermTypes.COHORT,
1003
+ TermTypes.MULTIVALUE
1004
+ ]);
1005
+ function isUsableTerm(term, _usecase, termdbConfig, ds) {
1006
+ const usecase = _usecase || {};
1007
+ if (typeof ds?.usecase?.[usecase.target] == "function") {
1008
+ return ds.usecase[usecase.target](term, usecase);
1009
+ }
1010
+ const uses = /* @__PURE__ */ new Set();
1011
+ const child_types = term.child_types || [];
1012
+ switch (usecase.target) {
1013
+ case "barchart":
1014
+ case "violin":
1015
+ case "boxplot":
1016
+ case "summary": {
1017
+ const excluded = usecase.detail == "term2" ? ["survival", "multivalue"] : ["survival"];
1018
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
1019
+ if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
1020
+ return uses;
1021
+ }
1022
+ case "summaryInput":
1023
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1024
+ const excluded = usecase.detail === "term2" ? ["survival", "multivalue"] : ["survival"];
1025
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
1026
+ if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
1027
+ return uses;
1028
+ } else {
1029
+ if (graphableTypes.has(term.type)) uses.add("plot");
1030
+ if (!term.isleaf) uses.add("branch");
1031
+ return uses;
1032
+ }
1033
+ case "matrix":
1034
+ if (term.type) uses.add("plot");
1035
+ if (!term.isleaf) uses.add("branch");
1036
+ return uses;
1037
+ case "table":
1038
+ if (usecase.detail == "term") uses.add("plot");
1039
+ if (child_types.length > 1) uses.add("branch");
1040
+ return uses;
1041
+ case "sampleScatter":
1042
+ if (usecase.detail == "numeric") {
1043
+ if (isNumericTerm(term)) {
1044
+ uses.add("plot");
1045
+ }
1046
+ if (hasNumericChild(child_types)) uses.add("branch");
1047
+ } else {
1048
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1049
+ if (!term.isleaf) uses.add("branch");
1050
+ }
1051
+ return uses;
1052
+ case "runChart2":
1053
+ if (usecase.detail == "date" || usecase.detail == "xtw") {
1054
+ if (term.type == "date") {
1055
+ uses.add("plot");
1056
+ }
1057
+ if (child_types.includes("date")) uses.add("branch");
1058
+ } else if (usecase.detail == "numeric") {
1059
+ if (isNumericTerm(term) && term.type != "date") {
1060
+ uses.add("plot");
1061
+ }
1062
+ if (hasNumericChild(child_types)) uses.add("branch");
1063
+ } else {
1064
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1065
+ if (!term.isleaf) uses.add("branch");
1066
+ }
1067
+ return uses;
1068
+ case "numericDictTermCluster":
1069
+ if (!usecase.detail?.exclude?.includes(term.id)) {
1070
+ if (isNumericTerm(term)) {
1071
+ uses.add("plot");
1072
+ }
1073
+ if (hasNumericChild(child_types)) {
1074
+ uses.add("branch");
1075
+ }
1076
+ }
1077
+ return uses;
1078
+ case "termCollections":
1079
+ if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
1080
+ if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
1081
+ return uses;
1082
+ case "profileForms":
1083
+ if (!term.isleaf) {
1084
+ const ancestors = term.id.split("__").length;
1085
+ if (ancestors == 3) {
1086
+ uses.add("plot");
1087
+ } else if (ancestors < 3) uses.add("branch");
1088
+ }
1089
+ return uses;
1090
+ // case 'boxplot':
1091
+ // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
1092
+ // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
1093
+ // return uses
1094
+ case "cuminc":
1095
+ if (usecase.detail == "term") {
1096
+ if (term.type == "condition") uses.add("plot");
1097
+ if (child_types.includes("condition")) uses.add("branch");
1098
+ return uses;
1099
+ }
1100
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1101
+ if (term.type && term.type != "condition" && term.type != "survival" && term.type != "multivalue")
1102
+ uses.add("plot");
1103
+ if (hasAllowedChildTypes(child_types, ["condition", "survival", "multivalue"])) uses.add("branch");
1104
+ return uses;
1105
+ }
1106
+ return uses;
1107
+ case "survival":
1108
+ if (usecase.detail == "term") {
1109
+ if (term.type == "survival") uses.add("plot");
1110
+ if (child_types.includes("survival")) uses.add("branch");
1111
+ return uses;
1112
+ }
1113
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1114
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1115
+ if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1116
+ return uses;
1117
+ }
1118
+ return uses;
1119
+ case "regression":
1120
+ if (usecase.detail == "outcome") {
1121
+ if (usecase.regressionType == "linear") {
1122
+ if (term.type == "float" || term.type == "integer") uses.add("plot");
1123
+ if (hasNumericChild(child_types)) uses.add("branch");
1124
+ return uses;
1125
+ }
1126
+ if (usecase.regressionType == "logistic") {
1127
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1128
+ if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1129
+ return uses;
1130
+ } else if (usecase.regressionType == "cox") {
1131
+ if (term.type == "condition" || term.type == "survival") uses.add("plot");
1132
+ if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1133
+ return uses;
1134
+ }
1135
+ }
1136
+ if (usecase.detail == "independent") {
1137
+ if (term.type == TermTypes.TERM_COLLECTION) {
1138
+ if (term.memberType == "numeric") uses.add("plot");
1139
+ return uses;
1140
+ }
1141
+ if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1142
+ uses.add("plot");
1143
+ if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
1144
+ return uses;
1145
+ }
1146
+ return uses;
1147
+ case "filter": {
1148
+ const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1149
+ if (exlst) {
1150
+ if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1151
+ if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1152
+ return uses;
1153
+ }
1154
+ if (graphableTypes.has(term.type)) uses.add("plot");
1155
+ if (!term.isleaf) uses.add("branch");
1156
+ return uses;
1157
+ }
1158
+ case "correlationVolcano":
1159
+ if (usecase.detail == "numeric") {
1160
+ if (isNumericTerm(term)) {
1161
+ uses.add("plot");
1162
+ }
1163
+ if (hasNumericChild(child_types)) uses.add("branch");
1164
+ } else {
1165
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1166
+ if (!term.isleaf) uses.add("branch");
1167
+ }
1168
+ return uses;
1169
+ case "proteinView":
1170
+ if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
1171
+ if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
1172
+ return uses;
1173
+ case "brainImaging": {
1174
+ const allowMultivalue = usecase.detail == "term0";
1175
+ if (graphableTypes.has(term.type) && (allowMultivalue || term.type != "multivalue")) uses.add("plot");
1176
+ if (!term.isleaf) uses.add("branch");
1177
+ return uses;
1178
+ }
1179
+ case "dictionary":
1180
+ if (graphableTypes.has(term.type)) uses.add("plot");
1181
+ if (!term.isleaf) uses.add("branch");
1182
+ return uses;
1183
+ default:
1184
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1185
+ if (!term.isleaf) uses.add("branch");
1186
+ return uses;
1187
+ }
1188
+ }
1189
+ function hasAllowedChildTypes(child_types, excluded_types) {
1190
+ if (!child_types.length) {
1191
+ return false;
1192
+ }
1193
+ if (!excluded_types?.length) {
1194
+ return true;
1195
+ }
1196
+ if (child_types.some((type) => !excluded_types.includes(type))) {
1197
+ return true;
1198
+ }
1199
+ }
1200
+ function hasNumericChild(child_types) {
1201
+ return child_types.includes("float") || child_types.includes("integer");
1202
+ }
1203
+ function hasChildTypes(child_types, expected_types) {
1204
+ for (const a of expected_types) {
1205
+ if (child_types.includes(a)) return true;
1206
+ }
1207
+ }
1208
+
1209
+ // ../shared/utils/dist/src/time.js
1210
+ function formatElapsedTime(ms, precision = 2) {
1211
+ if (typeof ms !== "number" || isNaN(ms)) {
1212
+ return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1213
+ }
1214
+ if (!isFinite(ms)) {
1215
+ return ms > 0 ? "Infinite time" : "-Infinite time";
1216
+ }
1217
+ const absMs = Math.abs(ms);
1218
+ const sign = ms < 0 ? "-" : "";
1219
+ if (absMs < 1e3) {
1220
+ return `${sign}${absMs}ms`;
1221
+ }
1222
+ if (absMs < 6e4) {
1223
+ return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1224
+ }
1225
+ const minutes = Math.floor(absMs / 6e4);
1226
+ const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1227
+ return `${sign}${minutes}m ${seconds}s`;
1228
+ }
1229
+
1230
+ // ../shared/utils/dist/src/vcf.ann.js
1231
+ function parse_ANN(str, header, m) {
1232
+ if (!header) {
1233
+ return null;
1234
+ }
1235
+ for (const thisannotation of str.split(",")) {
1236
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1237
+ const o = {};
1238
+ for (let i = 0; i < header.length; i++) {
1239
+ if (lst[i]) {
1240
+ o[header[i].name] = lst[i];
1241
+ }
1242
+ }
1243
+ if (!o.Allele) {
1244
+ continue;
1245
+ }
1246
+ let allele = null;
1247
+ for (const a of m.alleles) {
1248
+ if (a.allele == o.Allele) {
1249
+ allele = a;
1250
+ break;
1251
+ }
1252
+ }
1253
+ if (!allele) {
1254
+ continue;
1255
+ }
1256
+ if (!allele.ann) {
1257
+ allele.ann = [];
1258
+ }
1259
+ allele.ann.push(o);
1260
+ o._gene = o.Gene_Name;
1261
+ if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
1262
+ o._isoform = o.Feature_ID.split(".")[0];
1263
+ }
1264
+ if (o.Annotation) {
1265
+ const [dt, cls, rank] = vepinfo(o.Annotation);
1266
+ o._dt = dt;
1267
+ o._class = cls;
1268
+ o._csqrank = rank;
1269
+ } else {
1270
+ o._dt = dtsnvindel;
1271
+ o._class = mclassnonstandard;
1272
+ }
1273
+ if (o["HGVS.p"]) {
1274
+ o._mname = o["HGVS.p"];
1275
+ } else if (o["HGVS.c"]) {
1276
+ o._mname = o["HGVS.c"];
1277
+ }
1278
+ }
1279
+ return true;
1280
+ }
1281
+
1282
+ // ../shared/utils/dist/src/vcf.csq.js
1283
+ function parse_CSQ(str, header, m) {
1284
+ if (!header) {
1285
+ return null;
1286
+ }
1287
+ for (const thisannotation of str.split(",")) {
1288
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1289
+ const o = {};
1290
+ for (let i = 0; i < header.length; i++) {
1291
+ if (lst[i]) {
1292
+ o[header[i].name] = lst[i];
1293
+ }
1294
+ }
1295
+ if (!o.Allele) {
1296
+ continue;
1297
+ }
1298
+ let allele = null;
1299
+ for (const a of m.mlst || m.alleles) {
1300
+ if (a.allele_original == o.Allele) {
1301
+ allele = a;
1302
+ break;
1303
+ }
1304
+ }
1305
+ if (!allele) {
1306
+ if (o.Allele == "-") {
1307
+ if (m.mlst) {
1308
+ if (m.mlst.length == 1) {
1309
+ allele = m.mlst[0];
1310
+ }
1311
+ } else if (m.alleles) {
1312
+ if (m.alleles.length == 1) {
1313
+ allele = m.alleles[0];
1314
+ }
1315
+ }
1316
+ } else {
1317
+ for (const a of m.mlst || m.alleles) {
1318
+ if (a.allele_original.substr(1) == o.Allele) {
1319
+ allele = a;
1320
+ break;
1321
+ }
1322
+ }
1323
+ }
1324
+ if (!allele) {
1325
+ continue;
1326
+ }
1327
+ }
1328
+ if (!allele.csq) {
1329
+ allele.csq = [];
1330
+ }
1331
+ allele.csq.push(o);
1332
+ o._gene = o.SYMBOL || o.Gene;
1333
+ if (o.Feature_type && o.Feature_type == "Transcript") {
1334
+ o._isoform = o.Feature.split(".")[0];
1335
+ } else {
1336
+ o._isoform = o._gene;
1337
+ }
1338
+ if (o.Consequence) {
1339
+ const [dt, cls, rank] = vepinfo(o.Consequence);
1340
+ o._dt = dt;
1341
+ o._class = cls;
1342
+ o._csqrank = rank;
1343
+ } else {
1344
+ o._dt = dtsnvindel;
1345
+ o._class = mclassnonstandard;
1346
+ }
1347
+ if (o.HGVSp) {
1348
+ o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
1349
+ } else if (o.Protein_position && o.Amino_acids) {
1350
+ o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
1351
+ } else if (o.HGVSc) {
1352
+ o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
1353
+ } else if (o.Existing_variation) {
1354
+ o._name = o.Existing_variation;
1355
+ }
1356
+ }
1357
+ return true;
1358
+ }
1359
+
1360
+ // ../shared/utils/dist/src/vcf.info.js
1361
+ function dissect_INFO(str) {
1362
+ let findsemicolon = false;
1363
+ let findequalorsemicolon = true;
1364
+ let i = 0;
1365
+ let idx = 0;
1366
+ const k2v = {};
1367
+ let lastkey;
1368
+ while (i < str.length) {
1369
+ const c = str[i];
1370
+ if (findequalorsemicolon) {
1371
+ if (c == "=") {
1372
+ findsemicolon = true;
1373
+ findequalorsemicolon = false;
1374
+ lastkey = str.substring(idx, i);
1375
+ idx = i + 1;
1376
+ } else if (c == ";") {
1377
+ k2v[str.substring(idx, i)] = 1;
1378
+ idx = i + 1;
1379
+ }
1380
+ } else if (findsemicolon && c == ";") {
1381
+ findequalorsemicolon = true;
1382
+ findsemicolon = false;
1383
+ k2v[lastkey] = str.substring(idx, i);
1384
+ lastkey = null;
1385
+ idx = i + 1;
1386
+ }
1387
+ i++;
1388
+ }
1389
+ const remainstr = str.substr(idx, i);
1390
+ if (lastkey) {
1391
+ k2v[lastkey] = remainstr;
1392
+ } else {
1393
+ k2v[remainstr] = 1;
1394
+ }
1395
+ return k2v;
1396
+ }
1397
+
1398
+ // ../shared/utils/dist/src/vcf.type.js
1399
+ function getVariantType(ref, alt) {
1400
+ if (ref.length == 1 && alt.length == 1) {
1401
+ if (alt == ".") {
1402
+ return mclassdeletion;
1403
+ }
1404
+ return mclasssnv;
1405
+ }
1406
+ if (ref.length == alt.length) return mclassmnv;
1407
+ if (ref.length < alt.length) return mclassinsertion;
1408
+ if (ref.length > alt.length) return mclassdeletion;
1409
+ return mclassnonstandard;
1410
+ }
1411
+
1412
+ // ../shared/utils/dist/src/vcf.js
1413
+ var getallelename = new RegExp(/<(.+)>/);
1414
+ var mclasslabel2key = {};
1415
+ for (const k in mclass) {
1416
+ mclasslabel2key[mclass[k].label.toUpperCase()] = k;
1417
+ }
1418
+ function vcfparsemeta(lines) {
1419
+ let sample = [];
1420
+ const errlst = [];
1421
+ const info = {};
1422
+ let hasinfo = false;
1423
+ const format2 = {};
1424
+ let hasformat = false;
1425
+ for (const line of lines) {
1426
+ if (!line.startsWith("#")) {
1427
+ continue;
1428
+ }
1429
+ if (line.startsWith("#C")) {
1430
+ sample = line.split(" ").slice(9);
1431
+ continue;
1432
+ }
1433
+ if (line.startsWith("##INFO")) {
1434
+ const e = tohash(line.substring(8, line.length - 1), info);
1435
+ if (e) {
1436
+ errlst.push("INFO error: " + e);
1437
+ } else {
1438
+ hasinfo = true;
1439
+ }
1440
+ continue;
1441
+ }
1442
+ if (line.startsWith("##FORMAT")) {
1443
+ const e = tohash(line.substring(10, line.length - 1), format2);
1444
+ if (e) {
1445
+ errlst.push("FORMAT error: " + e);
1446
+ } else {
1447
+ hasformat = true;
1448
+ }
1449
+ }
1450
+ }
1451
+ const sampleobjlst = [];
1452
+ for (const samplename of sample) {
1453
+ const a = { name: samplename };
1454
+ sampleobjlst.push(a);
1455
+ }
1456
+ if (info.CSQ) {
1457
+ const lst = info.CSQ.Description.split(" Format: ");
1458
+ if (lst[1]) {
1459
+ const lst2 = lst[1].split("|");
1460
+ if (lst2.length > 1) {
1461
+ info.CSQ.csqheader = [];
1462
+ for (const str of lst2) {
1463
+ const attr = { name: str };
1464
+ info.CSQ.csqheader.push(attr);
1465
+ }
1466
+ } else {
1467
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1468
+ }
1469
+ } else {
1470
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1471
+ }
1472
+ }
1473
+ if (info.ANN) {
1474
+ const lst = info.ANN.Description.split("'");
1475
+ if (lst[1]) {
1476
+ const lst2 = lst[1].split(" | ");
1477
+ if (lst2.length) {
1478
+ info.ANN.annheader = [];
1479
+ for (const s of lst2) {
1480
+ const attr = { name: s };
1481
+ info.ANN.annheader.push(attr);
1482
+ }
1483
+ } else {
1484
+ errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1485
+ }
1486
+ } else {
1487
+ errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1488
+ }
1489
+ }
1490
+ return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
1491
+ }
1492
+ function vcfparseline(line, vcf) {
1493
+ const lst = line.split(" ");
1494
+ if (lst.length < 8) {
1495
+ return ["line has less than 8 fields", null, null];
1496
+ }
1497
+ const rawpos = Number.parseInt(lst[2 - 1]);
1498
+ if (!Number.isInteger(rawpos)) {
1499
+ return ["invalid value for genomic position", null, null];
1500
+ }
1501
+ const refallele = lst[4 - 1];
1502
+ const m = {
1503
+ vcf_ID: lst[3 - 1],
1504
+ chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1505
+ pos: rawpos - 1,
1506
+ ref: refallele,
1507
+ //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1508
+ altstr: lst[5 - 1],
1509
+ alleles: [
1510
+ {
1511
+ /*
1512
+ ref allele only a placeholder, to be removed, this array only contains alt alleles
1513
+ this is a must
1514
+ also allows GT allele index to work
1515
+ */
1516
+ allele: refallele,
1517
+ sampledata: []
1518
+ }
1519
+ ],
1520
+ info: {},
1521
+ // locus info, do not contain allele info
1522
+ name: lst[3 - 1] == "." ? null : lst[3 - 1]
1523
+ };
1524
+ const altinvalid = [];
1525
+ for (const alt of lst[5 - 1].split(",")) {
1526
+ const a = {
1527
+ ref: m.ref,
1528
+ // may be corrected just below!
1529
+ allele: alt,
1530
+ // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1531
+ allele_original: alt,
1532
+ sampledata: [],
1533
+ _m: m,
1534
+ info: {}
1535
+ // allele info, do not contain locus info
1536
+ };
1537
+ m.alleles.push(a);
1538
+ if (alt[0] == "<") {
1539
+ const tmp2 = alt.match(getallelename);
1540
+ if (!tmp2) {
1541
+ altinvalid.push(alt);
1542
+ continue;
1543
+ }
1544
+ a.type = tmp2[1];
1545
+ a.allele = tmp2[1];
1546
+ a.issymbolicallele = true;
1547
+ } else {
1548
+ const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1549
+ a.pos = p;
1550
+ a.ref = ref;
1551
+ a.allele = alt2;
1552
+ }
1553
+ }
1554
+ if (lst[9 - 1] && lst[10 - 1]) {
1555
+ parse_FORMAT2(lst, m, vcf);
1556
+ }
1557
+ m.alleles.shift();
1558
+ const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1559
+ let badinfokeys = [];
1560
+ if (vcf.info) {
1561
+ badinfokeys = parse_INFO(tmp, m, vcf);
1562
+ } else {
1563
+ m.info = tmp;
1564
+ }
1565
+ const mlst = [];
1566
+ for (const a of m.alleles) {
1567
+ const m2 = {};
1568
+ for (const k in m) {
1569
+ if (k != "alleles") {
1570
+ m2[k] = m[k];
1571
+ }
1572
+ }
1573
+ for (const k in a) {
1574
+ if (k == "allele") {
1575
+ m2.alt = a[k];
1576
+ } else if (k == "info") {
1577
+ m2.altinfo = a[k];
1578
+ } else {
1579
+ m2[k] = a[k];
1580
+ }
1581
+ }
1582
+ if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1583
+ m2.type = getVariantType(m2.ref, m2.alt);
1584
+ }
1585
+ mlst.push(m2);
1586
+ }
1587
+ return [
1588
+ badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1589
+ mlst,
1590
+ altinvalid.length > 0 ? altinvalid : null
1591
+ ];
1592
+ }
1593
+ function correctRefAlt(p, ref, alt) {
1594
+ while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1595
+ ref = ref.substr(0, ref.length - 1);
1596
+ alt = alt.substr(0, alt.length - 1);
1597
+ }
1598
+ while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1599
+ ref = ref.substr(1);
1600
+ alt = alt.substr(1);
1601
+ p++;
1602
+ }
1603
+ return [p, ref, alt];
1604
+ }
1605
+ function parse_FORMAT2(lst, m, vcf) {
1606
+ const formatfields = lst[9 - 1].split(":");
1607
+ for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1608
+ const valuelst = lst[_sampleidx].split(":");
1609
+ {
1610
+ let none = true;
1611
+ for (const v of valuelst) {
1612
+ if (v != ".") {
1613
+ none = false;
1614
+ break;
1615
+ }
1616
+ }
1617
+ if (none) {
1618
+ continue;
1619
+ }
1620
+ }
1621
+ const sampleidx = _sampleidx - 9;
1622
+ for (let i = 1; i < m.alleles.length; i++) {
1623
+ const sobj = {};
1624
+ if (vcf.samples && vcf.samples[sampleidx]) {
1625
+ for (const k in vcf.samples[sampleidx]) {
1626
+ sobj[k] = vcf.samples[sampleidx][k];
1627
+ }
1628
+ } else {
1629
+ sobj.name = "missing_samplename_from_vcf_header";
1630
+ }
1631
+ m.alleles[i].sampledata.push({
1632
+ sampleobj: sobj
1633
+ });
1634
+ }
1635
+ for (let fi = 0; fi < formatfields.length; fi++) {
1636
+ const field = formatfields[fi];
1637
+ const value = valuelst[fi];
1638
+ if (value == ".") {
1639
+ continue;
1640
+ }
1641
+ if (field == "GT") {
1642
+ const splitter = value.indexOf("/") != -1 ? "/" : "|";
1643
+ let gtsum = 0;
1644
+ let unknowngt = false;
1645
+ const gtalleles = [];
1646
+ for (const i of value.split(splitter)) {
1647
+ if (i == ".") {
1648
+ unknowngt = true;
1649
+ continue;
1650
+ }
1651
+ const j = Number.parseInt(i);
1652
+ if (Number.isNaN(j)) {
1653
+ unknowngt = true;
1654
+ continue;
1655
+ }
1656
+ gtsum += j;
1657
+ const ale = m.alleles[j];
1658
+ if (ale) {
1659
+ gtalleles.push(ale.allele);
1660
+ }
1661
+ }
1662
+ let gtallref = false;
1663
+ if (!unknowngt) {
1664
+ gtallref = gtsum == 0;
1665
+ }
1666
+ const genotype = gtalleles.join(splitter);
1667
+ for (let i = 1; i < m.alleles.length; i++) {
1668
+ const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1669
+ ms.GT = value;
1670
+ ms.genotype = genotype;
1671
+ if (gtallref) {
1672
+ ms.gtallref = true;
1673
+ }
1674
+ ms.__gtalleles = gtalleles;
1675
+ }
1676
+ continue;
1677
+ }
1678
+ const formatdesc = vcf.format ? vcf.format[field] : null;
1679
+ if (!formatdesc) {
1680
+ for (let i = 1; i < m.alleles.length; i++) {
1681
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1682
+ }
1683
+ continue;
1684
+ }
1685
+ const isinteger = formatdesc.Type == "Integer";
1686
+ const isfloat = formatdesc.Type == "Float";
1687
+ if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1688
+ const fvlst = value.split(",").map((i) => {
1689
+ if (isinteger) return Number.parseInt(i);
1690
+ if (isfloat) return Number.parseFloat(i);
1691
+ return i;
1692
+ });
1693
+ for (let i = 1; i < m.alleles.length; i++) {
1694
+ if (fvlst[i] != void 0) {
1695
+ const m2 = m.alleles[i];
1696
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1697
+ m2s[field] = {};
1698
+ m2s[field][m2.ref] = fvlst[0];
1699
+ m2s[field][m2.allele] = fvlst[i];
1700
+ }
1701
+ }
1702
+ continue;
1703
+ }
1704
+ if (formatdesc.Number && formatdesc.Number == "A") {
1705
+ const fvlst = value.split(",").map((i) => {
1706
+ if (isinteger) return Number.parseInt(i);
1707
+ if (isfloat) return Number.parseFloat(i);
1708
+ return i;
1709
+ });
1710
+ for (let i = 1; i < m.alleles.length; i++) {
1711
+ if (fvlst[i - 1] != void 0) {
1712
+ const m2 = m.alleles[i];
1713
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1714
+ m2s[field] = {};
1715
+ m2s[field][m2.allele] = fvlst[i - 1];
1716
+ }
1717
+ }
1718
+ continue;
1719
+ }
1720
+ for (let i = 1; i < m.alleles.length; i++) {
1721
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1722
+ }
1723
+ }
1724
+ }
1725
+ for (const a of m.alleles) {
1726
+ for (const s of a.sampledata) {
1727
+ if (s.AD) {
1728
+ s.allele2readcount = {};
1729
+ for (const k in s.AD) {
1730
+ s.allele2readcount[k] = s.AD[k];
1731
+ }
1732
+ }
1733
+ }
1734
+ }
1735
+ }
1736
+ function tohash(s, hash2) {
1737
+ const h = {}, err = [];
1738
+ let prev = 0, prevdoublequote = false, k = null;
1739
+ for (let i = 0; i < s.length; i++) {
1740
+ if (s[i] == '"') {
1741
+ i++;
1742
+ const thisstart = i;
1743
+ while (s[i] != '"') {
1744
+ i++;
1745
+ }
1746
+ if (k) {
1747
+ h[k] = s.substring(thisstart, i);
1748
+ k = null;
1749
+ } else {
1750
+ err.push("k undefined before double quotes");
1751
+ }
1752
+ prevdoublequote = true;
1753
+ continue;
1754
+ }
1755
+ if (s[i] == "=") {
1756
+ k = s.substring(prev, i);
1757
+ prev = i + 1;
1758
+ continue;
1759
+ }
1760
+ if (s[i] == ",") {
1761
+ if (prevdoublequote) {
1762
+ prevdoublequote = false;
1763
+ } else {
1764
+ if (k) {
1765
+ h[k] = s.substring(prev, i);
1766
+ k = null;
1767
+ } else {
1768
+ err.push("k undefined");
1769
+ }
1770
+ }
1771
+ prev = i + 1;
1772
+ continue;
1773
+ }
1774
+ }
1775
+ if (k) {
1776
+ h[k] = s.substring(prev);
1777
+ }
1778
+ if (h.ID) {
1779
+ hash2[h.ID] = h;
1780
+ } else {
1781
+ return "no ID";
1782
+ }
1783
+ if (err.length) return err.join("\n");
1784
+ }
1785
+ function parse_INFO(tmp, m, vcf) {
1786
+ const badinfokeys = [];
1787
+ for (const key in tmp) {
1788
+ if (vcf.info[key] == void 0) {
1789
+ badinfokeys.push(key);
1790
+ continue;
1791
+ }
1792
+ const value = tmp[key];
1793
+ if (key == "CSQ") {
1794
+ const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1795
+ if (!okay) {
1796
+ m.info[key] = value;
1797
+ }
1798
+ continue;
1799
+ }
1800
+ if (key == "ANN") {
1801
+ const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1802
+ if (!okay) {
1803
+ m.info[key] = value;
1804
+ }
1805
+ continue;
1806
+ }
1807
+ if (vcf.info[key].Type == "Flag") {
1808
+ m.info[key] = key;
1809
+ continue;
1810
+ }
1811
+ const __number = vcf.info[key].Number;
1812
+ const isinteger = vcf.info[key].Type == "Integer";
1813
+ const isfloat = vcf.info[key].Type == "Float";
1814
+ if (__number == "0") {
1815
+ m.info[key] = key;
1816
+ continue;
1817
+ }
1818
+ if (__number == "A") {
1819
+ const tt = value.split(",");
1820
+ for (let j = 0; j < tt.length; j++) {
1821
+ if (m.alleles[j]) {
1822
+ m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1823
+ }
1824
+ }
1825
+ continue;
1826
+ }
1827
+ if (__number == "R") {
1828
+ }
1829
+ if (__number == "1") {
1830
+ m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1831
+ continue;
1832
+ }
1833
+ if (!value.split) {
1834
+ continue;
1835
+ }
1836
+ const lst = value.split(",");
1837
+ if (isinteger) {
1838
+ m.info[key] = lst.map(Number.parseInt);
1839
+ } else if (isfloat) {
1840
+ m.info[key] = lst.map(Number.parseFloat);
1841
+ } else {
1842
+ m.info[key] = lst;
1843
+ }
1844
+ }
1845
+ return badinfokeys;
1846
+ }
1847
+
1848
+ // common/auth.js
1849
+ var jwtByDsRoute;
1850
+ function setJwtByDsRoute() {
1851
+ if (jwtByDsRoute) return;
1852
+ const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1853
+ jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1854
+ }
1855
+ function setTokenByDsRoute(dslabel, route, jwt) {
1856
+ setJwtByDsRoute();
1857
+ if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1858
+ if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1859
+ else delete jwtByDsRoute[dslabel][route];
1860
+ localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1861
+ }
1862
+ function getSavedToken(dslabel, route) {
1863
+ setJwtByDsRoute();
1864
+ return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1865
+ }
1866
+ function mayAddJwtToRequest(init, body, url) {
1867
+ if (init.headers.authorization) return;
1868
+ let dslabel = body?.dslabel;
1869
+ if (!dslabel) {
1870
+ const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1871
+ if (!param) return;
1872
+ let value = decodeURIComponent(param.split("=")[1]);
1873
+ if (value.startsWith("{") && value.endsWith("}")) {
1874
+ value = JSON.parse(value);
1875
+ dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1876
+ } else {
1877
+ dslabel = value;
1878
+ }
1879
+ }
1880
+ setJwtByDsRoute();
1881
+ if (!dslabel || !jwtByDsRoute[dslabel]) return;
1882
+ const h = url.split("//");
1883
+ const postProtocolStr = h[1] || h[0];
1884
+ const preQuestionMarkStr = postProtocolStr.split("?")[0];
1885
+ const pathSegments = preQuestionMarkStr.split("/");
1886
+ let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1887
+ const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1888
+ if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1889
+ }
1890
+ var dsAuthOk = /* @__PURE__ */ new Set();
1891
+ var dsAuth;
1892
+ var authUi;
1893
+ var authUiHolder;
1894
+ var includeEmbedder = false;
1895
+ async function setDsAuthOk(opts) {
1896
+ dsAuth = opts.dsAuth;
1897
+ authUi = opts.ui || defaultAuthUi;
1898
+ authUiHolder = opts.holder || select_default("body");
1899
+ for (const auth of dsAuth) {
1900
+ if (auth.insession) dsAuthOk.add(auth);
1901
+ }
1902
+ includeEmbedder = opts.dsAuth?.length > 0 || false;
1903
+ }
1904
+ function getRequiredAuth(dslabel, route) {
1905
+ if (!dsAuth || !Array.isArray(dsAuth)) return;
1906
+ for (const a of dsAuth) {
1907
+ if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1908
+ }
1909
+ }
1910
+ async function isInSession(dslabel, route) {
1911
+ if (!dslabel) return false;
1912
+ if (!Array.isArray(dsAuth)) return false;
1913
+ for (const a of dsAuth) {
1914
+ if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1915
+ if (dsAuthOk.has(a)) return true;
1916
+ if (a.checked) return false;
1917
+ const jwt = getSavedToken(dslabel, a.route);
1918
+ if (!jwt) return false;
1919
+ const { dofetch3: dofetch32 } = await import("./dofetch-BPXQH2BQ.js");
1920
+ const payload = decodeJwtPayload(jwt);
1921
+ if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
1922
+ const data = await dofetch32("/jwt-status", {
1923
+ method: "POST",
1924
+ credentials: "include",
1925
+ headers: {
1926
+ //authorization: `Bearer ${btoa(jwt)}`
1927
+ [a.headerKey]: jwt
1928
+ },
1929
+ body: {
1930
+ dslabel,
1931
+ route,
1932
+ embedder: location.hostname
1933
+ }
1934
+ });
1935
+ a.checked = true;
1936
+ if (data.ok || data.status == "ok") {
1937
+ dsAuthOk.add(a);
1938
+ a.insession = true;
1939
+ return true;
1940
+ }
1941
+ }
1942
+ return false;
1943
+ }
1944
+ async function mayShowAuthUi(init, path, opts = {}) {
1945
+ const ok = { status: "ok" };
1946
+ if (!dsAuth || path.endsWith("jwt-status")) return ok;
1947
+ const body = JSON.parse(init.body || `{}`);
1948
+ const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
1949
+ const [key, value] = kv.split("=");
1950
+ obj[key] = value;
1951
+ return obj;
1952
+ }, {});
1953
+ const q = Object.assign({}, body, params);
1954
+ const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
1955
+ for (const a of dsAuth) {
1956
+ if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
1957
+ if (dsAuthOk.has(a)) return ok;
1958
+ else if (a.route != "/**") return ok;
1959
+ else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
1960
+ else if (a.type == "jwt") {
1961
+ } else if (a.type == "forbidden") {
1962
+ alert("Forbidden access");
1963
+ } else throw `unsupported dsAuth type='${a.type}'`;
1964
+ }
1965
+ }
1966
+ return ok;
1967
+ }
1968
+ async function defaultAuthUi(dslabel, auth, opts = {}) {
1969
+ 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)");
1970
+ const form = mask.append("div").style("opacity", 1);
1971
+ form.append("div").html(`Restricted dataset '${dslabel}'`);
1972
+ form.append("span").html("Please enter password ");
1973
+ const pwd = form.append("input").attr("type", "password");
1974
+ pwd.node().focus();
1975
+ const btn = form.append("button").html("Submit");
1976
+ return new Promise((resolve, reject) => {
1977
+ function login() {
1978
+ fetch("/dslogin", {
1979
+ method: "POST",
1980
+ headers: {
1981
+ authorization: `Basic ${btoa(pwd.property("value"))}`
1982
+ },
1983
+ body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
1984
+ }).then((res) => res.json()).then((res) => {
1985
+ if (res.error) throw res.error;
1986
+ mask.remove();
1987
+ dsAuthOk.add(auth);
1988
+ if (res.jwt) {
1989
+ setTokenByDsRoute(dslabel, res.route, res.jwt);
1990
+ }
1991
+ if (!opts.setDomRefs) window.location.reload();
1992
+ else resolve(dslabel);
1993
+ }).catch((e) => {
1994
+ alert("login error: " + e);
1995
+ });
1996
+ }
1997
+ btn.on("click", login);
1998
+ pwd.on("change", login);
1999
+ if (opts.setDomRefs)
2000
+ opts.setDomRefs({
2001
+ pwd,
2002
+ btn,
2003
+ mask,
2004
+ authUiHolder
2005
+ });
2006
+ });
2007
+ }
2008
+ function decodeJwtPayload(token) {
2009
+ const base64Url = token.split(".")[1];
2010
+ const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
2011
+ const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
2012
+ const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
2013
+ return JSON.parse(jsonPayload);
2014
+ }
2015
+ function convertAtoBresult(c) {
2016
+ return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
2017
+ }
2018
+
2019
+ // common/dofetch.js
2020
+ function dofetch(path, arg, opts = null) {
2021
+ if (opts && typeof opts == "object") {
2022
+ if (opts.serverData && typeof opts.serverData == "object") {
2023
+ if (!dofetch.serverData) {
2024
+ dofetch.serverData = opts.serverData;
2025
+ } else if (!opts.serverData) {
2026
+ opts.serverData = dofetch.serverData;
2027
+ }
2028
+ }
2029
+ return dofetch2(
2030
+ path,
2031
+ {
2032
+ method: "POST",
2033
+ headers: {
2034
+ "content-type": "application/json"
2035
+ },
2036
+ body: JSON.stringify(arg)
2037
+ },
2038
+ opts
2039
+ );
2040
+ } else {
2041
+ if (path[0] == "/") {
2042
+ path = path.slice(1);
2043
+ }
2044
+ const jwt = sessionStorage.getItem("jwt");
2045
+ if (jwt) {
2046
+ arg.jwt = jwt;
2047
+ }
2048
+ let url = path;
2049
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2050
+ if (host) {
2051
+ if (host.endsWith("/")) {
2052
+ url = host + path;
2053
+ } else {
2054
+ url = host + "/" + path;
2055
+ }
2056
+ }
2057
+ return fetch(
2058
+ new Request(url, {
2059
+ method: "POST",
2060
+ headers: {
2061
+ "content-type": "application/json"
2062
+ },
2063
+ body: JSON.stringify(arg)
2064
+ })
2065
+ ).then((r) => r.json());
2066
+ }
2067
+ }
2068
+ function dofetch2(path, init = {}, opts = {}) {
2069
+ if (path[0] == "/") {
2070
+ path = path.slice(1);
2071
+ }
2072
+ let url = path;
2073
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2074
+ if (host) {
2075
+ if (host.endsWith("/")) {
2076
+ url = host + path;
2077
+ } else {
2078
+ url = host + "/" + path;
2079
+ }
2080
+ }
2081
+ const body = init.body || {};
2082
+ url = mayAdjustRequest(url, init);
2083
+ if (!init.headers) {
2084
+ init.headers = {};
2085
+ }
2086
+ if (!init.headers["content-type"] && init.body) {
2087
+ init.headers["content-type"] = "application/json";
2088
+ }
2089
+ const jwt = sessionStorage.getItem("jwt");
2090
+ if (jwt) {
2091
+ init.headers.authorization = "Bearer " + jwt;
2092
+ }
2093
+ return mayShowAuthUi(init, url).then(async () => {
2094
+ if (!jwt) mayAddJwtToRequest(init, body, url);
2095
+ if (opts.serverData) {
2096
+ return namedFetch(url, init, opts);
2097
+ } else {
2098
+ return fetch(url, init).then(processResponse);
2099
+ }
2100
+ });
2101
+ }
2102
+ var optsServerDataNames = /* @__PURE__ */ new WeakMap();
2103
+ async function namedFetch(url, init, opts = {}) {
2104
+ if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
2105
+ if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
2106
+ let result;
2107
+ const dataName = await getDataName(url, init);
2108
+ if (opts.serverData[dataName]) {
2109
+ if (init.signal) {
2110
+ await sleep(0);
2111
+ if (init.signal.aborted) throw `stale sequenceId`;
2112
+ }
2113
+ result = structuredClone(opts.serverData[dataName]);
2114
+ }
2115
+ if (!result || typeof result != "object" && !(result instanceof Promise)) {
2116
+ delete opts.serverData[dataName];
2117
+ result = void 0;
2118
+ }
2119
+ if (!result) {
2120
+ try {
2121
+ const res = await fetch(url, init);
2122
+ result = await processResponse(res);
2123
+ if (typeof result == "object" && !(result instanceof Promise)) {
2124
+ deepFreeze(result);
2125
+ opts.serverData[dataName] = result;
2126
+ result = structuredClone(result);
2127
+ }
2128
+ } catch (e) {
2129
+ delete opts.serverData[dataName];
2130
+ throw e;
2131
+ }
2132
+ }
2133
+ if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
2134
+ const keys = optsServerDataNames.get(opts.serverData);
2135
+ const i = keys.indexOf(dataName);
2136
+ if (i > 0) {
2137
+ keys.splice(i, 1);
2138
+ }
2139
+ keys.unshift(dataName);
2140
+ const maxKeys = 360;
2141
+ while (keys.length > maxKeys) {
2142
+ const oldestDataKey = keys.pop();
2143
+ delete opts.serverData[oldestDataKey];
2144
+ }
2145
+ return result;
2146
+ }
2147
+ var defaultServerDataCache = {};
2148
+ function dofetch3(path, init = {}, opts = {}) {
2149
+ if (!init.signal && this) {
2150
+ init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
2151
+ }
2152
+ opts.serverData = defaultServerDataCache;
2153
+ return dofetch2(path, init, opts);
2154
+ }
2155
+ function clearServerDataCache(opts = {}) {
2156
+ const cache = opts?.serverData || defaultServerDataCache;
2157
+ if (!cache) return;
2158
+ for (const k of Object.keys(cache)) {
2159
+ delete cache[k];
2160
+ }
2161
+ }
2162
+ var urlMaxLength = 2e3;
2163
+ function mayAdjustRequest(url, init) {
2164
+ const hostname = window.location.hostname;
2165
+ const method = init.method && init.method.toUpperCase() || "GET";
2166
+ if (method == "POST") {
2167
+ if (typeof init.body == "string") init.body = JSON.parse(init.body);
2168
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2169
+ init.body = JSON.stringify(init.body);
2170
+ return url;
2171
+ }
2172
+ if (method != "GET" && method != "DELETE" && method != "PUT") {
2173
+ throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
2174
+ }
2175
+ if (init.body) {
2176
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2177
+ const params = encode(init.body);
2178
+ if (!url.includes("?")) url += "?";
2179
+ url += params;
2180
+ }
2181
+ if (!url.includes("embedder=") && includeEmbedder) {
2182
+ const sep = url.includes("?") ? "&" : "?";
2183
+ url += `${sep}embedder=${hostname}`;
2184
+ }
2185
+ if (url.length < urlMaxLength) {
2186
+ if (init.body) delete init.body;
2187
+ return url;
2188
+ }
2189
+ if (method != "GET") {
2190
+ throw `the ${method} request URL is too long (${url.length} characters, max=${urlMaxLength})`;
2191
+ }
2192
+ init.method = "POST";
2193
+ const [hostpath, query] = url.split("?");
2194
+ if (init.body) {
2195
+ init.body = JSON.stringify(init.body);
2196
+ } else {
2197
+ const params = {};
2198
+ if (query)
2199
+ query.split("&").forEach((p) => {
2200
+ const [k, v] = p.split("=");
2201
+ const decodedVal = decodeURIComponent(v);
2202
+ try {
2203
+ params[k] = JSON.parse(decodedVal);
2204
+ } catch {
2205
+ params[k] = decodedVal;
2206
+ }
2207
+ });
2208
+ if (!params.embedder && includeEmbedder) params.embedder = hostname;
2209
+ init.body = JSON.stringify(params);
2210
+ }
2211
+ return hostpath;
2212
+ }
2213
+ function setAuth(opts) {
2214
+ setDsAuthOk(opts, dofetch3);
2215
+ }
2216
+
2217
+ export {
2218
+ boxplot_getvalue,
2219
+ init_bulk_flag,
2220
+ parsesample,
2221
+ clusterMethodLst,
2222
+ distanceMethodLst,
2223
+ HYPER_COLOR,
2224
+ HYPO_COLOR,
2225
+ computePercentile,
2226
+ processFormData,
2227
+ fileSize,
2228
+ ssmIdFieldsSeparator,
2229
+ summarize_mclass,
2230
+ guessSsmid,
2231
+ xAxisOffSet,
2232
+ yAxisOffSet,
2233
+ getCoordinate,
2234
+ calculatePadding,
2235
+ compute_bins,
2236
+ get_bin_label,
2237
+ get_bin_range_equation,
2238
+ initBinConfig,
2239
+ isUsableTerm,
2240
+ formatElapsedTime,
2241
+ vcfparsemeta,
2242
+ vcfparseline,
2243
+ setTokenByDsRoute,
2244
+ getSavedToken,
2245
+ mayAddJwtToRequest,
2246
+ includeEmbedder,
2247
+ setDsAuthOk,
2248
+ getRequiredAuth,
2249
+ isInSession,
2250
+ mayShowAuthUi,
2251
+ dofetch,
2252
+ dofetch2,
2253
+ namedFetch,
2254
+ dofetch3,
2255
+ clearServerDataCache,
2256
+ setAuth
2257
+ };
2258
+ //# sourceMappingURL=chunk-7JP6JKKT.js.map