@hyperjump/json-schema 0.23.2 → 0.23.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/json-schema-amd.js +933 -42
- package/dist/json-schema-amd.js.map +1 -1
- package/dist/json-schema-amd.min.js +2 -3
- package/dist/json-schema-amd.min.js.map +1 -1
- package/dist/json-schema-cjs.js +933 -42
- package/dist/json-schema-cjs.js.map +1 -1
- package/dist/json-schema-cjs.min.js +2 -3
- package/dist/json-schema-cjs.min.js.map +1 -1
- package/dist/json-schema-esm.js +933 -42
- package/dist/json-schema-esm.js.map +1 -1
- package/dist/json-schema-esm.min.js +2 -3
- package/dist/json-schema-esm.min.js.map +1 -1
- package/dist/json-schema-iife.js +933 -42
- package/dist/json-schema-iife.js.map +1 -1
- package/dist/json-schema-iife.min.js +2 -3
- package/dist/json-schema-iife.min.js.map +1 -1
- package/dist/json-schema-system.js +933 -42
- package/dist/json-schema-system.js.map +1 -1
- package/dist/json-schema-system.min.js +2 -3
- package/dist/json-schema-system.min.js.map +1 -1
- package/dist/json-schema-umd.js +933 -42
- package/dist/json-schema-umd.js.map +1 -1
- package/dist/json-schema-umd.min.js +2 -3
- package/dist/json-schema-umd.min.js.map +1 -1
- package/lib/common.d.ts +1 -0
- package/lib/draft-04.d.ts +3 -2
- package/lib/draft-06.d.ts +3 -2
- package/lib/draft-07.d.ts +3 -2
- package/lib/draft-2019-09.d.ts +3 -2
- package/lib/draft-2020-12.d.ts +3 -2
- package/package.json +3 -3
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=function(e,t){return function n(){null==t&&(t=e.length);var r=[].slice.call(arguments);return r.length>=t?e.apply(this,r):function(){return n.apply(this,r.concat([].slice.call(arguments)))}}};var n,r,a={exports:{}};n=a,r=a.exports,function(e,t){var a={};e.PubSub?(a=e.PubSub,console.warn("PubSub already loaded, using existing version")):(e.PubSub=a,function(e){var t={},n=-1,r="*";function a(e){var t;for(t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function i(e){return function(){throw e}}function o(e,t,n){try{e(t,n)}catch(e){setTimeout(i(e),0)}}function s(e,t,n){e(t,n)}function c(e,n,r,a){var i,c=t[n],
|
|
2
|
-
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */!function(e){function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,a=1;a<r;++a)t[a]=t[a].slice(1,-1);return t[r]=t[r].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function r(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function a(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function o(e,t){var n=e;if(t)for(var r in t)n[r]=t[r];return n}function s(e){var r="[A-Za-z]",a="[0-9]",i=t(a,"[A-Fa-f]"),o=n(n("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+n("%[89A-Fa-f]"+i+"%"+i+i)+"|"+n("%"+i+i)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",c=t("[\\:\\/\\?\\#\\[\\]\\@]",s),p=e?"[\\uE000-\\uF8FF]":"[]",m=t(r,a,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]");n(r+t(r,a,"[\\+\\-\\.]")+"*"),n(n(o+"|"+t(m,s,"[\\:]"))+"*");var l=n(n("25[0-5]")+"|"+n("2[0-4]"+a)+"|"+n("1"+a+a)+"|"+n("0?[1-9]"+a)+"|0?0?"+a),u=n(l+"\\."+l+"\\."+l+"\\."+l),d=n(i+"{1,4}"),f=n(n(d+"\\:"+d)+"|"+u),h=n(n(d+"\\:")+"{6}"+f),y=n("\\:\\:"+n(d+"\\:")+"{5}"+f),v=n(n(d)+"?\\:\\:"+n(d+"\\:")+"{4}"+f),g=n(n(n(d+"\\:")+"{0,1}"+d)+"?\\:\\:"+n(d+"\\:")+"{3}"+f),b=n(n(n(d+"\\:")+"{0,2}"+d)+"?\\:\\:"+n(d+"\\:")+"{2}"+f),$=n(n(n(d+"\\:")+"{0,3}"+d)+"?\\:\\:"+d+"\\:"+f),I=n(n(n(d+"\\:")+"{0,4}"+d)+"?\\:\\:"+f),O=n(n(n(d+"\\:")+"{0,5}"+d)+"?\\:\\:"+d),S=n(n(n(d+"\\:")+"{0,6}"+d)+"?\\:\\:"),w=n([h,y,v,g,b,$,I,O,S].join("|")),j=n(n(m+"|"+o)+"+");n("[vV]"+i+"+\\."+t(m,s,"[\\:]")+"+"),n(n(o+"|"+t(m,s))+"*");var E=n(o+"|"+t(m,s,"[\\:\\@]"));return n(n(o+"|"+t(m,s,"[\\@]"))+"+"),n(n(E+"|"+t("[\\/\\?]",p))+"*"),{NOT_SCHEME:new RegExp(t("[^]",r,a,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",m,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",m,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",m,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",m,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",m,s,"[\\:\\@\\/\\?]",p),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",m,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",m,s),"g"),UNRESERVED:new RegExp(m,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",m,c),"g"),PCT_ENCODED:new RegExp(o,"g"),IPV4ADDRESS:new RegExp("^("+u+")$"),IPV6ADDRESS:new RegExp("^\\[?("+w+")"+n(n("\\%25|\\%(?!"+i+"{2})")+"("+j+")")+"?\\]?$")}}var c=s(!1),p=s(!0),m=function(){function e(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},u=2147483647,d=36,f=1,h=26,y=38,v=700,g=72,b=128,$="-",I=/^xn--/,O=/[^\0-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=d-f,E=Math.floor,x=String.fromCharCode;function C(e){throw new RangeError(w[e])}function P(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}function A(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+P((e=e.replace(S,".")).split("."),t).join(".")}function N(e){for(var t=[],n=0,r=e.length;n<r;){var a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&a)<<10)+(1023&i)+65536):(t.push(a),n--)}else t.push(a)}return t}var D=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:d},T=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},R=function(e,t,n){var r=0;for(e=n?E(e/v):e>>1,e+=E(e/t);e>j*h>>1;r+=d)e=E(e/j);return E(r+(j+1)*e/(e+y))},q=function(e){var t=[],n=e.length,r=0,a=b,i=g,o=e.lastIndexOf($);o<0&&(o=0);for(var s=0;s<o;++s)e.charCodeAt(s)>=128&&C("not-basic"),t.push(e.charCodeAt(s));for(var c=o>0?o+1:0;c<n;){for(var p=r,m=1,l=d;;l+=d){c>=n&&C("invalid-input");var y=D(e.charCodeAt(c++));(y>=d||y>E((u-r)/m))&&C("overflow"),r+=y*m;var v=l<=i?f:l>=i+h?h:l-i;if(y<v)break;var I=d-v;m>E(u/I)&&C("overflow"),m*=I}var O=t.length+1;i=R(r-p,O,0==p),E(r/O)>u-a&&C("overflow"),a+=E(r/O),r%=O,t.splice(r++,0,a)}return String.fromCodePoint.apply(String,t)},M=function(e){var t=[],n=(e=N(e)).length,r=b,a=0,i=g,o=!0,s=!1,c=void 0;try{for(var p,m=e[Symbol.iterator]();!(o=(p=m.next()).done);o=!0){var l=p.value;l<128&&t.push(x(l))}}catch(e){s=!0,c=e}finally{try{!o&&m.return&&m.return()}finally{if(s)throw c}}var y=t.length,v=y;for(y&&t.push($);v<n;){var I=u,O=!0,S=!1,w=void 0;try{for(var j,P=e[Symbol.iterator]();!(O=(j=P.next()).done);O=!0){var A=j.value;A>=r&&A<I&&(I=A)}}catch(e){S=!0,w=e}finally{try{!O&&P.return&&P.return()}finally{if(S)throw w}}var D=v+1;I-r>E((u-a)/D)&&C("overflow"),a+=(I-r)*D,r=I;var q=!0,M=!1,k=void 0;try{for(var L,F=e[Symbol.iterator]();!(q=(L=F.next()).done);q=!0){var _=L.value;if(_<r&&++a>u&&C("overflow"),_==r){for(var V=a,U=d;;U+=d){var z=U<=i?f:U>=i+h?h:U-i;if(V<z)break;var J=V-z,H=d-z;t.push(x(T(z+J%H,0))),V=E(J/H)}t.push(x(T(V,0))),i=R(a,D,v==y),a=0,++v}}}catch(e){M=!0,k=e}finally{try{!q&&F.return&&F.return()}finally{if(M)throw k}}++a,++r}return t.join("")},k=function(e){return A(e,(function(e){return I.test(e)?q(e.slice(4).toLowerCase()):e}))},L=function(e){return A(e,(function(e){return O.test(e)?"xn--"+M(e):e}))},F={version:"2.1.0",ucs2:{decode:N,encode:function(e){return String.fromCodePoint.apply(String,l(e))}},decode:q,encode:M,toASCII:L,toUnicode:k},_={};function V(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function U(e){for(var t="",n=0,r=e.length;n<r;){var a=parseInt(e.substr(n+1,2),16);if(a<128)t+=String.fromCharCode(a),n+=3;else if(a>=194&&a<224){if(r-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&a)<<6|63&i)}else t+=e.substr(n,6);n+=6}else if(a>=224){if(r-n>=9){var o=parseInt(e.substr(n+4,2),16),s=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&a)<<12|(63&o)<<6|63&s)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function z(e,t){function n(e){var n=U(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,V).replace(t.PCT_ENCODED,a)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,V).replace(t.PCT_ENCODED,a)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,V).replace(t.PCT_ENCODED,a)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,V).replace(t.PCT_ENCODED,a)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,V).replace(t.PCT_ENCODED,a)),e}function J(e){return e.replace(/^0*(.*)/,"$1")||"0"}function H(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=m(n,2)[1];return r?r.split(".").map(J).join("."):e}function K(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=m(n,3),a=r[1],i=r[2];if(a){for(var o=a.toLowerCase().split("::").reverse(),s=m(o,2),c=s[0],p=s[1],l=p?p.split(":").map(J):[],u=c.split(":").map(J),d=t.IPV4ADDRESS.test(u[u.length-1]),f=d?7:8,h=u.length-f,y=Array(f),v=0;v<f;++v)y[v]=l[v]||u[h+v]||"";d&&(y[f-1]=H(y[f-1],t));var g=y.reduce((function(e,t,n){if(!t||"0"===t){var r=e[e.length-1];r&&r.index+r.length===n?r.length++:e.push({index:n,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(g&&g.length>1){var $=y.slice(0,g.index),I=y.slice(g.index+g.length);b=$.join(":")+"::"+I.join(":")}else b=y.join(":");return i&&(b+="%"+i),b}return e}var Z=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,B=void 0==="".match(/(){0}/)[1];function G(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?p:c;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var a=e.match(Z);if(a){B?(n.scheme=a[1],n.userinfo=a[3],n.host=a[4],n.port=parseInt(a[5],10),n.path=a[6]||"",n.query=a[7],n.fragment=a[8],isNaN(n.port)&&(n.port=a[5])):(n.scheme=a[1]||void 0,n.userinfo=-1!==e.indexOf("@")?a[3]:void 0,n.host=-1!==e.indexOf("//")?a[4]:void 0,n.port=parseInt(a[5],10),n.path=a[6]||"",n.query=-1!==e.indexOf("?")?a[7]:void 0,n.fragment=-1!==e.indexOf("#")?a[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?a[4]:void 0)),n.host&&(n.host=K(H(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var i=_[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)z(n,r);else{if(n.host&&(t.domainHost||i&&i.domainHost))try{n.host=F.toASCII(n.host.replace(r.PCT_ENCODED,U).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}z(n,c)}i&&i.parse&&i.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function W(e,t){var n=!1!==t.iri?p:c,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(K(H(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}var X=/^\.\.?\//,Q=/^\/\.(\/|$)/,Y=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(X))e=e.replace(X,"");else if(e.match(Q))e=e.replace(Q,"/");else if(e.match(Y))e=e.replace(Y,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(ee);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?p:c,r=[],a=_[(t.scheme||e.scheme||"").toLowerCase()];if(a&&a.serialize&&a.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||a&&a.domainHost)try{e.host=t.iri?F.toUnicode(e.host):F.toASCII(e.host.replace(n.PCT_ENCODED,U).toLowerCase())}catch(n){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+n}z(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var i=W(e,t);if(void 0!==i&&("suffix"!==t.reference&&r.push("//"),r.push(i),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var o=e.path;t.absolutePath||a&&a.absolutePath||(o=te(o)),void 0===i&&(o=o.replace(/^\/\//,"/%2F")),r.push(o)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=G(ne(e,n),n),t=G(ne(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=te(r.path)),r.query=t.query):(r.path=e.path,void 0!==t.query?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function ae(e,t,n){var r=o({scheme:"null"},n);return ne(re(G(e,r),G(t,r),r,!0),r)}function ie(e,t){return"string"==typeof e?e=ne(G(e,t),t):"object"===r(e)&&(e=G(ne(e,t),t)),e}function oe(e,t,n){return"string"==typeof e?e=ne(G(e,n),n):"object"===r(e)&&(e=ne(e,n)),"string"==typeof t?t=ne(G(t,n),n):"object"===r(t)&&(t=ne(t,n)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?p.ESCAPE:c.ESCAPE,V)}function ce(e,t){return e&&e.toString().replace(t&&t.iri?p.PCT_ENCODED:c.PCT_ENCODED,U)}var pe={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},me={scheme:"https",domainHost:pe.domainHost,parse:pe.parse,serialize:pe.serialize};function le(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var ue={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=le(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(le(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),r=m(n,2),a=r[0],i=r[1];e.path=a&&"/"!==a?a:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},de={scheme:"wss",domainHost:ue.domainHost,parse:ue.parse,serialize:ue.serialize},fe={},he="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ye="[0-9A-Fa-f]",ve=n(n("%[EFef]"+ye+"%"+ye+ye+"%"+ye+ye)+"|"+n("%[89A-Fa-f]"+ye+"%"+ye+ye)+"|"+n("%"+ye+ye)),ge="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),$e="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Ie=new RegExp(he,"g"),Oe=new RegExp(ve,"g"),Se=new RegExp(t("[^]",ge,"[\\.]",'[\\"]',be),"g"),we=new RegExp(t("[^]",he,$e),"g"),je=we;function Ee(e){var t=U(e);return t.match(Ie)?t:e}var xe={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var a=!1,i={},o=n.query.split("&"),s=0,c=o.length;s<c;++s){var p=o[s].split("=");switch(p[0]){case"to":for(var m=p[1].split(","),l=0,u=m.length;l<u;++l)r.push(m[l]);break;case"subject":n.subject=ce(p[1],t);break;case"body":n.body=ce(p[1],t);break;default:a=!0,i[ce(p[0],t)]=ce(p[1],t)}}a&&(n.headers=i)}n.query=void 0;for(var d=0,f=r.length;d<f;++d){var h=r[d].split("@");if(h[0]=ce(h[0]),t.unicodeSupport)h[1]=ce(h[1],t).toLowerCase();else try{h[1]=F.toASCII(ce(h[1],t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}r[d]=h.join("@")}return n},serialize:function(e,t){var n=e,r=i(e.to);if(r){for(var o=0,s=r.length;o<s;++o){var c=String(r[o]),p=c.lastIndexOf("@"),m=c.slice(0,p).replace(Oe,Ee).replace(Oe,a).replace(Se,V),l=c.slice(p+1);try{l=t.iri?F.toUnicode(l):F.toASCII(ce(l,t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}r[o]=m+"@"+l}n.path=r.join(",")}var u=e.headers=e.headers||{};e.subject&&(u.subject=e.subject),e.body&&(u.body=e.body);var d=[];for(var f in u)u[f]!==fe[f]&&d.push(f.replace(Oe,Ee).replace(Oe,a).replace(we,V)+"="+u[f].replace(Oe,Ee).replace(Oe,a).replace(je,V));return d.length&&(n.query=d.join("&")),n}},Ce=/^([^\:]+)\:(.*)/,Pe={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(Ce),r=e;if(n){var a=t.scheme||r.scheme||"urn",i=n[1].toLowerCase(),o=n[2],s=a+":"+(t.nid||i),c=_[s];r.nid=i,r.nss=o,r.path=void 0,c&&(r=c.parse(r,t))}else r.error=r.error||"URN can not be parsed.";return r},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",r=e.nid,a=n+":"+(t.nid||r),i=_[a];i&&(e=i.serialize(e,t));var o=e,s=e.nss;return o.path=(r||t.nid)+":"+s,o}},Ae=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Ne={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(Ae)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};_[pe.scheme]=pe,_[me.scheme]=me,_[ue.scheme]=ue,_[de.scheme]=de,_[xe.scheme]=xe,_[Pe.scheme]=Pe,_[Ne.scheme]=Ne,e.SCHEMES=_,e.pctEncChar=V,e.pctDecChars=U,e.parse=G,e.removeDotSegments=te,e.serialize=ne,e.resolveComponents=re,e.resolve=ae,e.normalize=ie,e.equal=oe,e.escapeComponent=se,e.unescapeComponent=ce,Object.defineProperty(e,"__esModule",{value:!0})}(i.exports);const o=i.exports,s={null:e=>null===e,boolean:e=>"boolean"==typeof e,object:e=>"object"==typeof e&&!Array.isArray(e)&&null!==e,array:e=>Array.isArray(e),number:e=>"number"==typeof e,integer:e=>Number.isInteger(e),string:e=>"string"==typeof e};var c={jsonTypeOf:(e,t)=>s[t](e),resolveUrl:(e,t)=>{const n=o.resolve(e,t,{iri:!0});if(o.resolve(e,"",{iri:!0})&&"file"===o.parse(n).scheme&&"file"!==o.parse(e).scheme)throw Error(`Can't access file '${n}' resource from network context '${e}'`);return n},urlFragment:e=>o.unescapeComponent(o.parse(e).fragment)||"",pathRelative:(e,t)=>{if(e===t)return"";let n=1;const r=e.length-1,a=t.length-n,i=r<a?r:a;let o=-1,s=0;for(;s<i;s++){const r=e.charCodeAt(s+1);if(r!==t.charCodeAt(n+s))break;47===r&&(o=s)}if(a>i){if(47===t.charCodeAt(n+s))return t.slice(n+s+1);if(0===s)return t.slice(n+s)}r>i&&(47===e.charCodeAt(s+1)?o=s:0===i&&(o=0));let c="";for(s=o+2;s<=e.length;++s)s!==e.length&&47!==e.charCodeAt(s)||(c+=0===c.length?"..":"/..");return n+=o,c.length>0?`${c}${t.slice(n,t.length)}`:(47===t.charCodeAt(n)&&++n,t.slice(n,t.length))}};const p=t,m=e=>{if(e.length>0&&"/"!==e[0])throw Error("Invalid JSON Pointer");return e.split("/").slice(1).map(v)},l=(e,t,n,r)=>{if(0===e.length)return n;if(e.length>1){if(Array.isArray(t)){const a=e.shift(),i=[...t];return i[a]=l(e,b(t,a,r),n,h(a,r)),i}{const a=e.shift();return{...t,[a]:l(e,b(t,a,r),n,h(a,r))}}}if(Array.isArray(t)){const r=[...t];return r[g(t,e[0])]=n,r}return"object"==typeof t&&null!==t?{...t,[e[0]]:n}:b(t,e[0],r)},u=(e,t,n,r)=>{if(0!==e.length)if(1!==e.length||$(t)){const a=e.shift();u(e,b(t,a,r),n,h(a,r))}else{t[g(t,e[0])]=n}},d=(e,t,n)=>{if(0!=e.length){if(e.length>1){const r=e.shift(),a=b(t,r,n);return{...t,[r]:d(e,a,h(r,n))}}if(Array.isArray(t))return t.filter(((t,n)=>n!=e[0]));if("object"==typeof t&&null!==t){const{[e[0]]:n,...r}=t;return r}return b(t,e[0],n)}},f=(e,t,n)=>{if(0!==e.length)if(e.length>1){const r=e.shift(),a=b(t,r,n);f(e,a,h(r,n))}else Array.isArray(t)?t.splice(e[0],1):"object"==typeof t&&null!==t?delete t[e[0]]:b(t,e[0],n)},h=p(((e,t)=>t+"/"+y(e))),y=e=>e.toString().replace(/~/g,"~0").replace(/\//g,"~1"),v=e=>e.toString().replace(/~1/g,"/").replace(/~0/g,"~"),g=(e,t)=>Array.isArray(e)&&"-"===t?e.length:t,b=(e,t,n="")=>{if(void 0===e)throw TypeError(`Value at '${n}' is undefined and does not have property '${t}'`);if(null===e)throw TypeError(`Value at '${n}' is null and does not have property '${t}'`);if($(e))throw TypeError(`Value at '${n}' is a ${typeof e} and does not have property '${t}'`);return e[g(e,t)]},$=e=>null===e||"object"!=typeof e;var I={nil:"",append:h,get:(e,t)=>{const n=m(e),r=e=>n.reduce((([e,t],n)=>[b(e,n,t),h(n,t)]),[e,""])[0];return void 0===t?r:r(t)},set:(e,t,n)=>{const r=m(e),a=p(((e,t)=>l(r,e,t,"")));return void 0===t?a:a(t,n)},assign:(e,t,n)=>{const r=m(e),a=p(((e,t)=>u(r,e,t,"")));return void 0===t?a:a(t,n)},unset:(e,t)=>{const n=m(e),r=e=>d(n,e,"");return void 0===t?r:r(t)},remove:(e,t)=>{const n=m(e),r=e=>f(n,e,"");return void 0===t?r:r(t)}};const O=Symbol("$__value"),S=Symbol("$__href");var w={cons:(e,t)=>Object.freeze({[S]:e,[O]:t}),isReference:e=>e&&void 0!==e[S],href:e=>e[S],value:e=>e[O]};const j=I,E=t,{resolveUrl:x,jsonTypeOf:C}=c,P=w,A=Object.freeze({id:"",pointer:"",instance:void 0,value:void 0}),N=e=>P.isReference(e.value)?P.value(e.value):e.value,D=E(((e,t)=>C(N(e),t))),T=(e,t)=>Object.freeze({...t,pointer:j.append(e,t.pointer),value:N(t)[e]}),R=E(((e,t)=>N(t).map(((n,r,a,i)=>e(T(r,t),r,a,i))))),q=E(((e,t)=>N(t).forEach(((n,r,a,i)=>e(T(r,t),r,a,i))))),M=E(((e,t)=>N(t).map(((e,n,r,a)=>T(n,t))).filter(((t,n,r,a)=>e(t,n,r,a))))),k=E(((e,t,n)=>N(n).reduce(((t,r,a)=>e(t,T(a,n),a)),t))),L=E(((e,t)=>N(t).every(((n,r,a,i)=>e(T(r,t),r,a,i))))),F=E(((e,t)=>N(t).some(((n,r,a,i)=>e(T(r,t),r,a,i)))));var _={nil:A,cons:(e,t="")=>Object.freeze({...A,id:x(t,""),instance:e,value:e}),get:(e,t=A)=>{if(!e.startsWith("#"))throw Error(`No JSON document found at '${e.split("#")[0]}'`);return Object.freeze({...t,pointer:e.substr(1)})},uri:e=>`${e.id}#${encodeURI(e.pointer)}`,value:N,has:(e,t)=>e in N(t),typeOf:D,length:e=>N(e).length,step:T,entries:e=>Object.keys(N(e)).map((t=>[t,T(t,e)])),keys:e=>Object.keys(N(e)),map:R,forEach:q,filter:M,reduce:k,every:L,some:F},V=async e=>Object.entries(await e),U=function(e,t){return function n(){null==t&&(t=e.length);var r=[].slice.call(arguments);return r.length>=t?e.apply(this,r):function(){return n.apply(this,r.concat([].slice.call(arguments)))}}};var z=U((async(e,t)=>(await t).map(e)));var J=U((async(e,t,n)=>(await n).reduce((async(t,n)=>e(await t,n)),t)));const H=J;var K=U((async(e,t,n={})=>H((async(t,n)=>await e(n)?t.concat([n]):t),[],t,n)));const Z=z;var B=U((async(e,t)=>{const n=await Z(e,t);return(await Promise.all(n)).some((e=>e))}));const G=z;var W=U((async(e,t)=>{const n=await G(e,t);return(await Promise.all(n)).every((e=>e))}));var X=U(((e,t)=>e.reduce((async(e,t)=>t(await e)),t)));const Q=X,Y=V,ee=J;var te={entries:V,map:z,filter:K,reduce:J,some:B,every:W,pipeline:X,all:e=>Promise.all(e),allValues:e=>Q([Y,ee((async(e,[t,n])=>(e[t]=await n,e)),{})],e)},ne=fetch,re={},ae=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,ie=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,oe=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,se=/\\([\u000b\u0020-\u00ff])/g,ce=/([\\"])/g,pe=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function me(e){var t=String(e);if(oe.test(t))return t;if(t.length>0&&!ie.test(t))throw new TypeError("invalid parameter value");return'"'+t.replace(ce,"\\$1")+'"'}function le(e){this.parameters=Object.create(null),this.type=e}re.format=function(e){if(!e||"object"!=typeof e)throw new TypeError("argument obj is required");var t=e.parameters,n=e.type;if(!n||!pe.test(n))throw new TypeError("invalid type");var r=n;if(t&&"object"==typeof t)for(var a,i=Object.keys(t).sort(),o=0;o<i.length;o++){if(a=i[o],!oe.test(a))throw new TypeError("invalid parameter name");r+="; "+a+"="+me(t[a])}return r},re.parse=function(e){if(!e)throw new TypeError("argument string is required");var t="object"==typeof e?function(e){var t;"function"==typeof e.getHeader?t=e.getHeader("content-type"):"object"==typeof e.headers&&(t=e.headers&&e.headers["content-type"]);if("string"!=typeof t)throw new TypeError("content-type header is missing from object");return t}(e):e;if("string"!=typeof t)throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),r=-1!==n?t.substr(0,n).trim():t.trim();if(!pe.test(r))throw new TypeError("invalid media type");var a=new le(r.toLowerCase());if(-1!==n){var i,o,s;for(ae.lastIndex=n;o=ae.exec(t);){if(o.index!==n)throw new TypeError("invalid parameter format");n+=o[0].length,i=o[1].toLowerCase(),'"'===(s=o[2])[0]&&(s=s.substr(1,s.length-2).replace(se,"$1")),a.parameters[i]=s}if(n!==t.length)throw new TypeError("invalid parameter format")}return a};const ue=re,de={};var fe={addPlugin:(e,t)=>{de[e]=t},parse:e=>{const t=ue.parse(e.headers.get("content-type"));if(!(t.type in de))throw Error(`${e.url} is not a schema. Found a document with media type: ${t.type}`);return de[t.type].parse(e,t.parameters)},getContentType:e=>{for(const t in de)if(de[t].matcher(e))return t;return"application/octet-stream"}};const he=t,ye=te,ve=I,{jsonTypeOf:ge,resolveUrl:be,urlFragment:$e,pathRelative:Ie}=c,Oe=ne,Se=w,we=fe,je="https://json-schema.org/draft/2019-09/vocab/core",Ee="https://json-schema.org/draft/2020-12/vocab/core",xe={},Ce={},Pe=(e,t)=>{const n=Ce[e];return xe[n]?.[t]},Ae={},Ne={},De=(e,t="",n="")=>{e=JSON.parse(JSON.stringify(e));const r=be(t,""),a=be(e.$schema||n,"");if(!a)throw Error("Couldn't determine schema dialect");if(delete e.$schema,!(a in Ce))if(!0===e?.$vocabulary?.[je]&&a===Te(e,r,je)[0])Ce[a]=je;else if(!0===e?.$vocabulary?.[Ee]&&a===Te(e,r,Ee)[0])Ce[a]=Ee;else{const e=Ae[a];if(!e)throw Error(`Couldn't determine JSON Schema version for dialect: '${a}'`);!0===e.vocabulary[je]?Ce[a]=je:!0===e.vocabulary[Ee]?Ce[a]=Ee:Ce[a]=Ce[e.dialectId]}const[i,o]=Te(e,r,Ce[a]);if(!i)throw Error("Couldn't determine an identifier for the schema");const s=Pe(a,"baseToken");delete e[s],r&&(Ne[r]=i);const c=Pe(a,"anchorToken");o&&s===c&&(e[c]=c!==s?encodeURI(o):`#${encodeURI(o)}`);const p={},m=Pe(a,"recursiveAnchorToken");let l;!0===e[m]&&(p[""]=`${i}#`,e[c]="",delete e[m]);const u=Pe(a,"vocabularyToken");ge(e[u],"object")?(l=e[u],delete e[u]):l={[Ce[a]]:!0};const d={"":""};return Ae[i]={id:i,dialectId:a,schema:Re(e,i,a,ve.nil,d,p),anchors:d,dynamicAnchors:p,vocabulary:l,validated:!1},i},Te=(e,t,n)=>{const r=xe[n]?.baseToken,a=be(t,e[r]||"");return[be(a,""),$e(a)]},Re=(e,t,n,r,a,i)=>{if(ge(e,"object")){const o="string"==typeof e.$schema?be(e.$schema,""):n,s=Pe(o,"embeddedToken"),c=Pe(o,"anchorToken");if("string"==typeof e[s]&&(s!==c||"#"!==e[s][0])){const r=be(t,e[s]);return e[Pe(o,"baseToken")]=r,De(e,r,n),Se.cons(e[s],e)}const p=Pe(n,"anchorToken"),m=Pe(n,"dynamicAnchorToken");"string"==typeof e[m]&&(i[e[m]]=`${t}#${encodeURI(r)}`,a[e[m]]=r,delete e[m]);const l=Pe(n,"embeddedToken");if("string"==typeof e[p]){const t=p!==l?e[p]:e[p].slice(1);a[t]=r,delete e[p]}const u=Pe(n,"jrefToken");if("string"==typeof e[u])return Se.cons(e[u],e);for(const o in e)e[o]=Re(e[o],t,n,ve.append(o,r),a,i);return e}return Array.isArray(e)?e.map(((e,o)=>Re(e,t,n,ve.append(o,r),a,i))):e},qe=e=>Ae[Ne[e]]||Ae[e],Me=Object.freeze({id:"",dialectId:void 0,vocabulary:{},pointer:ve.nil,schema:void 0,value:void 0,anchors:{},dynamicAnchors:{},validated:!0}),ke=async(e,t=Me)=>{const n=be(_e(t),e),r=be(n,""),a=$e(n);if(!(e=>e in Ae||e in Ne)(r)){const e=await Oe(r,{headers:{Accept:"application/schema+json"}});if(e.status>=400)throw await e.text(),Error(`Failed to retrieve schema with id: ${r}`);const[t,n]=await we.parse(e);let a;a=t.$schema?be(t.$schema,""):n?be(r,n):"",a&&r!==a&&!(a in Ce)&&await ke(a),De(t,r,a)}const i=qe(r),o="/"!==a[0]?Fe(i,a):a,s=Object.freeze({...i,pointer:o,value:ve.get(o,i.schema)});return Le(s)},Le=e=>Se.isReference(e.value)?ke(Se.href(e.value),e):e,Fe=(e,t)=>{if(!(t in e.anchors))throw Error(`No such anchor '${encodeURI(e.id)}#${encodeURI(t)}'`);return e.anchors[t]},_e=e=>`${e.id}#${encodeURI(e.pointer)}`,Ve=e=>Se.isReference(e.value)?Se.value(e.value):e.value,Ue=(e,t)=>{const n=qe(t.id),r=Object.freeze({...t,pointer:ve.append(e,t.pointer),value:Ve(t)[e],validated:n.validated});return Le(r)},ze=he(((e,t)=>ye.pipeline([Ve,ye.map((async(n,r)=>e(await Ue(r,t),r))),ye.all],t))),Je={parentId:"",parentDialect:"",includeEmbedded:!0},He=(e,t)=>{if(t.startsWith("file://")){const n=e.slice(7,e.lastIndexOf("/"));return""===e?"":Ie(n,t.slice(7))}return t};var Ke={setConfig:(e,t,n)=>{Ce[e]=e,xe[e]||(xe[e]={}),xe[e][t]=n},getConfig:Pe,add:De,get:ke,markValidated:e=>{Ae[e].validated=!0},uri:_e,value:Ve,getAnchorPointer:Fe,typeOf:(e,t)=>ge(Ve(e),t),has:(e,t)=>e in Ve(t),step:Ue,keys:e=>Object.keys(Ve(e)),entries:e=>ye.pipeline([Ve,Object.keys,ye.map((async t=>[t,await Ue(t,e)])),ye.all],e),map:ze,length:e=>Ve(e).length,toSchema:(e,t={})=>{const n={...Je,...t},r=JSON.parse(JSON.stringify(e.schema,((t,r)=>{if(!Se.isReference(r))return r;const a=Se.value(r),i="string"==typeof a.$schema?be(a.$schema,""):e.dialectId,o=Pe(i,"embeddedToken");return!n.includeEmbedded&&o in a?void 0:Se.value(r)}))),a=Pe(e.dialectId,"dynamicAnchorToken");Object.entries(e.dynamicAnchors).forEach((([e,t])=>{const n=ve.append(a,$e(t));ve.assign(n,r,e)}));const i=Pe(e.dialectId,"anchorToken");Object.entries(e.anchors).filter((([t])=>""!==t&&!(t in e.dynamicAnchors))).forEach((([e,t])=>{const n=ve.append(i,t);ve.assign(n,r,e)}));const o=Pe(e.dialectId,"baseToken"),s=He(n.parentId,e.id),c=n.parentDialect===e.dialectId?"":e.dialectId;return{...s&&{[o]:s},...c&&{$schema:c},...r}}};class Ze extends Error{constructor(e){super("Invalid Schema"),this.name=this.constructor.name,this.output=e}}var Be=Ze;const Ge=Ke;var We={compile:e=>Ge.value(e),interpret:()=>!0};const Xe=t,Qe=a.exports,{resolveUrl:Ye}=c,et=_,tt=Ke,nt=Be,rt=fe,at=We,it="FLAG",ot="BASIC",st="DETAILED",ct="VERBOSE";let pt=st,mt=!0;rt.addPlugin("application/schema+json",{parse:async(e,t)=>[await e.json(),t.schema||t.profile],matcher:e=>e.endsWith(".schema.json")});const lt=async e=>{const t={metaData:{}};return{ast:t,schemaUri:await bt(e,t)}},ut=Xe((({ast:e,schemaUri:t},n,r=it)=>{if(![it,ot,st,ct].includes(r))throw Error(`The '${r}' error format is not supported`);const a=[],i=Qe.subscribe("result",dt(r,a));return It(t,n,e,{}),Qe.unsubscribe(i),a[0]})),dt=(e,t)=>{const n=[];return(r,a)=>{if("result"===r){const{keyword:e,absoluteKeywordLocation:t,instanceLocation:r,valid:i}=a,o={keyword:e,absoluteKeywordLocation:t,instanceLocation:r,valid:i,errors:[]};n.push(o)}else if("result.start"===r)n.push(r);else if("result.end"===r){const r=n.pop();for(;"result.start"!==n[n.length-1];){const t=n.pop(),a=[t];e===ot&&(a.push(...t.errors),delete t.errors),(e===ct||e!==it&&!t.valid)&&r.errors.unshift(...a)}n[n.length-1]=r,t[0]=r}}},ft={},ht=e=>ft[e]||at,yt=e=>e in ft,vt={},gt={},bt=async(e,t)=>{if(e=await $t(e),!yt(`${e.dialectId}#validate`)){const t=await tt.get(e.dialectId);(tt.getConfig(t.id,"mandatoryVocabularies")||[]).forEach((e=>{if(!t.vocabulary[e])throw Error(`Vocabulary '${e}' must be explicitly declared and required`)})),Object.entries(t.vocabulary).forEach((([e,n])=>{if(e in vt)Object.entries(vt[e]).forEach((([e,n])=>{((e,t)=>{ft[e]={collectEvaluatedItems:(e,n,r,a,i)=>t.interpret(e,n,r,a,i)&&new Set,collectEvaluatedProperties:(e,n,r,a,i)=>t.interpret(e,n,r,a,i)&&[],...t}})(`${t.id}#${e}`,n)}));else if(n)throw Error(`Missing required vocabulary: ${e}`)}))}if(mt&&!e.validated){if(tt.markValidated(e.id),!(e.dialectId in gt)){const t=await tt.get(e.dialectId),n=await lt(t);gt[t.id]=ut(n)}const t=et.cons(e.schema,e.id),n=gt[e.dialectId](t,pt);if(!n.valid)throw new nt(n)}return e.id in t.metaData||(t.metaData[e.id]={id:e.id,dynamicAnchors:e.dynamicAnchors,anchors:e.anchors}),ht(`${e.dialectId}#validate`).compile(e,t)},$t=async e=>tt.typeOf(e,"string")?$t(await tt.get(tt.value(e),e)):e,It=(e,t,n,r)=>{const a=Ot(e,n),i=Ye(e,"");return ht(a).interpret(e,t,n,{...n.metaData[i].dynamicAnchors,...r})},Ot=(e,t)=>{if(!(e in t))throw Error(`No schema found at ${e}`);return t[e][0]};var St={validate:async(e,t,n)=>{const r=await lt(e),a=(e,t)=>ut(r,et.cons(e),t);return void 0===t?a:a(t,n)},compile:lt,interpret:ut,setMetaOutputFormat:e=>{pt=e},setShouldMetaValidate:e=>{mt=e},FLAG:it,BASIC:ot,DETAILED:st,VERBOSE:ct,add:(e,t="",n="")=>{const r=tt.add(e,t,n);delete gt[r]},getKeyword:ht,hasKeyword:yt,defineVocabulary:(e,t)=>{vt[e]=t},compileSchema:bt,interpretSchema:It,collectEvaluatedProperties:(e,t,n,r,a)=>{const i=Ot(e,n);return ht(i).collectEvaluatedProperties(e,t,n,r,a)},collectEvaluatedItems:(e,t,n,r,a)=>{const i=Ot(e,n);return ht(i).collectEvaluatedItems(e,t,n,r,a)},addMediaTypePlugin:rt.addPlugin};const wt=te,jt=a.exports,Et=St,xt=_,Ct=Ke;var Pt={compile:async(e,t)=>{const n=Ct.uri(e);if(!(n in t)){t[n]=!1;const r=Ct.value(e);if(!["object","boolean"].includes(typeof r))throw Error(`No schema found at '${Ct.uri(e)}'`);t[n]=[`${e.dialectId}#validate`,Ct.uri(e),"boolean"==typeof r?r:await wt.pipeline([Ct.entries,wt.map((([t,n])=>[`${e.dialectId}#${t}`,n])),wt.filter((([t])=>t!==`${e.dialectId}#validate`)),wt.map((async([n,r])=>{const a=await Et.getKeyword(n).compile(r,t,e);return[n,Ct.uri(r),a]})),wt.all],e)]}return n},interpret:(e,t,n,r)=>{const[a,i,o]=n[e];jt.publishSync("result.start");const s="boolean"==typeof o?o:o.every((([e,a,i])=>{jt.publishSync("result.start");const o=Et.getKeyword(e).interpret(i,t,n,r);return jt.publishSync("result",{keyword:e,absoluteKeywordLocation:a,instanceLocation:xt.uri(t),valid:o,ast:i}),jt.publishSync("result.end"),o}));return jt.publishSync("result",{keyword:a,absoluteKeywordLocation:i,instanceLocation:xt.uri(t),valid:s,ast:e}),jt.publishSync("result.end"),s},collectEvaluatedProperties:(e,t,n,r,a=!1)=>{const i=n[e][2];return"boolean"==typeof i?!!i&&[]:i.filter((([e])=>!a||!e.endsWith("#unevaluatedProperties"))).reduce(((e,[a,,i])=>{const o=e&&Et.getKeyword(a).collectEvaluatedProperties(i,t,n,r);return!1!==o&&[...e,...o]}),[])},collectEvaluatedItems:(e,t,n,r,a=!1)=>{const i=n[e][2];return"boolean"==typeof i?!!i&&new Set:i.filter((([e])=>!a||!e.endsWith("#unevaluatedItems"))).reduce(((e,[a,,i])=>{const o=!1!==e&&Et.getKeyword(a).collectEvaluatedItems(i,t,n,r);return!1!==o&&new Set([...e,...o])}),new Set)}};var At={Core:St,Schema:Ke,Instance:_,Reference:w,Keywords:{metaData:We,validate:Pt},InvalidSchemaError:Be};const{Core:Nt,Schema:Dt,Instance:Tt}=At;var Rt={compile:async(e,t,n)=>{const r=await Dt.step("items",n),a=Dt.typeOf(r,"array")?Dt.length(r):Number.MAX_SAFE_INTEGER;return Dt.typeOf(e,"boolean")?[a,Dt.value(e)]:[a,await Nt.compileSchema(e,t)]},interpret:([e,t],n,r,a)=>!Tt.typeOf(n,"array")||("string"==typeof t?Tt.every(((n,i)=>i<e||Nt.interpretSchema(t,n,r,a)),n):Tt.every(((n,r)=>r<e||t),n))};const{Core:qt,Schema:Mt,Instance:kt}=At,Lt=([e,t],n,r,a)=>!kt.typeOf(n,"array")||kt.every(((n,i)=>i<e||qt.interpretSchema(t,n,r,a)),n);var Ft={compile:async(e,t,n)=>{const r=await Mt.step("items",n);return[Mt.typeOf(r,"array")?Mt.length(r):Number.MAX_SAFE_INTEGER,await qt.compileSchema(e,t)]},interpret:Lt,collectEvaluatedItems:(e,t,n,r)=>Lt(e,t,n,r)&&new Set(kt.map(((e,t)=>t),t))};const{Core:_t,Schema:Vt,Instance:Ut}=At;var zt={compile:async(e,t,n)=>{const r=await Vt.step("properties",n),a=Vt.typeOf(r,"object")?Vt.keys(r):[],i=await Vt.step("patternProperties",n),o=Vt.typeOf(i,"object")?Vt.keys(i).map((e=>new RegExp(e))):[];return Vt.typeOf(e,"boolean")?[a,o,Vt.value(e)]:[a,o,await _t.compileSchema(e,t)]},interpret:([e,t,n],r,a,i)=>{if(!Ut.typeOf(r,"object"))return!0;const o=Ut.entries(r).filter((([n])=>!e.includes(n)&&!t.some((e=>e.test(n)))));return"string"==typeof n?o.every((([,e])=>_t.interpretSchema(n,e,a,i))):0===o.length||n}};const{Core:Jt,Schema:Ht,Instance:Kt}=At,Zt=([e,t,n],r,a,i)=>!Kt.typeOf(r,"object")||Kt.entries(r).filter((([n])=>!e.includes(n)&&!t.some((e=>e.test(n))))).every((([,e])=>Jt.interpretSchema(n,e,a,i)));var Bt={compile:async(e,t,n)=>{const r=await Ht.step("properties",n),a=Ht.typeOf(r,"object")?Ht.keys(r):[],i=await Ht.step("patternProperties",n),o=Ht.typeOf(i,"object")?Ht.keys(i).map((e=>new RegExp(e))):[];return[a,o,await Jt.compileSchema(e,t)]},interpret:Zt,collectEvaluatedProperties:(e,t,n,r)=>Zt(e,t,n,r)&&[new RegExp("")]};const{Core:Gt,Schema:Wt}=At,Xt=te;var Qt={compile:(e,t)=>Xt.pipeline([Wt.map((async e=>Gt.compileSchema(await e,t))),Xt.all],e),interpret:(e,t,n,r)=>e.every((e=>Gt.interpretSchema(e,t,n,r))),collectEvaluatedProperties:(e,t,n,r)=>e.reduce(((e,a)=>{const i=e&&Gt.collectEvaluatedProperties(a,t,n,r);return!1!==i&&[...e,...i]}),[]),collectEvaluatedItems:(e,t,n,r)=>e.reduce(((e,a)=>{const i=!1!==e&&Gt.collectEvaluatedItems(a,t,n,r);return!1!==i&&new Set([...e,...i])}),new Set)};const{Core:Yt,Schema:en}=At,tn=te;var nn={compile:(e,t)=>tn.pipeline([en.map((async e=>Yt.compileSchema(await e,t))),tn.all],e),interpret:(e,t,n,r)=>e.filter((e=>Yt.interpretSchema(e,t,n,r))).length>0,collectEvaluatedProperties:(e,t,n,r)=>e.reduce(((e,a)=>{const i=Yt.collectEvaluatedProperties(a,t,n,r);return!1!==i?[...e||[],...i]:e}),!1),collectEvaluatedItems:(e,t,n,r)=>e.reduce(((e,a)=>{const i=Yt.collectEvaluatedItems(a,t,n,r);return!1!==i?new Set([...e||[],...i]):e}),!1)},rn=Object.keys,an=JSON.stringify;function on(e,t){var n,r,a,i,o,s,c;if("string"===(c=typeof e))return an(e);if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(e instanceof Array){for(a="[",r=e.length-1,n=0;n<r;n++)a+=on(e[n],!1)+",";return r>-1&&(a+=on(e[n],!1)),a+"]"}if(e instanceof Object){if("function"==typeof e.toJSON)return on(e.toJSON(),t);for(r=(i=rn(e).sort()).length,a="",n=0;n<r;)void 0!==(s=on(e[o=i[n]],!0))&&(n&&""!==a&&(a+=","),a+=an(o)+":"+s),n++;return"{"+a+"}"}switch(c){case"function":case"undefined":return t?void 0:null;default:return isFinite(e)?e:null}}var sn=function(e){return""+on(e,!1)};const{Schema:cn,Instance:pn}=At,mn=sn;var ln={compile:e=>mn(cn.value(e)),interpret:(e,t)=>mn(pn.value(t))===e};const{Core:un,Instance:dn}=At;var fn={compile:(e,t)=>un.compileSchema(e,t),interpret:(e,t,n,r)=>!dn.typeOf(t,"array")||dn.some((t=>un.interpretSchema(e,t,n,r)),t)};const{Core:hn,Schema:yn,Instance:vn}=At,gn=({contains:e,minContains:t,maxContains:n},r,a,i)=>{if(!vn.typeOf(r,"array"))return!0;const o=vn.reduce(((t,n)=>hn.interpretSchema(e,n,a,i)?t+1:t),0,r);return o>=t&&o<=n};var bn={compile:async(e,t,n)=>{const r=await hn.compileSchema(e,t),a=await yn.step("minContains",n),i=yn.typeOf(a,"number")?yn.value(a):1,o=await yn.step("maxContains",n);return{contains:r,minContains:i,maxContains:yn.typeOf(o,"number")?yn.value(o):Number.MAX_SAFE_INTEGER}},interpret:gn,collectEvaluatedItems:(e,t,n,r)=>gn(e,t,n,r)&&vn.reduce(((t,a,i)=>hn.interpretSchema(e.contains,a,n,r)?t.add(i):t),new Set,t)};const{Core:$n,Schema:In}=At,On=te;var Sn={compile:async(e,t)=>{await On.pipeline([In.entries,On.map((([,e])=>$n.compileSchema(e,t))),On.all],e)},interpret:()=>!0};const{Core:wn,Schema:jn,Instance:En}=At,xn=te;var Cn={compile:(e,t)=>xn.pipeline([jn.entries,xn.map((async([e,n])=>[e,jn.typeOf(n,"array")?jn.value(n):await wn.compileSchema(n,t)])),xn.all],e),interpret:(e,t,n,r)=>{const a=En.value(t);return!En.typeOf(t,"object")||e.every((([e,i])=>!(e in a)||(Array.isArray(i)?i.every((e=>e in a)):wn.interpretSchema(i,t,n,r))))}};const{Schema:Pn,Instance:An}=At,Nn=te;var Dn={compile:e=>Nn.pipeline([Pn.entries,Nn.map((([e,t])=>[e,Pn.value(t)])),Nn.all],e),interpret:(e,t)=>{const n=An.value(t);return!An.typeOf(t,"object")||e.every((([e,t])=>!(e in n)||t.every((e=>e in n))))}};const{Core:Tn,Schema:Rn,Instance:qn}=At,Mn=te;var kn={compile:(e,t)=>Mn.pipeline([Rn.entries,Mn.map((async([e,n])=>[e,await Tn.compileSchema(n,t)])),Mn.all],e),interpret:(e,t,n,r)=>{const a=qn.value(t);return!qn.typeOf(t,"object")||e.every((([e,i])=>!(e in a)||Tn.interpretSchema(i,t,n,r)))},collectEvaluatedProperties:(e,t,n,r)=>e.reduce(((e,[a,i])=>{if(!e||!qn.has(a,t))return e;const o=Tn.collectEvaluatedProperties(i,t,n,r);return!1!==o&&e.concat(o)}),[])};const{Schema:Ln,Instance:Fn}=At,_n=sn;var Vn={compile:e=>Ln.value(e).map(_n),interpret:(e,t)=>e.some((e=>_n(Fn.value(t))===e))};const{Schema:Un,Instance:zn}=At;var Jn={compile:async e=>Un.value(e),interpret:(e,t)=>!zn.typeOf(t,"number")||zn.value(t)<e};const{Schema:Hn,Instance:Kn}=At;var Zn={compile:async e=>Hn.value(e),interpret:(e,t)=>!Kn.typeOf(t,"number")||Kn.value(t)>e};const{Core:Bn}=At;var Gn={compile:(e,t)=>Bn.compileSchema(e,t),interpret:(e,t,n,r)=>(Bn.interpretSchema(e,t,n,r),!0),collectEvaluatedProperties:(e,t,n,r)=>Bn.collectEvaluatedProperties(e,t,n,r)||[],collectEvaluatedItems:(e,t,n,r)=>Bn.collectEvaluatedItems(e,t,n,r)||new Set};const{Core:Wn,Schema:Xn}=At,Qn=(e,t,n,r)=>{const a=n[e][2];return"boolean"==typeof a?a:a.every((([e,,a])=>Wn.getKeyword(e).interpret(a,t,n,r)))};var Yn={compile:async(e,t,n)=>{if(Xn.has("if",n)){const r=await Xn.step("if",n);return[await Wn.compileSchema(r,t),await Wn.compileSchema(e,t)]}return[]},interpret:([e,t],n,r,a)=>void 0===e||!Qn(e,n,r,a)||Wn.interpretSchema(t,n,r,a),collectEvaluatedProperties:([e,t],n,r,a)=>void 0!==e&&Qn(e,n,r,a)?Wn.collectEvaluatedProperties(t,n,r,a):[],collectEvaluatedItems:([e,t],n,r,a)=>void 0!==e&&Qn(e,n,r,a)?Wn.collectEvaluatedItems(t,n,r,a):new Set};const{Core:er,Schema:tr}=At,nr=(e,t,n,r)=>{const a=n[e][2];return"boolean"==typeof a?a:a.every((([e,,a])=>er.getKeyword(e).interpret(a,t,n,r)))};var rr={compile:async(e,t,n)=>{if(tr.has("if",n)){const r=await tr.step("if",n);return[await er.compileSchema(r,t),await er.compileSchema(e,t)]}return[]},interpret:([e,t],n,r,a)=>void 0===e||nr(e,n,r,a)||er.interpretSchema(t,n,r,a),collectEvaluatedProperties:([e,t],n,r,a)=>void 0===e||nr(e,n,r,a)?[]:er.collectEvaluatedProperties(t,n,r,a),collectEvaluatedItems:([e,t],n,r,a)=>void 0===e||nr(e,n,r,a)?new Set:er.collectEvaluatedItems(t,n,r,a)};const{Core:ar,Schema:ir,Instance:or}=At,sr=(e,t,n,r)=>!or.typeOf(t,"array")||("string"==typeof e?or.every((t=>ar.interpretSchema(e,t,n,r)),t):or.every(((t,a)=>!(a in e)||ar.interpretSchema(e[a],t,n,r)),t));var cr={compile:async(e,t)=>{if(ir.typeOf(e,"array")){const n=await ir.map((e=>ar.compileSchema(e,t)),e);return Promise.all(n)}return ar.compileSchema(e,t)},interpret:sr,collectEvaluatedItems:(e,t,n,r)=>sr(e,t,n,r)&&("string"==typeof e?new Set(or.map(((e,t)=>t),t)):new Set(e.map(((e,t)=>t))))};const{Core:pr,Schema:mr,Instance:lr}=At,ur=([e,t],n,r,a)=>!lr.typeOf(n,"array")||lr.every(((n,i)=>i<e||pr.interpretSchema(t,n,r,a)),n);var dr={compile:async(e,t,n)=>{const r=await mr.step("prefixItems",n);return[mr.typeOf(r,"array")?mr.length(r):0,await pr.compileSchema(e,t)]},interpret:ur,collectEvaluatedItems:(e,t,n,r)=>ur(e,t,n,r)&&new Set(lr.map(((e,t)=>t),t))};const{Schema:fr,Instance:hr}=At;var yr={compile:e=>fr.value(e),interpret:(e,t)=>!hr.typeOf(t,"array")||hr.length(t)<=e};const{Schema:vr,Instance:gr}=At;var br={compile:e=>vr.value(e),interpret:(e,t)=>!gr.typeOf(t,"string")||[...gr.value(t)].length<=e};const{Schema:$r,Instance:Ir}=At;var Or={compile:e=>$r.value(e),interpret:(e,t)=>!Ir.typeOf(t,"object")||Ir.keys(t).length<=e};const{Schema:Sr,Instance:wr}=At;var jr={compile:async(e,t,n)=>{const r=await Sr.step("exclusiveMaximum",n),a=Sr.value(r);return[Sr.value(e),a]},interpret:([e,t],n)=>{if(!wr.typeOf(n,"number"))return!0;const r=wr.value(n);return t?r<e:r<=e}};const{Schema:Er,Instance:xr}=At;var Cr={compile:async e=>Er.value(e),interpret:(e,t)=>!xr.typeOf(t,"number")||xr.value(t)<=e};const{Schema:Pr,Instance:Ar}=At;var Nr={compile:e=>Pr.value(e),interpret:(e,t)=>!Ar.typeOf(t,"array")||Ar.length(t)>=e};const{Schema:Dr,Instance:Tr}=At;var Rr={compile:e=>Dr.value(e),interpret:(e,t)=>!Tr.typeOf(t,"string")||[...Tr.value(t)].length>=e};const{Schema:qr,Instance:Mr}=At;var kr={compile:e=>qr.value(e),interpret:(e,t)=>!Mr.typeOf(t,"object")||Mr.keys(t).length>=e};const{Schema:Lr,Instance:Fr}=At;var _r={compile:async(e,t,n)=>{const r=await Lr.step("exclusiveMinimum",n),a=Lr.value(r);return[Lr.value(e),a]},interpret:([e,t],n)=>{if(!Fr.typeOf(n,"number"))return!0;const r=Fr.value(n);return t?r>e:r>=e}};const{Schema:Vr,Instance:Ur}=At;var zr={compile:async e=>Vr.value(e),interpret:(e,t)=>!Ur.typeOf(t,"number")||Ur.value(t)>=e};const{Schema:Jr,Instance:Hr}=At,Kr=(e,t)=>Math.abs(e-t)<1.1920929e-7;var Zr={compile:e=>Jr.value(e),interpret:(e,t)=>{if(!Hr.typeOf(t,"number"))return!0;const n=Hr.value(t)%e;return Kr(0,n)||Kr(e,n)}};const{Core:Br}=At;var Gr={compile:Br.compileSchema,interpret:(e,t,n,r)=>!Br.interpretSchema(e,t,n,r)};const{Core:Wr,Schema:Xr}=At;var Qr={compile:async(e,t)=>{const n=await Xr.map((e=>Wr.compileSchema(e,t)),e);return Promise.all(n)},interpret:(e,t,n,r)=>{let a=0;for(const i of e)if(Wr.interpretSchema(i,t,n,r)&&a++,a>1)break;return 1===a},collectEvaluatedProperties:(e,t,n,r)=>{let a=0;return e.reduce(((e,i)=>{if(a>1)return!1;const o=Wr.collectEvaluatedProperties(i,t,n,r);return o?0==a++&&o:e}),!1)},collectEvaluatedItems:(e,t,n,r)=>{let a=0;return e.reduce(((e,i)=>{if(a>1)return!1;const o=Wr.collectEvaluatedItems(i,t,n,r);return o?0==a++&&o:e}),!1)}};const{Schema:Yr,Instance:ea}=At;var ta={compile:e=>new RegExp(Yr.value(e),"u"),interpret:(e,t)=>!ea.typeOf(t,"string")||e.test(ea.value(t))};const{Core:na,Schema:ra,Instance:aa}=At,ia=te,oa=(e,t,n,r)=>!aa.typeOf(t,"object")||e.every((([e,a])=>aa.entries(t).filter((([t])=>e.test(t))).every((([,e])=>na.interpretSchema(a,e,n,r)))));var sa={compile:(e,t)=>ia.pipeline([ra.entries,ia.map((async([e,n])=>[new RegExp(e,"u"),await na.compileSchema(n,t)])),ia.all],e),interpret:oa,collectEvaluatedProperties:(e,t,n,r)=>oa(e,t,n,r)&&e.map((([e])=>e))};var ca={isObject:e=>"object"==typeof e&&!Array.isArray(e)&&null!==e,escapeRegExp:e=>e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),splitUrl:e=>{const t=e.indexOf("#"),n=-1===t?e.length:t,r=e.slice(0,n),a=e.slice(n+1);return[decodeURI(r),decodeURI(a)]}};const{Core:pa,Schema:ma,Instance:la}=At,ua=te,{escapeRegExp:da}=ca,fa=(e,t,n,r)=>!la.typeOf(t,"object")||la.entries(t).filter((([t])=>t in e)).every((([t,a])=>pa.interpretSchema(e[t],a,n,r)));var ha={compile:(e,t)=>ua.pipeline([ma.entries,ua.reduce((async(e,[n,r])=>(e[n]=await pa.compileSchema(r,t),e)),Object.create(null))],e),interpret:fa,collectEvaluatedProperties:(e,t,n,r)=>fa(e,t,n,r)&&Object.keys(e).map((e=>new RegExp(`^${da(e)}$`)))};const{Core:ya,Instance:va}=At;var ga={compile:(e,t)=>ya.compileSchema(e,t),interpret:(e,t,n,r)=>!va.typeOf(t,"object")||va.keys(t).every((t=>ya.interpretSchema(e,va.cons(t),n,r)))};const{Core:ba,Schema:$a}=At,{splitUrl:Ia}=ca;var Oa={compile:async(e,t)=>{const[,n]=Ia($a.value(e)),r=await $a.get($a.value(e),e);return await ba.compileSchema(r,t),[r.id,n]},interpret:([e,t],n,r,a)=>{if(t in r.metaData[e].dynamicAnchors)return ba.interpretSchema(a[t],n,r,a);{const i=$a.getAnchorPointer(r.metaData[e],t);return ba.interpretSchema(`${e}#${encodeURI(i)}`,n,r,a)}},collectEvaluatedProperties:ba.collectEvaluatedProperties,collectEvaluatedItems:ba.collectEvaluatedItems};const{Core:Sa,Schema:wa}=At;var ja={compile:async(e,t)=>{const n=await wa.get(wa.value(e),e);return Sa.compileSchema(n,t)},interpret:Sa.interpretSchema,collectEvaluatedProperties:Sa.collectEvaluatedProperties,collectEvaluatedItems:Sa.collectEvaluatedItems};const{Schema:Ea,Instance:xa}=At;var Ca={compile:e=>Ea.value(e),interpret:(e,t)=>!xa.typeOf(t,"object")||e.every((e=>Object.prototype.hasOwnProperty.call(xa.value(t),e)))};const{Core:Pa,Schema:Aa,Instance:Na}=At,Da=te,Ta=(e,t,n,r)=>!Na.typeOf(t,"array")||Na.every(((t,a)=>!(a in e)||Pa.interpretSchema(e[a],t,n,r)),t);var Ra={compile:(e,t)=>Da.pipeline([Aa.map((e=>Pa.compileSchema(e,t))),Da.all],e),interpret:Ta,collectEvaluatedItems:(e,t,n,r)=>Ta(e,t,n,r)&&new Set(e.map(((e,t)=>t)))};const{Schema:qa,Instance:Ma}=At;var ka={compile:e=>qa.value(e),interpret:(e,t)=>"string"==typeof e?Ma.typeOf(t,e):e.some(Ma.typeOf(t))};const{Core:La,Schema:Fa,Instance:_a}=At,Va=([e,t],n,r,a)=>{if(!_a.typeOf(n,"array"))return!0;const i=La.collectEvaluatedItems(e,n,r,a,!0);return!1===i||_a.every(((e,o)=>i.has(o)||La.interpretSchema(t,_a.step(o,n),r,a)),n)};var Ua={compile:async(e,t,n)=>[Fa.uri(n),await La.compileSchema(e,t)],interpret:Va,collectEvaluatedItems:(e,t,n,r)=>Va(e,t,n,r)&&new Set(_a.map(((e,t)=>t),t))};const{Core:za,Schema:Ja,Instance:Ha}=At,Ka=([e,t],n,r,a)=>{if(!Ha.typeOf(n,"object"))return!0;const i=za.collectEvaluatedProperties(e,n,r,a,!0);return!i||Ha.entries(n).filter((([e])=>!i.some((t=>e.match(t))))).every((([,e])=>za.interpretSchema(t,e,r,a)))};var Za={compile:async(e,t,n)=>[Ja.uri(n),await za.compileSchema(e,t)],interpret:Ka,collectEvaluatedProperties:(e,t,n,r)=>Ka(e,t,n,r)&&[new RegExp("")]};const{Schema:Ba,Instance:Ga}=At,Wa=sn;var Xa={compile:e=>Ba.value(e),interpret:(e,t)=>{if(!Ga.typeOf(t,"array")||!1===e)return!0;const n=Ga.map((e=>Wa(Ga.value(e))),t);return new Set(n).size===n.length}};const{Keywords:Qa}=At;var Ya={additionalItems:Rt,additionalItems6:Ft,additionalProperties:zt,additionalProperties6:Bt,allOf:Qt,anyOf:nn,const:ln,contains:fn,containsMinContainsMaxContains:bn,definitions:Sn,dependencies:Cn,dependentRequired:Dn,dependentSchemas:kn,enum:Vn,exclusiveMaximum:Jn,exclusiveMinimum:Zn,if:Gn,then:Yn,else:rr,items:cr,items202012:dr,maxItems:yr,maxLength:br,maxProperties:Or,maximumExclusiveMaximum:jr,maximum:Cr,metaData:Qa.metaData,minItems:Nr,minLength:Rr,minProperties:kr,minimumExclusiveMinimum:_r,minimum:zr,multipleOf:Zr,not:Gr,oneOf:Qr,pattern:ta,patternProperties:sa,properties:ha,propertyNames:ga,dynamicRef:Oa,ref:ja,required:Ca,tupleItems:Ra,type:ka,unevaluatedItems:Ua,unevaluatedProperties:Za,uniqueItems:Xa,validate:Qa.validate};const{Core:ei,Schema:ti}=At,ni=Ya,ri="http://json-schema.org/draft-04/schema";ti.setConfig(ri,"baseToken","id"),ti.setConfig(ri,"embeddedToken","id"),ti.setConfig(ri,"anchorToken","id"),ti.setConfig(ri,"jrefToken","$ref"),ti.add(JSON.parse('{\n "id": "http://json-schema.org/draft-04/schema#",\n "$schema": "http://json-schema.org/draft-04/schema#",\n "description": "Core schema meta-schema",\n "definitions": {\n "schemaArray": {\n "type": "array",\n "minItems": 1,\n "items": { "$ref": "#" }\n },\n "positiveInteger": {\n "type": "integer",\n "minimum": 0\n },\n "positiveIntegerDefault0": {\n "allOf": [ { "$ref": "#/definitions/positiveInteger" }, { "default": 0 } ]\n },\n "simpleTypes": {\n "enum": [ "array", "boolean", "integer", "null", "number", "object", "string" ]\n },\n "stringArray": {\n "type": "array",\n "items": { "type": "string" },\n "minItems": 1,\n "uniqueItems": true\n }\n },\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "$schema": {\n "type": "string"\n },\n "title": {\n "type": "string"\n },\n "description": {\n "type": "string"\n },\n "default": {},\n "multipleOf": {\n "type": "number",\n "minimum": 0,\n "exclusiveMinimum": true\n },\n "maximum": {\n "type": "number"\n },\n "exclusiveMaximum": {\n "type": "boolean",\n "default": false\n },\n "minimum": {\n "type": "number"\n },\n "exclusiveMinimum": {\n "type": "boolean",\n "default": false\n },\n "maxLength": { "$ref": "#/definitions/positiveInteger" },\n "minLength": { "$ref": "#/definitions/positiveIntegerDefault0" },\n "pattern": {\n "type": "string",\n "format": "regex"\n },\n "additionalItems": {\n "anyOf": [\n { "type": "boolean" },\n { "$ref": "#" }\n ],\n "default": {}\n },\n "items": {\n "anyOf": [\n { "$ref": "#" },\n { "$ref": "#/definitions/schemaArray" }\n ],\n "default": {}\n },\n "maxItems": { "$ref": "#/definitions/positiveInteger" },\n "minItems": { "$ref": "#/definitions/positiveIntegerDefault0" },\n "uniqueItems": {\n "type": "boolean",\n "default": false\n },\n "maxProperties": { "$ref": "#/definitions/positiveInteger" },\n "minProperties": { "$ref": "#/definitions/positiveIntegerDefault0" },\n "required": { "$ref": "#/definitions/stringArray" },\n "additionalProperties": {\n "anyOf": [\n { "type": "boolean" },\n { "$ref": "#" }\n ],\n "default": {}\n },\n "definitions": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "properties": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "patternProperties": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "dependencies": {\n "type": "object",\n "additionalProperties": {\n "anyOf": [\n { "$ref": "#" },\n { "$ref": "#/definitions/stringArray" }\n ]\n }\n },\n "enum": {\n "type": "array",\n "minItems": 1,\n "uniqueItems": true\n },\n "type": {\n "anyOf": [\n { "$ref": "#/definitions/simpleTypes" },\n {\n "type": "array",\n "items": { "$ref": "#/definitions/simpleTypes" },\n "minItems": 1,\n "uniqueItems": true\n }\n ]\n },\n "format": { "type": "string" },\n "allOf": { "$ref": "#/definitions/schemaArray" },\n "anyOf": { "$ref": "#/definitions/schemaArray" },\n "oneOf": { "$ref": "#/definitions/schemaArray" },\n "not": { "$ref": "#" }\n },\n "dependencies": {\n "exclusiveMaximum": [ "maximum" ],\n "exclusiveMinimum": [ "minimum" ]\n },\n "default": {}\n}')),ei.defineVocabulary(ri,{validate:ni.validate,additionalItems:ni.additionalItems,additionalProperties:ni.additionalProperties,allOf:ni.allOf,anyOf:ni.anyOf,default:ni.metaData,definitions:ni.definitions,dependencies:ni.dependencies,description:ni.metaData,enum:ni.enum,format:ni.metaData,items:ni.items,maxItems:ni.maxItems,maxLength:ni.maxLength,maxProperties:ni.maxProperties,maximum:ni.maximumExclusiveMaximum,minItems:ni.minItems,minLength:ni.minLength,minProperties:ni.minProperties,minimum:ni.minimumExclusiveMinimum,multipleOf:ni.multipleOf,not:ni.not,oneOf:ni.oneOf,pattern:ni.pattern,patternProperties:ni.patternProperties,properties:ni.properties,required:ni.required,title:ni.metaData,type:ni.type,uniqueItems:ni.uniqueItems});const{Core:ai,Schema:ii}=At,oi=Ya,si="http://json-schema.org/draft-06/schema";ii.setConfig(si,"baseToken","$id"),ii.setConfig(si,"embeddedToken","$id"),ii.setConfig(si,"anchorToken","$id"),ii.setConfig(si,"jrefToken","$ref"),ii.add(JSON.parse('{\n "$schema": "http://json-schema.org/draft-06/schema#",\n "$id": "http://json-schema.org/draft-06/schema#",\n "title": "Core schema meta-schema",\n "definitions": {\n "schemaArray": {\n "type": "array",\n "minItems": 1,\n "items": { "$ref": "#" }\n },\n "nonNegativeInteger": {\n "type": "integer",\n "minimum": 0\n },\n "nonNegativeIntegerDefault0": {\n "allOf": [\n { "$ref": "#/definitions/nonNegativeInteger" },\n { "default": 0 }\n ]\n },\n "simpleTypes": {\n "enum": [\n "array",\n "boolean",\n "integer",\n "null",\n "number",\n "object",\n "string"\n ]\n },\n "stringArray": {\n "type": "array",\n "items": { "type": "string" },\n "uniqueItems": true,\n "default": []\n }\n },\n "type": ["object", "boolean"],\n "properties": {\n "$id": {\n "type": "string",\n "format": "uri-reference"\n },\n "$schema": {\n "type": "string",\n "format": "uri"\n },\n "$ref": {\n "type": "string",\n "format": "uri-reference"\n },\n "title": {\n "type": "string"\n },\n "description": {\n "type": "string"\n },\n "default": {},\n "examples": {\n "type": "array",\n "items": {}\n },\n "multipleOf": {\n "type": "number",\n "exclusiveMinimum": 0\n },\n "maximum": {\n "type": "number"\n },\n "exclusiveMaximum": {\n "type": "number"\n },\n "minimum": {\n "type": "number"\n },\n "exclusiveMinimum": {\n "type": "number"\n },\n "maxLength": { "$ref": "#/definitions/nonNegativeInteger" },\n "minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },\n "pattern": {\n "type": "string",\n "format": "regex"\n },\n "additionalItems": { "$ref": "#" },\n "items": {\n "anyOf": [\n { "$ref": "#" },\n { "$ref": "#/definitions/schemaArray" }\n ],\n "default": {}\n },\n "maxItems": { "$ref": "#/definitions/nonNegativeInteger" },\n "minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },\n "uniqueItems": {\n "type": "boolean",\n "default": false\n },\n "contains": { "$ref": "#" },\n "maxProperties": { "$ref": "#/definitions/nonNegativeInteger" },\n "minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },\n "required": { "$ref": "#/definitions/stringArray" },\n "additionalProperties": { "$ref": "#" },\n "definitions": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "properties": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "patternProperties": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "dependencies": {\n "type": "object",\n "additionalProperties": {\n "anyOf": [\n { "$ref": "#" },\n { "$ref": "#/definitions/stringArray" }\n ]\n }\n },\n "propertyNames": { "$ref": "#" },\n "const": {},\n "enum": {\n "type": "array",\n "minItems": 1,\n "uniqueItems": true\n },\n "type": {\n "anyOf": [\n { "$ref": "#/definitions/simpleTypes" },\n {\n "type": "array",\n "items": { "$ref": "#/definitions/simpleTypes" },\n "minItems": 1,\n "uniqueItems": true\n }\n ]\n },\n "format": { "type": "string" },\n "allOf": { "$ref": "#/definitions/schemaArray" },\n "anyOf": { "$ref": "#/definitions/schemaArray" },\n "oneOf": { "$ref": "#/definitions/schemaArray" },\n "not": { "$ref": "#" }\n },\n "default": {}\n}')),ai.defineVocabulary(si,{validate:oi.validate,additionalItems:oi.additionalItems6,additionalProperties:oi.additionalProperties6,allOf:oi.allOf,anyOf:oi.anyOf,const:oi.const,contains:oi.contains,default:oi.metaData,definitions:oi.definitions,dependencies:oi.dependencies,description:oi.metaData,enum:oi.enum,examples:oi.metaData,exclusiveMaximum:oi.exclusiveMaximum,exclusiveMinimum:oi.exclusiveMinimum,format:oi.metaData,items:oi.items,maxItems:oi.maxItems,maxLength:oi.maxLength,maxProperties:oi.maxProperties,maximum:oi.maximum,minItems:oi.minItems,minLength:oi.minLength,minProperties:oi.minProperties,minimum:oi.minimum,multipleOf:oi.multipleOf,not:oi.not,oneOf:oi.oneOf,pattern:oi.pattern,patternProperties:oi.patternProperties,properties:oi.properties,propertyNames:oi.propertyNames,required:oi.required,title:oi.metaData,type:oi.type,uniqueItems:oi.uniqueItems});const{Core:ci,Schema:pi}=At,mi=Ya,li="http://json-schema.org/draft-07/schema";pi.setConfig(li,"baseToken","$id"),pi.setConfig(li,"embeddedToken","$id"),pi.setConfig(li,"anchorToken","$id"),pi.setConfig(li,"jrefToken","$ref"),pi.add(JSON.parse('{\n "$schema": "http://json-schema.org/draft-07/schema#",\n "$id": "http://json-schema.org/draft-07/schema#",\n "title": "Core schema meta-schema",\n "definitions": {\n "schemaArray": {\n "type": "array",\n "minItems": 1,\n "items": { "$ref": "#" }\n },\n "nonNegativeInteger": {\n "type": "integer",\n "minimum": 0\n },\n "nonNegativeIntegerDefault0": {\n "allOf": [\n { "$ref": "#/definitions/nonNegativeInteger" },\n { "default": 0 }\n ]\n },\n "simpleTypes": {\n "enum": [\n "array",\n "boolean",\n "integer",\n "null",\n "number",\n "object",\n "string"\n ]\n },\n "stringArray": {\n "type": "array",\n "items": { "type": "string" },\n "uniqueItems": true,\n "default": []\n }\n },\n "type": ["object", "boolean"],\n "properties": {\n "$id": {\n "type": "string",\n "format": "uri-reference"\n },\n "$schema": {\n "type": "string",\n "format": "uri"\n },\n "$ref": {\n "type": "string",\n "format": "uri-reference"\n },\n "$comment": {\n "type": "string"\n },\n "title": {\n "type": "string"\n },\n "description": {\n "type": "string"\n },\n "default": true,\n "readOnly": {\n "type": "boolean",\n "default": false\n },\n "writeOnly": {\n "type": "boolean",\n "default": false\n },\n "examples": {\n "type": "array",\n "items": true\n },\n "multipleOf": {\n "type": "number",\n "exclusiveMinimum": 0\n },\n "maximum": {\n "type": "number"\n },\n "exclusiveMaximum": {\n "type": "number"\n },\n "minimum": {\n "type": "number"\n },\n "exclusiveMinimum": {\n "type": "number"\n },\n "maxLength": { "$ref": "#/definitions/nonNegativeInteger" },\n "minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },\n "pattern": {\n "type": "string",\n "format": "regex"\n },\n "additionalItems": { "$ref": "#" },\n "items": {\n "anyOf": [\n { "$ref": "#" },\n { "$ref": "#/definitions/schemaArray" }\n ],\n "default": true\n },\n "maxItems": { "$ref": "#/definitions/nonNegativeInteger" },\n "minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },\n "uniqueItems": {\n "type": "boolean",\n "default": false\n },\n "contains": { "$ref": "#" },\n "maxProperties": { "$ref": "#/definitions/nonNegativeInteger" },\n "minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },\n "required": { "$ref": "#/definitions/stringArray" },\n "additionalProperties": { "$ref": "#" },\n "definitions": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "properties": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "patternProperties": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "propertyNames": { "format": "regex" },\n "default": {}\n },\n "dependencies": {\n "type": "object",\n "additionalProperties": {\n "anyOf": [\n { "$ref": "#" },\n { "$ref": "#/definitions/stringArray" }\n ]\n }\n },\n "propertyNames": { "$ref": "#" },\n "const": true,\n "enum": {\n "type": "array",\n "items": true,\n "minItems": 1,\n "uniqueItems": true\n },\n "type": {\n "anyOf": [\n { "$ref": "#/definitions/simpleTypes" },\n {\n "type": "array",\n "items": { "$ref": "#/definitions/simpleTypes" },\n "minItems": 1,\n "uniqueItems": true\n }\n ]\n },\n "format": { "type": "string" },\n "contentMediaType": { "type": "string" },\n "contentEncoding": { "type": "string" },\n "if": { "$ref": "#" },\n "then": { "$ref": "#" },\n "else": { "$ref": "#" },\n "allOf": { "$ref": "#/definitions/schemaArray" },\n "anyOf": { "$ref": "#/definitions/schemaArray" },\n "oneOf": { "$ref": "#/definitions/schemaArray" },\n "not": { "$ref": "#" }\n },\n "default": true\n}')),ci.defineVocabulary(li,{validate:mi.validate,additionalItems:mi.additionalItems6,additionalProperties:mi.additionalProperties6,allOf:mi.allOf,anyOf:mi.anyOf,const:mi.const,contains:mi.contains,default:mi.metaData,definitions:mi.definitions,dependencies:mi.dependencies,description:mi.metaData,enum:mi.enum,exclusiveMaximum:mi.exclusiveMaximum,exclusiveMinimum:mi.exclusiveMinimum,format:mi.metaData,if:mi.if,then:mi.then,else:mi.else,items:mi.items,maxItems:mi.maxItems,maxLength:mi.maxLength,maxProperties:mi.maxProperties,maximum:mi.maximum,minItems:mi.minItems,minLength:mi.minLength,minProperties:mi.minProperties,minimum:mi.minimum,multipleOf:mi.multipleOf,not:mi.not,oneOf:mi.oneOf,pattern:mi.pattern,patternProperties:mi.patternProperties,properties:mi.properties,propertyNames:mi.propertyNames,readOnly:mi.metaData,required:mi.required,title:mi.metaData,type:mi.type,uniqueItems:mi.uniqueItems,writeOnly:mi.metaData});const{Core:ui,Schema:di}=At,fi=Ya,hi="https://json-schema.org/draft/2019-09/vocab/core";di.setConfig(hi,"baseToken","$id"),di.setConfig(hi,"embeddedToken","$id"),di.setConfig(hi,"anchorToken","$anchor"),di.setConfig(hi,"recursiveAnchorToken","$recursiveAnchor"),di.setConfig(hi,"vocabularyToken","$vocabulary"),di.setConfig(hi,"mandatoryVocabularies",["https://json-schema.org/draft/2019-09/vocab/core"]),di.add(JSON.parse('{\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$id": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/core": true,\n "https://json-schema.org/draft/2019-09/vocab/applicator": true,\n "https://json-schema.org/draft/2019-09/vocab/validation": true,\n "https://json-schema.org/draft/2019-09/vocab/meta-data": true,\n "https://json-schema.org/draft/2019-09/vocab/format": false,\n "https://json-schema.org/draft/2019-09/vocab/content": true\n },\n "$recursiveAnchor": true,\n\n "title": "Core and Validation specifications meta-schema",\n "allOf": [\n {"$ref": "meta/core"},\n {"$ref": "meta/applicator"},\n {"$ref": "meta/validation"},\n {"$ref": "meta/meta-data"},\n {"$ref": "meta/format"},\n {"$ref": "meta/content"}\n ],\n "type": ["object", "boolean"],\n "properties": {\n "definitions": {\n "$comment": "While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",\n "type": "object",\n "additionalProperties": { "$recursiveRef": "#" },\n "default": {}\n },\n "dependencies": {\n "$comment": "\\"dependencies\\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \\"dependentSchemas\\" and \\"dependentRequired\\"",\n "type": "object",\n "additionalProperties": {\n "anyOf": [\n { "$recursiveRef": "#" },\n { "$ref": "meta/validation#/$defs/stringArray" }\n ]\n }\n }\n }\n}')),di.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2019-09/meta/core",\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/core": true\n },\n "$recursiveAnchor": true,\n\n "title": "Core vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "$id": {\n "type": "string",\n "format": "uri-reference",\n "$comment": "Non-empty fragments not allowed.",\n "pattern": "^[^#]*#?$"\n },\n "$schema": {\n "type": "string",\n "format": "uri"\n },\n "$anchor": {\n "type": "string",\n "pattern": "^[A-Za-z][-A-Za-z0-9.:_]*$"\n },\n "$ref": {\n "type": "string",\n "format": "uri-reference"\n },\n "$recursiveRef": {\n "type": "string",\n "format": "uri-reference"\n },\n "$recursiveAnchor": {\n "type": "boolean",\n "default": false\n },\n "$vocabulary": {\n "type": "object",\n "propertyNames": {\n "type": "string",\n "format": "uri"\n },\n "additionalProperties": {\n "type": "boolean"\n }\n },\n "$comment": {\n "type": "string"\n },\n "$defs": {\n "type": "object",\n "additionalProperties": { "$recursiveRef": "#" },\n "default": {}\n }\n }\n}')),ui.defineVocabulary("https://json-schema.org/draft/2019-09/vocab/core",{validate:fi.validate,$defs:fi.definitions,$recursiveRef:fi.dynamicRef,$ref:fi.ref}),di.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2019-09/meta/applicator",\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/applicator": true\n },\n "$recursiveAnchor": true,\n\n "title": "Applicator vocabulary meta-schema",\n "properties": {\n "additionalItems": { "$recursiveRef": "#" },\n "unevaluatedItems": { "$recursiveRef": "#" },\n "items": {\n "anyOf": [\n { "$recursiveRef": "#" },\n { "$ref": "#/$defs/schemaArray" }\n ]\n },\n "contains": { "$recursiveRef": "#" },\n "additionalProperties": { "$recursiveRef": "#" },\n "unevaluatedProperties": { "$recursiveRef": "#" },\n "properties": {\n "type": "object",\n "additionalProperties": { "$recursiveRef": "#" },\n "default": {}\n },\n "patternProperties": {\n "type": "object",\n "additionalProperties": { "$recursiveRef": "#" },\n "propertyNames": { "format": "regex" },\n "default": {}\n },\n "dependentSchemas": {\n "type": "object",\n "additionalProperties": {\n "$recursiveRef": "#"\n }\n },\n "propertyNames": { "$recursiveRef": "#" },\n "if": { "$recursiveRef": "#" },\n "then": { "$recursiveRef": "#" },\n "else": { "$recursiveRef": "#" },\n "allOf": { "$ref": "#/$defs/schemaArray" },\n "anyOf": { "$ref": "#/$defs/schemaArray" },\n "oneOf": { "$ref": "#/$defs/schemaArray" },\n "not": { "$recursiveRef": "#" }\n },\n "$defs": {\n "schemaArray": {\n "type": "array",\n "minItems": 1,\n "items": { "$recursiveRef": "#" }\n }\n }\n}')),ui.defineVocabulary("https://json-schema.org/draft/2019-09/vocab/applicator",{additionalItems:fi.additionalItems6,additionalProperties:fi.additionalProperties6,allOf:fi.allOf,anyOf:fi.anyOf,contains:fi.containsMinContainsMaxContains,dependentSchemas:fi.dependentSchemas,if:fi.if,then:fi.then,else:fi.else,items:fi.items,not:fi.not,oneOf:fi.oneOf,patternProperties:fi.patternProperties,properties:fi.properties,propertyNames:fi.propertyNames,unevaluatedItems:fi.unevaluatedItems,unevaluatedProperties:fi.unevaluatedProperties}),di.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2019-09/meta/validation",\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/validation": true\n },\n "$recursiveAnchor": true,\n\n "title": "Validation vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "multipleOf": {\n "type": "number",\n "exclusiveMinimum": 0\n },\n "maximum": {\n "type": "number"\n },\n "exclusiveMaximum": {\n "type": "number"\n },\n "minimum": {\n "type": "number"\n },\n "exclusiveMinimum": {\n "type": "number"\n },\n "maxLength": { "$ref": "#/$defs/nonNegativeInteger" },\n "minLength": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },\n "pattern": {\n "type": "string",\n "format": "regex"\n },\n "maxItems": { "$ref": "#/$defs/nonNegativeInteger" },\n "minItems": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },\n "uniqueItems": {\n "type": "boolean",\n "default": false\n },\n "maxContains": { "$ref": "#/$defs/nonNegativeInteger" },\n "minContains": {\n "$ref": "#/$defs/nonNegativeInteger",\n "default": 1\n },\n "maxProperties": { "$ref": "#/$defs/nonNegativeInteger" },\n "minProperties": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },\n "required": { "$ref": "#/$defs/stringArray" },\n "dependentRequired": {\n "type": "object",\n "additionalProperties": {\n "$ref": "#/$defs/stringArray"\n }\n },\n "const": true,\n "enum": {\n "type": "array",\n "items": true\n },\n "type": {\n "anyOf": [\n { "$ref": "#/$defs/simpleTypes" },\n {\n "type": "array",\n "items": { "$ref": "#/$defs/simpleTypes" },\n "minItems": 1,\n "uniqueItems": true\n }\n ]\n }\n },\n "$defs": {\n "nonNegativeInteger": {\n "type": "integer",\n "minimum": 0\n },\n "nonNegativeIntegerDefault0": {\n "$ref": "#/$defs/nonNegativeInteger",\n "default": 0\n },\n "simpleTypes": {\n "enum": [\n "array",\n "boolean",\n "integer",\n "null",\n "number",\n "object",\n "string"\n ]\n },\n "stringArray": {\n "type": "array",\n "items": { "type": "string" },\n "uniqueItems": true,\n "default": []\n }\n }\n}')),ui.defineVocabulary("https://json-schema.org/draft/2019-09/vocab/validation",{const:fi.const,dependentRequired:fi.dependentRequired,enum:fi.enum,exclusiveMaximum:fi.exclusiveMaximum,exclusiveMinimum:fi.exclusiveMinimum,maxItems:fi.maxItems,maxLength:fi.maxLength,maxProperties:fi.maxProperties,maximum:fi.maximum,minItems:fi.minItems,minLength:fi.minLength,minProperties:fi.minProperties,minimum:fi.minimum,multipleOf:fi.multipleOf,pattern:fi.pattern,required:fi.required,type:fi.type,uniqueItems:fi.uniqueItems}),di.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2019-09/meta/meta-data",\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/meta-data": true\n },\n "$recursiveAnchor": true,\n\n "title": "Meta-data vocabulary meta-schema",\n\n "type": ["object", "boolean"],\n "properties": {\n "title": {\n "type": "string"\n },\n "description": {\n "type": "string"\n },\n "default": true,\n "deprecated": {\n "type": "boolean",\n "default": false\n },\n "readOnly": {\n "type": "boolean",\n "default": false\n },\n "writeOnly": {\n "type": "boolean",\n "default": false\n },\n "examples": {\n "type": "array",\n "items": true\n }\n }\n}')),ui.defineVocabulary("https://json-schema.org/draft/2019-09/vocab/meta-data",{default:fi.metaData,deprecated:fi.metaData,description:fi.metaData,examples:fi.metaData,readOnly:fi.metaData,title:fi.metaData,writeOnly:fi.metaData}),di.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2019-09/meta/format",\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/format": true\n },\n "$recursiveAnchor": true,\n\n "title": "Format vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "format": { "type": "string" }\n }\n}')),di.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2019-09/meta/content",\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/content": true\n },\n "$recursiveAnchor": true,\n\n "title": "Content vocabulary meta-schema",\n\n "type": ["object", "boolean"],\n "properties": {\n "contentMediaType": { "type": "string" },\n "contentEncoding": { "type": "string" },\n "contentSchema": { "$recursiveRef": "#" }\n }\n}')),ui.defineVocabulary("https://json-schema.org/draft/2019-09/vocab/content",{contentEncoding:fi.metaData,contentMediaType:fi.metaData,contentSchema:fi.metaData});const{Core:yi,Schema:vi}=At,gi=Ya,bi="https://json-schema.org/draft/2020-12/vocab/core";vi.setConfig(bi,"baseToken","$id"),vi.setConfig(bi,"embeddedToken","$id"),vi.setConfig(bi,"anchorToken","$anchor"),vi.setConfig(bi,"dynamicAnchorToken","$dynamicAnchor"),vi.setConfig(bi,"vocabularyToken","$vocabulary"),vi.setConfig(bi,"mandatoryVocabularies",["https://json-schema.org/draft/2020-12/vocab/core"]),vi.add(JSON.parse('{\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$id": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/core": true,\n "https://json-schema.org/draft/2020-12/vocab/applicator": true,\n "https://json-schema.org/draft/2020-12/vocab/unevaluated": true,\n "https://json-schema.org/draft/2020-12/vocab/validation": true,\n "https://json-schema.org/draft/2020-12/vocab/meta-data": true,\n "https://json-schema.org/draft/2020-12/vocab/format-annotation": true,\n "https://json-schema.org/draft/2020-12/vocab/content": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Core and Validation specifications meta-schema",\n "allOf": [\n {"$ref": "meta/core"},\n {"$ref": "meta/applicator"},\n {"$ref": "meta/unevaluated"},\n {"$ref": "meta/validation"},\n {"$ref": "meta/meta-data"},\n {"$ref": "meta/format-annotation"},\n {"$ref": "meta/content"}\n ],\n "type": ["object", "boolean"],\n "properties": {\n "definitions": {\n "$comment": "While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",\n "type": "object",\n "additionalProperties": { "$dynamicRef": "#meta" },\n "default": {}\n },\n "dependencies": {\n "$comment": "\\"dependencies\\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \\"dependentSchemas\\" and \\"dependentRequired\\"",\n "type": "object",\n "additionalProperties": {\n "anyOf": [\n { "$dynamicRef": "#meta" },\n { "$ref": "meta/validation#/$defs/stringArray" }\n ]\n }\n }\n }\n}')),vi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/core",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/core": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Core vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "$id": {\n "type": "string",\n "format": "uri-reference",\n "$comment": "Non-empty fragments not allowed.",\n "pattern": "^[^#]*#?$"\n },\n "$schema": {\n "type": "string",\n "format": "uri"\n },\n "$anchor": {\n "type": "string",\n "pattern": "^[A-Za-z_][-A-Za-z0-9._]*$"\n },\n "$ref": {\n "type": "string",\n "format": "uri-reference"\n },\n "$dynamicRef": {\n "type": "string",\n "format": "uri-reference"\n },\n "$dynamicAnchor": {\n "type": "string",\n "pattern": "^[A-Za-z_][-A-Za-z0-9._]*$"\n },\n "$vocabulary": {\n "type": "object",\n "propertyNames": {\n "type": "string",\n "format": "uri"\n },\n "additionalProperties": {\n "type": "boolean"\n }\n },\n "$comment": {\n "type": "string"\n },\n "$defs": {\n "type": "object",\n "additionalProperties": { "$dynamicRef": "#meta" },\n "default": {}\n }\n }\n}')),yi.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/core",{validate:gi.validate,$defs:gi.definitions,$dynamicRef:gi.dynamicRef,$ref:gi.ref}),vi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/applicator",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/applicator": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Applicator vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "prefixItems": { "$ref": "#/$defs/schemaArray" },\n "items": { "$dynamicRef": "#meta" },\n "contains": { "$dynamicRef": "#meta" },\n "additionalProperties": { "$dynamicRef": "#meta" },\n "properties": {\n "type": "object",\n "additionalProperties": { "$dynamicRef": "#meta" },\n "default": {}\n },\n "patternProperties": {\n "type": "object",\n "additionalProperties": { "$dynamicRef": "#meta" },\n "propertyNames": { "format": "regex" },\n "default": {}\n },\n "dependentSchemas": {\n "type": "object",\n "additionalProperties": {\n "$dynamicRef": "#meta"\n }\n },\n "propertyNames": { "$dynamicRef": "#meta" },\n "if": { "$dynamicRef": "#meta" },\n "then": { "$dynamicRef": "#meta" },\n "else": { "$dynamicRef": "#meta" },\n "allOf": { "$ref": "#/$defs/schemaArray" },\n "anyOf": { "$ref": "#/$defs/schemaArray" },\n "oneOf": { "$ref": "#/$defs/schemaArray" },\n "not": { "$dynamicRef": "#meta" }\n },\n "$defs": {\n "schemaArray": {\n "type": "array",\n "minItems": 1,\n "items": { "$dynamicRef": "#meta" }\n }\n }\n}')),yi.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/applicator",{additionalProperties:gi.additionalProperties6,allOf:gi.allOf,anyOf:gi.anyOf,contains:gi.containsMinContainsMaxContains,dependentSchemas:gi.dependentSchemas,if:gi.if,then:gi.then,else:gi.else,items:gi.items202012,not:gi.not,oneOf:gi.oneOf,patternProperties:gi.patternProperties,prefixItems:gi.tupleItems,properties:gi.properties,propertyNames:gi.propertyNames}),vi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/validation",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/validation": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Validation vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "multipleOf": {\n "type": "number",\n "exclusiveMinimum": 0\n },\n "maximum": {\n "type": "number"\n },\n "exclusiveMaximum": {\n "type": "number"\n },\n "minimum": {\n "type": "number"\n },\n "exclusiveMinimum": {\n "type": "number"\n },\n "maxLength": { "$ref": "#/$defs/nonNegativeInteger" },\n "minLength": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },\n "pattern": {\n "type": "string",\n "format": "regex"\n },\n "maxItems": { "$ref": "#/$defs/nonNegativeInteger" },\n "minItems": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },\n "uniqueItems": {\n "type": "boolean",\n "default": false\n },\n "maxContains": { "$ref": "#/$defs/nonNegativeInteger" },\n "minContains": {\n "$ref": "#/$defs/nonNegativeInteger",\n "default": 1\n },\n "maxProperties": { "$ref": "#/$defs/nonNegativeInteger" },\n "minProperties": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },\n "required": { "$ref": "#/$defs/stringArray" },\n "dependentRequired": {\n "type": "object",\n "additionalProperties": {\n "$ref": "#/$defs/stringArray"\n }\n },\n "const": true,\n "enum": {\n "type": "array",\n "items": true\n },\n "type": {\n "anyOf": [\n { "$ref": "#/$defs/simpleTypes" },\n {\n "type": "array",\n "items": { "$ref": "#/$defs/simpleTypes" },\n "minItems": 1,\n "uniqueItems": true\n }\n ]\n }\n },\n "$defs": {\n "nonNegativeInteger": {\n "type": "integer",\n "minimum": 0\n },\n "nonNegativeIntegerDefault0": {\n "$ref": "#/$defs/nonNegativeInteger",\n "default": 0\n },\n "simpleTypes": {\n "enum": [\n "array",\n "boolean",\n "integer",\n "null",\n "number",\n "object",\n "string"\n ]\n },\n "stringArray": {\n "type": "array",\n "items": { "type": "string" },\n "uniqueItems": true,\n "default": []\n }\n }\n}')),yi.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/validation",{const:gi.const,dependentRequired:gi.dependentRequired,enum:gi.enum,exclusiveMaximum:gi.exclusiveMaximum,exclusiveMinimum:gi.exclusiveMinimum,maxItems:gi.maxItems,maxLength:gi.maxLength,maxProperties:gi.maxProperties,maximum:gi.maximum,minItems:gi.minItems,minLength:gi.minLength,minProperties:gi.minProperties,minimum:gi.minimum,multipleOf:gi.multipleOf,pattern:gi.pattern,required:gi.required,type:gi.type,uniqueItems:gi.uniqueItems}),vi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/meta-data",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/meta-data": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Meta-data vocabulary meta-schema",\n\n "type": ["object", "boolean"],\n "properties": {\n "title": {\n "type": "string"\n },\n "description": {\n "type": "string"\n },\n "default": true,\n "deprecated": {\n "type": "boolean",\n "default": false\n },\n "readOnly": {\n "type": "boolean",\n "default": false\n },\n "writeOnly": {\n "type": "boolean",\n "default": false\n },\n "examples": {\n "type": "array",\n "items": true\n }\n }\n}')),yi.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/meta-data",{default:gi.metaData,deprecated:gi.metaData,description:gi.metaData,examples:gi.metaData,readOnly:gi.metaData,title:gi.metaData,writeOnly:gi.metaData}),vi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/format-annotation",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/format-annotation": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Format vocabulary meta-schema for annotation results",\n "type": ["object", "boolean"],\n "properties": {\n "format": { "type": "string" }\n }\n}')),yi.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/format-annotation",{format:gi.metaData}),vi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/format-assertion",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/format-assertion": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Format vocabulary meta-schema for assertion results",\n "type": ["object", "boolean"],\n "properties": {\n "format": { "type": "string" }\n }\n}')),vi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/content",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/content": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Content vocabulary meta-schema",\n\n "type": ["object", "boolean"],\n "properties": {\n "contentMediaType": { "type": "string" },\n "contentEncoding": { "type": "string" },\n "contentSchema": { "$dynamicRef": "#meta" }\n }\n}')),yi.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/content",{contentEncoding:gi.metaData,contentMediaType:gi.metaData,contentSchema:gi.metaData}),vi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/unevaluated",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/unevaluated": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Unevaluated applicator vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "unevaluatedItems": { "$dynamicRef": "#meta" },\n "unevaluatedProperties": { "$dynamicRef": "#meta" }\n }\n}')),yi.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/unevaluated",{unevaluatedItems:gi.unevaluatedItems,unevaluatedProperties:gi.unevaluatedProperties});const{Core:$i,Schema:Ii,InvalidSchemaError:Oi}=At,Si=Ya;var wi={add:$i.add,get:Ii.get,validate:$i.validate,compile:$i.compile,interpret:$i.interpret,setMetaOutputFormat:$i.setMetaOutputFormat,setShouldMetaValidate:$i.setShouldMetaValidate,addMediaTypePlugin:$i.addMediaTypePlugin,FLAG:$i.FLAG,BASIC:$i.BASIC,DETAILED:$i.DETAILED,VERBOSE:$i.VERBOSE,Keywords:Si,InvalidSchemaError:Oi};export{wi as default};
|
|
3
|
-
//# sourceMappingURL=json-schema-esm.min.js.map
|
|
1
|
+
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=function(e,t){return function n(){null==t&&(t=e.length);var r=[].slice.call(arguments);return r.length>=t?e.apply(this,r):function(){return n.apply(this,r.concat([].slice.call(arguments)))}}};var n,r,a={exports:{}};n=a,r=a.exports,function(e,t){var a={};e.PubSub?(a=e.PubSub,console.warn("PubSub already loaded, using existing version")):(e.PubSub=a,function(e){var t={},n=-1,r="*";function a(e){var t;for(t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function i(e){return function(){throw e}}function o(e,t,n){try{e(t,n)}catch(e){setTimeout(i(e),0)}}function s(e,t,n){e(t,n)}function c(e,n,r,a){var i,c=t[n],l=a?s:o;if(Object.prototype.hasOwnProperty.call(t,n))for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&l(c[i],e,r)}function l(e,t,n){return function(){var a=String(e),i=a.lastIndexOf(".");for(c(e,e,t,n);-1!==i;)i=(a=a.substr(0,i)).lastIndexOf("."),c(e,a,t,n);c(e,r,t,n)}}function p(e){var n=String(e);return Boolean(Object.prototype.hasOwnProperty.call(t,n)&&a(t[n]))}function u(e){for(var t=String(e),n=p(t)||p(r),a=t.lastIndexOf(".");!n&&-1!==a;)a=(t=t.substr(0,a)).lastIndexOf("."),n=p(t);return n}function m(e,t,n,r){var a=l(e="symbol"==typeof e?e.toString():e,t,r);return!!u(e)&&(!0===n?a():setTimeout(a,0),!0)}e.publish=function(t,n){return m(t,n,!1,e.immediateExceptions)},e.publishSync=function(t,n){return m(t,n,!0,e.immediateExceptions)},e.subscribe=function(e,r){if("function"!=typeof r)return!1;e="symbol"==typeof e?e.toString():e,Object.prototype.hasOwnProperty.call(t,e)||(t[e]={});var a="uid_"+String(++n);return t[e][a]=r,a},e.subscribeAll=function(t){return e.subscribe(r,t)},e.subscribeOnce=function(t,n){var r=e.subscribe(t,(function(){e.unsubscribe(r),n.apply(this,arguments)}));return e},e.clearAllSubscriptions=function(){t={}},e.clearSubscriptions=function(e){var n;for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)&&delete t[n]},e.countSubscriptions=function(e){var n,r,a=0;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)){for(r in t[n])a++;break}return a},e.getSubscriptions=function(e){var n,r=[];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e)&&r.push(n);return r},e.unsubscribe=function(n){var r,a,i,o=function(e){var n;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&0===n.indexOf(e))return!0;return!1},s="string"==typeof n&&(Object.prototype.hasOwnProperty.call(t,n)||o(n)),c=!s&&"string"==typeof n,l="function"==typeof n,p=!1;if(!s){for(r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(a=t[r],c&&a[n]){delete a[n],p=n;break}if(l)for(i in a)Object.prototype.hasOwnProperty.call(a,i)&&a[i]===n&&(delete a[i],p=!0)}return p}e.clearSubscriptions(n)}}(a)),void 0!==n&&n.exports&&(r=n.exports=a),r.PubSub=a,n.exports=r=a}("object"==typeof window&&window||e);var i={exports:{}};
|
|
2
|
+
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */!function(e){function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,a=1;a<r;++a)t[a]=t[a].slice(1,-1);return t[r]=t[r].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function r(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function a(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function o(e,t){var n=e;if(t)for(var r in t)n[r]=t[r];return n}function s(e){var r="[A-Za-z]",a="[0-9]",i=t(a,"[A-Fa-f]"),o=n(n("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+n("%[89A-Fa-f]"+i+"%"+i+i)+"|"+n("%"+i+i)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",c=t("[\\:\\/\\?\\#\\[\\]\\@]",s),l=e?"[\\uE000-\\uF8FF]":"[]",p=t(r,a,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]");n(r+t(r,a,"[\\+\\-\\.]")+"*"),n(n(o+"|"+t(p,s,"[\\:]"))+"*");var u=n(n("25[0-5]")+"|"+n("2[0-4]"+a)+"|"+n("1"+a+a)+"|"+n("0?[1-9]"+a)+"|0?0?"+a),m=n(u+"\\."+u+"\\."+u+"\\."+u),f=n(i+"{1,4}"),d=n(n(f+"\\:"+f)+"|"+m),h=n(n(f+"\\:")+"{6}"+d),y=n("\\:\\:"+n(f+"\\:")+"{5}"+d),v=n(n(f)+"?\\:\\:"+n(f+"\\:")+"{4}"+d),g=n(n(n(f+"\\:")+"{0,1}"+f)+"?\\:\\:"+n(f+"\\:")+"{3}"+d),b=n(n(n(f+"\\:")+"{0,2}"+f)+"?\\:\\:"+n(f+"\\:")+"{2}"+d),$=n(n(n(f+"\\:")+"{0,3}"+f)+"?\\:\\:"+f+"\\:"+d),w=n(n(n(f+"\\:")+"{0,4}"+f)+"?\\:\\:"+d),x=n(n(n(f+"\\:")+"{0,5}"+f)+"?\\:\\:"+f),S=n(n(n(f+"\\:")+"{0,6}"+f)+"?\\:\\:"),O=n([h,y,v,g,b,$,w,x,S].join("|")),I=n(n(p+"|"+o)+"+");n("[vV]"+i+"+\\."+t(p,s,"[\\:]")+"+"),n(n(o+"|"+t(p,s))+"*");var E=n(o+"|"+t(p,s,"[\\:\\@]"));return n(n(o+"|"+t(p,s,"[\\@]"))+"+"),n(n(E+"|"+t("[\\/\\?]",l))+"*"),{NOT_SCHEME:new RegExp(t("[^]",r,a,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",p,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",p,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",p,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",p,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",p,s,"[\\:\\@\\/\\?]",l),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",p,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",p,s),"g"),UNRESERVED:new RegExp(p,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",p,c),"g"),PCT_ENCODED:new RegExp(o,"g"),IPV4ADDRESS:new RegExp("^("+m+")$"),IPV6ADDRESS:new RegExp("^\\[?("+O+")"+n(n("\\%25|\\%(?!"+i+"{2})")+"("+I+")")+"?\\]?$")}}var c=s(!1),l=s(!0),p=function(){function e(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},m=2147483647,f=36,d=1,h=26,y=38,v=700,g=72,b=128,$="-",w=/^xn--/,x=/[^\0-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,O={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=f-d,E=Math.floor,j=String.fromCharCode;function A(e){throw new RangeError(O[e])}function C(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}function P(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+C((e=e.replace(S,".")).split("."),t).join(".")}function T(e){for(var t=[],n=0,r=e.length;n<r;){var a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&a)<<10)+(1023&i)+65536):(t.push(a),n--)}else t.push(a)}return t}var N=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:f},k=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},R=function(e,t,n){var r=0;for(e=n?E(e/v):e>>1,e+=E(e/t);e>I*h>>1;r+=f)e=E(e/I);return E(r+(I+1)*e/(e+y))},D=function(e){var t=[],n=e.length,r=0,a=b,i=g,o=e.lastIndexOf($);o<0&&(o=0);for(var s=0;s<o;++s)e.charCodeAt(s)>=128&&A("not-basic"),t.push(e.charCodeAt(s));for(var c=o>0?o+1:0;c<n;){for(var l=r,p=1,u=f;;u+=f){c>=n&&A("invalid-input");var y=N(e.charCodeAt(c++));(y>=f||y>E((m-r)/p))&&A("overflow"),r+=y*p;var v=u<=i?d:u>=i+h?h:u-i;if(y<v)break;var w=f-v;p>E(m/w)&&A("overflow"),p*=w}var x=t.length+1;i=R(r-l,x,0==l),E(r/x)>m-a&&A("overflow"),a+=E(r/x),r%=x,t.splice(r++,0,a)}return String.fromCodePoint.apply(String,t)},q=function(e){var t=[],n=(e=T(e)).length,r=b,a=0,i=g,o=!0,s=!1,c=void 0;try{for(var l,p=e[Symbol.iterator]();!(o=(l=p.next()).done);o=!0){var u=l.value;u<128&&t.push(j(u))}}catch(e){s=!0,c=e}finally{try{!o&&p.return&&p.return()}finally{if(s)throw c}}var y=t.length,v=y;for(y&&t.push($);v<n;){var w=m,x=!0,S=!1,O=void 0;try{for(var I,C=e[Symbol.iterator]();!(x=(I=C.next()).done);x=!0){var P=I.value;P>=r&&P<w&&(w=P)}}catch(e){S=!0,O=e}finally{try{!x&&C.return&&C.return()}finally{if(S)throw O}}var N=v+1;w-r>E((m-a)/N)&&A("overflow"),a+=(w-r)*N,r=w;var D=!0,q=!1,M=void 0;try{for(var _,L=e[Symbol.iterator]();!(D=(_=L.next()).done);D=!0){var F=_.value;if(F<r&&++a>m&&A("overflow"),F==r){for(var U=a,V=f;;V+=f){var z=V<=i?d:V>=i+h?h:V-i;if(U<z)break;var J=U-z,H=f-z;t.push(j(k(z+J%H,0))),U=E(J/H)}t.push(j(k(U,0))),i=R(a,N,v==y),a=0,++v}}}catch(e){q=!0,M=e}finally{try{!D&&L.return&&L.return()}finally{if(q)throw M}}++a,++r}return t.join("")},M=function(e){return P(e,(function(e){return w.test(e)?D(e.slice(4).toLowerCase()):e}))},_=function(e){return P(e,(function(e){return x.test(e)?"xn--"+q(e):e}))},L={version:"2.1.0",ucs2:{decode:T,encode:function(e){return String.fromCodePoint.apply(String,u(e))}},decode:D,encode:q,toASCII:_,toUnicode:M},F={};function U(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function V(e){for(var t="",n=0,r=e.length;n<r;){var a=parseInt(e.substr(n+1,2),16);if(a<128)t+=String.fromCharCode(a),n+=3;else if(a>=194&&a<224){if(r-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&a)<<6|63&i)}else t+=e.substr(n,6);n+=6}else if(a>=224){if(r-n>=9){var o=parseInt(e.substr(n+4,2),16),s=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&a)<<12|(63&o)<<6|63&s)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function z(e,t){function n(e){var n=V(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,U).replace(t.PCT_ENCODED,a)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,U).replace(t.PCT_ENCODED,a)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,U).replace(t.PCT_ENCODED,a)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,U).replace(t.PCT_ENCODED,a)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,U).replace(t.PCT_ENCODED,a)),e}function J(e){return e.replace(/^0*(.*)/,"$1")||"0"}function H(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=p(n,2)[1];return r?r.split(".").map(J).join("."):e}function B(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=p(n,3),a=r[1],i=r[2];if(a){for(var o=a.toLowerCase().split("::").reverse(),s=p(o,2),c=s[0],l=s[1],u=l?l.split(":").map(J):[],m=c.split(":").map(J),f=t.IPV4ADDRESS.test(m[m.length-1]),d=f?7:8,h=m.length-d,y=Array(d),v=0;v<d;++v)y[v]=u[v]||m[h+v]||"";f&&(y[d-1]=H(y[d-1],t));var g=y.reduce((function(e,t,n){if(!t||"0"===t){var r=e[e.length-1];r&&r.index+r.length===n?r.length++:e.push({index:n,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(g&&g.length>1){var $=y.slice(0,g.index),w=y.slice(g.index+g.length);b=$.join(":")+"::"+w.join(":")}else b=y.join(":");return i&&(b+="%"+i),b}return e}var G=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,K=void 0==="".match(/(){0}/)[1];function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?l:c;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var a=e.match(G);if(a){K?(n.scheme=a[1],n.userinfo=a[3],n.host=a[4],n.port=parseInt(a[5],10),n.path=a[6]||"",n.query=a[7],n.fragment=a[8],isNaN(n.port)&&(n.port=a[5])):(n.scheme=a[1]||void 0,n.userinfo=-1!==e.indexOf("@")?a[3]:void 0,n.host=-1!==e.indexOf("//")?a[4]:void 0,n.port=parseInt(a[5],10),n.path=a[6]||"",n.query=-1!==e.indexOf("?")?a[7]:void 0,n.fragment=-1!==e.indexOf("#")?a[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?a[4]:void 0)),n.host&&(n.host=B(H(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var i=F[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)z(n,r);else{if(n.host&&(t.domainHost||i&&i.domainHost))try{n.host=L.toASCII(n.host.replace(r.PCT_ENCODED,V).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}z(n,c)}i&&i.parse&&i.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function W(e,t){var n=!1!==t.iri?l:c,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(B(H(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}var X=/^\.\.?\//,Q=/^\/\.(\/|$)/,Y=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(X))e=e.replace(X,"");else if(e.match(Q))e=e.replace(Q,"/");else if(e.match(Y))e=e.replace(Y,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(ee);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?l:c,r=[],a=F[(t.scheme||e.scheme||"").toLowerCase()];if(a&&a.serialize&&a.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||a&&a.domainHost)try{e.host=t.iri?L.toUnicode(e.host):L.toASCII(e.host.replace(n.PCT_ENCODED,V).toLowerCase())}catch(n){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+n}z(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var i=W(e,t);if(void 0!==i&&("suffix"!==t.reference&&r.push("//"),r.push(i),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var o=e.path;t.absolutePath||a&&a.absolutePath||(o=te(o)),void 0===i&&(o=o.replace(/^\/\//,"/%2F")),r.push(o)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=Z(ne(e,n),n),t=Z(ne(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=te(r.path)),r.query=t.query):(r.path=e.path,void 0!==t.query?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function ae(e,t,n){var r=o({scheme:"null"},n);return ne(re(Z(e,r),Z(t,r),r,!0),r)}function ie(e,t){return"string"==typeof e?e=ne(Z(e,t),t):"object"===r(e)&&(e=Z(ne(e,t),t)),e}function oe(e,t,n){return"string"==typeof e?e=ne(Z(e,n),n):"object"===r(e)&&(e=ne(e,n)),"string"==typeof t?t=ne(Z(t,n),n):"object"===r(t)&&(t=ne(t,n)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?l.ESCAPE:c.ESCAPE,U)}function ce(e,t){return e&&e.toString().replace(t&&t.iri?l.PCT_ENCODED:c.PCT_ENCODED,V)}var le={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},pe={scheme:"https",domainHost:le.domainHost,parse:le.parse,serialize:le.serialize};function ue(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var me={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=ue(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(ue(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),r=p(n,2),a=r[0],i=r[1];e.path=a&&"/"!==a?a:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},fe={scheme:"wss",domainHost:me.domainHost,parse:me.parse,serialize:me.serialize},de={},he="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ye="[0-9A-Fa-f]",ve=n(n("%[EFef]"+ye+"%"+ye+ye+"%"+ye+ye)+"|"+n("%[89A-Fa-f]"+ye+"%"+ye+ye)+"|"+n("%"+ye+ye)),ge="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),$e="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",we=new RegExp(he,"g"),xe=new RegExp(ve,"g"),Se=new RegExp(t("[^]",ge,"[\\.]",'[\\"]',be),"g"),Oe=new RegExp(t("[^]",he,$e),"g"),Ie=Oe;function Ee(e){var t=V(e);return t.match(we)?t:e}var je={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var a=!1,i={},o=n.query.split("&"),s=0,c=o.length;s<c;++s){var l=o[s].split("=");switch(l[0]){case"to":for(var p=l[1].split(","),u=0,m=p.length;u<m;++u)r.push(p[u]);break;case"subject":n.subject=ce(l[1],t);break;case"body":n.body=ce(l[1],t);break;default:a=!0,i[ce(l[0],t)]=ce(l[1],t)}}a&&(n.headers=i)}n.query=void 0;for(var f=0,d=r.length;f<d;++f){var h=r[f].split("@");if(h[0]=ce(h[0]),t.unicodeSupport)h[1]=ce(h[1],t).toLowerCase();else try{h[1]=L.toASCII(ce(h[1],t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}r[f]=h.join("@")}return n},serialize:function(e,t){var n=e,r=i(e.to);if(r){for(var o=0,s=r.length;o<s;++o){var c=String(r[o]),l=c.lastIndexOf("@"),p=c.slice(0,l).replace(xe,Ee).replace(xe,a).replace(Se,U),u=c.slice(l+1);try{u=t.iri?L.toUnicode(u):L.toASCII(ce(u,t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}r[o]=p+"@"+u}n.path=r.join(",")}var m=e.headers=e.headers||{};e.subject&&(m.subject=e.subject),e.body&&(m.body=e.body);var f=[];for(var d in m)m[d]!==de[d]&&f.push(d.replace(xe,Ee).replace(xe,a).replace(Oe,U)+"="+m[d].replace(xe,Ee).replace(xe,a).replace(Ie,U));return f.length&&(n.query=f.join("&")),n}},Ae=/^([^\:]+)\:(.*)/,Ce={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(Ae),r=e;if(n){var a=t.scheme||r.scheme||"urn",i=n[1].toLowerCase(),o=n[2],s=a+":"+(t.nid||i),c=F[s];r.nid=i,r.nss=o,r.path=void 0,c&&(r=c.parse(r,t))}else r.error=r.error||"URN can not be parsed.";return r},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",r=e.nid,a=n+":"+(t.nid||r),i=F[a];i&&(e=i.serialize(e,t));var o=e,s=e.nss;return o.path=(r||t.nid)+":"+s,o}},Pe=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Te={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(Pe)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};F[le.scheme]=le,F[pe.scheme]=pe,F[me.scheme]=me,F[fe.scheme]=fe,F[je.scheme]=je,F[Ce.scheme]=Ce,F[Te.scheme]=Te,e.SCHEMES=F,e.pctEncChar=U,e.pctDecChars=V,e.parse=Z,e.removeDotSegments=te,e.serialize=ne,e.resolveComponents=re,e.resolve=ae,e.normalize=ie,e.equal=oe,e.escapeComponent=se,e.unescapeComponent=ce,Object.defineProperty(e,"__esModule",{value:!0})}(i.exports);const o=i.exports,s={null:e=>null===e,boolean:e=>"boolean"==typeof e,object:e=>"object"==typeof e&&!Array.isArray(e)&&null!==e,array:e=>Array.isArray(e),number:e=>"number"==typeof e,integer:e=>Number.isInteger(e),string:e=>"string"==typeof e};var c={jsonTypeOf:(e,t)=>s[t](e),resolveUrl:(e,t)=>{const n=o.resolve(e,t,{iri:!0});if(o.resolve(e,"",{iri:!0})&&"file"===o.parse(n).scheme&&"file"!==o.parse(e).scheme)throw Error(`Can't access file '${n}' resource from network context '${e}'`);return n},urlFragment:e=>o.unescapeComponent(o.parse(e).fragment)||"",pathRelative:(e,t)=>{if(e===t)return"";let n=1;const r=e.length-1,a=t.length-n,i=r<a?r:a;let o=-1,s=0;for(;s<i;s++){const r=e.charCodeAt(s+1);if(r!==t.charCodeAt(n+s))break;47===r&&(o=s)}if(a>i){if(47===t.charCodeAt(n+s))return t.slice(n+s+1);if(0===s)return t.slice(n+s)}r>i&&(47===e.charCodeAt(s+1)?o=s:0===i&&(o=0));let c="";for(s=o+2;s<=e.length;++s)s!==e.length&&47!==e.charCodeAt(s)||(c+=0===c.length?"..":"/..");return n+=o,c.length>0?`${c}${t.slice(n,t.length)}`:(47===t.charCodeAt(n)&&++n,t.slice(n,t.length))}};const l=t,p=e=>{if(e.length>0&&"/"!==e[0])throw Error("Invalid JSON Pointer");return e.split("/").slice(1).map(v)},u=(e,t,n,r)=>{if(0===e.length)return n;if(e.length>1){if(Array.isArray(t)){const a=e.shift(),i=[...t];return i[a]=u(e,b(t,a,r),n,h(a,r)),i}{const a=e.shift();return{...t,[a]:u(e,b(t,a,r),n,h(a,r))}}}if(Array.isArray(t)){const r=[...t];return r[g(t,e[0])]=n,r}return"object"==typeof t&&null!==t?{...t,[e[0]]:n}:b(t,e[0],r)},m=(e,t,n,r)=>{if(0!==e.length)if(1!==e.length||$(t)){const a=e.shift();m(e,b(t,a,r),n,h(a,r))}else{t[g(t,e[0])]=n}},f=(e,t,n)=>{if(0!=e.length){if(e.length>1){const r=e.shift(),a=b(t,r,n);return{...t,[r]:f(e,a,h(r,n))}}if(Array.isArray(t))return t.filter(((t,n)=>n!=e[0]));if("object"==typeof t&&null!==t){const{[e[0]]:n,...r}=t;return r}return b(t,e[0],n)}},d=(e,t,n)=>{if(0!==e.length)if(e.length>1){const r=e.shift(),a=b(t,r,n);d(e,a,h(r,n))}else Array.isArray(t)?t.splice(e[0],1):"object"==typeof t&&null!==t?delete t[e[0]]:b(t,e[0],n)},h=l(((e,t)=>t+"/"+y(e))),y=e=>e.toString().replace(/~/g,"~0").replace(/\//g,"~1"),v=e=>e.toString().replace(/~1/g,"/").replace(/~0/g,"~"),g=(e,t)=>Array.isArray(e)&&"-"===t?e.length:t,b=(e,t,n="")=>{if(void 0===e)throw TypeError(`Value at '${n}' is undefined and does not have property '${t}'`);if(null===e)throw TypeError(`Value at '${n}' is null and does not have property '${t}'`);if($(e))throw TypeError(`Value at '${n}' is a ${typeof e} and does not have property '${t}'`);return e[g(e,t)]},$=e=>null===e||"object"!=typeof e;var w={nil:"",append:h,get:(e,t)=>{const n=p(e),r=e=>n.reduce((([e,t],n)=>[b(e,n,t),h(n,t)]),[e,""])[0];return void 0===t?r:r(t)},set:(e,t,n)=>{const r=p(e),a=l(((e,t)=>u(r,e,t,"")));return void 0===t?a:a(t,n)},assign:(e,t,n)=>{const r=p(e),a=l(((e,t)=>m(r,e,t,"")));return void 0===t?a:a(t,n)},unset:(e,t)=>{const n=p(e),r=e=>f(n,e,"");return void 0===t?r:r(t)},remove:(e,t)=>{const n=p(e),r=e=>d(n,e,"");return void 0===t?r:r(t)}};const x=Symbol("$__value"),S=Symbol("$__href");var O={cons:(e,t)=>Object.freeze({[S]:e,[x]:t}),isReference:e=>e&&void 0!==e[S],href:e=>e[S],value:e=>e[x]};const I=w,E=t,{resolveUrl:j,jsonTypeOf:A}=c,C=O,P=Object.freeze({id:"",pointer:"",instance:void 0,value:void 0}),T=e=>C.isReference(e.value)?C.value(e.value):e.value,N=E(((e,t)=>A(T(e),t))),k=(e,t)=>Object.freeze({...t,pointer:I.append(e,t.pointer),value:T(t)[e]}),R=E(((e,t)=>T(t).map(((n,r,a,i)=>e(k(r,t),r,a,i))))),D=E(((e,t)=>T(t).forEach(((n,r,a,i)=>e(k(r,t),r,a,i))))),q=E(((e,t)=>T(t).map(((e,n,r,a)=>k(n,t))).filter(((t,n,r,a)=>e(t,n,r,a))))),M=E(((e,t,n)=>T(n).reduce(((t,r,a)=>e(t,k(a,n),a)),t))),_=E(((e,t)=>T(t).every(((n,r,a,i)=>e(k(r,t),r,a,i))))),L=E(((e,t)=>T(t).some(((n,r,a,i)=>e(k(r,t),r,a,i)))));var F={nil:P,cons:(e,t="")=>Object.freeze({...P,id:j(t,""),instance:e,value:e}),get:(e,t=P)=>{if(!e.startsWith("#"))throw Error(`No JSON document found at '${e.split("#")[0]}'`);return Object.freeze({...t,pointer:e.substr(1)})},uri:e=>`${e.id}#${encodeURI(e.pointer)}`,value:T,has:(e,t)=>e in T(t),typeOf:N,length:e=>T(e).length,step:k,entries:e=>Object.keys(T(e)).map((t=>[t,k(t,e)])),keys:e=>Object.keys(T(e)),map:R,forEach:D,filter:q,reduce:M,every:_,some:L},U=async e=>Object.entries(await e),V=function(e,t){return function n(){null==t&&(t=e.length);var r=[].slice.call(arguments);return r.length>=t?e.apply(this,r):function(){return n.apply(this,r.concat([].slice.call(arguments)))}}};var z=V((async(e,t)=>(await t).map(e)));var J=V((async(e,t,n)=>(await n).reduce((async(t,n)=>e(await t,n)),t)));const H=J;var B=V((async(e,t,n={})=>H((async(t,n)=>await e(n)?t.concat([n]):t),[],t,n)));const G=z;var K=V((async(e,t)=>{const n=await G(e,t);return(await Promise.all(n)).some((e=>e))}));const Z=z;var W=V((async(e,t)=>{const n=await Z(e,t);return(await Promise.all(n)).every((e=>e))}));var X=V(((e,t)=>e.reduce((async(e,t)=>t(await e)),t)));const Q=X,Y=U,ee=J;var te={entries:U,map:z,filter:B,reduce:J,some:K,every:W,pipeline:X,all:e=>Promise.all(e),allValues:e=>Q([Y,ee((async(e,[t,n])=>(e[t]=await n,e)),{})],e)},ne={exports:{}};!function(t){var n,r;n=e,r=function(){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n="boolean"==typeof(new RegExp).sticky;function r(e){return e&&"[object RegExp]"===t.call(e)}function a(e){return e&&"object"==typeof e&&!r(e)&&!Array.isArray(e)}function i(e){return"("+e+")"}function o(e){return e.length?"(?:"+e.map((function(e){return"(?:"+e+")"})).join("|")+")":"(?!)"}function s(e){if("string"==typeof e)return"(?:"+e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+")";if(r(e)){if(e.ignoreCase)throw new Error("RegExp /i flag not allowed");if(e.global)throw new Error("RegExp /g flag is implied");if(e.sticky)throw new Error("RegExp /y flag is implied");if(e.multiline)throw new Error("RegExp /m flag is implied");return e.source}throw new Error("Not a pattern: "+e)}function c(e,t){return e.length>t?e:Array(t-e.length+1).join(" ")+e}function l(t,n){if(a(n)||(n={match:n}),n.include)throw new Error("Matching rules cannot also include states");var i={defaultType:t,lineBreaks:!!n.error||!!n.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var o in n)e.call(n,o)&&(i[o]=n[o]);if("string"==typeof i.type&&t!==i.type)throw new Error("Type transform cannot be a string (type '"+i.type+"' for token '"+t+"')");var s=i.match;return i.match=Array.isArray(s)?s:s?[s]:[],i.match.sort((function(e,t){return r(e)&&r(t)?0:r(t)?-1:r(e)?1:t.length-e.length})),i}function p(e){return Array.isArray(e)?function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(r.include)for(var a=[].concat(r.include),i=0;i<a.length;i++)t.push({include:a[i]});else{if(!r.type)throw new Error("Rule has no type: "+JSON.stringify(r));t.push(l(r.type,r))}}return t}(e):function(e){for(var t=Object.getOwnPropertyNames(e),n=[],r=0;r<t.length;r++){var i=t[r],o=e[i],s=[].concat(o);if("include"!==i){var c=[];s.forEach((function(e){a(e)?(c.length&&n.push(l(i,c)),n.push(l(i,e)),c=[]):c.push(e)})),c.length&&n.push(l(i,c))}else for(var p=0;p<s.length;p++)n.push({include:s[p]})}return n}(e)}var u=l("error",{lineBreaks:!0,shouldThrow:!0});function m(e,t){for(var a=null,c=Object.create(null),l=!0,p=null,m=[],f=[],d=0;d<e.length;d++)e[d].fallback&&(l=!1);for(d=0;d<e.length;d++){var h=e[d];if(h.include)throw new Error("Inheritance is not allowed in stateless lexers");if(h.error||h.fallback){if(a)throw!h.fallback==!a.fallback?new Error("Multiple "+(h.fallback?"fallback":"error")+" rules not allowed (for token '"+h.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+h.defaultType+"')");a=h}var y=h.match.slice();if(l)for(;y.length&&"string"==typeof y[0]&&1===y[0].length;)c[y.shift().charCodeAt(0)]=h;if(h.pop||h.push||h.next){if(!t)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+h.defaultType+"')");if(h.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+h.defaultType+"')")}if(0!==y.length){l=!1,m.push(h);for(var v=0;v<y.length;v++){var g=y[v];if(r(g))if(null===p)p=g.unicode;else if(p!==g.unicode&&!1===h.fallback)throw new Error("If one rule is /u then all must be")}var b=o(y.map(s)),$=new RegExp(b);if($.test(""))throw new Error("RegExp matches empty string: "+$);if(new RegExp("|"+b).exec("").length-1>0)throw new Error("RegExp has capture groups: "+$+"\nUse (?: … ) instead");if(!h.lineBreaks&&$.test("\n"))throw new Error("Rule should declare lineBreaks: "+$);f.push(i(b))}}var w=a&&a.fallback,x=n&&!w?"ym":"gm",S=n||w?"":"|";return!0===p&&(x+="u"),{regexp:new RegExp(o(f)+S,x),groups:m,fast:c,error:a||u}}function f(e,t,n){var r=e&&(e.push||e.next);if(r&&!n[r])throw new Error("Missing state '"+r+"' (in token '"+e.defaultType+"' of state '"+t+"')");if(e&&e.pop&&1!=+e.pop)throw new Error("pop must be 1 (in token '"+e.defaultType+"' of state '"+t+"')")}var d=function(e,t){this.startState=t,this.states=e,this.buffer="",this.stack=[],this.reset()};d.prototype.reset=function(e,t){return this.buffer=e||"",this.index=0,this.line=t?t.line:1,this.col=t?t.col:1,this.queuedToken=t?t.queuedToken:null,this.queuedText=t?t.queuedText:"",this.queuedThrow=t?t.queuedThrow:null,this.setState(t?t.state:this.startState),this.stack=t&&t.stack?t.stack.slice():[],this},d.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},d.prototype.setState=function(e){if(e&&this.state!==e){this.state=e;var t=this.states[e];this.groups=t.groups,this.error=t.error,this.re=t.regexp,this.fast=t.fast}},d.prototype.popState=function(){this.setState(this.stack.pop())},d.prototype.pushState=function(e){this.stack.push(this.state),this.setState(e)};var h=n?function(e,t){return e.exec(t)}:function(e,t){var n=e.exec(t);return 0===n[0].length?null:n};function y(){return this.value}if(d.prototype._getGroup=function(e){for(var t=this.groups.length,n=0;n<t;n++)if(void 0!==e[n+1])return this.groups[n];throw new Error("Cannot find token type for matched text")},d.prototype.next=function(){var e=this.index;if(this.queuedGroup){var t=this._token(this.queuedGroup,this.queuedText,e);return this.queuedGroup=null,this.queuedText="",t}var n=this.buffer;if(e!==n.length){if(o=this.fast[n.charCodeAt(e)])return this._token(o,n.charAt(e),e);var r=this.re;r.lastIndex=e;var a=h(r,n),i=this.error;if(null==a)return this._token(i,n.slice(e,n.length),e);var o=this._getGroup(a),s=a[0];return i.fallback&&a.index!==e?(this.queuedGroup=o,this.queuedText=s,this._token(i,n.slice(e,a.index),e)):this._token(o,s,e)}},d.prototype._token=function(e,t,n){var r=0;if(e.lineBreaks){var a=/\n/g,i=1;if("\n"===t)r=1;else for(;a.exec(t);)r++,i=a.lastIndex}var o={type:"function"==typeof e.type&&e.type(t)||e.defaultType,value:"function"==typeof e.value?e.value(t):t,text:t,toString:y,offset:n,lineBreaks:r,line:this.line,col:this.col},s=t.length;if(this.index+=s,this.line+=r,0!==r?this.col=s-i+1:this.col+=s,e.shouldThrow)throw new Error(this.formatError(o,"invalid syntax"));return e.pop?this.popState():e.push?this.pushState(e.push):e.next&&this.setState(e.next),o},"undefined"!=typeof Symbol&&Symbol.iterator){var v=function(e){this.lexer=e};v.prototype.next=function(){var e=this.lexer.next();return{value:e,done:!e}},v.prototype[Symbol.iterator]=function(){return this},d.prototype[Symbol.iterator]=function(){return new v(this)}}return d.prototype.formatError=function(e,t){if(null==e){var n=this.buffer.slice(this.index);e={text:n,offset:this.index,lineBreaks:-1===n.indexOf("\n")?0:1,line:this.line,col:this.col}}var r=Math.max(e.line-2,1),a=e.line+2,i=String(a).length,o=function(e,t){for(var n=e.length,r=0;;){var a=e.lastIndexOf("\n",n-1);if(-1===a)break;if(n=a,++r===t)break;if(0===n)break}var i=r<t?0:n+1;return e.substring(i).split("\n")}(this.buffer,this.line-e.line+2+1).slice(0,5),s=[];s.push(t+" at line "+e.line+" col "+e.col+":"),s.push("");for(var l=0;l<o.length;l++){var p=o[l],u=r+l;s.push(c(String(u),i)+" "+p),u===e.line&&s.push(c("",i+e.col+1)+"^")}return s.join("\n")},d.prototype.clone=function(){return new d(this.states,this.state)},d.prototype.has=function(e){return!0},{compile:function(e){var t=m(p(e));return new d({start:t},"start")},states:function(e,t){var n=e.$all?p(e.$all):[];delete e.$all;var r=Object.getOwnPropertyNames(e);t||(t=r[0]);for(var a=Object.create(null),i=0;i<r.length;i++)a[b=r[i]]=p(e[b]).concat(n);for(i=0;i<r.length;i++)for(var o=a[b=r[i]],s=Object.create(null),c=0;c<o.length;c++){var l=o[c];if(l.include){var u=[c,1];if(l.include!==b&&!s[l.include]){s[l.include]=!0;var h=a[l.include];if(!h)throw new Error("Cannot include nonexistent state '"+l.include+"' (in state '"+b+"')");for(var y=0;y<h.length;y++){var v=h[y];-1===o.indexOf(v)&&u.push(v)}}o.splice.apply(o,u),c--}}var g=Object.create(null);for(i=0;i<r.length;i++){var b;g[b=r[i]]=m(a[b],!0)}for(i=0;i<r.length;i++){var $=r[i],w=g[$],x=w.groups;for(c=0;c<x.length;c++)f(x[c],$,g);var S=Object.getOwnPropertyNames(w.fast);for(c=0;c<S.length;c++)f(w.fast[S[c]],$,g)}return new d(g,t)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function(e){for(var t="undefined"!=typeof Map,n=t?new Map:Object.create(null),r=Object.getOwnPropertyNames(e),a=0;a<r.length;a++){var i=r[a],o=e[i];(Array.isArray(o)?o:[o]).forEach((function(e){if("string"!=typeof e)throw new Error("keyword must be string (in keyword '"+i+"')");t?n.set(e,i):n[e]=i}))}return function(e){return t?n.get(e):n[e]}}}},t.exports?t.exports=r():n.moo=r()}(ne);const re=ne.exports,ae="[0-9]",ie=`-?${`(?:0|[1-9]${ae}*)`}(?:${`\\.${ae}+`})?(?:${`[eE][-+]?${ae}+`})?`;const oe=w,se=e=>{const t=re.states({main:{WS:{match:new RegExp("(?:(?:\\r?\\n)|[ \\t])+","u"),lineBreaks:!0},true:{match:"true",value:()=>!0},false:{match:"false",value:()=>!1},null:{match:"null",value:()=>null},number:{match:new RegExp(ie,"u"),value:parseFloat},string:{match:new RegExp('"(?:[\\x20-\\x21\\x23-\\x5b\\x5d-\\u{10ffff}]|\\\\(?:["\\/\\\\brfnt]|u[0-9a-fA-F]{4}))*"',"u"),value:JSON.parse},"{":"{","}":"}","[":"[","]":"]",":":":",",":",",error:re.error}});t.reset(e);const n=()=>{let e;do{if(e=t.next(),"error"===e?.type)throw SyntaxError(t.formatError(e,"Unrecognized token"))}while("WS"===e?.type);return e};let r,a=n();const i={offset:0,line:1,col:0,text:""};return{next:e=>{if(r=a,a=n(),e&&r?.type!==e)throw SyntaxError(t.formatError(r,`Expected a '${e}'`));return r},peek:()=>a,syntaxError:e=>{const n=r||i,a={...n,offset:n.offset+n.text.length,col:n.col+n.text.length};throw new SyntaxError(t.formatError(a,e))}}},ce=(e,t)=>t,le=(e,t,n,r)=>{let a;const i=e.next();switch(i?.type){case"true":case"false":case"null":case"number":case"string":a=i.value;break;case"{":a=pe(e,t,n,r);break;case"[":a=me(e,t,n,r);break;default:e.syntaxError("Expected a JSON value")}return r(t,a,n)},pe=(e,t,n,r)=>{const a={};return"}"!==e.peek()?.type&&ue(e,t,n,r,a),e.next("}"),a},ue=(e,t,n,r,a)=>{const i=e.next("string").value;e.next(":"),he(e.peek())||e.syntaxError("Expected a JSON value"),a[i]=le(e,i,oe.append(i,n),r),","===e.peek()?.type?(e.next(),ue(e,i,n,r,a)):he(e.peek())&&e.next(",")},me=(e,t,n,r)=>{const a=[];return"]"!==e.peek()?.type&&fe(e,0,n,r,a),e.next("]"),a},fe=(e,t,n,r,a)=>{he(e.peek())||e.syntaxError("Expected a JSON value"),a[t]=le(e,t,oe.append(t,n),r),","===e.peek()?.type?(e.next(),fe(e,t+1,n,r,a)):he(e.peek())&&e.next(",")},de=new Set(["string","number","true","false","null","[","{"]),he=e=>de.has(e?.type);var ye=(e,t=ce)=>{const n=se(e),r=le(n,"",oe.nil,t);return n.peek()&&n.syntaxError("A value has been parsed, but more tokens were found"),r};const ve=w,ge=(e,t)=>t,be=(e,t,n,r,a,i)=>{let o;return e=t(r,e,a),o=Array.isArray(e)?$e(e,t,n,a,i):"object"==typeof e&&null!==e?we(e,t,n,a,i):JSON.stringify(e),o},$e=(e,t,n,r,a)=>{0===e.length&&(n="");const i=n?`\n${n.repeat(a-1)}`:"";return"["+i+n+e.map(((e,i)=>{const o=ve.append(i,r);return be(e,t,n,i,o,a+1)})).join(`,${i}${n}`)+i+"]"},we=(e,t,n,r,a)=>{0===Object.keys(e).length&&(n="");const i=n?`\n${n.repeat(a-1)}`:"",o=n?" ":"";return"{"+i+n+Object.entries(e).map((([e,i])=>{const s=ve.append(e,r);return JSON.stringify(e)+":"+o+be(i,t,n,e,s,a+1)})).join(`,${i}${n}`)+i+"}"};var xe=(e,t=ge,n="")=>be(e,t,n,"",ve.nil,1);var Se={parse:ye,stringify:xe},Oe=fetch,Ie={},Ee=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,je=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,Ae=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,Ce=/\\([\u000b\u0020-\u00ff])/g,Pe=/([\\"])/g,Te=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function Ne(e){var t=String(e);if(Ae.test(t))return t;if(t.length>0&&!je.test(t))throw new TypeError("invalid parameter value");return'"'+t.replace(Pe,"\\$1")+'"'}function ke(e){this.parameters=Object.create(null),this.type=e}Ie.format=function(e){if(!e||"object"!=typeof e)throw new TypeError("argument obj is required");var t=e.parameters,n=e.type;if(!n||!Te.test(n))throw new TypeError("invalid type");var r=n;if(t&&"object"==typeof t)for(var a,i=Object.keys(t).sort(),o=0;o<i.length;o++){if(a=i[o],!Ae.test(a))throw new TypeError("invalid parameter name");r+="; "+a+"="+Ne(t[a])}return r},Ie.parse=function(e){if(!e)throw new TypeError("argument string is required");var t="object"==typeof e?function(e){var t;"function"==typeof e.getHeader?t=e.getHeader("content-type"):"object"==typeof e.headers&&(t=e.headers&&e.headers["content-type"]);if("string"!=typeof t)throw new TypeError("content-type header is missing from object");return t}(e):e;if("string"!=typeof t)throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),r=-1!==n?t.substr(0,n).trim():t.trim();if(!Te.test(r))throw new TypeError("invalid media type");var a=new ke(r.toLowerCase());if(-1!==n){var i,o,s;for(Ee.lastIndex=n;o=Ee.exec(t);){if(o.index!==n)throw new TypeError("invalid parameter format");n+=o[0].length,i=o[1].toLowerCase(),'"'===(s=o[2])[0]&&(s=s.substr(1,s.length-2).replace(Ce,"$1")),a.parameters[i]=s}if(n!==t.length)throw new TypeError("invalid parameter format")}return a};const Re=Ie,De={};var qe={addPlugin:(e,t)=>{De[e]=t},parse:e=>{const t=Re.parse(e.headers.get("content-type"));if(!(t.type in De))throw Error(`${e.url} is not a schema. Found a document with media type: ${t.type}`);return De[t.type].parse(e,t.parameters)},getContentType:e=>{for(const t in De)if(De[t].matcher(e))return t;return"application/octet-stream"}};const Me=t,_e=te,Le=Se,Fe=w,{jsonTypeOf:Ue,resolveUrl:Ve,urlFragment:ze,pathRelative:Je}=c,He=Oe,Be=O,Ge=qe,Ke="https://json-schema.org/draft/2019-09/vocab/core",Ze="https://json-schema.org/draft/2020-12/vocab/core",We={},Xe={},Qe=(e,t)=>{const n=Xe[e];return We[n]?.[t]},Ye={},et={},tt=(e,t="",n="")=>{e=JSON.parse(JSON.stringify(e));const r=Ve(t,""),a=Ve(e.$schema||n,"");if(!a)throw Error("Couldn't determine schema dialect");if(delete e.$schema,!(a in Xe))if(!0===e?.$vocabulary?.[Ke]&&a===nt(e,r,Ke)[0])Xe[a]=Ke;else if(!0===e?.$vocabulary?.[Ze]&&a===nt(e,r,Ze)[0])Xe[a]=Ze;else{const e=Ye[a];if(!e)throw Error(`Couldn't determine JSON Schema version for dialect: '${a}'`);!0===e.vocabulary[Ke]?Xe[a]=Ke:!0===e.vocabulary[Ze]?Xe[a]=Ze:Xe[a]=Xe[e.dialectId]}const[i,o]=nt(e,r,Xe[a]);if(!i)throw Error("Couldn't determine an identifier for the schema");const s=Qe(a,"baseToken");delete e[s],r&&(et[r]=i);const c=Qe(a,"anchorToken");o&&s===c&&(e[c]=c!==s?encodeURI(o):`#${encodeURI(o)}`);const l={},p=Qe(a,"recursiveAnchorToken");let u;!0===e[p]&&(l[""]=`${i}#`,e[c]="",delete e[p]);const m=Qe(a,"vocabularyToken");Ue(e[m],"object")?(u=e[m],delete e[m]):u={[Xe[a]]:!0};const f={"":""};return Ye[i]={id:i,dialectId:a,schema:rt(e,i,a,Fe.nil,f,l),anchors:f,dynamicAnchors:l,vocabulary:u,validated:!1},i},nt=(e,t,n)=>{const r=We[n]?.baseToken,a=Ve(t,e[r]||"");return[Ve(a,""),ze(a)]},rt=(e,t,n,r,a,i)=>{if(Ue(e,"object")){const o="string"==typeof e.$schema?Ve(e.$schema,""):n,s=Qe(o,"embeddedToken"),c=Qe(o,"anchorToken");if("string"==typeof e[s]&&(s!==c||"#"!==e[s][0])){const r=Ve(t,e[s]);return e[Qe(o,"baseToken")]=r,tt(e,r,n),Be.cons(e[s],e)}const l=Qe(n,"anchorToken"),p=Qe(n,"dynamicAnchorToken");"string"==typeof e[p]&&(i[e[p]]=`${t}#${encodeURI(r)}`,a[e[p]]=r,delete e[p]);const u=Qe(n,"embeddedToken");if("string"==typeof e[l]){const t=l!==u?e[l]:e[l].slice(1);a[t]=r,delete e[l]}const m=Qe(n,"jrefToken");if("string"==typeof e[m])return Be.cons(e[m],e);for(const o in e)e[o]=rt(e[o],t,n,Fe.append(o,r),a,i);return e}return Array.isArray(e)?e.map(((e,o)=>rt(e,t,n,Fe.append(o,r),a,i))):e},at=e=>Ye[et[e]]||Ye[e],it=Object.freeze({id:"",dialectId:void 0,vocabulary:{},pointer:Fe.nil,schema:void 0,value:void 0,anchors:{},dynamicAnchors:{},validated:!0}),ot=async(e,t=it)=>{const n=Ve(lt(t),e),r=Ve(n,""),a=ze(n);if(!(e=>e in Ye||e in et)(r)){const e=await He(r,{headers:{Accept:"application/schema+json"}});if(e.status>=400)throw await e.text(),Error(`Failed to retrieve schema with id: ${r}`);const[t,n]=await Ge.parse(e);let a;a=t.$schema?Ve(t.$schema,""):n?Ve(r,n):"",a&&r!==a&&!(a in Xe)&&await ot(a),tt(t,r,a)}const i=at(r),o="/"!==a[0]?ct(i,a):a,s=Object.freeze({...i,pointer:o,value:Fe.get(o,i.schema)});return st(s)},st=e=>Be.isReference(e.value)?ot(Be.href(e.value),e):e,ct=(e,t)=>{if(!(t in e.anchors))throw Error(`No such anchor '${encodeURI(e.id)}#${encodeURI(t)}'`);return e.anchors[t]},lt=e=>`${e.id}#${encodeURI(e.pointer)}`,pt=e=>Be.isReference(e.value)?Be.value(e.value):e.value,ut=(e,t)=>{const n=at(t.id),r=Object.freeze({...t,pointer:Fe.append(e,t.pointer),value:pt(t)[e],validated:n.validated});return st(r)},mt=Me(((e,t)=>_e.pipeline([pt,_e.map((async(n,r)=>e(await ut(r,t),r))),_e.all],t))),ft={parentId:"",parentDialect:"",includeEmbedded:!0},dt=(e,t)=>{if(t.startsWith("file://")){const n=e.slice(7,e.lastIndexOf("/"));return""===e?"":Je(n,t.slice(7))}return t};var ht={setConfig:(e,t,n)=>{Xe[e]=e,We[e]||(We[e]={}),We[e][t]=n},getConfig:Qe,add:tt,get:ot,markValidated:e=>{Ye[e].validated=!0},uri:lt,value:pt,getAnchorPointer:ct,typeOf:(e,t)=>Ue(pt(e),t),has:(e,t)=>e in pt(t),step:ut,keys:e=>Object.keys(pt(e)),entries:e=>_e.pipeline([pt,Object.keys,_e.map((async t=>[t,await ut(t,e)])),_e.all],e),map:mt,length:e=>pt(e).length,toSchema:(e,t={})=>{const n={...ft,...t},r=Qe(e.dialectId,"anchorToken"),a=Qe(e.dialectId,"dynamicAnchorToken"),i={};for(const t in e.anchors)""===t||e.dynamicAnchors[t]||(i[e.anchors[t]]=t);const o={};for(const t in e.dynamicAnchors){const n=ze(e.dynamicAnchors[t]);o[n]=t}const s=JSON.parse(Le.stringify(e.schema,((t,s,c)=>{if(Be.isReference(s)){const t=Be.value(s),r="string"==typeof t.$schema?Ve(t.$schema,""):e.dialectId,a=Qe(r,"embeddedToken");return!n.includeEmbedded&&a in t?void 0:Be.value(s)}return c in i&&(s={[r]:i[c],...s}),c in o&&(s={[a]:o[c],...s}),s}))),c=Qe(e.dialectId,"baseToken"),l=dt(n.parentId,e.id),p=n.parentDialect===e.dialectId?"":e.dialectId;return{...l&&{[c]:l},...p&&{$schema:p},...s}}};class yt extends Error{constructor(e){super("Invalid Schema"),this.name=this.constructor.name,this.output=e}}var vt=yt;const gt=ht;var bt={compile:e=>gt.value(e),interpret:()=>!0};const $t=t,wt=a.exports,{resolveUrl:xt}=c,St=F,Ot=ht,It=vt,Et=qe,jt=bt,At="FLAG",Ct="BASIC",Pt="DETAILED",Tt="VERBOSE";let Nt=Pt,kt=!0;Et.addPlugin("application/schema+json",{parse:async(e,t)=>[await e.json(),t.schema||t.profile],matcher:e=>e.endsWith(".schema.json")});const Rt=async e=>{const t={metaData:{}};return{ast:t,schemaUri:await Vt(e,t)}},Dt=$t((({ast:e,schemaUri:t},n,r=At)=>{if(![At,Ct,Pt,Tt].includes(r))throw Error(`The '${r}' error format is not supported`);const a=[],i=wt.subscribe("result",qt(r,a));return Jt(t,n,e,{}),wt.unsubscribe(i),a[0]})),qt=(e,t)=>{const n=[];return(r,a)=>{if("result"===r){const{keyword:e,absoluteKeywordLocation:t,instanceLocation:r,valid:i}=a,o={keyword:e,absoluteKeywordLocation:t,instanceLocation:r,valid:i,errors:[]};n.push(o)}else if("result.start"===r)n.push(r);else if("result.end"===r){const r=n.pop();for(;"result.start"!==n[n.length-1];){const t=n.pop(),a=[t];e===Ct&&(a.push(...t.errors),delete t.errors),(e===Tt||e!==At&&!t.valid)&&r.errors.unshift(...a)}n[n.length-1]=r,t[0]=r}}},Mt={},_t=e=>Mt[e]||jt,Lt=e=>e in Mt,Ft={},Ut={},Vt=async(e,t)=>{if(e=await zt(e),!Lt(`${e.dialectId}#validate`)){const t=await Ot.get(e.dialectId);(Ot.getConfig(t.id,"mandatoryVocabularies")||[]).forEach((e=>{if(!t.vocabulary[e])throw Error(`Vocabulary '${e}' must be explicitly declared and required`)})),Object.entries(t.vocabulary).forEach((([e,n])=>{if(e in Ft)Object.entries(Ft[e]).forEach((([e,n])=>{((e,t)=>{Mt[e]={collectEvaluatedItems:(e,n,r,a,i)=>t.interpret(e,n,r,a,i)&&new Set,collectEvaluatedProperties:(e,n,r,a,i)=>t.interpret(e,n,r,a,i)&&[],...t}})(`${t.id}#${e}`,n)}));else if(n)throw Error(`Missing required vocabulary: ${e}`)}))}if(kt&&!e.validated){if(Ot.markValidated(e.id),!(e.dialectId in Ut)){const t=await Ot.get(e.dialectId),n=await Rt(t);Ut[t.id]=Dt(n)}const t=St.cons(e.schema,e.id),n=Ut[e.dialectId](t,Nt);if(!n.valid)throw new It(n)}return e.id in t.metaData||(t.metaData[e.id]={id:e.id,dynamicAnchors:e.dynamicAnchors,anchors:e.anchors}),_t(`${e.dialectId}#validate`).compile(e,t)},zt=async e=>Ot.typeOf(e,"string")?zt(await Ot.get(Ot.value(e),e)):e,Jt=(e,t,n,r)=>{const a=Ht(e,n),i=xt(e,"");return _t(a).interpret(e,t,n,{...n.metaData[i].dynamicAnchors,...r})},Ht=(e,t)=>{if(!(e in t))throw Error(`No schema found at ${e}`);return t[e][0]};var Bt={validate:async(e,t,n)=>{const r=await Rt(e),a=(e,t)=>Dt(r,St.cons(e),t);return void 0===t?a:a(t,n)},compile:Rt,interpret:Dt,setMetaOutputFormat:e=>{Nt=e},setShouldMetaValidate:e=>{kt=e},FLAG:At,BASIC:Ct,DETAILED:Pt,VERBOSE:Tt,add:(e,t="",n="")=>{const r=Ot.add(e,t,n);delete Ut[r]},getKeyword:_t,hasKeyword:Lt,defineVocabulary:(e,t)=>{Ft[e]=t},compileSchema:Vt,interpretSchema:Jt,collectEvaluatedProperties:(e,t,n,r,a)=>{const i=Ht(e,n);return _t(i).collectEvaluatedProperties(e,t,n,r,a)},collectEvaluatedItems:(e,t,n,r,a)=>{const i=Ht(e,n);return _t(i).collectEvaluatedItems(e,t,n,r,a)},addMediaTypePlugin:Et.addPlugin};const Gt=te,Kt=a.exports,Zt=Bt,Wt=F,Xt=ht;var Qt={compile:async(e,t)=>{const n=Xt.uri(e);if(!(n in t)){t[n]=!1;const r=Xt.value(e);if(!["object","boolean"].includes(typeof r))throw Error(`No schema found at '${Xt.uri(e)}'`);t[n]=[`${e.dialectId}#validate`,Xt.uri(e),"boolean"==typeof r?r:await Gt.pipeline([Xt.entries,Gt.map((([t,n])=>[`${e.dialectId}#${t}`,n])),Gt.filter((([t])=>t!==`${e.dialectId}#validate`)),Gt.map((async([n,r])=>{const a=await Zt.getKeyword(n).compile(r,t,e);return[n,Xt.uri(r),a]})),Gt.all],e)]}return n},interpret:(e,t,n,r)=>{const[a,i,o]=n[e];Kt.publishSync("result.start");const s="boolean"==typeof o?o:o.every((([e,a,i])=>{Kt.publishSync("result.start");const o=Zt.getKeyword(e).interpret(i,t,n,r);return Kt.publishSync("result",{keyword:e,absoluteKeywordLocation:a,instanceLocation:Wt.uri(t),valid:o,ast:i}),Kt.publishSync("result.end"),o}));return Kt.publishSync("result",{keyword:a,absoluteKeywordLocation:i,instanceLocation:Wt.uri(t),valid:s,ast:e}),Kt.publishSync("result.end"),s},collectEvaluatedProperties:(e,t,n,r,a=!1)=>{const i=n[e][2];return"boolean"==typeof i?!!i&&[]:i.filter((([e])=>!a||!e.endsWith("#unevaluatedProperties"))).reduce(((e,[a,,i])=>{const o=e&&Zt.getKeyword(a).collectEvaluatedProperties(i,t,n,r);return!1!==o&&[...e,...o]}),[])},collectEvaluatedItems:(e,t,n,r,a=!1)=>{const i=n[e][2];return"boolean"==typeof i?!!i&&new Set:i.filter((([e])=>!a||!e.endsWith("#unevaluatedItems"))).reduce(((e,[a,,i])=>{const o=!1!==e&&Zt.getKeyword(a).collectEvaluatedItems(i,t,n,r);return!1!==o&&new Set([...e,...o])}),new Set)}};var Yt={Core:Bt,Schema:ht,Instance:F,Reference:O,Keywords:{metaData:bt,validate:Qt},InvalidSchemaError:vt};const{Core:en,Schema:tn,Instance:nn}=Yt;var rn={compile:async(e,t,n)=>{const r=await tn.step("items",n),a=tn.typeOf(r,"array")?tn.length(r):Number.MAX_SAFE_INTEGER;return tn.typeOf(e,"boolean")?[a,tn.value(e)]:[a,await en.compileSchema(e,t)]},interpret:([e,t],n,r,a)=>!nn.typeOf(n,"array")||("string"==typeof t?nn.every(((n,i)=>i<e||en.interpretSchema(t,n,r,a)),n):nn.every(((n,r)=>r<e||t),n))};const{Core:an,Schema:on,Instance:sn}=Yt,cn=([e,t],n,r,a)=>!sn.typeOf(n,"array")||sn.every(((n,i)=>i<e||an.interpretSchema(t,n,r,a)),n);var ln={compile:async(e,t,n)=>{const r=await on.step("items",n);return[on.typeOf(r,"array")?on.length(r):Number.MAX_SAFE_INTEGER,await an.compileSchema(e,t)]},interpret:cn,collectEvaluatedItems:(e,t,n,r)=>cn(e,t,n,r)&&new Set(sn.map(((e,t)=>t),t))};const{Core:pn,Schema:un,Instance:mn}=Yt;var fn={compile:async(e,t,n)=>{const r=await un.step("properties",n),a=un.typeOf(r,"object")?un.keys(r):[],i=await un.step("patternProperties",n),o=un.typeOf(i,"object")?un.keys(i).map((e=>new RegExp(e))):[];return un.typeOf(e,"boolean")?[a,o,un.value(e)]:[a,o,await pn.compileSchema(e,t)]},interpret:([e,t,n],r,a,i)=>{if(!mn.typeOf(r,"object"))return!0;const o=mn.entries(r).filter((([n])=>!e.includes(n)&&!t.some((e=>e.test(n)))));return"string"==typeof n?o.every((([,e])=>pn.interpretSchema(n,e,a,i))):0===o.length||n}};const{Core:dn,Schema:hn,Instance:yn}=Yt,vn=([e,t,n],r,a,i)=>!yn.typeOf(r,"object")||yn.entries(r).filter((([n])=>!e.includes(n)&&!t.some((e=>e.test(n))))).every((([,e])=>dn.interpretSchema(n,e,a,i)));var gn={compile:async(e,t,n)=>{const r=await hn.step("properties",n),a=hn.typeOf(r,"object")?hn.keys(r):[],i=await hn.step("patternProperties",n),o=hn.typeOf(i,"object")?hn.keys(i).map((e=>new RegExp(e))):[];return[a,o,await dn.compileSchema(e,t)]},interpret:vn,collectEvaluatedProperties:(e,t,n,r)=>vn(e,t,n,r)&&[new RegExp("")]};const{Core:bn,Schema:$n}=Yt,wn=te;var xn={compile:(e,t)=>wn.pipeline([$n.map((async e=>bn.compileSchema(await e,t))),wn.all],e),interpret:(e,t,n,r)=>e.every((e=>bn.interpretSchema(e,t,n,r))),collectEvaluatedProperties:(e,t,n,r)=>e.reduce(((e,a)=>{const i=e&&bn.collectEvaluatedProperties(a,t,n,r);return!1!==i&&[...e,...i]}),[]),collectEvaluatedItems:(e,t,n,r)=>e.reduce(((e,a)=>{const i=!1!==e&&bn.collectEvaluatedItems(a,t,n,r);return!1!==i&&new Set([...e,...i])}),new Set)};const{Core:Sn,Schema:On}=Yt,In=te;var En={compile:(e,t)=>In.pipeline([On.map((async e=>Sn.compileSchema(await e,t))),In.all],e),interpret:(e,t,n,r)=>e.filter((e=>Sn.interpretSchema(e,t,n,r))).length>0,collectEvaluatedProperties:(e,t,n,r)=>e.reduce(((e,a)=>{const i=Sn.collectEvaluatedProperties(a,t,n,r);return!1!==i?[...e||[],...i]:e}),!1),collectEvaluatedItems:(e,t,n,r)=>e.reduce(((e,a)=>{const i=Sn.collectEvaluatedItems(a,t,n,r);return!1!==i?new Set([...e||[],...i]):e}),!1)},jn=Object.keys,An=JSON.stringify;function Cn(e,t){var n,r,a,i,o,s,c;if("string"===(c=typeof e))return An(e);if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(e instanceof Array){for(a="[",r=e.length-1,n=0;n<r;n++)a+=Cn(e[n],!1)+",";return r>-1&&(a+=Cn(e[n],!1)),a+"]"}if(e instanceof Object){if("function"==typeof e.toJSON)return Cn(e.toJSON(),t);for(r=(i=jn(e).sort()).length,a="",n=0;n<r;)void 0!==(s=Cn(e[o=i[n]],!0))&&(n&&""!==a&&(a+=","),a+=An(o)+":"+s),n++;return"{"+a+"}"}switch(c){case"function":case"undefined":return t?void 0:null;default:return isFinite(e)?e:null}}var Pn=function(e){return""+Cn(e,!1)};const{Schema:Tn,Instance:Nn}=Yt,kn=Pn;var Rn={compile:e=>kn(Tn.value(e)),interpret:(e,t)=>kn(Nn.value(t))===e};const{Core:Dn,Instance:qn}=Yt;var Mn={compile:(e,t)=>Dn.compileSchema(e,t),interpret:(e,t,n,r)=>!qn.typeOf(t,"array")||qn.some((t=>Dn.interpretSchema(e,t,n,r)),t)};const{Core:_n,Schema:Ln,Instance:Fn}=Yt,Un=({contains:e,minContains:t,maxContains:n},r,a,i)=>{if(!Fn.typeOf(r,"array"))return!0;const o=Fn.reduce(((t,n)=>_n.interpretSchema(e,n,a,i)?t+1:t),0,r);return o>=t&&o<=n};var Vn={compile:async(e,t,n)=>{const r=await _n.compileSchema(e,t),a=await Ln.step("minContains",n),i=Ln.typeOf(a,"number")?Ln.value(a):1,o=await Ln.step("maxContains",n);return{contains:r,minContains:i,maxContains:Ln.typeOf(o,"number")?Ln.value(o):Number.MAX_SAFE_INTEGER}},interpret:Un,collectEvaluatedItems:(e,t,n,r)=>Un(e,t,n,r)&&Fn.reduce(((t,a,i)=>_n.interpretSchema(e.contains,a,n,r)?t.add(i):t),new Set,t)};const{Core:zn,Schema:Jn}=Yt,Hn=te;var Bn={compile:async(e,t)=>{await Hn.pipeline([Jn.entries,Hn.map((([,e])=>zn.compileSchema(e,t))),Hn.all],e)},interpret:()=>!0};const{Core:Gn,Schema:Kn,Instance:Zn}=Yt,Wn=te;var Xn={compile:(e,t)=>Wn.pipeline([Kn.entries,Wn.map((async([e,n])=>[e,Kn.typeOf(n,"array")?Kn.value(n):await Gn.compileSchema(n,t)])),Wn.all],e),interpret:(e,t,n,r)=>{const a=Zn.value(t);return!Zn.typeOf(t,"object")||e.every((([e,i])=>!(e in a)||(Array.isArray(i)?i.every((e=>e in a)):Gn.interpretSchema(i,t,n,r))))}};const{Schema:Qn,Instance:Yn}=Yt,er=te;var tr={compile:e=>er.pipeline([Qn.entries,er.map((([e,t])=>[e,Qn.value(t)])),er.all],e),interpret:(e,t)=>{const n=Yn.value(t);return!Yn.typeOf(t,"object")||e.every((([e,t])=>!(e in n)||t.every((e=>e in n))))}};const{Core:nr,Schema:rr,Instance:ar}=Yt,ir=te;var or={compile:(e,t)=>ir.pipeline([rr.entries,ir.map((async([e,n])=>[e,await nr.compileSchema(n,t)])),ir.all],e),interpret:(e,t,n,r)=>{const a=ar.value(t);return!ar.typeOf(t,"object")||e.every((([e,i])=>!(e in a)||nr.interpretSchema(i,t,n,r)))},collectEvaluatedProperties:(e,t,n,r)=>e.reduce(((e,[a,i])=>{if(!e||!ar.has(a,t))return e;const o=nr.collectEvaluatedProperties(i,t,n,r);return!1!==o&&e.concat(o)}),[])};const{Schema:sr,Instance:cr}=Yt,lr=Pn;var pr={compile:e=>sr.value(e).map(lr),interpret:(e,t)=>e.some((e=>lr(cr.value(t))===e))};const{Schema:ur,Instance:mr}=Yt;var fr={compile:async e=>ur.value(e),interpret:(e,t)=>!mr.typeOf(t,"number")||mr.value(t)<e};const{Schema:dr,Instance:hr}=Yt;var yr={compile:async e=>dr.value(e),interpret:(e,t)=>!hr.typeOf(t,"number")||hr.value(t)>e};const{Core:vr}=Yt;var gr={compile:(e,t)=>vr.compileSchema(e,t),interpret:(e,t,n,r)=>(vr.interpretSchema(e,t,n,r),!0),collectEvaluatedProperties:(e,t,n,r)=>vr.collectEvaluatedProperties(e,t,n,r)||[],collectEvaluatedItems:(e,t,n,r)=>vr.collectEvaluatedItems(e,t,n,r)||new Set};const{Core:br,Schema:$r}=Yt,wr=(e,t,n,r)=>{const a=n[e][2];return"boolean"==typeof a?a:a.every((([e,,a])=>br.getKeyword(e).interpret(a,t,n,r)))};var xr={compile:async(e,t,n)=>{if($r.has("if",n)){const r=await $r.step("if",n);return[await br.compileSchema(r,t),await br.compileSchema(e,t)]}return[]},interpret:([e,t],n,r,a)=>void 0===e||!wr(e,n,r,a)||br.interpretSchema(t,n,r,a),collectEvaluatedProperties:([e,t],n,r,a)=>void 0!==e&&wr(e,n,r,a)?br.collectEvaluatedProperties(t,n,r,a):[],collectEvaluatedItems:([e,t],n,r,a)=>void 0!==e&&wr(e,n,r,a)?br.collectEvaluatedItems(t,n,r,a):new Set};const{Core:Sr,Schema:Or}=Yt,Ir=(e,t,n,r)=>{const a=n[e][2];return"boolean"==typeof a?a:a.every((([e,,a])=>Sr.getKeyword(e).interpret(a,t,n,r)))};var Er={compile:async(e,t,n)=>{if(Or.has("if",n)){const r=await Or.step("if",n);return[await Sr.compileSchema(r,t),await Sr.compileSchema(e,t)]}return[]},interpret:([e,t],n,r,a)=>void 0===e||Ir(e,n,r,a)||Sr.interpretSchema(t,n,r,a),collectEvaluatedProperties:([e,t],n,r,a)=>void 0===e||Ir(e,n,r,a)?[]:Sr.collectEvaluatedProperties(t,n,r,a),collectEvaluatedItems:([e,t],n,r,a)=>void 0===e||Ir(e,n,r,a)?new Set:Sr.collectEvaluatedItems(t,n,r,a)};const{Core:jr,Schema:Ar,Instance:Cr}=Yt,Pr=(e,t,n,r)=>!Cr.typeOf(t,"array")||("string"==typeof e?Cr.every((t=>jr.interpretSchema(e,t,n,r)),t):Cr.every(((t,a)=>!(a in e)||jr.interpretSchema(e[a],t,n,r)),t));var Tr={compile:async(e,t)=>{if(Ar.typeOf(e,"array")){const n=await Ar.map((e=>jr.compileSchema(e,t)),e);return Promise.all(n)}return jr.compileSchema(e,t)},interpret:Pr,collectEvaluatedItems:(e,t,n,r)=>Pr(e,t,n,r)&&("string"==typeof e?new Set(Cr.map(((e,t)=>t),t)):new Set(e.map(((e,t)=>t))))};const{Core:Nr,Schema:kr,Instance:Rr}=Yt,Dr=([e,t],n,r,a)=>!Rr.typeOf(n,"array")||Rr.every(((n,i)=>i<e||Nr.interpretSchema(t,n,r,a)),n);var qr={compile:async(e,t,n)=>{const r=await kr.step("prefixItems",n);return[kr.typeOf(r,"array")?kr.length(r):0,await Nr.compileSchema(e,t)]},interpret:Dr,collectEvaluatedItems:(e,t,n,r)=>Dr(e,t,n,r)&&new Set(Rr.map(((e,t)=>t),t))};const{Schema:Mr,Instance:_r}=Yt;var Lr={compile:e=>Mr.value(e),interpret:(e,t)=>!_r.typeOf(t,"array")||_r.length(t)<=e};const{Schema:Fr,Instance:Ur}=Yt;var Vr={compile:e=>Fr.value(e),interpret:(e,t)=>!Ur.typeOf(t,"string")||[...Ur.value(t)].length<=e};const{Schema:zr,Instance:Jr}=Yt;var Hr={compile:e=>zr.value(e),interpret:(e,t)=>!Jr.typeOf(t,"object")||Jr.keys(t).length<=e};const{Schema:Br,Instance:Gr}=Yt;var Kr={compile:async(e,t,n)=>{const r=await Br.step("exclusiveMaximum",n),a=Br.value(r);return[Br.value(e),a]},interpret:([e,t],n)=>{if(!Gr.typeOf(n,"number"))return!0;const r=Gr.value(n);return t?r<e:r<=e}};const{Schema:Zr,Instance:Wr}=Yt;var Xr={compile:async e=>Zr.value(e),interpret:(e,t)=>!Wr.typeOf(t,"number")||Wr.value(t)<=e};const{Schema:Qr,Instance:Yr}=Yt;var ea={compile:e=>Qr.value(e),interpret:(e,t)=>!Yr.typeOf(t,"array")||Yr.length(t)>=e};const{Schema:ta,Instance:na}=Yt;var ra={compile:e=>ta.value(e),interpret:(e,t)=>!na.typeOf(t,"string")||[...na.value(t)].length>=e};const{Schema:aa,Instance:ia}=Yt;var oa={compile:e=>aa.value(e),interpret:(e,t)=>!ia.typeOf(t,"object")||ia.keys(t).length>=e};const{Schema:sa,Instance:ca}=Yt;var la={compile:async(e,t,n)=>{const r=await sa.step("exclusiveMinimum",n),a=sa.value(r);return[sa.value(e),a]},interpret:([e,t],n)=>{if(!ca.typeOf(n,"number"))return!0;const r=ca.value(n);return t?r>e:r>=e}};const{Schema:pa,Instance:ua}=Yt;var ma={compile:async e=>pa.value(e),interpret:(e,t)=>!ua.typeOf(t,"number")||ua.value(t)>=e};const{Schema:fa,Instance:da}=Yt,ha=(e,t)=>Math.abs(e-t)<1.1920929e-7;var ya={compile:e=>fa.value(e),interpret:(e,t)=>{if(!da.typeOf(t,"number"))return!0;const n=da.value(t)%e;return ha(0,n)||ha(e,n)}};const{Core:va}=Yt;var ga={compile:va.compileSchema,interpret:(e,t,n,r)=>!va.interpretSchema(e,t,n,r)};const{Core:ba,Schema:$a}=Yt;var wa={compile:async(e,t)=>{const n=await $a.map((e=>ba.compileSchema(e,t)),e);return Promise.all(n)},interpret:(e,t,n,r)=>{let a=0;for(const i of e)if(ba.interpretSchema(i,t,n,r)&&a++,a>1)break;return 1===a},collectEvaluatedProperties:(e,t,n,r)=>{let a=0;return e.reduce(((e,i)=>{if(a>1)return!1;const o=ba.collectEvaluatedProperties(i,t,n,r);return o?0==a++&&o:e}),!1)},collectEvaluatedItems:(e,t,n,r)=>{let a=0;return e.reduce(((e,i)=>{if(a>1)return!1;const o=ba.collectEvaluatedItems(i,t,n,r);return o?0==a++&&o:e}),!1)}};const{Schema:xa,Instance:Sa}=Yt;var Oa={compile:e=>new RegExp(xa.value(e),"u"),interpret:(e,t)=>!Sa.typeOf(t,"string")||e.test(Sa.value(t))};const{Core:Ia,Schema:Ea,Instance:ja}=Yt,Aa=te,Ca=(e,t,n,r)=>!ja.typeOf(t,"object")||e.every((([e,a])=>ja.entries(t).filter((([t])=>e.test(t))).every((([,e])=>Ia.interpretSchema(a,e,n,r)))));var Pa={compile:(e,t)=>Aa.pipeline([Ea.entries,Aa.map((async([e,n])=>[new RegExp(e,"u"),await Ia.compileSchema(n,t)])),Aa.all],e),interpret:Ca,collectEvaluatedProperties:(e,t,n,r)=>Ca(e,t,n,r)&&e.map((([e])=>e))};var Ta={isObject:e=>"object"==typeof e&&!Array.isArray(e)&&null!==e,escapeRegExp:e=>e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),splitUrl:e=>{const t=e.indexOf("#"),n=-1===t?e.length:t,r=e.slice(0,n),a=e.slice(n+1);return[decodeURI(r),decodeURI(a)]}};const{Core:Na,Schema:ka,Instance:Ra}=Yt,Da=te,{escapeRegExp:qa}=Ta,Ma=(e,t,n,r)=>!Ra.typeOf(t,"object")||Ra.entries(t).filter((([t])=>t in e)).every((([t,a])=>Na.interpretSchema(e[t],a,n,r)));var _a={compile:(e,t)=>Da.pipeline([ka.entries,Da.reduce((async(e,[n,r])=>(e[n]=await Na.compileSchema(r,t),e)),Object.create(null))],e),interpret:Ma,collectEvaluatedProperties:(e,t,n,r)=>Ma(e,t,n,r)&&Object.keys(e).map((e=>new RegExp(`^${qa(e)}$`)))};const{Core:La,Instance:Fa}=Yt;var Ua={compile:(e,t)=>La.compileSchema(e,t),interpret:(e,t,n,r)=>!Fa.typeOf(t,"object")||Fa.keys(t).every((t=>La.interpretSchema(e,Fa.cons(t),n,r)))};const{Core:Va,Schema:za}=Yt,{splitUrl:Ja}=Ta;var Ha={compile:async(e,t)=>{const[,n]=Ja(za.value(e)),r=await za.get(za.value(e),e);return await Va.compileSchema(r,t),[r.id,n]},interpret:([e,t],n,r,a)=>{if(t in r.metaData[e].dynamicAnchors)return Va.interpretSchema(a[t],n,r,a);{const i=za.getAnchorPointer(r.metaData[e],t);return Va.interpretSchema(`${e}#${encodeURI(i)}`,n,r,a)}},collectEvaluatedProperties:Va.collectEvaluatedProperties,collectEvaluatedItems:Va.collectEvaluatedItems};const{Core:Ba,Schema:Ga}=Yt;var Ka={compile:async(e,t)=>{const n=await Ga.get(Ga.value(e),e);return Ba.compileSchema(n,t)},interpret:Ba.interpretSchema,collectEvaluatedProperties:Ba.collectEvaluatedProperties,collectEvaluatedItems:Ba.collectEvaluatedItems};const{Schema:Za,Instance:Wa}=Yt;var Xa={compile:e=>Za.value(e),interpret:(e,t)=>!Wa.typeOf(t,"object")||e.every((e=>Object.prototype.hasOwnProperty.call(Wa.value(t),e)))};const{Core:Qa,Schema:Ya,Instance:ei}=Yt,ti=te,ni=(e,t,n,r)=>!ei.typeOf(t,"array")||ei.every(((t,a)=>!(a in e)||Qa.interpretSchema(e[a],t,n,r)),t);var ri={compile:(e,t)=>ti.pipeline([Ya.map((e=>Qa.compileSchema(e,t))),ti.all],e),interpret:ni,collectEvaluatedItems:(e,t,n,r)=>ni(e,t,n,r)&&new Set(e.map(((e,t)=>t)))};const{Schema:ai,Instance:ii}=Yt;var oi={compile:e=>ai.value(e),interpret:(e,t)=>"string"==typeof e?ii.typeOf(t,e):e.some(ii.typeOf(t))};const{Core:si,Schema:ci,Instance:li}=Yt,pi=([e,t],n,r,a)=>{if(!li.typeOf(n,"array"))return!0;const i=si.collectEvaluatedItems(e,n,r,a,!0);return!1===i||li.every(((e,o)=>i.has(o)||si.interpretSchema(t,li.step(o,n),r,a)),n)};var ui={compile:async(e,t,n)=>[ci.uri(n),await si.compileSchema(e,t)],interpret:pi,collectEvaluatedItems:(e,t,n,r)=>pi(e,t,n,r)&&new Set(li.map(((e,t)=>t),t))};const{Core:mi,Schema:fi,Instance:di}=Yt,hi=([e,t],n,r,a)=>{if(!di.typeOf(n,"object"))return!0;const i=mi.collectEvaluatedProperties(e,n,r,a,!0);return!i||di.entries(n).filter((([e])=>!i.some((t=>e.match(t))))).every((([,e])=>mi.interpretSchema(t,e,r,a)))};var yi={compile:async(e,t,n)=>[fi.uri(n),await mi.compileSchema(e,t)],interpret:hi,collectEvaluatedProperties:(e,t,n,r)=>hi(e,t,n,r)&&[new RegExp("")]};const{Schema:vi,Instance:gi}=Yt,bi=Pn;var $i={compile:e=>vi.value(e),interpret:(e,t)=>{if(!gi.typeOf(t,"array")||!1===e)return!0;const n=gi.map((e=>bi(gi.value(e))),t);return new Set(n).size===n.length}};const{Keywords:wi}=Yt;var xi={additionalItems:rn,additionalItems6:ln,additionalProperties:fn,additionalProperties6:gn,allOf:xn,anyOf:En,const:Rn,contains:Mn,containsMinContainsMaxContains:Vn,definitions:Bn,dependencies:Xn,dependentRequired:tr,dependentSchemas:or,enum:pr,exclusiveMaximum:fr,exclusiveMinimum:yr,if:gr,then:xr,else:Er,items:Tr,items202012:qr,maxItems:Lr,maxLength:Vr,maxProperties:Hr,maximumExclusiveMaximum:Kr,maximum:Xr,metaData:wi.metaData,minItems:ea,minLength:ra,minProperties:oa,minimumExclusiveMinimum:la,minimum:ma,multipleOf:ya,not:ga,oneOf:wa,pattern:Oa,patternProperties:Pa,properties:_a,propertyNames:Ua,dynamicRef:Ha,ref:Ka,required:Xa,tupleItems:ri,type:oi,unevaluatedItems:ui,unevaluatedProperties:yi,uniqueItems:$i,validate:wi.validate};const{Core:Si,Schema:Oi}=Yt,Ii=xi,Ei="http://json-schema.org/draft-04/schema";Oi.setConfig(Ei,"baseToken","id"),Oi.setConfig(Ei,"embeddedToken","id"),Oi.setConfig(Ei,"anchorToken","id"),Oi.setConfig(Ei,"jrefToken","$ref"),Oi.add(JSON.parse('{\n "id": "http://json-schema.org/draft-04/schema#",\n "$schema": "http://json-schema.org/draft-04/schema#",\n "description": "Core schema meta-schema",\n "definitions": {\n "schemaArray": {\n "type": "array",\n "minItems": 1,\n "items": { "$ref": "#" }\n },\n "positiveInteger": {\n "type": "integer",\n "minimum": 0\n },\n "positiveIntegerDefault0": {\n "allOf": [ { "$ref": "#/definitions/positiveInteger" }, { "default": 0 } ]\n },\n "simpleTypes": {\n "enum": [ "array", "boolean", "integer", "null", "number", "object", "string" ]\n },\n "stringArray": {\n "type": "array",\n "items": { "type": "string" },\n "minItems": 1,\n "uniqueItems": true\n }\n },\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "$schema": {\n "type": "string"\n },\n "title": {\n "type": "string"\n },\n "description": {\n "type": "string"\n },\n "default": {},\n "multipleOf": {\n "type": "number",\n "minimum": 0,\n "exclusiveMinimum": true\n },\n "maximum": {\n "type": "number"\n },\n "exclusiveMaximum": {\n "type": "boolean",\n "default": false\n },\n "minimum": {\n "type": "number"\n },\n "exclusiveMinimum": {\n "type": "boolean",\n "default": false\n },\n "maxLength": { "$ref": "#/definitions/positiveInteger" },\n "minLength": { "$ref": "#/definitions/positiveIntegerDefault0" },\n "pattern": {\n "type": "string",\n "format": "regex"\n },\n "additionalItems": {\n "anyOf": [\n { "type": "boolean" },\n { "$ref": "#" }\n ],\n "default": {}\n },\n "items": {\n "anyOf": [\n { "$ref": "#" },\n { "$ref": "#/definitions/schemaArray" }\n ],\n "default": {}\n },\n "maxItems": { "$ref": "#/definitions/positiveInteger" },\n "minItems": { "$ref": "#/definitions/positiveIntegerDefault0" },\n "uniqueItems": {\n "type": "boolean",\n "default": false\n },\n "maxProperties": { "$ref": "#/definitions/positiveInteger" },\n "minProperties": { "$ref": "#/definitions/positiveIntegerDefault0" },\n "required": { "$ref": "#/definitions/stringArray" },\n "additionalProperties": {\n "anyOf": [\n { "type": "boolean" },\n { "$ref": "#" }\n ],\n "default": {}\n },\n "definitions": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "properties": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "patternProperties": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "dependencies": {\n "type": "object",\n "additionalProperties": {\n "anyOf": [\n { "$ref": "#" },\n { "$ref": "#/definitions/stringArray" }\n ]\n }\n },\n "enum": {\n "type": "array",\n "minItems": 1,\n "uniqueItems": true\n },\n "type": {\n "anyOf": [\n { "$ref": "#/definitions/simpleTypes" },\n {\n "type": "array",\n "items": { "$ref": "#/definitions/simpleTypes" },\n "minItems": 1,\n "uniqueItems": true\n }\n ]\n },\n "format": { "type": "string" },\n "allOf": { "$ref": "#/definitions/schemaArray" },\n "anyOf": { "$ref": "#/definitions/schemaArray" },\n "oneOf": { "$ref": "#/definitions/schemaArray" },\n "not": { "$ref": "#" }\n },\n "dependencies": {\n "exclusiveMaximum": [ "maximum" ],\n "exclusiveMinimum": [ "minimum" ]\n },\n "default": {}\n}')),Si.defineVocabulary(Ei,{validate:Ii.validate,additionalItems:Ii.additionalItems,additionalProperties:Ii.additionalProperties,allOf:Ii.allOf,anyOf:Ii.anyOf,default:Ii.metaData,definitions:Ii.definitions,dependencies:Ii.dependencies,description:Ii.metaData,enum:Ii.enum,format:Ii.metaData,items:Ii.items,maxItems:Ii.maxItems,maxLength:Ii.maxLength,maxProperties:Ii.maxProperties,maximum:Ii.maximumExclusiveMaximum,minItems:Ii.minItems,minLength:Ii.minLength,minProperties:Ii.minProperties,minimum:Ii.minimumExclusiveMinimum,multipleOf:Ii.multipleOf,not:Ii.not,oneOf:Ii.oneOf,pattern:Ii.pattern,patternProperties:Ii.patternProperties,properties:Ii.properties,required:Ii.required,title:Ii.metaData,type:Ii.type,uniqueItems:Ii.uniqueItems});const{Core:ji,Schema:Ai}=Yt,Ci=xi,Pi="http://json-schema.org/draft-06/schema";Ai.setConfig(Pi,"baseToken","$id"),Ai.setConfig(Pi,"embeddedToken","$id"),Ai.setConfig(Pi,"anchorToken","$id"),Ai.setConfig(Pi,"jrefToken","$ref"),Ai.add(JSON.parse('{\n "$schema": "http://json-schema.org/draft-06/schema#",\n "$id": "http://json-schema.org/draft-06/schema#",\n "title": "Core schema meta-schema",\n "definitions": {\n "schemaArray": {\n "type": "array",\n "minItems": 1,\n "items": { "$ref": "#" }\n },\n "nonNegativeInteger": {\n "type": "integer",\n "minimum": 0\n },\n "nonNegativeIntegerDefault0": {\n "allOf": [\n { "$ref": "#/definitions/nonNegativeInteger" },\n { "default": 0 }\n ]\n },\n "simpleTypes": {\n "enum": [\n "array",\n "boolean",\n "integer",\n "null",\n "number",\n "object",\n "string"\n ]\n },\n "stringArray": {\n "type": "array",\n "items": { "type": "string" },\n "uniqueItems": true,\n "default": []\n }\n },\n "type": ["object", "boolean"],\n "properties": {\n "$id": {\n "type": "string",\n "format": "uri-reference"\n },\n "$schema": {\n "type": "string",\n "format": "uri"\n },\n "$ref": {\n "type": "string",\n "format": "uri-reference"\n },\n "title": {\n "type": "string"\n },\n "description": {\n "type": "string"\n },\n "default": {},\n "examples": {\n "type": "array",\n "items": {}\n },\n "multipleOf": {\n "type": "number",\n "exclusiveMinimum": 0\n },\n "maximum": {\n "type": "number"\n },\n "exclusiveMaximum": {\n "type": "number"\n },\n "minimum": {\n "type": "number"\n },\n "exclusiveMinimum": {\n "type": "number"\n },\n "maxLength": { "$ref": "#/definitions/nonNegativeInteger" },\n "minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },\n "pattern": {\n "type": "string",\n "format": "regex"\n },\n "additionalItems": { "$ref": "#" },\n "items": {\n "anyOf": [\n { "$ref": "#" },\n { "$ref": "#/definitions/schemaArray" }\n ],\n "default": {}\n },\n "maxItems": { "$ref": "#/definitions/nonNegativeInteger" },\n "minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },\n "uniqueItems": {\n "type": "boolean",\n "default": false\n },\n "contains": { "$ref": "#" },\n "maxProperties": { "$ref": "#/definitions/nonNegativeInteger" },\n "minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },\n "required": { "$ref": "#/definitions/stringArray" },\n "additionalProperties": { "$ref": "#" },\n "definitions": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "properties": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "patternProperties": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "dependencies": {\n "type": "object",\n "additionalProperties": {\n "anyOf": [\n { "$ref": "#" },\n { "$ref": "#/definitions/stringArray" }\n ]\n }\n },\n "propertyNames": { "$ref": "#" },\n "const": {},\n "enum": {\n "type": "array",\n "minItems": 1,\n "uniqueItems": true\n },\n "type": {\n "anyOf": [\n { "$ref": "#/definitions/simpleTypes" },\n {\n "type": "array",\n "items": { "$ref": "#/definitions/simpleTypes" },\n "minItems": 1,\n "uniqueItems": true\n }\n ]\n },\n "format": { "type": "string" },\n "allOf": { "$ref": "#/definitions/schemaArray" },\n "anyOf": { "$ref": "#/definitions/schemaArray" },\n "oneOf": { "$ref": "#/definitions/schemaArray" },\n "not": { "$ref": "#" }\n },\n "default": {}\n}')),ji.defineVocabulary(Pi,{validate:Ci.validate,additionalItems:Ci.additionalItems6,additionalProperties:Ci.additionalProperties6,allOf:Ci.allOf,anyOf:Ci.anyOf,const:Ci.const,contains:Ci.contains,default:Ci.metaData,definitions:Ci.definitions,dependencies:Ci.dependencies,description:Ci.metaData,enum:Ci.enum,examples:Ci.metaData,exclusiveMaximum:Ci.exclusiveMaximum,exclusiveMinimum:Ci.exclusiveMinimum,format:Ci.metaData,items:Ci.items,maxItems:Ci.maxItems,maxLength:Ci.maxLength,maxProperties:Ci.maxProperties,maximum:Ci.maximum,minItems:Ci.minItems,minLength:Ci.minLength,minProperties:Ci.minProperties,minimum:Ci.minimum,multipleOf:Ci.multipleOf,not:Ci.not,oneOf:Ci.oneOf,pattern:Ci.pattern,patternProperties:Ci.patternProperties,properties:Ci.properties,propertyNames:Ci.propertyNames,required:Ci.required,title:Ci.metaData,type:Ci.type,uniqueItems:Ci.uniqueItems});const{Core:Ti,Schema:Ni}=Yt,ki=xi,Ri="http://json-schema.org/draft-07/schema";Ni.setConfig(Ri,"baseToken","$id"),Ni.setConfig(Ri,"embeddedToken","$id"),Ni.setConfig(Ri,"anchorToken","$id"),Ni.setConfig(Ri,"jrefToken","$ref"),Ni.add(JSON.parse('{\n "$schema": "http://json-schema.org/draft-07/schema#",\n "$id": "http://json-schema.org/draft-07/schema#",\n "title": "Core schema meta-schema",\n "definitions": {\n "schemaArray": {\n "type": "array",\n "minItems": 1,\n "items": { "$ref": "#" }\n },\n "nonNegativeInteger": {\n "type": "integer",\n "minimum": 0\n },\n "nonNegativeIntegerDefault0": {\n "allOf": [\n { "$ref": "#/definitions/nonNegativeInteger" },\n { "default": 0 }\n ]\n },\n "simpleTypes": {\n "enum": [\n "array",\n "boolean",\n "integer",\n "null",\n "number",\n "object",\n "string"\n ]\n },\n "stringArray": {\n "type": "array",\n "items": { "type": "string" },\n "uniqueItems": true,\n "default": []\n }\n },\n "type": ["object", "boolean"],\n "properties": {\n "$id": {\n "type": "string",\n "format": "uri-reference"\n },\n "$schema": {\n "type": "string",\n "format": "uri"\n },\n "$ref": {\n "type": "string",\n "format": "uri-reference"\n },\n "$comment": {\n "type": "string"\n },\n "title": {\n "type": "string"\n },\n "description": {\n "type": "string"\n },\n "default": true,\n "readOnly": {\n "type": "boolean",\n "default": false\n },\n "writeOnly": {\n "type": "boolean",\n "default": false\n },\n "examples": {\n "type": "array",\n "items": true\n },\n "multipleOf": {\n "type": "number",\n "exclusiveMinimum": 0\n },\n "maximum": {\n "type": "number"\n },\n "exclusiveMaximum": {\n "type": "number"\n },\n "minimum": {\n "type": "number"\n },\n "exclusiveMinimum": {\n "type": "number"\n },\n "maxLength": { "$ref": "#/definitions/nonNegativeInteger" },\n "minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },\n "pattern": {\n "type": "string",\n "format": "regex"\n },\n "additionalItems": { "$ref": "#" },\n "items": {\n "anyOf": [\n { "$ref": "#" },\n { "$ref": "#/definitions/schemaArray" }\n ],\n "default": true\n },\n "maxItems": { "$ref": "#/definitions/nonNegativeInteger" },\n "minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },\n "uniqueItems": {\n "type": "boolean",\n "default": false\n },\n "contains": { "$ref": "#" },\n "maxProperties": { "$ref": "#/definitions/nonNegativeInteger" },\n "minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },\n "required": { "$ref": "#/definitions/stringArray" },\n "additionalProperties": { "$ref": "#" },\n "definitions": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "properties": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "default": {}\n },\n "patternProperties": {\n "type": "object",\n "additionalProperties": { "$ref": "#" },\n "propertyNames": { "format": "regex" },\n "default": {}\n },\n "dependencies": {\n "type": "object",\n "additionalProperties": {\n "anyOf": [\n { "$ref": "#" },\n { "$ref": "#/definitions/stringArray" }\n ]\n }\n },\n "propertyNames": { "$ref": "#" },\n "const": true,\n "enum": {\n "type": "array",\n "items": true,\n "minItems": 1,\n "uniqueItems": true\n },\n "type": {\n "anyOf": [\n { "$ref": "#/definitions/simpleTypes" },\n {\n "type": "array",\n "items": { "$ref": "#/definitions/simpleTypes" },\n "minItems": 1,\n "uniqueItems": true\n }\n ]\n },\n "format": { "type": "string" },\n "contentMediaType": { "type": "string" },\n "contentEncoding": { "type": "string" },\n "if": { "$ref": "#" },\n "then": { "$ref": "#" },\n "else": { "$ref": "#" },\n "allOf": { "$ref": "#/definitions/schemaArray" },\n "anyOf": { "$ref": "#/definitions/schemaArray" },\n "oneOf": { "$ref": "#/definitions/schemaArray" },\n "not": { "$ref": "#" }\n },\n "default": true\n}')),Ti.defineVocabulary(Ri,{validate:ki.validate,additionalItems:ki.additionalItems6,additionalProperties:ki.additionalProperties6,allOf:ki.allOf,anyOf:ki.anyOf,const:ki.const,contains:ki.contains,default:ki.metaData,definitions:ki.definitions,dependencies:ki.dependencies,description:ki.metaData,enum:ki.enum,exclusiveMaximum:ki.exclusiveMaximum,exclusiveMinimum:ki.exclusiveMinimum,format:ki.metaData,if:ki.if,then:ki.then,else:ki.else,items:ki.items,maxItems:ki.maxItems,maxLength:ki.maxLength,maxProperties:ki.maxProperties,maximum:ki.maximum,minItems:ki.minItems,minLength:ki.minLength,minProperties:ki.minProperties,minimum:ki.minimum,multipleOf:ki.multipleOf,not:ki.not,oneOf:ki.oneOf,pattern:ki.pattern,patternProperties:ki.patternProperties,properties:ki.properties,propertyNames:ki.propertyNames,readOnly:ki.metaData,required:ki.required,title:ki.metaData,type:ki.type,uniqueItems:ki.uniqueItems,writeOnly:ki.metaData});const{Core:Di,Schema:qi}=Yt,Mi=xi,_i="https://json-schema.org/draft/2019-09/vocab/core";qi.setConfig(_i,"baseToken","$id"),qi.setConfig(_i,"embeddedToken","$id"),qi.setConfig(_i,"anchorToken","$anchor"),qi.setConfig(_i,"recursiveAnchorToken","$recursiveAnchor"),qi.setConfig(_i,"vocabularyToken","$vocabulary"),qi.setConfig(_i,"mandatoryVocabularies",["https://json-schema.org/draft/2019-09/vocab/core"]),qi.add(JSON.parse('{\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$id": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/core": true,\n "https://json-schema.org/draft/2019-09/vocab/applicator": true,\n "https://json-schema.org/draft/2019-09/vocab/validation": true,\n "https://json-schema.org/draft/2019-09/vocab/meta-data": true,\n "https://json-schema.org/draft/2019-09/vocab/format": false,\n "https://json-schema.org/draft/2019-09/vocab/content": true\n },\n "$recursiveAnchor": true,\n\n "title": "Core and Validation specifications meta-schema",\n "allOf": [\n {"$ref": "meta/core"},\n {"$ref": "meta/applicator"},\n {"$ref": "meta/validation"},\n {"$ref": "meta/meta-data"},\n {"$ref": "meta/format"},\n {"$ref": "meta/content"}\n ],\n "type": ["object", "boolean"],\n "properties": {\n "definitions": {\n "$comment": "While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",\n "type": "object",\n "additionalProperties": { "$recursiveRef": "#" },\n "default": {}\n },\n "dependencies": {\n "$comment": "\\"dependencies\\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \\"dependentSchemas\\" and \\"dependentRequired\\"",\n "type": "object",\n "additionalProperties": {\n "anyOf": [\n { "$recursiveRef": "#" },\n { "$ref": "meta/validation#/$defs/stringArray" }\n ]\n }\n }\n }\n}')),qi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2019-09/meta/core",\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/core": true\n },\n "$recursiveAnchor": true,\n\n "title": "Core vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "$id": {\n "type": "string",\n "format": "uri-reference",\n "$comment": "Non-empty fragments not allowed.",\n "pattern": "^[^#]*#?$"\n },\n "$schema": {\n "type": "string",\n "format": "uri"\n },\n "$anchor": {\n "type": "string",\n "pattern": "^[A-Za-z][-A-Za-z0-9.:_]*$"\n },\n "$ref": {\n "type": "string",\n "format": "uri-reference"\n },\n "$recursiveRef": {\n "type": "string",\n "format": "uri-reference"\n },\n "$recursiveAnchor": {\n "type": "boolean",\n "default": false\n },\n "$vocabulary": {\n "type": "object",\n "propertyNames": {\n "type": "string",\n "format": "uri"\n },\n "additionalProperties": {\n "type": "boolean"\n }\n },\n "$comment": {\n "type": "string"\n },\n "$defs": {\n "type": "object",\n "additionalProperties": { "$recursiveRef": "#" },\n "default": {}\n }\n }\n}')),Di.defineVocabulary("https://json-schema.org/draft/2019-09/vocab/core",{validate:Mi.validate,$defs:Mi.definitions,$recursiveRef:Mi.dynamicRef,$ref:Mi.ref}),qi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2019-09/meta/applicator",\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/applicator": true\n },\n "$recursiveAnchor": true,\n\n "title": "Applicator vocabulary meta-schema",\n "properties": {\n "additionalItems": { "$recursiveRef": "#" },\n "unevaluatedItems": { "$recursiveRef": "#" },\n "items": {\n "anyOf": [\n { "$recursiveRef": "#" },\n { "$ref": "#/$defs/schemaArray" }\n ]\n },\n "contains": { "$recursiveRef": "#" },\n "additionalProperties": { "$recursiveRef": "#" },\n "unevaluatedProperties": { "$recursiveRef": "#" },\n "properties": {\n "type": "object",\n "additionalProperties": { "$recursiveRef": "#" },\n "default": {}\n },\n "patternProperties": {\n "type": "object",\n "additionalProperties": { "$recursiveRef": "#" },\n "propertyNames": { "format": "regex" },\n "default": {}\n },\n "dependentSchemas": {\n "type": "object",\n "additionalProperties": {\n "$recursiveRef": "#"\n }\n },\n "propertyNames": { "$recursiveRef": "#" },\n "if": { "$recursiveRef": "#" },\n "then": { "$recursiveRef": "#" },\n "else": { "$recursiveRef": "#" },\n "allOf": { "$ref": "#/$defs/schemaArray" },\n "anyOf": { "$ref": "#/$defs/schemaArray" },\n "oneOf": { "$ref": "#/$defs/schemaArray" },\n "not": { "$recursiveRef": "#" }\n },\n "$defs": {\n "schemaArray": {\n "type": "array",\n "minItems": 1,\n "items": { "$recursiveRef": "#" }\n }\n }\n}')),Di.defineVocabulary("https://json-schema.org/draft/2019-09/vocab/applicator",{additionalItems:Mi.additionalItems6,additionalProperties:Mi.additionalProperties6,allOf:Mi.allOf,anyOf:Mi.anyOf,contains:Mi.containsMinContainsMaxContains,dependentSchemas:Mi.dependentSchemas,if:Mi.if,then:Mi.then,else:Mi.else,items:Mi.items,not:Mi.not,oneOf:Mi.oneOf,patternProperties:Mi.patternProperties,properties:Mi.properties,propertyNames:Mi.propertyNames,unevaluatedItems:Mi.unevaluatedItems,unevaluatedProperties:Mi.unevaluatedProperties}),qi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2019-09/meta/validation",\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/validation": true\n },\n "$recursiveAnchor": true,\n\n "title": "Validation vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "multipleOf": {\n "type": "number",\n "exclusiveMinimum": 0\n },\n "maximum": {\n "type": "number"\n },\n "exclusiveMaximum": {\n "type": "number"\n },\n "minimum": {\n "type": "number"\n },\n "exclusiveMinimum": {\n "type": "number"\n },\n "maxLength": { "$ref": "#/$defs/nonNegativeInteger" },\n "minLength": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },\n "pattern": {\n "type": "string",\n "format": "regex"\n },\n "maxItems": { "$ref": "#/$defs/nonNegativeInteger" },\n "minItems": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },\n "uniqueItems": {\n "type": "boolean",\n "default": false\n },\n "maxContains": { "$ref": "#/$defs/nonNegativeInteger" },\n "minContains": {\n "$ref": "#/$defs/nonNegativeInteger",\n "default": 1\n },\n "maxProperties": { "$ref": "#/$defs/nonNegativeInteger" },\n "minProperties": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },\n "required": { "$ref": "#/$defs/stringArray" },\n "dependentRequired": {\n "type": "object",\n "additionalProperties": {\n "$ref": "#/$defs/stringArray"\n }\n },\n "const": true,\n "enum": {\n "type": "array",\n "items": true\n },\n "type": {\n "anyOf": [\n { "$ref": "#/$defs/simpleTypes" },\n {\n "type": "array",\n "items": { "$ref": "#/$defs/simpleTypes" },\n "minItems": 1,\n "uniqueItems": true\n }\n ]\n }\n },\n "$defs": {\n "nonNegativeInteger": {\n "type": "integer",\n "minimum": 0\n },\n "nonNegativeIntegerDefault0": {\n "$ref": "#/$defs/nonNegativeInteger",\n "default": 0\n },\n "simpleTypes": {\n "enum": [\n "array",\n "boolean",\n "integer",\n "null",\n "number",\n "object",\n "string"\n ]\n },\n "stringArray": {\n "type": "array",\n "items": { "type": "string" },\n "uniqueItems": true,\n "default": []\n }\n }\n}')),Di.defineVocabulary("https://json-schema.org/draft/2019-09/vocab/validation",{const:Mi.const,dependentRequired:Mi.dependentRequired,enum:Mi.enum,exclusiveMaximum:Mi.exclusiveMaximum,exclusiveMinimum:Mi.exclusiveMinimum,maxItems:Mi.maxItems,maxLength:Mi.maxLength,maxProperties:Mi.maxProperties,maximum:Mi.maximum,minItems:Mi.minItems,minLength:Mi.minLength,minProperties:Mi.minProperties,minimum:Mi.minimum,multipleOf:Mi.multipleOf,pattern:Mi.pattern,required:Mi.required,type:Mi.type,uniqueItems:Mi.uniqueItems}),qi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2019-09/meta/meta-data",\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/meta-data": true\n },\n "$recursiveAnchor": true,\n\n "title": "Meta-data vocabulary meta-schema",\n\n "type": ["object", "boolean"],\n "properties": {\n "title": {\n "type": "string"\n },\n "description": {\n "type": "string"\n },\n "default": true,\n "deprecated": {\n "type": "boolean",\n "default": false\n },\n "readOnly": {\n "type": "boolean",\n "default": false\n },\n "writeOnly": {\n "type": "boolean",\n "default": false\n },\n "examples": {\n "type": "array",\n "items": true\n }\n }\n}')),Di.defineVocabulary("https://json-schema.org/draft/2019-09/vocab/meta-data",{default:Mi.metaData,deprecated:Mi.metaData,description:Mi.metaData,examples:Mi.metaData,readOnly:Mi.metaData,title:Mi.metaData,writeOnly:Mi.metaData}),qi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2019-09/meta/format",\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/format": true\n },\n "$recursiveAnchor": true,\n\n "title": "Format vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "format": { "type": "string" }\n }\n}')),qi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2019-09/meta/content",\n "$schema": "https://json-schema.org/draft/2019-09/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2019-09/vocab/content": true\n },\n "$recursiveAnchor": true,\n\n "title": "Content vocabulary meta-schema",\n\n "type": ["object", "boolean"],\n "properties": {\n "contentMediaType": { "type": "string" },\n "contentEncoding": { "type": "string" },\n "contentSchema": { "$recursiveRef": "#" }\n }\n}')),Di.defineVocabulary("https://json-schema.org/draft/2019-09/vocab/content",{contentEncoding:Mi.metaData,contentMediaType:Mi.metaData,contentSchema:Mi.metaData});const{Core:Li,Schema:Fi}=Yt,Ui=xi,Vi="https://json-schema.org/draft/2020-12/vocab/core";Fi.setConfig(Vi,"baseToken","$id"),Fi.setConfig(Vi,"embeddedToken","$id"),Fi.setConfig(Vi,"anchorToken","$anchor"),Fi.setConfig(Vi,"dynamicAnchorToken","$dynamicAnchor"),Fi.setConfig(Vi,"vocabularyToken","$vocabulary"),Fi.setConfig(Vi,"mandatoryVocabularies",["https://json-schema.org/draft/2020-12/vocab/core"]),Fi.add(JSON.parse('{\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$id": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/core": true,\n "https://json-schema.org/draft/2020-12/vocab/applicator": true,\n "https://json-schema.org/draft/2020-12/vocab/unevaluated": true,\n "https://json-schema.org/draft/2020-12/vocab/validation": true,\n "https://json-schema.org/draft/2020-12/vocab/meta-data": true,\n "https://json-schema.org/draft/2020-12/vocab/format-annotation": true,\n "https://json-schema.org/draft/2020-12/vocab/content": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Core and Validation specifications meta-schema",\n "allOf": [\n {"$ref": "meta/core"},\n {"$ref": "meta/applicator"},\n {"$ref": "meta/unevaluated"},\n {"$ref": "meta/validation"},\n {"$ref": "meta/meta-data"},\n {"$ref": "meta/format-annotation"},\n {"$ref": "meta/content"}\n ],\n "type": ["object", "boolean"],\n "properties": {\n "definitions": {\n "$comment": "While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",\n "type": "object",\n "additionalProperties": { "$dynamicRef": "#meta" },\n "default": {}\n },\n "dependencies": {\n "$comment": "\\"dependencies\\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \\"dependentSchemas\\" and \\"dependentRequired\\"",\n "type": "object",\n "additionalProperties": {\n "anyOf": [\n { "$dynamicRef": "#meta" },\n { "$ref": "meta/validation#/$defs/stringArray" }\n ]\n }\n }\n }\n}')),Fi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/core",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/core": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Core vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "$id": {\n "type": "string",\n "format": "uri-reference",\n "$comment": "Non-empty fragments not allowed.",\n "pattern": "^[^#]*#?$"\n },\n "$schema": {\n "type": "string",\n "format": "uri"\n },\n "$anchor": {\n "type": "string",\n "pattern": "^[A-Za-z_][-A-Za-z0-9._]*$"\n },\n "$ref": {\n "type": "string",\n "format": "uri-reference"\n },\n "$dynamicRef": {\n "type": "string",\n "format": "uri-reference"\n },\n "$dynamicAnchor": {\n "type": "string",\n "pattern": "^[A-Za-z_][-A-Za-z0-9._]*$"\n },\n "$vocabulary": {\n "type": "object",\n "propertyNames": {\n "type": "string",\n "format": "uri"\n },\n "additionalProperties": {\n "type": "boolean"\n }\n },\n "$comment": {\n "type": "string"\n },\n "$defs": {\n "type": "object",\n "additionalProperties": { "$dynamicRef": "#meta" },\n "default": {}\n }\n }\n}')),Li.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/core",{validate:Ui.validate,$defs:Ui.definitions,$dynamicRef:Ui.dynamicRef,$ref:Ui.ref}),Fi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/applicator",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/applicator": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Applicator vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "prefixItems": { "$ref": "#/$defs/schemaArray" },\n "items": { "$dynamicRef": "#meta" },\n "contains": { "$dynamicRef": "#meta" },\n "additionalProperties": { "$dynamicRef": "#meta" },\n "properties": {\n "type": "object",\n "additionalProperties": { "$dynamicRef": "#meta" },\n "default": {}\n },\n "patternProperties": {\n "type": "object",\n "additionalProperties": { "$dynamicRef": "#meta" },\n "propertyNames": { "format": "regex" },\n "default": {}\n },\n "dependentSchemas": {\n "type": "object",\n "additionalProperties": {\n "$dynamicRef": "#meta"\n }\n },\n "propertyNames": { "$dynamicRef": "#meta" },\n "if": { "$dynamicRef": "#meta" },\n "then": { "$dynamicRef": "#meta" },\n "else": { "$dynamicRef": "#meta" },\n "allOf": { "$ref": "#/$defs/schemaArray" },\n "anyOf": { "$ref": "#/$defs/schemaArray" },\n "oneOf": { "$ref": "#/$defs/schemaArray" },\n "not": { "$dynamicRef": "#meta" }\n },\n "$defs": {\n "schemaArray": {\n "type": "array",\n "minItems": 1,\n "items": { "$dynamicRef": "#meta" }\n }\n }\n}')),Li.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/applicator",{additionalProperties:Ui.additionalProperties6,allOf:Ui.allOf,anyOf:Ui.anyOf,contains:Ui.containsMinContainsMaxContains,dependentSchemas:Ui.dependentSchemas,if:Ui.if,then:Ui.then,else:Ui.else,items:Ui.items202012,not:Ui.not,oneOf:Ui.oneOf,patternProperties:Ui.patternProperties,prefixItems:Ui.tupleItems,properties:Ui.properties,propertyNames:Ui.propertyNames}),Fi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/validation",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/validation": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Validation vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "multipleOf": {\n "type": "number",\n "exclusiveMinimum": 0\n },\n "maximum": {\n "type": "number"\n },\n "exclusiveMaximum": {\n "type": "number"\n },\n "minimum": {\n "type": "number"\n },\n "exclusiveMinimum": {\n "type": "number"\n },\n "maxLength": { "$ref": "#/$defs/nonNegativeInteger" },\n "minLength": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },\n "pattern": {\n "type": "string",\n "format": "regex"\n },\n "maxItems": { "$ref": "#/$defs/nonNegativeInteger" },\n "minItems": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },\n "uniqueItems": {\n "type": "boolean",\n "default": false\n },\n "maxContains": { "$ref": "#/$defs/nonNegativeInteger" },\n "minContains": {\n "$ref": "#/$defs/nonNegativeInteger",\n "default": 1\n },\n "maxProperties": { "$ref": "#/$defs/nonNegativeInteger" },\n "minProperties": { "$ref": "#/$defs/nonNegativeIntegerDefault0" },\n "required": { "$ref": "#/$defs/stringArray" },\n "dependentRequired": {\n "type": "object",\n "additionalProperties": {\n "$ref": "#/$defs/stringArray"\n }\n },\n "const": true,\n "enum": {\n "type": "array",\n "items": true\n },\n "type": {\n "anyOf": [\n { "$ref": "#/$defs/simpleTypes" },\n {\n "type": "array",\n "items": { "$ref": "#/$defs/simpleTypes" },\n "minItems": 1,\n "uniqueItems": true\n }\n ]\n }\n },\n "$defs": {\n "nonNegativeInteger": {\n "type": "integer",\n "minimum": 0\n },\n "nonNegativeIntegerDefault0": {\n "$ref": "#/$defs/nonNegativeInteger",\n "default": 0\n },\n "simpleTypes": {\n "enum": [\n "array",\n "boolean",\n "integer",\n "null",\n "number",\n "object",\n "string"\n ]\n },\n "stringArray": {\n "type": "array",\n "items": { "type": "string" },\n "uniqueItems": true,\n "default": []\n }\n }\n}')),Li.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/validation",{const:Ui.const,dependentRequired:Ui.dependentRequired,enum:Ui.enum,exclusiveMaximum:Ui.exclusiveMaximum,exclusiveMinimum:Ui.exclusiveMinimum,maxItems:Ui.maxItems,maxLength:Ui.maxLength,maxProperties:Ui.maxProperties,maximum:Ui.maximum,minItems:Ui.minItems,minLength:Ui.minLength,minProperties:Ui.minProperties,minimum:Ui.minimum,multipleOf:Ui.multipleOf,pattern:Ui.pattern,required:Ui.required,type:Ui.type,uniqueItems:Ui.uniqueItems}),Fi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/meta-data",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/meta-data": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Meta-data vocabulary meta-schema",\n\n "type": ["object", "boolean"],\n "properties": {\n "title": {\n "type": "string"\n },\n "description": {\n "type": "string"\n },\n "default": true,\n "deprecated": {\n "type": "boolean",\n "default": false\n },\n "readOnly": {\n "type": "boolean",\n "default": false\n },\n "writeOnly": {\n "type": "boolean",\n "default": false\n },\n "examples": {\n "type": "array",\n "items": true\n }\n }\n}')),Li.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/meta-data",{default:Ui.metaData,deprecated:Ui.metaData,description:Ui.metaData,examples:Ui.metaData,readOnly:Ui.metaData,title:Ui.metaData,writeOnly:Ui.metaData}),Fi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/format-annotation",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/format-annotation": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Format vocabulary meta-schema for annotation results",\n "type": ["object", "boolean"],\n "properties": {\n "format": { "type": "string" }\n }\n}')),Li.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/format-annotation",{format:Ui.metaData}),Fi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/format-assertion",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/format-assertion": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Format vocabulary meta-schema for assertion results",\n "type": ["object", "boolean"],\n "properties": {\n "format": { "type": "string" }\n }\n}')),Fi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/content",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/content": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Content vocabulary meta-schema",\n\n "type": ["object", "boolean"],\n "properties": {\n "contentMediaType": { "type": "string" },\n "contentEncoding": { "type": "string" },\n "contentSchema": { "$dynamicRef": "#meta" }\n }\n}')),Li.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/content",{contentEncoding:Ui.metaData,contentMediaType:Ui.metaData,contentSchema:Ui.metaData}),Fi.add(JSON.parse('{\n "$id": "https://json-schema.org/draft/2020-12/meta/unevaluated",\n "$schema": "https://json-schema.org/draft/2020-12/schema",\n "$vocabulary": {\n "https://json-schema.org/draft/2020-12/vocab/unevaluated": true\n },\n "$dynamicAnchor": "meta",\n\n "title": "Unevaluated applicator vocabulary meta-schema",\n "type": ["object", "boolean"],\n "properties": {\n "unevaluatedItems": { "$dynamicRef": "#meta" },\n "unevaluatedProperties": { "$dynamicRef": "#meta" }\n }\n}')),Li.defineVocabulary("https://json-schema.org/draft/2020-12/vocab/unevaluated",{unevaluatedItems:Ui.unevaluatedItems,unevaluatedProperties:Ui.unevaluatedProperties});const{Core:zi,Schema:Ji,InvalidSchemaError:Hi}=Yt,Bi=xi;var Gi={add:zi.add,get:Ji.get,validate:zi.validate,compile:zi.compile,interpret:zi.interpret,setMetaOutputFormat:zi.setMetaOutputFormat,setShouldMetaValidate:zi.setShouldMetaValidate,addMediaTypePlugin:zi.addMediaTypePlugin,FLAG:zi.FLAG,BASIC:zi.BASIC,DETAILED:zi.DETAILED,VERBOSE:zi.VERBOSE,Keywords:Bi,InvalidSchemaError:Hi};export{Gi as default};
|