(()=>{"use strict";vare={97:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.AggregateAjvError=t.AjvError=void0;consti=r(852);consta=r(610);constn={fieldLabels:"title",includeOriginalError:false,includeData:false};classAjvErrorextendsError{constructor(e,t={}){super();this.options={};this.redundant=false;this.options={...n,...t};this.pointer=e.instancePath;this.path=a.jsonPath(e.instancePath);constr=i.getMessage(e,this.options);if(r===null){this.redundant=true;return}this.message=`${a.capitalize(r)}.`;if(this.options.includeOriginalError){this.original=e}if(this.options.includeData){this.data=e.data}}toJSON(){conste={path:this.path,pointer:this.pointer,message:this.message};if(this.options.includeOriginalError){e.original=this.original}if(this.options.includeData){e.data=this.data}returne}}t.AjvError=AjvError;classAggregateAjvErrorextendsError{constructor(e,t={}){super();this.name="AggregateAjvError";this.errors=(e!==null&&e!==void0?e:[]).map((e=>newAjvError(e,t))).filter((e=>!e.redundant));this.message=this.errors.map((e=>e.message)).join(" ")}toJSON(){returnthis.errors.map((e=>e.toJSON()))}*[Symbol.iterator](){for(consteofthis.errors){yielde}}}t.AggregateAjvError=AggregateAjvError},852:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getMessage=t.fieldPreamble=void0;consti=r(610);consta={"date-time":"date and time",time:"time",date:"date",email:"email address",hostname:"hostname",ipv4:"IPv4 address",ipv6:"IPv6 address",uri:"URI","uri-reference":"URI Reference","uri-template":"URI-template","json-pointer":"JSON Pointer","relative-json-pointer":"relative JSON Pointer",regex:"regular expression"};constfieldPreamble=({instancePath:e,parentSchema:t},{fieldLabels:r})=>{switch(r){case"js":if(e===""){return"the root value"}return`the value at ${i.jsonPath(e).replace(/^\$/,"")}`;case"jsonPath":return`the value at ${i.jsonPath(e)}`;case"jsonPointer":case"instancePath":if(e===""){return"the root value"}return`the value at ${e}`;case"title":if(t===null||t===void0?void0:t.title){returnt.title}if(e===""){return"the root value"}return`the value at ${e}`;default:thrownewError(`invalid fieldLabels value: ${r}`)}};t.fieldPreamble=fieldPreamble;constgetMessage=({data:e,keyword:r,message:n,params:s,parentSchema:o,schemaPath:u,instancePath:l},{fieldLabels:c})=>{consth=t.fieldPreamble({instancePath:l,parentSchema:o},{fieldLabels:c});if(o===null||o===void0?void0:o.errorMessage){return`${h}${o.errorMessage}`}switch(r){case"enum":{conste=s.allowedValues.map(JSON.stringify);constt=i.humanizeList(e,"or");return`${h} must be one of: ${t}`}case"type":{constt=Array.isArray(s.type)?s.type:s.type.split(",");constr=i.humanizeList(t,"or");consta=i.humanizeTypeOf(e);return`${h} must be ${i.indefiniteArticle(r)}${r} but it was ${a}`}case"minLength":{constt=s.limit;constr=i.pluralize("character",t);consta=e.length;constn=i.pluralize("character",a);return`${h} must be ${t}${r} or more but it was ${a}${n}`}case"maxLength":{constt=s.limit;constr=i.pluralize("character",t);consta=e.length;constn=i.pluralize("character",a);return`${h} must be ${t}${r} or fewer but it was ${a}${n}`}case"pattern":{if(u.endsWith("propertyNames/pattern"))returnnull;conste=o===null||o===void0?void0:o.patternLabel;if(e){return`${h} must be ${e} but it was not`}else{return`${h} is an invalid string`}}case"format":{conste=a[s.format]||s.format;return`${h} must be a valid ${e} string but it was not`}case"multipleOf":{return`${h} must be a multiple of ${s.multipleOf}`}case"minimum":{return`${h} must be equal to or greater than ${s.limit}`}case"exclusiveMinimum":{return`${h} must be greater than ${s.limit}`}case"maximum":{return`${h} must be equal to or less than ${s.limit}`}case"exclusiveMaximum":{return`${h} must be less than ${s.limit}`}case"additionalProperties":{conste=Object.keys(o===null||o===void0?void0:o.properties).join(", ");constt=s.additionalProperty;return`${h} has an unexpected property, ${t}, which is not in the list of allowed properties (${e})`}case"required":{conste=s.missingProperty;return`${h} is missing the required field '${e}'`}case"propertyNames":{return`${h} has an invalid property name ${JSON.stringify(s.propertyName)}`}case"minProperties":{constt=s.limit;constr=Object.keys(e).length;return`${h} must have ${t} or more properties but it has ${r}`}case"maxProperties":{constt=s.limit;constr=Object.keys(e).length;return`${h} must have ${t} or fewer properties but it has ${r}`}case"dependencies":{conste=s.property;constt=s.missingProperty;return`${h} must have property ${t} when ${e} is present`}case"minItems":{constt=s.limit;constr=e.length;return`${h} must have ${t} or more items but it has ${r}`}case"maxItems":{constt=s.limit;constr=e.length;return`${h} must have ${t} or fewer items but it has ${r}`}case"uniqueItems":{const{i:e,j:t}=s;return`${h} must be unique but elements ${t} and ${e} are the same`}default:return`${h}${n}`}};t.getMessage=getMessage},610:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.humanizeList=t.humanizeTypeOf=t.indefiniteArticle=t.humanizePath=t.jsonPath=t.pluralize=t.capitalize=void0;constcapitalize=e=>{if(typeofe!=="string"||e.length===0){returne}returne.charAt(0).toUpperCase()+e.slice(1)};t.capitalize=capitalize;constpluralize=(e,t)=>{if(t===1){returne}return`${e}s`};t.pluralize=pluralize;constjsonPath=e=>{if(e===""){return"$"}constt=e.substring(1).split(/\//).map((e=>e.replace(/~1/g,"/").replace(/~0/g,"~").replace(/\./g,"\\."))).map((e=>{if(/^\d+$/.exec(e)){return`[${e}]`}return`.${e}`})).join("");return"$"+t};t.jsonPath=jsonPath;consthumanizePath=e=>{if(e===""){return"the root value"}return`the value at ${t.jsonPath(e)}`};t.humanizePath=humanizePath;constindefiniteArticle=e=>{switch(e[0]){case"a":case"e":case"i":case"o":case"u":return"an";default:return"a"}};t.indefiniteArticle=indefiniteArticle;consthumanizeTypeOf=e=>{constr=typeofe;switch(r){case"object":if(e===null){return"null"}if(Array.isArray(e)){return"an array"}return"an object";case"undefined":return"undefined";default:return`${t.indefiniteArticle(r)}${r}`}};t.humanizeTypeOf=humanizeTypeOf;consthumanizeList=(e,t="and")=>{if(e.length===0){return"nothing"}if(e.length===1){returne[0]}if(e.length===2){return`${e[0]}${t}${e[1]}`}return`${e.slice(0,-1).join(", ")}, ${t}${e[e.length-1]}`};t.humanizeList=humanizeList}};vart={};function__nccwpck_require__(r){vari=t[r];if(i!==undefined){returni.exports}vara=t[r]={exports:{}};varn=true;try{e[r](a,a.exports,__nccwpck_require__);n=false}finally{if(n)deletet[r]}returna.exports}if(typeof__nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";varr={};(()=>{vare=r;Object.defineProperty(e,"__esModule",{value:true});e.AggregateAjvError=void0;vart=__nccwpck_require__(97);Object.defineProperty(e,"AggregateAjvError",{enumerable:true,get:function(){returnt.AggregateAjvError}})})();module.exports=r})();