@json-layout/vocabulary 0.1.0 → 0.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.
- package/package.json +4 -2
- package/src/layout-keyword/schema.js +41 -19
- package/src/layout-keyword/schema.json +27 -11
- package/src/layout-keyword/types.ts +14 -3
- package/src/layout-keyword/validate.js +1 -1
- package/src/normalize.js +218 -107
- package/src/normalized-layout/index.js +10 -1
- package/src/normalized-layout/schema.js +156 -31
- package/src/normalized-layout/schema.json +76 -17
- package/src/normalized-layout/types.ts +50 -7
- package/src/normalized-layout/validate.js +1 -1
- package/src/types.ts +2 -0
- package/types/layout-keyword/schema.d.ts +38 -20
- package/types/layout-keyword/types.d.ts +5 -3
- package/types/layout-keyword/types.d.ts.map +1 -1
- package/types/layout-keyword/validate.d.ts +3 -4
- package/types/layout-keyword/validate.d.ts.map +1 -1
- package/types/normalize.d.ts +5 -2
- package/types/normalize.d.ts.map +1 -1
- package/types/normalized-layout/index.d.ts +6 -0
- package/types/normalized-layout/index.d.ts.map +1 -1
- package/types/normalized-layout/schema.d.ts +128 -28
- package/types/normalized-layout/types.d.ts +47 -8
- package/types/normalized-layout/types.d.ts.map +1 -1
- package/types/normalized-layout/validate.d.ts +3 -3
- package/types/normalized-layout/validate.d.ts.map +1 -1
- package/types/types.d.ts +2 -0
- package/types/types.d.ts.map +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { fullFormats } from "ajv-formats/dist/formats.js";
|
|
2
2
|
// @ts-ignore
|
|
3
|
-
export const validate = validate50;export default validate50;const schema47 = {"$id":"https://json-layout.github.io/normalized-layout-keyword","title":"normalized layout","oneOf":[{"$ref":"#/$defs/switch-struct"},{"$ref":"#/$defs/comp-object"}],"$defs":{"switch-struct":{"type":"object","required":["switch"],"additionalProperties":false,"properties":{"switch":{"type":"array","items":{"$ref":"#/$defs/comp-object"}}}},"comp-object":{"type":"object","required":["comp"],"unevaluatedProperties":false,"allOf":[{"properties":{"if":{"$ref":"#/$defs/expression"},"help":{"type":"string"},"cols":{"$ref":"#/$defs/cols-obj"},"props":{"$ref":"#/$defs/state-node-props-lib"},"slots":{"type":"object","allOf":[{"$ref":"#/$defs/state-node-slots-lib"},{"properties":{"before":{"$ref":"#/$defs/slot"},"after":{"$ref":"#/$defs/slot"},"component":{"$ref":"#/$defs/slot"}}}]},"options":{"$ref":"#/$defs/state-node-options"}}},{"discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/none"},{"$ref":"#/$defs/list"},{"$ref":"#/$defs/text-field"},{"$ref":"#/$defs/number-field"},{"$ref":"#/$defs/textarea"},{"$ref":"#/$defs/checkbox"},{"$ref":"#/$defs/switch"},{"$ref":"#/$defs/slider"},{"$ref":"#/$defs/date-picker"},{"$ref":"#/$defs/date-time-picker"},{"$ref":"#/$defs/time-picker"},{"$ref":"#/$defs/color-picker"},{"$ref":"#/$defs/select"},{"$ref":"#/$defs/one-of-select"},{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"}]}]},"composite-comp-object":{"type":"object","discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"}]},"none":{"type":"object","required":["comp"],"properties":{"comp":{"const":"none"}}},"section":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"section"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"tabs":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"vertical-tabs":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"vertical-tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"expansion-panels":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"expansion-panels"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"child":{"type":"object","unevaluatedProperties":false,"required":["key"],"properties":{"key":{"type":["string","integer"]},"cols":{"$ref":"#/$defs/cols-obj"}},"anyOf":[{},{"$ref":"#/$defs/composite-comp-object"}]},"children":{"type":"array","items":{"$ref":"#/$defs/child"}},"list":{"type":"object","required":["comp","listEditMode","listActions"],"properties":{"comp":{"const":"list"},"title":{"type":"string"},"listEditMode":{"type":"string","enum":["inline","inline-single","menu","dialog"]},"listActions":{"type":"array","items":{"type":"string","enum":["add","edit","delete","sort","duplicate"]}},"itemTitle":{"$ref":"#/$defs/expression"},"itemSubtitle":{"$ref":"#/$defs/expression"},"messages":{"type":"object","additionalProperties":false,"properties":{"addItem":{"type":"string"},"delete":{"type":"string"},"edit":{"type":"string"},"duplicate":{"type":"string"},"sort":{"type":"string"}}}}},"text-field":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"text-field"},"label":{"type":"string"}}},"number-field":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-field"},"label":{"type":"string"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}},"textarea":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"textarea"},"label":{"type":"string"}}},"checkbox":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"checkbox"},"label":{"type":"string"}}},"switch":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"switch"},"label":{"type":"string"}}},"slider":{"type":"object","required":["comp","label","min","max"],"properties":{"comp":{"const":"slider"},"label":{"type":"string"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}},"date-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date"},"max":{"type":"string","format":"date"},"format":{"type":"string","enum":["date","date-time"],"default":"date"}}},"date-time-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date-time"},"max":{"type":"string","format":"date-time"}}},"time-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"time"},"max":{"type":"string","format":"time"}}},"color-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"color-picker"},"label":{"type":"string"}}},"select":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"select"},"label":{"type":"string"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"}}},"select-items":{"type":"array","items":{"$ref":"#/$defs/select-item"}},"select-item":{"type":"object","required":["title","key","value"],"properties":{"title":{"type":"string"},"key":{"type":"string"},"value":{}}},"get-items":{"type":"object","properties":{"returnObjects":{"type":"boolean","readOnly":true},"itemsResults":{"$ref":"#/$defs/expression"},"itemTitle":{"$ref":"#/$defs/expression"},"itemKey":{"$ref":"#/$defs/expression"},"itemValue":{"$ref":"#/$defs/expression"}},"oneOf":[{"$ref":"#/$defs/expression"},{"$ref":"#/$defs/get-items-fetch"}]},"get-items-fetch":{"type":"object","required":["url"],"properties":{"url":{"$ref":"#/$defs/expression"}}},"one-of-select":{"type":"object","required":["comp"],"properties":{"comp":{"const":"one-of-select"},"if":{"$ref":"#/$defs/expression"},"label":{"type":"string"},"help":{"type":"string"}}},"expression":{"type":"object","required":["type","expr"],"properties":{"type":{"type":"string","enum":["js-fn","js-eval","js-tpl"]},"expr":{"type":"string"},"ref":{"type":"integer","readOnly":true}}},"cols-obj":{"type":"object","additionalProperties":false,"required":["xs"],"properties":{"xs":{"$ref":"#/$defs/cols","default":12},"sm":{"$ref":"#/$defs/cols"},"md":{"$ref":"#/$defs/cols"},"lg":{"$ref":"#/$defs/cols"},"xl":{"$ref":"#/$defs/cols"},"xxl":{"$ref":"#/$defs/cols"}}},"cols":{"type":"integer","minimum":0,"maximum":12},"slot":{"oneOf":[{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["markdown"],"properties":{"markdown":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"}}}]},"state-node-options":{"type":"object","allOf":[{"$ref":"#/$defs/state-node-options-lib"},{"properties":{"readOnly":{"type":"boolean","default":false},"summary":{"type":"boolean","default":false},"titleDepth":{"type":"integer","minimum":1,"maximum":6,"default":2}}}]},"state-node-options-lib":{"type":"object","patternProperties":{".*":{}}},"state-node-props-lib":{"type":"object","patternProperties":{".*":{}}},"state-node-slots-lib":{"type":"object","patternProperties":{".*":{"$ref":"#/$defs/slot"}}}}};const schema48 = {"type":"object","required":["switch"],"additionalProperties":false,"properties":{"switch":{"type":"array","items":{"$ref":"#/$defs/comp-object"}}}};const schema49 = {"type":"object","required":["comp"],"unevaluatedProperties":false,"allOf":[{"properties":{"if":{"$ref":"#/$defs/expression"},"help":{"type":"string"},"cols":{"$ref":"#/$defs/cols-obj"},"props":{"$ref":"#/$defs/state-node-props-lib"},"slots":{"type":"object","allOf":[{"$ref":"#/$defs/state-node-slots-lib"},{"properties":{"before":{"$ref":"#/$defs/slot"},"after":{"$ref":"#/$defs/slot"},"component":{"$ref":"#/$defs/slot"}}}]},"options":{"$ref":"#/$defs/state-node-options"}}},{"discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/none"},{"$ref":"#/$defs/list"},{"$ref":"#/$defs/text-field"},{"$ref":"#/$defs/number-field"},{"$ref":"#/$defs/textarea"},{"$ref":"#/$defs/checkbox"},{"$ref":"#/$defs/switch"},{"$ref":"#/$defs/slider"},{"$ref":"#/$defs/date-picker"},{"$ref":"#/$defs/date-time-picker"},{"$ref":"#/$defs/time-picker"},{"$ref":"#/$defs/color-picker"},{"$ref":"#/$defs/select"},{"$ref":"#/$defs/one-of-select"},{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"}]}]};const schema50 = {"type":"object","required":["type","expr"],"properties":{"type":{"type":"string","enum":["js-fn","js-eval","js-tpl"]},"expr":{"type":"string"},"ref":{"type":"integer","readOnly":true}}};const schema58 = {"type":"object","patternProperties":{".*":{}}};const schema60 = {"oneOf":[{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["markdown"],"properties":{"markdown":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"}}}]};const schema89 = {"type":"object","required":["comp"],"properties":{"comp":{"const":"none"}}};const schema90 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"text-field"},"label":{"type":"string"}}};const schema91 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-field"},"label":{"type":"string"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}};const schema92 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"textarea"},"label":{"type":"string"}}};const schema93 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"checkbox"},"label":{"type":"string"}}};const schema94 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"switch"},"label":{"type":"string"}}};const schema95 = {"type":"object","required":["comp","label","min","max"],"properties":{"comp":{"const":"slider"},"label":{"type":"string"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}};const schema96 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date"},"max":{"type":"string","format":"date"},"format":{"type":"string","enum":["date","date-time"],"default":"date"}}};const schema97 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date-time"},"max":{"type":"string","format":"date-time"}}};const schema98 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"time"},"max":{"type":"string","format":"time"}}};const schema99 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"color-picker"},"label":{"type":"string"}}};const schema51 = {"type":"object","additionalProperties":false,"required":["xs"],"properties":{"xs":{"$ref":"#/$defs/cols","default":12},"sm":{"$ref":"#/$defs/cols"},"md":{"$ref":"#/$defs/cols"},"lg":{"$ref":"#/$defs/cols"},"xl":{"$ref":"#/$defs/cols"},"xxl":{"$ref":"#/$defs/cols"}}};const schema52 = {"type":"integer","minimum":0,"maximum":12};function validate53(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate53.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.xs === undefined) && (missing0 = "xs")){validate53.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs1 = errors;for(const key0 in data){if(!((((((key0 === "xs") || (key0 === "sm")) || (key0 === "md")) || (key0 === "lg")) || (key0 === "xl")) || (key0 === "xxl"))){validate53.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs1 === errors){if(data.xs !== undefined){let data0 = data.xs;const _errs2 = errors;const _errs3 = errors;if(!(((typeof data0 == "number") && (!(data0 % 1) && !isNaN(data0))) && (isFinite(data0)))){validate53.errors = [{instancePath:instancePath+"/xs",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs3){if((typeof data0 == "number") && (isFinite(data0))){if(data0 > 12 || isNaN(data0)){validate53.errors = [{instancePath:instancePath+"/xs",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"}];return false;}else {if(data0 < 0 || isNaN(data0)){validate53.errors = [{instancePath:instancePath+"/xs",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.sm !== undefined){let data1 = data.sm;const _errs5 = errors;const _errs6 = errors;if(!(((typeof data1 == "number") && (!(data1 % 1) && !isNaN(data1))) && (isFinite(data1)))){validate53.errors = [{instancePath:instancePath+"/sm",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs6){if((typeof data1 == "number") && (isFinite(data1))){if(data1 > 12 || isNaN(data1)){validate53.errors = [{instancePath:instancePath+"/sm",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"}];return false;}else {if(data1 < 0 || isNaN(data1)){validate53.errors = [{instancePath:instancePath+"/sm",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}}var valid0 = _errs5 === errors;}else {var valid0 = true;}if(valid0){if(data.md !== undefined){let data2 = data.md;const _errs8 = errors;const _errs9 = errors;if(!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))){validate53.errors = [{instancePath:instancePath+"/md",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs9){if((typeof data2 == "number") && (isFinite(data2))){if(data2 > 12 || isNaN(data2)){validate53.errors = [{instancePath:instancePath+"/md",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"}];return false;}else {if(data2 < 0 || isNaN(data2)){validate53.errors = [{instancePath:instancePath+"/md",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}}var valid0 = _errs8 === errors;}else {var valid0 = true;}if(valid0){if(data.lg !== undefined){let data3 = data.lg;const _errs11 = errors;const _errs12 = errors;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){validate53.errors = [{instancePath:instancePath+"/lg",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs12){if((typeof data3 == "number") && (isFinite(data3))){if(data3 > 12 || isNaN(data3)){validate53.errors = [{instancePath:instancePath+"/lg",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"}];return false;}else {if(data3 < 0 || isNaN(data3)){validate53.errors = [{instancePath:instancePath+"/lg",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.xl !== undefined){let data4 = data.xl;const _errs14 = errors;const _errs15 = errors;if(!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))){validate53.errors = [{instancePath:instancePath+"/xl",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs15){if((typeof data4 == "number") && (isFinite(data4))){if(data4 > 12 || isNaN(data4)){validate53.errors = [{instancePath:instancePath+"/xl",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"}];return false;}else {if(data4 < 0 || isNaN(data4)){validate53.errors = [{instancePath:instancePath+"/xl",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}}var valid0 = _errs14 === errors;}else {var valid0 = true;}if(valid0){if(data.xxl !== undefined){let data5 = data.xxl;const _errs17 = errors;const _errs18 = errors;if(!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))){validate53.errors = [{instancePath:instancePath+"/xxl",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs18){if((typeof data5 == "number") && (isFinite(data5))){if(data5 > 12 || isNaN(data5)){validate53.errors = [{instancePath:instancePath+"/xxl",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"}];return false;}else {if(data5 < 0 || isNaN(data5)){validate53.errors = [{instancePath:instancePath+"/xxl",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}}var valid0 = _errs17 === errors;}else {var valid0 = true;}}}}}}}}}else {validate53.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate53.errors = vErrors;return errors === 0;}validate53.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const schema59 = {"type":"object","patternProperties":{".*":{"$ref":"#/$defs/slot"}}};const pattern2 = new RegExp(".*", "u");function validate55(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate55.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){var props0 = {};for(const key0 in data){if(pattern2.test(key0)){let data0 = data[key0];const _errs3 = errors;let valid2 = false;let passing0 = null;const _errs4 = errors;if(errors === _errs4){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){let missing0;if((data0.text === undefined) && (missing0 = "text")){const err0 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {const _errs6 = errors;for(const key1 in data0){if(!(key1 === "text")){const err1 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;break;}}if(_errs6 === errors){if(data0.text !== undefined){if(typeof data0.text !== "string"){const err2 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}}}else {const err3 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}var _valid0 = _errs4 === errors;if(_valid0){valid2 = true;passing0 = 0;var props1 = true;}const _errs9 = errors;if(errors === _errs9){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){let missing1;if((data0.markdown === undefined) && (missing1 = "markdown")){const err4 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}else {const _errs11 = errors;for(const key2 in data0){if(!(key2 === "markdown")){const err5 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;break;}}if(_errs11 === errors){if(data0.markdown !== undefined){if(typeof data0.markdown !== "string"){const err6 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}}}else {const err7 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}var _valid0 = _errs9 === errors;if(_valid0 && valid2){valid2 = false;passing0 = [passing0, 1];}else {if(_valid0){valid2 = true;passing0 = 1;if(props1 !== true){props1 = true;}}const _errs14 = errors;if(errors === _errs14){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){let missing2;if((data0.name === undefined) && (missing2 = "name")){const err8 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}else {const _errs16 = errors;for(const key3 in data0){if(!(key3 === "name")){const err9 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;break;}}if(_errs16 === errors){if(data0.name !== undefined){if(typeof data0.name !== "string"){const err10 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}}}}else {const err11 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}var _valid0 = _errs14 === errors;if(_valid0 && valid2){valid2 = false;passing0 = [passing0, 2];}else {if(_valid0){valid2 = true;passing0 = 2;if(props1 !== true){props1 = true;}}}}if(!valid2){const err12 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;validate55.errors = vErrors;return false;}else {errors = _errs3;if(vErrors !== null){if(_errs3){vErrors.length = _errs3;}else {vErrors = null;}}}props0[key0] = true;}}}else {validate55.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate55.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate55.evaluated = {"dynamicProps":true,"dynamicItems":false};const schema64 = {"type":"object","allOf":[{"$ref":"#/$defs/state-node-options-lib"},{"properties":{"readOnly":{"type":"boolean","default":false},"summary":{"type":"boolean","default":false},"titleDepth":{"type":"integer","minimum":1,"maximum":6,"default":2}}}]};const schema65 = {"type":"object","patternProperties":{".*":{}}};function validate57(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate57.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(!(data && typeof data == "object" && !Array.isArray(data))){validate57.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data && typeof data == "object" && !Array.isArray(data)){var props0 = {};for(const key0 in data){if(pattern2.test(key0)){props0[key0] = true;}}}else {validate57.errors = [{instancePath,schemaPath:"#/$defs/state-node-options-lib/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;if(valid0){const _errs4 = errors;if(data && typeof data == "object" && !Array.isArray(data)){if(data.readOnly !== undefined){const _errs5 = errors;if(typeof data.readOnly !== "boolean"){validate57.errors = [{instancePath:instancePath+"/readOnly",schemaPath:"#/allOf/1/properties/readOnly/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid3 = _errs5 === errors;}else {var valid3 = true;}if(valid3){if(data.summary !== undefined){const _errs7 = errors;if(typeof data.summary !== "boolean"){validate57.errors = [{instancePath:instancePath+"/summary",schemaPath:"#/allOf/1/properties/summary/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid3 = _errs7 === errors;}else {var valid3 = true;}if(valid3){if(data.titleDepth !== undefined){let data2 = data.titleDepth;const _errs9 = errors;if(!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))){validate57.errors = [{instancePath:instancePath+"/titleDepth",schemaPath:"#/allOf/1/properties/titleDepth/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs9){if((typeof data2 == "number") && (isFinite(data2))){if(data2 > 6 || isNaN(data2)){validate57.errors = [{instancePath:instancePath+"/titleDepth",schemaPath:"#/allOf/1/properties/titleDepth/maximum",keyword:"maximum",params:{comparison: "<=", limit: 6},message:"must be <= 6"}];return false;}else {if(data2 < 1 || isNaN(data2)){validate57.errors = [{instancePath:instancePath+"/titleDepth",schemaPath:"#/allOf/1/properties/titleDepth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"}];return false;}}}}var valid3 = _errs9 === errors;}else {var valid3 = true;}}}}var valid0 = _errs4 === errors;if(valid0){if(props0 !== true){props0 = props0 || {};props0.readOnly = true;props0.summary = true;props0.titleDepth = true;}}}validate57.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate57.evaluated = {"dynamicProps":true,"dynamicItems":false};const schema66 = {"type":"object","required":["comp","listEditMode","listActions"],"properties":{"comp":{"const":"list"},"title":{"type":"string"},"listEditMode":{"type":"string","enum":["inline","inline-single","menu","dialog"]},"listActions":{"type":"array","items":{"type":"string","enum":["add","edit","delete","sort","duplicate"]}},"itemTitle":{"$ref":"#/$defs/expression"},"itemSubtitle":{"$ref":"#/$defs/expression"},"messages":{"type":"object","additionalProperties":false,"properties":{"addItem":{"type":"string"},"delete":{"type":"string"},"edit":{"type":"string"},"duplicate":{"type":"string"},"sort":{"type":"string"}}}}};function validate59(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate59.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((((data.comp === undefined) && (missing0 = "comp")) || ((data.listEditMode === undefined) && (missing0 = "listEditMode"))) || ((data.listActions === undefined) && (missing0 = "listActions"))){validate59.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.comp !== undefined){const _errs1 = errors;if("list" !== data.comp){validate59.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "list"},message:"must be equal to constant"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.title !== undefined){const _errs2 = errors;if(typeof data.title !== "string"){validate59.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.listEditMode !== undefined){let data2 = data.listEditMode;const _errs4 = errors;if(typeof data2 !== "string"){validate59.errors = [{instancePath:instancePath+"/listEditMode",schemaPath:"#/properties/listEditMode/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((((data2 === "inline") || (data2 === "inline-single")) || (data2 === "menu")) || (data2 === "dialog"))){validate59.errors = [{instancePath:instancePath+"/listEditMode",schemaPath:"#/properties/listEditMode/enum",keyword:"enum",params:{allowedValues: schema66.properties.listEditMode.enum},message:"must be equal to one of the allowed values"}];return false;}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.listActions !== undefined){let data3 = data.listActions;const _errs6 = errors;if(errors === _errs6){if(Array.isArray(data3)){var valid1 = true;const len0 = data3.length;for(let i0=0; i0<len0; i0++){let data4 = data3[i0];const _errs8 = errors;if(typeof data4 !== "string"){validate59.errors = [{instancePath:instancePath+"/listActions/" + i0,schemaPath:"#/properties/listActions/items/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((((data4 === "add") || (data4 === "edit")) || (data4 === "delete")) || (data4 === "sort")) || (data4 === "duplicate"))){validate59.errors = [{instancePath:instancePath+"/listActions/" + i0,schemaPath:"#/properties/listActions/items/enum",keyword:"enum",params:{allowedValues: schema66.properties.listActions.items.enum},message:"must be equal to one of the allowed values"}];return false;}var valid1 = _errs8 === errors;if(!valid1){break;}}}else {validate59.errors = [{instancePath:instancePath+"/listActions",schemaPath:"#/properties/listActions/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid0 = _errs6 === errors;}else {var valid0 = true;}if(valid0){if(data.itemTitle !== undefined){let data5 = data.itemTitle;const _errs10 = errors;const _errs11 = errors;if(errors === _errs11){if(data5 && typeof data5 == "object" && !Array.isArray(data5)){let missing1;if(((data5.type === undefined) && (missing1 = "type")) || ((data5.expr === undefined) && (missing1 = "expr"))){validate59.errors = [{instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"}];return false;}else {if(data5.type !== undefined){let data6 = data5.type;const _errs13 = errors;if(typeof data6 !== "string"){validate59.errors = [{instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data6 === "js-fn") || (data6 === "js-eval")) || (data6 === "js-tpl"))){validate59.errors = [{instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema50.properties.type.enum},message:"must be equal to one of the allowed values"}];return false;}var valid3 = _errs13 === errors;}else {var valid3 = true;}if(valid3){if(data5.expr !== undefined){const _errs15 = errors;if(typeof data5.expr !== "string"){validate59.errors = [{instancePath:instancePath+"/itemTitle/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid3 = _errs15 === errors;}else {var valid3 = true;}if(valid3){if(data5.ref !== undefined){let data8 = data5.ref;const _errs17 = errors;if(!(((typeof data8 == "number") && (!(data8 % 1) && !isNaN(data8))) && (isFinite(data8)))){validate59.errors = [{instancePath:instancePath+"/itemTitle/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}var valid3 = _errs17 === errors;}else {var valid3 = true;}}}}}else {validate59.errors = [{instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs10 === errors;}else {var valid0 = true;}if(valid0){if(data.itemSubtitle !== undefined){let data9 = data.itemSubtitle;const _errs19 = errors;const _errs20 = errors;if(errors === _errs20){if(data9 && typeof data9 == "object" && !Array.isArray(data9)){let missing2;if(((data9.type === undefined) && (missing2 = "type")) || ((data9.expr === undefined) && (missing2 = "expr"))){validate59.errors = [{instancePath:instancePath+"/itemSubtitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"}];return false;}else {if(data9.type !== undefined){let data10 = data9.type;const _errs22 = errors;if(typeof data10 !== "string"){validate59.errors = [{instancePath:instancePath+"/itemSubtitle/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data10 === "js-fn") || (data10 === "js-eval")) || (data10 === "js-tpl"))){validate59.errors = [{instancePath:instancePath+"/itemSubtitle/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema50.properties.type.enum},message:"must be equal to one of the allowed values"}];return false;}var valid5 = _errs22 === errors;}else {var valid5 = true;}if(valid5){if(data9.expr !== undefined){const _errs24 = errors;if(typeof data9.expr !== "string"){validate59.errors = [{instancePath:instancePath+"/itemSubtitle/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid5 = _errs24 === errors;}else {var valid5 = true;}if(valid5){if(data9.ref !== undefined){let data12 = data9.ref;const _errs26 = errors;if(!(((typeof data12 == "number") && (!(data12 % 1) && !isNaN(data12))) && (isFinite(data12)))){validate59.errors = [{instancePath:instancePath+"/itemSubtitle/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}var valid5 = _errs26 === errors;}else {var valid5 = true;}}}}}else {validate59.errors = [{instancePath:instancePath+"/itemSubtitle",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs19 === errors;}else {var valid0 = true;}if(valid0){if(data.messages !== undefined){let data13 = data.messages;const _errs28 = errors;if(errors === _errs28){if(data13 && typeof data13 == "object" && !Array.isArray(data13)){const _errs30 = errors;for(const key0 in data13){if(!(((((key0 === "addItem") || (key0 === "delete")) || (key0 === "edit")) || (key0 === "duplicate")) || (key0 === "sort"))){validate59.errors = [{instancePath:instancePath+"/messages",schemaPath:"#/properties/messages/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs30 === errors){if(data13.addItem !== undefined){const _errs31 = errors;if(typeof data13.addItem !== "string"){validate59.errors = [{instancePath:instancePath+"/messages/addItem",schemaPath:"#/properties/messages/properties/addItem/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid6 = _errs31 === errors;}else {var valid6 = true;}if(valid6){if(data13.delete !== undefined){const _errs33 = errors;if(typeof data13.delete !== "string"){validate59.errors = [{instancePath:instancePath+"/messages/delete",schemaPath:"#/properties/messages/properties/delete/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid6 = _errs33 === errors;}else {var valid6 = true;}if(valid6){if(data13.edit !== undefined){const _errs35 = errors;if(typeof data13.edit !== "string"){validate59.errors = [{instancePath:instancePath+"/messages/edit",schemaPath:"#/properties/messages/properties/edit/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid6 = _errs35 === errors;}else {var valid6 = true;}if(valid6){if(data13.duplicate !== undefined){const _errs37 = errors;if(typeof data13.duplicate !== "string"){validate59.errors = [{instancePath:instancePath+"/messages/duplicate",schemaPath:"#/properties/messages/properties/duplicate/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid6 = _errs37 === errors;}else {var valid6 = true;}if(valid6){if(data13.sort !== undefined){const _errs39 = errors;if(typeof data13.sort !== "string"){validate59.errors = [{instancePath:instancePath+"/messages/sort",schemaPath:"#/properties/messages/properties/sort/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid6 = _errs39 === errors;}else {var valid6 = true;}}}}}}}else {validate59.errors = [{instancePath:instancePath+"/messages",schemaPath:"#/properties/messages/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs28 === errors;}else {var valid0 = true;}}}}}}}}}else {validate59.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate59.errors = vErrors;return errors === 0;}validate59.evaluated = {"props":{"comp":true,"title":true,"listEditMode":true,"listActions":true,"itemTitle":true,"itemSubtitle":true,"messages":true},"dynamicProps":false,"dynamicItems":false};const schema69 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"select"},"label":{"type":"string"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"}}};const schema70 = {"type":"array","items":{"$ref":"#/$defs/select-item"}};const schema71 = {"type":"object","required":["title","key","value"],"properties":{"title":{"type":"string"},"key":{"type":"string"},"value":{}}};function validate61(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate61.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(Array.isArray(data)){var valid0 = true;const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];const _errs1 = errors;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){let missing0;if((((data0.title === undefined) && (missing0 = "title")) || ((data0.key === undefined) && (missing0 = "key"))) || ((data0.value === undefined) && (missing0 = "value"))){validate61.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data0.title !== undefined){const _errs4 = errors;if(typeof data0.title !== "string"){validate61.errors = [{instancePath:instancePath+"/" + i0+"/title",schemaPath:"#/$defs/select-item/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.key !== undefined){const _errs6 = errors;if(typeof data0.key !== "string"){validate61.errors = [{instancePath:instancePath+"/" + i0+"/key",schemaPath:"#/$defs/select-item/properties/key/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}}}}else {validate61.errors = [{instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs1 === errors;if(!valid0){break;}}}else {validate61.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate61.errors = vErrors;return errors === 0;}validate61.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};const schema72 = {"type":"object","properties":{"returnObjects":{"type":"boolean","readOnly":true},"itemsResults":{"$ref":"#/$defs/expression"},"itemTitle":{"$ref":"#/$defs/expression"},"itemKey":{"$ref":"#/$defs/expression"},"itemValue":{"$ref":"#/$defs/expression"}},"oneOf":[{"$ref":"#/$defs/expression"},{"$ref":"#/$defs/get-items-fetch"}]};const schema74 = {"type":"object","required":["url"],"properties":{"url":{"$ref":"#/$defs/expression"}}};function validate64(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate64.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.url === undefined) && (missing0 = "url")){validate64.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.url !== undefined){let data0 = data.url;const _errs2 = errors;if(errors === _errs2){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){let missing1;if(((data0.type === undefined) && (missing1 = "type")) || ((data0.expr === undefined) && (missing1 = "expr"))){validate64.errors = [{instancePath:instancePath+"/url",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"}];return false;}else {if(data0.type !== undefined){let data1 = data0.type;const _errs4 = errors;if(typeof data1 !== "string"){validate64.errors = [{instancePath:instancePath+"/url/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data1 === "js-fn") || (data1 === "js-eval")) || (data1 === "js-tpl"))){validate64.errors = [{instancePath:instancePath+"/url/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema50.properties.type.enum},message:"must be equal to one of the allowed values"}];return false;}var valid2 = _errs4 === errors;}else {var valid2 = true;}if(valid2){if(data0.expr !== undefined){const _errs6 = errors;if(typeof data0.expr !== "string"){validate64.errors = [{instancePath:instancePath+"/url/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs6 === errors;}else {var valid2 = true;}if(valid2){if(data0.ref !== undefined){let data3 = data0.ref;const _errs8 = errors;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){validate64.errors = [{instancePath:instancePath+"/url/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}var valid2 = _errs8 === errors;}else {var valid2 = true;}}}}}else {validate64.errors = [{instancePath:instancePath+"/url",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}}}}else {validate64.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate64.errors = vErrors;return errors === 0;}validate64.evaluated = {"props":{"url":true},"dynamicProps":false,"dynamicItems":false};function validate63(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate63.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}const _errs1 = errors;let valid0 = false;let passing0 = null;const _errs2 = errors;const _errs3 = errors;if(errors === _errs3){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.type === undefined) && (missing0 = "type")) || ((data.expr === undefined) && (missing0 = "expr"))){const err0 = {instancePath,schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {if(data.type !== undefined){let data0 = data.type;const _errs5 = errors;if(typeof data0 !== "string"){const err1 = {instancePath:instancePath+"/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(!(((data0 === "js-fn") || (data0 === "js-eval")) || (data0 === "js-tpl"))){const err2 = {instancePath:instancePath+"/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema50.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}var valid2 = _errs5 === errors;}else {var valid2 = true;}if(valid2){if(data.expr !== undefined){const _errs7 = errors;if(typeof data.expr !== "string"){const err3 = {instancePath:instancePath+"/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}var valid2 = _errs7 === errors;}else {var valid2 = true;}if(valid2){if(data.ref !== undefined){let data2 = data.ref;const _errs9 = errors;if(!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))){const err4 = {instancePath:instancePath+"/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}var valid2 = _errs9 === errors;}else {var valid2 = true;}}}}}else {const err5 = {instancePath,schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}var _valid0 = _errs2 === errors;if(_valid0){valid0 = true;passing0 = 0;var props0 = {};props0.type = true;props0.expr = true;props0.ref = true;}const _errs11 = errors;if(!(validate64(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate64.errors : vErrors.concat(validate64.errors);errors = vErrors.length;}var _valid0 = _errs11 === errors;if(_valid0 && valid0){valid0 = false;passing0 = [passing0, 1];}else {if(_valid0){valid0 = true;passing0 = 1;if(props0 !== true){props0 = props0 || {};props0.url = true;}}}if(!valid0){const err6 = {instancePath,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;validate63.errors = vErrors;return false;}else {errors = _errs1;if(vErrors !== null){if(_errs1){vErrors.length = _errs1;}else {vErrors = null;}}}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){if(props0 !== true){props0 = props0 || {};props0.returnObjects = true;props0.itemsResults = true;props0.itemTitle = true;props0.itemKey = true;props0.itemValue = true;}if(data.returnObjects !== undefined){const _errs12 = errors;if(typeof data.returnObjects !== "boolean"){validate63.errors = [{instancePath:instancePath+"/returnObjects",schemaPath:"#/properties/returnObjects/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"}];return false;}var valid3 = _errs12 === errors;}else {var valid3 = true;}if(valid3){if(data.itemsResults !== undefined){let data4 = data.itemsResults;const _errs14 = errors;const _errs15 = errors;if(errors === _errs15){if(data4 && typeof data4 == "object" && !Array.isArray(data4)){let missing1;if(((data4.type === undefined) && (missing1 = "type")) || ((data4.expr === undefined) && (missing1 = "expr"))){validate63.errors = [{instancePath:instancePath+"/itemsResults",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"}];return false;}else {if(data4.type !== undefined){let data5 = data4.type;const _errs17 = errors;if(typeof data5 !== "string"){validate63.errors = [{instancePath:instancePath+"/itemsResults/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data5 === "js-fn") || (data5 === "js-eval")) || (data5 === "js-tpl"))){validate63.errors = [{instancePath:instancePath+"/itemsResults/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema50.properties.type.enum},message:"must be equal to one of the allowed values"}];return false;}var valid5 = _errs17 === errors;}else {var valid5 = true;}if(valid5){if(data4.expr !== undefined){const _errs19 = errors;if(typeof data4.expr !== "string"){validate63.errors = [{instancePath:instancePath+"/itemsResults/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid5 = _errs19 === errors;}else {var valid5 = true;}if(valid5){if(data4.ref !== undefined){let data7 = data4.ref;const _errs21 = errors;if(!(((typeof data7 == "number") && (!(data7 % 1) && !isNaN(data7))) && (isFinite(data7)))){validate63.errors = [{instancePath:instancePath+"/itemsResults/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}var valid5 = _errs21 === errors;}else {var valid5 = true;}}}}}else {validate63.errors = [{instancePath:instancePath+"/itemsResults",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid3 = _errs14 === errors;}else {var valid3 = true;}if(valid3){if(data.itemTitle !== undefined){let data8 = data.itemTitle;const _errs23 = errors;const _errs24 = errors;if(errors === _errs24){if(data8 && typeof data8 == "object" && !Array.isArray(data8)){let missing2;if(((data8.type === undefined) && (missing2 = "type")) || ((data8.expr === undefined) && (missing2 = "expr"))){validate63.errors = [{instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"}];return false;}else {if(data8.type !== undefined){let data9 = data8.type;const _errs26 = errors;if(typeof data9 !== "string"){validate63.errors = [{instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data9 === "js-fn") || (data9 === "js-eval")) || (data9 === "js-tpl"))){validate63.errors = [{instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema50.properties.type.enum},message:"must be equal to one of the allowed values"}];return false;}var valid7 = _errs26 === errors;}else {var valid7 = true;}if(valid7){if(data8.expr !== undefined){const _errs28 = errors;if(typeof data8.expr !== "string"){validate63.errors = [{instancePath:instancePath+"/itemTitle/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid7 = _errs28 === errors;}else {var valid7 = true;}if(valid7){if(data8.ref !== undefined){let data11 = data8.ref;const _errs30 = errors;if(!(((typeof data11 == "number") && (!(data11 % 1) && !isNaN(data11))) && (isFinite(data11)))){validate63.errors = [{instancePath:instancePath+"/itemTitle/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}var valid7 = _errs30 === errors;}else {var valid7 = true;}}}}}else {validate63.errors = [{instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid3 = _errs23 === errors;}else {var valid3 = true;}if(valid3){if(data.itemKey !== undefined){let data12 = data.itemKey;const _errs32 = errors;const _errs33 = errors;if(errors === _errs33){if(data12 && typeof data12 == "object" && !Array.isArray(data12)){let missing3;if(((data12.type === undefined) && (missing3 = "type")) || ((data12.expr === undefined) && (missing3 = "expr"))){validate63.errors = [{instancePath:instancePath+"/itemKey",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"}];return false;}else {if(data12.type !== undefined){let data13 = data12.type;const _errs35 = errors;if(typeof data13 !== "string"){validate63.errors = [{instancePath:instancePath+"/itemKey/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data13 === "js-fn") || (data13 === "js-eval")) || (data13 === "js-tpl"))){validate63.errors = [{instancePath:instancePath+"/itemKey/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema50.properties.type.enum},message:"must be equal to one of the allowed values"}];return false;}var valid9 = _errs35 === errors;}else {var valid9 = true;}if(valid9){if(data12.expr !== undefined){const _errs37 = errors;if(typeof data12.expr !== "string"){validate63.errors = [{instancePath:instancePath+"/itemKey/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid9 = _errs37 === errors;}else {var valid9 = true;}if(valid9){if(data12.ref !== undefined){let data15 = data12.ref;const _errs39 = errors;if(!(((typeof data15 == "number") && (!(data15 % 1) && !isNaN(data15))) && (isFinite(data15)))){validate63.errors = [{instancePath:instancePath+"/itemKey/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}var valid9 = _errs39 === errors;}else {var valid9 = true;}}}}}else {validate63.errors = [{instancePath:instancePath+"/itemKey",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid3 = _errs32 === errors;}else {var valid3 = true;}if(valid3){if(data.itemValue !== undefined){let data16 = data.itemValue;const _errs41 = errors;const _errs42 = errors;if(errors === _errs42){if(data16 && typeof data16 == "object" && !Array.isArray(data16)){let missing4;if(((data16.type === undefined) && (missing4 = "type")) || ((data16.expr === undefined) && (missing4 = "expr"))){validate63.errors = [{instancePath:instancePath+"/itemValue",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: missing4},message:"must have required property '"+missing4+"'"}];return false;}else {if(data16.type !== undefined){let data17 = data16.type;const _errs44 = errors;if(typeof data17 !== "string"){validate63.errors = [{instancePath:instancePath+"/itemValue/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data17 === "js-fn") || (data17 === "js-eval")) || (data17 === "js-tpl"))){validate63.errors = [{instancePath:instancePath+"/itemValue/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema50.properties.type.enum},message:"must be equal to one of the allowed values"}];return false;}var valid11 = _errs44 === errors;}else {var valid11 = true;}if(valid11){if(data16.expr !== undefined){const _errs46 = errors;if(typeof data16.expr !== "string"){validate63.errors = [{instancePath:instancePath+"/itemValue/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid11 = _errs46 === errors;}else {var valid11 = true;}if(valid11){if(data16.ref !== undefined){let data19 = data16.ref;const _errs48 = errors;if(!(((typeof data19 == "number") && (!(data19 % 1) && !isNaN(data19))) && (isFinite(data19)))){validate63.errors = [{instancePath:instancePath+"/itemValue/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}var valid11 = _errs48 === errors;}else {var valid11 = true;}}}}}else {validate63.errors = [{instancePath:instancePath+"/itemValue",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid3 = _errs41 === errors;}else {var valid3 = true;}}}}}}else {validate63.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate63.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate63.evaluated = {"dynamicProps":true,"dynamicItems":false};function validate60(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate60.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.comp === undefined) && (missing0 = "comp")) || ((data.label === undefined) && (missing0 = "label"))){validate60.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.comp !== undefined){const _errs1 = errors;if("select" !== data.comp){validate60.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "select"},message:"must be equal to constant"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.label !== undefined){const _errs2 = errors;if(typeof data.label !== "string"){validate60.errors = [{instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.items !== undefined){const _errs4 = errors;if(!(validate61(data.items, {instancePath:instancePath+"/items",parentData:data,parentDataProperty:"items",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate61.errors : vErrors.concat(validate61.errors);errors = vErrors.length;}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.getItems !== undefined){const _errs5 = errors;if(!(validate63(data.getItems, {instancePath:instancePath+"/getItems",parentData:data,parentDataProperty:"getItems",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate63.errors : vErrors.concat(validate63.errors);errors = vErrors.length;}var valid0 = _errs5 === errors;}else {var valid0 = true;}}}}}}else {validate60.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate60.errors = vErrors;return errors === 0;}validate60.evaluated = {"props":{"comp":true,"label":true,"items":true,"getItems":true},"dynamicProps":false,"dynamicItems":false};const schema80 = {"type":"object","required":["comp"],"properties":{"comp":{"const":"one-of-select"},"if":{"$ref":"#/$defs/expression"},"label":{"type":"string"},"help":{"type":"string"}}};function validate67(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate67.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.comp === undefined) && (missing0 = "comp")){validate67.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.comp !== undefined){const _errs1 = errors;if("one-of-select" !== data.comp){validate67.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "one-of-select"},message:"must be equal to constant"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.if !== undefined){let data1 = data.if;const _errs2 = errors;const _errs3 = errors;if(errors === _errs3){if(data1 && typeof data1 == "object" && !Array.isArray(data1)){let missing1;if(((data1.type === undefined) && (missing1 = "type")) || ((data1.expr === undefined) && (missing1 = "expr"))){validate67.errors = [{instancePath:instancePath+"/if",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"}];return false;}else {if(data1.type !== undefined){let data2 = data1.type;const _errs5 = errors;if(typeof data2 !== "string"){validate67.errors = [{instancePath:instancePath+"/if/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data2 === "js-fn") || (data2 === "js-eval")) || (data2 === "js-tpl"))){validate67.errors = [{instancePath:instancePath+"/if/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema50.properties.type.enum},message:"must be equal to one of the allowed values"}];return false;}var valid2 = _errs5 === errors;}else {var valid2 = true;}if(valid2){if(data1.expr !== undefined){const _errs7 = errors;if(typeof data1.expr !== "string"){validate67.errors = [{instancePath:instancePath+"/if/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid2 = _errs7 === errors;}else {var valid2 = true;}if(valid2){if(data1.ref !== undefined){let data4 = data1.ref;const _errs9 = errors;if(!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))){validate67.errors = [{instancePath:instancePath+"/if/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}var valid2 = _errs9 === errors;}else {var valid2 = true;}}}}}else {validate67.errors = [{instancePath:instancePath+"/if",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.label !== undefined){const _errs11 = errors;if(typeof data.label !== "string"){validate67.errors = [{instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs11 === errors;}else {var valid0 = true;}if(valid0){if(data.help !== undefined){const _errs13 = errors;if(typeof data.help !== "string"){validate67.errors = [{instancePath:instancePath+"/help",schemaPath:"#/properties/help/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid0 = _errs13 === errors;}else {var valid0 = true;}}}}}}else {validate67.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate67.errors = vErrors;return errors === 0;}validate67.evaluated = {"props":{"comp":true,"if":true,"label":true,"help":true},"dynamicProps":false,"dynamicItems":false};const schema82 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"section"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};const schema83 = {"type":"array","items":{"$ref":"#/$defs/child"}};const schema84 = {"type":"object","unevaluatedProperties":false,"required":["key"],"properties":{"key":{"type":["string","integer"]},"cols":{"$ref":"#/$defs/cols-obj"}},"anyOf":[{},{"$ref":"#/$defs/composite-comp-object"}]};const schema85 = {"type":"object","discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"}]};const wrapper4 = {validate: validate68};const schema86 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};const wrapper1 = {validate: validate69};function validate72(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate72.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.comp === undefined) && (missing0 = "comp")) || ((data.children === undefined) && (missing0 = "children"))){validate72.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.comp !== undefined){const _errs1 = errors;if("tabs" !== data.comp){validate72.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "tabs"},message:"must be equal to constant"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.title !== undefined){let data1 = data.title;const _errs2 = errors;if((typeof data1 !== "string") && (data1 !== null)){validate72.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema86.properties.title.type},message:"must be string,null"}];return false;}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.subtitle !== undefined){let data2 = data.subtitle;const _errs4 = errors;if((typeof data2 !== "string") && (data2 !== null)){validate72.errors = [{instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema86.properties.subtitle.type},message:"must be string,null"}];return false;}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.children !== undefined){const _errs6 = errors;if(!(wrapper1.validate(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);errors = vErrors.length;}var valid0 = _errs6 === errors;}else {var valid0 = true;}}}}}}else {validate72.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate72.errors = vErrors;return errors === 0;}validate72.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const schema87 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"vertical-tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};function validate73(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate73.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.comp === undefined) && (missing0 = "comp")) || ((data.children === undefined) && (missing0 = "children"))){validate73.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.comp !== undefined){const _errs1 = errors;if("vertical-tabs" !== data.comp){validate73.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "vertical-tabs"},message:"must be equal to constant"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.title !== undefined){let data1 = data.title;const _errs2 = errors;if((typeof data1 !== "string") && (data1 !== null)){validate73.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema87.properties.title.type},message:"must be string,null"}];return false;}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.subtitle !== undefined){let data2 = data.subtitle;const _errs4 = errors;if((typeof data2 !== "string") && (data2 !== null)){validate73.errors = [{instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema87.properties.subtitle.type},message:"must be string,null"}];return false;}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.children !== undefined){const _errs6 = errors;if(!(wrapper1.validate(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);errors = vErrors.length;}var valid0 = _errs6 === errors;}else {var valid0 = true;}}}}}}else {validate73.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate73.errors = vErrors;return errors === 0;}validate73.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const schema88 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"expansion-panels"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};function validate74(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate74.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.comp === undefined) && (missing0 = "comp")) || ((data.children === undefined) && (missing0 = "children"))){validate74.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.comp !== undefined){const _errs1 = errors;if("expansion-panels" !== data.comp){validate74.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "expansion-panels"},message:"must be equal to constant"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.title !== undefined){let data1 = data.title;const _errs2 = errors;if((typeof data1 !== "string") && (data1 !== null)){validate74.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema88.properties.title.type},message:"must be string,null"}];return false;}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.subtitle !== undefined){let data2 = data.subtitle;const _errs4 = errors;if((typeof data2 !== "string") && (data2 !== null)){validate74.errors = [{instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema88.properties.subtitle.type},message:"must be string,null"}];return false;}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.children !== undefined){const _errs6 = errors;if(!(wrapper1.validate(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);errors = vErrors.length;}var valid0 = _errs6 === errors;}else {var valid0 = true;}}}}}}else {validate74.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate74.errors = vErrors;return errors === 0;}validate74.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};function validate71(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate71.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){const tag0 = data.comp;if(typeof tag0 == "string"){if(tag0 === "section"){if(!(wrapper4.validate(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper4.validate.errors : vErrors.concat(wrapper4.validate.errors);errors = vErrors.length;}else {var props0 = wrapper4.validate.evaluated.props;var items0 = wrapper4.validate.evaluated.items;}}else if(tag0 === "tabs"){if(!(validate72(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate72.errors : vErrors.concat(validate72.errors);errors = vErrors.length;}if(props0 !== true){props0 = props0 || {};props0.comp = true;props0.title = true;props0.subtitle = true;props0.children = true;}}else if(tag0 === "vertical-tabs"){if(!(validate73(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate73.errors : vErrors.concat(validate73.errors);errors = vErrors.length;}if(props0 !== true){props0 = props0 || {};props0.comp = true;props0.title = true;props0.subtitle = true;props0.children = true;}}else if(tag0 === "expansion-panels"){if(!(validate74(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate74.errors : vErrors.concat(validate74.errors);errors = vErrors.length;}if(props0 !== true){props0 = props0 || {};props0.comp = true;props0.title = true;props0.subtitle = true;props0.children = true;}}else {validate71.errors = [{instancePath,schemaPath:"#/discriminator",keyword:"discriminator",params:{error: "mapping", tag: "comp", tagValue: tag0},message:"value of tag \"comp\" must be in oneOf"}];return false;}}else {validate71.errors = [{instancePath,schemaPath:"#/discriminator",keyword:"discriminator",params:{error: "tag", tag: "comp", tagValue: tag0},message:"tag \"comp\" must be string"}];return false;}}else {validate71.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate71.errors = vErrors;evaluated0.props = props0;evaluated0.items = items0;return errors === 0;}validate71.evaluated = {"dynamicProps":true,"dynamicItems":true};function validate70(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate70.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}const _errs1 = errors;let valid0 = false;var _valid0 = true;valid0 = valid0 || _valid0;const _errs2 = errors;if(!(validate71(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate71.errors : vErrors.concat(validate71.errors);errors = vErrors.length;}else {var props0 = validate71.evaluated.props;var items0 = validate71.evaluated.items;}var _valid0 = _errs2 === errors;valid0 = valid0 || _valid0;if(!valid0){const err0 = {instancePath,schemaPath:"#/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;validate70.errors = vErrors;return false;}else {errors = _errs1;if(vErrors !== null){if(_errs1){vErrors.length = _errs1;}else {vErrors = null;}}}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.key === undefined) && (missing0 = "key")){validate70.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(props0 !== true){props0 = props0 || {};props0.key = true;props0.cols = true;}if(data.key !== undefined){let data0 = data.key;const _errs3 = errors;if((typeof data0 !== "string") && (!(((typeof data0 == "number") && (!(data0 % 1) && !isNaN(data0))) && (isFinite(data0))))){validate70.errors = [{instancePath:instancePath+"/key",schemaPath:"#/properties/key/type",keyword:"type",params:{type: schema84.properties.key.type},message:"must be string,integer"}];return false;}var valid1 = _errs3 === errors;}else {var valid1 = true;}if(valid1){if(data.cols !== undefined){const _errs5 = errors;if(!(validate53(data.cols, {instancePath:instancePath+"/cols",parentData:data,parentDataProperty:"cols",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate53.errors : vErrors.concat(validate53.errors);errors = vErrors.length;}var valid1 = _errs5 === errors;}else {var valid1 = true;}if(valid1){if(props0 !== true){for(const key0 in data){if(!props0 || !props0[key0]){validate70.errors = [{instancePath,schemaPath:"#/unevaluatedProperties",keyword:"unevaluatedProperties",params:{unevaluatedProperty: key0},message:"must NOT have unevaluated properties"}];return false;break;}}}}}}}else {validate70.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate70.errors = vErrors;evaluated0.items = items0;return errors === 0;}validate70.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":true};function validate69(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate69.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(Array.isArray(data)){var valid0 = true;const len0 = data.length;for(let i0=0; i0<len0; i0++){const _errs1 = errors;if(!(validate70(data[i0], {instancePath:instancePath+"/" + i0,parentData:data,parentDataProperty:i0,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate70.errors : vErrors.concat(validate70.errors);errors = vErrors.length;}var valid0 = _errs1 === errors;if(!valid0){break;}}}else {validate69.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}validate69.errors = vErrors;return errors === 0;}validate69.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate68(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate68.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((data.comp === undefined) && (missing0 = "comp")) || ((data.children === undefined) && (missing0 = "children"))){validate68.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data.comp !== undefined){const _errs1 = errors;if("section" !== data.comp){validate68.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "section"},message:"must be equal to constant"}];return false;}var valid0 = _errs1 === errors;}else {var valid0 = true;}if(valid0){if(data.title !== undefined){let data1 = data.title;const _errs2 = errors;if((typeof data1 !== "string") && (data1 !== null)){validate68.errors = [{instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema82.properties.title.type},message:"must be string,null"}];return false;}var valid0 = _errs2 === errors;}else {var valid0 = true;}if(valid0){if(data.subtitle !== undefined){let data2 = data.subtitle;const _errs4 = errors;if((typeof data2 !== "string") && (data2 !== null)){validate68.errors = [{instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema82.properties.subtitle.type},message:"must be string,null"}];return false;}var valid0 = _errs4 === errors;}else {var valid0 = true;}if(valid0){if(data.children !== undefined){const _errs6 = errors;if(!(validate69(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate69.errors : vErrors.concat(validate69.errors);errors = vErrors.length;}var valid0 = _errs6 === errors;}else {var valid0 = true;}}}}}}else {validate68.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate68.errors = vErrors;return errors === 0;}validate68.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const formats0 = fullFormats.date;const formats4 = fullFormats["date-time"];const formats8 = fullFormats.time;function validate52(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate52.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}const _errs1 = errors;if(data && typeof data == "object" && !Array.isArray(data)){if(data.if !== undefined){let data0 = data.if;const _errs2 = errors;const _errs3 = errors;if(errors === _errs3){if(data0 && typeof data0 == "object" && !Array.isArray(data0)){let missing0;if(((data0.type === undefined) && (missing0 = "type")) || ((data0.expr === undefined) && (missing0 = "expr"))){validate52.errors = [{instancePath:instancePath+"/if",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {if(data0.type !== undefined){let data1 = data0.type;const _errs5 = errors;if(typeof data1 !== "string"){validate52.errors = [{instancePath:instancePath+"/if/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!(((data1 === "js-fn") || (data1 === "js-eval")) || (data1 === "js-tpl"))){validate52.errors = [{instancePath:instancePath+"/if/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema50.properties.type.enum},message:"must be equal to one of the allowed values"}];return false;}var valid3 = _errs5 === errors;}else {var valid3 = true;}if(valid3){if(data0.expr !== undefined){const _errs7 = errors;if(typeof data0.expr !== "string"){validate52.errors = [{instancePath:instancePath+"/if/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid3 = _errs7 === errors;}else {var valid3 = true;}if(valid3){if(data0.ref !== undefined){let data3 = data0.ref;const _errs9 = errors;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){validate52.errors = [{instancePath:instancePath+"/if/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}var valid3 = _errs9 === errors;}else {var valid3 = true;}}}}}else {validate52.errors = [{instancePath:instancePath+"/if",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid1 = _errs2 === errors;}else {var valid1 = true;}if(valid1){if(data.help !== undefined){const _errs11 = errors;if(typeof data.help !== "string"){validate52.errors = [{instancePath:instancePath+"/help",schemaPath:"#/allOf/0/properties/help/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid1 = _errs11 === errors;}else {var valid1 = true;}if(valid1){if(data.cols !== undefined){const _errs13 = errors;if(!(validate53(data.cols, {instancePath:instancePath+"/cols",parentData:data,parentDataProperty:"cols",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate53.errors : vErrors.concat(validate53.errors);errors = vErrors.length;}var valid1 = _errs13 === errors;}else {var valid1 = true;}if(valid1){if(data.props !== undefined){let data6 = data.props;const _errs14 = errors;const _errs15 = errors;if(errors === _errs15){if(data6 && typeof data6 == "object" && !Array.isArray(data6)){var props0 = {};for(const key0 in data6){if(pattern2.test(key0)){props0[key0] = true;}}}else {validate52.errors = [{instancePath:instancePath+"/props",schemaPath:"#/$defs/state-node-props-lib/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid1 = _errs14 === errors;}else {var valid1 = true;}if(valid1){if(data.slots !== undefined){let data7 = data.slots;const _errs17 = errors;if(!(data7 && typeof data7 == "object" && !Array.isArray(data7))){validate52.errors = [{instancePath:instancePath+"/slots",schemaPath:"#/allOf/0/properties/slots/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}const _errs19 = errors;if(!(validate55(data7, {instancePath:instancePath+"/slots",parentData:data,parentDataProperty:"slots",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate55.errors : vErrors.concat(validate55.errors);errors = vErrors.length;}else {var props1 = validate55.evaluated.props;}var valid6 = _errs19 === errors;if(valid6){const _errs20 = errors;if(data7 && typeof data7 == "object" && !Array.isArray(data7)){if(data7.before !== undefined){let data8 = data7.before;const _errs21 = errors;const _errs23 = errors;let valid9 = false;let passing0 = null;const _errs24 = errors;if(errors === _errs24){if(data8 && typeof data8 == "object" && !Array.isArray(data8)){let missing1;if((data8.text === undefined) && (missing1 = "text")){const err0 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {const _errs26 = errors;for(const key1 in data8){if(!(key1 === "text")){const err1 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;break;}}if(_errs26 === errors){if(data8.text !== undefined){if(typeof data8.text !== "string"){const err2 = {instancePath:instancePath+"/slots/before/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}}}else {const err3 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}var _valid0 = _errs24 === errors;if(_valid0){valid9 = true;passing0 = 0;var props2 = true;}const _errs29 = errors;if(errors === _errs29){if(data8 && typeof data8 == "object" && !Array.isArray(data8)){let missing2;if((data8.markdown === undefined) && (missing2 = "markdown")){const err4 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: missing2},message:"must have required property '"+missing2+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}else {const _errs31 = errors;for(const key2 in data8){if(!(key2 === "markdown")){const err5 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;break;}}if(_errs31 === errors){if(data8.markdown !== undefined){if(typeof data8.markdown !== "string"){const err6 = {instancePath:instancePath+"/slots/before/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}}}else {const err7 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}var _valid0 = _errs29 === errors;if(_valid0 && valid9){valid9 = false;passing0 = [passing0, 1];}else {if(_valid0){valid9 = true;passing0 = 1;if(props2 !== true){props2 = true;}}const _errs34 = errors;if(errors === _errs34){if(data8 && typeof data8 == "object" && !Array.isArray(data8)){let missing3;if((data8.name === undefined) && (missing3 = "name")){const err8 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: missing3},message:"must have required property '"+missing3+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}else {const _errs36 = errors;for(const key3 in data8){if(!(key3 === "name")){const err9 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;break;}}if(_errs36 === errors){if(data8.name !== undefined){if(typeof data8.name !== "string"){const err10 = {instancePath:instancePath+"/slots/before/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}}}}else {const err11 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}var _valid0 = _errs34 === errors;if(_valid0 && valid9){valid9 = false;passing0 = [passing0, 2];}else {if(_valid0){valid9 = true;passing0 = 2;if(props2 !== true){props2 = true;}}}}if(!valid9){const err12 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;validate52.errors = vErrors;return false;}else {errors = _errs23;if(vErrors !== null){if(_errs23){vErrors.length = _errs23;}else {vErrors = null;}}}var valid7 = _errs21 === errors;}else {var valid7 = true;}if(valid7){if(data7.after !== undefined){let data12 = data7.after;const _errs39 = errors;const _errs41 = errors;let valid14 = false;let passing1 = null;const _errs42 = errors;if(errors === _errs42){if(data12 && typeof data12 == "object" && !Array.isArray(data12)){let missing4;if((data12.text === undefined) && (missing4 = "text")){const err13 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: missing4},message:"must have required property '"+missing4+"'"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}else {const _errs44 = errors;for(const key4 in data12){if(!(key4 === "text")){const err14 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;break;}}if(_errs44 === errors){if(data12.text !== undefined){if(typeof data12.text !== "string"){const err15 = {instancePath:instancePath+"/slots/after/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}}}else {const err16 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}var _valid1 = _errs42 === errors;if(_valid1){valid14 = true;passing1 = 0;var props3 = true;}const _errs47 = errors;if(errors === _errs47){if(data12 && typeof data12 == "object" && !Array.isArray(data12)){let missing5;if((data12.markdown === undefined) && (missing5 = "markdown")){const err17 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: missing5},message:"must have required property '"+missing5+"'"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}else {const _errs49 = errors;for(const key5 in data12){if(!(key5 === "markdown")){const err18 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;break;}}if(_errs49 === errors){if(data12.markdown !== undefined){if(typeof data12.markdown !== "string"){const err19 = {instancePath:instancePath+"/slots/after/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}}}}else {const err20 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}var _valid1 = _errs47 === errors;if(_valid1 && valid14){valid14 = false;passing1 = [passing1, 1];}else {if(_valid1){valid14 = true;passing1 = 1;if(props3 !== true){props3 = true;}}const _errs52 = errors;if(errors === _errs52){if(data12 && typeof data12 == "object" && !Array.isArray(data12)){let missing6;if((data12.name === undefined) && (missing6 = "name")){const err21 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: missing6},message:"must have required property '"+missing6+"'"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}else {const _errs54 = errors;for(const key6 in data12){if(!(key6 === "name")){const err22 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;break;}}if(_errs54 === errors){if(data12.name !== undefined){if(typeof data12.name !== "string"){const err23 = {instancePath:instancePath+"/slots/after/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}}}}else {const err24 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}var _valid1 = _errs52 === errors;if(_valid1 && valid14){valid14 = false;passing1 = [passing1, 2];}else {if(_valid1){valid14 = true;passing1 = 2;if(props3 !== true){props3 = true;}}}}if(!valid14){const err25 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing1},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;validate52.errors = vErrors;return false;}else {errors = _errs41;if(vErrors !== null){if(_errs41){vErrors.length = _errs41;}else {vErrors = null;}}}var valid7 = _errs39 === errors;}else {var valid7 = true;}if(valid7){if(data7.component !== undefined){let data16 = data7.component;const _errs57 = errors;const _errs59 = errors;let valid19 = false;let passing2 = null;const _errs60 = errors;if(errors === _errs60){if(data16 && typeof data16 == "object" && !Array.isArray(data16)){let missing7;if((data16.text === undefined) && (missing7 = "text")){const err26 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: missing7},message:"must have required property '"+missing7+"'"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}else {const _errs62 = errors;for(const key7 in data16){if(!(key7 === "text")){const err27 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;break;}}if(_errs62 === errors){if(data16.text !== undefined){if(typeof data16.text !== "string"){const err28 = {instancePath:instancePath+"/slots/component/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}}}}else {const err29 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}var _valid2 = _errs60 === errors;if(_valid2){valid19 = true;passing2 = 0;var props4 = true;}const _errs65 = errors;if(errors === _errs65){if(data16 && typeof data16 == "object" && !Array.isArray(data16)){let missing8;if((data16.markdown === undefined) && (missing8 = "markdown")){const err30 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: missing8},message:"must have required property '"+missing8+"'"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}else {const _errs67 = errors;for(const key8 in data16){if(!(key8 === "markdown")){const err31 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;break;}}if(_errs67 === errors){if(data16.markdown !== undefined){if(typeof data16.markdown !== "string"){const err32 = {instancePath:instancePath+"/slots/component/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}}}}else {const err33 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}var _valid2 = _errs65 === errors;if(_valid2 && valid19){valid19 = false;passing2 = [passing2, 1];}else {if(_valid2){valid19 = true;passing2 = 1;if(props4 !== true){props4 = true;}}const _errs70 = errors;if(errors === _errs70){if(data16 && typeof data16 == "object" && !Array.isArray(data16)){let missing9;if((data16.name === undefined) && (missing9 = "name")){const err34 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: missing9},message:"must have required property '"+missing9+"'"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}else {const _errs72 = errors;for(const key9 in data16){if(!(key9 === "name")){const err35 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;break;}}if(_errs72 === errors){if(data16.name !== undefined){if(typeof data16.name !== "string"){const err36 = {instancePath:instancePath+"/slots/component/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}}}}else {const err37 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}var _valid2 = _errs70 === errors;if(_valid2 && valid19){valid19 = false;passing2 = [passing2, 2];}else {if(_valid2){valid19 = true;passing2 = 2;if(props4 !== true){props4 = true;}}}}if(!valid19){const err38 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing2},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;validate52.errors = vErrors;return false;}else {errors = _errs59;if(vErrors !== null){if(_errs59){vErrors.length = _errs59;}else {vErrors = null;}}}var valid7 = _errs57 === errors;}else {var valid7 = true;}}}}var valid6 = _errs20 === errors;if(valid6){if(props1 !== true){props1 = props1 || {};props1.before = true;props1.after = true;props1.component = true;}}}var valid1 = _errs17 === errors;}else {var valid1 = true;}if(valid1){if(data.options !== undefined){const _errs75 = errors;if(!(validate57(data.options, {instancePath:instancePath+"/options",parentData:data,parentDataProperty:"options",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate57.errors : vErrors.concat(validate57.errors);errors = vErrors.length;}var valid1 = _errs75 === errors;}else {var valid1 = true;}}}}}}}var valid0 = _errs1 === errors;if(valid0){const _errs76 = errors;if(errors === _errs76){if(data && typeof data == "object" && !Array.isArray(data)){const tag0 = data.comp;if(typeof tag0 == "string"){if(tag0 === "none"){const _errs79 = errors;if(errors === _errs79){if(data && typeof data == "object" && !Array.isArray(data)){let missing10;if((data.comp === undefined) && (missing10 = "comp")){validate52.errors = [{instancePath,schemaPath:"#/$defs/none/required",keyword:"required",params:{missingProperty: missing10},message:"must have required property '"+missing10+"'"}];return false;}else {if(data.comp !== undefined){if("none" !== data.comp){validate52.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/$defs/none/properties/comp/const",keyword:"const",params:{allowedValue: "none"},message:"must be equal to constant"}];return false;}}}}else {validate52.errors = [{instancePath,schemaPath:"#/$defs/none/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var props6 = {};props6.comp = true;}else if(tag0 === "list"){if(!(validate59(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate59.errors : vErrors.concat(validate59.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.listEditMode = true;props6.listActions = true;props6.itemTitle = true;props6.itemSubtitle = true;props6.messages = true;}}else if(tag0 === "text-field"){const _errs84 = errors;if(errors === _errs84){if(data && typeof data == "object" && !Array.isArray(data)){let missing11;if(((data.comp === undefined) && (missing11 = "comp")) || ((data.label === undefined) && (missing11 = "label"))){validate52.errors = [{instancePath,schemaPath:"#/$defs/text-field/required",keyword:"required",params:{missingProperty: missing11},message:"must have required property '"+missing11+"'"}];return false;}else {if(data.comp !== undefined){const _errs86 = errors;if("text-field" !== data.comp){validate52.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/$defs/text-field/properties/comp/const",keyword:"const",params:{allowedValue: "text-field"},message:"must be equal to constant"}];return false;}var valid30 = _errs86 === errors;}else {var valid30 = true;}if(valid30){if(data.label !== undefined){const _errs87 = errors;if(typeof data.label !== "string"){validate52.errors = [{instancePath:instancePath+"/label",schemaPath:"#/$defs/text-field/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid30 = _errs87 === errors;}else {var valid30 = true;}}}}else {validate52.errors = [{instancePath,schemaPath:"#/$defs/text-field/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "number-field"){const _errs90 = errors;if(errors === _errs90){if(data && typeof data == "object" && !Array.isArray(data)){let missing12;if(((data.comp === undefined) && (missing12 = "comp")) || ((data.label === undefined) && (missing12 = "label"))){validate52.errors = [{instancePath,schemaPath:"#/$defs/number-field/required",keyword:"required",params:{missingProperty: missing12},message:"must have required property '"+missing12+"'"}];return false;}else {if(data.comp !== undefined){const _errs92 = errors;if("number-field" !== data.comp){validate52.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/$defs/number-field/properties/comp/const",keyword:"const",params:{allowedValue: "number-field"},message:"must be equal to constant"}];return false;}var valid33 = _errs92 === errors;}else {var valid33 = true;}if(valid33){if(data.label !== undefined){const _errs93 = errors;if(typeof data.label !== "string"){validate52.errors = [{instancePath:instancePath+"/label",schemaPath:"#/$defs/number-field/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid33 = _errs93 === errors;}else {var valid33 = true;}if(valid33){if(data.step !== undefined){let data26 = data.step;const _errs95 = errors;if(!((typeof data26 == "number") && (isFinite(data26)))){validate52.errors = [{instancePath:instancePath+"/step",schemaPath:"#/$defs/number-field/properties/step/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid33 = _errs95 === errors;}else {var valid33 = true;}if(valid33){if(data.min !== undefined){let data27 = data.min;const _errs97 = errors;if(!((typeof data27 == "number") && (isFinite(data27)))){validate52.errors = [{instancePath:instancePath+"/min",schemaPath:"#/$defs/number-field/properties/min/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid33 = _errs97 === errors;}else {var valid33 = true;}if(valid33){if(data.max !== undefined){let data28 = data.max;const _errs99 = errors;if(!((typeof data28 == "number") && (isFinite(data28)))){validate52.errors = [{instancePath:instancePath+"/max",schemaPath:"#/$defs/number-field/properties/max/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid33 = _errs99 === errors;}else {var valid33 = true;}}}}}}}else {validate52.errors = [{instancePath,schemaPath:"#/$defs/number-field/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.step = true;props6.min = true;props6.max = true;}}else if(tag0 === "textarea"){const _errs102 = errors;if(errors === _errs102){if(data && typeof data == "object" && !Array.isArray(data)){let missing13;if(((data.comp === undefined) && (missing13 = "comp")) || ((data.label === undefined) && (missing13 = "label"))){validate52.errors = [{instancePath,schemaPath:"#/$defs/textarea/required",keyword:"required",params:{missingProperty: missing13},message:"must have required property '"+missing13+"'"}];return false;}else {if(data.comp !== undefined){const _errs104 = errors;if("textarea" !== data.comp){validate52.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/$defs/textarea/properties/comp/const",keyword:"const",params:{allowedValue: "textarea"},message:"must be equal to constant"}];return false;}var valid36 = _errs104 === errors;}else {var valid36 = true;}if(valid36){if(data.label !== undefined){const _errs105 = errors;if(typeof data.label !== "string"){validate52.errors = [{instancePath:instancePath+"/label",schemaPath:"#/$defs/textarea/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid36 = _errs105 === errors;}else {var valid36 = true;}}}}else {validate52.errors = [{instancePath,schemaPath:"#/$defs/textarea/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "checkbox"){const _errs108 = errors;if(errors === _errs108){if(data && typeof data == "object" && !Array.isArray(data)){let missing14;if(((data.comp === undefined) && (missing14 = "comp")) || ((data.label === undefined) && (missing14 = "label"))){validate52.errors = [{instancePath,schemaPath:"#/$defs/checkbox/required",keyword:"required",params:{missingProperty: missing14},message:"must have required property '"+missing14+"'"}];return false;}else {if(data.comp !== undefined){const _errs110 = errors;if("checkbox" !== data.comp){validate52.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/$defs/checkbox/properties/comp/const",keyword:"const",params:{allowedValue: "checkbox"},message:"must be equal to constant"}];return false;}var valid39 = _errs110 === errors;}else {var valid39 = true;}if(valid39){if(data.label !== undefined){const _errs111 = errors;if(typeof data.label !== "string"){validate52.errors = [{instancePath:instancePath+"/label",schemaPath:"#/$defs/checkbox/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid39 = _errs111 === errors;}else {var valid39 = true;}}}}else {validate52.errors = [{instancePath,schemaPath:"#/$defs/checkbox/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "switch"){const _errs114 = errors;if(errors === _errs114){if(data && typeof data == "object" && !Array.isArray(data)){let missing15;if(((data.comp === undefined) && (missing15 = "comp")) || ((data.label === undefined) && (missing15 = "label"))){validate52.errors = [{instancePath,schemaPath:"#/$defs/switch/required",keyword:"required",params:{missingProperty: missing15},message:"must have required property '"+missing15+"'"}];return false;}else {if(data.comp !== undefined){const _errs116 = errors;if("switch" !== data.comp){validate52.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/$defs/switch/properties/comp/const",keyword:"const",params:{allowedValue: "switch"},message:"must be equal to constant"}];return false;}var valid42 = _errs116 === errors;}else {var valid42 = true;}if(valid42){if(data.label !== undefined){const _errs117 = errors;if(typeof data.label !== "string"){validate52.errors = [{instancePath:instancePath+"/label",schemaPath:"#/$defs/switch/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid42 = _errs117 === errors;}else {var valid42 = true;}}}}else {validate52.errors = [{instancePath,schemaPath:"#/$defs/switch/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "slider"){const _errs120 = errors;if(errors === _errs120){if(data && typeof data == "object" && !Array.isArray(data)){let missing16;if(((((data.comp === undefined) && (missing16 = "comp")) || ((data.label === undefined) && (missing16 = "label"))) || ((data.min === undefined) && (missing16 = "min"))) || ((data.max === undefined) && (missing16 = "max"))){validate52.errors = [{instancePath,schemaPath:"#/$defs/slider/required",keyword:"required",params:{missingProperty: missing16},message:"must have required property '"+missing16+"'"}];return false;}else {if(data.comp !== undefined){const _errs122 = errors;if("slider" !== data.comp){validate52.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/$defs/slider/properties/comp/const",keyword:"const",params:{allowedValue: "slider"},message:"must be equal to constant"}];return false;}var valid45 = _errs122 === errors;}else {var valid45 = true;}if(valid45){if(data.label !== undefined){const _errs123 = errors;if(typeof data.label !== "string"){validate52.errors = [{instancePath:instancePath+"/label",schemaPath:"#/$defs/slider/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid45 = _errs123 === errors;}else {var valid45 = true;}if(valid45){if(data.step !== undefined){let data37 = data.step;const _errs125 = errors;if(!((typeof data37 == "number") && (isFinite(data37)))){validate52.errors = [{instancePath:instancePath+"/step",schemaPath:"#/$defs/slider/properties/step/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid45 = _errs125 === errors;}else {var valid45 = true;}if(valid45){if(data.min !== undefined){let data38 = data.min;const _errs127 = errors;if(!((typeof data38 == "number") && (isFinite(data38)))){validate52.errors = [{instancePath:instancePath+"/min",schemaPath:"#/$defs/slider/properties/min/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid45 = _errs127 === errors;}else {var valid45 = true;}if(valid45){if(data.max !== undefined){let data39 = data.max;const _errs129 = errors;if(!((typeof data39 == "number") && (isFinite(data39)))){validate52.errors = [{instancePath:instancePath+"/max",schemaPath:"#/$defs/slider/properties/max/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid45 = _errs129 === errors;}else {var valid45 = true;}}}}}}}else {validate52.errors = [{instancePath,schemaPath:"#/$defs/slider/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.step = true;props6.min = true;props6.max = true;}}else if(tag0 === "date-picker"){const _errs132 = errors;if(errors === _errs132){if(data && typeof data == "object" && !Array.isArray(data)){let missing17;if(((data.comp === undefined) && (missing17 = "comp")) || ((data.label === undefined) && (missing17 = "label"))){validate52.errors = [{instancePath,schemaPath:"#/$defs/date-picker/required",keyword:"required",params:{missingProperty: missing17},message:"must have required property '"+missing17+"'"}];return false;}else {if(data.comp !== undefined){const _errs134 = errors;if("date-picker" !== data.comp){validate52.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/$defs/date-picker/properties/comp/const",keyword:"const",params:{allowedValue: "date-picker"},message:"must be equal to constant"}];return false;}var valid48 = _errs134 === errors;}else {var valid48 = true;}if(valid48){if(data.label !== undefined){const _errs135 = errors;if(typeof data.label !== "string"){validate52.errors = [{instancePath:instancePath+"/label",schemaPath:"#/$defs/date-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid48 = _errs135 === errors;}else {var valid48 = true;}if(valid48){if(data.min !== undefined){let data42 = data.min;const _errs137 = errors;if(errors === _errs137){if(errors === _errs137){if(typeof data42 === "string"){if(!(formats0.validate(data42))){validate52.errors = [{instancePath:instancePath+"/min",schemaPath:"#/$defs/date-picker/properties/min/format",keyword:"format",params:{format: "date"},message:"must match format \""+"date"+"\""}];return false;}}else {validate52.errors = [{instancePath:instancePath+"/min",schemaPath:"#/$defs/date-picker/properties/min/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid48 = _errs137 === errors;}else {var valid48 = true;}if(valid48){if(data.max !== undefined){let data43 = data.max;const _errs139 = errors;if(errors === _errs139){if(errors === _errs139){if(typeof data43 === "string"){if(!(formats0.validate(data43))){validate52.errors = [{instancePath:instancePath+"/max",schemaPath:"#/$defs/date-picker/properties/max/format",keyword:"format",params:{format: "date"},message:"must match format \""+"date"+"\""}];return false;}}else {validate52.errors = [{instancePath:instancePath+"/max",schemaPath:"#/$defs/date-picker/properties/max/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid48 = _errs139 === errors;}else {var valid48 = true;}if(valid48){if(data.format !== undefined){let data44 = data.format;const _errs141 = errors;if(typeof data44 !== "string"){validate52.errors = [{instancePath:instancePath+"/format",schemaPath:"#/$defs/date-picker/properties/format/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}if(!((data44 === "date") || (data44 === "date-time"))){validate52.errors = [{instancePath:instancePath+"/format",schemaPath:"#/$defs/date-picker/properties/format/enum",keyword:"enum",params:{allowedValues: schema96.properties.format.enum},message:"must be equal to one of the allowed values"}];return false;}var valid48 = _errs141 === errors;}else {var valid48 = true;}}}}}}}else {validate52.errors = [{instancePath,schemaPath:"#/$defs/date-picker/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.min = true;props6.max = true;props6.format = true;}}else if(tag0 === "date-time-picker"){const _errs144 = errors;if(errors === _errs144){if(data && typeof data == "object" && !Array.isArray(data)){let missing18;if(((data.comp === undefined) && (missing18 = "comp")) || ((data.label === undefined) && (missing18 = "label"))){validate52.errors = [{instancePath,schemaPath:"#/$defs/date-time-picker/required",keyword:"required",params:{missingProperty: missing18},message:"must have required property '"+missing18+"'"}];return false;}else {if(data.comp !== undefined){const _errs146 = errors;if("date-time-picker" !== data.comp){validate52.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/$defs/date-time-picker/properties/comp/const",keyword:"const",params:{allowedValue: "date-time-picker"},message:"must be equal to constant"}];return false;}var valid51 = _errs146 === errors;}else {var valid51 = true;}if(valid51){if(data.label !== undefined){const _errs147 = errors;if(typeof data.label !== "string"){validate52.errors = [{instancePath:instancePath+"/label",schemaPath:"#/$defs/date-time-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid51 = _errs147 === errors;}else {var valid51 = true;}if(valid51){if(data.min !== undefined){let data47 = data.min;const _errs149 = errors;if(errors === _errs149){if(errors === _errs149){if(typeof data47 === "string"){if(!(formats4.validate(data47))){validate52.errors = [{instancePath:instancePath+"/min",schemaPath:"#/$defs/date-time-picker/properties/min/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}else {validate52.errors = [{instancePath:instancePath+"/min",schemaPath:"#/$defs/date-time-picker/properties/min/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid51 = _errs149 === errors;}else {var valid51 = true;}if(valid51){if(data.max !== undefined){let data48 = data.max;const _errs151 = errors;if(errors === _errs151){if(errors === _errs151){if(typeof data48 === "string"){if(!(formats4.validate(data48))){validate52.errors = [{instancePath:instancePath+"/max",schemaPath:"#/$defs/date-time-picker/properties/max/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""}];return false;}}else {validate52.errors = [{instancePath:instancePath+"/max",schemaPath:"#/$defs/date-time-picker/properties/max/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid51 = _errs151 === errors;}else {var valid51 = true;}}}}}}else {validate52.errors = [{instancePath,schemaPath:"#/$defs/date-time-picker/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.min = true;props6.max = true;}}else if(tag0 === "time-picker"){const _errs154 = errors;if(errors === _errs154){if(data && typeof data == "object" && !Array.isArray(data)){let missing19;if(((data.comp === undefined) && (missing19 = "comp")) || ((data.label === undefined) && (missing19 = "label"))){validate52.errors = [{instancePath,schemaPath:"#/$defs/time-picker/required",keyword:"required",params:{missingProperty: missing19},message:"must have required property '"+missing19+"'"}];return false;}else {if(data.comp !== undefined){const _errs156 = errors;if("time-picker" !== data.comp){validate52.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/$defs/time-picker/properties/comp/const",keyword:"const",params:{allowedValue: "time-picker"},message:"must be equal to constant"}];return false;}var valid54 = _errs156 === errors;}else {var valid54 = true;}if(valid54){if(data.label !== undefined){const _errs157 = errors;if(typeof data.label !== "string"){validate52.errors = [{instancePath:instancePath+"/label",schemaPath:"#/$defs/time-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid54 = _errs157 === errors;}else {var valid54 = true;}if(valid54){if(data.min !== undefined){let data51 = data.min;const _errs159 = errors;if(errors === _errs159){if(errors === _errs159){if(typeof data51 === "string"){if(!(formats8.validate(data51))){validate52.errors = [{instancePath:instancePath+"/min",schemaPath:"#/$defs/time-picker/properties/min/format",keyword:"format",params:{format: "time"},message:"must match format \""+"time"+"\""}];return false;}}else {validate52.errors = [{instancePath:instancePath+"/min",schemaPath:"#/$defs/time-picker/properties/min/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid54 = _errs159 === errors;}else {var valid54 = true;}if(valid54){if(data.max !== undefined){let data52 = data.max;const _errs161 = errors;if(errors === _errs161){if(errors === _errs161){if(typeof data52 === "string"){if(!(formats8.validate(data52))){validate52.errors = [{instancePath:instancePath+"/max",schemaPath:"#/$defs/time-picker/properties/max/format",keyword:"format",params:{format: "time"},message:"must match format \""+"time"+"\""}];return false;}}else {validate52.errors = [{instancePath:instancePath+"/max",schemaPath:"#/$defs/time-picker/properties/max/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}}}var valid54 = _errs161 === errors;}else {var valid54 = true;}}}}}}else {validate52.errors = [{instancePath,schemaPath:"#/$defs/time-picker/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.min = true;props6.max = true;}}else if(tag0 === "color-picker"){const _errs164 = errors;if(errors === _errs164){if(data && typeof data == "object" && !Array.isArray(data)){let missing20;if(((data.comp === undefined) && (missing20 = "comp")) || ((data.label === undefined) && (missing20 = "label"))){validate52.errors = [{instancePath,schemaPath:"#/$defs/color-picker/required",keyword:"required",params:{missingProperty: missing20},message:"must have required property '"+missing20+"'"}];return false;}else {if(data.comp !== undefined){const _errs166 = errors;if("color-picker" !== data.comp){validate52.errors = [{instancePath:instancePath+"/comp",schemaPath:"#/$defs/color-picker/properties/comp/const",keyword:"const",params:{allowedValue: "color-picker"},message:"must be equal to constant"}];return false;}var valid57 = _errs166 === errors;}else {var valid57 = true;}if(valid57){if(data.label !== undefined){const _errs167 = errors;if(typeof data.label !== "string"){validate52.errors = [{instancePath:instancePath+"/label",schemaPath:"#/$defs/color-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"}];return false;}var valid57 = _errs167 === errors;}else {var valid57 = true;}}}}else {validate52.errors = [{instancePath,schemaPath:"#/$defs/color-picker/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "select"){if(!(validate60(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate60.errors : vErrors.concat(validate60.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.items = true;props6.getItems = true;}}else if(tag0 === "one-of-select"){if(!(validate67(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.if = true;props6.label = true;props6.help = true;}}else if(tag0 === "section"){if(!(validate68(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "tabs"){if(!(validate72(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate72.errors : vErrors.concat(validate72.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "vertical-tabs"){if(!(validate73(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate73.errors : vErrors.concat(validate73.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "expansion-panels"){if(!(validate74(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate74.errors : vErrors.concat(validate74.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else {validate52.errors = [{instancePath,schemaPath:"#/allOf/1/discriminator",keyword:"discriminator",params:{error: "mapping", tag: "comp", tagValue: tag0},message:"value of tag \"comp\" must be in oneOf"}];return false;}}else {validate52.errors = [{instancePath,schemaPath:"#/allOf/1/discriminator",keyword:"discriminator",params:{error: "tag", tag: "comp", tagValue: tag0},message:"tag \"comp\" must be string"}];return false;}}}var valid0 = _errs76 === errors;if(valid0){if(props6 !== true){props6 = props6 || {};props6.if = true;props6.help = true;props6.cols = true;props6.props = true;props6.slots = true;props6.options = true;}}}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing21;if((data.comp === undefined) && (missing21 = "comp")){validate52.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing21},message:"must have required property '"+missing21+"'"}];return false;}else {if(props6 !== true){for(const key10 in data){if(!props6 || !props6[key10]){validate52.errors = [{instancePath,schemaPath:"#/unevaluatedProperties",keyword:"unevaluatedProperties",params:{unevaluatedProperty: key10},message:"must NOT have unevaluated properties"}];return false;break;}}}}}else {validate52.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate52.errors = vErrors;return errors === 0;}validate52.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};function validate51(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate51.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(errors === 0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((data.switch === undefined) && (missing0 = "switch")){validate51.errors = [{instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs1 = errors;for(const key0 in data){if(!(key0 === "switch")){validate51.errors = [{instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs1 === errors){if(data.switch !== undefined){let data0 = data.switch;const _errs2 = errors;if(errors === _errs2){if(Array.isArray(data0)){var valid1 = true;const len0 = data0.length;for(let i0=0; i0<len0; i0++){const _errs4 = errors;if(!(validate52(data0[i0], {instancePath:instancePath+"/switch/" + i0,parentData:data0,parentDataProperty:i0,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate52.errors : vErrors.concat(validate52.errors);errors = vErrors.length;}var valid1 = _errs4 === errors;if(!valid1){break;}}}else {validate51.errors = [{instancePath:instancePath+"/switch",schemaPath:"#/properties/switch/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}}}}}else {validate51.errors = [{instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate51.errors = vErrors;return errors === 0;}validate51.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};function validate50(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://json-layout.github.io/normalized-layout-keyword" */;let vErrors = null;let errors = 0;const evaluated0 = validate50.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}const _errs0 = errors;let valid0 = false;let passing0 = null;const _errs1 = errors;if(!(validate51(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate51.errors : vErrors.concat(validate51.errors);errors = vErrors.length;}var _valid0 = _errs1 === errors;if(_valid0){valid0 = true;passing0 = 0;var props0 = true;}const _errs2 = errors;if(!(validate52(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate52.errors : vErrors.concat(validate52.errors);errors = vErrors.length;}var _valid0 = _errs2 === errors;if(_valid0 && valid0){valid0 = false;passing0 = [passing0, 1];}else {if(_valid0){valid0 = true;passing0 = 1;if(props0 !== true){props0 = true;}}}if(!valid0){const err0 = {instancePath,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;validate50.errors = vErrors;return false;}else {errors = _errs0;if(vErrors !== null){if(_errs0){vErrors.length = _errs0;}else {vErrors = null;}}}validate50.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate50.evaluated = {"dynamicProps":true,"dynamicItems":false};
|
|
3
|
+
export const validate = validate54;export default validate54;const schema53 = {"$id":"https://json-layout.github.io/normalized-layout-keyword","title":"normalized layout","oneOf":[{"$ref":"#/$defs/switch-struct"},{"$ref":"#/$defs/comp-object"}],"$defs":{"switch-struct":{"type":"object","required":["switch"],"additionalProperties":false,"properties":{"switch":{"type":"array","items":{"$ref":"#/$defs/comp-object"}}}},"comp-object":{"type":"object","required":["comp"],"unevaluatedProperties":false,"allOf":[{"properties":{"if":{"$ref":"#/$defs/expression"},"help":{"type":"string"},"cols":{"$ref":"#/$defs/cols-obj"},"props":{"$ref":"#/$defs/state-node-props-lib"},"slots":{"type":"object","allOf":[{"$ref":"#/$defs/state-node-slots-lib"},{"properties":{"before":{"$ref":"#/$defs/slot"},"after":{"$ref":"#/$defs/slot"},"component":{"$ref":"#/$defs/slot"}}}]},"options":{"$ref":"#/$defs/state-node-options"}}},{"discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/none"},{"$ref":"#/$defs/list"},{"$ref":"#/$defs/text-field"},{"$ref":"#/$defs/number-field"},{"$ref":"#/$defs/textarea"},{"$ref":"#/$defs/markdown"},{"$ref":"#/$defs/checkbox"},{"$ref":"#/$defs/switch"},{"$ref":"#/$defs/slider"},{"$ref":"#/$defs/date-picker"},{"$ref":"#/$defs/date-time-picker"},{"$ref":"#/$defs/time-picker"},{"$ref":"#/$defs/color-picker"},{"$ref":"#/$defs/combobox"},{"$ref":"#/$defs/number-combobox"},{"$ref":"#/$defs/select"},{"$ref":"#/$defs/autocomplete"},{"$ref":"#/$defs/one-of-select"},{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"}]}]},"composite-comp-object":{"type":"object","discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"}]},"none":{"type":"object","required":["comp"],"properties":{"comp":{"const":"none"}}},"section":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"section"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"tabs":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"vertical-tabs":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"vertical-tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"expansion-panels":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"expansion-panels"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"child":{"type":"object","unevaluatedProperties":false,"required":["key"],"properties":{"key":{"type":["string","integer"]},"cols":{"$ref":"#/$defs/cols-obj"}},"anyOf":[{},{"$ref":"#/$defs/composite-comp-object"}]},"children":{"type":"array","items":{"$ref":"#/$defs/child"}},"list":{"type":"object","required":["comp","listEditMode","listActions"],"properties":{"comp":{"const":"list"},"title":{"type":"string"},"listEditMode":{"type":"string","enum":["inline","inline-single","menu","dialog"]},"listActions":{"type":"array","items":{"type":"string","enum":["add","edit","delete","sort","duplicate"]}},"itemTitle":{"$ref":"#/$defs/expression"},"itemSubtitle":{"$ref":"#/$defs/expression"},"messages":{"type":"object","additionalProperties":false,"properties":{"addItem":{"type":"string"},"delete":{"type":"string"},"edit":{"type":"string"},"duplicate":{"type":"string"},"sort":{"type":"string"}}}}},"text-field":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"text-field"},"label":{"type":"string"}}},"number-field":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-field"},"label":{"type":"string"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}},"textarea":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"textarea"},"label":{"type":"string"}}},"markdown":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"markdown"},"label":{"type":"string"}}},"checkbox":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"checkbox"},"label":{"type":"string"}}},"switch":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"switch"},"label":{"type":"string"}}},"slider":{"type":"object","required":["comp","label","min","max"],"properties":{"comp":{"const":"slider"},"label":{"type":"string"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}},"date-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date"},"max":{"type":"string","format":"date"},"format":{"type":"string","enum":["date","date-time"],"default":"date"}}},"date-time-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date-time"},"max":{"type":"string","format":"date-time"}}},"time-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"time"},"max":{"type":"string","format":"time"}}},"color-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"color-picker"},"label":{"type":"string"}}},"combobox":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"combobox"},"label":{"type":"string"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}},"number-combobox":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-combobox"},"label":{"type":"string"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}},"select":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"select"},"label":{"type":"string"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}},"autocomplete":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"autocomplete"},"label":{"type":"string"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}},"select-items":{"type":"array","items":{"$ref":"#/$defs/select-item"}},"select-item":{"type":"object","required":["title","key","value"],"properties":{"title":{"type":"string"},"key":{"type":"string"},"value":{},"icon":{"type":"string"}}},"get-items":{"type":"object","allOf":[{"properties":{"returnObjects":{"type":"boolean","readOnly":true},"itemsResults":{"$ref":"#/$defs/expression"},"itemTitle":{"$ref":"#/$defs/expression"},"itemKey":{"$ref":"#/$defs/expression"},"itemValue":{"$ref":"#/$defs/expression"},"itemIcon":{"$ref":"#/$defs/expression"}}},{"oneOf":[{"$ref":"#/$defs/expression"},{"$ref":"#/$defs/get-items-fetch"}]}]},"get-items-fetch":{"type":"object","required":["url"],"properties":{"url":{"$ref":"#/$defs/expression"},"qSearchParam":{"type":"string"},"searchParams":{"type":"object","patternProperties":{".*":{"$ref":"#/$defs/expression"}}}}},"one-of-select":{"type":"object","required":["comp"],"properties":{"comp":{"const":"one-of-select"}}},"expression":{"type":"object","required":["type","expr"],"properties":{"type":{"type":"string","enum":["js-fn","js-eval","js-tpl"]},"expr":{"type":"string"},"ref":{"type":"integer","readOnly":true}}},"cols-obj":{"type":"object","additionalProperties":false,"required":["xs"],"properties":{"xs":{"$ref":"#/$defs/cols","default":12},"sm":{"$ref":"#/$defs/cols"},"md":{"$ref":"#/$defs/cols"},"lg":{"$ref":"#/$defs/cols"},"xl":{"$ref":"#/$defs/cols"},"xxl":{"$ref":"#/$defs/cols"}}},"cols":{"type":"integer","minimum":0,"maximum":12},"slot":{"oneOf":[{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["markdown"],"properties":{"markdown":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"}}}]},"state-node-options":{"type":"object","allOf":[{"$ref":"#/$defs/state-node-options-lib"},{"properties":{"readOnly":{"type":"boolean","default":false},"summary":{"type":"boolean","default":false},"titleDepth":{"type":"integer","minimum":1,"maximum":6,"default":2}}}]},"state-node-options-lib":{"type":"object","patternProperties":{".*":{}}},"state-node-props-lib":{"type":"object","patternProperties":{".*":{}}},"state-node-slots-lib":{"type":"object","patternProperties":{".*":{"$ref":"#/$defs/slot"}}}}};const schema54 = {"type":"object","required":["switch"],"additionalProperties":false,"properties":{"switch":{"type":"array","items":{"$ref":"#/$defs/comp-object"}}}};const schema55 = {"type":"object","required":["comp"],"unevaluatedProperties":false,"allOf":[{"properties":{"if":{"$ref":"#/$defs/expression"},"help":{"type":"string"},"cols":{"$ref":"#/$defs/cols-obj"},"props":{"$ref":"#/$defs/state-node-props-lib"},"slots":{"type":"object","allOf":[{"$ref":"#/$defs/state-node-slots-lib"},{"properties":{"before":{"$ref":"#/$defs/slot"},"after":{"$ref":"#/$defs/slot"},"component":{"$ref":"#/$defs/slot"}}}]},"options":{"$ref":"#/$defs/state-node-options"}}},{"discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/none"},{"$ref":"#/$defs/list"},{"$ref":"#/$defs/text-field"},{"$ref":"#/$defs/number-field"},{"$ref":"#/$defs/textarea"},{"$ref":"#/$defs/markdown"},{"$ref":"#/$defs/checkbox"},{"$ref":"#/$defs/switch"},{"$ref":"#/$defs/slider"},{"$ref":"#/$defs/date-picker"},{"$ref":"#/$defs/date-time-picker"},{"$ref":"#/$defs/time-picker"},{"$ref":"#/$defs/color-picker"},{"$ref":"#/$defs/combobox"},{"$ref":"#/$defs/number-combobox"},{"$ref":"#/$defs/select"},{"$ref":"#/$defs/autocomplete"},{"$ref":"#/$defs/one-of-select"},{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"}]}]};const schema56 = {"type":"object","required":["type","expr"],"properties":{"type":{"type":"string","enum":["js-fn","js-eval","js-tpl"]},"expr":{"type":"string"},"ref":{"type":"integer","readOnly":true}}};const schema64 = {"type":"object","patternProperties":{".*":{}}};const schema66 = {"oneOf":[{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["markdown"],"properties":{"markdown":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"}}}]};const schema98 = {"type":"object","required":["comp"],"properties":{"comp":{"const":"none"}}};const schema99 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"text-field"},"label":{"type":"string"}}};const schema100 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-field"},"label":{"type":"string"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}};const schema101 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"textarea"},"label":{"type":"string"}}};const schema102 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"markdown"},"label":{"type":"string"}}};const schema103 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"checkbox"},"label":{"type":"string"}}};const schema104 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"switch"},"label":{"type":"string"}}};const schema105 = {"type":"object","required":["comp","label","min","max"],"properties":{"comp":{"const":"slider"},"label":{"type":"string"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}};const schema106 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date"},"max":{"type":"string","format":"date"},"format":{"type":"string","enum":["date","date-time"],"default":"date"}}};const schema107 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date-time"},"max":{"type":"string","format":"date-time"}}};const schema108 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"time"},"max":{"type":"string","format":"time"}}};const schema109 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"color-picker"},"label":{"type":"string"}}};const schema110 = {"type":"object","required":["comp"],"properties":{"comp":{"const":"one-of-select"}}};const schema57 = {"type":"object","additionalProperties":false,"required":["xs"],"properties":{"xs":{"$ref":"#/$defs/cols","default":12},"sm":{"$ref":"#/$defs/cols"},"md":{"$ref":"#/$defs/cols"},"lg":{"$ref":"#/$defs/cols"},"xl":{"$ref":"#/$defs/cols"},"xxl":{"$ref":"#/$defs/cols"}}};const schema58 = {"type":"integer","minimum":0,"maximum":12};function validate57(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate57.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.xs === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "xs"},message:"must have required property '"+"xs"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key0 in data){if(!((((((key0 === "xs") || (key0 === "sm")) || (key0 === "md")) || (key0 === "lg")) || (key0 === "xl")) || (key0 === "xxl"))){const err1 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.xs !== undefined){let data0 = data.xs;if(!(((typeof data0 == "number") && (!(data0 % 1) && !isNaN(data0))) && (isFinite(data0)))){const err2 = {instancePath:instancePath+"/xs",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if((typeof data0 == "number") && (isFinite(data0))){if(data0 > 12 || isNaN(data0)){const err3 = {instancePath:instancePath+"/xs",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data0 < 0 || isNaN(data0)){const err4 = {instancePath:instancePath+"/xs",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}}if(data.sm !== undefined){let data1 = data.sm;if(!(((typeof data1 == "number") && (!(data1 % 1) && !isNaN(data1))) && (isFinite(data1)))){const err5 = {instancePath:instancePath+"/sm",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}if((typeof data1 == "number") && (isFinite(data1))){if(data1 > 12 || isNaN(data1)){const err6 = {instancePath:instancePath+"/sm",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}if(data1 < 0 || isNaN(data1)){const err7 = {instancePath:instancePath+"/sm",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}}if(data.md !== undefined){let data2 = data.md;if(!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))){const err8 = {instancePath:instancePath+"/md",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}if((typeof data2 == "number") && (isFinite(data2))){if(data2 > 12 || isNaN(data2)){const err9 = {instancePath:instancePath+"/md",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data2 < 0 || isNaN(data2)){const err10 = {instancePath:instancePath+"/md",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}}if(data.lg !== undefined){let data3 = data.lg;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){const err11 = {instancePath:instancePath+"/lg",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if((typeof data3 == "number") && (isFinite(data3))){if(data3 > 12 || isNaN(data3)){const err12 = {instancePath:instancePath+"/lg",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if(data3 < 0 || isNaN(data3)){const err13 = {instancePath:instancePath+"/lg",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}}if(data.xl !== undefined){let data4 = data.xl;if(!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))){const err14 = {instancePath:instancePath+"/xl",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}if((typeof data4 == "number") && (isFinite(data4))){if(data4 > 12 || isNaN(data4)){const err15 = {instancePath:instancePath+"/xl",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}if(data4 < 0 || isNaN(data4)){const err16 = {instancePath:instancePath+"/xl",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}if(data.xxl !== undefined){let data5 = data.xxl;if(!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))){const err17 = {instancePath:instancePath+"/xxl",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}if((typeof data5 == "number") && (isFinite(data5))){if(data5 > 12 || isNaN(data5)){const err18 = {instancePath:instancePath+"/xxl",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}if(data5 < 0 || isNaN(data5)){const err19 = {instancePath:instancePath+"/xxl",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}}}else {const err20 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}validate57.errors = vErrors;return errors === 0;}validate57.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const schema65 = {"type":"object","patternProperties":{".*":{"$ref":"#/$defs/slot"}}};const pattern2 = new RegExp(".*", "u");function validate59(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate59.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){var props0 = {};for(const key0 in data){if(pattern2.test(key0)){let data0 = data[key0];const _errs3 = errors;let valid2 = false;let passing0 = null;const _errs4 = errors;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.text === undefined){const err0 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: "text"},message:"must have required property '"+"text"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key1 in data0){if(!(key1 === "text")){const err1 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data0.text !== undefined){if(typeof data0.text !== "string"){const err2 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}else {const err3 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}var _valid0 = _errs4 === errors;if(_valid0){valid2 = true;passing0 = 0;var props1 = true;}const _errs9 = errors;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.markdown === undefined){const err4 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: "markdown"},message:"must have required property '"+"markdown"+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}for(const key2 in data0){if(!(key2 === "markdown")){const err5 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data0.markdown !== undefined){if(typeof data0.markdown !== "string"){const err6 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}else {const err7 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}var _valid0 = _errs9 === errors;if(_valid0 && valid2){valid2 = false;passing0 = [passing0, 1];}else {if(_valid0){valid2 = true;passing0 = 1;if(props1 !== true){props1 = true;}}const _errs14 = errors;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.name === undefined){const err8 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}for(const key3 in data0){if(!(key3 === "name")){const err9 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.name !== undefined){if(typeof data0.name !== "string"){const err10 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}}else {const err11 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}var _valid0 = _errs14 === errors;if(_valid0 && valid2){valid2 = false;passing0 = [passing0, 2];}else {if(_valid0){valid2 = true;passing0 = 2;if(props1 !== true){props1 = true;}}}}if(!valid2){const err12 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}else {errors = _errs3;if(vErrors !== null){if(_errs3){vErrors.length = _errs3;}else {vErrors = null;}}}props0[key0] = true;}}}else {const err13 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}validate59.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate59.evaluated = {"dynamicProps":true,"dynamicItems":false};const schema70 = {"type":"object","allOf":[{"$ref":"#/$defs/state-node-options-lib"},{"properties":{"readOnly":{"type":"boolean","default":false},"summary":{"type":"boolean","default":false},"titleDepth":{"type":"integer","minimum":1,"maximum":6,"default":2}}}]};const schema71 = {"type":"object","patternProperties":{".*":{}}};function validate61(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate61.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(!(data && typeof data == "object" && !Array.isArray(data))){const err0 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data && typeof data == "object" && !Array.isArray(data)){var props0 = {};for(const key0 in data){if(pattern2.test(key0)){props0[key0] = true;}}}else {const err1 = {instancePath,schemaPath:"#/$defs/state-node-options-lib/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.readOnly !== undefined){if(typeof data.readOnly !== "boolean"){const err2 = {instancePath:instancePath+"/readOnly",schemaPath:"#/allOf/1/properties/readOnly/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.summary !== undefined){if(typeof data.summary !== "boolean"){const err3 = {instancePath:instancePath+"/summary",schemaPath:"#/allOf/1/properties/summary/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.titleDepth !== undefined){let data2 = data.titleDepth;if(!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))){const err4 = {instancePath:instancePath+"/titleDepth",schemaPath:"#/allOf/1/properties/titleDepth/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if((typeof data2 == "number") && (isFinite(data2))){if(data2 > 6 || isNaN(data2)){const err5 = {instancePath:instancePath+"/titleDepth",schemaPath:"#/allOf/1/properties/titleDepth/maximum",keyword:"maximum",params:{comparison: "<=", limit: 6},message:"must be <= 6"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}if(data2 < 1 || isNaN(data2)){const err6 = {instancePath:instancePath+"/titleDepth",schemaPath:"#/allOf/1/properties/titleDepth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}}if(props0 !== true){props0 = props0 || {};props0.readOnly = true;props0.summary = true;props0.titleDepth = true;}validate61.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate61.evaluated = {"dynamicProps":true,"dynamicItems":false};const schema72 = {"type":"object","required":["comp","listEditMode","listActions"],"properties":{"comp":{"const":"list"},"title":{"type":"string"},"listEditMode":{"type":"string","enum":["inline","inline-single","menu","dialog"]},"listActions":{"type":"array","items":{"type":"string","enum":["add","edit","delete","sort","duplicate"]}},"itemTitle":{"$ref":"#/$defs/expression"},"itemSubtitle":{"$ref":"#/$defs/expression"},"messages":{"type":"object","additionalProperties":false,"properties":{"addItem":{"type":"string"},"delete":{"type":"string"},"edit":{"type":"string"},"duplicate":{"type":"string"},"sort":{"type":"string"}}}}};function validate63(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate63.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.listEditMode === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "listEditMode"},message:"must have required property '"+"listEditMode"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.listActions === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "listActions"},message:"must have required property '"+"listActions"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.comp !== undefined){if("list" !== data.comp){const err3 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "list"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.title !== undefined){if(typeof data.title !== "string"){const err4 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.listEditMode !== undefined){let data2 = data.listEditMode;if(typeof data2 !== "string"){const err5 = {instancePath:instancePath+"/listEditMode",schemaPath:"#/properties/listEditMode/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}if(!((((data2 === "inline") || (data2 === "inline-single")) || (data2 === "menu")) || (data2 === "dialog"))){const err6 = {instancePath:instancePath+"/listEditMode",schemaPath:"#/properties/listEditMode/enum",keyword:"enum",params:{allowedValues: schema72.properties.listEditMode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.listActions !== undefined){let data3 = data.listActions;if(Array.isArray(data3)){const len0 = data3.length;for(let i0=0; i0<len0; i0++){let data4 = data3[i0];if(typeof data4 !== "string"){const err7 = {instancePath:instancePath+"/listActions/" + i0,schemaPath:"#/properties/listActions/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(!(((((data4 === "add") || (data4 === "edit")) || (data4 === "delete")) || (data4 === "sort")) || (data4 === "duplicate"))){const err8 = {instancePath:instancePath+"/listActions/" + i0,schemaPath:"#/properties/listActions/items/enum",keyword:"enum",params:{allowedValues: schema72.properties.listActions.items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}}else {const err9 = {instancePath:instancePath+"/listActions",schemaPath:"#/properties/listActions/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data.itemTitle !== undefined){let data5 = data.itemTitle;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(data5.type === undefined){const err10 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}if(data5.expr === undefined){const err11 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(data5.type !== undefined){let data6 = data5.type;if(typeof data6 !== "string"){const err12 = {instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if(!(((data6 === "js-fn") || (data6 === "js-eval")) || (data6 === "js-tpl"))){const err13 = {instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data5.expr !== undefined){if(typeof data5.expr !== "string"){const err14 = {instancePath:instancePath+"/itemTitle/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data5.ref !== undefined){let data8 = data5.ref;if(!(((typeof data8 == "number") && (!(data8 % 1) && !isNaN(data8))) && (isFinite(data8)))){const err15 = {instancePath:instancePath+"/itemTitle/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data.itemSubtitle !== undefined){let data9 = data.itemSubtitle;if(data9 && typeof data9 == "object" && !Array.isArray(data9)){if(data9.type === undefined){const err17 = {instancePath:instancePath+"/itemSubtitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}if(data9.expr === undefined){const err18 = {instancePath:instancePath+"/itemSubtitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}if(data9.type !== undefined){let data10 = data9.type;if(typeof data10 !== "string"){const err19 = {instancePath:instancePath+"/itemSubtitle/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}if(!(((data10 === "js-fn") || (data10 === "js-eval")) || (data10 === "js-tpl"))){const err20 = {instancePath:instancePath+"/itemSubtitle/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}if(data9.expr !== undefined){if(typeof data9.expr !== "string"){const err21 = {instancePath:instancePath+"/itemSubtitle/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data9.ref !== undefined){let data12 = data9.ref;if(!(((typeof data12 == "number") && (!(data12 % 1) && !isNaN(data12))) && (isFinite(data12)))){const err22 = {instancePath:instancePath+"/itemSubtitle/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}}else {const err23 = {instancePath:instancePath+"/itemSubtitle",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data.messages !== undefined){let data13 = data.messages;if(data13 && typeof data13 == "object" && !Array.isArray(data13)){for(const key0 in data13){if(!(((((key0 === "addItem") || (key0 === "delete")) || (key0 === "edit")) || (key0 === "duplicate")) || (key0 === "sort"))){const err24 = {instancePath:instancePath+"/messages",schemaPath:"#/properties/messages/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data13.addItem !== undefined){if(typeof data13.addItem !== "string"){const err25 = {instancePath:instancePath+"/messages/addItem",schemaPath:"#/properties/messages/properties/addItem/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}if(data13.delete !== undefined){if(typeof data13.delete !== "string"){const err26 = {instancePath:instancePath+"/messages/delete",schemaPath:"#/properties/messages/properties/delete/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data13.edit !== undefined){if(typeof data13.edit !== "string"){const err27 = {instancePath:instancePath+"/messages/edit",schemaPath:"#/properties/messages/properties/edit/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}if(data13.duplicate !== undefined){if(typeof data13.duplicate !== "string"){const err28 = {instancePath:instancePath+"/messages/duplicate",schemaPath:"#/properties/messages/properties/duplicate/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}if(data13.sort !== undefined){if(typeof data13.sort !== "string"){const err29 = {instancePath:instancePath+"/messages/sort",schemaPath:"#/properties/messages/properties/sort/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}}else {const err30 = {instancePath:instancePath+"/messages",schemaPath:"#/properties/messages/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}}else {const err31 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}validate63.errors = vErrors;return errors === 0;}validate63.evaluated = {"props":{"comp":true,"title":true,"listEditMode":true,"listActions":true,"itemTitle":true,"itemSubtitle":true,"messages":true},"dynamicProps":false,"dynamicItems":false};const schema75 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"combobox"},"label":{"type":"string"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}};const schema76 = {"type":"array","items":{"$ref":"#/$defs/select-item"}};const schema77 = {"type":"object","required":["title","key","value"],"properties":{"title":{"type":"string"},"key":{"type":"string"},"value":{},"icon":{"type":"string"}}};function validate65(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate65.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.title === undefined){const err0 = {instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data0.key === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/required",keyword:"required",params:{missingProperty: "key"},message:"must have required property '"+"key"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.value === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.title !== undefined){if(typeof data0.title !== "string"){const err3 = {instancePath:instancePath+"/" + i0+"/title",schemaPath:"#/$defs/select-item/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data0.key !== undefined){if(typeof data0.key !== "string"){const err4 = {instancePath:instancePath+"/" + i0+"/key",schemaPath:"#/$defs/select-item/properties/key/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.icon !== undefined){if(typeof data0.icon !== "string"){const err5 = {instancePath:instancePath+"/" + i0+"/icon",schemaPath:"#/$defs/select-item/properties/icon/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}}else {const err6 = {instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}else {const err7 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}validate65.errors = vErrors;return errors === 0;}validate65.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};const schema78 = {"type":"object","allOf":[{"properties":{"returnObjects":{"type":"boolean","readOnly":true},"itemsResults":{"$ref":"#/$defs/expression"},"itemTitle":{"$ref":"#/$defs/expression"},"itemKey":{"$ref":"#/$defs/expression"},"itemValue":{"$ref":"#/$defs/expression"},"itemIcon":{"$ref":"#/$defs/expression"}}},{"oneOf":[{"$ref":"#/$defs/expression"},{"$ref":"#/$defs/get-items-fetch"}]}]};const schema85 = {"type":"object","required":["url"],"properties":{"url":{"$ref":"#/$defs/expression"},"qSearchParam":{"type":"string"},"searchParams":{"type":"object","patternProperties":{".*":{"$ref":"#/$defs/expression"}}}}};function validate68(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate68.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.url === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.url !== undefined){let data0 = data.url;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.type === undefined){const err1 = {instancePath:instancePath+"/url",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.expr === undefined){const err2 = {instancePath:instancePath+"/url",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.type !== undefined){let data1 = data0.type;if(typeof data1 !== "string"){const err3 = {instancePath:instancePath+"/url/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(!(((data1 === "js-fn") || (data1 === "js-eval")) || (data1 === "js-tpl"))){const err4 = {instancePath:instancePath+"/url/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.expr !== undefined){if(typeof data0.expr !== "string"){const err5 = {instancePath:instancePath+"/url/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data0.ref !== undefined){let data3 = data0.ref;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){const err6 = {instancePath:instancePath+"/url/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}else {const err7 = {instancePath:instancePath+"/url",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.qSearchParam !== undefined){if(typeof data.qSearchParam !== "string"){const err8 = {instancePath:instancePath+"/qSearchParam",schemaPath:"#/properties/qSearchParam/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.searchParams !== undefined){let data5 = data.searchParams;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){var props0 = {};for(const key0 in data5){if(pattern2.test(key0)){let data6 = data5[key0];if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.type === undefined){const err9 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data6.expr === undefined){const err10 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}if(data6.type !== undefined){let data7 = data6.type;if(typeof data7 !== "string"){const err11 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(!(((data7 === "js-fn") || (data7 === "js-eval")) || (data7 === "js-tpl"))){const err12 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}if(data6.expr !== undefined){if(typeof data6.expr !== "string"){const err13 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data6.ref !== undefined){let data9 = data6.ref;if(!(((typeof data9 == "number") && (!(data9 % 1) && !isNaN(data9))) && (isFinite(data9)))){const err14 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}}else {const err15 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}props0[key0] = true;}}}else {const err16 = {instancePath:instancePath+"/searchParams",schemaPath:"#/properties/searchParams/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate68.errors = vErrors;return errors === 0;}validate68.evaluated = {"props":{"url":true,"qSearchParam":true,"searchParams":true},"dynamicProps":false,"dynamicItems":false};function validate67(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate67.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(!(data && typeof data == "object" && !Array.isArray(data))){const err0 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.returnObjects !== undefined){if(typeof data.returnObjects !== "boolean"){const err1 = {instancePath:instancePath+"/returnObjects",schemaPath:"#/allOf/0/properties/returnObjects/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.itemsResults !== undefined){let data1 = data.itemsResults;if(data1 && typeof data1 == "object" && !Array.isArray(data1)){if(data1.type === undefined){const err2 = {instancePath:instancePath+"/itemsResults",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data1.expr === undefined){const err3 = {instancePath:instancePath+"/itemsResults",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data1.type !== undefined){let data2 = data1.type;if(typeof data2 !== "string"){const err4 = {instancePath:instancePath+"/itemsResults/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(!(((data2 === "js-fn") || (data2 === "js-eval")) || (data2 === "js-tpl"))){const err5 = {instancePath:instancePath+"/itemsResults/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data1.expr !== undefined){if(typeof data1.expr !== "string"){const err6 = {instancePath:instancePath+"/itemsResults/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data1.ref !== undefined){let data4 = data1.ref;if(!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))){const err7 = {instancePath:instancePath+"/itemsResults/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}}else {const err8 = {instancePath:instancePath+"/itemsResults",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.itemTitle !== undefined){let data5 = data.itemTitle;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(data5.type === undefined){const err9 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data5.expr === undefined){const err10 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}if(data5.type !== undefined){let data6 = data5.type;if(typeof data6 !== "string"){const err11 = {instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(!(((data6 === "js-fn") || (data6 === "js-eval")) || (data6 === "js-tpl"))){const err12 = {instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}if(data5.expr !== undefined){if(typeof data5.expr !== "string"){const err13 = {instancePath:instancePath+"/itemTitle/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data5.ref !== undefined){let data8 = data5.ref;if(!(((typeof data8 == "number") && (!(data8 % 1) && !isNaN(data8))) && (isFinite(data8)))){const err14 = {instancePath:instancePath+"/itemTitle/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}}else {const err15 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data.itemKey !== undefined){let data9 = data.itemKey;if(data9 && typeof data9 == "object" && !Array.isArray(data9)){if(data9.type === undefined){const err16 = {instancePath:instancePath+"/itemKey",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}if(data9.expr === undefined){const err17 = {instancePath:instancePath+"/itemKey",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}if(data9.type !== undefined){let data10 = data9.type;if(typeof data10 !== "string"){const err18 = {instancePath:instancePath+"/itemKey/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}if(!(((data10 === "js-fn") || (data10 === "js-eval")) || (data10 === "js-tpl"))){const err19 = {instancePath:instancePath+"/itemKey/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}if(data9.expr !== undefined){if(typeof data9.expr !== "string"){const err20 = {instancePath:instancePath+"/itemKey/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}if(data9.ref !== undefined){let data12 = data9.ref;if(!(((typeof data12 == "number") && (!(data12 % 1) && !isNaN(data12))) && (isFinite(data12)))){const err21 = {instancePath:instancePath+"/itemKey/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}}else {const err22 = {instancePath:instancePath+"/itemKey",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data.itemValue !== undefined){let data13 = data.itemValue;if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.type === undefined){const err23 = {instancePath:instancePath+"/itemValue",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}if(data13.expr === undefined){const err24 = {instancePath:instancePath+"/itemValue",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}if(data13.type !== undefined){let data14 = data13.type;if(typeof data14 !== "string"){const err25 = {instancePath:instancePath+"/itemValue/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}if(!(((data14 === "js-fn") || (data14 === "js-eval")) || (data14 === "js-tpl"))){const err26 = {instancePath:instancePath+"/itemValue/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data13.expr !== undefined){if(typeof data13.expr !== "string"){const err27 = {instancePath:instancePath+"/itemValue/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}if(data13.ref !== undefined){let data16 = data13.ref;if(!(((typeof data16 == "number") && (!(data16 % 1) && !isNaN(data16))) && (isFinite(data16)))){const err28 = {instancePath:instancePath+"/itemValue/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}}else {const err29 = {instancePath:instancePath+"/itemValue",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}if(data.itemIcon !== undefined){let data17 = data.itemIcon;if(data17 && typeof data17 == "object" && !Array.isArray(data17)){if(data17.type === undefined){const err30 = {instancePath:instancePath+"/itemIcon",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}if(data17.expr === undefined){const err31 = {instancePath:instancePath+"/itemIcon",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}if(data17.type !== undefined){let data18 = data17.type;if(typeof data18 !== "string"){const err32 = {instancePath:instancePath+"/itemIcon/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}if(!(((data18 === "js-fn") || (data18 === "js-eval")) || (data18 === "js-tpl"))){const err33 = {instancePath:instancePath+"/itemIcon/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}if(data17.expr !== undefined){if(typeof data17.expr !== "string"){const err34 = {instancePath:instancePath+"/itemIcon/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}if(data17.ref !== undefined){let data20 = data17.ref;if(!(((typeof data20 == "number") && (!(data20 % 1) && !isNaN(data20))) && (isFinite(data20)))){const err35 = {instancePath:instancePath+"/itemIcon/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}}else {const err36 = {instancePath:instancePath+"/itemIcon",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}}const _errs50 = errors;let valid12 = false;let passing0 = null;const _errs51 = errors;if(data && typeof data == "object" && !Array.isArray(data)){if(data.type === undefined){const err37 = {instancePath,schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}if(data.expr === undefined){const err38 = {instancePath,schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}if(data.type !== undefined){let data21 = data.type;if(typeof data21 !== "string"){const err39 = {instancePath:instancePath+"/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}if(!(((data21 === "js-fn") || (data21 === "js-eval")) || (data21 === "js-tpl"))){const err40 = {instancePath:instancePath+"/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}if(data.expr !== undefined){if(typeof data.expr !== "string"){const err41 = {instancePath:instancePath+"/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data.ref !== undefined){let data23 = data.ref;if(!(((typeof data23 == "number") && (!(data23 % 1) && !isNaN(data23))) && (isFinite(data23)))){const err42 = {instancePath:instancePath+"/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}}else {const err43 = {instancePath,schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}var _valid0 = _errs51 === errors;if(_valid0){valid12 = true;passing0 = 0;var props0 = {};props0.type = true;props0.expr = true;props0.ref = true;}const _errs60 = errors;if(!(validate68(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);errors = vErrors.length;}var _valid0 = _errs60 === errors;if(_valid0 && valid12){valid12 = false;passing0 = [passing0, 1];}else {if(_valid0){valid12 = true;passing0 = 1;if(props0 !== true){props0 = props0 || {};props0.url = true;props0.qSearchParam = true;props0.searchParams = true;}}}if(!valid12){const err44 = {instancePath,schemaPath:"#/allOf/1/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}else {errors = _errs50;if(vErrors !== null){if(_errs50){vErrors.length = _errs50;}else {vErrors = null;}}}if(props0 !== true){props0 = props0 || {};props0.returnObjects = true;props0.itemsResults = true;props0.itemTitle = true;props0.itemKey = true;props0.itemValue = true;props0.itemIcon = true;}validate67.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate67.evaluated = {"dynamicProps":true,"dynamicItems":false};function validate64(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate64.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.label === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("combobox" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "combobox"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err3 = {instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.items !== undefined){if(!(validate65(data.items, {instancePath:instancePath+"/items",parentData:data,parentDataProperty:"items",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate65.errors : vErrors.concat(validate65.errors);errors = vErrors.length;}}if(data.getItems !== undefined){if(!(validate67(data.getItems, {instancePath:instancePath+"/getItems",parentData:data,parentDataProperty:"getItems",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);errors = vErrors.length;}}if(data.multiple !== undefined){if(typeof data.multiple !== "boolean"){const err4 = {instancePath:instancePath+"/multiple",schemaPath:"#/properties/multiple/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate64.errors = vErrors;return errors === 0;}validate64.evaluated = {"props":{"comp":true,"label":true,"items":true,"getItems":true,"multiple":true},"dynamicProps":false,"dynamicItems":false};const schema88 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-combobox"},"label":{"type":"string"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}};function validate71(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate71.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.label === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("number-combobox" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "number-combobox"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err3 = {instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.items !== undefined){if(!(validate65(data.items, {instancePath:instancePath+"/items",parentData:data,parentDataProperty:"items",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate65.errors : vErrors.concat(validate65.errors);errors = vErrors.length;}}if(data.getItems !== undefined){if(!(validate67(data.getItems, {instancePath:instancePath+"/getItems",parentData:data,parentDataProperty:"getItems",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);errors = vErrors.length;}}if(data.multiple !== undefined){if(typeof data.multiple !== "boolean"){const err4 = {instancePath:instancePath+"/multiple",schemaPath:"#/properties/multiple/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.step !== undefined){let data5 = data.step;if(!((typeof data5 == "number") && (isFinite(data5)))){const err5 = {instancePath:instancePath+"/step",schemaPath:"#/properties/step/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.min !== undefined){let data6 = data.min;if(!((typeof data6 == "number") && (isFinite(data6)))){const err6 = {instancePath:instancePath+"/min",schemaPath:"#/properties/min/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.max !== undefined){let data7 = data.max;if(!((typeof data7 == "number") && (isFinite(data7)))){const err7 = {instancePath:instancePath+"/max",schemaPath:"#/properties/max/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}}else {const err8 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}validate71.errors = vErrors;return errors === 0;}validate71.evaluated = {"props":{"comp":true,"label":true,"items":true,"getItems":true,"multiple":true,"step":true,"min":true,"max":true},"dynamicProps":false,"dynamicItems":false};const schema89 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"select"},"label":{"type":"string"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}};function validate74(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate74.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.label === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("select" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "select"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err3 = {instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.items !== undefined){if(!(validate65(data.items, {instancePath:instancePath+"/items",parentData:data,parentDataProperty:"items",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate65.errors : vErrors.concat(validate65.errors);errors = vErrors.length;}}if(data.getItems !== undefined){if(!(validate67(data.getItems, {instancePath:instancePath+"/getItems",parentData:data,parentDataProperty:"getItems",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);errors = vErrors.length;}}if(data.multiple !== undefined){if(typeof data.multiple !== "boolean"){const err4 = {instancePath:instancePath+"/multiple",schemaPath:"#/properties/multiple/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate74.errors = vErrors;return errors === 0;}validate74.evaluated = {"props":{"comp":true,"label":true,"items":true,"getItems":true,"multiple":true},"dynamicProps":false,"dynamicItems":false};const schema90 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"autocomplete"},"label":{"type":"string"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}};function validate77(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate77.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.label === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("autocomplete" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "autocomplete"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err3 = {instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.items !== undefined){if(!(validate65(data.items, {instancePath:instancePath+"/items",parentData:data,parentDataProperty:"items",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate65.errors : vErrors.concat(validate65.errors);errors = vErrors.length;}}if(data.getItems !== undefined){if(!(validate67(data.getItems, {instancePath:instancePath+"/getItems",parentData:data,parentDataProperty:"getItems",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);errors = vErrors.length;}}if(data.multiple !== undefined){if(typeof data.multiple !== "boolean"){const err4 = {instancePath:instancePath+"/multiple",schemaPath:"#/properties/multiple/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate77.errors = vErrors;return errors === 0;}validate77.evaluated = {"props":{"comp":true,"label":true,"items":true,"getItems":true,"multiple":true},"dynamicProps":false,"dynamicItems":false};const schema91 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"section"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};const schema92 = {"type":"array","items":{"$ref":"#/$defs/child"}};const schema93 = {"type":"object","unevaluatedProperties":false,"required":["key"],"properties":{"key":{"type":["string","integer"]},"cols":{"$ref":"#/$defs/cols-obj"}},"anyOf":[{},{"$ref":"#/$defs/composite-comp-object"}]};const schema94 = {"type":"object","discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"}]};const wrapper4 = {validate: validate80};const schema95 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};const wrapper1 = {validate: validate81};function validate84(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate84.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("tabs" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "tabs"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema95.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema95.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(wrapper1.validate(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate84.errors = vErrors;return errors === 0;}validate84.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const schema96 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"vertical-tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};function validate85(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate85.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("vertical-tabs" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "vertical-tabs"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema96.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema96.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(wrapper1.validate(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate85.errors = vErrors;return errors === 0;}validate85.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const schema97 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"expansion-panels"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};function validate86(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate86.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("expansion-panels" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "expansion-panels"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema97.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema97.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(wrapper1.validate(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate86.errors = vErrors;return errors === 0;}validate86.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};function validate83(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate83.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){const tag0 = data.comp;if(typeof tag0 == "string"){if(tag0 === "section"){if(!(wrapper4.validate(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper4.validate.errors : vErrors.concat(wrapper4.validate.errors);errors = vErrors.length;}else {var props0 = wrapper4.validate.evaluated.props;var items0 = wrapper4.validate.evaluated.items;}}else if(tag0 === "tabs"){if(!(validate84(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate84.errors : vErrors.concat(validate84.errors);errors = vErrors.length;}if(props0 !== true){props0 = props0 || {};props0.comp = true;props0.title = true;props0.subtitle = true;props0.children = true;}}else if(tag0 === "vertical-tabs"){if(!(validate85(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate85.errors : vErrors.concat(validate85.errors);errors = vErrors.length;}if(props0 !== true){props0 = props0 || {};props0.comp = true;props0.title = true;props0.subtitle = true;props0.children = true;}}else if(tag0 === "expansion-panels"){if(!(validate86(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate86.errors : vErrors.concat(validate86.errors);errors = vErrors.length;}if(props0 !== true){props0 = props0 || {};props0.comp = true;props0.title = true;props0.subtitle = true;props0.children = true;}}else {const err0 = {instancePath,schemaPath:"#/discriminator",keyword:"discriminator",params:{error: "mapping", tag: "comp", tagValue: tag0},message:"value of tag \"comp\" must be in oneOf"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}else {const err1 = {instancePath,schemaPath:"#/discriminator",keyword:"discriminator",params:{error: "tag", tag: "comp", tagValue: tag0},message:"tag \"comp\" must be string"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}else {const err2 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}validate83.errors = vErrors;evaluated0.props = props0;evaluated0.items = items0;return errors === 0;}validate83.evaluated = {"dynamicProps":true,"dynamicItems":true};function validate82(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate82.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}const _errs1 = errors;let valid0 = false;var _valid0 = true;valid0 = valid0 || _valid0;const _errs2 = errors;if(!(validate83(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate83.errors : vErrors.concat(validate83.errors);errors = vErrors.length;}else {var props0 = validate83.evaluated.props;var items0 = validate83.evaluated.items;}var _valid0 = _errs2 === errors;valid0 = valid0 || _valid0;if(!valid0){const err0 = {instancePath,schemaPath:"#/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {errors = _errs1;if(vErrors !== null){if(_errs1){vErrors.length = _errs1;}else {vErrors = null;}}}if(data && typeof data == "object" && !Array.isArray(data)){if(data.key === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "key"},message:"must have required property '"+"key"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(props0 !== true){props0 = props0 || {};props0.key = true;props0.cols = true;}if(data.key !== undefined){let data0 = data.key;if((typeof data0 !== "string") && (!(((typeof data0 == "number") && (!(data0 % 1) && !isNaN(data0))) && (isFinite(data0))))){const err2 = {instancePath:instancePath+"/key",schemaPath:"#/properties/key/type",keyword:"type",params:{type: schema93.properties.key.type},message:"must be string,integer"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.cols !== undefined){if(!(validate57(data.cols, {instancePath:instancePath+"/cols",parentData:data,parentDataProperty:"cols",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate57.errors : vErrors.concat(validate57.errors);errors = vErrors.length;}}if(props0 !== true){for(const key0 in data){if(!props0 || !props0[key0]){const err3 = {instancePath,schemaPath:"#/unevaluatedProperties",keyword:"unevaluatedProperties",params:{unevaluatedProperty: key0},message:"must NOT have unevaluated properties"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}}}else {const err4 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}validate82.errors = vErrors;evaluated0.items = items0;return errors === 0;}validate82.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":true};function validate81(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate81.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){const len0 = data.length;for(let i0=0; i0<len0; i0++){if(!(validate82(data[i0], {instancePath:instancePath+"/" + i0,parentData:data,parentDataProperty:i0,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors);errors = vErrors.length;}}}else {const err0 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}validate81.errors = vErrors;return errors === 0;}validate81.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate80(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate80.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("section" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "section"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema91.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema91.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(validate81(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate81.errors : vErrors.concat(validate81.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate80.errors = vErrors;return errors === 0;}validate80.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const formats0 = fullFormats.date;const formats4 = fullFormats["date-time"];const formats8 = fullFormats.time;function validate56(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate56.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.if !== undefined){let data0 = data.if;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.type === undefined){const err0 = {instancePath:instancePath+"/if",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data0.expr === undefined){const err1 = {instancePath:instancePath+"/if",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.type !== undefined){let data1 = data0.type;if(typeof data1 !== "string"){const err2 = {instancePath:instancePath+"/if/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(!(((data1 === "js-fn") || (data1 === "js-eval")) || (data1 === "js-tpl"))){const err3 = {instancePath:instancePath+"/if/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data0.expr !== undefined){if(typeof data0.expr !== "string"){const err4 = {instancePath:instancePath+"/if/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.ref !== undefined){let data3 = data0.ref;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){const err5 = {instancePath:instancePath+"/if/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}}else {const err6 = {instancePath:instancePath+"/if",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.help !== undefined){if(typeof data.help !== "string"){const err7 = {instancePath:instancePath+"/help",schemaPath:"#/allOf/0/properties/help/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.cols !== undefined){if(!(validate57(data.cols, {instancePath:instancePath+"/cols",parentData:data,parentDataProperty:"cols",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate57.errors : vErrors.concat(validate57.errors);errors = vErrors.length;}}if(data.props !== undefined){let data6 = data.props;if(data6 && typeof data6 == "object" && !Array.isArray(data6)){var props0 = {};for(const key0 in data6){if(pattern2.test(key0)){props0[key0] = true;}}}else {const err8 = {instancePath:instancePath+"/props",schemaPath:"#/$defs/state-node-props-lib/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.slots !== undefined){let data7 = data.slots;if(!(data7 && typeof data7 == "object" && !Array.isArray(data7))){const err9 = {instancePath:instancePath+"/slots",schemaPath:"#/allOf/0/properties/slots/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(!(validate59(data7, {instancePath:instancePath+"/slots",parentData:data,parentDataProperty:"slots",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate59.errors : vErrors.concat(validate59.errors);errors = vErrors.length;}else {var props1 = validate59.evaluated.props;}if(data7 && typeof data7 == "object" && !Array.isArray(data7)){if(data7.before !== undefined){let data8 = data7.before;const _errs23 = errors;let valid9 = false;let passing0 = null;const _errs24 = errors;if(data8 && typeof data8 == "object" && !Array.isArray(data8)){if(data8.text === undefined){const err10 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: "text"},message:"must have required property '"+"text"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}for(const key1 in data8){if(!(key1 === "text")){const err11 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data8.text !== undefined){if(typeof data8.text !== "string"){const err12 = {instancePath:instancePath+"/slots/before/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}var _valid0 = _errs24 === errors;if(_valid0){valid9 = true;passing0 = 0;var props2 = true;}const _errs29 = errors;if(data8 && typeof data8 == "object" && !Array.isArray(data8)){if(data8.markdown === undefined){const err14 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: "markdown"},message:"must have required property '"+"markdown"+"'"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}for(const key2 in data8){if(!(key2 === "markdown")){const err15 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data8.markdown !== undefined){if(typeof data8.markdown !== "string"){const err16 = {instancePath:instancePath+"/slots/before/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}var _valid0 = _errs29 === errors;if(_valid0 && valid9){valid9 = false;passing0 = [passing0, 1];}else {if(_valid0){valid9 = true;passing0 = 1;if(props2 !== true){props2 = true;}}const _errs34 = errors;if(data8 && typeof data8 == "object" && !Array.isArray(data8)){if(data8.name === undefined){const err18 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}for(const key3 in data8){if(!(key3 === "name")){const err19 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}if(data8.name !== undefined){if(typeof data8.name !== "string"){const err20 = {instancePath:instancePath+"/slots/before/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}}else {const err21 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}var _valid0 = _errs34 === errors;if(_valid0 && valid9){valid9 = false;passing0 = [passing0, 2];}else {if(_valid0){valid9 = true;passing0 = 2;if(props2 !== true){props2 = true;}}}}if(!valid9){const err22 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}else {errors = _errs23;if(vErrors !== null){if(_errs23){vErrors.length = _errs23;}else {vErrors = null;}}}}if(data7.after !== undefined){let data12 = data7.after;const _errs41 = errors;let valid14 = false;let passing1 = null;const _errs42 = errors;if(data12 && typeof data12 == "object" && !Array.isArray(data12)){if(data12.text === undefined){const err23 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: "text"},message:"must have required property '"+"text"+"'"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}for(const key4 in data12){if(!(key4 === "text")){const err24 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data12.text !== undefined){if(typeof data12.text !== "string"){const err25 = {instancePath:instancePath+"/slots/after/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}}else {const err26 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}var _valid1 = _errs42 === errors;if(_valid1){valid14 = true;passing1 = 0;var props3 = true;}const _errs47 = errors;if(data12 && typeof data12 == "object" && !Array.isArray(data12)){if(data12.markdown === undefined){const err27 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: "markdown"},message:"must have required property '"+"markdown"+"'"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}for(const key5 in data12){if(!(key5 === "markdown")){const err28 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}if(data12.markdown !== undefined){if(typeof data12.markdown !== "string"){const err29 = {instancePath:instancePath+"/slots/after/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}}else {const err30 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}var _valid1 = _errs47 === errors;if(_valid1 && valid14){valid14 = false;passing1 = [passing1, 1];}else {if(_valid1){valid14 = true;passing1 = 1;if(props3 !== true){props3 = true;}}const _errs52 = errors;if(data12 && typeof data12 == "object" && !Array.isArray(data12)){if(data12.name === undefined){const err31 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}for(const key6 in data12){if(!(key6 === "name")){const err32 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}}if(data12.name !== undefined){if(typeof data12.name !== "string"){const err33 = {instancePath:instancePath+"/slots/after/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}}else {const err34 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}var _valid1 = _errs52 === errors;if(_valid1 && valid14){valid14 = false;passing1 = [passing1, 2];}else {if(_valid1){valid14 = true;passing1 = 2;if(props3 !== true){props3 = true;}}}}if(!valid14){const err35 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing1},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}else {errors = _errs41;if(vErrors !== null){if(_errs41){vErrors.length = _errs41;}else {vErrors = null;}}}}if(data7.component !== undefined){let data16 = data7.component;const _errs59 = errors;let valid19 = false;let passing2 = null;const _errs60 = errors;if(data16 && typeof data16 == "object" && !Array.isArray(data16)){if(data16.text === undefined){const err36 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: "text"},message:"must have required property '"+"text"+"'"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}for(const key7 in data16){if(!(key7 === "text")){const err37 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}}if(data16.text !== undefined){if(typeof data16.text !== "string"){const err38 = {instancePath:instancePath+"/slots/component/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}}}else {const err39 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}var _valid2 = _errs60 === errors;if(_valid2){valid19 = true;passing2 = 0;var props4 = true;}const _errs65 = errors;if(data16 && typeof data16 == "object" && !Array.isArray(data16)){if(data16.markdown === undefined){const err40 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: "markdown"},message:"must have required property '"+"markdown"+"'"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}for(const key8 in data16){if(!(key8 === "markdown")){const err41 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data16.markdown !== undefined){if(typeof data16.markdown !== "string"){const err42 = {instancePath:instancePath+"/slots/component/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}}else {const err43 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}var _valid2 = _errs65 === errors;if(_valid2 && valid19){valid19 = false;passing2 = [passing2, 1];}else {if(_valid2){valid19 = true;passing2 = 1;if(props4 !== true){props4 = true;}}const _errs70 = errors;if(data16 && typeof data16 == "object" && !Array.isArray(data16)){if(data16.name === undefined){const err44 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}for(const key9 in data16){if(!(key9 === "name")){const err45 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}}if(data16.name !== undefined){if(typeof data16.name !== "string"){const err46 = {instancePath:instancePath+"/slots/component/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}}}else {const err47 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}var _valid2 = _errs70 === errors;if(_valid2 && valid19){valid19 = false;passing2 = [passing2, 2];}else {if(_valid2){valid19 = true;passing2 = 2;if(props4 !== true){props4 = true;}}}}if(!valid19){const err48 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing2},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}else {errors = _errs59;if(vErrors !== null){if(_errs59){vErrors.length = _errs59;}else {vErrors = null;}}}}}if(props1 !== true){props1 = props1 || {};props1.before = true;props1.after = true;props1.component = true;}}if(data.options !== undefined){if(!(validate61(data.options, {instancePath:instancePath+"/options",parentData:data,parentDataProperty:"options",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate61.errors : vErrors.concat(validate61.errors);errors = vErrors.length;}}}if(data && typeof data == "object" && !Array.isArray(data)){const tag0 = data.comp;if(typeof tag0 == "string"){if(tag0 === "none"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err49 = {instancePath,schemaPath:"#/$defs/none/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}if(data.comp !== undefined){if("none" !== data.comp){const err50 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/none/properties/comp/const",keyword:"const",params:{allowedValue: "none"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}}}else {const err51 = {instancePath,schemaPath:"#/$defs/none/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}var props6 = {};props6.comp = true;}else if(tag0 === "list"){if(!(validate63(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate63.errors : vErrors.concat(validate63.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.listEditMode = true;props6.listActions = true;props6.itemTitle = true;props6.itemSubtitle = true;props6.messages = true;}}else if(tag0 === "text-field"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err52 = {instancePath,schemaPath:"#/$defs/text-field/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}if(data.label === undefined){const err53 = {instancePath,schemaPath:"#/$defs/text-field/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}if(data.comp !== undefined){if("text-field" !== data.comp){const err54 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/text-field/properties/comp/const",keyword:"const",params:{allowedValue: "text-field"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err55 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/text-field/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}}}else {const err56 = {instancePath,schemaPath:"#/$defs/text-field/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "number-field"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err57 = {instancePath,schemaPath:"#/$defs/number-field/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}if(data.label === undefined){const err58 = {instancePath,schemaPath:"#/$defs/number-field/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}if(data.comp !== undefined){if("number-field" !== data.comp){const err59 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/number-field/properties/comp/const",keyword:"const",params:{allowedValue: "number-field"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err60 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/number-field/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data.step !== undefined){let data26 = data.step;if(!((typeof data26 == "number") && (isFinite(data26)))){const err61 = {instancePath:instancePath+"/step",schemaPath:"#/$defs/number-field/properties/step/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}if(data.min !== undefined){let data27 = data.min;if(!((typeof data27 == "number") && (isFinite(data27)))){const err62 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/number-field/properties/min/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}}if(data.max !== undefined){let data28 = data.max;if(!((typeof data28 == "number") && (isFinite(data28)))){const err63 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/number-field/properties/max/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}}}else {const err64 = {instancePath,schemaPath:"#/$defs/number-field/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.step = true;props6.min = true;props6.max = true;}}else if(tag0 === "textarea"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err65 = {instancePath,schemaPath:"#/$defs/textarea/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}if(data.label === undefined){const err66 = {instancePath,schemaPath:"#/$defs/textarea/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}if(data.comp !== undefined){if("textarea" !== data.comp){const err67 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/textarea/properties/comp/const",keyword:"const",params:{allowedValue: "textarea"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err68 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/textarea/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}}}else {const err69 = {instancePath,schemaPath:"#/$defs/textarea/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "markdown"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err70 = {instancePath,schemaPath:"#/$defs/markdown/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}if(data.label === undefined){const err71 = {instancePath,schemaPath:"#/$defs/markdown/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}if(data.comp !== undefined){if("markdown" !== data.comp){const err72 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/markdown/properties/comp/const",keyword:"const",params:{allowedValue: "markdown"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err73 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/markdown/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}}}else {const err74 = {instancePath,schemaPath:"#/$defs/markdown/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "checkbox"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err75 = {instancePath,schemaPath:"#/$defs/checkbox/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}if(data.label === undefined){const err76 = {instancePath,schemaPath:"#/$defs/checkbox/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}if(data.comp !== undefined){if("checkbox" !== data.comp){const err77 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/checkbox/properties/comp/const",keyword:"const",params:{allowedValue: "checkbox"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err78 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/checkbox/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}}else {const err79 = {instancePath,schemaPath:"#/$defs/checkbox/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "switch"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err80 = {instancePath,schemaPath:"#/$defs/switch/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}if(data.label === undefined){const err81 = {instancePath,schemaPath:"#/$defs/switch/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}if(data.comp !== undefined){if("switch" !== data.comp){const err82 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/switch/properties/comp/const",keyword:"const",params:{allowedValue: "switch"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err83 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/switch/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}}}else {const err84 = {instancePath,schemaPath:"#/$defs/switch/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "slider"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err85 = {instancePath,schemaPath:"#/$defs/slider/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}if(data.label === undefined){const err86 = {instancePath,schemaPath:"#/$defs/slider/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}if(data.min === undefined){const err87 = {instancePath,schemaPath:"#/$defs/slider/required",keyword:"required",params:{missingProperty: "min"},message:"must have required property '"+"min"+"'"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}if(data.max === undefined){const err88 = {instancePath,schemaPath:"#/$defs/slider/required",keyword:"required",params:{missingProperty: "max"},message:"must have required property '"+"max"+"'"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}if(data.comp !== undefined){if("slider" !== data.comp){const err89 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/slider/properties/comp/const",keyword:"const",params:{allowedValue: "slider"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err90 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/slider/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}if(data.step !== undefined){let data39 = data.step;if(!((typeof data39 == "number") && (isFinite(data39)))){const err91 = {instancePath:instancePath+"/step",schemaPath:"#/$defs/slider/properties/step/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data.min !== undefined){let data40 = data.min;if(!((typeof data40 == "number") && (isFinite(data40)))){const err92 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/slider/properties/min/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}if(data.max !== undefined){let data41 = data.max;if(!((typeof data41 == "number") && (isFinite(data41)))){const err93 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/slider/properties/max/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}}}else {const err94 = {instancePath,schemaPath:"#/$defs/slider/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.step = true;props6.min = true;props6.max = true;}}else if(tag0 === "date-picker"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err95 = {instancePath,schemaPath:"#/$defs/date-picker/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}if(data.label === undefined){const err96 = {instancePath,schemaPath:"#/$defs/date-picker/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}if(data.comp !== undefined){if("date-picker" !== data.comp){const err97 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/date-picker/properties/comp/const",keyword:"const",params:{allowedValue: "date-picker"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err98 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/date-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}}if(data.min !== undefined){let data44 = data.min;if(typeof data44 === "string"){if(!(formats0.validate(data44))){const err99 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/date-picker/properties/min/format",keyword:"format",params:{format: "date"},message:"must match format \""+"date"+"\""};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}}else {const err100 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/date-picker/properties/min/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}}if(data.max !== undefined){let data45 = data.max;if(typeof data45 === "string"){if(!(formats0.validate(data45))){const err101 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/date-picker/properties/max/format",keyword:"format",params:{format: "date"},message:"must match format \""+"date"+"\""};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}else {const err102 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/date-picker/properties/max/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}if(data.format !== undefined){let data46 = data.format;if(typeof data46 !== "string"){const err103 = {instancePath:instancePath+"/format",schemaPath:"#/$defs/date-picker/properties/format/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}if(!((data46 === "date") || (data46 === "date-time"))){const err104 = {instancePath:instancePath+"/format",schemaPath:"#/$defs/date-picker/properties/format/enum",keyword:"enum",params:{allowedValues: schema106.properties.format.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}}}else {const err105 = {instancePath,schemaPath:"#/$defs/date-picker/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.min = true;props6.max = true;props6.format = true;}}else if(tag0 === "date-time-picker"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err106 = {instancePath,schemaPath:"#/$defs/date-time-picker/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}if(data.label === undefined){const err107 = {instancePath,schemaPath:"#/$defs/date-time-picker/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}if(data.comp !== undefined){if("date-time-picker" !== data.comp){const err108 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/date-time-picker/properties/comp/const",keyword:"const",params:{allowedValue: "date-time-picker"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err109 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/date-time-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}if(data.min !== undefined){let data49 = data.min;if(typeof data49 === "string"){if(!(formats4.validate(data49))){const err110 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/date-time-picker/properties/min/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}}else {const err111 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/date-time-picker/properties/min/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}if(data.max !== undefined){let data50 = data.max;if(typeof data50 === "string"){if(!(formats4.validate(data50))){const err112 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/date-time-picker/properties/max/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}else {const err113 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/date-time-picker/properties/max/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}}}else {const err114 = {instancePath,schemaPath:"#/$defs/date-time-picker/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.min = true;props6.max = true;}}else if(tag0 === "time-picker"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err115 = {instancePath,schemaPath:"#/$defs/time-picker/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}if(data.label === undefined){const err116 = {instancePath,schemaPath:"#/$defs/time-picker/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}if(data.comp !== undefined){if("time-picker" !== data.comp){const err117 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/time-picker/properties/comp/const",keyword:"const",params:{allowedValue: "time-picker"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err118 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/time-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}}if(data.min !== undefined){let data53 = data.min;if(typeof data53 === "string"){if(!(formats8.validate(data53))){const err119 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/time-picker/properties/min/format",keyword:"format",params:{format: "time"},message:"must match format \""+"time"+"\""};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}else {const err120 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/time-picker/properties/min/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}if(data.max !== undefined){let data54 = data.max;if(typeof data54 === "string"){if(!(formats8.validate(data54))){const err121 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/time-picker/properties/max/format",keyword:"format",params:{format: "time"},message:"must match format \""+"time"+"\""};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}}else {const err122 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/time-picker/properties/max/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}}}else {const err123 = {instancePath,schemaPath:"#/$defs/time-picker/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.min = true;props6.max = true;}}else if(tag0 === "color-picker"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err124 = {instancePath,schemaPath:"#/$defs/color-picker/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}if(data.label === undefined){const err125 = {instancePath,schemaPath:"#/$defs/color-picker/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}if(data.comp !== undefined){if("color-picker" !== data.comp){const err126 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/color-picker/properties/comp/const",keyword:"const",params:{allowedValue: "color-picker"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err127 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/color-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}}}else {const err128 = {instancePath,schemaPath:"#/$defs/color-picker/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "combobox"){if(!(validate64(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate64.errors : vErrors.concat(validate64.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.items = true;props6.getItems = true;props6.multiple = true;}}else if(tag0 === "number-combobox"){if(!(validate71(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate71.errors : vErrors.concat(validate71.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.items = true;props6.getItems = true;props6.multiple = true;props6.step = true;props6.min = true;props6.max = true;}}else if(tag0 === "select"){if(!(validate74(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate74.errors : vErrors.concat(validate74.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.items = true;props6.getItems = true;props6.multiple = true;}}else if(tag0 === "autocomplete"){if(!(validate77(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate77.errors : vErrors.concat(validate77.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.items = true;props6.getItems = true;props6.multiple = true;}}else if(tag0 === "one-of-select"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err129 = {instancePath,schemaPath:"#/$defs/one-of-select/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}if(data.comp !== undefined){if("one-of-select" !== data.comp){const err130 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/one-of-select/properties/comp/const",keyword:"const",params:{allowedValue: "one-of-select"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}}else {const err131 = {instancePath,schemaPath:"#/$defs/one-of-select/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;}}else if(tag0 === "section"){if(!(validate80(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate80.errors : vErrors.concat(validate80.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "tabs"){if(!(validate84(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate84.errors : vErrors.concat(validate84.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "vertical-tabs"){if(!(validate85(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate85.errors : vErrors.concat(validate85.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "expansion-panels"){if(!(validate86(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate86.errors : vErrors.concat(validate86.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else {const err132 = {instancePath,schemaPath:"#/allOf/1/discriminator",keyword:"discriminator",params:{error: "mapping", tag: "comp", tagValue: tag0},message:"value of tag \"comp\" must be in oneOf"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}}else {const err133 = {instancePath,schemaPath:"#/allOf/1/discriminator",keyword:"discriminator",params:{error: "tag", tag: "comp", tagValue: tag0},message:"tag \"comp\" must be string"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}}if(props6 !== true){props6 = props6 || {};props6.if = true;props6.help = true;props6.cols = true;props6.props = true;props6.slots = true;props6.options = true;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err134 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}if(props6 !== true){for(const key10 in data){if(!props6 || !props6[key10]){const err135 = {instancePath,schemaPath:"#/unevaluatedProperties",keyword:"unevaluatedProperties",params:{unevaluatedProperty: key10},message:"must NOT have unevaluated properties"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}}}}else {const err136 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}validate56.errors = vErrors;return errors === 0;}validate56.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};function validate55(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate55.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.switch === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "switch"},message:"must have required property '"+"switch"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key0 in data){if(!(key0 === "switch")){const err1 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.switch !== undefined){let data0 = data.switch;if(Array.isArray(data0)){const len0 = data0.length;for(let i0=0; i0<len0; i0++){if(!(validate56(data0[i0], {instancePath:instancePath+"/switch/" + i0,parentData:data0,parentDataProperty:i0,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate56.errors : vErrors.concat(validate56.errors);errors = vErrors.length;}}}else {const err2 = {instancePath:instancePath+"/switch",schemaPath:"#/properties/switch/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}else {const err3 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}validate55.errors = vErrors;return errors === 0;}validate55.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};function validate54(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://json-layout.github.io/normalized-layout-keyword" */;let vErrors = null;let errors = 0;const evaluated0 = validate54.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}const _errs0 = errors;let valid0 = false;let passing0 = null;const _errs1 = errors;if(!(validate55(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate55.errors : vErrors.concat(validate55.errors);errors = vErrors.length;}var _valid0 = _errs1 === errors;if(_valid0){valid0 = true;passing0 = 0;var props0 = true;}const _errs2 = errors;if(!(validate56(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate56.errors : vErrors.concat(validate56.errors);errors = vErrors.length;}var _valid0 = _errs2 === errors;if(_valid0 && valid0){valid0 = false;passing0 = [passing0, 1];}else {if(_valid0){valid0 = true;passing0 = 1;if(props0 !== true){props0 = true;}}}if(!valid0){const err0 = {instancePath,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {errors = _errs0;if(vErrors !== null){if(_errs0){vErrors.length = _errs0;}else {vErrors = null;}}}validate54.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate54.evaluated = {"dynamicProps":true,"dynamicItems":false};
|