next
Version:
The React Framework
1 lines • 100 kB
JavaScript
(()=>{"use strict";var e={528:(e,t)=>{var s;s={value:true};function ucs2length(e){const t=e.length;let s=0;let r=0;let p;while(r<t){s++;p=e.charCodeAt(r++);if(p>=55296&&p<=56319&&r<t){p=e.charCodeAt(r);if((p&64512)===56320)r++}}return s}t.Z=ucs2length;ucs2length.code='require("ajv/dist/runtime/ucs2length").default'},295:(e,t,s)=>{e.exports=validate11;e.exports["default"]=validate11;const r={type:"object",additionalProperties:false,properties:{amp:{additionalProperties:false,properties:{canonicalBase:{minLength:1,type:"string"}},type:"object"},analyticsId:{type:"string"},assetPrefix:{minLength:1,type:"string"},basePath:{type:"string"},cleanDistDir:{type:"boolean"},compiler:{additionalProperties:false,properties:{emotion:{oneOf:[{type:"boolean"},{type:"object",additionalProperties:false,properties:{sourceMap:{type:"boolean"},autoLabel:{type:"string",enum:["always","dev-only","never"]},labelFormat:{type:"string",minLength:1}}}]},reactRemoveProperties:{oneOf:[{type:"boolean"},{type:"object",additionalProperties:false,properties:{properties:{type:"array",items:{type:"string"}}}}]},relay:{type:"object"},removeConsole:{oneOf:[{type:"boolean"},{type:"object",additionalProperties:false,properties:{exclude:{type:"array",items:{type:"string",minLength:1}}}}]},styledComponents:{oneOf:[{type:"boolean"},{type:"object",additionalProperties:false,properties:{displayName:{type:"boolean"},topLevelImportPaths:{type:"array",items:{type:"string",minLength:1}},ssr:{type:"boolean"},fileName:{type:"boolean"},meaninglessFileNames:{type:"boolean"},minify:{type:"boolean"},transpileTemplateLiterals:{type:"boolean"},namespace:{type:"string",minLength:1},pure:{type:"boolean"},cssProp:{type:"boolean"}}}]}},type:"object"},compress:{type:"boolean"},crossOrigin:{oneOf:[false,{enum:["anonymous","use-credentials"],type:"string"}]},devIndicators:{additionalProperties:false,properties:{buildActivity:{type:"boolean"},buildActivityPosition:{enum:["bottom-left","bottom-right","top-left","top-right"],type:"string"}},type:"object"},distDir:{minLength:1,type:"string",nullable:true},env:{type:"object"},eslint:{additionalProperties:false,properties:{dirs:{items:{minLength:1,type:"string"},type:"array"},ignoreDuringBuilds:{type:"boolean"}},type:"object"},excludeDefaultMomentLocales:{type:"boolean"},experimental:{additionalProperties:false,properties:{amp:{additionalProperties:false,properties:{optimizer:{type:"object"},skipValidation:{type:"boolean"},validator:{type:"string"}},type:"object"},appDir:{type:"boolean"},browsersListForSwc:{type:"boolean"},cpus:{type:"number"},craCompat:{type:"boolean"},disableOptimizedLoading:{type:"boolean"},disablePostcssPresetEnv:{type:"boolean"},esmExternals:{type:"boolean"},externalDir:{type:"boolean"},forceSwcTransforms:{type:"boolean"},fullySpecified:{type:"boolean"},gzipSize:{type:"boolean"},images:{additionalProperties:false,properties:{allowFutureImage:{type:"boolean"},remotePatterns:{items:{additionalProperties:false,properties:{hostname:{minLength:1,type:"string"},pathname:{minLength:1,type:"string"},port:{minLength:1,type:"string"},protocol:{enum:["http","https"],type:"string"}},type:"object"},type:"array"},unoptimized:{type:"boolean"}},type:"object"},incrementalCacheHandlerPath:{type:"string"},isrFlushToDisk:{type:"boolean"},isrMemoryCacheSize:{type:"number"},largePageDataBytes:{type:"number"},legacyBrowsers:{type:"boolean"},manualClientBasePath:{type:"boolean"},modularizeImports:{type:"object"},newNextLinkBehavior:{type:"boolean"},nextScriptWorkers:{type:"boolean"},optimizeCss:{oneOf:[{type:"boolean"},{type:"object"}]},optimisticClientCache:{type:"boolean"},outputFileTracingRoot:{minLength:1,type:"string"},pageEnv:{type:"boolean"},profiling:{type:"boolean"},runtime:{enum:["experimental-edge","nodejs"],type:"string"},scrollRestoration:{type:"boolean"},serverComponents:{type:"boolean"},sharedPool:{type:"boolean"},swcFileReading:{type:"boolean"},swcMinify:{type:"boolean"},swcMinifyDebugOptions:{additionalProperties:false,properties:{compress:{type:"object"},mangle:{type:"object"}},type:"object"},swcPlugins:{type:"array"},swcTraceProfiling:{type:"boolean"},urlImports:{items:{type:"string"},type:"array"},workerThreads:{type:"boolean"}},type:"object"},exportPathMap:{isFunction:true,errorMessage:"must be a function that returns a Promise"},future:{additionalProperties:false,properties:{},type:"object"},generateBuildId:{isFunction:true,errorMessage:"must be a function that returns a Promise"},generateEtags:{type:"boolean"},headers:{isFunction:true,errorMessage:"must be a function that returns a Promise"},httpAgentOptions:{additionalProperties:false,properties:{keepAlive:{type:"boolean"}},type:"object"},i18n:{additionalProperties:false,properties:{defaultLocale:{minLength:1,type:"string"},domains:{items:{additionalProperties:false,properties:{defaultLocale:{minLength:1,type:"string"},domain:{minLength:1,type:"string"},http:{type:"boolean"},locales:{items:{minLength:1,type:"string"},type:"array"}},type:"object"},type:"array"},localeDetection:{type:"boolean"},locales:{items:{minLength:1,type:"string"},type:"array"}},type:"object"},images:{additionalProperties:false,properties:{contentSecurityPolicy:{minLength:1,type:"string"},dangerouslyAllowSVG:{type:"boolean"},deviceSizes:{items:{type:"number"},minItems:1,type:"array"},disableStaticImages:{type:"boolean"},domains:{items:{type:"string"},type:"array"},formats:{items:{enum:["image/avif","image/webp"],type:"string"},type:"array"},imageSizes:{items:{type:"number"},minItems:1,type:"array"},loader:{enum:["default","imgix","cloudinary","akamai","custom"],type:"string"},minimumCacheTTL:{type:"number"},path:{minLength:1,type:"string"}},type:"object"},onDemandEntries:{additionalProperties:false,properties:{maxInactiveAge:{type:"number"},pagesBufferLength:{type:"number"}},type:"object"},optimizeFonts:{type:"boolean"},output:{enum:["standalone"],type:"string"},outputFileTracing:{type:"boolean"},pageExtensions:{minItems:1,type:"array"},poweredByHeader:{type:"boolean"},productionBrowserSourceMaps:{type:"boolean"},publicRuntimeConfig:{type:"object"},reactStrictMode:{type:"boolean"},redirects:{isFunction:true,errorMessage:"must be a function that returns a Promise"},rewrites:{isFunction:true,errorMessage:"must be a function that returns a Promise"},sassOptions:{type:"object"},serverRuntimeConfig:{type:"object"},staticPageGenerationTimeout:{type:"number"},swcMinify:{type:"boolean"},trailingSlash:{type:"boolean"},typescript:{additionalProperties:false,properties:{ignoreBuildErrors:{type:"boolean"},tsconfigPath:{minLength:1,type:"string"}},type:"object"},useFileSystemPublicRoutes:{type:"boolean"},webpack:{isFunction:true,errorMessage:"must be a function that returns a webpack configuration object"}}};const p=Object.prototype.hasOwnProperty;const a=s(528).Z;function validate11(e,{instancePath:t="",parentData:s,parentDataProperty:i,rootData:o=e}={}){let n=null;let m=0;if(e&&typeof e=="object"&&!Array.isArray(e)){for(const s in e){if(!p.call(r.properties,s)){const p={instancePath:t,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:s},message:"must NOT have additional properties",schema:false,parentSchema:r,data:e};if(n===null){n=[p]}else{n.push(p)}m++}}if(e.amp!==undefined){let s=e.amp;if(s&&typeof s=="object"&&!Array.isArray(s)){for(const e in s){if(!(e==="canonicalBase")){const p={instancePath:t+"/amp",schemaPath:"#/properties/amp/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:e},message:"must NOT have additional properties",schema:false,parentSchema:r.properties.amp,data:s};if(n===null){n=[p]}else{n.push(p)}m++}}if(s.canonicalBase!==undefined){let e=s.canonicalBase;if(typeof e==="string"){if(a(e)<1){const s={instancePath:t+"/amp/canonicalBase",schemaPath:"#/properties/amp/properties/canonicalBase/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters",schema:1,parentSchema:r.properties.amp.properties.canonicalBase,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}else{const s={instancePath:t+"/amp/canonicalBase",schemaPath:"#/properties/amp/properties/canonicalBase/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.amp.properties.canonicalBase.type,parentSchema:r.properties.amp.properties.canonicalBase,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}}else{const e={instancePath:t+"/amp",schemaPath:"#/properties/amp/type",keyword:"type",params:{type:"object"},message:"must be object",schema:r.properties.amp.type,parentSchema:r.properties.amp,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.analyticsId!==undefined){let s=e.analyticsId;if(typeof s!=="string"){const e={instancePath:t+"/analyticsId",schemaPath:"#/properties/analyticsId/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.analyticsId.type,parentSchema:r.properties.analyticsId,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.assetPrefix!==undefined){let s=e.assetPrefix;if(typeof s==="string"){if(a(s)<1){const e={instancePath:t+"/assetPrefix",schemaPath:"#/properties/assetPrefix/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters",schema:1,parentSchema:r.properties.assetPrefix,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}else{const e={instancePath:t+"/assetPrefix",schemaPath:"#/properties/assetPrefix/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.assetPrefix.type,parentSchema:r.properties.assetPrefix,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.basePath!==undefined){let s=e.basePath;if(typeof s!=="string"){const e={instancePath:t+"/basePath",schemaPath:"#/properties/basePath/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.basePath.type,parentSchema:r.properties.basePath,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.cleanDistDir!==undefined){let s=e.cleanDistDir;if(typeof s!=="boolean"){const e={instancePath:t+"/cleanDistDir",schemaPath:"#/properties/cleanDistDir/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.cleanDistDir.type,parentSchema:r.properties.cleanDistDir,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.compiler!==undefined){let s=e.compiler;if(s&&typeof s=="object"&&!Array.isArray(s)){for(const e in s){if(!(e==="emotion"||e==="reactRemoveProperties"||e==="relay"||e==="removeConsole"||e==="styledComponents")){const p={instancePath:t+"/compiler",schemaPath:"#/properties/compiler/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:e},message:"must NOT have additional properties",schema:false,parentSchema:r.properties.compiler,data:s};if(n===null){n=[p]}else{n.push(p)}m++}}if(s.emotion!==undefined){let e=s.emotion;const p=m;let i=false;let o=null;const c=m;if(typeof e!=="boolean"){const s={instancePath:t+"/compiler/emotion",schemaPath:"#/properties/compiler/properties/emotion/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compiler.properties.emotion.oneOf[0].type,parentSchema:r.properties.compiler.properties.emotion.oneOf[0],data:e};if(n===null){n=[s]}else{n.push(s)}m++}var l=c===m;if(l){i=true;o=0}const h=m;if(e&&typeof e=="object"&&!Array.isArray(e)){for(const s in e){if(!(s==="sourceMap"||s==="autoLabel"||s==="labelFormat")){const p={instancePath:t+"/compiler/emotion",schemaPath:"#/properties/compiler/properties/emotion/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:s},message:"must NOT have additional properties",schema:false,parentSchema:r.properties.compiler.properties.emotion.oneOf[1],data:e};if(n===null){n=[p]}else{n.push(p)}m++}}if(e.sourceMap!==undefined){let s=e.sourceMap;if(typeof s!=="boolean"){const e={instancePath:t+"/compiler/emotion/sourceMap",schemaPath:"#/properties/compiler/properties/emotion/oneOf/1/properties/sourceMap/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compiler.properties.emotion.oneOf[1].properties.sourceMap.type,parentSchema:r.properties.compiler.properties.emotion.oneOf[1].properties.sourceMap,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.autoLabel!==undefined){let s=e.autoLabel;if(typeof s!=="string"){const e={instancePath:t+"/compiler/emotion/autoLabel",schemaPath:"#/properties/compiler/properties/emotion/oneOf/1/properties/autoLabel/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.compiler.properties.emotion.oneOf[1].properties.autoLabel.type,parentSchema:r.properties.compiler.properties.emotion.oneOf[1].properties.autoLabel,data:s};if(n===null){n=[e]}else{n.push(e)}m++}if(!(s==="always"||s==="dev-only"||s==="never")){const e={instancePath:t+"/compiler/emotion/autoLabel",schemaPath:"#/properties/compiler/properties/emotion/oneOf/1/properties/autoLabel/enum",keyword:"enum",params:{allowedValues:r.properties.compiler.properties.emotion.oneOf[1].properties.autoLabel.enum},message:"must be equal to one of the allowed values",schema:r.properties.compiler.properties.emotion.oneOf[1].properties.autoLabel.enum,parentSchema:r.properties.compiler.properties.emotion.oneOf[1].properties.autoLabel,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.labelFormat!==undefined){let s=e.labelFormat;if(typeof s==="string"){if(a(s)<1){const e={instancePath:t+"/compiler/emotion/labelFormat",schemaPath:"#/properties/compiler/properties/emotion/oneOf/1/properties/labelFormat/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters",schema:1,parentSchema:r.properties.compiler.properties.emotion.oneOf[1].properties.labelFormat,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}else{const e={instancePath:t+"/compiler/emotion/labelFormat",schemaPath:"#/properties/compiler/properties/emotion/oneOf/1/properties/labelFormat/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.compiler.properties.emotion.oneOf[1].properties.labelFormat.type,parentSchema:r.properties.compiler.properties.emotion.oneOf[1].properties.labelFormat,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}}else{const s={instancePath:t+"/compiler/emotion",schemaPath:"#/properties/compiler/properties/emotion/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object",schema:r.properties.compiler.properties.emotion.oneOf[1].type,parentSchema:r.properties.compiler.properties.emotion.oneOf[1],data:e};if(n===null){n=[s]}else{n.push(s)}m++}var l=h===m;if(l&&i){i=false;o=[o,1]}else{if(l){i=true;o=1}}if(!i){const s={instancePath:t+"/compiler/emotion",schemaPath:"#/properties/compiler/properties/emotion/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf",schema:r.properties.compiler.properties.emotion.oneOf,parentSchema:r.properties.compiler.properties.emotion,data:e};if(n===null){n=[s]}else{n.push(s)}m++}else{m=p;if(n!==null){if(p){n.length=p}else{n=null}}}}if(s.reactRemoveProperties!==undefined){let e=s.reactRemoveProperties;const p=m;let a=false;let i=null;const o=m;if(typeof e!=="boolean"){const s={instancePath:t+"/compiler/reactRemoveProperties",schemaPath:"#/properties/compiler/properties/reactRemoveProperties/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compiler.properties.reactRemoveProperties.oneOf[0].type,parentSchema:r.properties.compiler.properties.reactRemoveProperties.oneOf[0],data:e};if(n===null){n=[s]}else{n.push(s)}m++}var c=o===m;if(c){a=true;i=0}const l=m;if(e&&typeof e=="object"&&!Array.isArray(e)){for(const s in e){if(!(s==="properties")){const p={instancePath:t+"/compiler/reactRemoveProperties",schemaPath:"#/properties/compiler/properties/reactRemoveProperties/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:s},message:"must NOT have additional properties",schema:false,parentSchema:r.properties.compiler.properties.reactRemoveProperties.oneOf[1],data:e};if(n===null){n=[p]}else{n.push(p)}m++}}if(e.properties!==undefined){let s=e.properties;if(Array.isArray(s)){const e=s.length;for(let p=0;p<e;p++){let e=s[p];if(typeof e!=="string"){const s={instancePath:t+"/compiler/reactRemoveProperties/properties/"+p,schemaPath:"#/properties/compiler/properties/reactRemoveProperties/oneOf/1/properties/properties/items/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.compiler.properties.reactRemoveProperties.oneOf[1].properties.properties.items.type,parentSchema:r.properties.compiler.properties.reactRemoveProperties.oneOf[1].properties.properties.items,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}}else{const e={instancePath:t+"/compiler/reactRemoveProperties/properties",schemaPath:"#/properties/compiler/properties/reactRemoveProperties/oneOf/1/properties/properties/type",keyword:"type",params:{type:"array"},message:"must be array",schema:r.properties.compiler.properties.reactRemoveProperties.oneOf[1].properties.properties.type,parentSchema:r.properties.compiler.properties.reactRemoveProperties.oneOf[1].properties.properties,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}}else{const s={instancePath:t+"/compiler/reactRemoveProperties",schemaPath:"#/properties/compiler/properties/reactRemoveProperties/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object",schema:r.properties.compiler.properties.reactRemoveProperties.oneOf[1].type,parentSchema:r.properties.compiler.properties.reactRemoveProperties.oneOf[1],data:e};if(n===null){n=[s]}else{n.push(s)}m++}var c=l===m;if(c&&a){a=false;i=[i,1]}else{if(c){a=true;i=1}}if(!a){const s={instancePath:t+"/compiler/reactRemoveProperties",schemaPath:"#/properties/compiler/properties/reactRemoveProperties/oneOf",keyword:"oneOf",params:{passingSchemas:i},message:"must match exactly one schema in oneOf",schema:r.properties.compiler.properties.reactRemoveProperties.oneOf,parentSchema:r.properties.compiler.properties.reactRemoveProperties,data:e};if(n===null){n=[s]}else{n.push(s)}m++}else{m=p;if(n!==null){if(p){n.length=p}else{n=null}}}}if(s.relay!==undefined){let e=s.relay;if(!(e&&typeof e=="object"&&!Array.isArray(e))){const s={instancePath:t+"/compiler/relay",schemaPath:"#/properties/compiler/properties/relay/type",keyword:"type",params:{type:"object"},message:"must be object",schema:r.properties.compiler.properties.relay.type,parentSchema:r.properties.compiler.properties.relay,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.removeConsole!==undefined){let e=s.removeConsole;const p=m;let i=false;let o=null;const l=m;if(typeof e!=="boolean"){const s={instancePath:t+"/compiler/removeConsole",schemaPath:"#/properties/compiler/properties/removeConsole/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compiler.properties.removeConsole.oneOf[0].type,parentSchema:r.properties.compiler.properties.removeConsole.oneOf[0],data:e};if(n===null){n=[s]}else{n.push(s)}m++}var h=l===m;if(h){i=true;o=0}const c=m;if(e&&typeof e=="object"&&!Array.isArray(e)){for(const s in e){if(!(s==="exclude")){const p={instancePath:t+"/compiler/removeConsole",schemaPath:"#/properties/compiler/properties/removeConsole/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:s},message:"must NOT have additional properties",schema:false,parentSchema:r.properties.compiler.properties.removeConsole.oneOf[1],data:e};if(n===null){n=[p]}else{n.push(p)}m++}}if(e.exclude!==undefined){let s=e.exclude;if(Array.isArray(s)){const e=s.length;for(let p=0;p<e;p++){let e=s[p];if(typeof e==="string"){if(a(e)<1){const s={instancePath:t+"/compiler/removeConsole/exclude/"+p,schemaPath:"#/properties/compiler/properties/removeConsole/oneOf/1/properties/exclude/items/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters",schema:1,parentSchema:r.properties.compiler.properties.removeConsole.oneOf[1].properties.exclude.items,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}else{const s={instancePath:t+"/compiler/removeConsole/exclude/"+p,schemaPath:"#/properties/compiler/properties/removeConsole/oneOf/1/properties/exclude/items/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.compiler.properties.removeConsole.oneOf[1].properties.exclude.items.type,parentSchema:r.properties.compiler.properties.removeConsole.oneOf[1].properties.exclude.items,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}}else{const e={instancePath:t+"/compiler/removeConsole/exclude",schemaPath:"#/properties/compiler/properties/removeConsole/oneOf/1/properties/exclude/type",keyword:"type",params:{type:"array"},message:"must be array",schema:r.properties.compiler.properties.removeConsole.oneOf[1].properties.exclude.type,parentSchema:r.properties.compiler.properties.removeConsole.oneOf[1].properties.exclude,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}}else{const s={instancePath:t+"/compiler/removeConsole",schemaPath:"#/properties/compiler/properties/removeConsole/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object",schema:r.properties.compiler.properties.removeConsole.oneOf[1].type,parentSchema:r.properties.compiler.properties.removeConsole.oneOf[1],data:e};if(n===null){n=[s]}else{n.push(s)}m++}var h=c===m;if(h&&i){i=false;o=[o,1]}else{if(h){i=true;o=1}}if(!i){const s={instancePath:t+"/compiler/removeConsole",schemaPath:"#/properties/compiler/properties/removeConsole/oneOf",keyword:"oneOf",params:{passingSchemas:o},message:"must match exactly one schema in oneOf",schema:r.properties.compiler.properties.removeConsole.oneOf,parentSchema:r.properties.compiler.properties.removeConsole,data:e};if(n===null){n=[s]}else{n.push(s)}m++}else{m=p;if(n!==null){if(p){n.length=p}else{n=null}}}}if(s.styledComponents!==undefined){let e=s.styledComponents;const i=m;let o=false;let l=null;const c=m;if(typeof e!=="boolean"){const s={instancePath:t+"/compiler/styledComponents",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/0/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compiler.properties.styledComponents.oneOf[0].type,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[0],data:e};if(n===null){n=[s]}else{n.push(s)}m++}var y=c===m;if(y){o=true;l=0}const h=m;if(e&&typeof e=="object"&&!Array.isArray(e)){for(const s in e){if(!p.call(r.properties.compiler.properties.styledComponents.oneOf[1].properties,s)){const p={instancePath:t+"/compiler/styledComponents",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:s},message:"must NOT have additional properties",schema:false,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1],data:e};if(n===null){n=[p]}else{n.push(p)}m++}}if(e.displayName!==undefined){let s=e.displayName;if(typeof s!=="boolean"){const e={instancePath:t+"/compiler/styledComponents/displayName",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/properties/displayName/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.displayName.type,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.displayName,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.topLevelImportPaths!==undefined){let s=e.topLevelImportPaths;if(Array.isArray(s)){const e=s.length;for(let p=0;p<e;p++){let e=s[p];if(typeof e==="string"){if(a(e)<1){const s={instancePath:t+"/compiler/styledComponents/topLevelImportPaths/"+p,schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/properties/topLevelImportPaths/items/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters",schema:1,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.topLevelImportPaths.items,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}else{const s={instancePath:t+"/compiler/styledComponents/topLevelImportPaths/"+p,schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/properties/topLevelImportPaths/items/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.topLevelImportPaths.items.type,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.topLevelImportPaths.items,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}}else{const e={instancePath:t+"/compiler/styledComponents/topLevelImportPaths",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/properties/topLevelImportPaths/type",keyword:"type",params:{type:"array"},message:"must be array",schema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.topLevelImportPaths.type,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.topLevelImportPaths,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.ssr!==undefined){let s=e.ssr;if(typeof s!=="boolean"){const e={instancePath:t+"/compiler/styledComponents/ssr",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/properties/ssr/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.ssr.type,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.ssr,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.fileName!==undefined){let s=e.fileName;if(typeof s!=="boolean"){const e={instancePath:t+"/compiler/styledComponents/fileName",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/properties/fileName/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.fileName.type,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.fileName,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.meaninglessFileNames!==undefined){let s=e.meaninglessFileNames;if(typeof s!=="boolean"){const e={instancePath:t+"/compiler/styledComponents/meaninglessFileNames",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/properties/meaninglessFileNames/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.meaninglessFileNames.type,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.meaninglessFileNames,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.minify!==undefined){let s=e.minify;if(typeof s!=="boolean"){const e={instancePath:t+"/compiler/styledComponents/minify",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/properties/minify/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.minify.type,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.minify,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.transpileTemplateLiterals!==undefined){let s=e.transpileTemplateLiterals;if(typeof s!=="boolean"){const e={instancePath:t+"/compiler/styledComponents/transpileTemplateLiterals",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/properties/transpileTemplateLiterals/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.transpileTemplateLiterals.type,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.transpileTemplateLiterals,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.namespace!==undefined){let s=e.namespace;if(typeof s==="string"){if(a(s)<1){const e={instancePath:t+"/compiler/styledComponents/namespace",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/properties/namespace/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters",schema:1,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.namespace,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}else{const e={instancePath:t+"/compiler/styledComponents/namespace",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/properties/namespace/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.namespace.type,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.namespace,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.pure!==undefined){let s=e.pure;if(typeof s!=="boolean"){const e={instancePath:t+"/compiler/styledComponents/pure",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/properties/pure/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.pure.type,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.pure,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.cssProp!==undefined){let s=e.cssProp;if(typeof s!=="boolean"){const e={instancePath:t+"/compiler/styledComponents/cssProp",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/properties/cssProp/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.cssProp.type,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1].properties.cssProp,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}}else{const s={instancePath:t+"/compiler/styledComponents",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object",schema:r.properties.compiler.properties.styledComponents.oneOf[1].type,parentSchema:r.properties.compiler.properties.styledComponents.oneOf[1],data:e};if(n===null){n=[s]}else{n.push(s)}m++}var y=h===m;if(y&&o){o=false;l=[l,1]}else{if(y){o=true;l=1}}if(!o){const s={instancePath:t+"/compiler/styledComponents",schemaPath:"#/properties/compiler/properties/styledComponents/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf",schema:r.properties.compiler.properties.styledComponents.oneOf,parentSchema:r.properties.compiler.properties.styledComponents,data:e};if(n===null){n=[s]}else{n.push(s)}m++}else{m=i;if(n!==null){if(i){n.length=i}else{n=null}}}}}else{const e={instancePath:t+"/compiler",schemaPath:"#/properties/compiler/type",keyword:"type",params:{type:"object"},message:"must be object",schema:r.properties.compiler.type,parentSchema:r.properties.compiler,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.compress!==undefined){let s=e.compress;if(typeof s!=="boolean"){const e={instancePath:t+"/compress",schemaPath:"#/properties/compress/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.compress.type,parentSchema:r.properties.compress,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.crossOrigin!==undefined){let s=e.crossOrigin;const p=m;let a=false;let i=null;var d=false;const o={instancePath:t+"/crossOrigin",schemaPath:"#/properties/crossOrigin/oneOf/0/false schema",keyword:"false schema",params:{},message:"boolean schema is false",schema:false,parentSchema:r.properties.crossOrigin.oneOf[0],data:s};if(n===null){n=[o]}else{n.push(o)}m++;if(d){a=true;i=0}const l=m;if(typeof s!=="string"){const e={instancePath:t+"/crossOrigin",schemaPath:"#/properties/crossOrigin/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.crossOrigin.oneOf[1].type,parentSchema:r.properties.crossOrigin.oneOf[1],data:s};if(n===null){n=[e]}else{n.push(e)}m++}if(!(s==="anonymous"||s==="use-credentials")){const e={instancePath:t+"/crossOrigin",schemaPath:"#/properties/crossOrigin/oneOf/1/enum",keyword:"enum",params:{allowedValues:r.properties.crossOrigin.oneOf[1].enum},message:"must be equal to one of the allowed values",schema:r.properties.crossOrigin.oneOf[1].enum,parentSchema:r.properties.crossOrigin.oneOf[1],data:s};if(n===null){n=[e]}else{n.push(e)}m++}var d=l===m;if(d&&a){a=false;i=[i,1]}else{if(d){a=true;i=1}}if(!a){const e={instancePath:t+"/crossOrigin",schemaPath:"#/properties/crossOrigin/oneOf",keyword:"oneOf",params:{passingSchemas:i},message:"must match exactly one schema in oneOf",schema:r.properties.crossOrigin.oneOf,parentSchema:r.properties.crossOrigin,data:s};if(n===null){n=[e]}else{n.push(e)}m++}else{m=p;if(n!==null){if(p){n.length=p}else{n=null}}}}if(e.devIndicators!==undefined){let s=e.devIndicators;if(s&&typeof s=="object"&&!Array.isArray(s)){for(const e in s){if(!(e==="buildActivity"||e==="buildActivityPosition")){const p={instancePath:t+"/devIndicators",schemaPath:"#/properties/devIndicators/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:e},message:"must NOT have additional properties",schema:false,parentSchema:r.properties.devIndicators,data:s};if(n===null){n=[p]}else{n.push(p)}m++}}if(s.buildActivity!==undefined){let e=s.buildActivity;if(typeof e!=="boolean"){const s={instancePath:t+"/devIndicators/buildActivity",schemaPath:"#/properties/devIndicators/properties/buildActivity/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.devIndicators.properties.buildActivity.type,parentSchema:r.properties.devIndicators.properties.buildActivity,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.buildActivityPosition!==undefined){let e=s.buildActivityPosition;if(typeof e!=="string"){const s={instancePath:t+"/devIndicators/buildActivityPosition",schemaPath:"#/properties/devIndicators/properties/buildActivityPosition/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.devIndicators.properties.buildActivityPosition.type,parentSchema:r.properties.devIndicators.properties.buildActivityPosition,data:e};if(n===null){n=[s]}else{n.push(s)}m++}if(!(e==="bottom-left"||e==="bottom-right"||e==="top-left"||e==="top-right")){const s={instancePath:t+"/devIndicators/buildActivityPosition",schemaPath:"#/properties/devIndicators/properties/buildActivityPosition/enum",keyword:"enum",params:{allowedValues:r.properties.devIndicators.properties.buildActivityPosition.enum},message:"must be equal to one of the allowed values",schema:r.properties.devIndicators.properties.buildActivityPosition.enum,parentSchema:r.properties.devIndicators.properties.buildActivityPosition,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}}else{const e={instancePath:t+"/devIndicators",schemaPath:"#/properties/devIndicators/type",keyword:"type",params:{type:"object"},message:"must be object",schema:r.properties.devIndicators.type,parentSchema:r.properties.devIndicators,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.distDir!==undefined){let s=e.distDir;if(typeof s!=="string"&&s!==null){const e={instancePath:t+"/distDir",schemaPath:"#/properties/distDir/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.distDir.type,parentSchema:r.properties.distDir,data:s};if(n===null){n=[e]}else{n.push(e)}m++}if(typeof s==="string"){if(a(s)<1){const e={instancePath:t+"/distDir",schemaPath:"#/properties/distDir/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters",schema:1,parentSchema:r.properties.distDir,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}}if(e.env!==undefined){let s=e.env;if(!(s&&typeof s=="object"&&!Array.isArray(s))){const e={instancePath:t+"/env",schemaPath:"#/properties/env/type",keyword:"type",params:{type:"object"},message:"must be object",schema:r.properties.env.type,parentSchema:r.properties.env,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.eslint!==undefined){let s=e.eslint;if(s&&typeof s=="object"&&!Array.isArray(s)){for(const e in s){if(!(e==="dirs"||e==="ignoreDuringBuilds")){const p={instancePath:t+"/eslint",schemaPath:"#/properties/eslint/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:e},message:"must NOT have additional properties",schema:false,parentSchema:r.properties.eslint,data:s};if(n===null){n=[p]}else{n.push(p)}m++}}if(s.dirs!==undefined){let e=s.dirs;if(Array.isArray(e)){const s=e.length;for(let p=0;p<s;p++){let s=e[p];if(typeof s==="string"){if(a(s)<1){const e={instancePath:t+"/eslint/dirs/"+p,schemaPath:"#/properties/eslint/properties/dirs/items/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters",schema:1,parentSchema:r.properties.eslint.properties.dirs.items,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}else{const e={instancePath:t+"/eslint/dirs/"+p,schemaPath:"#/properties/eslint/properties/dirs/items/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.eslint.properties.dirs.items.type,parentSchema:r.properties.eslint.properties.dirs.items,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}}else{const s={instancePath:t+"/eslint/dirs",schemaPath:"#/properties/eslint/properties/dirs/type",keyword:"type",params:{type:"array"},message:"must be array",schema:r.properties.eslint.properties.dirs.type,parentSchema:r.properties.eslint.properties.dirs,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.ignoreDuringBuilds!==undefined){let e=s.ignoreDuringBuilds;if(typeof e!=="boolean"){const s={instancePath:t+"/eslint/ignoreDuringBuilds",schemaPath:"#/properties/eslint/properties/ignoreDuringBuilds/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.eslint.properties.ignoreDuringBuilds.type,parentSchema:r.properties.eslint.properties.ignoreDuringBuilds,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}}else{const e={instancePath:t+"/eslint",schemaPath:"#/properties/eslint/type",keyword:"type",params:{type:"object"},message:"must be object",schema:r.properties.eslint.type,parentSchema:r.properties.eslint,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.excludeDefaultMomentLocales!==undefined){let s=e.excludeDefaultMomentLocales;if(typeof s!=="boolean"){const e={instancePath:t+"/excludeDefaultMomentLocales",schemaPath:"#/properties/excludeDefaultMomentLocales/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.excludeDefaultMomentLocales.type,parentSchema:r.properties.excludeDefaultMomentLocales,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.experimental!==undefined){let s=e.experimental;if(s&&typeof s=="object"&&!Array.isArray(s)){for(const e in s){if(!p.call(r.properties.experimental.properties,e)){const p={instancePath:t+"/experimental",schemaPath:"#/properties/experimental/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:e},message:"must NOT have additional properties",schema:false,parentSchema:r.properties.experimental,data:s};if(n===null){n=[p]}else{n.push(p)}m++}}if(s.amp!==undefined){let e=s.amp;if(e&&typeof e=="object"&&!Array.isArray(e)){for(const s in e){if(!(s==="optimizer"||s==="skipValidation"||s==="validator")){const p={instancePath:t+"/experimental/amp",schemaPath:"#/properties/experimental/properties/amp/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:s},message:"must NOT have additional properties",schema:false,parentSchema:r.properties.experimental.properties.amp,data:e};if(n===null){n=[p]}else{n.push(p)}m++}}if(e.optimizer!==undefined){let s=e.optimizer;if(!(s&&typeof s=="object"&&!Array.isArray(s))){const e={instancePath:t+"/experimental/amp/optimizer",schemaPath:"#/properties/experimental/properties/amp/properties/optimizer/type",keyword:"type",params:{type:"object"},message:"must be object",schema:r.properties.experimental.properties.amp.properties.optimizer.type,parentSchema:r.properties.experimental.properties.amp.properties.optimizer,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.skipValidation!==undefined){let s=e.skipValidation;if(typeof s!=="boolean"){const e={instancePath:t+"/experimental/amp/skipValidation",schemaPath:"#/properties/experimental/properties/amp/properties/skipValidation/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.experimental.properties.amp.properties.skipValidation.type,parentSchema:r.properties.experimental.properties.amp.properties.skipValidation,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.validator!==undefined){let s=e.validator;if(typeof s!=="string"){const e={instancePath:t+"/experimental/amp/validator",schemaPath:"#/properties/experimental/properties/amp/properties/validator/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.experimental.properties.amp.properties.validator.type,parentSchema:r.properties.experimental.properties.amp.properties.validator,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}}else{const s={instancePath:t+"/experimental/amp",schemaPath:"#/properties/experimental/properties/amp/type",keyword:"type",params:{type:"object"},message:"must be object",schema:r.properties.experimental.properties.amp.type,parentSchema:r.properties.experimental.properties.amp,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.appDir!==undefined){let e=s.appDir;if(typeof e!=="boolean"){const s={instancePath:t+"/experimental/appDir",schemaPath:"#/properties/experimental/properties/appDir/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.experimental.properties.appDir.type,parentSchema:r.properties.experimental.properties.appDir,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.browsersListForSwc!==undefined){let e=s.browsersListForSwc;if(typeof e!=="boolean"){const s={instancePath:t+"/experimental/browsersListForSwc",schemaPath:"#/properties/experimental/properties/browsersListForSwc/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.experimental.properties.browsersListForSwc.type,parentSchema:r.properties.experimental.properties.browsersListForSwc,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.cpus!==undefined){let e=s.cpus;if(!(typeof e=="number"&&isFinite(e))){const s={instancePath:t+"/experimental/cpus",schemaPath:"#/properties/experimental/properties/cpus/type",keyword:"type",params:{type:"number"},message:"must be number",schema:r.properties.experimental.properties.cpus.type,parentSchema:r.properties.experimental.properties.cpus,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.craCompat!==undefined){let e=s.craCompat;if(typeof e!=="boolean"){const s={instancePath:t+"/experimental/craCompat",schemaPath:"#/properties/experimental/properties/craCompat/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.experimental.properties.craCompat.type,parentSchema:r.properties.experimental.properties.craCompat,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.disableOptimizedLoading!==undefined){let e=s.disableOptimizedLoading;if(typeof e!=="boolean"){const s={instancePath:t+"/experimental/disableOptimizedLoading",schemaPath:"#/properties/experimental/properties/disableOptimizedLoading/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.experimental.properties.disableOptimizedLoading.type,parentSchema:r.properties.experimental.properties.disableOptimizedLoading,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.disablePostcssPresetEnv!==undefined){let e=s.disablePostcssPresetEnv;if(typeof e!=="boolean"){const s={instancePath:t+"/experimental/disablePostcssPresetEnv",schemaPath:"#/properties/experimental/properties/disablePostcssPresetEnv/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.experimental.properties.disablePostcssPresetEnv.type,parentSchema:r.properties.experimental.properties.disablePostcssPresetEnv,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.esmExternals!==undefined){let e=s.esmExternals;if(typeof e!=="boolean"){const s={instancePath:t+"/experimental/esmExternals",schemaPath:"#/properties/experimental/properties/esmExternals/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.experimental.properties.esmExternals.type,parentSchema:r.properties.experimental.properties.esmExternals,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.externalDir!==undefined){let e=s.externalDir;if(typeof e!=="boolean"){const s={instancePath:t+"/experimental/externalDir",schemaPath:"#/properties/experimental/properties/externalDir/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.experimental.properties.externalDir.type,parentSchema:r.properties.experimental.properties.externalDir,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.forceSwcTransforms!==undefined){let e=s.forceSwcTransforms;if(typeof e!=="boolean"){const s={instancePath:t+"/experimental/forceSwcTransforms",schemaPath:"#/properties/experimental/properties/forceSwcTransforms/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.experimental.properties.forceSwcTransforms.type,parentSchema:r.properties.experimental.properties.forceSwcTransforms,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.fullySpecified!==undefined){let e=s.fullySpecified;if(typeof e!=="boolean"){const s={instancePath:t+"/experimental/fullySpecified",schemaPath:"#/properties/experimental/properties/fullySpecified/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.experimental.properties.fullySpecified.type,parentSchema:r.properties.experimental.properties.fullySpecified,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.gzipSize!==undefined){let e=s.gzipSize;if(typeof e!=="boolean"){const s={instancePath:t+"/experimental/gzipSize",schemaPath:"#/properties/experimental/properties/gzipSize/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.experimental.properties.gzipSize.type,parentSchema:r.properties.experimental.properties.gzipSize,data:e};if(n===null){n=[s]}else{n.push(s)}m++}}if(s.images!==undefined){let e=s.images;if(e&&typeof e=="object"&&!Array.isArray(e)){for(const s in e){if(!(s==="allowFutureImage"||s==="remotePatterns"||s==="unoptimized")){const p={instancePath:t+"/experimental/images",schemaPath:"#/properties/experimental/properties/images/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:s},message:"must NOT have additional properties",schema:false,parentSchema:r.properties.experimental.properties.images,data:e};if(n===null){n=[p]}else{n.push(p)}m++}}if(e.allowFutureImage!==undefined){let s=e.allowFutureImage;if(typeof s!=="boolean"){const e={instancePath:t+"/experimental/images/allowFutureImage",schemaPath:"#/properties/experimental/properties/images/properties/allowFutureImage/type",keyword:"type",params:{type:"boolean"},message:"must be boolean",schema:r.properties.experimental.properties.images.properties.allowFutureImage.type,parentSchema:r.properties.experimental.properties.images.properties.allowFutureImage,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.remotePatterns!==undefined){let s=e.remotePatterns;if(Array.isArray(s)){const e=s.length;for(let p=0;p<e;p++){let e=s[p];if(e&&typeof e=="object"&&!Array.isArray(e)){for(const s in e){if(!(s==="hostname"||s==="pathname"||s==="port"||s==="protocol")){const a={instancePath:t+"/experimental/images/remotePatterns/"+p,schemaPath:"#/properties/experimental/properties/images/properties/remotePatterns/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:s},message:"must NOT have additional properties",schema:false,parentSchema:r.properties.experimental.properties.images.properties.remotePatterns.items,data:e};if(n===null){n=[a]}else{n.push(a)}m++}}if(e.hostname!==undefined){let s=e.hostname;if(typeof s==="string"){if(a(s)<1){const e={instancePath:t+"/experimental/images/remotePatterns/"+p+"/hostname",schemaPath:"#/properties/experimental/properties/images/properties/remotePatterns/items/properties/hostname/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters",schema:1,parentSchema:r.properties.experimental.properties.images.properties.remotePatterns.items.properties.hostname,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}else{const e={instancePath:t+"/experimental/images/remotePatterns/"+p+"/hostname",schemaPath:"#/properties/experimental/properties/images/properties/remotePatterns/items/properties/hostname/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.experimental.properties.images.properties.remotePatterns.items.properties.hostname.type,parentSchema:r.properties.experimental.properties.images.properties.remotePatterns.items.properties.hostname,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}if(e.pathname!==undefined){let s=e.pathname;if(typeof s==="string"){if(a(s)<1){const e={instancePath:t+"/experimental/images/remotePatterns/"+p+"/pathname",schemaPath:"#/properties/experimental/properties/images/properties/remotePatterns/items/properties/pathname/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters",schema:1,parentSchema:r.properties.experimental.properties.images.properties.remotePatterns.items.properties.pathname,data:s};if(n===null){n=[e]}else{n.push(e)}m++}}else{const e={instancePath:t+"/experimental/images/remotePatterns/"+p+"/pathname",schemaPath:"#/properties/experimental/properties/images/properties/remotePatterns/items/properties/pathname/type",keyword:"type",params:{type:"string"},message:"must be string",schema:r.properties.experimental.properties.images.properties.remotePatterns.items.properties.pathname.type,parentSchema:r.properties.experimental.properties.images.prope