@sjcrh/proteinpaint-types 2.86.0 → 2.87.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/README.md +22 -0
  2. package/dist/brainImaging.js +11 -0
  3. package/dist/brainImagingSamples.js +11 -0
  4. package/dist/burden.js +11 -0
  5. package/dist/chunk-37ZPCVP5.js +111 -0
  6. package/dist/chunk-5GG2FNAY.js +62 -0
  7. package/dist/chunk-5JWTIWVB.js +222 -0
  8. package/dist/chunk-5RZYB4M4.js +171 -0
  9. package/dist/chunk-6EFB6ZMB.js +62 -0
  10. package/dist/chunk-6LFMFM2C.js +122 -0
  11. package/dist/chunk-7PMGKVWQ.js +62 -0
  12. package/dist/chunk-7Z3IHB43.js +152 -0
  13. package/dist/chunk-B3D26X6X.js +337 -0
  14. package/dist/chunk-BY2JABTF.js +256 -0
  15. package/dist/chunk-CETMA2FU.js +144 -0
  16. package/dist/chunk-DCN75URO.js +1740 -0
  17. package/dist/chunk-DIDZMC3G.js +96 -0
  18. package/dist/chunk-DKSPASWZ.js +4058 -0
  19. package/dist/chunk-EWRK4PKZ.js +62 -0
  20. package/dist/chunk-FDTUTGQG.js +288 -0
  21. package/dist/chunk-FZ6QOTGM.js +205 -0
  22. package/dist/chunk-GU7LIGHN.js +174 -0
  23. package/dist/chunk-IL33L6MY.js +126 -0
  24. package/dist/chunk-INDBFC54.js +1538 -0
  25. package/dist/chunk-IT7IGDC4.js +1697 -0
  26. package/dist/chunk-IWG5IPXG.js +3409 -0
  27. package/dist/chunk-JEQ3TBVQ.js +1472 -0
  28. package/dist/chunk-JPW6LFDQ.js +1507 -0
  29. package/dist/chunk-K2KQTFQI.js +113 -0
  30. package/dist/chunk-M33KP65Z.js +3347 -0
  31. package/dist/chunk-MUJUKENL.js +62 -0
  32. package/dist/chunk-N45Z3JCY.js +62 -0
  33. package/dist/chunk-OMHEDUNA.js +62 -0
  34. package/dist/chunk-OY3EKV7F.js +130 -0
  35. package/dist/chunk-Q56YNQFK.js +3417 -0
  36. package/dist/chunk-QDIIM52V.js +165 -0
  37. package/dist/chunk-QX7QLUKY.js +228 -0
  38. package/dist/chunk-RLFGMVJZ.js +234 -0
  39. package/dist/chunk-SDOWCOGK.js +96 -0
  40. package/dist/chunk-UCG25D2C.js +109 -0
  41. package/dist/chunk-UIU3IQH4.js +62 -0
  42. package/dist/chunk-W3F2RMPU.js +3494 -0
  43. package/dist/chunk-W3QYIXXF.js +273 -0
  44. package/dist/chunk-XGAOGA3F.js +159 -0
  45. package/dist/chunk-XJCQEOPB.js +61 -0
  46. package/dist/chunk-XLBSZOMF.js +117 -0
  47. package/dist/chunk-XQQ5G6N6.js +109 -0
  48. package/dist/chunk-Z6B6IQIY.js +1785 -0
  49. package/dist/dataset.js +11 -0
  50. package/dist/dsdata.js +11 -0
  51. package/dist/dzimages.js +11 -0
  52. package/dist/gdc.maf.js +11 -0
  53. package/dist/gdc.mafBuild.js +11 -0
  54. package/dist/gdc.topMutatedGenes.js +11 -0
  55. package/dist/genelookup.js +11 -0
  56. package/dist/genesetEnrichment.js +11 -0
  57. package/dist/genesetOverrepresentation.js +11 -0
  58. package/dist/healthcheck.js +11 -0
  59. package/dist/hicdata.js +11 -0
  60. package/dist/hicgenome.js +11 -0
  61. package/dist/hicstat.js +11 -0
  62. package/dist/index.js +347 -0
  63. package/dist/isoformlst.js +11 -0
  64. package/dist/ntseq.js +11 -0
  65. package/dist/pdomain.js +11 -0
  66. package/dist/samplewsimages.js +11 -0
  67. package/dist/snp.js +11 -0
  68. package/dist/termdb.DE.js +11 -0
  69. package/dist/termdb.boxplot.js +11 -0
  70. package/dist/termdb.categories.js +11 -0
  71. package/dist/termdb.cluster.js +11 -0
  72. package/dist/termdb.cohort.summary.js +11 -0
  73. package/dist/termdb.cohorts.js +11 -0
  74. package/dist/termdb.descrstats.js +11 -0
  75. package/dist/termdb.numericcategories.js +11 -0
  76. package/dist/termdb.percentile.js +11 -0
  77. package/dist/termdb.rootterm.js +11 -0
  78. package/dist/termdb.sampleImages.js +11 -0
  79. package/dist/termdb.singleSampleMutation.js +11 -0
  80. package/dist/termdb.singlecellDEgenes.js +11 -0
  81. package/dist/termdb.singlecellData.js +11 -0
  82. package/dist/termdb.singlecellSamples.js +11 -0
  83. package/dist/termdb.termchildren.js +11 -0
  84. package/dist/termdb.termsbyids.js +11 -0
  85. package/dist/termdb.topTermsByType.js +11 -0
  86. package/dist/termdb.topVariablyExpressedGenes.js +11 -0
  87. package/dist/termdb.violin.js +11 -0
  88. package/dist/tileserver.js +11 -0
  89. package/dist/wsimages.js +11 -0
  90. package/package.json +17 -15
  91. package/src/Mclass.ts +8 -0
  92. package/src/dataset.ts +1588 -0
  93. package/src/docs.json +16417 -0
  94. package/src/fileOrUrl.ts +15 -0
  95. package/src/filter.ts +125 -0
  96. package/src/genome.ts +123 -0
  97. package/src/index.ts +67 -0
  98. package/src/routes/brainImaging.ts +47 -0
  99. package/src/routes/brainImagingSamples.ts +25 -0
  100. package/src/routes/burden.ts +111 -0
  101. package/src/routes/dataset.ts +14 -0
  102. package/src/routes/dsdata.ts +14 -0
  103. package/src/routes/dzimages.ts +25 -0
  104. package/src/routes/errorResponse.ts +6 -0
  105. package/src/routes/filter.gdc.ts +15 -0
  106. package/src/routes/gdc.maf.ts +52 -0
  107. package/src/routes/gdc.mafBuild.ts +20 -0
  108. package/src/routes/gdc.topMutatedGenes.ts +37 -0
  109. package/src/routes/genelookup.ts +22 -0
  110. package/src/routes/genesetEnrichment.ts +60 -0
  111. package/src/routes/genesetOverrepresentation.ts +48 -0
  112. package/src/routes/healthcheck.ts +79 -0
  113. package/src/routes/hicdata.ts +48 -0
  114. package/src/routes/hicgenome.ts +50 -0
  115. package/src/routes/hicstat.ts +57 -0
  116. package/src/routes/isoformlst.ts +14 -0
  117. package/src/routes/ntseq.ts +14 -0
  118. package/src/routes/pdomain.ts +14 -0
  119. package/src/routes/routeApi.ts +41 -0
  120. package/src/routes/samplewsimages.ts +27 -0
  121. package/src/routes/snp.ts +13 -0
  122. package/src/routes/termdb.DE.ts +57 -0
  123. package/src/routes/termdb.boxplot.ts +78 -0
  124. package/src/routes/termdb.categories.ts +73 -0
  125. package/src/routes/termdb.cluster.ts +103 -0
  126. package/src/routes/termdb.cohort.summary.ts +14 -0
  127. package/src/routes/termdb.cohorts.ts +14 -0
  128. package/src/routes/termdb.descrstats.ts +78 -0
  129. package/src/routes/termdb.numericcategories.ts +32 -0
  130. package/src/routes/termdb.percentile.ts +65 -0
  131. package/src/routes/termdb.rootterm.ts +49 -0
  132. package/src/routes/termdb.sampleImages.ts +26 -0
  133. package/src/routes/termdb.singleSampleMutation.ts +29 -0
  134. package/src/routes/termdb.singlecellDEgenes.ts +41 -0
  135. package/src/routes/termdb.singlecellData.ts +69 -0
  136. package/src/routes/termdb.singlecellSamples.ts +46 -0
  137. package/src/routes/termdb.termchildren.ts +49 -0
  138. package/src/routes/termdb.termsbyids.ts +26 -0
  139. package/src/routes/termdb.topTermsByType.ts +32 -0
  140. package/src/routes/termdb.topVariablyExpressedGenes.ts +56 -0
  141. package/src/routes/termdb.violin.ts +122 -0
  142. package/src/routes/tileserver.ts +14 -0
  143. package/src/routes/wsimages.ts +24 -0
  144. package/src/terms/categorical.ts +106 -0
  145. package/src/terms/condition.ts +55 -0
  146. package/src/terms/geneExpression.ts +32 -0
  147. package/src/terms/geneVariant.ts +51 -0
  148. package/src/terms/metaboliteIntensity.ts +31 -0
  149. package/src/terms/numeric.ts +253 -0
  150. package/src/terms/q.ts +38 -0
  151. package/src/terms/samplelst.ts +41 -0
  152. package/src/terms/singleCellCellType.ts +22 -0
  153. package/src/terms/singleCellGeneExpression.ts +28 -0
  154. package/src/terms/snp.ts +28 -0
  155. package/src/terms/snps.ts +110 -0
  156. package/src/terms/term.ts +184 -0
  157. package/src/terms/tw.ts +38 -0
  158. package/src/terms/updated-types.ts +9 -0
  159. package/src/termsetting.ts +197 -0
  160. package/src/test/numeric.type.spec.ts +275 -0
  161. package/src/vocab.ts +37 -0
  162. package/dist/routes.ts +0 -28911
  163. package/src/Mclass.js +0 -0
  164. package/src/checkers/routes.js +0 -167
  165. package/src/dataset.js +0 -0
  166. package/src/fileOrUrl.js +0 -0
  167. package/src/filter.js +0 -0
  168. package/src/genome.js +0 -0
  169. package/src/index.js +0 -66
  170. package/src/routes/brainImaging.js +0 -11
  171. package/src/routes/brainImagingSamples.js +0 -11
  172. package/src/routes/burden.js +0 -44
  173. package/src/routes/dataset.js +0 -12
  174. package/src/routes/dsdata.js +0 -12
  175. package/src/routes/dzimages.js +0 -12
  176. package/src/routes/errorResponse.js +0 -0
  177. package/src/routes/filter.gdc.js +0 -0
  178. package/src/routes/gdc.maf.js +0 -17
  179. package/src/routes/gdc.mafBuild.js +0 -12
  180. package/src/routes/gdc.topMutatedGenes.js +0 -12
  181. package/src/routes/genelookup.js +0 -12
  182. package/src/routes/genesetEnrichment.js +0 -12
  183. package/src/routes/genesetOverrepresentation.js +0 -12
  184. package/src/routes/healthcheck.js +0 -23
  185. package/src/routes/hicdata.js +0 -12
  186. package/src/routes/hicgenome.js +0 -29
  187. package/src/routes/hicstat.js +0 -12
  188. package/src/routes/isoformlst.js +0 -12
  189. package/src/routes/ntseq.js +0 -12
  190. package/src/routes/pdomain.js +0 -12
  191. package/src/routes/routeApi.js +0 -0
  192. package/src/routes/samplewsimages.js +0 -12
  193. package/src/routes/snp.js +0 -11
  194. package/src/routes/termdb.DE.js +0 -13
  195. package/src/routes/termdb.boxplot.js +0 -12
  196. package/src/routes/termdb.categories.js +0 -48
  197. package/src/routes/termdb.cluster.js +0 -12
  198. package/src/routes/termdb.cohort.summary.js +0 -12
  199. package/src/routes/termdb.cohorts.js +0 -12
  200. package/src/routes/termdb.descrstats.js +0 -48
  201. package/src/routes/termdb.numericcategories.js +0 -12
  202. package/src/routes/termdb.percentile.js +0 -49
  203. package/src/routes/termdb.rootterm.js +0 -27
  204. package/src/routes/termdb.sampleImages.js +0 -12
  205. package/src/routes/termdb.singleSampleMutation.js +0 -12
  206. package/src/routes/termdb.singlecellDEgenes.js +0 -12
  207. package/src/routes/termdb.singlecellData.js +0 -12
  208. package/src/routes/termdb.singlecellSamples.js +0 -12
  209. package/src/routes/termdb.termchildren.js +0 -28
  210. package/src/routes/termdb.termsbyids.js +0 -12
  211. package/src/routes/termdb.topTermsByType.js +0 -12
  212. package/src/routes/termdb.topVariablyExpressedGenes.js +0 -12
  213. package/src/routes/termdb.violin.js +0 -49
  214. package/src/routes/tileserver.js +0 -12
  215. package/src/routes/wsimages.js +0 -12
  216. package/src/terms/categorical.js +0 -0
  217. package/src/terms/condition.js +0 -0
  218. package/src/terms/geneExpression.js +0 -0
  219. package/src/terms/geneVariant.js +0 -0
  220. package/src/terms/metaboliteIntensity.js +0 -0
  221. package/src/terms/numeric.js +0 -0
  222. package/src/terms/q.js +0 -0
  223. package/src/terms/samplelst.js +0 -0
  224. package/src/terms/singleCellCellType.js +0 -0
  225. package/src/terms/singleCellGeneExpression.js +0 -0
  226. package/src/terms/snp.js +0 -0
  227. package/src/terms/snps.js +0 -0
  228. package/src/terms/term.js +0 -0
  229. package/src/terms/tw.js +0 -0
  230. package/src/terms/updated-types.js +0 -0
  231. package/src/termsetting.js +0 -0
  232. package/src/test/numeric.type.spec.js +0 -117
  233. package/src/vocab.js +0 -0
@@ -0,0 +1,3409 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/termdb.categories.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/termdb.categories.ts
10
+ var termdbCategoriesPayload = {
11
+ request: {
12
+ typeId: "CategoriesRequest"
13
+ },
14
+ response: {
15
+ typeId: "CategoriesResponse"
16
+ },
17
+ examples: [
18
+ {
19
+ request: {
20
+ body: {
21
+ genome: "hg38-test",
22
+ dslabel: "TermdbTest",
23
+ embedder: "localhost",
24
+ term: { id: "diaggrp" },
25
+ filter: {
26
+ type: "tvslst",
27
+ in: true,
28
+ join: "",
29
+ lst: [
30
+ {
31
+ tag: "cohortFilter",
32
+ type: "tvs",
33
+ tvs: {
34
+ term: {
35
+ name: "Cohort",
36
+ type: "categorical",
37
+ values: { ABC: { label: "ABC" }, XYZ: { label: "XYZ" } },
38
+ id: "subcohort",
39
+ isleaf: false,
40
+ groupsetting: { disabled: true }
41
+ },
42
+ values: [{ key: "ABC", label: "ABC" }]
43
+ }
44
+ }
45
+ ]
46
+ }
47
+ }
48
+ },
49
+ response: {
50
+ header: { status: 200 }
51
+ }
52
+ }
53
+ ]
54
+ };
55
+
56
+ // dist/termdb.categories.ts
57
+ var validCategoriesRequest = (input) => {
58
+ const errors = [];
59
+ const __is = (input2) => {
60
+ const $join = import_typia.createValidate.join;
61
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && ("object" === typeof input3.tw && null !== input3.tw && $iu6(input3.tw)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io11(input3.filter)) && (void 0 === input3.currentGeneNames || Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && true;
62
+ const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && $iu7(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io13(input3.term));
63
+ const $io2 = (input3) => Object.keys(input3).every((key) => {
64
+ const value = input3[key];
65
+ if (void 0 === value)
66
+ return true;
67
+ if (RegExp(/(.*)/).test(key))
68
+ return true;
69
+ return true;
70
+ });
71
+ const $io3 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
72
+ const $io4 = (input3) => Object.keys(input3).every((key) => {
73
+ const value = input3[key];
74
+ if (void 0 === value)
75
+ return true;
76
+ if (RegExp(/(.*)/).test(key))
77
+ return "number" === typeof value;
78
+ return true;
79
+ });
80
+ const $io5 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
81
+ const $io6 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io7(input3.customset));
82
+ const $io7 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
83
+ const $io8 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io9(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
84
+ const $io9 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
85
+ const $io10 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io11(input3.filter));
86
+ const $io11 = (input3) => "lst" === input3.type && (void 0 === input3["in"] || "boolean" === typeof input3["in"]) && ("and" === input3.join || "or" === input3.join) && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
87
+ const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io13(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io15(elem)));
88
+ const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
89
+ const $io14 = (input3) => Object.keys(input3).every((key) => {
90
+ const value = input3[key];
91
+ if (void 0 === value)
92
+ return true;
93
+ if (RegExp(/(.*)/).test(key))
94
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io15(value);
95
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
96
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io15(value);
97
+ return true;
98
+ });
99
+ const $io15 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io11(input3.filter));
100
+ const $io16 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io17(elem)));
101
+ const $io17 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
102
+ const $io18 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
103
+ const $io19 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io20(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
104
+ const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io21(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
105
+ const $io21 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu9(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu9(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
106
+ const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu4(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu5(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
107
+ const $io23 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
108
+ const $io24 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
109
+ const $io25 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
110
+ const $io26 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
111
+ const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
112
+ const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
113
+ const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values));
114
+ const $io30 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
115
+ const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
116
+ const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
117
+ const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
118
+ const $io34 = (input3) => 1 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
119
+ const $io35 = (input3) => 4 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
120
+ const $io36 = (input3) => 5 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
121
+ const $io37 = (input3) => 2 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
122
+ const $io38 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $io20(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu11(input3.q));
123
+ const $io39 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "binary" === input3.mode && "custom-bin" === input3.type && (Array.isArray(input3.lst) && (input3.lst.length === 2 && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu4(input3.lst[0])) && ("object" === typeof input3.lst[1] && null !== input3.lst[1] && $iu5(input3.lst[1]))));
124
+ const $io40 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "continuous" === input3.mode && (void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore) && (null !== input3.type && void 0 === input3.type);
125
+ const $io41 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "spline" === input3.mode && (Array.isArray(input3.knots) && input3.knots.every((elem) => "object" === typeof elem && null !== elem && $io42(elem))) && (null !== input3.type && void 0 === input3.type);
126
+ const $io42 = (input3) => "number" === typeof input3.value;
127
+ const $io43 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.q && null !== input3.q && $io44(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io46(input3.term));
128
+ const $io44 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "custom-samplelst" === input3.type) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io45(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io11(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
129
+ const $io45 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu12(input3.tvs));
130
+ const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io47(elem)));
131
+ const $io47 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io48(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io49(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
132
+ const $io48 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
133
+ const $io49 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
134
+ const $io50 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu13(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu14(input3.q));
135
+ const $io51 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
136
+ const $io52 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io21(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
137
+ const $io53 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values));
138
+ const $io54 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
139
+ const $io55 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
140
+ const $io56 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io47(elem)));
141
+ const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io58(input3.values));
142
+ const $io58 = (input3) => Object.keys(input3).every((key) => {
143
+ const value = input3[key];
144
+ if (void 0 === value)
145
+ return true;
146
+ if (RegExp(/(.*)/).test(key))
147
+ return "object" === typeof value && null !== value && $io59(value);
148
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
149
+ return "object" === typeof value && null !== value && $io59(value);
150
+ return true;
151
+ });
152
+ const $io59 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io11(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io60(elem))) && true;
153
+ const $io60 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
154
+ const $io61 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "custom-samplelst" === input3.type);
155
+ const $io62 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && true;
156
+ const $io63 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.origin || "string" === typeof input3.origin) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
157
+ const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.origin || "string" === typeof input3.origin) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
158
+ const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.origin || "string" === typeof input3.origin) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io7(input3.customset));
159
+ const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "custom-samplelst" === input3.type) && ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) && $io67(input3.groups));
160
+ const $io67 = (input3) => Object.keys(input3).every((key) => {
161
+ const value = input3[key];
162
+ if (void 0 === value)
163
+ return true;
164
+ if (RegExp(/(.*)/).test(key))
165
+ return "object" === typeof value && null !== value && $io68(value);
166
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
167
+ return "object" === typeof value && null !== value && $io68(value);
168
+ return true;
169
+ });
170
+ const $io68 = (input3) => "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io60(elem))) && true;
171
+ const $iu0 = (input3) => (() => {
172
+ if ("string" === typeof input3.type)
173
+ return $io8(input3);
174
+ if ("filter" === input3.type)
175
+ return $io10(input3);
176
+ return false;
177
+ })();
178
+ const $iu1 = (input3) => (() => {
179
+ if (void 0 !== input3.type)
180
+ return $io11(input3);
181
+ if (void 0 !== input3.ranges)
182
+ return $io19(input3);
183
+ return (() => {
184
+ if ($io12(input3))
185
+ return $io12(input3);
186
+ if ($io28(input3))
187
+ return $io28(input3);
188
+ if ($io31(input3))
189
+ return $io31(input3);
190
+ return false;
191
+ })();
192
+ })();
193
+ const $iu2 = (input3) => (() => {
194
+ if (true === input3.startunbounded)
195
+ return $io23(input3);
196
+ if (true === input3.stopunbounded)
197
+ return $io25(input3);
198
+ return $io24(input3);
199
+ })();
200
+ const $iu3 = (input3) => (() => {
201
+ if (2 === input3.dt)
202
+ return $io37(input3);
203
+ if (5 === input3.dt)
204
+ return $io36(input3);
205
+ if (4 === input3.dt)
206
+ return $io35(input3);
207
+ if (1 === input3.dt)
208
+ return $io34(input3);
209
+ return false;
210
+ })();
211
+ const $iu4 = (input3) => (() => {
212
+ if (true === input3.startunbounded)
213
+ return $io23(input3);
214
+ if (void 0 !== input3.start)
215
+ return $io24(input3);
216
+ return false;
217
+ })();
218
+ const $iu5 = (input3) => (() => {
219
+ if (void 0 !== input3.stop)
220
+ return $io24(input3);
221
+ if (true === input3.stopunbounded)
222
+ return $io25(input3);
223
+ return false;
224
+ })();
225
+ const $iu6 = (input3) => (() => {
226
+ if (void 0 !== input3.type)
227
+ return $io1(input3);
228
+ return (() => {
229
+ if ($io50(input3))
230
+ return $io50(input3);
231
+ if ($io43(input3))
232
+ return $io43(input3);
233
+ if ($io38(input3))
234
+ return $io38(input3);
235
+ return false;
236
+ })();
237
+ })();
238
+ const $iu7 = (input3) => (() => {
239
+ if ("values" === input3.type)
240
+ return $io3(input3);
241
+ if ("predefined-groupset" === input3.type)
242
+ return $io5(input3);
243
+ if ("custom-groupset" === input3.type)
244
+ return $io6(input3);
245
+ return false;
246
+ })();
247
+ const $iu8 = (input3) => (() => {
248
+ if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io17(elem)))
249
+ return $io16(input3);
250
+ return $io18(input3);
251
+ })();
252
+ const $iu9 = (input3) => (() => {
253
+ if ("regular-bin" === input3.type)
254
+ return $io22(input3);
255
+ if ("custom-bin" === input3.type)
256
+ return $io26(input3);
257
+ return false;
258
+ })();
259
+ const $iu10 = (input3) => (() => {
260
+ if ("gene" === input3.kind)
261
+ return $io32(input3);
262
+ if ("coord" === input3.kind)
263
+ return $io33(input3);
264
+ return false;
265
+ })();
266
+ const $iu11 = (input3) => (() => {
267
+ if ("regular-bin" === input3.type)
268
+ return $io22(input3);
269
+ if ("continuous" === input3.mode)
270
+ return $io40(input3);
271
+ if ("spline" === input3.mode)
272
+ return $io41(input3);
273
+ return (() => {
274
+ if ($io26(input3))
275
+ return $io26(input3);
276
+ if ($io39(input3))
277
+ return $io39(input3);
278
+ return false;
279
+ })();
280
+ })();
281
+ const $iu12 = (input3) => (() => {
282
+ if (void 0 !== input3.ranges)
283
+ return $io19(input3);
284
+ return (() => {
285
+ if ($io12(input3))
286
+ return $io12(input3);
287
+ if ($io28(input3))
288
+ return $io28(input3);
289
+ if ($io31(input3))
290
+ return $io31(input3);
291
+ return false;
292
+ })();
293
+ })();
294
+ const $iu13 = (input3) => (() => {
295
+ if ("categorical" === input3.type)
296
+ return $io51(input3);
297
+ if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
298
+ return $io52(input3);
299
+ if ("condition" === input3.type)
300
+ return $io53(input3);
301
+ if ("gene" === input3.kind)
302
+ return $io54(input3);
303
+ if ("coord" === input3.kind)
304
+ return $io55(input3);
305
+ return (() => {
306
+ if ($io56(input3))
307
+ return $io56(input3);
308
+ if ($io57(input3))
309
+ return $io57(input3);
310
+ return false;
311
+ })();
312
+ })();
313
+ const $iu14 = (input3) => (() => {
314
+ if (void 0 !== input3.bin_size)
315
+ return $io22(input3);
316
+ if (void 0 !== input3.knots)
317
+ return $io41(input3);
318
+ if (void 0 !== input3.AFcutoff)
319
+ return $io44(input3);
320
+ if (void 0 !== input3.timeScale)
321
+ return $io62(input3);
322
+ return (() => {
323
+ if (void 0 !== input3.groups)
324
+ return $io66(input3);
325
+ return (() => {
326
+ if ($io3(input3))
327
+ return $io3(input3);
328
+ if ($io5(input3))
329
+ return $io5(input3);
330
+ if ($io6(input3))
331
+ return $io6(input3);
332
+ if ($io26(input3))
333
+ return $io26(input3);
334
+ if ($io39(input3))
335
+ return $io39(input3);
336
+ if ($io40(input3))
337
+ return $io40(input3);
338
+ if ($io61(input3))
339
+ return $io61(input3);
340
+ if ($io63(input3))
341
+ return $io63(input3);
342
+ if ($io64(input3))
343
+ return $io64(input3);
344
+ if ($io65(input3))
345
+ return $io65(input3);
346
+ return false;
347
+ })();
348
+ })();
349
+ })();
350
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
351
+ };
352
+ if (false === __is(input)) {
353
+ const $report = import_typia.createValidate.report(errors);
354
+ ((input2, _path, _exceptionable = true) => {
355
+ const $join = import_typia.createValidate.join;
356
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
357
+ path: _path2 + ".genome",
358
+ expected: "string",
359
+ value: input3.genome
360
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
361
+ path: _path2 + ".dslabel",
362
+ expected: "string",
363
+ value: input3.dslabel
364
+ }), "string" === typeof input3.embedder || $report(_exceptionable2, {
365
+ path: _path2 + ".embedder",
366
+ expected: "string",
367
+ value: input3.embedder
368
+ }), ("object" === typeof input3.tw && null !== input3.tw || $report(_exceptionable2, {
369
+ path: _path2 + ".tw",
370
+ expected: "(BaseTW & { term: Term; q: Q; } | CategoricalTW | NumericTW | SnpsTW)",
371
+ value: input3.tw
372
+ })) && $vu6(input3.tw, _path2 + ".tw", _exceptionable2) || $report(_exceptionable2, {
373
+ path: _path2 + ".tw",
374
+ expected: "(BaseTW & { term: Term; q: Q; } | CategoricalTW | NumericTW | SnpsTW)",
375
+ value: input3.tw
376
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
377
+ path: _path2 + ".filter",
378
+ expected: "(Filter | undefined)",
379
+ value: input3.filter
380
+ })) && $vo11(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
381
+ path: _path2 + ".filter",
382
+ expected: "(Filter | undefined)",
383
+ value: input3.filter
384
+ }), void 0 === input3.currentGeneNames || (Array.isArray(input3.currentGeneNames) || $report(_exceptionable2, {
385
+ path: _path2 + ".currentGeneNames",
386
+ expected: "(Array<string> | undefined)",
387
+ value: input3.currentGeneNames
388
+ })) && input3.currentGeneNames.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
389
+ path: _path2 + ".currentGeneNames[" + _index1 + "]",
390
+ expected: "string",
391
+ value: elem
392
+ })).every((flag) => flag) || $report(_exceptionable2, {
393
+ path: _path2 + ".currentGeneNames",
394
+ expected: "(Array<string> | undefined)",
395
+ value: input3.currentGeneNames
396
+ }), true].every((flag) => flag);
397
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
398
+ path: _path2 + ".id",
399
+ expected: "(string | undefined)",
400
+ value: input3.id
401
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
402
+ path: _path2 + ".$id",
403
+ expected: "(string | undefined)",
404
+ value: input3.$id
405
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
406
+ path: _path2 + ".isAtomic",
407
+ expected: "(true | undefined)",
408
+ value: input3.isAtomic
409
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
410
+ path: _path2 + ".settings",
411
+ expected: "(__type | undefined)",
412
+ value: input3.settings
413
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
414
+ path: _path2 + ".settings",
415
+ expected: "(__type | undefined)",
416
+ value: input3.settings
417
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
418
+ path: _path2 + ".minNumSamples",
419
+ expected: "(number | undefined)",
420
+ value: input3.minNumSamples
421
+ }), true, "CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type || $report(_exceptionable2, {
422
+ path: _path2 + ".type",
423
+ expected: '("CatTWCustomGS" | "CatTWPredefinedGS" | "CatTWValues")',
424
+ value: input3.type
425
+ }), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
426
+ path: _path2 + ".q",
427
+ expected: "(CustomGroupSettingQ | PredefinedGroupSettingQ | ValuesQ)",
428
+ value: input3.q
429
+ })) && $vu7(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
430
+ path: _path2 + ".q",
431
+ expected: "(CustomGroupSettingQ | PredefinedGroupSettingQ | ValuesQ)",
432
+ value: input3.q
433
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
434
+ path: _path2 + ".term",
435
+ expected: "CategoricalTerm",
436
+ value: input3.term
437
+ })) && $vo13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
438
+ path: _path2 + ".term",
439
+ expected: "CategoricalTerm",
440
+ value: input3.term
441
+ })].every((flag) => flag);
442
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
443
+ const value = input3[key];
444
+ if (void 0 === value)
445
+ return true;
446
+ if (RegExp(/(.*)/).test(key))
447
+ return true;
448
+ return true;
449
+ }).every((flag) => flag)].every((flag) => flag);
450
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
451
+ path: _path2 + ".hiddenValues",
452
+ expected: "(HiddenValues | undefined)",
453
+ value: input3.hiddenValues
454
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
455
+ path: _path2 + ".hiddenValues",
456
+ expected: "(HiddenValues | undefined)",
457
+ value: input3.hiddenValues
458
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
459
+ path: _path2 + ".isAtomic",
460
+ expected: "(true | undefined)",
461
+ value: input3.isAtomic
462
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
463
+ path: _path2 + ".name",
464
+ expected: "(string | undefined)",
465
+ value: input3.name
466
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
467
+ path: _path2 + ".reuseId",
468
+ expected: "(string | undefined)",
469
+ value: input3.reuseId
470
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
471
+ path: _path2 + ".mode",
472
+ expected: '("binary" | "discrete" | undefined)',
473
+ value: input3.mode
474
+ }), "values" === input3.type || $report(_exceptionable2, {
475
+ path: _path2 + ".type",
476
+ expected: '"values"',
477
+ value: input3.type
478
+ })].every((flag) => flag);
479
+ const $vo4 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
480
+ const value = input3[key];
481
+ if (void 0 === value)
482
+ return true;
483
+ if (RegExp(/(.*)/).test(key))
484
+ return "number" === typeof value || $report(_exceptionable2, {
485
+ path: _path2 + $join(key),
486
+ expected: "number",
487
+ value
488
+ });
489
+ return true;
490
+ }).every((flag) => flag)].every((flag) => flag);
491
+ const $vo5 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
492
+ path: _path2 + ".hiddenValues",
493
+ expected: "(HiddenValues | undefined)",
494
+ value: input3.hiddenValues
495
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
496
+ path: _path2 + ".hiddenValues",
497
+ expected: "(HiddenValues | undefined)",
498
+ value: input3.hiddenValues
499
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
500
+ path: _path2 + ".isAtomic",
501
+ expected: "(true | undefined)",
502
+ value: input3.isAtomic
503
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
504
+ path: _path2 + ".name",
505
+ expected: "(string | undefined)",
506
+ value: input3.name
507
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
508
+ path: _path2 + ".reuseId",
509
+ expected: "(string | undefined)",
510
+ value: input3.reuseId
511
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
512
+ path: _path2 + ".mode",
513
+ expected: '("binary" | "discrete" | undefined)',
514
+ value: input3.mode
515
+ }), "predefined-groupset" === input3.type || $report(_exceptionable2, {
516
+ path: _path2 + ".type",
517
+ expected: '"predefined-groupset"',
518
+ value: input3.type
519
+ }), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
520
+ path: _path2 + ".predefined_groupset_idx",
521
+ expected: "number",
522
+ value: input3.predefined_groupset_idx
523
+ })].every((flag) => flag);
524
+ const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
525
+ path: _path2 + ".hiddenValues",
526
+ expected: "(HiddenValues | undefined)",
527
+ value: input3.hiddenValues
528
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
529
+ path: _path2 + ".hiddenValues",
530
+ expected: "(HiddenValues | undefined)",
531
+ value: input3.hiddenValues
532
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
533
+ path: _path2 + ".isAtomic",
534
+ expected: "(true | undefined)",
535
+ value: input3.isAtomic
536
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
537
+ path: _path2 + ".name",
538
+ expected: "(string | undefined)",
539
+ value: input3.name
540
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
541
+ path: _path2 + ".reuseId",
542
+ expected: "(string | undefined)",
543
+ value: input3.reuseId
544
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
545
+ path: _path2 + ".mode",
546
+ expected: '("binary" | "discrete" | undefined)',
547
+ value: input3.mode
548
+ }), "custom-groupset" === input3.type || $report(_exceptionable2, {
549
+ path: _path2 + ".type",
550
+ expected: '"custom-groupset"',
551
+ value: input3.type
552
+ }), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
553
+ path: _path2 + ".customset",
554
+ expected: "BaseGroupSet",
555
+ value: input3.customset
556
+ })) && $vo7(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
557
+ path: _path2 + ".customset",
558
+ expected: "BaseGroupSet",
559
+ value: input3.customset
560
+ })].every((flag) => flag);
561
+ const $vo7 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.groups) || $report(_exceptionable2, {
562
+ path: _path2 + ".groups",
563
+ expected: "Array<GroupEntry>",
564
+ value: input3.groups
565
+ })) && input3.groups.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
566
+ path: _path2 + ".groups[" + _index2 + "]",
567
+ expected: "(FilterGroup | ValuesGroup)",
568
+ value: elem
569
+ })) && $vu0(elem, _path2 + ".groups[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
570
+ path: _path2 + ".groups[" + _index2 + "]",
571
+ expected: "(FilterGroup | ValuesGroup)",
572
+ value: elem
573
+ })).every((flag) => flag) || $report(_exceptionable2, {
574
+ path: _path2 + ".groups",
575
+ expected: "Array<GroupEntry>",
576
+ value: input3.groups
577
+ })].every((flag) => flag);
578
+ const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
579
+ path: _path2 + ".name",
580
+ expected: "string",
581
+ value: input3.name
582
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
583
+ path: _path2 + ".type",
584
+ expected: "string",
585
+ value: input3.type
586
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
587
+ path: _path2 + ".values",
588
+ expected: "Array<__type>",
589
+ value: input3.values
590
+ })) && input3.values.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
591
+ path: _path2 + ".values[" + _index3 + "]",
592
+ expected: "__type.o1",
593
+ value: elem
594
+ })) && $vo9(elem, _path2 + ".values[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
595
+ path: _path2 + ".values[" + _index3 + "]",
596
+ expected: "__type.o1",
597
+ value: elem
598
+ })).every((flag) => flag) || $report(_exceptionable2, {
599
+ path: _path2 + ".values",
600
+ expected: "Array<__type>",
601
+ value: input3.values
602
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
603
+ path: _path2 + ".uncomputable",
604
+ expected: "(boolean | undefined)",
605
+ value: input3.uncomputable
606
+ })].every((flag) => flag);
607
+ const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
608
+ path: _path2 + ".key",
609
+ expected: "(number | string)",
610
+ value: input3.key
611
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
612
+ path: _path2 + ".label",
613
+ expected: "string",
614
+ value: input3.label
615
+ })].every((flag) => flag);
616
+ const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
617
+ path: _path2 + ".name",
618
+ expected: "string",
619
+ value: input3.name
620
+ }), "filter" === input3.type || $report(_exceptionable2, {
621
+ path: _path2 + ".type",
622
+ expected: '"filter"',
623
+ value: input3.type
624
+ }), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
625
+ path: _path2 + ".filter",
626
+ expected: "Filter",
627
+ value: input3.filter
628
+ })) && $vo11(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
629
+ path: _path2 + ".filter",
630
+ expected: "Filter",
631
+ value: input3.filter
632
+ })].every((flag) => flag);
633
+ const $vo11 = (input3, _path2, _exceptionable2 = true) => ["lst" === input3.type || $report(_exceptionable2, {
634
+ path: _path2 + ".type",
635
+ expected: '"lst"',
636
+ value: input3.type
637
+ }), void 0 === input3["in"] || "boolean" === typeof input3["in"] || $report(_exceptionable2, {
638
+ path: _path2 + '["in"]',
639
+ expected: "(boolean | undefined)",
640
+ value: input3["in"]
641
+ }), "and" === input3.join || "or" === input3.join || $report(_exceptionable2, {
642
+ path: _path2 + ".join",
643
+ expected: '("and" | "or")',
644
+ value: input3.join
645
+ }), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
646
+ path: _path2 + ".tag",
647
+ expected: "(string | undefined)",
648
+ value: input3.tag
649
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
650
+ path: _path2 + ".lst",
651
+ expected: "Array<Filter | Tvs>",
652
+ value: input3.lst
653
+ })) && input3.lst.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
654
+ path: _path2 + ".lst[" + _index4 + "]",
655
+ expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
656
+ value: elem
657
+ })) && $vu1(elem, _path2 + ".lst[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
658
+ path: _path2 + ".lst[" + _index4 + "]",
659
+ expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
660
+ value: elem
661
+ })).every((flag) => flag) || $report(_exceptionable2, {
662
+ path: _path2 + ".lst",
663
+ expected: "Array<Filter | Tvs>",
664
+ value: input3.lst
665
+ })].every((flag) => flag);
666
+ const $vo12 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
667
+ path: _path2 + ".join",
668
+ expected: "(string | undefined)",
669
+ value: input3.join
670
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
671
+ path: _path2 + ".isnot",
672
+ expected: "(boolean | undefined)",
673
+ value: input3.isnot
674
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
675
+ path: _path2 + ".term",
676
+ expected: "CategoricalTerm",
677
+ value: input3.term
678
+ })) && $vo13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
679
+ path: _path2 + ".term",
680
+ expected: "CategoricalTerm",
681
+ value: input3.term
682
+ }), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
683
+ path: _path2 + ".groupset_label",
684
+ expected: "(string | undefined)",
685
+ value: input3.groupset_label
686
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
687
+ path: _path2 + ".values",
688
+ expected: "Array<BaseValue>",
689
+ value: input3.values
690
+ })) && input3.values.map((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
691
+ path: _path2 + ".values[" + _index5 + "]",
692
+ expected: "BaseValue",
693
+ value: elem
694
+ })) && $vo15(elem, _path2 + ".values[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
695
+ path: _path2 + ".values[" + _index5 + "]",
696
+ expected: "BaseValue",
697
+ value: elem
698
+ })).every((flag) => flag) || $report(_exceptionable2, {
699
+ path: _path2 + ".values",
700
+ expected: "Array<BaseValue>",
701
+ value: input3.values
702
+ })].every((flag) => flag);
703
+ const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
704
+ path: _path2 + ".id",
705
+ expected: "string",
706
+ value: input3.id
707
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
708
+ path: _path2 + ".name",
709
+ expected: "string",
710
+ value: input3.name
711
+ }), "categorical" === input3.type || $report(_exceptionable2, {
712
+ path: _path2 + ".type",
713
+ expected: '"categorical"',
714
+ value: input3.type
715
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
716
+ path: _path2 + ".child_types",
717
+ expected: "(Array<string> | undefined)",
718
+ value: input3.child_types
719
+ })) && input3.child_types.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
720
+ path: _path2 + ".child_types[" + _index6 + "]",
721
+ expected: "string",
722
+ value: elem
723
+ })).every((flag) => flag) || $report(_exceptionable2, {
724
+ path: _path2 + ".child_types",
725
+ expected: "(Array<string> | undefined)",
726
+ value: input3.child_types
727
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
728
+ path: _path2 + ".hashtmldetail",
729
+ expected: "(boolean | undefined)",
730
+ value: input3.hashtmldetail
731
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
732
+ path: _path2 + ".included_types",
733
+ expected: "(Array<string> | undefined)",
734
+ value: input3.included_types
735
+ })) && input3.included_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
736
+ path: _path2 + ".included_types[" + _index7 + "]",
737
+ expected: "string",
738
+ value: elem
739
+ })).every((flag) => flag) || $report(_exceptionable2, {
740
+ path: _path2 + ".included_types",
741
+ expected: "(Array<string> | undefined)",
742
+ value: input3.included_types
743
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
744
+ path: _path2 + ".isleaf",
745
+ expected: "(boolean | undefined)",
746
+ value: input3.isleaf
747
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
748
+ path: _path2 + ".values",
749
+ expected: "(TermValues | undefined)",
750
+ value: input3.values
751
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
752
+ path: _path2 + ".values",
753
+ expected: "(TermValues | undefined)",
754
+ value: input3.values
755
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
756
+ path: _path2 + ".groupsetting",
757
+ expected: "(EnabledTermGroupSetting | __type.o2)",
758
+ value: input3.groupsetting
759
+ })) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
760
+ path: _path2 + ".groupsetting",
761
+ expected: "(EnabledTermGroupSetting | __type.o2)",
762
+ value: input3.groupsetting
763
+ })].every((flag) => flag);
764
+ const $vo14 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
765
+ const value = input3[key];
766
+ if (void 0 === value)
767
+ return true;
768
+ if (RegExp(/(.*)/).test(key))
769
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
770
+ path: _path2 + $join(key),
771
+ expected: "BaseValue",
772
+ value
773
+ })) && $vo15(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
774
+ path: _path2 + $join(key),
775
+ expected: "BaseValue",
776
+ value
777
+ });
778
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
779
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
780
+ path: _path2 + $join(key),
781
+ expected: "BaseValue",
782
+ value
783
+ })) && $vo15(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
784
+ path: _path2 + $join(key),
785
+ expected: "BaseValue",
786
+ value
787
+ });
788
+ return true;
789
+ }).every((flag) => flag)].every((flag) => flag);
790
+ const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
791
+ path: _path2 + ".key",
792
+ expected: "(string | undefined)",
793
+ value: input3.key
794
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
795
+ path: _path2 + ".uncomputable",
796
+ expected: "(boolean | undefined)",
797
+ value: input3.uncomputable
798
+ }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
799
+ path: _path2 + ".label",
800
+ expected: "(number | string | undefined)",
801
+ value: input3.label
802
+ }), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
803
+ path: _path2 + ".order",
804
+ expected: "(string | undefined)",
805
+ value: input3.order
806
+ }), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
807
+ path: _path2 + ".color",
808
+ expected: "(string | undefined)",
809
+ value: input3.color
810
+ }), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
811
+ path: _path2 + ".group",
812
+ expected: "(number | undefined)",
813
+ value: input3.group
814
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
815
+ path: _path2 + ".filter",
816
+ expected: "(Filter | undefined)",
817
+ value: input3.filter
818
+ })) && $vo11(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
819
+ path: _path2 + ".filter",
820
+ expected: "(Filter | undefined)",
821
+ value: input3.filter
822
+ })].every((flag) => flag);
823
+ const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
824
+ path: _path2 + ".disabled",
825
+ expected: "(boolean | undefined)",
826
+ value: input3.disabled
827
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
828
+ path: _path2 + ".lst",
829
+ expected: "Array<Groupset>",
830
+ value: input3.lst
831
+ })) && input3.lst.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
832
+ path: _path2 + ".lst[" + _index8 + "]",
833
+ expected: "Groupset",
834
+ value: elem
835
+ })) && $vo17(elem, _path2 + ".lst[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
836
+ path: _path2 + ".lst[" + _index8 + "]",
837
+ expected: "Groupset",
838
+ value: elem
839
+ })).every((flag) => flag) || $report(_exceptionable2, {
840
+ path: _path2 + ".lst",
841
+ expected: "Array<Groupset>",
842
+ value: input3.lst
843
+ })].every((flag) => flag);
844
+ const $vo17 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
845
+ path: _path2 + ".name",
846
+ expected: "string",
847
+ value: input3.name
848
+ }), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
849
+ path: _path2 + ".is_grade",
850
+ expected: "(boolean | undefined)",
851
+ value: input3.is_grade
852
+ }), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
853
+ path: _path2 + ".is_subcondition",
854
+ expected: "(boolean | undefined)",
855
+ value: input3.is_subcondition
856
+ }), (Array.isArray(input3.groups) || $report(_exceptionable2, {
857
+ path: _path2 + ".groups",
858
+ expected: "Array<GroupEntry>",
859
+ value: input3.groups
860
+ })) && input3.groups.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
861
+ path: _path2 + ".groups[" + _index9 + "]",
862
+ expected: "(FilterGroup | ValuesGroup)",
863
+ value: elem
864
+ })) && $vu0(elem, _path2 + ".groups[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
865
+ path: _path2 + ".groups[" + _index9 + "]",
866
+ expected: "(FilterGroup | ValuesGroup)",
867
+ value: elem
868
+ })).every((flag) => flag) || $report(_exceptionable2, {
869
+ path: _path2 + ".groups",
870
+ expected: "Array<GroupEntry>",
871
+ value: input3.groups
872
+ })].every((flag) => flag);
873
+ const $vo18 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
874
+ path: _path2 + ".disabled",
875
+ expected: "boolean",
876
+ value: input3.disabled
877
+ }), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
878
+ path: _path2 + ".lst",
879
+ expected: "([] | undefined)",
880
+ value: input3.lst
881
+ })) && ((input3.lst.length === 0 || $report(_exceptionable2, {
882
+ path: _path2 + ".lst",
883
+ expected: "[]",
884
+ value: input3.lst
885
+ })) && [].every((flag) => flag)) || $report(_exceptionable2, {
886
+ path: _path2 + ".lst",
887
+ expected: "([] | undefined)",
888
+ value: input3.lst
889
+ })].every((flag) => flag);
890
+ const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
891
+ path: _path2 + ".join",
892
+ expected: "(string | undefined)",
893
+ value: input3.join
894
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
895
+ path: _path2 + ".isnot",
896
+ expected: "(boolean | undefined)",
897
+ value: input3.isnot
898
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
899
+ path: _path2 + ".term",
900
+ expected: "NumericTerm",
901
+ value: input3.term
902
+ })) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
903
+ path: _path2 + ".term",
904
+ expected: "NumericTerm",
905
+ value: input3.term
906
+ }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
907
+ path: _path2 + ".ranges",
908
+ expected: "Array<NumericBin>",
909
+ value: input3.ranges
910
+ })) && input3.ranges.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
911
+ path: _path2 + ".ranges[" + _index10 + "]",
912
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
913
+ value: elem
914
+ })) && $vu2(elem, _path2 + ".ranges[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
915
+ path: _path2 + ".ranges[" + _index10 + "]",
916
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
917
+ value: elem
918
+ })).every((flag) => flag) || $report(_exceptionable2, {
919
+ path: _path2 + ".ranges",
920
+ expected: "Array<NumericBin>",
921
+ value: input3.ranges
922
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
923
+ path: _path2 + ".values",
924
+ expected: "Array<__type>.o1",
925
+ value: input3.values
926
+ })) && input3.values.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
927
+ path: _path2 + ".values[" + _index11 + "]",
928
+ expected: "__type.o3",
929
+ value: elem
930
+ })) && $vo27(elem, _path2 + ".values[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
931
+ path: _path2 + ".values[" + _index11 + "]",
932
+ expected: "__type.o3",
933
+ value: elem
934
+ })).every((flag) => flag) || $report(_exceptionable2, {
935
+ path: _path2 + ".values",
936
+ expected: "Array<__type>.o1",
937
+ value: input3.values
938
+ })].every((flag) => flag);
939
+ const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
940
+ path: _path2 + ".id",
941
+ expected: "string",
942
+ value: input3.id
943
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
944
+ path: _path2 + ".name",
945
+ expected: "string",
946
+ value: input3.name
947
+ }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
948
+ path: _path2 + ".type",
949
+ expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
950
+ value: input3.type
951
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
952
+ path: _path2 + ".child_types",
953
+ expected: "(Array<string> | undefined)",
954
+ value: input3.child_types
955
+ })) && input3.child_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
956
+ path: _path2 + ".child_types[" + _index12 + "]",
957
+ expected: "string",
958
+ value: elem
959
+ })).every((flag) => flag) || $report(_exceptionable2, {
960
+ path: _path2 + ".child_types",
961
+ expected: "(Array<string> | undefined)",
962
+ value: input3.child_types
963
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
964
+ path: _path2 + ".hashtmldetail",
965
+ expected: "(boolean | undefined)",
966
+ value: input3.hashtmldetail
967
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
968
+ path: _path2 + ".included_types",
969
+ expected: "(Array<string> | undefined)",
970
+ value: input3.included_types
971
+ })) && input3.included_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
972
+ path: _path2 + ".included_types[" + _index13 + "]",
973
+ expected: "string",
974
+ value: elem
975
+ })).every((flag) => flag) || $report(_exceptionable2, {
976
+ path: _path2 + ".included_types",
977
+ expected: "(Array<string> | undefined)",
978
+ value: input3.included_types
979
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
980
+ path: _path2 + ".isleaf",
981
+ expected: "(boolean | undefined)",
982
+ value: input3.isleaf
983
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
984
+ path: _path2 + ".values",
985
+ expected: "(TermValues | undefined)",
986
+ value: input3.values
987
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
988
+ path: _path2 + ".values",
989
+ expected: "(TermValues | undefined)",
990
+ value: input3.values
991
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
992
+ path: _path2 + ".bins",
993
+ expected: "PresetNumericBins",
994
+ value: input3.bins
995
+ })) && $vo21(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
996
+ path: _path2 + ".bins",
997
+ expected: "PresetNumericBins",
998
+ value: input3.bins
999
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1000
+ path: _path2 + ".unit",
1001
+ expected: "(string | undefined)",
1002
+ value: input3.unit
1003
+ })].every((flag) => flag);
1004
+ const $vo21 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
1005
+ path: _path2 + '["default"]',
1006
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
1007
+ value: input3["default"]
1008
+ })) && $vu9(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
1009
+ path: _path2 + '["default"]',
1010
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
1011
+ value: input3["default"]
1012
+ }), ("object" === typeof input3.less && null !== input3.less || $report(_exceptionable2, {
1013
+ path: _path2 + ".less",
1014
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
1015
+ value: input3.less
1016
+ })) && $vu9(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
1017
+ path: _path2 + ".less",
1018
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
1019
+ value: input3.less
1020
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
1021
+ path: _path2 + ".label_offset",
1022
+ expected: "(number | undefined)",
1023
+ value: input3.label_offset
1024
+ }), void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored || $report(_exceptionable2, {
1025
+ path: _path2 + ".label_offset_ignored",
1026
+ expected: "(boolean | undefined)",
1027
+ value: input3.label_offset_ignored
1028
+ }), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
1029
+ path: _path2 + ".rounding",
1030
+ expected: "(string | undefined)",
1031
+ value: input3.rounding
1032
+ }), void 0 === input3.min || "number" === typeof input3.min || $report(_exceptionable2, {
1033
+ path: _path2 + ".min",
1034
+ expected: "(number | undefined)",
1035
+ value: input3.min
1036
+ }), void 0 === input3.max || "number" === typeof input3.max || $report(_exceptionable2, {
1037
+ path: _path2 + ".max",
1038
+ expected: "(number | undefined)",
1039
+ value: input3.max
1040
+ })].every((flag) => flag);
1041
+ const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1042
+ path: _path2 + ".hiddenValues",
1043
+ expected: "(HiddenValues | undefined)",
1044
+ value: input3.hiddenValues
1045
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1046
+ path: _path2 + ".hiddenValues",
1047
+ expected: "(HiddenValues | undefined)",
1048
+ value: input3.hiddenValues
1049
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1050
+ path: _path2 + ".isAtomic",
1051
+ expected: "(true | undefined)",
1052
+ value: input3.isAtomic
1053
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1054
+ path: _path2 + ".name",
1055
+ expected: "(string | undefined)",
1056
+ value: input3.name
1057
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1058
+ path: _path2 + ".reuseId",
1059
+ expected: "(string | undefined)",
1060
+ value: input3.reuseId
1061
+ }), "regular-bin" === input3.type || $report(_exceptionable2, {
1062
+ path: _path2 + ".type",
1063
+ expected: '"regular-bin"',
1064
+ value: input3.type
1065
+ }), void 0 === input3.mode || "discrete" === input3.mode || $report(_exceptionable2, {
1066
+ path: _path2 + ".mode",
1067
+ expected: '("discrete" | undefined)',
1068
+ value: input3.mode
1069
+ }), "number" === typeof input3.bin_size || $report(_exceptionable2, {
1070
+ path: _path2 + ".bin_size",
1071
+ expected: "number",
1072
+ value: input3.bin_size
1073
+ }), ("object" === typeof input3.first_bin && null !== input3.first_bin || $report(_exceptionable2, {
1074
+ path: _path2 + ".first_bin",
1075
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
1076
+ value: input3.first_bin
1077
+ })) && $vu4(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
1078
+ path: _path2 + ".first_bin",
1079
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
1080
+ value: input3.first_bin
1081
+ }), void 0 === input3.last_bin || ("object" === typeof input3.last_bin && null !== input3.last_bin || $report(_exceptionable2, {
1082
+ path: _path2 + ".last_bin",
1083
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
1084
+ value: input3.last_bin
1085
+ })) && $vu5(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
1086
+ path: _path2 + ".last_bin",
1087
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
1088
+ value: input3.last_bin
1089
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
1090
+ path: _path2 + ".label_offset",
1091
+ expected: "(number | undefined)",
1092
+ value: input3.label_offset
1093
+ })].every((flag) => flag);
1094
+ const $vo23 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
1095
+ path: _path2 + ".startunbounded",
1096
+ expected: "true",
1097
+ value: input3.startunbounded
1098
+ }), void 0 === input3.startinclusive || false === input3.startinclusive || $report(_exceptionable2, {
1099
+ path: _path2 + ".startinclusive",
1100
+ expected: "(false | undefined)",
1101
+ value: input3.startinclusive
1102
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1103
+ path: _path2 + ".stop",
1104
+ expected: "number",
1105
+ value: input3.stop
1106
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
1107
+ path: _path2 + ".stopinclusive",
1108
+ expected: "(boolean | undefined)",
1109
+ value: input3.stopinclusive
1110
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
1111
+ path: _path2 + ".stopunbounded",
1112
+ expected: "(false | undefined)",
1113
+ value: input3.stopunbounded
1114
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1115
+ path: _path2 + ".label",
1116
+ expected: "(string | undefined)",
1117
+ value: input3.label
1118
+ })].every((flag) => flag);
1119
+ const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
1120
+ path: _path2 + ".startunbounded",
1121
+ expected: "(false | undefined)",
1122
+ value: input3.startunbounded
1123
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
1124
+ path: _path2 + ".startinclusive",
1125
+ expected: "(boolean | undefined)",
1126
+ value: input3.startinclusive
1127
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1128
+ path: _path2 + ".start",
1129
+ expected: "number",
1130
+ value: input3.start
1131
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1132
+ path: _path2 + ".stop",
1133
+ expected: "number",
1134
+ value: input3.stop
1135
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
1136
+ path: _path2 + ".stopinclusive",
1137
+ expected: "(boolean | undefined)",
1138
+ value: input3.stopinclusive
1139
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
1140
+ path: _path2 + ".stopunbounded",
1141
+ expected: "(false | undefined)",
1142
+ value: input3.stopunbounded
1143
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1144
+ path: _path2 + ".label",
1145
+ expected: "(string | undefined)",
1146
+ value: input3.label
1147
+ })].every((flag) => flag);
1148
+ const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
1149
+ path: _path2 + ".start",
1150
+ expected: "number",
1151
+ value: input3.start
1152
+ }), true === input3.stopunbounded || $report(_exceptionable2, {
1153
+ path: _path2 + ".stopunbounded",
1154
+ expected: "true",
1155
+ value: input3.stopunbounded
1156
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
1157
+ path: _path2 + ".startinclusive",
1158
+ expected: "(boolean | undefined)",
1159
+ value: input3.startinclusive
1160
+ }), void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
1161
+ path: _path2 + ".startunbounded",
1162
+ expected: "(false | undefined)",
1163
+ value: input3.startunbounded
1164
+ }), void 0 === input3.stopinclusive || false === input3.stopinclusive || $report(_exceptionable2, {
1165
+ path: _path2 + ".stopinclusive",
1166
+ expected: "(false | undefined)",
1167
+ value: input3.stopinclusive
1168
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1169
+ path: _path2 + ".label",
1170
+ expected: "(string | undefined)",
1171
+ value: input3.label
1172
+ })].every((flag) => flag);
1173
+ const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1174
+ path: _path2 + ".hiddenValues",
1175
+ expected: "(HiddenValues | undefined)",
1176
+ value: input3.hiddenValues
1177
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1178
+ path: _path2 + ".hiddenValues",
1179
+ expected: "(HiddenValues | undefined)",
1180
+ value: input3.hiddenValues
1181
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1182
+ path: _path2 + ".isAtomic",
1183
+ expected: "(true | undefined)",
1184
+ value: input3.isAtomic
1185
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1186
+ path: _path2 + ".name",
1187
+ expected: "(string | undefined)",
1188
+ value: input3.name
1189
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1190
+ path: _path2 + ".reuseId",
1191
+ expected: "(string | undefined)",
1192
+ value: input3.reuseId
1193
+ }), "custom-bin" === input3.type || $report(_exceptionable2, {
1194
+ path: _path2 + ".type",
1195
+ expected: '"custom-bin"',
1196
+ value: input3.type
1197
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
1198
+ path: _path2 + ".mode",
1199
+ expected: '("binary" | "discrete" | undefined)',
1200
+ value: input3.mode
1201
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
1202
+ path: _path2 + ".lst",
1203
+ expected: "[NumericBin, ...NumericBin[]]",
1204
+ value: input3.lst
1205
+ })) && ([
1206
+ ("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
1207
+ path: _path2 + ".lst[0]",
1208
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1209
+ value: input3.lst[0]
1210
+ })) && $vu2(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
1211
+ path: _path2 + ".lst[0]",
1212
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1213
+ value: input3.lst[0]
1214
+ })
1215
+ ].every((flag) => flag) && ((Array.isArray(input3.lst.slice(1)) || $report(_exceptionable2, {
1216
+ path: _path2 + ".lst",
1217
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1218
+ value: input3.lst.slice(1)
1219
+ })) && input3.lst.slice(1).map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1220
+ path: _path2 + ".lst[" + (1 + _index14) + "]",
1221
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1222
+ value: elem
1223
+ })) && $vu2(elem, _path2 + ".lst[" + (1 + _index14) + "]", _exceptionable2) || $report(_exceptionable2, {
1224
+ path: _path2 + ".lst[" + (1 + _index14) + "]",
1225
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1226
+ value: elem
1227
+ })).every((flag) => flag) || $report(_exceptionable2, {
1228
+ path: _path2 + ".lst",
1229
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1230
+ value: input3.lst.slice(1)
1231
+ }))) || $report(_exceptionable2, {
1232
+ path: _path2 + ".lst",
1233
+ expected: "[NumericBin, ...NumericBin[]]",
1234
+ value: input3.lst
1235
+ }), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
1236
+ path: _path2 + ".preferredBins",
1237
+ expected: '("median" | undefined)',
1238
+ value: input3.preferredBins
1239
+ })].every((flag) => flag);
1240
+ const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1241
+ path: _path2 + ".key",
1242
+ expected: "string",
1243
+ value: input3.key
1244
+ }), "number" === typeof input3.value || $report(_exceptionable2, {
1245
+ path: _path2 + ".value",
1246
+ expected: "number",
1247
+ value: input3.value
1248
+ }), true === input3.uncomputable || $report(_exceptionable2, {
1249
+ path: _path2 + ".uncomputable",
1250
+ expected: "true",
1251
+ value: input3.uncomputable
1252
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1253
+ path: _path2 + ".label",
1254
+ expected: "(string | undefined)",
1255
+ value: input3.label
1256
+ })].every((flag) => flag);
1257
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1258
+ path: _path2 + ".join",
1259
+ expected: "(string | undefined)",
1260
+ value: input3.join
1261
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
1262
+ path: _path2 + ".isnot",
1263
+ expected: "(boolean | undefined)",
1264
+ value: input3.isnot
1265
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1266
+ path: _path2 + ".term",
1267
+ expected: "ConditionTerm",
1268
+ value: input3.term
1269
+ })) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1270
+ path: _path2 + ".term",
1271
+ expected: "ConditionTerm",
1272
+ value: input3.term
1273
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
1274
+ path: _path2 + ".value_by_max_grade",
1275
+ expected: "(boolean | undefined)",
1276
+ value: input3.value_by_max_grade
1277
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
1278
+ path: _path2 + ".value_by_most_recent",
1279
+ expected: "(boolean | undefined)",
1280
+ value: input3.value_by_most_recent
1281
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
1282
+ path: _path2 + ".value_by_computable_grade",
1283
+ expected: "(boolean | undefined)",
1284
+ value: input3.value_by_computable_grade
1285
+ }), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
1286
+ path: _path2 + ".grade_and_child",
1287
+ expected: "(Array<GradeAndChildEntry> | undefined)",
1288
+ value: input3.grade_and_child
1289
+ })) && input3.grade_and_child.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1290
+ path: _path2 + ".grade_and_child[" + _index15 + "]",
1291
+ expected: "GradeAndChildEntry",
1292
+ value: elem
1293
+ })) && $vo30(elem, _path2 + ".grade_and_child[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
1294
+ path: _path2 + ".grade_and_child[" + _index15 + "]",
1295
+ expected: "GradeAndChildEntry",
1296
+ value: elem
1297
+ })).every((flag) => flag) || $report(_exceptionable2, {
1298
+ path: _path2 + ".grade_and_child",
1299
+ expected: "(Array<GradeAndChildEntry> | undefined)",
1300
+ value: input3.grade_and_child
1301
+ })].every((flag) => flag);
1302
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1303
+ path: _path2 + ".id",
1304
+ expected: "string",
1305
+ value: input3.id
1306
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1307
+ path: _path2 + ".name",
1308
+ expected: "string",
1309
+ value: input3.name
1310
+ }), "condition" === input3.type || $report(_exceptionable2, {
1311
+ path: _path2 + ".type",
1312
+ expected: '"condition"',
1313
+ value: input3.type
1314
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1315
+ path: _path2 + ".child_types",
1316
+ expected: "(Array<string> | undefined)",
1317
+ value: input3.child_types
1318
+ })) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
1319
+ path: _path2 + ".child_types[" + _index16 + "]",
1320
+ expected: "string",
1321
+ value: elem
1322
+ })).every((flag) => flag) || $report(_exceptionable2, {
1323
+ path: _path2 + ".child_types",
1324
+ expected: "(Array<string> | undefined)",
1325
+ value: input3.child_types
1326
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1327
+ path: _path2 + ".hashtmldetail",
1328
+ expected: "(boolean | undefined)",
1329
+ value: input3.hashtmldetail
1330
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1331
+ path: _path2 + ".included_types",
1332
+ expected: "(Array<string> | undefined)",
1333
+ value: input3.included_types
1334
+ })) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
1335
+ path: _path2 + ".included_types[" + _index17 + "]",
1336
+ expected: "string",
1337
+ value: elem
1338
+ })).every((flag) => flag) || $report(_exceptionable2, {
1339
+ path: _path2 + ".included_types",
1340
+ expected: "(Array<string> | undefined)",
1341
+ value: input3.included_types
1342
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1343
+ path: _path2 + ".isleaf",
1344
+ expected: "(boolean | undefined)",
1345
+ value: input3.isleaf
1346
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1347
+ path: _path2 + ".values",
1348
+ expected: "(TermValues | undefined)",
1349
+ value: input3.values
1350
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1351
+ path: _path2 + ".values",
1352
+ expected: "(TermValues | undefined)",
1353
+ value: input3.values
1354
+ })].every((flag) => flag);
1355
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1356
+ path: _path2 + ".grade",
1357
+ expected: "number",
1358
+ value: input3.grade
1359
+ }), "string" === typeof input3.grade_label || $report(_exceptionable2, {
1360
+ path: _path2 + ".grade_label",
1361
+ expected: "string",
1362
+ value: input3.grade_label
1363
+ }), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
1364
+ path: _path2 + ".child_id",
1365
+ expected: "(string | undefined)",
1366
+ value: input3.child_id
1367
+ }), "string" === typeof input3.child_label || $report(_exceptionable2, {
1368
+ path: _path2 + ".child_label",
1369
+ expected: "string",
1370
+ value: input3.child_label
1371
+ })].every((flag) => flag);
1372
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1373
+ path: _path2 + ".join",
1374
+ expected: "(string | undefined)",
1375
+ value: input3.join
1376
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
1377
+ path: _path2 + ".isnot",
1378
+ expected: "(boolean | undefined)",
1379
+ value: input3.isnot
1380
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1381
+ path: _path2 + ".term",
1382
+ expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
1383
+ value: input3.term
1384
+ })) && $vu10(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1385
+ path: _path2 + ".term",
1386
+ expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
1387
+ value: input3.term
1388
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
1389
+ path: _path2 + ".values",
1390
+ expected: "Array<GeneVariantTvsValue>",
1391
+ value: input3.values
1392
+ })) && input3.values.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1393
+ path: _path2 + ".values[" + _index18 + "]",
1394
+ expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
1395
+ value: elem
1396
+ })) && $vu3(elem, _path2 + ".values[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
1397
+ path: _path2 + ".values[" + _index18 + "]",
1398
+ expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
1399
+ value: elem
1400
+ })).every((flag) => flag) || $report(_exceptionable2, {
1401
+ path: _path2 + ".values",
1402
+ expected: "Array<GeneVariantTvsValue>",
1403
+ value: input3.values
1404
+ })].every((flag) => flag);
1405
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1406
+ path: _path2 + ".id",
1407
+ expected: "string",
1408
+ value: input3.id
1409
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1410
+ path: _path2 + ".name",
1411
+ expected: "string",
1412
+ value: input3.name
1413
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
1414
+ path: _path2 + ".type",
1415
+ expected: '"geneVariant"',
1416
+ value: input3.type
1417
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1418
+ path: _path2 + ".child_types",
1419
+ expected: "(Array<string> | undefined)",
1420
+ value: input3.child_types
1421
+ })) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1422
+ path: _path2 + ".child_types[" + _index19 + "]",
1423
+ expected: "string",
1424
+ value: elem
1425
+ })).every((flag) => flag) || $report(_exceptionable2, {
1426
+ path: _path2 + ".child_types",
1427
+ expected: "(Array<string> | undefined)",
1428
+ value: input3.child_types
1429
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1430
+ path: _path2 + ".hashtmldetail",
1431
+ expected: "(boolean | undefined)",
1432
+ value: input3.hashtmldetail
1433
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1434
+ path: _path2 + ".included_types",
1435
+ expected: "(Array<string> | undefined)",
1436
+ value: input3.included_types
1437
+ })) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1438
+ path: _path2 + ".included_types[" + _index20 + "]",
1439
+ expected: "string",
1440
+ value: elem
1441
+ })).every((flag) => flag) || $report(_exceptionable2, {
1442
+ path: _path2 + ".included_types",
1443
+ expected: "(Array<string> | undefined)",
1444
+ value: input3.included_types
1445
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1446
+ path: _path2 + ".isleaf",
1447
+ expected: "(boolean | undefined)",
1448
+ value: input3.isleaf
1449
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1450
+ path: _path2 + ".values",
1451
+ expected: "(TermValues | undefined)",
1452
+ value: input3.values
1453
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1454
+ path: _path2 + ".values",
1455
+ expected: "(TermValues | undefined)",
1456
+ value: input3.values
1457
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1458
+ path: _path2 + ".groupsetting",
1459
+ expected: "EnabledTermGroupSetting",
1460
+ value: input3.groupsetting
1461
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1462
+ path: _path2 + ".groupsetting",
1463
+ expected: "EnabledTermGroupSetting",
1464
+ value: input3.groupsetting
1465
+ }), "gene" === input3.kind || $report(_exceptionable2, {
1466
+ path: _path2 + ".kind",
1467
+ expected: '"gene"',
1468
+ value: input3.kind
1469
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1470
+ path: _path2 + ".gene",
1471
+ expected: "string",
1472
+ value: input3.gene
1473
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1474
+ path: _path2 + ".chr",
1475
+ expected: "(string | undefined)",
1476
+ value: input3.chr
1477
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1478
+ path: _path2 + ".start",
1479
+ expected: "(number | undefined)",
1480
+ value: input3.start
1481
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1482
+ path: _path2 + ".stop",
1483
+ expected: "(number | undefined)",
1484
+ value: input3.stop
1485
+ })].every((flag) => flag);
1486
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1487
+ path: _path2 + ".id",
1488
+ expected: "string",
1489
+ value: input3.id
1490
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1491
+ path: _path2 + ".name",
1492
+ expected: "string",
1493
+ value: input3.name
1494
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
1495
+ path: _path2 + ".type",
1496
+ expected: '"geneVariant"',
1497
+ value: input3.type
1498
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1499
+ path: _path2 + ".child_types",
1500
+ expected: "(Array<string> | undefined)",
1501
+ value: input3.child_types
1502
+ })) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1503
+ path: _path2 + ".child_types[" + _index21 + "]",
1504
+ expected: "string",
1505
+ value: elem
1506
+ })).every((flag) => flag) || $report(_exceptionable2, {
1507
+ path: _path2 + ".child_types",
1508
+ expected: "(Array<string> | undefined)",
1509
+ value: input3.child_types
1510
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1511
+ path: _path2 + ".hashtmldetail",
1512
+ expected: "(boolean | undefined)",
1513
+ value: input3.hashtmldetail
1514
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1515
+ path: _path2 + ".included_types",
1516
+ expected: "(Array<string> | undefined)",
1517
+ value: input3.included_types
1518
+ })) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1519
+ path: _path2 + ".included_types[" + _index22 + "]",
1520
+ expected: "string",
1521
+ value: elem
1522
+ })).every((flag) => flag) || $report(_exceptionable2, {
1523
+ path: _path2 + ".included_types",
1524
+ expected: "(Array<string> | undefined)",
1525
+ value: input3.included_types
1526
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1527
+ path: _path2 + ".isleaf",
1528
+ expected: "(boolean | undefined)",
1529
+ value: input3.isleaf
1530
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1531
+ path: _path2 + ".values",
1532
+ expected: "(TermValues | undefined)",
1533
+ value: input3.values
1534
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1535
+ path: _path2 + ".values",
1536
+ expected: "(TermValues | undefined)",
1537
+ value: input3.values
1538
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1539
+ path: _path2 + ".groupsetting",
1540
+ expected: "EnabledTermGroupSetting",
1541
+ value: input3.groupsetting
1542
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1543
+ path: _path2 + ".groupsetting",
1544
+ expected: "EnabledTermGroupSetting",
1545
+ value: input3.groupsetting
1546
+ }), "coord" === input3.kind || $report(_exceptionable2, {
1547
+ path: _path2 + ".kind",
1548
+ expected: '"coord"',
1549
+ value: input3.kind
1550
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1551
+ path: _path2 + ".chr",
1552
+ expected: "string",
1553
+ value: input3.chr
1554
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1555
+ path: _path2 + ".start",
1556
+ expected: "number",
1557
+ value: input3.start
1558
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1559
+ path: _path2 + ".stop",
1560
+ expected: "number",
1561
+ value: input3.stop
1562
+ })].every((flag) => flag);
1563
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
1564
+ path: _path2 + ".dt",
1565
+ expected: "1",
1566
+ value: input3.dt
1567
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1568
+ path: _path2 + ".mclassLst",
1569
+ expected: "Array<SNVIndelClasses>",
1570
+ value: input3.mclassLst
1571
+ })) && input3.mclassLst.map((elem, _index23) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
1572
+ path: _path2 + ".mclassLst[" + _index23 + "]",
1573
+ expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
1574
+ value: elem
1575
+ })).every((flag) => flag) || $report(_exceptionable2, {
1576
+ path: _path2 + ".mclassLst",
1577
+ expected: "Array<SNVIndelClasses>",
1578
+ value: input3.mclassLst
1579
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1580
+ path: _path2 + ".mclassExcludeLst",
1581
+ expected: "Array<SNVIndelClasses>",
1582
+ value: input3.mclassExcludeLst
1583
+ })) && input3.mclassExcludeLst.map((elem, _index24) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
1584
+ path: _path2 + ".mclassExcludeLst[" + _index24 + "]",
1585
+ expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
1586
+ value: elem
1587
+ })).every((flag) => flag) || $report(_exceptionable2, {
1588
+ path: _path2 + ".mclassExcludeLst",
1589
+ expected: "Array<SNVIndelClasses>",
1590
+ value: input3.mclassExcludeLst
1591
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1592
+ path: _path2 + ".origin",
1593
+ expected: '("germline" | "somatic" | undefined)',
1594
+ value: input3.origin
1595
+ })].every((flag) => flag);
1596
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
1597
+ path: _path2 + ".dt",
1598
+ expected: "4",
1599
+ value: input3.dt
1600
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1601
+ path: _path2 + ".mclassLst",
1602
+ expected: "Array<CNVClasses>",
1603
+ value: input3.mclassLst
1604
+ })) && input3.mclassLst.map((elem, _index25) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable2, {
1605
+ path: _path2 + ".mclassLst[" + _index25 + "]",
1606
+ expected: '("Blank" | "CNV_amp" | "CNV_loh" | "CNV_losss" | "WT")',
1607
+ value: elem
1608
+ })).every((flag) => flag) || $report(_exceptionable2, {
1609
+ path: _path2 + ".mclassLst",
1610
+ expected: "Array<CNVClasses>",
1611
+ value: input3.mclassLst
1612
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1613
+ path: _path2 + ".mclassExcludeLst",
1614
+ expected: "Array<CNVClasses>",
1615
+ value: input3.mclassExcludeLst
1616
+ })) && input3.mclassExcludeLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable2, {
1617
+ path: _path2 + ".mclassExcludeLst[" + _index26 + "]",
1618
+ expected: '("Blank" | "CNV_amp" | "CNV_loh" | "CNV_losss" | "WT")',
1619
+ value: elem
1620
+ })).every((flag) => flag) || $report(_exceptionable2, {
1621
+ path: _path2 + ".mclassExcludeLst",
1622
+ expected: "Array<CNVClasses>",
1623
+ value: input3.mclassExcludeLst
1624
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1625
+ path: _path2 + ".origin",
1626
+ expected: '("germline" | "somatic" | undefined)',
1627
+ value: input3.origin
1628
+ })].every((flag) => flag);
1629
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
1630
+ path: _path2 + ".dt",
1631
+ expected: "5",
1632
+ value: input3.dt
1633
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1634
+ path: _path2 + ".mclassLst",
1635
+ expected: "Array<SVClasses>",
1636
+ value: input3.mclassLst
1637
+ })) && input3.mclassLst.map((elem, _index27) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
1638
+ path: _path2 + ".mclassLst[" + _index27 + "]",
1639
+ expected: '("Blank" | "SV" | "WT")',
1640
+ value: elem
1641
+ })).every((flag) => flag) || $report(_exceptionable2, {
1642
+ path: _path2 + ".mclassLst",
1643
+ expected: "Array<SVClasses>",
1644
+ value: input3.mclassLst
1645
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1646
+ path: _path2 + ".mclassExcludeLst",
1647
+ expected: "Array<SVClasses>",
1648
+ value: input3.mclassExcludeLst
1649
+ })) && input3.mclassExcludeLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
1650
+ path: _path2 + ".mclassExcludeLst[" + _index28 + "]",
1651
+ expected: '("Blank" | "SV" | "WT")',
1652
+ value: elem
1653
+ })).every((flag) => flag) || $report(_exceptionable2, {
1654
+ path: _path2 + ".mclassExcludeLst",
1655
+ expected: "Array<SVClasses>",
1656
+ value: input3.mclassExcludeLst
1657
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1658
+ path: _path2 + ".origin",
1659
+ expected: '("germline" | "somatic" | undefined)',
1660
+ value: input3.origin
1661
+ })].every((flag) => flag);
1662
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
1663
+ path: _path2 + ".dt",
1664
+ expected: "2",
1665
+ value: input3.dt
1666
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1667
+ path: _path2 + ".mclassLst",
1668
+ expected: "Array<FusionRNAClasses>",
1669
+ value: input3.mclassLst
1670
+ })) && input3.mclassLst.map((elem, _index29) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
1671
+ path: _path2 + ".mclassLst[" + _index29 + "]",
1672
+ expected: '("Blank" | "Fuserna" | "WT")',
1673
+ value: elem
1674
+ })).every((flag) => flag) || $report(_exceptionable2, {
1675
+ path: _path2 + ".mclassLst",
1676
+ expected: "Array<FusionRNAClasses>",
1677
+ value: input3.mclassLst
1678
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1679
+ path: _path2 + ".mclassExcludeLst",
1680
+ expected: "Array<FusionRNAClasses>",
1681
+ value: input3.mclassExcludeLst
1682
+ })) && input3.mclassExcludeLst.map((elem, _index30) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
1683
+ path: _path2 + ".mclassExcludeLst[" + _index30 + "]",
1684
+ expected: '("Blank" | "Fuserna" | "WT")',
1685
+ value: elem
1686
+ })).every((flag) => flag) || $report(_exceptionable2, {
1687
+ path: _path2 + ".mclassExcludeLst",
1688
+ expected: "Array<FusionRNAClasses>",
1689
+ value: input3.mclassExcludeLst
1690
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1691
+ path: _path2 + ".origin",
1692
+ expected: '("germline" | "somatic" | undefined)',
1693
+ value: input3.origin
1694
+ })].every((flag) => flag);
1695
+ const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
1696
+ path: _path2 + ".id",
1697
+ expected: "(string | undefined)",
1698
+ value: input3.id
1699
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
1700
+ path: _path2 + ".$id",
1701
+ expected: "(string | undefined)",
1702
+ value: input3.$id
1703
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1704
+ path: _path2 + ".isAtomic",
1705
+ expected: "(true | undefined)",
1706
+ value: input3.isAtomic
1707
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
1708
+ path: _path2 + ".settings",
1709
+ expected: "(__type | undefined)",
1710
+ value: input3.settings
1711
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
1712
+ path: _path2 + ".settings",
1713
+ expected: "(__type | undefined)",
1714
+ value: input3.settings
1715
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
1716
+ path: _path2 + ".minNumSamples",
1717
+ expected: "(number | undefined)",
1718
+ value: input3.minNumSamples
1719
+ }), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1720
+ path: _path2 + ".term",
1721
+ expected: "NumericTerm",
1722
+ value: input3.term
1723
+ })) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1724
+ path: _path2 + ".term",
1725
+ expected: "NumericTerm",
1726
+ value: input3.term
1727
+ }), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
1728
+ path: _path2 + ".q",
1729
+ expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
1730
+ value: input3.q
1731
+ })) && $vu11(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
1732
+ path: _path2 + ".q",
1733
+ expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
1734
+ value: input3.q
1735
+ })].every((flag) => flag);
1736
+ const $vo39 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1737
+ path: _path2 + ".hiddenValues",
1738
+ expected: "(HiddenValues | undefined)",
1739
+ value: input3.hiddenValues
1740
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1741
+ path: _path2 + ".hiddenValues",
1742
+ expected: "(HiddenValues | undefined)",
1743
+ value: input3.hiddenValues
1744
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1745
+ path: _path2 + ".isAtomic",
1746
+ expected: "(true | undefined)",
1747
+ value: input3.isAtomic
1748
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1749
+ path: _path2 + ".name",
1750
+ expected: "(string | undefined)",
1751
+ value: input3.name
1752
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1753
+ path: _path2 + ".reuseId",
1754
+ expected: "(string | undefined)",
1755
+ value: input3.reuseId
1756
+ }), "binary" === input3.mode || $report(_exceptionable2, {
1757
+ path: _path2 + ".mode",
1758
+ expected: '"binary"',
1759
+ value: input3.mode
1760
+ }), "custom-bin" === input3.type || $report(_exceptionable2, {
1761
+ path: _path2 + ".type",
1762
+ expected: '"custom-bin"',
1763
+ value: input3.type
1764
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
1765
+ path: _path2 + ".lst",
1766
+ expected: "[StartUnboundedBin | FullyBoundedBin, FullyBoundedBin | StopUnboundedBin]",
1767
+ value: input3.lst
1768
+ })) && ((input3.lst.length === 2 || $report(_exceptionable2, {
1769
+ path: _path2 + ".lst",
1770
+ expected: "[(FullyBoundedBin | StartUnboundedBin), (FullyBoundedBin | StopUnboundedBin)]",
1771
+ value: input3.lst
1772
+ })) && [
1773
+ ("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
1774
+ path: _path2 + ".lst[0]",
1775
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
1776
+ value: input3.lst[0]
1777
+ })) && $vu4(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
1778
+ path: _path2 + ".lst[0]",
1779
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
1780
+ value: input3.lst[0]
1781
+ }),
1782
+ ("object" === typeof input3.lst[1] && null !== input3.lst[1] || $report(_exceptionable2, {
1783
+ path: _path2 + ".lst[1]",
1784
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
1785
+ value: input3.lst[1]
1786
+ })) && $vu5(input3.lst[1], _path2 + ".lst[1]", _exceptionable2) || $report(_exceptionable2, {
1787
+ path: _path2 + ".lst[1]",
1788
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
1789
+ value: input3.lst[1]
1790
+ })
1791
+ ].every((flag) => flag)) || $report(_exceptionable2, {
1792
+ path: _path2 + ".lst",
1793
+ expected: "[StartUnboundedBin | FullyBoundedBin, FullyBoundedBin | StopUnboundedBin]",
1794
+ value: input3.lst
1795
+ })].every((flag) => flag);
1796
+ const $vo40 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1797
+ path: _path2 + ".hiddenValues",
1798
+ expected: "(HiddenValues | undefined)",
1799
+ value: input3.hiddenValues
1800
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1801
+ path: _path2 + ".hiddenValues",
1802
+ expected: "(HiddenValues | undefined)",
1803
+ value: input3.hiddenValues
1804
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1805
+ path: _path2 + ".isAtomic",
1806
+ expected: "(true | undefined)",
1807
+ value: input3.isAtomic
1808
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1809
+ path: _path2 + ".name",
1810
+ expected: "(string | undefined)",
1811
+ value: input3.name
1812
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1813
+ path: _path2 + ".reuseId",
1814
+ expected: "(string | undefined)",
1815
+ value: input3.reuseId
1816
+ }), "continuous" === input3.mode || $report(_exceptionable2, {
1817
+ path: _path2 + ".mode",
1818
+ expected: '"continuous"',
1819
+ value: input3.mode
1820
+ }), void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore || $report(_exceptionable2, {
1821
+ path: _path2 + ".convert2ZScore",
1822
+ expected: "(boolean | undefined)",
1823
+ value: input3.convert2ZScore
1824
+ }), (null !== input3.type || $report(_exceptionable2, {
1825
+ path: _path2 + ".type",
1826
+ expected: "undefined",
1827
+ value: input3.type
1828
+ })) && (void 0 === input3.type || $report(_exceptionable2, {
1829
+ path: _path2 + ".type",
1830
+ expected: "undefined",
1831
+ value: input3.type
1832
+ }))].every((flag) => flag);
1833
+ const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1834
+ path: _path2 + ".hiddenValues",
1835
+ expected: "(HiddenValues | undefined)",
1836
+ value: input3.hiddenValues
1837
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1838
+ path: _path2 + ".hiddenValues",
1839
+ expected: "(HiddenValues | undefined)",
1840
+ value: input3.hiddenValues
1841
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1842
+ path: _path2 + ".isAtomic",
1843
+ expected: "(true | undefined)",
1844
+ value: input3.isAtomic
1845
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1846
+ path: _path2 + ".name",
1847
+ expected: "(string | undefined)",
1848
+ value: input3.name
1849
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1850
+ path: _path2 + ".reuseId",
1851
+ expected: "(string | undefined)",
1852
+ value: input3.reuseId
1853
+ }), "spline" === input3.mode || $report(_exceptionable2, {
1854
+ path: _path2 + ".mode",
1855
+ expected: '"spline"',
1856
+ value: input3.mode
1857
+ }), (Array.isArray(input3.knots) || $report(_exceptionable2, {
1858
+ path: _path2 + ".knots",
1859
+ expected: "Array<__type>.o2",
1860
+ value: input3.knots
1861
+ })) && input3.knots.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1862
+ path: _path2 + ".knots[" + _index31 + "]",
1863
+ expected: "__type.o4",
1864
+ value: elem
1865
+ })) && $vo42(elem, _path2 + ".knots[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
1866
+ path: _path2 + ".knots[" + _index31 + "]",
1867
+ expected: "__type.o4",
1868
+ value: elem
1869
+ })).every((flag) => flag) || $report(_exceptionable2, {
1870
+ path: _path2 + ".knots",
1871
+ expected: "Array<__type>.o2",
1872
+ value: input3.knots
1873
+ }), (null !== input3.type || $report(_exceptionable2, {
1874
+ path: _path2 + ".type",
1875
+ expected: "undefined",
1876
+ value: input3.type
1877
+ })) && (void 0 === input3.type || $report(_exceptionable2, {
1878
+ path: _path2 + ".type",
1879
+ expected: "undefined",
1880
+ value: input3.type
1881
+ }))].every((flag) => flag);
1882
+ const $vo42 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
1883
+ path: _path2 + ".value",
1884
+ expected: "number",
1885
+ value: input3.value
1886
+ })].every((flag) => flag);
1887
+ const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
1888
+ path: _path2 + ".id",
1889
+ expected: "(string | undefined)",
1890
+ value: input3.id
1891
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
1892
+ path: _path2 + ".$id",
1893
+ expected: "(string | undefined)",
1894
+ value: input3.$id
1895
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1896
+ path: _path2 + ".isAtomic",
1897
+ expected: "(true | undefined)",
1898
+ value: input3.isAtomic
1899
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
1900
+ path: _path2 + ".settings",
1901
+ expected: "(__type | undefined)",
1902
+ value: input3.settings
1903
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
1904
+ path: _path2 + ".settings",
1905
+ expected: "(__type | undefined)",
1906
+ value: input3.settings
1907
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
1908
+ path: _path2 + ".minNumSamples",
1909
+ expected: "(number | undefined)",
1910
+ value: input3.minNumSamples
1911
+ }), true, ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
1912
+ path: _path2 + ".q",
1913
+ expected: "SnpsQ",
1914
+ value: input3.q
1915
+ })) && $vo44(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
1916
+ path: _path2 + ".q",
1917
+ expected: "SnpsQ",
1918
+ value: input3.q
1919
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1920
+ path: _path2 + ".term",
1921
+ expected: "SnpsTerm",
1922
+ value: input3.term
1923
+ })) && $vo46(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1924
+ path: _path2 + ".term",
1925
+ expected: "SnpsTerm",
1926
+ value: input3.term
1927
+ })].every((flag) => flag);
1928
+ const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1929
+ path: _path2 + ".hiddenValues",
1930
+ expected: "(HiddenValues | undefined)",
1931
+ value: input3.hiddenValues
1932
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1933
+ path: _path2 + ".hiddenValues",
1934
+ expected: "(HiddenValues | undefined)",
1935
+ value: input3.hiddenValues
1936
+ }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
1937
+ path: _path2 + ".isAtomic",
1938
+ expected: "(boolean | undefined)",
1939
+ value: input3.isAtomic
1940
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1941
+ path: _path2 + ".name",
1942
+ expected: "(string | undefined)",
1943
+ value: input3.name
1944
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
1945
+ path: _path2 + ".mode",
1946
+ expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
1947
+ value: input3.mode
1948
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1949
+ path: _path2 + ".reuseId",
1950
+ expected: "(string | undefined)",
1951
+ value: input3.reuseId
1952
+ }), void 0 === input3.type || "values" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "custom-samplelst" === input3.type || $report(_exceptionable2, {
1953
+ path: _path2 + ".type",
1954
+ expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
1955
+ value: input3.type
1956
+ }), "number" === typeof input3.AFcutoff || $report(_exceptionable2, {
1957
+ path: _path2 + ".AFcutoff",
1958
+ expected: "number",
1959
+ value: input3.AFcutoff
1960
+ }), "number" === typeof input3.alleleType || $report(_exceptionable2, {
1961
+ path: _path2 + ".alleleType",
1962
+ expected: "number",
1963
+ value: input3.alleleType
1964
+ }), "string" === typeof input3.cacheid || $report(_exceptionable2, {
1965
+ path: _path2 + ".cacheid",
1966
+ expected: "string",
1967
+ value: input3.cacheid
1968
+ }), true, "number" === typeof input3.geneticModel || $report(_exceptionable2, {
1969
+ path: _path2 + ".geneticModel",
1970
+ expected: "number",
1971
+ value: input3.geneticModel
1972
+ }), true, void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype || $report(_exceptionable2, {
1973
+ path: _path2 + ".missingGenotype",
1974
+ expected: "(number | undefined)",
1975
+ value: input3.missingGenotype
1976
+ }), "number" === typeof input3.numOfSampleWithAnyValidGT || $report(_exceptionable2, {
1977
+ path: _path2 + ".numOfSampleWithAnyValidGT",
1978
+ expected: "number",
1979
+ value: input3.numOfSampleWithAnyValidGT
1980
+ }), ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry || $report(_exceptionable2, {
1981
+ path: _path2 + ".restrictAncestry",
1982
+ expected: "RestrictAncestry",
1983
+ value: input3.restrictAncestry
1984
+ })) && $vo45(input3.restrictAncestry, _path2 + ".restrictAncestry", _exceptionable2) || $report(_exceptionable2, {
1985
+ path: _path2 + ".restrictAncestry",
1986
+ expected: "RestrictAncestry",
1987
+ value: input3.restrictAncestry
1988
+ }), true, true, ("object" === typeof input3.variant_filter && null !== input3.variant_filter || $report(_exceptionable2, {
1989
+ path: _path2 + ".variant_filter",
1990
+ expected: "Filter",
1991
+ value: input3.variant_filter
1992
+ })) && $vo11(input3.variant_filter, _path2 + ".variant_filter", _exceptionable2) || $report(_exceptionable2, {
1993
+ path: _path2 + ".variant_filter",
1994
+ expected: "Filter",
1995
+ value: input3.variant_filter
1996
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1997
+ path: _path2 + ".chr",
1998
+ expected: "string",
1999
+ value: input3.chr
2000
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
2001
+ path: _path2 + ".start",
2002
+ expected: "number",
2003
+ value: input3.start
2004
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
2005
+ path: _path2 + ".stop",
2006
+ expected: "number",
2007
+ value: input3.stop
2008
+ })].every((flag) => flag);
2009
+ const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
2010
+ path: _path2 + ".name",
2011
+ expected: "string",
2012
+ value: input3.name
2013
+ }), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
2014
+ path: _path2 + ".tvs",
2015
+ expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
2016
+ value: input3.tvs
2017
+ })) && $vu12(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
2018
+ path: _path2 + ".tvs",
2019
+ expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
2020
+ value: input3.tvs
2021
+ })].every((flag) => flag);
2022
+ const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2023
+ path: _path2 + ".id",
2024
+ expected: "string",
2025
+ value: input3.id
2026
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2027
+ path: _path2 + ".name",
2028
+ expected: "string",
2029
+ value: input3.name
2030
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
2031
+ path: _path2 + ".type",
2032
+ expected: "string",
2033
+ value: input3.type
2034
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2035
+ path: _path2 + ".child_types",
2036
+ expected: "(Array<string> | undefined)",
2037
+ value: input3.child_types
2038
+ })) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
2039
+ path: _path2 + ".child_types[" + _index32 + "]",
2040
+ expected: "string",
2041
+ value: elem
2042
+ })).every((flag) => flag) || $report(_exceptionable2, {
2043
+ path: _path2 + ".child_types",
2044
+ expected: "(Array<string> | undefined)",
2045
+ value: input3.child_types
2046
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2047
+ path: _path2 + ".hashtmldetail",
2048
+ expected: "(boolean | undefined)",
2049
+ value: input3.hashtmldetail
2050
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2051
+ path: _path2 + ".included_types",
2052
+ expected: "(Array<string> | undefined)",
2053
+ value: input3.included_types
2054
+ })) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
2055
+ path: _path2 + ".included_types[" + _index33 + "]",
2056
+ expected: "string",
2057
+ value: elem
2058
+ })).every((flag) => flag) || $report(_exceptionable2, {
2059
+ path: _path2 + ".included_types",
2060
+ expected: "(Array<string> | undefined)",
2061
+ value: input3.included_types
2062
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2063
+ path: _path2 + ".isleaf",
2064
+ expected: "(boolean | undefined)",
2065
+ value: input3.isleaf
2066
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2067
+ path: _path2 + ".values",
2068
+ expected: "(TermValues | undefined)",
2069
+ value: input3.values
2070
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2071
+ path: _path2 + ".values",
2072
+ expected: "(TermValues | undefined)",
2073
+ value: input3.values
2074
+ }), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
2075
+ path: _path2 + ".reachedVariantLimit",
2076
+ expected: "(boolean | undefined)",
2077
+ value: input3.reachedVariantLimit
2078
+ }), void 0 === input3.snps || (Array.isArray(input3.snps) || $report(_exceptionable2, {
2079
+ path: _path2 + ".snps",
2080
+ expected: "(Array<SnpsEntry> | undefined)",
2081
+ value: input3.snps
2082
+ })) && input3.snps.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2083
+ path: _path2 + ".snps[" + _index34 + "]",
2084
+ expected: "SnpsEntry",
2085
+ value: elem
2086
+ })) && $vo47(elem, _path2 + ".snps[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
2087
+ path: _path2 + ".snps[" + _index34 + "]",
2088
+ expected: "SnpsEntry",
2089
+ value: elem
2090
+ })).every((flag) => flag) || $report(_exceptionable2, {
2091
+ path: _path2 + ".snps",
2092
+ expected: "(Array<SnpsEntry> | undefined)",
2093
+ value: input3.snps
2094
+ })].every((flag) => flag);
2095
+ const $vo47 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
2096
+ path: _path2 + ".altAlleles",
2097
+ expected: "(Array<string> | undefined)",
2098
+ value: input3.altAlleles
2099
+ })) && input3.altAlleles.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
2100
+ path: _path2 + ".altAlleles[" + _index35 + "]",
2101
+ expected: "string",
2102
+ value: elem
2103
+ })).every((flag) => flag) || $report(_exceptionable2, {
2104
+ path: _path2 + ".altAlleles",
2105
+ expected: "(Array<string> | undefined)",
2106
+ value: input3.altAlleles
2107
+ }), void 0 === input3.alleles || (Array.isArray(input3.alleles) || $report(_exceptionable2, {
2108
+ path: _path2 + ".alleles",
2109
+ expected: "(Array<AllelesEntry> | undefined)",
2110
+ value: input3.alleles
2111
+ })) && input3.alleles.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2112
+ path: _path2 + ".alleles[" + _index36 + "]",
2113
+ expected: "AllelesEntry",
2114
+ value: elem
2115
+ })) && $vo48(elem, _path2 + ".alleles[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
2116
+ path: _path2 + ".alleles[" + _index36 + "]",
2117
+ expected: "AllelesEntry",
2118
+ value: elem
2119
+ })).every((flag) => flag) || $report(_exceptionable2, {
2120
+ path: _path2 + ".alleles",
2121
+ expected: "(Array<AllelesEntry> | undefined)",
2122
+ value: input3.alleles
2123
+ }), "boolean" === typeof input3.effectAllele || $report(_exceptionable2, {
2124
+ path: _path2 + ".effectAllele",
2125
+ expected: "boolean",
2126
+ value: input3.effectAllele
2127
+ }), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
2128
+ path: _path2 + ".gt2count",
2129
+ expected: "(__type.o5 | undefined)",
2130
+ value: input3.gt2count
2131
+ })) && $vo49(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
2132
+ path: _path2 + ".gt2count",
2133
+ expected: "(__type.o5 | undefined)",
2134
+ value: input3.gt2count
2135
+ }), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
2136
+ path: _path2 + ".invalid",
2137
+ expected: "(boolean | undefined)",
2138
+ value: input3.invalid
2139
+ }), void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele || $report(_exceptionable2, {
2140
+ path: _path2 + ".referenceAllele",
2141
+ expected: "(string | undefined)",
2142
+ value: input3.referenceAllele
2143
+ }), "string" === typeof input3.rsid || $report(_exceptionable2, {
2144
+ path: _path2 + ".rsid",
2145
+ expected: "string",
2146
+ value: input3.rsid
2147
+ }), "string" === typeof input3.snpid || $report(_exceptionable2, {
2148
+ path: _path2 + ".snpid",
2149
+ expected: "string",
2150
+ value: input3.snpid
2151
+ }), true, void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2152
+ path: _path2 + ".chr",
2153
+ expected: "(string | undefined)",
2154
+ value: input3.chr
2155
+ }), void 0 === input3.pos || "number" === typeof input3.pos || $report(_exceptionable2, {
2156
+ path: _path2 + ".pos",
2157
+ expected: "(number | undefined)",
2158
+ value: input3.pos
2159
+ })].every((flag) => flag);
2160
+ const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
2161
+ path: _path2 + ".allele",
2162
+ expected: "string",
2163
+ value: input3.allele
2164
+ }), "number" === typeof input3.count || $report(_exceptionable2, {
2165
+ path: _path2 + ".count",
2166
+ expected: "number",
2167
+ value: input3.count
2168
+ }), "boolean" === typeof input3.isRef || $report(_exceptionable2, {
2169
+ path: _path2 + ".isRef",
2170
+ expected: "boolean",
2171
+ value: input3.isRef
2172
+ })].every((flag) => flag);
2173
+ const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
2174
+ path: _path2 + ".k",
2175
+ expected: "string",
2176
+ value: input3.k
2177
+ }), "string" === typeof input3.v || "number" === typeof input3.v || $report(_exceptionable2, {
2178
+ path: _path2 + ".v",
2179
+ expected: "(number | string)",
2180
+ value: input3.v
2181
+ })].every((flag) => flag);
2182
+ const $vo50 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
2183
+ path: _path2 + ".id",
2184
+ expected: "(string | undefined)",
2185
+ value: input3.id
2186
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
2187
+ path: _path2 + ".$id",
2188
+ expected: "(string | undefined)",
2189
+ value: input3.$id
2190
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2191
+ path: _path2 + ".isAtomic",
2192
+ expected: "(true | undefined)",
2193
+ value: input3.isAtomic
2194
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
2195
+ path: _path2 + ".settings",
2196
+ expected: "(__type | undefined)",
2197
+ value: input3.settings
2198
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
2199
+ path: _path2 + ".settings",
2200
+ expected: "(__type | undefined)",
2201
+ value: input3.settings
2202
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
2203
+ path: _path2 + ".minNumSamples",
2204
+ expected: "(number | undefined)",
2205
+ value: input3.minNumSamples
2206
+ }), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2207
+ path: _path2 + ".term",
2208
+ expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
2209
+ value: input3.term
2210
+ })) && $vu13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2211
+ path: _path2 + ".term",
2212
+ expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
2213
+ value: input3.term
2214
+ }), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
2215
+ path: _path2 + ".q",
2216
+ expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; dt?: number | undefined; origin?: string | undefined; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; dt?: number | undefined; origin?: string | undefined; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; dt?: number | undefined; origin?: string | undefined; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
2217
+ value: input3.q
2218
+ })) && $vu14(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
2219
+ path: _path2 + ".q",
2220
+ expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; dt?: number | undefined; origin?: string | undefined; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; dt?: number | undefined; origin?: string | undefined; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; dt?: number | undefined; origin?: string | undefined; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
2221
+ value: input3.q
2222
+ })].every((flag) => flag);
2223
+ const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2224
+ path: _path2 + ".id",
2225
+ expected: "string",
2226
+ value: input3.id
2227
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2228
+ path: _path2 + ".name",
2229
+ expected: "string",
2230
+ value: input3.name
2231
+ }), "categorical" === input3.type || $report(_exceptionable2, {
2232
+ path: _path2 + ".type",
2233
+ expected: '"categorical"',
2234
+ value: input3.type
2235
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2236
+ path: _path2 + ".child_types",
2237
+ expected: "(Array<string> | undefined)",
2238
+ value: input3.child_types
2239
+ })) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
2240
+ path: _path2 + ".child_types[" + _index37 + "]",
2241
+ expected: "string",
2242
+ value: elem
2243
+ })).every((flag) => flag) || $report(_exceptionable2, {
2244
+ path: _path2 + ".child_types",
2245
+ expected: "(Array<string> | undefined)",
2246
+ value: input3.child_types
2247
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2248
+ path: _path2 + ".hashtmldetail",
2249
+ expected: "(boolean | undefined)",
2250
+ value: input3.hashtmldetail
2251
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2252
+ path: _path2 + ".included_types",
2253
+ expected: "(Array<string> | undefined)",
2254
+ value: input3.included_types
2255
+ })) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
2256
+ path: _path2 + ".included_types[" + _index38 + "]",
2257
+ expected: "string",
2258
+ value: elem
2259
+ })).every((flag) => flag) || $report(_exceptionable2, {
2260
+ path: _path2 + ".included_types",
2261
+ expected: "(Array<string> | undefined)",
2262
+ value: input3.included_types
2263
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2264
+ path: _path2 + ".isleaf",
2265
+ expected: "(boolean | undefined)",
2266
+ value: input3.isleaf
2267
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2268
+ path: _path2 + ".values",
2269
+ expected: "(TermValues | undefined)",
2270
+ value: input3.values
2271
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2272
+ path: _path2 + ".values",
2273
+ expected: "(TermValues | undefined)",
2274
+ value: input3.values
2275
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
2276
+ path: _path2 + ".groupsetting",
2277
+ expected: "(EnabledTermGroupSetting | __type.o2)",
2278
+ value: input3.groupsetting
2279
+ })) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
2280
+ path: _path2 + ".groupsetting",
2281
+ expected: "(EnabledTermGroupSetting | __type.o2)",
2282
+ value: input3.groupsetting
2283
+ })].every((flag) => flag);
2284
+ const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2285
+ path: _path2 + ".id",
2286
+ expected: "string",
2287
+ value: input3.id
2288
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2289
+ path: _path2 + ".name",
2290
+ expected: "string",
2291
+ value: input3.name
2292
+ }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
2293
+ path: _path2 + ".type",
2294
+ expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
2295
+ value: input3.type
2296
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2297
+ path: _path2 + ".child_types",
2298
+ expected: "(Array<string> | undefined)",
2299
+ value: input3.child_types
2300
+ })) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
2301
+ path: _path2 + ".child_types[" + _index39 + "]",
2302
+ expected: "string",
2303
+ value: elem
2304
+ })).every((flag) => flag) || $report(_exceptionable2, {
2305
+ path: _path2 + ".child_types",
2306
+ expected: "(Array<string> | undefined)",
2307
+ value: input3.child_types
2308
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2309
+ path: _path2 + ".hashtmldetail",
2310
+ expected: "(boolean | undefined)",
2311
+ value: input3.hashtmldetail
2312
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2313
+ path: _path2 + ".included_types",
2314
+ expected: "(Array<string> | undefined)",
2315
+ value: input3.included_types
2316
+ })) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
2317
+ path: _path2 + ".included_types[" + _index40 + "]",
2318
+ expected: "string",
2319
+ value: elem
2320
+ })).every((flag) => flag) || $report(_exceptionable2, {
2321
+ path: _path2 + ".included_types",
2322
+ expected: "(Array<string> | undefined)",
2323
+ value: input3.included_types
2324
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2325
+ path: _path2 + ".isleaf",
2326
+ expected: "(boolean | undefined)",
2327
+ value: input3.isleaf
2328
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2329
+ path: _path2 + ".values",
2330
+ expected: "(TermValues | undefined)",
2331
+ value: input3.values
2332
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2333
+ path: _path2 + ".values",
2334
+ expected: "(TermValues | undefined)",
2335
+ value: input3.values
2336
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
2337
+ path: _path2 + ".bins",
2338
+ expected: "PresetNumericBins",
2339
+ value: input3.bins
2340
+ })) && $vo21(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
2341
+ path: _path2 + ".bins",
2342
+ expected: "PresetNumericBins",
2343
+ value: input3.bins
2344
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
2345
+ path: _path2 + ".unit",
2346
+ expected: "(string | undefined)",
2347
+ value: input3.unit
2348
+ })].every((flag) => flag);
2349
+ const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2350
+ path: _path2 + ".id",
2351
+ expected: "string",
2352
+ value: input3.id
2353
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2354
+ path: _path2 + ".name",
2355
+ expected: "string",
2356
+ value: input3.name
2357
+ }), "condition" === input3.type || $report(_exceptionable2, {
2358
+ path: _path2 + ".type",
2359
+ expected: '"condition"',
2360
+ value: input3.type
2361
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2362
+ path: _path2 + ".child_types",
2363
+ expected: "(Array<string> | undefined)",
2364
+ value: input3.child_types
2365
+ })) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
2366
+ path: _path2 + ".child_types[" + _index41 + "]",
2367
+ expected: "string",
2368
+ value: elem
2369
+ })).every((flag) => flag) || $report(_exceptionable2, {
2370
+ path: _path2 + ".child_types",
2371
+ expected: "(Array<string> | undefined)",
2372
+ value: input3.child_types
2373
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2374
+ path: _path2 + ".hashtmldetail",
2375
+ expected: "(boolean | undefined)",
2376
+ value: input3.hashtmldetail
2377
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2378
+ path: _path2 + ".included_types",
2379
+ expected: "(Array<string> | undefined)",
2380
+ value: input3.included_types
2381
+ })) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
2382
+ path: _path2 + ".included_types[" + _index42 + "]",
2383
+ expected: "string",
2384
+ value: elem
2385
+ })).every((flag) => flag) || $report(_exceptionable2, {
2386
+ path: _path2 + ".included_types",
2387
+ expected: "(Array<string> | undefined)",
2388
+ value: input3.included_types
2389
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2390
+ path: _path2 + ".isleaf",
2391
+ expected: "(boolean | undefined)",
2392
+ value: input3.isleaf
2393
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2394
+ path: _path2 + ".values",
2395
+ expected: "(TermValues | undefined)",
2396
+ value: input3.values
2397
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2398
+ path: _path2 + ".values",
2399
+ expected: "(TermValues | undefined)",
2400
+ value: input3.values
2401
+ })].every((flag) => flag);
2402
+ const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2403
+ path: _path2 + ".id",
2404
+ expected: "string",
2405
+ value: input3.id
2406
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2407
+ path: _path2 + ".name",
2408
+ expected: "string",
2409
+ value: input3.name
2410
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
2411
+ path: _path2 + ".type",
2412
+ expected: '"geneVariant"',
2413
+ value: input3.type
2414
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2415
+ path: _path2 + ".child_types",
2416
+ expected: "(Array<string> | undefined)",
2417
+ value: input3.child_types
2418
+ })) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
2419
+ path: _path2 + ".child_types[" + _index43 + "]",
2420
+ expected: "string",
2421
+ value: elem
2422
+ })).every((flag) => flag) || $report(_exceptionable2, {
2423
+ path: _path2 + ".child_types",
2424
+ expected: "(Array<string> | undefined)",
2425
+ value: input3.child_types
2426
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2427
+ path: _path2 + ".hashtmldetail",
2428
+ expected: "(boolean | undefined)",
2429
+ value: input3.hashtmldetail
2430
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2431
+ path: _path2 + ".included_types",
2432
+ expected: "(Array<string> | undefined)",
2433
+ value: input3.included_types
2434
+ })) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
2435
+ path: _path2 + ".included_types[" + _index44 + "]",
2436
+ expected: "string",
2437
+ value: elem
2438
+ })).every((flag) => flag) || $report(_exceptionable2, {
2439
+ path: _path2 + ".included_types",
2440
+ expected: "(Array<string> | undefined)",
2441
+ value: input3.included_types
2442
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2443
+ path: _path2 + ".isleaf",
2444
+ expected: "(boolean | undefined)",
2445
+ value: input3.isleaf
2446
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2447
+ path: _path2 + ".values",
2448
+ expected: "(TermValues | undefined)",
2449
+ value: input3.values
2450
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2451
+ path: _path2 + ".values",
2452
+ expected: "(TermValues | undefined)",
2453
+ value: input3.values
2454
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
2455
+ path: _path2 + ".groupsetting",
2456
+ expected: "EnabledTermGroupSetting",
2457
+ value: input3.groupsetting
2458
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
2459
+ path: _path2 + ".groupsetting",
2460
+ expected: "EnabledTermGroupSetting",
2461
+ value: input3.groupsetting
2462
+ }), "gene" === input3.kind || $report(_exceptionable2, {
2463
+ path: _path2 + ".kind",
2464
+ expected: '"gene"',
2465
+ value: input3.kind
2466
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
2467
+ path: _path2 + ".gene",
2468
+ expected: "string",
2469
+ value: input3.gene
2470
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2471
+ path: _path2 + ".chr",
2472
+ expected: "(string | undefined)",
2473
+ value: input3.chr
2474
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
2475
+ path: _path2 + ".start",
2476
+ expected: "(number | undefined)",
2477
+ value: input3.start
2478
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
2479
+ path: _path2 + ".stop",
2480
+ expected: "(number | undefined)",
2481
+ value: input3.stop
2482
+ })].every((flag) => flag);
2483
+ const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2484
+ path: _path2 + ".id",
2485
+ expected: "string",
2486
+ value: input3.id
2487
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2488
+ path: _path2 + ".name",
2489
+ expected: "string",
2490
+ value: input3.name
2491
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
2492
+ path: _path2 + ".type",
2493
+ expected: '"geneVariant"',
2494
+ value: input3.type
2495
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2496
+ path: _path2 + ".child_types",
2497
+ expected: "(Array<string> | undefined)",
2498
+ value: input3.child_types
2499
+ })) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
2500
+ path: _path2 + ".child_types[" + _index45 + "]",
2501
+ expected: "string",
2502
+ value: elem
2503
+ })).every((flag) => flag) || $report(_exceptionable2, {
2504
+ path: _path2 + ".child_types",
2505
+ expected: "(Array<string> | undefined)",
2506
+ value: input3.child_types
2507
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2508
+ path: _path2 + ".hashtmldetail",
2509
+ expected: "(boolean | undefined)",
2510
+ value: input3.hashtmldetail
2511
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2512
+ path: _path2 + ".included_types",
2513
+ expected: "(Array<string> | undefined)",
2514
+ value: input3.included_types
2515
+ })) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
2516
+ path: _path2 + ".included_types[" + _index46 + "]",
2517
+ expected: "string",
2518
+ value: elem
2519
+ })).every((flag) => flag) || $report(_exceptionable2, {
2520
+ path: _path2 + ".included_types",
2521
+ expected: "(Array<string> | undefined)",
2522
+ value: input3.included_types
2523
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2524
+ path: _path2 + ".isleaf",
2525
+ expected: "(boolean | undefined)",
2526
+ value: input3.isleaf
2527
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2528
+ path: _path2 + ".values",
2529
+ expected: "(TermValues | undefined)",
2530
+ value: input3.values
2531
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2532
+ path: _path2 + ".values",
2533
+ expected: "(TermValues | undefined)",
2534
+ value: input3.values
2535
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
2536
+ path: _path2 + ".groupsetting",
2537
+ expected: "EnabledTermGroupSetting",
2538
+ value: input3.groupsetting
2539
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
2540
+ path: _path2 + ".groupsetting",
2541
+ expected: "EnabledTermGroupSetting",
2542
+ value: input3.groupsetting
2543
+ }), "coord" === input3.kind || $report(_exceptionable2, {
2544
+ path: _path2 + ".kind",
2545
+ expected: '"coord"',
2546
+ value: input3.kind
2547
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
2548
+ path: _path2 + ".chr",
2549
+ expected: "string",
2550
+ value: input3.chr
2551
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
2552
+ path: _path2 + ".start",
2553
+ expected: "number",
2554
+ value: input3.start
2555
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
2556
+ path: _path2 + ".stop",
2557
+ expected: "number",
2558
+ value: input3.stop
2559
+ })].every((flag) => flag);
2560
+ const $vo56 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2561
+ path: _path2 + ".id",
2562
+ expected: "string",
2563
+ value: input3.id
2564
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2565
+ path: _path2 + ".name",
2566
+ expected: "string",
2567
+ value: input3.name
2568
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
2569
+ path: _path2 + ".type",
2570
+ expected: "string",
2571
+ value: input3.type
2572
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2573
+ path: _path2 + ".child_types",
2574
+ expected: "(Array<string> | undefined)",
2575
+ value: input3.child_types
2576
+ })) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
2577
+ path: _path2 + ".child_types[" + _index47 + "]",
2578
+ expected: "string",
2579
+ value: elem
2580
+ })).every((flag) => flag) || $report(_exceptionable2, {
2581
+ path: _path2 + ".child_types",
2582
+ expected: "(Array<string> | undefined)",
2583
+ value: input3.child_types
2584
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2585
+ path: _path2 + ".hashtmldetail",
2586
+ expected: "(boolean | undefined)",
2587
+ value: input3.hashtmldetail
2588
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2589
+ path: _path2 + ".included_types",
2590
+ expected: "(Array<string> | undefined)",
2591
+ value: input3.included_types
2592
+ })) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
2593
+ path: _path2 + ".included_types[" + _index48 + "]",
2594
+ expected: "string",
2595
+ value: elem
2596
+ })).every((flag) => flag) || $report(_exceptionable2, {
2597
+ path: _path2 + ".included_types",
2598
+ expected: "(Array<string> | undefined)",
2599
+ value: input3.included_types
2600
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2601
+ path: _path2 + ".isleaf",
2602
+ expected: "(boolean | undefined)",
2603
+ value: input3.isleaf
2604
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2605
+ path: _path2 + ".values",
2606
+ expected: "(TermValues | undefined)",
2607
+ value: input3.values
2608
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2609
+ path: _path2 + ".values",
2610
+ expected: "(TermValues | undefined)",
2611
+ value: input3.values
2612
+ }), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
2613
+ path: _path2 + ".reachedVariantLimit",
2614
+ expected: "(boolean | undefined)",
2615
+ value: input3.reachedVariantLimit
2616
+ }), void 0 === input3.snps || (Array.isArray(input3.snps) || $report(_exceptionable2, {
2617
+ path: _path2 + ".snps",
2618
+ expected: "(Array<SnpsEntry> | undefined)",
2619
+ value: input3.snps
2620
+ })) && input3.snps.map((elem, _index49) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2621
+ path: _path2 + ".snps[" + _index49 + "]",
2622
+ expected: "SnpsEntry",
2623
+ value: elem
2624
+ })) && $vo47(elem, _path2 + ".snps[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
2625
+ path: _path2 + ".snps[" + _index49 + "]",
2626
+ expected: "SnpsEntry",
2627
+ value: elem
2628
+ })).every((flag) => flag) || $report(_exceptionable2, {
2629
+ path: _path2 + ".snps",
2630
+ expected: "(Array<SnpsEntry> | undefined)",
2631
+ value: input3.snps
2632
+ })].every((flag) => flag);
2633
+ const $vo57 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2634
+ path: _path2 + ".id",
2635
+ expected: "string",
2636
+ value: input3.id
2637
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2638
+ path: _path2 + ".name",
2639
+ expected: "string",
2640
+ value: input3.name
2641
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
2642
+ path: _path2 + ".type",
2643
+ expected: "string",
2644
+ value: input3.type
2645
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2646
+ path: _path2 + ".child_types",
2647
+ expected: "(Array<string> | undefined)",
2648
+ value: input3.child_types
2649
+ })) && input3.child_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
2650
+ path: _path2 + ".child_types[" + _index50 + "]",
2651
+ expected: "string",
2652
+ value: elem
2653
+ })).every((flag) => flag) || $report(_exceptionable2, {
2654
+ path: _path2 + ".child_types",
2655
+ expected: "(Array<string> | undefined)",
2656
+ value: input3.child_types
2657
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2658
+ path: _path2 + ".hashtmldetail",
2659
+ expected: "(boolean | undefined)",
2660
+ value: input3.hashtmldetail
2661
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2662
+ path: _path2 + ".included_types",
2663
+ expected: "(Array<string> | undefined)",
2664
+ value: input3.included_types
2665
+ })) && input3.included_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
2666
+ path: _path2 + ".included_types[" + _index51 + "]",
2667
+ expected: "string",
2668
+ value: elem
2669
+ })).every((flag) => flag) || $report(_exceptionable2, {
2670
+ path: _path2 + ".included_types",
2671
+ expected: "(Array<string> | undefined)",
2672
+ value: input3.included_types
2673
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2674
+ path: _path2 + ".isleaf",
2675
+ expected: "(boolean | undefined)",
2676
+ value: input3.isleaf
2677
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2678
+ path: _path2 + ".values",
2679
+ expected: "(TermValues & SampleLstTermValues | undefined)",
2680
+ value: input3.values
2681
+ })) && $vo58(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2682
+ path: _path2 + ".values",
2683
+ expected: "(TermValues & SampleLstTermValues | undefined)",
2684
+ value: input3.values
2685
+ })].every((flag) => flag);
2686
+ const $vo58 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2687
+ const value = input3[key];
2688
+ if (void 0 === value)
2689
+ return true;
2690
+ if (RegExp(/(.*)/).test(key))
2691
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
2692
+ path: _path2 + $join(key),
2693
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
2694
+ value
2695
+ })) && $vo59(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2696
+ path: _path2 + $join(key),
2697
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
2698
+ value
2699
+ });
2700
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
2701
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
2702
+ path: _path2 + $join(key),
2703
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
2704
+ value
2705
+ })) && $vo59(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2706
+ path: _path2 + $join(key),
2707
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
2708
+ value
2709
+ });
2710
+ return true;
2711
+ }).every((flag) => flag)].every((flag) => flag);
2712
+ const $vo59 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
2713
+ path: _path2 + ".key",
2714
+ expected: "(string | undefined)",
2715
+ value: input3.key
2716
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
2717
+ path: _path2 + ".uncomputable",
2718
+ expected: "(boolean | undefined)",
2719
+ value: input3.uncomputable
2720
+ }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
2721
+ path: _path2 + ".label",
2722
+ expected: "(number | string | undefined)",
2723
+ value: input3.label
2724
+ }), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
2725
+ path: _path2 + ".order",
2726
+ expected: "(string | undefined)",
2727
+ value: input3.order
2728
+ }), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
2729
+ path: _path2 + ".color",
2730
+ expected: "(string | undefined)",
2731
+ value: input3.color
2732
+ }), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
2733
+ path: _path2 + ".group",
2734
+ expected: "(number | undefined)",
2735
+ value: input3.group
2736
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
2737
+ path: _path2 + ".filter",
2738
+ expected: "(Filter | undefined)",
2739
+ value: input3.filter
2740
+ })) && $vo11(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
2741
+ path: _path2 + ".filter",
2742
+ expected: "(Filter | undefined)",
2743
+ value: input3.filter
2744
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2745
+ path: _path2 + ".name",
2746
+ expected: "string",
2747
+ value: input3.name
2748
+ }), "boolean" === typeof input3.inuse || $report(_exceptionable2, {
2749
+ path: _path2 + ".inuse",
2750
+ expected: "boolean",
2751
+ value: input3.inuse
2752
+ }), (Array.isArray(input3.list) || $report(_exceptionable2, {
2753
+ path: _path2 + ".list",
2754
+ expected: "Array<__type>.o3",
2755
+ value: input3.list
2756
+ })) && input3.list.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2757
+ path: _path2 + ".list[" + _index52 + "]",
2758
+ expected: "__type.o6",
2759
+ value: elem
2760
+ })) && $vo60(elem, _path2 + ".list[" + _index52 + "]", _exceptionable2) || $report(_exceptionable2, {
2761
+ path: _path2 + ".list[" + _index52 + "]",
2762
+ expected: "__type.o6",
2763
+ value: elem
2764
+ })).every((flag) => flag) || $report(_exceptionable2, {
2765
+ path: _path2 + ".list",
2766
+ expected: "Array<__type>.o3",
2767
+ value: input3.list
2768
+ }), true].every((flag) => flag);
2769
+ const $vo60 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
2770
+ path: _path2 + ".sampleId",
2771
+ expected: "string",
2772
+ value: input3.sampleId
2773
+ }), "string" === typeof input3.sample || $report(_exceptionable2, {
2774
+ path: _path2 + ".sample",
2775
+ expected: "string",
2776
+ value: input3.sample
2777
+ })].every((flag) => flag);
2778
+ const $vo61 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2779
+ path: _path2 + ".hiddenValues",
2780
+ expected: "(HiddenValues | undefined)",
2781
+ value: input3.hiddenValues
2782
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2783
+ path: _path2 + ".hiddenValues",
2784
+ expected: "(HiddenValues | undefined)",
2785
+ value: input3.hiddenValues
2786
+ }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
2787
+ path: _path2 + ".isAtomic",
2788
+ expected: "(boolean | undefined)",
2789
+ value: input3.isAtomic
2790
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2791
+ path: _path2 + ".name",
2792
+ expected: "(string | undefined)",
2793
+ value: input3.name
2794
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
2795
+ path: _path2 + ".mode",
2796
+ expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
2797
+ value: input3.mode
2798
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2799
+ path: _path2 + ".reuseId",
2800
+ expected: "(string | undefined)",
2801
+ value: input3.reuseId
2802
+ }), void 0 === input3.type || "values" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "custom-samplelst" === input3.type || $report(_exceptionable2, {
2803
+ path: _path2 + ".type",
2804
+ expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
2805
+ value: input3.type
2806
+ })].every((flag) => flag);
2807
+ const $vo62 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2808
+ path: _path2 + ".hiddenValues",
2809
+ expected: "(HiddenValues | undefined)",
2810
+ value: input3.hiddenValues
2811
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2812
+ path: _path2 + ".hiddenValues",
2813
+ expected: "(HiddenValues | undefined)",
2814
+ value: input3.hiddenValues
2815
+ }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
2816
+ path: _path2 + ".isAtomic",
2817
+ expected: "(boolean | undefined)",
2818
+ value: input3.isAtomic
2819
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2820
+ path: _path2 + ".name",
2821
+ expected: "(string | undefined)",
2822
+ value: input3.name
2823
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
2824
+ path: _path2 + ".mode",
2825
+ expected: '("binary" | "cox" | "cuminc" | "discrete" | undefined)',
2826
+ value: input3.mode
2827
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2828
+ path: _path2 + ".reuseId",
2829
+ expected: "(string | undefined)",
2830
+ value: input3.reuseId
2831
+ }), void 0 === input3.type || "values" === input3.type || $report(_exceptionable2, {
2832
+ path: _path2 + ".type",
2833
+ expected: '("values" | undefined)',
2834
+ value: input3.type
2835
+ }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
2836
+ path: _path2 + ".bar_by_children",
2837
+ expected: "(boolean | undefined)",
2838
+ value: input3.bar_by_children
2839
+ }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
2840
+ path: _path2 + ".bar_by_grade",
2841
+ expected: "(boolean | undefined)",
2842
+ value: input3.bar_by_grade
2843
+ }), void 0 === input3.breaks || (Array.isArray(input3.breaks) || $report(_exceptionable2, {
2844
+ path: _path2 + ".breaks",
2845
+ expected: "(Array<number> | undefined)",
2846
+ value: input3.breaks
2847
+ })) && input3.breaks.map((elem, _index53) => "number" === typeof elem || $report(_exceptionable2, {
2848
+ path: _path2 + ".breaks[" + _index53 + "]",
2849
+ expected: "number",
2850
+ value: elem
2851
+ })).every((flag) => flag) || $report(_exceptionable2, {
2852
+ path: _path2 + ".breaks",
2853
+ expected: "(Array<number> | undefined)",
2854
+ value: input3.breaks
2855
+ }), "age" === input3.timeScale || "time" === input3.timeScale || $report(_exceptionable2, {
2856
+ path: _path2 + ".timeScale",
2857
+ expected: '("age" | "time")',
2858
+ value: input3.timeScale
2859
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
2860
+ path: _path2 + ".value_by_max_grade",
2861
+ expected: "(boolean | undefined)",
2862
+ value: input3.value_by_max_grade
2863
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
2864
+ path: _path2 + ".value_by_most_recent",
2865
+ expected: "(boolean | undefined)",
2866
+ value: input3.value_by_most_recent
2867
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
2868
+ path: _path2 + ".value_by_computable_grade",
2869
+ expected: "(boolean | undefined)",
2870
+ value: input3.value_by_computable_grade
2871
+ }), true].every((flag) => flag);
2872
+ const $vo63 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2873
+ path: _path2 + ".hiddenValues",
2874
+ expected: "(HiddenValues | undefined)",
2875
+ value: input3.hiddenValues
2876
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2877
+ path: _path2 + ".hiddenValues",
2878
+ expected: "(HiddenValues | undefined)",
2879
+ value: input3.hiddenValues
2880
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2881
+ path: _path2 + ".isAtomic",
2882
+ expected: "(true | undefined)",
2883
+ value: input3.isAtomic
2884
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2885
+ path: _path2 + ".name",
2886
+ expected: "(string | undefined)",
2887
+ value: input3.name
2888
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2889
+ path: _path2 + ".reuseId",
2890
+ expected: "(string | undefined)",
2891
+ value: input3.reuseId
2892
+ }), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
2893
+ path: _path2 + ".cnvGainCutoff",
2894
+ expected: "(number | undefined)",
2895
+ value: input3.cnvGainCutoff
2896
+ }), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
2897
+ path: _path2 + ".cnvMaxLength",
2898
+ expected: "(number | undefined)",
2899
+ value: input3.cnvMaxLength
2900
+ }), void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue || $report(_exceptionable2, {
2901
+ path: _path2 + ".cnvMinAbsValue",
2902
+ expected: "(number | undefined)",
2903
+ value: input3.cnvMinAbsValue
2904
+ }), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
2905
+ path: _path2 + ".cnvLossCutoff",
2906
+ expected: "(number | undefined)",
2907
+ value: input3.cnvLossCutoff
2908
+ }), (Array.isArray(input3.exclude) || $report(_exceptionable2, {
2909
+ path: _path2 + ".exclude",
2910
+ expected: "Array<string>",
2911
+ value: input3.exclude
2912
+ })) && input3.exclude.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
2913
+ path: _path2 + ".exclude[" + _index54 + "]",
2914
+ expected: "string",
2915
+ value: elem
2916
+ })).every((flag) => flag) || $report(_exceptionable2, {
2917
+ path: _path2 + ".exclude",
2918
+ expected: "Array<string>",
2919
+ value: input3.exclude
2920
+ }), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
2921
+ path: _path2 + ".dt",
2922
+ expected: "(number | undefined)",
2923
+ value: input3.dt
2924
+ }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
2925
+ path: _path2 + ".origin",
2926
+ expected: "(string | undefined)",
2927
+ value: input3.origin
2928
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
2929
+ path: _path2 + ".mode",
2930
+ expected: '("binary" | "discrete" | undefined)',
2931
+ value: input3.mode
2932
+ }), "values" === input3.type || $report(_exceptionable2, {
2933
+ path: _path2 + ".type",
2934
+ expected: '"values"',
2935
+ value: input3.type
2936
+ })].every((flag) => flag);
2937
+ const $vo64 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2938
+ path: _path2 + ".hiddenValues",
2939
+ expected: "(HiddenValues | undefined)",
2940
+ value: input3.hiddenValues
2941
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2942
+ path: _path2 + ".hiddenValues",
2943
+ expected: "(HiddenValues | undefined)",
2944
+ value: input3.hiddenValues
2945
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2946
+ path: _path2 + ".isAtomic",
2947
+ expected: "(true | undefined)",
2948
+ value: input3.isAtomic
2949
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2950
+ path: _path2 + ".name",
2951
+ expected: "(string | undefined)",
2952
+ value: input3.name
2953
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2954
+ path: _path2 + ".reuseId",
2955
+ expected: "(string | undefined)",
2956
+ value: input3.reuseId
2957
+ }), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
2958
+ path: _path2 + ".cnvGainCutoff",
2959
+ expected: "(number | undefined)",
2960
+ value: input3.cnvGainCutoff
2961
+ }), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
2962
+ path: _path2 + ".cnvMaxLength",
2963
+ expected: "(number | undefined)",
2964
+ value: input3.cnvMaxLength
2965
+ }), void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue || $report(_exceptionable2, {
2966
+ path: _path2 + ".cnvMinAbsValue",
2967
+ expected: "(number | undefined)",
2968
+ value: input3.cnvMinAbsValue
2969
+ }), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
2970
+ path: _path2 + ".cnvLossCutoff",
2971
+ expected: "(number | undefined)",
2972
+ value: input3.cnvLossCutoff
2973
+ }), (Array.isArray(input3.exclude) || $report(_exceptionable2, {
2974
+ path: _path2 + ".exclude",
2975
+ expected: "Array<string>",
2976
+ value: input3.exclude
2977
+ })) && input3.exclude.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
2978
+ path: _path2 + ".exclude[" + _index55 + "]",
2979
+ expected: "string",
2980
+ value: elem
2981
+ })).every((flag) => flag) || $report(_exceptionable2, {
2982
+ path: _path2 + ".exclude",
2983
+ expected: "Array<string>",
2984
+ value: input3.exclude
2985
+ }), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
2986
+ path: _path2 + ".dt",
2987
+ expected: "(number | undefined)",
2988
+ value: input3.dt
2989
+ }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
2990
+ path: _path2 + ".origin",
2991
+ expected: "(string | undefined)",
2992
+ value: input3.origin
2993
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
2994
+ path: _path2 + ".mode",
2995
+ expected: '("binary" | "discrete" | undefined)',
2996
+ value: input3.mode
2997
+ }), "predefined-groupset" === input3.type || $report(_exceptionable2, {
2998
+ path: _path2 + ".type",
2999
+ expected: '"predefined-groupset"',
3000
+ value: input3.type
3001
+ }), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
3002
+ path: _path2 + ".predefined_groupset_idx",
3003
+ expected: "number",
3004
+ value: input3.predefined_groupset_idx
3005
+ })].every((flag) => flag);
3006
+ const $vo65 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3007
+ path: _path2 + ".hiddenValues",
3008
+ expected: "(HiddenValues | undefined)",
3009
+ value: input3.hiddenValues
3010
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
3011
+ path: _path2 + ".hiddenValues",
3012
+ expected: "(HiddenValues | undefined)",
3013
+ value: input3.hiddenValues
3014
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
3015
+ path: _path2 + ".isAtomic",
3016
+ expected: "(true | undefined)",
3017
+ value: input3.isAtomic
3018
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3019
+ path: _path2 + ".name",
3020
+ expected: "(string | undefined)",
3021
+ value: input3.name
3022
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3023
+ path: _path2 + ".reuseId",
3024
+ expected: "(string | undefined)",
3025
+ value: input3.reuseId
3026
+ }), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
3027
+ path: _path2 + ".cnvGainCutoff",
3028
+ expected: "(number | undefined)",
3029
+ value: input3.cnvGainCutoff
3030
+ }), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
3031
+ path: _path2 + ".cnvMaxLength",
3032
+ expected: "(number | undefined)",
3033
+ value: input3.cnvMaxLength
3034
+ }), void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue || $report(_exceptionable2, {
3035
+ path: _path2 + ".cnvMinAbsValue",
3036
+ expected: "(number | undefined)",
3037
+ value: input3.cnvMinAbsValue
3038
+ }), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
3039
+ path: _path2 + ".cnvLossCutoff",
3040
+ expected: "(number | undefined)",
3041
+ value: input3.cnvLossCutoff
3042
+ }), (Array.isArray(input3.exclude) || $report(_exceptionable2, {
3043
+ path: _path2 + ".exclude",
3044
+ expected: "Array<string>",
3045
+ value: input3.exclude
3046
+ })) && input3.exclude.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
3047
+ path: _path2 + ".exclude[" + _index56 + "]",
3048
+ expected: "string",
3049
+ value: elem
3050
+ })).every((flag) => flag) || $report(_exceptionable2, {
3051
+ path: _path2 + ".exclude",
3052
+ expected: "Array<string>",
3053
+ value: input3.exclude
3054
+ }), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
3055
+ path: _path2 + ".dt",
3056
+ expected: "(number | undefined)",
3057
+ value: input3.dt
3058
+ }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
3059
+ path: _path2 + ".origin",
3060
+ expected: "(string | undefined)",
3061
+ value: input3.origin
3062
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3063
+ path: _path2 + ".mode",
3064
+ expected: '("binary" | "discrete" | undefined)',
3065
+ value: input3.mode
3066
+ }), "custom-groupset" === input3.type || $report(_exceptionable2, {
3067
+ path: _path2 + ".type",
3068
+ expected: '"custom-groupset"',
3069
+ value: input3.type
3070
+ }), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
3071
+ path: _path2 + ".customset",
3072
+ expected: "BaseGroupSet",
3073
+ value: input3.customset
3074
+ })) && $vo7(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
3075
+ path: _path2 + ".customset",
3076
+ expected: "BaseGroupSet",
3077
+ value: input3.customset
3078
+ })].every((flag) => flag);
3079
+ const $vo66 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3080
+ path: _path2 + ".hiddenValues",
3081
+ expected: "(HiddenValues | undefined)",
3082
+ value: input3.hiddenValues
3083
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
3084
+ path: _path2 + ".hiddenValues",
3085
+ expected: "(HiddenValues | undefined)",
3086
+ value: input3.hiddenValues
3087
+ }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
3088
+ path: _path2 + ".isAtomic",
3089
+ expected: "(boolean | undefined)",
3090
+ value: input3.isAtomic
3091
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3092
+ path: _path2 + ".name",
3093
+ expected: "(string | undefined)",
3094
+ value: input3.name
3095
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
3096
+ path: _path2 + ".mode",
3097
+ expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
3098
+ value: input3.mode
3099
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3100
+ path: _path2 + ".reuseId",
3101
+ expected: "(string | undefined)",
3102
+ value: input3.reuseId
3103
+ }), void 0 === input3.type || "values" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "custom-samplelst" === input3.type || $report(_exceptionable2, {
3104
+ path: _path2 + ".type",
3105
+ expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
3106
+ value: input3.type
3107
+ }), ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) || $report(_exceptionable2, {
3108
+ path: _path2 + ".groups",
3109
+ expected: "SampleLstTermValues",
3110
+ value: input3.groups
3111
+ })) && $vo67(input3.groups, _path2 + ".groups", _exceptionable2) || $report(_exceptionable2, {
3112
+ path: _path2 + ".groups",
3113
+ expected: "SampleLstTermValues",
3114
+ value: input3.groups
3115
+ })].every((flag) => flag);
3116
+ const $vo67 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3117
+ const value = input3[key];
3118
+ if (void 0 === value)
3119
+ return true;
3120
+ if (RegExp(/(.*)/).test(key))
3121
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
3122
+ path: _path2 + $join(key),
3123
+ expected: "__type.o7",
3124
+ value
3125
+ })) && $vo68(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
3126
+ path: _path2 + $join(key),
3127
+ expected: "__type.o7",
3128
+ value
3129
+ });
3130
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
3131
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
3132
+ path: _path2 + $join(key),
3133
+ expected: "__type.o7",
3134
+ value
3135
+ })) && $vo68(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
3136
+ path: _path2 + $join(key),
3137
+ expected: "__type.o7",
3138
+ value
3139
+ });
3140
+ return true;
3141
+ }).every((flag) => flag)].every((flag) => flag);
3142
+ const $vo68 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
3143
+ path: _path2 + ".name",
3144
+ expected: "string",
3145
+ value: input3.name
3146
+ }), "boolean" === typeof input3.inuse || $report(_exceptionable2, {
3147
+ path: _path2 + ".inuse",
3148
+ expected: "boolean",
3149
+ value: input3.inuse
3150
+ }), (Array.isArray(input3.list) || $report(_exceptionable2, {
3151
+ path: _path2 + ".list",
3152
+ expected: "Array<__type>.o3",
3153
+ value: input3.list
3154
+ })) && input3.list.map((elem, _index57) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3155
+ path: _path2 + ".list[" + _index57 + "]",
3156
+ expected: "__type.o6",
3157
+ value: elem
3158
+ })) && $vo60(elem, _path2 + ".list[" + _index57 + "]", _exceptionable2) || $report(_exceptionable2, {
3159
+ path: _path2 + ".list[" + _index57 + "]",
3160
+ expected: "__type.o6",
3161
+ value: elem
3162
+ })).every((flag) => flag) || $report(_exceptionable2, {
3163
+ path: _path2 + ".list",
3164
+ expected: "Array<__type>.o3",
3165
+ value: input3.list
3166
+ }), true].every((flag) => flag);
3167
+ const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
3168
+ if ("string" === typeof input3.type)
3169
+ return $vo8(input3, _path2, _exceptionable2);
3170
+ if ("filter" === input3.type)
3171
+ return $vo10(input3, _path2, _exceptionable2);
3172
+ return $report(_exceptionable2, {
3173
+ path: _path2,
3174
+ expected: "(ValuesGroup | FilterGroup)",
3175
+ value: input3
3176
+ });
3177
+ })();
3178
+ const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
3179
+ if (void 0 !== input3.type)
3180
+ return $vo11(input3, _path2, _exceptionable2);
3181
+ if (void 0 !== input3.ranges)
3182
+ return $vo19(input3, _path2, _exceptionable2);
3183
+ return $vo12(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
3184
+ })();
3185
+ const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
3186
+ if (true === input3.startunbounded)
3187
+ return $vo23(input3, _path2, _exceptionable2);
3188
+ if (true === input3.stopunbounded)
3189
+ return $vo25(input3, _path2, _exceptionable2);
3190
+ return $vo24(input3, _path2, _exceptionable2);
3191
+ })();
3192
+ const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
3193
+ if (2 === input3.dt)
3194
+ return $vo37(input3, _path2, _exceptionable2);
3195
+ if (5 === input3.dt)
3196
+ return $vo36(input3, _path2, _exceptionable2);
3197
+ if (4 === input3.dt)
3198
+ return $vo35(input3, _path2, _exceptionable2);
3199
+ if (1 === input3.dt)
3200
+ return $vo34(input3, _path2, _exceptionable2);
3201
+ return $report(_exceptionable2, {
3202
+ path: _path2,
3203
+ expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
3204
+ value: input3
3205
+ });
3206
+ })();
3207
+ const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
3208
+ if (true === input3.startunbounded)
3209
+ return $vo23(input3, _path2, _exceptionable2);
3210
+ if (void 0 !== input3.start)
3211
+ return $vo24(input3, _path2, _exceptionable2);
3212
+ return $report(_exceptionable2, {
3213
+ path: _path2,
3214
+ expected: "(StartUnboundedBin | FullyBoundedBin)",
3215
+ value: input3
3216
+ });
3217
+ })();
3218
+ const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
3219
+ if (void 0 !== input3.stop)
3220
+ return $vo24(input3, _path2, _exceptionable2);
3221
+ if (true === input3.stopunbounded)
3222
+ return $vo25(input3, _path2, _exceptionable2);
3223
+ return $report(_exceptionable2, {
3224
+ path: _path2,
3225
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
3226
+ value: input3
3227
+ });
3228
+ })();
3229
+ const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
3230
+ if (void 0 !== input3.type)
3231
+ return $vo1(input3, _path2, _exceptionable2);
3232
+ return $vo50(input3, _path2, false) || $vo43(input3, _path2, false) || $vo38(input3, _path2, false);
3233
+ })();
3234
+ const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
3235
+ if ("values" === input3.type)
3236
+ return $vo3(input3, _path2, _exceptionable2);
3237
+ if ("predefined-groupset" === input3.type)
3238
+ return $vo5(input3, _path2, _exceptionable2);
3239
+ if ("custom-groupset" === input3.type)
3240
+ return $vo6(input3, _path2, _exceptionable2);
3241
+ return $report(_exceptionable2, {
3242
+ path: _path2,
3243
+ expected: "(ValuesQ | PredefinedGroupSettingQ | CustomGroupSettingQ)",
3244
+ value: input3
3245
+ });
3246
+ })();
3247
+ const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
3248
+ if (Array.isArray(input3.lst) && input3.lst.map((elem, _index58) => "object" === typeof elem && null !== elem && $vo17(elem, _path2 + ".lst[" + _index58 + "]", false)).every((flag) => flag))
3249
+ return $vo16(input3, _path2, _exceptionable2);
3250
+ return $vo18(input3, _path2, _exceptionable2);
3251
+ })();
3252
+ const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
3253
+ if ("regular-bin" === input3.type)
3254
+ return $vo22(input3, _path2, _exceptionable2);
3255
+ if ("custom-bin" === input3.type)
3256
+ return $vo26(input3, _path2, _exceptionable2);
3257
+ return $report(_exceptionable2, {
3258
+ path: _path2,
3259
+ expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
3260
+ value: input3
3261
+ });
3262
+ })();
3263
+ const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
3264
+ if ("gene" === input3.kind)
3265
+ return $vo32(input3, _path2, _exceptionable2);
3266
+ if ("coord" === input3.kind)
3267
+ return $vo33(input3, _path2, _exceptionable2);
3268
+ return $report(_exceptionable2, {
3269
+ path: _path2,
3270
+ expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
3271
+ value: input3
3272
+ });
3273
+ })();
3274
+ const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
3275
+ if ("regular-bin" === input3.type)
3276
+ return $vo22(input3, _path2, _exceptionable2);
3277
+ if ("continuous" === input3.mode)
3278
+ return $vo40(input3, _path2, _exceptionable2);
3279
+ if ("spline" === input3.mode)
3280
+ return $vo41(input3, _path2, _exceptionable2);
3281
+ return $vo26(input3, _path2, false) || $vo39(input3, _path2, false);
3282
+ })();
3283
+ const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
3284
+ if (void 0 !== input3.ranges)
3285
+ return $vo19(input3, _path2, _exceptionable2);
3286
+ return $vo12(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
3287
+ })();
3288
+ const $vu13 = (input3, _path2, _exceptionable2 = true) => (() => {
3289
+ if ("categorical" === input3.type)
3290
+ return $vo51(input3, _path2, _exceptionable2);
3291
+ if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
3292
+ return $vo52(input3, _path2, _exceptionable2);
3293
+ if ("condition" === input3.type)
3294
+ return $vo53(input3, _path2, _exceptionable2);
3295
+ if ("gene" === input3.kind)
3296
+ return $vo54(input3, _path2, _exceptionable2);
3297
+ if ("coord" === input3.kind)
3298
+ return $vo55(input3, _path2, _exceptionable2);
3299
+ return $vo56(input3, _path2, false) || $vo57(input3, _path2, false);
3300
+ })();
3301
+ const $vu14 = (input3, _path2, _exceptionable2 = true) => (() => {
3302
+ if (void 0 !== input3.bin_size)
3303
+ return $vo22(input3, _path2, _exceptionable2);
3304
+ if (void 0 !== input3.knots)
3305
+ return $vo41(input3, _path2, _exceptionable2);
3306
+ if (void 0 !== input3.AFcutoff)
3307
+ return $vo44(input3, _path2, _exceptionable2);
3308
+ if (void 0 !== input3.timeScale)
3309
+ return $vo62(input3, _path2, _exceptionable2);
3310
+ return (() => {
3311
+ if (void 0 !== input3.groups)
3312
+ return $vo66(input3, _path2, _exceptionable2);
3313
+ return $vo3(input3, _path2, false) || $vo5(input3, _path2, false) || $vo6(input3, _path2, false) || $vo26(input3, _path2, false) || $vo39(input3, _path2, false) || $vo40(input3, _path2, false) || $vo61(input3, _path2, false) || $vo63(input3, _path2, false) || $vo64(input3, _path2, false) || $vo65(input3, _path2, false);
3314
+ })();
3315
+ })();
3316
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
3317
+ path: _path + "",
3318
+ expected: "CategoriesRequest",
3319
+ value: input2
3320
+ })) && $vo0(input2, _path + "", true) || $report(true, {
3321
+ path: _path + "",
3322
+ expected: "CategoriesRequest",
3323
+ value: input2
3324
+ });
3325
+ })(input, "$input", true);
3326
+ }
3327
+ const success = 0 === errors.length;
3328
+ return {
3329
+ success,
3330
+ errors,
3331
+ data: success ? input : void 0
3332
+ };
3333
+ };
3334
+ var validCategoriesResponse = (input) => {
3335
+ const errors = [];
3336
+ const __is = (input2) => {
3337
+ const $io0 = (input3) => Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io1(elem)) && (void 0 === input3.orderedLabels || Array.isArray(input3.orderedLabels) && input3.orderedLabels.length === 0);
3338
+ const $io1 = (input3) => "number" === typeof input3.samplecount && "string" === typeof input3.key && "string" === typeof input3.label;
3339
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
3340
+ };
3341
+ if (false === __is(input)) {
3342
+ const $report = import_typia.createValidate.report(errors);
3343
+ ((input2, _path, _exceptionable = true) => {
3344
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.lst) || $report(_exceptionable2, {
3345
+ path: _path2 + ".lst",
3346
+ expected: "Array<Entries>",
3347
+ value: input3.lst
3348
+ })) && input3.lst.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3349
+ path: _path2 + ".lst[" + _index1 + "]",
3350
+ expected: "Entries",
3351
+ value: elem
3352
+ })) && $vo1(elem, _path2 + ".lst[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
3353
+ path: _path2 + ".lst[" + _index1 + "]",
3354
+ expected: "Entries",
3355
+ value: elem
3356
+ })).every((flag) => flag) || $report(_exceptionable2, {
3357
+ path: _path2 + ".lst",
3358
+ expected: "Array<Entries>",
3359
+ value: input3.lst
3360
+ }), void 0 === input3.orderedLabels || (Array.isArray(input3.orderedLabels) || $report(_exceptionable2, {
3361
+ path: _path2 + ".orderedLabels",
3362
+ expected: "([] | undefined)",
3363
+ value: input3.orderedLabels
3364
+ })) && ((input3.orderedLabels.length === 0 || $report(_exceptionable2, {
3365
+ path: _path2 + ".orderedLabels",
3366
+ expected: "[]",
3367
+ value: input3.orderedLabels
3368
+ })) && [].every((flag) => flag)) || $report(_exceptionable2, {
3369
+ path: _path2 + ".orderedLabels",
3370
+ expected: "([] | undefined)",
3371
+ value: input3.orderedLabels
3372
+ })].every((flag) => flag);
3373
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.samplecount || $report(_exceptionable2, {
3374
+ path: _path2 + ".samplecount",
3375
+ expected: "number",
3376
+ value: input3.samplecount
3377
+ }), "string" === typeof input3.key || $report(_exceptionable2, {
3378
+ path: _path2 + ".key",
3379
+ expected: "string",
3380
+ value: input3.key
3381
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
3382
+ path: _path2 + ".label",
3383
+ expected: "string",
3384
+ value: input3.label
3385
+ })].every((flag) => flag);
3386
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
3387
+ path: _path + "",
3388
+ expected: "CategoriesResponse",
3389
+ value: input2
3390
+ })) && $vo0(input2, _path + "", true) || $report(true, {
3391
+ path: _path + "",
3392
+ expected: "CategoriesResponse",
3393
+ value: input2
3394
+ });
3395
+ })(input, "$input", true);
3396
+ }
3397
+ const success = 0 === errors.length;
3398
+ return {
3399
+ success,
3400
+ errors,
3401
+ data: success ? input : void 0
3402
+ };
3403
+ };
3404
+
3405
+ export {
3406
+ termdbCategoriesPayload,
3407
+ validCategoriesRequest,
3408
+ validCategoriesResponse
3409
+ };