PageSourceSearch

https://statsy.co/_next/static/chunks/43d960d2-2637da5976f3eaf2.js

js statsy.co collected 2026-10-04 07:12:51 UTC 88,781 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2917],{49040:(r,e,o)=>{o.d(e,{U:()=>a});var s=o(14521);let t=function(){let r=Function.prototype.call.bind(Object.prototype.hasOwnProperty),e=r=>/[\uD800-\uDFFF]/.test(r)?[...r].length:r.length,o=RegExp("^https?:\\/\\/","u"),s=function r(s){r.errors=null;let t=0;if("string"!=typeof s)null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),t++;else{let i=t;s.length>2048&&e(s)>2048&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),t++),t===i&&!o.test(s)&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/pattern",instanceLocation:"#"}),t++)}return 0===t},t=({keywordLocation:r,instanceLocation:e},o,s)=>({keywordLocation:`${o}${r.slice(1)}`,instanceLocation:`${s}${e.slice(1)}`}),i=r=>/~\//.test(r)?`${r}`.replace(/~/g,"~0").replace(/\//g,"~1"):r,n=RegExp("[uU][rR][lL][ \\t\\n\\f\\r]*\\([ \\t\\n\\f\\r]*[^#) \\t\\n\\f\\r]","u"),a=RegExp("[eE][xX][pP][rR][eE][sS][sS][iI][oO][nN][ \\t\\n\\f\\r]*\\(","u"),l=RegExp("[bB][eE][hH][aA][vV][iI][oO][rR][ \\t\\n\\f\\r]*:","u"),p=RegExp("-[mM][oO][zZ]-[bB][iI][nN][dD][iI][nN][gG]","u"),c=RegExp("[jJ][aA][vV][aA][sS][cC][rR][iI][pP][tT][ \\t\\n\\f\\r]*:","u"),u=RegExp("[vV][bB][sS][cC][rR][iI][pP][tT][ \\t\\n\\f\\r]*:","u"),f=RegExp("\\\\","u"),d=function r(o){r.errors=null;let s=0;return"string"!=typeof o?(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++):(o.length>16384&&e(o)>16384&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),s++),(()=>{let r,e=0,s=null;if(r=0,!n.test(o)&&(null===s&&(s=[]),s.push({keywordLocation:"#/not/anyOf/0/pattern",instanceLocation:"#"}),r++),0!==r){let r;if(r=0,!a.test(o)&&(null===s&&(s=[]),s.push({keywordLocation:"#/not/anyOf/1/pattern",instanceLocation:"#"}),r++),0!==r){let r;if(r=0,!l.test(o)&&(null===s&&(s=[]),s.push({keywordLocation:"#/not/anyOf/2/pattern",instanceLocation:"#"}),r++),0!==r){let r;if(r=0,!p.test(o)&&(null===s&&(s=[]),s.push({keywordLocation:"#/not/anyOf/3/pattern",
1instanceLocation:"#"}),r++),0!==r){let r;if(r=0,!c.test(o)&&(null===s&&(s=[]),s.push({keywordLocation:"#/not/anyOf/4/pattern",instanceLocation:"#"}),r++),0!==r){let r;if(r=0,!u.test(o)&&(null===s&&(s=[]),s.push({keywordLocation:"#/not/anyOf/5/pattern",instanceLocation:"#"}),r++),0!==r){let r;r=0,!f.test(o)&&(null===s&&(s=[]),s.push({keywordLocation:"#/not/anyOf/6/pattern",instanceLocation:"#"}),r++),0!==r&&e++}}}}}}return 0===e})()&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/not",instanceLocation:"#"}),s++)),0===s},m=function r(o){r.errors=null;let s=0;if("string"!=typeof o)null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++;else{o.length>1024&&e(o)>1024&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),s++);let i=r.errors,n=d(o),a=d.errors;r.errors=i,!n&&(null===r.errors&&(r.errors=[]),r.errors.push(...a.map(r=>t(r,"#/allOf/0/$ref","#"))),s++)}return 0===s},h=RegExp("^[a-z][a-zA-Z0-9]*$","u"),y=function r(o){r.errors=null;let s=0;if("string"!=typeof o)null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++;else{let t=s;o.length>64&&e(o)>64&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),s++),s===t&&!h.test(o)&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/pattern",
1instanceLocation:"#"}),s++)}return 0===s},v=function r(e){r.errors=null;let o=0,s=r.errors,i=y(e),n=y.errors;return r.errors=s,!i&&(null===r.errors&&(r.errors=[]),r.errors.push(...n.map(r=>t(r,"#/allOf/0/$ref","#"))),o++),0===o},L=function e(o){e.errors=null;let s=0,n=null;return!(()=>{let r=0,s=e.errors,i=m(o),n=m.errors;return e.errors=s,!i&&(null===e.errors&&(e.errors=[]),e.errors.push(...n.map(r=>t(r,"#/anyOf/0/$ref","#"))),r++),0===r})()&&!(()=>{let s=0;if("object"==typeof o&&o&&!Array.isArray(o)){if(!(void 0!==o.type&&r(o,"type"))&&(null===n&&(n=[]),n.push({keywordLocation:"#/anyOf/1/required",instanceLocation:"#/type"}),s++),!(void 0!==o.name&&r(o,"name"))&&(null===n&&(n=[]),n.push({keywordLocation:"#/anyOf/1/required",instanceLocation:"#/name"}),s++),void 0!==o.type&&r(o,"type")&&"color"!==o.type&&(null===n&&(n=[]),n.push({keywordLocation:"#/anyOf/1/properties/type/const",instanceLocation:"#/type"}),s++),void 0!==o.name&&r(o,"name")){let r=e.errors,i=v(o.name),n=v.errors;e.errors=r,!i&&(null===e.errors&&(e.errors=[]),e.errors.push(...n.map(r=>t(r,"#/anyOf/1/properties/name/$ref","#/name"))),s++)}for(let r of Object.keys(o))"type"!==r&&"name"!==r&&(null===n&&(n=[]),n.push({keywordLocation:"#/anyOf/1/additionalProperties",instanceLocation:"#/"+i(r)}),s++)}else null===n&&(n=[]),n.push({keywordLocation:"#/anyOf/1/type",instanceLocation:"#"}),s++;return 0===s})()&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/anyOf",instanceLocation:"#"}),n&&e.errors.push(...n),s++),0===s},k=function r(o){r.errors=null;let s=0;if("string"!=typeof o)null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++;else{o.length>16384&&e(o)>16384&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),s++);let i=r.errors,n=d(o),a=d.errors;r.errors=i,!n&&(null===r.errors&&(r.errors=[]),r.errors.push(...a.map(r=>t(r,"#/allOf/0/$ref","#"))),s++)}return 0===s},g=RegExp("^#[a-zA-Z_][a-zA-Z0-9_.-]*$","u"),w=RegExp("^data:image\\/(png|gif|jpeg|webp|avif);base64,[a-zA-Z0-9+/=]+$","u"),x=RegExp("@[iI][mM][pP][oO][rR][tT]","u"),$=RegExp("@[fF][oO][nN][tT]-[fF][aA][cC][eE]","u"),b=RegExp("@[dD][oO][cC][uU][mM][eE][nN][tT]","u"),O=RegExp("@[cC][hH][aA][rR][sS][eE][tT]","u"),A=function r(o){r.errors=null;let s=0;if("string"!=typeof o)null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++;else{o.length>4096&&e(o)>4096&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),s++),(()=>{let r,e=0,s=null;if(r=0,!x.test(o)&&(null===s&&(s=[]),s.push({keywordLocation:"#/not/anyOf/0/pattern",instanceLocation:"#"}),r++),0!==r){let r;if(r=0,!$.test(o)&&(null===s&&(s=[]),s.push({keywordLocation:"#/not/anyOf/1/pattern",instanceLocation:"#"}),r++),0!==r){let r;if(r=0,!b.test(o)&&(null===s&&(s=[]),s.push({keywordLocation:"#/not/anyOf/2/pattern",instanceLocation:"#"}),r++),0!==r){let r;r=0,!O.test(o)&&(null===s&&(s=[]),s.push({keywordLocation:"#/not/anyOf/3/pattern",
1instanceLocation:"#"}),r++),0!==r&&e++}}}return 0===e})()&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/not",instanceLocation:"#"}),s++);let i=r.errors,n=d(o),a=d.errors;r.errors=i,!n&&(null===r.errors&&(r.errors=[]),r.errors.push(...a.map(r=>t(r,"#/allOf/0/$ref","#"))),s++)}return 0===s},j=function o(s){o.errors=null;let n=0;if("object"==typeof s&&s&&!Array.isArray(s)){if(void 0!==s["alignment-baseline"]&&r(s,"alignment-baseline")){let r=o.errors,e=m(s["alignment-baseline"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/alignment-baseline/$ref","#/alignment-baseline"))),n++)}if(void 0!==s.amplitude&&r(s,"amplitude")){let r=o.errors,e=m(s.amplitude),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/amplitude/$ref","#/amplitude"))),n++)}if(void 0!==s.azimuth&&r(s,"azimuth")){let r=o.errors,e=m(s.azimuth),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/azimuth/$ref","#/azimuth"))),n++)}if(void 0!==s.baseFrequency&&r(s,"baseFrequency")){let r=o.errors,e=m(s.baseFrequency),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/baseFrequency/$ref","#/baseFrequency"))),n++)}if(void 0!==s["baseline-shift"]&&r(s,"baseline-shift")){let r=o.errors,e=m(s["baseline-shift"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/baseline-shift/$ref","#/baseline-shift"))),n++)}if(void 0!==s.bias&&r(s,"bias")){let r=o.errors,e=m(s.bias),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/bias/$ref","#/bias"))),n++)}if(void 0!==s.class&&r(s,"class")){let r=o.errors,e=m(s.class),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/class/$ref","#/class"))),n++)}if(void 0!==s.clipPathUnits&&r(s,"clipPathUnits")){let r=o.errors,e=m(s.clipPathUnits),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/clipPathUnits/$ref","#/clipPathUnits"))),n++)}if(void 0!==s["clip-path"]&&r(s,"clip-path")){let r=o.errors,e=m(s["clip-path"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/clip-path/$ref","#/clip-path"))),n++)}if(void 0!==s["clip-rule"]&&r(s,"clip-rule")){let r=o.errors,e=m(s["clip-rule"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/clip-rule/$ref","#/clip-rule"))),n++)}if(void 0!==s.color&&r(s,"color")){let r=o.errors,e=L(s.color),i=L.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/color/$ref","#/color"))),n++)}if(void 0!==s["color-interpolation"]&&r(s,"color-interpolation")){let r=o.errors,e=m(s["color-interpolation"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/color-interpolation/$ref","#/color-interpolation"))),n++)}if(void 0!==s["color-interpolation-filters"]&&r(s,"color-interpolation-filters")){let r=o.errors,e=m(s["color-interpolation-filters"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/color-interpolation-filters/$ref","#/color-interpolation-filters"))),n++)}if(void 0!==s.crossorigin&&r(s,"crossorigin")){let r=o.errors,e=m(s.crossorigin),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/crossorigin/$ref","#/crossorigin"))),n++)}if(void 0!==s.cx&&r(s,"cx")){let r=o.errors,e=m(s.cx),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/cx/$ref","#/cx"))),n++)}if(void 0!==s.cy&&r(s,"cy")){let r=o.errors,e=m(s.cy),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/cy/$ref","#/cy"))),n++)}if(void 0!==s.d&&r(s,"d")){let r=o.errors,e=k(s.d),i=k.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/d/$ref","#/d"))),n++)}if(void 0!==s.decoding&&r(s,"decoding")){let r=o.errors,e=m(s.decoding),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/decoding/$ref","#/decoding"))),n++)}if(void 0!==s.diffuseConstant&&r(s,"diffuseConstant")){let r=o.errors,e=m(s.diffuseConstant),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/diffuseConstant/$ref","#/diffuseConstant"))),n++)}if(void 0!==s.direction&&r(s,"direction")){let r=o.errors,e=m(s.direction),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/direction/$ref","#/direction"))),n++)}if(void 0!==s.display&&r(s,"display")){let r=o.errors,e=m(s.display),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/display/$ref","#/display"))),n++)}if(void 0!==s.divisor&&r(s,"divisor")){let r=o.errors,e=m(s.divisor),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/divisor/$ref","#/divisor"))),n++)}if(void 0!==s["dominant-baseline"]&&r(s,"dominant-baseline")){let r=o.errors,e=m(s["dominant-baseline"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/dominant-baseline/$ref","#/dominant-baseline"))),n++)}if(void 0!==s.dx&&r(s,"dx")){let r=o.errors,e=m(s.dx),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/dx/$ref","#/dx"))),n++)}if(void 0!==s.dy&&r(s,"dy")){let r=o.errors,e=m(s.dy),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/dy/$ref","#/dy"))),n++)}if(void 0!==s.edgeMode&&r(s,"edgeMode")){let r=o.errors,e=m(s.edgeMode),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/edgeMode/$ref","#/edgeMode"))),n++)}if(void 0!==s.elevation&&r(s,"elevation")){let r=o.errors,e=m(s.elevation),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/elevation/$ref","#/elevation"))),n++)}
1if(void 0!==s.exponent&&r(s,"exponent")){let r=o.errors,e=m(s.exponent),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/exponent/$ref","#/exponent"))),n++)}if(void 0!==s.fill&&r(s,"fill")){let r=o.errors,e=L(s.fill),i=L.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/fill/$ref","#/fill"))),n++)}if(void 0!==s["fill-opacity"]&&r(s,"fill-opacity")){let r=o.errors,e=m(s["fill-opacity"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/fill-opacity/$ref","#/fill-opacity"))),n++)}if(void 0!==s["fill-rule"]&&r(s,"fill-rule")){let r=o.errors,e=m(s["fill-rule"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/fill-rule/$ref","#/fill-rule"))),n++)}if(void 0!==s.filter&&r(s,"filter")){let r=o.errors,e=m(s.filter),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/filter/$ref","#/filter"))),n++)}if(void 0!==s.filterUnits&&r(s,"filterUnits")){let r=o.errors,e=m(s.filterUnits),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/filterUnits/$ref","#/filterUnits"))),n++)}if(void 0!==s["flood-color"]&&r(s,"flood-color")){let r=o.errors,e=L(s["flood-color"]),i=L.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/flood-color/$ref","#/flood-color"))),n++)}if(void 0!==s["flood-opacity"]&&r(s,"flood-opacity")){let r=o.errors,e=m(s["flood-opacity"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/flood-opacity/$ref","#/flood-opacity"))),n++)}if(void 0!==s["font-family"]&&r(s,"font-family")){let e=null;!(()=>{let r=0,e=o.errors,i=m(s["font-family"]),n=m.errors;return o.errors=e,!i&&(null===o.errors&&(o.errors=[]),o.errors.push(...n.map(r=>t(r,"#/properties/font-family/anyOf/0/$ref","#/font-family"))),r++),0===r})()&&!(()=>{let o=0;if("object"==typeof s["font-family"]&&s["font-family"]&&!Array.isArray(s["font-family"]))for(let t of(!(void 0!==s["font-family"].type&&r(s["font-family"],"type"))&&(null===e&&(e=[]),e.push({keywordLocation:"#/properties/font-family/anyOf/1/required",instanceLocation:"#/font-family/type"}),o++),!(void 0!==s["font-family"].name&&r(s["font-family"],"name"))&&(null===e&&(e=[]),e.push({keywordLocation:"#/properties/font-family/anyOf/1/required",instanceLocation:"#/font-family/name"}),o++),void 0!==s["font-family"].type&&r(s["font-family"],"type")&&"variable"!==s["font-family"].type&&(null===e&&(e=[]),e.push({keywordLocation:"#/properties/font-family/anyOf/1/properties/type/const",instanceLocation:"#/font-family/type"}),o++),void 0!==s["font-family"].name&&r(s["font-family"],"name")&&"fontFamily"!==s["font-family"].name&&(null===e&&(e=[]),e.push({keywordLocation:"#/properties/font-family/anyOf/1/properties/name/const",instanceLocation:"#/font-family/name"}),o++),Object.keys(s["font-family"])))"type"!==t&&"name"!==t&&(null===e&&(e=[]),e.push({keywordLocation:"#/properties/font-family/anyOf/1/additionalProperties",instanceLocation:"#/font-family/"+i(t)}),o++);else null===e&&(e=[]),e.push({keywordLocation:"#/properties/font-family/anyOf/1/type",instanceLocation:"#/font-family"}),o++;return 0===o})()&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/font-family/anyOf",instanceLocation:"#/font-family"}),e&&o.errors.push(...e),n++)}if(void 0!==s["font-size"]&&r(s,"font-size")){let r=o.errors,e=m(s["font-size"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/font-size/$ref","#/font-size"))),n++)}if(void 0!==s["font-size-adjust"]&&r(s,"font-size-adjust")){let r=o.errors,e=m(s["font-size-adjust"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/font-size-adjust/$ref","#/font-size-adjust"))),n++)}if(void 0!==s["font-style"]&&r(s,"font-style")){let r=o.errors,e=m(s["font-style"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/font-style/$ref","#/font-style"))),n++)}if(void 0!==s["font-variant"]&&r(s,"font-variant")){let r=o.errors,e=m(s["font-variant"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/font-variant/$ref","#/font-variant"))),n++)}if(void 0!==s["font-weight"]&&r(s,"font-weight")){let e=null;!(()=>{let r=0,e=o.errors,i=m(s["font-weight"]),n=m.errors;return o.errors=e,!i&&(null===o.errors&&(o.errors=[]),o.errors.push(...n.map(r=>
1t(r,"#/properties/font-weight/anyOf/0/$ref","#/font-weight"))),r++),0===r})()&&!(()=>{let o=0;if("object"==typeof s["font-weight"]&&s["font-weight"]&&!Array.isArray(s["font-weight"]))for(let t of(!(void 0!==s["font-weight"].type&&r(s["font-weight"],"type"))&&(null===e&&(e=[]),e.push({keywordLocation:"#/properties/font-weight/anyOf/1/required",instanceLocation:"#/font-weight/type"}),o++),!(void 0!==s["font-weight"].name&&r(s["font-weight"],"name"))&&(null===e&&(e=[]),e.push({keywordLocation:"#/properties/font-weight/anyOf/1/required",instanceLocation:"#/font-weight/name"}),o++),void 0!==s["font-weight"].type&&r(s["font-weight"],"type")&&"variable"!==s["font-weight"].type&&(null===e&&(e=[]),e.push({keywordLocation:"#/properties/font-weight/anyOf/1/properties/type/const",instanceLocation:"#/font-weight/type"}),o++),void 0!==s["font-weight"].name&&r(s["font-weight"],"name")&&"fontWeight"!==s["font-weight"].name&&(null===e&&(e=[]),e.push({keywordLocation:"#/properties/font-weight/anyOf/1/properties/name/const",instanceLocation:"#/font-weight/name"}),o++),Object.keys(s["font-weight"])))"type"!==t&&"name"!==t&&(null===e&&(e=[]),e.push({keywordLocation:"#/properties/font-weight/anyOf/1/additionalProperties",instanceLocation:"#/font-weight/"+i(t)}),o++);else null===e&&(e=[]),e.push({keywordLocation:"#/properties/font-weight/anyOf/1/type",instanceLocation:"#/font-weight"}),o++;return 0===o})()&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/font-weight/anyOf",instanceLocation:"#/font-weight"}),e&&o.errors.push(...e),n++)}if(void 0!==s.fx&&r(s,"fx")){let r=o.errors,e=m(s.fx),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/fx/$ref","#/fx"))),n++)}if(void 0!==s.fy&&r(s,"fy")){let r=o.errors,e=m(s.fy),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/fy/$ref","#/fy"))),n++)}if(void 0!==s.gradientTransform&&r(s,"gradientTransform")){let r=o.errors,e=m(s.gradientTransform),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/gradientTransform/$ref","#/gradientTransform"))),n++)}if(void 0!==s.gradientUnits&&r(s,"gradientUnits")){let r=o.errors,e=m(s.gradientUnits),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/gradientUnits/$ref","#/gradientUnits"))),n++)}if(void 0!==s.height&&r(s,"height")){let r=o.errors,e=m(s.height),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/height/$ref","#/height"))),n++)}if(void 0!==s.href&&r(s,"href")){let r=null;!(()=>{let o=0;if("string"!=typeof s.href)null===r&&(r=[]),r.push({keywordLocation:"#/properties/href/anyOf/0/type",instanceLocation:"#/href"}),o++;else{let t=o;s.href.length>128&&e(s.href)>128&&(null===r&&(r=[]),r.push({keywordLocation:"#/properties/href/anyOf/0/maxLength",instanceLocation:"#/href"}),o++),o===t&&!g.test(s.href)&&(null===r&&(r=[]),r.push({keywordLocation:"#/properties/href/anyOf/0/pattern",instanceLocation:"#/href"}),o++)}return 0===o})()&&!(()=>{let o=0;if("string"!=typeof s.href)null===r&&(r=[]),r.push({keywordLocation:"#/properties/href/anyOf/1/type",instanceLocation:"#/href"}),o++;else{let t=o;s.href.length>262144&&e(s.href)>262144&&(null===r&&(r=[]),r.push({keywordLocation:"#/properties/href/anyOf/1/maxLength",instanceLocation:"#/href"}),o++),o===t&&!w.test(s.href)&&(null===r&&(r=[]),r.push({keywordLocation:"#/properties/href/anyOf/1/pattern",instanceLocation:"#/href"}),o++)}return 0===o})()&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/href/anyOf",instanceLocation:"#/href"}),r&&o.errors.push(...r),n++)}if(void 0!==s.id&&r(s,"id")){let r=o.errors,e=m(s.id),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/id/$ref","#/id"))),n++)}if(void 0!==s["image-rendering"]&&r(s,"image-rendering")){let r=o.errors,e=m(s["image-rendering"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/image-rendering/$ref","#/image-rendering"))),n++)}if(void 0!==s.in&&r(s,"in")){let r=o.errors,e=m(s.in),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/in/$ref","#/in"))),n++)}if(void 0!==s.in2&&r(s,"in2")){let r=o.errors,e=m(s.in2),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/in2/$ref","#/in2"))),n++)}if(void 0!==s.intercept&&r(s,"intercept")){let r=o.errors,e=m(s.intercept),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/intercept/$ref","#/intercept"))),n++)}if(void 0!==s.k1&&r(s,"k1")){let r=o.errors,e=m(s.k1),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/k1/$ref","#/k1"))),n++)}if(void 0!==s.k2&&r(s,"k2")){let r=o.errors,e=m(s.k2),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/k2/$ref","#/k2"))),n++)}if(void 0!==s.k3&&r(s,"k3")){let r=o.errors,e=m(s.k3),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/k3/$ref","#/k3"))),n++)}if(void 0!==s.k4&&r(s,"k4")){let r=o.errors,e=m(s.k4),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/k4/$ref","#/k4"))),n++)}if(void 0!==s.kernelMatrix&&r(s,"kernelMatrix")){let r=o.errors,e=m(s.kernelMatrix),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/kernelMatrix/$ref","#/kernelMatrix"))),n++)}if(void 0!==s.kernelUnitLength&&r(s,"kernelUnitLength")){let r=o.errors,e=m(s.kernelUnitLength),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/kernelUnitLength/$ref","#/kernelUnitLength"))),n++)}if(void 0!==s.lang&&r(s,"lang")){let r=o.errors,e=m(s.lang),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/lang/$ref","#/lang"))),n++)}if(void 0!==s.lengthAdjust&&r(s,"lengthAdjust")){let r=o.errors,e=m(s.lengthAdjust),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/lengthAdjust/$ref","#/lengthAdjust"))),n++)}if(void 0!==s["letter-spacing"]&&r(s,"letter-spacing")){let r=o.errors,e=m(s["letter-spacing"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/letter-spacing/$ref","#/letter-spacing"))),n++)}if(void 0!==s["lighting-color"]&&r(s,"lighting-color")){let r=o.errors,e=L(s["lighting-color"]),i=L.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/lighting-color/$ref","#/lighting-color"))),n++)}if(void 0!==s["marker-end"]&&r(s,"marker-end")){let r=o.errors,e=m(s["marker-end"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/marker-end/$ref","#/marker-end"))),n++)}if(void 0!==s["marker-mid"]&&r(s,"marker-mid")){let r=o.errors,e=m(s["marker-mid"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/marker-mid/$ref","#/marker-mid"))),n++)}if(void 0!==s["marker-start"]&&r(s,"marker-start")){let r=o.errors,e=m(s["marker-start"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/marker-start/$ref","#/marker-start"))),n++)}if(void 0!==s.markerHeight&&r(s,"markerHeight")){let r=o.errors,e=m(s.markerHeight),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/markerHeight/$ref","#/markerHeight"))),n++)}if(void 0!==s.markerUnits&&r(s,"markerUnits")){let r=o.errors,e=m(s.markerUnits),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/markerUnits/$ref","#/markerUnits"))),n++)}if(void 0!==s.markerWidth&&r(s,"markerWidth")){let r=o.errors,e=m(s.markerWidth),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/markerWidth/$ref","#/markerWidth"))),n++)}if(void 0!==s.mask&&r(s,"mask")){let r=o.errors,e=m(s.mask),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/mask/$ref","#/mask"))),n++)}if(void 0!==s.maskContentUnits&&r(s,"maskContentUnits")){let r=o.errors,e=m(s.maskContentUnits),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/maskContentUnits/$ref","#/maskContentUnits"))),n++)}if(void 0!==s.maskUnits&&r(s,"maskUnits")){let r=o.errors,e=m(s.maskUnits),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/maskUnits/$ref","#/maskUnits"))),n++)}if(void 0!==s.media&&r(s,"media")){let r=o.errors,e=m(s.media),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/media/$ref","#/media"))),n++)}if(void 0!==s.method&&r(s,"method")){let r=o.errors,e=m(s.method),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/method/$ref","#/method"))),n++)}if(void 0!==s.mode&&r(s,"mode")){let r=o.errors,e=m(s.mode),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/mode/$ref","#/mode"))),n++)}if(void 0!==s.numOctaves&&r(s,"numOctaves")){let r=o.errors,e=m(s.numOctaves),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/numOctaves/$ref","#/numOctaves"))),n++)}if(void 0!==s.offset&&r(s,"offset")){let r=o.errors,e=m(s.offset),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/offset/$ref","#/offset"))),n++)}if(void 0!==s.opacity&&r(s,"opacity")){let r=o.errors,e=m(s.opacity),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/opacity/$ref","#/opacity"))),n++)}if(void 0!==s.operator&&r(s,"operator")){let r=o.errors,e=m(s.operator),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/operator/$ref","#/operator"))),n++)}if(void 0!==s.order&&r(s,"order")){let r=o.errors,e=m(s.order),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/order/$ref","#/order"))),n++)}if(void 0!==s.orient&&r(s,"orient")){let r=o.errors,e=m(s.orient),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/orient/$ref","#/orient"))),n++)}if(void 0!==s.overflow&&r(s,"overflow")){let r=o.errors,e=m(s.overflow),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/overflow/$ref","#/overflow"))),n++)}if(void 0!==s["paint-order"]&&r(s,"paint-order")){let r=o.errors,e=m(s["paint-order"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/paint-order/$ref","#/paint-order"))),n++)}if(void 0!==s.path&&r(s,"path")){let r=o.errors,e=m(s.path),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/path/$ref","#/path"))),n++)}if(void 0!==s.pathLength&&r(s,"pathLength")){let r=o.errors,e=m(s.pathLength),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>
1t(r,"#/properties/pathLength/$ref","#/pathLength"))),n++)}if(void 0!==s.patternContentUnits&&r(s,"patternContentUnits")){let r=o.errors,e=m(s.patternContentUnits),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/patternContentUnits/$ref","#/patternContentUnits"))),n++)}if(void 0!==s.patternTransform&&r(s,"patternTransform")){let r=o.errors,e=m(s.patternTransform),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/patternTransform/$ref","#/patternTransform"))),n++)}if(void 0!==s.patternUnits&&r(s,"patternUnits")){let r=o.errors,e=m(s.patternUnits),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/patternUnits/$ref","#/patternUnits"))),n++)}if(void 0!==s.points&&r(s,"points")){let r=o.errors,e=m(s.points),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/points/$ref","#/points"))),n++)}if(void 0!==s.preserveAlpha&&r(s,"preserveAlpha")){let r=o.errors,e=m(s.preserveAlpha),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/preserveAlpha/$ref","#/preserveAlpha"))),n++)}if(void 0!==s.preserveAspectRatio&&r(s,"preserveAspectRatio")){let r=o.errors,e=m(s.preserveAspectRatio),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/preserveAspectRatio/$ref","#/preserveAspectRatio"))),n++)}if(void 0!==s.primitiveUnits&&r(s,"primitiveUnits")){let r=o.errors,e=m(s.primitiveUnits),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/primitiveUnits/$ref","#/primitiveUnits"))),n++)}if(void 0!==s.r&&r(s,"r")){let r=o.errors,e=m(s.r),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/r/$ref","#/r"))),n++)}if(void 0!==s.radius&&r(s,"radius")){let r=o.errors,e=m(s.radius),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/radius/$ref","#/radius"))),n++)}if(void 0!==s.refX&&r(s,"refX")){let r=o.errors,e=m(s.refX),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/refX/$ref","#/refX"))),n++)}if(void 0!==s.refY&&r(s,"refY")){let r=o.errors,e=m(s.refY),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/refY/$ref","#/refY"))),n++)}if(void 0!==s.result&&r(s,"result")){let r=o.errors,e=m(s.result),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/result/$ref","#/result"))),n++)}if(void 0!==s.rx&&r(s,"rx")){let r=o.errors,e=m(s.rx),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/rx/$ref","#/rx"))),n++)}if(void 0!==s.ry&&r(s,"ry")){let r=o.errors,e=m(s.ry),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/ry/$ref","#/ry"))),n++)}if(void 0!==s.scale&&r(s,"scale")){let r=o.errors,e=m(s.scale),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/scale/$ref","#/scale"))),n++)}if(void 0!==s.seed&&r(s,"seed")){let r=o.errors,e=m(s.seed),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/seed/$ref","#/seed"))),n++)}if(void 0!==s["shape-rendering"]&&r(s,"shape-rendering")){let r=o.errors,e=m(s["shape-rendering"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/shape-rendering/$ref","#/shape-rendering"))),n++)}if(void 0!==s.slope&&r(s,"slope")){let r=o.errors,e=m(s.slope),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/slope/$ref","#/slope"))),n++)}if(void 0!==s.specularConstant&&r(s,"specularConstant")){let r=o.errors,e=m(s.specularConstant),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/specularConstant/$ref","#/specularConstant"))),n++)}if(void 0!==s.specularExponent&&r(s,"specularExponent")){let r=o.errors,e=m(s.specularExponent),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/specularExponent/$ref","#/specularExponent"))),n++)}if(void 0!==s.spreadMethod&&r(s,"spreadMethod")){let r=o.errors,e=m(s.spreadMethod),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/spreadMethod/$ref","#/spreadMethod"))),n++)}if(void 0!==s.startOffset&&r(s,"startOffset")){let r=o.errors,e=m(s.startOffset),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/startOffset/$ref","#/startOffset"))),n++)}if(void 0!==s.stdDeviation&&r(s,"stdDeviation")){let r=o.errors,e=m(s.stdDeviation),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/stdDeviation/$ref","#/stdDeviation"))),n++)}if(void 0!==s.stitchTiles&&r(s,"stitchTiles")){let r=o.errors,e=m(s.stitchTiles),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/stitchTiles/$ref","#/stitchTiles"))),n++)}if(void 0!==s["stop-color"]&&r(s,"stop-color")){let r=o.errors,e=L(s["stop-color"]),i=L.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/stop-color/$ref","#/stop-color"))),n++)}if(void 0!==s["stop-opacity"]&&r(s,"stop-opacity")){let r=o.errors,e=m(s["stop-opacity"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/stop-opacity/$ref","#/stop-opacity"))),n++)}if(void 0!==s.stroke&&r(s,"stroke")){let r=o.errors,e=L(s.stroke),i=L.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/stroke/$ref","#/stroke"))),n++)}if(void 0!==s["stroke-dasharray"]&&r(s,"stroke-dasharray")){let r=o.errors,e=m(s["stroke-dasharray"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/stroke-dasharray/$ref","#/stroke-dasharray"))),n++)}if(void 0!==s["stroke-dashoffset"]&&r(s,"stroke-dashoffset")){let r=o.errors,e=m(s["stroke-dashoffset"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/stroke-dashoffset/$ref","#/stroke-dashoffset"))),n++)}if(void 0!==s["stroke-linecap"]&&r(s,"stroke-linecap")){let r=o.errors,e=m(s["stroke-linecap"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/stroke-linecap/$ref","#/stroke-linecap"))),n++)}if(void 0!==s["stroke-linejoin"]&&r(s,"stroke-linejoin")){let r=o.errors,e=m(s["stroke-linejoin"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/stroke-linejoin/$ref","#/stroke-linejoin"))),n++)}if(void 0!==s["stroke-miterlimit"]&&r(s,"stroke-miterlimit")){let r=o.errors,e=m(s["stroke-miterlimit"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/stroke-miterlimit/$ref","#/stroke-miterlimit"))),n++)}if(void 0!==s["stroke-opacity"]&&r(s,"stroke-opacity")){let r=o.errors,e=m(s["stroke-opacity"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/stroke-opacity/$ref","#/stroke-opacity"))),n++)}if(void 0!==s["stroke-width"]&&r(s,"stroke-width")){let r=o.errors,e=m(s["stroke-width"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/stroke-width/$ref","#/stroke-width"))),n++)}if(void 0!==s.style&&r(s,"style")){let r=o.errors,e=A(s.style),i=A.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/style/$ref","#/style"))),n++)}if(void 0!==s.surfaceScale&&r(s,"surfaceScale")){let r=o.errors,e=m(s.surfaceScale),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/surfaceScale/$ref","#/surfaceScale"))),n++)}if(void 0!==s.systemLanguage&&r(s,"systemLanguage")){let r=o.errors,e=m(s.systemLanguage),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/systemLanguage/$ref","#/systemLanguage"))),n++)}if(void 0!==s.tabindex&&r(s,"tabindex")){let r=o.errors,e=m(s.tabindex),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/tabindex/$ref","#/tabindex"))),n++)}if(void 0!==s.tableValues&&r(s,"tableValues")){let r=o.errors,e=m(s.tableValues),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/tableValues/$ref","#/tableValues"))),n++)}if(void 0!==s.targetX&&r(s,"targetX")){let r=o.errors,e=m(s.targetX),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/targetX/$ref","#/targetX"))),n++)}if(void 0!==s.targetY&&r(s,"targetY")){let r=o.errors,e=m(s.targetY),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/targetY/$ref","#/targetY"))),n++)}if(void 0!==s["text-anchor"]&&r(s,"text-anchor")){let r=o.errors,e=m(s["text-anchor"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/text-anchor/$ref","#/text-anchor"))),n++)}if(void 0!==s["text-decoration"]&&r(s,"text-decoration")){let r=o.errors,e=m(s["text-decoration"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/text-decoration/$ref","#/text-decoration"))),n++)}if(void 0!==s["text-rendering"]&&r(s,"text-rendering")){let r=o.errors,e=m(s["text-rendering"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/text-rendering/$ref","#/text-rendering"))),n++)}if(void 0!==s.textLength&&r(s,"textLength")){let r=o.errors,e=m(s.textLength),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/textLength/$ref","#/textLength"))),n++)}if(void 0!==s.transform&&r(s,"transform")){let r=o.errors,e=m(s.transform),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/transform/$ref","#/transform"))),n++)}if(void 0!==s["transform-origin"]&&r(s,"transform-origin")){let r=o.errors,e=m(s["transform-origin"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/transform-origin/$ref","#/transform-origin"))),n++)}if(void 0!==s.type&&r(s,"type")){let r=o.errors,e=m(s.type),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/type/$ref","#/type"))),n++)}if(void 0!==s.values&&r(s,"values")){let r=o.errors,e=m(s.values),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/values/$ref","#/values"))),n++)}if(void 0!==s.viewBox&&r(s,"viewBox")){let r=o.errors,e=m(s.viewBox),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/viewBox/$ref","#/viewBox"))),n++)}if(void 0!==s.visibility&&r(s,"visibility")){let r=o.errors,e=m(s.visibility),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/visibility/$ref","#/visibility"))),n++)}if(void 0!==s.width&&r(s,"width")){let r=o.errors,e=m(s.width),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/width/$ref","#/width"))),n++)}if(void 0!==s["word-spacing"]&&r(s,"word-spacing")){let r=o.errors,e=m(s["word-spacing"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/word-spacing/$ref","#/word-spacing"))),n++)}if(void 0!==s["writing-mode"]&&r(s,"writing-mode")){let r=o.errors,e=m(s["writing-mode"]),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/writing-mode/$ref","#/writing-mode"))),n++)}if(void 0!==s.x&&r(s,"x")){let r=o.errors,e=m(s.x),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/x/$ref","#/x"))),n++)}if(void 0!==s.x1&&r(s,"x1")){let r=o.errors,e=m(s.x1),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/x1/$ref","#/x1"))),n++)}if(void 0!==s.x2&&r(s,"x2")){let r=o.errors,e=m(s.x2),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/x2/$ref","#/x2"))),n++)}if(void 0!==s.xChannelSelector&&r(s,"xChannelSelector")){let r=o.errors,e=m(s.xChannelSelector),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/xChannelSelector/$ref","#/xChannelSelector"))),n++)}if(void 0!==s.y&&r(s,"y")){let r=o.errors,e=m(s.y),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/y/$ref","#/y"))),n++)}if(void 0!==s.y1&&r(s,"y1")){let r=o.errors,e=m(s.y1),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/y1/$ref","#/y1"))),n++)}if(void 0!==s.y2&&r(s,"y2")){let r=o.errors,e=m(s.y2),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/y2/$ref","#/y2"))),n++)}if(void 0!==s.yChannelSelector&&r(s,"yChannelSelector")){let r=o.errors,e=m(s.yChannelSelector),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/yChannelSelector/$ref","#/yChannelSelector"))),n++)}if(void 0!==s.z&&r(s,"z")){let r=o.errors,e=m(s.z),i=m.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/z/$ref","#/z"))),n++)}for(let r of Object.keys(s))"alignment-baseline"!==r&&"amplitude"!==r&&"azimuth"!==r&&"baseFrequency"!==r&&"baseline-shift"!==r&&"bias"!==r&&"class"!==r&&"clipPathUnits"!==r&&"clip-path"!==r&&"clip-rule"!==r&&"color"!==r&&"color-interpolation"!==r&&"color-interpolation-filters"!==r&&"crossorigin"!==r&&"cx"!==r&&"cy"!==r&&"d"!==r&&"decoding"!==r&&"diffuseConstant"!==r&&"direction"!==r&&"display"!==r&&"divisor"!==r&&"dominant-baseline"!==r&&"dx"!==r&&"dy"!==r&&"edgeMode"!==r&&"elevation"!==r&&"exponent"!==r&&"fill"!==r&&"fill-opacity"!==r&&"fill-rule"!==r&&"filter"!==r&&"filterUnits"!==r&&"flood-color"!==r&&"flood-opacity"!==r&&"font-family"!==r&&"font-size"!==r&&"font-size-adjust"!==r&&"font-style"!==r&&"font-variant"!==r&&"font-weight"!==r&&"fx"!==r&&"fy"!==r&&"gradientTransform"!==r&&"gradientUnits"!==r&&"height"!==r&&"href"!==r&&"id"!==r&&"image-rendering"!==r&&"in"!==r&&"in2"!==r&&"intercept"!==r&&"k1"!==r&&"k2"!==r&&"k3"!==r&&"k4"!==r&&"kernelMatrix"!==r&&"kernelUnitLength"!==r&&"lang"!==r&&"lengthAdjust"!==r&&"letter-spacing"!==r&&"lighting-color"!==r&&"marker-end"!==r&&"marker-mid"!==r&&"marker-start"!==r&&"markerHeight"!==r&&"markerUnits"!==r&&"markerWidth"!==r&&"mask"!==r&&"maskContentUnits"!==r&&"maskUnits"!==r&&"media"!==r&&"method"
1!==r&&"mode"!==r&&"numOctaves"!==r&&"offset"!==r&&"opacity"!==r&&"operator"!==r&&"order"!==r&&"orient"!==r&&"overflow"!==r&&"paint-order"!==r&&"path"!==r&&"pathLength"!==r&&"patternContentUnits"!==r&&"patternTransform"!==r&&"patternUnits"!==r&&"points"!==r&&"preserveAlpha"!==r&&"preserveAspectRatio"!==r&&"primitiveUnits"!==r&&"r"!==r&&"radius"!==r&&"refX"!==r&&"refY"!==r&&"result"!==r&&"rx"!==r&&"ry"!==r&&"scale"!==r&&"seed"!==r&&"shape-rendering"!==r&&"slope"!==r&&"specularConstant"!==r&&"specularExponent"!==r&&"spreadMethod"!==r&&"startOffset"!==r&&"stdDeviation"!==r&&"stitchTiles"!==r&&"stop-color"!==r&&"stop-opacity"!==r&&"stroke"!==r&&"stroke-dasharray"!==r&&"stroke-dashoffset"!==r&&"stroke-linecap"!==r&&"stroke-linejoin"!==r&&"stroke-miterlimit"!==r&&"stroke-opacity"!==r&&"stroke-width"!==r&&"style"!==r&&"surfaceScale"!==r&&"systemLanguage"!==r&&"tabindex"!==r&&"tableValues"!==r&&"targetX"!==r&&"targetY"!==r&&"text-anchor"!==r&&"text-decoration"!==r&&"text-rendering"!==r&&"textLength"!==r&&"transform"!==r&&"transform-origin"!==r&&"type"!==r&&"values"!==r&&"viewBox"!==r&&"visibility"!==r&&"width"!==r&&"word-spacing"!==r&&"writing-mode"!==r&&"x"!==r&&"x1"!==r&&"x2"!==r&&"xChannelSelector"!==r&&"y"!==r&&"y1"!==r&&"y2"!==r&&"yChannelSelector"!==r&&"z"!==r&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+i(r)}),n++)}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),n++;return 0===n},P=function o(s){o.errors=null;let t=0;if("object"==typeof s&&s&&!Array.isArray(s)){if(!(void 0!==s.type&&r(s,"type"))&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/required",instanceLocation:"#/type"}),t++),!(void 0!==s.value&&r(s,"value"))&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/required",instanceLocation:"#/value"}),t++),void 0!==s.type&&r(s,"type")&&"text"!==s.type&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/type/const",instanceLocation:"#/type"}),t++),void 0!==s.value&&r(s,"value")){let n,a=null;n=0,"string"!=typeof s.value?(null===a&&(a=[]),a.push({keywordLocation:"#/properties/value/anyOf/0/type",instanceLocation:"#/value"}),n++):s.value.length>4096&&e(s.value)>4096&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/value/anyOf/0/maxLength",instanceLocation:"#/value"}),n++),0!==n&&!(()=>{let e=0;if("object"==typeof s.value&&s.value&&!Array.isArray(s.value))for(let o of(!(void 0!==s.value.type&&r(s.value,"type"))&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/value/anyOf/1/required",instanceLocation:"#/value/type"}),e++),!(void 0!==s.value.name&&r(s.value,"name"))&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/value/anyOf/1/required",instanceLocation:"#/value/name"}),e++),void 0!==s.value.type&&r(s.value,"type")&&"variable"!==s.value.type&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/value/anyOf/1/properties/type/const",instanceLocation:"#/value/type"}),e++),void 0!==s.value.name&&r(s.value,"name")&&"initial"!==s.value.name&&"initials"!==s.value.name&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/value/anyOf/1/properties/name/enum",instanceLocation:"#/value/name"}),e++),Object.keys(s.value)))"type"!==o&&"name"!==o&&(null===a&&(a=[]),a.push({keywordLocation:"#/properties/value/anyOf/1/additionalProperties",instanceLocation:"#/value/"+i(o)}),e++);else null===a&&(a=[]),a.push({keywordLocation:"#/properties/value/anyOf/1/type",instanceLocation:"#/value"}),e++;return 0===e})()&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/value/anyOf",instanceLocation:"#/value"}),a&&o.errors.push(...a),t++)}for(let r of Object.keys(s))"type"!==r&&"value"!==r&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+i(r)}),t++)}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),t++;return 0===t},U=function r(e){r.errors=null;let o=0,s=r.errors,i=y(e),n=y.errors;return r.errors=s,!i&&(null===r.errors&&(r.errors=[]),r.errors.push(...n.map(r=>t(r,"#/allOf/0/$ref","#"))),o++),0===o},q=function e(o){e.errors=null;let s=0;if("object"==typeof o&&o&&!Array.isArray(o)){if(!(void 0!==o.type&&r(o,"type"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/required",instanceLocation:"#/type"}),s++),!(void 0!==o.name&&r(o,"name"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/required",instanceLocation:"#/name"}),s++),void 0!==o.type&&r(o,"type")&&"component"!==o.type&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/type/const",instanceLocation:"#/type"}),s++),void 0!==o.name&&r(o,"name")){let r=e.errors,i=U(o.name),n=U.errors;e.errors=r,!i&&(null===e.errors&&(e.errors=[]),e.errors.push(...n.map(r=>t(r,"#/properties/name/$ref","#/name"))),s++)}if(void 0!==o.attributes&&r(o,"attributes")){let r=e.errors,i=j(o.attributes),n=j.errors;e.errors=r,!i&&(null===e.errors&&(e.errors=[]),e.errors.push(...n.map(r=>t(r,"#/properties/attributes/$ref","#/attributes"))),s++)}for(let r of Object.keys(o))"type"!==r&&"name"!==r&&"attributes"!==r&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+i(r)}),s++)}else null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++;return 0===s},T=function e(o){e.errors=null;let s=0;if("object"==typeof o&&o&&!Array.isArray(o)){if(!(void 0!==o.type&&r(o,"type"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/required",instanceLocation:"#/type"}),s++),!(void 0!==o.name&&r(o,"name"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/required",instanceLocation:"#/name"}),s++),void 0!==o.type&&r(o,"type")&&"element"!==o.type&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/type/const",instanceLocation:"#/type"}),s++),void 0!==o.name&&r(o,"name")&&"style"!==o.name&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/name/const",instanceLocation:"#/name"}),s++),void 0!==o.attributes&&r(o,"attributes")){let r=e.errors,i=j(o.attributes),n=j.errors;e.errors=r,!i&&(null===e.errors&&(e.errors=[]),e.errors.push(...n.map(r=>t(r,"#/properties/attributes/$ref","#/attributes"))),s++)}if(void 0!==o.children&&r(o,"children"))if(Array.isArray(o.children)){o.children.length>64&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/children/maxItems",instanceLocation:"#/children"}),s++);for(let n=0;n<o.children.length;n++)if(void 0!==o.children[n]&&r(o.children,n))if("object"==typeof o.children[n]&&o.children[n]&&!Array.isArray(o.children[n])){if(!(void 0!==o.children[n].type&&r(o.children[n],"type"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/children/items/required",instanceLocation:"#/children/"+n+"/type"}),s++),!(void 0!==o.children[n].value&&r(o.children[n],"value"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/children/items/required",instanceLocation:"#/children/"+n+"/value"}),s++),void 0!==o.children[n].type&&r(o.children[n],"type")&&"text"!==o.children[n].type&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/children/items/properties/type/const",instanceLocation:"#/children/"+n+"/type"}),s++),void 0!==o.children[n].value&&r(o.children[n],"value")){let r=e.errors,i=A(o.children[n].value),a=A.errors;e.errors=r,!i&&(null===e.errors&&(e.errors=[]),e.errors.push(...a.map(r=>t(r,"#/properties/children/items/properties/value/$ref","#/children/"+n+"/value"))),s++)}for(let r of Object.keys(o.children[n]))"type"!==r&&"value"!==r&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/children/items/additionalProperties",instanceLocation:"#/children/"+n+"/"+i(r)}),s++)}else null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/children/items/type",instanceLocation:"#/children/"+n}),s++}else null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/children/type",instanceLocation:"#/children"}),s++;for(let r of Object.keys(o))"type"!==r&&"name"!==r&&"attributes"!==r&&"children"!==r&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+i(r)}),s++)}else null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++;return 0===s},C=function e(o){e.errors=null;let s=0;if("object"==typeof o&&o&&!Array.isArray(o)){if(!(void 0!==o.type&&r(o,"type"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/required",instanceLocation:"#/type"}),s++),!(void 0!==o.name&&r(o,"name"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/required",instanceLocation:"#/name"}),s++),void 0!==o.type&&r(o,"type")&&"element"!==o.type&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/type/const",instanceLocation:"#/type"}),s++),void 0!==o.name&&r(o,"name")&&"circle"!==o.name&&"clipPath"!==o.name&&"defs"!==o.name&&"desc"!==o.name&&"ellipse"!==o.name&&"feBlend"!==o.name&&"feColorMatrix"!==o.name&&"feComponentTransfer"!==o.name&&"feComposite"!==o.name&&"feConvolveMatrix"!==o.name&&"feDiffuseLighting"!==o.name&&"feDisplacementMap"!==o.name&&"feDistantLight"!==o.name&&"feDropShadow"!==o.name&&"feFlood"!==o.name&&"feFuncA"!==o.name&&"feFuncB"!==o.name&&"feFuncG"!==o.name&&"feFuncR"!==o.name&&"feGaussianBlur"!==o.name&&"feImage"!==o.name&&"feMerge"!==o.name&&"feMergeNode"!==o.name&&"feMorphology"!==o.name&&"feOffset"!==o.name&&"fePointLight"!==o.name&&"feSpecularLighting"!==o.name&&"feSpotLight"!==o.name&&"feTile"!==o.name&&"feTurbulence"!==o.name&&"filter"!==o.name&&"g"!==o.name&&"image"!==o.name&&"line"!==o.name&&"linearGradient"!==o.name&&"marker"!==o.name&&"mask"!==o.name&&"metadata"!==o.name&&"mpath"!==o.name&&"path"!==o.name&&"pattern"!==o.name&&"polygon"!==o.name&&"polyline"!==o.name&&"radialGradient"!==o.name&&"rect"!==o.name&&"stop"!==o.name&&"svg"!==o.name&&"switch"!==o.name&&"symbol"!==o.name&&"text"!==o.name&&"textPath"!==o.name&&"title"!==o.name&&"tspan"!==o.name&&"use"!==o.name&&"view"!==o.name&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/name/enum",instanceLocation:"#/name"}),s++),void 0!==o.attributes&&r(o,"attributes")){let r=e.errors,i=j(o.attributes),n=j.errors;e.errors=r,!i&&(null===e.errors&&(e.errors=[]),e.errors.push(...n.map(r=>t(r,"#/properties/attributes/$ref","#/attributes"))),s++)}if(void 0!==o.children&&r(o,"children"))if(Array.isArray(o.children)){o.children.length>1024&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/children/maxItems",instanceLocation:"#/children"}),s++);for(let i=0;i<o.children.length;i++)if(void 0!==o.children[i]&&r(o.children,i)){let r=e.errors,n=E(o.children[i]),a=E.errors;e.errors=r,!n&&(null===e.errors&&(e.errors=[]),e.errors.push(...a.map(r=>t(r,"#/properties/children/items/$ref","#/children/"+i))),s++)}}else null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/children/type",instanceLocation:"#/children"}),s++;for(let r of Object.keys(o))"type"!==r&&"name"!==r&&"attributes"!==r&&"children"!==r&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+i(r)}),s++)}else null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++;return 0===s},E=function r(e){r.errors=null;let o=0;return(()=>{let o=0,s=r.errors,i=P(e),n=P.errors;return r.errors=s,!i&&(null===r.errors&&(r.errors=[]),r.errors.push(...n.map(r=>t(r,"#/anyOf/0/$ref","#"))),o++),0===o})()||!(()=>{let o=0,s=r.errors,i=q(e),n=q.errors;return r.errors=s,!i&&(null===r.errors&&(r.errors=[]),r.errors.push(...n.map(r=>t(r,"#/anyOf/1/$ref","#"))),o++),0===o})()&&!(()=>{let o=0,s=r.errors,i=T(e),n=T.errors;return r.errors=s,!i&&(null===r.errors&&(r.errors=[]),r.errors.push(...n.map(r=>t(r,"#/anyOf/2/$ref","#"))),o++),0===o})()&&!(()=>{let o=0,s=r.errors,i=C(e),n=C.errors;return r.errors=s,!i&&(null===r.errors&&(r.errors=[]),r.errors.push(...n.map(r=>t(r,"#/anyOf/3/$ref","#"))),o++),0===o})()&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/anyOf",instanceLocation:"#"}),o++),0===o},z=function r(e){r.errors=null;let o=0;return"number"!=typeof e?(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),o++):(!(0<=e)&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/minimum",instanceLocation:"#"}),o++),!(100>=e)&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/maximum",instanceLocation:"#"}),o++)),0===o},M=function e(o){e.errors=null;let s=0;if("object"==typeof o&&o&&!Array.isArray(o))for(let t of(!(void 0!==o.min&&r(o,"min"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/required",instanceLocation:"#/min"}),s++),!(void 0!==o.max&&r(o,"max"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/required",instanceLocation:"#/max"}),s++),void 0!==o.min&&r(o,"min")&&("number"!=typeof o.min?(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/min/type",instanceLocation:"#/min"}),s++):(!(-360<=o.min)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/min/minimum",instanceLocation:"#/min"}),s++),!(360>=o.min)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/min/maximum",instanceLocation:"#/min"}),s++))),void 0!==o.max&&r(o,"max")&&("number"!=typeof o.max?(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/max/type",instanceLocation:"#/max"}),s++):(!(-360<=o.max)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/max/minimum",instanceLocation:"#/max"}),s++),!(360>=o.max)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/max/maximum",instanceLocation:"#/max"}),s++))),void 0!==o.step&&r(o,"step")&&("number"!=typeof o.step?(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/step/type",instanceLocation:"#/step"}),s++):(!(0<o.step)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/step/exclusiveMinimum",instanceLocation:"#/step"}),s++),!(720>=o.step)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/step/maximum",instanceLocation:"#/step"}),s++))),Object.keys(o)))"min"!==t&&"max"!==t&&"step"!==t&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+i(t)}),s++);else null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++;return 0===s},R=function e(o){e.errors=null;let s=0;if("object"==typeof o&&o&&!Array.isArray(o))for(let t of(!(void 0!==o.min&&r(o,"min"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/required",instanceLocation:"#/min"}),s++),!(void 0!==o.max&&r(o,"max"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/required",instanceLocation:"#/max"}),s++),void 0!==o.min&&r(o,"min")&&("number"!=typeof o.min?(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/min/type",instanceLocation:"#/min"}),s++):(!(0<=o.min)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/min/minimum",instanceLocation:"#/min"}),s++),!(10>=o.min)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/min/maximum",instanceLocation:"#/min"}),s++))),void 0!==o.max&&r(o,"max")&&("number"!=typeof o.max?(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/max/type",instanceLocation:"#/max"}),s++):(!(0<=o.max)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/max/minimum",instanceLocation:"#/max"}),s++),!(10>=o.max)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/max/maximum",instanceLocation:"#/max"}),s++))),void 0!==o.step&&r(o,"step")&&("number"!=typeof o.step?(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/step/type",instanceLocation:"#/step"}),s++):(!(0<o.step)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/step/exclusiveMinimum",instanceLocation:"#/step"}),s++),!(10>=o.s
1tep)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/step/maximum",instanceLocation:"#/step"}),s++))),Object.keys(o)))"min"!==t&&"max"!==t&&"step"!==t&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+i(t)}),s++);else null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++;return 0===s},S=function e(o){e.errors=null;let s=0;if("object"==typeof o&&o&&!Array.isArray(o))for(let t of(!(void 0!==o.min&&r(o,"min"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/required",instanceLocation:"#/min"}),s++),!(void 0!==o.max&&r(o,"max"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/required",instanceLocation:"#/max"}),s++),void 0!==o.min&&r(o,"min")&&("number"!=typeof o.min?(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/min/type",instanceLocation:"#/min"}),s++):(!(-1e3<=o.min)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/min/minimum",instanceLocation:"#/min"}),s++),!(1e3>=o.min)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/min/maximum",instanceLocation:"#/min"}),s++))),void 0!==o.max&&r(o,"max")&&("number"!=typeof o.max?(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/max/type",instanceLocation:"#/max"}),s++):(!(-1e3<=o.max)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/max/minimum",instanceLocation:"#/max"}),s++),!(1e3>=o.max)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/max/maximum",instanceLocation:"#/max"}),s++))),void 0!==o.step&&r(o,"step")&&("number"!=typeof o.step?(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/step/type",instanceLocation:"#/step"}),s++):(!(0<o.step)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/step/exclusiveMinimum",instanceLocation:"#/step"}),s++),!(2e3>=o.step)&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/properties/step/maximum",instanceLocation:"#/step"}),s++))),Object.keys(o)))"min"!==t&&"max"!==t&&"step"!==t&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+i(t)}),s++);else null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++;return 0===s},F=function e(o){e.errors=null;let s=0;if("object"==typeof o&&o&&!Array.isArray(o)){if(void 0!==o.x&&r(o,"x")){let r=e.errors,i=S(o.x),n=S.errors;e.errors=r,!i&&(null===e.errors&&(e.errors=[]),e.errors.push(...n.map(r=>t(r,"#/properties/x/$ref","#/x"))),s++)}if(void 0!==o.y&&r(o,"y")){let r=e.errors,i=S(o.y),n=S.errors;e.errors=r,!i&&(null===e.errors&&(e.errors=[]),e.errors.push(...n.map(r=>t(r,"#/properties/y/$ref","#/y"))),s++)}for(let r of Object.keys(o))"x"!==r&&"y"!==r&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+i(r)}),s++)}else null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++;return 0===s},I=RegExp("^[a-z][a-zA-Z0-9]*(:[a-z][a-zA-Z0-9]*)?$","u"),D=r=>{if(r.length<2)return!0;if(2===r.length)return!X(r[0],r[1]);let e=[],o=r.length>20?new Set:null,s=0,t=0;for(let i of r){if("object"==typeof i)e.push(i);else if(o){if(o.add(i),o.size!==++s)return!1}else if(-1!==r.indexOf(i,t+1))return!1;t++}for(let r=1;r<e.length;r++)for(let o=0;o<r;o++)if(X(e[r],e[o]))return!1;return!0},X=(r,e)=>{if(r===e)return!0;if(!r||!e||typeof r!=typeof e||r!==e&&"object"!=typeof r)return!1;let o=Object.getPrototypeOf(r);if(o!==Object.getPrototypeOf(e))return!1;if(o===Array.prototype)return!!Array.isArray(r)&&!!Array.isArray(e)&&r.length===e.length&&r.every((r,o)=>X(r,e[o]));if(o===Object.prototype){let[o,s]=[Object.keys(r),Object.keys(e)];return o.length===s.length&&new Set([...o,...s]).size===o.length&&o.every(o=>X(r[o],e[o]))}return!1},B=function o(s){o.errors=null;let n=0;if("object"==typeof s&&s&&!Array.isArray(s)){if(!(void 0!==s.width&&r(s,"width"))&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/required",instanceLocation:"#/width"}),n++),!(void 0!==s.height&&r(s,"height"))&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/required",instanceLocation:"#/
1height"}),n++),!(void 0!==s.variants&&r(s,"variants"))&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/required",instanceLocation:"#/variants"}),n++),void 0!==s.width&&r(s,"width")&&("number"!=typeof s.width?(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/width/type",instanceLocation:"#/width"}),n++):(!(1<=s.width)&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/width/minimum",instanceLocation:"#/width"}),n++),!(1e6>=s.width)&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/width/maximum",instanceLocation:"#/width"}),n++))),void 0!==s.height&&r(s,"height")&&("number"!=typeof s.height?(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/height/type",instanceLocation:"#/height"}),n++):(!(1<=s.height)&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/height/minimum",instanceLocation:"#/height"}),n++),!(1e6>=s.height)&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/height/maximum",instanceLocation:"#/height"}),n++))),void 0!==s.probability&&r(s,"probability")){let r=o.errors,e=z(s.probability),i=z.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/probability/$ref","#/probability"))),n++)}if(void 0!==s.rotate&&r(s,"rotate")){let r=o.errors,e=M(s.rotate),i=M.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/rotate/$ref","#/rotate"))),n++)}if(void 0!==s.scale&&r(s,"scale")){let r=o.errors,e=R(s.scale),i=R.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/scale/$ref","#/scale"))),n++)}if(void 0!==s.translate&&r(s,"translate")){let r=o.errors,e=F(s.translate),i=F.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/translate/$ref","#/translate"))),n++)}if(void 0!==s.variants&&r(s,"variants"))if("object"==typeof s.variants&&s.variants&&!Array.isArray(s.variants)){for(let r of(Object.keys(s.variants).length>512&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/maxProperties",instanceLocation:"#/variants"}),n++),Object.keys(s.variants))){let e=o.errors,s=y(r),a=y.errors;o.errors=e,!s&&(null===o.errors&&(o.errors=[]),o.errors.push(...a.map(e=>t(e,"#/properties/variants/propertyNames/$ref","#/variants/"+i(r)))),n++)}for(let a of Object.keys(s.variants))if("object"==typeof s.variants[a]&&s.variants[a]&&!Array.isArray(s.variants[a])){if(!(void 0!==s.variants[a].elements&&r(s.variants[a],"elements"))&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/required",instanceLocation:"#/variants/"+i(a)+"/elements"}),n++),void 0!==s.variants[a].elements&&r(s.variants[a],"elements"))if(Array.isArray(s.variants[a].elements)){s.variants[a].elements.length>1024&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/elements/maxItems",instanceLocation:"#/variants/"+i(a)+"/elements"}),n++);for(let e=0;e<s.variants[a].elements.length;e++)if(void 0!==s.variants[a].elements[e]&&r(s.variants[a].elements,e)){let r=o.errors,l=E(s.variants[a].elements[e]),p=E.errors;o.errors=r,!l&&(null===o.errors&&(o.errors=[]),o.errors.push(...p.map(r=>t(r,"#/properties/variants/additionalProperties/properties/elements/items/$ref","#/variants/"+i(a)+"elements/"+e))),n++)}}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/elements/type",instanceLocation:"#/variants/"+i(a)+"/elements"}),n++;if(void 0!==s.variants[a].weight&&r(s.variants[a],"weight")&&("number"!=typeof s.variants[a].weight?(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/weight/type",instanceLocation:"#/variants/"+i(a)+"/weight"}),n++):(!(0<=s.variants[a].weight)&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/weight/minimum",instanceLocation:"#/variants/"+i(a)+"/weight"}),n++),!(1e6>=s.variants[a].weight)&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/weight/maximum",instanceLocation:"#/variants/"+i(a)+"/weight"}),n++))),void 0!==s.variants[a].tags&&r(s.variants[a],"tags"))if(Array.isArray(s.variants[a].tags)){let t=n;s.variants[a].tags.length>32&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/tags/maxItems",instanceLocation:"#/variants/"+i(a)+"/tags"}),n++);for(let t=0;t<s.variants[a].tags.length;t++)if(void 0!==s.variants[a].tags[t]&&r(s.variants[a].tags,t))if("string"!=typeof s.variants[a].tags[t])null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/tags/items/type",instanceLocation:"#/variants/"+i(a)+"tags/"+t}),n++;else{let r=n;s.variants[a].tags[t].length>129&&e(s.variants[a].tags[t])>129&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/tags/items/maxLength",instanceLocation:"#/variants/"+i(a)+"tags/"+t}),n++),n===r&&!I.test(s.variants[a].tags[t])&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/tags/items/pattern",
1instanceLocation:"#/variants/"+i(a)+"tags/"+t}),n++)}n===t&&!D(s.variants[a].tags)&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/tags/uniqueItems",instanceLocation:"#/variants/"+i(a)+"/tags"}),n++)}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/properties/tags/type",instanceLocation:"#/variants/"+i(a)+"/tags"}),n++;for(let r of Object.keys(s.variants[a]))"elements"!==r&&"weight"!==r&&"tags"!==r&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/additionalProperties",instanceLocation:"#/variants/"+i(a)+"/"+i(r)}),n++)}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/additionalProperties/type",instanceLocation:"#/variants/"+i(a)}),n++}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/variants/type",instanceLocation:"#/variants"}),n++;for(let r of Object.keys(s))"width"!==r&&"height"!==r&&"probability"!==r&&"rotate"!==r&&"scale"!==r&&"translate"!==r&&"variants"!==r&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+i(r)}),n++)}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),n++;return 0===n},N=function e(o){e.errors=null;let s=0;if("object"==typeof o&&o&&!Array.isArray(o)){if(!(void 0!==o.extends&&r(o,"extends"))&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/required",instanceLocation:"#/extends"}),s++),void 0!==o.extends&&r(o,"extends")){let r=e.errors,i=U(o.extends),n=U.errors;e.errors=r,!i&&(null===e.errors&&(e.errors=[]),e.errors.push(...n.map(r=>t(r,"#/properties/extends/$ref","#/extends"))),s++)}for(let r of Object.keys(o))"extends"!==r&&(null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+i(r)}),s++)}else null===e.errors&&(e.errors=[]),e.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++;return 0===s},Y=RegExp("^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$","u"),V=function r(o){r.errors=null;let s=0;if("string"!=typeof o)null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),s++;else{let t=s;o.length>9&&e(o)>9&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/maxLength",instanceLocation:"#"}),s++),s===t&&!Y.test(o)&&(null===r.errors&&(r.errors=[]),r.errors.push({keywordLocation:"#/pattern",
1instanceLocation:"#"}),s++)}return 0===s};return function o(n){o.errors=null;let a=0;if("object"==typeof n&&n&&!Array.isArray(n)){if(!(void 0!==n.canvas&&r(n,"canvas"))&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/required",instanceLocation:"#/canvas"}),a++),void 0!==n.$id&&r(n,"$id")&&("string"!=typeof n.$id?(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/$id/type",instanceLocation:"#/$id"}),a++):n.$id.length>256&&e(n.$id)>256&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/$id/maxLength",instanceLocation:"#/$id"}),a++)),void 0!==n.$schema&&r(n,"$schema")&&("string"!=typeof n.$schema?(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/$schema/type",instanceLocation:"#/$schema"}),a++):n.$schema.length>256&&e(n.$schema)>256&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/$schema/maxLength",instanceLocation:"#/$schema"}),a++)),void 0!==n.$comment&&r(n,"$comment")&&("string"!=typeof n.$comment?(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/$
1comment/type",instanceLocation:"#/$comment"}),a++):n.$comment.length>4096&&e(n.$comment)>4096&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/$comment/maxLength",instanceLocation:"#/$comment"}),a++)),void 0!==n.meta&&r(n,"meta"))if("object"==typeof n.meta&&n.meta&&!Array.isArray(n.meta)){if(void 0!==n.meta.license&&r(n.meta,"license"))if("object"==typeof n.meta.license&&n.meta.license&&!Array.isArray(n.meta.license)){if(void 0!==n.meta.license.name&&r(n.meta.license,"name")&&("string"!=typeof n.meta.license.name?(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/license/properties/name/type",instanceLocation:"#/meta/license/name"}),a++):n.meta.license.name.length>128&&e(n.meta.license.name)>128&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/license/properties/name/maxLength",instanceLocation:"#/meta/license/name"}),a++)),void 0!==n.meta.license.url&&r(n.meta.license,"url")){let r=o.errors,e=s(n.meta.license.url),i=s.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/meta/properties/license/properties/url/$ref","#/meta/license/url"))),a++)}for(let s of(void 0!==n.meta.license.text&&r(n.meta.license,"text")&&("string"!=typeof n.meta.license.text?(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/license/properties/text/type",instanceLocation:"#/meta/license/text"}),a++):n.meta.license.text.length>32768&&e(n.meta.license.text)>32768&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/license/properties/text/maxLength",instanceLocation:"#/meta/license/text"}),a++)),Object.keys(n.meta.license)))"name"!==s&&"url"!==s&&"text"!==s&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/license/additionalProperties",instanceLocation:"#/meta/license/"+i(s)}),a++)}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/license/type",instanceLocation:"#/meta/license"}),a++;if(void 0!==n.meta.creator&&r(n.meta,"creator"))if("object"==typeof n.meta.creator&&n.meta.creator&&!Array.isArray(n.meta.creator)){if(void 0!==n.meta.creator.name&&r(n.meta.creator,"name")&&("string"!=typeof n.meta.creator.name?(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/creator/properties/name/type",instanceLocation:"#/meta/creator/name"}),a++):n.meta.creator.name.length>128&&e(n.meta.creator.name)>128&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/creator/properties/name/maxLength",instanceLocation:"#/meta/creator/name"}),a++)),void 0!==n.meta.creator.url&&r(n.meta.creator,"url")){let r=o.errors,e=s(n.meta.creator.url),i=s.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/meta/properties/creator/properties/url/$ref","#/meta/creator/url"))),a++)}for(let r of Object.keys(n.meta.creator))"name"!==r&&"url"!==r&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/creator/additionalProperties",instanceLocation:"#/meta/creator/"+i(r)}),a++)}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/creator/type",instanceLocation:"#/meta/creator"}),a++;if(void 0!==n.meta.source&&r(n.meta,"source"))if("object"==typeof n.meta.source&&n.meta.source&&!Array.isArray(n.meta.source)){if(void 0!==n.meta.source.name&&r(n.meta.source,"name")&&("string"!=typeof n.meta.source.name?(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/source/properties/name/type",instanceLocation:"#/meta/source/name"}),a++):n.meta.source.name.length>128&&e(n.meta.source.name)>128&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/source/properties/name/maxLength",instanceLocation:"#/meta/source/name"}),a++)),void 0!==n.meta.source.url&&r(n.meta.source,"url")){let r=o.errors,e=s(n.meta.source.url),i=s.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/meta/properties/source/properties/url/$ref","#/meta/source/url"))),a++)}for(let r of Object.keys(n.meta.source))"name"!==r&&"url"!==r&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/source/additionalProperties",instanceLocation:"#/meta/source/"+i(r)}),a++)}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/properties/source/type",instanceLocation:"#/meta/source"}),a++;for(let r of Object.keys(n.meta))"license"!==r&&"creator"!==r&&"source"!==r&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/additionalProperties",instanceLocation:"#/meta/"+i(r)}),a++)}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/meta/type",instanceLocation:"#/meta"}),a++;if(void 0!==n.attributes&&r(n,"attributes")){let r=o.errors,e=j(n.attributes),s=j.errors;o.errors=r,!e&&(null===o.errors&&(o.errors=[]),o.errors.push(...s.map(r=>t(r,"#/properties/attributes/$ref","#/attributes"))),a++)}if(void 0!==n.canvas&&r(n,"canvas"))if("object"==typeof n.canvas&&n.canvas&&!Array.isArray(n.canvas)){if(!(void 0!==n.canvas.elements&&r(n.canvas,"elements"))&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/canvas/required",instanceLocation:"#/canvas/elements"}),a++),!(void 0!==n.canvas.width&&r(n.canvas,"width"))&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/canvas/required",instanceLocation:"#/canvas/width"}),a++),!(void 0!==n.canvas.height&&r(n.canvas,"height"))&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/canvas/required",instanceLocation:"#/canvas/height"}),a++),void 0!==n.canvas.elements&&r(n.canvas,"elements"))if(Array.isArray(n.canvas.elements)){n.canvas.elements.length>1024&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/canvas/properties/elements/maxItems",instanceLocation:"#/canvas/elements"}),a++);for(let e=0;e<n.canvas.elements.length;e++)if(void 0!==n.canvas.elements[e]&&r(n.canvas.elements,e)){let r=o.errors,s=E(n.canvas.elements[e]),i=E.errors;o.errors=r,!s&&(null===o.errors&&(o.errors=[]),o.errors.push(...i.map(r=>t(r,"#/properties/canvas/properties/elements/items/$ref","#/canvas/elements/"+e))),a++)}}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/canvas/properties/elements/type",instanceLocation:"#/canvas/elements"}),a++;for(let e of(void 0!==n.canvas.width&&r(n.canvas,"width")&&("number"!=typeof n.canvas.width?(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/canvas/properties/width/type",instanceLocation:"#/canvas/width"}),a++):(!(1<=n.canvas.width)&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/canvas/properties/width/minimum",instanceLocation:"#/canvas/width"}),a++),!(1e6>=n.canvas.width)&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/canvas/properties/width/maximum",instanceLocation:"#/canvas/width"}),a++))),void 0!==n.canvas.height&&r(n.canvas,"height")&&("number"!=typeof n.canvas.height?(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/canvas/properties/height/type",instanceLocation:"#/canvas/height"}),a++):(!(1<=n.canvas.height)&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/canvas/properties/height/minimum",instanceLocation:"#/canvas/height"}),a++),!(1e6>=n.canvas.height)&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/canvas/properties/height/maximum",instanceLocation:"#/canvas/height"}),a++))),Object.keys(n.canvas)))"elements"!==e&&"width"!==e&&"height"!==e&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/canvas/additionalProperties",instanceLocation:"#/canvas/"+i(e)}),a++)}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/canvas/type",instanceLocation:"#/canvas"}),a++;if(void 0!==n.components&&r(n,"components"))if("object"==typeof n.components&&n.components&&!Array.isArray(n.components)){for(let r of(Object.keys(n.components).length>512&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/components/maxProperties",instanceLocation:"#/components"}),a++),Object.keys(n.components))){let e=o.errors,s=y(r),n=y.errors;o.errors=e,!s&&(null===o.errors&&(o.errors=[]),o.errors.push(...n.map(e=>t(e,"#/properties/components/propertyNames/$ref","#/components/"+i(r)))),a++)}for(let r of Object.keys(n.components))!(()=>{let e=0,s=o.errors,a=B(n.components[r]),l=B.errors;return o.errors=s,!a&&(null===o.errors&&(o.errors=[]),o.errors.push(...l.map(e=>
1t(e,"#/properties/components/additionalProperties/anyOf/0/$ref","#/components/"+i(r)))),e++),0===e})()&&!(()=>{let e=0,s=o.errors,a=N(n.components[r]),l=N.errors;return o.errors=s,!a&&(null===o.errors&&(o.errors=[]),o.errors.push(...l.map(e=>t(e,"#/properties/components/additionalProperties/anyOf/1/$ref","#/components/"+i(r)))),e++),0===e})()&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/components/additionalProperties/anyOf",instanceLocation:"#/components/"+i(r)}),a++)}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/components/type",instanceLocation:"#/components"}),a++;if(void 0!==n.colors&&r(n,"colors"))if("object"==typeof n.colors&&n.colors&&!Array.isArray(n.colors)){for(let r of(Object.keys(n.colors).length>512&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/colors/maxProperties",instanceLocation:"#/colors"}),a++),Object.keys(n.colors))){let e=o.errors,s=y(r),n=y.errors;o.errors=e,!s&&(null===o.errors&&(o.errors=[]),o.errors.push(...n.map(e=>t(e,"#/properties/colors/propertyNames/$ref","#/colors/"+i(r)))),a++)}for(let e of Object.keys(n.colors))if("object"==typeof n.colors[e]&&n.colors[e]&&!Array.isArray(n.colors[e])){if(!(void 0!==n.colors[e].values&&r(n.colors[e],"values"))&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/colors/additionalProperties/required",instanceLocation:"#/colors/"+i(e)+"/values"}),a++),void 0!==n.colors[e].values&&r(n.colors[e],"values"))if(Array.isArray(n.colors[e].values)){n.colors[e].values.length>128&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/colors/additionalProperties/properties/values/maxItems",instanceLocation:"#/colors/"+i(e)+"/values"}),a++),n.colors[e].values.length<1&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/colors/additionalProperties/properties/values/minItems",instanceLocation:"#/colors/"+i(e)+"/values"}),a++);for(let s=0;s<n.colors[e].values.length;s++)if(void 0!==n.colors[e].values[s]&&r(n.colors[e].values,s)){let r=o.errors,l=V(n.colors[e].values[s]),p=V.errors;o.errors=r,!l&&(null===o.errors&&(o.errors=[]),o.errors.push(...p.map(r=>t(r,"#/properties/colors/additionalProperties/properties/values/items/$ref","#/colors/"+i(e)+"values/"+s))),a++)}}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/colors/additionalProperties/properties/values/type",instanceLocation:"#/colors/"+i(e)+"/values"}),a++;if(void 0!==n.colors[e].notEqualTo&&r(n.colors[e],"notEqualTo"))if(Array.isArray(n.colors[e].notEqualTo)){n.colors[e].notEqualTo.length>64&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/colors/additionalProperties/properties/notEqualTo/maxItems",instanceLocation:"#/colors/"+i(e)+"/notEqualTo"}),a++);for(let s=0;s<n.colors[e].notEqualTo.length;s++)if(void 0!==n.colors[e].notEqualTo[s]&&r(n.colors[e].notEqualTo,s)){let r=o.errors,l=v(n.colors[e].notEqualTo[s]),p=v.errors;o.errors=r,!l&&(null===o.errors&&(o.errors=[]),o.errors.push(...p.map(r=>t(r,"#/properties/colors/additionalProperties/properties/notEqualTo/items/$ref","#/colors/"+i(e)+"notEqualTo/"+s))),a++)}}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/colors/additionalProperties/properties/notEqualTo/type",instanceLocation:"#/colors/"+i(e)+"/notEqualTo"}),a++;if(void 0!==n.colors[e].contrastTo&&r(n.colors[e],"contrastTo")){let r=o.errors,s=v(n.colors[e].contrastTo),l=v.errors;o.errors=r,!s&&(null===o.errors&&(o.errors=[]),o.errors.push(...l.map(r=>t(r,"#/properties/colors/additionalProperties/properties/contrastTo/$ref","#/colors/"+i(e)+"/contrastTo"))),a++)}for(let r of Object.keys(n.colors[e]))"values"!==r&&"notEqualTo"!==r&&"contrastTo"!==r&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/colors/additionalProperties/additionalProperties",instanceLocation:"#/colors/"+i(e)+"/"+i(r)}),a++)}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/colors/additionalProperties/type",instanceLocation:"#/colors/"+i(e)}),a++}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/properties/colors/type",instanceLocation:"#/colors"}),a++;for(let r of Object.keys(n))"$id"!==r&&"$schema"!==r&&"$comment"!==r&&"meta"!==r&&"attributes"!==r&&"canvas"!==r&&"components"!==r&&"colors"!==r&&(null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/additionalProperties",instanceLocation:"#/"+i(r)}),a++)}else null===o.errors&&(o.errors=[]),o.errors.push({keywordLocation:"#/type",instanceLocation:"#"}),a++;return 0===a}}
1(),i={type:"has an invalid type",enum:"must be one of the allowed values",const:"must equal the expected value",pattern:"does not match the required pattern",required:"is required but missing",additionalProperties:"has an unexpected property",propertyNames:"has an invalid property name",minimum:"is smaller than allowed",maximum:"is larger than allowed",exclusiveMinimum:"is smaller than allowed",exclusiveMaximum:"is larger than allowed",minLength:"is too short",maxLength:"is too long",minItems:"has too few items",maxItems:"has too many items",uniqueItems:"has duplicate items",minProperties:"has too few properties",maxProperties:"has too many properties",anyOf:"does not match any allowed variant",oneOf:"does not match exactly one allowed variant",allOf:"does not match all required schemas",not:"matches a disallowed schema"};function n(r){let e=r.keywordLocation.slice(r.keywordLocation.lastIndexOf("/")+1);return{instancePath:r.instanceLocation.slice(1),schemaPath:r.keywordLocation,keyword:e,message:i[e]??`must satisfy '${e}'`}}class a{static validate(r){if(!t(r))throw new s.T((t.errors??[]).map(n))}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.