dependency-cruiser 17.3.10 → 17.4.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.
@@ -1 +1 @@
1
- "use strict";export const validate=de;export default de;const Ie={type:"string",enum:["error","warn","info","ignore"]};const Qe={type:"object",required:["from","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},from:{$ref:"#/definitions/FromRestrictionType"},to:{$ref:"#/definitions/ToRestrictionType"}}};function ue(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const m=e;for(const p in s)if(!(p==="path"||p==="pathNot"||p==="orphan")){return ue.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(m===e){if(s.path!==void 0){let p=s.path;const h=e,P=e;let l=!1,o=null;const c=e;if(typeof p!="string"){const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var f=c===e;f&&(l=!0,o=0);const T=e;if(e===T)if(Array.isArray(p)){var a=!0;const w=p.length;for(let k=0;k<w;k++){const A=e;if(typeof p[k]!="string"){const G={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[G]:r.push(G),e++}var a=A===e;if(!a)break}}else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var f=T===e;if(f&&l?(l=!1,o=[o,1]):f&&(l=!0,o=1),l)e=P,r!==null&&(P?r.length=P:r=null);else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[w]:r.push(w),e++,ue.errors=r,!1}var n=h===e}else var n=!0;if(n){if(s.pathNot!==void 0){let p=s.pathNot;const h=e,P=e;let l=!1,o=null;const c=e;if(typeof p!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var d=c===e;d&&(l=!0,o=0);const T=e;if(e===T)if(Array.isArray(p)){var i=!0;const k=p.length;for(let A=0;A<k;A++){const I=e;if(typeof p[A]!="string"){const z={instancePath:t+"/pathNot/"+A,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[z]:r.push(z),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var d=T===e;if(d&&l?(l=!1,o=[o,1]):d&&(l=!0,o=1),l)e=P,r!==null&&(P?r.length=P:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ue.errors=r,!1}var n=h===e}else var n=!0;if(n)if(s.orphan!==void 0){const p=e;if(typeof s.orphan!="boolean")return ue.errors=[{instancePath:t+"/orphan",schemaPath:"#/properties/orphan/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=p===e}else var n=!0}}}else return ue.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ue.errors=r,e===0}const We={type:"object",additionalProperties:!1,properties:{path:{$ref:"#/definitions/REAsStringsType"},pathNot:{$ref:"#/definitions/REAsStringsType"},couldNotResolve:{type:"boolean"},circular:{type:"boolean"},dynamic:{type:"boolean"},exoticallyRequired:{type:"boolean"},exoticRequire:{$ref:"#/definitions/REAsStringsType"},exoticRequireNot:{$ref:"#/definitions/REAsStringsType"},preCompilationOnly:{type:"boolean"},dependencyTypes:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},dependencyTypesNot:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},moreThanOneDependencyType:{type:"boolean"},license:{$ref:"#/definitions/REAsStringsType"},licenseNot:{$ref:"#/definitions/REAsStringsType"},via:{$ref:"#/definitions/MiniDependencyRestrictionType"},viaOnly:{$ref:"#/definitions/MiniDependencyRestrictionType"},viaNot:{deprecated:!0,$ref:"#/definitions/REAsStringsType"},viaSomeNot:{deprecated:!0,$ref:"#/definitions/REAsStringsType"},moreUnstable:{type:"boolean"},ancestor:{type:"boolean"}}},Ce={type:"string",enum:["aliased-subpath-import","aliased-tsconfig-base-url","aliased-tsconfig-paths","aliased-tsconfig","aliased-webpack","aliased-workspace","aliased","amd-define","amd-require","amd-exotic-require","core","deprecated","dynamic-import","exotic-require","export","import-equals","import","jsdoc","jsdoc-bracket-import","jsdoc-import-tag","local","localmodule","npm-bundled","npm-dev","npm-no-pkg","npm-optional","npm-peer","npm-unknown","npm","pre-compilation-only","process-get-builtin-module","require","triple-slash-amd-dependency","triple-slash-directive","triple-slash-file-reference","triple-slash-type-reference","type-import","type-only","undetermined","unknown"]},Ue=Object.prototype.hasOwnProperty;function Se(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;const a=e;let f=!1,n=null;const i=e,d=e;let m=!1,p=null;const h=e;if(typeof s!="string"){const R={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[R]:r.push(R),e++}var o=h===e;o&&(m=!0,p=0);const P=e;if(e===P)if(Array.isArray(s)){var l=!0;const R=s.length;for(let q=0;q<R;q++){const C=e;if(typeof s[q]!="string"){const _={instancePath:t+"/"+q,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[_]:r.push(_),e++}var l=C===e;if(!l)break}}else{const R={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[R]:r.push(R),e++}var o=P===e;if(o&&m?(m=!1,p=[p,1]):o&&(m=!0,p=1),m)e=d,r!==null&&(d?r.length=d:r=null);else{const R={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};r===null?r=[R]:r.push(R),e++}var se=i===e;se&&(f=!0,n=0);const c=e;if(e===c)if(s&&typeof s=="object"&&!Array.isArray(s)){const R=e;for(const q in s)if(!(q==="path"||q==="pathNot"||q==="dependencyTypes"||q==="dependencyTypesNot")){const C={instancePath:t,schemaPath:"#/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:q},message:"must NOT have additional properties"};r===null?r=[C]:r.push(C),e++;break}if(R===e){if(s.path!==void 0){let q=s.path;const C=e,$=e;let _=!1,v=null;const b=e;if(typeof q!="string"){const O={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var w=b===e;w&&(_=!0,v=0);const W=e;if(e===W)if(Array.isArray(q)){var T=!0;const O=q.length;for(let D=0;D<O;D++){const Z=e;if(typeof q[D]!="string"){const K={instancePath:t+"/path/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[K]:r.push(K),e++}var T=Z===e;if(!T)break}}else{const O={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var w=W===e;if(w&&_?(_=!1,v=[v,1]):w&&(_=!0,v=1),_)e=$,r!==null&&($?r.length=$:r=null);else{const O={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:v},message:"must match exactly one schema in oneOf"};r===null?r=[O]:r.push(O),e++}var k=C===e}else var k=!0;if(k){if(s.pathNot!==void 0){let q=s.pathNot;const C=e,$=e;let _=!1,v=null;const b=e;if(typeof q!="string"){const D={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[D]:r.push(D),e++}var I=b===e;I&&(_=!0,v=0);const W=e;if(e===W)if(Array.isArray(q)){var A=!0;const D=q.length;for(let Z=0;Z<D;Z++){const xe=e;if(typeof q[Z]!="string"){const Ve={instancePath:t+"/pathNot/"+Z,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Ve]:r.push(Ve),e++}var A=xe===e;if(!A)break}}else{const D={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[D]:r.push(D),e++}var I=W===e;if(I&&_?(_=!1,v=[v,1]):I&&(_=!0,v=1),_)e=$,r!==null&&($?r.length=$:r=null);else{const D={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:v},message:"must match exactly one schema in oneOf"};r===null?r=[D]:r.push(D),e++}var k=C===e}else var k=!0;if(k){if(s.dependencyTypes!==void 0){let q=s.dependencyTypes;const C=e;if(e===C)if(Array.isArray(q)){var G=!0;const _=q.length;for(let v=0;v<_;v++){let b=q[v];const W=e;if(typeof b!="string"){const D={instancePath:t+"/dependencyTypes/"+v,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[D]:r.push(D),e++}if(!(b==="aliased-subpath-import"||b==="aliased-tsconfig-base-url"||b==="aliased-tsconfig-paths"||b==="aliased-tsconfig"||b==="aliased-webpack"||b==="aliased-workspace"||b==="aliased"||b==="amd-define"||b==="amd-require"||b==="amd-exotic-require"||b==="core"||b==="deprecated"||b==="dynamic-import"||b==="exotic-require"||b==="export"||b==="import-equals"||b==="import"||b==="jsdoc"||b==="jsdoc-bracket-import"||b==="jsdoc-import-tag"||b==="local"||b==="localmodule"||b==="npm-bundled"||b==="npm-dev"||b==="npm-no-pkg"||b==="npm-optional"||b==="npm-peer"||b==="npm-unknown"||b==="npm"||b==="pre-compilation-only"||b==="process-get-builtin-module"||b==="require"||b==="triple-slash-amd-dependency"||b==="triple-slash-directive"||b==="triple-slash-file-reference"||b==="triple-slash-type-reference"||b==="type-import"||b==="type-only"||b==="undetermined"||b==="unknown")){const D={instancePath:t+"/dependencyTypes/"+v,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Ce.enum},message:"must be equal to one of the allowed values"};r===null?r=[D]:r.push(D),e++}var G=W===e;if(!G)break}}else{const _={instancePath:t+"/dependencyTypes",schemaPath:"#/oneOf/1/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[_]:r.push(_),e++}var k=C===e}else var k=!0;if(k)if(s.dependencyTypesNot!==void 0){let q=s.dependencyTypesNot;const C=e;if(e===C)if(Array.isArray(q)){var z=!0;const _=q.length;for(let v=0;v<_;v++){let b=q[v];const W=e;if(typeof b!="string"){const D={instancePath:t+"/dependencyTypesNot/"+v,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[D]:r.push(D),e++}if(!(b==="aliased-subpath-import"||b==="aliased-tsconfig-base-url"||b==="aliased-tsconfig-paths"||b==="aliased-tsconfig"||b==="aliased-webpack"||b==="aliased-workspace"||b==="aliased"||b==="amd-define"||b==="amd-require"||b==="amd-exotic-require"||b==="core"||b==="deprecated"||b==="dynamic-import"||b==="exotic-require"||b==="export"||b==="import-equals"||b==="import"||b==="jsdoc"||b==="jsdoc-bracket-import"||b==="jsdoc-import-tag"||b==="local"||b==="localmodule"||b==="npm-bundled"||b==="npm-dev"||b==="npm-no-pkg"||b==="npm-optional"||b==="npm-peer"||b==="npm-unknown"||b==="npm"||b==="pre-compilation-only"||b==="process-get-builtin-module"||b==="require"||b==="triple-slash-amd-dependency"||b==="triple-slash-directive"||b==="triple-slash-file-reference"||b==="triple-slash-type-reference"||b==="type-import"||b==="type-only"||b==="undetermined"||b==="unknown")){const D={instancePath:t+"/dependencyTypesNot/"+v,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Ce.enum},message:"must be equal to one of the allowed values"};r===null?r=[D]:r.push(D),e++}var z=W===e;if(!z)break}}else{const _={instancePath:t+"/dependencyTypesNot",schemaPath:"#/oneOf/1/properties/dependencyTypesNot/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[_]:r.push(_),e++}var k=C===e}else var k=!0}}}}else{const R={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object"};r===null?r=[R]:r.push(R),e++}var se=c===e;if(se&&f?(f=!1,n=[n,1]):se&&(f=!0,n=1),f)e=a,r!==null&&(a?r.length=a:r=null);else{const R={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[R]:r.push(R),e++,Se.errors=r,!1}return Se.errors=r,e===0}function U(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const se=e;for(const R in s)if(!Ue.call(We.properties,R)){return U.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:R},message:"must NOT have additional properties"}],!1;break}if(se===e){if(s.path!==void 0){let R=s.path;const q=e,C=e;let $=!1,_=null;const v=e;if(typeof R!="string"){const W={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[W]:r.push(W),e++}var f=v===e;f&&($=!0,_=0);const b=e;if(e===b)if(Array.isArray(R)){var a=!0;const W=R.length;for(let O=0;O<W;O++){const D=e;if(typeof R[O]!="string"){const xe={instancePath:t+"/path/"+O,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[xe]:r.push(xe),e++}var a=D===e;if(!a)break}}else{const W={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[W]:r.push(W),e++}var f=b===e;if(f&&$?($=!1,_=[_,1]):f&&($=!0,_=1),$)e=C,r!==null&&(C?r.length=C:r=null);else{const W={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[W]:r.push(W),e++,U.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.pathNot!==void 0){let R=s.pathNot;const q=e,C=e;let $=!1,_=null;const v=e;if(typeof R!="string"){const O={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var d=v===e;d&&($=!0,_=0);const b=e;if(e===b)if(Array.isArray(R)){var i=!0;const O=R.length;for(let D=0;D<O;D++){const Z=e;if(typeof R[D]!="string"){const K={instancePath:t+"/pathNot/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[K]:r.push(K),e++}var i=Z===e;if(!i)break}}else{const O={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var d=b===e;if(d&&$?($=!1,_=[_,1]):d&&($=!0,_=1),$)e=C,r!==null&&(C?r.length=C:r=null);else{const O={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,U.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.couldNotResolve!==void 0){const R=e;if(typeof s.couldNotResolve!="boolean")return U.errors=[{instancePath:t+"/couldNotResolve",schemaPath:"#/properties/couldNotResolve/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.circular!==void 0){const R=e;if(typeof s.circular!="boolean")return U.errors=[{instancePath:t+"/circular",schemaPath:"#/properties/circular/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.dynamic!==void 0){const R=e;if(typeof s.dynamic!="boolean")return U.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.exoticallyRequired!==void 0){const R=e;if(typeof s.exoticallyRequired!="boolean")return U.errors=[{instancePath:t+"/exoticallyRequired",schemaPath:"#/properties/exoticallyRequired/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.exoticRequire!==void 0){let R=s.exoticRequire;const q=e,C=e;let $=!1,_=null;const v=e;if(typeof R!="string"){const O={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var p=v===e;p&&($=!0,_=0);const b=e;if(e===b)if(Array.isArray(R)){var m=!0;const O=R.length;for(let D=0;D<O;D++){const Z=e;if(typeof R[D]!="string"){const K={instancePath:t+"/exoticRequire/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[K]:r.push(K),e++}var m=Z===e;if(!m)break}}else{const O={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var p=b===e;if(p&&$?($=!1,_=[_,1]):p&&($=!0,_=1),$)e=C,r!==null&&(C?r.length=C:r=null);else{const O={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,U.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.exoticRequireNot!==void 0){let R=s.exoticRequireNot;const q=e,C=e;let $=!1,_=null;const v=e;if(typeof R!="string"){const O={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var P=v===e;P&&($=!0,_=0);const b=e;if(e===b)if(Array.isArray(R)){var h=!0;const O=R.length;for(let D=0;D<O;D++){const Z=e;if(typeof R[D]!="string"){const K={instancePath:t+"/exoticRequireNot/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[K]:r.push(K),e++}var h=Z===e;if(!h)break}}else{const O={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var P=b===e;if(P&&$?($=!1,_=[_,1]):P&&($=!0,_=1),$)e=C,r!==null&&(C?r.length=C:r=null);else{const O={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,U.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.preCompilationOnly!==void 0){const R=e;if(typeof s.preCompilationOnly!="boolean")return U.errors=[{instancePath:t+"/preCompilationOnly",schemaPath:"#/properties/preCompilationOnly/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.dependencyTypes!==void 0){let R=s.dependencyTypes;const q=e;if(e===q)if(Array.isArray(R)){var l=!0;const $=R.length;for(let _=0;_<$;_++){let v=R[_];const b=e;if(typeof v!="string")return U.errors=[{instancePath:t+"/dependencyTypes/"+_,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(v==="aliased-subpath-import"||v==="aliased-tsconfig-base-url"||v==="aliased-tsconfig-paths"||v==="aliased-tsconfig"||v==="aliased-webpack"||v==="aliased-workspace"||v==="aliased"||v==="amd-define"||v==="amd-require"||v==="amd-exotic-require"||v==="core"||v==="deprecated"||v==="dynamic-import"||v==="exotic-require"||v==="export"||v==="import-equals"||v==="import"||v==="jsdoc"||v==="jsdoc-bracket-import"||v==="jsdoc-import-tag"||v==="local"||v==="localmodule"||v==="npm-bundled"||v==="npm-dev"||v==="npm-no-pkg"||v==="npm-optional"||v==="npm-peer"||v==="npm-unknown"||v==="npm"||v==="pre-compilation-only"||v==="process-get-builtin-module"||v==="require"||v==="triple-slash-amd-dependency"||v==="triple-slash-directive"||v==="triple-slash-file-reference"||v==="triple-slash-type-reference"||v==="type-import"||v==="type-only"||v==="undetermined"||v==="unknown"))return U.errors=[{instancePath:t+"/dependencyTypes/"+_,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Ce.enum},message:"must be equal to one of the allowed values"}],!1;var l=b===e;if(!l)break}}else return U.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=q===e}else var n=!0;if(n){if(s.dependencyTypesNot!==void 0){let R=s.dependencyTypesNot;const q=e;if(e===q)if(Array.isArray(R)){var o=!0;const $=R.length;for(let _=0;_<$;_++){let v=R[_];const b=e;if(typeof v!="string")return U.errors=[{instancePath:t+"/dependencyTypesNot/"+_,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(v==="aliased-subpath-import"||v==="aliased-tsconfig-base-url"||v==="aliased-tsconfig-paths"||v==="aliased-tsconfig"||v==="aliased-webpack"||v==="aliased-workspace"||v==="aliased"||v==="amd-define"||v==="amd-require"||v==="amd-exotic-require"||v==="core"||v==="deprecated"||v==="dynamic-import"||v==="exotic-require"||v==="export"||v==="import-equals"||v==="import"||v==="jsdoc"||v==="jsdoc-bracket-import"||v==="jsdoc-import-tag"||v==="local"||v==="localmodule"||v==="npm-bundled"||v==="npm-dev"||v==="npm-no-pkg"||v==="npm-optional"||v==="npm-peer"||v==="npm-unknown"||v==="npm"||v==="pre-compilation-only"||v==="process-get-builtin-module"||v==="require"||v==="triple-slash-amd-dependency"||v==="triple-slash-directive"||v==="triple-slash-file-reference"||v==="triple-slash-type-reference"||v==="type-import"||v==="type-only"||v==="undetermined"||v==="unknown"))return U.errors=[{instancePath:t+"/dependencyTypesNot/"+_,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Ce.enum},message:"must be equal to one of the allowed values"}],!1;var o=b===e;if(!o)break}}else return U.errors=[{instancePath:t+"/dependencyTypesNot",schemaPath:"#/properties/dependencyTypesNot/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=q===e}else var n=!0;if(n){if(s.moreThanOneDependencyType!==void 0){const R=e;if(typeof s.moreThanOneDependencyType!="boolean")return U.errors=[{instancePath:t+"/moreThanOneDependencyType",schemaPath:"#/properties/moreThanOneDependencyType/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.license!==void 0){let R=s.license;const q=e,C=e;let $=!1,_=null;const v=e;if(typeof R!="string"){const O={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var T=v===e;T&&($=!0,_=0);const b=e;if(e===b)if(Array.isArray(R)){var c=!0;const O=R.length;for(let D=0;D<O;D++){const Z=e;if(typeof R[D]!="string"){const K={instancePath:t+"/license/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[K]:r.push(K),e++}var c=Z===e;if(!c)break}}else{const O={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var T=b===e;if(T&&$?($=!1,_=[_,1]):T&&($=!0,_=1),$)e=C,r!==null&&(C?r.length=C:r=null);else{const O={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,U.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.licenseNot!==void 0){let R=s.licenseNot;const q=e,C=e;let $=!1,_=null;const v=e;if(typeof R!="string"){const O={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var k=v===e;k&&($=!0,_=0);const b=e;if(e===b)if(Array.isArray(R)){var w=!0;const O=R.length;for(let D=0;D<O;D++){const Z=e;if(typeof R[D]!="string"){const K={instancePath:t+"/licenseNot/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[K]:r.push(K),e++}var w=Z===e;if(!w)break}}else{const O={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var k=b===e;if(k&&$?($=!1,_=[_,1]):k&&($=!0,_=1),$)e=C,r!==null&&(C?r.length=C:r=null);else{const O={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,U.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.via!==void 0){const R=e;Se(s.via,{instancePath:t+"/via",parentData:s,parentDataProperty:"via",rootData:S})||(r=r===null?Se.errors:r.concat(Se.errors),e=r.length);var n=R===e}else var n=!0;if(n){if(s.viaOnly!==void 0){const R=e;Se(s.viaOnly,{instancePath:t+"/viaOnly",parentData:s,parentDataProperty:"viaOnly",rootData:S})||(r=r===null?Se.errors:r.concat(Se.errors),e=r.length);var n=R===e}else var n=!0;if(n){if(s.viaNot!==void 0){let R=s.viaNot;const q=e,C=e;let $=!1,_=null;const v=e;if(typeof R!="string"){const O={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var I=v===e;I&&($=!0,_=0);const b=e;if(e===b)if(Array.isArray(R)){var A=!0;const O=R.length;for(let D=0;D<O;D++){const Z=e;if(typeof R[D]!="string"){const K={instancePath:t+"/viaNot/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[K]:r.push(K),e++}var A=Z===e;if(!A)break}}else{const O={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var I=b===e;if(I&&$?($=!1,_=[_,1]):I&&($=!0,_=1),$)e=C,r!==null&&(C?r.length=C:r=null);else{const O={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,U.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.viaSomeNot!==void 0){let R=s.viaSomeNot;const q=e,C=e;let $=!1,_=null;const v=e;if(typeof R!="string"){const O={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var z=v===e;z&&($=!0,_=0);const b=e;if(e===b)if(Array.isArray(R)){var G=!0;const O=R.length;for(let D=0;D<O;D++){const Z=e;if(typeof R[D]!="string"){const K={instancePath:t+"/viaSomeNot/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[K]:r.push(K),e++}var G=Z===e;if(!G)break}}else{const O={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var z=b===e;if(z&&$?($=!1,_=[_,1]):z&&($=!0,_=1),$)e=C,r!==null&&(C?r.length=C:r=null);else{const O={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,U.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.moreUnstable!==void 0){const R=e;if(typeof s.moreUnstable!="boolean")return U.errors=[{instancePath:t+"/moreUnstable",schemaPath:"#/properties/moreUnstable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n)if(s.ancestor!==void 0){const R=e;if(typeof s.ancestor!="boolean")return U.errors=[{instancePath:t+"/ancestor",schemaPath:"#/properties/ancestor/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0}}}}}}}}}}}}}}}}}}}}else return U.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return U.errors=r,e===0}function oe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.from===void 0&&(f="from")||s.to===void 0&&(f="to"))return oe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="from"||i==="to")){return oe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return oe.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const d=e;if(typeof i!="string")return oe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return oe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=d===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const d=e;if(typeof i!="string")return oe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return oe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Qe.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var a=d===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return oe.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ue(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ue.errors:r.concat(ue.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;U(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?U.errors:r.concat(U.errors),e=r.length);var a=i===e}else var a=!0}}}}}}}else return oe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return oe.errors=r,e===0}const Xe={type:"object",required:["from","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},from:{$ref:"#/definitions/ReachabilityFromRestrictionType"},to:{$ref:"#/definitions/ReachabilityToRestrictionType"}}};function ge(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const m=e;for(const p in s)if(!(p==="path"||p==="pathNot")){return ge.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(m===e){if(s.path!==void 0){let p=s.path;const h=e,P=e;let l=!1,o=null;const c=e;if(typeof p!="string"){const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var f=c===e;f&&(l=!0,o=0);const T=e;if(e===T)if(Array.isArray(p)){var a=!0;const w=p.length;for(let k=0;k<w;k++){const A=e;if(typeof p[k]!="string"){const G={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[G]:r.push(G),e++}var a=A===e;if(!a)break}}else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var f=T===e;if(f&&l?(l=!1,o=[o,1]):f&&(l=!0,o=1),l)e=P,r!==null&&(P?r.length=P:r=null);else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[w]:r.push(w),e++,ge.errors=r,!1}var n=h===e}else var n=!0;if(n)if(s.pathNot!==void 0){let p=s.pathNot;const h=e,P=e;let l=!1,o=null;const c=e;if(typeof p!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var d=c===e;d&&(l=!0,o=0);const T=e;if(e===T)if(Array.isArray(p)){var i=!0;const k=p.length;for(let A=0;A<k;A++){const I=e;if(typeof p[A]!="string"){const z={instancePath:t+"/pathNot/"+A,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[z]:r.push(z),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var d=T===e;if(d&&l?(l=!1,o=[o,1]):d&&(l=!0,o=1),l)e=P,r!==null&&(P?r.length=P:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ge.errors=r,!1}var n=h===e}else var n=!0}}else return ge.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ge.errors=r,e===0}function ye(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let m;if(s.reachable===void 0&&(m="reachable"))return ye.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;{const p=e;for(const h in s)if(!(h==="path"||h==="pathNot"||h==="reachable")){return ye.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(p===e){if(s.path!==void 0){let h=s.path;const P=e,l=e;let o=!1,c=null;const T=e;if(typeof h!="string"){const k={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var f=T===e;f&&(o=!0,c=0);const w=e;if(e===w)if(Array.isArray(h)){var a=!0;const k=h.length;for(let A=0;A<k;A++){const I=e;if(typeof h[A]!="string"){const z={instancePath:t+"/path/"+A,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[z]:r.push(z),e++}var a=I===e;if(!a)break}}else{const k={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var f=w===e;if(f&&o?(o=!1,c=[c,1]):f&&(o=!0,c=1),o)e=l,r!==null&&(l?r.length=l:r=null);else{const k={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ye.errors=r,!1}var n=P===e}else var n=!0;if(n){if(s.pathNot!==void 0){let h=s.pathNot;const P=e,l=e;let o=!1,c=null;const T=e;if(typeof h!="string"){const A={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var d=T===e;d&&(o=!0,c=0);const w=e;if(e===w)if(Array.isArray(h)){var i=!0;const A=h.length;for(let I=0;I<A;I++){const G=e;if(typeof h[I]!="string"){const se={instancePath:t+"/pathNot/"+I,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[se]:r.push(se),e++}var i=G===e;if(!i)break}}else{const A={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var d=w===e;if(d&&o?(o=!1,c=[c,1]):d&&(o=!0,c=1),o)e=l,r!==null&&(l?r.length=l:r=null);else{const A={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,ye.errors=r,!1}var n=P===e}else var n=!0;if(n)if(s.reachable!==void 0){const h=e;if(typeof s.reachable!="boolean")return ye.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=h===e}else var n=!0}}}}else return ye.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ye.errors=r,e===0}function pe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.from===void 0&&(f="from")||s.to===void 0&&(f="to"))return pe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="from"||i==="to")){return pe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return pe.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const d=e;if(typeof i!="string")return pe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return pe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=d===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const d=e;if(typeof i!="string")return pe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return pe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Xe.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var a=d===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return pe.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ge(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ge.errors:r.concat(ge.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;ye(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?ye.errors:r.concat(ye.errors),e=r.length);var a=i===e}else var a=!0}}}}}}}else return pe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return pe.errors=r,e===0}const Ye={type:"object",required:["module","from"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},module:{$ref:"#/definitions/DependentsModuleRestrictionType"},from:{$ref:"#/definitions/DependentsFromRestrictionType"}}};function ne(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const m=e;for(const p in s)if(!(p==="path"||p==="pathNot"||p==="numberOfDependentsLessThan"||p==="numberOfDependentsMoreThan")){return ne.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(m===e){if(s.path!==void 0){let p=s.path;const h=e,P=e;let l=!1,o=null;const c=e;if(typeof p!="string"){const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var f=c===e;f&&(l=!0,o=0);const T=e;if(e===T)if(Array.isArray(p)){var a=!0;const w=p.length;for(let k=0;k<w;k++){const A=e;if(typeof p[k]!="string"){const G={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[G]:r.push(G),e++}var a=A===e;if(!a)break}}else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var f=T===e;if(f&&l?(l=!1,o=[o,1]):f&&(l=!0,o=1),l)e=P,r!==null&&(P?r.length=P:r=null);else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[w]:r.push(w),e++,ne.errors=r,!1}var n=h===e}else var n=!0;if(n){if(s.pathNot!==void 0){let p=s.pathNot;const h=e,P=e;let l=!1,o=null;const c=e;if(typeof p!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var d=c===e;d&&(l=!0,o=0);const T=e;if(e===T)if(Array.isArray(p)){var i=!0;const k=p.length;for(let A=0;A<k;A++){const I=e;if(typeof p[A]!="string"){const z={instancePath:t+"/pathNot/"+A,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[z]:r.push(z),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var d=T===e;if(d&&l?(l=!1,o=[o,1]):d&&(l=!0,o=1),l)e=P,r!==null&&(P?r.length=P:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ne.errors=r,!1}var n=h===e}else var n=!0;if(n){if(s.numberOfDependentsLessThan!==void 0){let p=s.numberOfDependentsLessThan;const h=e;if(!(typeof p=="number"&&!(p%1)&&!isNaN(p)&&isFinite(p)))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===h&&typeof p=="number"&&isFinite(p)){if(p>100||isNaN(p))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(p<0||isNaN(p))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var n=h===e}else var n=!0;if(n)if(s.numberOfDependentsMoreThan!==void 0){let p=s.numberOfDependentsMoreThan;const h=e;if(!(typeof p=="number"&&!(p%1)&&!isNaN(p)&&isFinite(p)))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===h&&typeof p=="number"&&isFinite(p)){if(p>100||isNaN(p))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(p<0||isNaN(p))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var n=h===e}else var n=!0}}}}else return ne.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ne.errors=r,e===0}function De(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const m=e;for(const p in s)if(!(p==="path"||p==="pathNot")){return De.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(m===e){if(s.path!==void 0){let p=s.path;const h=e,P=e;let l=!1,o=null;const c=e;if(typeof p!="string"){const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var f=c===e;f&&(l=!0,o=0);const T=e;if(e===T)if(Array.isArray(p)){var a=!0;const w=p.length;for(let k=0;k<w;k++){const A=e;if(typeof p[k]!="string"){const G={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[G]:r.push(G),e++}var a=A===e;if(!a)break}}else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var f=T===e;if(f&&l?(l=!1,o=[o,1]):f&&(l=!0,o=1),l)e=P,r!==null&&(P?r.length=P:r=null);else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[w]:r.push(w),e++,De.errors=r,!1}var n=h===e}else var n=!0;if(n)if(s.pathNot!==void 0){let p=s.pathNot;const h=e,P=e;let l=!1,o=null;const c=e;if(typeof p!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var d=c===e;d&&(l=!0,o=0);const T=e;if(e===T)if(Array.isArray(p)){var i=!0;const k=p.length;for(let A=0;A<k;A++){const I=e;if(typeof p[A]!="string"){const z={instancePath:t+"/pathNot/"+A,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[z]:r.push(z),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var d=T===e;if(d&&l?(l=!1,o=[o,1]):d&&(l=!0,o=1),l)e=P,r!==null&&(P?r.length=P:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,De.errors=r,!1}var n=h===e}else var n=!0}}else return De.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return De.errors=r,e===0}function le(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.module===void 0&&(f="module")||s.from===void 0&&(f="from"))return le.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="module"||i==="from")){return le.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return le.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const d=e;if(typeof i!="string")return le.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return le.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=d===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const d=e;if(typeof i!="string")return le.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return le.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Ye.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var a=d===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return le.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.module!==void 0){const i=e;ne(s.module,{instancePath:t+"/module",parentData:s,parentDataProperty:"module",rootData:S})||(r=r===null?ne.errors:r.concat(ne.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.from!==void 0){const i=e;De(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?De.errors:r.concat(De.errors),e=r.length);var a=i===e}else var a=!0}}}}}}}else return le.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return le.errors=r,e===0}function He(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;const a=e;let f=!1,n=null;const i=e;oe(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?oe.errors:r.concat(oe.errors),e=r.length);var m=i===e;m&&(f=!0,n=0);const d=e;pe(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?pe.errors:r.concat(pe.errors),e=r.length);var m=d===e;if(m&&f)f=!1,n=[n,1];else{m&&(f=!0,n=1);const p=e;le(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?le.errors:r.concat(le.errors),e=r.length);var m=p===e;m&&f?(f=!1,n=[n,2]):m&&(f=!0,n=2)}if(f)e=a,r!==null&&(a?r.length=a:r=null);else{const p={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,He.errors=r,!1}return He.errors=r,e===0}const Ze={type:"object",required:["from","to"],additionalProperties:!1,properties:{comment:{type:"string"},scope:{type:"string",enum:["module","folder"]},from:{$ref:"#/definitions/FromRestrictionType"},to:{$ref:"#/definitions/ToRestrictionType"}}};function be(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.from===void 0&&(f="from")||s.to===void 0&&(f="to"))return be.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const i in s)if(!(i==="comment"||i==="scope"||i==="from"||i==="to")){return be.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return be.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const d=e;if(typeof i!="string")return be.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return be.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Ze.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var a=d===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ue(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ue.errors:r.concat(ue.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;U(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?U.errors:r.concat(U.errors),e=r.length);var a=i===e}else var a=!0}}}}}else return be.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return be.errors=r,e===0}const er={type:"object",required:["from","to"],additionalProperties:!1,properties:{comment:{type:"string"},scope:{type:"string",enum:["module","folder"]},from:{$ref:"#/definitions/ReachabilityFromRestrictionType"},to:{$ref:"#/definitions/ReachabilityToRestrictionType"}}};function Pe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.from===void 0&&(f="from")||s.to===void 0&&(f="to"))return Pe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const i in s)if(!(i==="comment"||i==="scope"||i==="from"||i==="to")){return Pe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return Pe.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const d=e;if(typeof i!="string")return Pe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return Pe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:er.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var a=d===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ge(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ge.errors:r.concat(ge.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;ye(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?ye.errors:r.concat(ye.errors),e=r.length);var a=i===e}else var a=!0}}}}}else return Pe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Pe.errors=r,e===0}function Le(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;const a=e;let f=!1,n=null;const i=e;be(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?be.errors:r.concat(be.errors),e=r.length);var m=i===e;m&&(f=!0,n=0);const d=e;Pe(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?Pe.errors:r.concat(Pe.errors),e=r.length);var m=d===e;if(m&&f?(f=!1,n=[n,1]):m&&(f=!0,n=1),f)e=a,r!==null&&(a?r.length=a:r=null);else{const p={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,Le.errors=r,!1}return Le.errors=r,e===0}const rr={type:"object",required:["module","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},module:{$ref:"#/definitions/RequiredModuleRestrictionType"},to:{$ref:"#/definitions/RequiredToRestrictionType"}}};function je(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const m=e;for(const p in s)if(!(p==="path"||p==="pathNot")){return je.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(m===e){if(s.path!==void 0){let p=s.path;const h=e,P=e;let l=!1,o=null;const c=e;if(typeof p!="string"){const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var f=c===e;f&&(l=!0,o=0);const T=e;if(e===T)if(Array.isArray(p)){var a=!0;const w=p.length;for(let k=0;k<w;k++){const A=e;if(typeof p[k]!="string"){const G={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[G]:r.push(G),e++}var a=A===e;if(!a)break}}else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[w]:r.push(w),e++}var f=T===e;if(f&&l?(l=!1,o=[o,1]):f&&(l=!0,o=1),l)e=P,r!==null&&(P?r.length=P:r=null);else{const w={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[w]:r.push(w),e++,je.errors=r,!1}var n=h===e}else var n=!0;if(n)if(s.pathNot!==void 0){let p=s.pathNot;const h=e,P=e;let l=!1,o=null;const c=e;if(typeof p!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var d=c===e;d&&(l=!0,o=0);const T=e;if(e===T)if(Array.isArray(p)){var i=!0;const k=p.length;for(let A=0;A<k;A++){const I=e;if(typeof p[A]!="string"){const z={instancePath:t+"/pathNot/"+A,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[z]:r.push(z),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var d=T===e;if(d&&l?(l=!1,o=[o,1]):d&&(l=!0,o=1),l)e=P,r!==null&&(P?r.length=P:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,je.errors=r,!1}var n=h===e}else var n=!0}}else return je.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return je.errors=r,e===0}function Ee(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const d in s)if(!(d==="path"||d==="reachable")){return Ee.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.path!==void 0){let d=s.path;const m=e,p=e;let h=!1,P=null;const l=e;if(typeof d!="string"){const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var f=l===e;f&&(h=!0,P=0);const o=e;if(e===o)if(Array.isArray(d)){var a=!0;const c=d.length;for(let T=0;T<c;T++){const w=e;if(typeof d[T]!="string"){const A={instancePath:t+"/path/"+T,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var a=w===e;if(!a)break}}else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var f=o===e;if(f&&h?(h=!1,P=[P,1]):f&&(h=!0,P=1),h)e=p,r!==null&&(p?r.length=p:r=null);else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:P},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,Ee.errors=r,!1}var n=m===e}else var n=!0;if(n)if(s.reachable!==void 0){const d=e;if(typeof s.reachable!="boolean")return Ee.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=d===e}else var n=!0}}else return Ee.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ee.errors=r,e===0}function fe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.module===void 0&&(f="module")||s.to===void 0&&(f="to"))return fe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="module"||i==="to")){return fe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return fe.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const d=e;if(typeof i!="string")return fe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return fe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=d===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const d=e;if(typeof i!="string")return fe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return fe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:rr.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var a=d===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return fe.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.module!==void 0){const i=e;je(s.module,{instancePath:t+"/module",parentData:s,parentDataProperty:"module",rootData:S})||(r=r===null?je.errors:r.concat(je.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;Ee(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?Ee.errors:r.concat(Ee.errors),e=r.length);var a=i===e}else var a=!0}}}}}}}else return fe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return fe.errors=r,e===0}const Fe={type:"object",additionalProperties:!1,properties:{doNotFollow:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundDoNotFollowType"}]},exclude:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundExcludeType"}]},includeOnly:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundIncludeOnlyType"}]},focus:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundFocusType"}]},reaches:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundReachesType"}]},affected:{oneOf:[{type:"string"},{type:"boolean"}]},highlight:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundHighlightType"}]},knownViolations:{$ref:"#/definitions/ViolationsType"},collapse:{oneOf:[{type:"string"},{type:"integer",minimum:1,maximum:9}]},maxDepth:{type:"integer",minimum:0,maximum:99},moduleSystems:{$ref:"#/definitions/ModuleSystemsType"},detectJSDocImports:{type:"boolean"},detectProcessBuiltinModuleCalls:{type:"boolean"},prefix:{type:"string"},suffix:{type:"string"},preserveSymlinks:{type:"boolean"},combinedDependencies:{type:"boolean"},tsConfig:{type:"object",additionalProperties:!1,properties:{fileName:{type:"string"}}},tsPreCompilationDeps:{oneOf:[{type:"boolean"},{type:"string",enum:["specify"]}]},extraExtensionsToScan:{type:"array",items:{type:"string"}},externalModuleResolutionStrategy:{type:"string",enum:["node_modules","yarn-pnp"]},builtInModules:{type:"object",additionalProperties:!1,properties:{override:{type:"array",items:{type:"string"}},add:{type:"array",items:{type:"string"}}}},forceDeriveDependents:{type:"boolean",deprecated:!0},webpackConfig:{type:"object",additionalProperties:!1,properties:{fileName:{type:"string"},env:{oneOf:[{type:"object"},{type:"string"}]},arguments:{type:"object"}}},enhancedResolveOptions:{type:"object",additionalProperties:!1,properties:{exportsFields:{type:"array",items:{type:"string"}},conditionNames:{type:"array",items:{type:"string"}},extensions:{type:"array",items:{type:"string"}},mainFields:{type:"array",items:{type:"string"}},mainFiles:{type:"array"},aliasFields:{type:"array",items:{type:"string"}},cachedInputFileSystem:{type:"object",additionalProperties:!1,properties:{cacheDuration:{type:"integer",minimum:0,maximum:18e5}}}}},babelConfig:{type:"object",additionalProperties:!1,properties:{fileName:{type:"string"}}},parser:{type:"string",enum:["acorn","tsc","swc"]},exoticRequireStrings:{type:"array",items:{type:"string"}},reporterOptions:{$ref:"#/definitions/ReporterOptionsType"},progress:{type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:["cli-feedback","performance-log","ndjson","none"]},maximumLevel:{type:"number",enum:[-1,40,50,60,70,80,99]}}},metrics:{type:"boolean"},experimentalStats:{type:"boolean"},skipAnalysisNotInRules:{type:"boolean"},baseDir:{type:"string"},cache:{oneOf:[{type:"boolean"},{deprecated:!0,type:"string"},{$ref:"#/definitions/CacheOptionsType"}]}}};function ke(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const d=e;for(const m in s)if(!(m==="path"||m==="dependencyTypes")){return ke.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:m},message:"must NOT have additional properties"}],!1;break}if(d===e){if(s.path!==void 0){let m=s.path;const p=e,h=e;let P=!1,l=null;const o=e;if(typeof m!="string"){const T={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[T]:r.push(T),e++}var f=o===e;f&&(P=!0,l=0);const c=e;if(e===c)if(Array.isArray(m)){var a=!0;const T=m.length;for(let w=0;w<T;w++){const k=e;if(typeof m[w]!="string"){const I={instancePath:t+"/path/"+w,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[I]:r.push(I),e++}var a=k===e;if(!a)break}}else{const T={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[T]:r.push(T),e++}var f=c===e;if(f&&P?(P=!1,l=[l,1]):f&&(P=!0,l=1),P)e=h,r!==null&&(h?r.length=h:r=null);else{const T={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};return r===null?r=[T]:r.push(T),e++,ke.errors=r,!1}var n=p===e}else var n=!0;if(n)if(s.dependencyTypes!==void 0){let m=s.dependencyTypes;const p=e;if(e===p)if(Array.isArray(m)){var i=!0;const P=m.length;for(let l=0;l<P;l++){let o=m[l];const c=e;if(typeof o!="string")return ke.errors=[{instancePath:t+"/dependencyTypes/"+l,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="aliased-subpath-import"||o==="aliased-tsconfig-base-url"||o==="aliased-tsconfig-paths"||o==="aliased-tsconfig"||o==="aliased-webpack"||o==="aliased-workspace"||o==="aliased"||o==="amd-define"||o==="amd-require"||o==="amd-exotic-require"||o==="core"||o==="deprecated"||o==="dynamic-import"||o==="exotic-require"||o==="export"||o==="import-equals"||o==="import"||o==="jsdoc"||o==="jsdoc-bracket-import"||o==="jsdoc-import-tag"||o==="local"||o==="localmodule"||o==="npm-bundled"||o==="npm-dev"||o==="npm-no-pkg"||o==="npm-optional"||o==="npm-peer"||o==="npm-unknown"||o==="npm"||o==="pre-compilation-only"||o==="process-get-builtin-module"||o==="require"||o==="triple-slash-amd-dependency"||o==="triple-slash-directive"||o==="triple-slash-file-reference"||o==="triple-slash-type-reference"||o==="type-import"||o==="type-only"||o==="undetermined"||o==="unknown"))return ke.errors=[{instancePath:t+"/dependencyTypes/"+l,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Ce.enum},message:"must be equal to one of the allowed values"}],!1;var i=c===e;if(!i)break}}else return ke.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=p===e}else var n=!0}}else return ke.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ke.errors=r,e===0}function ve(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const d in s)if(!(d==="path"||d==="dynamic")){return ve.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.path!==void 0){let d=s.path;const m=e,p=e;let h=!1,P=null;const l=e;if(typeof d!="string"){const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var f=l===e;f&&(h=!0,P=0);const o=e;if(e===o)if(Array.isArray(d)){var a=!0;const c=d.length;for(let T=0;T<c;T++){const w=e;if(typeof d[T]!="string"){const A={instancePath:t+"/path/"+T,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var a=w===e;if(!a)break}}else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var f=o===e;if(f&&h?(h=!1,P=[P,1]):f&&(h=!0,P=1),h)e=p,r!==null&&(p?r.length=p:r=null);else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:P},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,ve.errors=r,!1}var n=m===e}else var n=!0;if(n)if(s.dynamic!==void 0){const d=e;if(typeof s.dynamic!="boolean")return ve.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=d===e}else var n=!0}}else return ve.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ve.errors=r,e===0}function Re(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const i in s)if(i!=="path"){return Re.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let i=s.path;const d=e;let m=!1,p=null;const h=e;if(typeof i!="string"){const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var f=h===e;f&&(m=!0,p=0);const P=e;if(e===P)if(Array.isArray(i)){var a=!0;const l=i.length;for(let o=0;o<l;o++){const c=e;if(typeof i[o]!="string"){const w={instancePath:t+"/path/"+o,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var a=c===e;if(!a)break}}else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[l]:r.push(l),e++}var f=P===e;if(f&&m?(m=!1,p=[p,1]):f&&(m=!0,p=1),m)e=d,r!==null&&(d?r.length=d:r=null);else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};return r===null?r=[l]:r.push(l),e++,Re.errors=r,!1}}}else return Re.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Re.errors=r,e===0}function me(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const d in s)if(!(d==="path"||d==="depth")){return me.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.path!==void 0){let d=s.path;const m=e,p=e;let h=!1,P=null;const l=e;if(typeof d!="string"){const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var f=l===e;f&&(h=!0,P=0);const o=e;if(e===o)if(Array.isArray(d)){var a=!0;const c=d.length;for(let T=0;T<c;T++){const w=e;if(typeof d[T]!="string"){const A={instancePath:t+"/path/"+T,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var a=w===e;if(!a)break}}else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var f=o===e;if(f&&h?(h=!1,P=[P,1]):f&&(h=!0,P=1),h)e=p,r!==null&&(p?r.length=p:r=null);else{const c={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:P},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,me.errors=r,!1}var n=m===e}else var n=!0;if(n)if(s.depth!==void 0){let d=s.depth;const m=e;if(e===m)if(typeof d=="number"&&isFinite(d)){if(d>4||isNaN(d))return me.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/maximum",keyword:"maximum",params:{comparison:"<=",limit:4},message:"must be <= 4"}],!1;if(d<1||isNaN(d))return me.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1}else return me.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var n=m===e}else var n=!0}}else return me.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return me.errors=r,e===0}function Ae(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const i in s)if(i!=="path"){return Ae.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let i=s.path;const d=e;let m=!1,p=null;const h=e;if(typeof i!="string"){const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var f=h===e;f&&(m=!0,p=0);const P=e;if(e===P)if(Array.isArray(i)){var a=!0;const l=i.length;for(let o=0;o<l;o++){const c=e;if(typeof i[o]!="string"){const w={instancePath:t+"/path/"+o,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var a=c===e;if(!a)break}}else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[l]:r.push(l),e++}var f=P===e;if(f&&m?(m=!1,p=[p,1]):f&&(m=!0,p=1),m)e=d,r!==null&&(d?r.length=d:r=null);else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};return r===null?r=[l]:r.push(l),e++,Ae.errors=r,!1}}}else return Ae.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ae.errors=r,e===0}function $e(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const i in s)if(i!=="path"){return $e.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let i=s.path;const d=e;let m=!1,p=null;const h=e;if(typeof i!="string"){const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[l]:r.push(l),e++}var f=h===e;f&&(m=!0,p=0);const P=e;if(e===P)if(Array.isArray(i)){var a=!0;const l=i.length;for(let o=0;o<l;o++){const c=e;if(typeof i[o]!="string"){const w={instancePath:t+"/path/"+o,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[w]:r.push(w),e++}var a=c===e;if(!a)break}}else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[l]:r.push(l),e++}var f=P===e;if(f&&m?(m=!1,p=[p,1]):f&&(m=!0,p=1),m)e=d,r!==null&&(d?r.length=d:r=null);else{const l={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};return r===null?r=[l]:r.push(l),e++,$e.errors=r,!1}}}else return $e.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return $e.errors=r,e===0}const sr={type:"string",enum:["dependency","module","reachability","cycle","instability","folder"]};function we(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let f;if(s.name===void 0&&(f="name")||s.severity===void 0&&(f="severity"))return we.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity")){return we.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return we.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a)if(s.severity!==void 0){let i=s.severity;const d=e;if(typeof i!="string")return we.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return we.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=d===e}else var a=!0}}}else return we.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return we.errors=r,e===0}function ae(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let n;if(s.name===void 0&&(n="name")||s.dependencyTypes===void 0&&(n="dependencyTypes"))return ae.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:n},message:"must have required property '"+n+"'"}],!1;{const i=e;for(const d in s)if(!(d==="name"||d==="dependencyTypes")){return ae.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.name!==void 0){const d=e;if(typeof s.name!="string")return ae.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0;if(a)if(s.dependencyTypes!==void 0){let d=s.dependencyTypes;const m=e;if(e===m)if(Array.isArray(d)){var f=!0;const h=d.length;for(let P=0;P<h;P++){let l=d[P];const o=e;if(typeof l!="string")return ae.errors=[{instancePath:t+"/dependencyTypes/"+P,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(l==="aliased-subpath-import"||l==="aliased-tsconfig-base-url"||l==="aliased-tsconfig-paths"||l==="aliased-tsconfig"||l==="aliased-webpack"||l==="aliased-workspace"||l==="aliased"||l==="amd-define"||l==="amd-require"||l==="amd-exotic-require"||l==="core"||l==="deprecated"||l==="dynamic-import"||l==="exotic-require"||l==="export"||l==="import-equals"||l==="import"||l==="jsdoc"||l==="jsdoc-bracket-import"||l==="jsdoc-import-tag"||l==="local"||l==="localmodule"||l==="npm-bundled"||l==="npm-dev"||l==="npm-no-pkg"||l==="npm-optional"||l==="npm-peer"||l==="npm-unknown"||l==="npm"||l==="pre-compilation-only"||l==="process-get-builtin-module"||l==="require"||l==="triple-slash-amd-dependency"||l==="triple-slash-directive"||l==="triple-slash-file-reference"||l==="triple-slash-type-reference"||l==="type-import"||l==="type-only"||l==="undetermined"||l==="unknown"))return ae.errors=[{instancePath:t+"/dependencyTypes/"+P,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Ce.enum},message:"must be equal to one of the allowed values"}],!1;var f=o===e;if(!f)break}}else return ae.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=m===e}else var a=!0}}}else return ae.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ae.errors=r,e===0}function Y(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let d;if(s.from===void 0&&(d="from")||s.to===void 0&&(d="to")||s.rule===void 0&&(d="rule"))return Y.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:d},message:"must have required property '"+d+"'"}],!1;{const m=e;for(const p in s)if(!(p==="from"||p==="to"||p==="type"||p==="rule"||p==="cycle"||p==="via"||p==="metrics"||p==="comment")){return Y.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(m===e){if(s.from!==void 0){const p=e;if(typeof s.from!="string")return Y.errors=[{instancePath:t+"/from",schemaPath:"#/properties/from/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=p===e}else var a=!0;if(a){if(s.to!==void 0){const p=e;if(typeof s.to!="string")return Y.errors=[{instancePath:t+"/to",schemaPath:"#/properties/to/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=p===e}else var a=!0;if(a){if(s.type!==void 0){let p=s.type;const h=e;if(typeof p!="string")return Y.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(p==="dependency"||p==="module"||p==="reachability"||p==="cycle"||p==="instability"||p==="folder"))return Y.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/enum",keyword:"enum",params:{allowedValues:sr.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.rule!==void 0){const p=e;we(s.rule,{instancePath:t+"/rule",parentData:s,parentDataProperty:"rule",rootData:S})||(r=r===null?we.errors:r.concat(we.errors),e=r.length);var a=p===e}else var a=!0;if(a){if(s.cycle!==void 0){let p=s.cycle;const h=e;if(e===h)if(Array.isArray(p)){var f=!0;const l=p.length;for(let o=0;o<l;o++){const c=e;ae(p[o],{instancePath:t+"/cycle/"+o,parentData:p,parentDataProperty:o,rootData:S})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var f=c===e;if(!f)break}}else return Y.errors=[{instancePath:t+"/cycle",schemaPath:"#/properties/cycle/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=h===e}else var a=!0;if(a){if(s.via!==void 0){let p=s.via;const h=e;if(e===h)if(Array.isArray(p)){var n=!0;const l=p.length;for(let o=0;o<l;o++){const c=e;ae(p[o],{instancePath:t+"/via/"+o,parentData:p,parentDataProperty:o,rootData:S})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var n=c===e;if(!n)break}}else return Y.errors=[{instancePath:t+"/via",schemaPath:"#/properties/via/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=h===e}else var a=!0;if(a){if(s.metrics!==void 0){let p=s.metrics;const h=e;if(e===h)if(p&&typeof p=="object"&&!Array.isArray(p)){let l;if(p.from===void 0&&(l="from")||p.to===void 0&&(l="to"))return Y.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const o=e;for(const c in p)if(!(c==="from"||c==="to")){return Y.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(o===e){if(p.from!==void 0){let c=p.from;const T=e;if(e===T)if(c&&typeof c=="object"&&!Array.isArray(c)){let w;if(c.instability===void 0&&(w="instability"))return Y.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/required",keyword:"required",params:{missingProperty:w},message:"must have required property '"+w+"'"}],!1;{const k=e;for(const A in c)if(A!=="instability"){return Y.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:A},message:"must NOT have additional properties"}],!1;break}if(k===e&&c.instability!==void 0){let A=c.instability;if(!(typeof A=="number"&&isFinite(A)))return Y.errors=[{instancePath:t+"/metrics/from/instability",schemaPath:"#/properties/metrics/properties/from/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1}}}else return Y.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=T===e}else var i=!0;if(i)if(p.to!==void 0){let c=p.to;const T=e;if(e===T)if(c&&typeof c=="object"&&!Array.isArray(c)){let k;if(c.instability===void 0&&(k="instability"))return Y.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/required",keyword:"required",params:{missingProperty:k},message:"must have required property '"+k+"'"}],!1;{const A=e;for(const I in c)if(I!=="instability"){return Y.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:I},message:"must NOT have additional properties"}],!1;break}if(A===e&&c.instability!==void 0){let I=c.instability;if(!(typeof I=="number"&&isFinite(I)))return Y.errors=[{instancePath:t+"/metrics/to/instability",schemaPath:"#/properties/metrics/properties/to/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1}}}else return Y.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=T===e}else var i=!0}}}else return Y.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=h===e}else var a=!0;if(a)if(s.comment!==void 0){const p=e;if(typeof s.comment!="string")return Y.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=p===e}else var a=!0}}}}}}}}}else return Y.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Y.errors=r,e===0}function Be(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const f=s.length;for(let n=0;n<f;n++){const i=e;Y(s[n],{instancePath:t+"/"+n,parentData:s,parentDataProperty:n,rootData:S})||(r=r===null?Y.errors:r.concat(Y.errors),e=r.length);var a=i===e;if(!a)break}}else return Be.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return Be.errors=r,e===0}const tr={type:"string",enum:["cjs","es6","amd","tsd"]};function qe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const f=s.length;for(let n=0;n<f;n++){let i=s[n];const d=e;if(typeof i!="string")return qe.errors=[{instancePath:t+"/"+n,schemaPath:"#/definitions/ModuleSystemType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="cjs"||i==="es6"||i==="amd"||i==="tsd"))return qe.errors=[{instancePath:t+"/"+n,schemaPath:"#/definitions/ModuleSystemType/enum",keyword:"enum",params:{allowedValues:tr.enum},message:"must be equal to one of the allowed values"}],!1;var a=d===e;if(!a)break}}else return qe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return qe.errors=r,e===0}const ir={type:"object",additionalProperties:!1,properties:{anon:{$ref:"#/definitions/AnonReporterOptionsType"},archi:{$ref:"#/definitions/DotReporterOptionsType"},dot:{$ref:"#/definitions/DotReporterOptionsType"},ddot:{$ref:"#/definitions/DotReporterOptionsType"},flat:{$ref:"#/definitions/DotReporterOptionsType"},markdown:{$ref:"#/definitions/MarkdownReporterOptionsType"},metrics:{$ref:"#/definitions/MetricsReporterOptionsType"},mermaid:{$ref:"#/definitions/MermaidReporterOptionsType"},text:{$ref:"#/definitions/TextReporterOptionsType"}}};const nr={type:"object",additionalProperties:!1,properties:{showTitle:{type:"boolean"},title:{type:"string"},showSummary:{type:"boolean"},showSummaryHeader:{type:"boolean"},summaryHeader:{type:"string"},showStatsSummary:{type:"boolean"},showRulesSummary:{type:"boolean"},includeIgnoredInSummary:{type:"boolean"},showDetails:{type:"boolean"},includeIgnoredInDetails:{type:"boolean"},showDetailsHeader:{type:"boolean"},detailsHeader:{type:"string"},collapseDetails:{type:"boolean"},collapsedMessage:{type:"string"},noViolationsMessage:{type:"string"},showFooter:{type:"boolean"}}},ar={type:"object",additionalProperties:!1,properties:{orderBy:{type:"string",enum:["instability","moduleCount","afferentCouplings","efferentCouplings","name","size","topLevelStatementCount"]},hideModules:{type:"boolean"},hideFolders:{type:"boolean"}}};function Me(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const f=e;for(const n in s)if(!(n==="exclude"||n==="includeOnly"||n==="focus"||n==="reaches")){return Me.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(f===e){if(s.exclude!==void 0){const n=e;ve(s.exclude,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:S})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var a=n===e}else var a=!0;if(a){if(s.includeOnly!==void 0){const n=e;Re(s.includeOnly,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:S})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var a=n===e}else var a=!0;if(a){if(s.focus!==void 0){const n=e;me(s.focus,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:S})||(r=r===null?me.errors:r.concat(me.errors),e=r.length);var a=n===e}else var a=!0;if(a)if(s.reaches!==void 0){const n=e;Ae(s.reaches,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:S})||(r=r===null?Ae.errors:r.concat(Ae.errors),e=r.length);var a=n===e}else var a=!0}}}}else return Me.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Me.errors=r,e===0}function ce(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const n=s.length;for(let i=0;i<n;i++){let d=s[i];const m=e;if(e===e)if(d&&typeof d=="object"&&!Array.isArray(d)){const P=e;for(const l in d)if(!(l==="criteria"||l==="attributes")){return ce.errors=[{instancePath:t+"/"+i,schemaPath:"#/definitions/DotThemeEntryType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(P===e){if(d.criteria!==void 0){let l=d.criteria;const o=e;if(!(l&&typeof l=="object"&&!Array.isArray(l)))return ce.errors=[{instancePath:t+"/"+i+"/criteria",schemaPath:"#/definitions/DotThemeEntryType/properties/criteria/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=o===e}else var f=!0;if(f)if(d.attributes!==void 0){let l=d.attributes;const o=e;if(!(l&&typeof l=="object"&&!Array.isArray(l)))return ce.errors=[{instancePath:t+"/"+i+"/attributes",schemaPath:"#/definitions/DotThemeEntryType/properties/attributes/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=o===e}else var f=!0}}else return ce.errors=[{instancePath:t+"/"+i,schemaPath:"#/definitions/DotThemeEntryType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=m===e;if(!a)break}}else return ce.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return ce.errors=r,e===0}function Te(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const f=e;for(const n in s)if(!(n==="replace"||n==="graph"||n==="node"||n==="edge"||n==="modules"||n==="dependencies")){return Te.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(f===e){if(s.replace!==void 0){const n=e;if(typeof s.replace!="boolean")return Te.errors=[{instancePath:t+"/replace",schemaPath:"#/properties/replace/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=n===e}else var a=!0;if(a){if(s.graph!==void 0){let n=s.graph;const i=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return Te.errors=[{instancePath:t+"/graph",schemaPath:"#/properties/graph/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=i===e}else var a=!0;if(a){if(s.node!==void 0){let n=s.node;const i=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return Te.errors=[{instancePath:t+"/node",schemaPath:"#/properties/node/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=i===e}else var a=!0;if(a){if(s.edge!==void 0){let n=s.edge;const i=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return Te.errors=[{instancePath:t+"/edge",schemaPath:"#/properties/edge/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=i===e}else var a=!0;if(a){if(s.modules!==void 0){const n=e;ce(s.modules,{instancePath:t+"/modules",parentData:s,parentDataProperty:"modules",rootData:S})||(r=r===null?ce.errors:r.concat(ce.errors),e=r.length);var a=n===e}else var a=!0;if(a)if(s.dependencies!==void 0){const n=e;ce(s.dependencies,{instancePath:t+"/dependencies",parentData:s,parentDataProperty:"dependencies",rootData:S})||(r=r===null?ce.errors:r.concat(ce.errors),e=r.length);var a=n===e}else var a=!0}}}}}}else return Te.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Te.errors=r,e===0}function te(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const d in s)if(!(d==="collapsePattern"||d==="filters"||d==="showMetrics"||d==="theme")){return te.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.collapsePattern!==void 0){let d=s.collapsePattern;const m=e,p=e;let h=!1,P=null;const l=e;if(typeof d!="string"){const c={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[c]:r.push(c),e++}var f=l===e;f&&(h=!0,P=0);const o=e;if(e===o)if(Array.isArray(d)){var a=!0;const c=d.length;for(let T=0;T<c;T++){const w=e;if(typeof d[T]!="string"){const A={instancePath:t+"/collapsePattern/"+T,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var a=w===e;if(!a)break}}else{const c={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[c]:r.push(c),e++}var f=o===e;if(f&&h?(h=!1,P=[P,1]):f&&(h=!0,P=1),h)e=p,r!==null&&(p?r.length=p:r=null);else{const c={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:P},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,te.errors=r,!1}var n=m===e}else var n=!0;if(n){if(s.filters!==void 0){const d=e;Me(s.filters,{instancePath:t+"/filters",parentData:s,parentDataProperty:"filters",rootData:S})||(r=r===null?Me.errors:r.concat(Me.errors),e=r.length);var n=d===e}else var n=!0;if(n){if(s.showMetrics!==void 0){const d=e;if(typeof s.showMetrics!="boolean")return te.errors=[{instancePath:t+"/showMetrics",schemaPath:"#/properties/showMetrics/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=d===e}else var n=!0;if(n)if(s.theme!==void 0){const d=e;Te(s.theme,{instancePath:t+"/theme",parentData:s,parentDataProperty:"theme",rootData:S})||(r=r===null?Te.errors:r.concat(Te.errors),e=r.length);var n=d===e}else var n=!0}}}}else return te.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return te.errors=r,e===0}function B(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const d=e;for(const m in s)if(!Ue.call(ir.properties,m)){return B.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:m},message:"must NOT have additional properties"}],!1;break}if(d===e){if(s.anon!==void 0){let m=s.anon;const p=e;if(e===e)if(m&&typeof m=="object"&&!Array.isArray(m)){const P=e;for(const l in m)if(l!=="wordlist"){return B.errors=[{instancePath:t+"/anon",schemaPath:"#/definitions/AnonReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:l},message:"must NOT have additional properties"}],!1;break}if(P===e&&m.wordlist!==void 0){let l=m.wordlist;if(e===e)if(Array.isArray(l)){var a=!0;const c=l.length;for(let T=0;T<c;T++){const w=e;if(typeof l[T]!="string")return B.errors=[{instancePath:t+"/anon/wordlist/"+T,schemaPath:"#/definitions/AnonReporterOptionsType/properties/wordlist/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=w===e;if(!a)break}}else return B.errors=[{instancePath:t+"/anon/wordlist",schemaPath:"#/definitions/AnonReporterOptionsType/properties/wordlist/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return B.errors=[{instancePath:t+"/anon",schemaPath:"#/definitions/AnonReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f){if(s.archi!==void 0){const m=e;te(s.archi,{instancePath:t+"/archi",parentData:s,parentDataProperty:"archi",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var f=m===e}else var f=!0;if(f){if(s.dot!==void 0){const m=e;te(s.dot,{instancePath:t+"/dot",parentData:s,parentDataProperty:"dot",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var f=m===e}else var f=!0;if(f){if(s.ddot!==void 0){const m=e;te(s.ddot,{instancePath:t+"/ddot",parentData:s,parentDataProperty:"ddot",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var f=m===e}else var f=!0;if(f){if(s.flat!==void 0){const m=e;te(s.flat,{instancePath:t+"/flat",parentData:s,parentDataProperty:"flat",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var f=m===e}else var f=!0;if(f){if(s.markdown!==void 0){let m=s.markdown;const p=e;if(e===e)if(m&&typeof m=="object"&&!Array.isArray(m)){const l=e;for(const o in m)if(!Ue.call(nr.properties,o)){return B.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(l===e){if(m.showTitle!==void 0){const o=e;if(typeof m.showTitle!="boolean")return B.errors=[{instancePath:t+"/markdown/showTitle",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showTitle/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=o===e}else var n=!0;if(n){if(m.title!==void 0){const o=e;if(typeof m.title!="string")return B.errors=[{instancePath:t+"/markdown/title",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/title/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=o===e}else var n=!0;if(n){if(m.showSummary!==void 0){const o=e;if(typeof m.showSummary!="boolean")return B.errors=[{instancePath:t+"/markdown/showSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=o===e}else var n=!0;if(n){if(m.showSummaryHeader!==void 0){const o=e;if(typeof m.showSummaryHeader!="boolean")return B.errors=[{instancePath:t+"/markdown/showSummaryHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showSummaryHeader/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=o===e}else var n=!0;if(n){if(m.summaryHeader!==void 0){const o=e;if(typeof m.summaryHeader!="string")return B.errors=[{instancePath:t+"/markdown/summaryHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/summaryHeader/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=o===e}else var n=!0;if(n){if(m.showStatsSummary!==void 0){const o=e;if(typeof m.showStatsSummary!="boolean")return B.errors=[{instancePath:t+"/markdown/showStatsSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showStatsSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=o===e}else var n=!0;if(n){if(m.showRulesSummary!==void 0){const o=e;if(typeof m.showRulesSummary!="boolean")return B.errors=[{instancePath:t+"/markdown/showRulesSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showRulesSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=o===e}else var n=!0;if(n){if(m.includeIgnoredInSummary!==void 0){const o=e;if(typeof m.includeIgnoredInSummary!="boolean")return B.errors=[{instancePath:t+"/markdown/includeIgnoredInSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/includeIgnoredInSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=o===e}else var n=!0;if(n){if(m.showDetails!==void 0){const o=e;if(typeof m.showDetails!="boolean")return B.errors=[{instancePath:t+"/markdown/showDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=o===e}else var n=!0;if(n){if(m.includeIgnoredInDetails!==void 0){const o=e;if(typeof m.includeIgnoredInDetails!="boolean")return B.errors=[{instancePath:t+"/markdown/includeIgnoredInDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/includeIgnoredInDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=o===e}else var n=!0;if(n){if(m.showDetailsHeader!==void 0){const o=e;if(typeof m.showDetailsHeader!="boolean")return B.errors=[{instancePath:t+"/markdown/showDetailsHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showDetailsHeader/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=o===e}else var n=!0;if(n){if(m.detailsHeader!==void 0){const o=e;if(typeof m.detailsHeader!="string")return B.errors=[{instancePath:t+"/markdown/detailsHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/detailsHeader/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=o===e}else var n=!0;if(n){if(m.collapseDetails!==void 0){const o=e;if(typeof m.collapseDetails!="boolean")return B.errors=[{instancePath:t+"/markdown/collapseDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/collapseDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=o===e}else var n=!0;if(n){if(m.collapsedMessage!==void 0){const o=e;if(typeof m.collapsedMessage!="string")return B.errors=[{instancePath:t+"/markdown/collapsedMessage",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/collapsedMessage/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=o===e}else var n=!0;if(n){if(m.noViolationsMessage!==void 0){const o=e;if(typeof m.noViolationsMessage!="string")return B.errors=[{instancePath:t+"/markdown/noViolationsMessage",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/noViolationsMessage/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=o===e}else var n=!0;if(n)if(m.showFooter!==void 0){const o=e;if(typeof m.showFooter!="boolean")return B.errors=[{instancePath:t+"/markdown/showFooter",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showFooter/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=o===e}else var n=!0}}}}}}}}}}}}}}}}else return B.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f){if(s.metrics!==void 0){let m=s.metrics;const p=e;if(e===e)if(m&&typeof m=="object"&&!Array.isArray(m)){const l=e;for(const o in m)if(!(o==="orderBy"||o==="hideModules"||o==="hideFolders")){return B.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(l===e){if(m.orderBy!==void 0){let o=m.orderBy;const c=e;if(typeof o!="string")return B.errors=[{instancePath:t+"/metrics/orderBy",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/orderBy/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(o==="instability"||o==="moduleCount"||o==="afferentCouplings"||o==="efferentCouplings"||o==="name"||o==="size"||o==="topLevelStatementCount"))return B.errors=[{instancePath:t+"/metrics/orderBy",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/orderBy/enum",keyword:"enum",params:{allowedValues:ar.properties.orderBy.enum},message:"must be equal to one of the allowed values"}],!1;var i=c===e}else var i=!0;if(i){if(m.hideModules!==void 0){const o=e;if(typeof m.hideModules!="boolean")return B.errors=[{instancePath:t+"/metrics/hideModules",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/hideModules/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=o===e}else var i=!0;if(i)if(m.hideFolders!==void 0){const o=e;if(typeof m.hideFolders!="boolean")return B.errors=[{instancePath:t+"/metrics/hideFolders",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/hideFolders/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=o===e}else var i=!0}}}else return B.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f){if(s.mermaid!==void 0){let m=s.mermaid;const p=e;if(e===e)if(m&&typeof m=="object"&&!Array.isArray(m)){const l=e;for(const o in m)if(o!=="minify"){return B.errors=[{instancePath:t+"/mermaid",schemaPath:"#/definitions/MermaidReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(l===e&&m.minify!==void 0&&typeof m.minify!="boolean")return B.errors=[{instancePath:t+"/mermaid/minify",schemaPath:"#/definitions/MermaidReporterOptionsType/properties/minify/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1}else return B.errors=[{instancePath:t+"/mermaid",schemaPath:"#/definitions/MermaidReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0;if(f)if(s.text!==void 0){let m=s.text;const p=e;if(e===e)if(m&&typeof m=="object"&&!Array.isArray(m)){const l=e;for(const o in m)if(o!=="highlightFocused"){return B.errors=[{instancePath:t+"/text",schemaPath:"#/definitions/TextReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(l===e&&m.highlightFocused!==void 0&&typeof m.highlightFocused!="boolean")return B.errors=[{instancePath:t+"/text/highlightFocused",schemaPath:"#/definitions/TextReporterOptionsType/properties/highlightFocused/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1}else return B.errors=[{instancePath:t+"/text",schemaPath:"#/definitions/TextReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=p===e}else var f=!0}}}}}}}}}else return B.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return B.errors=r,e===0}const or={type:"string",enum:["metadata","content"]};function Oe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const f=e;for(const n in s)if(!(n==="folder"||n==="strategy"||n==="compress")){return Oe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(f===e){if(s.folder!==void 0){const n=e;if(typeof s.folder!="string")return Oe.errors=[{instancePath:t+"/folder",schemaPath:"#/properties/folder/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=n===e}else var a=!0;if(a){if(s.strategy!==void 0){let n=s.strategy;const i=e;if(typeof n!="string")return Oe.errors=[{instancePath:t+"/strategy",schemaPath:"#/definitions/CacheStrategyType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="metadata"||n==="content"))return Oe.errors=[{instancePath:t+"/strategy",schemaPath:"#/definitions/CacheStrategyType/enum",keyword:"enum",params:{allowedValues:or.enum},message:"must be equal to one of the allowed values"}],!1;var a=i===e}else var a=!0;if(a)if(s.compress!==void 0){const n=e;if(typeof s.compress!="boolean")return Oe.errors=[{instancePath:t+"/compress",schemaPath:"#/properties/compress/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=n===e}else var a=!0}}}else return Oe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Oe.errors=r,e===0}function j(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const Ke=e;for(const y in s)if(!Ue.call(Fe.properties,y)){return j.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:y},message:"must NOT have additional properties"}],!1;break}if(Ke===e){if(s.doNotFollow!==void 0){let y=s.doNotFollow;const M=e,J=e;let E=!1,u=null;const F=e,L=e;let N=!1,g=null;const X=e;if(typeof y!="string"){const ee={instancePath:t+"/doNotFollow",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ee]:r.push(ee),e++}var f=X===e;f&&(N=!0,g=0);const re=e;if(e===re)if(Array.isArray(y)){var a=!0;const ee=y.length;for(let x=0;x<ee;x++){const Q=e;if(typeof y[x]!="string"){const Ge={instancePath:t+"/doNotFollow/"+x,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Ge]:r.push(Ge),e++}var a=Q===e;if(!a)break}}else{const ee={instancePath:t+"/doNotFollow",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[ee]:r.push(ee),e++}var f=re===e;if(f&&N?(N=!1,g=[g,1]):f&&(N=!0,g=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const ee={instancePath:t+"/doNotFollow",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};r===null?r=[ee]:r.push(ee),e++}var n=F===e;n&&(E=!0,u=0);const he=e;ke(y,{instancePath:t+"/doNotFollow",parentData:s,parentDataProperty:"doNotFollow",rootData:S})||(r=r===null?ke.errors:r.concat(ke.errors),e=r.length);var n=he===e;if(n&&E?(E=!1,u=[u,1]):n&&(E=!0,u=1),E)e=J,r!==null&&(J?r.length=J:r=null);else{const ee={instancePath:t+"/doNotFollow",schemaPath:"#/properties/doNotFollow/oneOf",keyword:"oneOf",params:{passingSchemas:u},message:"must match exactly one schema in oneOf"};return r===null?r=[ee]:r.push(ee),e++,j.errors=r,!1}var i=M===e}else var i=!0;if(i){if(s.exclude!==void 0){let y=s.exclude;const M=e,J=e;let E=!1,u=null;const F=e,L=e;let N=!1,g=null;const X=e;if(typeof y!="string"){const x={instancePath:t+"/exclude",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var m=X===e;m&&(N=!0,g=0);const re=e;if(e===re)if(Array.isArray(y)){var d=!0;const x=y.length;for(let Q=0;Q<x;Q++){const _e=e;if(typeof y[Q]!="string"){const ie={instancePath:t+"/exclude/"+Q,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ie]:r.push(ie),e++}var d=_e===e;if(!d)break}}else{const x={instancePath:t+"/exclude",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var m=re===e;if(m&&N?(N=!1,g=[g,1]):m&&(N=!0,g=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/exclude",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var p=F===e;p&&(E=!0,u=0);const he=e;ve(y,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:S})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var p=he===e;if(p&&E?(E=!1,u=[u,1]):p&&(E=!0,u=1),E)e=J,r!==null&&(J?r.length=J:r=null);else{const x={instancePath:t+"/exclude",schemaPath:"#/properties/exclude/oneOf",keyword:"oneOf",params:{passingSchemas:u},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,j.errors=r,!1}var i=M===e}else var i=!0;if(i){if(s.includeOnly!==void 0){let y=s.includeOnly;const M=e,J=e;let E=!1,u=null;const F=e,L=e;let N=!1,g=null;const X=e;if(typeof y!="string"){const x={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var P=X===e;P&&(N=!0,g=0);const re=e;if(e===re)if(Array.isArray(y)){var h=!0;const x=y.length;for(let Q=0;Q<x;Q++){const _e=e;if(typeof y[Q]!="string"){const ie={instancePath:t+"/includeOnly/"+Q,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ie]:r.push(ie),e++}var h=_e===e;if(!h)break}}else{const x={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var P=re===e;if(P&&N?(N=!1,g=[g,1]):P&&(N=!0,g=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var l=F===e;l&&(E=!0,u=0);const he=e;Re(y,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:S})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var l=he===e;if(l&&E?(E=!1,u=[u,1]):l&&(E=!0,u=1),E)e=J,r!==null&&(J?r.length=J:r=null);else{const x={instancePath:t+"/includeOnly",schemaPath:"#/properties/includeOnly/oneOf",keyword:"oneOf",params:{passingSchemas:u},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,j.errors=r,!1}var i=M===e}else var i=!0;if(i){if(s.focus!==void 0){let y=s.focus;const M=e,J=e;let E=!1,u=null;const F=e,L=e;let N=!1,g=null;const X=e;if(typeof y!="string"){const x={instancePath:t+"/focus",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var c=X===e;c&&(N=!0,g=0);const re=e;if(e===re)if(Array.isArray(y)){var o=!0;const x=y.length;for(let Q=0;Q<x;Q++){const _e=e;if(typeof y[Q]!="string"){const ie={instancePath:t+"/focus/"+Q,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ie]:r.push(ie),e++}var o=_e===e;if(!o)break}}else{const x={instancePath:t+"/focus",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var c=re===e;if(c&&N?(N=!1,g=[g,1]):c&&(N=!0,g=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/focus",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var T=F===e;T&&(E=!0,u=0);const he=e;me(y,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:S})||(r=r===null?me.errors:r.concat(me.errors),e=r.length);var T=he===e;if(T&&E?(E=!1,u=[u,1]):T&&(E=!0,u=1),E)e=J,r!==null&&(J?r.length=J:r=null);else{const x={instancePath:t+"/focus",schemaPath:"#/properties/focus/oneOf",keyword:"oneOf",params:{passingSchemas:u},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,j.errors=r,!1}var i=M===e}else var i=!0;if(i){if(s.reaches!==void 0){let y=s.reaches;const M=e,J=e;let E=!1,u=null;const F=e,L=e;let N=!1,g=null;const X=e;if(typeof y!="string"){const x={instancePath:t+"/reaches",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var k=X===e;k&&(N=!0,g=0);const re=e;if(e===re)if(Array.isArray(y)){var w=!0;const x=y.length;for(let Q=0;Q<x;Q++){const _e=e;if(typeof y[Q]!="string"){const ie={instancePath:t+"/reaches/"+Q,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ie]:r.push(ie),e++}var w=_e===e;if(!w)break}}else{const x={instancePath:t+"/reaches",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var k=re===e;if(k&&N?(N=!1,g=[g,1]):k&&(N=!0,g=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/reaches",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var A=F===e;A&&(E=!0,u=0);const he=e;Ae(y,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:S})||(r=r===null?Ae.errors:r.concat(Ae.errors),e=r.length);var A=he===e;if(A&&E?(E=!1,u=[u,1]):A&&(E=!0,u=1),E)e=J,r!==null&&(J?r.length=J:r=null);else{const x={instancePath:t+"/reaches",schemaPath:"#/properties/reaches/oneOf",keyword:"oneOf",params:{passingSchemas:u},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,j.errors=r,!1}var i=M===e}else var i=!0;if(i){if(s.affected!==void 0){let y=s.affected;const M=e,J=e;let E=!1,u=null;const F=e;if(typeof y!="string"){const g={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[g]:r.push(g),e++}var I=F===e;I&&(E=!0,u=0);const L=e;if(typeof y!="boolean"){const g={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf/1/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[g]:r.push(g),e++}var I=L===e;if(I&&E?(E=!1,u=[u,1]):I&&(E=!0,u=1),E)e=J,r!==null&&(J?r.length=J:r=null);else{const g={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf",keyword:"oneOf",params:{passingSchemas:u},message:"must match exactly one schema in oneOf"};return r===null?r=[g]:r.push(g),e++,j.errors=r,!1}var i=M===e}else var i=!0;if(i){if(s.highlight!==void 0){let y=s.highlight;const M=e,J=e;let E=!1,u=null;const F=e,L=e;let N=!1,g=null;const X=e;if(typeof y!="string"){const x={instancePath:t+"/highlight",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var z=X===e;z&&(N=!0,g=0);const re=e;if(e===re)if(Array.isArray(y)){var G=!0;const x=y.length;for(let Q=0;Q<x;Q++){const _e=e;if(typeof y[Q]!="string"){const ie={instancePath:t+"/highlight/"+Q,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ie]:r.push(ie),e++}var G=_e===e;if(!G)break}}else{const x={instancePath:t+"/highlight",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var z=re===e;if(z&&N?(N=!1,g=[g,1]):z&&(N=!0,g=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/highlight",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var se=F===e;se&&(E=!0,u=0);const he=e;$e(y,{instancePath:t+"/highlight",parentData:s,parentDataProperty:"highlight",rootData:S})||(r=r===null?$e.errors:r.concat($e.errors),e=r.length);var se=he===e;if(se&&E?(E=!1,u=[u,1]):se&&(E=!0,u=1),E)e=J,r!==null&&(J?r.length=J:r=null);else{const x={instancePath:t+"/highlight",schemaPath:"#/properties/highlight/oneOf",keyword:"oneOf",params:{passingSchemas:u},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,j.errors=r,!1}var i=M===e}else var i=!0;if(i){if(s.knownViolations!==void 0){const y=e;Be(s.knownViolations,{instancePath:t+"/knownViolations",parentData:s,parentDataProperty:"knownViolations",rootData:S})||(r=r===null?Be.errors:r.concat(Be.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.collapse!==void 0){let y=s.collapse;const M=e,J=e;let E=!1,u=null;const F=e;if(typeof y!="string"){const g={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[g]:r.push(g),e++}var R=F===e;R&&(E=!0,u=0);const L=e;if(!(typeof y=="number"&&!(y%1)&&!isNaN(y)&&isFinite(y))){const g={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/1/type",keyword:"type",params:{type:"integer"},message:"must be integer"};r===null?r=[g]:r.push(g),e++}if(e===L&&typeof y=="number"&&isFinite(y)){if(y>9||isNaN(y)){const g={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/1/maximum",keyword:"maximum",params:{comparison:"<=",limit:9},message:"must be <= 9"};r===null?r=[g]:r.push(g),e++}else if(y<1||isNaN(y)){const g={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/1/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};r===null?r=[g]:r.push(g),e++}}var R=L===e;if(R&&E?(E=!1,u=[u,1]):R&&(E=!0,u=1),E)e=J,r!==null&&(J?r.length=J:r=null);else{const g={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf",keyword:"oneOf",params:{passingSchemas:u},message:"must match exactly one schema in oneOf"};return r===null?r=[g]:r.push(g),e++,j.errors=r,!1}var i=M===e}else var i=!0;if(i){if(s.maxDepth!==void 0){let y=s.maxDepth;const M=e;if(!(typeof y=="number"&&!(y%1)&&!isNaN(y)&&isFinite(y)))return j.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===M&&typeof y=="number"&&isFinite(y)){if(y>99||isNaN(y))return j.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/maximum",keyword:"maximum",params:{comparison:"<=",limit:99},message:"must be <= 99"}],!1;if(y<0||isNaN(y))return j.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var i=M===e}else var i=!0;if(i){if(s.moduleSystems!==void 0){const y=e;qe(s.moduleSystems,{instancePath:t+"/moduleSystems",parentData:s,parentDataProperty:"moduleSystems",rootData:S})||(r=r===null?qe.errors:r.concat(qe.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.detectJSDocImports!==void 0){const y=e;if(typeof s.detectJSDocImports!="boolean")return j.errors=[{instancePath:t+"/detectJSDocImports",schemaPath:"#/properties/detectJSDocImports/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.detectProcessBuiltinModuleCalls!==void 0){const y=e;if(typeof s.detectProcessBuiltinModuleCalls!="boolean")return j.errors=[{instancePath:t+"/detectProcessBuiltinModuleCalls",schemaPath:"#/properties/detectProcessBuiltinModuleCalls/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.prefix!==void 0){const y=e;if(typeof s.prefix!="string")return j.errors=[{instancePath:t+"/prefix",schemaPath:"#/properties/prefix/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=y===e}else var i=!0;if(i){if(s.suffix!==void 0){const y=e;if(typeof s.suffix!="string")return j.errors=[{instancePath:t+"/suffix",schemaPath:"#/properties/suffix/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=y===e}else var i=!0;if(i){if(s.preserveSymlinks!==void 0){const y=e;if(typeof s.preserveSymlinks!="boolean")return j.errors=[{instancePath:t+"/preserveSymlinks",schemaPath:"#/properties/preserveSymlinks/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.combinedDependencies!==void 0){const y=e;if(typeof s.combinedDependencies!="boolean")return j.errors=[{instancePath:t+"/combinedDependencies",schemaPath:"#/properties/combinedDependencies/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.tsConfig!==void 0){let y=s.tsConfig;const M=e;if(e===M)if(y&&typeof y=="object"&&!Array.isArray(y)){const E=e;for(const u in y)if(u!=="fileName"){return j.errors=[{instancePath:t+"/tsConfig",schemaPath:"#/properties/tsConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(E===e&&y.fileName!==void 0&&typeof y.fileName!="string")return j.errors=[{instancePath:t+"/tsConfig/fileName",schemaPath:"#/properties/tsConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return j.errors=[{instancePath:t+"/tsConfig",schemaPath:"#/properties/tsConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=M===e}else var i=!0;if(i){if(s.tsPreCompilationDeps!==void 0){let y=s.tsPreCompilationDeps;const M=e,J=e;let E=!1,u=null;const F=e;if(typeof y!="boolean"){const g={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[g]:r.push(g),e++}var q=F===e;q&&(E=!0,u=0);const L=e;if(typeof y!="string"){const g={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[g]:r.push(g),e++}if(y!=="specify"){const g={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/1/enum",keyword:"enum",params:{allowedValues:Fe.properties.tsPreCompilationDeps.oneOf[1].enum},message:"must be equal to one of the allowed values"};r===null?r=[g]:r.push(g),e++}var q=L===e;if(q&&E?(E=!1,u=[u,1]):q&&(E=!0,u=1),E)e=J,r!==null&&(J?r.length=J:r=null);else{const g={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf",keyword:"oneOf",params:{passingSchemas:u},message:"must match exactly one schema in oneOf"};return r===null?r=[g]:r.push(g),e++,j.errors=r,!1}var i=M===e}else var i=!0;if(i){if(s.extraExtensionsToScan!==void 0){let y=s.extraExtensionsToScan;const M=e;if(e===M)if(Array.isArray(y)){var C=!0;const E=y.length;for(let u=0;u<E;u++){const F=e;if(typeof y[u]!="string")return j.errors=[{instancePath:t+"/extraExtensionsToScan/"+u,schemaPath:"#/properties/extraExtensionsToScan/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var C=F===e;if(!C)break}}else return j.errors=[{instancePath:t+"/extraExtensionsToScan",schemaPath:"#/properties/extraExtensionsToScan/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=M===e}else var i=!0;if(i){if(s.externalModuleResolutionStrategy!==void 0){let y=s.externalModuleResolutionStrategy;const M=e;if(typeof y!="string")return j.errors=[{instancePath:t+"/externalModuleResolutionStrategy",schemaPath:"#/properties/externalModuleResolutionStrategy/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(y==="node_modules"||y==="yarn-pnp"))return j.errors=[{instancePath:t+"/externalModuleResolutionStrategy",schemaPath:"#/properties/externalModuleResolutionStrategy/enum",keyword:"enum",params:{allowedValues:Fe.properties.externalModuleResolutionStrategy.enum},message:"must be equal to one of the allowed values"}],!1;var i=M===e}else var i=!0;if(i){if(s.builtInModules!==void 0){let y=s.builtInModules;const M=e;if(e===M)if(y&&typeof y=="object"&&!Array.isArray(y)){const E=e;for(const u in y)if(!(u==="override"||u==="add")){return j.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(E===e){if(y.override!==void 0){let u=y.override;const F=e;if(e===F)if(Array.isArray(u)){var $=!0;const L=u.length;for(let N=0;N<L;N++){const g=e;if(typeof u[N]!="string")return j.errors=[{instancePath:t+"/builtInModules/override/"+N,schemaPath:"#/properties/builtInModules/properties/override/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var $=g===e;if(!$)break}}else return j.errors=[{instancePath:t+"/builtInModules/override",schemaPath:"#/properties/builtInModules/properties/override/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var _=F===e}else var _=!0;if(_)if(y.add!==void 0){let u=y.add;const F=e;if(e===F)if(Array.isArray(u)){var v=!0;const N=u.length;for(let g=0;g<N;g++){const X=e;if(typeof u[g]!="string")return j.errors=[{instancePath:t+"/builtInModules/add/"+g,schemaPath:"#/properties/builtInModules/properties/add/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var v=X===e;if(!v)break}}else return j.errors=[{instancePath:t+"/builtInModules/add",schemaPath:"#/properties/builtInModules/properties/add/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var _=F===e}else var _=!0}}else return j.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=M===e}else var i=!0;if(i){if(s.forceDeriveDependents!==void 0){const y=e;if(typeof s.forceDeriveDependents!="boolean")return j.errors=[{instancePath:t+"/forceDeriveDependents",schemaPath:"#/properties/forceDeriveDependents/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.webpackConfig!==void 0){let y=s.webpackConfig;const M=e;if(e===M)if(y&&typeof y=="object"&&!Array.isArray(y)){const E=e;for(const u in y)if(!(u==="fileName"||u==="env"||u==="arguments")){return j.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(E===e){if(y.fileName!==void 0){const u=e;if(typeof y.fileName!="string")return j.errors=[{instancePath:t+"/webpackConfig/fileName",schemaPath:"#/properties/webpackConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var b=u===e}else var b=!0;if(b){if(y.env!==void 0){let u=y.env;const F=e,L=e;let N=!1,g=null;const X=e;if(!(u&&typeof u=="object"&&!Array.isArray(u))){const ee={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};r===null?r=[ee]:r.push(ee),e++}var W=X===e;W&&(N=!0,g=0);const re=e;if(typeof u!="string"){const ee={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ee]:r.push(ee),e++}var W=re===e;if(W&&N?(N=!1,g=[g,1]):W&&(N=!0,g=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const ee={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[ee]:r.push(ee),e++,j.errors=r,!1}var b=F===e}else var b=!0;if(b)if(y.arguments!==void 0){let u=y.arguments;const F=e;if(!(u&&typeof u=="object"&&!Array.isArray(u)))return j.errors=[{instancePath:t+"/webpackConfig/arguments",schemaPath:"#/properties/webpackConfig/properties/arguments/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var b=F===e}else var b=!0}}}else return j.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=M===e}else var i=!0;if(i){if(s.enhancedResolveOptions!==void 0){let y=s.enhancedResolveOptions;const M=e;if(e===M)if(y&&typeof y=="object"&&!Array.isArray(y)){const E=e;for(const u in y)if(!(u==="exportsFields"||u==="conditionNames"||u==="extensions"||u==="mainFields"||u==="mainFiles"||u==="aliasFields"||u==="cachedInputFileSystem")){return j.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(E===e){if(y.exportsFields!==void 0){let u=y.exportsFields;const F=e;if(e===F)if(Array.isArray(u)){var O=!0;const L=u.length;for(let N=0;N<L;N++){const g=e;if(typeof u[N]!="string")return j.errors=[{instancePath:t+"/enhancedResolveOptions/exportsFields/"+N,schemaPath:"#/properties/enhancedResolveOptions/properties/exportsFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var O=g===e;if(!O)break}}else return j.errors=[{instancePath:t+"/enhancedResolveOptions/exportsFields",schemaPath:"#/properties/enhancedResolveOptions/properties/exportsFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=F===e}else var D=!0;if(D){if(y.conditionNames!==void 0){let u=y.conditionNames;const F=e;if(e===F)if(Array.isArray(u)){var Z=!0;const N=u.length;for(let g=0;g<N;g++){const X=e;if(typeof u[g]!="string")return j.errors=[{instancePath:t+"/enhancedResolveOptions/conditionNames/"+g,schemaPath:"#/properties/enhancedResolveOptions/properties/conditionNames/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Z=X===e;if(!Z)break}}else return j.errors=[{instancePath:t+"/enhancedResolveOptions/conditionNames",schemaPath:"#/properties/enhancedResolveOptions/properties/conditionNames/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=F===e}else var D=!0;if(D){if(y.extensions!==void 0){let u=y.extensions;const F=e;if(e===F)if(Array.isArray(u)){var xe=!0;const N=u.length;for(let g=0;g<N;g++){const X=e;if(typeof u[g]!="string")return j.errors=[{instancePath:t+"/enhancedResolveOptions/extensions/"+g,schemaPath:"#/properties/enhancedResolveOptions/properties/extensions/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var xe=X===e;if(!xe)break}}else return j.errors=[{instancePath:t+"/enhancedResolveOptions/extensions",schemaPath:"#/properties/enhancedResolveOptions/properties/extensions/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=F===e}else var D=!0;if(D){if(y.mainFields!==void 0){let u=y.mainFields;const F=e;if(e===F)if(Array.isArray(u)){var K=!0;const N=u.length;for(let g=0;g<N;g++){const X=e;if(typeof u[g]!="string")return j.errors=[{instancePath:t+"/enhancedResolveOptions/mainFields/"+g,schemaPath:"#/properties/enhancedResolveOptions/properties/mainFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=X===e;if(!K)break}}else return j.errors=[{instancePath:t+"/enhancedResolveOptions/mainFields",schemaPath:"#/properties/enhancedResolveOptions/properties/mainFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=F===e}else var D=!0;if(D){if(y.mainFiles!==void 0){const u=e;if(!Array.isArray(y.mainFiles))return j.errors=[{instancePath:t+"/enhancedResolveOptions/mainFiles",schemaPath:"#/properties/enhancedResolveOptions/properties/mainFiles/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=u===e}else var D=!0;if(D){if(y.aliasFields!==void 0){let u=y.aliasFields;const F=e;if(e===F)if(Array.isArray(u)){var Ve=!0;const N=u.length;for(let g=0;g<N;g++){const X=e;if(typeof u[g]!="string")return j.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields/"+g,schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ve=X===e;if(!Ve)break}}else return j.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields",schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=F===e}else var D=!0;if(D)if(y.cachedInputFileSystem!==void 0){let u=y.cachedInputFileSystem;const F=e;if(e===F)if(u&&typeof u=="object"&&!Array.isArray(u)){const N=e;for(const g in u)if(g!=="cacheDuration"){return j.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(N===e&&u.cacheDuration!==void 0){let g=u.cacheDuration;const X=e;if(!(typeof g=="number"&&!(g%1)&&!isNaN(g)&&isFinite(g)))return j.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem/cacheDuration",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/properties/cacheDuration/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===X&&typeof g=="number"&&isFinite(g)){if(g>18e5||isNaN(g))return j.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem/cacheDuration",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/properties/cacheDuration/maximum",keyword:"maximum",params:{comparison:"<=",limit:18e5},message:"must be <= 1800000"}],!1;if(g<0||isNaN(g))return j.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem/cacheDuration",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/properties/cacheDuration/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}}}else return j.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var D=F===e}else var D=!0}}}}}}}else return j.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=M===e}else var i=!0;if(i){if(s.babelConfig!==void 0){let y=s.babelConfig;const M=e;if(e===M)if(y&&typeof y=="object"&&!Array.isArray(y)){const E=e;for(const u in y)if(u!=="fileName"){return j.errors=[{instancePath:t+"/babelConfig",schemaPath:"#/properties/babelConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(E===e&&y.fileName!==void 0&&typeof y.fileName!="string")return j.errors=[{instancePath:t+"/babelConfig/fileName",schemaPath:"#/properties/babelConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return j.errors=[{instancePath:t+"/babelConfig",schemaPath:"#/properties/babelConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=M===e}else var i=!0;if(i){if(s.parser!==void 0){let y=s.parser;const M=e;if(typeof y!="string")return j.errors=[{instancePath:t+"/parser",schemaPath:"#/properties/parser/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(y==="acorn"||y==="tsc"||y==="swc"))return j.errors=[{instancePath:t+"/parser",schemaPath:"#/properties/parser/enum",keyword:"enum",params:{allowedValues:Fe.properties.parser.enum},message:"must be equal to one of the allowed values"}],!1;var i=M===e}else var i=!0;if(i){if(s.exoticRequireStrings!==void 0){let y=s.exoticRequireStrings;const M=e;if(e===M)if(Array.isArray(y)){var ze=!0;const E=y.length;for(let u=0;u<E;u++){const F=e;if(typeof y[u]!="string")return j.errors=[{instancePath:t+"/exoticRequireStrings/"+u,schemaPath:"#/properties/exoticRequireStrings/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var ze=F===e;if(!ze)break}}else return j.errors=[{instancePath:t+"/exoticRequireStrings",schemaPath:"#/properties/exoticRequireStrings/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=M===e}else var i=!0;if(i){if(s.reporterOptions!==void 0){const y=e;B(s.reporterOptions,{instancePath:t+"/reporterOptions",parentData:s,parentDataProperty:"reporterOptions",rootData:S})||(r=r===null?B.errors:r.concat(B.errors),e=r.length);var i=y===e}else var i=!0;if(i){if(s.progress!==void 0){let y=s.progress;const M=e;if(e===M)if(y&&typeof y=="object"&&!Array.isArray(y)){const E=e;for(const u in y)if(!(u==="type"||u==="maximumLevel")){return j.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(E===e){if(y.type!==void 0){let u=y.type;const F=e;if(typeof u!="string")return j.errors=[{instancePath:t+"/progress/type",schemaPath:"#/properties/progress/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(u==="cli-feedback"||u==="performance-log"||u==="ndjson"||u==="none"))return j.errors=[{instancePath:t+"/progress/type",schemaPath:"#/properties/progress/properties/type/enum",keyword:"enum",params:{allowedValues:Fe.properties.progress.properties.type.enum},message:"must be equal to one of the allowed values"}],!1;var Je=F===e}else var Je=!0;if(Je)if(y.maximumLevel!==void 0){let u=y.maximumLevel;const F=e;if(!(typeof u=="number"&&isFinite(u)))return j.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;if(!(u===-1||u===40||u===50||u===60||u===70||u===80||u===99))return j.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/enum",keyword:"enum",params:{allowedValues:Fe.properties.progress.properties.maximumLevel.enum},message:"must be equal to one of the allowed values"}],!1;var Je=F===e}else var Je=!0}}else return j.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=M===e}else var i=!0;if(i){if(s.metrics!==void 0){const y=e;if(typeof s.metrics!="boolean")return j.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.experimentalStats!==void 0){const y=e;if(typeof s.experimentalStats!="boolean")return j.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/properties/experimentalStats/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.skipAnalysisNotInRules!==void 0){const y=e;if(typeof s.skipAnalysisNotInRules!="boolean")return j.errors=[{instancePath:t+"/skipAnalysisNotInRules",schemaPath:"#/properties/skipAnalysisNotInRules/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=y===e}else var i=!0;if(i){if(s.baseDir!==void 0){const y=e;if(typeof s.baseDir!="string")return j.errors=[{instancePath:t+"/baseDir",schemaPath:"#/properties/baseDir/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=y===e}else var i=!0;if(i)if(s.cache!==void 0){let y=s.cache;const M=e,J=e;let E=!1,u=null;const F=e;if(typeof y!="boolean"){const g={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[g]:r.push(g),e++}var Ne=F===e;Ne&&(E=!0,u=0);const L=e;if(typeof y!="string"){const g={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[g]:r.push(g),e++}var Ne=L===e;if(Ne&&E)E=!1,u=[u,1];else{Ne&&(E=!0,u=1);const g=e;Oe(y,{instancePath:t+"/cache",parentData:s,parentDataProperty:"cache",rootData:S})||(r=r===null?Oe.errors:r.concat(Oe.errors),e=r.length);var Ne=g===e;Ne&&E?(E=!1,u=[u,2]):Ne&&(E=!0,u=2)}if(E)e=J,r!==null&&(J?r.length=J:r=null);else{const g={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf",keyword:"oneOf",params:{passingSchemas:u},message:"must match exactly one schema in oneOf"};return r===null?r=[g]:r.push(g),e++,j.errors=r,!1}var i=M===e}else var i=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else return j.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return j.errors=r,e===0}function de(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const p=e;for(const h in s)if(!(h==="$schema"||h==="forbidden"||h==="allowed"||h==="allowedSeverity"||h==="required"||h==="options"||h==="extends")){return de.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(p===e){if(s.$schema!==void 0){const h=e;if(typeof s.$schema!="string")return de.errors=[{instancePath:t+"/$schema",schemaPath:"#/properties/%24schema/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=h===e}else var a=!0;if(a){if(s.forbidden!==void 0){let h=s.forbidden;const P=e;if(e===P)if(Array.isArray(h)){var f=!0;const o=h.length;for(let c=0;c<o;c++){const T=e;He(h[c],{instancePath:t+"/forbidden/"+c,parentData:h,parentDataProperty:c,rootData:S})||(r=r===null?He.errors:r.concat(He.errors),e=r.length);var f=T===e;if(!f)break}}else return de.errors=[{instancePath:t+"/forbidden",schemaPath:"#/properties/forbidden/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=P===e}else var a=!0;if(a){if(s.allowed!==void 0){let h=s.allowed;const P=e;if(e===P)if(Array.isArray(h)){var n=!0;const o=h.length;for(let c=0;c<o;c++){const T=e;Le(h[c],{instancePath:t+"/allowed/"+c,parentData:h,parentDataProperty:c,rootData:S})||(r=r===null?Le.errors:r.concat(Le.errors),e=r.length);var n=T===e;if(!n)break}}else return de.errors=[{instancePath:t+"/allowed",schemaPath:"#/properties/allowed/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=P===e}else var a=!0;if(a){if(s.allowedSeverity!==void 0){let h=s.allowedSeverity;const P=e;if(typeof h!="string")return de.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(h==="error"||h==="warn"||h==="info"||h==="ignore"))return de.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=P===e}else var a=!0;if(a){if(s.required!==void 0){let h=s.required;const P=e;if(e===P)if(Array.isArray(h)){var i=!0;const o=h.length;for(let c=0;c<o;c++){const T=e;fe(h[c],{instancePath:t+"/required/"+c,parentData:h,parentDataProperty:c,rootData:S})||(r=r===null?fe.errors:r.concat(fe.errors),e=r.length);var i=T===e;if(!i)break}}else return de.errors=[{instancePath:t+"/required",schemaPath:"#/properties/required/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=P===e}else var a=!0;if(a){if(s.options!==void 0){const h=e;j(s.options,{instancePath:t+"/options",parentData:s,parentDataProperty:"options",rootData:S})||(r=r===null?j.errors:r.concat(j.errors),e=r.length);var a=h===e}else var a=!0;if(a)if(s.extends!==void 0){let h=s.extends;const P=e,l=e;let o=!1,c=null;const T=e;if(typeof h!="string"){const A={instancePath:t+"/extends",schemaPath:"#/definitions/ExtendsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var m=T===e;m&&(o=!0,c=0);const w=e;if(e===w)if(Array.isArray(h)){var d=!0;const A=h.length;for(let I=0;I<A;I++){const G=e;if(typeof h[I]!="string"){const se={instancePath:t+"/extends/"+I,schemaPath:"#/definitions/ExtendsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[se]:r.push(se),e++}var d=G===e;if(!d)break}}else{const A={instancePath:t+"/extends",schemaPath:"#/definitions/ExtendsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var m=w===e;if(m&&o?(o=!1,c=[c,1]):m&&(o=!0,c=1),o)e=l,r!==null&&(l?r.length=l:r=null);else{const A={instancePath:t+"/extends",schemaPath:"#/definitions/ExtendsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,de.errors=r,!1}var a=P===e}else var a=!0}}}}}}}else return de.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return de.errors=r,e===0}
1
+ "use strict";export const validate=de;export default de;const Ie={type:"string",enum:["error","warn","info","ignore"]};const Qe={type:"object",required:["from","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},from:{$ref:"#/definitions/FromRestrictionType"},to:{$ref:"#/definitions/ToRestrictionType"}}};function ue(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot"||c==="orphan")){return ue.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,ue.errors=r,!1}var n=d===e}else var n=!0;if(n){if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var h=v===e;h&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const G={instancePath:t+"/pathNot/"+O,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[G]:r.push(G),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var h=u===e;if(h&&p?(p=!1,y=[y,1]):h&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ue.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.orphan!==void 0){const c=e;if(typeof s.orphan!="boolean")return ue.errors=[{instancePath:t+"/orphan",schemaPath:"#/properties/orphan/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=c===e}else var n=!0}}}else return ue.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ue.errors=r,e===0}const We={type:"object",additionalProperties:!1,properties:{path:{$ref:"#/definitions/REAsStringsType"},pathNot:{$ref:"#/definitions/REAsStringsType"},couldNotResolve:{type:"boolean"},circular:{type:"boolean"},dynamic:{type:"boolean"},exoticallyRequired:{type:"boolean"},exoticRequire:{$ref:"#/definitions/REAsStringsType"},exoticRequireNot:{$ref:"#/definitions/REAsStringsType"},preCompilationOnly:{type:"boolean"},dependencyTypes:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},dependencyTypesNot:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},moreThanOneDependencyType:{type:"boolean"},license:{$ref:"#/definitions/REAsStringsType"},licenseNot:{$ref:"#/definitions/REAsStringsType"},via:{$ref:"#/definitions/MiniDependencyRestrictionType"},viaOnly:{$ref:"#/definitions/MiniDependencyRestrictionType"},viaNot:{deprecated:!0,$ref:"#/definitions/REAsStringsType"},viaSomeNot:{deprecated:!0,$ref:"#/definitions/REAsStringsType"},moreUnstable:{type:"boolean"},ancestor:{type:"boolean"}}},Me={type:"string",enum:["aliased-subpath-import","aliased-tsconfig-base-url","aliased-tsconfig-paths","aliased-tsconfig","aliased-webpack","aliased-workspace","aliased","amd-define","amd-require","amd-exotic-require","core","deprecated","dynamic-import","exotic-require","export","import-equals","import","jsdoc","jsdoc-bracket-import","jsdoc-import-tag","local","localmodule","npm-bundled","npm-dev","npm-no-pkg","npm-optional","npm-peer","npm-unknown","npm","pre-compilation-only","process-get-builtin-module","require","triple-slash-amd-dependency","triple-slash-directive","triple-slash-file-reference","triple-slash-type-reference","type-import","type-only","undetermined","unknown"]},Be=Object.prototype.hasOwnProperty;function Se(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;const a=e;let l=!1,n=null;const i=e,h=e;let T=!1,c=null;const d=e;if(typeof s!="string"){const R={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[R]:r.push(R),e++}var y=d===e;y&&(T=!0,c=0);const o=e;if(e===o)if(Array.isArray(s)){var p=!0;const R=s.length;for(let q=0;q<R;q++){const U=e;if(typeof s[q]!="string"){const _={instancePath:t+"/"+q,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[_]:r.push(_),e++}var p=U===e;if(!p)break}}else{const R={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[R]:r.push(R),e++}var y=o===e;if(y&&T?(T=!1,c=[c,1]):y&&(T=!0,c=1),T)e=h,r!==null&&(h?r.length=h:r=null);else{const R={instancePath:t,schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};r===null?r=[R]:r.push(R),e++}var se=i===e;se&&(l=!0,n=0);const v=e;if(e===v)if(s&&typeof s=="object"&&!Array.isArray(s)){const R=e;for(const q in s)if(!(q==="path"||q==="pathNot"||q==="dependencyTypes"||q==="dependencyTypesNot")){const U={instancePath:t,schemaPath:"#/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:q},message:"must NOT have additional properties"};r===null?r=[U]:r.push(U),e++;break}if(R===e){if(s.path!==void 0){let q=s.path;const U=e,$=e;let _=!1,w=null;const P=e;if(typeof q!="string"){const A={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var f=P===e;f&&(_=!0,w=0);const X=e;if(e===X)if(Array.isArray(q)){var u=!0;const A=q.length;for(let D=0;D<A;D++){const Z=e;if(typeof q[D]!="string"){const Q={instancePath:t+"/path/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Q]:r.push(Q),e++}var u=Z===e;if(!u)break}}else{const A={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var f=X===e;if(f&&_?(_=!1,w=[w,1]):f&&(_=!0,w=1),_)e=$,r!==null&&($?r.length=$:r=null);else{const A={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:w},message:"must match exactly one schema in oneOf"};r===null?r=[A]:r.push(A),e++}var k=U===e}else var k=!0;if(k){if(s.pathNot!==void 0){let q=s.pathNot;const U=e,$=e;let _=!1,w=null;const P=e;if(typeof q!="string"){const D={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[D]:r.push(D),e++}var I=P===e;I&&(_=!0,w=0);const X=e;if(e===X)if(Array.isArray(q)){var O=!0;const D=q.length;for(let Z=0;Z<D;Z++){const xe=e;if(typeof q[Z]!="string"){const Ue={instancePath:t+"/pathNot/"+Z,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Ue]:r.push(Ue),e++}var O=xe===e;if(!O)break}}else{const D={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[D]:r.push(D),e++}var I=X===e;if(I&&_?(_=!1,w=[w,1]):I&&(_=!0,w=1),_)e=$,r!==null&&($?r.length=$:r=null);else{const D={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:w},message:"must match exactly one schema in oneOf"};r===null?r=[D]:r.push(D),e++}var k=U===e}else var k=!0;if(k){if(s.dependencyTypes!==void 0){let q=s.dependencyTypes;const U=e;if(e===U)if(Array.isArray(q)){var J=!0;const _=q.length;for(let w=0;w<_;w++){let P=q[w];const X=e;if(typeof P!="string"){const D={instancePath:t+"/dependencyTypes/"+w,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[D]:r.push(D),e++}if(!(P==="aliased-subpath-import"||P==="aliased-tsconfig-base-url"||P==="aliased-tsconfig-paths"||P==="aliased-tsconfig"||P==="aliased-webpack"||P==="aliased-workspace"||P==="aliased"||P==="amd-define"||P==="amd-require"||P==="amd-exotic-require"||P==="core"||P==="deprecated"||P==="dynamic-import"||P==="exotic-require"||P==="export"||P==="import-equals"||P==="import"||P==="jsdoc"||P==="jsdoc-bracket-import"||P==="jsdoc-import-tag"||P==="local"||P==="localmodule"||P==="npm-bundled"||P==="npm-dev"||P==="npm-no-pkg"||P==="npm-optional"||P==="npm-peer"||P==="npm-unknown"||P==="npm"||P==="pre-compilation-only"||P==="process-get-builtin-module"||P==="require"||P==="triple-slash-amd-dependency"||P==="triple-slash-directive"||P==="triple-slash-file-reference"||P==="triple-slash-type-reference"||P==="type-import"||P==="type-only"||P==="undetermined"||P==="unknown")){const D={instancePath:t+"/dependencyTypes/"+w,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"};r===null?r=[D]:r.push(D),e++}var J=X===e;if(!J)break}}else{const _={instancePath:t+"/dependencyTypes",schemaPath:"#/oneOf/1/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[_]:r.push(_),e++}var k=U===e}else var k=!0;if(k)if(s.dependencyTypesNot!==void 0){let q=s.dependencyTypesNot;const U=e;if(e===U)if(Array.isArray(q)){var G=!0;const _=q.length;for(let w=0;w<_;w++){let P=q[w];const X=e;if(typeof P!="string"){const D={instancePath:t+"/dependencyTypesNot/"+w,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[D]:r.push(D),e++}if(!(P==="aliased-subpath-import"||P==="aliased-tsconfig-base-url"||P==="aliased-tsconfig-paths"||P==="aliased-tsconfig"||P==="aliased-webpack"||P==="aliased-workspace"||P==="aliased"||P==="amd-define"||P==="amd-require"||P==="amd-exotic-require"||P==="core"||P==="deprecated"||P==="dynamic-import"||P==="exotic-require"||P==="export"||P==="import-equals"||P==="import"||P==="jsdoc"||P==="jsdoc-bracket-import"||P==="jsdoc-import-tag"||P==="local"||P==="localmodule"||P==="npm-bundled"||P==="npm-dev"||P==="npm-no-pkg"||P==="npm-optional"||P==="npm-peer"||P==="npm-unknown"||P==="npm"||P==="pre-compilation-only"||P==="process-get-builtin-module"||P==="require"||P==="triple-slash-amd-dependency"||P==="triple-slash-directive"||P==="triple-slash-file-reference"||P==="triple-slash-type-reference"||P==="type-import"||P==="type-only"||P==="undetermined"||P==="unknown")){const D={instancePath:t+"/dependencyTypesNot/"+w,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"};r===null?r=[D]:r.push(D),e++}var G=X===e;if(!G)break}}else{const _={instancePath:t+"/dependencyTypesNot",schemaPath:"#/oneOf/1/properties/dependencyTypesNot/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[_]:r.push(_),e++}var k=U===e}else var k=!0}}}}else{const R={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object"};r===null?r=[R]:r.push(R),e++}var se=v===e;if(se&&l?(l=!1,n=[n,1]):se&&(l=!0,n=1),l)e=a,r!==null&&(a?r.length=a:r=null);else{const R={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[R]:r.push(R),e++,Se.errors=r,!1}return Se.errors=r,e===0}function z(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const se=e;for(const R in s)if(!Be.call(We.properties,R)){return z.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:R},message:"must NOT have additional properties"}],!1;break}if(se===e){if(s.path!==void 0){let R=s.path;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const X={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[X]:r.push(X),e++}var l=w===e;l&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var a=!0;const X=R.length;for(let A=0;A<X;A++){const D=e;if(typeof R[A]!="string"){const xe={instancePath:t+"/path/"+A,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[xe]:r.push(xe),e++}var a=D===e;if(!a)break}}else{const X={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[X]:r.push(X),e++}var l=P===e;if(l&&$?($=!1,_=[_,1]):l&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const X={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[X]:r.push(X),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.pathNot!==void 0){let R=s.pathNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var h=w===e;h&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var i=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/pathNot/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Q]:r.push(Q),e++}var i=Z===e;if(!i)break}}else{const A={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var h=P===e;if(h&&$?($=!1,_=[_,1]):h&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.couldNotResolve!==void 0){const R=e;if(typeof s.couldNotResolve!="boolean")return z.errors=[{instancePath:t+"/couldNotResolve",schemaPath:"#/properties/couldNotResolve/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.circular!==void 0){const R=e;if(typeof s.circular!="boolean")return z.errors=[{instancePath:t+"/circular",schemaPath:"#/properties/circular/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.dynamic!==void 0){const R=e;if(typeof s.dynamic!="boolean")return z.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.exoticallyRequired!==void 0){const R=e;if(typeof s.exoticallyRequired!="boolean")return z.errors=[{instancePath:t+"/exoticallyRequired",schemaPath:"#/properties/exoticallyRequired/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.exoticRequire!==void 0){let R=s.exoticRequire;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var c=w===e;c&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var T=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/exoticRequire/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Q]:r.push(Q),e++}var T=Z===e;if(!T)break}}else{const A={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var c=P===e;if(c&&$?($=!1,_=[_,1]):c&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/exoticRequire",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.exoticRequireNot!==void 0){let R=s.exoticRequireNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var o=w===e;o&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var d=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/exoticRequireNot/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Q]:r.push(Q),e++}var d=Z===e;if(!d)break}}else{const A={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var o=P===e;if(o&&$?($=!1,_=[_,1]):o&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/exoticRequireNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.preCompilationOnly!==void 0){const R=e;if(typeof s.preCompilationOnly!="boolean")return z.errors=[{instancePath:t+"/preCompilationOnly",schemaPath:"#/properties/preCompilationOnly/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.dependencyTypes!==void 0){let R=s.dependencyTypes;const q=e;if(e===q)if(Array.isArray(R)){var p=!0;const $=R.length;for(let _=0;_<$;_++){let w=R[_];const P=e;if(typeof w!="string")return z.errors=[{instancePath:t+"/dependencyTypes/"+_,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(w==="aliased-subpath-import"||w==="aliased-tsconfig-base-url"||w==="aliased-tsconfig-paths"||w==="aliased-tsconfig"||w==="aliased-webpack"||w==="aliased-workspace"||w==="aliased"||w==="amd-define"||w==="amd-require"||w==="amd-exotic-require"||w==="core"||w==="deprecated"||w==="dynamic-import"||w==="exotic-require"||w==="export"||w==="import-equals"||w==="import"||w==="jsdoc"||w==="jsdoc-bracket-import"||w==="jsdoc-import-tag"||w==="local"||w==="localmodule"||w==="npm-bundled"||w==="npm-dev"||w==="npm-no-pkg"||w==="npm-optional"||w==="npm-peer"||w==="npm-unknown"||w==="npm"||w==="pre-compilation-only"||w==="process-get-builtin-module"||w==="require"||w==="triple-slash-amd-dependency"||w==="triple-slash-directive"||w==="triple-slash-file-reference"||w==="triple-slash-type-reference"||w==="type-import"||w==="type-only"||w==="undetermined"||w==="unknown"))return z.errors=[{instancePath:t+"/dependencyTypes/"+_,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"}],!1;var p=P===e;if(!p)break}}else return z.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=q===e}else var n=!0;if(n){if(s.dependencyTypesNot!==void 0){let R=s.dependencyTypesNot;const q=e;if(e===q)if(Array.isArray(R)){var y=!0;const $=R.length;for(let _=0;_<$;_++){let w=R[_];const P=e;if(typeof w!="string")return z.errors=[{instancePath:t+"/dependencyTypesNot/"+_,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(w==="aliased-subpath-import"||w==="aliased-tsconfig-base-url"||w==="aliased-tsconfig-paths"||w==="aliased-tsconfig"||w==="aliased-webpack"||w==="aliased-workspace"||w==="aliased"||w==="amd-define"||w==="amd-require"||w==="amd-exotic-require"||w==="core"||w==="deprecated"||w==="dynamic-import"||w==="exotic-require"||w==="export"||w==="import-equals"||w==="import"||w==="jsdoc"||w==="jsdoc-bracket-import"||w==="jsdoc-import-tag"||w==="local"||w==="localmodule"||w==="npm-bundled"||w==="npm-dev"||w==="npm-no-pkg"||w==="npm-optional"||w==="npm-peer"||w==="npm-unknown"||w==="npm"||w==="pre-compilation-only"||w==="process-get-builtin-module"||w==="require"||w==="triple-slash-amd-dependency"||w==="triple-slash-directive"||w==="triple-slash-file-reference"||w==="triple-slash-type-reference"||w==="type-import"||w==="type-only"||w==="undetermined"||w==="unknown"))return z.errors=[{instancePath:t+"/dependencyTypesNot/"+_,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"}],!1;var y=P===e;if(!y)break}}else return z.errors=[{instancePath:t+"/dependencyTypesNot",schemaPath:"#/properties/dependencyTypesNot/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=q===e}else var n=!0;if(n){if(s.moreThanOneDependencyType!==void 0){const R=e;if(typeof s.moreThanOneDependencyType!="boolean")return z.errors=[{instancePath:t+"/moreThanOneDependencyType",schemaPath:"#/properties/moreThanOneDependencyType/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n){if(s.license!==void 0){let R=s.license;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var u=w===e;u&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var v=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/license/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Q]:r.push(Q),e++}var v=Z===e;if(!v)break}}else{const A={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var u=P===e;if(u&&$?($=!1,_=[_,1]):u&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/license",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.licenseNot!==void 0){let R=s.licenseNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var k=w===e;k&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var f=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/licenseNot/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Q]:r.push(Q),e++}var f=Z===e;if(!f)break}}else{const A={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var k=P===e;if(k&&$?($=!1,_=[_,1]):k&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/licenseNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.via!==void 0){const R=e;Se(s.via,{instancePath:t+"/via",parentData:s,parentDataProperty:"via",rootData:S})||(r=r===null?Se.errors:r.concat(Se.errors),e=r.length);var n=R===e}else var n=!0;if(n){if(s.viaOnly!==void 0){const R=e;Se(s.viaOnly,{instancePath:t+"/viaOnly",parentData:s,parentDataProperty:"viaOnly",rootData:S})||(r=r===null?Se.errors:r.concat(Se.errors),e=r.length);var n=R===e}else var n=!0;if(n){if(s.viaNot!==void 0){let R=s.viaNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var I=w===e;I&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var O=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/viaNot/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Q]:r.push(Q),e++}var O=Z===e;if(!O)break}}else{const A={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var I=P===e;if(I&&$?($=!1,_=[_,1]):I&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/viaNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.viaSomeNot!==void 0){let R=s.viaSomeNot;const q=e,U=e;let $=!1,_=null;const w=e;if(typeof R!="string"){const A={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[A]:r.push(A),e++}var G=w===e;G&&($=!0,_=0);const P=e;if(e===P)if(Array.isArray(R)){var J=!0;const A=R.length;for(let D=0;D<A;D++){const Z=e;if(typeof R[D]!="string"){const Q={instancePath:t+"/viaSomeNot/"+D,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Q]:r.push(Q),e++}var J=Z===e;if(!J)break}}else{const A={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[A]:r.push(A),e++}var G=P===e;if(G&&$?($=!1,_=[_,1]):G&&($=!0,_=1),$)e=U,r!==null&&(U?r.length=U:r=null);else{const A={instancePath:t+"/viaSomeNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:_},message:"must match exactly one schema in oneOf"};return r===null?r=[A]:r.push(A),e++,z.errors=r,!1}var n=q===e}else var n=!0;if(n){if(s.moreUnstable!==void 0){const R=e;if(typeof s.moreUnstable!="boolean")return z.errors=[{instancePath:t+"/moreUnstable",schemaPath:"#/properties/moreUnstable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0;if(n)if(s.ancestor!==void 0){const R=e;if(typeof s.ancestor!="boolean")return z.errors=[{instancePath:t+"/ancestor",schemaPath:"#/properties/ancestor/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=R===e}else var n=!0}}}}}}}}}}}}}}}}}}}}else return z.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return z.errors=r,e===0}function oe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.from===void 0&&(l="from")||s.to===void 0&&(l="to"))return oe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="from"||i==="to")){return oe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return oe.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const h=e;if(typeof i!="string")return oe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return oe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const h=e;if(typeof i!="string")return oe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return oe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Qe.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return oe.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ue(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ue.errors:r.concat(ue.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;z(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?z.errors:r.concat(z.errors),e=r.length);var a=i===e}else var a=!0}}}}}}}else return oe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return oe.errors=r,e===0}const Xe={type:"object",required:["from","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},from:{$ref:"#/definitions/ReachabilityFromRestrictionType"},to:{$ref:"#/definitions/ReachabilityToRestrictionType"}}};function ge(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot")){return ge.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,ge.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var h=v===e;h&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const G={instancePath:t+"/pathNot/"+O,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[G]:r.push(G),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var h=u===e;if(h&&p?(p=!1,y=[y,1]):h&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ge.errors=r,!1}var n=d===e}else var n=!0}}else return ge.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ge.errors=r,e===0}function ye(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let T;if(s.reachable===void 0&&(T="reachable"))return ye.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:T},message:"must have required property '"+T+"'"}],!1;{const c=e;for(const d in s)if(!(d==="path"||d==="pathNot"||d==="reachable")){return ye.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(c===e){if(s.path!==void 0){let d=s.path;const o=e,p=e;let y=!1,v=null;const u=e;if(typeof d!="string"){const k={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var l=u===e;l&&(y=!0,v=0);const f=e;if(e===f)if(Array.isArray(d)){var a=!0;const k=d.length;for(let O=0;O<k;O++){const I=e;if(typeof d[O]!="string"){const G={instancePath:t+"/path/"+O,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[G]:r.push(G),e++}var a=I===e;if(!a)break}}else{const k={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var l=f===e;if(l&&y?(y=!1,v=[v,1]):l&&(y=!0,v=1),y)e=p,r!==null&&(p?r.length=p:r=null);else{const k={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:v},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ye.errors=r,!1}var n=o===e}else var n=!0;if(n){if(s.pathNot!==void 0){let d=s.pathNot;const o=e,p=e;let y=!1,v=null;const u=e;if(typeof d!="string"){const O={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var h=u===e;h&&(y=!0,v=0);const f=e;if(e===f)if(Array.isArray(d)){var i=!0;const O=d.length;for(let I=0;I<O;I++){const J=e;if(typeof d[I]!="string"){const se={instancePath:t+"/pathNot/"+I,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[se]:r.push(se),e++}var i=J===e;if(!i)break}}else{const O={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var h=f===e;if(h&&y?(y=!1,v=[v,1]):h&&(y=!0,v=1),y)e=p,r!==null&&(p?r.length=p:r=null);else{const O={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:v},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,ye.errors=r,!1}var n=o===e}else var n=!0;if(n)if(s.reachable!==void 0){const d=e;if(typeof s.reachable!="boolean")return ye.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=d===e}else var n=!0}}}}else return ye.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ye.errors=r,e===0}function pe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.from===void 0&&(l="from")||s.to===void 0&&(l="to"))return pe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="from"||i==="to")){return pe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return pe.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const h=e;if(typeof i!="string")return pe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return pe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const h=e;if(typeof i!="string")return pe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return pe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Xe.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return pe.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ge(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ge.errors:r.concat(ge.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;ye(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?ye.errors:r.concat(ye.errors),e=r.length);var a=i===e}else var a=!0}}}}}}}else return pe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return pe.errors=r,e===0}const Ye={type:"object",required:["module","from"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},module:{$ref:"#/definitions/DependentsModuleRestrictionType"},from:{$ref:"#/definitions/DependentsFromRestrictionType"}}};function ne(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot"||c==="numberOfDependentsLessThan"||c==="numberOfDependentsMoreThan")){return ne.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,ne.errors=r,!1}var n=d===e}else var n=!0;if(n){if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var h=v===e;h&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const G={instancePath:t+"/pathNot/"+O,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[G]:r.push(G),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var h=u===e;if(h&&p?(p=!1,y=[y,1]):h&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,ne.errors=r,!1}var n=d===e}else var n=!0;if(n){if(s.numberOfDependentsLessThan!==void 0){let c=s.numberOfDependentsLessThan;const d=e;if(!(typeof c=="number"&&!(c%1)&&!isNaN(c)&&isFinite(c)))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===d&&typeof c=="number"&&isFinite(c)){if(c>100||isNaN(c))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(c<0||isNaN(c))return ne.errors=[{instancePath:t+"/numberOfDependentsLessThan",schemaPath:"#/properties/numberOfDependentsLessThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var n=d===e}else var n=!0;if(n)if(s.numberOfDependentsMoreThan!==void 0){let c=s.numberOfDependentsMoreThan;const d=e;if(!(typeof c=="number"&&!(c%1)&&!isNaN(c)&&isFinite(c)))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===d&&typeof c=="number"&&isFinite(c)){if(c>100||isNaN(c))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/maximum",keyword:"maximum",params:{comparison:"<=",limit:100},message:"must be <= 100"}],!1;if(c<0||isNaN(c))return ne.errors=[{instancePath:t+"/numberOfDependentsMoreThan",schemaPath:"#/properties/numberOfDependentsMoreThan/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var n=d===e}else var n=!0}}}}else return ne.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ne.errors=r,e===0}function De(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot")){return De.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,De.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var h=v===e;h&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const G={instancePath:t+"/pathNot/"+O,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[G]:r.push(G),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var h=u===e;if(h&&p?(p=!1,y=[y,1]):h&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,De.errors=r,!1}var n=d===e}else var n=!0}}else return De.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return De.errors=r,e===0}function le(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.module===void 0&&(l="module")||s.from===void 0&&(l="from"))return le.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="module"||i==="from")){return le.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return le.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const h=e;if(typeof i!="string")return le.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return le.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const h=e;if(typeof i!="string")return le.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return le.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Ye.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return le.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.module!==void 0){const i=e;ne(s.module,{instancePath:t+"/module",parentData:s,parentDataProperty:"module",rootData:S})||(r=r===null?ne.errors:r.concat(ne.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.from!==void 0){const i=e;De(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?De.errors:r.concat(De.errors),e=r.length);var a=i===e}else var a=!0}}}}}}}else return le.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return le.errors=r,e===0}function Ve(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;const a=e;let l=!1,n=null;const i=e;oe(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?oe.errors:r.concat(oe.errors),e=r.length);var T=i===e;T&&(l=!0,n=0);const h=e;pe(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?pe.errors:r.concat(pe.errors),e=r.length);var T=h===e;if(T&&l)l=!1,n=[n,1];else{T&&(l=!0,n=1);const c=e;le(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?le.errors:r.concat(le.errors),e=r.length);var T=c===e;T&&l?(l=!1,n=[n,2]):T&&(l=!0,n=2)}if(l)e=a,r!==null&&(a?r.length=a:r=null);else{const c={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,Ve.errors=r,!1}return Ve.errors=r,e===0}const Ze={type:"object",required:["from","to"],additionalProperties:!1,properties:{comment:{type:"string"},scope:{type:"string",enum:["module","folder"]},from:{$ref:"#/definitions/FromRestrictionType"},to:{$ref:"#/definitions/ToRestrictionType"}}};function be(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.from===void 0&&(l="from")||s.to===void 0&&(l="to"))return be.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="comment"||i==="scope"||i==="from"||i==="to")){return be.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return be.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const h=e;if(typeof i!="string")return be.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return be.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:Ze.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ue(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ue.errors:r.concat(ue.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;z(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?z.errors:r.concat(z.errors),e=r.length);var a=i===e}else var a=!0}}}}}else return be.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return be.errors=r,e===0}const er={type:"object",required:["from","to"],additionalProperties:!1,properties:{comment:{type:"string"},scope:{type:"string",enum:["module","folder"]},from:{$ref:"#/definitions/ReachabilityFromRestrictionType"},to:{$ref:"#/definitions/ReachabilityToRestrictionType"}}};function we(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.from===void 0&&(l="from")||s.to===void 0&&(l="to"))return we.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="comment"||i==="scope"||i==="from"||i==="to")){return we.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return we.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const h=e;if(typeof i!="string")return we.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return we.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:er.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.from!==void 0){const i=e;ge(s.from,{instancePath:t+"/from",parentData:s,parentDataProperty:"from",rootData:S})||(r=r===null?ge.errors:r.concat(ge.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;ye(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?ye.errors:r.concat(ye.errors),e=r.length);var a=i===e}else var a=!0}}}}}else return we.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return we.errors=r,e===0}function He(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;const a=e;let l=!1,n=null;const i=e;be(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?be.errors:r.concat(be.errors),e=r.length);var T=i===e;T&&(l=!0,n=0);const h=e;we(s,{instancePath:t,parentData:V,parentDataProperty:H,rootData:S})||(r=r===null?we.errors:r.concat(we.errors),e=r.length);var T=h===e;if(T&&l?(l=!1,n=[n,1]):T&&(l=!0,n=1),l)e=a,r!==null&&(a?r.length=a:r=null);else{const c={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:n},message:"must match exactly one schema in oneOf"};return r===null?r=[c]:r.push(c),e++,He.errors=r,!1}return He.errors=r,e===0}const rr={type:"object",required:["module","to"],additionalProperties:!1,properties:{name:{type:"string"},severity:{$ref:"#/definitions/SeverityType"},scope:{type:"string",enum:["module","folder"]},comment:{type:"string"},module:{$ref:"#/definitions/RequiredModuleRestrictionType"},to:{$ref:"#/definitions/RequiredToRestrictionType"}}};function Ee(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const T=e;for(const c in s)if(!(c==="path"||c==="pathNot")){return Ee.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:c},message:"must NOT have additional properties"}],!1;break}if(T===e){if(s.path!==void 0){let c=s.path;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var l=v===e;l&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var a=!0;const f=c.length;for(let k=0;k<f;k++){const O=e;if(typeof c[k]!="string"){const J={instancePath:t+"/path/"+k,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[J]:r.push(J),e++}var a=O===e;if(!a)break}}else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[f]:r.push(f),e++}var l=u===e;if(l&&p?(p=!1,y=[y,1]):l&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const f={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[f]:r.push(f),e++,Ee.errors=r,!1}var n=d===e}else var n=!0;if(n)if(s.pathNot!==void 0){let c=s.pathNot;const d=e,o=e;let p=!1,y=null;const v=e;if(typeof c!="string"){const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[k]:r.push(k),e++}var h=v===e;h&&(p=!0,y=0);const u=e;if(e===u)if(Array.isArray(c)){var i=!0;const k=c.length;for(let O=0;O<k;O++){const I=e;if(typeof c[O]!="string"){const G={instancePath:t+"/pathNot/"+O,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[G]:r.push(G),e++}var i=I===e;if(!i)break}}else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[k]:r.push(k),e++}var h=u===e;if(h&&p?(p=!1,y=[y,1]):h&&(p=!0,y=1),p)e=o,r!==null&&(o?r.length=o:r=null);else{const k={instancePath:t+"/pathNot",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:y},message:"must match exactly one schema in oneOf"};return r===null?r=[k]:r.push(k),e++,Ee.errors=r,!1}var n=d===e}else var n=!0}}else return Ee.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ee.errors=r,e===0}function je(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const h in s)if(!(h==="path"||h==="reachable")){return je.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.path!==void 0){let h=s.path;const T=e,c=e;let d=!1,o=null;const p=e;if(typeof h!="string"){const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[v]:r.push(v),e++}var l=p===e;l&&(d=!0,o=0);const y=e;if(e===y)if(Array.isArray(h)){var a=!0;const v=h.length;for(let u=0;u<v;u++){const f=e;if(typeof h[u]!="string"){const O={instancePath:t+"/path/"+u,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var a=f===e;if(!a)break}}else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[v]:r.push(v),e++}var l=y===e;if(l&&d?(d=!1,o=[o,1]):l&&(d=!0,o=1),d)e=c,r!==null&&(c?r.length=c:r=null);else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[v]:r.push(v),e++,je.errors=r,!1}var n=T===e}else var n=!0;if(n)if(s.reachable!==void 0){const h=e;if(typeof s.reachable!="boolean")return je.errors=[{instancePath:t+"/reachable",schemaPath:"#/properties/reachable/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=h===e}else var n=!0}}else return je.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return je.errors=r,e===0}function fe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.module===void 0&&(l="module")||s.to===void 0&&(l="to"))return fe.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity"||i==="scope"||i==="comment"||i==="module"||i==="to")){return fe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return fe.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.severity!==void 0){let i=s.severity;const h=e;if(typeof i!="string")return fe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return fe.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.scope!==void 0){let i=s.scope;const h=e;if(typeof i!="string")return fe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="module"||i==="folder"))return fe.errors=[{instancePath:t+"/scope",schemaPath:"#/properties/scope/enum",keyword:"enum",params:{allowedValues:rr.properties.scope.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0;if(a){if(s.comment!==void 0){const i=e;if(typeof s.comment!="string")return fe.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a){if(s.module!==void 0){const i=e;Ee(s.module,{instancePath:t+"/module",parentData:s,parentDataProperty:"module",rootData:S})||(r=r===null?Ee.errors:r.concat(Ee.errors),e=r.length);var a=i===e}else var a=!0;if(a)if(s.to!==void 0){const i=e;je(s.to,{instancePath:t+"/to",parentData:s,parentDataProperty:"to",rootData:S})||(r=r===null?je.errors:r.concat(je.errors),e=r.length);var a=i===e}else var a=!0}}}}}}}else return fe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return fe.errors=r,e===0}const Fe={type:"object",additionalProperties:!1,properties:{doNotFollow:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundDoNotFollowType"}]},exclude:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundExcludeType"}]},includeOnly:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundIncludeOnlyType"}]},focus:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundFocusType"}]},reaches:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundReachesType"}]},affected:{oneOf:[{type:"string"},{type:"boolean"}]},highlight:{oneOf:[{$ref:"#/definitions/REAsStringsType"},{$ref:"#/definitions/CompoundHighlightType"}]},knownViolations:{$ref:"#/definitions/ViolationsType"},collapse:{oneOf:[{type:"string"},{type:"integer",minimum:1,maximum:9}]},maxDepth:{type:"integer",minimum:0,maximum:99},moduleSystems:{$ref:"#/definitions/ModuleSystemsType"},detectJSDocImports:{type:"boolean"},detectProcessBuiltinModuleCalls:{type:"boolean"},prefix:{type:"string"},suffix:{type:"string"},preserveSymlinks:{type:"boolean"},combinedDependencies:{type:"boolean"},tsConfig:{type:"object",additionalProperties:!1,properties:{fileName:{type:"string"}}},tsPreCompilationDeps:{oneOf:[{type:"boolean"},{type:"string",enum:["specify"]}]},extraExtensionsToScan:{type:"array",items:{type:"string"}},externalModuleResolutionStrategy:{type:"string",enum:["node_modules","yarn-pnp"]},builtInModules:{type:"object",additionalProperties:!1,properties:{override:{type:"array",items:{type:"string"}},add:{type:"array",items:{type:"string"}}}},forceDeriveDependents:{type:"boolean",deprecated:!0},webpackConfig:{type:"object",additionalProperties:!1,properties:{fileName:{type:"string"},env:{oneOf:[{type:"object"},{type:"string"}]},arguments:{type:"object"}}},enhancedResolveOptions:{type:"object",additionalProperties:!1,properties:{exportsFields:{type:"array",items:{type:"string"}},conditionNames:{type:"array",items:{type:"string"}},extensions:{type:"array",items:{type:"string"}},mainFields:{type:"array",items:{type:"string"}},mainFiles:{type:"array"},aliasFields:{type:"array",items:{type:"string"}},cachedInputFileSystem:{type:"object",additionalProperties:!1,properties:{cacheDuration:{type:"integer",minimum:0,maximum:18e5}}}}},babelConfig:{type:"object",additionalProperties:!1,properties:{fileName:{type:"string"}}},parser:{type:"string",enum:["acorn","tsc","swc"]},exoticRequireStrings:{type:"array",items:{type:"string"}},reporterOptions:{$ref:"#/definitions/ReporterOptionsType"},progress:{type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:["cli-feedback","performance-log","ndjson","none"]},maximumLevel:{type:"number",enum:[-1,40,50,60,70,80,99]}}},metrics:{type:"boolean"},experimentalStats:{type:"boolean"},skipAnalysisNotInRules:{type:"boolean"},baseDir:{type:"string"},cache:{oneOf:[{type:"boolean"},{deprecated:!0,type:"string"},{$ref:"#/definitions/CacheOptionsType"}]}}};function Pe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const h=e;for(const T in s)if(!(T==="path"||T==="dependencyTypes")){return Pe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:T},message:"must NOT have additional properties"}],!1;break}if(h===e){if(s.path!==void 0){let T=s.path;const c=e,d=e;let o=!1,p=null;const y=e;if(typeof T!="string"){const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[u]:r.push(u),e++}var l=y===e;l&&(o=!0,p=0);const v=e;if(e===v)if(Array.isArray(T)){var a=!0;const u=T.length;for(let f=0;f<u;f++){const k=e;if(typeof T[f]!="string"){const I={instancePath:t+"/path/"+f,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[I]:r.push(I),e++}var a=k===e;if(!a)break}}else{const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[u]:r.push(u),e++}var l=v===e;if(l&&o?(o=!1,p=[p,1]):l&&(o=!0,p=1),o)e=d,r!==null&&(d?r.length=d:r=null);else{const u={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};return r===null?r=[u]:r.push(u),e++,Pe.errors=r,!1}var n=c===e}else var n=!0;if(n)if(s.dependencyTypes!==void 0){let T=s.dependencyTypes;const c=e;if(e===c)if(Array.isArray(T)){var i=!0;const o=T.length;for(let p=0;p<o;p++){let y=T[p];const v=e;if(typeof y!="string")return Pe.errors=[{instancePath:t+"/dependencyTypes/"+p,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(y==="aliased-subpath-import"||y==="aliased-tsconfig-base-url"||y==="aliased-tsconfig-paths"||y==="aliased-tsconfig"||y==="aliased-webpack"||y==="aliased-workspace"||y==="aliased"||y==="amd-define"||y==="amd-require"||y==="amd-exotic-require"||y==="core"||y==="deprecated"||y==="dynamic-import"||y==="exotic-require"||y==="export"||y==="import-equals"||y==="import"||y==="jsdoc"||y==="jsdoc-bracket-import"||y==="jsdoc-import-tag"||y==="local"||y==="localmodule"||y==="npm-bundled"||y==="npm-dev"||y==="npm-no-pkg"||y==="npm-optional"||y==="npm-peer"||y==="npm-unknown"||y==="npm"||y==="pre-compilation-only"||y==="process-get-builtin-module"||y==="require"||y==="triple-slash-amd-dependency"||y==="triple-slash-directive"||y==="triple-slash-file-reference"||y==="triple-slash-type-reference"||y==="type-import"||y==="type-only"||y==="undetermined"||y==="unknown"))return Pe.errors=[{instancePath:t+"/dependencyTypes/"+p,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"}],!1;var i=v===e;if(!i)break}}else return Pe.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var n=c===e}else var n=!0}}else return Pe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Pe.errors=r,e===0}function ve(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const h in s)if(!(h==="path"||h==="dynamic")){return ve.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.path!==void 0){let h=s.path;const T=e,c=e;let d=!1,o=null;const p=e;if(typeof h!="string"){const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[v]:r.push(v),e++}var l=p===e;l&&(d=!0,o=0);const y=e;if(e===y)if(Array.isArray(h)){var a=!0;const v=h.length;for(let u=0;u<v;u++){const f=e;if(typeof h[u]!="string"){const O={instancePath:t+"/path/"+u,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var a=f===e;if(!a)break}}else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[v]:r.push(v),e++}var l=y===e;if(l&&d?(d=!1,o=[o,1]):l&&(d=!0,o=1),d)e=c,r!==null&&(c?r.length=c:r=null);else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[v]:r.push(v),e++,ve.errors=r,!1}var n=T===e}else var n=!0;if(n)if(s.dynamic!==void 0){const h=e;if(typeof s.dynamic!="boolean")return ve.errors=[{instancePath:t+"/dynamic",schemaPath:"#/properties/dynamic/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=h===e}else var n=!0}}else return ve.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ve.errors=r,e===0}function Ae(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const i in s)if(i!=="path"){return Ae.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let i=s.path;const h=e;let T=!1,c=null;const d=e;if(typeof i!="string"){const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[p]:r.push(p),e++}var l=d===e;l&&(T=!0,c=0);const o=e;if(e===o)if(Array.isArray(i)){var a=!0;const p=i.length;for(let y=0;y<p;y++){const v=e;if(typeof i[y]!="string"){const f={instancePath:t+"/path/"+y,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var a=v===e;if(!a)break}}else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[p]:r.push(p),e++}var l=o===e;if(l&&T?(T=!1,c=[c,1]):l&&(T=!0,c=1),T)e=h,r!==null&&(h?r.length=h:r=null);else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,Ae.errors=r,!1}}}else return Ae.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ae.errors=r,e===0}function me(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const h in s)if(!(h==="path"||h==="depth")){return me.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.path!==void 0){let h=s.path;const T=e,c=e;let d=!1,o=null;const p=e;if(typeof h!="string"){const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[v]:r.push(v),e++}var l=p===e;l&&(d=!0,o=0);const y=e;if(e===y)if(Array.isArray(h)){var a=!0;const v=h.length;for(let u=0;u<v;u++){const f=e;if(typeof h[u]!="string"){const O={instancePath:t+"/path/"+u,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var a=f===e;if(!a)break}}else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[v]:r.push(v),e++}var l=y===e;if(l&&d?(d=!1,o=[o,1]):l&&(d=!0,o=1),d)e=c,r!==null&&(c?r.length=c:r=null);else{const v={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[v]:r.push(v),e++,me.errors=r,!1}var n=T===e}else var n=!0;if(n)if(s.depth!==void 0){let h=s.depth;const T=e;if(e===T)if(typeof h=="number"&&isFinite(h)){if(h>4||isNaN(h))return me.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/maximum",keyword:"maximum",params:{comparison:"<=",limit:4},message:"must be <= 4"}],!1;if(h<1||isNaN(h))return me.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1}else return me.errors=[{instancePath:t+"/depth",schemaPath:"#/properties/depth/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var n=T===e}else var n=!0}}else return me.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return me.errors=r,e===0}function Re(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const i in s)if(i!=="path"){return Re.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let i=s.path;const h=e;let T=!1,c=null;const d=e;if(typeof i!="string"){const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[p]:r.push(p),e++}var l=d===e;l&&(T=!0,c=0);const o=e;if(e===o)if(Array.isArray(i)){var a=!0;const p=i.length;for(let y=0;y<p;y++){const v=e;if(typeof i[y]!="string"){const f={instancePath:t+"/path/"+y,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var a=v===e;if(!a)break}}else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[p]:r.push(p),e++}var l=o===e;if(l&&T?(T=!1,c=[c,1]):l&&(T=!0,c=1),T)e=h,r!==null&&(h?r.length=h:r=null);else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,Re.errors=r,!1}}}else return Re.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Re.errors=r,e===0}function $e(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const n=e;for(const i in s)if(i!=="path"){return $e.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e&&s.path!==void 0){let i=s.path;const h=e;let T=!1,c=null;const d=e;if(typeof i!="string"){const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[p]:r.push(p),e++}var l=d===e;l&&(T=!0,c=0);const o=e;if(e===o)if(Array.isArray(i)){var a=!0;const p=i.length;for(let y=0;y<p;y++){const v=e;if(typeof i[y]!="string"){const f={instancePath:t+"/path/"+y,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[f]:r.push(f),e++}var a=v===e;if(!a)break}}else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[p]:r.push(p),e++}var l=o===e;if(l&&T?(T=!1,c=[c,1]):l&&(T=!0,c=1),T)e=h,r!==null&&(h?r.length=h:r=null);else{const p={instancePath:t+"/path",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};return r===null?r=[p]:r.push(p),e++,$e.errors=r,!1}}}else return $e.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return $e.errors=r,e===0}const sr={type:"object",required:["from","to","rule"],additionalProperties:!1,properties:{from:{type:"string"},to:{type:"string"},unresolvedTo:{type:"string"},dependencyTypes:{type:"array",items:{$ref:"#/definitions/DependencyTypeType"}},type:{$ref:"#/definitions/ViolationTypeType"},rule:{$ref:"#/definitions/RuleSummaryType"},cycle:{type:"array",items:{$ref:"#/definitions/MiniDependency"}},via:{type:"array",items:{$ref:"#/definitions/MiniDependency"}},metrics:{type:"object",required:["from","to"],additionalProperties:!1,properties:{from:{type:"object",required:["instability"],additionalProperties:!1,properties:{instability:{type:"number"}}},to:{type:"object",required:["instability"],additionalProperties:!1,properties:{instability:{type:"number"}}}}},comment:{type:"string"}}},tr={type:"string",enum:["dependency","module","reachability","cycle","instability","folder"]};function ke(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let l;if(s.name===void 0&&(l="name")||s.severity===void 0&&(l="severity"))return ke.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:l},message:"must have required property '"+l+"'"}],!1;{const n=e;for(const i in s)if(!(i==="name"||i==="severity")){return ke.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:i},message:"must NOT have additional properties"}],!1;break}if(n===e){if(s.name!==void 0){const i=e;if(typeof s.name!="string")return ke.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=i===e}else var a=!0;if(a)if(s.severity!==void 0){let i=s.severity;const h=e;if(typeof i!="string")return ke.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="error"||i==="warn"||i==="info"||i==="ignore"))return ke.errors=[{instancePath:t+"/severity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e}else var a=!0}}}else return ke.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ke.errors=r,e===0}function ae(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let n;if(s.name===void 0&&(n="name")||s.dependencyTypes===void 0&&(n="dependencyTypes"))return ae.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:n},message:"must have required property '"+n+"'"}],!1;{const i=e;for(const h in s)if(!(h==="name"||h==="dependencyTypes")){return ae.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.name!==void 0){const h=e;if(typeof s.name!="string")return ae.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=h===e}else var a=!0;if(a)if(s.dependencyTypes!==void 0){let h=s.dependencyTypes;const T=e;if(e===T)if(Array.isArray(h)){var l=!0;const d=h.length;for(let o=0;o<d;o++){let p=h[o];const y=e;if(typeof p!="string")return ae.errors=[{instancePath:t+"/dependencyTypes/"+o,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(p==="aliased-subpath-import"||p==="aliased-tsconfig-base-url"||p==="aliased-tsconfig-paths"||p==="aliased-tsconfig"||p==="aliased-webpack"||p==="aliased-workspace"||p==="aliased"||p==="amd-define"||p==="amd-require"||p==="amd-exotic-require"||p==="core"||p==="deprecated"||p==="dynamic-import"||p==="exotic-require"||p==="export"||p==="import-equals"||p==="import"||p==="jsdoc"||p==="jsdoc-bracket-import"||p==="jsdoc-import-tag"||p==="local"||p==="localmodule"||p==="npm-bundled"||p==="npm-dev"||p==="npm-no-pkg"||p==="npm-optional"||p==="npm-peer"||p==="npm-unknown"||p==="npm"||p==="pre-compilation-only"||p==="process-get-builtin-module"||p==="require"||p==="triple-slash-amd-dependency"||p==="triple-slash-directive"||p==="triple-slash-file-reference"||p==="triple-slash-type-reference"||p==="type-import"||p==="type-only"||p==="undetermined"||p==="unknown"))return ae.errors=[{instancePath:t+"/dependencyTypes/"+o,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"}],!1;var l=y===e;if(!l)break}}else return ae.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=T===e}else var a=!0}}}else return ae.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ae.errors=r,e===0}function K(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){let T;if(s.from===void 0&&(T="from")||s.to===void 0&&(T="to")||s.rule===void 0&&(T="rule"))return K.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:T},message:"must have required property '"+T+"'"}],!1;{const c=e;for(const d in s)if(!Be.call(sr.properties,d)){return K.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(c===e){if(s.from!==void 0){const d=e;if(typeof s.from!="string")return K.errors=[{instancePath:t+"/from",schemaPath:"#/properties/from/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0;if(a){if(s.to!==void 0){const d=e;if(typeof s.to!="string")return K.errors=[{instancePath:t+"/to",schemaPath:"#/properties/to/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0;if(a){if(s.unresolvedTo!==void 0){const d=e;if(typeof s.unresolvedTo!="string")return K.errors=[{instancePath:t+"/unresolvedTo",schemaPath:"#/properties/unresolvedTo/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0;if(a){if(s.dependencyTypes!==void 0){let d=s.dependencyTypes;const o=e;if(e===o)if(Array.isArray(d)){var l=!0;const y=d.length;for(let v=0;v<y;v++){let u=d[v];const f=e;if(typeof u!="string")return K.errors=[{instancePath:t+"/dependencyTypes/"+v,schemaPath:"#/definitions/DependencyTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(u==="aliased-subpath-import"||u==="aliased-tsconfig-base-url"||u==="aliased-tsconfig-paths"||u==="aliased-tsconfig"||u==="aliased-webpack"||u==="aliased-workspace"||u==="aliased"||u==="amd-define"||u==="amd-require"||u==="amd-exotic-require"||u==="core"||u==="deprecated"||u==="dynamic-import"||u==="exotic-require"||u==="export"||u==="import-equals"||u==="import"||u==="jsdoc"||u==="jsdoc-bracket-import"||u==="jsdoc-import-tag"||u==="local"||u==="localmodule"||u==="npm-bundled"||u==="npm-dev"||u==="npm-no-pkg"||u==="npm-optional"||u==="npm-peer"||u==="npm-unknown"||u==="npm"||u==="pre-compilation-only"||u==="process-get-builtin-module"||u==="require"||u==="triple-slash-amd-dependency"||u==="triple-slash-directive"||u==="triple-slash-file-reference"||u==="triple-slash-type-reference"||u==="type-import"||u==="type-only"||u==="undetermined"||u==="unknown"))return K.errors=[{instancePath:t+"/dependencyTypes/"+v,schemaPath:"#/definitions/DependencyTypeType/enum",keyword:"enum",params:{allowedValues:Me.enum},message:"must be equal to one of the allowed values"}],!1;var l=f===e;if(!l)break}}else return K.errors=[{instancePath:t+"/dependencyTypes",schemaPath:"#/properties/dependencyTypes/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.type!==void 0){let d=s.type;const o=e;if(typeof d!="string")return K.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(d==="dependency"||d==="module"||d==="reachability"||d==="cycle"||d==="instability"||d==="folder"))return K.errors=[{instancePath:t+"/type",schemaPath:"#/definitions/ViolationTypeType/enum",keyword:"enum",params:{allowedValues:tr.enum},message:"must be equal to one of the allowed values"}],!1;var a=o===e}else var a=!0;if(a){if(s.rule!==void 0){const d=e;ke(s.rule,{instancePath:t+"/rule",parentData:s,parentDataProperty:"rule",rootData:S})||(r=r===null?ke.errors:r.concat(ke.errors),e=r.length);var a=d===e}else var a=!0;if(a){if(s.cycle!==void 0){let d=s.cycle;const o=e;if(e===o)if(Array.isArray(d)){var n=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;ae(d[v],{instancePath:t+"/cycle/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var n=u===e;if(!n)break}}else return K.errors=[{instancePath:t+"/cycle",schemaPath:"#/properties/cycle/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.via!==void 0){let d=s.via;const o=e;if(e===o)if(Array.isArray(d)){var i=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;ae(d[v],{instancePath:t+"/via/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?ae.errors:r.concat(ae.errors),e=r.length);var i=u===e;if(!i)break}}else return K.errors=[{instancePath:t+"/via",schemaPath:"#/properties/via/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.metrics!==void 0){let d=s.metrics;const o=e;if(e===o)if(d&&typeof d=="object"&&!Array.isArray(d)){let y;if(d.from===void 0&&(y="from")||d.to===void 0&&(y="to"))return K.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/required",keyword:"required",params:{missingProperty:y},message:"must have required property '"+y+"'"}],!1;{const v=e;for(const u in d)if(!(u==="from"||u==="to")){return K.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(v===e){if(d.from!==void 0){let u=d.from;const f=e;if(e===f)if(u&&typeof u=="object"&&!Array.isArray(u)){let k;if(u.instability===void 0&&(k="instability"))return K.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/required",keyword:"required",params:{missingProperty:k},message:"must have required property '"+k+"'"}],!1;{const O=e;for(const I in u)if(I!=="instability"){return K.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:I},message:"must NOT have additional properties"}],!1;break}if(O===e&&u.instability!==void 0){let I=u.instability;if(!(typeof I=="number"&&isFinite(I)))return K.errors=[{instancePath:t+"/metrics/from/instability",schemaPath:"#/properties/metrics/properties/from/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1}}}else return K.errors=[{instancePath:t+"/metrics/from",schemaPath:"#/properties/metrics/properties/from/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var h=f===e}else var h=!0;if(h)if(d.to!==void 0){let u=d.to;const f=e;if(e===f)if(u&&typeof u=="object"&&!Array.isArray(u)){let O;if(u.instability===void 0&&(O="instability"))return K.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/required",keyword:"required",params:{missingProperty:O},message:"must have required property '"+O+"'"}],!1;{const I=e;for(const J in u)if(J!=="instability"){return K.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:J},message:"must NOT have additional properties"}],!1;break}if(I===e&&u.instability!==void 0){let J=u.instability;if(!(typeof J=="number"&&isFinite(J)))return K.errors=[{instancePath:t+"/metrics/to/instability",schemaPath:"#/properties/metrics/properties/to/properties/instability/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1}}}else return K.errors=[{instancePath:t+"/metrics/to",schemaPath:"#/properties/metrics/properties/to/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var h=f===e}else var h=!0}}}else return K.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=o===e}else var a=!0;if(a)if(s.comment!==void 0){const d=e;if(typeof s.comment!="string")return K.errors=[{instancePath:t+"/comment",schemaPath:"#/properties/comment/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0}}}}}}}}}}}else return K.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return K.errors=r,e===0}function Le(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const l=s.length;for(let n=0;n<l;n++){const i=e;K(s[n],{instancePath:t+"/"+n,parentData:s,parentDataProperty:n,rootData:S})||(r=r===null?K.errors:r.concat(K.errors),e=r.length);var a=i===e;if(!a)break}}else return Le.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return Le.errors=r,e===0}const ir={type:"string",enum:["cjs","es6","amd","tsd"]};function qe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const l=s.length;for(let n=0;n<l;n++){let i=s[n];const h=e;if(typeof i!="string")return qe.errors=[{instancePath:t+"/"+n,schemaPath:"#/definitions/ModuleSystemType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(i==="cjs"||i==="es6"||i==="amd"||i==="tsd"))return qe.errors=[{instancePath:t+"/"+n,schemaPath:"#/definitions/ModuleSystemType/enum",keyword:"enum",params:{allowedValues:ir.enum},message:"must be equal to one of the allowed values"}],!1;var a=h===e;if(!a)break}}else return qe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return qe.errors=r,e===0}const nr={type:"object",additionalProperties:!1,properties:{anon:{$ref:"#/definitions/AnonReporterOptionsType"},archi:{$ref:"#/definitions/DotReporterOptionsType"},dot:{$ref:"#/definitions/DotReporterOptionsType"},ddot:{$ref:"#/definitions/DotReporterOptionsType"},flat:{$ref:"#/definitions/DotReporterOptionsType"},markdown:{$ref:"#/definitions/MarkdownReporterOptionsType"},metrics:{$ref:"#/definitions/MetricsReporterOptionsType"},mermaid:{$ref:"#/definitions/MermaidReporterOptionsType"},text:{$ref:"#/definitions/TextReporterOptionsType"},err:{$ref:"#/definitions/ErrorReporterOptionsType"},"err-long":{$ref:"#/definitions/ErrorReporterOptionsType"},"err-html":{$ref:"#/definitions/ErrorReporterOptionsType"}}};const ar={type:"object",additionalProperties:!1,properties:{showTitle:{type:"boolean"},title:{type:"string"},showSummary:{type:"boolean"},showSummaryHeader:{type:"boolean"},summaryHeader:{type:"string"},showStatsSummary:{type:"boolean"},showRulesSummary:{type:"boolean"},includeIgnoredInSummary:{type:"boolean"},showDetails:{type:"boolean"},includeIgnoredInDetails:{type:"boolean"},showDetailsHeader:{type:"boolean"},detailsHeader:{type:"string"},collapseDetails:{type:"boolean"},collapsedMessage:{type:"string"},showExternalModulesUnresolved:{type:"boolean",default:!1},showAliasedModulesUnresolved:{type:"boolean",default:!1},noViolationsMessage:{type:"string"},showFooter:{type:"boolean"}}},or={type:"object",additionalProperties:!1,properties:{orderBy:{type:"string",enum:["instability","moduleCount","afferentCouplings","efferentCouplings","name","size","topLevelStatementCount"]},hideModules:{type:"boolean"},hideFolders:{type:"boolean"}}};function Ce(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const l=e;for(const n in s)if(!(n==="exclude"||n==="includeOnly"||n==="focus"||n==="reaches")){return Ce.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(l===e){if(s.exclude!==void 0){const n=e;ve(s.exclude,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:S})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var a=n===e}else var a=!0;if(a){if(s.includeOnly!==void 0){const n=e;Ae(s.includeOnly,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:S})||(r=r===null?Ae.errors:r.concat(Ae.errors),e=r.length);var a=n===e}else var a=!0;if(a){if(s.focus!==void 0){const n=e;me(s.focus,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:S})||(r=r===null?me.errors:r.concat(me.errors),e=r.length);var a=n===e}else var a=!0;if(a)if(s.reaches!==void 0){const n=e;Re(s.reaches,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:S})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var a=n===e}else var a=!0}}}}else return Ce.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ce.errors=r,e===0}function ce(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(Array.isArray(s)){var a=!0;const n=s.length;for(let i=0;i<n;i++){let h=s[i];const T=e;if(e===e)if(h&&typeof h=="object"&&!Array.isArray(h)){const o=e;for(const p in h)if(!(p==="criteria"||p==="attributes")){return ce.errors=[{instancePath:t+"/"+i,schemaPath:"#/definitions/DotThemeEntryType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"}],!1;break}if(o===e){if(h.criteria!==void 0){let p=h.criteria;const y=e;if(!(p&&typeof p=="object"&&!Array.isArray(p)))return ce.errors=[{instancePath:t+"/"+i+"/criteria",schemaPath:"#/definitions/DotThemeEntryType/properties/criteria/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=y===e}else var l=!0;if(l)if(h.attributes!==void 0){let p=h.attributes;const y=e;if(!(p&&typeof p=="object"&&!Array.isArray(p)))return ce.errors=[{instancePath:t+"/"+i+"/attributes",schemaPath:"#/definitions/DotThemeEntryType/properties/attributes/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=y===e}else var l=!0}}else return ce.errors=[{instancePath:t+"/"+i,schemaPath:"#/definitions/DotThemeEntryType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=T===e;if(!a)break}}else return ce.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;return ce.errors=r,e===0}function Te(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const l=e;for(const n in s)if(!(n==="replace"||n==="graph"||n==="node"||n==="edge"||n==="modules"||n==="dependencies")){return Te.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(l===e){if(s.replace!==void 0){const n=e;if(typeof s.replace!="boolean")return Te.errors=[{instancePath:t+"/replace",schemaPath:"#/properties/replace/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=n===e}else var a=!0;if(a){if(s.graph!==void 0){let n=s.graph;const i=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return Te.errors=[{instancePath:t+"/graph",schemaPath:"#/properties/graph/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=i===e}else var a=!0;if(a){if(s.node!==void 0){let n=s.node;const i=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return Te.errors=[{instancePath:t+"/node",schemaPath:"#/properties/node/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=i===e}else var a=!0;if(a){if(s.edge!==void 0){let n=s.edge;const i=e;if(!(n&&typeof n=="object"&&!Array.isArray(n)))return Te.errors=[{instancePath:t+"/edge",schemaPath:"#/properties/edge/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var a=i===e}else var a=!0;if(a){if(s.modules!==void 0){const n=e;ce(s.modules,{instancePath:t+"/modules",parentData:s,parentDataProperty:"modules",rootData:S})||(r=r===null?ce.errors:r.concat(ce.errors),e=r.length);var a=n===e}else var a=!0;if(a)if(s.dependencies!==void 0){const n=e;ce(s.dependencies,{instancePath:t+"/dependencies",parentData:s,parentDataProperty:"dependencies",rootData:S})||(r=r===null?ce.errors:r.concat(ce.errors),e=r.length);var a=n===e}else var a=!0}}}}}}else return Te.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Te.errors=r,e===0}function te(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const i=e;for(const h in s)if(!(h==="collapsePattern"||h==="filters"||h==="showMetrics"||h==="theme")){return te.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:h},message:"must NOT have additional properties"}],!1;break}if(i===e){if(s.collapsePattern!==void 0){let h=s.collapsePattern;const T=e,c=e;let d=!1,o=null;const p=e;if(typeof h!="string"){const v={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[v]:r.push(v),e++}var l=p===e;l&&(d=!0,o=0);const y=e;if(e===y)if(Array.isArray(h)){var a=!0;const v=h.length;for(let u=0;u<v;u++){const f=e;if(typeof h[u]!="string"){const O={instancePath:t+"/collapsePattern/"+u,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var a=f===e;if(!a)break}}else{const v={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[v]:r.push(v),e++}var l=y===e;if(l&&d?(d=!1,o=[o,1]):l&&(d=!0,o=1),d)e=c,r!==null&&(c?r.length=c:r=null);else{const v={instancePath:t+"/collapsePattern",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf"};return r===null?r=[v]:r.push(v),e++,te.errors=r,!1}var n=T===e}else var n=!0;if(n){if(s.filters!==void 0){const h=e;Ce(s.filters,{instancePath:t+"/filters",parentData:s,parentDataProperty:"filters",rootData:S})||(r=r===null?Ce.errors:r.concat(Ce.errors),e=r.length);var n=h===e}else var n=!0;if(n){if(s.showMetrics!==void 0){const h=e;if(typeof s.showMetrics!="boolean")return te.errors=[{instancePath:t+"/showMetrics",schemaPath:"#/properties/showMetrics/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=h===e}else var n=!0;if(n)if(s.theme!==void 0){const h=e;Te(s.theme,{instancePath:t+"/theme",parentData:s,parentDataProperty:"theme",rootData:S})||(r=r===null?Te.errors:r.concat(Te.errors),e=r.length);var n=h===e}else var n=!0}}}}else return te.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return te.errors=r,e===0}function F(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const d=e;for(const o in s)if(!Be.call(nr.properties,o)){return F.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:o},message:"must NOT have additional properties"}],!1;break}if(d===e){if(s.anon!==void 0){let o=s.anon;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const v=e;for(const u in o)if(u!=="wordlist"){return F.errors=[{instancePath:t+"/anon",schemaPath:"#/definitions/AnonReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"}],!1;break}if(v===e&&o.wordlist!==void 0){let u=o.wordlist;if(e===e)if(Array.isArray(u)){var a=!0;const k=u.length;for(let O=0;O<k;O++){const I=e;if(typeof u[O]!="string")return F.errors=[{instancePath:t+"/anon/wordlist/"+O,schemaPath:"#/definitions/AnonReporterOptionsType/properties/wordlist/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=I===e;if(!a)break}}else return F.errors=[{instancePath:t+"/anon/wordlist",schemaPath:"#/definitions/AnonReporterOptionsType/properties/wordlist/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return F.errors=[{instancePath:t+"/anon",schemaPath:"#/definitions/AnonReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0;if(l){if(s.archi!==void 0){const o=e;te(s.archi,{instancePath:t+"/archi",parentData:s,parentDataProperty:"archi",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var l=o===e}else var l=!0;if(l){if(s.dot!==void 0){const o=e;te(s.dot,{instancePath:t+"/dot",parentData:s,parentDataProperty:"dot",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var l=o===e}else var l=!0;if(l){if(s.ddot!==void 0){const o=e;te(s.ddot,{instancePath:t+"/ddot",parentData:s,parentDataProperty:"ddot",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var l=o===e}else var l=!0;if(l){if(s.flat!==void 0){const o=e;te(s.flat,{instancePath:t+"/flat",parentData:s,parentDataProperty:"flat",rootData:S})||(r=r===null?te.errors:r.concat(te.errors),e=r.length);var l=o===e}else var l=!0;if(l){if(s.markdown!==void 0){let o=s.markdown;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!Be.call(ar.properties,f)){return F.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.showTitle!==void 0){const f=e;if(typeof o.showTitle!="boolean")return F.errors=[{instancePath:t+"/markdown/showTitle",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showTitle/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=f===e}else var n=!0;if(n){if(o.title!==void 0){const f=e;if(typeof o.title!="string")return F.errors=[{instancePath:t+"/markdown/title",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/title/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=f===e}else var n=!0;if(n){if(o.showSummary!==void 0){const f=e;if(typeof o.showSummary!="boolean")return F.errors=[{instancePath:t+"/markdown/showSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=f===e}else var n=!0;if(n){if(o.showSummaryHeader!==void 0){const f=e;if(typeof o.showSummaryHeader!="boolean")return F.errors=[{instancePath:t+"/markdown/showSummaryHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showSummaryHeader/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=f===e}else var n=!0;if(n){if(o.summaryHeader!==void 0){const f=e;if(typeof o.summaryHeader!="string")return F.errors=[{instancePath:t+"/markdown/summaryHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/summaryHeader/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=f===e}else var n=!0;if(n){if(o.showStatsSummary!==void 0){const f=e;if(typeof o.showStatsSummary!="boolean")return F.errors=[{instancePath:t+"/markdown/showStatsSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showStatsSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=f===e}else var n=!0;if(n){if(o.showRulesSummary!==void 0){const f=e;if(typeof o.showRulesSummary!="boolean")return F.errors=[{instancePath:t+"/markdown/showRulesSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showRulesSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=f===e}else var n=!0;if(n){if(o.includeIgnoredInSummary!==void 0){const f=e;if(typeof o.includeIgnoredInSummary!="boolean")return F.errors=[{instancePath:t+"/markdown/includeIgnoredInSummary",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/includeIgnoredInSummary/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=f===e}else var n=!0;if(n){if(o.showDetails!==void 0){const f=e;if(typeof o.showDetails!="boolean")return F.errors=[{instancePath:t+"/markdown/showDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=f===e}else var n=!0;if(n){if(o.includeIgnoredInDetails!==void 0){const f=e;if(typeof o.includeIgnoredInDetails!="boolean")return F.errors=[{instancePath:t+"/markdown/includeIgnoredInDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/includeIgnoredInDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=f===e}else var n=!0;if(n){if(o.showDetailsHeader!==void 0){const f=e;if(typeof o.showDetailsHeader!="boolean")return F.errors=[{instancePath:t+"/markdown/showDetailsHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showDetailsHeader/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=f===e}else var n=!0;if(n){if(o.detailsHeader!==void 0){const f=e;if(typeof o.detailsHeader!="string")return F.errors=[{instancePath:t+"/markdown/detailsHeader",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/detailsHeader/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=f===e}else var n=!0;if(n){if(o.collapseDetails!==void 0){const f=e;if(typeof o.collapseDetails!="boolean")return F.errors=[{instancePath:t+"/markdown/collapseDetails",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/collapseDetails/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=f===e}else var n=!0;if(n){if(o.collapsedMessage!==void 0){const f=e;if(typeof o.collapsedMessage!="string")return F.errors=[{instancePath:t+"/markdown/collapsedMessage",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/collapsedMessage/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=f===e}else var n=!0;if(n){if(o.showExternalModulesUnresolved!==void 0){const f=e;if(typeof o.showExternalModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/markdown/showExternalModulesUnresolved",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showExternalModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=f===e}else var n=!0;if(n){if(o.showAliasedModulesUnresolved!==void 0){const f=e;if(typeof o.showAliasedModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/markdown/showAliasedModulesUnresolved",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showAliasedModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=f===e}else var n=!0;if(n){if(o.noViolationsMessage!==void 0){const f=e;if(typeof o.noViolationsMessage!="string")return F.errors=[{instancePath:t+"/markdown/noViolationsMessage",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/noViolationsMessage/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var n=f===e}else var n=!0;if(n)if(o.showFooter!==void 0){const f=e;if(typeof o.showFooter!="boolean")return F.errors=[{instancePath:t+"/markdown/showFooter",schemaPath:"#/definitions/MarkdownReporterOptionsType/properties/showFooter/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var n=f===e}else var n=!0}}}}}}}}}}}}}}}}}}else return F.errors=[{instancePath:t+"/markdown",schemaPath:"#/definitions/MarkdownReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0;if(l){if(s.metrics!==void 0){let o=s.metrics;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!(f==="orderBy"||f==="hideModules"||f==="hideFolders")){return F.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.orderBy!==void 0){let f=o.orderBy;const k=e;if(typeof f!="string")return F.errors=[{instancePath:t+"/metrics/orderBy",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/orderBy/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(f==="instability"||f==="moduleCount"||f==="afferentCouplings"||f==="efferentCouplings"||f==="name"||f==="size"||f==="topLevelStatementCount"))return F.errors=[{instancePath:t+"/metrics/orderBy",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/orderBy/enum",keyword:"enum",params:{allowedValues:or.properties.orderBy.enum},message:"must be equal to one of the allowed values"}],!1;var i=k===e}else var i=!0;if(i){if(o.hideModules!==void 0){const f=e;if(typeof o.hideModules!="boolean")return F.errors=[{instancePath:t+"/metrics/hideModules",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/hideModules/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=f===e}else var i=!0;if(i)if(o.hideFolders!==void 0){const f=e;if(typeof o.hideFolders!="boolean")return F.errors=[{instancePath:t+"/metrics/hideFolders",schemaPath:"#/definitions/MetricsReporterOptionsType/properties/hideFolders/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=f===e}else var i=!0}}}else return F.errors=[{instancePath:t+"/metrics",schemaPath:"#/definitions/MetricsReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0;if(l){if(s.mermaid!==void 0){let o=s.mermaid;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(f!=="minify"){return F.errors=[{instancePath:t+"/mermaid",schemaPath:"#/definitions/MermaidReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e&&o.minify!==void 0&&typeof o.minify!="boolean")return F.errors=[{instancePath:t+"/mermaid/minify",schemaPath:"#/definitions/MermaidReporterOptionsType/properties/minify/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1}else return F.errors=[{instancePath:t+"/mermaid",schemaPath:"#/definitions/MermaidReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0;if(l){if(s.text!==void 0){let o=s.text;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(f!=="highlightFocused"){return F.errors=[{instancePath:t+"/text",schemaPath:"#/definitions/TextReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e&&o.highlightFocused!==void 0&&typeof o.highlightFocused!="boolean")return F.errors=[{instancePath:t+"/text/highlightFocused",schemaPath:"#/definitions/TextReporterOptionsType/properties/highlightFocused/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1}else return F.errors=[{instancePath:t+"/text",schemaPath:"#/definitions/TextReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0;if(l){if(s.err!==void 0){let o=s.err;const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!(f==="showExternalModulesUnresolved"||f==="showAliasedModulesUnresolved")){return F.errors=[{instancePath:t+"/err",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.showExternalModulesUnresolved!==void 0){const f=e;if(typeof o.showExternalModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/err/showExternalModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showExternalModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var h=f===e}else var h=!0;if(h)if(o.showAliasedModulesUnresolved!==void 0){const f=e;if(typeof o.showAliasedModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/err/showAliasedModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showAliasedModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var h=f===e}else var h=!0}}else return F.errors=[{instancePath:t+"/err",schemaPath:"#/definitions/ErrorReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0;if(l){if(s["err-long"]!==void 0){let o=s["err-long"];const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!(f==="showExternalModulesUnresolved"||f==="showAliasedModulesUnresolved")){return F.errors=[{instancePath:t+"/err-long",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.showExternalModulesUnresolved!==void 0){const f=e;if(typeof o.showExternalModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/err-long/showExternalModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showExternalModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var T=f===e}else var T=!0;if(T)if(o.showAliasedModulesUnresolved!==void 0){const f=e;if(typeof o.showAliasedModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/err-long/showAliasedModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showAliasedModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var T=f===e}else var T=!0}}else return F.errors=[{instancePath:t+"/err-long",schemaPath:"#/definitions/ErrorReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0;if(l)if(s["err-html"]!==void 0){let o=s["err-html"];const p=e;if(e===e)if(o&&typeof o=="object"&&!Array.isArray(o)){const u=e;for(const f in o)if(!(f==="showExternalModulesUnresolved"||f==="showAliasedModulesUnresolved")){return F.errors=[{instancePath:t+"/err-html",schemaPath:"#/definitions/ErrorReporterOptionsType/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"}],!1;break}if(u===e){if(o.showExternalModulesUnresolved!==void 0){const f=e;if(typeof o.showExternalModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/err-html/showExternalModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showExternalModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var c=f===e}else var c=!0;if(c)if(o.showAliasedModulesUnresolved!==void 0){const f=e;if(typeof o.showAliasedModulesUnresolved!="boolean")return F.errors=[{instancePath:t+"/err-html/showAliasedModulesUnresolved",schemaPath:"#/definitions/ErrorReporterOptionsType/properties/showAliasedModulesUnresolved/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var c=f===e}else var c=!0}}else return F.errors=[{instancePath:t+"/err-html",schemaPath:"#/definitions/ErrorReporterOptionsType/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===e}else var l=!0}}}}}}}}}}}}else return F.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return F.errors=r,e===0}const pr={type:"string",enum:["metadata","content"]};function Oe(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const l=e;for(const n in s)if(!(n==="folder"||n==="strategy"||n==="compress")){return Oe.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:n},message:"must NOT have additional properties"}],!1;break}if(l===e){if(s.folder!==void 0){const n=e;if(typeof s.folder!="string")return Oe.errors=[{instancePath:t+"/folder",schemaPath:"#/properties/folder/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=n===e}else var a=!0;if(a){if(s.strategy!==void 0){let n=s.strategy;const i=e;if(typeof n!="string")return Oe.errors=[{instancePath:t+"/strategy",schemaPath:"#/definitions/CacheStrategyType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(n==="metadata"||n==="content"))return Oe.errors=[{instancePath:t+"/strategy",schemaPath:"#/definitions/CacheStrategyType/enum",keyword:"enum",params:{allowedValues:pr.enum},message:"must be equal to one of the allowed values"}],!1;var a=i===e}else var a=!0;if(a)if(s.compress!==void 0){const n=e;if(typeof s.compress!="boolean")return Oe.errors=[{instancePath:t+"/compress",schemaPath:"#/properties/compress/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var a=n===e}else var a=!0}}}else return Oe.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Oe.errors=r,e===0}function E(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const Ke=e;for(const m in s)if(!Be.call(Fe.properties,m)){return E.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:m},message:"must NOT have additional properties"}],!1;break}if(Ke===e){if(s.doNotFollow!==void 0){let m=s.doNotFollow;const C=e,B=e;let j=!1,g=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const ee={instancePath:t+"/doNotFollow",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ee]:r.push(ee),e++}var l=Y===e;l&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var a=!0;const ee=m.length;for(let x=0;x<ee;x++){const W=e;if(typeof m[x]!="string"){const Ge={instancePath:t+"/doNotFollow/"+x,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[Ge]:r.push(Ge),e++}var a=W===e;if(!a)break}}else{const ee={instancePath:t+"/doNotFollow",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[ee]:r.push(ee),e++}var l=re===e;if(l&&N?(N=!1,b=[b,1]):l&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const ee={instancePath:t+"/doNotFollow",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[ee]:r.push(ee),e++}var n=M===e;n&&(j=!0,g=0);const he=e;Pe(m,{instancePath:t+"/doNotFollow",parentData:s,parentDataProperty:"doNotFollow",rootData:S})||(r=r===null?Pe.errors:r.concat(Pe.errors),e=r.length);var n=he===e;if(n&&j?(j=!1,g=[g,1]):n&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const ee={instancePath:t+"/doNotFollow",schemaPath:"#/properties/doNotFollow/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[ee]:r.push(ee),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.exclude!==void 0){let m=s.exclude;const C=e,B=e;let j=!1,g=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/exclude",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var T=Y===e;T&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var h=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/exclude/"+W,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ie]:r.push(ie),e++}var h=_e===e;if(!h)break}}else{const x={instancePath:t+"/exclude",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var T=re===e;if(T&&N?(N=!1,b=[b,1]):T&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/exclude",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var c=M===e;c&&(j=!0,g=0);const he=e;ve(m,{instancePath:t+"/exclude",parentData:s,parentDataProperty:"exclude",rootData:S})||(r=r===null?ve.errors:r.concat(ve.errors),e=r.length);var c=he===e;if(c&&j?(j=!1,g=[g,1]):c&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/exclude",schemaPath:"#/properties/exclude/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.includeOnly!==void 0){let m=s.includeOnly;const C=e,B=e;let j=!1,g=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var o=Y===e;o&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var d=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/includeOnly/"+W,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ie]:r.push(ie),e++}var d=_e===e;if(!d)break}}else{const x={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var o=re===e;if(o&&N?(N=!1,b=[b,1]):o&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/includeOnly",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var p=M===e;p&&(j=!0,g=0);const he=e;Ae(m,{instancePath:t+"/includeOnly",parentData:s,parentDataProperty:"includeOnly",rootData:S})||(r=r===null?Ae.errors:r.concat(Ae.errors),e=r.length);var p=he===e;if(p&&j?(j=!1,g=[g,1]):p&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/includeOnly",schemaPath:"#/properties/includeOnly/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.focus!==void 0){let m=s.focus;const C=e,B=e;let j=!1,g=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/focus",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var v=Y===e;v&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var y=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/focus/"+W,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ie]:r.push(ie),e++}var y=_e===e;if(!y)break}}else{const x={instancePath:t+"/focus",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var v=re===e;if(v&&N?(N=!1,b=[b,1]):v&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/focus",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var u=M===e;u&&(j=!0,g=0);const he=e;me(m,{instancePath:t+"/focus",parentData:s,parentDataProperty:"focus",rootData:S})||(r=r===null?me.errors:r.concat(me.errors),e=r.length);var u=he===e;if(u&&j?(j=!1,g=[g,1]):u&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/focus",schemaPath:"#/properties/focus/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.reaches!==void 0){let m=s.reaches;const C=e,B=e;let j=!1,g=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/reaches",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var k=Y===e;k&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var f=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/reaches/"+W,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ie]:r.push(ie),e++}var f=_e===e;if(!f)break}}else{const x={instancePath:t+"/reaches",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var k=re===e;if(k&&N?(N=!1,b=[b,1]):k&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/reaches",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var O=M===e;O&&(j=!0,g=0);const he=e;Re(m,{instancePath:t+"/reaches",parentData:s,parentDataProperty:"reaches",rootData:S})||(r=r===null?Re.errors:r.concat(Re.errors),e=r.length);var O=he===e;if(O&&j?(j=!1,g=[g,1]):O&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/reaches",schemaPath:"#/properties/reaches/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.affected!==void 0){let m=s.affected;const C=e,B=e;let j=!1,g=null;const M=e;if(typeof m!="string"){const b={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var I=M===e;I&&(j=!0,g=0);const L=e;if(typeof m!="boolean"){const b={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf/1/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[b]:r.push(b),e++}var I=L===e;if(I&&j?(j=!1,g=[g,1]):I&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const b={instancePath:t+"/affected",schemaPath:"#/properties/affected/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.highlight!==void 0){let m=s.highlight;const C=e,B=e;let j=!1,g=null;const M=e,L=e;let N=!1,b=null;const Y=e;if(typeof m!="string"){const x={instancePath:t+"/highlight",schemaPath:"#/definitions/REAsStringsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[x]:r.push(x),e++}var G=Y===e;G&&(N=!0,b=0);const re=e;if(e===re)if(Array.isArray(m)){var J=!0;const x=m.length;for(let W=0;W<x;W++){const _e=e;if(typeof m[W]!="string"){const ie={instancePath:t+"/highlight/"+W,schemaPath:"#/definitions/REAsStringsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ie]:r.push(ie),e++}var J=_e===e;if(!J)break}}else{const x={instancePath:t+"/highlight",schemaPath:"#/definitions/REAsStringsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[x]:r.push(x),e++}var G=re===e;if(G&&N?(N=!1,b=[b,1]):G&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const x={instancePath:t+"/highlight",schemaPath:"#/definitions/REAsStringsType/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};r===null?r=[x]:r.push(x),e++}var se=M===e;se&&(j=!0,g=0);const he=e;$e(m,{instancePath:t+"/highlight",parentData:s,parentDataProperty:"highlight",rootData:S})||(r=r===null?$e.errors:r.concat($e.errors),e=r.length);var se=he===e;if(se&&j?(j=!1,g=[g,1]):se&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const x={instancePath:t+"/highlight",schemaPath:"#/properties/highlight/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[x]:r.push(x),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.knownViolations!==void 0){const m=e;Le(s.knownViolations,{instancePath:t+"/knownViolations",parentData:s,parentDataProperty:"knownViolations",rootData:S})||(r=r===null?Le.errors:r.concat(Le.errors),e=r.length);var i=m===e}else var i=!0;if(i){if(s.collapse!==void 0){let m=s.collapse;const C=e,B=e;let j=!1,g=null;const M=e;if(typeof m!="string"){const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var R=M===e;R&&(j=!0,g=0);const L=e;if(!(typeof m=="number"&&!(m%1)&&!isNaN(m)&&isFinite(m))){const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/1/type",keyword:"type",params:{type:"integer"},message:"must be integer"};r===null?r=[b]:r.push(b),e++}if(e===L&&typeof m=="number"&&isFinite(m)){if(m>9||isNaN(m)){const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/1/maximum",keyword:"maximum",params:{comparison:"<=",limit:9},message:"must be <= 9"};r===null?r=[b]:r.push(b),e++}else if(m<1||isNaN(m)){const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf/1/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};r===null?r=[b]:r.push(b),e++}}var R=L===e;if(R&&j?(j=!1,g=[g,1]):R&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const b={instancePath:t+"/collapse",schemaPath:"#/properties/collapse/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.maxDepth!==void 0){let m=s.maxDepth;const C=e;if(!(typeof m=="number"&&!(m%1)&&!isNaN(m)&&isFinite(m)))return E.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===C&&typeof m=="number"&&isFinite(m)){if(m>99||isNaN(m))return E.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/maximum",keyword:"maximum",params:{comparison:"<=",limit:99},message:"must be <= 99"}],!1;if(m<0||isNaN(m))return E.errors=[{instancePath:t+"/maxDepth",schemaPath:"#/properties/maxDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}var i=C===e}else var i=!0;if(i){if(s.moduleSystems!==void 0){const m=e;qe(s.moduleSystems,{instancePath:t+"/moduleSystems",parentData:s,parentDataProperty:"moduleSystems",rootData:S})||(r=r===null?qe.errors:r.concat(qe.errors),e=r.length);var i=m===e}else var i=!0;if(i){if(s.detectJSDocImports!==void 0){const m=e;if(typeof s.detectJSDocImports!="boolean")return E.errors=[{instancePath:t+"/detectJSDocImports",schemaPath:"#/properties/detectJSDocImports/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=m===e}else var i=!0;if(i){if(s.detectProcessBuiltinModuleCalls!==void 0){const m=e;if(typeof s.detectProcessBuiltinModuleCalls!="boolean")return E.errors=[{instancePath:t+"/detectProcessBuiltinModuleCalls",schemaPath:"#/properties/detectProcessBuiltinModuleCalls/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=m===e}else var i=!0;if(i){if(s.prefix!==void 0){const m=e;if(typeof s.prefix!="string")return E.errors=[{instancePath:t+"/prefix",schemaPath:"#/properties/prefix/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=m===e}else var i=!0;if(i){if(s.suffix!==void 0){const m=e;if(typeof s.suffix!="string")return E.errors=[{instancePath:t+"/suffix",schemaPath:"#/properties/suffix/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=m===e}else var i=!0;if(i){if(s.preserveSymlinks!==void 0){const m=e;if(typeof s.preserveSymlinks!="boolean")return E.errors=[{instancePath:t+"/preserveSymlinks",schemaPath:"#/properties/preserveSymlinks/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=m===e}else var i=!0;if(i){if(s.combinedDependencies!==void 0){const m=e;if(typeof s.combinedDependencies!="boolean")return E.errors=[{instancePath:t+"/combinedDependencies",schemaPath:"#/properties/combinedDependencies/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=m===e}else var i=!0;if(i){if(s.tsConfig!==void 0){let m=s.tsConfig;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const g in m)if(g!=="fileName"){return E.errors=[{instancePath:t+"/tsConfig",schemaPath:"#/properties/tsConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(j===e&&m.fileName!==void 0&&typeof m.fileName!="string")return E.errors=[{instancePath:t+"/tsConfig/fileName",schemaPath:"#/properties/tsConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return E.errors=[{instancePath:t+"/tsConfig",schemaPath:"#/properties/tsConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.tsPreCompilationDeps!==void 0){let m=s.tsPreCompilationDeps;const C=e,B=e;let j=!1,g=null;const M=e;if(typeof m!="boolean"){const b={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[b]:r.push(b),e++}var q=M===e;q&&(j=!0,g=0);const L=e;if(typeof m!="string"){const b={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}if(m!=="specify"){const b={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf/1/enum",keyword:"enum",params:{allowedValues:Fe.properties.tsPreCompilationDeps.oneOf[1].enum},message:"must be equal to one of the allowed values"};r===null?r=[b]:r.push(b),e++}var q=L===e;if(q&&j?(j=!1,g=[g,1]):q&&(j=!0,g=1),j)e=B,r!==null&&(B?r.length=B:r=null);else{const b={instancePath:t+"/tsPreCompilationDeps",schemaPath:"#/properties/tsPreCompilationDeps/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,E.errors=r,!1}var i=C===e}else var i=!0;if(i){if(s.extraExtensionsToScan!==void 0){let m=s.extraExtensionsToScan;const C=e;if(e===C)if(Array.isArray(m)){var U=!0;const j=m.length;for(let g=0;g<j;g++){const M=e;if(typeof m[g]!="string")return E.errors=[{instancePath:t+"/extraExtensionsToScan/"+g,schemaPath:"#/properties/extraExtensionsToScan/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var U=M===e;if(!U)break}}else return E.errors=[{instancePath:t+"/extraExtensionsToScan",schemaPath:"#/properties/extraExtensionsToScan/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=C===e}else var i=!0;if(i){if(s.externalModuleResolutionStrategy!==void 0){let m=s.externalModuleResolutionStrategy;const C=e;if(typeof m!="string")return E.errors=[{instancePath:t+"/externalModuleResolutionStrategy",schemaPath:"#/properties/externalModuleResolutionStrategy/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(m==="node_modules"||m==="yarn-pnp"))return E.errors=[{instancePath:t+"/externalModuleResolutionStrategy",schemaPath:"#/properties/externalModuleResolutionStrategy/enum",keyword:"enum",params:{allowedValues:Fe.properties.externalModuleResolutionStrategy.enum},message:"must be equal to one of the allowed values"}],!1;var i=C===e}else var i=!0;if(i){if(s.builtInModules!==void 0){let m=s.builtInModules;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const g in m)if(!(g==="override"||g==="add")){return E.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.override!==void 0){let g=m.override;const M=e;if(e===M)if(Array.isArray(g)){var $=!0;const L=g.length;for(let N=0;N<L;N++){const b=e;if(typeof g[N]!="string")return E.errors=[{instancePath:t+"/builtInModules/override/"+N,schemaPath:"#/properties/builtInModules/properties/override/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var $=b===e;if(!$)break}}else return E.errors=[{instancePath:t+"/builtInModules/override",schemaPath:"#/properties/builtInModules/properties/override/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var _=M===e}else var _=!0;if(_)if(m.add!==void 0){let g=m.add;const M=e;if(e===M)if(Array.isArray(g)){var w=!0;const N=g.length;for(let b=0;b<N;b++){const Y=e;if(typeof g[b]!="string")return E.errors=[{instancePath:t+"/builtInModules/add/"+b,schemaPath:"#/properties/builtInModules/properties/add/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var w=Y===e;if(!w)break}}else return E.errors=[{instancePath:t+"/builtInModules/add",schemaPath:"#/properties/builtInModules/properties/add/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var _=M===e}else var _=!0}}else return E.errors=[{instancePath:t+"/builtInModules",schemaPath:"#/properties/builtInModules/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.forceDeriveDependents!==void 0){const m=e;if(typeof s.forceDeriveDependents!="boolean")return E.errors=[{instancePath:t+"/forceDeriveDependents",schemaPath:"#/properties/forceDeriveDependents/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=m===e}else var i=!0;if(i){if(s.webpackConfig!==void 0){let m=s.webpackConfig;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const g in m)if(!(g==="fileName"||g==="env"||g==="arguments")){return E.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.fileName!==void 0){const g=e;if(typeof m.fileName!="string")return E.errors=[{instancePath:t+"/webpackConfig/fileName",schemaPath:"#/properties/webpackConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var P=g===e}else var P=!0;if(P){if(m.env!==void 0){let g=m.env;const M=e,L=e;let N=!1,b=null;const Y=e;if(!(g&&typeof g=="object"&&!Array.isArray(g))){const ee={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};r===null?r=[ee]:r.push(ee),e++}var X=Y===e;X&&(N=!0,b=0);const re=e;if(typeof g!="string"){const ee={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[ee]:r.push(ee),e++}var X=re===e;if(X&&N?(N=!1,b=[b,1]):X&&(N=!0,b=1),N)e=L,r!==null&&(L?r.length=L:r=null);else{const ee={instancePath:t+"/webpackConfig/env",schemaPath:"#/properties/webpackConfig/properties/env/oneOf",keyword:"oneOf",params:{passingSchemas:b},message:"must match exactly one schema in oneOf"};return r===null?r=[ee]:r.push(ee),e++,E.errors=r,!1}var P=M===e}else var P=!0;if(P)if(m.arguments!==void 0){let g=m.arguments;const M=e;if(!(g&&typeof g=="object"&&!Array.isArray(g)))return E.errors=[{instancePath:t+"/webpackConfig/arguments",schemaPath:"#/properties/webpackConfig/properties/arguments/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var P=M===e}else var P=!0}}}else return E.errors=[{instancePath:t+"/webpackConfig",schemaPath:"#/properties/webpackConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.enhancedResolveOptions!==void 0){let m=s.enhancedResolveOptions;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const g in m)if(!(g==="exportsFields"||g==="conditionNames"||g==="extensions"||g==="mainFields"||g==="mainFiles"||g==="aliasFields"||g==="cachedInputFileSystem")){return E.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.exportsFields!==void 0){let g=m.exportsFields;const M=e;if(e===M)if(Array.isArray(g)){var A=!0;const L=g.length;for(let N=0;N<L;N++){const b=e;if(typeof g[N]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/exportsFields/"+N,schemaPath:"#/properties/enhancedResolveOptions/properties/exportsFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var A=b===e;if(!A)break}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions/exportsFields",schemaPath:"#/properties/enhancedResolveOptions/properties/exportsFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=M===e}else var D=!0;if(D){if(m.conditionNames!==void 0){let g=m.conditionNames;const M=e;if(e===M)if(Array.isArray(g)){var Z=!0;const N=g.length;for(let b=0;b<N;b++){const Y=e;if(typeof g[b]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/conditionNames/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/conditionNames/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Z=Y===e;if(!Z)break}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions/conditionNames",schemaPath:"#/properties/enhancedResolveOptions/properties/conditionNames/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=M===e}else var D=!0;if(D){if(m.extensions!==void 0){let g=m.extensions;const M=e;if(e===M)if(Array.isArray(g)){var xe=!0;const N=g.length;for(let b=0;b<N;b++){const Y=e;if(typeof g[b]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/extensions/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/extensions/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var xe=Y===e;if(!xe)break}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions/extensions",schemaPath:"#/properties/enhancedResolveOptions/properties/extensions/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=M===e}else var D=!0;if(D){if(m.mainFields!==void 0){let g=m.mainFields;const M=e;if(e===M)if(Array.isArray(g)){var Q=!0;const N=g.length;for(let b=0;b<N;b++){const Y=e;if(typeof g[b]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/mainFields/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/mainFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Q=Y===e;if(!Q)break}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions/mainFields",schemaPath:"#/properties/enhancedResolveOptions/properties/mainFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=M===e}else var D=!0;if(D){if(m.mainFiles!==void 0){const g=e;if(!Array.isArray(m.mainFiles))return E.errors=[{instancePath:t+"/enhancedResolveOptions/mainFiles",schemaPath:"#/properties/enhancedResolveOptions/properties/mainFiles/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=g===e}else var D=!0;if(D){if(m.aliasFields!==void 0){let g=m.aliasFields;const M=e;if(e===M)if(Array.isArray(g)){var Ue=!0;const N=g.length;for(let b=0;b<N;b++){const Y=e;if(typeof g[b]!="string")return E.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields/"+b,schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ue=Y===e;if(!Ue)break}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions/aliasFields",schemaPath:"#/properties/enhancedResolveOptions/properties/aliasFields/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=M===e}else var D=!0;if(D)if(m.cachedInputFileSystem!==void 0){let g=m.cachedInputFileSystem;const M=e;if(e===M)if(g&&typeof g=="object"&&!Array.isArray(g)){const N=e;for(const b in g)if(b!=="cacheDuration"){return E.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:b},message:"must NOT have additional properties"}],!1;break}if(N===e&&g.cacheDuration!==void 0){let b=g.cacheDuration;const Y=e;if(!(typeof b=="number"&&!(b%1)&&!isNaN(b)&&isFinite(b)))return E.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem/cacheDuration",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/properties/cacheDuration/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(e===Y&&typeof b=="number"&&isFinite(b)){if(b>18e5||isNaN(b))return E.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem/cacheDuration",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/properties/cacheDuration/maximum",keyword:"maximum",params:{comparison:"<=",limit:18e5},message:"must be <= 1800000"}],!1;if(b<0||isNaN(b))return E.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem/cacheDuration",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/properties/cacheDuration/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1}}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions/cachedInputFileSystem",schemaPath:"#/properties/enhancedResolveOptions/properties/cachedInputFileSystem/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var D=M===e}else var D=!0}}}}}}}else return E.errors=[{instancePath:t+"/enhancedResolveOptions",schemaPath:"#/properties/enhancedResolveOptions/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.babelConfig!==void 0){let m=s.babelConfig;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const g in m)if(g!=="fileName"){return E.errors=[{instancePath:t+"/babelConfig",schemaPath:"#/properties/babelConfig/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(j===e&&m.fileName!==void 0&&typeof m.fileName!="string")return E.errors=[{instancePath:t+"/babelConfig/fileName",schemaPath:"#/properties/babelConfig/properties/fileName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return E.errors=[{instancePath:t+"/babelConfig",schemaPath:"#/properties/babelConfig/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.parser!==void 0){let m=s.parser;const C=e;if(typeof m!="string")return E.errors=[{instancePath:t+"/parser",schemaPath:"#/properties/parser/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(m==="acorn"||m==="tsc"||m==="swc"))return E.errors=[{instancePath:t+"/parser",schemaPath:"#/properties/parser/enum",keyword:"enum",params:{allowedValues:Fe.properties.parser.enum},message:"must be equal to one of the allowed values"}],!1;var i=C===e}else var i=!0;if(i){if(s.exoticRequireStrings!==void 0){let m=s.exoticRequireStrings;const C=e;if(e===C)if(Array.isArray(m)){var ze=!0;const j=m.length;for(let g=0;g<j;g++){const M=e;if(typeof m[g]!="string")return E.errors=[{instancePath:t+"/exoticRequireStrings/"+g,schemaPath:"#/properties/exoticRequireStrings/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var ze=M===e;if(!ze)break}}else return E.errors=[{instancePath:t+"/exoticRequireStrings",schemaPath:"#/properties/exoticRequireStrings/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var i=C===e}else var i=!0;if(i){if(s.reporterOptions!==void 0){const m=e;F(s.reporterOptions,{instancePath:t+"/reporterOptions",parentData:s,parentDataProperty:"reporterOptions",rootData:S})||(r=r===null?F.errors:r.concat(F.errors),e=r.length);var i=m===e}else var i=!0;if(i){if(s.progress!==void 0){let m=s.progress;const C=e;if(e===C)if(m&&typeof m=="object"&&!Array.isArray(m)){const j=e;for(const g in m)if(!(g==="type"||g==="maximumLevel")){return E.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:g},message:"must NOT have additional properties"}],!1;break}if(j===e){if(m.type!==void 0){let g=m.type;const M=e;if(typeof g!="string")return E.errors=[{instancePath:t+"/progress/type",schemaPath:"#/properties/progress/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(g==="cli-feedback"||g==="performance-log"||g==="ndjson"||g==="none"))return E.errors=[{instancePath:t+"/progress/type",schemaPath:"#/properties/progress/properties/type/enum",keyword:"enum",params:{allowedValues:Fe.properties.progress.properties.type.enum},message:"must be equal to one of the allowed values"}],!1;var Je=M===e}else var Je=!0;if(Je)if(m.maximumLevel!==void 0){let g=m.maximumLevel;const M=e;if(!(typeof g=="number"&&isFinite(g)))return E.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;if(!(g===-1||g===40||g===50||g===60||g===70||g===80||g===99))return E.errors=[{instancePath:t+"/progress/maximumLevel",schemaPath:"#/properties/progress/properties/maximumLevel/enum",keyword:"enum",params:{allowedValues:Fe.properties.progress.properties.maximumLevel.enum},message:"must be equal to one of the allowed values"}],!1;var Je=M===e}else var Je=!0}}else return E.errors=[{instancePath:t+"/progress",schemaPath:"#/properties/progress/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var i=C===e}else var i=!0;if(i){if(s.metrics!==void 0){const m=e;if(typeof s.metrics!="boolean")return E.errors=[{instancePath:t+"/metrics",schemaPath:"#/properties/metrics/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=m===e}else var i=!0;if(i){if(s.experimentalStats!==void 0){const m=e;if(typeof s.experimentalStats!="boolean")return E.errors=[{instancePath:t+"/experimentalStats",schemaPath:"#/properties/experimentalStats/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=m===e}else var i=!0;if(i){if(s.skipAnalysisNotInRules!==void 0){const m=e;if(typeof s.skipAnalysisNotInRules!="boolean")return E.errors=[{instancePath:t+"/skipAnalysisNotInRules",schemaPath:"#/properties/skipAnalysisNotInRules/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"}],!1;var i=m===e}else var i=!0;if(i){if(s.baseDir!==void 0){const m=e;if(typeof s.baseDir!="string")return E.errors=[{instancePath:t+"/baseDir",schemaPath:"#/properties/baseDir/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var i=m===e}else var i=!0;if(i)if(s.cache!==void 0){let m=s.cache;const C=e,B=e;let j=!1,g=null;const M=e;if(typeof m!="boolean"){const b={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};r===null?r=[b]:r.push(b),e++}var Ne=M===e;Ne&&(j=!0,g=0);const L=e;if(typeof m!="string"){const b={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[b]:r.push(b),e++}var Ne=L===e;if(Ne&&j)j=!1,g=[g,1];else{Ne&&(j=!0,g=1);const b=e;Oe(m,{instancePath:t+"/cache",parentData:s,parentDataProperty:"cache",rootData:S})||(r=r===null?Oe.errors:r.concat(Oe.errors),e=r.length);var Ne=b===e;Ne&&j?(j=!1,g=[g,2]):Ne&&(j=!0,g=2)}if(j)e=B,r!==null&&(B?r.length=B:r=null);else{const b={instancePath:t+"/cache",schemaPath:"#/properties/cache/oneOf",keyword:"oneOf",params:{passingSchemas:g},message:"must match exactly one schema in oneOf"};return r===null?r=[b]:r.push(b),e++,E.errors=r,!1}var i=C===e}else var i=!0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else return E.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return E.errors=r,e===0}function de(s,{instancePath:t="",parentData:V,parentDataProperty:H,rootData:S=s}={}){let r=null,e=0;if(e===0)if(s&&typeof s=="object"&&!Array.isArray(s)){const c=e;for(const d in s)if(!(d==="$schema"||d==="forbidden"||d==="allowed"||d==="allowedSeverity"||d==="required"||d==="options"||d==="extends")){return de.errors=[{instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:d},message:"must NOT have additional properties"}],!1;break}if(c===e){if(s.$schema!==void 0){const d=e;if(typeof s.$schema!="string")return de.errors=[{instancePath:t+"/$schema",schemaPath:"#/properties/%24schema/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var a=d===e}else var a=!0;if(a){if(s.forbidden!==void 0){let d=s.forbidden;const o=e;if(e===o)if(Array.isArray(d)){var l=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;Ve(d[v],{instancePath:t+"/forbidden/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?Ve.errors:r.concat(Ve.errors),e=r.length);var l=u===e;if(!l)break}}else return de.errors=[{instancePath:t+"/forbidden",schemaPath:"#/properties/forbidden/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.allowed!==void 0){let d=s.allowed;const o=e;if(e===o)if(Array.isArray(d)){var n=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;He(d[v],{instancePath:t+"/allowed/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?He.errors:r.concat(He.errors),e=r.length);var n=u===e;if(!n)break}}else return de.errors=[{instancePath:t+"/allowed",schemaPath:"#/properties/allowed/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.allowedSeverity!==void 0){let d=s.allowedSeverity;const o=e;if(typeof d!="string")return de.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(d==="error"||d==="warn"||d==="info"||d==="ignore"))return de.errors=[{instancePath:t+"/allowedSeverity",schemaPath:"#/definitions/SeverityType/enum",keyword:"enum",params:{allowedValues:Ie.enum},message:"must be equal to one of the allowed values"}],!1;var a=o===e}else var a=!0;if(a){if(s.required!==void 0){let d=s.required;const o=e;if(e===o)if(Array.isArray(d)){var i=!0;const y=d.length;for(let v=0;v<y;v++){const u=e;fe(d[v],{instancePath:t+"/required/"+v,parentData:d,parentDataProperty:v,rootData:S})||(r=r===null?fe.errors:r.concat(fe.errors),e=r.length);var i=u===e;if(!i)break}}else return de.errors=[{instancePath:t+"/required",schemaPath:"#/properties/required/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var a=o===e}else var a=!0;if(a){if(s.options!==void 0){const d=e;E(s.options,{instancePath:t+"/options",parentData:s,parentDataProperty:"options",rootData:S})||(r=r===null?E.errors:r.concat(E.errors),e=r.length);var a=d===e}else var a=!0;if(a)if(s.extends!==void 0){let d=s.extends;const o=e,p=e;let y=!1,v=null;const u=e;if(typeof d!="string"){const O={instancePath:t+"/extends",schemaPath:"#/definitions/ExtendsType/oneOf/0/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[O]:r.push(O),e++}var T=u===e;T&&(y=!0,v=0);const f=e;if(e===f)if(Array.isArray(d)){var h=!0;const O=d.length;for(let I=0;I<O;I++){const J=e;if(typeof d[I]!="string"){const se={instancePath:t+"/extends/"+I,schemaPath:"#/definitions/ExtendsType/oneOf/1/items/type",keyword:"type",params:{type:"string"},message:"must be string"};r===null?r=[se]:r.push(se),e++}var h=J===e;if(!h)break}}else{const O={instancePath:t+"/extends",schemaPath:"#/definitions/ExtendsType/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};r===null?r=[O]:r.push(O),e++}var T=f===e;if(T&&y?(y=!1,v=[v,1]):T&&(y=!0,v=1),y)e=p,r!==null&&(p?r.length=p:r=null);else{const O={instancePath:t+"/extends",schemaPath:"#/definitions/ExtendsType/oneOf",keyword:"oneOf",params:{passingSchemas:v},message:"must match exactly one schema in oneOf"};return r===null?r=[O]:r.push(O),e++,de.errors=r,!1}var a=o===e}else var a=!0}}}}}}}else return de.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return de.errors=r,e===0}