piral-configs 1.3.1-beta.6128 → 1.3.1-beta.6133

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piral-configs",
3
- "version": "1.3.1-beta.6128",
3
+ "version": "1.3.1-beta.6133",
4
4
  "description": "Plugin for dynamic configurations of pilets in Piral.",
5
5
  "keywords": [
6
6
  "piral",
@@ -64,7 +64,7 @@
64
64
  "url": "^0.11.0"
65
65
  },
66
66
  "devDependencies": {
67
- "piral-core": "1.3.1-beta.6128"
67
+ "piral-core": "1.3.1-beta.6133"
68
68
  },
69
- "gitHead": "0a7041321aa3b3c86371377f74094df506ec3bae"
69
+ "gitHead": "753b70c9eb69d73f0277952e22100ab16a3cfd43"
70
70
  }
@@ -1,4 +1,7 @@
1
- var piralConfigs=(()=>{var gr=Object.create;var pe=Object.defineProperty,Ar=Object.defineProperties,Fr=Object.getOwnPropertyDescriptor,br=Object.getOwnPropertyDescriptors,wr=Object.getOwnPropertyNames,Ie=Object.getOwnPropertySymbols,xr=Object.getPrototypeOf,Ve=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable;var Ne=(t,r,e)=>r in t?pe(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,me=(t,r)=>{for(var e in r||(r={}))Ve.call(r,e)&&Ne(t,e,r[e]);if(Ie)for(var e of Ie(r))Er.call(r,e)&&Ne(t,e,r[e]);return t},Se=(t,r)=>Ar(t,br(r)),Te=t=>pe(t,"__esModule",{value:!0});var D=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Sr=(t,r)=>{Te(t);for(var e in r)pe(t,e,{get:r[e],enumerable:!0})},zr=(t,r,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of wr(r))!Ve.call(t,i)&&i!=="default"&&pe(t,i,{get:()=>r[i],enumerable:!(e=Fr(r,i))||e.enumerable});return t},Zr=t=>zr(Te(pe(t!=null?gr(xr(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var De=D((ue,fe)=>{(function(t){var r=typeof ue=="object"&&ue&&!ue.nodeType&&ue,e=typeof fe=="object"&&fe&&!fe.nodeType&&fe,i=typeof global=="object"&&global;(i.global===i||i.window===i||i.self===i)&&(t=i);var n,a=2147483647,s=36,o=1,f=26,u=38,l=700,A=72,h=128,c="-",E=/^xn--/,Q=/[^\x20-\x7E]/,Z=/[\x2E\u3002\uFF0E\uFF61]/g,ee={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=s-o,F=Math.floor,O=String.fromCharCode,$;function x(d){throw RangeError(ee[d])}function ne(d,m){for(var g=d.length,b=[];g--;)b[g]=m(d[g]);return b}function V(d,m){var g=d.split("@"),b="";g.length>1&&(b=g[0]+"@",d=g[1]),d=d.replace(Z,".");var w=d.split("."),C=ne(w,m).join(".");return b+C}function j(d){for(var m=[],g=0,b=d.length,w,C;g<b;)w=d.charCodeAt(g++),w>=55296&&w<=56319&&g<b?(C=d.charCodeAt(g++),(C&64512)==56320?m.push(((w&1023)<<10)+(C&1023)+65536):(m.push(w),g--)):m.push(w);return m}function k(d){return ne(d,function(m){var g="";return m>65535&&(m-=65536,g+=O(m>>>10&1023|55296),m=56320|m&1023),g+=O(m),g}).join("")}function de(d){return d-48<10?d-22:d-65<26?d-65:d-97<26?d-97:s}function Ae(d,m){return d+22+75*(d<26)-((m!=0)<<5)}function W(d,m,g){var b=0;for(d=g?F(d/l):d>>1,d+=F(d/m);d>p*f>>1;b+=s)d=F(d/p);return F(b+(p+1)*d/(d+u))}function ae(d){var m=[],g=d.length,b,w=0,C=h,z=A,M,N,L,G,P,q,T,X,re;for(M=d.lastIndexOf(c),M<0&&(M=0),N=0;N<M;++N)d.charCodeAt(N)>=128&&x("not-basic"),m.push(d.charCodeAt(N));for(L=M>0?M+1:0;L<g;){for(G=w,P=1,q=s;L>=g&&x("invalid-input"),T=de(d.charCodeAt(L++)),(T>=s||T>F((a-w)/P))&&x("overflow"),w+=T*P,X=q<=z?o:q>=z+f?f:q-z,!(T<X);q+=s)re=s-X,P>F(a/re)&&x("overflow"),P*=re;b=m.length+1,z=W(w-G,b,G==0),F(w/b)>a-C&&x("overflow"),C+=F(w/b),w%=b,m.splice(w++,0,C)}return k(m)}function oe(d){var m,g,b,w,C,z,M,N,L,G,P,q=[],T,X,re,Ee;for(d=j(d),T=d.length,m=h,g=0,C=A,z=0;z<T;++z)P=d[z],P<128&&q.push(O(P));for(b=w=q.length,w&&q.push(c);b<T;){for(M=a,z=0;z<T;++z)P=d[z],P>=m&&P<M&&(M=P);for(X=b+1,M-m>F((a-g)/X)&&x("overflow"),g+=(M-m)*X,m=M,z=0;z<T;++z)if(P=d[z],P<m&&++g>a&&x("overflow"),P==m){for(N=g,L=s;G=L<=C?o:L>=C+f?f:L-C,!(N<G);L+=s)Ee=N-G,re=s-G,q.push(O(Ae(G+Ee%re,0))),N=F(Ee/re);q.push(O(Ae(N,0))),C=W(g,X,b==w),g=0,++b}++g,++m}return q.join("")}function se(d){return V(d,function(m){return E.test(m)?ae(m.slice(4).toLowerCase()):m})}function xe(d){return V(d,function(m){return Q.test(m)?"xn--"+oe(m):m})}if(n={version:"1.3.2",ucs2:{decode:j,encode:k},decode:ae,encode:oe,toASCII:xe,toUnicode:se},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return n});else if(r&&e)if(fe.exports==r)e.exports=n;else for($ in n)n.hasOwnProperty($)&&(r[$]=n[$]);else t.punycode=n})(ue)});var Le=D((Qr,Ue)=>{"use strict";Ue.exports={isString:function(t){return typeof t=="string"},isObject:function(t){return typeof t=="object"&&t!==null},isNull:function(t){return t===null},isNullOrUndefined:function(t){return t==null}}});var Je=D((et,Be)=>{"use strict";function Or(t,r){return Object.prototype.hasOwnProperty.call(t,r)}Be.exports=function(t,r,e,i){r=r||"&",e=e||"=";var n={};if(typeof t!="string"||t.length===0)return n;var a=/\+/g;t=t.split(r);var s=1e3;i&&typeof i.maxKeys=="number"&&(s=i.maxKeys);var o=t.length;s>0&&o>s&&(o=s);for(var f=0;f<o;++f){var u=t[f].replace(a,"%20"),l=u.indexOf(e),A,h,c,E;l>=0?(A=u.substr(0,l),h=u.substr(l+1)):(A=u,h=""),c=decodeURIComponent(A),E=decodeURIComponent(h),Or(n,c)?Array.isArray(n[c])?n[c].push(E):n[c]=[n[c],E]:n[c]=E}return n}});var Ge=D((rt,ke)=>{"use strict";var ce=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};ke.exports=function(t,r,e,i){return r=r||"&",e=e||"=",t===null&&(t=void 0),typeof t=="object"?Object.keys(t).map(function(n){var a=encodeURIComponent(ce(n))+e;return Array.isArray(t[n])?t[n].map(function(s){return a+encodeURIComponent(ce(s))}).join(r):a+encodeURIComponent(ce(t[n]))}).join(r):i?encodeURIComponent(ce(i))+e+encodeURIComponent(ce(t)):""}});var Ke=D(ve=>{"use strict";ve.decode=ve.parse=Je();ve.encode=ve.stringify=Ge()});var Fe=D(he=>{"use strict";var $r=De(),B=Le();he.parse=ye;he.resolve=Nr;he.resolveObject=Tr;he.format=Vr;he.Url=I;function I(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var Pr=/^([a-z0-9.+-]+:)/i,Cr=/:[0-9]*$/,jr=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Mr=["<",">",'"',"`"," ","\r",`
2
- `," "],Rr=["{","}","|","\\","^","`"].concat(Mr),ze=["'"].concat(Rr),We=["%","/","?",";","#"].concat(ze),Xe=["/","?","#"],_r=255,Ye=/^[+a-z0-9A-Z_-]{0,63}$/,qr=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ir={javascript:!0,"javascript:":!0},Ze={javascript:!0,"javascript:":!0},le={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Oe=Ke();function ye(t,r,e){if(t&&B.isObject(t)&&t instanceof I)return t;var i=new I;return i.parse(t,r,e),i}I.prototype.parse=function(t,r,e){if(!B.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),n=i!==-1&&i<t.indexOf("#")?"?":"#",a=t.split(n),s=/\\/g;a[0]=a[0].replace(s,"/"),t=a.join(n);var o=t;if(o=o.trim(),!e&&t.split("#").length===1){var f=jr.exec(o);if(f)return this.path=o,this.href=o,this.pathname=f[1],f[2]?(this.search=f[2],r?this.query=Oe.parse(this.search.substr(1)):this.query=this.search.substr(1)):r&&(this.search="",this.query={}),this}var u=Pr.exec(o);if(u){u=u[0];var l=u.toLowerCase();this.protocol=l,o=o.substr(u.length)}if(e||u||o.match(/^\/\/[^@\/]+@[^@\/]+/)){var A=o.substr(0,2)==="//";A&&!(u&&Ze[u])&&(o=o.substr(2),this.slashes=!0)}if(!Ze[u]&&(A||u&&!le[u])){for(var h=-1,c=0;c<Xe.length;c++){var E=o.indexOf(Xe[c]);E!==-1&&(h===-1||E<h)&&(h=E)}var Q,Z;h===-1?Z=o.lastIndexOf("@"):Z=o.lastIndexOf("@",h),Z!==-1&&(Q=o.slice(0,Z),o=o.slice(Z+1),this.auth=decodeURIComponent(Q)),h=-1;for(var c=0;c<We.length;c++){var E=o.indexOf(We[c]);E!==-1&&(h===-1||E<h)&&(h=E)}h===-1&&(h=o.length),this.host=o.slice(0,h),o=o.slice(h),this.parseHost(),this.hostname=this.hostname||"";var ee=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ee)for(var p=this.hostname.split(/\./),c=0,F=p.length;c<F;c++){var O=p[c];if(!!O&&!O.match(Ye)){for(var $="",x=0,ne=O.length;x<ne;x++)O.charCodeAt(x)>127?$+="x":$+=O[x];if(!$.match(Ye)){var V=p.slice(0,c),j=p.slice(c+1),k=O.match(qr);k&&(V.push(k[1]),j.unshift(k[2])),j.length&&(o="/"+j.join(".")+o),this.hostname=V.join(".");break}}}this.hostname.length>_r?this.hostname="":this.hostname=this.hostname.toLowerCase(),ee||(this.hostname=$r.toASCII(this.hostname));var de=this.port?":"+this.port:"",Ae=this.hostname||"";this.host=Ae+de,this.href+=this.host,ee&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),o[0]!=="/"&&(o="/"+o))}if(!Ir[l])for(var c=0,F=ze.length;c<F;c++){var W=ze[c];if(o.indexOf(W)!==-1){var ae=encodeURIComponent(W);ae===W&&(ae=escape(W)),o=o.split(W).join(ae)}}var oe=o.indexOf("#");oe!==-1&&(this.hash=o.substr(oe),o=o.slice(0,oe));var se=o.indexOf("?");if(se!==-1?(this.search=o.substr(se),this.query=o.substr(se+1),r&&(this.query=Oe.parse(this.query)),o=o.slice(0,se)):r&&(this.search="",this.query={}),o&&(this.pathname=o),le[l]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var de=this.pathname||"",xe=this.search||"";this.path=de+xe}return this.href=this.format(),this};function Vr(t){return B.isString(t)&&(t=ye(t)),t instanceof I?t.format():I.prototype.format.call(t)}I.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var r=this.protocol||"",e=this.pathname||"",i=this.hash||"",n=!1,a="";this.host?n=t+this.host:this.hostname&&(n=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&B.isObject(this.query)&&Object.keys(this.query).length&&(a=Oe.stringify(this.query));var s=this.search||a&&"?"+a||"";return r&&r.substr(-1)!==":"&&(r+=":"),this.slashes||(!r||le[r])&&n!==!1?(n="//"+(n||""),e&&e.charAt(0)!=="/"&&(e="/"+e)):n||(n=""),i&&i.charAt(0)!=="#"&&(i="#"+i),s&&s.charAt(0)!=="?"&&(s="?"+s),e=e.replace(/[?#]/g,function(o){return encodeURIComponent(o)}),s=s.replace("#","%23"),r+n+e+s+i};function Nr(t,r){return ye(t,!1,!0).resolve(r)}I.prototype.resolve=function(t){return this.resolveObject(ye(t,!1,!0)).format()};function Tr(t,r){return t?ye(t,!1,!0).resolveObject(r):r}I.prototype.resolveObject=function(t){if(B.isString(t)){var r=new I;r.parse(t,!1,!0),t=r}for(var e=new I,i=Object.keys(this),n=0;n<i.length;n++){var a=i[n];e[a]=this[a]}if(e.hash=t.hash,t.href==="")return e.href=e.format(),e;if(t.slashes&&!t.protocol){for(var s=Object.keys(t),o=0;o<s.length;o++){var f=s[o];f!=="protocol"&&(e[f]=t[f])}return le[e.protocol]&&e.hostname&&!e.pathname&&(e.path=e.pathname="/"),e.href=e.format(),e}if(t.protocol&&t.protocol!==e.protocol){if(!le[t.protocol]){for(var u=Object.keys(t),l=0;l<u.length;l++){var A=u[l];e[A]=t[A]}return e.href=e.format(),e}if(e.protocol=t.protocol,!t.host&&!Ze[t.protocol]){for(var F=(t.pathname||"").split("/");F.length&&!(t.host=F.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),F[0]!==""&&F.unshift(""),F.length<2&&F.unshift(""),e.pathname=F.join("/")}else e.pathname=t.pathname;if(e.search=t.search,e.query=t.query,e.host=t.host||"",e.auth=t.auth,e.hostname=t.hostname||t.host,e.port=t.port,e.pathname||e.search){var h=e.pathname||"",c=e.search||"";e.path=h+c}return e.slashes=e.slashes||t.slashes,e.href=e.format(),e}var E=e.pathname&&e.pathname.charAt(0)==="/",Q=t.host||t.pathname&&t.pathname.charAt(0)==="/",Z=Q||E||e.host&&t.pathname,ee=Z,p=e.pathname&&e.pathname.split("/")||[],F=t.pathname&&t.pathname.split("/")||[],O=e.protocol&&!le[e.protocol];if(O&&(e.hostname="",e.port=null,e.host&&(p[0]===""?p[0]=e.host:p.unshift(e.host)),e.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(F[0]===""?F[0]=t.host:F.unshift(t.host)),t.host=null),Z=Z&&(F[0]===""||p[0]==="")),Q)e.host=t.host||t.host===""?t.host:e.host,e.hostname=t.hostname||t.hostname===""?t.hostname:e.hostname,e.search=t.search,e.query=t.query,p=F;else if(F.length)p||(p=[]),p.pop(),p=p.concat(F),e.search=t.search,e.query=t.query;else if(!B.isNullOrUndefined(t.search)){if(O){e.hostname=e.host=p.shift();var $=e.host&&e.host.indexOf("@")>0?e.host.split("@"):!1;$&&(e.auth=$.shift(),e.host=e.hostname=$.shift())}return e.search=t.search,e.query=t.query,(!B.isNull(e.pathname)||!B.isNull(e.search))&&(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.href=e.format(),e}if(!p.length)return e.pathname=null,e.search?e.path="/"+e.search:e.path=null,e.href=e.format(),e;for(var x=p.slice(-1)[0],ne=(e.host||t.host||p.length>1)&&(x==="."||x==="..")||x==="",V=0,j=p.length;j>=0;j--)x=p[j],x==="."?p.splice(j,1):x===".."?(p.splice(j,1),V++):V&&(p.splice(j,1),V--);if(!Z&&!ee)for(;V--;V)p.unshift("..");Z&&p[0]!==""&&(!p[0]||p[0].charAt(0)!=="/")&&p.unshift(""),ne&&p.join("/").substr(-1)!=="/"&&p.push("");var k=p[0]===""||p[0]&&p[0].charAt(0)==="/";if(O){e.hostname=e.host=k?"":p.length?p.shift():"";var $=e.host&&e.host.indexOf("@")>0?e.host.split("@"):!1;$&&(e.auth=$.shift(),e.host=e.hostname=$.shift())}return Z=Z||e.host&&p.length,Z&&!k&&p.unshift(""),p.length?e.pathname=p.join("/"):(e.pathname=null,e.path=null),(!B.isNull(e.pathname)||!B.isNull(e.search))&&(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.auth=t.auth||e.auth,e.slashes=e.slashes||t.slashes,e.href=e.format(),e};I.prototype.parseHost=function(){var t=this.host,r=Cr.exec(t);r&&(r=r[0],r!==":"&&(this.port=r.substr(1)),t=t.substr(0,t.length-r.length)),t&&(this.hostname=t)}});var Y=D((R,je)=>{"use strict";var He=Fe(),$e=R.ValidationError=function(r,e,i,n,a,s){if(Array.isArray(n)?(this.path=n,this.property=n.reduce(function(f,u){return f+er(u)},"instance")):n!==void 0&&(this.property=n),r&&(this.message=r),i){var o=i.$id||i.id;this.schema=o||i}e!==void 0&&(this.instance=e),this.name=a,this.argument=s,this.stack=this.toString()};$e.prototype.toString=function(){return this.property+" "+this.message};var be=R.ValidatorResult=function(r,e,i,n){this.instance=r,this.schema=e,this.options=i,this.path=n.path,this.propertyPath=n.propertyPath,this.errors=[],this.throwError=i&&i.throwError,this.throwFirst=i&&i.throwFirst,this.throwAll=i&&i.throwAll,this.disableFormat=i&&i.disableFormat===!0};be.prototype.addError=function(r){var e;if(typeof r=="string")e=new $e(r,this.instance,this.schema,this.path);else{if(!r)throw new Error("Missing error detail");if(!r.message)throw new Error("Missing error message");if(!r.name)throw new Error("Missing validator type");e=new $e(r.message,this.instance,this.schema,this.path,r.name,r.argument)}if(this.errors.push(e),this.throwFirst)throw new te(this);if(this.throwError)throw e;return e};be.prototype.importErrors=function(r){typeof r=="string"||r&&r.validatorType?this.addError(r):r&&r.errors&&(this.errors=this.errors.concat(r.errors))};function Dr(t,r){return r+": "+t.toString()+`
3
- `}be.prototype.toString=function(r){return this.errors.map(Dr).join("")};Object.defineProperty(be.prototype,"valid",{get:function(){return!this.errors.length}});je.exports.ValidatorResultError=te;function te(t){Error.captureStackTrace&&Error.captureStackTrace(this,te),this.instance=t.instance,this.schema=t.schema,this.options=t.options,this.errors=t.errors}te.prototype=new Error;te.prototype.constructor=te;te.prototype.name="Validation Error";var Qe=R.SchemaError=function t(r,e){this.message=r,this.schema=e,Error.call(this,r),Error.captureStackTrace(this,t)};Qe.prototype=Object.create(Error.prototype,{constructor:{value:Qe,enumerable:!1},name:{value:"SchemaError",enumerable:!1}});var Pe=R.SchemaContext=function(r,e,i,n,a){this.schema=r,this.options=e,Array.isArray(i)?(this.path=i,this.propertyPath=i.reduce(function(s,o){return s+er(o)},"instance")):this.propertyPath=i,this.base=n,this.schemas=a};Pe.prototype.resolve=function(r){return He.resolve(this.base,r)};Pe.prototype.makeChild=function(r,e){var i=e===void 0?this.path:this.path.concat([e]),n=r.$id||r.id,a=He.resolve(this.base,n||""),s=new Pe(r,this.options,i,a,Object.create(this.schemas));return n&&!s.schemas[a]&&(s.schemas[a]=r),s};var U=R.FORMAT_REGEXPS={"date-time":/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])[tT ](2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])(\.\d+)?([zZ]|[+-]([0-5][0-9]):(60|[0-5][0-9]))$/,date:/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])$/,time:/^(2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])$/,duration:/P(T\d+(H(\d+M(\d+S)?)?|M(\d+S)?|S)|\d+(D|M(\d+D)?|Y(\d+M(\d+D)?)?)(T\d+(H(\d+M(\d+S)?)?|M(\d+S)?|S))?|\d+W)/i,email:/^(?:[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+\.)*[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+@(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!\.)){0,61}[a-zA-Z0-9]?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!$)){0,61}[a-zA-Z0-9]?)|(?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\]))$/,"idn-email":/^("(?:[!#-\[\]-\u{10FFFF}]|\\[\t -\u{10FFFF}])*"|[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}](?:\.?[!#-'*+\-/-9=?A-Z\^-\u{10FFFF}])*)@([!#-'*+\-/-9=?A-Z\^-\u{10FFFF}](?:\.?[!#-'*+\-/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-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i,"uri-template":/(%[0-9a-f]{2}|[!#$&(-;=?@\[\]_a-z~]|\{[!#&+,./;=?@|]?(%[0-9a-f]{2}|[0-9_a-z])(\.?(%[0-9a-f]{2}|[0-9_a-z]))*(:[1-9]\d{0,3}|\*)?(,(%[0-9a-f]{2}|[0-9_a-z])(\.?(%[0-9a-f]{2}|[0-9_a-z]))*(:[1-9]\d{0,3}|\*)?)*\})*/iu,"json-pointer":/^(\/([\x00-\x2e0-@\[-}\x7f]|~[01])*)*$/iu,"relative-json-pointer":/^\d+(#|(\/([\x00-\x2e0-@\[-}\x7f]|~[01])*)*)$/iu,hostname:/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"host-name":/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"utc-millisec":function(t){return typeof t=="string"&&parseFloat(t)===parseInt(t,10)&&!isNaN(t)},regex:function(t){var r=!0;try{new RegExp(t)}catch{r=!1}return r},style:/[\r\n\t ]*[^\r\n\t ][^:]*:[\r\n\t ]*[^\r\n\t ;]*[\r\n\t ]*;?/,color:/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/,phone:/^\+(?:[0-9] ?){6,14}[0-9]$/,alpha:/^[a-zA-Z]+$/,alphanumeric:/^[a-zA-Z0-9]+$/};U.regexp=U.regex;U.pattern=U.regex;U.ipv4=U["ip-address"];R.isFormat=function(r,e,i){if(typeof r=="string"&&U[e]!==void 0){if(U[e]instanceof RegExp)return U[e].test(r);if(typeof U[e]=="function")return U[e](r)}else if(i&&i.customFormats&&typeof i.customFormats[e]=="function")return i.customFormats[e](r);return!0};var er=R.makeSuffix=function(r){return r=r.toString(),!r.match(/[.\s\[\]]/)&&!r.match(/^[\d]/)?"."+r:r.match(/^\d+$/)?"["+r+"]":"["+JSON.stringify(r)+"]"};R.deepCompareStrict=function t(r,e){if(typeof r!=typeof e)return!1;if(Array.isArray(r))return!Array.isArray(e)||r.length!==e.length?!1:r.every(function(a,s){return t(r[s],e[s])});if(typeof r=="object"){if(!r||!e)return r===e;var i=Object.keys(r),n=Object.keys(e);return i.length!==n.length?!1:i.every(function(a){return t(r[a],e[a])})}return r===e};function Ur(t,r,e,i){typeof e=="object"?r[i]=Ce(t[i],e):t.indexOf(e)===-1&&r.push(e)}function Lr(t,r,e){r[e]=t[e]}function Br(t,r,e,i){typeof r[i]!="object"||!r[i]?e[i]=r[i]:t[i]?e[i]=Ce(t[i],r[i]):e[i]=r[i]}function Ce(t,r){var e=Array.isArray(r),i=e&&[]||{};return e?(t=t||[],i=i.concat(t),r.forEach(Ur.bind(null,t,i))):(t&&typeof t=="object"&&Object.keys(t).forEach(Lr.bind(null,t,i)),Object.keys(r).forEach(Br.bind(null,t,r,i))),i}je.exports.deepMerge=Ce;R.objectGetPath=function(r,e){for(var i=e.split("/").slice(1),n;typeof(n=i.shift())=="string";){var a=decodeURIComponent(n.replace(/~0/,"~").replace(/~1/g,"/"));if(!(a in r))return;r=r[a]}return r};function Jr(t){return"/"+encodeURIComponent(t).replace(/~/g,"%7E")}R.encodePath=function(r){return r.map(Jr).join("")};R.getDecimalPlaces=function(r){var e=0;if(isNaN(r))return e;typeof r!="number"&&(r=Number(r));var i=r.toString().split("e");if(i.length===2){if(i[1][0]!=="-")return e;e=Number(i[1].slice(1))}var n=i[0].split(".");return n.length===2&&(e+=n[1].length),e};R.isSchema=function(r){return typeof r=="object"&&r||typeof r=="boolean"}});var nr=D((nt,ir)=>{"use strict";var _=Y(),v=_.ValidatorResult,H=_.SchemaError,Me={};Me.ignoreProperties={id:!0,default:!0,description:!0,title:!0,additionalItems:!0,then:!0,else:!0,$schema:!0,$ref:!0,extends:!0};var y=Me.validators={};y.type=function(r,e,i,n){if(r===void 0)return null;var a=new v(r,e,i,n),s=Array.isArray(e.type)?e.type:[e.type];if(!s.some(this.testType.bind(this,r,e,i,n))){var o=s.map(function(f){if(!!f){var u=f.$id||f.id;return u?"<"+u+">":f+""}});a.addError({name:"type",argument:o,message:"is not of a type(s) "+o})}return a};function Re(t,r,e,i,n){var a=r.throwError,s=r.throwAll;r.throwError=!1,r.throwAll=!1;var o=this.validateSchema(t,n,r,e);return r.throwError=a,r.throwAll=s,!o.valid&&i instanceof Function&&i(o),o.valid}y.anyOf=function(r,e,i,n){if(r===void 0)return null;var a=new v(r,e,i,n),s=new v(r,e,i,n);if(!Array.isArray(e.anyOf))throw new H("anyOf must be an array");if(!e.anyOf.some(Re.bind(this,r,i,n,function(f){s.importErrors(f)}))){var o=e.anyOf.map(function(f,u){var l=f.$id||f.id;return l?"<"+l+">":f.title&&JSON.stringify(f.title)||f.$ref&&"<"+f.$ref+">"||"[subschema "+u+"]"});i.nestedErrors&&a.importErrors(s),a.addError({name:"anyOf",argument:o,message:"is not any of "+o.join(",")})}return a};y.allOf=function(r,e,i,n){if(r===void 0)return null;if(!Array.isArray(e.allOf))throw new H("allOf must be an array");var a=new v(r,e,i,n),s=this;return e.allOf.forEach(function(o,f){var u=s.validateSchema(r,o,i,n);if(!u.valid){var l=o.$id||o.id,A=l||o.title&&JSON.stringify(o.title)||o.$ref&&"<"+o.$ref+">"||"[subschema "+f+"]";a.addError({name:"allOf",argument:{id:A,length:u.errors.length,valid:u},message:"does not match allOf schema "+A+" with "+u.errors.length+" error[s]:"}),a.importErrors(u)}}),a};y.oneOf=function(r,e,i,n){if(r===void 0)return null;if(!Array.isArray(e.oneOf))throw new H("oneOf must be an array");var a=new v(r,e,i,n),s=new v(r,e,i,n),o=e.oneOf.filter(Re.bind(this,r,i,n,function(u){s.importErrors(u)})).length,f=e.oneOf.map(function(u,l){var A=u.$id||u.id;return A||u.title&&JSON.stringify(u.title)||u.$ref&&"<"+u.$ref+">"||"[subschema "+l+"]"});return o!==1&&(i.nestedErrors&&a.importErrors(s),a.addError({name:"oneOf",argument:f,message:"is not exactly one from "+f.join(",")})),a};y.if=function(r,e,i,n){if(r===void 0)return null;if(!_.isSchema(e.if))throw new Error('Expected "if" keyword to be a schema');var a=Re.call(this,r,i,n,null,e.if),s=new v(r,e,i,n),o;if(a){if(e.then===void 0)return;if(!_.isSchema(e.then))throw new Error('Expected "then" keyword to be a schema');o=this.validateSchema(r,e.then,i,n.makeChild(e.then)),s.importErrors(o)}else{if(e.else===void 0)return;if(!_.isSchema(e.else))throw new Error('Expected "else" keyword to be a schema');o=this.validateSchema(r,e.else,i,n.makeChild(e.else)),s.importErrors(o)}return s};function _e(t,r){if(Object.hasOwnProperty.call(t,r))return t[r];if(r in t){for(;t=Object.getPrototypeOf(t);)if(Object.propertyIsEnumerable.call(t,r))return t[r]}}y.propertyNames=function(r,e,i,n){if(!!this.types.object(r)){var a=new v(r,e,i,n),s=e.propertyNames!==void 0?e.propertyNames:{};if(!_.isSchema(s))throw new H('Expected "propertyNames" to be a schema (object or boolean)');for(var o in r)if(_e(r,o)!==void 0){var f=this.validateSchema(o,s,i,n.makeChild(s));a.importErrors(f)}return a}};y.properties=function(r,e,i,n){if(!!this.types.object(r)){var a=new v(r,e,i,n),s=e.properties||{};for(var o in s){var f=s[o];if(f!==void 0){if(f===null)throw new H('Unexpected null, expected schema in "properties"');typeof i.preValidateProperty=="function"&&i.preValidateProperty(r,o,f,i,n);var u=_e(r,o),l=this.validateSchema(u,f,i,n.makeChild(f,o));l.instance!==a.instance[o]&&(a.instance[o]=l.instance),a.importErrors(l)}}return a}};function rr(t,r,e,i,n,a){if(!!this.types.object(t)&&!(r.properties&&r.properties[n]!==void 0))if(r.additionalProperties===!1)a.addError({name:"additionalProperties",argument:n,message:"is not allowed to have the additional property "+JSON.stringify(n)});else{var s=r.additionalProperties||{};typeof e.preValidateProperty=="function"&&e.preValidateProperty(t,n,s,e,i);var o=this.validateSchema(t[n],s,e,i.makeChild(s,n));o.instance!==a.instance[n]&&(a.instance[n]=o.instance),a.importErrors(o)}}y.patternProperties=function(r,e,i,n){if(!!this.types.object(r)){var a=new v(r,e,i,n),s=e.patternProperties||{};for(var o in r){var f=!0;for(var u in s){var l=s[u];if(l!==void 0){if(l===null)throw new H('Unexpected null, expected schema in "patternProperties"');try{var A=new RegExp(u,"u")}catch{A=new RegExp(u)}if(!!A.test(o)){f=!1,typeof i.preValidateProperty=="function"&&i.preValidateProperty(r,o,l,i,n);var h=this.validateSchema(r[o],l,i,n.makeChild(l,o));h.instance!==a.instance[o]&&(a.instance[o]=h.instance),a.importErrors(h)}}}f&&rr.call(this,r,e,i,n,o,a)}return a}};y.additionalProperties=function(r,e,i,n){if(!!this.types.object(r)){if(e.patternProperties)return null;var a=new v(r,e,i,n);for(var s in r)rr.call(this,r,e,i,n,s,a);return a}};y.minProperties=function(r,e,i,n){if(!!this.types.object(r)){var a=new v(r,e,i,n),s=Object.keys(r);return s.length>=e.minProperties||a.addError({name:"minProperties",argument:e.minProperties,message:"does not meet minimum property length of "+e.minProperties}),a}};y.maxProperties=function(r,e,i,n){if(!!this.types.object(r)){var a=new v(r,e,i,n),s=Object.keys(r);return s.length<=e.maxProperties||a.addError({name:"maxProperties",argument:e.maxProperties,message:"does not meet maximum property length of "+e.maxProperties}),a}};y.items=function(r,e,i,n){var a=this;if(!!this.types.array(r)&&e.items!==void 0){var s=new v(r,e,i,n);return r.every(function(o,f){if(Array.isArray(e.items))var u=e.items[f]===void 0?e.additionalItems:e.items[f];else var u=e.items;if(u===void 0)return!0;if(u===!1)return s.addError({name:"items",message:"additionalItems not permitted"}),!1;var l=a.validateSchema(o,u,i,n.makeChild(u,f));return l.instance!==s.instance[f]&&(s.instance[f]=l.instance),s.importErrors(l),!0}),s}};y.contains=function(r,e,i,n){var a=this;if(!!this.types.array(r)&&e.contains!==void 0){if(!_.isSchema(e.contains))throw new Error('Expected "contains" keyword to be a schema');var s=new v(r,e,i,n),o=r.some(function(f,u){var l=a.validateSchema(f,e.contains,i,n.makeChild(e.contains,u));return l.errors.length===0});return o===!1&&s.addError({name:"contains",argument:e.contains,message:"must contain an item matching given schema"}),s}};y.minimum=function(r,e,i,n){if(!!this.types.number(r)){var a=new v(r,e,i,n);return e.exclusiveMinimum&&e.exclusiveMinimum===!0?r>e.minimum||a.addError({name:"minimum",argument:e.minimum,message:"must be greater than "+e.minimum}):r>=e.minimum||a.addError({name:"minimum",argument:e.minimum,message:"must be greater than or equal to "+e.minimum}),a}};y.maximum=function(r,e,i,n){if(!!this.types.number(r)){var a=new v(r,e,i,n);return e.exclusiveMaximum&&e.exclusiveMaximum===!0?r<e.maximum||a.addError({name:"maximum",argument:e.maximum,message:"must be less than "+e.maximum}):r<=e.maximum||a.addError({name:"maximum",argument:e.maximum,message:"must be less than or equal to "+e.maximum}),a}};y.exclusiveMinimum=function(r,e,i,n){if(typeof e.exclusiveMinimum!="boolean"&&!!this.types.number(r)){var a=new v(r,e,i,n),s=r>e.exclusiveMinimum;return s||a.addError({name:"exclusiveMinimum",argument:e.exclusiveMinimum,message:"must be strictly greater than "+e.exclusiveMinimum}),a}};y.exclusiveMaximum=function(r,e,i,n){if(typeof e.exclusiveMaximum!="boolean"&&!!this.types.number(r)){var a=new v(r,e,i,n),s=r<e.exclusiveMaximum;return s||a.addError({name:"exclusiveMaximum",argument:e.exclusiveMaximum,message:"must be strictly less than "+e.exclusiveMaximum}),a}};var tr=function(r,e,i,n,a,s){if(!!this.types.number(r)){var o=e[a];if(o==0)throw new H(a+" cannot be zero");var f=new v(r,e,i,n),u=_.getDecimalPlaces(r),l=_.getDecimalPlaces(o),A=Math.max(u,l),h=Math.pow(10,A);return Math.round(r*h)%Math.round(o*h)!=0&&f.addError({name:a,argument:o,message:s+JSON.stringify(o)}),f}};y.multipleOf=function(r,e,i,n){return tr.call(this,r,e,i,n,"multipleOf","is not a multiple of (divisible by) ")};y.divisibleBy=function(r,e,i,n){return tr.call(this,r,e,i,n,"divisibleBy","is not divisible by (multiple of) ")};y.required=function(r,e,i,n){var a=new v(r,e,i,n);return r===void 0&&e.required===!0?a.addError({name:"required",message:"is required"}):this.types.object(r)&&Array.isArray(e.required)&&e.required.forEach(function(s){_e(r,s)===void 0&&a.addError({name:"required",argument:s,message:"requires property "+JSON.stringify(s)})}),a};y.pattern=function(r,e,i,n){if(!!this.types.string(r)){var a=new v(r,e,i,n),s=e.pattern;try{var o=new RegExp(s,"u")}catch{o=new RegExp(s)}return r.match(o)||a.addError({name:"pattern",argument:e.pattern,message:"does not match pattern "+JSON.stringify(e.pattern.toString())}),a}};y.format=function(r,e,i,n){if(r!==void 0){var a=new v(r,e,i,n);return!a.disableFormat&&!_.isFormat(r,e.format,this)&&a.addError({name:"format",argument:e.format,message:"does not conform to the "+JSON.stringify(e.format)+" format"}),a}};y.minLength=function(r,e,i,n){if(!!this.types.string(r)){var a=new v(r,e,i,n),s=r.match(/[\uDC00-\uDFFF]/g),o=r.length-(s?s.length:0);return o>=e.minLength||a.addError({name:"minLength",argument:e.minLength,message:"does not meet minimum length of "+e.minLength}),a}};y.maxLength=function(r,e,i,n){if(!!this.types.string(r)){var a=new v(r,e,i,n),s=r.match(/[\uDC00-\uDFFF]/g),o=r.length-(s?s.length:0);return o<=e.maxLength||a.addError({name:"maxLength",argument:e.maxLength,message:"does not meet maximum length of "+e.maxLength}),a}};y.minItems=function(r,e,i,n){if(!!this.types.array(r)){var a=new v(r,e,i,n);return r.length>=e.minItems||a.addError({name:"minItems",argument:e.minItems,message:"does not meet minimum length of "+e.minItems}),a}};y.maxItems=function(r,e,i,n){if(!!this.types.array(r)){var a=new v(r,e,i,n);return r.length<=e.maxItems||a.addError({name:"maxItems",argument:e.maxItems,message:"does not meet maximum length of "+e.maxItems}),a}};function kr(t,r,e){var i,n=e.length;for(i=r+1,n;i<n;i++)if(_.deepCompareStrict(t,e[i]))return!1;return!0}y.uniqueItems=function(r,e,i,n){if(e.uniqueItems===!0&&!!this.types.array(r)){var a=new v(r,e,i,n);return r.every(kr)||a.addError({name:"uniqueItems",message:"contains duplicate item"}),a}};y.dependencies=function(r,e,i,n){if(!!this.types.object(r)){var a=new v(r,e,i,n);for(var s in e.dependencies)if(r[s]!==void 0){var o=e.dependencies[s],f=n.makeChild(o,s);if(typeof o=="string"&&(o=[o]),Array.isArray(o))o.forEach(function(l){r[l]===void 0&&a.addError({name:"dependencies",argument:f.propertyPath,message:"property "+l+" not found, required by "+f.propertyPath})});else{var u=this.validateSchema(r,o,i,f);a.instance!==u.instance&&(a.instance=u.instance),u&&u.errors.length&&(a.addError({name:"dependencies",argument:f.propertyPath,message:"does not meet dependency required by "+f.propertyPath}),a.importErrors(u))}}return a}};y.enum=function(r,e,i,n){if(r===void 0)return null;if(!Array.isArray(e.enum))throw new H("enum expects an array",e);var a=new v(r,e,i,n);return e.enum.some(_.deepCompareStrict.bind(null,r))||a.addError({name:"enum",argument:e.enum,message:"is not one of enum values: "+e.enum.map(String).join(",")}),a};y.const=function(r,e,i,n){if(r===void 0)return null;var a=new v(r,e,i,n);return _.deepCompareStrict(e.const,r)||a.addError({name:"const",argument:e.const,message:"does not exactly match expected constant: "+e.const}),a};y.not=y.disallow=function(r,e,i,n){var a=this;if(r===void 0)return null;var s=new v(r,e,i,n),o=e.not||e.disallow;return o?(Array.isArray(o)||(o=[o]),o.forEach(function(f){if(a.testType(r,e,i,n,f)){var u=f&&(f.$id||f.id),l=u||f;s.addError({name:"not",argument:l,message:"is of prohibited type "+l})}}),s):null};ir.exports=Me});var we=D((at,qe)=>{"use strict";var ar=Fe(),Gr=Y();qe.exports.SchemaScanResult=or;function or(t,r){this.id=t,this.ref=r}qe.exports.scan=function(r,e){function i(f,u){if(!(!u||typeof u!="object")){if(u.$ref){var l=ar.resolve(f,u.$ref);o[l]=o[l]?o[l]+1:0;return}var A=u.$id||u.id,h=A?ar.resolve(f,A):f;if(h){if(h.indexOf("#")<0&&(h+="#"),s[h]){if(!Gr.deepCompareStrict(s[h],u))throw new Error("Schema <"+h+"> already exists with different definition");return s[h]}s[h]=u,h[h.length-1]=="#"&&(s[h.substring(0,h.length-1)]=u)}n(h+"/items",Array.isArray(u.items)?u.items:[u.items]),n(h+"/extends",Array.isArray(u.extends)?u.extends:[u.extends]),i(h+"/additionalItems",u.additionalItems),a(h+"/properties",u.properties),i(h+"/additionalProperties",u.additionalProperties),a(h+"/definitions",u.definitions),a(h+"/patternProperties",u.patternProperties),a(h+"/dependencies",u.dependencies),n(h+"/disallow",u.disallow),n(h+"/allOf",u.allOf),n(h+"/anyOf",u.anyOf),n(h+"/oneOf",u.oneOf),i(h+"/not",u.not)}}function n(f,u){if(!!Array.isArray(u))for(var l=0;l<u.length;l++)i(f+"/"+l,u[l])}function a(f,u){if(!(!u||typeof u!="object"))for(var l in u)i(f+"/"+l,u[l])}var s={},o={};return i(r,e),new or(s,o)}});var cr=D((ot,mr)=>{"use strict";var sr=Fe(),ur=nr(),ie=Y(),fr=we().scan,lr=ie.ValidatorResult,Kr=ie.ValidatorResultError,ge=ie.SchemaError,hr=ie.SchemaContext,dr="/",S=function t(){this.customFormats=Object.create(t.prototype.customFormats),this.schemas={},this.unresolvedRefs=[],this.types=Object.create(J),this.attributes=Object.create(ur.validators)};S.prototype.customFormats={};S.prototype.schemas=null;S.prototype.types=null;S.prototype.attributes=null;S.prototype.unresolvedRefs=null;S.prototype.addSchema=function(r,e){var i=this;if(!r)return null;var n=fr(e||dr,r),a=e||r.$id||r.id;for(var s in n.id)this.schemas[s]=n.id[s];for(var s in n.ref)this.unresolvedRefs.push(s);return this.unresolvedRefs=this.unresolvedRefs.filter(function(o){return typeof i.schemas[o]=="undefined"}),this.schemas[a]};S.prototype.addSubSchemaArray=function(r,e){if(!!Array.isArray(e))for(var i=0;i<e.length;i++)this.addSubSchema(r,e[i])};S.prototype.addSubSchemaObject=function(r,e){if(!(!e||typeof e!="object"))for(var i in e)this.addSubSchema(r,e[i])};S.prototype.setSchemas=function(r){this.schemas=r};S.prototype.getSchema=function(r){return this.schemas[r]};S.prototype.validate=function(r,e,i,n){if(typeof e!="boolean"&&typeof e!="object"||e===null)throw new ge("Expected `schema` to be an object or boolean");i||(i={});var a=e.$id||e.id,s=sr.resolve(i.base||dr,a||"");if(!n){n=new hr(e,i,[],s,Object.create(this.schemas)),n.schemas[s]||(n.schemas[s]=e);var o=fr(s,e);for(var f in o.id){var u=o.id[f];n.schemas[f]=u}}if(i.required&&r===void 0){var l=new lr(r,e,i,n);return l.addError("is required, but is undefined"),l}var l=this.validateSchema(r,e,i,n);if(l){if(i.throwAll&&l.errors.length)throw new Kr(l)}else throw new Error("Result undefined");return l};function pr(t){var r=typeof t=="string"?t:t.$ref;return typeof r=="string"?r:!1}S.prototype.validateSchema=function(r,e,i,n){var a=new lr(r,e,i,n);if(typeof e=="boolean")e===!0?e={}:e===!1&&(e={type:[]});else if(!e)throw new Error("schema is undefined");if(e.extends)if(Array.isArray(e.extends)){var s={schema:e,ctx:n};e.extends.forEach(this.schemaTraverser.bind(this,s)),e=s.schema,s.schema=null,s.ctx=null,s=null}else e=ie.deepMerge(e,this.superResolve(e.extends,n));var o=pr(e);if(o){var f=this.resolve(e,o,n),u=new hr(f.subschema,i,n.path,f.switchSchema,n.schemas);return this.validateSchema(r,f.subschema,i,u)}var l=i&&i.skipAttributes||[];for(var A in e)if(!ur.ignoreProperties[A]&&l.indexOf(A)<0){var h=null,c=this.attributes[A];if(c)h=c.call(this,r,e,i,n);else if(i.allowUnknownAttributes===!1)throw new ge("Unsupported attribute: "+A,e);h&&a.importErrors(h)}if(typeof i.rewrite=="function"){var E=i.rewrite.call(this,r,e,i,n);a.instance=E}return a};S.prototype.schemaTraverser=function(r,e){r.schema=ie.deepMerge(r.schema,this.superResolve(e,r.ctx))};S.prototype.superResolve=function(r,e){var i=pr(r);return i?this.resolve(r,i,e).subschema:r};S.prototype.resolve=function(r,e,i){if(e=i.resolve(e),i.schemas[e])return{subschema:i.schemas[e],switchSchema:e};var n=sr.parse(e),a=n&&n.hash,s=a&&a.length&&e.substr(0,e.length-a.length);if(!s||!i.schemas[s])throw new ge("no such schema <"+e+">",r);var o=ie.objectGetPath(i.schemas[s],a.substr(1));if(o===void 0)throw new ge("no such schema "+a+" located in <"+s+">",r);return{subschema:o,switchSchema:e}};S.prototype.testType=function(r,e,i,n,a){if(a!==void 0){if(a===null)throw new ge('Unexpected null in "type" keyword');if(typeof this.types[a]=="function")return this.types[a].call(this,r);if(a&&typeof a=="object"){var s=this.validateSchema(r,a,i,n);return s===void 0||!(s&&s.errors.length)}return!0}};var J=S.prototype.types={};J.string=function(r){return typeof r=="string"};J.number=function(r){return typeof r=="number"&&isFinite(r)};J.integer=function(r){return typeof r=="number"&&r%1==0};J.boolean=function(r){return typeof r=="boolean"};J.array=function(r){return Array.isArray(r)};J.null=function(r){return r===null};J.date=function(r){return r instanceof Date};J.any=function(r){return!0};J.object=function(r){return r&&typeof r=="object"&&!Array.isArray(r)&&!(r instanceof Date)};mr.exports=S});var vr=D((st,K)=>{"use strict";var Wr=K.exports.Validator=cr();K.exports.ValidatorResult=Y().ValidatorResult;K.exports.ValidatorResultError=Y().ValidatorResultError;K.exports.ValidationError=Y().ValidationError;K.exports.SchemaError=Y().SchemaError;K.exports.SchemaScanResult=we().SchemaScanResult;K.exports.scan=we().scan;K.exports.validate=function(t,r,e){var i=new Wr;return i.validate(t,r,e)}});var Yr={};Sr(Yr,{createConfigsApi:()=>Xr});var yr=Zr(vr());function Xr(t={}){let r=(i,n)=>{var o;let a=`config-${i}`,s=(o=t.retrieve)==null?void 0:o.call(t,a);return typeof s=="object"?me(me({},n),s):typeof s!="undefined"?s:void 0},e=(i,n,a)=>{let o=new yr.Validator().validate(n,i);return o.valid?n:(console.warn("The given configuration does not match the provided schema. Taking the default configuration.",n,o),a)};return i=>(n,a)=>({defineConfigSchema(s,o){let f=r(a.name,o),u=f?e(s,f,o):o;return i.dispatch(l=>Se(me({},l),{configs:Se(me({},l.configs),{[a.name]:u})})),u},getCurrentConfig(){var s;return(s=i.readState(o=>o.configs[a.name]))!=null?s:{}}})}return Yr;})();
4
- /*! https://mths.be/punycode v1.3.2 by @mathias */
1
+ var piralConfigs=(()=>{var Rn=Object.create;var qe=Object.defineProperty,Mn=Object.defineProperties,Cn=Object.getOwnPropertyDescriptor,Zn=Object.getOwnPropertyDescriptors,_n=Object.getOwnPropertyNames,Ur=Object.getOwnPropertySymbols,qn=Object.getPrototypeOf,Lr=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable;var kr=(t,e,r)=>e in t?qe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ne=(t,e)=>{for(var r in e||(e={}))Lr.call(e,r)&&kr(t,r,e[r]);if(Ur)for(var r of Ur(e))Nn.call(e,r)&&kr(t,r,e[r]);return t},fr=(t,e)=>Mn(t,Zn(e)),Wr=t=>qe(t,"__esModule",{value:!0});var O=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Tn=(t,e)=>{Wr(t);for(var r in e)qe(t,r,{get:e[r],enumerable:!0})},Dn=(t,e,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of _n(e))!Lr.call(t,n)&&n!=="default"&&qe(t,n,{get:()=>e[n],enumerable:!(r=Cn(e,n))||r.enumerable});return t},jn=t=>Dn(Wr(qe(t!=null?Rn(qn(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var Gr=O((xe,Ee)=>{(function(t){var e=typeof xe=="object"&&xe&&!xe.nodeType&&xe,r=typeof Ee=="object"&&Ee&&!Ee.nodeType&&Ee,n=typeof global=="object"&&global;(n.global===n||n.window===n||n.self===n)&&(t=n);var i,a=2147483647,f=36,o=1,s=26,u=38,l=700,y=72,p=128,h="-",m=/^xn--/,z=/[^\x20-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,A={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=f-o,g=Math.floor,P=String.fromCharCode,I;function E(d){throw new RangeError(A[d])}function k(d,v){for(var w=d.length,$=[];w--;)$[w]=v(d[w]);return $}function M(d,v){var w=d.split("@"),$="";w.length>1&&($=w[0]+"@",d=w[1]),d=d.replace(x,".");var R=d.split("."),L=k(R,v).join(".");return $+L}function C(d){for(var v=[],w=0,$=d.length,R,L;w<$;)R=d.charCodeAt(w++),R>=55296&&R<=56319&&w<$?(L=d.charCodeAt(w++),(L&64512)==56320?v.push(((R&1023)<<10)+(L&1023)+65536):(v.push(R),w--)):v.push(R);return v}function D(d){return k(d,function(v){var w="";return v>65535&&(v-=65536,w+=P(v>>>10&1023|55296),v=56320|v&1023),w+=P(v),w}).join("")}function Y(d){return d-48<10?d-22:d-65<26?d-65:d-97<26?d-97:f}function j(d,v){return d+22+75*(d<26)-((v!=0)<<5)}function Z(d,v,w){var $=0;for(d=w?g(d/l):d>>1,d+=g(d/v);d>c*s>>1;$+=f)d=g(d/c);return g($+(c+1)*d/(d+u))}function W(d){var v=[],w=d.length,$,R=0,L=p,T=y,J,re,ae,ue,B,K,te,pe,ve;for(J=d.lastIndexOf(h),J<0&&(J=0),re=0;re<J;++re)d.charCodeAt(re)>=128&&E("not-basic"),v.push(d.charCodeAt(re));for(ae=J>0?J+1:0;ae<w;){for(ue=R,B=1,K=f;ae>=w&&E("invalid-input"),te=Y(d.charCodeAt(ae++)),(te>=f||te>g((a-R)/B))&&E("overflow"),R+=te*B,pe=K<=T?o:K>=T+s?s:K-T,!(te<pe);K+=f)ve=f-pe,B>g(a/ve)&&E("overflow"),B*=ve;$=v.length+1,T=Z(R-ue,$,ue==0),g(R/$)>a-L&&E("overflow"),L+=g(R/$),R%=$,v.splice(R++,0,L)}return D(v)}function ee(d){var v,w,$,R,L,T,J,re,ae,ue,B,K=[],te,pe,ve,or;for(d=C(d),te=d.length,v=p,w=0,L=y,T=0;T<te;++T)B=d[T],B<128&&K.push(P(B));for($=R=K.length,R&&K.push(h);$<te;){for(J=a,T=0;T<te;++T)B=d[T],B>=v&&B<J&&(J=B);for(pe=$+1,J-v>g((a-w)/pe)&&E("overflow"),w+=(J-v)*pe,v=J,T=0;T<te;++T)if(B=d[T],B<v&&++w>a&&E("overflow"),B==v){for(re=w,ae=f;ue=ae<=L?o:ae>=L+s?s:ae-L,!(re<ue);ae+=f)or=re-ue,ve=f-ue,K.push(P(j(ue+or%ve,0))),re=g(or/ve);K.push(P(j(re,0))),L=Z(w,pe,$==R),w=0,++$}++w,++v}return K.join("")}function G(d){return M(d,function(v){return m.test(v)?W(v.slice(4).toLowerCase()):v})}function ir(d){return M(d,function(v){return z.test(v)?"xn--"+ee(v):v})}if(i={version:"1.4.1",ucs2:{decode:C,encode:D},decode:W,encode:ee,toASCII:ir,toUnicode:G},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return i});else if(e&&r)if(Ee.exports==e)r.exports=i;else for(I in i)i.hasOwnProperty(I)&&(e[I]=i[I]);else t.punycode=i})(xe)});var Hr=O((Gi,Jr)=>{"use strict";Jr.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(e,r);if(f.value!==i||f.enumerable!==!0)return!1}return!0}});var Xr=O((Ji,Kr)=>{"use strict";var Qr=typeof Symbol!="undefined"&&Symbol,Bn=Hr();Kr.exports=function(){return typeof Qr!="function"||typeof Symbol!="function"||typeof Qr("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Bn()}});var rt=O((Hi,et)=>{"use strict";var Yr={foo:{}},Vn=Object;et.exports=function(){return{__proto__:Yr}.foo===Yr.foo&&!({__proto__:null}instanceof Vn)}});var at=O((Qi,nt)=>{"use strict";var Un="Function.prototype.bind called on incompatible ",Ln=Object.prototype.toString,kn=Math.max,Wn="[object Function]",tt=function(e,r){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var a=0;a<r.length;a+=1)n[a+e.length]=r[a];return n},Gn=function(e,r){for(var n=[],i=r||0,a=0;i<e.length;i+=1,a+=1)n[a]=e[i];return n},Jn=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r};nt.exports=function(e){var r=this;if(typeof r!="function"||Ln.apply(r)!==Wn)throw new TypeError(Un+r);for(var n=Gn(arguments,1),i,a=function(){if(this instanceof i){var l=r.apply(this,tt(n,arguments));return Object(l)===l?l:this}return r.apply(e,tt(n,arguments))},f=kn(0,r.length-n.length),o=[],s=0;s<f;s++)o[s]="$"+s;if(i=Function("binder","return function ("+Jn(o,",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i}});var ur=O((Ki,it)=>{"use strict";var Hn=at();it.exports=Function.prototype.bind||Hn});var ut=O((Xi,ft)=>{"use strict";var ot={}.hasOwnProperty,sr=Function.prototype.call;ft.exports=sr.bind?sr.bind(ot):function(t,e){return sr.call(ot,t,e)}});var Ge=O((Yi,dt)=>{"use strict";var b,Oe=SyntaxError,st=Function,Pe=TypeError,lr=function(t){try{return st('"use strict"; return ('+t+").constructor;")()}catch{}},ge=Object.getOwnPropertyDescriptor;if(ge)try{ge({},"")}catch{ge=null}var pr=function(){throw new Pe},Qn=ge?function(){try{return arguments.callee,pr}catch{try{return ge(arguments,"callee").get}catch{return pr}}}():pr,$e=Xr()(),Kn=rt()(),_=Object.getPrototypeOf||(Kn?function(t){return t.__proto__}:null),ze={},Xn=typeof Uint8Array=="undefined"||!_?b:_(Uint8Array),Ae={"%AggregateError%":typeof AggregateError=="undefined"?b:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?b:ArrayBuffer,"%ArrayIteratorPrototype%":$e&&_?_([][Symbol.iterator]()):b,"%AsyncFromSyncIteratorPrototype%":b,"%AsyncFunction%":ze,"%AsyncGenerator%":ze,"%AsyncGeneratorFunction%":ze,"%AsyncIteratorPrototype%":ze,"%Atomics%":typeof Atomics=="undefined"?b:Atomics,"%BigInt%":typeof BigInt=="undefined"?b:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?b:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?b:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?b:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?b:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?b:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?b:FinalizationRegistry,"%Function%":st,"%GeneratorFunction%":ze,"%Int8Array%":typeof Int8Array=="undefined"?b:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?b:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?b:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$e&&_?_(_([][Symbol.iterator]())):b,"%JSON%":typeof JSON=="object"?JSON:b,"%Map%":typeof Map=="undefined"?b:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!$e||!_?b:_(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?b:Promise,"%Proxy%":typeof Proxy=="undefined"?b:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?b:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?b:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!$e||!_?b:_(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?b:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$e&&_?_(""[Symbol.iterator]()):b,"%Symbol%":$e?Symbol:b,"%SyntaxError%":Oe,"%ThrowTypeError%":Qn,"%TypedArray%":Xn,"%TypeError%":Pe,"%Uint8Array%":typeof Uint8Array=="undefined"?b:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?b:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?b:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?b:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?b:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?b:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?b:WeakSet};if(_)try{null.error}catch(t){lt=_(_(t)),Ae["%Error.prototype%"]=lt}var lt,Yn=function t(e){var r;if(e==="%AsyncFunction%")r=lr("async function () {}");else if(e==="%GeneratorFunction%")r=lr("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=lr("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&_&&(r=_(i.prototype))}return Ae[e]=r,r},pt={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Te=ur(),ke=ut(),ea=Te.call(Function.call,Array.prototype.concat),ra=Te.call(Function.apply,Array.prototype.splice),ct=Te.call(Function.call,String.prototype.replace),We=Te.call(Function.call,String.prototype.slice),ta=Te.call(Function.call,RegExp.prototype.exec),na=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,aa=/\\(\\)?/g,ia=function(e){var r=We(e,0,1),n=We(e,-1);if(r==="%"&&n!=="%")throw new Oe("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Oe("invalid intrinsic syntax, expected opening `%`");var i=[];return ct(e,na,function(a,f,o,s){i[i.length]=o?ct(s,aa,"$1"):f||a}),i},oa=function(e,r){var n=e,i;if(ke(pt,n)&&(i=pt[n],n="%"+i[0]+"%"),ke(Ae,n)){var a=Ae[n];if(a===ze&&(a=Yn(n)),typeof a=="undefined"&&!r)throw new Pe("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new Oe("intrinsic "+e+" does not exist!")};dt.exports=function(e,r){if(typeof e!="string"||e.length===0)throw new Pe("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Pe('"allowMissing" argument must be a boolean');if(ta(/^%?[^%]*%?$/,e)===null)throw new Oe("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=ia(e),i=n.length>0?n[0]:"",a=oa("%"+i+"%",r),f=a.name,o=a.value,s=!1,u=a.alias;u&&(i=u[0],ra(n,ea([0,1],u)));for(var l=1,y=!0;l<n.length;l+=1){var p=n[l],h=We(p,0,1),m=We(p,-1);if((h==='"'||h==="'"||h==="`"||m==='"'||m==="'"||m==="`")&&h!==m)throw new Oe("property names with quotes must have matching quotes");if((p==="constructor"||!y)&&(s=!0),i+="."+p,f="%"+i+"%",ke(Ae,f))o=Ae[f];else if(o!=null){if(!(p in o)){if(!r)throw new Pe("base intrinsic for "+e+" exists, but the property is not available.");return}if(ge&&l+1>=n.length){var z=ge(o,p);y=!!z,y&&"get"in z&&!("originalValue"in z.get)?o=z.get:o=o[p]}else y=ke(o,p),o=o[p];y&&!s&&(Ae[f]=o)}}return o}});var At=O((eo,Je)=>{"use strict";var cr=ur(),Ie=Ge(),yt=Ie("%Function.prototype.apply%"),ht=Ie("%Function.prototype.call%"),mt=Ie("%Reflect.apply%",!0)||cr.call(ht,yt),vt=Ie("%Object.getOwnPropertyDescriptor%",!0),be=Ie("%Object.defineProperty%",!0),fa=Ie("%Math.max%");if(be)try{be({},"a",{value:1})}catch{be=null}Je.exports=function(e){var r=mt(cr,ht,arguments);if(vt&&be){var n=vt(r,"length");n.configurable&&be(r,"length",{value:1+fa(0,e.length-(arguments.length-1))})}return r};var gt=function(){return mt(cr,yt,arguments)};be?be(Je.exports,"apply",{value:gt}):Je.exports.apply=gt});var wt=O((ro,St)=>{"use strict";var bt=Ge(),Ft=At(),ua=Ft(bt("String.prototype.indexOf"));St.exports=function(e,r){var n=bt(e,!!r);return typeof n=="function"&&ua(e,".prototype.")>-1?Ft(n):n}});var xt=O(()=>{});var Lt=O((ao,Ut)=>{var dr=typeof Map=="function"&&Map.prototype,yr=Object.getOwnPropertyDescriptor&&dr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,He=dr&&yr&&typeof yr.get=="function"?yr.get:null,Et=dr&&Map.prototype.forEach,hr=typeof Set=="function"&&Set.prototype,mr=Object.getOwnPropertyDescriptor&&hr?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Qe=hr&&mr&&typeof mr.get=="function"?mr.get:null,Ot=hr&&Set.prototype.forEach,sa=typeof WeakMap=="function"&&WeakMap.prototype,De=sa?WeakMap.prototype.has:null,la=typeof WeakSet=="function"&&WeakSet.prototype,je=la?WeakSet.prototype.has:null,pa=typeof WeakRef=="function"&&WeakRef.prototype,Pt=pa?WeakRef.prototype.deref:null,ca=Boolean.prototype.valueOf,da=Object.prototype.toString,ya=Function.prototype.toString,ha=String.prototype.match,vr=String.prototype.slice,ce=String.prototype.replace,ma=String.prototype.toUpperCase,$t=String.prototype.toLowerCase,zt=RegExp.prototype.test,It=Array.prototype.concat,ie=Array.prototype.join,va=Array.prototype.slice,Rt=Math.floor,gr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Ar=Object.getOwnPropertySymbols,br=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Re=typeof Symbol=="function"&&typeof Symbol.iterator=="object",V=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Re?"object":"symbol")?Symbol.toStringTag:null,Mt=Object.prototype.propertyIsEnumerable,Ct=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Zt(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||zt.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-Rt(-t):Rt(t);if(n!==t){var i=String(n),a=vr.call(e,i.length+1);return ce.call(i,r,"$&_")+"."+ce.call(ce.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ce.call(e,r,"$&_")}var Fr=xt(),_t=Fr.custom,qt=Dt(_t)?_t:null;Ut.exports=function t(e,r,n,i){var a=r||{};if(de(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(de(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=de(a,"customInspect")?a.customInspect:!0;if(typeof f!="boolean"&&f!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(de(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(de(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=a.numericSeparator;if(typeof e=="undefined")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Bt(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var s=String(e);return o?Zt(e,s):s}if(typeof e=="bigint"){var u=String(e)+"n";return o?Zt(e,u):u}var l=typeof a.depth=="undefined"?5:a.depth;if(typeof n=="undefined"&&(n=0),n>=l&&l>0&&typeof e=="object")return Sr(e)?"[Array]":"[Object]";var y=_a(a,n);if(typeof i=="undefined")i=[];else if(jt(i,e)>=0)return"[Circular]";function p(Z,W,ee){if(W&&(i=va.call(i),i.push(W)),ee){var G={depth:a.depth};return de(a,"quoteStyle")&&(G.quoteStyle=a.quoteStyle),t(Z,G,n+1,i)}return t(Z,a,n+1,i)}if(typeof e=="function"&&!Tt(e)){var h=Oa(e),m=Ke(e,p);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(m.length>0?" { "+ie.call(m,", ")+" }":"")}if(Dt(e)){var z=Re?ce.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):br.call(e);return typeof e=="object"&&!Re?Be(z):z}if(Ma(e)){for(var x="<"+$t.call(String(e.nodeName)),A=e.attributes||[],c=0;c<A.length;c++)x+=" "+A[c].name+"="+Nt(ga(A[c].value),"double",a);return x+=">",e.childNodes&&e.childNodes.length&&(x+="..."),x+="</"+$t.call(String(e.nodeName))+">",x}if(Sr(e)){if(e.length===0)return"[]";var g=Ke(e,p);return y&&!Za(g)?"["+xr(g,y)+"]":"[ "+ie.call(g,", ")+" ]"}if(ba(e)){var P=Ke(e,p);return!("cause"in Error.prototype)&&"cause"in e&&!Mt.call(e,"cause")?"{ ["+String(e)+"] "+ie.call(It.call("[cause]: "+p(e.cause),P),", ")+" }":P.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+ie.call(P,", ")+" }"}if(typeof e=="object"&&f){if(qt&&typeof e[qt]=="function"&&Fr)return Fr(e,{depth:l-n});if(f!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Pa(e)){var I=[];return Et&&Et.call(e,function(Z,W){I.push(p(W,e,!0)+" => "+p(Z,e))}),Vt("Map",He.call(e),I,y)}if(Ia(e)){var E=[];return Ot&&Ot.call(e,function(Z){E.push(p(Z,e))}),Vt("Set",Qe.call(e),E,y)}if($a(e))return wr("WeakMap");if(Ra(e))return wr("WeakSet");if(za(e))return wr("WeakRef");if(Sa(e))return Be(p(Number(e)));if(xa(e))return Be(p(gr.call(e)));if(wa(e))return Be(ca.call(e));if(Fa(e))return Be(p(String(e)));if(e===global)return typeof window!="undefined"?"{ [object Window] }":"{ [object global] }";if(!Aa(e)&&!Tt(e)){var k=Ke(e,p),M=Ct?Ct(e)===Object.prototype:e instanceof Object||e.constructor===Object,C=e instanceof Object?"":"null prototype",D=!M&&V&&Object(e)===e&&V in e?vr.call(ye(e),8,-1):C?"Object":"",Y=M||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",j=Y+(D||C?"["+ie.call(It.call([],D||[],C||[]),": ")+"] ":"");return k.length===0?j+"{}":y?j+"{"+xr(k,y)+"}":j+"{ "+ie.call(k,", ")+" }"}return String(e)};function Nt(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function ga(t){return ce.call(String(t),/"/g,"&quot;")}function Sr(t){return ye(t)==="[object Array]"&&(!V||!(typeof t=="object"&&V in t))}function Aa(t){return ye(t)==="[object Date]"&&(!V||!(typeof t=="object"&&V in t))}function Tt(t){return ye(t)==="[object RegExp]"&&(!V||!(typeof t=="object"&&V in t))}function ba(t){return ye(t)==="[object Error]"&&(!V||!(typeof t=="object"&&V in t))}function Fa(t){return ye(t)==="[object String]"&&(!V||!(typeof t=="object"&&V in t))}function Sa(t){return ye(t)==="[object Number]"&&(!V||!(typeof t=="object"&&V in t))}function wa(t){return ye(t)==="[object Boolean]"&&(!V||!(typeof t=="object"&&V in t))}function Dt(t){if(Re)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!br)return!1;try{return br.call(t),!0}catch{}return!1}function xa(t){if(!t||typeof t!="object"||!gr)return!1;try{return gr.call(t),!0}catch{}return!1}var Ea=Object.prototype.hasOwnProperty||function(t){return t in this};function de(t,e){return Ea.call(t,e)}function ye(t){return da.call(t)}function Oa(t){if(t.name)return t.name;var e=ha.call(ya.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function jt(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function Pa(t){if(!He||!t||typeof t!="object")return!1;try{He.call(t);try{Qe.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function $a(t){if(!De||!t||typeof t!="object")return!1;try{De.call(t,De);try{je.call(t,je)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function za(t){if(!Pt||!t||typeof t!="object")return!1;try{return Pt.call(t),!0}catch{}return!1}function Ia(t){if(!Qe||!t||typeof t!="object")return!1;try{Qe.call(t);try{He.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function Ra(t){if(!je||!t||typeof t!="object")return!1;try{je.call(t,je);try{De.call(t,De)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function Ma(t){return!t||typeof t!="object"?!1:typeof HTMLElement!="undefined"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function Bt(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Bt(vr.call(t,0,e.maxStringLength),e)+n}var i=ce.call(ce.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ca);return Nt(i,"single",e)}function Ca(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+ma.call(e.toString(16))}function Be(t){return"Object("+t+")"}function wr(t){return t+" { ? }"}function Vt(t,e,r,n){var i=n?xr(r,n):ie.call(r,", ");return t+" ("+e+") {"+i+"}"}function Za(t){for(var e=0;e<t.length;e++)if(jt(t[e],`
2
+ `)>=0)return!1;return!0}function _a(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=ie.call(Array(t.indent+1)," ");else return null;return{base:r,prev:ie.call(Array(e+1),r)}}function xr(t,e){if(t.length===0)return"";var r=`
3
+ `+e.prev+e.base;return r+ie.call(t,","+r)+`
4
+ `+e.prev}function Ke(t,e){var r=Sr(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=de(t,i)?e(t[i],t):""}var a=typeof Ar=="function"?Ar(t):[],f;if(Re){f={};for(var o=0;o<a.length;o++)f["$"+a[o]]=a[o]}for(var s in t)!de(t,s)||r&&String(Number(s))===s&&s<t.length||Re&&f["$"+s]instanceof Symbol||(zt.call(/[^\w$]/,s)?n.push(e(s,t)+": "+e(t[s],t)):n.push(s+": "+e(t[s],t)));if(typeof Ar=="function")for(var u=0;u<a.length;u++)Mt.call(t,a[u])&&n.push("["+e(a[u])+"]: "+e(t[a[u]],t));return n}});var Wt=O((io,kt)=>{"use strict";var Er=Ge(),Me=wt(),qa=Lt(),Na=Er("%TypeError%"),Xe=Er("%WeakMap%",!0),Ye=Er("%Map%",!0),Ta=Me("WeakMap.prototype.get",!0),Da=Me("WeakMap.prototype.set",!0),ja=Me("WeakMap.prototype.has",!0),Ba=Me("Map.prototype.get",!0),Va=Me("Map.prototype.set",!0),Ua=Me("Map.prototype.has",!0),Or=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},La=function(t,e){var r=Or(t,e);return r&&r.value},ka=function(t,e,r){var n=Or(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},Wa=function(t,e){return!!Or(t,e)};kt.exports=function(){var e,r,n,i={assert:function(a){if(!i.has(a))throw new Na("Side channel does not contain "+qa(a))},get:function(a){if(Xe&&a&&(typeof a=="object"||typeof a=="function")){if(e)return Ta(e,a)}else if(Ye){if(r)return Ba(r,a)}else if(n)return La(n,a)},has:function(a){if(Xe&&a&&(typeof a=="object"||typeof a=="function")){if(e)return ja(e,a)}else if(Ye){if(r)return Ua(r,a)}else if(n)return Wa(n,a);return!1},set:function(a,f){Xe&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new Xe),Da(e,a,f)):Ye?(r||(r=new Ye),Va(r,a,f)):(n||(n={key:{},next:null}),ka(n,a,f))}};return i}});var er=O((oo,Gt)=>{"use strict";var Ga=String.prototype.replace,Ja=/%20/g,Pr={RFC1738:"RFC1738",RFC3986:"RFC3986"};Gt.exports={default:Pr.RFC3986,formatters:{RFC1738:function(t){return Ga.call(t,Ja,"+")},RFC3986:function(t){return String(t)}},RFC1738:Pr.RFC1738,RFC3986:Pr.RFC3986}});var zr=O((fo,Ht)=>{"use strict";var Ha=er(),$r=Object.prototype.hasOwnProperty,Fe=Array.isArray,oe=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),Qa=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(Fe(n)){for(var i=[],a=0;a<n.length;++a)typeof n[a]!="undefined"&&i.push(n[a]);r.obj[r.prop]=i}}},Jt=function(e,r){for(var n=r&&r.plainObjects?Object.create(null):{},i=0;i<e.length;++i)typeof e[i]!="undefined"&&(n[i]=e[i]);return n},Ka=function t(e,r,n){if(!r)return e;if(typeof r!="object"){if(Fe(e))e.push(r);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!$r.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var i=e;return Fe(e)&&!Fe(r)&&(i=Jt(e,n)),Fe(e)&&Fe(r)?(r.forEach(function(a,f){if($r.call(e,f)){var o=e[f];o&&typeof o=="object"&&a&&typeof a=="object"?e[f]=t(o,a,n):e.push(a)}else e[f]=a}),e):Object.keys(r).reduce(function(a,f){var o=r[f];return $r.call(a,f)?a[f]=t(a[f],o,n):a[f]=o,a},i)},Xa=function(e,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},e)},Ya=function(t,e,r){var n=t.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},ei=function(e,r,n,i,a){if(e.length===0)return e;var f=e;if(typeof e=="symbol"?f=Symbol.prototype.toString.call(e):typeof e!="string"&&(f=String(e)),n==="iso-8859-1")return escape(f).replace(/%u[0-9a-f]{4}/gi,function(l){return"%26%23"+parseInt(l.slice(2),16)+"%3B"});for(var o="",s=0;s<f.length;++s){var u=f.charCodeAt(s);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===Ha.RFC1738&&(u===40||u===41)){o+=f.charAt(s);continue}if(u<128){o=o+oe[u];continue}if(u<2048){o=o+(oe[192|u>>6]+oe[128|u&63]);continue}if(u<55296||u>=57344){o=o+(oe[224|u>>12]+oe[128|u>>6&63]+oe[128|u&63]);continue}s+=1,u=65536+((u&1023)<<10|f.charCodeAt(s)&1023),o+=oe[240|u>>18]+oe[128|u>>12&63]+oe[128|u>>6&63]+oe[128|u&63]}return o},ri=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],i=0;i<r.length;++i)for(var a=r[i],f=a.obj[a.prop],o=Object.keys(f),s=0;s<o.length;++s){var u=o[s],l=f[u];typeof l=="object"&&l!==null&&n.indexOf(l)===-1&&(r.push({obj:f,prop:u}),n.push(l))}return Qa(r),e},ti=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},ni=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},ai=function(e,r){return[].concat(e,r)},ii=function(e,r){if(Fe(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(r(e[i]));return n}return r(e)};Ht.exports={arrayToObject:Jt,assign:Xa,combine:ai,compact:ri,decode:Ya,encode:ei,isBuffer:ni,isRegExp:ti,maybeMap:ii,merge:Ka}});var rn=O((uo,en)=>{"use strict";var Qt=Wt(),rr=zr(),Ve=er(),oi=Object.prototype.hasOwnProperty,Kt={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},se=Array.isArray,fi=Array.prototype.push,Xt=function(t,e){fi.apply(t,se(e)?e:[e])},ui=Date.prototype.toISOString,Yt=Ve.default,U={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:rr.encode,encodeValuesOnly:!1,format:Yt,formatter:Ve.formatters[Yt],indices:!1,serializeDate:function(e){return ui.call(e)},skipNulls:!1,strictNullHandling:!1},si=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},Ir={},li=function t(e,r,n,i,a,f,o,s,u,l,y,p,h,m,z,x){for(var A=e,c=x,g=0,P=!1;(c=c.get(Ir))!==void 0&&!P;){var I=c.get(e);if(g+=1,typeof I!="undefined"){if(I===g)throw new RangeError("Cyclic object value");P=!0}typeof c.get(Ir)=="undefined"&&(g=0)}if(typeof s=="function"?A=s(r,A):A instanceof Date?A=y(A):n==="comma"&&se(A)&&(A=rr.maybeMap(A,function(G){return G instanceof Date?y(G):G})),A===null){if(a)return o&&!m?o(r,U.encoder,z,"key",p):r;A=""}if(si(A)||rr.isBuffer(A)){if(o){var E=m?r:o(r,U.encoder,z,"key",p);return[h(E)+"="+h(o(A,U.encoder,z,"value",p))]}return[h(r)+"="+h(String(A))]}var k=[];if(typeof A=="undefined")return k;var M;if(n==="comma"&&se(A))m&&o&&(A=rr.maybeMap(A,o)),M=[{value:A.length>0?A.join(",")||null:void 0}];else if(se(s))M=s;else{var C=Object.keys(A);M=u?C.sort(u):C}for(var D=i&&se(A)&&A.length===1?r+"[]":r,Y=0;Y<M.length;++Y){var j=M[Y],Z=typeof j=="object"&&typeof j.value!="undefined"?j.value:A[j];if(!(f&&Z===null)){var W=se(A)?typeof n=="function"?n(D,j):D:D+(l?"."+j:"["+j+"]");x.set(e,g);var ee=Qt();ee.set(Ir,x),Xt(k,t(Z,W,n,i,a,f,n==="comma"&&m&&se(A)?null:o,s,u,l,y,p,h,m,z,ee))}}return k},pi=function(e){if(!e)return U;if(e.encoder!==null&&typeof e.encoder!="undefined"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||U.charset;if(typeof e.charset!="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Ve.default;if(typeof e.format!="undefined"){if(!oi.call(Ve.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=Ve.formatters[n],a=U.filter;return(typeof e.filter=="function"||se(e.filter))&&(a=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:U.addQueryPrefix,allowDots:typeof e.allowDots=="undefined"?U.allowDots:!!e.allowDots,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:U.charsetSentinel,delimiter:typeof e.delimiter=="undefined"?U.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:U.encode,encoder:typeof e.encoder=="function"?e.encoder:U.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:U.encodeValuesOnly,filter:a,format:n,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:U.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:U.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:U.strictNullHandling}};en.exports=function(t,e){var r=t,n=pi(e),i,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):se(n.filter)&&(a=n.filter,i=a);var f=[];if(typeof r!="object"||r===null)return"";var o;e&&e.arrayFormat in Kt?o=e.arrayFormat:e&&"indices"in e?o=e.indices?"indices":"repeat":o="indices";var s=Kt[o];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=s==="comma"&&e&&e.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var l=Qt(),y=0;y<i.length;++y){var p=i[y];n.skipNulls&&r[p]===null||Xt(f,li(r[p],p,s,u,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,l))}var h=f.join(n.delimiter),m=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),h.length>0?m+h:""}});var an=O((so,nn)=>{"use strict";var Ce=zr(),Rr=Object.prototype.hasOwnProperty,ci=Array.isArray,q={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Ce.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},di=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},tn=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},yi="utf8=%26%2310003%3B",hi="utf8=%E2%9C%93",mi=function(e,r){var n={__proto__:null},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=r.parameterLimit===1/0?void 0:r.parameterLimit,f=i.split(r.delimiter,a),o=-1,s,u=r.charset;if(r.charsetSentinel)for(s=0;s<f.length;++s)f[s].indexOf("utf8=")===0&&(f[s]===hi?u="utf-8":f[s]===yi&&(u="iso-8859-1"),o=s,s=f.length);for(s=0;s<f.length;++s)if(s!==o){var l=f[s],y=l.indexOf("]="),p=y===-1?l.indexOf("="):y+1,h,m;p===-1?(h=r.decoder(l,q.decoder,u,"key"),m=r.strictNullHandling?null:""):(h=r.decoder(l.slice(0,p),q.decoder,u,"key"),m=Ce.maybeMap(tn(l.slice(p+1),r),function(z){return r.decoder(z,q.decoder,u,"value")})),m&&r.interpretNumericEntities&&u==="iso-8859-1"&&(m=di(m)),l.indexOf("[]=")>-1&&(m=ci(m)?[m]:m),Rr.call(n,h)?n[h]=Ce.combine(n[h],m):n[h]=m}return n},vi=function(t,e,r,n){for(var i=n?e:tn(e,r),a=t.length-1;a>=0;--a){var f,o=t[a];if(o==="[]"&&r.parseArrays)f=[].concat(i);else{f=r.plainObjects?Object.create(null):{};var s=o.charAt(0)==="["&&o.charAt(o.length-1)==="]"?o.slice(1,-1):o,u=parseInt(s,10);!r.parseArrays&&s===""?f={0:i}:!isNaN(u)&&o!==s&&String(u)===s&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(f=[],f[u]=i):s!=="__proto__"&&(f[s]=i)}i=f}return i},gi=function(e,r,n,i){if(!!e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,f=/(\[[^[\]]*])/,o=/(\[[^[\]]*])/g,s=n.depth>0&&f.exec(a),u=s?a.slice(0,s.index):a,l=[];if(u){if(!n.plainObjects&&Rr.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var y=0;n.depth>0&&(s=o.exec(a))!==null&&y<n.depth;){if(y+=1,!n.plainObjects&&Rr.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+a.slice(s.index)+"]"),vi(l,r,n,i)}},Ai=function(e){if(!e)return q;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset!="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof e.charset=="undefined"?q.charset:e.charset;return{allowDots:typeof e.allowDots=="undefined"?q.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:q.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:q.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:q.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:q.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:q.comma,decoder:typeof e.decoder=="function"?e.decoder:q.decoder,delimiter:typeof e.delimiter=="string"||Ce.isRegExp(e.delimiter)?e.delimiter:q.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:q.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:q.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:q.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:q.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:q.strictNullHandling}};nn.exports=function(t,e){var r=Ai(e);if(t===""||t===null||typeof t=="undefined")return r.plainObjects?Object.create(null):{};for(var n=typeof t=="string"?mi(t,r):t,i=r.plainObjects?Object.create(null):{},a=Object.keys(n),f=0;f<a.length;++f){var o=a[f],s=gi(o,n[o],r,typeof t=="string");i=Ce.merge(i,s,r)}return r.allowSparse===!0?i:Ce.compact(i)}});var fn=O((lo,on)=>{"use strict";var bi=rn(),Fi=an(),Si=er();on.exports={formats:Si,parse:Fi,stringify:bi}});var tr=O(_e=>{"use strict";var wi=Gr();function X(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var xi=/^([a-z0-9.+-]+:)/i,Ei=/:[0-9]*$/,Oi=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,Pi=["<",">",'"',"`"," ","\r",`
5
+ `," "],$i=["{","}","|","\\","^","`"].concat(Pi),Mr=["'"].concat($i),un=["%","/","?",";","#"].concat(Mr),sn=["/","?","#"],zi=255,ln=/^[+a-z0-9A-Z_-]{0,63}$/,Ii=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ri={javascript:!0,"javascript:":!0},Cr={javascript:!0,"javascript:":!0},Ze={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Zr=fn();function Ue(t,e,r){if(t&&typeof t=="object"&&t instanceof X)return t;var n=new X;return n.parse(t,e,r),n}X.prototype.parse=function(t,e,r){if(typeof t!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),i=n!==-1&&n<t.indexOf("#")?"?":"#",a=t.split(i),f=/\\/g;a[0]=a[0].replace(f,"/"),t=a.join(i);var o=t;if(o=o.trim(),!r&&t.split("#").length===1){var s=Oi.exec(o);if(s)return this.path=o,this.href=o,this.pathname=s[1],s[2]?(this.search=s[2],e?this.query=Zr.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var u=xi.exec(o);if(u){u=u[0];var l=u.toLowerCase();this.protocol=l,o=o.substr(u.length)}if(r||u||o.match(/^\/\/[^@/]+@[^@/]+/)){var y=o.substr(0,2)==="//";y&&!(u&&Cr[u])&&(o=o.substr(2),this.slashes=!0)}if(!Cr[u]&&(y||u&&!Ze[u])){for(var p=-1,h=0;h<sn.length;h++){var m=o.indexOf(sn[h]);m!==-1&&(p===-1||m<p)&&(p=m)}var z,x;p===-1?x=o.lastIndexOf("@"):x=o.lastIndexOf("@",p),x!==-1&&(z=o.slice(0,x),o=o.slice(x+1),this.auth=decodeURIComponent(z)),p=-1;for(var h=0;h<un.length;h++){var m=o.indexOf(un[h]);m!==-1&&(p===-1||m<p)&&(p=m)}p===-1&&(p=o.length),this.host=o.slice(0,p),o=o.slice(p),this.parseHost(),this.hostname=this.hostname||"";var A=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!A)for(var c=this.hostname.split(/\./),h=0,g=c.length;h<g;h++){var P=c[h];if(!!P&&!P.match(ln)){for(var I="",E=0,k=P.length;E<k;E++)P.charCodeAt(E)>127?I+="x":I+=P[E];if(!I.match(ln)){var M=c.slice(0,h),C=c.slice(h+1),D=P.match(Ii);D&&(M.push(D[1]),C.unshift(D[2])),C.length&&(o="/"+C.join(".")+o),this.hostname=M.join(".");break}}}this.hostname.length>zi?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=wi.toASCII(this.hostname));var Y=this.port?":"+this.port:"",j=this.hostname||"";this.host=j+Y,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),o[0]!=="/"&&(o="/"+o))}if(!Ri[l])for(var h=0,g=Mr.length;h<g;h++){var Z=Mr[h];if(o.indexOf(Z)!==-1){var W=encodeURIComponent(Z);W===Z&&(W=escape(Z)),o=o.split(Z).join(W)}}var ee=o.indexOf("#");ee!==-1&&(this.hash=o.substr(ee),o=o.slice(0,ee));var G=o.indexOf("?");if(G!==-1?(this.search=o.substr(G),this.query=o.substr(G+1),e&&(this.query=Zr.parse(this.query)),o=o.slice(0,G)):e&&(this.search="",this.query={}),o&&(this.pathname=o),Ze[l]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Y=this.pathname||"",ir=this.search||"";this.path=Y+ir}return this.href=this.format(),this};function Mi(t){return typeof t=="string"&&(t=Ue(t)),t instanceof X?t.format():X.prototype.format.call(t)}X.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,a="";this.host?i=t+this.host:this.hostname&&(i=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(a=Zr.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var f=this.search||a&&"?"+a||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||Ze[e])&&i!==!1?(i="//"+(i||""),r&&r.charAt(0)!=="/"&&(r="/"+r)):i||(i=""),n&&n.charAt(0)!=="#"&&(n="#"+n),f&&f.charAt(0)!=="?"&&(f="?"+f),r=r.replace(/[?#]/g,function(o){return encodeURIComponent(o)}),f=f.replace("#","%23"),e+i+r+f+n};function Ci(t,e){return Ue(t,!1,!0).resolve(e)}X.prototype.resolve=function(t){return this.resolveObject(Ue(t,!1,!0)).format()};function Zi(t,e){return t?Ue(t,!1,!0).resolveObject(e):e}X.prototype.resolveObject=function(t){if(typeof t=="string"){var e=new X;e.parse(t,!1,!0),t=e}for(var r=new X,n=Object.keys(this),i=0;i<n.length;i++){var a=n[i];r[a]=this[a]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var f=Object.keys(t),o=0;o<f.length;o++){var s=f[o];s!=="protocol"&&(r[s]=t[s])}return Ze[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!Ze[t.protocol]){for(var u=Object.keys(t),l=0;l<u.length;l++){var y=u[l];r[y]=t[y]}return r.href=r.format(),r}if(r.protocol=t.protocol,!t.host&&!Cr[t.protocol]){for(var g=(t.pathname||"").split("/");g.length&&!(t.host=g.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),g[0]!==""&&g.unshift(""),g.length<2&&g.unshift(""),r.pathname=g.join("/")}else r.pathname=t.pathname;if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var p=r.pathname||"",h=r.search||"";r.path=p+h}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var m=r.pathname&&r.pathname.charAt(0)==="/",z=t.host||t.pathname&&t.pathname.charAt(0)==="/",x=z||m||r.host&&t.pathname,A=x,c=r.pathname&&r.pathname.split("/")||[],g=t.pathname&&t.pathname.split("/")||[],P=r.protocol&&!Ze[r.protocol];if(P&&(r.hostname="",r.port=null,r.host&&(c[0]===""?c[0]=r.host:c.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(g[0]===""?g[0]=t.host:g.unshift(t.host)),t.host=null),x=x&&(g[0]===""||c[0]==="")),z)r.host=t.host||t.host===""?t.host:r.host,r.hostname=t.hostname||t.hostname===""?t.hostname:r.hostname,r.search=t.search,r.query=t.query,c=g;else if(g.length)c||(c=[]),c.pop(),c=c.concat(g),r.search=t.search,r.query=t.query;else if(t.search!=null){if(P){r.host=c.shift(),r.hostname=r.host;var I=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;I&&(r.auth=I.shift(),r.hostname=I.shift(),r.host=r.hostname)}return r.search=t.search,r.query=t.query,(r.pathname!==null||r.search!==null)&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!c.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var E=c.slice(-1)[0],k=(r.host||t.host||c.length>1)&&(E==="."||E==="..")||E==="",M=0,C=c.length;C>=0;C--)E=c[C],E==="."?c.splice(C,1):E===".."?(c.splice(C,1),M++):M&&(c.splice(C,1),M--);if(!x&&!A)for(;M--;M)c.unshift("..");x&&c[0]!==""&&(!c[0]||c[0].charAt(0)!=="/")&&c.unshift(""),k&&c.join("/").substr(-1)!=="/"&&c.push("");var D=c[0]===""||c[0]&&c[0].charAt(0)==="/";if(P){r.hostname=D?"":c.length?c.shift():"",r.host=r.hostname;var I=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;I&&(r.auth=I.shift(),r.hostname=I.shift(),r.host=r.hostname)}return x=x||r.host&&c.length,x&&!D&&c.unshift(""),c.length>0?r.pathname=c.join("/"):(r.pathname=null,r.path=null),(r.pathname!==null||r.search!==null)&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r};X.prototype.parseHost=function(){var t=this.host,e=Ei.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};_e.parse=Ue;_e.resolve=Ci;_e.resolveObject=Zi;_e.format=Mi;_e.Url=X});var he=O((H,Tr)=>{"use strict";var pn=tr(),_r=H.ValidationError=function(e,r,n,i,a,f){if(Array.isArray(i)?(this.path=i,this.property=i.reduce(function(s,u){return s+dn(u)},"instance")):i!==void 0&&(this.property=i),e&&(this.message=e),n){var o=n.$id||n.id;this.schema=o||n}r!==void 0&&(this.instance=r),this.name=a,this.argument=f,this.stack=this.toString()};_r.prototype.toString=function(){return this.property+" "+this.message};var nr=H.ValidatorResult=function(e,r,n,i){this.instance=e,this.schema=r,this.options=n,this.path=i.path,this.propertyPath=i.propertyPath,this.errors=[],this.throwError=n&&n.throwError,this.throwFirst=n&&n.throwFirst,this.throwAll=n&&n.throwAll,this.disableFormat=n&&n.disableFormat===!0};nr.prototype.addError=function(e){var r;if(typeof e=="string")r=new _r(e,this.instance,this.schema,this.path);else{if(!e)throw new Error("Missing error detail");if(!e.message)throw new Error("Missing error message");if(!e.name)throw new Error("Missing validator type");r=new _r(e.message,this.instance,this.schema,this.path,e.name,e.argument)}if(this.errors.push(r),this.throwFirst)throw new Se(this);if(this.throwError)throw r;return r};nr.prototype.importErrors=function(e){typeof e=="string"||e&&e.validatorType?this.addError(e):e&&e.errors&&(this.errors=this.errors.concat(e.errors))};function _i(t,e){return e+": "+t.toString()+`
6
+ `}nr.prototype.toString=function(e){return this.errors.map(_i).join("")};Object.defineProperty(nr.prototype,"valid",{get:function(){return!this.errors.length}});Tr.exports.ValidatorResultError=Se;function Se(t){Error.captureStackTrace&&Error.captureStackTrace(this,Se),this.instance=t.instance,this.schema=t.schema,this.options=t.options,this.errors=t.errors}Se.prototype=new Error;Se.prototype.constructor=Se;Se.prototype.name="Validation Error";var cn=H.SchemaError=function t(e,r){this.message=e,this.schema=r,Error.call(this,e),Error.captureStackTrace(this,t)};cn.prototype=Object.create(Error.prototype,{constructor:{value:cn,enumerable:!1},name:{value:"SchemaError",enumerable:!1}});var qr=H.SchemaContext=function(e,r,n,i,a){this.schema=e,this.options=r,Array.isArray(n)?(this.path=n,this.propertyPath=n.reduce(function(f,o){return f+dn(o)},"instance")):this.propertyPath=n,this.base=i,this.schemas=a};qr.prototype.resolve=function(e){return pn.resolve(this.base,e)};qr.prototype.makeChild=function(e,r){var n=r===void 0?this.path:this.path.concat([r]),i=e.$id||e.id,a=pn.resolve(this.base,i||""),f=new qr(e,this.options,n,a,Object.create(this.schemas));return i&&!f.schemas[a]&&(f.schemas[a]=e),f};var ne=H.FORMAT_REGEXPS={"date-time":/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-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|\*)?)*\})*/iu,"json-pointer":/^(\/([\x00-\x2e0-@\[-}\x7f]|~[01])*)*$/iu,"relative-json-pointer":/^\d+(#|(\/([\x00-\x2e0-@\[-}\x7f]|~[01])*)*)$/iu,hostname:/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"host-name":/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"utc-millisec":function(t){return typeof t=="string"&&parseFloat(t)===parseInt(t,10)&&!isNaN(t)},regex:function(t){var e=!0;try{new RegExp(t)}catch{e=!1}return e},style:/[\r\n\t ]*[^\r\n\t ][^:]*:[\r\n\t ]*[^\r\n\t ;]*[\r\n\t ]*;?/,color:/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/,phone:/^\+(?:[0-9] ?){6,14}[0-9]$/,alpha:/^[a-zA-Z]+$/,alphanumeric:/^[a-zA-Z0-9]+$/};ne.regexp=ne.regex;ne.pattern=ne.regex;ne.ipv4=ne["ip-address"];H.isFormat=function(e,r,n){if(typeof e=="string"&&ne[r]!==void 0){if(ne[r]instanceof RegExp)return ne[r].test(e);if(typeof ne[r]=="function")return ne[r](e)}else if(n&&n.customFormats&&typeof n.customFormats[r]=="function")return n.customFormats[r](e);return!0};var dn=H.makeSuffix=function(e){return e=e.toString(),!e.match(/[.\s\[\]]/)&&!e.match(/^[\d]/)?"."+e:e.match(/^\d+$/)?"["+e+"]":"["+JSON.stringify(e)+"]"};H.deepCompareStrict=function t(e,r){if(typeof e!=typeof r)return!1;if(Array.isArray(e))return!Array.isArray(r)||e.length!==r.length?!1:e.every(function(a,f){return t(e[f],r[f])});if(typeof e=="object"){if(!e||!r)return e===r;var n=Object.keys(e),i=Object.keys(r);return n.length!==i.length?!1:n.every(function(a){return t(e[a],r[a])})}return e===r};function qi(t,e,r,n){typeof r=="object"?e[n]=Nr(t[n],r):t.indexOf(r)===-1&&e.push(r)}function Ni(t,e,r){e[r]=t[r]}function Ti(t,e,r,n){typeof e[n]!="object"||!e[n]?r[n]=e[n]:t[n]?r[n]=Nr(t[n],e[n]):r[n]=e[n]}function Nr(t,e){var r=Array.isArray(e),n=r&&[]||{};return r?(t=t||[],n=n.concat(t),e.forEach(qi.bind(null,t,n))):(t&&typeof t=="object"&&Object.keys(t).forEach(Ni.bind(null,t,n)),Object.keys(e).forEach(Ti.bind(null,t,e,n))),n}Tr.exports.deepMerge=Nr;H.objectGetPath=function(e,r){for(var n=r.split("/").slice(1),i;typeof(i=n.shift())=="string";){var a=decodeURIComponent(i.replace(/~0/,"~").replace(/~1/g,"/"));if(!(a in e))return;e=e[a]}return e};function Di(t){return"/"+encodeURIComponent(t).replace(/~/g,"%7E")}H.encodePath=function(e){return e.map(Di).join("")};H.getDecimalPlaces=function(e){var r=0;if(isNaN(e))return r;typeof e!="number"&&(e=Number(e));var n=e.toString().split("e");if(n.length===2){if(n[1][0]!=="-")return r;r=Number(n[1].slice(1))}var i=n[0].split(".");return i.length===2&&(r+=i[1].length),r};H.isSchema=function(e){return typeof e=="object"&&e||typeof e=="boolean"}});var vn=O((co,mn)=>{"use strict";var Q=he(),F=Q.ValidatorResult,me=Q.SchemaError,Dr={};Dr.ignoreProperties={id:!0,default:!0,description:!0,title:!0,additionalItems:!0,then:!0,else:!0,$schema:!0,$ref:!0,extends:!0};var S=Dr.validators={};S.type=function(e,r,n,i){if(e===void 0)return null;var a=new F(e,r,n,i),f=Array.isArray(r.type)?r.type:[r.type];if(!f.some(this.testType.bind(this,e,r,n,i))){var o=f.map(function(s){if(!!s){var u=s.$id||s.id;return u?"<"+u+">":s+""}});a.addError({name:"type",argument:o,message:"is not of a type(s) "+o})}return a};function jr(t,e,r,n,i){var a=e.throwError,f=e.throwAll;e.throwError=!1,e.throwAll=!1;var o=this.validateSchema(t,i,e,r);return e.throwError=a,e.throwAll=f,!o.valid&&n instanceof Function&&n(o),o.valid}S.anyOf=function(e,r,n,i){if(e===void 0)return null;var a=new F(e,r,n,i),f=new F(e,r,n,i);if(!Array.isArray(r.anyOf))throw new me("anyOf must be an array");if(!r.anyOf.some(jr.bind(this,e,n,i,function(s){f.importErrors(s)}))){var o=r.anyOf.map(function(s,u){var l=s.$id||s.id;return l?"<"+l+">":s.title&&JSON.stringify(s.title)||s.$ref&&"<"+s.$ref+">"||"[subschema "+u+"]"});n.nestedErrors&&a.importErrors(f),a.addError({name:"anyOf",argument:o,message:"is not any of "+o.join(",")})}return a};S.allOf=function(e,r,n,i){if(e===void 0)return null;if(!Array.isArray(r.allOf))throw new me("allOf must be an array");var a=new F(e,r,n,i),f=this;return r.allOf.forEach(function(o,s){var u=f.validateSchema(e,o,n,i);if(!u.valid){var l=o.$id||o.id,y=l||o.title&&JSON.stringify(o.title)||o.$ref&&"<"+o.$ref+">"||"[subschema "+s+"]";a.addError({name:"allOf",argument:{id:y,length:u.errors.length,valid:u},message:"does not match allOf schema "+y+" with "+u.errors.length+" error[s]:"}),a.importErrors(u)}}),a};S.oneOf=function(e,r,n,i){if(e===void 0)return null;if(!Array.isArray(r.oneOf))throw new me("oneOf must be an array");var a=new F(e,r,n,i),f=new F(e,r,n,i),o=r.oneOf.filter(jr.bind(this,e,n,i,function(u){f.importErrors(u)})).length,s=r.oneOf.map(function(u,l){var y=u.$id||u.id;return y||u.title&&JSON.stringify(u.title)||u.$ref&&"<"+u.$ref+">"||"[subschema "+l+"]"});return o!==1&&(n.nestedErrors&&a.importErrors(f),a.addError({name:"oneOf",argument:s,message:"is not exactly one from "+s.join(",")})),a};S.if=function(e,r,n,i){if(e===void 0)return null;if(!Q.isSchema(r.if))throw new Error('Expected "if" keyword to be a schema');var a=jr.call(this,e,n,i,null,r.if),f=new F(e,r,n,i),o;if(a){if(r.then===void 0)return;if(!Q.isSchema(r.then))throw new Error('Expected "then" keyword to be a schema');o=this.validateSchema(e,r.then,n,i.makeChild(r.then)),f.importErrors(o)}else{if(r.else===void 0)return;if(!Q.isSchema(r.else))throw new Error('Expected "else" keyword to be a schema');o=this.validateSchema(e,r.else,n,i.makeChild(r.else)),f.importErrors(o)}return f};function Br(t,e){if(Object.hasOwnProperty.call(t,e))return t[e];if(e in t){for(;t=Object.getPrototypeOf(t);)if(Object.propertyIsEnumerable.call(t,e))return t[e]}}S.propertyNames=function(e,r,n,i){if(!!this.types.object(e)){var a=new F(e,r,n,i),f=r.propertyNames!==void 0?r.propertyNames:{};if(!Q.isSchema(f))throw new me('Expected "propertyNames" to be a schema (object or boolean)');for(var o in e)if(Br(e,o)!==void 0){var s=this.validateSchema(o,f,n,i.makeChild(f));a.importErrors(s)}return a}};S.properties=function(e,r,n,i){if(!!this.types.object(e)){var a=new F(e,r,n,i),f=r.properties||{};for(var o in f){var s=f[o];if(s!==void 0){if(s===null)throw new me('Unexpected null, expected schema in "properties"');typeof n.preValidateProperty=="function"&&n.preValidateProperty(e,o,s,n,i);var u=Br(e,o),l=this.validateSchema(u,s,n,i.makeChild(s,o));l.instance!==a.instance[o]&&(a.instance[o]=l.instance),a.importErrors(l)}}return a}};function yn(t,e,r,n,i,a){if(!!this.types.object(t)&&!(e.properties&&e.properties[i]!==void 0))if(e.additionalProperties===!1)a.addError({name:"additionalProperties",argument:i,message:"is not allowed to have the additional property "+JSON.stringify(i)});else{var f=e.additionalProperties||{};typeof r.preValidateProperty=="function"&&r.preValidateProperty(t,i,f,r,n);var o=this.validateSchema(t[i],f,r,n.makeChild(f,i));o.instance!==a.instance[i]&&(a.instance[i]=o.instance),a.importErrors(o)}}S.patternProperties=function(e,r,n,i){if(!!this.types.object(e)){var a=new F(e,r,n,i),f=r.patternProperties||{};for(var o in e){var s=!0;for(var u in f){var l=f[u];if(l!==void 0){if(l===null)throw new me('Unexpected null, expected schema in "patternProperties"');try{var y=new RegExp(u,"u")}catch{y=new RegExp(u)}if(!!y.test(o)){s=!1,typeof n.preValidateProperty=="function"&&n.preValidateProperty(e,o,l,n,i);var p=this.validateSchema(e[o],l,n,i.makeChild(l,o));p.instance!==a.instance[o]&&(a.instance[o]=p.instance),a.importErrors(p)}}}s&&yn.call(this,e,r,n,i,o,a)}return a}};S.additionalProperties=function(e,r,n,i){if(!!this.types.object(e)){if(r.patternProperties)return null;var a=new F(e,r,n,i);for(var f in e)yn.call(this,e,r,n,i,f,a);return a}};S.minProperties=function(e,r,n,i){if(!!this.types.object(e)){var a=new F(e,r,n,i),f=Object.keys(e);return f.length>=r.minProperties||a.addError({name:"minProperties",argument:r.minProperties,message:"does not meet minimum property length of "+r.minProperties}),a}};S.maxProperties=function(e,r,n,i){if(!!this.types.object(e)){var a=new F(e,r,n,i),f=Object.keys(e);return f.length<=r.maxProperties||a.addError({name:"maxProperties",argument:r.maxProperties,message:"does not meet maximum property length of "+r.maxProperties}),a}};S.items=function(e,r,n,i){var a=this;if(!!this.types.array(e)&&r.items!==void 0){var f=new F(e,r,n,i);return e.every(function(o,s){if(Array.isArray(r.items))var u=r.items[s]===void 0?r.additionalItems:r.items[s];else var u=r.items;if(u===void 0)return!0;if(u===!1)return f.addError({name:"items",message:"additionalItems not permitted"}),!1;var l=a.validateSchema(o,u,n,i.makeChild(u,s));return l.instance!==f.instance[s]&&(f.instance[s]=l.instance),f.importErrors(l),!0}),f}};S.contains=function(e,r,n,i){var a=this;if(!!this.types.array(e)&&r.contains!==void 0){if(!Q.isSchema(r.contains))throw new Error('Expected "contains" keyword to be a schema');var f=new F(e,r,n,i),o=e.some(function(s,u){var l=a.validateSchema(s,r.contains,n,i.makeChild(r.contains,u));return l.errors.length===0});return o===!1&&f.addError({name:"contains",argument:r.contains,message:"must contain an item matching given schema"}),f}};S.minimum=function(e,r,n,i){if(!!this.types.number(e)){var a=new F(e,r,n,i);return r.exclusiveMinimum&&r.exclusiveMinimum===!0?e>r.minimum||a.addError({name:"minimum",argument:r.minimum,message:"must be greater than "+r.minimum}):e>=r.minimum||a.addError({name:"minimum",argument:r.minimum,message:"must be greater than or equal to "+r.minimum}),a}};S.maximum=function(e,r,n,i){if(!!this.types.number(e)){var a=new F(e,r,n,i);return r.exclusiveMaximum&&r.exclusiveMaximum===!0?e<r.maximum||a.addError({name:"maximum",argument:r.maximum,message:"must be less than "+r.maximum}):e<=r.maximum||a.addError({name:"maximum",argument:r.maximum,message:"must be less than or equal to "+r.maximum}),a}};S.exclusiveMinimum=function(e,r,n,i){if(typeof r.exclusiveMinimum!="boolean"&&!!this.types.number(e)){var a=new F(e,r,n,i),f=e>r.exclusiveMinimum;return f||a.addError({name:"exclusiveMinimum",argument:r.exclusiveMinimum,message:"must be strictly greater than "+r.exclusiveMinimum}),a}};S.exclusiveMaximum=function(e,r,n,i){if(typeof r.exclusiveMaximum!="boolean"&&!!this.types.number(e)){var a=new F(e,r,n,i),f=e<r.exclusiveMaximum;return f||a.addError({name:"exclusiveMaximum",argument:r.exclusiveMaximum,message:"must be strictly less than "+r.exclusiveMaximum}),a}};var hn=function(e,r,n,i,a,f){if(!!this.types.number(e)){var o=r[a];if(o==0)throw new me(a+" cannot be zero");var s=new F(e,r,n,i),u=Q.getDecimalPlaces(e),l=Q.getDecimalPlaces(o),y=Math.max(u,l),p=Math.pow(10,y);return Math.round(e*p)%Math.round(o*p)!=0&&s.addError({name:a,argument:o,message:f+JSON.stringify(o)}),s}};S.multipleOf=function(e,r,n,i){return hn.call(this,e,r,n,i,"multipleOf","is not a multiple of (divisible by) ")};S.divisibleBy=function(e,r,n,i){return hn.call(this,e,r,n,i,"divisibleBy","is not divisible by (multiple of) ")};S.required=function(e,r,n,i){var a=new F(e,r,n,i);return e===void 0&&r.required===!0?a.addError({name:"required",message:"is required"}):this.types.object(e)&&Array.isArray(r.required)&&r.required.forEach(function(f){Br(e,f)===void 0&&a.addError({name:"required",argument:f,message:"requires property "+JSON.stringify(f)})}),a};S.pattern=function(e,r,n,i){if(!!this.types.string(e)){var a=new F(e,r,n,i),f=r.pattern;try{var o=new RegExp(f,"u")}catch{o=new RegExp(f)}return e.match(o)||a.addError({name:"pattern",argument:r.pattern,message:"does not match pattern "+JSON.stringify(r.pattern.toString())}),a}};S.format=function(e,r,n,i){if(e!==void 0){var a=new F(e,r,n,i);return!a.disableFormat&&!Q.isFormat(e,r.format,this)&&a.addError({name:"format",argument:r.format,message:"does not conform to the "+JSON.stringify(r.format)+" format"}),a}};S.minLength=function(e,r,n,i){if(!!this.types.string(e)){var a=new F(e,r,n,i),f=e.match(/[\uDC00-\uDFFF]/g),o=e.length-(f?f.length:0);return o>=r.minLength||a.addError({name:"minLength",argument:r.minLength,message:"does not meet minimum length of "+r.minLength}),a}};S.maxLength=function(e,r,n,i){if(!!this.types.string(e)){var a=new F(e,r,n,i),f=e.match(/[\uDC00-\uDFFF]/g),o=e.length-(f?f.length:0);return o<=r.maxLength||a.addError({name:"maxLength",argument:r.maxLength,message:"does not meet maximum length of "+r.maxLength}),a}};S.minItems=function(e,r,n,i){if(!!this.types.array(e)){var a=new F(e,r,n,i);return e.length>=r.minItems||a.addError({name:"minItems",argument:r.minItems,message:"does not meet minimum length of "+r.minItems}),a}};S.maxItems=function(e,r,n,i){if(!!this.types.array(e)){var a=new F(e,r,n,i);return e.length<=r.maxItems||a.addError({name:"maxItems",argument:r.maxItems,message:"does not meet maximum length of "+r.maxItems}),a}};function ji(t,e,r){var n,i=r.length;for(n=e+1,i;n<i;n++)if(Q.deepCompareStrict(t,r[n]))return!1;return!0}S.uniqueItems=function(e,r,n,i){if(r.uniqueItems===!0&&!!this.types.array(e)){var a=new F(e,r,n,i);return e.every(ji)||a.addError({name:"uniqueItems",message:"contains duplicate item"}),a}};S.dependencies=function(e,r,n,i){if(!!this.types.object(e)){var a=new F(e,r,n,i);for(var f in r.dependencies)if(e[f]!==void 0){var o=r.dependencies[f],s=i.makeChild(o,f);if(typeof o=="string"&&(o=[o]),Array.isArray(o))o.forEach(function(l){e[l]===void 0&&a.addError({name:"dependencies",argument:s.propertyPath,message:"property "+l+" not found, required by "+s.propertyPath})});else{var u=this.validateSchema(e,o,n,s);a.instance!==u.instance&&(a.instance=u.instance),u&&u.errors.length&&(a.addError({name:"dependencies",argument:s.propertyPath,message:"does not meet dependency required by "+s.propertyPath}),a.importErrors(u))}}return a}};S.enum=function(e,r,n,i){if(e===void 0)return null;if(!Array.isArray(r.enum))throw new me("enum expects an array",r);var a=new F(e,r,n,i);return r.enum.some(Q.deepCompareStrict.bind(null,e))||a.addError({name:"enum",argument:r.enum,message:"is not one of enum values: "+r.enum.map(String).join(",")}),a};S.const=function(e,r,n,i){if(e===void 0)return null;var a=new F(e,r,n,i);return Q.deepCompareStrict(r.const,e)||a.addError({name:"const",argument:r.const,message:"does not exactly match expected constant: "+r.const}),a};S.not=S.disallow=function(e,r,n,i){var a=this;if(e===void 0)return null;var f=new F(e,r,n,i),o=r.not||r.disallow;return o?(Array.isArray(o)||(o=[o]),o.forEach(function(s){if(a.testType(e,r,n,i,s)){var u=s&&(s.$id||s.id),l=u||s;f.addError({name:"not",argument:l,message:"is of prohibited type "+l})}}),f):null};mn.exports=Dr});var ar=O((yo,Vr)=>{"use strict";var gn=tr(),Bi=he();Vr.exports.SchemaScanResult=An;function An(t,e){this.id=t,this.ref=e}Vr.exports.scan=function(e,r){function n(s,u){if(!(!u||typeof u!="object")){if(u.$ref){var l=gn.resolve(s,u.$ref);o[l]=o[l]?o[l]+1:0;return}var y=u.$id||u.id,p=y?gn.resolve(s,y):s;if(p){if(p.indexOf("#")<0&&(p+="#"),f[p]){if(!Bi.deepCompareStrict(f[p],u))throw new Error("Schema <"+p+"> already exists with different definition");return f[p]}f[p]=u,p[p.length-1]=="#"&&(f[p.substring(0,p.length-1)]=u)}i(p+"/items",Array.isArray(u.items)?u.items:[u.items]),i(p+"/extends",Array.isArray(u.extends)?u.extends:[u.extends]),n(p+"/additionalItems",u.additionalItems),a(p+"/properties",u.properties),n(p+"/additionalProperties",u.additionalProperties),a(p+"/definitions",u.definitions),a(p+"/patternProperties",u.patternProperties),a(p+"/dependencies",u.dependencies),i(p+"/disallow",u.disallow),i(p+"/allOf",u.allOf),i(p+"/anyOf",u.anyOf),i(p+"/oneOf",u.oneOf),n(p+"/not",u.not)}}function i(s,u){if(!!Array.isArray(u))for(var l=0;l<u.length;l++)n(s+"/"+l,u[l])}function a(s,u){if(!(!u||typeof u!="object"))for(var l in u)n(s+"/"+l,u[l])}var f={},o={};return n(e,r),new An(f,o)}});var $n=O((ho,Pn)=>{"use strict";var bn=tr(),Fn=vn(),we=he(),Sn=ar().scan,wn=we.ValidatorResult,Vi=we.ValidatorResultError,Le=we.SchemaError,xn=we.SchemaContext,En="/",N=function t(){this.customFormats=Object.create(t.prototype.customFormats),this.schemas={},this.unresolvedRefs=[],this.types=Object.create(fe),this.attributes=Object.create(Fn.validators)};N.prototype.customFormats={};N.prototype.schemas=null;N.prototype.types=null;N.prototype.attributes=null;N.prototype.unresolvedRefs=null;N.prototype.addSchema=function(e,r){var n=this;if(!e)return null;var i=Sn(r||En,e),a=r||e.$id||e.id;for(var f in i.id)this.schemas[f]=i.id[f];for(var f in i.ref)this.unresolvedRefs.push(f);return this.unresolvedRefs=this.unresolvedRefs.filter(function(o){return typeof n.schemas[o]=="undefined"}),this.schemas[a]};N.prototype.addSubSchemaArray=function(e,r){if(!!Array.isArray(r))for(var n=0;n<r.length;n++)this.addSubSchema(e,r[n])};N.prototype.addSubSchemaObject=function(e,r){if(!(!r||typeof r!="object"))for(var n in r)this.addSubSchema(e,r[n])};N.prototype.setSchemas=function(e){this.schemas=e};N.prototype.getSchema=function(e){return this.schemas[e]};N.prototype.validate=function(e,r,n,i){if(typeof r!="boolean"&&typeof r!="object"||r===null)throw new Le("Expected `schema` to be an object or boolean");n||(n={});var a=r.$id||r.id,f=bn.resolve(n.base||En,a||"");if(!i){i=new xn(r,n,[],f,Object.create(this.schemas)),i.schemas[f]||(i.schemas[f]=r);var o=Sn(f,r);for(var s in o.id){var u=o.id[s];i.schemas[s]=u}}if(n.required&&e===void 0){var l=new wn(e,r,n,i);return l.addError("is required, but is undefined"),l}var l=this.validateSchema(e,r,n,i);if(l){if(n.throwAll&&l.errors.length)throw new Vi(l)}else throw new Error("Result undefined");return l};function On(t){var e=typeof t=="string"?t:t.$ref;return typeof e=="string"?e:!1}N.prototype.validateSchema=function(e,r,n,i){var a=new wn(e,r,n,i);if(typeof r=="boolean")r===!0?r={}:r===!1&&(r={type:[]});else if(!r)throw new Error("schema is undefined");if(r.extends)if(Array.isArray(r.extends)){var f={schema:r,ctx:i};r.extends.forEach(this.schemaTraverser.bind(this,f)),r=f.schema,f.schema=null,f.ctx=null,f=null}else r=we.deepMerge(r,this.superResolve(r.extends,i));var o=On(r);if(o){var s=this.resolve(r,o,i),u=new xn(s.subschema,n,i.path,s.switchSchema,i.schemas);return this.validateSchema(e,s.subschema,n,u)}var l=n&&n.skipAttributes||[];for(var y in r)if(!Fn.ignoreProperties[y]&&l.indexOf(y)<0){var p=null,h=this.attributes[y];if(h)p=h.call(this,e,r,n,i);else if(n.allowUnknownAttributes===!1)throw new Le("Unsupported attribute: "+y,r);p&&a.importErrors(p)}if(typeof n.rewrite=="function"){var m=n.rewrite.call(this,e,r,n,i);a.instance=m}return a};N.prototype.schemaTraverser=function(e,r){e.schema=we.deepMerge(e.schema,this.superResolve(r,e.ctx))};N.prototype.superResolve=function(e,r){var n=On(e);return n?this.resolve(e,n,r).subschema:e};N.prototype.resolve=function(e,r,n){if(r=n.resolve(r),n.schemas[r])return{subschema:n.schemas[r],switchSchema:r};var i=bn.parse(r),a=i&&i.hash,f=a&&a.length&&r.substr(0,r.length-a.length);if(!f||!n.schemas[f])throw new Le("no such schema <"+r+">",e);var o=we.objectGetPath(n.schemas[f],a.substr(1));if(o===void 0)throw new Le("no such schema "+a+" located in <"+f+">",e);return{subschema:o,switchSchema:r}};N.prototype.testType=function(e,r,n,i,a){if(a!==void 0){if(a===null)throw new Le('Unexpected null in "type" keyword');if(typeof this.types[a]=="function")return this.types[a].call(this,e);if(a&&typeof a=="object"){var f=this.validateSchema(e,a,n,i);return f===void 0||!(f&&f.errors.length)}return!0}};var fe=N.prototype.types={};fe.string=function(e){return typeof e=="string"};fe.number=function(e){return typeof e=="number"&&isFinite(e)};fe.integer=function(e){return typeof e=="number"&&e%1==0};fe.boolean=function(e){return typeof e=="boolean"};fe.array=function(e){return Array.isArray(e)};fe.null=function(e){return e===null};fe.date=function(e){return e instanceof Date};fe.any=function(e){return!0};fe.object=function(e){return e&&typeof e=="object"&&!Array.isArray(e)&&!(e instanceof Date)};Pn.exports=N});var zn=O((mo,le)=>{"use strict";var Ui=le.exports.Validator=$n();le.exports.ValidatorResult=he().ValidatorResult;le.exports.ValidatorResultError=he().ValidatorResultError;le.exports.ValidationError=he().ValidationError;le.exports.SchemaError=he().SchemaError;le.exports.SchemaScanResult=ar().SchemaScanResult;le.exports.scan=ar().scan;le.exports.validate=function(t,e,r){var n=new Ui;return n.validate(t,e,r)}});var ki={};Tn(ki,{createConfigsApi:()=>Li});var In=jn(zn());function Li(t={}){let e=(n,i)=>{var o;let a=`config-${n}`,f=(o=t.retrieve)==null?void 0:o.call(t,a);return typeof f=="object"?Ne(Ne({},i),f):typeof f!="undefined"?f:void 0},r=(n,i,a)=>{let o=new In.Validator().validate(i,n);return o.valid?i:(console.warn("The given configuration does not match the provided schema. Taking the default configuration.",i,o),a)};return n=>(i,a)=>({defineConfigSchema(f,o){let s=e(a.name,o),u=s?r(f,s,o):o;return n.dispatch(l=>fr(Ne({},l),{configs:fr(Ne({},l.configs),{[a.name]:u})})),u},getCurrentConfig(){var f;return(f=n.readState(o=>o.configs[a.name]))!=null?f:{}}})}return ki;})();
7
+ /*! https://mths.be/punycode v1.4.1 by @mathias */