@sjcrh/proteinpaint-types 2.98.1-0 → 2.98.2-0

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