@xwiki/cristal-electron-main 1.8.0 → 1.9.1

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.
Files changed (2) hide show
  1. package/dist/index.cjs +189 -0
  2. package/package.json +8 -8
package/dist/index.cjs ADDED
@@ -0,0 +1,189 @@
1
+ "use strict";require("reflect-metadata");const te=require("electron"),ne=require("node:path"),ye=require("node:process"),$e=require("node:util"),oe=require("node:fs"),an=require("node:crypto"),Jc=require("node:assert"),zi=require("node:os"),sn=require("node:url"),Tt=require("util"),Oe=require("stream"),Pi=require("path"),Pn=require("http"),Xt=require("https"),Tn=require("url"),wv=require("fs"),um=require("crypto"),Sv=require("net"),Ev=require("tls"),pm=require("assert"),_v=require("tty"),Xc=require("node:tty"),dm=require("events"),fm=require("http2"),Ve=require("zlib"),rc=require("process"),Rv=require("buffer");require("reflect-metadata/lite");const kv=require("node:fs/promises");function mm(e,t,n){for(const i of e)t.includes(`${i.role}`)?n.insert(0,i):i.submenu!=null&&mm(i.submenu.items,t,n)}function Av(e){const t=te.Menu.getApplicationMenu(),n=new te.Menu,i=["toggledevtools","resetzoom","zoomin","zoomout","togglefullscreen"];t?.items&&mm(t?.items,i,n),e.setMenu(n),te.Menu.setApplicationMenu(t),e.setMenuBarVisibility(!1)}function bi(e){return e.loadFile(ne.resolve(te.app.getAppPath(),"./renderer/dist/index.html"))}async function $v(){const e=new te.BrowserWindow({webPreferences:{nodeIntegration:!1,contextIsolation:!0,sandbox:!1,webviewTag:!1,preload:ne.join(te.app.getAppPath(),"./preload/dist/index.cjs")}});return Av(e),e.webContents.setWindowOpenHandler(({url:t})=>(te.shell.openExternal(t),{action:"deny"})),e.on("ready-to-show",()=>{e?.show()}),await bi(e),e}async function Lo(){let e=te.BrowserWindow.getAllWindows().find(t=>!t.isDestroyed());return e===void 0&&(e=await $v()),e.isMinimized()&&e.restore(),e.focus(),e}const Ov={FileSystem:{name:"FileSystem",configType:"FileSystem",serverRendering:!1,offline:!1,designSystem:"vuetify",editor:"blocknote"},FileSystemSL:{name:"FileSystemSL",configType:"FileSystem",serverRendering:!1,offline:!1,designSystem:"shoelace",editor:"blocknote"},XWiki:{name:"XWiki",configType:"XWiki",serverRendering:!1,offline:!1,baseURL:"https://cristal-backend.demo.xwiki.com/xwiki",baseRestURL:"/rest/cristal/page?media=json",homePage:"Main.WebHome",designSystem:"vuetify",editor:"blocknote",realtimeURL:"https://cristal.demo.xwiki.com:8093/collaboration"},XWikiSL:{name:"XWikiSL",configType:"XWiki",serverRendering:!1,offline:!1,baseURL:"https://cristal-backend.demo.xwiki.com/xwiki",baseRestURL:"/rest/cristal/page?media=json",homePage:"Main.WebHome",designSystem:"shoelace",editor:"blocknote",realtimeURL:"https://cristal.demo.xwiki.com:8093/collaboration"}},Pv={configuration:Ov},Rt=e=>{const t=typeof e;return e!==null&&(t==="object"||t==="function")},Bi=new Set(["__proto__","prototype","constructor"]),Tv=Math.max(...[...Bi].map(e=>e.length)),hm=1e6,Nv=e=>e>="0"&&e<="9";function vm(e){if(e==="0")return!0;if(/^[1-9]\d*$/.test(e)){const t=Number.parseInt(e,10);return t<=Number.MAX_SAFE_INTEGER&&t<=hm}return!1}function wr(e,t){return Bi.has(e)?!1:(e&&vm(e)?t.push(Number.parseInt(e,10)):t.push(e),!0)}function Cv(e){if(typeof e!="string")throw new TypeError(`Expected a string, got ${typeof e}`);const t=[];let n="",i="",r=!1,s="start",o=!1,l=0;for(const c of e){if(l++,o){n+=c,o=!1;continue}if(c==="\\"){if(s==="index")throw new Error(`Invalid character '${c}' in an index at position ${l}`);if(s==="indexEnd")throw new Error(`Invalid character '${c}' after an index at position ${l}`);o=!0,s=s==="start"?"property":s;continue}switch(c){case".":{if(s==="index")throw new Error(`Invalid character '${c}' in an index at position ${l}`);if(s==="indexEnd"){s="property";break}if(!wr(n,t))return[];n="",s="property";break}case"[":{if(s==="index")throw new Error(`Invalid character '${c}' in an index at position ${l}`);if(s==="indexEnd"){s="index";break}if(s==="property"&&n.length<=Tv&&Bi.has(n))return[];r=s==="property",s="index";break}case"]":{if(s==="indexEnd")throw new Error(`Invalid character '${c}' after an index at position ${l}`);if(s!=="index"){s==="start"&&(s="property"),n+=c;break}if(i===""){n+="[]",s="property";break}if((n!==""||r)&&!wr(n,t))return[];n="",r=!1;const d=Number.parseInt(i,10),a=d<=hm&&i===String(d);t.push(a?d:i),i="",s="indexEnd";break}default:{if(s==="index"){if(!Nv(c))throw new Error(`Invalid character '${c}' in an index at position ${l}`);i+=c;break}if(s==="indexEnd")throw new Error(`Invalid character '${c}' after an index at position ${l}`);s==="start"&&(s="property"),n+=c}}}switch(o&&(n+="\\"),s){case"property":{if(!wr(n,t))return[];break}case"index":throw new Error("Index was not closed");case"start":{t.push("");break}}return t}function Vi(e){if(typeof e=="string")return Cv(e);if(Array.isArray(e)){const t=[];for(const[n,i]of e.entries()){if(typeof i!="string"&&typeof i!="number")throw new TypeError(`Expected a string or number for path segment at index ${n}, got ${typeof i}`);if(typeof i=="number"&&!Number.isFinite(i))throw new TypeError(`Path segment at index ${n} must be a finite number, got ${i}`);if(Bi.has(i))return[];typeof i=="string"&&vm(i)?t.push(Number.parseInt(i,10)):t.push(i)}return t}return[]}function Qc(e,t,n){if(!Rt(e)||typeof t!="string"&&!Array.isArray(t))return n===void 0?e:n;const i=Vi(t);if(i.length===0)return n;for(let r=0;r<i.length;r++){const s=i[r];if(e=e[s],e==null){if(r!==i.length-1)return n;break}}return e===void 0?n:e}function Bn(e,t,n){if(!Rt(e)||typeof t!="string"&&!Array.isArray(t))return e;const i=e,r=Vi(t);if(r.length===0)return e;for(let s=0;s<r.length;s++){const o=r[s];if(s===r.length-1){e[o]=n;continue}const l=e[o];if(Rt(l)){e=l;continue}const d=typeof r[s+1]=="number";e[o]=d?[]:{},e=e[o]}return i}function jv(e,t){if(!Rt(e)||typeof t!="string"&&!Array.isArray(t))return!1;const n=Vi(t);if(n.length===0)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(i===n.length-1)return Object.hasOwn(e,r)?(delete e[r],!0):!1;const s=e[r];if(!Rt(s))return!1;e=s}}function Sr(e,t){if(!Rt(e)||typeof t!="string"&&!Array.isArray(t))return!1;const n=Vi(t);if(n.length===0)return!1;for(const i of n){if(!Rt(e)||!(i in e))return!1;e=e[i]}return!0}const ht=zi.homedir(),ac=zi.tmpdir(),{env:Gt}=ye,Iv=e=>{const t=ne.join(ht,"Library");return{data:ne.join(t,"Application Support",e),config:ne.join(t,"Preferences",e),cache:ne.join(t,"Caches",e),log:ne.join(t,"Logs",e),temp:ne.join(ac,e)}},Lv=e=>{const t=Gt.APPDATA||ne.join(ht,"AppData","Roaming"),n=Gt.LOCALAPPDATA||ne.join(ht,"AppData","Local");return{data:ne.join(n,e,"Data"),config:ne.join(t,e,"Config"),cache:ne.join(n,e,"Cache"),log:ne.join(n,e,"Log"),temp:ne.join(ac,e)}},qv=e=>{const t=ne.basename(ht);return{data:ne.join(Gt.XDG_DATA_HOME||ne.join(ht,".local","share"),e),config:ne.join(Gt.XDG_CONFIG_HOME||ne.join(ht,".config"),e),cache:ne.join(Gt.XDG_CACHE_HOME||ne.join(ht,".cache"),e),log:ne.join(Gt.XDG_STATE_HOME||ne.join(ht,".local","state"),e),temp:ne.join(ac,t,e)}};function Dv(e,{suffix:t="nodejs"}={}){if(typeof e!="string")throw new TypeError(`Expected a string, got ${typeof e}`);return t&&(e+=`-${t}`),ye.platform==="darwin"?Iv(e):ye.platform==="win32"?Lv(e):qv(e)}const lt=(e,t)=>{const{onError:n}=t;return function(...r){return e.apply(void 0,r).catch(n)}},nt=(e,t)=>{const{onError:n}=t;return function(...r){try{return e.apply(void 0,r)}catch(s){return n(s)}}},Fv=250,ut=(e,t)=>{const{isRetriable:n}=t;return function(r){const{timeout:s}=r,o=r.interval??Fv,l=Date.now()+s;return function c(...d){return e.apply(void 0,d).catch(a=>{if(!n(a)||Date.now()>=l)throw a;const p=Math.round(o*Math.random());return p>0?new Promise(f=>setTimeout(f,p)).then(()=>c.apply(void 0,d)):c.apply(void 0,d)})}}},pt=(e,t)=>{const{isRetriable:n}=t;return function(r){const{timeout:s}=r,o=Date.now()+s;return function(...c){for(;;)try{return e.apply(void 0,c)}catch(d){if(!n(d)||Date.now()>=o)throw d;continue}}}},Wt={isChangeErrorOk:e=>{if(!Wt.isNodeError(e))return!1;const{code:t}=e;return t==="ENOSYS"||!Mv&&(t==="EINVAL"||t==="EPERM")},isNodeError:e=>e instanceof Error,isRetriableError:e=>{if(!Wt.isNodeError(e))return!1;const{code:t}=e;return t==="EMFILE"||t==="ENFILE"||t==="EAGAIN"||t==="EBUSY"||t==="EACCESS"||t==="EACCES"||t==="EACCS"||t==="EPERM"},onChangeError:e=>{if(!Wt.isNodeError(e))throw e;if(!Wt.isChangeErrorOk(e))throw e}},Vn={onError:Wt.onChangeError},Ue={onError:()=>{}},Mv=ye.getuid?!ye.getuid():!1,Ce={isRetriable:Wt.isRetriableError},je={attempt:{chmod:lt($e.promisify(oe.chmod),Vn),chown:lt($e.promisify(oe.chown),Vn),close:lt($e.promisify(oe.close),Ue),fsync:lt($e.promisify(oe.fsync),Ue),mkdir:lt($e.promisify(oe.mkdir),Ue),realpath:lt($e.promisify(oe.realpath),Ue),stat:lt($e.promisify(oe.stat),Ue),unlink:lt($e.promisify(oe.unlink),Ue),chmodSync:nt(oe.chmodSync,Vn),chownSync:nt(oe.chownSync,Vn),closeSync:nt(oe.closeSync,Ue),existsSync:nt(oe.existsSync,Ue),fsyncSync:nt(oe.fsync,Ue),mkdirSync:nt(oe.mkdirSync,Ue),realpathSync:nt(oe.realpathSync,Ue),statSync:nt(oe.statSync,Ue),unlinkSync:nt(oe.unlinkSync,Ue)},retry:{close:ut($e.promisify(oe.close),Ce),fsync:ut($e.promisify(oe.fsync),Ce),open:ut($e.promisify(oe.open),Ce),readFile:ut($e.promisify(oe.readFile),Ce),rename:ut($e.promisify(oe.rename),Ce),stat:ut($e.promisify(oe.stat),Ce),write:ut($e.promisify(oe.write),Ce),writeFile:ut($e.promisify(oe.writeFile),Ce),closeSync:pt(oe.closeSync,Ce),fsyncSync:pt(oe.fsyncSync,Ce),openSync:pt(oe.openSync,Ce),readFileSync:pt(oe.readFileSync,Ce),renameSync:pt(oe.renameSync,Ce),statSync:pt(oe.statSync,Ce),writeSync:pt(oe.writeSync,Ce),writeFileSync:pt(oe.writeFileSync,Ce)}},Uv="utf8",Zc=438,zv=511,Bv={},Vv=ye.geteuid?ye.geteuid():-1,Hv=ye.getegid?ye.getegid():-1,Kv=1e3,Gv=!!ye.getuid;ye.getuid&&ye.getuid();const el=128,Wv=e=>e instanceof Error&&"code"in e,tl=e=>typeof e=="string",Er=e=>e===void 0,Yv=ye.platform==="linux",gm=ye.platform==="win32",sc=["SIGHUP","SIGINT","SIGTERM"];gm||sc.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");Yv&&sc.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");class Jv{constructor(){this.callbacks=new Set,this.exited=!1,this.exit=t=>{if(!this.exited){this.exited=!0;for(const n of this.callbacks)n();t&&(gm&&t!=="SIGINT"&&t!=="SIGTERM"&&t!=="SIGKILL"?ye.kill(ye.pid,"SIGTERM"):ye.kill(ye.pid,t))}},this.hook=()=>{ye.once("exit",()=>this.exit());for(const t of sc)try{ye.once(t,()=>this.exit(t))}catch{}},this.register=t=>(this.callbacks.add(t),()=>{this.callbacks.delete(t)}),this.hook()}}const Xv=new Jv,Qv=Xv.register,Ie={store:{},create:e=>{const t=`000000${Math.floor(Math.random()*16777215).toString(16)}`.slice(-6),r=`.tmp-${Date.now().toString().slice(-10)}${t}`;return`${e}${r}`},get:(e,t,n=!0)=>{const i=Ie.truncate(t(e));return i in Ie.store?Ie.get(e,t,n):(Ie.store[i]=n,[i,()=>delete Ie.store[i]])},purge:e=>{Ie.store[e]&&(delete Ie.store[e],je.attempt.unlink(e))},purgeSync:e=>{Ie.store[e]&&(delete Ie.store[e],je.attempt.unlinkSync(e))},purgeSyncAll:()=>{for(const e in Ie.store)Ie.purgeSync(e)},truncate:e=>{const t=ne.basename(e);if(t.length<=el)return e;const n=/^(\.?)(.*?)((?:\.[^.]+)?(?:\.tmp-\d{10}[a-f0-9]{6})?)$/.exec(t);if(!n)return e;const i=t.length-el;return`${e.slice(0,-t.length)}${n[1]}${n[2].slice(0,-i)}${n[3]}`}};Qv(Ie.purgeSyncAll);function ym(e,t,n=Bv){if(tl(n))return ym(e,t,{encoding:n});const r={timeout:n.timeout??Kv};let s=null,o=null,l=null;try{const c=je.attempt.realpathSync(e),d=!!c;e=c||e,[o,s]=Ie.get(e,n.tmpCreate||Ie.create,n.tmpPurge!==!1);const a=Gv&&Er(n.chown),p=Er(n.mode);if(d&&(a||p)){const u=je.attempt.statSync(e);u&&(n={...n},a&&(n.chown={uid:u.uid,gid:u.gid}),p&&(n.mode=u.mode))}if(!d){const u=ne.dirname(e);je.attempt.mkdirSync(u,{mode:zv,recursive:!0})}l=je.retry.openSync(r)(o,"w",n.mode||Zc),n.tmpCreated&&n.tmpCreated(o),tl(t)?je.retry.writeSync(r)(l,t,0,n.encoding||Uv):Er(t)||je.retry.writeSync(r)(l,t,0,t.length,0),n.fsync!==!1&&(n.fsyncWait!==!1?je.retry.fsyncSync(r)(l):je.attempt.fsync(l)),je.retry.closeSync(r)(l),l=null,n.chown&&(n.chown.uid!==Vv||n.chown.gid!==Hv)&&je.attempt.chownSync(o,n.chown.uid,n.chown.gid),n.mode&&n.mode!==Zc&&je.attempt.chmodSync(o,n.mode);try{je.retry.renameSync(r)(o,e)}catch(u){if(!Wv(u)||u.code!=="ENAMETOOLONG")throw u;je.retry.renameSync(r)(o,Ie.truncate(e))}s(),o=null}finally{l&&je.attempt.closeSync(l),o&&Ie.purge(o)}}function Nn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Zv(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function i(){var r=!1;try{r=this instanceof i}catch{}return r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,r.get?r:{enumerable:!0,get:function(){return e[i]}})}),n}var Hn={exports:{}},_r={},it={},bt={},Rr={},kr={},Ar={},nl;function Ti(){return nl||(nl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class n extends t{constructor(g){if(super(),!e.IDENTIFIER.test(g))throw new Error("CodeGen: name must be a valid identifier");this.str=g}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=n;class i extends t{constructor(g){super(),this._items=typeof g=="string"?[g]:g}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const g=this._items[0];return g===""||g==='""'}get str(){var g;return(g=this._str)!==null&&g!==void 0?g:this._str=this._items.reduce((b,S)=>`${b}${S}`,"")}get names(){var g;return(g=this._names)!==null&&g!==void 0?g:this._names=this._items.reduce((b,S)=>(S instanceof n&&(b[S.str]=(b[S.str]||0)+1),b),{})}}e._Code=i,e.nil=new i("");function r(y,...g){const b=[y[0]];let S=0;for(;S<g.length;)l(b,g[S]),b.push(y[++S]);return new i(b)}e._=r;const s=new i("+");function o(y,...g){const b=[f(y[0])];let S=0;for(;S<g.length;)b.push(s),l(b,g[S]),b.push(s,f(y[++S]));return c(b),new i(b)}e.str=o;function l(y,g){g instanceof i?y.push(...g._items):g instanceof n?y.push(g):y.push(p(g))}e.addCodeArg=l;function c(y){let g=1;for(;g<y.length-1;){if(y[g]===s){const b=d(y[g-1],y[g+1]);if(b!==void 0){y.splice(g-1,3,b);continue}y[g++]="+"}g++}}function d(y,g){if(g==='""')return y;if(y==='""')return g;if(typeof y=="string")return g instanceof n||y[y.length-1]!=='"'?void 0:typeof g!="string"?`${y.slice(0,-1)}${g}"`:g[0]==='"'?y.slice(0,-1)+g.slice(1):void 0;if(typeof g=="string"&&g[0]==='"'&&!(y instanceof n))return`"${y}${g.slice(1)}`}function a(y,g){return g.emptyStr()?y:y.emptyStr()?g:o`${y}${g}`}e.strConcat=a;function p(y){return typeof y=="number"||typeof y=="boolean"||y===null?y:f(Array.isArray(y)?y.join(","):y)}function u(y){return new i(f(y))}e.stringify=u;function f(y){return JSON.stringify(y).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=f;function v(y){return typeof y=="string"&&e.IDENTIFIER.test(y)?new i(`.${y}`):r`[${y}]`}e.getProperty=v;function m(y){if(typeof y=="string"&&e.IDENTIFIER.test(y))return new i(`${y}`);throw new Error(`CodeGen: invalid export name: ${y}, use explicit $id name mapping`)}e.getEsmExportName=m;function h(y){return new i(y.toString())}e.regexpCode=h})(Ar)),Ar}var $r={},il;function rl(){return il||(il=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Ti();class n extends Error{constructor(d){super(`CodeGen: "code" for ${d} not defined`),this.value=d.value}}var i;(function(c){c[c.Started=0]="Started",c[c.Completed=1]="Completed"})(i||(e.UsedValueState=i={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class r{constructor({prefixes:d,parent:a}={}){this._names={},this._prefixes=d,this._parent=a}toName(d){return d instanceof t.Name?d:this.name(d)}name(d){return new t.Name(this._newName(d))}_newName(d){const a=this._names[d]||this._nameGroup(d);return`${d}${a.index++}`}_nameGroup(d){var a,p;if(!((p=(a=this._parent)===null||a===void 0?void 0:a._prefixes)===null||p===void 0)&&p.has(d)||this._prefixes&&!this._prefixes.has(d))throw new Error(`CodeGen: prefix "${d}" is not allowed in this scope`);return this._names[d]={prefix:d,index:0}}}e.Scope=r;class s extends t.Name{constructor(d,a){super(a),this.prefix=d}setValue(d,{property:a,itemIndex:p}){this.value=d,this.scopePath=(0,t._)`.${new t.Name(a)}[${p}]`}}e.ValueScopeName=s;const o=(0,t._)`\n`;class l extends r{constructor(d){super(d),this._values={},this._scope=d.scope,this.opts={...d,_n:d.lines?o:t.nil}}get(){return this._scope}name(d){return new s(d,this._newName(d))}value(d,a){var p;if(a.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const u=this.toName(d),{prefix:f}=u,v=(p=a.key)!==null&&p!==void 0?p:a.ref;let m=this._values[f];if(m){const g=m.get(v);if(g)return g}else m=this._values[f]=new Map;m.set(v,u);const h=this._scope[f]||(this._scope[f]=[]),y=h.length;return h[y]=a.ref,u.setValue(a,{property:f,itemIndex:y}),u}getValue(d,a){const p=this._values[d];if(p)return p.get(a)}scopeRefs(d,a=this._values){return this._reduceValues(a,p=>{if(p.scopePath===void 0)throw new Error(`CodeGen: name "${p}" has no value`);return(0,t._)`${d}${p.scopePath}`})}scopeCode(d=this._values,a,p){return this._reduceValues(d,u=>{if(u.value===void 0)throw new Error(`CodeGen: name "${u}" has no value`);return u.value.code},a,p)}_reduceValues(d,a,p={},u){let f=t.nil;for(const v in d){const m=d[v];if(!m)continue;const h=p[v]=p[v]||new Map;m.forEach(y=>{if(h.has(y))return;h.set(y,i.Started);let g=a(y);if(g){const b=this.opts.es5?e.varKinds.var:e.varKinds.const;f=(0,t._)`${f}${b} ${y} = ${g};${this.opts._n}`}else if(g=u?.(y))f=(0,t._)`${f}${g}${this.opts._n}`;else throw new n(y);h.set(y,i.Completed)})}return f}}e.ValueScope=l})($r)),$r}var al;function Pe(){return al||(al=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=Ti(),n=rl();var i=Ti();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return i.Name}});var r=rl();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return r.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return r.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return r.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return r.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class s{optimizeNodes(){return this}optimizeNames(R,P){return this}}class o extends s{constructor(R,P,L){super(),this.varKind=R,this.name=P,this.rhs=L}render({es5:R,_n:P}){const L=R?n.varKinds.var:this.varKind,W=this.rhs===void 0?"":` = ${this.rhs}`;return`${L} ${this.name}${W};`+P}optimizeNames(R,P){if(R[this.name.str])return this.rhs&&(this.rhs=V(this.rhs,R,P)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class l extends s{constructor(R,P,L){super(),this.lhs=R,this.rhs=P,this.sideEffects=L}render({_n:R}){return`${this.lhs} = ${this.rhs};`+R}optimizeNames(R,P){if(!(this.lhs instanceof t.Name&&!R[this.lhs.str]&&!this.sideEffects))return this.rhs=V(this.rhs,R,P),this}get names(){const R=this.lhs instanceof t.Name?{}:{...this.lhs.names};return H(R,this.rhs)}}class c extends l{constructor(R,P,L,W){super(R,L,W),this.op=P}render({_n:R}){return`${this.lhs} ${this.op}= ${this.rhs};`+R}}class d extends s{constructor(R){super(),this.label=R,this.names={}}render({_n:R}){return`${this.label}:`+R}}class a extends s{constructor(R){super(),this.label=R,this.names={}}render({_n:R}){return`break${this.label?` ${this.label}`:""};`+R}}class p extends s{constructor(R){super(),this.error=R}render({_n:R}){return`throw ${this.error};`+R}get names(){return this.error.names}}class u extends s{constructor(R){super(),this.code=R}render({_n:R}){return`${this.code};`+R}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(R,P){return this.code=V(this.code,R,P),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class f extends s{constructor(R=[]){super(),this.nodes=R}render(R){return this.nodes.reduce((P,L)=>P+L.render(R),"")}optimizeNodes(){const{nodes:R}=this;let P=R.length;for(;P--;){const L=R[P].optimizeNodes();Array.isArray(L)?R.splice(P,1,...L):L?R[P]=L:R.splice(P,1)}return R.length>0?this:void 0}optimizeNames(R,P){const{nodes:L}=this;let W=L.length;for(;W--;){const K=L[W];K.optimizeNames(R,P)||(Q(R,K.names),L.splice(W,1))}return L.length>0?this:void 0}get names(){return this.nodes.reduce((R,P)=>M(R,P.names),{})}}class v extends f{render(R){return"{"+R._n+super.render(R)+"}"+R._n}}class m extends f{}class h extends v{}h.kind="else";class y extends v{constructor(R,P){super(P),this.condition=R}render(R){let P=`if(${this.condition})`+super.render(R);return this.else&&(P+="else "+this.else.render(R)),P}optimizeNodes(){super.optimizeNodes();const R=this.condition;if(R===!0)return this.nodes;let P=this.else;if(P){const L=P.optimizeNodes();P=this.else=Array.isArray(L)?new h(L):L}if(P)return R===!1?P instanceof y?P:P.nodes:this.nodes.length?this:new y(ie(R),P instanceof y?[P]:P.nodes);if(!(R===!1||!this.nodes.length))return this}optimizeNames(R,P){var L;if(this.else=(L=this.else)===null||L===void 0?void 0:L.optimizeNames(R,P),!!(super.optimizeNames(R,P)||this.else))return this.condition=V(this.condition,R,P),this}get names(){const R=super.names;return H(R,this.condition),this.else&&M(R,this.else.names),R}}y.kind="if";class g extends v{}g.kind="for";class b extends g{constructor(R){super(),this.iteration=R}render(R){return`for(${this.iteration})`+super.render(R)}optimizeNames(R,P){if(super.optimizeNames(R,P))return this.iteration=V(this.iteration,R,P),this}get names(){return M(super.names,this.iteration.names)}}class S extends g{constructor(R,P,L,W){super(),this.varKind=R,this.name=P,this.from=L,this.to=W}render(R){const P=R.es5?n.varKinds.var:this.varKind,{name:L,from:W,to:K}=this;return`for(${P} ${L}=${W}; ${L}<${K}; ${L}++)`+super.render(R)}get names(){const R=H(super.names,this.from);return H(R,this.to)}}class x extends g{constructor(R,P,L,W){super(),this.loop=R,this.varKind=P,this.name=L,this.iterable=W}render(R){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(R)}optimizeNames(R,P){if(super.optimizeNames(R,P))return this.iterable=V(this.iterable,R,P),this}get names(){return M(super.names,this.iterable.names)}}class k extends v{constructor(R,P,L){super(),this.name=R,this.args=P,this.async=L}render(R){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(R)}}k.kind="func";class O extends f{render(R){return"return "+super.render(R)}}O.kind="return";class N extends v{render(R){let P="try"+super.render(R);return this.catch&&(P+=this.catch.render(R)),this.finally&&(P+=this.finally.render(R)),P}optimizeNodes(){var R,P;return super.optimizeNodes(),(R=this.catch)===null||R===void 0||R.optimizeNodes(),(P=this.finally)===null||P===void 0||P.optimizeNodes(),this}optimizeNames(R,P){var L,W;return super.optimizeNames(R,P),(L=this.catch)===null||L===void 0||L.optimizeNames(R,P),(W=this.finally)===null||W===void 0||W.optimizeNames(R,P),this}get names(){const R=super.names;return this.catch&&M(R,this.catch.names),this.finally&&M(R,this.finally.names),R}}class C extends v{constructor(R){super(),this.error=R}render(R){return`catch(${this.error})`+super.render(R)}}C.kind="catch";class D extends v{render(R){return"finally"+super.render(R)}}D.kind="finally";class j{constructor(R,P={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...P,_n:P.lines?`
2
+ `:""},this._extScope=R,this._scope=new n.Scope({parent:R}),this._nodes=[new m]}toString(){return this._root.render(this.opts)}name(R){return this._scope.name(R)}scopeName(R){return this._extScope.name(R)}scopeValue(R,P){const L=this._extScope.value(R,P);return(this._values[L.prefix]||(this._values[L.prefix]=new Set)).add(L),L}getScopeValue(R,P){return this._extScope.getValue(R,P)}scopeRefs(R){return this._extScope.scopeRefs(R,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(R,P,L,W){const K=this._scope.toName(P);return L!==void 0&&W&&(this._constants[K.str]=L),this._leafNode(new o(R,K,L)),K}const(R,P,L){return this._def(n.varKinds.const,R,P,L)}let(R,P,L){return this._def(n.varKinds.let,R,P,L)}var(R,P,L){return this._def(n.varKinds.var,R,P,L)}assign(R,P,L){return this._leafNode(new l(R,P,L))}add(R,P){return this._leafNode(new c(R,e.operators.ADD,P))}code(R){return typeof R=="function"?R():R!==t.nil&&this._leafNode(new u(R)),this}object(...R){const P=["{"];for(const[L,W]of R)P.length>1&&P.push(","),P.push(L),(L!==W||this.opts.es5)&&(P.push(":"),(0,t.addCodeArg)(P,W));return P.push("}"),new t._Code(P)}if(R,P,L){if(this._blockNode(new y(R)),P&&L)this.code(P).else().code(L).endIf();else if(P)this.code(P).endIf();else if(L)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(R){return this._elseNode(new y(R))}else(){return this._elseNode(new h)}endIf(){return this._endBlockNode(y,h)}_for(R,P){return this._blockNode(R),P&&this.code(P).endFor(),this}for(R,P){return this._for(new b(R),P)}forRange(R,P,L,W,K=this.opts.es5?n.varKinds.var:n.varKinds.let){const X=this._scope.toName(R);return this._for(new S(K,X,P,L),()=>W(X))}forOf(R,P,L,W=n.varKinds.const){const K=this._scope.toName(R);if(this.opts.es5){const X=P instanceof t.Name?P:this.var("_arr",P);return this.forRange("_i",0,(0,t._)`${X}.length`,Y=>{this.var(K,(0,t._)`${X}[${Y}]`),L(K)})}return this._for(new x("of",W,K,P),()=>L(K))}forIn(R,P,L,W=this.opts.es5?n.varKinds.var:n.varKinds.const){if(this.opts.ownProperties)return this.forOf(R,(0,t._)`Object.keys(${P})`,L);const K=this._scope.toName(R);return this._for(new x("in",W,K,P),()=>L(K))}endFor(){return this._endBlockNode(g)}label(R){return this._leafNode(new d(R))}break(R){return this._leafNode(new a(R))}return(R){const P=new O;if(this._blockNode(P),this.code(R),P.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(O)}try(R,P,L){if(!P&&!L)throw new Error('CodeGen: "try" without "catch" and "finally"');const W=new N;if(this._blockNode(W),this.code(R),P){const K=this.name("e");this._currNode=W.catch=new C(K),P(K)}return L&&(this._currNode=W.finally=new D,this.code(L)),this._endBlockNode(C,D)}throw(R){return this._leafNode(new p(R))}block(R,P){return this._blockStarts.push(this._nodes.length),R&&this.code(R).endBlock(P),this}endBlock(R){const P=this._blockStarts.pop();if(P===void 0)throw new Error("CodeGen: not in self-balancing block");const L=this._nodes.length-P;if(L<0||R!==void 0&&L!==R)throw new Error(`CodeGen: wrong number of nodes: ${L} vs ${R} expected`);return this._nodes.length=P,this}func(R,P=t.nil,L,W){return this._blockNode(new k(R,P,L)),W&&this.code(W).endFunc(),this}endFunc(){return this._endBlockNode(k)}optimize(R=1){for(;R-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(R){return this._currNode.nodes.push(R),this}_blockNode(R){this._currNode.nodes.push(R),this._nodes.push(R)}_endBlockNode(R,P){const L=this._currNode;if(L instanceof R||P&&L instanceof P)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${P?`${R.kind}/${P.kind}`:R.kind}"`)}_elseNode(R){const P=this._currNode;if(!(P instanceof y))throw new Error('CodeGen: "else" without "if"');return this._currNode=P.else=R,this}get _root(){return this._nodes[0]}get _currNode(){const R=this._nodes;return R[R.length-1]}set _currNode(R){const P=this._nodes;P[P.length-1]=R}}e.CodeGen=j;function M($,R){for(const P in R)$[P]=($[P]||0)+(R[P]||0);return $}function H($,R){return R instanceof t._CodeOrName?M($,R.names):$}function V($,R,P){if($ instanceof t.Name)return L($);if(!W($))return $;return new t._Code($._items.reduce((K,X)=>(X instanceof t.Name&&(X=L(X)),X instanceof t._Code?K.push(...X._items):K.push(X),K),[]));function L(K){const X=P[K.str];return X===void 0||R[K.str]!==1?K:(delete R[K.str],X)}function W(K){return K instanceof t._Code&&K._items.some(X=>X instanceof t.Name&&R[X.str]===1&&P[X.str]!==void 0)}}function Q($,R){for(const P in R)$[P]=($[P]||0)-(R[P]||0)}function ie($){return typeof $=="boolean"||typeof $=="number"||$===null?!$:(0,t._)`!${A($)}`}e.not=ie;const U=w(e.operators.AND);function z(...$){return $.reduce(U)}e.and=z;const E=w(e.operators.OR);function _(...$){return $.reduce(E)}e.or=_;function w($){return(R,P)=>R===t.nil?P:P===t.nil?R:(0,t._)`${A(R)} ${$} ${A(P)}`}function A($){return $ instanceof t.Name?$:(0,t._)`(${$})`}})(kr)),kr}var ue={},sl;function We(){if(sl)return ue;sl=1,Object.defineProperty(ue,"__esModule",{value:!0}),ue.checkStrictMode=ue.getErrorPath=ue.Type=ue.useFunc=ue.setEvaluated=ue.evaluatedPropsToName=ue.mergeEvaluated=ue.eachItem=ue.unescapeJsonPointer=ue.escapeJsonPointer=ue.escapeFragment=ue.unescapeFragment=ue.schemaRefOrVal=ue.schemaHasRulesButRef=ue.schemaHasRules=ue.checkUnknownRules=ue.alwaysValidSchema=ue.toHash=void 0;const e=Pe(),t=Ti();function n(x){const k={};for(const O of x)k[O]=!0;return k}ue.toHash=n;function i(x,k){return typeof k=="boolean"?k:Object.keys(k).length===0?!0:(r(x,k),!s(k,x.self.RULES.all))}ue.alwaysValidSchema=i;function r(x,k=x.schema){const{opts:O,self:N}=x;if(!O.strictSchema||typeof k=="boolean")return;const C=N.RULES.keywords;for(const D in k)C[D]||S(x,`unknown keyword: "${D}"`)}ue.checkUnknownRules=r;function s(x,k){if(typeof x=="boolean")return!x;for(const O in x)if(k[O])return!0;return!1}ue.schemaHasRules=s;function o(x,k){if(typeof x=="boolean")return!x;for(const O in x)if(O!=="$ref"&&k.all[O])return!0;return!1}ue.schemaHasRulesButRef=o;function l({topSchemaRef:x,schemaPath:k},O,N,C){if(!C){if(typeof O=="number"||typeof O=="boolean")return O;if(typeof O=="string")return(0,e._)`${O}`}return(0,e._)`${x}${k}${(0,e.getProperty)(N)}`}ue.schemaRefOrVal=l;function c(x){return p(decodeURIComponent(x))}ue.unescapeFragment=c;function d(x){return encodeURIComponent(a(x))}ue.escapeFragment=d;function a(x){return typeof x=="number"?`${x}`:x.replace(/~/g,"~0").replace(/\//g,"~1")}ue.escapeJsonPointer=a;function p(x){return x.replace(/~1/g,"/").replace(/~0/g,"~")}ue.unescapeJsonPointer=p;function u(x,k){if(Array.isArray(x))for(const O of x)k(O);else k(x)}ue.eachItem=u;function f({mergeNames:x,mergeToName:k,mergeValues:O,resultToName:N}){return(C,D,j,M)=>{const H=j===void 0?D:j instanceof e.Name?(D instanceof e.Name?x(C,D,j):k(C,D,j),j):D instanceof e.Name?(k(C,j,D),D):O(D,j);return M===e.Name&&!(H instanceof e.Name)?N(C,H):H}}ue.mergeEvaluated={props:f({mergeNames:(x,k,O)=>x.if((0,e._)`${O} !== true && ${k} !== undefined`,()=>{x.if((0,e._)`${k} === true`,()=>x.assign(O,!0),()=>x.assign(O,(0,e._)`${O} || {}`).code((0,e._)`Object.assign(${O}, ${k})`))}),mergeToName:(x,k,O)=>x.if((0,e._)`${O} !== true`,()=>{k===!0?x.assign(O,!0):(x.assign(O,(0,e._)`${O} || {}`),m(x,O,k))}),mergeValues:(x,k)=>x===!0?!0:{...x,...k},resultToName:v}),items:f({mergeNames:(x,k,O)=>x.if((0,e._)`${O} !== true && ${k} !== undefined`,()=>x.assign(O,(0,e._)`${k} === true ? true : ${O} > ${k} ? ${O} : ${k}`)),mergeToName:(x,k,O)=>x.if((0,e._)`${O} !== true`,()=>x.assign(O,k===!0?!0:(0,e._)`${O} > ${k} ? ${O} : ${k}`)),mergeValues:(x,k)=>x===!0?!0:Math.max(x,k),resultToName:(x,k)=>x.var("items",k)})};function v(x,k){if(k===!0)return x.var("props",!0);const O=x.var("props",(0,e._)`{}`);return k!==void 0&&m(x,O,k),O}ue.evaluatedPropsToName=v;function m(x,k,O){Object.keys(O).forEach(N=>x.assign((0,e._)`${k}${(0,e.getProperty)(N)}`,!0))}ue.setEvaluated=m;const h={};function y(x,k){return x.scopeValue("func",{ref:k,code:h[k.code]||(h[k.code]=new t._Code(k.code))})}ue.useFunc=y;var g;(function(x){x[x.Num=0]="Num",x[x.Str=1]="Str"})(g||(ue.Type=g={}));function b(x,k,O){if(x instanceof e.Name){const N=k===g.Num;return O?N?(0,e._)`"[" + ${x} + "]"`:(0,e._)`"['" + ${x} + "']"`:N?(0,e._)`"/" + ${x}`:(0,e._)`"/" + ${x}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return O?(0,e.getProperty)(x).toString():"/"+a(x)}ue.getErrorPath=b;function S(x,k,O=x.opts.strictSchema){if(O){if(k=`strict mode: ${k}`,O===!0)throw new Error(k);x.self.logger.warn(k)}}return ue.checkStrictMode=S,ue}var Kn={},ol;function Qt(){if(ol)return Kn;ol=1,Object.defineProperty(Kn,"__esModule",{value:!0});const e=Pe(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return Kn.default=t,Kn}var cl;function Hi(){return cl||(cl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=Pe(),n=We(),i=Qt();e.keywordError={message:({keyword:h})=>(0,t.str)`must pass "${h}" keyword validation`},e.keyword$DataError={message:({keyword:h,schemaType:y})=>y?(0,t.str)`"${h}" keyword must be ${y} ($data)`:(0,t.str)`"${h}" keyword is invalid ($data)`};function r(h,y=e.keywordError,g,b){const{it:S}=h,{gen:x,compositeRule:k,allErrors:O}=S,N=p(h,y,g);b??(k||O)?c(x,N):d(S,(0,t._)`[${N}]`)}e.reportError=r;function s(h,y=e.keywordError,g){const{it:b}=h,{gen:S,compositeRule:x,allErrors:k}=b,O=p(h,y,g);c(S,O),x||k||d(b,i.default.vErrors)}e.reportExtraError=s;function o(h,y){h.assign(i.default.errors,y),h.if((0,t._)`${i.default.vErrors} !== null`,()=>h.if(y,()=>h.assign((0,t._)`${i.default.vErrors}.length`,y),()=>h.assign(i.default.vErrors,null)))}e.resetErrorsCount=o;function l({gen:h,keyword:y,schemaValue:g,data:b,errsCount:S,it:x}){if(S===void 0)throw new Error("ajv implementation error");const k=h.name("err");h.forRange("i",S,i.default.errors,O=>{h.const(k,(0,t._)`${i.default.vErrors}[${O}]`),h.if((0,t._)`${k}.instancePath === undefined`,()=>h.assign((0,t._)`${k}.instancePath`,(0,t.strConcat)(i.default.instancePath,x.errorPath))),h.assign((0,t._)`${k}.schemaPath`,(0,t.str)`${x.errSchemaPath}/${y}`),x.opts.verbose&&(h.assign((0,t._)`${k}.schema`,g),h.assign((0,t._)`${k}.data`,b))})}e.extendErrors=l;function c(h,y){const g=h.const("err",y);h.if((0,t._)`${i.default.vErrors} === null`,()=>h.assign(i.default.vErrors,(0,t._)`[${g}]`),(0,t._)`${i.default.vErrors}.push(${g})`),h.code((0,t._)`${i.default.errors}++`)}function d(h,y){const{gen:g,validateName:b,schemaEnv:S}=h;S.$async?g.throw((0,t._)`new ${h.ValidationError}(${y})`):(g.assign((0,t._)`${b}.errors`,y),g.return(!1))}const a={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function p(h,y,g){const{createErrors:b}=h.it;return b===!1?(0,t._)`{}`:u(h,y,g)}function u(h,y,g={}){const{gen:b,it:S}=h,x=[f(S,g),v(h,g)];return m(h,y,x),b.object(...x)}function f({errorPath:h},{instancePath:y}){const g=y?(0,t.str)`${h}${(0,n.getErrorPath)(y,n.Type.Str)}`:h;return[i.default.instancePath,(0,t.strConcat)(i.default.instancePath,g)]}function v({keyword:h,it:{errSchemaPath:y}},{schemaPath:g,parentSchema:b}){let S=b?y:(0,t.str)`${y}/${h}`;return g&&(S=(0,t.str)`${S}${(0,n.getErrorPath)(g,n.Type.Str)}`),[a.schemaPath,S]}function m(h,{params:y,message:g},b){const{keyword:S,data:x,schemaValue:k,it:O}=h,{opts:N,propertyName:C,topSchemaRef:D,schemaPath:j}=O;b.push([a.keyword,S],[a.params,typeof y=="function"?y(h):y||(0,t._)`{}`]),N.messages&&b.push([a.message,typeof g=="function"?g(h):g]),N.verbose&&b.push([a.schema,k],[a.parentSchema,(0,t._)`${D}${j}`],[i.default.data,x]),C&&b.push([a.propertyName,C])}})(Rr)),Rr}var ll;function eg(){if(ll)return bt;ll=1,Object.defineProperty(bt,"__esModule",{value:!0}),bt.boolOrEmptySchema=bt.topBoolOrEmptySchema=void 0;const e=Hi(),t=Pe(),n=Qt(),i={message:"boolean schema is false"};function r(l){const{gen:c,schema:d,validateName:a}=l;d===!1?o(l,!1):typeof d=="object"&&d.$async===!0?c.return(n.default.data):(c.assign((0,t._)`${a}.errors`,null),c.return(!0))}bt.topBoolOrEmptySchema=r;function s(l,c){const{gen:d,schema:a}=l;a===!1?(d.var(c,!1),o(l)):d.var(c,!0)}bt.boolOrEmptySchema=s;function o(l,c){const{gen:d,data:a}=l,p={gen:d,keyword:"false schema",data:a,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:l};(0,e.reportError)(p,i,void 0,c)}return bt}var Te={},wt={},ul;function xm(){if(ul)return wt;ul=1,Object.defineProperty(wt,"__esModule",{value:!0}),wt.getRules=wt.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function n(r){return typeof r=="string"&&t.has(r)}wt.isJSONType=n;function i(){const r={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...r,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},r.number,r.string,r.array,r.object],post:{rules:[]},all:{},keywords:{}}}return wt.getRules=i,wt}var rt={},pl;function bm(){if(pl)return rt;pl=1,Object.defineProperty(rt,"__esModule",{value:!0}),rt.shouldUseRule=rt.shouldUseGroup=rt.schemaHasRulesForType=void 0;function e({schema:i,self:r},s){const o=r.RULES.types[s];return o&&o!==!0&&t(i,o)}rt.schemaHasRulesForType=e;function t(i,r){return r.rules.some(s=>n(i,s))}rt.shouldUseGroup=t;function n(i,r){var s;return i[r.keyword]!==void 0||((s=r.definition.implements)===null||s===void 0?void 0:s.some(o=>i[o]!==void 0))}return rt.shouldUseRule=n,rt}var dl;function qo(){if(dl)return Te;dl=1,Object.defineProperty(Te,"__esModule",{value:!0}),Te.reportTypeError=Te.checkDataTypes=Te.checkDataType=Te.coerceAndCheckDataType=Te.getJSONTypes=Te.getSchemaTypes=Te.DataType=void 0;const e=xm(),t=bm(),n=Hi(),i=Pe(),r=We();var s;(function(g){g[g.Correct=0]="Correct",g[g.Wrong=1]="Wrong"})(s||(Te.DataType=s={}));function o(g){const b=l(g.type);if(b.includes("null")){if(g.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!b.length&&g.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');g.nullable===!0&&b.push("null")}return b}Te.getSchemaTypes=o;function l(g){const b=Array.isArray(g)?g:g?[g]:[];if(b.every(e.isJSONType))return b;throw new Error("type must be JSONType or JSONType[]: "+b.join(","))}Te.getJSONTypes=l;function c(g,b){const{gen:S,data:x,opts:k}=g,O=a(b,k.coerceTypes),N=b.length>0&&!(O.length===0&&b.length===1&&(0,t.schemaHasRulesForType)(g,b[0]));if(N){const C=v(b,x,k.strictNumbers,s.Wrong);S.if(C,()=>{O.length?p(g,b,O):h(g)})}return N}Te.coerceAndCheckDataType=c;const d=new Set(["string","number","integer","boolean","null"]);function a(g,b){return b?g.filter(S=>d.has(S)||b==="array"&&S==="array"):[]}function p(g,b,S){const{gen:x,data:k,opts:O}=g,N=x.let("dataType",(0,i._)`typeof ${k}`),C=x.let("coerced",(0,i._)`undefined`);O.coerceTypes==="array"&&x.if((0,i._)`${N} == 'object' && Array.isArray(${k}) && ${k}.length == 1`,()=>x.assign(k,(0,i._)`${k}[0]`).assign(N,(0,i._)`typeof ${k}`).if(v(b,k,O.strictNumbers),()=>x.assign(C,k))),x.if((0,i._)`${C} !== undefined`);for(const j of S)(d.has(j)||j==="array"&&O.coerceTypes==="array")&&D(j);x.else(),h(g),x.endIf(),x.if((0,i._)`${C} !== undefined`,()=>{x.assign(k,C),u(g,C)});function D(j){switch(j){case"string":x.elseIf((0,i._)`${N} == "number" || ${N} == "boolean"`).assign(C,(0,i._)`"" + ${k}`).elseIf((0,i._)`${k} === null`).assign(C,(0,i._)`""`);return;case"number":x.elseIf((0,i._)`${N} == "boolean" || ${k} === null
3
+ || (${N} == "string" && ${k} && ${k} == +${k})`).assign(C,(0,i._)`+${k}`);return;case"integer":x.elseIf((0,i._)`${N} === "boolean" || ${k} === null
4
+ || (${N} === "string" && ${k} && ${k} == +${k} && !(${k} % 1))`).assign(C,(0,i._)`+${k}`);return;case"boolean":x.elseIf((0,i._)`${k} === "false" || ${k} === 0 || ${k} === null`).assign(C,!1).elseIf((0,i._)`${k} === "true" || ${k} === 1`).assign(C,!0);return;case"null":x.elseIf((0,i._)`${k} === "" || ${k} === 0 || ${k} === false`),x.assign(C,null);return;case"array":x.elseIf((0,i._)`${N} === "string" || ${N} === "number"
5
+ || ${N} === "boolean" || ${k} === null`).assign(C,(0,i._)`[${k}]`)}}}function u({gen:g,parentData:b,parentDataProperty:S},x){g.if((0,i._)`${b} !== undefined`,()=>g.assign((0,i._)`${b}[${S}]`,x))}function f(g,b,S,x=s.Correct){const k=x===s.Correct?i.operators.EQ:i.operators.NEQ;let O;switch(g){case"null":return(0,i._)`${b} ${k} null`;case"array":O=(0,i._)`Array.isArray(${b})`;break;case"object":O=(0,i._)`${b} && typeof ${b} == "object" && !Array.isArray(${b})`;break;case"integer":O=N((0,i._)`!(${b} % 1) && !isNaN(${b})`);break;case"number":O=N();break;default:return(0,i._)`typeof ${b} ${k} ${g}`}return x===s.Correct?O:(0,i.not)(O);function N(C=i.nil){return(0,i.and)((0,i._)`typeof ${b} == "number"`,C,S?(0,i._)`isFinite(${b})`:i.nil)}}Te.checkDataType=f;function v(g,b,S,x){if(g.length===1)return f(g[0],b,S,x);let k;const O=(0,r.toHash)(g);if(O.array&&O.object){const N=(0,i._)`typeof ${b} != "object"`;k=O.null?N:(0,i._)`!${b} || ${N}`,delete O.null,delete O.array,delete O.object}else k=i.nil;O.number&&delete O.integer;for(const N in O)k=(0,i.and)(k,f(N,b,S,x));return k}Te.checkDataTypes=v;const m={message:({schema:g})=>`must be ${g}`,params:({schema:g,schemaValue:b})=>typeof g=="string"?(0,i._)`{type: ${g}}`:(0,i._)`{type: ${b}}`};function h(g){const b=y(g);(0,n.reportError)(b,m)}Te.reportTypeError=h;function y(g){const{gen:b,data:S,schema:x}=g,k=(0,r.schemaRefOrVal)(g,x,"type");return{gen:b,keyword:"type",data:S,schema:x.type,schemaCode:k,schemaValue:k,parentSchema:x,params:{},it:g}}return Te}var on={},fl;function tg(){if(fl)return on;fl=1,Object.defineProperty(on,"__esModule",{value:!0}),on.assignDefaults=void 0;const e=Pe(),t=We();function n(r,s){const{properties:o,items:l}=r.schema;if(s==="object"&&o)for(const c in o)i(r,c,o[c].default);else s==="array"&&Array.isArray(l)&&l.forEach((c,d)=>i(r,d,c.default))}on.assignDefaults=n;function i(r,s,o){const{gen:l,compositeRule:c,data:d,opts:a}=r;if(o===void 0)return;const p=(0,e._)`${d}${(0,e.getProperty)(s)}`;if(c){(0,t.checkStrictMode)(r,`default is ignored for: ${p}`);return}let u=(0,e._)`${p} === undefined`;a.useDefaults==="empty"&&(u=(0,e._)`${u} || ${p} === null || ${p} === ""`),l.if(u,(0,e._)`${p} = ${(0,e.stringify)(o)}`)}return on}var Ge={},ge={},ml;function ng(){if(ml)return ge;ml=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.validateUnion=ge.validateArray=ge.usePattern=ge.callValidateCode=ge.schemaProperties=ge.allSchemaProperties=ge.noPropertyInData=ge.propertyInData=ge.isOwnProperty=ge.hasPropFunc=ge.reportMissingProp=ge.checkMissingProp=ge.checkReportMissingProp=void 0;const e=Pe(),t=We(),n=Qt(),i=We();function r(g,b){const{gen:S,data:x,it:k}=g;S.if(a(S,x,b,k.opts.ownProperties),()=>{g.setParams({missingProperty:(0,e._)`${b}`},!0),g.error()})}ge.checkReportMissingProp=r;function s({gen:g,data:b,it:{opts:S}},x,k){return(0,e.or)(...x.map(O=>(0,e.and)(a(g,b,O,S.ownProperties),(0,e._)`${k} = ${O}`)))}ge.checkMissingProp=s;function o(g,b){g.setParams({missingProperty:b},!0),g.error()}ge.reportMissingProp=o;function l(g){return g.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}ge.hasPropFunc=l;function c(g,b,S){return(0,e._)`${l(g)}.call(${b}, ${S})`}ge.isOwnProperty=c;function d(g,b,S,x){const k=(0,e._)`${b}${(0,e.getProperty)(S)} !== undefined`;return x?(0,e._)`${k} && ${c(g,b,S)}`:k}ge.propertyInData=d;function a(g,b,S,x){const k=(0,e._)`${b}${(0,e.getProperty)(S)} === undefined`;return x?(0,e.or)(k,(0,e.not)(c(g,b,S))):k}ge.noPropertyInData=a;function p(g){return g?Object.keys(g).filter(b=>b!=="__proto__"):[]}ge.allSchemaProperties=p;function u(g,b){return p(b).filter(S=>!(0,t.alwaysValidSchema)(g,b[S]))}ge.schemaProperties=u;function f({schemaCode:g,data:b,it:{gen:S,topSchemaRef:x,schemaPath:k,errorPath:O},it:N},C,D,j){const M=j?(0,e._)`${g}, ${b}, ${x}${k}`:b,H=[[n.default.instancePath,(0,e.strConcat)(n.default.instancePath,O)],[n.default.parentData,N.parentData],[n.default.parentDataProperty,N.parentDataProperty],[n.default.rootData,n.default.rootData]];N.opts.dynamicRef&&H.push([n.default.dynamicAnchors,n.default.dynamicAnchors]);const V=(0,e._)`${M}, ${S.object(...H)}`;return D!==e.nil?(0,e._)`${C}.call(${D}, ${V})`:(0,e._)`${C}(${V})`}ge.callValidateCode=f;const v=(0,e._)`new RegExp`;function m({gen:g,it:{opts:b}},S){const x=b.unicodeRegExp?"u":"",{regExp:k}=b.code,O=k(S,x);return g.scopeValue("pattern",{key:O.toString(),ref:O,code:(0,e._)`${k.code==="new RegExp"?v:(0,i.useFunc)(g,k)}(${S}, ${x})`})}ge.usePattern=m;function h(g){const{gen:b,data:S,keyword:x,it:k}=g,O=b.name("valid");if(k.allErrors){const C=b.let("valid",!0);return N(()=>b.assign(C,!1)),C}return b.var(O,!0),N(()=>b.break()),O;function N(C){const D=b.const("len",(0,e._)`${S}.length`);b.forRange("i",0,D,j=>{g.subschema({keyword:x,dataProp:j,dataPropType:t.Type.Num},O),b.if((0,e.not)(O),C)})}}ge.validateArray=h;function y(g){const{gen:b,schema:S,keyword:x,it:k}=g;if(!Array.isArray(S))throw new Error("ajv implementation error");if(S.some(D=>(0,t.alwaysValidSchema)(k,D))&&!k.opts.unevaluated)return;const N=b.let("valid",!1),C=b.name("_valid");b.block(()=>S.forEach((D,j)=>{const M=g.subschema({keyword:x,schemaProp:j,compositeRule:!0},C);b.assign(N,(0,e._)`${N} || ${C}`),g.mergeValidEvaluated(M,C)||b.if((0,e.not)(N))})),g.result(N,()=>g.reset(),()=>g.error(!0))}return ge.validateUnion=y,ge}var hl;function ig(){if(hl)return Ge;hl=1,Object.defineProperty(Ge,"__esModule",{value:!0}),Ge.validateKeywordUsage=Ge.validSchemaType=Ge.funcKeywordCode=Ge.macroKeywordCode=void 0;const e=Pe(),t=Qt(),n=ng(),i=Hi();function r(u,f){const{gen:v,keyword:m,schema:h,parentSchema:y,it:g}=u,b=f.macro.call(g.self,h,y,g),S=d(v,m,b);g.opts.validateSchema!==!1&&g.self.validateSchema(b,!0);const x=v.name("valid");u.subschema({schema:b,schemaPath:e.nil,errSchemaPath:`${g.errSchemaPath}/${m}`,topSchemaRef:S,compositeRule:!0},x),u.pass(x,()=>u.error(!0))}Ge.macroKeywordCode=r;function s(u,f){var v;const{gen:m,keyword:h,schema:y,parentSchema:g,$data:b,it:S}=u;c(S,f);const x=!b&&f.compile?f.compile.call(S.self,y,g,S):f.validate,k=d(m,h,x),O=m.let("valid");u.block$data(O,N),u.ok((v=f.valid)!==null&&v!==void 0?v:O);function N(){if(f.errors===!1)j(),f.modifying&&o(u),M(()=>u.error());else{const H=f.async?C():D();f.modifying&&o(u),M(()=>l(u,H))}}function C(){const H=m.let("ruleErrs",null);return m.try(()=>j((0,e._)`await `),V=>m.assign(O,!1).if((0,e._)`${V} instanceof ${S.ValidationError}`,()=>m.assign(H,(0,e._)`${V}.errors`),()=>m.throw(V))),H}function D(){const H=(0,e._)`${k}.errors`;return m.assign(H,null),j(e.nil),H}function j(H=f.async?(0,e._)`await `:e.nil){const V=S.opts.passContext?t.default.this:t.default.self,Q=!("compile"in f&&!b||f.schema===!1);m.assign(O,(0,e._)`${H}${(0,n.callValidateCode)(u,k,V,Q)}`,f.modifying)}function M(H){var V;m.if((0,e.not)((V=f.valid)!==null&&V!==void 0?V:O),H)}}Ge.funcKeywordCode=s;function o(u){const{gen:f,data:v,it:m}=u;f.if(m.parentData,()=>f.assign(v,(0,e._)`${m.parentData}[${m.parentDataProperty}]`))}function l(u,f){const{gen:v}=u;v.if((0,e._)`Array.isArray(${f})`,()=>{v.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${f} : ${t.default.vErrors}.concat(${f})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,i.extendErrors)(u)},()=>u.error())}function c({schemaEnv:u},f){if(f.async&&!u.$async)throw new Error("async keyword in sync schema")}function d(u,f,v){if(v===void 0)throw new Error(`keyword "${f}" failed to compile`);return u.scopeValue("keyword",typeof v=="function"?{ref:v}:{ref:v,code:(0,e.stringify)(v)})}function a(u,f,v=!1){return!f.length||f.some(m=>m==="array"?Array.isArray(u):m==="object"?u&&typeof u=="object"&&!Array.isArray(u):typeof u==m||v&&typeof u>"u")}Ge.validSchemaType=a;function p({schema:u,opts:f,self:v,errSchemaPath:m},h,y){if(Array.isArray(h.keyword)?!h.keyword.includes(y):h.keyword!==y)throw new Error("ajv implementation error");const g=h.dependencies;if(g?.some(b=>!Object.prototype.hasOwnProperty.call(u,b)))throw new Error(`parent schema must have dependencies of ${y}: ${g.join(",")}`);if(h.validateSchema&&!h.validateSchema(u[y])){const S=`keyword "${y}" value is invalid at path "${m}": `+v.errorsText(h.validateSchema.errors);if(f.validateSchema==="log")v.logger.error(S);else throw new Error(S)}}return Ge.validateKeywordUsage=p,Ge}var at={},vl;function rg(){if(vl)return at;vl=1,Object.defineProperty(at,"__esModule",{value:!0}),at.extendSubschemaMode=at.extendSubschemaData=at.getSubschema=void 0;const e=Pe(),t=We();function n(s,{keyword:o,schemaProp:l,schema:c,schemaPath:d,errSchemaPath:a,topSchemaRef:p}){if(o!==void 0&&c!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(o!==void 0){const u=s.schema[o];return l===void 0?{schema:u,schemaPath:(0,e._)`${s.schemaPath}${(0,e.getProperty)(o)}`,errSchemaPath:`${s.errSchemaPath}/${o}`}:{schema:u[l],schemaPath:(0,e._)`${s.schemaPath}${(0,e.getProperty)(o)}${(0,e.getProperty)(l)}`,errSchemaPath:`${s.errSchemaPath}/${o}/${(0,t.escapeFragment)(l)}`}}if(c!==void 0){if(d===void 0||a===void 0||p===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:c,schemaPath:d,topSchemaRef:p,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')}at.getSubschema=n;function i(s,o,{dataProp:l,dataPropType:c,data:d,dataTypes:a,propertyName:p}){if(d!==void 0&&l!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:u}=o;if(l!==void 0){const{errorPath:v,dataPathArr:m,opts:h}=o,y=u.let("data",(0,e._)`${o.data}${(0,e.getProperty)(l)}`,!0);f(y),s.errorPath=(0,e.str)`${v}${(0,t.getErrorPath)(l,c,h.jsPropertySyntax)}`,s.parentDataProperty=(0,e._)`${l}`,s.dataPathArr=[...m,s.parentDataProperty]}if(d!==void 0){const v=d instanceof e.Name?d:u.let("data",d,!0);f(v),p!==void 0&&(s.propertyName=p)}a&&(s.dataTypes=a);function f(v){s.data=v,s.dataLevel=o.dataLevel+1,s.dataTypes=[],o.definedProperties=new Set,s.parentData=o.data,s.dataNames=[...o.dataNames,v]}}at.extendSubschemaData=i;function r(s,{jtdDiscriminator:o,jtdMetadata:l,compositeRule:c,createErrors:d,allErrors:a}){c!==void 0&&(s.compositeRule=c),d!==void 0&&(s.createErrors=d),a!==void 0&&(s.allErrors=a),s.jtdDiscriminator=o,s.jtdMetadata=l}return at.extendSubschemaMode=r,at}var qe={},Or,gl;function ag(){return gl||(gl=1,Or=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var i,r,s;if(Array.isArray(t)){if(i=t.length,i!=n.length)return!1;for(r=i;r--!==0;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(s=Object.keys(t),i=s.length,i!==Object.keys(n).length)return!1;for(r=i;r--!==0;)if(!Object.prototype.hasOwnProperty.call(n,s[r]))return!1;for(r=i;r--!==0;){var o=s[r];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}),Or}var Pr={exports:{}},yl;function sg(){if(yl)return Pr.exports;yl=1;var e=Pr.exports=function(i,r,s){typeof r=="function"&&(s=r,r={}),s=r.cb||s;var o=typeof s=="function"?s:s.pre||function(){},l=s.post||function(){};t(r,o,l,i,"",i)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function t(i,r,s,o,l,c,d,a,p,u){if(o&&typeof o=="object"&&!Array.isArray(o)){r(o,l,c,d,a,p,u);for(var f in o){var v=o[f];if(Array.isArray(v)){if(f in e.arrayKeywords)for(var m=0;m<v.length;m++)t(i,r,s,v[m],l+"/"+f+"/"+m,c,l,f,o,m)}else if(f in e.propsKeywords){if(v&&typeof v=="object")for(var h in v)t(i,r,s,v[h],l+"/"+f+"/"+n(h),c,l,f,o,h)}else(f in e.keywords||i.allKeys&&!(f in e.skipKeywords))&&t(i,r,s,v,l+"/"+f,c,l,f,o)}s(o,l,c,d,a,p,u)}}function n(i){return i.replace(/~/g,"~0").replace(/\//g,"~1")}return Pr.exports}var xl;function Ki(){if(xl)return qe;xl=1,Object.defineProperty(qe,"__esModule",{value:!0}),qe.getSchemaRefs=qe.resolveUrl=qe.normalizeId=qe._getFullPath=qe.getFullPath=qe.inlineRef=void 0;const e=We(),t=ag(),n=sg(),i=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function r(m,h=!0){return typeof m=="boolean"?!0:h===!0?!o(m):h?l(m)<=h:!1}qe.inlineRef=r;const s=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function o(m){for(const h in m){if(s.has(h))return!0;const y=m[h];if(Array.isArray(y)&&y.some(o)||typeof y=="object"&&o(y))return!0}return!1}function l(m){let h=0;for(const y in m){if(y==="$ref")return 1/0;if(h++,!i.has(y)&&(typeof m[y]=="object"&&(0,e.eachItem)(m[y],g=>h+=l(g)),h===1/0))return 1/0}return h}function c(m,h="",y){y!==!1&&(h=p(h));const g=m.parse(h);return d(m,g)}qe.getFullPath=c;function d(m,h){return m.serialize(h).split("#")[0]+"#"}qe._getFullPath=d;const a=/#\/?$/;function p(m){return m?m.replace(a,""):""}qe.normalizeId=p;function u(m,h,y){return y=p(y),m.resolve(h,y)}qe.resolveUrl=u;const f=/^[a-z_][-a-z0-9._]*$/i;function v(m,h){if(typeof m=="boolean")return{};const{schemaId:y,uriResolver:g}=this.opts,b=p(m[y]||h),S={"":b},x=c(g,b,!1),k={},O=new Set;return n(m,{allKeys:!0},(D,j,M,H)=>{if(H===void 0)return;const V=x+j;let Q=S[H];typeof D[y]=="string"&&(Q=ie.call(this,D[y])),U.call(this,D.$anchor),U.call(this,D.$dynamicAnchor),S[j]=Q;function ie(z){const E=this.opts.uriResolver.resolve;if(z=p(Q?E(Q,z):z),O.has(z))throw C(z);O.add(z);let _=this.refs[z];return typeof _=="string"&&(_=this.refs[_]),typeof _=="object"?N(D,_.schema,z):z!==p(V)&&(z[0]==="#"?(N(D,k[z],z),k[z]=D):this.refs[z]=V),z}function U(z){if(typeof z=="string"){if(!f.test(z))throw new Error(`invalid anchor "${z}"`);ie.call(this,`#${z}`)}}}),k;function N(D,j,M){if(j!==void 0&&!t(D,j))throw C(M)}function C(D){return new Error(`reference "${D}" resolves to more than one schema`)}}return qe.getSchemaRefs=v,qe}var bl;function Gi(){if(bl)return it;bl=1,Object.defineProperty(it,"__esModule",{value:!0}),it.getData=it.KeywordCxt=it.validateFunctionCode=void 0;const e=eg(),t=qo(),n=bm(),i=qo(),r=tg(),s=ig(),o=rg(),l=Pe(),c=Qt(),d=Ki(),a=We(),p=Hi();function u(I){if(x(I)&&(O(I),S(I))){h(I);return}f(I,()=>(0,e.topBoolOrEmptySchema)(I))}it.validateFunctionCode=u;function f({gen:I,validateName:q,schema:F,schemaEnv:G,opts:Z},re){Z.code.es5?I.func(q,(0,l._)`${c.default.data}, ${c.default.valCxt}`,G.$async,()=>{I.code((0,l._)`"use strict"; ${g(F,Z)}`),m(I,Z),I.code(re)}):I.func(q,(0,l._)`${c.default.data}, ${v(Z)}`,G.$async,()=>I.code(g(F,Z)).code(re))}function v(I){return(0,l._)`{${c.default.instancePath}="", ${c.default.parentData}, ${c.default.parentDataProperty}, ${c.default.rootData}=${c.default.data}${I.dynamicRef?(0,l._)`, ${c.default.dynamicAnchors}={}`:l.nil}}={}`}function m(I,q){I.if(c.default.valCxt,()=>{I.var(c.default.instancePath,(0,l._)`${c.default.valCxt}.${c.default.instancePath}`),I.var(c.default.parentData,(0,l._)`${c.default.valCxt}.${c.default.parentData}`),I.var(c.default.parentDataProperty,(0,l._)`${c.default.valCxt}.${c.default.parentDataProperty}`),I.var(c.default.rootData,(0,l._)`${c.default.valCxt}.${c.default.rootData}`),q.dynamicRef&&I.var(c.default.dynamicAnchors,(0,l._)`${c.default.valCxt}.${c.default.dynamicAnchors}`)},()=>{I.var(c.default.instancePath,(0,l._)`""`),I.var(c.default.parentData,(0,l._)`undefined`),I.var(c.default.parentDataProperty,(0,l._)`undefined`),I.var(c.default.rootData,c.default.data),q.dynamicRef&&I.var(c.default.dynamicAnchors,(0,l._)`{}`)})}function h(I){const{schema:q,opts:F,gen:G}=I;f(I,()=>{F.$comment&&q.$comment&&H(I),D(I),G.let(c.default.vErrors,null),G.let(c.default.errors,0),F.unevaluated&&y(I),N(I),V(I)})}function y(I){const{gen:q,validateName:F}=I;I.evaluated=q.const("evaluated",(0,l._)`${F}.evaluated`),q.if((0,l._)`${I.evaluated}.dynamicProps`,()=>q.assign((0,l._)`${I.evaluated}.props`,(0,l._)`undefined`)),q.if((0,l._)`${I.evaluated}.dynamicItems`,()=>q.assign((0,l._)`${I.evaluated}.items`,(0,l._)`undefined`))}function g(I,q){const F=typeof I=="object"&&I[q.schemaId];return F&&(q.code.source||q.code.process)?(0,l._)`/*# sourceURL=${F} */`:l.nil}function b(I,q){if(x(I)&&(O(I),S(I))){k(I,q);return}(0,e.boolOrEmptySchema)(I,q)}function S({schema:I,self:q}){if(typeof I=="boolean")return!I;for(const F in I)if(q.RULES.all[F])return!0;return!1}function x(I){return typeof I.schema!="boolean"}function k(I,q){const{schema:F,gen:G,opts:Z}=I;Z.$comment&&F.$comment&&H(I),j(I),M(I);const re=G.const("_errs",c.default.errors);N(I,re),G.var(q,(0,l._)`${re} === ${c.default.errors}`)}function O(I){(0,a.checkUnknownRules)(I),C(I)}function N(I,q){if(I.opts.jtd)return ie(I,[],!1,q);const F=(0,t.getSchemaTypes)(I.schema),G=(0,t.coerceAndCheckDataType)(I,F);ie(I,F,!G,q)}function C(I){const{schema:q,errSchemaPath:F,opts:G,self:Z}=I;q.$ref&&G.ignoreKeywordsWithRef&&(0,a.schemaHasRulesButRef)(q,Z.RULES)&&Z.logger.warn(`$ref: keywords ignored in schema at path "${F}"`)}function D(I){const{schema:q,opts:F}=I;q.default!==void 0&&F.useDefaults&&F.strictSchema&&(0,a.checkStrictMode)(I,"default is ignored in the schema root")}function j(I){const q=I.schema[I.opts.schemaId];q&&(I.baseId=(0,d.resolveUrl)(I.opts.uriResolver,I.baseId,q))}function M(I){if(I.schema.$async&&!I.schemaEnv.$async)throw new Error("async schema in sync schema")}function H({gen:I,schemaEnv:q,schema:F,errSchemaPath:G,opts:Z}){const re=F.$comment;if(Z.$comment===!0)I.code((0,l._)`${c.default.self}.logger.log(${re})`);else if(typeof Z.$comment=="function"){const le=(0,l.str)`${G}/$comment`,de=I.scopeValue("root",{ref:q.root});I.code((0,l._)`${c.default.self}.opts.$comment(${re}, ${le}, ${de}.schema)`)}}function V(I){const{gen:q,schemaEnv:F,validateName:G,ValidationError:Z,opts:re}=I;F.$async?q.if((0,l._)`${c.default.errors} === 0`,()=>q.return(c.default.data),()=>q.throw((0,l._)`new ${Z}(${c.default.vErrors})`)):(q.assign((0,l._)`${G}.errors`,c.default.vErrors),re.unevaluated&&Q(I),q.return((0,l._)`${c.default.errors} === 0`))}function Q({gen:I,evaluated:q,props:F,items:G}){F instanceof l.Name&&I.assign((0,l._)`${q}.props`,F),G instanceof l.Name&&I.assign((0,l._)`${q}.items`,G)}function ie(I,q,F,G){const{gen:Z,schema:re,data:le,allErrors:de,opts:J,self:ee}=I,{RULES:se}=ee;if(re.$ref&&(J.ignoreKeywordsWithRef||!(0,a.schemaHasRulesButRef)(re,se))){Z.block(()=>W(I,"$ref",se.all.$ref.definition));return}J.jtd||z(I,q),Z.block(()=>{for(const ce of se.rules)me(ce);me(se.post)});function me(ce){(0,n.shouldUseGroup)(re,ce)&&(ce.type?(Z.if((0,i.checkDataType)(ce.type,le,J.strictNumbers)),U(I,ce),q.length===1&&q[0]===ce.type&&F&&(Z.else(),(0,i.reportTypeError)(I)),Z.endIf()):U(I,ce),de||Z.if((0,l._)`${c.default.errors} === ${G||0}`))}}function U(I,q){const{gen:F,schema:G,opts:{useDefaults:Z}}=I;Z&&(0,r.assignDefaults)(I,q.type),F.block(()=>{for(const re of q.rules)(0,n.shouldUseRule)(G,re)&&W(I,re.keyword,re.definition,q.type)})}function z(I,q){I.schemaEnv.meta||!I.opts.strictTypes||(E(I,q),I.opts.allowUnionTypes||_(I,q),w(I,I.dataTypes))}function E(I,q){if(q.length){if(!I.dataTypes.length){I.dataTypes=q;return}q.forEach(F=>{$(I.dataTypes,F)||P(I,`type "${F}" not allowed by context "${I.dataTypes.join(",")}"`)}),R(I,q)}}function _(I,q){q.length>1&&!(q.length===2&&q.includes("null"))&&P(I,"use allowUnionTypes to allow union type keyword")}function w(I,q){const F=I.self.RULES.all;for(const G in F){const Z=F[G];if(typeof Z=="object"&&(0,n.shouldUseRule)(I.schema,Z)){const{type:re}=Z.definition;re.length&&!re.some(le=>A(q,le))&&P(I,`missing type "${re.join(",")}" for keyword "${G}"`)}}}function A(I,q){return I.includes(q)||q==="number"&&I.includes("integer")}function $(I,q){return I.includes(q)||q==="integer"&&I.includes("number")}function R(I,q){const F=[];for(const G of I.dataTypes)$(q,G)?F.push(G):q.includes("integer")&&G==="number"&&F.push("integer");I.dataTypes=F}function P(I,q){const F=I.schemaEnv.baseId+I.errSchemaPath;q+=` at "${F}" (strictTypes)`,(0,a.checkStrictMode)(I,q,I.opts.strictTypes)}class L{constructor(q,F,G){if((0,s.validateKeywordUsage)(q,F,G),this.gen=q.gen,this.allErrors=q.allErrors,this.keyword=G,this.data=q.data,this.schema=q.schema[G],this.$data=F.$data&&q.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,a.schemaRefOrVal)(q,this.schema,G,this.$data),this.schemaType=F.schemaType,this.parentSchema=q.schema,this.params={},this.it=q,this.def=F,this.$data)this.schemaCode=q.gen.const("vSchema",Y(this.$data,q));else if(this.schemaCode=this.schemaValue,!(0,s.validSchemaType)(this.schema,F.schemaType,F.allowUndefined))throw new Error(`${G} value must be ${JSON.stringify(F.schemaType)}`);("code"in F?F.trackErrors:F.errors!==!1)&&(this.errsCount=q.gen.const("_errs",c.default.errors))}result(q,F,G){this.failResult((0,l.not)(q),F,G)}failResult(q,F,G){this.gen.if(q),G?G():this.error(),F?(this.gen.else(),F(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(q,F){this.failResult((0,l.not)(q),void 0,F)}fail(q){if(q===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(q),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(q){if(!this.$data)return this.fail(q);const{schemaCode:F}=this;this.fail((0,l._)`${F} !== undefined && (${(0,l.or)(this.invalid$data(),q)})`)}error(q,F,G){if(F){this.setParams(F),this._error(q,G),this.setParams({});return}this._error(q,G)}_error(q,F){(q?p.reportExtraError:p.reportError)(this,this.def.error,F)}$dataError(){(0,p.reportError)(this,this.def.$dataError||p.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,p.resetErrorsCount)(this.gen,this.errsCount)}ok(q){this.allErrors||this.gen.if(q)}setParams(q,F){F?Object.assign(this.params,q):this.params=q}block$data(q,F,G=l.nil){this.gen.block(()=>{this.check$data(q,G),F()})}check$data(q=l.nil,F=l.nil){if(!this.$data)return;const{gen:G,schemaCode:Z,schemaType:re,def:le}=this;G.if((0,l.or)((0,l._)`${Z} === undefined`,F)),q!==l.nil&&G.assign(q,!0),(re.length||le.validateSchema)&&(G.elseIf(this.invalid$data()),this.$dataError(),q!==l.nil&&G.assign(q,!1)),G.else()}invalid$data(){const{gen:q,schemaCode:F,schemaType:G,def:Z,it:re}=this;return(0,l.or)(le(),de());function le(){if(G.length){if(!(F instanceof l.Name))throw new Error("ajv implementation error");const J=Array.isArray(G)?G:[G];return(0,l._)`${(0,i.checkDataTypes)(J,F,re.opts.strictNumbers,i.DataType.Wrong)}`}return l.nil}function de(){if(Z.validateSchema){const J=q.scopeValue("validate$data",{ref:Z.validateSchema});return(0,l._)`!${J}(${F})`}return l.nil}}subschema(q,F){const G=(0,o.getSubschema)(this.it,q);(0,o.extendSubschemaData)(G,this.it,q),(0,o.extendSubschemaMode)(G,q);const Z={...this.it,...G,items:void 0,props:void 0};return b(Z,F),Z}mergeEvaluated(q,F){const{it:G,gen:Z}=this;G.opts.unevaluated&&(G.props!==!0&&q.props!==void 0&&(G.props=a.mergeEvaluated.props(Z,q.props,G.props,F)),G.items!==!0&&q.items!==void 0&&(G.items=a.mergeEvaluated.items(Z,q.items,G.items,F)))}mergeValidEvaluated(q,F){const{it:G,gen:Z}=this;if(G.opts.unevaluated&&(G.props!==!0||G.items!==!0))return Z.if(F,()=>this.mergeEvaluated(q,l.Name)),!0}}it.KeywordCxt=L;function W(I,q,F,G){const Z=new L(I,F,q);"code"in F?F.code(Z,G):Z.$data&&F.validate?(0,s.funcKeywordCode)(Z,F):"macro"in F?(0,s.macroKeywordCode)(Z,F):(F.compile||F.validate)&&(0,s.funcKeywordCode)(Z,F)}const K=/^\/(?:[^~]|~0|~1)*$/,X=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Y(I,{dataLevel:q,dataNames:F,dataPathArr:G}){let Z,re;if(I==="")return c.default.rootData;if(I[0]==="/"){if(!K.test(I))throw new Error(`Invalid JSON-pointer: ${I}`);Z=I,re=c.default.rootData}else{const ee=X.exec(I);if(!ee)throw new Error(`Invalid JSON-pointer: ${I}`);const se=+ee[1];if(Z=ee[2],Z==="#"){if(se>=q)throw new Error(J("property/index",se));return G[q-se]}if(se>q)throw new Error(J("data",se));if(re=F[q-se],!Z)return re}let le=re;const de=Z.split("/");for(const ee of de)ee&&(re=(0,l._)`${re}${(0,l.getProperty)((0,a.unescapeJsonPointer)(ee))}`,le=(0,l._)`${le} && ${re}`);return le;function J(ee,se){return`Cannot access ${ee} ${se} levels up, current level is ${q}`}}return it.getData=Y,it}var Gn={},wl;function Wi(){if(wl)return Gn;wl=1,Object.defineProperty(Gn,"__esModule",{value:!0});class e extends Error{constructor(n){super("validation failed"),this.errors=n,this.ajv=this.validation=!0}}return Gn.default=e,Gn}var Wn={},Sl;function Yi(){if(Sl)return Wn;Sl=1,Object.defineProperty(Wn,"__esModule",{value:!0});const e=Ki();class t extends Error{constructor(i,r,s,o){super(o||`can't resolve reference ${s} from id ${r}`),this.missingRef=(0,e.resolveUrl)(i,r,s),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(i,this.missingRef))}}return Wn.default=t,Wn}var ze={},El;function wm(){if(El)return ze;El=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.resolveSchema=ze.getCompilingSchema=ze.resolveRef=ze.compileSchema=ze.SchemaEnv=void 0;const e=Pe(),t=Wi(),n=Qt(),i=Ki(),r=We(),s=Gi();class o{constructor(y){var g;this.refs={},this.dynamicAnchors={};let b;typeof y.schema=="object"&&(b=y.schema),this.schema=y.schema,this.schemaId=y.schemaId,this.root=y.root||this,this.baseId=(g=y.baseId)!==null&&g!==void 0?g:(0,i.normalizeId)(b?.[y.schemaId||"$id"]),this.schemaPath=y.schemaPath,this.localRefs=y.localRefs,this.meta=y.meta,this.$async=b?.$async,this.refs={}}}ze.SchemaEnv=o;function l(h){const y=a.call(this,h);if(y)return y;const g=(0,i.getFullPath)(this.opts.uriResolver,h.root.baseId),{es5:b,lines:S}=this.opts.code,{ownProperties:x}=this.opts,k=new e.CodeGen(this.scope,{es5:b,lines:S,ownProperties:x});let O;h.$async&&(O=k.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const N=k.scopeName("validate");h.validateName=N;const C={gen:k,allErrors:this.opts.allErrors,data:n.default.data,parentData:n.default.parentData,parentDataProperty:n.default.parentDataProperty,dataNames:[n.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:k.scopeValue("schema",this.opts.code.source===!0?{ref:h.schema,code:(0,e.stringify)(h.schema)}:{ref:h.schema}),validateName:N,ValidationError:O,schema:h.schema,schemaEnv:h,rootId:g,baseId:h.baseId||g,schemaPath:e.nil,errSchemaPath:h.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let D;try{this._compilations.add(h),(0,s.validateFunctionCode)(C),k.optimize(this.opts.code.optimize);const j=k.toString();D=`${k.scopeRefs(n.default.scope)}return ${j}`,this.opts.code.process&&(D=this.opts.code.process(D,h));const H=new Function(`${n.default.self}`,`${n.default.scope}`,D)(this,this.scope.get());if(this.scope.value(N,{ref:H}),H.errors=null,H.schema=h.schema,H.schemaEnv=h,h.$async&&(H.$async=!0),this.opts.code.source===!0&&(H.source={validateName:N,validateCode:j,scopeValues:k._values}),this.opts.unevaluated){const{props:V,items:Q}=C;H.evaluated={props:V instanceof e.Name?void 0:V,items:Q instanceof e.Name?void 0:Q,dynamicProps:V instanceof e.Name,dynamicItems:Q instanceof e.Name},H.source&&(H.source.evaluated=(0,e.stringify)(H.evaluated))}return h.validate=H,h}catch(j){throw delete h.validate,delete h.validateName,D&&this.logger.error("Error compiling schema, function code:",D),j}finally{this._compilations.delete(h)}}ze.compileSchema=l;function c(h,y,g){var b;g=(0,i.resolveUrl)(this.opts.uriResolver,y,g);const S=h.refs[g];if(S)return S;let x=u.call(this,h,g);if(x===void 0){const k=(b=h.localRefs)===null||b===void 0?void 0:b[g],{schemaId:O}=this.opts;k&&(x=new o({schema:k,schemaId:O,root:h,baseId:y}))}if(x!==void 0)return h.refs[g]=d.call(this,x)}ze.resolveRef=c;function d(h){return(0,i.inlineRef)(h.schema,this.opts.inlineRefs)?h.schema:h.validate?h:l.call(this,h)}function a(h){for(const y of this._compilations)if(p(y,h))return y}ze.getCompilingSchema=a;function p(h,y){return h.schema===y.schema&&h.root===y.root&&h.baseId===y.baseId}function u(h,y){let g;for(;typeof(g=this.refs[y])=="string";)y=g;return g||this.schemas[y]||f.call(this,h,y)}function f(h,y){const g=this.opts.uriResolver.parse(y),b=(0,i._getFullPath)(this.opts.uriResolver,g);let S=(0,i.getFullPath)(this.opts.uriResolver,h.baseId,void 0);if(Object.keys(h.schema).length>0&&b===S)return m.call(this,g,h);const x=(0,i.normalizeId)(b),k=this.refs[x]||this.schemas[x];if(typeof k=="string"){const O=f.call(this,h,k);return typeof O?.schema!="object"?void 0:m.call(this,g,O)}if(typeof k?.schema=="object"){if(k.validate||l.call(this,k),x===(0,i.normalizeId)(y)){const{schema:O}=k,{schemaId:N}=this.opts,C=O[N];return C&&(S=(0,i.resolveUrl)(this.opts.uriResolver,S,C)),new o({schema:O,schemaId:N,root:h,baseId:S})}return m.call(this,g,k)}}ze.resolveSchema=f;const v=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function m(h,{baseId:y,schema:g,root:b}){var S;if(((S=h.fragment)===null||S===void 0?void 0:S[0])!=="/")return;for(const O of h.fragment.slice(1).split("/")){if(typeof g=="boolean")return;const N=g[(0,r.unescapeFragment)(O)];if(N===void 0)return;g=N;const C=typeof g=="object"&&g[this.opts.schemaId];!v.has(O)&&C&&(y=(0,i.resolveUrl)(this.opts.uriResolver,y,C))}let x;if(typeof g!="boolean"&&g.$ref&&!(0,r.schemaHasRulesButRef)(g,this.RULES)){const O=(0,i.resolveUrl)(this.opts.uriResolver,y,g.$ref);x=f.call(this,b,O)}const{schemaId:k}=this.opts;if(x=x||new o({schema:g,schemaId:k,root:b,baseId:y}),x.schema!==x.root.schema)return x}return ze}const og="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",cg="Meta-schema for $data reference (JSON AnySchema extension proposal)",lg="object",ug=["$data"],pg={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},dg=!1,fg={$id:og,description:cg,type:lg,required:ug,properties:pg,additionalProperties:dg};var Yn={},cn={exports:{}},Tr,_l;function Sm(){if(_l)return Tr;_l=1;const e=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),t=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),n=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),i=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),r=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u),s=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u),o=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u),l=new Array(256);{const E="0123456789ABCDEF";for(let _=0;_<256;_++)l[_]="%"+E[_>>4]+E[_&15]}function c(E){return E<2048?l[192|E>>6]+l[128|E&63]:E<65536?l[224|E>>12]+l[128|E>>6&63]+l[128|E&63]:l[240|E>>18]+l[128|E>>12&63]+l[128|E>>6&63]+l[128|E&63]}function d(E){let _="",w=0,A=0;for(A=0;A<E.length;A++)if(w=E[A].charCodeAt(0),w!==48){if(!(w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102))return"";_+=E[A];break}for(A+=1;A<E.length;A++){if(w=E[A].charCodeAt(0),!(w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102))return"";_+=E[A]}return _}const a=RegExp.prototype.test.bind(/^[\dA-Fa-f]{1,4}$/),p=RegExp.prototype.test.bind(/^[vV][\dA-Fa-f]+\.[A-Za-z\d\-._~!$&'()*+,;=:]+$/),u=RegExp.prototype.test.bind(/^[A-Za-z\d\-._~]$/),f=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function v(E){if(E.length===0)return!1;for(let _=0;_<E.length;_++)if(!u(E[_])){if(E[_]==="%"&&_+2<E.length&&n(E.slice(_+1,_+3))){_+=2;continue}return!1}return!0}function m(E){let _=-1,w=0,A=-1,$=0;for(let L=0;L<E.length;L++)E[L]==="0"?(A===-1&&(A=L),$++,$>w&&(w=$,_=A)):(A=-1,$=0);if(w<2)return E.join(":");const R=E.slice(0,_).join(":"),P=E.slice(_+w).join(":");return R+"::"+P}function h(E){const _=E.indexOf("::");if(_!==-1&&E.indexOf("::",_+1)!==-1)return;const w=_===-1?E.split(":"):E.slice(0,_).split(":"),A=_===-1?[]:E.slice(_+2).split(":");_!==-1&&(w.length===1&&w[0]===""&&(w.length=0),A.length===1&&A[0]===""&&(A.length=0));const $=w.concat(A);let R=0;for(let L=0;L<$.length;L++){const W=$[L];if(W==="")return;if(W.indexOf(".")!==-1){if(L!==$.length-1||_!==-1&&A.length===0||!t(W))return;R+=2;continue}if(!a(W))return;$[L]=parseInt(W,16).toString(16),R++}if(_===-1)return R!==8?void 0:m($);if(R>=8)return;const P=$.slice(0,w.length);for(let L=R;L<8;L++)P.push("0");for(let L=w.length;L<$.length;L++)P.push($[L]);return m(P)}function y(E){const _=E[0]==="["&&E[E.length-1]==="]";if((E[0]==="["||E[E.length-1]==="]")&&!_)return{host:E,isIPV6:!1,error:!0};let A=_?E.slice(1,-1):E;if(_&&p(A))return A=A.toLowerCase(),{host:`[${A}]`,escapedHost:A,isIPV6:!1,isIPVFuture:!0};if(g(A,":")<2)return{host:E,isIPV6:!1,error:_};let $="";const R=A.indexOf("%");if(R!==-1){const L=A.slice(R,R+3).toLowerCase()==="%25"?3:1;if($=A.slice(R+L),!v($))return{host:E,isIPV6:!1,error:!0};A=A.slice(0,R)}const P=h(A);return P===void 0?{host:E,isIPV6:!1,error:!0}:{host:P+($?"%"+$:""),escapedHost:P+($?"%25"+$:""),isIPV6:!0}}function g(E,_){let w=0;for(let A=0;A<E.length;A++)E[A]===_&&w++;return w}function b(E){let _=E;const w=[];let A=-1,$=0;for(;$=_.length;){if($===1){if(_===".")break;if(_==="/"){w.push("/");break}else{w.push(_);break}}else if($===2){if(_[0]==="."){if(_[1]===".")break;if(_[1]==="/"){_=_.slice(2);continue}}else if(_[0]==="/"&&(_[1]==="."||_[1]==="/")){w.push("/");break}}else if($===3&&_==="/.."){w.length!==0&&w.pop(),w.push("/");break}if(_[0]==="."){if(_[1]==="."){if(_[2]==="/"){_=_.slice(3);continue}}else if(_[1]==="/"){_=_.slice(2);continue}}else if(_[0]==="/"&&_[1]==="."){if(_[2]==="/"){_=_.slice(2);continue}else if(_[2]==="."&&_[3]==="/"){_=_.slice(3),w.length!==0&&w.pop();continue}}if((A=_.indexOf("/",1))===-1){w.push(_);break}else w.push(_.slice(0,A)),_=_.slice(A)}return w.join("")}const S={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},x=/[@/?#:]/g,k=/[@/?#]/g;function O(E,_){const w=_?k:x;return w.lastIndex=0,E.replace(w,A=>S[A])}function N(E,_=!1){if(E.indexOf("%")===-1)return E;let w="";for(let A=0;A<E.length;A++){if(E[A]==="%"&&A+2<E.length){const $=E.slice(A+1,A+3);if(n($)){const R=$.toUpperCase(),P=String.fromCharCode(parseInt(R,16));_&&i(P)?w+=P:w+="%"+R,A+=2;continue}}w+=E[A]}return w}function C(E){let _="";for(let w=0;w<E.length;w++){const A=E[w];if(A==="%"&&w+2<E.length){const $=E.slice(w+1,w+3);if(n($)){const R=$.toUpperCase(),P=String.fromCharCode(parseInt(R,16));P!=="."&&i(P)?_+=P:_+="%"+R,w+=2;continue}}if(r(A))_+=A;else{const $=E.charCodeAt(w);if($<128)_+=Q($)?A:l[$];else if($<55296||$>57343)_+=c($);else if($<=56319&&w+1<E.length){const R=E.charCodeAt(w+1);R>=56320&&R<=57343?(_+=c(65536+($-55296<<10)+(R-56320)),w++):_+=c(65533)}else _+=c(65533)}}return _}function D(E,_=!1){let w="",A=_&&E[0]!=="/";for(let $=0;$<E.length;$++){const R=E[$];if(R==="%"&&$+2<E.length){const P=E.slice($+1,$+3);if(n(P)){w+="%"+P.toUpperCase(),$+=2;continue}}if(R==="/"&&(A=!1),r(R)&&(R!==":"||!A))w+=R;else{const P=E.charCodeAt($);if(P<128)w+=l[P];else if(P<55296||P>57343)w+=c(P);else if(P<=56319&&$+1<E.length){const L=E.charCodeAt($+1);L>=56320&&L<=57343?(w+=c(65536+(P-55296<<10)+(L-56320)),$++):w+=c(65533)}else w+=c(65533)}}return w}function j(E,_){let w="";for(let A=0;A<E.length;A++){const $=E[A];if($==="%"&&A+2<E.length){const R=E.slice(A+1,A+3);if(n(R)){w+="%"+R.toUpperCase(),A+=2;continue}}if(_($))w+=$;else{const R=E.charCodeAt(A);if(R<128)w+=l[R];else if(R<55296||R>57343)w+=c(R);else if(R<=56319&&A+1<E.length){const P=E.charCodeAt(A+1);P>=56320&&P<=57343?(w+=c(65536+(R-55296<<10)+(P-56320)),A++):w+=c(65533)}else w+=c(65533)}}return w}function M(E){return j(E,o)}function H(E){return j(E,s)}function V(E){return j(E,s)}function Q(E){return E>=48&&E<=57||E>=65&&E<=90||E>=97&&E<=122||E===42||E===43||E===45||E===46||E===47||E===64||E===95}function ie(E){let _="";for(let w=0;w<E.length;w++){const A=E[w];if(A==="%"&&w+2<E.length){const $=E.slice(w+1,w+3);if(n($)){const R=$.toUpperCase(),P=String.fromCharCode(parseInt(R,16));i(P)?_+=P:_+="%"+R,w+=2;continue}}if(s(A))_+=A;else{const $=E.charCodeAt(w);if($<128)_+=Q($)?A:l[$];else if($<55296||$>57343)_+=c($);else if($<=56319&&w+1<E.length){const R=E.charCodeAt(w+1);R>=56320&&R<=57343?(_+=c(65536+($-55296<<10)+(R-56320)),w++):_+=c(65533)}else _+=c(65533)}}return _}function U(E){let _="";for(let w=0;w<E.length;w++){if(E[w]==="%"&&w+2<E.length){const A=E.slice(w+1,w+3);if(n(A)){_+="%"+A.toUpperCase(),w+=2;continue}}_+=escape(E[w])}return _}function z(E){const _=[];if(E.userinfo!==void 0&&(_.push(M(E.userinfo)),_.push("@")),E.host!==void 0){let w=E.host;if(!t(w)){let A=y(w);A.isIPV6!==!0&&A.isIPVFuture!==!0&&(w=N(w,!0),A=y(w)),A.isIPV6===!0||A.isIPVFuture===!0?w=`[${A.escapedHost}]`:w=O(w,!1)}_.push(w)}return(typeof E.port=="number"||typeof E.port=="string")&&(_.push(":"),_.push(String(E.port))),_.length?_.join(""):void 0}return Tr={nonSimpleDomain:f,recomposeAuthority:z,reescapeHostDelimiters:O,normalizePercentEncoding:N,normalizePathEncoding:C,serializePathEncoding:D,normalizeQueryFragmentEncoding:ie,encodeUserinfo:M,encodeQuery:H,encodeFragment:V,escapePreservingEscapes:U,removeDotSegments:b,isIPv4:t,isUUID:e,normalizeIPv6:y,stringArrayToHexStripped:d},Tr}var Nr,Rl;function mg(){if(Rl)return Nr;Rl=1;const{isUUID:e}=Sm(),t=/^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu,n=["http","https","ws","wss","urn","urn:uuid"];function i(x){return n.indexOf(x)!==-1}function r(x){return x.secure===!0?!0:x.secure===!1?!1:x.scheme?x.scheme.length===3&&(x.scheme[0]==="w"||x.scheme[0]==="W")&&(x.scheme[1]==="s"||x.scheme[1]==="S")&&(x.scheme[2]==="s"||x.scheme[2]==="S"):!1}function s(x){return x.host||(x.error=x.error||"HTTP URIs must have a host."),x}function o(x){const k=String(x.scheme).toLowerCase()==="https";return(x.port===(k?443:80)||x.port==="")&&(x.port=void 0),x.path||(x.path="/"),x}function l(x){return x.secure=r(x),x.resourceName=(x.path||"/")+(x.query?"?"+x.query:""),x.path=void 0,x.query=void 0,x}function c(x){if((x.port===(r(x)?443:80)||x.port==="")&&(x.port=void 0),typeof x.secure=="boolean"&&(x.scheme=x.secure?"wss":"ws",x.secure=void 0),x.resourceName){const k=x.resourceName.indexOf("?"),O=k===-1?x.resourceName:x.resourceName.slice(0,k);x.path=O&&O!=="/"?O:void 0,x.query=k===-1?void 0:x.resourceName.slice(k+1),x.resourceName=void 0}return x.fragment=void 0,x}function d(x,k){if(!x.path)return x.error="URN can not be parsed",x;const O=x.path.match(t);if(O&&O[0]===x.path){const N=k.scheme||x.scheme||"urn";x.nid=O[1].toLowerCase(),x.nss=O[2];const C=`${N}:${k.nid||x.nid}`,D=S(C);x.path=void 0,D&&(x=D.parse(x,k))}else x.error=x.error||"URN can not be parsed.";return x}function a(x,k){if(x.nid===void 0)throw new Error("URN without nid cannot be serialized");const O=k.scheme||x.scheme||"urn",N=x.nid.toLowerCase(),C=`${O}:${k.nid||N}`,D=S(C);D&&(x=D.serialize(x,k));const j=x,M=x.nss;return j.path=`${N||k.nid}:${M}`,k.skipEscape=!0,j}function p(x,k){const O=x;return O.uuid=O.nss,O.nss=void 0,!k.tolerant&&(!O.uuid||!e(O.uuid))&&(O.error=O.error||"UUID is not valid."),O}function u(x){const k=x;return k.nss=(x.uuid||"").toLowerCase(),k}const f={scheme:"http",domainHost:!0,parse:s,serialize:o},v={scheme:"https",domainHost:f.domainHost,parse:s,serialize:o},m={scheme:"ws",domainHost:!0,parse:l,serialize:c},h={scheme:"wss",domainHost:m.domainHost,parse:m.parse,serialize:m.serialize},b={http:f,https:v,ws:m,wss:h,urn:{scheme:"urn",parse:d,serialize:a,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:p,serialize:u,skipNormalize:!0}};Object.setPrototypeOf(b,null);function S(x){return x&&(b[x]||b[x.toLowerCase()])||void 0}return Nr={wsIsSecure:r,SCHEMES:b,isValidSchemeName:i,getSchemeHandler:S},Nr}var kl;function hg(){if(kl)return cn.exports;kl=1;const{normalizeIPv6:e,removeDotSegments:t,recomposeAuthority:n,normalizePercentEncoding:i,normalizePathEncoding:r,serializePathEncoding:s,normalizeQueryFragmentEncoding:o,encodeQuery:l,encodeFragment:c,reescapeHostDelimiters:d,isIPv4:a,nonSimpleDomain:p}=Sm(),{SCHEMES:u,getSchemeHandler:f}=mg(),v=/^[A-Za-z][A-Za-z0-9+.-]*$/u,m="URI scheme is malformed.";function h(E){const _=unescape(String(E));if(!v.test(_))throw new TypeError(m);return _}function y(E,_){return typeof E=="string"?E=Q(E,_):typeof E=="object"&&(E=V(x(E,_),_)),E}function g(E,_,w){const A=w?Object.assign({scheme:"null"},w):{scheme:"null"},{parsed:$,malformedAuthorityOrPort:R,malformedPercentEncoding:P,malformedSchemeSpecific:L,malformedHost:W,malformedScheme:K}=H(E,A),{parsed:X,malformedAuthorityOrPort:Y,malformedPercentEncoding:I,malformedSchemeSpecific:q,malformedHost:F,malformedScheme:G}=H(_,A);if(R||Y||P||I||L||q||W||F||K||G)throw new Error($.error||X.error||"URI is malformed.");const Z=b($,X,A,!0),re=f(w&&w.scheme||Z.scheme),le=Z.host,de=le!==void 0&&le!==""&&(a(le)||e(le).isIPV6);M(Z,w||{},re,de);const J=le&&le.indexOf("%")!==-1&&!new RegExp("\\P{ASCII}","u").test(le);if(Z.error&&!J)throw new Error(Z.error);return A.skipEscape=!0,x(Z,A)}function b(E,_,w,A){const $={};return A||(E=V(x(E,w),w),_=V(x(_,w),w)),w=w||{},!w.tolerant&&_.scheme?($.scheme=_.scheme,$.userinfo=_.userinfo,$.host=_.host,$.port=_.port,$.path=t(_.path||""),$.query=_.query):(_.userinfo!==void 0||_.host!==void 0||_.port!==void 0?($.userinfo=_.userinfo,$.host=_.host,$.port=_.port,$.path=t(_.path||""),$.query=_.query):(_.path?(_.path[0]==="/"?$.path=t(_.path):((E.userinfo!==void 0||E.host!==void 0||E.port!==void 0)&&!E.path?$.path="/"+_.path:E.path?$.path=E.path.slice(0,E.path.lastIndexOf("/")+1)+_.path:$.path=_.path,$.path=t($.path)),$.query=_.query):($.path=E.path,_.query!==void 0?$.query=_.query:$.query=E.query),$.userinfo=E.userinfo,$.host=E.host,$.port=E.port),$.scheme=E.scheme),$.fragment=_.fragment,$}function S(E,_,w){const A=U(E,w),$=U(_,w);return A!==void 0&&$!==void 0&&A===$}function x(E,_){const w={host:E.host,scheme:E.scheme,userinfo:E.userinfo,port:E.port,path:E.path,query:E.query,nid:E.nid,nss:E.nss,uuid:E.uuid,fragment:E.fragment,reference:E.reference,resourceName:E.resourceName,secure:E.secure,error:""},A=Object.assign({},_),$=[];w.scheme&&(w.scheme=h(w.scheme));const R=f(A.scheme||w.scheme);R&&R.serialize&&R.serialize(w,A);const P=w.userinfo!==void 0||w.host!==void 0||w.port!==void 0,L=!A.skipEscape&&w.scheme===void 0&&!P;w.path!==void 0&&(A.skipEscape?w.path=i(w.path):w.path=s(w.path,L)),A.reference!=="suffix"&&w.scheme&&(w.scheme=h(w.scheme),$.push(w.scheme,":"));const W=n(w);if(W!==void 0&&(A.reference!=="suffix"&&$.push("//"),$.push(W),w.path&&w.path[0]!=="/"&&$.push("/")),w.path!==void 0){let K=w.path;!A.absolutePath&&(!R||!R.absolutePath)&&(K=t(K)),L&&(K=s(K,!0)),W===void 0&&K[0]==="/"&&K[1]==="/"&&(K="/%2F"+K.slice(2)),$.push(K)}return w.query!==void 0&&$.push("?",l(w.query)),w.fragment!==void 0&&$.push("#",c(w.fragment)),$.join("")}const k=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u,O=/^(?:[^#/:?]+:)?\/\/([^/?#]*)/,N=/^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;function C(E,_){if(_[2]!==void 0&&E.path&&E.path[0]!=="/")return'URI path must start with "/" when authority is present.';if(typeof E.port=="number"&&(E.port<0||E.port>65535))return"URI port is malformed."}function D(E){if(E===void 0)return!1;let _=E.indexOf("%");for(;_!==-1;){if(_+2>=E.length||!/^[\da-f]{2}$/iu.test(E.slice(_+1,_+3)))return!0;_=E.indexOf("%",_+3)}return!1}function j(E){const _=E[4];return D(E[3])||_!==void 0&&!(_[0]==="["&&_[_.length-1]==="]")&&D(_)||D(E[6])||D(E[7])||D(E[8])}function M(E,_,w,A){if(!_.unicodeSupport&&(!w||!w.unicodeSupport)&&E.host&&E.host[0]!=="["&&(_.domainHost||w&&w.domainHost)&&A===!1&&p(E.host))try{E.host=new URL("http://"+E.host).hostname}catch($){return E.error=E.error||"Host's domain name can not be converted to ASCII: "+$,!0}return!1}function H(E,_){const w=Object.assign({},_),A={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let $=!1,R=!1,P=!1,L=!1,W=!1,K=!1,X=!1;w.reference==="suffix"&&(w.scheme?E=w.scheme+":"+E:E="//"+E);const Y=E.match(O);Y!==null&&Y[1].indexOf("\\")!==-1&&(A.error="URI authority must not contain a literal backslash.",$=!0);const I=E.match(N);if(I!==null){const F=I[1],G=F.replace(/[\t\n\r]/g,"");G.length>=2&&(G.slice(0,2)!=="//"?(A.error=A.error||"URI authority must not contain a literal backslash.",$=!0):F.length!==G.length&&(A.error=A.error||"URI authority introducer must not contain whitespace.",$=!0))}const q=E.match(k);if(q){if(A.scheme=q[1],A.userinfo=q[3],A.host=q[4],A.port=parseInt(q[5],10),A.path=q[6]||"",A.query=q[7],A.fragment=q[8],A.scheme!==void 0){const Z=unescape(A.scheme);v.test(Z)?A.scheme=Z.toLowerCase():(A.error=A.error||m,K=!0)}R=j(q),R&&(A.error=A.error||"URI contains malformed percent-encoding."),isNaN(A.port)&&(A.port=q[5]);const F=C(A,q);if(F!==void 0&&(A.error=A.error||F,$=!0),A.host)if(a(A.host)===!1){const re=A.host[0]==="["&&A.host[A.host.length-1]==="]",le=e(A.host);X=le.isIPV6||le.isIPVFuture===!0,W=re&&le.error===!0,A.host=X?le.host:le.host.toLowerCase(),W&&(A.error=A.error||"URI host is malformed.",$=!0)}else X=!0;A.scheme===void 0&&A.userinfo===void 0&&A.host===void 0&&A.port===void 0&&A.query===void 0&&!A.path?A.reference="same-document":A.scheme===void 0?A.reference="relative":A.fragment===void 0?A.reference="absolute":A.reference="uri",w.reference&&w.reference!=="suffix"&&w.reference!==A.reference&&(A.error=A.error||"URI is not a "+w.reference+" reference.");const G=f(w.scheme||A.scheme);if(L=M(A,w,G,X),!G||G&&!G.skipNormalize){if(E.indexOf("%")!==-1&&A.host!==void 0&&!W){const Z=X?A.host:i(A.host,!0);A.host=d(Z,X)}A.path&&(A.path=r(A.path)),A.query&&(A.query=o(A.query)),A.fragment&&(A.fragment=o(A.fragment))}G&&G.parse&&(G.parse(A,w),G===u.urn&&A.nid===void 0&&(P=!0))}else A.error=A.error||"URI can not be parsed.";return{parsed:A,malformedAuthorityOrPort:$,malformedPercentEncoding:R,malformedSchemeSpecific:P,malformedHost:L,malformedScheme:K}}function V(E,_){return H(E,_).parsed}function Q(E,_){return ie(E,_).normalized}function ie(E,_){const{parsed:w,malformedAuthorityOrPort:A,malformedPercentEncoding:$,malformedSchemeSpecific:R,malformedHost:P,malformedScheme:L}=H(E,_);return{normalized:A||$||R||P||L?E:x(w,_),malformedAuthorityOrPort:A,malformedPercentEncoding:$,malformedSchemeSpecific:R,malformedHost:P,malformedScheme:L}}function U(E,_){if(typeof E!="string"&&typeof E!="object")return;let w;try{w=typeof E=="string"?E:x(E,_)}catch{return}const{normalized:A,malformedAuthorityOrPort:$,malformedPercentEncoding:R,malformedSchemeSpecific:P,malformedHost:L,malformedScheme:W}=ie(w,_);return $||R||P||L||W?void 0:A}const z={SCHEMES:u,normalize:y,resolve:g,resolveComponent:b,equal:S,serialize:x,parse:V};return cn.exports=z,cn.exports.default=z,cn.exports.fastUri=z,cn.exports}var Al;function vg(){if(Al)return Yn;Al=1,Object.defineProperty(Yn,"__esModule",{value:!0});const e=hg();return e.code='require("ajv/dist/runtime/uri").default',Yn.default=e,Yn}var $l;function Em(){return $l||($l=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=Gi();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var n=Pe();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return n.CodeGen}});const i=Wi(),r=Yi(),s=xm(),o=wm(),l=Pe(),c=Ki(),d=qo(),a=We(),p=fg,u=vg(),f=(_,w)=>new RegExp(_,w);f.code="new RegExp";const v=["removeAdditional","useDefaults","coerceTypes"],m=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),h={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},y={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},g=200;function b(_){var w,A,$,R,P,L,W,K,X,Y,I,q,F,G,Z,re,le,de,J,ee,se,me,ce,ae,pe;const ve=_.strict,Ne=(w=_.code)===null||w===void 0?void 0:w.optimize,Ke=Ne===!0||Ne===void 0?1:Ne||0,Ee=($=(A=_.code)===null||A===void 0?void 0:A.regExp)!==null&&$!==void 0?$:f,Qe=(R=_.uriResolver)!==null&&R!==void 0?R:u.default;return{strictSchema:(L=(P=_.strictSchema)!==null&&P!==void 0?P:ve)!==null&&L!==void 0?L:!0,strictNumbers:(K=(W=_.strictNumbers)!==null&&W!==void 0?W:ve)!==null&&K!==void 0?K:!0,strictTypes:(Y=(X=_.strictTypes)!==null&&X!==void 0?X:ve)!==null&&Y!==void 0?Y:"log",strictTuples:(q=(I=_.strictTuples)!==null&&I!==void 0?I:ve)!==null&&q!==void 0?q:"log",strictRequired:(G=(F=_.strictRequired)!==null&&F!==void 0?F:ve)!==null&&G!==void 0?G:!1,code:_.code?{..._.code,optimize:Ke,regExp:Ee}:{optimize:Ke,regExp:Ee},loopRequired:(Z=_.loopRequired)!==null&&Z!==void 0?Z:g,loopEnum:(re=_.loopEnum)!==null&&re!==void 0?re:g,meta:(le=_.meta)!==null&&le!==void 0?le:!0,messages:(de=_.messages)!==null&&de!==void 0?de:!0,inlineRefs:(J=_.inlineRefs)!==null&&J!==void 0?J:!0,schemaId:(ee=_.schemaId)!==null&&ee!==void 0?ee:"$id",addUsedSchema:(se=_.addUsedSchema)!==null&&se!==void 0?se:!0,validateSchema:(me=_.validateSchema)!==null&&me!==void 0?me:!0,validateFormats:(ce=_.validateFormats)!==null&&ce!==void 0?ce:!0,unicodeRegExp:(ae=_.unicodeRegExp)!==null&&ae!==void 0?ae:!0,int32range:(pe=_.int32range)!==null&&pe!==void 0?pe:!0,uriResolver:Qe}}class S{constructor(w={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,w=this.opts={...w,...b(w)};const{es5:A,lines:$}=this.opts.code;this.scope=new l.ValueScope({scope:{},prefixes:m,es5:A,lines:$}),this.logger=M(w.logger);const R=w.validateFormats;w.validateFormats=!1,this.RULES=(0,s.getRules)(),x.call(this,h,w,"NOT SUPPORTED"),x.call(this,y,w,"DEPRECATED","warn"),this._metaOpts=D.call(this),w.formats&&N.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),w.keywords&&C.call(this,w.keywords),typeof w.meta=="object"&&this.addMetaSchema(w.meta),O.call(this),w.validateFormats=R}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:w,meta:A,schemaId:$}=this.opts;let R=p;$==="id"&&(R={...p},R.id=R.$id,delete R.$id),A&&w&&this.addMetaSchema(R,R[$],!1)}defaultMeta(){const{meta:w,schemaId:A}=this.opts;return this.opts.defaultMeta=typeof w=="object"?w[A]||w:void 0}validate(w,A){let $;if(typeof w=="string"){if($=this.getSchema(w),!$)throw new Error(`no schema with key or ref "${w}"`)}else $=this.compile(w);const R=$(A);return"$async"in $||(this.errors=$.errors),R}compile(w,A){const $=this._addSchema(w,A);return $.validate||this._compileSchemaEnv($)}compileAsync(w,A){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:$}=this.opts;return R.call(this,w,A);async function R(Y,I){await P.call(this,Y.$schema);const q=this._addSchema(Y,I);return q.validate||L.call(this,q)}async function P(Y){Y&&!this.getSchema(Y)&&await R.call(this,{$ref:Y},!0)}async function L(Y){try{return this._compileSchemaEnv(Y)}catch(I){if(!(I instanceof r.default))throw I;return W.call(this,I),await K.call(this,I.missingSchema),L.call(this,Y)}}function W({missingSchema:Y,missingRef:I}){if(this.refs[Y])throw new Error(`AnySchema ${Y} is loaded but ${I} cannot be resolved`)}async function K(Y){const I=await X.call(this,Y);this.refs[Y]||await P.call(this,I.$schema),this.refs[Y]||this.addSchema(I,Y,A)}async function X(Y){const I=this._loading[Y];if(I)return I;try{return await(this._loading[Y]=$(Y))}finally{delete this._loading[Y]}}}addSchema(w,A,$,R=this.opts.validateSchema){if(Array.isArray(w)){for(const L of w)this.addSchema(L,void 0,$,R);return this}let P;if(typeof w=="object"){const{schemaId:L}=this.opts;if(P=w[L],P!==void 0&&typeof P!="string")throw new Error(`schema ${L} must be string`)}return A=(0,c.normalizeId)(A||P),this._checkUnique(A),this.schemas[A]=this._addSchema(w,$,A,R,!0),this}addMetaSchema(w,A,$=this.opts.validateSchema){return this.addSchema(w,A,!0,$),this}validateSchema(w,A){if(typeof w=="boolean")return!0;let $;if($=w.$schema,$!==void 0&&typeof $!="string")throw new Error("$schema must be a string");if($=$||this.opts.defaultMeta||this.defaultMeta(),!$)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const R=this.validate($,w);if(!R&&A){const P="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(P);else throw new Error(P)}return R}getSchema(w){let A;for(;typeof(A=k.call(this,w))=="string";)w=A;if(A===void 0){const{schemaId:$}=this.opts,R=new o.SchemaEnv({schema:{},schemaId:$});if(A=o.resolveSchema.call(this,R,w),!A)return;this.refs[w]=A}return A.validate||this._compileSchemaEnv(A)}removeSchema(w){if(w instanceof RegExp)return this._removeAllSchemas(this.schemas,w),this._removeAllSchemas(this.refs,w),this;switch(typeof w){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const A=k.call(this,w);return typeof A=="object"&&this._cache.delete(A.schema),delete this.schemas[w],delete this.refs[w],this}case"object":{const A=w;this._cache.delete(A);let $=w[this.opts.schemaId];return $&&($=(0,c.normalizeId)($),delete this.schemas[$],delete this.refs[$]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(w){for(const A of w)this.addKeyword(A);return this}addKeyword(w,A){let $;if(typeof w=="string")$=w,typeof A=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),A.keyword=$);else if(typeof w=="object"&&A===void 0){if(A=w,$=A.keyword,Array.isArray($)&&!$.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(V.call(this,$,A),!A)return(0,a.eachItem)($,P=>Q.call(this,P)),this;U.call(this,A);const R={...A,type:(0,d.getJSONTypes)(A.type),schemaType:(0,d.getJSONTypes)(A.schemaType)};return(0,a.eachItem)($,R.type.length===0?P=>Q.call(this,P,R):P=>R.type.forEach(L=>Q.call(this,P,R,L))),this}getKeyword(w){const A=this.RULES.all[w];return typeof A=="object"?A.definition:!!A}removeKeyword(w){const{RULES:A}=this;delete A.keywords[w],delete A.all[w];for(const $ of A.rules){const R=$.rules.findIndex(P=>P.keyword===w);R>=0&&$.rules.splice(R,1)}return this}addFormat(w,A){return typeof A=="string"&&(A=new RegExp(A)),this.formats[w]=A,this}errorsText(w=this.errors,{separator:A=", ",dataVar:$="data"}={}){return!w||w.length===0?"No errors":w.map(R=>`${$}${R.instancePath} ${R.message}`).reduce((R,P)=>R+A+P)}$dataMetaSchema(w,A){const $=this.RULES.all;w=JSON.parse(JSON.stringify(w));for(const R of A){const P=R.split("/").slice(1);let L=w;for(const W of P)L=L[W];for(const W in $){const K=$[W];if(typeof K!="object")continue;const{$data:X}=K.definition,Y=L[W];X&&Y&&(L[W]=E(Y))}}return w}_removeAllSchemas(w,A){for(const $ in w){const R=w[$];(!A||A.test($))&&(typeof R=="string"?delete w[$]:R&&!R.meta&&(this._cache.delete(R.schema),delete w[$]))}}_addSchema(w,A,$,R=this.opts.validateSchema,P=this.opts.addUsedSchema){let L;const{schemaId:W}=this.opts;if(typeof w=="object")L=w[W];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof w!="boolean")throw new Error("schema must be object or boolean")}let K=this._cache.get(w);if(K!==void 0)return K;$=(0,c.normalizeId)(L||$);const X=c.getSchemaRefs.call(this,w,$);return K=new o.SchemaEnv({schema:w,schemaId:W,meta:A,baseId:$,localRefs:X}),this._cache.set(K.schema,K),P&&!$.startsWith("#")&&($&&this._checkUnique($),this.refs[$]=K),R&&this.validateSchema(w,!0),K}_checkUnique(w){if(this.schemas[w]||this.refs[w])throw new Error(`schema with key or id "${w}" already exists`)}_compileSchemaEnv(w){if(w.meta?this._compileMetaSchema(w):o.compileSchema.call(this,w),!w.validate)throw new Error("ajv implementation error");return w.validate}_compileMetaSchema(w){const A=this.opts;this.opts=this._metaOpts;try{o.compileSchema.call(this,w)}finally{this.opts=A}}}S.ValidationError=i.default,S.MissingRefError=r.default,e.default=S;function x(_,w,A,$="error"){for(const R in _){const P=R;P in w&&this.logger[$](`${A}: option ${R}. ${_[P]}`)}}function k(_){return _=(0,c.normalizeId)(_),this.schemas[_]||this.refs[_]}function O(){const _=this.opts.schemas;if(_)if(Array.isArray(_))this.addSchema(_);else for(const w in _)this.addSchema(_[w],w)}function N(){for(const _ in this.opts.formats){const w=this.opts.formats[_];w&&this.addFormat(_,w)}}function C(_){if(Array.isArray(_)){this.addVocabulary(_);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const w in _){const A=_[w];A.keyword||(A.keyword=w),this.addKeyword(A)}}function D(){const _={...this.opts};for(const w of v)delete _[w];return _}const j={log(){},warn(){},error(){}};function M(_){if(_===!1)return j;if(_===void 0)return console;if(_.log&&_.warn&&_.error)return _;throw new Error("logger must implement log, warn and error methods")}const H=/^[a-z_$][a-z0-9_$:-]*$/i;function V(_,w){const{RULES:A}=this;if((0,a.eachItem)(_,$=>{if(A.keywords[$])throw new Error(`Keyword ${$} is already defined`);if(!H.test($))throw new Error(`Keyword ${$} has invalid name`)}),!!w&&w.$data&&!("code"in w||"validate"in w))throw new Error('$data keyword must have "code" or "validate" function')}function Q(_,w,A){var $;const R=w?.post;if(A&&R)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:P}=this;let L=R?P.post:P.rules.find(({type:K})=>K===A);if(L||(L={type:A,rules:[]},P.rules.push(L)),P.keywords[_]=!0,!w)return;const W={keyword:_,definition:{...w,type:(0,d.getJSONTypes)(w.type),schemaType:(0,d.getJSONTypes)(w.schemaType)}};w.before?ie.call(this,L,W,w.before):L.rules.push(W),P.all[_]=W,($=w.implements)===null||$===void 0||$.forEach(K=>this.addKeyword(K))}function ie(_,w,A){const $=_.rules.findIndex(R=>R.keyword===A);$>=0?_.rules.splice($,0,w):(_.rules.push(w),this.logger.warn(`rule ${A} is not defined`))}function U(_){let{metaSchema:w}=_;w!==void 0&&(_.$data&&this.opts.$data&&(w=E(w)),_.validateSchema=this.compile(w,!0))}const z={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function E(_){return{anyOf:[_,z]}}})(_r)),_r}var Jn={},ln={},Ol;function gg(){if(Ol)return ln;Ol=1,Object.defineProperty(ln,"__esModule",{value:!0}),ln.DiscrError=void 0;var e;return(function(t){t.Tag="tag",t.Mapping="mapping"})(e||(ln.DiscrError=e={})),ln}var Pl;function _m(){if(Pl)return Jn;Pl=1,Object.defineProperty(Jn,"__esModule",{value:!0});const e=Pe(),t=gg(),n=wm(),i=Yi(),r=We(),o={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:l,tagName:c}})=>l===t.DiscrError.Tag?`tag "${c}" must be string`:`value of tag "${c}" must be in oneOf`,params:({params:{discrError:l,tag:c,tagName:d}})=>(0,e._)`{error: ${l}, tag: ${d}, tagValue: ${c}}`},code(l){const{gen:c,data:d,schema:a,parentSchema:p,it:u}=l,{oneOf:f}=p;if(!u.opts.discriminator)throw new Error("discriminator: requires discriminator option");const v=a.propertyName;if(typeof v!="string")throw new Error("discriminator: requires propertyName");if(a.mapping)throw new Error("discriminator: mapping is not supported");if(!f)throw new Error("discriminator: requires oneOf keyword");const m=c.let("valid",!1),h=c.const("tag",(0,e._)`${d}${(0,e.getProperty)(v)}`);c.if((0,e._)`typeof ${h} == "string"`,()=>y(),()=>l.error(!1,{discrError:t.DiscrError.Tag,tag:h,tagName:v})),l.ok(m);function y(){const S=b();c.if(!1);for(const x in S)c.elseIf((0,e._)`${h} === ${x}`),c.assign(m,g(S[x]));c.else(),l.error(!1,{discrError:t.DiscrError.Mapping,tag:h,tagName:v}),c.endIf()}function g(S){const x=c.name("valid"),k=l.subschema({keyword:"oneOf",schemaProp:S},x);return l.mergeEvaluated(k,e.Name),x}function b(){var S;const x={},k=N(p);let O=!0;for(let j=0;j<f.length;j++){let M=f[j];if(M?.$ref&&!(0,r.schemaHasRulesButRef)(M,u.self.RULES)){const V=M.$ref;if(M=n.resolveRef.call(u.self,u.schemaEnv.root,u.baseId,V),M instanceof n.SchemaEnv&&(M=M.schema),M===void 0)throw new i.default(u.opts.uriResolver,u.baseId,V)}const H=(S=M?.properties)===null||S===void 0?void 0:S[v];if(typeof H!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${v}"`);O=O&&(k||N(M)),C(H,j)}if(!O)throw new Error(`discriminator: "${v}" must be required`);return x;function N({required:j}){return Array.isArray(j)&&j.includes(v)}function C(j,M){if(j.const)D(j.const,M);else if(j.enum)for(const H of j.enum)D(H,M);else throw new Error(`discriminator: "properties/${v}" must have "const" or "enum"`)}function D(j,M){if(typeof j!="string"||j in x)throw new Error(`discriminator: "${v}" values must be unique strings`);x[j]=M}}}};return Jn.default=o,Jn}var Tl;function yg(){return Tl||(Tl=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv2020=void 0;const n=Em(),i=_m(),r="https://json-schema.org/draft/2020-12/schema";class s extends n.default{constructor(p={}){super({...p,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:p,meta:u}=this.opts;u&&(this.refs["http://json-schema.org/schema"]=r)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(r)?r:void 0)}}t.Ajv2020=s,e.exports=t=s,e.exports.Ajv2020=s,Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var o=Gi();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return o.KeywordCxt}});var l=Pe();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return l.CodeGen}});var c=Wi();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return c.default}});var d=Yi();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return d.default}})})(Hn,Hn.exports)),Hn.exports}var xg=yg(),Xn={exports:{}},Cr={},Nl;function bg(){return Nl||(Nl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(j,M){return{validate:j,compare:M}}e.fullFormats={date:t(s,o),time:t(c(!0),d),"date-time":t(u(!0),f),"iso-time":t(c(),a),"iso-date-time":t(u(),v),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:y,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:D,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:b,int32:{type:"number",validate:k},int64:{type:"number",validate:O},float:{type:"number",validate:N},double:{type:"number",validate:N},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,o),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,d),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,f),"iso-time":t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,a),"iso-date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,v),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function n(j){return j%4===0&&(j%100!==0||j%400===0)}const i=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,r=[0,31,28,31,30,31,30,31,31,30,31,30,31];function s(j){const M=i.exec(j);if(!M)return!1;const H=+M[1],V=+M[2],Q=+M[3];return V>=1&&V<=12&&Q>=1&&Q<=(V===2&&n(H)?29:r[V])}function o(j,M){if(j&&M)return j>M?1:j<M?-1:0}const l=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function c(j){return function(H){const V=l.exec(H);if(!V)return!1;const Q=+V[1],ie=+V[2],U=+V[3],z=V[4],E=V[5]==="-"?-1:1,_=+(V[6]||0),w=+(V[7]||0);if(_>23||w>59||j&&!z)return!1;if(Q<=23&&ie<=59&&U<60)return!0;const A=ie-w*E,$=Q-_*E-(A<0?1:0);return($===23||$===-1)&&(A===59||A===-1)&&U<61}}function d(j,M){if(!(j&&M))return;const H=new Date("2020-01-01T"+j).valueOf(),V=new Date("2020-01-01T"+M).valueOf();if(H&&V)return H-V}function a(j,M){if(!(j&&M))return;const H=l.exec(j),V=l.exec(M);if(H&&V)return j=H[1]+H[2]+H[3],M=V[1]+V[2]+V[3],j>M?1:j<M?-1:0}const p=/t|\s/i;function u(j){const M=c(j);return function(V){const Q=V.split(p);return Q.length===2&&s(Q[0])&&M(Q[1])}}function f(j,M){if(!(j&&M))return;const H=new Date(j).valueOf(),V=new Date(M).valueOf();if(H&&V)return H-V}function v(j,M){if(!(j&&M))return;const[H,V]=j.split(p),[Q,ie]=M.split(p),U=o(H,Q);if(U!==void 0)return U||d(V,ie)}const m=/\/|:/,h=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function y(j){return m.test(j)&&h.test(j)}const g=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function b(j){return g.lastIndex=0,g.test(j)}const S=-2147483648,x=2**31-1;function k(j){return Number.isInteger(j)&&j<=x&&j>=S}function O(j){return Number.isInteger(j)}function N(){return!0}const C=/[^\\]\\Z/;function D(j){if(C.test(j))return!1;try{return new RegExp(j),!0}catch{return!1}}})(Cr)),Cr}var jr={},Qn={exports:{}};const wg="http://json-schema.org/draft-07/schema#",Sg="http://json-schema.org/draft-07/schema#",Eg="Core schema meta-schema",_g={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Rg=["object","boolean"],kg={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},Ag={$schema:wg,$id:Sg,title:Eg,definitions:_g,type:Rg,properties:kg,default:!0};var Cl;function $g(){return Cl||(Cl=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const n=Em(),i=_m(),r=Ag,s=["/properties"],o="http://json-schema.org/draft-07/schema";class l extends n.default{_addVocabularies(){super._addVocabularies(),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const f=this.opts.$data?this.$dataMetaSchema(r,s):r;this.addMetaSchema(f,o,!1),this.refs["http://json-schema.org/schema"]=o}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(o)?o:void 0)}}t.Ajv=l,e.exports=t=l,e.exports.Ajv=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var c=Gi();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var d=Pe();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var a=Wi();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return a.default}});var p=Yi();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return p.default}})})(Qn,Qn.exports)),Qn.exports}var jl;function Og(){return jl||(jl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=$g(),n=Pe(),i=n.operators,r={formatMaximum:{okStr:"<=",ok:i.LTE,fail:i.GT},formatMinimum:{okStr:">=",ok:i.GTE,fail:i.LT},formatExclusiveMaximum:{okStr:"<",ok:i.LT,fail:i.GTE},formatExclusiveMinimum:{okStr:">",ok:i.GT,fail:i.LTE}},s={message:({keyword:l,schemaCode:c})=>(0,n.str)`should be ${r[l].okStr} ${c}`,params:({keyword:l,schemaCode:c})=>(0,n._)`{comparison: ${r[l].okStr}, limit: ${c}}`};e.formatLimitDefinition={keyword:Object.keys(r),type:"string",schemaType:"string",$data:!0,error:s,code(l){const{gen:c,data:d,schemaCode:a,keyword:p,it:u}=l,{opts:f,self:v}=u;if(!f.validateFormats)return;const m=new t.KeywordCxt(u,v.RULES.all.format.definition,"format");m.$data?h():y();function h(){const b=c.scopeValue("formats",{ref:v.formats,code:f.code.formats}),S=c.const("fmt",(0,n._)`${b}[${m.schemaCode}]`);l.fail$data((0,n.or)((0,n._)`typeof ${S} != "object"`,(0,n._)`${S} instanceof RegExp`,(0,n._)`typeof ${S}.compare != "function"`,g(S)))}function y(){const b=m.schema,S=v.formats[b];if(!S||S===!0)return;if(typeof S!="object"||S instanceof RegExp||typeof S.compare!="function")throw new Error(`"${p}": format "${b}" does not define "compare" function`);const x=c.scopeValue("formats",{key:b,ref:S,code:f.code.formats?(0,n._)`${f.code.formats}${(0,n.getProperty)(b)}`:void 0});l.fail$data(g(x))}function g(b){return(0,n._)`${b}.compare(${d}, ${a}) ${r[p].fail} 0`}},dependencies:["format"]};const o=l=>(l.addKeyword(e.formatLimitDefinition),l);e.default=o})(jr)),jr}var Il;function Pg(){return Il||(Il=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=bg(),i=Og(),r=Pe(),s=new r.Name("fullFormats"),o=new r.Name("fastFormats"),l=(d,a={keywords:!0})=>{if(Array.isArray(a))return c(d,a,n.fullFormats,s),d;const[p,u]=a.mode==="fast"?[n.fastFormats,o]:[n.fullFormats,s],f=a.formats||n.formatNames;return c(d,f,p,u),a.keywords&&(0,i.default)(d),d};l.get=(d,a="full")=>{const u=(a==="fast"?n.fastFormats:n.fullFormats)[d];if(!u)throw new Error(`Unknown format "${d}"`);return u};function c(d,a,p,u){var f,v;(f=(v=d.opts.code).formats)!==null&&f!==void 0||(v.formats=(0,r._)`require("ajv-formats/dist/formats").${u}`);for(const m of a)d.addFormat(m,p[m])}e.exports=t=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l})(Xn,Xn.exports)),Xn.exports}var Tg=Pg();const Ng=Nn(Tg),Cg=(e,t,n,i)=>{if(n==="length"||n==="prototype"||n==="arguments"||n==="caller")return;const r=Object.getOwnPropertyDescriptor(e,n),s=Object.getOwnPropertyDescriptor(t,n);!jg(r,s)&&i||Object.defineProperty(e,n,s)},jg=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},Ig=(e,t)=>{const n=Object.getPrototypeOf(t);n!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,n)},Lg=(e,t)=>`/* Wrapped ${e}*/
6
+ ${t}`,qg=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),Dg=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),Fg=(e,t,n)=>{const i=n===""?"":`with ${n.trim()}() `,r=Lg.bind(null,i,t.toString());Object.defineProperty(r,"name",Dg);const{writable:s,enumerable:o,configurable:l}=qg;Object.defineProperty(e,"toString",{value:r,writable:s,enumerable:o,configurable:l})};function Mg(e,t,{ignoreNonConfigurable:n=!1}={}){const{name:i}=e;for(const r of Reflect.ownKeys(t))Cg(e,t,r,n);return Ig(e,t),Fg(e,t,i),e}const Ll=(e,t={})=>{if(typeof e!="function")throw new TypeError(`Expected the first argument to be a function, got \`${typeof e}\``);const{wait:n=0,maxWait:i=Number.POSITIVE_INFINITY,before:r=!1,after:s=!0}=t;if(n<0||i<0)throw new RangeError("`wait` and `maxWait` must not be negative.");if(!r&&!s)throw new Error("Both `before` and `after` are false, function wouldn't be called.");let o,l,c;const d=function(...a){const p=this,u=()=>{o=void 0,l&&(clearTimeout(l),l=void 0),s&&(c=e.apply(p,a))},f=()=>{l=void 0,o&&(clearTimeout(o),o=void 0),s&&(c=e.apply(p,a))},v=r&&!o;return clearTimeout(o),o=setTimeout(u,n),i>0&&i!==Number.POSITIVE_INFINITY&&!l&&(l=setTimeout(f,i)),v&&(c=e.apply(p,a)),c};return Mg(d,e),d.cancel=()=>{o&&(clearTimeout(o),o=void 0),l&&(clearTimeout(l),l=void 0)},d};var Zn={exports:{}},Ir,ql;function Cn(){if(ql)return Ir;ql=1;const e="2.0.0",t=256,n=Number.MAX_SAFE_INTEGER||9007199254740991,i=16,r=t-6;return Ir={MAX_LENGTH:t,MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:r,MAX_SAFE_INTEGER:n,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Ir}var Lr,Dl;function Ji(){return Dl||(Dl=1,Lr=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{}),Lr}var Fl;function jn(){return Fl||(Fl=1,(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:r}=Cn(),s=Ji();t=e.exports={};const o=t.re=[],l=t.safeRe=[],c=t.src=[],d=t.safeSrc=[],a=t.t={};let p=0;const u="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",r],[u,i]],v=h=>{for(const[y,g]of f)h=h.split(`${y}*`).join(`${y}{0,${g}}`).split(`${y}+`).join(`${y}{1,${g}}`);return h},m=(h,y,g)=>{const b=v(y),S=p++;s(h,S,y),a[h]=S,c[S]=y,d[S]=b,o[S]=new RegExp(y,g?"g":void 0),l[S]=new RegExp(b,g?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${u}*`),m("MAINVERSION",`(${c[a.NUMERICIDENTIFIER]})\\.(${c[a.NUMERICIDENTIFIER]})\\.(${c[a.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${c[a.NUMERICIDENTIFIERLOOSE]})\\.(${c[a.NUMERICIDENTIFIERLOOSE]})\\.(${c[a.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${c[a.NONNUMERICIDENTIFIER]}|${c[a.NUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${c[a.NONNUMERICIDENTIFIER]}|${c[a.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASE",`(?:-(${c[a.PRERELEASEIDENTIFIER]}(?:\\.${c[a.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${c[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[a.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${u}+`),m("BUILD",`(?:\\+(${c[a.BUILDIDENTIFIER]}(?:\\.${c[a.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${c[a.MAINVERSION]}${c[a.PRERELEASE]}?${c[a.BUILD]}?`),m("FULL",`^${c[a.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${c[a.MAINVERSIONLOOSE]}${c[a.PRERELEASELOOSE]}?${c[a.BUILD]}?`),m("LOOSE",`^${c[a.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${c[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${c[a.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${c[a.XRANGEIDENTIFIER]})(?:\\.(${c[a.XRANGEIDENTIFIER]})(?:\\.(${c[a.XRANGEIDENTIFIER]})(?:${c[a.PRERELEASE]})?${c[a.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${c[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[a.XRANGEIDENTIFIERLOOSE]})(?:${c[a.PRERELEASELOOSE]})?${c[a.BUILD]}?)?)?`),m("XRANGE",`^${c[a.GTLT]}\\s*${c[a.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${c[a.GTLT]}\\s*${c[a.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),m("COERCE",`${c[a.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",c[a.COERCEPLAIN]+`(?:${c[a.PRERELEASE]})?(?:${c[a.BUILD]})?(?:$|[^\\d])`),m("COERCERTL",c[a.COERCE],!0),m("COERCERTLFULL",c[a.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${c[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${c[a.LONETILDE]}${c[a.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${c[a.LONETILDE]}${c[a.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${c[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${c[a.LONECARET]}${c[a.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${c[a.LONECARET]}${c[a.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${c[a.GTLT]}\\s*(${c[a.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${c[a.GTLT]}\\s*(${c[a.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${c[a.GTLT]}\\s*(${c[a.LOOSEPLAIN]}|${c[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${c[a.XRANGEPLAIN]})\\s+-\\s+(${c[a.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${c[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[a.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Zn,Zn.exports)),Zn.exports}var qr,Ml;function oc(){if(Ml)return qr;Ml=1;const e=Object.freeze({loose:!0}),t=Object.freeze({});return qr=i=>i?typeof i!="object"?e:i:t,qr}var Dr,Ul;function Rm(){if(Ul)return Dr;Ul=1;const e=/^[0-9]+$/,t=(i,r)=>{if(typeof i=="number"&&typeof r=="number")return i===r?0:i<r?-1:1;const s=e.test(i),o=e.test(r);return s&&o&&(i=+i,r=+r),i===r?0:s&&!o?-1:o&&!s?1:i<r?-1:1};return Dr={compareIdentifiers:t,rcompareIdentifiers:(i,r)=>t(r,i)},Dr}var Fr,zl;function Le(){if(zl)return Fr;zl=1;const e=Ji(),{MAX_LENGTH:t,MAX_SAFE_INTEGER:n}=Cn(),{safeRe:i,t:r}=jn(),s=oc(),{compareIdentifiers:o}=Rm(),l=(d,a)=>{const p=a.split(".");if(p.length>d.length)return!1;for(let u=0;u<p.length;u++)if(o(d[u],p[u])!==0)return!1;return!0};class c{constructor(a,p){if(p=s(p),a instanceof c){if(a.loose===!!p.loose&&a.includePrerelease===!!p.includePrerelease)return a;a=a.version}else if(typeof a!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof a}".`);if(a.length>t)throw new TypeError(`version is longer than ${t} characters`);e("SemVer",a,p),this.options=p,this.loose=!!p.loose,this.includePrerelease=!!p.includePrerelease;const u=a.trim().match(p.loose?i[r.LOOSE]:i[r.FULL]);if(!u)throw new TypeError(`Invalid Version: ${a}`);if(this.raw=a,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");u[4]?this.prerelease=u[4].split(".").map(f=>{if(/^[0-9]+$/.test(f)){const v=+f;if(v>=0&&v<n)return v}return f}):this.prerelease=[],this.build=u[5]?u[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(a){if(e("SemVer.compare",this.version,this.options,a),!(a instanceof c)){if(typeof a=="string"&&a===this.version)return 0;a=new c(a,this.options)}return a.version===this.version?0:this.compareMain(a)||this.comparePre(a)}compareMain(a){return a instanceof c||(a=new c(a,this.options)),this.major<a.major?-1:this.major>a.major?1:this.minor<a.minor?-1:this.minor>a.minor?1:this.patch<a.patch?-1:this.patch>a.patch?1:0}comparePre(a){if(a instanceof c||(a=new c(a,this.options)),this.prerelease.length&&!a.prerelease.length)return-1;if(!this.prerelease.length&&a.prerelease.length)return 1;if(!this.prerelease.length&&!a.prerelease.length)return 0;let p=0;do{const u=this.prerelease[p],f=a.prerelease[p];if(e("prerelease compare",p,u,f),u===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(u===void 0)return-1;if(u===f)continue;return o(u,f)}while(++p)}compareBuild(a){a instanceof c||(a=new c(a,this.options));let p=0;do{const u=this.build[p],f=a.build[p];if(e("build compare",p,u,f),u===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(u===void 0)return-1;if(u===f)continue;return o(u,f)}while(++p)}inc(a,p,u){if(a.startsWith("pre")){if(!p&&u===!1)throw new Error("invalid increment argument: identifier is empty");if(p){const f=`-${p}`.match(this.options.loose?i[r.PRERELEASELOOSE]:i[r.PRERELEASE]);if(!f||f[1]!==p)throw new Error(`invalid identifier: ${p}`)}}switch(a){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",p,u);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",p,u);break;case"prepatch":this.prerelease.length=0,this.inc("patch",p,u),this.inc("pre",p,u);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",p,u),this.inc("pre",p,u);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const f=Number(u)?1:0;if(this.prerelease.length===0)this.prerelease=[f];else{let v=this.prerelease.length;for(;--v>=0;)typeof this.prerelease[v]=="number"&&(this.prerelease[v]++,v=-2);if(v===-1){if(p===this.prerelease.join(".")&&u===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(f)}}if(p){let v=[p,f];if(u===!1&&(v=[p]),l(this.prerelease,p)){const m=this.prerelease[p.split(".").length];isNaN(m)&&(this.prerelease=v)}else this.prerelease=v}break}default:throw new Error(`invalid increment argument: ${a}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return Fr=c,Fr}var Mr,Bl;function Nt(){if(Bl)return Mr;Bl=1;const e=Le();return Mr=(n,i,r=!1)=>{if(n instanceof e)return n;try{return new e(n,i)}catch(s){if(!r)return null;throw s}},Mr}var Ur,Vl;function Ug(){if(Vl)return Ur;Vl=1;const e=Nt();return Ur=(n,i)=>{const r=e(n,i);return r?r.version:null},Ur}var zr,Hl;function zg(){if(Hl)return zr;Hl=1;const e=Nt();return zr=(n,i)=>{const r=e(n.trim().replace(/^[=v]+/,""),i);return r?r.version:null},zr}var Br,Kl;function Bg(){if(Kl)return Br;Kl=1;const e=Le();return Br=(n,i,r,s,o)=>{typeof r=="string"&&(o=s,s=r,r=void 0);try{return new e(n instanceof e?n.version:n,r).inc(i,s,o).version}catch{return null}},Br}var Vr,Gl;function Vg(){if(Gl)return Vr;Gl=1;const e=Nt();return Vr=(n,i)=>{const r=e(n,null,!0),s=e(i,null,!0),o=r.compare(s);if(o===0)return null;const l=o>0,c=l?r:s,d=l?s:r,a=!!c.prerelease.length;if(!!d.prerelease.length&&!a){if(!d.patch&&!d.minor)return"major";if(d.compareMain(c)===0)return d.minor&&!d.patch?"minor":"patch"}const u=a?"pre":"";return r.major!==s.major?u+"major":r.minor!==s.minor?u+"minor":r.patch!==s.patch?u+"patch":"prerelease"},Vr}var Hr,Wl;function Hg(){if(Wl)return Hr;Wl=1;const e=Le();return Hr=(n,i)=>new e(n,i).major,Hr}var Kr,Yl;function Kg(){if(Yl)return Kr;Yl=1;const e=Le();return Kr=(n,i)=>new e(n,i).minor,Kr}var Gr,Jl;function Gg(){if(Jl)return Gr;Jl=1;const e=Le();return Gr=(n,i)=>new e(n,i).patch,Gr}var Wr,Xl;function Wg(){if(Xl)return Wr;Xl=1;const e=Nt();return Wr=(n,i)=>{const r=e(n,i);return r&&r.prerelease.length?r.prerelease:null},Wr}var Yr,Ql;function Je(){if(Ql)return Yr;Ql=1;const e=Le();return Yr=(n,i,r)=>new e(n,r).compare(new e(i,r)),Yr}var Jr,Zl;function Yg(){if(Zl)return Jr;Zl=1;const e=Je();return Jr=(n,i,r)=>e(i,n,r),Jr}var Xr,eu;function Jg(){if(eu)return Xr;eu=1;const e=Je();return Xr=(n,i)=>e(n,i,!0),Xr}var Qr,tu;function cc(){if(tu)return Qr;tu=1;const e=Le();return Qr=(n,i,r)=>{const s=new e(n,r),o=new e(i,r);return s.compare(o)||s.compareBuild(o)},Qr}var Zr,nu;function Xg(){if(nu)return Zr;nu=1;const e=cc();return Zr=(n,i)=>n.sort((r,s)=>e(r,s,i)),Zr}var ea,iu;function Qg(){if(iu)return ea;iu=1;const e=cc();return ea=(n,i)=>n.sort((r,s)=>e(s,r,i)),ea}var ta,ru;function Xi(){if(ru)return ta;ru=1;const e=Je();return ta=(n,i,r)=>e(n,i,r)>0,ta}var na,au;function lc(){if(au)return na;au=1;const e=Je();return na=(n,i,r)=>e(n,i,r)<0,na}var ia,su;function km(){if(su)return ia;su=1;const e=Je();return ia=(n,i,r)=>e(n,i,r)===0,ia}var ra,ou;function Am(){if(ou)return ra;ou=1;const e=Je();return ra=(n,i,r)=>e(n,i,r)!==0,ra}var aa,cu;function uc(){if(cu)return aa;cu=1;const e=Je();return aa=(n,i,r)=>e(n,i,r)>=0,aa}var sa,lu;function pc(){if(lu)return sa;lu=1;const e=Je();return sa=(n,i,r)=>e(n,i,r)<=0,sa}var oa,uu;function $m(){if(uu)return oa;uu=1;const e=km(),t=Am(),n=Xi(),i=uc(),r=lc(),s=pc();return oa=(l,c,d,a)=>{switch(c){case"===":return typeof l=="object"&&(l=l.version),typeof d=="object"&&(d=d.version),l===d;case"!==":return typeof l=="object"&&(l=l.version),typeof d=="object"&&(d=d.version),l!==d;case"":case"=":case"==":return e(l,d,a);case"!=":return t(l,d,a);case">":return n(l,d,a);case">=":return i(l,d,a);case"<":return r(l,d,a);case"<=":return s(l,d,a);default:throw new TypeError(`Invalid operator: ${c}`)}},oa}var ca,pu;function Zg(){if(pu)return ca;pu=1;const e=Le(),t=Nt(),{safeRe:n,t:i}=jn();return ca=(s,o)=>{if(s instanceof e)return s;if(typeof s=="number"&&(s=String(s)),typeof s!="string")return null;o=o||{};let l=null;if(!o.rtl)l=s.match(o.includePrerelease?n[i.COERCEFULL]:n[i.COERCE]);else{const f=o.includePrerelease?n[i.COERCERTLFULL]:n[i.COERCERTL];let v;for(;(v=f.exec(s))&&(!l||l.index+l[0].length!==s.length);)(!l||v.index+v[0].length!==l.index+l[0].length)&&(l=v),f.lastIndex=v.index+v[1].length+v[2].length;f.lastIndex=-1}if(l===null)return null;const c=l[2],d=l[3]||"0",a=l[4]||"0",p=o.includePrerelease&&l[5]?`-${l[5]}`:"",u=o.includePrerelease&&l[6]?`+${l[6]}`:"";return t(`${c}.${d}.${a}${p}${u}`,o)},ca}var la,du;function ey(){if(du)return la;du=1;const e=Nt(),t=Cn(),n=Le(),i=(l,c,d)=>{if(!t.RELEASE_TYPES.includes(c))return null;const a=r(l,d);return a&&s(a,c)},r=(l,c)=>{const d=l instanceof n?l.version:l;return e(d,c)},s=(l,c)=>{if(o(c))return l.version;switch(l.prerelease=[],c){case"major":l.minor=0,l.patch=0;break;case"minor":l.patch=0;break}return l.format()},o=l=>l.startsWith("pre");return la=i,la}var ua,fu;function ty(){if(fu)return ua;fu=1;class e{constructor(){this.max=1e3,this.map=new Map}get(n){const i=this.map.get(n);if(i!==void 0)return this.map.delete(n),this.map.set(n,i),i}delete(n){return this.map.delete(n)}set(n,i){if(!this.delete(n)&&i!==void 0){if(this.map.size>=this.max){const s=this.map.keys().next().value;this.delete(s)}this.map.set(n,i)}return this}}return ua=e,ua}var pa,mu;function Xe(){if(mu)return pa;mu=1;const e=/\s+/g;class t{constructor(z,E){if(E=r(E),z instanceof t)return z.loose===!!E.loose&&z.includePrerelease===!!E.includePrerelease?z:new t(z.raw,E);if(z instanceof s)return this.raw=z.value,this.set=[[z]],this.formatted=void 0,this;if(this.options=E,this.loose=!!E.loose,this.includePrerelease=!!E.includePrerelease,this.raw=z.trim().replace(e," "),this.set=this.raw.split("||").map(_=>this.parseRange(_.trim())).filter(_=>_.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const _=this.set[0];if(this.set=this.set.filter(w=>!y(w[0])),this.set.length===0)this.set=[_];else if(this.set.length>1){for(const w of this.set)if(w.length===1&&g(w[0])){this.set=[w];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let z=0;z<this.set.length;z++){z>0&&(this.formatted+="||");const E=this.set[z];for(let _=0;_<E.length;_++)_>0&&(this.formatted+=" "),this.formatted+=E[_].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(z){z=z.replace(h,"");const _=((this.options.includePrerelease&&v)|(this.options.loose&&m))+":"+z,w=i.get(_);if(w)return w;const A=this.options.loose,$=A?c[a.HYPHENRANGELOOSE]:c[a.HYPHENRANGE];z=z.replace($,Q(this.options.includePrerelease)),o("hyphen replace",z),z=z.replace(c[a.COMPARATORTRIM],p),o("comparator trim",z),z=z.replace(c[a.TILDETRIM],u),o("tilde trim",z),z=z.replace(c[a.CARETTRIM],f),o("caret trim",z);let R=z.split(" ").map(K=>S(K,this.options)).join(" ").split(/\s+/).map(K=>V(K,this.options));A&&(R=R.filter(K=>(o("loose invalid filter",K,this.options),!!K.match(c[a.COMPARATORLOOSE])))),o("range list",R);const P=new Map,L=R.map(K=>new s(K,this.options));for(const K of L){if(y(K))return[K];P.set(K.value,K)}P.size>1&&P.has("")&&P.delete("");const W=[...P.values()];return i.set(_,W),W}intersects(z,E){if(!(z instanceof t))throw new TypeError("a Range is required");return this.set.some(_=>b(_,E)&&z.set.some(w=>b(w,E)&&_.every(A=>w.every($=>A.intersects($,E)))))}test(z){if(!z)return!1;if(typeof z=="string")try{z=new l(z,this.options)}catch{return!1}for(let E=0;E<this.set.length;E++)if(ie(this.set[E],z,this.options))return!0;return!1}}pa=t;const n=ty(),i=new n,r=oc(),s=Qi(),o=Ji(),l=Le(),{safeRe:c,src:d,t:a,comparatorTrimReplace:p,tildeTrimReplace:u,caretTrimReplace:f}=jn(),{FLAG_INCLUDE_PRERELEASE:v,FLAG_LOOSE:m}=Cn(),h=new RegExp(d[a.BUILD],"g"),y=U=>U.value==="<0.0.0-0",g=U=>U.value==="",b=(U,z)=>{let E=!0;const _=U.slice();let w=_.pop();for(;E&&_.length;)E=_.every(A=>w.intersects(A,z)),w=_.pop();return E},S=(U,z)=>(U=U.replace(c[a.BUILD],""),o("comp",U,z),U=C(U,z),o("caret",U),U=O(U,z),o("tildes",U),U=j(U,z),o("xrange",U),U=H(U,z),o("stars",U),U),x=U=>!U||U.toLowerCase()==="x"||U==="*",k=(U,z,E)=>x(U)&&!x(z)||x(z)&&E&&!x(E),O=(U,z)=>U.trim().split(/\s+/).map(E=>N(E,z)).join(" "),N=(U,z)=>{const E=z.loose?c[a.TILDELOOSE]:c[a.TILDE],_=z.includePrerelease?"-0":"";return U.replace(E,(w,A,$,R,P)=>{o("tilde",U,w,A,$,R,P);let L;return x(A)?L="":x($)?L=`>=${A}.0.0${_} <${+A+1}.0.0-0`:x(R)?L=`>=${A}.${$}.0${_} <${A}.${+$+1}.0-0`:P?(o("replaceTilde pr",P),L=`>=${A}.${$}.${R}-${P} <${A}.${+$+1}.0-0`):L=`>=${A}.${$}.${R} <${A}.${+$+1}.0-0`,o("tilde return",L),L})},C=(U,z)=>U.trim().split(/\s+/).map(E=>D(E,z)).join(" "),D=(U,z)=>{o("caret",U,z);const E=z.loose?c[a.CARETLOOSE]:c[a.CARET],_=z.includePrerelease?"-0":"";return U.replace(E,(w,A,$,R,P)=>{o("caret",U,w,A,$,R,P);let L;return x(A)?L="":x($)?L=`>=${A}.0.0${_} <${+A+1}.0.0-0`:x(R)?A==="0"?L=`>=${A}.${$}.0${_} <${A}.${+$+1}.0-0`:L=`>=${A}.${$}.0${_} <${+A+1}.0.0-0`:P?(o("replaceCaret pr",P),A==="0"?$==="0"?L=`>=${A}.${$}.${R}-${P} <${A}.${$}.${+R+1}-0`:L=`>=${A}.${$}.${R}-${P} <${A}.${+$+1}.0-0`:L=`>=${A}.${$}.${R}-${P} <${+A+1}.0.0-0`):(o("no pr"),A==="0"?$==="0"?L=`>=${A}.${$}.${R} <${A}.${$}.${+R+1}-0`:L=`>=${A}.${$}.${R} <${A}.${+$+1}.0-0`:L=`>=${A}.${$}.${R} <${+A+1}.0.0-0`),o("caret return",L),L})},j=(U,z)=>(o("replaceXRanges",U,z),U.split(/\s+/).map(E=>M(E,z)).join(" ")),M=(U,z)=>{U=U.trim();const E=z.loose?c[a.XRANGELOOSE]:c[a.XRANGE];return U.replace(E,(_,w,A,$,R,P)=>{if(o("xRange",U,_,w,A,$,R,P),k(A,$,R))return U;const L=x(A),W=L||x($),K=W||x(R),X=K;return w==="="&&X&&(w=""),P=z.includePrerelease?"-0":"",L?w===">"||w==="<"?_="<0.0.0-0":_="*":w&&X?(W&&($=0),R=0,w===">"?(w=">=",W?(A=+A+1,$=0,R=0):($=+$+1,R=0)):w==="<="&&(w="<",W?A=+A+1:$=+$+1),w==="<"&&(P="-0"),_=`${w+A}.${$}.${R}${P}`):W?_=`>=${A}.0.0${P} <${+A+1}.0.0-0`:K&&(_=`>=${A}.${$}.0${P} <${A}.${+$+1}.0-0`),o("xRange return",_),_})},H=(U,z)=>(o("replaceStars",U,z),U.trim().replace(c[a.STAR],"")),V=(U,z)=>(o("replaceGTE0",U,z),U.trim().replace(c[z.includePrerelease?a.GTE0PRE:a.GTE0],"")),Q=U=>(z,E,_,w,A,$,R,P,L,W,K,X)=>(x(_)?E="":x(w)?E=`>=${_}.0.0${U?"-0":""}`:x(A)?E=`>=${_}.${w}.0${U?"-0":""}`:$?E=`>=${E}`:E=`>=${E}${U?"-0":""}`,x(L)?P="":x(W)?P=`<${+L+1}.0.0-0`:x(K)?P=`<${L}.${+W+1}.0-0`:X?P=`<=${L}.${W}.${K}-${X}`:U?P=`<${L}.${W}.${+K+1}-0`:P=`<=${P}`,`${E} ${P}`.trim()),ie=(U,z,E)=>{for(let _=0;_<U.length;_++)if(!U[_].test(z))return!1;if(z.prerelease.length&&!E.includePrerelease){for(let _=0;_<U.length;_++)if(o(U[_].semver),U[_].semver!==s.ANY&&U[_].semver.prerelease.length>0){const w=U[_].semver;if(w.major===z.major&&w.minor===z.minor&&w.patch===z.patch)return!0}return!1}return!0};return pa}var da,hu;function Qi(){if(hu)return da;hu=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(a,p){if(p=n(p),a instanceof t){if(a.loose===!!p.loose)return a;a=a.value}a=a.trim().split(/\s+/).join(" "),o("comparator",a,p),this.options=p,this.loose=!!p.loose,this.parse(a),this.semver===e?this.value="":this.value=this.operator+this.semver.version,o("comp",this)}parse(a){const p=this.options.loose?i[r.COMPARATORLOOSE]:i[r.COMPARATOR],u=a.match(p);if(!u)throw new TypeError(`Invalid comparator: ${a}`);this.operator=u[1]!==void 0?u[1]:"",this.operator==="="&&(this.operator=""),u[2]?this.semver=new l(u[2],this.options.loose):this.semver=e}toString(){return this.value}test(a){if(o("Comparator.test",a,this.options.loose),this.semver===e||a===e)return!0;if(typeof a=="string")try{a=new l(a,this.options)}catch{return!1}return s(a,this.operator,this.semver,this.options)}intersects(a,p){if(!(a instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new c(a.value,p).test(this.value):a.operator===""?a.value===""?!0:new c(this.value,p).test(a.semver):(p=n(p),p.includePrerelease&&(this.value==="<0.0.0-0"||a.value==="<0.0.0-0")||!p.includePrerelease&&(this.value.startsWith("<0.0.0")||a.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&a.operator.startsWith(">")||this.operator.startsWith("<")&&a.operator.startsWith("<")||this.semver.version===a.semver.version&&this.operator.includes("=")&&a.operator.includes("=")||s(this.semver,"<",a.semver,p)&&this.operator.startsWith(">")&&a.operator.startsWith("<")||s(this.semver,">",a.semver,p)&&this.operator.startsWith("<")&&a.operator.startsWith(">")))}}da=t;const n=oc(),{safeRe:i,t:r}=jn(),s=$m(),o=Ji(),l=Le(),c=Xe();return da}var fa,vu;function Zi(){if(vu)return fa;vu=1;const e=Xe();return fa=(n,i,r)=>{try{i=new e(i,r)}catch{return!1}return i.test(n)},fa}var ma,gu;function ny(){if(gu)return ma;gu=1;const e=Xe();return ma=(n,i)=>new e(n,i).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),ma}var ha,yu;function iy(){if(yu)return ha;yu=1;const e=Le(),t=Xe();return ha=(i,r,s)=>{let o=null,l=null,c=null;try{c=new t(r,s)}catch{return null}return i.forEach(d=>{c.test(d)&&(!o||l.compare(d)===-1)&&(o=d,l=new e(o,s))}),o},ha}var va,xu;function ry(){if(xu)return va;xu=1;const e=Le(),t=Xe();return va=(i,r,s)=>{let o=null,l=null,c=null;try{c=new t(r,s)}catch{return null}return i.forEach(d=>{c.test(d)&&(!o||l.compare(d)===1)&&(o=d,l=new e(o,s))}),o},va}var ga,bu;function ay(){if(bu)return ga;bu=1;const e=Le(),t=Xe(),n=Xi();return ga=(r,s)=>{r=new t(r,s);let o=new e("0.0.0");if(r.test(o)||(o=new e("0.0.0-0"),r.test(o)))return o;o=null;for(let l=0;l<r.set.length;++l){const c=r.set[l];let d=null;c.forEach(a=>{const p=new e(a.semver.version);switch(a.operator){case">":p.prerelease.length===0?p.patch++:p.prerelease.push(0),p.raw=p.format();case"":case">=":(!d||n(p,d))&&(d=p);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),d&&(!o||n(o,d))&&(o=d)}return o&&r.test(o)?o:null},ga}var ya,wu;function sy(){if(wu)return ya;wu=1;const e=Xe();return ya=(n,i)=>{try{return new e(n,i).range||"*"}catch{return null}},ya}var xa,Su;function dc(){if(Su)return xa;Su=1;const e=Le(),t=Qi(),{ANY:n}=t,i=Xe(),r=Zi(),s=Xi(),o=lc(),l=pc(),c=uc();return xa=(a,p,u,f)=>{a=new e(a,f),p=new i(p,f);let v,m,h,y,g;switch(u){case">":v=s,m=l,h=o,y=">",g=">=";break;case"<":v=o,m=c,h=s,y="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(r(a,p,f))return!1;for(let b=0;b<p.set.length;++b){const S=p.set[b];let x=null,k=null;if(S.forEach(O=>{O.semver===n&&(O=new t(">=0.0.0")),x=x||O,k=k||O,v(O.semver,x.semver,f)?x=O:h(O.semver,k.semver,f)&&(k=O)}),x.operator===y||x.operator===g||(!k.operator||k.operator===y)&&m(a,k.semver))return!1;if(k.operator===g&&h(a,k.semver))return!1}return!0},xa}var ba,Eu;function oy(){if(Eu)return ba;Eu=1;const e=dc();return ba=(n,i,r)=>e(n,i,">",r),ba}var wa,_u;function cy(){if(_u)return wa;_u=1;const e=dc();return wa=(n,i,r)=>e(n,i,"<",r),wa}var Sa,Ru;function ly(){if(Ru)return Sa;Ru=1;const e=Xe();return Sa=(n,i,r)=>(n=new e(n,r),i=new e(i,r),n.intersects(i,r)),Sa}var Ea,ku;function uy(){if(ku)return Ea;ku=1;const e=Zi(),t=Je();return Ea=(n,i,r)=>{const s=[];let o=null,l=null;const c=n.sort((u,f)=>t(u,f,r));for(const u of c)e(u,i,r)?(l=u,o||(o=u)):(l&&s.push([o,l]),l=null,o=null);o&&s.push([o,null]);const d=[];for(const[u,f]of s)u===f?d.push(u):!f&&u===c[0]?d.push("*"):f?u===c[0]?d.push(`<=${f}`):d.push(`${u} - ${f}`):d.push(`>=${u}`);const a=d.join(" || "),p=typeof i.raw=="string"?i.raw:String(i);return a.length<p.length?a:i},Ea}var _a,Au;function py(){if(Au)return _a;Au=1;const e=Xe(),t=Qi(),{ANY:n}=t,i=Zi(),r=Je(),s=(p,u,f={})=>{if(p===u)return!0;p=new e(p,f),u=new e(u,f);let v=!1;e:for(const m of p.set){for(const h of u.set){const y=c(m,h,f);if(v=v||y!==null,y)continue e}if(v)return!1}return!0},o=[new t(">=0.0.0-0")],l=[new t(">=0.0.0")],c=(p,u,f)=>{if(p===u)return!0;if(p.length===1&&p[0].semver===n){if(u.length===1&&u[0].semver===n)return!0;f.includePrerelease?p=o:p=l}if(u.length===1&&u[0].semver===n){if(f.includePrerelease)return!0;u=l}const v=new Set;let m,h;for(const N of p)N.operator===">"||N.operator===">="?m=d(m,N,f):N.operator==="<"||N.operator==="<="?h=a(h,N,f):v.add(N.semver);if(v.size>1)return null;let y;if(m&&h){if(y=r(m.semver,h.semver,f),y>0)return null;if(y===0&&(m.operator!==">="||h.operator!=="<="))return null}for(const N of v){if(m&&!i(N,String(m),f)||h&&!i(N,String(h),f))return null;for(const C of u)if(!i(N,String(C),f))return!1;return!0}let g,b,S,x,k=h&&!f.includePrerelease&&h.semver.prerelease.length?h.semver:!1,O=m&&!f.includePrerelease&&m.semver.prerelease.length?m.semver:!1;k&&k.prerelease.length===1&&h.operator==="<"&&k.prerelease[0]===0&&(k=!1);for(const N of u){if(x=x||N.operator===">"||N.operator===">=",S=S||N.operator==="<"||N.operator==="<=",m){if(O&&N.semver.prerelease&&N.semver.prerelease.length&&N.semver.major===O.major&&N.semver.minor===O.minor&&N.semver.patch===O.patch&&(O=!1),N.operator===">"||N.operator===">="){if(g=d(m,N,f),g===N&&g!==m)return!1}else if(m.operator===">="&&!N.test(m.semver))return!1}if(h){if(k&&N.semver.prerelease&&N.semver.prerelease.length&&N.semver.major===k.major&&N.semver.minor===k.minor&&N.semver.patch===k.patch&&(k=!1),N.operator==="<"||N.operator==="<="){if(b=a(h,N,f),b===N&&b!==h)return!1}else if(h.operator==="<="&&!N.test(h.semver))return!1}if(!N.operator&&(h||m)&&y!==0)return!1}return!(m&&S&&!h&&y!==0||h&&x&&!m&&y!==0||O||k)},d=(p,u,f)=>{if(!p)return u;const v=r(p.semver,u.semver,f);return v>0?p:v<0||u.operator===">"&&p.operator===">="?u:p},a=(p,u,f)=>{if(!p)return u;const v=r(p.semver,u.semver,f);return v<0?p:v>0||u.operator==="<"&&p.operator==="<="?u:p};return _a=s,_a}var Ra,$u;function dy(){if($u)return Ra;$u=1;const e=jn(),t=Cn(),n=Le(),i=Rm(),r=Nt(),s=Ug(),o=zg(),l=Bg(),c=Vg(),d=Hg(),a=Kg(),p=Gg(),u=Wg(),f=Je(),v=Yg(),m=Jg(),h=cc(),y=Xg(),g=Qg(),b=Xi(),S=lc(),x=km(),k=Am(),O=uc(),N=pc(),C=$m(),D=Zg(),j=ey(),M=Qi(),H=Xe(),V=Zi(),Q=ny(),ie=iy(),U=ry(),z=ay(),E=sy(),_=dc(),w=oy(),A=cy(),$=ly(),R=uy(),P=py();return Ra={parse:r,valid:s,clean:o,inc:l,diff:c,major:d,minor:a,patch:p,prerelease:u,compare:f,rcompare:v,compareLoose:m,compareBuild:h,sort:y,rsort:g,gt:b,lt:S,eq:x,neq:k,gte:O,lte:N,cmp:C,coerce:D,truncate:j,Comparator:M,Range:H,satisfies:V,toComparators:Q,maxSatisfying:ie,minSatisfying:U,minVersion:z,validRange:E,outside:_,gtr:w,ltr:A,intersects:$,simplifyRange:R,subset:P,SemVer:n,re:e.re,src:e.src,tokens:e.t,SEMVER_SPEC_VERSION:t.SEMVER_SPEC_VERSION,RELEASE_TYPES:t.RELEASE_TYPES,compareIdentifiers:i.compareIdentifiers,rcompareIdentifiers:i.rcompareIdentifiers},Ra}var fy=dy();const Dt=Nn(fy),my=Object.prototype.toString,hy="[object Uint8Array]",vy="[object ArrayBuffer]";function Om(e,t,n){return e?e.constructor===t?!0:my.call(e)===n:!1}function Pm(e){return Om(e,Uint8Array,hy)}function gy(e){return Om(e,ArrayBuffer,vy)}function yy(e){return Pm(e)||gy(e)}function xy(e){if(!Pm(e))throw new TypeError(`Expected \`Uint8Array\`, got \`${typeof e}\``)}function by(e){if(!yy(e))throw new TypeError(`Expected \`Uint8Array\` or \`ArrayBuffer\`, got \`${typeof e}\``)}function ka(e,t){if(e.length===0)return new Uint8Array(0);t??=e.reduce((r,s)=>r+s.length,0);const n=new Uint8Array(t);let i=0;for(const r of e)xy(r),n.set(r,i),i+=r.length;return n}const Ou={utf8:new globalThis.TextDecoder("utf8")};function ei(e,t="utf8"){return by(e),Ou[t]??=new globalThis.TextDecoder(t),Ou[t].decode(e)}function wy(e){if(typeof e!="string")throw new TypeError(`Expected \`string\`, got \`${typeof e}\``)}const Sy=new globalThis.TextEncoder;function Aa(e){return wy(e),Sy.encode(e)}Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));const Pu="aes-256-cbc",Tm=new Set(["aes-256-cbc","aes-256-gcm","aes-256-ctr"]),Ey=e=>typeof e=="string"&&Tm.has(e),st=()=>Object.create(null),Tu=e=>e!==void 0,$a=(e,t)=>{const n=new Set(["undefined","symbol","function"]),i=typeof t;if(n.has(i))throw new TypeError(`Setting a value of type \`${i}\` for key \`${e}\` is not allowed as it's not supported by JSON`)},ft="__internal__",Oa=`${ft}.migrations.version`;class _y{path;events;#i;#r;#a;#e;#t={};#s=!1;#o;#c;#n;constructor(t={}){const n=this.#l(t);this.#e=n,this.#u(n),this.#d(n),this.#f(n),this.events=new EventTarget,this.#r=n.encryptionKey,this.#a=n.encryptionAlgorithm??Pu,this.path=this.#m(n),this.#h(n),n.watch&&this._watch()}get(t,n){if(this.#e.accessPropertiesByDotNotation)return this._get(t,n);const{store:i}=this;return t in i?i[t]:n}set(t,n){if(typeof t!="string"&&typeof t!="object")throw new TypeError(`Expected \`key\` to be of type \`string\` or \`object\`, got ${typeof t}`);if(typeof t!="object"&&n===void 0)throw new TypeError("Use `delete()` to clear values");if(this._containsReservedKey(t))throw new TypeError(`Please don't use the ${ft} key, as it's used to manage this module internal operations.`);const{store:i}=this,r=(s,o)=>{if($a(s,o),this.#e.accessPropertiesByDotNotation)Bn(i,s,o);else{if(s==="__proto__"||s==="constructor"||s==="prototype")return;i[s]=o}};if(typeof t=="object"){const s=t;for(const[o,l]of Object.entries(s))r(o,l)}else r(t,n);this.store=i}has(t){return this.#e.accessPropertiesByDotNotation?Sr(this.store,t):t in this.store}appendToArray(t,n){$a(t,n);const i=this.#e.accessPropertiesByDotNotation?this._get(t,[]):t in this.store?this.store[t]:[];if(!Array.isArray(i))throw new TypeError(`The key \`${t}\` is already set to a non-array value`);this.set(t,[...i,n])}reset(...t){for(const n of t)Tu(this.#t[n])&&this.set(n,this.#t[n])}delete(t){const{store:n}=this;this.#e.accessPropertiesByDotNotation?jv(n,t):delete n[t],this.store=n}clear(){const t=st();for(const n of Object.keys(this.#t))Tu(this.#t[n])&&($a(n,this.#t[n]),this.#e.accessPropertiesByDotNotation?Bn(t,n,this.#t[n]):t[n]=this.#t[n]);this.store=t}onDidChange(t,n){if(typeof t!="string")throw new TypeError(`Expected \`key\` to be of type \`string\`, got ${typeof t}`);if(typeof n!="function")throw new TypeError(`Expected \`callback\` to be of type \`function\`, got ${typeof n}`);return this._handleValueChange(()=>this.get(t),n)}onDidAnyChange(t){if(typeof t!="function")throw new TypeError(`Expected \`callback\` to be of type \`function\`, got ${typeof t}`);return this._handleStoreChange(t)}get size(){return Object.keys(this.store).filter(n=>!this._isReservedKeyPath(n)).length}get store(){try{const t=oe.readFileSync(this.path,this.#r?null:"utf8"),n=this._decryptData(t);return(r=>{const s=this._deserialize(r);return this.#s||this._validate(s),Object.assign(st(),s)})(n)}catch(t){if(t?.code==="ENOENT")return this._ensureDirectory(),st();if(this.#e.clearInvalidConfig){const n=t;if(n.name==="SyntaxError"||n.message?.startsWith("Config schema violation:")||n.message==="Failed to decrypt config data.")return st()}throw t}}set store(t){if(this._ensureDirectory(),!Sr(t,ft))try{const n=oe.readFileSync(this.path,this.#r?null:"utf8"),i=this._decryptData(n),r=this._deserialize(i);Sr(r,ft)&&Bn(t,ft,Qc(r,ft))}catch{}this.#s||this._validate(t),this._write(t),this.events.dispatchEvent(new Event("change"))}*[Symbol.iterator](){for(const[t,n]of Object.entries(this.store))this._isReservedKeyPath(t)||(yield[t,n])}_closeWatcher(){this.#o&&(this.#o.close(),this.#o=void 0),this.#c&&(oe.unwatchFile(this.path),this.#c=!1),this.#n=void 0}_decryptData(t){const n=this.#r;if(!n)return typeof t=="string"?t:ei(t);const i=this.#a,r=i==="aes-256-gcm"?16:0,s=":".codePointAt(0),o=typeof t=="string"?t.codePointAt(16):t[16];if(!(s!==void 0&&o===s)){if(i==="aes-256-cbc")return typeof t=="string"?t:ei(t);throw new Error("Failed to decrypt config data.")}const c=f=>{if(r===0)return{ciphertext:f};const v=f.length-r;if(v<0)throw new Error("Invalid authentication tag length.");return{ciphertext:f.slice(0,v),authenticationTag:f.slice(v)}},d=t.slice(0,16),a=t.slice(17),p=typeof a=="string"?Aa(a):a,u=f=>{const{ciphertext:v,authenticationTag:m}=c(p),h=an.pbkdf2Sync(n,f,1e4,32,"sha512"),y=an.createDecipheriv(i,h,d);return m&&y.setAuthTag(m),ei(ka([y.update(v),y.final()]))};try{return u(d)}catch{try{return u(d.toString())}catch{}}if(i==="aes-256-cbc")return typeof t=="string"?t:ei(t);throw new Error("Failed to decrypt config data.")}_handleStoreChange(t){let n=this.store;const i=()=>{const r=n,s=this.store;$e.isDeepStrictEqual(s,r)||(n=s,t.call(this,s,r))};return this.events.addEventListener("change",i),()=>{this.events.removeEventListener("change",i)}}_handleValueChange(t,n){let i=t();const r=()=>{const s=i,o=t();$e.isDeepStrictEqual(o,s)||(i=o,n.call(this,o,s))};return this.events.addEventListener("change",r),()=>{this.events.removeEventListener("change",r)}}_deserialize=t=>JSON.parse(t);_serialize=t=>JSON.stringify(t,void 0," ");_validate(t){if(!this.#i||this.#i(t)||!this.#i.errors)return;const i=this.#i.errors.map(({instancePath:r,message:s=""})=>`\`${r.slice(1)}\` ${s}`);throw new Error("Config schema violation: "+i.join("; "))}_ensureDirectory(){oe.mkdirSync(ne.dirname(this.path),{recursive:!0})}_write(t){let n=this._serialize(t);const i=this.#r;if(i){const r=an.randomBytes(16),s=an.pbkdf2Sync(i,r,1e4,32,"sha512"),o=an.createCipheriv(this.#a,s,r),l=ka([o.update(Aa(n)),o.final()]),c=[r,Aa(":"),l];this.#a==="aes-256-gcm"&&c.push(o.getAuthTag()),n=ka(c)}if(ye.env.SNAP)oe.writeFileSync(this.path,n,{mode:this.#e.configFileMode});else try{ym(this.path,n,{mode:this.#e.configFileMode})}catch(r){if(r?.code==="EXDEV"){oe.writeFileSync(this.path,n,{mode:this.#e.configFileMode});return}throw r}}_watch(){if(this._ensureDirectory(),oe.existsSync(this.path)||this._write(st()),ye.platform==="win32"||ye.platform==="darwin"){this.#n??=Ll(()=>{this.events.dispatchEvent(new Event("change"))},{wait:100});const t=ne.dirname(this.path),n=ne.basename(this.path);this.#o=oe.watch(t,{persistent:!1,encoding:"utf8"},(i,r)=>{r&&r!==n||typeof this.#n=="function"&&this.#n()})}else this.#n??=Ll(()=>{this.events.dispatchEvent(new Event("change"))},{wait:1e3}),oe.watchFile(this.path,{persistent:!1},(t,n)=>{typeof this.#n=="function"&&this.#n()}),this.#c=!0}_migrate(t,n,i){let r=this._get(Oa,"0.0.0");const s=Object.keys(t).filter(l=>this._shouldPerformMigration(l,r,n));let o=structuredClone(this.store);for(const l of s)try{i&&i(this,{fromVersion:r,toVersion:l,finalVersion:n,versions:s});const c=t[l];c?.(this),this._set(Oa,l),r=l,o=structuredClone(this.store)}catch(c){this.store=o;const d=c instanceof Error?c.message:String(c);throw new Error(`Something went wrong during the migration! Changes applied to the store until this failed migration will be restored. ${d}`)}(this._isVersionInRangeFormat(r)||!Dt.eq(r,n))&&this._set(Oa,n)}_containsReservedKey(t){return typeof t=="string"?this._isReservedKeyPath(t):!t||typeof t!="object"?!1:this._objectContainsReservedKey(t)}_objectContainsReservedKey(t){if(!t||typeof t!="object")return!1;for(const[n,i]of Object.entries(t))if(this._isReservedKeyPath(n)||this._objectContainsReservedKey(i))return!0;return!1}_isReservedKeyPath(t){return t===ft||t.startsWith(`${ft}.`)}_isVersionInRangeFormat(t){return Dt.clean(t)===null}_shouldPerformMigration(t,n,i){return this._isVersionInRangeFormat(t)?n!=="0.0.0"&&Dt.satisfies(n,t)?!1:Dt.satisfies(i,t):!(Dt.lte(t,n)||Dt.gt(t,i))}_get(t,n){return Qc(this.store,t,n)}_set(t,n){const{store:i}=this;Bn(i,t,n),this.store=i}#l(t){const n={configName:"config",fileExtension:"json",projectSuffix:"nodejs",clearInvalidConfig:!1,accessPropertiesByDotNotation:!0,configFileMode:438,...t};if(n.encryptionAlgorithm??=Pu,!Ey(n.encryptionAlgorithm))throw new TypeError(`The \`encryptionAlgorithm\` option must be one of: ${[...Tm].join(", ")}`);if(!n.cwd){if(!n.projectName)throw new Error("Please specify the `projectName` option.");n.cwd=Dv(n.projectName,{suffix:n.projectSuffix}).config}return typeof n.fileExtension=="string"&&(n.fileExtension=n.fileExtension.replace(/^\.+/,"")),n}#u(t){if(!(t.schema??t.ajvOptions??t.rootSchema))return;if(t.schema&&typeof t.schema!="object")throw new TypeError("The `schema` option must be an object.");const n=Ng.default,i=new xg.Ajv2020({allErrors:!0,useDefaults:!0,...t.ajvOptions});n(i);const r={...t.rootSchema,type:"object",properties:t.schema};this.#i=i.compile(r),this.#p(t.schema)}#p(t){const n=Object.entries(t??{});for(const[i,r]of n){if(!r||typeof r!="object"||!Object.hasOwn(r,"default"))continue;const{default:s}=r;s!==void 0&&(this.#t[i]=s)}}#d(t){t.defaults&&Object.assign(this.#t,t.defaults)}#f(t){t.serialize&&(this._serialize=t.serialize),t.deserialize&&(this._deserialize=t.deserialize)}#m(t){const n=typeof t.fileExtension=="string"?t.fileExtension:void 0,i=n?`.${n}`:"";return ne.resolve(t.cwd,`${t.configName??"config"}${i}`)}#h(t){if(t.migrations){this.#v(t),this._validate(this.store);return}const n=this.store,i=Object.assign(st(),t.defaults??{},n);this._validate(i);try{Jc.deepEqual(n,i)}catch{this.store=i}}#v(t){const{migrations:n,projectVersion:i}=t;if(n){if(!i)throw new Error("Please specify the `projectVersion` option.");this.#s=!0;try{const r=this.store,s=Object.assign(st(),t.defaults??{},r);try{Jc.deepEqual(r,s)}catch{this._write(s)}this._migrate(n,i,t.beforeEachMigration)}finally{this.#s=!1}}}}const{app:wi,ipcMain:Do,shell:Ry}=te;let Nu=!1;const Cu=()=>{if(!Do||!wi)throw new Error("Electron Store: You need to call `.initRenderer()` from the main process.");const e={defaultCwd:wi.getPath("userData"),appVersion:wi.getVersion()};return Nu||(Do.on("electron-store-get-data",t=>{t.returnValue=e}),Nu=!0),e};class er extends _y{constructor(t){let n,i;if(ye.type==="renderer"){const r=te.ipcRenderer.sendSync("electron-store-get-data");if(!r)throw new Error("Electron Store: You need to call `.initRenderer()` from the main process.");({defaultCwd:n,appVersion:i}=r)}else Do&&wi&&({defaultCwd:n,appVersion:i}=Cu());t={name:"config",...t},t.projectVersion||=i,t.cwd?t.cwd=ne.isAbsolute(t.cwd)?t.cwd:ne.join(n,t.cwd):t.cwd=n,t.configName=t.name,delete t.name,super(t)}static initRenderer(){Cu()}async openInEditor(){const t=await Ry.openPath(this.path);if(t)throw new Error(t)}}const ky="configuration",Nm="_raw",Ay={_raw:{type:"string"},configuration:{type:"object"}},Ni=new er({name:"settings",serialize:e=>e._raw,deserialize:e=>({_raw:e,...JSON.parse(e)}),schema:Ay});function Cm(e){Ni.set(Nm,e)}function $y(){return Ni.size<2&&Cm(JSON.stringify(Pv,null,2)),Ni.get(Nm)}function Oy(){return Ni.get(ky)}function Py(e){Cm(e)}function Ty(){return $y()}function Ny(){te.ipcMain.handle("settings:save",async(e,{settings:t})=>{Py(t)}),te.ipcMain.handle("settings:load",async()=>Ty())}const Fo=new Map([]);Fo.set("http://localhost:15680",new Set);const Cy=new Set(["https://github.com"]);te.app.on("web-contents-created",(e,t)=>{t.on("will-navigate",(n,i)=>{const r=Oy(),{origin:s}=new sn.URL(i);Object.values(r).some(l=>{const c=l.baseURL;return c?new sn.URL(c).origin==s:!1})||n.preventDefault()}),t.session.setPermissionRequestHandler((n,i,r)=>{const{origin:s}=new sn.URL(n.getURL()),o=!!Fo.get(s)?.has(i);r(o)}),t.setWindowOpenHandler(({url:n})=>{const{origin:i}=new sn.URL(n);return Cy.has(i)&&te.shell.openExternal(n).catch(console.error),{action:"deny"}}),t.on("will-attach-webview",(n,i,r)=>{const{origin:s}=new sn.URL(r.src);if(!Fo.has(s)){n.preventDefault();return}delete i.preload,delete i.preloadURL,i.nodeIntegration=!1,i.contextIsolation=!0})});const jm={};function jy(e){jm.storageRoot=e}function Iy(){return jm.storageRoot}function Ly(e){e.loadFile(ne.resolve(te.app.getAppPath(),"./renderer/dist/index.html"))}function qy(e){jy(e)}function Dy(e){te.ipcMain.handle("reloadBrowser",()=>Ly(e)),te.ipcMain.handle("setStorageRoot",(t,{storageRoot:n})=>qy(n))}const fc="tokenType",mc="accessToken",Fy={tokenType:{type:"string"},accessToken:{type:"string"}},Zt=new er({name:"authentication-github-main",schema:Fy});function My(e){Zt.set(fc,e)}function Uy(e){Zt.set(mc,e)}function Mo(){return Zt.get(fc)}function Uo(){return Zt.get(mc)}function zy(){Zt.delete(fc)}function By(){Zt.delete(mc)}function hc(e,t){return function(){return e.apply(t,arguments)}}const{toString:Vy}=Object.prototype,{getPrototypeOf:ot}=Object,{iterator:In,toStringTag:Im}=Symbol,ct=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Lm=e=>typeof e=="string"&&(e==="__proto__"||e==="constructor"||e==="prototype"),tr=(e,t,n)=>e===Object.prototype||!n&&t===null,Hy=e=>{if(!Object.isExtensible(e))return!1;const t=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&t.push(...Object.getOwnPropertySymbols(e)),t.every(n=>{if(Lm(n))return!1;const i=Object.getOwnPropertyDescriptor(e,n);return!!i&&i.configurable&&i.writable===!0})},vc=(e,t)=>{let n=e;const i=[];for(;n!=null;){if(i.indexOf(n)!==-1)return!1;i.push(n);const r=ot(n);if(tr(n,r,n===e))return!1;if(ct(n,t))return!0;n=r}return!1},Ky=(e,t)=>e!=null&&vc(e,t)?e[t]:void 0,Gy=e=>{if(e==null||typeof e!="object"&&typeof e!="function")return e;const t=ot(e);if(t===null&&Hy(e))return e;const n=Object.create(null),i=Object.create(null),r=[];let s=e;for(;s!=null&&r.indexOf(s)===-1;){r.push(s);const o=s===e?t:ot(s);if(tr(s,o,s===e))break;const l=Object.getOwnPropertyNames(s);Object.getOwnPropertySymbols&&l.push(...Object.getOwnPropertySymbols(s));for(const c of l)Lm(c)||ct(i,c)||(n[c]=e[c],i[c]=!0);s=o}return n},gc=(e=>t=>{const n=Vy.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),He=e=>(e=e.toLowerCase(),t=>gc(t)===e),nr=e=>t=>typeof t===e,{isArray:kt}=Array,At=nr("undefined");function en(e){return e!==null&&!At(e)&&e.constructor!==null&&!At(e.constructor)&&Me(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const qm=He("ArrayBuffer");function Wy(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&qm(e.buffer),t}const Yy=nr("string"),Me=nr("function"),Jy=nr("number"),tn=e=>e!==null&&typeof e=="object",Xy=e=>e===!0||e===!1,Si=e=>{if(!tn(e))return!1;const t=ot(e);return(t===null||t===Object.prototype||ot(t)===null)&&(tr(e,t,!0)||!ct(e,Im)&&!ct(e,In))},Qy=e=>{if(!tn(e)||en(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Zy=He("Date"),ex=He("File"),tx=e=>!!(e&&typeof e.uri<"u"),nx=e=>e&&typeof e.getParts<"u",ix=He("Blob"),rx=He("FileList"),ax=He("Set"),sx=e=>tn(e)&&Me(e.pipe);function ox(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const ju=ox(),Iu=typeof ju.FormData<"u"?ju.FormData:void 0,cx=e=>{if(!e)return!1;if(Iu&&e instanceof Iu)return!0;const t=ot(e);if(!t||t===Object.prototype||!Me(e.append))return!1;const n=gc(e);return n==="formdata"||n==="object"&&Me(e.toString)&&e.toString()==="[object FormData]"},lx=He("URLSearchParams"),[ux,px,dx,fx]=["ReadableStream","Request","Response","Headers"].map(He),mx=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ln(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,r;if(typeof e!="object"&&(e=[e]),kt(e))for(i=0,r=e.length;i<r;i++)t.call(null,e[i],i,e);else{if(en(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),o=s.length;let l;for(i=0;i<o;i++)l=s[i],t.call(null,e[l],l,e)}}function hx(e,t){if(en(e))return null;t=t.toLowerCase();const n=Object.keys(e);let i=n.length,r;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const St=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Dm=e=>!At(e)&&e!==St;function zo(...e){const{caseless:t,skipUndefined:n}=Dm(this)&&this||{},i={},r=t?Object.create(null):null,s=(o,l)=>{if(l==="__proto__"||l==="constructor"||l==="prototype")return;let c=l;if(r&&typeof l=="string"){const a=l.toLowerCase(),p=r[a];p!==void 0&&ct(i,p)?c=p:r[a]=l}const d=ct(i,c)?i[c]:void 0;Si(d)&&Si(o)?i[c]=zo(d,o):Si(o)?i[c]=zo({},o):kt(o)?i[c]=o.slice():(!n||!At(o))&&(i[c]=o)};for(let o=0,l=e.length;o<l;o++){const c=e[o];if(!c||en(c)||(Ln(c,s),typeof c!="object"||kt(c)||!Object.getOwnPropertySymbols))continue;const d=Object.getOwnPropertySymbols(c);for(let a=0;a<d.length;a++){const p=d[a];Ax.call(c,p)&&s(c[p],p)}}return i}const vx=(e,t,n,{allOwnKeys:i}={})=>(Ln(t,(r,s)=>{n&&Me(r)?Object.defineProperty(e,s,{__proto__:null,value:hc(r,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{__proto__:null,value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),e),gx=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),yx=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},xx=(e,t,n,i)=>{let r,s,o;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),s=r.length;s-- >0;)o=r[s],(!i||i(o,e,t))&&!l[o]&&(t[o]=e[o],l[o]=!0);e=n!==!1&&ot(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},bx=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return i!==-1&&i===n},wx=e=>{if(!e)return null;if(kt(e))return e;let t=e.length;if(!Number.isSafeInteger(t)||t<0||t>4294967295)return null;const n=new Set,i=new Set;let r=e;for(;r!=null&&n.size<t;){if(i.has(r))return null;i.add(r);const o=ot(r);if(tr(r,o,r===e))break;Object.getOwnPropertyNames(r).forEach(l=>{const c=+l;Number.isInteger(c)&&c>=0&&c<t&&String(c)===l&&ct(r,l)&&n.add(c)}),r=o}if(n.size!==t)return null;const s=new Array(t);for(;t-- >0;)s[t]=e[t];return s},Sx=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ot(Uint8Array)),Ex=(e,t)=>{const i=(e&&e[In]).call(e);let r;for(;(r=i.next())&&!r.done;){const s=r.value;t.call(e,s[0],s[1])}},_x=(e,t)=>{let n;const i=[];for(;(n=e.exec(t))!==null;)i.push(n);return i},Rx=He("HTMLFormElement"),kx=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,r){return i.toUpperCase()+r}),{propertyIsEnumerable:Ax}=Object.prototype,$x=He("RegExp"),Fm=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Ln(n,(r,s)=>{let o;(o=t(r,s,e))!==!1&&(i[s]=o||r)}),Object.defineProperties(e,i)},Ox=e=>{Fm(e,(t,n)=>{if(Me(e)&&["arguments","caller","callee"].includes(n))return!1;const i=e[n];if(Me(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Px=(e,t)=>{const n={},i=r=>{r.forEach(s=>{n[s]=!0})};return kt(e)?i(e):i(String(e).split(t)),n},Tx=()=>{},Nx=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Cx(e){return!!(e&&Me(e.append)&&e[Im]==="FormData"&&e[In])}const jx=e=>{const t=new WeakSet,n=i=>{if(tn(i)){if(t.has(i))return;if(en(i))return i;if(!("toJSON"in i)){t.add(i);let r;if(ax(i)){r=[];for(const s of i){const o=n(s);!At(o)&&r.push(o)}}else r=kt(i)?[]:{},Ln(i,(s,o)=>{const l=n(s);!At(l)&&(r[o]=l)});return t.delete(i),r}}return i};return n(e)},Ix=He("AsyncFunction"),Lx=e=>e&&(tn(e)||Me(e))&&Me(e.then)&&Me(e.catch),Mm=((e,t)=>e?setImmediate:t?((n,i)=>(St.addEventListener("message",({source:r,data:s})=>{r===St&&s===n&&i.length&&i.shift()()},!1),r=>{i.push(r),St.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Me(St.postMessage)),qx=typeof queueMicrotask<"u"?queueMicrotask.bind(St):typeof process<"u"&&process.nextTick||Mm,Um=e=>e!=null&&Me(e[In]),Dx=e=>e!=null&&vc(e,In)&&Um(e),T={isArray:kt,isArrayBuffer:qm,isBuffer:en,isFormData:cx,isArrayBufferView:Wy,isString:Yy,isNumber:Jy,isBoolean:Xy,isObject:tn,isPlainObject:Si,isEmptyObject:Qy,isReadableStream:ux,isRequest:px,isResponse:dx,isHeaders:fx,isUndefined:At,isDate:Zy,isFile:ex,isReactNativeBlob:tx,isReactNative:nx,isBlob:ix,isRegExp:$x,isFunction:Me,isStream:sx,isURLSearchParams:lx,isTypedArray:Sx,isFileList:rx,forEach:Ln,merge:zo,extend:vx,trim:mx,stripBOM:gx,inherits:yx,toFlatObject:xx,kindOf:gc,kindOfTest:He,endsWith:bx,toArray:wx,forEachEntry:Ex,matchAll:_x,isHTMLForm:Rx,hasOwnProperty:ct,hasOwnProp:ct,hasOwnInPrototypeChain:vc,getSafeProp:Ky,toSafeFlatObject:Gy,reduceDescriptors:Fm,freezeMethods:Ox,toObjectSet:Px,toCamelCase:kx,noop:Tx,toFiniteNumber:Nx,findKey:hx,global:St,isContextDefined:Dm,isSpecCompliantForm:Cx,toJSONObject:jx,isAsyncFn:Ix,isThenable:Lx,setImmediate:Mm,asap:qx,isIterable:Um,isSafeIterable:Dx},Fx=T.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Mx=e=>{const t=Object.create(null);let n,i,r;return e&&e.split(`
7
+ `).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),i=o.substring(r+1).trim();const l=T.hasOwnProp(t,n);!n||l&&T.hasOwnProp(Fx,n)||(n==="set-cookie"?l?t[n].push(i):t[n]=[i]:t[n]=l?t[n]+", "+i:i)}),t};function Ux(e){let t=0,n=e.length;for(;t<n;){const i=e.charCodeAt(t);if(i!==9&&i!==32)break;t+=1}for(;n>t;){const i=e.charCodeAt(n-1);if(i!==9&&i!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const zx=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Bx=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function yc(e,t){return T.isArray(e)?e.map(n=>yc(n,t)):Ux(String(e).replace(t,""))}const Vx=e=>yc(e,zx),Hx=e=>yc(e,Bx);function xc(e){const t=Object.create(null);return T.forEach(e.toJSON(),(n,i)=>{t[i]=Hx(n)}),t}const Lu=Symbol("internals");function un(e){return e&&String(e).trim().toLowerCase()}function Ei(e){return e===!1||e==null?e:T.isArray(e)?e.map(Ei):Vx(String(e))}function Kx(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const Gx=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function Pa(e){let t=0,n=e.length;for(;t<n;){const i=e.charCodeAt(t);if(i!==9&&i!==32)break;t+=1}for(;n>t;){const i=e.charCodeAt(n-1);if(i!==9&&i!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}function Wx(e){const t=e.length-1;if(t<1||e.charCodeAt(0)!==34||e.charCodeAt(t)!==34)return e;let n="";for(let i=1;i<t;i++){const r=e.charCodeAt(i);if(r===34||r===92&&(i+=1,i>=t))return e;n+=e[i]}return n}function Yx(e){const t=Object.create(null),n=String(e);let i=0,r=!1,s=!1;function o(l){const c=Pa(n.slice(i,l)),d=c.indexOf("=");if(d<1)return;const a=Pa(c.slice(0,d));if(!Gx.test(a))return;const p=a.toLowerCase();if(p==="__proto__"||p==="constructor"||p==="prototype")return;const u=Pa(c.slice(d+1));t[p]=Wx(u)}for(let l=0;l<n.length;l++){const c=n.charCodeAt(l);r?s?s=!1:c===92?s=!0:c===34&&(r=!1):c===34?r=!0:(c===44||c===59)&&(o(l),i=l+1)}return o(n.length),t}const Jx=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()),Xx="__Proto__",qu=e=>e==="__proto__"?Xx:e;function Ta(e,t,n,i,r){if(T.isFunction(i))return i.call(e,t,n);if(r&&(t=n),!!T.isString(t)){if(T.isString(i))return t.indexOf(i)!==-1;if(T.isRegExp(i))return i.test(t)}}function Qx(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function Zx(e,t){const n=T.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{__proto__:null,value:function(r,s,o){return this[i].call(this,t,r,s,o)},configurable:!0})})}let _e=class{constructor(t){t&&this.set(t)}set(t,n,i){const r=this;function s(l,c,d){const a=un(c);if(!a)return;const p=T.findKey(r,a);(!p||r[p]===void 0||d===!0||d===void 0&&r[p]!==!1)&&(r[qu(p||c)]=Ei(l))}const o=(l,c)=>T.forEach(l,(d,a)=>s(d,a,c));if(T.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(T.isString(t)&&(t=t.trim())&&!Jx(t))o(Mx(t),n);else if(T.isObject(t)&&T.isSafeIterable(t)){let l=Object.create(null),c,d;for(const a of t){if(!T.isArray(a))throw new TypeError("Object iterator must return a key-value pair");d=a[0],T.hasOwnProp(l,d)?(c=l[d],l[d]=T.isArray(c)?[...c,a[1]]:[c,a[1]]):l[d]=a[1]}o(l,n)}else t!=null&&s(n,t,i);return this}get(t,n){if(t=un(t),t){const i=T.findKey(this,t);if(i){const r=this[i];if(!n)return r;if(n===!0)return Kx(r);if(T.isFunction(n))return n.call(this,r,i);if(T.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=un(t),t){const i=T.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||Ta(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let r=!1;function s(o){if(o=un(o),o){const l=T.findKey(i,o);l&&(!n||Ta(i,i[l],l,n))&&(delete i[l],r=!0)}}return T.isArray(t)?t.forEach(s):s(t),r}clear(t){const n=Object.keys(this);let i=n.length,r=!1;for(;i--;){const s=n[i];(!t||Ta(this,this[s],s,t,!0))&&(delete this[s],r=!0)}return r}normalize(t){const n=this,i=Object.create(null);return T.forEach(this,(r,s)=>{const o=T.findKey(i,s);if(o){n[o]=Ei(r),delete n[s];return}const l=qu(t?Qx(s):String(s).trim());l!==s&&delete n[s],n[l]=Ei(r),i[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return T.forEach(this,(i,r)=>{i!=null&&i!==!1&&(n[r]=t&&T.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
8
+ `)}getSetCookie(){const t=this.get("set-cookie");return T.isArray(t)?t:t==null||t===!1?[]:[t]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static parseParameters(t){return Yx(t)}static concat(t,...n){const i=new this(t);return n.forEach(r=>i.set(r)),i}static accessor(t){const i=(this[Lu]=this[Lu]={accessors:{}}).accessors,r=this.prototype;function s(o){const l=un(o);i[l]||(Zx(r,o),i[l]=!0)}return T.isArray(t)?t.forEach(s):s(t),this}};_e.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);T.reduceDescriptors(_e.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[n]=i}}});T.freezeMethods(_e);const Ci="[REDACTED ****]";function eb(e){if(T.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(T.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function tb(e,t){const n=new Set(t.map(s=>String(s).toLowerCase())),i=[],r=s=>{if(s===null||typeof s!="object"||T.isBuffer(s))return s;if(i.indexOf(s)!==-1)return;s instanceof _e&&(s=s.toJSON()),i.push(s);let o;if(T.isArray(s))o=[],s.forEach((l,c)=>{const d=r(l);T.isUndefined(d)||(o[c]=d)});else{if(!T.isPlainObject(s)&&eb(s))return i.pop(),s;o=Object.create(null);for(const[l,c]of Object.entries(s)){const d=n.has(l.toLowerCase())?Ci:r(c);T.isUndefined(d)||(o[l]=d)}}return i.pop(),o};return r(e)}function Du(e){try{return String(e)}catch{return""}}function nb(e){return e.errors.map(n=>{try{return n&&n.message?Du(n.message):Du(n)}catch{return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}const ib=`
9
+ Caused by: `,Bo=Symbol("causeStack");function rb(e,t){const n=T.hasOwnProp(e,Bo)&&e[Bo];return n&&t.endsWith(n)?t.length-n.length:-1}function ab(e,t){try{const n=t&&t.stack;if(typeof n!="string"||!n)return;const i=e.stack;if(typeof i!="string"||!i)return;const r=ib+n;e.stack=i+r,Object.defineProperty(e,Bo,{__proto__:null,value:r})}catch{}}let B=class zm extends Error{static from(t,n,i,r,s,o){let l=t.message;!l&&T.isArray(t.errors)&&t.errors.length&&(l=nb(t));const c=new zm(l,n||t.code,i,r,s);return Object.defineProperty(c,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),c.name=t.name,ab(c,t),t.status!=null&&c.status==null&&(c.status=t.status),o&&Object.assign(c,o),c}constructor(t,n,i,r,s){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),i&&(this.config=i),r&&(this.request=r),s&&(this.response=s,this.status=s.status)}toJSON(){const t=this.config,n=t&&T.hasOwnProp(t,"redact")?t.redact:void 0,i=T.isArray(n)&&n.length>0?tb(t,n):T.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:i,code:this.code,status:this.status}}};B.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";B.ERR_BAD_OPTION="ERR_BAD_OPTION";B.ECONNABORTED="ECONNABORTED";B.ETIMEDOUT="ETIMEDOUT";B.ECONNREFUSED="ECONNREFUSED";B.ERR_NETWORK="ERR_NETWORK";B.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";B.ERR_DEPRECATED="ERR_DEPRECATED";B.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";B.ERR_BAD_REQUEST="ERR_BAD_REQUEST";B.ERR_CANCELED="ERR_CANCELED";B.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";B.ERR_INVALID_URL="ERR_INVALID_URL";B.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var Na,Fu;function sb(){if(Fu)return Na;Fu=1;var e=Oe.Stream,t=Tt;Na=n;function n(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}return t.inherits(n,e),n.create=function(i,r){var s=new this;r=r||{};for(var o in r)s[o]=r[o];s.source=i;var l=i.emit;return i.emit=function(){return s._handleEmit(arguments),l.apply(i,arguments)},i.on("error",function(){}),s.pauseStream&&i.pause(),s},Object.defineProperty(n.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),n.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},n.prototype.resume=function(){this._released||this.release(),this.source.resume()},n.prototype.pause=function(){this.source.pause()},n.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(i){this.emit.apply(this,i)}.bind(this)),this._bufferedEvents=[]},n.prototype.pipe=function(){var i=e.prototype.pipe.apply(this,arguments);return this.resume(),i},n.prototype._handleEmit=function(i){if(this._released){this.emit.apply(this,i);return}i[0]==="data"&&(this.dataSize+=i[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(i)},n.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var i="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(i))}},Na}var Ca,Mu;function ob(){if(Mu)return Ca;Mu=1;var e=Tt,t=Oe.Stream,n=sb();Ca=i;function i(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}return e.inherits(i,t),i.create=function(r){var s=new this;r=r||{};for(var o in r)s[o]=r[o];return s},i.isStreamLike=function(r){return typeof r!="function"&&typeof r!="string"&&typeof r!="boolean"&&typeof r!="number"&&!Buffer.isBuffer(r)},i.prototype.append=function(r){var s=i.isStreamLike(r);if(s){if(!(r instanceof n)){var o=n.create(r,{maxDataSize:1/0,pauseStream:this.pauseStreams});r.on("data",this._checkDataSize.bind(this)),r=o}this._handleErrors(r),this.pauseStreams&&r.pause()}return this._streams.push(r),this},i.prototype.pipe=function(r,s){return t.prototype.pipe.call(this,r,s),this.resume(),r},i.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}},i.prototype._realGetNext=function(){var r=this._streams.shift();if(typeof r>"u"){this.end();return}if(typeof r!="function"){this._pipeNext(r);return}var s=r;s(function(o){var l=i.isStreamLike(o);l&&(o.on("data",this._checkDataSize.bind(this)),this._handleErrors(o)),this._pipeNext(o)}.bind(this))},i.prototype._pipeNext=function(r){this._currentStream=r;var s=i.isStreamLike(r);if(s){r.on("end",this._getNext.bind(this)),r.pipe(this,{end:!1});return}var o=r;this.write(o),this._getNext()},i.prototype._handleErrors=function(r){var s=this;r.on("error",function(o){s._emitError(o)})},i.prototype.write=function(r){this.emit("data",r)},i.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))},i.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")},i.prototype.end=function(){this._reset(),this.emit("end")},i.prototype.destroy=function(){this._reset(),this.emit("close")},i.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},i.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var r="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(r))}},i.prototype._updateDataSize=function(){this.dataSize=0;var r=this;this._streams.forEach(function(s){s.dataSize&&(r.dataSize+=s.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},i.prototype._emitError=function(r){this._reset(),this.emit("error",r)},Ca}var ja={};const cb={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};var Ia,Uu;function lb(){return Uu||(Uu=1,Ia=cb),Ia}var zu;function ub(){return zu||(zu=1,(function(e){var t=lb(),n=Pi.extname,i=/^\s*([^;\s]*)(?:;|\s|$)/,r=/^text\//i;e.charset=s,e.charsets={lookup:s},e.contentType=o,e.extension=l,e.extensions=Object.create(null),e.lookup=c,e.types=Object.create(null),d(e.extensions,e.types);function s(a){if(!a||typeof a!="string")return!1;var p=i.exec(a),u=p&&t[p[1].toLowerCase()];return u&&u.charset?u.charset:p&&r.test(p[1])?"UTF-8":!1}function o(a){if(!a||typeof a!="string")return!1;var p=a.indexOf("/")===-1?e.lookup(a):a;if(!p)return!1;if(p.indexOf("charset")===-1){var u=e.charset(p);u&&(p+="; charset="+u.toLowerCase())}return p}function l(a){if(!a||typeof a!="string")return!1;var p=i.exec(a),u=p&&e.extensions[p[1].toLowerCase()];return!u||!u.length?!1:u[0]}function c(a){if(!a||typeof a!="string")return!1;var p=n("x."+a).toLowerCase().substr(1);return p&&e.types[p]||!1}function d(a,p){var u=["nginx","apache",void 0,"iana"];Object.keys(t).forEach(function(v){var m=t[v],h=m.extensions;if(!(!h||!h.length)){a[v]=h;for(var y=0;y<h.length;y++){var g=h[y];if(p[g]){var b=u.indexOf(t[p[g]].source),S=u.indexOf(m.source);if(p[g]!=="application/octet-stream"&&(b>S||b===S&&p[g].substr(0,12)==="application/"))continue}p[g]=v}}})}})(ja)),ja}var La,Bu;function pb(){if(Bu)return La;Bu=1,La=e;function e(t){var n=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;n?n(t):setTimeout(t,0)}return La}var qa,Vu;function Bm(){if(Vu)return qa;Vu=1;var e=pb();qa=t;function t(n){var i=!1;return e(function(){i=!0}),function(s,o){i?n(s,o):e(function(){n(s,o)})}}return qa}var Da,Hu;function Vm(){if(Hu)return Da;Hu=1,Da=e;function e(n){Object.keys(n.jobs).forEach(t.bind(n)),n.jobs={}}function t(n){typeof this.jobs[n]=="function"&&this.jobs[n]()}return Da}var Fa,Ku;function Hm(){if(Ku)return Fa;Ku=1;var e=Bm(),t=Vm();Fa=n;function n(r,s,o,l){var c=o.keyedList?o.keyedList[o.index]:o.index;o.jobs[c]=i(s,c,r[c],function(d,a){c in o.jobs&&(delete o.jobs[c],d?t(o):o.results[c]=a,l(d,o.results))})}function i(r,s,o,l){var c;return r.length==2?c=r(o,e(l)):c=r(o,s,e(l)),c}return Fa}var Ma,Gu;function Km(){if(Gu)return Ma;Gu=1,Ma=e;function e(t,n){var i=!Array.isArray(t),r={index:0,keyedList:i||n?Object.keys(t):null,jobs:{},results:i?{}:[],size:i?Object.keys(t).length:t.length};return n&&r.keyedList.sort(i?n:function(s,o){return n(t[s],t[o])}),r}return Ma}var Ua,Wu;function Gm(){if(Wu)return Ua;Wu=1;var e=Vm(),t=Bm();Ua=n;function n(i){Object.keys(this.jobs).length&&(this.index=this.size,e(this),t(i)(null,this.results))}return Ua}var za,Yu;function db(){if(Yu)return za;Yu=1;var e=Hm(),t=Km(),n=Gm();za=i;function i(r,s,o){for(var l=t(r);l.index<(l.keyedList||r).length;)e(r,s,l,function(c,d){if(c){o(c,d);return}if(Object.keys(l.jobs).length===0){o(null,l.results);return}}),l.index++;return n.bind(l,o)}return za}var pn={exports:{}},Ju;function Wm(){if(Ju)return pn.exports;Ju=1;var e=Hm(),t=Km(),n=Gm();pn.exports=i,pn.exports.ascending=r,pn.exports.descending=s;function i(o,l,c,d){var a=t(o,c);return e(o,l,a,function p(u,f){if(u){d(u,f);return}if(a.index++,a.index<(a.keyedList||o).length){e(o,l,a,p);return}d(null,a.results)}),n.bind(a,d)}function r(o,l){return o<l?-1:o>l?1:0}function s(o,l){return-1*r(o,l)}return pn.exports}var Ba,Xu;function fb(){if(Xu)return Ba;Xu=1;var e=Wm();Ba=t;function t(n,i,r){return e(n,i,null,r)}return Ba}var Va,Qu;function mb(){return Qu||(Qu=1,Va={parallel:db(),serial:fb(),serialOrdered:Wm()}),Va}var Ha,Zu;function Ym(){return Zu||(Zu=1,Ha=Object),Ha}var Ka,ep;function hb(){return ep||(ep=1,Ka=Error),Ka}var Ga,tp;function vb(){return tp||(tp=1,Ga=EvalError),Ga}var Wa,np;function gb(){return np||(np=1,Wa=RangeError),Wa}var Ya,ip;function yb(){return ip||(ip=1,Ya=ReferenceError),Ya}var Ja,rp;function xb(){return rp||(rp=1,Ja=SyntaxError),Ja}var Xa,ap;function bc(){return ap||(ap=1,Xa=TypeError),Xa}var Qa,sp;function bb(){return sp||(sp=1,Qa=URIError),Qa}var Za,op;function wb(){return op||(op=1,Za=Math.abs),Za}var es,cp;function Sb(){return cp||(cp=1,es=Math.floor),es}var ts,lp;function Eb(){return lp||(lp=1,ts=Math.max),ts}var ns,up;function _b(){return up||(up=1,ns=Math.min),ns}var is,pp;function Rb(){return pp||(pp=1,is=Math.pow),is}var rs,dp;function kb(){return dp||(dp=1,rs=Math.round),rs}var as,fp;function Ab(){return fp||(fp=1,as=Number.isNaN||function(t){return t!==t}),as}var ss,mp;function $b(){if(mp)return ss;mp=1;var e=Ab();return ss=function(n){return e(n)||n===0?n:n<0?-1:1},ss}var os,hp;function Ob(){return hp||(hp=1,os=Object.getOwnPropertyDescriptor),os}var cs,vp;function Jm(){if(vp)return cs;vp=1;var e=Ob();if(e)try{e([],"length")}catch{e=null}return cs=e,cs}var ls,gp;function Pb(){if(gp)return ls;gp=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return ls=e,ls}var us,yp;function Xm(){return yp||(yp=1,us=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),i=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var r=42;t[n]=r;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(t,n);if(l.value!==r||l.enumerable!==!0)return!1}return!0}),us}var ps,xp;function Tb(){if(xp)return ps;xp=1;var e=typeof Symbol<"u"&&Symbol,t=Xm();return ps=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},ps}var ds,bp;function Qm(){return bp||(bp=1,ds=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),ds}var fs,wp;function Zm(){if(wp)return fs;wp=1;var e=Ym();return fs=e.getPrototypeOf||null,fs}var ms,Sp;function Nb(){if(Sp)return ms;Sp=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,n=Math.max,i="[object Function]",r=function(c,d){for(var a=[],p=0;p<c.length;p+=1)a[p]=c[p];for(var u=0;u<d.length;u+=1)a[u+c.length]=d[u];return a},s=function(c,d){for(var a=[],p=d,u=0;p<c.length;p+=1,u+=1)a[u]=c[p];return a},o=function(l,c){for(var d="",a=0;a<l.length;a+=1)d+=l[a],a+1<l.length&&(d+=c);return d};return ms=function(c){var d=this;if(typeof d!="function"||t.apply(d)!==i)throw new TypeError(e+d);for(var a=s(arguments,1),p,u=function(){if(this instanceof p){var y=d.apply(this,r(a,arguments));return Object(y)===y?y:this}return d.apply(c,r(a,arguments))},f=n(0,d.length-a.length),v=[],m=0;m<f;m++)v[m]="$"+m;if(p=Function("binder","return function ("+o(v,",")+"){ return binder.apply(this,arguments); }")(u),d.prototype){var h=function(){};h.prototype=d.prototype,p.prototype=new h,h.prototype=null}return p},ms}var hs,Ep;function ir(){if(Ep)return hs;Ep=1;var e=Nb();return hs=Function.prototype.bind||e,hs}var vs,_p;function wc(){return _p||(_p=1,vs=Function.prototype.call),vs}var gs,Rp;function eh(){return Rp||(Rp=1,gs=Function.prototype.apply),gs}var ys,kp;function Cb(){return kp||(kp=1,ys=typeof Reflect<"u"&&Reflect&&Reflect.apply),ys}var xs,Ap;function jb(){if(Ap)return xs;Ap=1;var e=ir(),t=eh(),n=wc(),i=Cb();return xs=i||e.call(n,t),xs}var bs,$p;function Ib(){if($p)return bs;$p=1;var e=ir(),t=bc(),n=wc(),i=jb();return bs=function(s){if(s.length<1||typeof s[0]!="function")throw new t("a function is required");return i(e,n,s)},bs}var ws,Op;function Lb(){if(Op)return ws;Op=1;var e=Ib(),t=Jm(),n;try{n=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var i=!!n&&t&&t(Object.prototype,"__proto__"),r=Object,s=r.getPrototypeOf;return ws=i&&typeof i.get=="function"?e([i.get]):typeof s=="function"?function(l){return s(l==null?l:r(l))}:!1,ws}var Ss,Pp;function qb(){if(Pp)return Ss;Pp=1;var e=Qm(),t=Zm(),n=Lb();return Ss=e?function(r){return e(r)}:t?function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return t(r)}:n?function(r){return n(r)}:null,Ss}var Es,Tp;function Sc(){if(Tp)return Es;Tp=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=ir();return Es=n.call(e,t),Es}var _s,Np;function Db(){if(Np)return _s;Np=1;var e,t=Ym(),n=hb(),i=vb(),r=gb(),s=yb(),o=xb(),l=bc(),c=bb(),d=wb(),a=Sb(),p=Eb(),u=_b(),f=Rb(),v=kb(),m=$b(),h=Function,y=function(X){try{return h('"use strict"; return ('+X+").constructor;")()}catch{}},g=Jm(),b=Pb(),S=function(){throw new l},x=g?(function(){try{return arguments.callee,S}catch{try{return g(arguments,"callee").get}catch{return S}}})():S,k=Tb()(),O=qb(),N=Zm(),C=Qm(),D=eh(),j=wc(),M={},H=typeof Uint8Array>"u"||!O?e:O(Uint8Array),V={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":k&&O?O([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":M,"%AsyncGenerator%":M,"%AsyncGeneratorFunction%":M,"%AsyncIteratorPrototype%":M,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":i,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":h,"%GeneratorFunction%":M,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":k&&O?O(O([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!k||!O?e:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":g,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":r,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!k||!O?e:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k&&O?O(""[Symbol.iterator]()):e,"%Symbol%":k?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":x,"%TypedArray%":H,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":c,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":j,"%Function.prototype.apply%":D,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":N,"%Math.abs%":d,"%Math.floor%":a,"%Math.max%":p,"%Math.min%":u,"%Math.pow%":f,"%Math.round%":v,"%Math.sign%":m,"%Reflect.getPrototypeOf%":C};if(O)try{null.error}catch(X){var Q=O(O(X));V["%Error.prototype%"]=Q}var ie=function X(Y){var I;if(Y==="%AsyncFunction%")I=y("async function () {}");else if(Y==="%GeneratorFunction%")I=y("function* () {}");else if(Y==="%AsyncGeneratorFunction%")I=y("async function* () {}");else if(Y==="%AsyncGenerator%"){var q=X("%AsyncGeneratorFunction%");q&&(I=q.prototype)}else if(Y==="%AsyncIteratorPrototype%"){var F=X("%AsyncGenerator%");F&&O&&(I=O(F.prototype))}return V[Y]=I,I},U={__proto__:null,"%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"]},z=ir(),E=Sc(),_=z.call(j,Array.prototype.concat),w=z.call(D,Array.prototype.splice),A=z.call(j,String.prototype.replace),$=z.call(j,String.prototype.slice),R=z.call(j,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,W=function(Y){var I=$(Y,0,1),q=$(Y,-1);if(I==="%"&&q!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(q==="%"&&I!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var F=[];return A(Y,P,function(G,Z,re,le){F[F.length]=re?A(le,L,"$1"):Z||G}),F},K=function(Y,I){var q=Y,F;if(E(U,q)&&(F=U[q],q="%"+F[0]+"%"),E(V,q)){var G=V[q];if(G===M&&(G=ie(q)),typeof G>"u"&&!I)throw new l("intrinsic "+Y+" exists, but is not available. Please file an issue!");return{alias:F,name:q,value:G}}throw new o("intrinsic "+Y+" does not exist!")};return _s=function(Y,I){if(typeof Y!="string"||Y.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof I!="boolean")throw new l('"allowMissing" argument must be a boolean');if(R(/^%?[^%]*%?$/,Y)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var q=W(Y),F=q.length>0?q[0]:"",G=K("%"+F+"%",I),Z=G.name,re=G.value,le=!1,de=G.alias;de&&(F=de[0],w(q,_([0,1],de)));for(var J=1,ee=!0;J<q.length;J+=1){var se=q[J],me=$(se,0,1),ce=$(se,-1);if((me==='"'||me==="'"||me==="`"||ce==='"'||ce==="'"||ce==="`")&&me!==ce)throw new o("property names with quotes must have matching quotes");if((se==="constructor"||!ee)&&(le=!0),F+="."+se,Z="%"+F+"%",E(V,Z))re=V[Z];else if(re!=null){if(!(se in re)){if(!I)throw new l("base intrinsic for "+Y+" exists, but the property is not available.");return}if(g&&J+1>=q.length){var ae=g(re,se);ee=!!ae,ee&&"get"in ae&&!("originalValue"in ae.get)?re=ae.get:re=re[se]}else ee=E(re,se),re=re[se];ee&&!le&&(V[Z]=re)}}return re},_s}var Rs,Cp;function Fb(){if(Cp)return Rs;Cp=1;var e=Xm();return Rs=function(){return e()&&!!Symbol.toStringTag},Rs}var ks,jp;function Mb(){if(jp)return ks;jp=1;var e=Db(),t=e("%Object.defineProperty%",!0),n=Fb()(),i=Sc(),r=bc(),s=n?Symbol.toStringTag:null;return ks=function(l,c){var d=arguments.length>2&&!!arguments[2]&&arguments[2].force,a=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof d<"u"&&typeof d!="boolean"||typeof a<"u"&&typeof a!="boolean")throw new r("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");s&&(d||!i(l,s))&&(t?t(l,s,{configurable:!a,enumerable:!1,value:c,writable:!1}):l[s]=c)},ks}var As,Ip;function Ub(){return Ip||(Ip=1,As=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}),As}var $s,Lp;function zb(){if(Lp)return $s;Lp=1;var e=ob(),t=Tt,n=Pi,i=Pn,r=Xt,s=Tn.parse,o=wv,l=Oe.Stream,c=um,d=ub(),a=mb(),p=Mb(),u=Sc(),f=Ub();function v(h){return String(h).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}function m(h){if(!(this instanceof m))return new m(h);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],e.call(this),h=h||{};for(var y in h)this[y]=h[y]}return t.inherits(m,e),m.LINE_BREAK=`\r
10
+ `,m.DEFAULT_CONTENT_TYPE="application/octet-stream",m.prototype.append=function(h,y,g){g=g||{},typeof g=="string"&&(g={filename:g});var b=e.prototype.append.bind(this);if((typeof y=="number"||y==null)&&(y=String(y)),Array.isArray(y)){this._error(new Error("Arrays are not supported."));return}var S=this._multiPartHeader(h,y,g),x=this._multiPartFooter();b(S),b(y),b(x),this._trackLength(S,y,g)},m.prototype._trackLength=function(h,y,g){var b=0;g.knownLength!=null?b+=Number(g.knownLength):Buffer.isBuffer(y)?b=y.length:typeof y=="string"&&(b=Buffer.byteLength(y)),this._valueLength+=b,this._overheadLength+=Buffer.byteLength(h)+m.LINE_BREAK.length,!(!y||!y.path&&!(y.readable&&u(y,"httpVersion"))&&!(y instanceof l))&&(g.knownLength||this._valuesToMeasure.push(y))},m.prototype._lengthRetriever=function(h,y){u(h,"fd")?h.end!=null&&h.end!=1/0&&h.start!=null?y(null,h.end+1-(h.start?h.start:0)):o.stat(h.path,function(g,b){if(g){y(g);return}var S=b.size-(h.start?h.start:0);y(null,S)}):u(h,"httpVersion")?y(null,Number(h.headers["content-length"])):u(h,"httpModule")?(h.on("response",function(g){h.pause(),y(null,Number(g.headers["content-length"]))}),h.resume()):y("Unknown stream")},m.prototype._multiPartHeader=function(h,y,g){if(typeof g.header=="string")return g.header;var b=this._getContentDisposition(y,g),S=this._getContentType(y,g),x="",k={"Content-Disposition":["form-data",'name="'+v(h)+'"'].concat(b||[]),"Content-Type":[].concat(S||[])};typeof g.header=="object"&&f(k,g.header);var O;for(var N in k)if(u(k,N)){if(O=k[N],O==null)continue;Array.isArray(O)||(O=[O]),O.length&&(x+=N+": "+O.join("; ")+m.LINE_BREAK)}return"--"+this.getBoundary()+m.LINE_BREAK+x+m.LINE_BREAK},m.prototype._getContentDisposition=function(h,y){var g;if(typeof y.filepath=="string"?g=n.normalize(y.filepath).replace(/\\/g,"/"):y.filename||h&&(h.name||h.path)?g=n.basename(y.filename||h&&(h.name||h.path)):h&&h.readable&&u(h,"httpVersion")&&(g=n.basename(h.client._httpMessage.path||"")),g)return'filename="'+v(g)+'"'},m.prototype._getContentType=function(h,y){var g=y.contentType;return!g&&h&&h.name&&(g=d.lookup(h.name)),!g&&h&&h.path&&(g=d.lookup(h.path)),!g&&h&&h.readable&&u(h,"httpVersion")&&(g=h.headers["content-type"]),!g&&(y.filepath||y.filename)&&(g=d.lookup(y.filepath||y.filename)),!g&&h&&typeof h=="object"&&(g=m.DEFAULT_CONTENT_TYPE),g},m.prototype._multiPartFooter=function(){return function(h){var y=m.LINE_BREAK,g=this._streams.length===0;g&&(y+=this._lastBoundary()),h(y)}.bind(this)},m.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+m.LINE_BREAK},m.prototype.getHeaders=function(h){var y,g={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(y in h)u(h,y)&&(g[y.toLowerCase()]=h[y]);return g},m.prototype.setBoundary=function(h){if(typeof h!="string")throw new TypeError("FormData boundary must be a string");this._boundary=h},m.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},m.prototype.getBuffer=function(){for(var h=new Buffer.alloc(0),y=this.getBoundary(),g=0,b=this._streams.length;g<b;g++)typeof this._streams[g]!="function"&&(Buffer.isBuffer(this._streams[g])?h=Buffer.concat([h,this._streams[g]]):h=Buffer.concat([h,Buffer.from(this._streams[g])]),(typeof this._streams[g]!="string"||this._streams[g].substring(2,y.length+2)!==y)&&(h=Buffer.concat([h,Buffer.from(m.LINE_BREAK)])));return Buffer.concat([h,Buffer.from(this._lastBoundary())])},m.prototype._generateBoundary=function(){this._boundary="--------------------------"+c.randomBytes(12).toString("hex")},m.prototype.getLengthSync=function(){var h=this._overheadLength+this._valueLength;return this._streams.length&&(h+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),h},m.prototype.hasKnownLength=function(){var h=!0;return this._valuesToMeasure.length&&(h=!1),h},m.prototype.getLength=function(h){var y=this._overheadLength+this._valueLength;if(this._streams.length&&(y+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(h.bind(this,null,y));return}a.parallel(this._valuesToMeasure,this._lengthRetriever,function(g,b){if(g){h(g);return}b.forEach(function(S){y+=S}),h(null,y)})},m.prototype.submit=function(h,y){var g,b,S={method:"post"};return typeof h=="string"?(h=s(h),b=f({port:h.port,path:h.pathname,host:h.hostname,protocol:h.protocol},S)):(b=f(h,S),b.port||(b.port=b.protocol==="https:"?443:80)),b.headers=this.getHeaders(h.headers),b.protocol==="https:"?g=r.request(b):g=i.request(b),this.getLength(function(x,k){if(x&&x!=="Unknown stream"){this._error(x);return}if(k&&g.setHeader("Content-Length",k),this.pipe(g),y){var O,N=function(C,D){return g.removeListener("error",N),g.removeListener("response",O),y.call(this,C,D)};O=N.bind(this,null),g.on("error",N),g.on("response",O)}}.bind(this)),g},m.prototype._error=function(h){this.error||(this.error=h,this.pause(),this.emit("error",h))},m.prototype.toString=function(){return"[object FormData]"},p(m.prototype,"FormData"),$s=m,$s}var Bb=zb();const th=Nn(Bb),Os={isBufferAvailable(){return typeof Buffer<"u"},from(e){return Buffer.from(e)}},nh=100;function Vo(e){return T.isPlainObject(e)||T.isArray(e)}function ih(e){return T.endsWith(e,"[]")?e.slice(0,-2):e}function Ps(e,t,n){return e?e.concat(t).map(function(r,s){return r=ih(r),!n&&s?"["+r+"]":r}).join(n?".":""):t}function Vb(e){return T.isArray(e)&&!e.some(Vo)}const Hb=T.toFlatObject(T,{},null,function(t){return/^is[A-Z]/.test(t)});function rr(e,t,n){if(!T.isObject(e))throw new TypeError("target must be an object");t=t||new(th||FormData);const i=(g,b)=>{const S=T.getSafeProp(n,g);return T.isUndefined(S)?b:S},r=i("metaTokens",!0),s=i("visitor")||m,o=i("dots",!1),l=i("indexes",!1),c=i("Blob")||typeof Blob<"u"&&Blob,d=i("maxDepth",nh),a=c&&T.isSpecCompliantForm(t),p=[];if(!T.isFunction(s))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(T.isDate(g))return g.toISOString();if(T.isBoolean(g))return g.toString();if(!a&&T.isBlob(g))throw new B("Blob is not supported. Use a Buffer instead.");if(T.isArrayBuffer(g)||T.isTypedArray(g)){if(a&&typeof c=="function")return new c([g]);if(Os&&Os.isBufferAvailable())return Os.from(g);throw new B("Blob is not supported. Use a Buffer instead.",B.ERR_NOT_SUPPORT)}return g}function f(g){if(g>d)throw new B("Object is too deeply nested ("+g+" levels). Max depth: "+d,B.ERR_FORM_DATA_DEPTH_EXCEEDED)}function v(g,b){if(d===1/0)return JSON.stringify(g);const S=[];return JSON.stringify(g,function(k,O){if(!T.isObject(O))return O;for(;S.length&&S[S.length-1]!==this;)S.pop();return S.push(O),f(b+S.length-1),O})}function m(g,b,S){let x=g;if(T.isReactNative(t)&&T.isReactNativeBlob(g))return t.append(Ps(S,b,o),u(g)),!1;if(g&&!S&&typeof g=="object"){if(T.endsWith(b,"{}"))b=r?b:b.slice(0,-2),g=v(g,1);else if(T.isArray(g)&&Vb(g)||(T.isFileList(g)||T.endsWith(b,"[]"))&&(x=T.toArray(g)))return b=ih(b),x.forEach(function(O,N){!(T.isUndefined(O)||O===null)&&t.append(l===!0?Ps([b],N,o):l===null?b:b+"[]",u(O))}),!1}return Vo(g)?!0:(t.append(Ps(S,b,o),u(g)),!1)}const h=Object.assign(Hb,{defaultVisitor:m,convertValue:u,isVisitable:Vo});function y(g,b,S=0){if(!T.isUndefined(g)){if(f(S),p.indexOf(g)!==-1)throw new Error("Circular reference detected in "+b.join("."));p.push(g),T.forEach(g,function(k,O){(!(T.isUndefined(k)||k===null)&&s.call(t,k,T.isString(O)?O.trim():O,b,h))===!0&&y(k,b?b.concat(O):[O],S+1)}),p.pop()}}if(!T.isObject(e))throw new TypeError("data must be an object");return y(e),t}function qp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(i){return t[i]})}function rh(e,t){this._pairs=[],e&&rr(e,this,t)}const ah=rh.prototype;ah.append=function(t,n){this._pairs.push([t,n])};ah.toString=function(t){const n=t?i=>t.call(this,i,qp):qp;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Kb(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ec(e,t,n){if(!t)return e;e=e||"";const i=T.isFunction(n)?{serialize:n}:n,r=T.getSafeProp(i,"encode")||Kb,s=T.getSafeProp(i,"serialize");let o;if(s?o=s(t,i):o=T.isURLSearchParams(t)?t.toString():new rh(t,i).toString(r),o){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}const dn=Symbol("internals");function sh(e){return e?e.length:0}function Dp(e){if(e)for(;e.length&&e[e.length-1]===null;)e.pop()}function Gb(e){return typeof e=="string"&&e!==""&&String(Number(e))===e?Number(e):e}function fn(e,t){const n=e.handlers,i=sh(n);n!==t.handlersRef?(t.handlersRef=n,t.handlerEntries.clear()):i!==t.handlersLength&&(i?t.handlerEntries.forEach(function(s,o){n[s.index]!==s.handler&&t.handlerEntries.delete(o)}):t.handlerEntries.clear()),t.handlersLength=i}class Fp{constructor(){this.handlers=[],this[dn]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(t,n,i){const r={fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null},s=this[dn];this.handlers==null&&(this.handlers=[]),fn(this,s);const o=s.nextId++;return this.handlers.push(r),s.handlerEntries.set(o,{handler:r,index:this.handlers.length-1}),s.handlersLength=this.handlers.length,o}eject(t){const n=this[dn];fn(this,n);const i=Gb(t),r=n.handlerEntries.get(i);if(r){if(n.handlerEntries.delete(i),this.handlers[r.index]!==r.handler)return;this.handlers[r.index]=null,n.iterationDepth||(Dp(this.handlers),n.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],fn(this,this[dn]))}forEach(t){const n=this[dn];fn(this,n),n.iterationDepth++;try{T.forEach(this.handlers,function(r){r!==null&&t(r)})}finally{--n.iterationDepth||(fn(this,n),Dp(this.handlers),n.handlersLength=sh(this.handlers))}}}const ar={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0,encodeBasicAuthUsername:!1},Wb=Tn.URLSearchParams,Ts="abcdefghijklmnopqrstuvwxyz",Mp="0123456789",oh={DIGIT:Mp,ALPHA:Ts,ALPHA_DIGIT:Ts+Ts.toUpperCase()+Mp},Yb=(e=16,t=oh.ALPHA_DIGIT)=>{let n="";const{length:i}=t,r=new Uint32Array(e);um.randomFillSync(r);for(let s=0;s<e;s++)n+=t[r[s]%i];return n},Jb={isNode:!0,classes:{URLSearchParams:Wb,FormData:th,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:oh,generateString:Yb,protocols:["http","https","file","data"]},_c=typeof window<"u"&&typeof document<"u",Ho=typeof navigator=="object"&&navigator||void 0,Xb=_c&&(!Ho||["ReactNative","NativeScript","NS"].indexOf(Ho.product)<0),Qb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Zb=_c&&window.location.href||"http://localhost",ew=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:_c,hasStandardBrowserEnv:Xb,hasStandardBrowserWebWorkerEnv:Qb,navigator:Ho,origin:Zb},Symbol.toStringTag,{value:"Module"})),xe={...ew,...Jb};function tw(e,t){return rr(e,new xe.classes.URLSearchParams,{visitor:function(n,i,r,s){return xe.isNode&&T.isBuffer(n)?(this.append(i,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}const Up=nh;function ch(e){if(e>Up)throw new B("FormData field is too deeply nested ("+e+" levels). Max depth: "+Up,B.ERR_FORM_DATA_DEPTH_EXCEEDED)}function nw(e){const t=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;let i;for(;(i=n.exec(e))!==null;)ch(t.length),t.push(i[0]==="[]"?"":i[1]||i[0]);return t}function lh(e){const t={},n=Object.keys(e);let i;const r=n.length;let s;for(i=0;i<r;i++)s=n[i],t[s]=e[s];return t}function uh(e){if(!T.isArray(e))return e;const t=Object.keys(e);return t.length!==e.length||t.some((n,i)=>n!==String(i))?lh(e):e}function iw(e){const t=[e];for(;t.length;){const n=t.pop();Object.keys(n).forEach(i=>{const r=n[i]=uh(n[i]);(T.isArray(r)||T.isPlainObject(r))&&t.push(r)})}return e}function ph(e){function t(n,i,r,s){ch(s);let o=n[s++];if(o==="__proto__")return!0;const l=Number.isFinite(+o),c=s>=n.length;return o=!o&&T.isArray(r)?r.length:o,c?(T.hasOwnProp(r,o)?(r[o]=uh(r[o]),r[o]=T.isArray(r[o])?r[o].concat(i):[r[o],i]):r[o]=i,!l):((!T.hasOwnProp(r,o)||!T.isObject(r[o]))&&(r[o]=[]),t(n,i,r[o],s)&&T.isArray(r[o])&&(r[o]=lh(r[o])),!l)}if(T.isFormData(e)&&T.isFunction(e.entries)){const n={};return T.forEachEntry(e,(i,r)=>{t(nw(i),r,n,0)}),iw(n)}return null}const dh=Object.freeze(["get","delete","head","options","post","put","patch","purge","link","unlink","query"]),Ft=(e,t)=>e!=null&&T.hasOwnProp(e,t)?e[t]:void 0;function rw(e,t,n){if(T.isString(e))try{return(t||JSON.parse)(e),T.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}const qn={transitional:ar,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const i=n.getContentType()||"",r=i.indexOf("application/json")>-1,s=T.isObject(t);if(s&&T.isHTMLForm(t)&&(t=new FormData(t)),T.isFormData(t))return r?JSON.stringify(ph(t)):t;if(T.isArrayBuffer(t)||T.isBuffer(t)||T.isStream(t)||T.isFile(t)||T.isBlob(t)||T.isReadableStream(t))return t;if(T.isArrayBufferView(t))return t.buffer;if(T.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){const c=Ft(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return tw(t,c).toString();if((l=T.isFileList(t))||i.indexOf("multipart/form-data")>-1){const d=Ft(this,"env"),a=d&&d.FormData;return rr(l?{"files[]":t}:t,a&&new a,c)}}return s||r?(n.setContentType("application/json",!1),rw(t)):t}],transformResponse:[function(t){const n=Ft(this,"transitional")||qn.transitional,i=n&&n.forcedJSONParsing,r=Ft(this,"responseType"),s=r==="json";if(T.isResponse(t)||T.isReadableStream(t))return t;if(t&&T.isString(t)&&(i&&!r||s)){const l=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,Ft(this,"parseReviver"))}catch(c){if(l)throw c.name==="SyntaxError"?B.from(c,B.ERR_BAD_RESPONSE,this,null,Ft(this,"response")):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:xe.classes.FormData,Blob:xe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};T.forEach(dh,e=>{qn.headers[e]={}});function Ns(e,t){const n=this||qn,i=t||n,r=_e.from(i.headers);let s=i.data;return T.forEach(e,function(l){s=l.call(n,s,r.normalize(),t?t.status:void 0)}),r.normalize(),s}function fh(e){return!!(e&&e.__CANCEL__)}let $t=class extends B{constructor(t,n,i){super(t??"canceled",B.ERR_CANCELED,n,i),this.name="CanceledError",this.__CANCEL__=!0}};function Yt(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new B("Request failed with status code "+n.status,n.status>=400&&n.status<500?B.ERR_BAD_REQUEST:B.ERR_BAD_RESPONSE,n.config,n.request,n))}function aw(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function sw(e,t){if(!t)return e;let n=e.length;for(;n>0&&e.charCodeAt(n-1)===47;)n--;return e.slice(0,n)+"/"+t.replace(/^\/+/,"")}const ow=/[\t\n\r]/g;function mh(e){if(typeof e!="string")return e;let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t).replace(ow,"")}const cw=/^https?:(?!\/\/)/i;function lw(e){return e&&e.replace(/(^|&)([^=&]*=)?[^&]+/g,(t,n,i="")=>`${n}${i}${Ci}`)}function uw(e){const t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Ci}@`),n=t.indexOf("#"),r=(n===-1?t:t.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Ci}`);return n===-1?r:`${r}#${lw(t.slice(n+1))}`}function zp(e,t){if(typeof e=="string"){const n=mh(e);if(cw.test(n))throw new B(`Invalid URL ${JSON.stringify(uw(n))}: missing "//" after protocol`,B.ERR_INVALID_URL,t)}}function Rc(e,t,n,i){zp(t,i);let r=!aw(t);return e&&(r||n===!1)?(zp(e,i),sw(e,t)):t}var pw={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function dw(e){try{return new URL(e)}catch{return null}}function fw(e){var t=(typeof e=="string"?dw(e):e)||{},n=t.protocol,i=t.host,r=t.port;if(typeof i!="string"||!i||typeof n!="string"||(n=n.split(":",1)[0],i=i.replace(/:\d*$/,""),r=parseInt(r)||pw[n]||0,!mw(i,r)))return"";var s=Ko(n+"_proxy")||Ko("all_proxy");return s&&s.indexOf("://")===-1&&(s=n+"://"+s),s}function mw(e,t){var n=Ko("no_proxy").toLowerCase();return n?n==="*"?!1:n.split(/[,\s]/).every(function(i){if(!i)return!0;var r=i.match(/^(.+):(\d+)$/),s=r?r[1]:i,o=r?parseInt(r[2]):0;return o&&o!==t?!0:/^[.*]/.test(s)?(s.charAt(0)==="*"&&(s=s.slice(1)),!e.endsWith(s)):e!==s}):!0}function Ko(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}var dt={},ti={exports:{}},ni={exports:{}},Cs,Bp;function hw(){if(Bp)return Cs;Bp=1;var e=1e3,t=e*60,n=t*60,i=n*24,r=i*7,s=i*365.25;Cs=function(a,p){p=p||{};var u=typeof a;if(u==="string"&&a.length>0)return o(a);if(u==="number"&&isFinite(a))return p.long?c(a):l(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))};function o(a){if(a=String(a),!(a.length>100)){var p=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(a);if(p){var u=parseFloat(p[1]),f=(p[2]||"ms").toLowerCase();switch(f){case"years":case"year":case"yrs":case"yr":case"y":return u*s;case"weeks":case"week":case"w":return u*r;case"days":case"day":case"d":return u*i;case"hours":case"hour":case"hrs":case"hr":case"h":return u*n;case"minutes":case"minute":case"mins":case"min":case"m":return u*t;case"seconds":case"second":case"secs":case"sec":case"s":return u*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}}}function l(a){var p=Math.abs(a);return p>=i?Math.round(a/i)+"d":p>=n?Math.round(a/n)+"h":p>=t?Math.round(a/t)+"m":p>=e?Math.round(a/e)+"s":a+"ms"}function c(a){var p=Math.abs(a);return p>=i?d(a,p,i,"day"):p>=n?d(a,p,n,"hour"):p>=t?d(a,p,t,"minute"):p>=e?d(a,p,e,"second"):a+" ms"}function d(a,p,u,f){var v=p>=u*1.5;return Math.round(a/u)+" "+f+(v?"s":"")}return Cs}var js,Vp;function hh(){if(Vp)return js;Vp=1;function e(t){i.debug=i,i.default=i,i.coerce=d,i.disable=l,i.enable=s,i.enabled=c,i.humanize=hw(),i.destroy=a,Object.keys(t).forEach(p=>{i[p]=t[p]}),i.names=[],i.skips=[],i.formatters={};function n(p){let u=0;for(let f=0;f<p.length;f++)u=(u<<5)-u+p.charCodeAt(f),u|=0;return i.colors[Math.abs(u)%i.colors.length]}i.selectColor=n;function i(p){let u,f=null,v,m;function h(...y){if(!h.enabled)return;const g=h,b=Number(new Date),S=b-(u||b);g.diff=S,g.prev=u,g.curr=b,u=b,y[0]=i.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let x=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,(O,N)=>{if(O==="%%")return"%";x++;const C=i.formatters[N];if(typeof C=="function"){const D=y[x];O=C.call(g,D),y.splice(x,1),x--}return O}),i.formatArgs.call(g,y),(g.log||i.log).apply(g,y)}return h.namespace=p,h.useColors=i.useColors(),h.color=i.selectColor(p),h.extend=r,h.destroy=i.destroy,Object.defineProperty(h,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(v!==i.namespaces&&(v=i.namespaces,m=i.enabled(p)),m),set:y=>{f=y}}),typeof i.init=="function"&&i.init(h),h}function r(p,u){const f=i(this.namespace+(typeof u>"u"?":":u)+p);return f.log=this.log,f}function s(p){i.save(p),i.namespaces=p,i.names=[],i.skips=[];const u=(typeof p=="string"?p:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const f of u)f[0]==="-"?i.skips.push(f.slice(1)):i.names.push(f)}function o(p,u){let f=0,v=0,m=-1,h=0;for(;f<p.length;)if(v<u.length&&(u[v]===p[f]||u[v]==="*"))u[v]==="*"?(m=v,h=f,v++):(f++,v++);else if(m!==-1)v=m+1,h++,f=h;else return!1;for(;v<u.length&&u[v]==="*";)v++;return v===u.length}function l(){const p=[...i.names,...i.skips.map(u=>"-"+u)].join(",");return i.enable(""),p}function c(p){for(const u of i.skips)if(o(p,u))return!1;for(const u of i.names)if(o(p,u))return!0;return!1}function d(p){return p instanceof Error?p.stack||p.message:p}function a(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return i.enable(i.load()),i}return js=e,js}var Hp;function vw(){return Hp||(Hp=1,(function(e,t){t.formatArgs=i,t.save=r,t.load=s,t.useColors=n,t.storage=o(),t.destroy=(()=>{let c=!1;return()=>{c||(c=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let c;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(c=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(c[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function i(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const d="color: "+this.color;c.splice(1,0,d,"color: inherit");let a=0,p=0;c[0].replace(/%[a-zA-Z%]/g,u=>{u!=="%%"&&(a++,u==="%c"&&(p=a))}),c.splice(p,0,d)}t.log=console.debug||console.log||(()=>{});function r(c){try{c?t.storage.setItem("debug",c):t.storage.removeItem("debug")}catch{}}function s(){let c;try{c=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c}function o(){try{return localStorage}catch{}}e.exports=hh()(t);const{formatters:l}=e.exports;l.j=function(c){try{return JSON.stringify(c)}catch(d){return"[UnexpectedJSONParseError]: "+d.message}}})(ni,ni.exports)),ni.exports}var ii={exports:{}};function Be(e,t=globalThis.Deno?globalThis.Deno.args:ye.argv){const n=e.startsWith("-")?"":e.length===1?"-":"--",i=t.indexOf(n+e),r=t.indexOf("--");return i!==-1&&(r===-1||i<r)}const{env:we}=ye;let ji;Be("no-color")||Be("no-colors")||Be("color=false")||Be("color=never")?ji=0:(Be("color")||Be("colors")||Be("color=true")||Be("color=always"))&&(ji=1);function gw(){if(!("FORCE_COLOR"in we))return;if(we.FORCE_COLOR==="true")return 1;if(we.FORCE_COLOR==="false")return 0;if(we.FORCE_COLOR.length===0)return 1;const e=Math.min(Number.parseInt(we.FORCE_COLOR,10),3);if([0,1,2,3].includes(e))return e}function yw(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function xw(e,{streamIsTTY:t,sniffFlags:n=!0}={}){const i=gw();i!==void 0&&(ji=i);const r=n?ji:i;if(r===0)return 0;if(n){if(Be("color=16m")||Be("color=full")||Be("color=truecolor"))return 3;if(Be("color=256"))return 2}if("TF_BUILD"in we&&"AGENT_NAME"in we)return 1;if(e&&!t&&r===void 0)return 0;const s=r||0;if(we.TERM==="dumb")return s;if(ye.platform==="win32"){const o=zi.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in we)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(o=>o in we)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(o=>o in we)||we.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in we)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(we.TEAMCITY_VERSION)?1:0;if(we.COLORTERM==="truecolor"||we.TERM==="xterm-kitty"||we.TERM==="xterm-ghostty"||we.TERM==="wezterm")return 3;if("TERM_PROGRAM"in we){const o=Number.parseInt((we.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(we.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(we.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(we.TERM)||"COLORTERM"in we?1:s}function Go(e,t={}){const n=xw(e,{streamIsTTY:e&&e.isTTY,...t});return yw(n)}const bw={stdout:Go({isTTY:Xc.isatty(1)}),stderr:Go({isTTY:Xc.isatty(2)})},ww=Object.freeze(Object.defineProperty({__proto__:null,createSupportsColor:Go,default:bw},Symbol.toStringTag,{value:"Module"})),Sw=Zv(ww);var Kp;function Ew(){return Kp||(Kp=1,(function(e,t){const n=_v,i=Tt;t.init=a,t.log=l,t.formatArgs=s,t.save=c,t.load=d,t.useColors=r,t.destroy=i.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const u=Sw;u&&(u.stderr||u).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}t.inspectOpts=Object.keys(process.env).filter(u=>/^debug_/i.test(u)).reduce((u,f)=>{const v=f.substring(6).toLowerCase().replace(/_([a-z])/g,(h,y)=>y.toUpperCase());let m=process.env[f];return/^(yes|on|true|enabled)$/i.test(m)?m=!0:/^(no|off|false|disabled)$/i.test(m)?m=!1:m==="null"?m=null:m=Number(m),u[v]=m,u},{});function r(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:n.isatty(process.stderr.fd)}function s(u){const{namespace:f,useColors:v}=this;if(v){const m=this.color,h="\x1B[3"+(m<8?m:"8;5;"+m),y=` ${h};1m${f} \x1B[0m`;u[0]=y+u[0].split(`
11
+ `).join(`
12
+ `+y),u.push(h+"m+"+e.exports.humanize(this.diff)+"\x1B[0m")}else u[0]=o()+f+" "+u[0]}function o(){return t.inspectOpts.hideDate?"":new Date().toISOString()+" "}function l(...u){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...u)+`
13
+ `)}function c(u){u?process.env.DEBUG=u:delete process.env.DEBUG}function d(){return process.env.DEBUG}function a(u){u.inspectOpts={};const f=Object.keys(t.inspectOpts);for(let v=0;v<f.length;v++)u.inspectOpts[f[v]]=t.inspectOpts[f[v]]}e.exports=hh()(t);const{formatters:p}=e.exports;p.o=function(u){return this.inspectOpts.colors=this.useColors,i.inspect(u,this.inspectOpts).split(`
14
+ `).map(f=>f.trim()).join(" ")},p.O=function(u){return this.inspectOpts.colors=this.useColors,i.inspect(u,this.inspectOpts)}})(ii,ii.exports)),ii.exports}var Gp;function sr(){return Gp||(Gp=1,typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?ti.exports=vw():ti.exports=Ew()),ti.exports}var ri={},Wp;function _w(){if(Wp)return ri;Wp=1,Object.defineProperty(ri,"__esModule",{value:!0});function e(t){return function(n,i){return new Promise((r,s)=>{t.call(this,n,i,(o,l)=>{o?s(o):r(l)})})}}return ri.default=e,ri}var mn,Yp;function Rw(){if(Yp)return mn;Yp=1;var e=mn&&mn.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};const t=dm,n=e(sr()),i=e(_w()),r=n.default("agent-base");function s(c){return!!c&&typeof c.addRequest=="function"}function o(){const{stack:c}=new Error;return typeof c!="string"?!1:c.split(`
15
+ `).some(d=>d.indexOf("(https.js:")!==-1||d.indexOf("node:https:")!==-1)}function l(c,d){return new l.Agent(c,d)}return(function(c){class d extends t.EventEmitter{constructor(p,u){super();let f=u;typeof p=="function"?this.callback=p:p&&(f=p),this.timeout=null,f&&typeof f.timeout=="number"&&(this.timeout=f.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return typeof this.explicitDefaultPort=="number"?this.explicitDefaultPort:o()?443:80}set defaultPort(p){this.explicitDefaultPort=p}get protocol(){return typeof this.explicitProtocol=="string"?this.explicitProtocol:o()?"https:":"http:"}set protocol(p){this.explicitProtocol=p}callback(p,u,f){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(p,u){const f=Object.assign({},u);typeof f.secureEndpoint!="boolean"&&(f.secureEndpoint=o()),f.host==null&&(f.host="localhost"),f.port==null&&(f.port=f.secureEndpoint?443:80),f.protocol==null&&(f.protocol=f.secureEndpoint?"https:":"http:"),f.host&&f.path&&delete f.path,delete f.agent,delete f.hostname,delete f._defaultAgent,delete f.defaultPort,delete f.createConnection,p._last=!0,p.shouldKeepAlive=!1;let v=!1,m=null;const h=f.timeout||this.timeout,y=x=>{p._hadError||(p.emit("error",x),p._hadError=!0)},g=()=>{m=null,v=!0;const x=new Error(`A "socket" was not created for HTTP request before ${h}ms`);x.code="ETIMEOUT",y(x)},b=x=>{v||(m!==null&&(clearTimeout(m),m=null),y(x))},S=x=>{if(v)return;if(m!=null&&(clearTimeout(m),m=null),s(x)){r("Callback returned another Agent instance %o",x.constructor.name),x.addRequest(p,f);return}if(x){x.once("free",()=>{this.freeSocket(x,f)}),p.onSocket(x);return}const k=new Error(`no Duplex stream was returned to agent-base for \`${p.method} ${p.path}\``);y(k)};if(typeof this.callback!="function"){y(new Error("`callback` is not defined"));return}this.promisifiedCallback||(this.callback.length>=3?(r("Converting legacy callback function to promise"),this.promisifiedCallback=i.default(this.callback)):this.promisifiedCallback=this.callback),typeof h=="number"&&h>0&&(m=setTimeout(g,h)),"port"in f&&typeof f.port!="number"&&(f.port=Number(f.port));try{r("Resolving socket for %o request: %o",f.protocol,`${p.method} ${p.path}`),Promise.resolve(this.promisifiedCallback(p,f)).then(S,b)}catch(x){Promise.reject(x).catch(b)}}freeSocket(p,u){r("Freeing socket %o %o",p.constructor.name,u),p.destroy()}destroy(){r("Destroying agent %o",this.constructor.name)}}c.Agent=d,c.prototype=c.Agent.prototype})(l||(l={})),mn=l,mn}var Mt={},Jp;function kw(){if(Jp)return Mt;Jp=1;var e=Mt&&Mt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Mt,"__esModule",{value:!0});const n=e(sr()).default("https-proxy-agent:parse-proxy-response");function i(r){return new Promise((s,o)=>{let l=0;const c=[];function d(){const m=r.read();m?v(m):r.once("readable",d)}function a(){r.removeListener("end",u),r.removeListener("error",f),r.removeListener("close",p),r.removeListener("readable",d)}function p(m){n("onclose had error %o",m)}function u(){n("onend")}function f(m){a(),n("onerror %o",m),o(m)}function v(m){c.push(m),l+=m.length;const h=Buffer.concat(c,l);if(h.indexOf(`\r
16
+ \r
17
+ `)===-1){n("have not received end of HTTP headers yet..."),d();return}const g=h.toString("ascii",0,h.indexOf(`\r
18
+ `)),b=+g.split(" ")[1];n("got proxy server response: %o",g),s({statusCode:b,buffered:h})}r.on("error",f),r.on("close",p),r.on("end",u),d()})}return Mt.default=i,Mt}var Xp;function Aw(){if(Xp)return dt;Xp=1;var e=dt&&dt.__awaiter||function(m,h,y,g){function b(S){return S instanceof y?S:new y(function(x){x(S)})}return new(y||(y=Promise))(function(S,x){function k(C){try{N(g.next(C))}catch(D){x(D)}}function O(C){try{N(g.throw(C))}catch(D){x(D)}}function N(C){C.done?S(C.value):b(C.value).then(k,O)}N((g=g.apply(m,h||[])).next())})},t=dt&&dt.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(dt,"__esModule",{value:!0});const n=t(Sv),i=t(Ev),r=t(Tn),s=t(pm),o=t(sr()),l=Rw(),c=t(kw()),d=o.default("https-proxy-agent:agent");class a extends l.Agent{constructor(h){let y;if(typeof h=="string"?y=r.default.parse(h):y=h,!y)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");d("creating new HttpsProxyAgent instance: %o",y),super(y);const g=Object.assign({},y);this.secureProxy=y.secureProxy||f(g.protocol),g.host=g.hostname||g.host,typeof g.port=="string"&&(g.port=parseInt(g.port,10)),!g.port&&g.host&&(g.port=this.secureProxy?443:80),this.secureProxy&&!("ALPNProtocols"in g)&&(g.ALPNProtocols=["http 1.1"]),g.host&&g.path&&(delete g.path,delete g.pathname),this.proxy=g}callback(h,y){return e(this,void 0,void 0,function*(){const{proxy:g,secureProxy:b}=this;let S;b?(d("Creating `tls.Socket`: %o",g),S=i.default.connect(g)):(d("Creating `net.Socket`: %o",g),S=n.default.connect(g));const x=Object.assign({},g.headers);let O=`CONNECT ${`${y.host}:${y.port}`} HTTP/1.1\r
19
+ `;g.auth&&(x["Proxy-Authorization"]=`Basic ${Buffer.from(g.auth).toString("base64")}`);let{host:N,port:C,secureEndpoint:D}=y;u(C,D)||(N+=`:${C}`),x.Host=N,x.Connection="close";for(const Q of Object.keys(x))O+=`${Q}: ${x[Q]}\r
20
+ `;const j=c.default(S);S.write(`${O}\r
21
+ `);const{statusCode:M,buffered:H}=yield j;if(M===200){if(h.once("socket",p),y.secureEndpoint){d("Upgrading socket connection to TLS");const Q=y.servername||y.host;return i.default.connect(Object.assign(Object.assign({},v(y,"host","hostname","path","port")),{socket:S,servername:Q}))}return S}S.destroy();const V=new n.default.Socket({writable:!1});return V.readable=!0,h.once("socket",Q=>{d("replaying proxy buffer for failed request"),s.default(Q.listenerCount("data")>0),Q.push(H),Q.push(null)}),V})}}dt.default=a;function p(m){m.resume()}function u(m,h){return!!(!h&&m===80||h&&m===443)}function f(m){return typeof m=="string"?/^https:?$/i.test(m):!1}function v(m,...h){const y={};let g;for(g in m)h.includes(g)||(y[g]=m[g]);return y}return dt}var hn,Qp;function $w(){if(Qp)return hn;Qp=1;var e=hn&&hn.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};const t=e(Aw());function n(i){return new t.default(i)}return(function(i){i.HttpsProxyAgent=t.default,i.prototype=t.default.prototype})(n||(n={})),hn=n,hn}var Ow=$w();const vh=Nn(Ow);var ai={exports:{}},Is,Zp;function Pw(){if(Zp)return Is;Zp=1;var e;return Is=function(){if(!e){try{e=sr()("follow-redirects")}catch{}typeof e!="function"&&(e=function(){})}e.apply(null,arguments)},Is}var ed;function Tw(){if(ed)return ai.exports;ed=1;var e=Tn,t=e.URL,n=Pn,i=Xt,r=Oe.Writable,s=pm,o=Pw();(function(){var _=typeof process<"u",w=typeof window<"u"&&typeof document<"u",A=Q(Error.captureStackTrace);!_&&(w||!A)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var l=!1;try{s(new t(""))}catch(E){l=E.code==="ERR_INVALID_URL"}var c=["Authorization","Proxy-Authorization","Cookie"],d=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],a=["abort","aborted","connect","error","socket","timeout"],p=Object.create(null);a.forEach(function(E){p[E]=function(_,w,A){this._redirectable.emit(E,_,w,A)}});var u=D("ERR_INVALID_URL","Invalid URL",TypeError),f=D("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),v=D("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",f),m=D("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),h=D("ERR_STREAM_WRITE_AFTER_END","write after end"),y=r.prototype.destroy||S;function g(E,_){r.call(this),this._sanitizeOptions(E),this._options=E,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],_&&this.on("response",_);var w=this;this._onNativeResponse=function(A){try{w._processResponse(A)}catch($){w.emit("error",$ instanceof f?$:new f({cause:$}))}},this._headerFilter=new RegExp("^(?:"+c.concat(E.sensitiveHeaders).map(z).join("|")+")$","i"),this._performRequest()}g.prototype=Object.create(r.prototype),g.prototype.abort=function(){j(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},g.prototype.destroy=function(E){return j(this._currentRequest,E),y.call(this,E),this},g.prototype.write=function(E,_,w){if(this._ending)throw new h;if(!V(E)&&!ie(E))throw new TypeError("data should be a string, Buffer or Uint8Array");if(Q(_)&&(w=_,_=null),E.length===0){w&&w();return}this._requestBodyLength+E.length<=this._options.maxBodyLength?(this._requestBodyLength+=E.length,this._requestBodyBuffers.push({data:E,encoding:_}),this._currentRequest.write(E,_,w)):(this.emit("error",new m),this.abort())},g.prototype.end=function(E,_,w){if(Q(E)?(w=E,E=_=null):Q(_)&&(w=_,_=null),!E)this._ended=this._ending=!0,this._currentRequest.end(null,null,w);else{var A=this,$=this._currentRequest;this.write(E,_,function(){A._ended=!0,$.end(null,null,w)}),this._ending=!0}},g.prototype.setHeader=function(E,_){this._options.headers[E]=_,this._currentRequest.setHeader(E,_)},g.prototype.removeHeader=function(E){delete this._options.headers[E],this._currentRequest.removeHeader(E)},g.prototype.setTimeout=function(E,_){var w=this;function A(P){P.setTimeout(E),P.removeListener("timeout",P.destroy),P.addListener("timeout",P.destroy)}function $(P){w._timeout&&clearTimeout(w._timeout),w._timeout=setTimeout(function(){w.emit("timeout"),R()},E),A(P)}function R(){w._timeout&&(clearTimeout(w._timeout),w._timeout=null),w.removeListener("abort",R),w.removeListener("error",R),w.removeListener("response",R),w.removeListener("close",R),_&&w.removeListener("timeout",_),w.socket||w._currentRequest.removeListener("socket",$)}return _&&this.on("timeout",_),this.socket?$(this.socket):this._currentRequest.once("socket",$),this.on("socket",A),this.on("abort",R),this.on("error",R),this.on("response",R),this.on("close",R),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(E){g.prototype[E]=function(_,w){return this._currentRequest[E](_,w)}}),["aborted","connection","socket"].forEach(function(E){Object.defineProperty(g.prototype,E,{get:function(){return this._currentRequest[E]}})}),g.prototype._sanitizeOptions=function(E){if(E.headers||(E.headers={}),H(E.sensitiveHeaders)||(E.sensitiveHeaders=[]),E.host&&(E.hostname||(E.hostname=E.host),delete E.host),!E.pathname&&E.path){var _=E.path.indexOf("?");_<0?E.pathname=E.path:(E.pathname=E.path.substring(0,_),E.search=E.path.substring(_))}},g.prototype._performRequest=function(){var E=this._options.protocol,_=this._options.nativeProtocols[E];if(!_)throw new TypeError("Unsupported protocol "+E);if(this._options.agents){var w=E.slice(0,-1);this._options.agent=this._options.agents[w]}var A=this._currentRequest=_.request(this._options,this._onNativeResponse);A._redirectable=this;for(var $ of a)A.on($,p[$]);if(this._currentUrl=/^\//.test(this._options.path)?e.format(this._options):this._options.path,this._isRedirect){var R=0,P=this,L=this._requestBodyBuffers;(function W(K){if(A===P._currentRequest)if(K)P.emit("error",K);else if(R<L.length){var X=L[R++];A.finished||A.write(X.data,X.encoding,W)}else P._ended&&A.end()})()}},g.prototype._processResponse=function(E){var _=E.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:E.headers,statusCode:_});var w=E.headers.location;if(!w||this._options.followRedirects===!1||_<300||_>=400){E.responseUrl=this._currentUrl,E.redirects=this._redirects,this.emit("response",E),this._requestBodyBuffers=[];return}if(j(this._currentRequest),E.destroy(),++this._redirectCount>this._options.maxRedirects)throw new v;var A,$=this._options.beforeRedirect;$&&(A=Object.assign({Host:E.req.getHeader("host")},this._options.headers));var R=this._options.method;((_===301||_===302)&&this._options.method==="POST"||_===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],C(/^content-/i,this._options.headers));var P=C(/^host$/i,this._options.headers),L=x(this._currentUrl),W=P||L.host,K=/^\w+:/.test(w)?this._currentUrl:e.format(Object.assign(L,{host:W})),X=k(w,K);if(o("redirecting to",X.href),this._isRedirect=!0,N(X,this._options),(X.protocol!==L.protocol&&X.protocol!=="https:"||X.host!==W&&!M(X.host,W))&&C(this._headerFilter,this._options.headers),Q($)){var Y={headers:E.headers,statusCode:_},I={url:K,method:R,headers:A};$(this._options,Y,I),this._sanitizeOptions(this._options)}this._performRequest()};function b(E){var _={maxRedirects:21,maxBodyLength:10485760},w={};return Object.keys(E).forEach(function(A){var $=A+":",R=w[$]=E[A],P=_[A]=Object.create(R);function L(K,X,Y){return U(K)?K=N(K):V(K)?K=N(x(K)):(Y=X,X=O(K),K={protocol:$}),Q(X)&&(Y=X,X=null),X=Object.assign({maxRedirects:_.maxRedirects,maxBodyLength:_.maxBodyLength},K,X),X.nativeProtocols=w,!V(X.host)&&!V(X.hostname)&&(X.hostname="::1"),s.equal(X.protocol,$,"protocol mismatch"),o("options",X),new g(X,Y)}function W(K,X,Y){var I=P.request(K,X,Y);return I.end(),I}Object.defineProperties(P,{request:{value:L,configurable:!0,enumerable:!0,writable:!0},get:{value:W,configurable:!0,enumerable:!0,writable:!0}})}),_}function S(){}function x(E){var _;if(l)_=new t(E);else if(_=O(e.parse(E)),!V(_.protocol))throw new u({input:E});return _}function k(E,_){return l?new t(E,_):x(e.resolve(_,E))}function O(E){if(/^\[/.test(E.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(E.hostname))throw new u({input:E.href||E});if(/^\[/.test(E.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(E.host))throw new u({input:E.href||E});return E}function N(E,_){var w=_||{};for(var A of d)w[A]=E[A];return w.hostname.startsWith("[")&&(w.hostname=w.hostname.slice(1,-1)),w.port!==""&&(w.port=Number(w.port)),w.path=w.search?w.pathname+w.search:w.pathname,w}function C(E,_){var w;for(var A in _)E.test(A)&&(w=_[A],delete _[A]);return w===null||typeof w>"u"?void 0:String(w).trim()}function D(E,_,w){function A($){Q(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,$||{}),this.code=E,this.message=this.cause?_+": "+this.cause.message:_}return A.prototype=new(w||Error),Object.defineProperties(A.prototype,{constructor:{value:A,enumerable:!1},name:{value:"Error ["+E+"]",enumerable:!1}}),A}function j(E,_){for(var w of a)E.removeListener(w,p[w]);E.on("error",S),E.destroy(_)}function M(E,_){s(V(E)&&V(_));var w=E.length-_.length-1;return w>0&&E[w]==="."&&E.endsWith(_)}function H(E){return E instanceof Array}function V(E){return typeof E=="string"||E instanceof String}function Q(E){return typeof E=="function"}function ie(E){return typeof E=="object"&&"length"in E}function U(E){return t&&E instanceof t}function z(E){return E.replace(/[\]\\/()*+?.$]/g,"\\$&")}return ai.exports=b({http:n,https:i}),ai.exports.wrap=b,ai.exports}var Nw=Tw();const Cw=Nn(Nw),$n="1.21.0";function _i(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1].toLowerCase()||""}const jw=/^([^,;/]+\/[^,;/]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/i;function Iw(e,t,n){const i=n&&n.Blob||xe.classes.Blob,r=_i(e);if(t===void 0&&i&&(t=!0),r==="data"){e=r.length?e.slice(r.length+1):e;const s=jw.exec(e);if(!s)throw new B("Invalid URL",B.ERR_INVALID_URL);const o=s[1],l=s[2],c=s[3]?"base64":"utf8",d=s[4];let a="";o?a=l?o+l:o:l&&(a="text/plain"+l);const p=c==="base64"?Buffer.from(d.replace(/%([\da-f]{2})/gi,(u,f)=>String.fromCharCode(parseInt(f,16))),"base64"):Buffer.from(decodeURIComponent(d),c);if(t){if(!i)throw new B("Blob is not supported",B.ERR_NOT_SUPPORT);return new i([p],{type:a})}return p}throw new B("Unsupported protocol "+r,B.ERR_NOT_SUPPORT)}const Lw=["content-type","content-length"];function gh(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([i,r])=>{Lw.includes(i.toLowerCase())&&e.set(i,r)})}const Ls=Symbol("internals");class td extends Oe.Transform{constructor(t){t=T.toFlatObject(t,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(i,r)=>!T.isUndefined(r[i])),super({readableHighWaterMark:t.chunkSize});const n=this[Ls]={timeWindow:t.timeWindow,chunkSize:t.chunkSize,maxRate:t.maxRate,minChunkSize:t.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",i=>{i==="progress"&&(n.isCaptured||(n.isCaptured=!0))})}_read(t){const n=this[Ls];return n.onReadCallback&&n.onReadCallback(),super._read(t)}_transform(t,n,i){const r=this[Ls],s=r.maxRate,o=this.readableHighWaterMark,l=r.timeWindow,c=1e3/l,d=s/c;let a=r.minChunkSize!==!1?Math.max(r.minChunkSize,d*.01):0;s&&(a=Math.min(d,a));const p=(f,v)=>{const m=Buffer.byteLength(f);r.bytesSeen+=m,r.bytes+=m,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(f)?process.nextTick(v):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(v)}},u=(f,v)=>{if(this.destroyed)return v();const m=Buffer.byteLength(f);let h=null,y=o,g,b=0;if(s){const S=Date.now();(!r.ts||(b=S-r.ts)>=l)&&(r.ts=S,g=d-r.bytes,r.bytes=g<0?-g:0,b=0),g=d-r.bytes}if(s){if(g<=0)return setTimeout(()=>{v(null,f)},l-b);g<y&&(y=Math.max(1,Math.floor(g)))}y&&m>y&&m-y>a&&(h=f.subarray(y),f=f.subarray(0,y)),p(f,h?()=>{process.nextTick(v,null,h)}:v)};u(t,function f(v,m){if(v)return i(v);m?u(m,f):i(null)})}}const{asyncIterator:nd}=Symbol,yh=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[nd]?yield*e[nd]():yield e},qw=xe.ALPHABET.ALPHA_DIGIT+"-_",On=typeof TextEncoder=="function"?new TextEncoder:new Tt.TextEncoder,Et=`\r
22
+ `,Dw=On.encode(Et),Fw=2;class Mw{constructor(t,n){const{escapeName:i}=this.constructor,r=T.isString(n);let s=`Content-Disposition: form-data; name="${i(t)}"${!r&&n.name?`; filename="${i(n.name)}"`:""}${Et}`;if(r)n=On.encode(String(n).replace(/\r?\n|\r\n?/g,Et));else{const o=String(n.type||"application/octet-stream").replace(/[\r\n]/g,"");s+=`Content-Type: ${o}${Et}`}this.headers=On.encode(s+Et),this.contentLength=r?n.byteLength:n.size,this.size=this.headers.byteLength+this.contentLength+Fw,this.name=t,this.value=n}async*encode(){yield this.headers;const{value:t}=this;T.isTypedArray(t)?yield t:yield*yh(t),yield Dw}static escapeName(t){return String(t).replace(/[\r\n"]/g,n=>({"\r":"%0D","\n":"%0A",'"':"%22"})[n])}}const Uw=(e,t,n)=>{const{tag:i="form-data-boundary",size:r=25,boundary:s=i+"-"+xe.generateString(r,qw)}=n||{};if(!T.isFormData(e))throw new TypeError("FormData instance required");if(s.length<1||s.length>70)throw new Error("boundary must be 1-70 characters long");const o=On.encode("--"+s+Et),l=On.encode("--"+s+"--"+Et);let c=l.byteLength;const d=Array.from(e.entries()).map(([p,u])=>{const f=new Mw(p,u);return c+=f.size,f});c+=o.byteLength*d.length,c=T.toFiniteNumber(c);const a={"Content-Type":`multipart/form-data; boundary=${s}`};return Number.isFinite(c)&&(a["Content-Length"]=c),t&&t(a),Oe.Readable.from((async function*(){for(const p of d)yield o,yield*p.encode();yield l})())};class zw extends Oe.Transform{__transform(t,n,i){this.push(t),i()}_transform(t,n,i){if(t.length!==0&&(this._transform=this.__transform,t[0]!==120)){const r=Buffer.alloc(2);r[0]=120,r[1]=156,this.push(r,n)}this.__transform(t,n,i)}}class Bw{constructor(){this.sessions=Object.create(null)}getSession(t,n){n=Object.assign(Object.create(null),{sessionTimeout:1e3},n);let i=this.sessions[t];if(i){let p=i.length;for(let u=0;u<p;u++){const[f,v]=i[u];if(!f.destroyed&&!f.closed&&Tt.isDeepStrictEqual(v,n))return f}}const r=fm.connect(t,n);let s,o;const l=()=>{if(s)return;s=!0,o&&(clearTimeout(o),o=null);let p=i,u=p.length,f=u;for(;f--;)if(p[f][0]===r){u===1?delete this.sessions[t]:p.splice(f,1),r.closed||r.close();return}},c=r.request,{sessionTimeout:d}=n;if(d!=null){let p=0;r.request=function(){const u=c.apply(this,arguments);return p++,o&&(clearTimeout(o),o=null),u.once("close",()=>{!--p&&!s&&(o=setTimeout(()=>{o=null,l()},d))}),u}}r.once("close",l),r.once("error",l),r.once("goaway",l);let a=[r,n];return i?i.push(a):i=this.sessions[t]=[a],r}}const Vw=(e,t)=>T.isAsyncFn(e)?function(...n){const i=n.pop();e.apply(this,n).then(r=>{try{t?i(null,...t(r)):i(null,r)}catch(s){i(s)}},i)}:e,Hw=new Set(["localhost","0.0.0.0"]),Wo=e=>{let t=e.length;for(;t&&e.charCodeAt(t-1)===46;)t--;return t===e.length?e:e.slice(0,t)},xh=e=>{const t=e.split(".");return t.length!==4||t[0]!=="127"?!1:t.every(n=>/^\d+$/.test(n)&&Number(n)>=0&&Number(n)<=255)},qs=e=>{if(/^0[xX][0-9a-fA-F]+$/.test(e)){const t=parseInt(e.slice(2),16);return Number.isFinite(t)?t:null}if(e.length>1&&/^0[0-7]+$/.test(e)){const t=parseInt(e,8);return Number.isFinite(t)?t:null}if(e.length>1&&/^0[0-9]+$/.test(e))return null;if(/^[0-9]+$/.test(e)){const t=parseInt(e,10);return Number.isFinite(t)?t:null}return null},bh=e=>{if(typeof e!="string"||!e||e.indexOf(":")!==-1)return e;let t=e;if(t.charAt(0)==="["&&t.charAt(t.length-1)==="]"&&(t=t.slice(1,-1)),t=Wo(t),!/^[0-9.xXa-fA-F]+$/.test(t))return e;const n=t.split(".");if(n.some(a=>a===""))return e;if(n.length===4){const a=n.map(qs);return a.some(p=>p===null||p<0||p>255)?e:a.join(".")}if(n.length>4||n.length===1)return e;const i=n.slice(0,-1),r=n[n.length-1],s=4-i.length,o=qs(r);if(o===null)return e;const l=(1<<8*s)-1;if(o<0||o>l)return e;const c=new Array(s).fill(0);for(let a=s-1,p=o;a>=0;a--,p>>=8)c[a]=p&255;const d=i.map(qs);return d.some(a=>a===null||a<0||a>255)?e:[...d,...c].join(".")},Ds=e=>/^0{1,4}$/.test(e),Kw=e=>{if(e==="::")return!0;const t=e.indexOf("::");if(t!==-1){if(t!==e.lastIndexOf("::"))return!1;const i=e.slice(0,t),r=e.slice(t+2),s=i?i.split(":"):[],o=r?r.split(":"):[];return s.length+o.length<8&&s.every(Ds)&&o.every(Ds)}const n=e.split(":");return n.length===8&&n.every(Ds)},Gw=e=>{if(e==="::1")return!0;const t=e.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(t)return xh(t[1]);const n=e.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(n){const r=parseInt(n[1],16);return r>=32512&&r<=32767}const i=e.split(":");if(i.length===8){for(let r=0;r<7;r++)if(!/^0+$/.test(i[r]))return!1;return/^0*1$/.test(i[7])}return!1},id=e=>e?Hw.has(e)||xh(e)||Kw(e)?!0:Gw(e):!1,Ww={http:80,https:443,ws:80,wss:443,ftp:21},Yw=e=>{let t=e,n=0;if(t.charAt(0)==="["){const s=t.indexOf("]");if(s!==-1){const o=t.slice(1,s),l=t.slice(s+1);return l.charAt(0)===":"&&/^\d+$/.test(l.slice(1))&&(n=Number.parseInt(l.slice(1),10)),[o,n]}}const i=t.indexOf(":"),r=t.lastIndexOf(":");return i!==-1&&i===r&&/^\d+$/.test(t.slice(r+1))&&(n=Number.parseInt(t.slice(r+1),10),t=t.slice(0,r)),[t,n]},Jw=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,Xw=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,wh=e=>{if(typeof e!="string"||e.indexOf(":")===-1)return e;const t=e.match(Jw);if(t)return t[1];const n=e.match(Xw);if(n){const i=parseInt(n[1],16),r=parseInt(n[2],16);return`${i>>8}.${i&255}.${r>>8}.${r&255}`}return e},Qw=/^(?:0|[1-9]\d{0,2})$/,Sh=e=>{const t=e.split(".");return t.length===4&&t.every(n=>Qw.test(n)&&Number(n)<=255)?t.map(Number):null},Zw=/^[0-9a-f]{1,4}$/i,e0=e=>{const t=e.split("::");if(t.length>2)return null;const n=t[0]?t[0].split(":"):[];if(t.length===2){const i=t[1]?t[1].split(":"):[],r=8-n.length-i.length;if(r<1)return null;n.push(...new Array(r).fill("0"),...i)}return n.length!==8||n.some(i=>!Zw.test(i))?null:n.flatMap(i=>{const r=Number.parseInt(i,16);return[r>>8&255,r&255]})},Eh=e=>typeof e!="string"||!e?null:e.indexOf(":")!==-1?e0(e):Sh(e),rd=e=>{if(!e)return e;e.charAt(0)==="["&&e.charAt(e.length-1)==="]"&&(e=e.slice(1,-1));let t=Wo(e);if(t.indexOf(":")!==-1)try{t=new URL("http://["+t+"]/").hostname.slice(1,-1)}catch{return t}else if(/[\u0080-\uffff]/.test(t)){const i=/^[*.]+/.exec(t),r=i?i[0]:"",s=Tn.domainToASCII(t.slice(r.length));if(!s)return"";t=r+Wo(s)}const n=bh(t);return n!==t?n:wh(t)},t0=e=>{let t=e;const n=t.charAt(0)==="[",i=t.charAt(t.length-1)==="]",r=t.includes("[")||t.includes("]");if(n||i){if(!n||!i||(t=t.slice(1,-1),t.indexOf(":")===-1||t.includes("[")||t.includes("]")))return null}else if(r)return null;if(!t||t.charAt(t.length-1)===".")return null;const s=t.indexOf(":")!==-1;if(s)try{t=new URL(`http://[${t}]/`).hostname.slice(1,-1)}catch{return null}else if(t=bh(t),!Sh(t))return null;return{normalized:wh(t),wasIPv6:s}},n0=/^(.+)\/(0|[1-9]\d{0,2})$/,i0=e=>{if(e.indexOf("/")===-1)return;const t=n0.exec(e);if(!t)return null;let n=Number(t[2]);const i=t0(t[1]);if(!i)return null;const{normalized:r,wasIPv6:s}=i;if(s&&r.indexOf(":")===-1){if(n<96)return null;n-=96}const o=Eh(r);return!o||n>o.length*8?null:{bytes:o,prefix:n}},r0=(e,t,n)=>{const i=n>>3;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;const r=n&7;if(r){const s=255<<8-r&255;if((e[i]&s)!==(t[i]&s))return!1}return!0};function a0(e){let t;try{t=new URL(e)}catch{return!1}const n=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!n)return!1;if(n==="*")return!0;const i=Number.parseInt(t.port,10)||Ww[t.protocol.split(":",1)[0]]||0,r=rd(t.hostname.toLowerCase()),s=Eh(r);return n.split(/[\s,]+/).some(o=>{if(!o)return!1;if(o==="*")return!0;const l=i0(o);if(l!==void 0)return l!==null&&!!s&&s.length===l.bytes.length&&r0(s,l.bytes,l.prefix);let[c,d]=Yw(o);return c=rd(c),!c||d&&d!==i?!1:(c.charAt(0)==="*"&&(c=c.slice(1)),c.charAt(0)==="."?r.endsWith(c):r===c||id(r)&&id(c))})}function s0(e,t){e=e||10;const n=new Array(e),i=new Array(e);let r=0,s=0,o;return t=t!==void 0?t:1e3,function(c){const d=Date.now(),a=i[s];o||(o=d),n[r]=c,i[r]=d;let p=s,u=0;for(;p!==r;)u+=n[p++],p=p%e;if(r=(r+1)%e,r===s&&(s=(s+1)%e),d-o<t)return;const f=a&&d-a;return f?Math.round(u*1e3/f):void 0}}function o0(e,t){let n=0,i=1e3/t,r,s;const o=(a,p=Date.now())=>{n=p,r=null,s&&(clearTimeout(s),s=null),e(...a)};return[(...a)=>{const p=Date.now(),u=p-n;u>=i?o(a,p):(r=a,s||(s=setTimeout(()=>{s=null,o(r)},i-u)))},()=>r&&o(r),(...a)=>o(a)]}const Jt=(e,t,n=3)=>{let i=0;const r=s0(50,250);return o0(s=>{if(!s||!T.isNumber(s.loaded))return;const o=s.loaded,l=s.lengthComputable?s.total:void 0,c=Math.max(0,l!=null?Math.min(o,l):o),d=Math.max(0,c-i),a=r(d);i=Math.max(i,c);const p={loaded:c,total:l,progress:l?c/l:void 0,bytes:d,rate:a||void 0,estimated:a&&l?(l-c)/a:void 0,event:s,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(p)},n)},Ii=(e,t)=>{const n=e!=null;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},Li=(e,t=T.asap)=>(...n)=>t(()=>e(...n)),ad=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,kc=(e,t,n)=>t+2<n&&ad(e.charCodeAt(t+1))&&ad(e.charCodeAt(t+2)),qi=e=>e<=57?e-48:(e&223)-55,c0=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,l0=e=>e===9||e===10||e===12||e===13||e===32,u0=e=>{const t=Math.floor(e/4),n=e%4;return t*3+(n===2?1:n===3?2:0)},_h=e=>{const t=e.length;let n=0;return t>0&&e.charCodeAt(t-1)===61&&(n++,t>1&&e.charCodeAt(t-2)===61&&n++),Math.floor((t-n)*3/4)},p0=e=>{if(e.indexOf("%")===-1)return _h(e);let t=0,n=0,i=0;for(let s=0,o=e.length;s<o;s++){let l=e.charCodeAt(s);l===37&&kc(e,s,o)&&(l=qi(e.charCodeAt(s+1))*16+qi(e.charCodeAt(s+2)),s+=2),t++,n=i,i=l}return Math.floor((t-(i===61?n===61?2:1:0))*3/4)},d0=e=>{const t=e.length;let n=0,i=0,r=!1;for(let s=0;s<t;s++){let o=e.charCodeAt(s);if(o===37&&kc(e,s,t)&&(o=qi(e.charCodeAt(s+1))*16+qi(e.charCodeAt(s+2)),s+=2),!l0(o)){if(o===61){i++;continue}if(!c0(o)||i>0){r=!0;continue}n++}}return r||i>2||i>0&&(n+i)%4!==0||n%4===1?_h(e):u0(n)},Rh=(e,t,n)=>{if(!e||typeof e!="string"||!/^data:/i.test(e))return 0;const i=e.indexOf(",");if(i<0)return 0;const r=e.slice(5,i),s=e.slice(i+1);if(n.test(r))return t(s);let l=0;for(let c=0,d=s.length;c<d;c++){const a=s.charCodeAt(c);if(a===37&&kc(s,c,d))l+=1,c+=2;else if(a<128)l+=1;else if(a<2048)l+=2;else if(a>=55296&&a<=56319&&c+1<d){const p=s.charCodeAt(c+1);p>=56320&&p<=57343?(l+=4,c++):l+=3}else l+=3}return l};function f0(e){const t=typeof e=="string"?e.indexOf("#"):-1;return Rh(t===-1?e:e.slice(0,t),d0,/; *base64[\t\n\f\r ]*$/i)}function m0(e){return Rh(e,p0,/;base64$/i)}const sd={flush:Ve.constants.Z_SYNC_FLUSH,finishFlush:Ve.constants.Z_SYNC_FLUSH},h0={flush:Ve.constants.BROTLI_OPERATION_FLUSH,finishFlush:Ve.constants.BROTLI_OPERATION_FLUSH},v0={flush:Ve.constants.ZSTD_e_flush,finishFlush:Ve.constants.ZSTD_e_flush},kh=T.isFunction(Ve.createBrotliDecompress),Ah=T.isFunction(Ve.createZstdDecompress),$h="gzip, compress, deflate"+(kh?", br":""),g0=$h+(Ah?", zstd":""),od=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):T.asap,{http:y0,https:x0}=Cw,or=/https:?/,cd=Symbol("axios.http.socketListener"),Ri=Symbol("axios.http.currentReq");function b0(e){const t=this[Ri];t&&!t.destroyed&&t.destroy(e)}const Yo=Symbol("axios.http.installedTunnel"),w0=new Map,ld=new WeakMap,ud=new WeakMap,S0=["createConnection","getName"],E0=["addRequest","createSocket","removeSocket","keepSocketAlive","reuseSocket","_getSession","_cacheSession","_evictSession"],pd={22:21,24:5};function _0(e=process.versions&&process.versions.node){if(!e)return!1;const[t,n]=e.split(".").map(i=>Number(i));return!Number.isInteger(t)||!Number.isInteger(n)?!1:t>24?!0:pd[t]!=null&&n>=pd[t]}function dd(e,t=process.versions&&process.versions.node){if(!_0(t))return!1;const n=e&&e.options;return!!(n&&T.hasOwnProp(n,"proxyEnv")&&n.proxyEnv!=null)}function R0(e,t,n){return or.test(e.protocol)?n||Xt.globalAgent:t||Pn.globalAgent}function k0(e,t){if(!process.allowedNodeEnvironmentFlags||!process.allowedNodeEnvironmentFlags.has("--use-env-proxy"))return e;const n=e||t.globalAgent,i=n&&n.options;if(!(n instanceof t.Agent)||n.protocol!==t.globalAgent.protocol||!i||!T.hasOwnProp(i,"proxyEnv")||typeof i.proxyEnv!="object"||i.proxyEnv===null)return e;for(const s of E0)if(T.isFunction(t.Agent.prototype[s])&&n[s]!==t.Agent.prototype[s])throw new B("proxy: false cannot adapt an agent overriding "+s+"; use an agent constructed without proxyEnv",B.ERR_BAD_OPTION_VALUE);let r=ud.get(n);if(!r){r=new t.Agent({...i,proxyEnv:void 0});const s=n.destroy;n.destroy=function(){try{return s.apply(this,arguments)}finally{r.destroy()}},ud.set(n,r)}for(const s of S0)r[s]=n[s]===t.Agent.prototype[s]?t.Agent.prototype[s]:hc(n[s],n);return r}function fd(e,t,n){const i=or.test(e.protocol),r=k0(i?n:t,i?Xt:Pn);e.agent=r,e.agents&&(e.agents[i?"https":"http"]=r)}function A0(e,t){const n=e.protocol+"//"+e.hostname+":"+(e.port||"")+"#"+(e.auth||""),i=t?ld.get(t)||ld.set(t,new Map).get(t):w0;let r=i.get(n);if(r)return r;const s=t&&t.options?{...t.options,...e}:e;r=new vh(s);const o=r.callback;return r.callback=function(c,d){const a=t||Xt.globalAgent,p=a&&a.options;return o.call(this,c,{...p,...d})},r[Yo]=!0,i.set(n,r),r}const md=xe.protocols.map(e=>e+":"),hd=e=>{if(!T.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},vd=(e,[t,n])=>(e.on("end",n).on("error",n),t),$0=new Bw;function O0(e,t,n){Ph(e,n)||(Oh(e.headers,new Set(["authorization","cookie"])),delete e.auth),e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.auth&&e.beforeRedirects.auth(e),e.beforeRedirects.sensitiveHeaders&&e.beforeRedirects.sensitiveHeaders(e,n),e.beforeRedirects.direct&&e.beforeRedirects.direct(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t,n)}function Oh(e,t){e&&Object.keys(e).forEach(n=>{t.has(n.toLowerCase())&&delete e[n]})}function Ph(e,t){if(!t)return!1;try{return new URL(t.url).origin===new URL(e.href).origin}catch{return!1}}function Th(e,t,n,i,r,s,o=!0){let l=t;const c=R0(e,s,r);if(!l&&l!==!1&&o&&!dd(c)){const d=fw(n);d&&(a0(n)||(l=new URL(d)))}if(i&&e.headers)for(const d of Object.keys(e.headers))d.toLowerCase()==="proxy-authorization"&&delete e.headers[d];if(i&&e.agent&&e.agent[Yo]&&(e.agent=void 0),i&&e.agents&&e.agents.https&&e.agents.https[Yo]&&(e.agents.https=r),l){const d=l instanceof URL,a=m=>d||T.hasOwnProp(l,m)?l[m]:void 0,p=a("username"),u=a("password");let f=T.hasOwnProp(l,"auth")?l.auth:void 0;if(p&&(f=(p||"")+":"+(u||"")),f){const m=typeof f=="object",h=m&&T.hasOwnProp(f,"username")?f.username:void 0,y=m&&T.hasOwnProp(f,"password")?f.password:void 0;if(!!(h||y))f=(h||"")+":"+(y||"");else if(m)throw new B("Invalid proxy authorization",B.ERR_BAD_OPTION,{proxy:l})}if(or.test(e.protocol)){if(!(r instanceof vh)){const m=a("hostname")||a("host"),h=a("port"),y=a("protocol"),g=y?y.includes(":")?y:`${y}:`:"http:",b=m&&m.includes(":")&&!m.startsWith("[")?`[${m}]`:m,S=new URL(`${g}//${b}${h?":"+h:""}`),x={protocol:S.protocol,hostname:S.hostname.replace(/^\[|\]$/g,""),port:S.port,auth:f&&typeof f=="string"?f:void 0};S.protocol==="https:"&&(x.ALPNProtocols=["http/1.1"]);const k=A0(x,r);e.agent=k,e.agents&&(e.agents.https=k)}}else{if(f){const g=Buffer.from(f,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+g}let m=!1;for(const g of Object.keys(e.headers))if(g.toLowerCase()==="host"){m=!0;break}m||(e.headers.host=e.hostname+(e.port?":"+e.port:""));const h=a("hostname")||a("host");e.hostname=h,e.host=h,e.port=a("port"),e.path=n;const y=a("protocol");y&&(e.protocol=y.includes(":")?y:`${y}:`)}}return e.beforeRedirects.proxy=function(a){Th(a,t,a.href,!0,r,s,o)},!!(l||t!==!1&&o&&dd(c))}const P0=typeof process<"u"&&T.kindOf(process)==="process",T0=e=>new Promise((t,n)=>{let i,r;const s=(c,d)=>{r||(r=!0,i&&i(c,d))},o=c=>{s(c),t(c)},l=c=>{s(c,!0),n(c)};e(o,l,c=>i=c).catch(l)}),N0=({address:e,family:t})=>{if(!T.isString(e))throw new B("address must be a string",B.ERR_BAD_OPTION_VALUE);return{address:e,family:t||(e.indexOf(".")<0?6:4)}},gd=(e,t)=>N0(T.isObject(e)?e:{address:e,family:t}),yd=new WeakMap,C0=e=>{let t=yd.get(e);if(t)return t;const n=Vw(e,i=>T.isArray(i)?i:[i]);return t=(i,r,s)=>{n(i,r,(o,l,c)=>{if(o)return s(o);let d;try{d=T.isArray(l)?l.map(a=>gd(a)):[gd(l,c)]}catch(a){return s(a)}r.all?s(o,d):s(o,d[0].address,d[0].family)})},yd.set(e,t),t},j0={request(e,t){const n=e.protocol+"//"+e.hostname+":"+(e.port||(e.protocol==="https:"?443:80)),{http2Options:i,headers:r}=e,s=$0.getSession(n,i),{HTTP2_HEADER_SCHEME:o,HTTP2_HEADER_METHOD:l,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:d}=fm.constants,a={[o]:e.protocol.replace(":",""),[l]:e.method,[c]:e.path};T.forEach(r,(u,f)=>{f.charAt(0)!==":"&&(a[f]=u)});const p=s.request(a);return p.once("response",u=>{const f=p;u=Object.assign({},u);const v=u[d];delete u[d],f.headers=u,f.statusCode=+v,t(f)}),p}},I0=P0&&function(t){return T0(async function(i,r,s){const o=J=>T.getSafeProp(t,J),l=o("transitional")||ar;let c=o("data"),d=o("lookup"),a=o("family"),p=o("httpVersion");p===void 0&&(p=1);const u=p;let f=o("http2Options");const v=o("proxy"),m=o("httpAgent"),h=o("httpsAgent"),y=o("responseType"),g=o("responseEncoding"),b=o("socketPath"),S=o("method").toUpperCase(),x=o("maxRedirects"),k=o("maxBodyLength"),O=o("maxContentLength"),N=o("decompress");let C,D=!1,j,M;try{p=+p}catch{throw new B("Invalid protocol version: value is not a number",B.ERR_BAD_OPTION_VALUE,t)}if(Number.isNaN(p))throw new B(`Invalid protocol version: '${u}' is not a number`,B.ERR_BAD_OPTION_VALUE,t);if(p!==1&&p!==2)throw new B(`Unsupported protocol version '${p}'`,B.ERR_BAD_OPTION_VALUE,t);const H=p===2;d&&(d=C0(d));const V=new dm.EventEmitter;function Q(J){try{V.emit("abort",!J||J.type?new $t(null,t,j):J)}catch{}}function ie(){M&&(clearTimeout(M),M=null)}function U(){const J=o("timeout");let ee=J?"timeout of "+J+"ms exceeded":"timeout exceeded";const se=o("timeoutErrorMessage");return se&&(ee=se),new B(ee,l.clarifyTimeoutError?B.ETIMEDOUT:B.ECONNABORTED,t,j)}V.once("abort",r);const z=()=>{ie(),t.cancelToken&&t.cancelToken.unsubscribe(Q),t.signal&&t.signal.removeEventListener("abort",Q),V.removeAllListeners()};(t.cancelToken||t.signal)&&(t.cancelToken&&t.cancelToken.subscribe(Q),t.signal&&(t.signal.aborted?Q():t.signal.addEventListener("abort",Q))),s((J,ee)=>{if(C=!0,ie(),ee){D=!0,z();return}const{data:se}=J;if(se instanceof Oe.Readable||se instanceof Oe.Duplex){const me=Oe.finished(se,()=>{me(),z()})}else z()});const E=Rc(o("baseURL"),o("url"),o("allowAbsoluteUrls"),t),_=b?"http://localhost":xe.hasBrowserEnv?xe.origin:void 0,w=new URL(E,_),A=w.protocol||md[0];if(A==="data:"){if(O>-1){const ee=String(o("url")||E||"");if(m0(ee)>O)return r(new B("maxContentLength size of "+O+" exceeded",B.ERR_BAD_RESPONSE,t))}let J;if(S!=="GET")return Yt(i,r,{status:405,statusText:"method not allowed",headers:{},config:t});try{J=Iw(o("url"),y==="blob",{Blob:t.env&&t.env.Blob})}catch(ee){throw B.from(ee,B.ERR_BAD_REQUEST,t)}return O>-1&&(y==="blob"?J.size:J.length)>O?r(new B("maxContentLength size of "+O+" exceeded",B.ERR_BAD_RESPONSE,t)):(y==="text"?(J=J.toString(g),(!g||g==="utf8")&&(J=T.stripBOM(J))):y==="stream"&&(J=Oe.Readable.from(J)),Yt(i,r,{data:J,status:200,statusText:"OK",headers:new _e,config:t}))}if(md.indexOf(A)===-1)return r(new B("Unsupported protocol "+A,B.ERR_BAD_REQUEST,t));const $=_e.from(t.headers).normalize();$.set("User-Agent","axios/"+$n,!1);const{onUploadProgress:R,onDownloadProgress:P}=t,L=t.maxRate;let W,K;if(T.isSpecCompliantForm(c)){const J=$.getContentType(/boundary=([-_\w\d]{10,70})/i);c=Uw(c,ee=>{$.set(ee)},{tag:`axios-${$n}-boundary`,boundary:J&&J[1]||void 0})}else if(T.isFormData(c)&&T.isFunction(c.getHeaders)&&c.getHeaders!==Object.prototype.getHeaders){if(gh($,c.getHeaders(),o("formDataHeaderPolicy")),!$.hasContentLength())try{const J=await Tt.promisify(c.getLength).call(c);Number.isFinite(J)&&J>=0&&$.setContentLength(J)}catch{}}else if(T.isBlob(c)||T.isFile(c))c.size&&$.setContentType(c.type||"application/octet-stream"),$.setContentLength(c.size||0),c=Oe.Readable.from(yh(c));else if(c&&!T.isStream(c)){if(!Buffer.isBuffer(c))if(T.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else if(T.isString(c))c=Buffer.from(c,"utf-8");else return r(new B("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",B.ERR_BAD_REQUEST,t));if($.setContentLength(c.length,!1),k>-1&&c.length>k)return r(new B("Request body larger than maxBodyLength limit",B.ERR_BAD_REQUEST,t))}const X=T.toFiniteNumber($.getContentLength());T.isArray(L)?(W=L[0],K=L[1]):W=K=L,c&&(R||W)&&(T.isStream(c)||(c=Oe.Readable.from(c,{objectMode:!1})),c=Oe.pipeline([c,new td({maxRate:T.toFiniteNumber(W)})],T.noop),R&&c.on("progress",vd(c,Ii(X,Jt(Li(R,od),!1,3)))));let Y;const I=o("auth");if(I){const J=T.getSafeProp(I,"username")||"",ee=T.getSafeProp(I,"password")||"";Y=J+":"+ee}if(!Y&&(w.username||w.password)){const J=hd(w.username),ee=hd(w.password);Y=J+":"+ee}Y&&$.delete("authorization");let q;try{q=Ec(w.pathname+w.search,o("params"),o("paramsSerializer")).replace(/^\?/,"")}catch(J){return r(B.from(J,B.ERR_BAD_REQUEST,t,null,null,{url:o("url"),exists:!0}))}$.set("Accept-Encoding",T.hasOwnProp(l,"advertiseZstdAcceptEncoding")&&l.advertiseZstdAcceptEncoding===!0?g0:$h,!1),H&&d&&(f=Object.assign(Object.create(null),f,{lookup:d}));const F=Object.assign(Object.create(null),{path:q,method:S,headers:xc($),agents:{http:m,https:h},auth:Y,protocol:A,family:a,beforeRedirect:O0,beforeRedirects:Object.create(null),http2Options:f,createConnection:void 0});!T.isUndefined(d)&&(F.lookup=d);let G=!1;if(b){if(typeof b!="string")return r(new B("socketPath must be a string",B.ERR_BAD_OPTION_VALUE,t));const J=o("allowedSocketPaths");if(J!=null){const ee=Array.isArray(J)?J:[J],se=Pi.resolve(b);if(!ee.some(ce=>typeof ce=="string"&&Pi.resolve(ce)===se))return r(new B(`socketPath "${b}" is not permitted by allowedSocketPaths`,B.ERR_BAD_OPTION_VALUE,t))}F.socketPath=b}else F.hostname=w.hostname.startsWith("[")?w.hostname.slice(1,-1):w.hostname,F.port=w.port,G=Th(F,v,A+"//"+w.hostname+(w.port?":"+w.port:"")+F.path,!1,h,m,!H);let Z,re=!1;const le=or.test(F.protocol);if(!H&&v===!1?(fd(F,m,h),F.beforeRedirects.direct=J=>{fd(J,m,h)}):F.agent==null&&(F.agent=le?h:m),H){if(G)return r(new B("HTTP/2 requests with a proxy are not supported",B.ERR_NOT_SUPPORT,t));Z=j0}else{const J=o("transport");if(J)Z=J;else if(x===0)Z=le?Xt:Pn,re=!0;else{F.sensitiveHeaders=[],x&&(F.maxRedirects=x);const ee=o("beforeRedirect");if(ee&&(F.beforeRedirects.config=ee),Y){const me=w.origin,ce=Y;F.beforeRedirects.auth=function(pe){try{new URL(pe.href).origin===me&&(pe.auth=ce)}catch{}}}const se=o("sensitiveHeaders");if(se!=null){if(!T.isArray(se))return r(new B("sensitiveHeaders must be an array of strings",B.ERR_BAD_OPTION_VALUE,t));const me=new Set;for(const ce of se){if(!T.isString(ce))return r(new B("sensitiveHeaders must be an array of strings",B.ERR_BAD_OPTION_VALUE,t));me.add(ce.toLowerCase())}me.size&&(F.sensitiveHeaders=Array.from(me),F.beforeRedirects.sensitiveHeaders=function(ae,pe){Ph(ae,pe)||Oh(ae.headers,me)})}Z=le?x0:y0}}k>-1?F.maxBodyLength=k:F.maxBodyLength=1/0,F.insecureHTTPParser=!!o("insecureHTTPParser"),j=Z.request(F,function(ee){if(ie(),j.destroyed)return;const se=[ee],me=T.toFiniteNumber(ee.headers["content-length"]);if(P||K){const ve=new td({maxRate:T.toFiniteNumber(K)});P&&ve.on("progress",vd(ve,Ii(me,Jt(Li(P,od),!0,3)))),se.push(ve)}let ce=ee;const ae=ee.req||j;if(N!==!1&&ee.headers["content-encoding"])switch((S==="HEAD"||ee.statusCode===204)&&delete ee.headers["content-encoding"],(ee.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":se.push(Ve.createUnzip(sd)),delete ee.headers["content-encoding"];break;case"deflate":se.push(new zw),se.push(Ve.createUnzip(sd)),delete ee.headers["content-encoding"];break;case"br":kh&&(se.push(Ve.createBrotliDecompress(h0)),delete ee.headers["content-encoding"]);break;case"zstd":Ah&&(se.push(Ve.createZstdDecompress(v0)),delete ee.headers["content-encoding"]);break}ce=se.length>1?Oe.pipeline(se,T.noop):se[0];const pe={status:ee.statusCode,statusText:ee.statusMessage,headers:new _e(ee.headers),config:t,request:ae};if(y==="stream"){if(O>-1){const ve=O,Ne=ce;async function*Ke(){let Ee=0;for await(const Qe of Ne){if(Ee+=Qe.length,Ee>ve)throw new B("maxContentLength size of "+ve+" exceeded",B.ERR_BAD_RESPONSE,t,ae);yield Qe}}ce=Oe.Readable.from(Ke(),{objectMode:!1})}pe.data=ce,Yt(i,r,pe)}else{const ve=[];let Ne=0;ce.on("data",function(Ee){ve.push(Ee),Ne+=Ee.length,O>-1&&Ne>O&&(D=!0,ce.destroy(),Q(new B("maxContentLength size of "+O+" exceeded",B.ERR_BAD_RESPONSE,t,ae)))}),ce.on("aborted",function(){if(D)return;const Ee=new B("stream has been aborted",B.ERR_BAD_RESPONSE,t,ae,pe);ce.destroy(Ee),r(Ee)}),ce.on("error",function(Ee){D||r(B.from(Ee,null,t,ae,pe))}),ce.on("end",function(){try{let Ee=ve.length===1?ve[0]:Buffer.concat(ve);y!=="arraybuffer"&&(Ee=Ee.toString(g),(!g||g==="utf8")&&(Ee=T.stripBOM(Ee))),pe.data=Ee}catch(Ee){return r(B.from(Ee,null,t,pe.request,pe))}Yt(i,r,pe)})}V.once("abort",ve=>{ce.destroyed||(ce.emit("error",ve),ce.destroy())})}),V.once("abort",J=>{j.close?j.close():j.destroy(J)}),j.on("error",function(ee){r(B.from(ee,null,t,j))});const de=new Set;if(j.on("socket",function(ee){typeof ee.setKeepAlive=="function"&&ee.setKeepAlive(!0,1e3*60),ee[cd]||(ee.on("error",b0),ee[cd]=!0),ee[Ri]=j,de.add(ee)}),j.once("close",function(){ie();for(const ee of de)ee[Ri]===j&&(ee[Ri]=null);de.clear()}),o("timeout")){const J=parseInt(o("timeout"),10);if(Number.isNaN(J)){Q(new B("error trying to parse `config.timeout` to int",B.ERR_BAD_OPTION_VALUE,t,j));return}const ee=function(){C||Q(U())};re&&J>0&&(M=setTimeout(ee,J)),j.setTimeout(J,ee)}else j.setTimeout(0);if(T.isStream(c)){let J=!1,ee=!1;c.on("end",()=>{J=!0}),c.once("error",me=>{ee=!0,j.destroy(me)}),c.on("close",()=>{!J&&!ee&&Q(new $t("Request stream has been aborted",t,j))});let se=c;if(k>-1){const me=k;let ce=0;se=Oe.pipeline([c,new Oe.Transform({transform(ae,pe,ve){if(ce+=ae.length,ce>me)return ve(new B("Request body larger than maxBodyLength limit",B.ERR_BAD_REQUEST,t,j));ve(null,ae)}})],T.noop),se.on("error",ae=>{j.destroyed||j.destroy(ae)})}se.pipe(j)}else c&&j.write(c),j.end()})},xd=e=>{try{return decodeURIComponent(e)}catch{return e}},Nh=xe.hasStandardBrowserEnv?{write(e,t,n,i,r,s,o){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];T.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),T.isString(i)&&l.push(`path=${i}`),T.isString(r)&&l.push(`domain=${r}`),s===!0&&l.push("secure"),T.isString(o)&&l.push(`SameSite=${o}`),document.cookie=l.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie;if(!t)return null;const n=t.split(";");for(let i=0;i<n.length;i++){const r=n[i].replace(/^\s+/,""),s=r.indexOf("=");if(s!==-1&&r.slice(0,s)===e)return xd(r.slice(s+1))}return null},async readAsync(e){try{const t=typeof window<"u"&&window.cookieStore;if(t&&T.isFunction(t.get)){const n=await t.get(e);return n?xd(n.value):null}}catch{}return this.read(e)},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},async readAsync(){return null},remove(){}},L0=xe.hasStandardBrowserEnv?(e=>t=>(t=new URL(t,document.baseURI||xe.origin),e.protocol===t.protocol&&e.host===t.host&&e.port===t.port))(new URL(xe.origin)):()=>!0;function q0(e){const t=[{value:e}],n=new WeakSet,i=new WeakSet;for(;t.length;){const{value:r,done:s}=t.pop();if(!T.isPlainObject(r)&&!T.isArray(r))continue;if(s){n.delete(r);continue}if(n.has(r))throw new B("Circular reference detected in params",B.ERR_BAD_OPTION_VALUE);if(i.has(r))continue;i.add(r),n.add(r),t.push({value:r,done:!0});const o=Object.keys(r);Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor&&Object.getOwnPropertySymbols(r).forEach(l=>{const c=Object.getOwnPropertyDescriptor(r,l);c&&c.enumerable&&o.push(l)}),o.forEach(l=>{if(l==="__proto__"||l==="constructor"||l==="prototype"){const c=Object.getOwnPropertyDescriptor(r,l);c&&T.hasOwnProp(c,"value")&&t.push({value:c.value})}else t.push({value:r[l]})})}}const bd=e=>e instanceof _e?{...e}:e,Jo=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(t=>{const n=Object.getOwnPropertyDescriptor(e,t);return n&&n.enumerable})):Object.keys(e);function D0(e,t){const n=[],i=new WeakMap,r={};function s(l,c){if(!T.isPlainObject(c))return T.isArray(c)?c.slice():c;const d=T.isPlainObject(l)?l:r;let a=i.get(c);if(a||(a=new WeakMap,i.set(c,a)),a.has(d))return a.get(d);const p={};return a.set(d,p),n.push({base:d,source:c,result:p}),p}const o=T.isUndefined(t)?s(void 0,e):s(e,t);for(;n.length;){const{base:l,source:c,result:d}=n.pop(),a=new Set(Jo(l)),p=new Set(Jo(c));new Set([...a,...p]).forEach(f=>{if(f==="__proto__"||f==="constructor"||f==="prototype")return;const v=p.has(f),m=v?c[f]:void 0,h=(!v||T.isPlainObject(m))&&a.has(f)?l[f]:void 0;d[f]=v?s(h,m):s(void 0,h)})}return q0(o),o}function gt(e,t,n,i){return T.isPlainObject(e)&&T.isPlainObject(t)?T.merge.call({caseless:i},e,t):T.isPlainObject(t)?T.merge({},t):T.isArray(t)?t.slice():t}function Ch(e,t,n,i){if(T.isUndefined(t)){if(!T.isUndefined(e))return gt(void 0,e,n,i)}else return gt(e,t,n,i)}function Fs(e,t){if(!T.isUndefined(t))return gt(void 0,t)}function be(e,t){if(T.isUndefined(t)){if(!T.isUndefined(e))return gt(void 0,e)}else return gt(void 0,t)}function F0(e,t,n){const i=T.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!T.isUndefined(i))if(T.isPlainObject(i)){if(T.hasOwnProp(i,n))return i[n]}else return;const r=T.hasOwnProp(e,"transitional")?e.transitional:void 0;if(T.isPlainObject(r)&&T.hasOwnProp(r,n))return r[n]}function Xo(e,t,n,i,r){if(T.hasOwnProp(r,n))return gt(e,t);if(T.hasOwnProp(i,n))return gt(void 0,e)}function M0(e,t,n){return Ch(bd(e),bd(t),n,!0)}const U0=Object.freeze({__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0}),wd={url:Fs,method:Fs,data:Fs,baseURL:be,transformRequest:be,transformResponse:be,params:D0,paramsSerializer:be,timeout:be,timeoutErrorMessage:be,withCredentials:be,withXSRFToken:be,adapter:be,responseType:be,xsrfCookieName:be,xsrfHeaderName:be,onUploadProgress:be,onDownloadProgress:be,decompress:be,maxContentLength:be,maxBodyLength:be,beforeRedirect:be,transport:be,httpAgent:be,httpsAgent:be,cancelToken:be,socketPath:be,allowedSocketPaths:be,responseEncoding:be,validateStatus:Xo,headers:M0};function Ot(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",U0);const i=Jo({...e,...t});for(let r=0,s=i.length;r<s;r++){const o=i[r];if(o==="__proto__"||o==="constructor"||o==="prototype")continue;const l=T.hasOwnProp(wd,o)?wd[o]:Ch,c=T.hasOwnProp(e,o)?e[o]:void 0,d=T.hasOwnProp(t,o)?t[o]:void 0,a=l===Xo?l(c,d,o,e,t):l(c,d,o);T.isUndefined(a)&&l!==Xo||(n[o]=a)}return T.hasOwnProp(t,"validateStatus")&&T.isUndefined(t.validateStatus)&&F0(e,t,"validateStatusUndefinedResolves")===!1&&(T.hasOwnProp(e,"validateStatus")?n.validateStatus=gt(void 0,e.validateStatus):delete n.validateStatus),n}const Sd=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),z0=e=>Nh.read(e);function jh(e,t=z0){const n=Ot({},e),i=f=>T.hasOwnProp(n,f)?n[f]:void 0,r=i("data");let s=i("withXSRFToken");const o=i("xsrfHeaderName"),l=i("xsrfCookieName");let c=i("headers");const d=i("auth"),a=i("baseURL"),p=i("allowAbsoluteUrls"),u=i("url");if(n.headers=c=_e.from(c),n.url=Ec(Rc(a,u,p,n),i("params"),i("paramsSerializer")),d){const f=T.getSafeProp(d,"username")||"",v=T.getSafeProp(d,"password")||"",m=i("transitional"),h=m&&T.hasOwnProp(m,"encodeBasicAuthUsername")&&m.encodeBasicAuthUsername===!0;try{c.set("Authorization","Basic "+btoa((h?Sd(f):f)+":"+(v?Sd(v):"")))}catch(y){throw B.from(y,B.ERR_BAD_OPTION_VALUE,e)}}if(T.isFormData(r)){const f=T.getSafeProp(r,"getHeaders");xe.hasStandardBrowserEnv||xe.hasStandardBrowserWebWorkerEnv||T.isReactNative(r)?c.setContentType(void 0):T.isFunction(f)&&gh(c,f.call(r),i("formDataHeaderPolicy"))}if(xe.hasStandardBrowserEnv&&(T.isFunction(s)&&(s=s(n)),s===!0||s==null&&L0(n.url))){const v=o&&l&&t(l);v&&c.set(o,v)}return n}const B0=typeof XMLHttpRequest<"u",V0=B0&&function(e){return new Promise(function(n,i){let r;try{const N=xe.hasStandardBrowserEnv&&typeof window<"u"&&window.cookieStore;r=N&&T.isFunction(N.get)}catch{}let s;const o=jh(e,r?N=>(s=N,null):void 0);let l=o.data;const c=_e.from(o.headers).normalize();let{responseType:d,onUploadProgress:a,onDownloadProgress:p}=o,u,f,v,m,h,y,g;function b(){clearTimeout(f);try{h&&h()}catch(N){setTimeout(()=>{throw N})}try{y&&y()}catch(N){setTimeout(()=>{throw N})}S&&(m&&S.removeEventListener("progress",m),S.upload&&(v&&S.upload.removeEventListener("progress",v),h&&S.upload.removeEventListener("loadend",h))),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let S=new XMLHttpRequest;S.open(o.method.toUpperCase(),o.url,!0),S.timeout=o.timeout;function x(N){if(!S)return;if(S.status===0&&(_i(mh(o.url))||_i(xe.origin))!=="file"&&!(S.responseURL&&S.responseURL.startsWith("file:"))){i(new B("Request aborted",B.ECONNABORTED,e,S)),b(),S=null;return}try{N?g&&g(N):y&&y()}catch(M){setTimeout(()=>{throw M})}if(!S)return;const C=_e.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),j={data:!d||d==="text"||d==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:C,config:e,request:S};Yt(function(H){n(H),b()},function(H){i(H),b()},j),S=null}if("onloadend"in S?S.onloadend=x:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.startsWith("file:"))||setTimeout(x)},S.onabort=function(){S&&(i(new B("Request aborted",B.ECONNABORTED,e,S)),b(),S=null)},S.onerror=function(C){const D=C&&C.message?C.message:"Network Error",j=new B(D,B.ERR_NETWORK,e,S);j.event=C||null,i(j),b(),S=null},S.ontimeout=function(){if(!S)return;let C=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const D=o.transitional||ar;o.timeoutErrorMessage&&(C=o.timeoutErrorMessage),i(new B(C,D.clarifyTimeoutError?B.ETIMEDOUT:B.ECONNABORTED,e,S)),b(),S=null},l===void 0&&c.setContentType(null),T.isUndefined(o.withCredentials)||(S.withCredentials=!!o.withCredentials),d&&d!=="json"&&(S.responseType=o.responseType),p&&([m,y,g]=Jt(p,!0),S.addEventListener("progress",m)),a&&S.upload&&([v,h]=Jt(a),S.upload.addEventListener("progress",v),S.upload.addEventListener("loadend",h)),o.cancelToken||o.signal){if(u=N=>{if(!S)return;i(!N||N.type?new $t(null,e,S):N);const C=S;b(),S=null,C.abort()},o.cancelToken&&o.cancelToken.subscribe(u),!S)return;o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u))}if(!S)return;const k=_i(o.url);if(k&&!xe.protocols.includes(k)){i(new B("Unsupported protocol "+k+":",B.ERR_BAD_REQUEST,e)),b();return}const O=()=>{S&&("setRequestHeader"in S&&T.forEach(xc(c),function(C,D){S.setRequestHeader(D,C)}),S.send(l||null))};if(s){const N=typeof performance<"u"&&T.isFunction(performance.now)?()=>performance.now():Date.now,C=S.timeout>0?N()+Number(S.timeout):void 0,D=()=>{if(!S)return;const j=S;j.ontimeout(),j.abort()};if(C!==void 0){const j=()=>{const M=C-N();M>0?f=setTimeout(j,Math.min(M,2147483647)):D()};j()}Nh.readAsync(s).then(j=>{if(S){if(C!==void 0&&N()>=C){D();return}if(j){const M=T.hasOwnProp(o,"xsrfHeaderName")&&o.xsrfHeaderName;c.set(M,j)}O()}}).catch(j=>{S&&(i(B.from(j,null,e,S)),b(),S=null)})}else O()})},H0=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let i=!1;const r=function(c){if(!i){i=!0,o();const d=c instanceof Error?c:this.reason;n.abort(d instanceof B?d:new $t(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,r(new B(`timeout of ${t}ms exceeded`,B.ETIMEDOUT))},t);const o=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{const d=T.getSafeProp(c,"unsubscribe");T.isFunction(d)?d.call(c,r):c.removeEventListener("abort",r)}),e=null)};e.forEach(c=>{if(!i){if(c.aborted){r.call(c);return}c.addEventListener("abort",r,{once:!0})}});const{signal:l}=n;return l.unsubscribe=()=>T.asap(o),l},K0=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let i=0,r;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},G0=async function*(e,t){for await(const n of W0(e))yield*K0(n,t)},W0=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:i}=await t.read();if(n)break;yield i}}finally{await t.cancel()}},Ed=(e,t,n,i)=>{const r=G0(e,t);let s=0,o,l=c=>{o||(o=!0,i&&i(c))};return new ReadableStream({async pull(c){try{const{done:d,value:a}=await r.next();if(d){l(),c.close();return}let p=a.byteLength;if(n){let u=s+=p;n(u)}c.enqueue(new Uint8Array(a))}catch(d){throw l(d),d}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},mt=`\r
23
+ `,_d=e=>String(e).replace(/\r\n|\r|\n/g,mt),Rd=e=>String(e).replace(/[\r\n"]/g,t=>t==="\r"?"%0D":t===`
24
+ `?"%0A":"%22"),vn=(e,t)=>{let n=0;for(let i=0;i<e.length;i++){const r=e.charCodeAt(i);t&&(r===13||r===10)?(r===13&&e.charCodeAt(i+1)===10&&i++,n+=2):r<128?n++:r<2048?n+=2:r>=55296&&r<=56319&&e.charCodeAt(i+1)>=56320&&e.charCodeAt(i+1)<=57343?(n+=4,i++):n+=3}return n};class ki extends TypeError{constructor(t,n){super(t),this.name="FormDataError",this.reason=n}}function Y0(e,t,n,i,r){if(!T.isFunction(t))throw new ki("Blob is not supported","blob");if(!T.isString(r)||!/^[A-Za-z0-9'()+_,./:=? -]{1,70}$/.test(r)||/ $/.test(r))throw new ki("Invalid multipart boundary","boundary");const s="--"+r+"--"+mt;let o=s.length;const l=[],c=a=>{if(o+a>n)throw i()};c(0);for(const[a,p]of e){const u=T.isString(p),f=u?vn(p,!0):p.size;if(!Number.isFinite(f)||f<0)throw new ki("Unsupported FormData part size","part");c(f+vn(a,!0)+(!u&&p.name?vn(p.name,!1):0)+(!u&&p.type?vn(p.type,!1):0));let v="--"+r+mt+'Content-Disposition: form-data; name="'+Rd(_d(a))+'"';u||(v+='; filename="'+Rd(T.isString(p.name)?p.name:"blob")+'"'+mt+"Content-Type: "+String(p.type||"application/octet-stream").replace(/[\r\n]/g,"")),v+=mt+mt;const m=vn(v,!1)+f+mt.length;c(m),o+=m,l.push({header:v,value:p,isString:u})}const d=[];for(const a of l)d.push(a.header,a.isString?_d(a.value):a.value,mt);return d.push(s),new t(d,{type:"multipart/form-data; boundary="+r})}function J0(e,t,n,i,r){if(!T.isFunction(t))throw new B("Blob is not supported",B.ERR_NOT_SUPPORT);if(r===void 0)if(T.isFunction(xe.generateString))r="axios-"+xe.generateString(36,"0123456789abcdef");else{const s=T.global.crypto;if(!s||!T.isFunction(s.getRandomValues))throw new B("Random byte generation is not supported",B.ERR_NOT_SUPPORT);const o=new Uint8Array(18);s.getRandomValues(o),r="axios-"+Array.from(o,l=>("0"+l.toString(16)).slice(-2)).join("")}try{return Y0(e,t,n,i,r)}catch(s){if(s instanceof ki){const o=s.reason==="boundary"?B.ERR_BAD_OPTION_VALUE:B.ERR_BAD_REQUEST;throw new B(s.message,o)}throw s}}const kd=64*1024,Ad={cache:"default",redirect:"follow",referrer:"about:client",referrerPolicy:"",mode:"cors",integrity:"",keepalive:!1,priority:"auto",window:null},{isFunction:si}=T,X0=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),$d=e=>{if(!T.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},oi=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Q0=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},Z0=e=>{const t=T.global!==void 0&&T.global!==null?T.global:globalThis,{ReadableStream:n,TextEncoder:i}=t;e=T.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response,Blob:t.Blob},e);const r=T.hasOwnProp(e,"fetch")?e.fetch:void 0,{Request:s,Response:o,Blob:l}=e,c=r?si(r):typeof fetch=="function",d=si(s),a=si(o);if(!c)return!1;const p=c&&si(n),u=c&&(typeof i=="function"?(b=>S=>b.encode(S))(new i):async b=>new Uint8Array(await new s(b).arrayBuffer())),f=d&&p&&oi(()=>{let b=!1;const S=new s(xe.origin,{body:new n,method:"POST",get duplex(){return b=!0,"half"}}),x=S.headers.has("Content-Type");return S.body!=null&&S.body.cancel(),b&&!x}),v=a&&p&&oi(()=>T.isReadableStream(new o("").body)),m=Object.assign(Object.create(null),Ad);d&&!oi(()=>new s(xe.origin,m))&&(delete m.cache,oi(()=>new s(xe.origin,m))||(m.cache=Ad.cache));const h={stream:v&&(b=>b.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!h[b]&&(h[b]=(S,x)=>{let k=S&&S[b];if(k)return k.call(S);throw new B(`Response type '${b}' is not supported`,B.ERR_NOT_SUPPORT,x)})});const y=async b=>{if(b==null)return 0;if(T.isBlob(b))return b.size;if(T.isArrayBufferView(b)||T.isArrayBuffer(b))return b.byteLength;if(T.isURLSearchParams(b)&&(b=b+""),T.isString(b))return(await u(b)).byteLength},g=async(b,S)=>{const x=T.toFiniteNumber(b.getContentLength());return x??y(S)};return async b=>{let{url:S,method:x,data:k,signal:O,cancelToken:N,timeout:C,onDownloadProgress:D,onUploadProgress:j,responseType:M,headers:H,withCredentials:V="same-origin",fetchOptions:Q,maxContentLength:ie,maxBodyLength:U,maxRedirects:z}=jh(b);const E=T.isNumber(ie)&&ie>-1,_=T.isNumber(U)&&U>-1,w=Y=>T.hasOwnProp(b,Y)?b[Y]:void 0;let A=r||fetch;M=M?(M+"").toLowerCase():"text";let $=H0([O,N&&N.toAbortSignal()],C),R=null;const P=$&&$.unsubscribe&&(()=>{$.unsubscribe()});let L,W=null,K=null;const X=()=>new B("Request body larger than maxBodyLength limit",B.ERR_BAD_REQUEST,b,R);try{let Y;const I=w("auth");if(I){const ae=T.getSafeProp(I,"username")||"",pe=T.getSafeProp(I,"password")||"";Y={username:ae,password:pe}}let q;if(Q0(S)){if(q=new URL(S,xe.origin),!Y&&(q.username||q.password)){const ae=$d(q.username),pe=$d(q.password);Y={username:ae,password:pe}}(q.username||q.password)&&(q.username="",q.password="",S=q.href)}if(Y&&(H.delete("authorization"),H.set("Authorization","Basic "+btoa(X0((Y.username||"")+":"+(Y.password||""))))),E&&q&&q.protocol==="data:"&&f0(q.href)>ie)throw new B("maxContentLength size of "+ie+" exceeded",B.ERR_BAD_RESPONSE,b,R);const F=T.isSpecCompliantForm(k)&&_e.from(w("headers")).getContentType();let G;if(T.isString(F)&&/^multipart\/form-data(?:\s*;|$)/i.test(F.trim())){const ae=_e.parseParameters(F);T.hasOwnProp(ae,"boundary")&&(G=ae.boundary)}if(T.isSpecCompliantForm(k)&&x!=="get"&&x!=="head"&&(_||j&&f||G!==void 0)&&(k=J0(k,l,_?U:1/0,X,G),H.setContentType(G===void 0?k.type:F),L=k.size),_&&x!=="get"&&x!=="head"){const ae=await y(k);if(typeof ae=="number"&&isFinite(ae)&&(L=ae,ae>U))throw X()}const Z=_&&(T.isReadableStream(k)||T.isStream(k)),re=(ae,pe,ve)=>Ed(ae,kd,Ne=>{if(_&&Ne>U)throw W=X();pe&&pe(Ne)},ve);if(f&&x!=="get"&&x!=="head"&&(j||Z)){if(L=L??await g(H,k),L!==0||Z){let ae=new s(S,{method:"POST",body:k,duplex:"half"}),pe;if(T.isFormData(k)&&(pe=ae.headers.get("content-type"))&&H.setContentType(pe),ae.body){const[ve,Ne]=j&&Ii(L,Jt(Li(j)))||[];k=re(ae.body,ve,Ne)}}}else if(Z&&!d&&p&&x!=="get"&&x!=="head")k=re(k);else if(Z&&d&&!f&&x!=="get"&&x!=="head")throw new B("Stream request bodies are not supported by the current fetch implementation",B.ERR_NOT_SUPPORT,b,R);T.isString(V)||(V=V?"include":"omit");const le=d&&"credentials"in s.prototype;if(T.isFormData(k)){const ae=H.getContentType();ae&&/^multipart\/form-data/i.test(ae)&&!/boundary=/i.test(ae)&&H.delete("content-type")}H.set("User-Agent","axios/"+$n,!1);const de=Q==null?Q:Object.assign(Object.create(null),Q);de&&(delete de.body,delete de.headers,delete de.method,delete de.signal,delete de.duplex,delete de.credentials);const J=Object.assign(Object.create(null),de,{signal:$,method:x.toUpperCase(),headers:xc(H.normalize()),body:k,duplex:"half",credentials:le?V:void 0});d&&(T.forEach(m,(ae,pe)=>{J[pe]===void 0&&(J[pe]=ae)}),J.signal===void 0&&(J.signal=null),J.body===void 0&&(J.body=null)),z===0&&(J.redirect="manual",de&&(de.redirect="manual")),R=d&&new s(S,J);let ee=await(d?A(R,de):A(S,J));const se=_e.from(ee.headers);if(E){const ae=T.toFiniteNumber(se.getContentLength());if(ae!=null&&ae>ie)throw new B("maxContentLength size of "+ie+" exceeded",B.ERR_BAD_RESPONSE,b,R)}const me=v&&(M==="stream"||M==="response");if(v&&ee.body&&(D||E||me&&P)){const ae={};["status","statusText","headers"].forEach(Qe=>{ae[Qe]=ee[Qe]});const pe=T.toFiniteNumber(se.getContentLength()),[ve,Ne]=D&&Ii(pe,Jt(Li(D),!0))||[];let Ke=0;const Ee=Qe=>{if(E&&(Ke=Qe,Ke>ie))throw K=new B("maxContentLength size of "+ie+" exceeded",B.ERR_BAD_RESPONSE,b,R);ve&&ve(Qe)};ee=new o(Ed(ee.body,kd,Ee,()=>{Ne&&Ne(),P&&P()}),ae)}M=M||"text";let ce=await h[T.findKey(h,M)||"text"](ee,b);if(E&&!v&&!me){let ae;if(ce!=null&&(typeof ce.byteLength=="number"?ae=ce.byteLength:typeof ce.size=="number"?ae=ce.size:typeof ce=="string"&&(ae=typeof i=="function"?new i().encode(ce).byteLength:ce.length)),typeof ae=="number"&&ae>ie)throw new B("maxContentLength size of "+ie+" exceeded",B.ERR_BAD_RESPONSE,b,R)}return!me&&P&&P(),await new Promise((ae,pe)=>{Yt(ae,pe,{data:ce,headers:_e.from(ee.headers),status:ee.status,statusText:ee.statusText,config:b,request:R})})}catch(Y){if(P&&P(),$&&$.aborted&&$.reason instanceof B){const I=$.reason;throw I.config=b,R&&(I.request=R),Y!==I&&Object.defineProperty(I,"cause",{__proto__:null,value:Y,writable:!0,enumerable:!1,configurable:!0}),I}if(W)throw R&&!W.request&&(W.request=R),W;if(K)throw K;if(Y instanceof B)throw R&&!Y.request&&(Y.request=R),Y;if(Y&&Y.name==="TypeError"&&/Load failed|fetch/i.test(Y.message)){const I=new B("Network Error",B.ERR_NETWORK,b,R,Y&&Y.response);throw Object.defineProperty(I,"cause",{__proto__:null,value:Y.cause||Y,writable:!0,enumerable:!1,configurable:!0}),I}throw B.from(Y,Y&&Y.code,b,R,Y&&Y.response)}}},eS=new Map,Ih=e=>{const t=Object.create(null),n=e&&T.hasOwnProp(e,"env")&&e.env;["fetch","Request","Response","Blob"].forEach(f=>{n&&T.hasOwnProp(n,f)&&(t[f]=n[f])});const{fetch:i,Request:r,Response:s,Blob:o}=t,l=[r,s,i,o];let c=l.length,d=c,a,p,u=eS;for(;d--;)a=l[d],p=u.get(a),p===void 0&&u.set(a,p=d?new Map:Z0(t)),u=p;return p};Ih();const Ac={http:I0,xhr:V0,fetch:{get:Ih}};T.forEach(Ac,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Od=e=>`- ${e}`,tS=e=>T.isFunction(e)||e===null||e===!1;function nS(e,t){e=T.isArray(e)?e:[e];const{length:n}=e;let i,r;const s={};for(let o=0;o<n;o++){i=e[o];let l;if(r=i,!tS(i)&&(r=Ac[(l=String(i)).toLowerCase()],r===void 0))throw new B(`Unknown adapter '${l}'`);if(r&&(T.isFunction(r)||(r=r.get(t))))break;s[l||"#"+o]=r}if(!r){const o=Object.entries(s).map(([c,d])=>`adapter ${c} `+(d===!1?"is not supported by the environment":"is not available in the build"));let l=n?o.length>1?`since :
25
+ `+o.map(Od).join(`
26
+ `):" "+Od(o[0]):"as no adapter specified";throw new B("There is no suitable adapter to dispatch the request "+l,B.ERR_NOT_SUPPORT)}return r}const Lh={getAdapter:nS,adapters:Ac};function Ms(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $t(null,e)}function Pd(e){return Math.max(0,Date.now()-e)}function Us(e){const t=T.toSafeFlatObject(e);Ms(t),t.headers=_e.from(T.getSafeProp(t,"headers")),t.data=Ns.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1);const n=Lh.getAdapter(t.adapter||qn.adapter,t),i=Date.now();return n(t).then(function(s){Ms(t),s.duration=Pd(i),t.response=s;try{s.data=Ns.call(t,t.transformResponse,s)}finally{delete t.response}return s.headers=_e.from(s.headers),s},function(s){if(!fh(s)&&(Ms(t),s&&s.response)){s.response.duration=Pd(i),t.response=s.response;try{s.response.data=Ns.call(t,t.transformResponse,s.response)}finally{delete t.response}s.response.headers=_e.from(s.response.headers)}return Promise.reject(s)})}const cr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{cr[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const Td={};cr.transitional=function(t,n,i){function r(s,o){return"[Axios v"+$n+"] Transitional option '"+s+"'"+o+(i?". "+i:"")}return(s,o,l)=>{if(t===!1)throw new B(r(o," has been removed"+(n?" in "+n:"")),B.ERR_DEPRECATED);return n&&!Td[o]&&(Td[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,o,l):!0}};cr.spelling=function(t){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};function iS(e,t,n){if(typeof e!="object"||e===null)throw new B("options must be an object",B.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let r=i.length;for(;r-- >0;){const s=i[r],o=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(o){const l=e[s],c=l===void 0||o(l,s,e);if(c!==!0)throw new B("option "+s+" must be "+c,B.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new B("Unknown option "+s,B.ERR_BAD_OPTION)}}const Ai={assertOptions:iS,validators:cr},ke=Ai.validators,zs=e=>{if(e==null||T.isPlainObject(e)||e instanceof _e)return!0;try{return T.isObject(e)&&T.getSafeProp(e,Symbol.toStringTag)==="AxiosHeaders"&&["toJSON","set","get","has","delete","clear","normalize","concat","toString",Symbol.iterator].every(t=>T.isFunction(T.getSafeProp(e,t)))}catch{return!1}};let _t=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Fp,response:new Fp}}async request(t,n){try{return await this._request(t,n)}catch(i){if(i instanceof Error)try{let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const s=r.stack;let o="";if(typeof s=="string"){const l=s.indexOf(`
27
+ `);o=l===-1?"":s.slice(l+1)}if(!i.stack)i.stack=o;else if(o){const l=o.indexOf(`
28
+ `),c=l===-1?-1:o.indexOf(`
29
+ `,l+1),d=c===-1?o:o.slice(c+1),a=String(i.stack),p=rb(i,a),u=p===-1?a:a.slice(0,p),f=p===-1?"":a.slice(p);u.endsWith(d)||(i.stack=u+`
30
+ `+o+f)}}catch{}throw i}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ot(this.defaults,n);const{transitional:i,paramsSerializer:r,headers:s}=n;i!==void 0&&Ai.assertOptions(i,{silentJSONParsing:ke.transitional(ke.boolean),forcedJSONParsing:ke.transitional(ke.boolean),clarifyTimeoutError:ke.transitional(ke.boolean),legacyInterceptorReqResOrdering:ke.transitional(ke.boolean),advertiseZstdAcceptEncoding:ke.transitional(ke.boolean),validateStatusUndefinedResolves:ke.transitional(ke.boolean),encodeBasicAuthUsername:ke.transitional(ke.boolean)},!1),r!=null&&(T.isFunction(r)?n.paramsSerializer={serialize:r}:Ai.assertOptions(r,{encode:ke.function,serialize:ke.function},!0)),n.allowAbsoluteUrls!==void 0||(T.hasOwnProp(this.defaults,"allowAbsoluteUrls")&&this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ai.assertOptions(n,{baseUrl:ke.spelling("baseURL"),withXsrfToken:ke.spelling("withXSRFToken")},!0),n.method=(T.getSafeProp(n,"method")||T.getSafeProp(this.defaults,"method")||"get").toLowerCase();const o=T.getSafeProp(s,"common"),l=T.getSafeProp(s,n.method),c=s&&T.merge(zs(o)?o:void 0,zs(l)?l:void 0);s&&T.forEach(dh.concat("common"),h=>{zs(T.getSafeProp(s,h))&&delete s[h]}),n.headers=_e.concat(c,s);const d=[];let a=!0;this.interceptors.request.forEach(function(y){if(typeof y.runWhen=="function"&&y.runWhen(n)===!1)return;a=a&&y.synchronous;const g=n.transitional||ar;g&&g.legacyInterceptorReqResOrdering?d.unshift(y.fulfilled,y.rejected):d.push(y.fulfilled,y.rejected)});const p=[];this.interceptors.response.forEach(function(y){p.push(y.fulfilled,y.rejected)});let u,f=0,v;if(!a){const h=[Us.bind(this),void 0];for(h.unshift(...d),h.push(...p),v=h.length,u=Promise.resolve(n);f<v;)u=u.then(h[f++],h[f++]);return u}v=d.length;let m=n;for(;f<v;){const h=d[f++],y=d[f++];try{m=h?h(m):m}catch(g){if(!y){u=Promise.reject(g);break}try{const b=y.call(this,g);T.isThenable(b)&&(u=Promise.resolve(b).then(()=>Us.call(this,m)))}catch(b){u=Promise.reject(b)}break}}if(!u)try{u=Us.call(this,m)}catch(h){u=Promise.reject(h)}for(f=0,v=p.length;f<v;)u=u.then(p[f++],p[f++]);return u}getUri(t){t=Ot(this.defaults,t);const n=Rc(t.baseURL,t.url,t.allowAbsoluteUrls,t);return Ec(n,t.params,t.paramsSerializer)}};T.forEach(["delete","get","head","options"],function(t){_t.prototype[t]=async function(n,i){return this.request(Ot(i||{},{method:t,url:n,data:i&&T.hasOwnProp(i,"data")?i.data:void 0}))}});T.forEach(["post","put","patch","query"],function(t){function n(i){return async function(s,o,l){return this.request(Ot(l||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}_t.prototype[t]=n(),t!=="query"&&(_t.prototype[t+"Form"]=n(!0))});let rS=class qh{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const i=this;this.promise.then(r=>{if(!i._listeners)return;let s=i._listeners.length;for(;s-- >0;)i._listeners[s](r);i._listeners=null}),this.promise.then=r=>{let s;const o=new Promise(l=>{i.subscribe(l),s=l}).then(r);return o.cancel=function(){i.unsubscribe(s)},o},t(function(s,o,l){i.reason||(i.reason=new $t(s,o,l),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=i=>{t.abort(i)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new qh(function(r){t=r}),cancel:t}}};function aS(e){return function(n){return e.apply(null,n)}}function sS(e){return T.isObject(e)&&e.isAxiosError===!0}const $i={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries($i).forEach(([e,t])=>{$i[t]===void 0&&($i[t]=e)});function Dh(e){const t=new _t(e),n=hc(_t.prototype.request,t);return T.extend(n,_t.prototype,t,{allOwnKeys:!0}),T.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Dh(Ot(e,r))},n}const Se=Dh(qn);Se.Axios=_t;Se.CanceledError=$t;Se.CancelToken=rS;Se.isCancel=fh;Se.VERSION=$n;Se.toFormData=rr;Se.AxiosError=B;Se.Cancel=Se.CanceledError;Se.all=function(t){return Promise.all(t)};Se.spread=aS;Se.isAxiosError=sS;Se.mergeConfig=Ot;Se.AxiosHeaders=_e;Se.formToJSON=e=>ph(T.isHTMLForm(e)?new FormData(e):e);Se.getAdapter=Lh.getAdapter;Se.HttpStatusCode=$i;Se.default=Se;const{Axios:i_,AxiosError:r_,CanceledError:a_,isCancel:s_,CancelToken:o_,VERSION:c_,all:l_,Cancel:u_,isAxiosError:p_,spread:d_,toFormData:f_,AxiosHeaders:m_,HttpStatusCode:h_,formToJSON:v_,getAdapter:g_,mergeConfig:y_,create:x_}=Se;function oS(){return`${Mo()} ${Uo()}`}function cS(e,t){te.ipcMain.handle("authentication:github:login",async(n,{baseUrl:i,deviceCode:r,interval:s,expiresIn:o})=>{const l=new URL(`${i}/device-verify`);l.searchParams.set("device_code",r);const c=parseInt(s)*1e3+500;let d=parseInt(o)*1e3;const a=setInterval(async()=>{const u=await(await fetch(l)).json();u.error?d<=0&&clearInterval(a):(Uy(u.access_token),My(u.token_type),clearInterval(a),t(e)),d-=c},c)}),te.ipcMain.handle("authentication:github:isLoggedIn",()=>{const n=Mo(),i=Uo();return n&&i}),te.ipcMain.handle("authentication:github:userDetails",async()=>{const n="https://api.github.com/user",i={headers:{Authorization:oS()}},{data:{login:r,html_url:s,name:o,avatar_url:l}}=await Se.get(n,i);return{profile:s,username:r,name:o,avatar:l}}),te.ipcMain.handle("authentication:github:authorizationValue",()=>({tokenType:Mo(),accessToken:Uo()})),te.ipcMain.handle("authentication:github:logout",()=>{By(),zy()})}const $c="tokenType",Oc="accessToken",Pc="refreshToken",Tc="expiryDate",Nc="userId",lS={tokenType:{type:"string"},accessToken:{type:"string"},refreshToken:{type:"string"},expiryDate:{type:"number"},userId:{type:"string"}},Fe=new er({name:"authentication-nextcloud-main",schema:lS});function Qo(e,t){Fe.set(`${$c}-${t}`,e)}function Oi(e,t){Fe.set(`${Oc}-${t}`,e)}function Fh(e,t){Fe.set(`${Pc}-${t}`,e)}function Mh(e,t){Fe.set(`${Tc}-${t}`,e)}function Zo(e,t){Fe.set(`${Nc}-${t}`,e)}function Nd(e){return Fe.get(`${$c}-${e}`)}function Cd(e){return Fe.get(`${Oc}-${e}`)}function uS(e){return Fe.get(`${Pc}-${e}`)}function pS(e){return Fe.get(`${Tc}-${e}`)}function dS(e){return Fe.get(`${Nc}-${e}`)}function fS(e){Fe.delete(`${$c}-${e}`)}function mS(e){Fe.delete(`${Oc}-${e}`)}function hS(e){Fe.delete(`${Pc}-${e}`)}function vS(e){Fe.delete(`${Tc}-${e}`)}function gS(e){Fe.delete(`${Nc}-${e}`)}const Cc="http://callback/";async function yS(e,t,n){const i=new URL(`${n}/token`);i.searchParams.set("base_url",t),i.searchParams.set("code",e),i.searchParams.set("redirect_uri",Cc);const r=await Se.get(i.toString());Qo(r.data.token_type,"oauth2"),Oi(r.data.access_token,"oauth2"),Fh(r.data.refresh_token,"oauth2"),Mh(Date.now()+(r.data.expires_in-10)*1e3,"oauth2"),Zo(r.data.user_id,"oauth2")}function xS(e,t,n,i){e.webContents.session.webRequest.onBeforeRequest({urls:[`${Cc}*`]},async({url:r},s)=>{if(r.startsWith(i))s({cancel:!1});else{const o=new URL(r);await yS(o.searchParams.get("code"),n,i),Di.show(),t(Di),e?.close()}})}async function bS(e){const t=new te.BrowserWindow({width:800,height:600,webPreferences:{nodeIntegration:!1}});return t.setMenu(null),await t.loadURL(e),t}let jd,Di;function wS(e,t){te.ipcMain.handle("authentication:nextcloud:loginOauth2",async(n,{baseUrl:i,authenticationBaseUrl:r})=>{const s=new URL(`${r}/authorize`);s.searchParams.set("base_url",i),s.searchParams.set("redirect_uri",Cc),Di=e,jd=await bS(s.toString()),xS(jd,t,i,r),Di.hide()}),te.ipcMain.handle("authentication:nextcloud:loginBasic",async(n,{username:i,password:r})=>{Oi(btoa(`${i}:${r}`),"basic"),Qo("Basic","basic"),Zo(i,"basic"),t(e)}),te.ipcMain.handle("authentication:nextcloud:loginFlow",async(n,{baseUrl:i})=>{const r=`${i}/index.php/login/v2`,o=await(await fetch(r,{method:"POST"})).json();te.shell.openExternal(o.login);const l=setInterval(async()=>{const c=await fetch(o.poll.endpoint,{method:"POST",body:new URLSearchParams({token:o.poll.token}),headers:{"Content-Type":"application/x-www-form-urlencoded"}});if(c.ok){const d=await c.json();Oi(btoa(`${d.loginName}:${d.appPassword}`),"login-flow"),Qo("Basic","login-flow"),Zo(d.loginName,"login-flow"),clearInterval(l),t(e)}},3e3)}),te.ipcMain.handle("authentication:nextcloud:isLoggedIn",async(n,{mode:i})=>{const r=Nd(i),s=Cd(i);return r&&s}),te.ipcMain.handle("authentication:nextcloud:userDetails",async(n,{baseUrl:i,mode:r})=>{const s=dS(r);return{profile:`${i}/u/${s}`,username:s,name:s,avatar:`${i}/avatar/${s}/64`}}),te.ipcMain.handle("authentication:nextcloud:authorizationValue",async(n,{mode:i})=>({tokenType:Nd(i),accessToken:Cd(i)})),te.ipcMain.handle("authentication:nextcloud:logout",async(n,{mode:i})=>{mS(i),fS(i),hS(i),vS(i),gS(i)}),te.ipcMain.handle("authentication:nextcloud:refreshToken",async(n,{baseUrl:i,authenticationBaseUrl:r})=>{if(Date.now()>pS("oauth2")){const s=new URL(`${r}/refresh`);s.searchParams.set("base_url",i),s.searchParams.set("refresh_token",uS("oauth2"));const{data:{access_token:o,refresh_token:l,expires_in:c}}=await Se.get(s.toString());Oi(o,"oauth2"),Fh(l,"oauth2"),Mh(Date.now()+(c-10)*1e3,"oauth2")}})}const jc="tokenType",Ic="accessToken",SS={tokenType:{type:"string"},accessToken:{type:"string"}},nn=new er({name:"authentication-xwiki-main",schema:SS});function ES(e){nn.set(jc,e)}function _S(e){nn.set(Ic,e)}function ec(){return nn.get(jc)}function tc(){return nn.get(Ic)}function RS(){nn.delete(jc)}function kS(){nn.delete(Ic)}async function AS(e,t){const i=await(await fetch(e,{headers:{Accept:"application/json",Authorization:t}})).json();return{profile:i.xwikiAbsoluteUrl,username:i.id,name:i.displayName,avatar:i.avatarUrl}}const Lc="http://callback/",Uh="abcd";async function $S(e,t){const n=`${t}/oidc/token`,i={grant_type:"authorization_code",code:e,redirect_uri:Lc,client_id:Uh};return Se.post(n,i,{url:n,headers:{"Content-Type":"application/x-www-form-urlencoded"}})}function OS(e,t,n){e.webContents.session.webRequest.onBeforeRequest({urls:[`${Lc}*`]},async({url:i},r)=>{if(i.startsWith(n))r({cancel:!1});else{const s=new URL(i),o=await $S(s.searchParams.get("code"),n);ES(o.data.token_type),_S(o.data.access_token),Fi.show(),t(Fi),e?.close()}})}async function PS(e){const t=new te.BrowserWindow({width:800,height:600,webPreferences:{nodeIntegration:!1}});return t.setMenu(null),await t.loadURL(e),t}let Id,Fi;function TS(){return`${ec()} ${tc()}`}function NS(e,t){te.ipcMain.handle("authentication:xwiki:login",async(n,{oidcUrl:i})=>{const r=new URL(`${i}/oidc/authorization`);r.searchParams.set("response_type","code"),r.searchParams.set("client_id",Uh),r.searchParams.set("redirect_uri",Lc),Fi=e,Id=await PS(r.toString()),OS(Id,t,i),Fi.hide()}),te.ipcMain.handle("authentication:xwiki:isLoggedIn",()=>{const n=ec(),i=tc();return n&&i}),te.ipcMain.handle("authentication:xwiki:userDetails",async(n,{baseURL:i})=>AS(`${i}/rest/wikis/xwiki/user`,TS())),te.ipcMain.handle("authentication:xwiki:authorizationValue",()=>({tokenType:ec(),accessToken:tc()})),te.ipcMain.handle("authentication:xwiki:logout",()=>{kS(),RS()})}const nc="cristalfs";var he={},Bs={},Vs={},Ae={},Ld;function fe(){if(Ld)return Ae;Ld=1;const e=Symbol.for("yaml.alias"),t=Symbol.for("yaml.document"),n=Symbol.for("yaml.map"),i=Symbol.for("yaml.pair"),r=Symbol.for("yaml.scalar"),s=Symbol.for("yaml.seq"),o=Symbol.for("yaml.node.type"),l=h=>!!h&&typeof h=="object"&&h[o]===e,c=h=>!!h&&typeof h=="object"&&h[o]===t,d=h=>!!h&&typeof h=="object"&&h[o]===n,a=h=>!!h&&typeof h=="object"&&h[o]===i,p=h=>!!h&&typeof h=="object"&&h[o]===r,u=h=>!!h&&typeof h=="object"&&h[o]===s;function f(h){if(h&&typeof h=="object")switch(h[o]){case n:case s:return!0}return!1}function v(h){if(h&&typeof h=="object")switch(h[o]){case e:case n:case r:case s:return!0}return!1}const m=h=>(p(h)||f(h))&&!!h.anchor;return Ae.ALIAS=e,Ae.DOC=t,Ae.MAP=n,Ae.NODE_TYPE=o,Ae.PAIR=i,Ae.SCALAR=r,Ae.SEQ=s,Ae.hasAnchor=m,Ae.isAlias=l,Ae.isCollection=f,Ae.isDocument=c,Ae.isMap=d,Ae.isNode=v,Ae.isPair=a,Ae.isScalar=p,Ae.isSeq=u,Ae}var ci={},qd;function lr(){if(qd)return ci;qd=1;var e=fe();const t=Symbol("break visit"),n=Symbol("skip children"),i=Symbol("remove node");function r(p,u){const f=c(u);e.isDocument(p)?s(null,p.contents,f,Object.freeze([p]))===i&&(p.contents=null):s(null,p,f,Object.freeze([]))}r.BREAK=t,r.SKIP=n,r.REMOVE=i;function s(p,u,f,v){const m=d(p,u,f,v);if(e.isNode(m)||e.isPair(m))return a(p,v,m),s(p,m,f,v);if(typeof m!="symbol"){if(e.isCollection(u)){v=Object.freeze(v.concat(u));for(let h=0;h<u.items.length;++h){const y=s(h,u.items[h],f,v);if(typeof y=="number")h=y-1;else{if(y===t)return t;y===i&&(u.items.splice(h,1),h-=1)}}}else if(e.isPair(u)){v=Object.freeze(v.concat(u));const h=s("key",u.key,f,v);if(h===t)return t;h===i&&(u.key=null);const y=s("value",u.value,f,v);if(y===t)return t;y===i&&(u.value=null)}}return m}async function o(p,u){const f=c(u);e.isDocument(p)?await l(null,p.contents,f,Object.freeze([p]))===i&&(p.contents=null):await l(null,p,f,Object.freeze([]))}o.BREAK=t,o.SKIP=n,o.REMOVE=i;async function l(p,u,f,v){const m=await d(p,u,f,v);if(e.isNode(m)||e.isPair(m))return a(p,v,m),l(p,m,f,v);if(typeof m!="symbol"){if(e.isCollection(u)){v=Object.freeze(v.concat(u));for(let h=0;h<u.items.length;++h){const y=await l(h,u.items[h],f,v);if(typeof y=="number")h=y-1;else{if(y===t)return t;y===i&&(u.items.splice(h,1),h-=1)}}}else if(e.isPair(u)){v=Object.freeze(v.concat(u));const h=await l("key",u.key,f,v);if(h===t)return t;h===i&&(u.key=null);const y=await l("value",u.value,f,v);if(y===t)return t;y===i&&(u.value=null)}}return m}function c(p){return typeof p=="object"&&(p.Collection||p.Node||p.Value)?Object.assign({Alias:p.Node,Map:p.Node,Scalar:p.Node,Seq:p.Node},p.Value&&{Map:p.Value,Scalar:p.Value,Seq:p.Value},p.Collection&&{Map:p.Collection,Seq:p.Collection},p):p}function d(p,u,f,v){if(typeof f=="function")return f(p,u,v);if(e.isMap(u))return f.Map?.(p,u,v);if(e.isSeq(u))return f.Seq?.(p,u,v);if(e.isPair(u))return f.Pair?.(p,u,v);if(e.isScalar(u))return f.Scalar?.(p,u,v);if(e.isAlias(u))return f.Alias?.(p,u,v)}function a(p,u,f){const v=u[u.length-1];if(e.isCollection(v))v.items[p]=f;else if(e.isPair(v))p==="key"?v.key=f:v.value=f;else if(e.isDocument(v))v.contents=f;else{const m=e.isAlias(v)?"alias":"scalar";throw new Error(`Cannot replace node with ${m} parent`)}}return ci.visit=r,ci.visitAsync=o,ci}var Dd;function zh(){if(Dd)return Vs;Dd=1;var e=fe(),t=lr();const n={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},i=s=>s.replace(/[!,[\]{}]/g,o=>n[o]);class r{constructor(o,l){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},r.defaultYaml,o),this.tags=Object.assign({},r.defaultTags,l)}clone(){const o=new r(this.yaml,this.tags);return o.docStart=this.docStart,o}atDocument(){const o=new r(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:r.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},r.defaultTags);break}return o}add(o,l){this.atNextDocument&&(this.yaml={explicit:r.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},r.defaultTags),this.atNextDocument=!1);const c=o.trim().split(/[ \t]+/),d=c.shift();switch(d){case"%TAG":{if(c.length!==2&&(l(0,"%TAG directive should contain exactly two parts"),c.length<2))return!1;const[a,p]=c;return this.tags[a]=p,!0}case"%YAML":{if(this.yaml.explicit=!0,c.length!==1)return l(0,"%YAML directive should contain exactly one part"),!1;const[a]=c;if(a==="1.1"||a==="1.2")return this.yaml.version=a,!0;{const p=/^\d+\.\d+$/.test(a);return l(6,`Unsupported YAML version ${a}`,p),!1}}default:return l(0,`Unknown directive ${d}`,!0),!1}}tagName(o,l){if(o==="!")return"!";if(o[0]!=="!")return l(`Not a valid tag: ${o}`),null;if(o[1]==="<"){const p=o.slice(2,-1);return p==="!"||p==="!!"?(l(`Verbatim tags aren't resolved, so ${o} is invalid.`),null):(o[o.length-1]!==">"&&l("Verbatim tags must end with a >"),p)}const[,c,d]=o.match(/^(.*!)([^!]*)$/s);d||l(`The ${o} tag has no suffix`);const a=this.tags[c];if(a)try{return a+decodeURIComponent(d)}catch(p){return l(String(p)),null}return c==="!"?o:(l(`Could not resolve tag: ${o}`),null)}tagString(o){for(const[l,c]of Object.entries(this.tags))if(o.startsWith(c))return l+i(o.substring(c.length));return o[0]==="!"?o:`!<${o}>`}toString(o){const l=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],c=Object.entries(this.tags);let d;if(o&&c.length>0&&e.isNode(o.contents)){const a={};t.visit(o.contents,(p,u)=>{e.isNode(u)&&u.tag&&(a[u.tag]=!0)}),d=Object.keys(a)}else d=[];for(const[a,p]of c)a==="!!"&&p==="tag:yaml.org,2002:"||(!o||d.some(u=>u.startsWith(p)))&&l.push(`%TAG ${a} ${p}`);return l.join(`
31
+ `)}}return r.defaultYaml={explicit:!1,version:"1.2"},r.defaultTags={"!!":"tag:yaml.org,2002:"},Vs.Directives=r,Vs}var Hs={},Ks={},Ut={},Fd;function qc(){if(Fd)return Ut;Fd=1;var e=fe(),t=lr();function n(o){if(/[\x00-\x19\s,[\]{}]/.test(o)){const c=`Anchor must not contain whitespace or control characters: ${JSON.stringify(o)}`;throw new Error(c)}return!0}function i(o){const l=new Set;return t.visit(o,{Value(c,d){d.anchor&&l.add(d.anchor)}}),l}function r(o,l){for(let c=1;;++c){const d=`${o}${c}`;if(!l.has(d))return d}}function s(o,l){const c=[],d=new Map;let a=null;return{onAnchor:p=>{c.push(p),a??(a=i(o));const u=r(l,a);return a.add(u),u},setAnchors:()=>{for(const p of c){const u=d.get(p);if(typeof u=="object"&&u.anchor&&(e.isScalar(u.node)||e.isCollection(u.node)))u.node.anchor=u.anchor;else{const f=new Error("Failed to resolve repeated object (this should not happen)");throw f.source=p,f}}},sourceObjects:d}}return Ut.anchorIsValid=n,Ut.anchorNames=i,Ut.createNodeAnchors=s,Ut.findNewAnchor=r,Ut}var Gs={},Ws={},Md;function Bh(){if(Md)return Ws;Md=1;function e(t,n,i,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let s=0,o=r.length;s<o;++s){const l=r[s],c=e(t,r,String(s),l);c===void 0?delete r[s]:c!==l&&(r[s]=c)}else if(r instanceof Map)for(const s of Array.from(r.keys())){const o=r.get(s),l=e(t,r,s,o);l===void 0?r.delete(s):l!==o&&r.set(s,l)}else if(r instanceof Set)for(const s of Array.from(r)){const o=e(t,r,s,s);o===void 0?r.delete(s):o!==s&&(r.delete(s),r.add(o))}else for(const[s,o]of Object.entries(r)){const l=e(t,r,s,o);l===void 0?delete r[s]:l!==o&&(r[s]=l)}return t.call(n,i,r)}return Ws.applyReviver=e,Ws}var Ys={},Ud;function Ct(){if(Ud)return Ys;Ud=1;var e=fe();function t(n,i,r){if(Array.isArray(n))return n.map((s,o)=>t(s,String(o),r));if(n&&typeof n.toJSON=="function"){if(!r||!e.hasAnchor(n))return n.toJSON(i,r);const s={aliasCount:0,count:1,res:void 0};r.anchors.set(n,s),r.onCreate=l=>{s.res=l,delete r.onCreate};const o=n.toJSON(i,r);return r.onCreate&&r.onCreate(o),o}return typeof n=="bigint"&&!r?.keep?Number(n):n}return Ys.toJS=t,Ys}var zd;function Dc(){if(zd)return Gs;zd=1;var e=Bh(),t=fe(),n=Ct();class i{constructor(s){Object.defineProperty(this,t.NODE_TYPE,{value:s})}clone(){const s=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(s.range=this.range.slice()),s}toJS(s,{mapAsMap:o,maxAliasCount:l,onAnchor:c,reviver:d}={}){if(!t.isDocument(s))throw new TypeError("A document argument is required");const a={anchors:new Map,doc:s,keep:!0,mapAsMap:o===!0,mapKeyWarned:!1,maxAliasCount:typeof l=="number"?l:100},p=n.toJS(this,"",a);if(typeof c=="function")for(const{count:u,res:f}of a.anchors.values())c(f,u);return typeof d=="function"?e.applyReviver(d,{"":p},"",p):p}}return Gs.NodeBase=i,Gs}var Bd;function ur(){if(Bd)return Ks;Bd=1;var e=qc(),t=lr(),n=fe(),i=Dc(),r=Ct();let s=class extends i.NodeBase{constructor(c){super(n.ALIAS),this.source=c,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(c,d){if(d?.maxAliasCount===0)throw new ReferenceError("Alias resolution is disabled");let a;d?.aliasResolveCache?a=d.aliasResolveCache:(a=[],t.visit(c,{Node:(u,f)=>{(n.isAlias(f)||n.hasAnchor(f))&&a.push(f)}}),d&&(d.aliasResolveCache=a));let p;for(const u of a){if(u===this)break;u.anchor===this.source&&(p=u)}if(p&&d){const{anchors:u,doc:f,maxAliasCount:v}=d;let m=u.get(p);if(m||(r.toJS(p,null,d),m=u.get(p)),m?.res===void 0){const h="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(h)}if(v>=0&&(m.count+=1,m.aliasCount===0&&(m.aliasCount=o(f,p,u)),m.count*m.aliasCount>v)){const h="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(h)}}return p}toJSON(c,d){if(!d)return{source:this.source};const a=this.resolve(d.doc,d);if(!a){const p=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(p)}return d.anchors.get(a).res}toString(c,d,a){const p=`*${this.source}`;if(c){if(e.anchorIsValid(this.source),c.options.verifyAliasOrder&&!c.anchors.has(this.source)){const u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(u)}if(c.implicitKey)return`${p} `}return p}};function o(l,c,d){if(n.isAlias(c)){const a=c.resolve(l),p=d&&a&&d.get(a);return p?p.count*p.aliasCount:0}else if(n.isCollection(c)){let a=0;for(const p of c.items){const u=o(l,p,d);u>a&&(a=u)}return a}else if(n.isPair(c)){const a=o(l,c.key,d),p=o(l,c.value,d);return Math.max(a,p)}return 1}return Ks.Alias=s,Ks}var gn={},Js={},li={},Vd;function Re(){if(Vd)return li;Vd=1;var e=fe(),t=Dc(),n=Ct();const i=s=>!s||typeof s!="function"&&typeof s!="object";let r=class extends t.NodeBase{constructor(o){super(e.SCALAR),this.value=o}toJSON(o,l){return l?.keep?this.value:n.toJS(this.value,o,l)}toString(){return String(this.value)}};return r.BLOCK_FOLDED="BLOCK_FOLDED",r.BLOCK_LITERAL="BLOCK_LITERAL",r.PLAIN="PLAIN",r.QUOTE_DOUBLE="QUOTE_DOUBLE",r.QUOTE_SINGLE="QUOTE_SINGLE",li.Scalar=r,li.isScalarValue=i,li}var Hd;function pr(){if(Hd)return Js;Hd=1;var e=ur(),t=fe(),n=Re();const i="tag:yaml.org,2002:";function r(o,l,c){if(l){const d=c.filter(p=>p.tag===l),a=d.find(p=>!p.format)??d[0];if(!a)throw new Error(`Tag ${l} not found`);return a}return c.find(d=>d.identify?.(o)&&!d.format)}function s(o,l,c){if(t.isDocument(o)&&(o=o.contents),t.isNode(o))return o;if(t.isPair(o)){const y=c.schema[t.MAP].createNode?.(c.schema,null,c);return y.items.push(o),y}(o instanceof String||o instanceof Number||o instanceof Boolean||typeof BigInt<"u"&&o instanceof BigInt)&&(o=o.valueOf());const{aliasDuplicateObjects:d,onAnchor:a,onTagObj:p,schema:u,sourceObjects:f}=c;let v;if(d&&o&&typeof o=="object"){if(v=f.get(o),v)return v.anchor??(v.anchor=a(o)),new e.Alias(v.anchor);v={anchor:null,node:null},f.set(o,v)}l?.startsWith("!!")&&(l=i+l.slice(2));let m=r(o,l,u.tags);if(!m){if(o&&typeof o.toJSON=="function"&&(o=o.toJSON()),!o||typeof o!="object"){const y=new n.Scalar(o);return v&&(v.node=y),y}m=o instanceof Map?u[t.MAP]:Symbol.iterator in Object(o)?u[t.SEQ]:u[t.MAP]}p&&(p(m),delete c.onTagObj);const h=m?.createNode?m.createNode(c.schema,o,c):typeof m?.nodeClass?.from=="function"?m.nodeClass.from(c.schema,o,c):new n.Scalar(o);return l?h.tag=l:m.default||(h.tag=m.tag),v&&(v.node=h),h}return Js.createNode=s,Js}var Kd;function Fc(){if(Kd)return gn;Kd=1;var e=pr(),t=fe(),n=Dc();function i(o,l,c){let d=c;for(let a=l.length-1;a>=0;--a){const p=l[a];if(typeof p=="number"&&Number.isInteger(p)&&p>=0){const u=[];u[p]=d,d=u}else d=new Map([[p,d]])}return e.createNode(d,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:o,sourceObjects:new Map})}const r=o=>o==null||typeof o=="object"&&!!o[Symbol.iterator]().next().done;let s=class extends n.NodeBase{constructor(l,c){super(l),Object.defineProperty(this,"schema",{value:c,configurable:!0,enumerable:!1,writable:!0})}clone(l){const c=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return l&&(c.schema=l),c.items=c.items.map(d=>t.isNode(d)||t.isPair(d)?d.clone(l):d),this.range&&(c.range=this.range.slice()),c}addIn(l,c){if(r(l))this.add(c);else{const[d,...a]=l,p=this.get(d,!0);if(t.isCollection(p))p.addIn(a,c);else if(p===void 0&&this.schema)this.set(d,i(this.schema,a,c));else throw new Error(`Expected YAML collection at ${d}. Remaining path: ${a}`)}}deleteIn(l){const[c,...d]=l;if(d.length===0)return this.delete(c);const a=this.get(c,!0);if(t.isCollection(a))return a.deleteIn(d);throw new Error(`Expected YAML collection at ${c}. Remaining path: ${d}`)}getIn(l,c){const[d,...a]=l,p=this.get(d,!0);return a.length===0?!c&&t.isScalar(p)?p.value:p:t.isCollection(p)?p.getIn(a,c):void 0}hasAllNullValues(l){return this.items.every(c=>{if(!t.isPair(c))return!1;const d=c.value;return d==null||l&&t.isScalar(d)&&d.value==null&&!d.commentBefore&&!d.comment&&!d.tag})}hasIn(l){const[c,...d]=l;if(d.length===0)return this.has(c);const a=this.get(c,!0);return t.isCollection(a)?a.hasIn(d):!1}setIn(l,c){const[d,...a]=l;if(a.length===0)this.set(d,c);else{const p=this.get(d,!0);if(t.isCollection(p))p.setIn(a,c);else if(p===void 0&&this.schema)this.set(d,i(this.schema,a,c));else throw new Error(`Expected YAML collection at ${d}. Remaining path: ${a}`)}}};return gn.Collection=s,gn.collectionFromPath=i,gn.isEmptyPath=r,gn}var ui={},Xs={},pi={},yn={},Gd;function dr(){if(Gd)return yn;Gd=1;const e=i=>i.replace(/^(?!$)(?: $)?/gm,"#");function t(i,r){return/^\n+$/.test(i)?i.substring(1):r?i.replace(/^(?! *$)/gm,r):i}const n=(i,r,s)=>i.endsWith(`
32
+ `)?t(s,r):s.includes(`
33
+ `)?`
34
+ `+t(s,r):(i.endsWith(" ")?"":" ")+s;return yn.indentComment=t,yn.lineComment=n,yn.stringifyComment=e,yn}var Qs={},zt={},Wd;function CS(){if(Wd)return zt;Wd=1;const e="flow",t="block",n="quoted";function i(s,o,l="flow",{indentAtStart:c,lineWidth:d=80,minContentWidth:a=20,onFold:p,onOverflow:u}={}){if(!d||d<0)return s;d<a&&(a=0);const f=Math.max(1+a,1+d-o.length);if(s.length<=f)return s;const v=[],m={};let h=d-o.length;typeof c=="number"&&(c>d-Math.max(2,a)?v.push(0):h=d-c);let y,g,b=!1,S=-1,x=-1,k=-1;l===t&&(S=r(s,S,o.length),S!==-1&&(h=S+f));for(let N;N=s[S+=1];){if(l===n&&N==="\\"){switch(x=S,s[S+1]){case"x":S+=3;break;case"u":S+=5;break;case"U":S+=9;break;default:S+=1}k=S}if(N===`
35
+ `)l===t&&(S=r(s,S,o.length)),h=S+o.length+f,y=void 0;else{if(N===" "&&g&&g!==" "&&g!==`
36
+ `&&g!==" "){const C=s[S+1];C&&C!==" "&&C!==`
37
+ `&&C!==" "&&(y=S)}if(S>=h)if(y)v.push(y),h=y+f,y=void 0;else if(l===n){for(;g===" "||g===" ";)g=N,N=s[S+=1],b=!0;const C=S>k+1?S-2:x-1;if(m[C])return s;v.push(C),m[C]=!0,h=C+f,y=void 0}else b=!0}g=N}if(b&&u&&u(),v.length===0)return s;p&&p();let O=s.slice(0,v[0]);for(let N=0;N<v.length;++N){const C=v[N],D=v[N+1]||s.length;C===0?O=`
38
+ ${o}${s.slice(0,D)}`:(l===n&&m[C]&&(O+=`${s[C]}\\`),O+=`
39
+ ${o}${s.slice(C+1,D)}`)}return O}function r(s,o,l){let c=o,d=o+1,a=s[d];for(;a===" "||a===" ";)if(o<d+l)a=s[++o];else{do a=s[++o];while(a&&a!==`
40
+ `);c=o,d=o+1,a=s[d]}return c}return zt.FOLD_BLOCK=t,zt.FOLD_FLOW=e,zt.FOLD_QUOTED=n,zt.foldFlowLines=i,zt}var Yd;function fr(){if(Yd)return Qs;Yd=1;var e=Re(),t=CS();const n=(u,f)=>({indentAtStart:f?u.indent.length:u.indentAtStart,lineWidth:u.options.lineWidth,minContentWidth:u.options.minContentWidth}),i=u=>/^(%|---|\.\.\.)/m.test(u);function r(u,f,v){if(!f||f<0)return!1;const m=f-v,h=u.length;if(h<=m)return!1;for(let y=0,g=0;y<h;++y)if(u[y]===`
41
+ `){if(y-g>m)return!0;if(g=y+1,h-g<=m)return!1}return!0}function s(u,f){const v=JSON.stringify(u);if(f.options.doubleQuotedAsJSON)return v;const{implicitKey:m}=f,h=f.options.doubleQuotedMinMultiLineLength,y=f.indent||(i(u)?" ":"");let g="",b=0;for(let S=0,x=v[S];x;x=v[++S])if(x===" "&&v[S+1]==="\\"&&v[S+2]==="n"&&(g+=v.slice(b,S)+"\\ ",S+=1,b=S,x="\\"),x==="\\")switch(v[S+1]){case"u":{g+=v.slice(b,S);const k=v.substr(S+2,4);switch(k){case"0000":g+="\\0";break;case"0007":g+="\\a";break;case"000b":g+="\\v";break;case"001b":g+="\\e";break;case"0085":g+="\\N";break;case"00a0":g+="\\_";break;case"2028":g+="\\L";break;case"2029":g+="\\P";break;default:k.substr(0,2)==="00"?g+="\\x"+k.substr(2):g+=v.substr(S,6)}S+=5,b=S+1}break;case"n":if(m||v[S+2]==='"'||v.length<h)S+=1;else{for(g+=v.slice(b,S)+`
42
+
43
+ `;v[S+2]==="\\"&&v[S+3]==="n"&&v[S+4]!=='"';)g+=`
44
+ `,S+=2;g+=y,v[S+2]===" "&&(g+="\\"),S+=1,b=S+1}break;default:S+=1}return g=b?g+v.slice(b):v,m?g:t.foldFlowLines(g,y,t.FOLD_QUOTED,n(f,!1))}function o(u,f){if(f.options.singleQuote===!1||f.implicitKey&&u.includes(`
45
+ `)||/[ \t]\n|\n[ \t]/.test(u))return s(u,f);const v=f.indent||(i(u)?" ":""),m="'"+u.replace(/'/g,"''").replace(/\n+/g,`$&
46
+ ${v}`)+"'";return f.implicitKey?m:t.foldFlowLines(m,v,t.FOLD_FLOW,n(f,!1))}function l(u,f){const{singleQuote:v}=f.options;let m;if(v===!1)m=s;else{const h=u.includes('"'),y=u.includes("'");h&&!y?m=o:y&&!h?m=s:m=v?o:s}return m(u,f)}let c;try{c=new RegExp(`(^|(?<!
47
+ ))
48
+ +(?!
49
+ |$)`,"g")}catch{c=/\n+(?!\n|$)/g}function d({comment:u,type:f,value:v},m,h,y){const{blockQuote:g,commentString:b,lineWidth:S}=m.options;if(!g||/\n[\t ]+$/.test(v))return l(v,m);const x=m.indent||(m.forceBlockIndent||i(v)?" ":""),k=g==="literal"?!0:g==="folded"||f===e.Scalar.BLOCK_FOLDED?!1:f===e.Scalar.BLOCK_LITERAL?!0:!r(v,S,x.length);if(!v)return k?`|
50
+ `:`>
51
+ `;let O,N;for(N=v.length;N>0;--N){const U=v[N-1];if(U!==`
52
+ `&&U!==" "&&U!==" ")break}let C=v.substring(N);const D=C.indexOf(`
53
+ `);D===-1?O="-":v===C||D!==C.length-1?(O="+",y&&y()):O="",C&&(v=v.slice(0,-C.length),C[C.length-1]===`
54
+ `&&(C=C.slice(0,-1)),C=C.replace(c,`$&${x}`));let j=!1,M,H=-1;for(M=0;M<v.length;++M){const U=v[M];if(U===" ")j=!0;else if(U===`
55
+ `)H=M;else break}let V=v.substring(0,H<M?H+1:M);V&&(v=v.substring(V.length),V=V.replace(/\n+/g,`$&${x}`));let ie=(j?x?"2":"1":"")+O;if(u&&(ie+=" "+b(u.replace(/ ?[\r\n]+/g," ")),h&&h()),!k){const U=v.replace(/\n+/g,`
56
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${x}`);let z=!1;const E=n(m,!0);g!=="folded"&&f!==e.Scalar.BLOCK_FOLDED&&(E.onOverflow=()=>{z=!0});const _=t.foldFlowLines(`${V}${U}${C}`,x,t.FOLD_BLOCK,E);if(!z)return`>${ie}
57
+ ${x}${_}`}return v=v.replace(/\n+/g,`$&${x}`),`|${ie}
58
+ ${x}${V}${v}${C}`}function a(u,f,v,m){const{type:h,value:y}=u,{actualString:g,implicitKey:b,indent:S,indentStep:x,inFlow:k}=f;if(b&&y.includes(`
59
+ `)||k&&/[[\]{},]/.test(y))return l(y,f);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(y))return b||k||!y.includes(`
60
+ `)?l(y,f):d(u,f,v,m);if(!b&&!k&&h!==e.Scalar.PLAIN&&y.includes(`
61
+ `))return d(u,f,v,m);if(i(y)){if(S==="")return f.forceBlockIndent=!0,d(u,f,v,m);if(b&&S===x)return l(y,f)}const O=y.replace(/\n+/g,`$&
62
+ ${S}`);if(g){const N=j=>j.default&&j.tag!=="tag:yaml.org,2002:str"&&j.test?.test(O),{compat:C,tags:D}=f.doc.schema;if(D.some(N)||C?.some(N))return l(y,f)}return b?O:t.foldFlowLines(O,S,t.FOLD_FLOW,n(f,!1))}function p(u,f,v,m){const{implicitKey:h,inFlow:y}=f,g=typeof u.value=="string"?u:Object.assign({},u,{value:String(u.value)});let{type:b}=u;b!==e.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(g.value)&&(b=e.Scalar.QUOTE_DOUBLE);const S=k=>{switch(k){case e.Scalar.BLOCK_FOLDED:case e.Scalar.BLOCK_LITERAL:return h||y?l(g.value,f):d(g,f,v,m);case e.Scalar.QUOTE_DOUBLE:return s(g.value,f);case e.Scalar.QUOTE_SINGLE:return o(g.value,f);case e.Scalar.PLAIN:return a(g,f,v,m);default:return null}};let x=S(b);if(x===null){const{defaultKeyType:k,defaultStringType:O}=f.options,N=h&&k||O;if(x=S(N),x===null)throw new Error(`Unsupported default string type ${N}`)}return x}return Qs.stringifyString=p,Qs}var Jd;function mr(){if(Jd)return pi;Jd=1;var e=qc(),t=fe(),n=dr(),i=fr();function r(c,d){const a=Object.assign({blockQuote:!0,commentString:n.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},c.schema.toStringOptions,d);let p;switch(a.collectionStyle){case"block":p=!1;break;case"flow":p=!0;break;default:p=null}return{anchors:new Set,doc:c,flowCollectionPadding:a.flowCollectionPadding?" ":"",indent:"",indentStep:typeof a.indent=="number"?" ".repeat(a.indent):" ",inFlow:p,options:a}}function s(c,d){if(d.tag){const u=c.filter(f=>f.tag===d.tag);if(u.length>0)return u.find(f=>f.format===d.format)??u[0]}let a,p;if(t.isScalar(d)){p=d.value;let u=c.filter(f=>f.identify?.(p));if(u.length>1){const f=u.filter(v=>v.test);f.length>0&&(u=f)}a=u.find(f=>f.format===d.format)??u.find(f=>!f.format)}else p=d,a=c.find(u=>u.nodeClass&&p instanceof u.nodeClass);if(!a){const u=p?.constructor?.name??(p===null?"null":typeof p);throw new Error(`Tag not resolved for ${u} value`)}return a}function o(c,d,{anchors:a,doc:p}){if(!p.directives)return"";const u=[],f=(t.isScalar(c)||t.isCollection(c))&&c.anchor;f&&e.anchorIsValid(f)&&(a.add(f),u.push(`&${f}`));const v=c.tag??(d.default?null:d.tag);return v&&u.push(p.directives.tagString(v)),u.join(" ")}function l(c,d,a,p){if(t.isPair(c))return c.toString(d,a,p);if(t.isAlias(c)){if(d.doc.directives)return c.toString(d);if(d.resolvedAliases?.has(c))throw new TypeError("Cannot stringify circular structure without alias nodes");d.resolvedAliases?d.resolvedAliases.add(c):d.resolvedAliases=new Set([c]),c=c.resolve(d.doc)}let u;const f=t.isNode(c)?c:d.doc.createNode(c,{onTagObj:h=>u=h});u??(u=s(d.doc.schema.tags,f));const v=o(f,u,d);v.length>0&&(d.indentAtStart=(d.indentAtStart??0)+v.length+1);const m=typeof u.stringify=="function"?u.stringify(f,d,a,p):t.isScalar(f)?i.stringifyString(f,d,a,p):f.toString(d,a,p);return v?t.isScalar(f)||m[0]==="{"||m[0]==="["?`${v} ${m}`:`${v}
63
+ ${d.indent}${m}`:m}return pi.createStringifyContext=r,pi.stringify=l,pi}var Xd;function jS(){if(Xd)return Xs;Xd=1;var e=fe(),t=Re(),n=mr(),i=dr();function r({key:s,value:o},l,c,d){const{allNullValues:a,doc:p,indent:u,indentStep:f,options:{commentString:v,indentSeq:m,simpleKeys:h}}=l;let y=e.isNode(s)&&s.comment||null;if(h){if(y)throw new Error("With simple keys, key nodes cannot have comments");if(e.isCollection(s)||!e.isNode(s)&&typeof s=="object"){const M="With simple keys, collection cannot be used as a key value";throw new Error(M)}}let g=!h&&(!s||y&&o==null&&!l.inFlow||e.isCollection(s)||(e.isScalar(s)?s.type===t.Scalar.BLOCK_FOLDED||s.type===t.Scalar.BLOCK_LITERAL:typeof s=="object"));l=Object.assign({},l,{allNullValues:!1,implicitKey:!g&&(h||!a),indent:u+f});let b=!1,S=!1,x=n.stringify(s,l,()=>b=!0,()=>S=!0);if(!g&&!l.inFlow&&x.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0}if(l.inFlow){if(a||o==null)return b&&c&&c(),x===""?"?":g?`? ${x}`:x}else if(a&&!h||o==null&&g)return x=`? ${x}`,y&&!b?x+=i.lineComment(x,l.indent,v(y)):S&&d&&d(),x;b&&(y=null),g?(y&&(x+=i.lineComment(x,l.indent,v(y))),x=`? ${x}
64
+ ${u}:`):(x=`${x}:`,y&&(x+=i.lineComment(x,l.indent,v(y))));let k,O,N;e.isNode(o)?(k=!!o.spaceBefore,O=o.commentBefore,N=o.comment):(k=!1,O=null,N=null,o&&typeof o=="object"&&(o=p.createNode(o))),l.implicitKey=!1,!g&&!y&&e.isScalar(o)&&(l.indentAtStart=x.length+1),S=!1,!m&&f.length>=2&&!l.inFlow&&!g&&e.isSeq(o)&&!o.flow&&!o.tag&&!o.anchor&&(l.indent=l.indent.substring(2));let C=!1;const D=n.stringify(o,l,()=>C=!0,()=>S=!0);let j=" ";if(y||k||O){if(j=k?`
65
+ `:"",O){const M=v(O);j+=`
66
+ ${i.indentComment(M,l.indent)}`}D===""&&!l.inFlow?j===`
67
+ `&&N&&(j=`
68
+
69
+ `):j+=`
70
+ ${l.indent}`}else if(!g&&e.isCollection(o)){const M=D[0],H=D.indexOf(`
71
+ `),V=H!==-1,Q=l.inFlow??o.flow??o.items.length===0;if(V||!Q){let ie=!1;if(V&&(M==="&"||M==="!")){let U=D.indexOf(" ");M==="&"&&U!==-1&&U<H&&D[U+1]==="!"&&(U=D.indexOf(" ",U+1)),(U===-1||H<U)&&(ie=!0)}ie||(j=`
72
+ ${l.indent}`)}}else(D===""||D[0]===`
73
+ `)&&(j="");return x+=j+D,l.inFlow?C&&c&&c():N&&!C?x+=i.lineComment(x,l.indent,v(N)):S&&d&&d(),x}return Xs.stringifyPair=r,Xs}var Zs={},di={},Qd;function Vh(){if(Qd)return di;Qd=1;var e=rc;function t(i,...r){i==="debug"&&console.log(...r)}function n(i,r){(i==="debug"||i==="warn")&&(typeof e.emitWarning=="function"?e.emitWarning(r):console.warn(r))}return di.debug=t,di.warn=n,di}var xn={},Zd;function Mc(){if(Zd)return xn;Zd=1;var e=fe(),t=Re();const n="<<",i={identify:c=>c===n||typeof c=="symbol"&&c.description===n,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new t.Scalar(Symbol(n)),{addToJSMap:s}),stringify:()=>n},r=(c,d)=>(i.identify(d)||e.isScalar(d)&&(!d.type||d.type===t.Scalar.PLAIN)&&i.identify(d.value))&&c?.doc.schema.tags.some(a=>a.tag===i.tag&&a.default);function s(c,d,a){const p=l(c,a);if(e.isSeq(p))for(const u of p.items)o(c,d,u);else if(Array.isArray(p))for(const u of p)o(c,d,u);else o(c,d,p)}function o(c,d,a){const p=l(c,a);if(!e.isMap(p))throw new Error("Merge sources must be maps or map aliases");const u=p.toJSON(null,c,Map);for(const[f,v]of u)d instanceof Map?d.has(f)||d.set(f,v):d instanceof Set?d.add(f):Object.prototype.hasOwnProperty.call(d,f)||Object.defineProperty(d,f,{value:v,writable:!0,enumerable:!0,configurable:!0});return d}function l(c,d){return c&&e.isAlias(d)?d.resolve(c.doc,c):d}return xn.addMergeToJSMap=s,xn.isMergeKey=r,xn.merge=i,xn}var ef;function Hh(){if(ef)return Zs;ef=1;var e=Vh(),t=Mc(),n=mr(),i=fe(),r=Ct();function s(l,c,{key:d,value:a}){if(i.isNode(d)&&d.addToJSMap)d.addToJSMap(l,c,a);else if(t.isMergeKey(l,d))t.addMergeToJSMap(l,c,a);else{const p=r.toJS(d,"",l);if(c instanceof Map)c.set(p,r.toJS(a,p,l));else if(c instanceof Set)c.add(p);else{const u=o(d,p,l),f=r.toJS(a,u,l);u in c?Object.defineProperty(c,u,{value:f,writable:!0,enumerable:!0,configurable:!0}):c[u]=f}}return c}function o(l,c,d){if(c===null)return"";if(typeof c!="object")return String(c);if(i.isNode(l)&&d?.doc){const a=n.createStringifyContext(d.doc,{});a.anchors=new Set;for(const u of d.anchors.keys())a.anchors.add(u.anchor);a.inFlow=!0,a.inStringifyKey=!0;const p=l.toString(a);if(!d.mapKeyWarned){let u=JSON.stringify(p);u.length>40&&(u=u.substring(0,36)+'..."'),e.warn(d.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${u}. Set mapAsMap: true to use object keys.`),d.mapKeyWarned=!0}return p}return JSON.stringify(c)}return Zs.addPairToJSMap=s,Zs}var tf;function jt(){if(tf)return ui;tf=1;var e=pr(),t=jS(),n=Hh(),i=fe();function r(o,l,c){const d=e.createNode(o,void 0,c),a=e.createNode(l,void 0,c);return new s(d,a)}let s=class Kh{constructor(l,c=null){Object.defineProperty(this,i.NODE_TYPE,{value:i.PAIR}),this.key=l,this.value=c}clone(l){let{key:c,value:d}=this;return i.isNode(c)&&(c=c.clone(l)),i.isNode(d)&&(d=d.clone(l)),new Kh(c,d)}toJSON(l,c){const d=c?.mapAsMap?new Map:{};return n.addPairToJSMap(c,d,this)}toString(l,c,d){return l?.doc?t.stringifyPair(this,l,c,d):JSON.stringify(this)}};return ui.Pair=s,ui.createPair=r,ui}var eo={},to={},fi={},no={},nf;function Gh(){if(nf)return no;nf=1;var e=fe(),t=mr(),n=dr();function i(l,c,d){return(c.inFlow??l.flow?s:r)(l,c,d)}function r({comment:l,items:c},d,{blockItemPrefix:a,flowChars:p,itemIndent:u,onChompKeep:f,onComment:v}){const{indent:m,options:{commentString:h}}=d,y=Object.assign({},d,{indent:u,type:null});let g=!1;const b=[];for(let x=0;x<c.length;++x){const k=c[x];let O=null;if(e.isNode(k))!g&&k.spaceBefore&&b.push(""),o(d,b,k.commentBefore,g),k.comment&&(O=k.comment);else if(e.isPair(k)){const C=e.isNode(k.key)?k.key:null;C&&(!g&&C.spaceBefore&&b.push(""),o(d,b,C.commentBefore,g))}g=!1;let N=t.stringify(k,y,()=>O=null,()=>g=!0);O&&(N+=n.lineComment(N,u,h(O))),g&&O&&(g=!1),b.push(a+N)}let S;if(b.length===0)S=p.start+p.end;else{S=b[0];for(let x=1;x<b.length;++x){const k=b[x];S+=k?`
74
+ ${m}${k}`:`
75
+ `}}return l?(S+=`
76
+ `+n.indentComment(h(l),m),v&&v()):g&&f&&f(),S}function s({items:l},c,{flowChars:d,itemIndent:a}){const{indent:p,indentStep:u,flowCollectionPadding:f,options:{commentString:v}}=c;a+=u;const m=Object.assign({},c,{indent:a,inFlow:!0,type:null});let h=!1,y=0;const g=[];for(let x=0;x<l.length;++x){const k=l[x];let O=null;if(e.isNode(k))k.spaceBefore&&g.push(""),o(c,g,k.commentBefore,!1),k.comment&&(O=k.comment);else if(e.isPair(k)){const C=e.isNode(k.key)?k.key:null;C&&(C.spaceBefore&&g.push(""),o(c,g,C.commentBefore,!1),C.comment&&(h=!0));const D=e.isNode(k.value)?k.value:null;D?(D.comment&&(O=D.comment),D.commentBefore&&(h=!0)):k.value==null&&C?.comment&&(O=C.comment)}O&&(h=!0);let N=t.stringify(k,m,()=>O=null);h||(h=g.length>y||N.includes(`
77
+ `)),x<l.length-1?N+=",":c.options.trailingComma&&(c.options.lineWidth>0&&(h||(h=g.reduce((C,D)=>C+D.length+2,2)+(N.length+2)>c.options.lineWidth)),h&&(N+=",")),O&&(N+=n.lineComment(N,a,v(O))),g.push(N),y=g.length}const{start:b,end:S}=d;if(g.length===0)return b+S;if(!h){const x=g.reduce((k,O)=>k+O.length+2,2);h=c.options.lineWidth>0&&x>c.options.lineWidth}if(h){let x=b;for(const k of g)x+=k?`
78
+ ${u}${p}${k}`:`
79
+ `;return`${x}
80
+ ${p}${S}`}else return`${b}${f}${g.join(" ")}${f}${S}`}function o({indent:l,options:{commentString:c}},d,a,p){if(a&&p&&(a=a.replace(/^\n+/,"")),a){const u=n.indentComment(c(a),l);d.push(u.trimStart())}}return no.stringifyCollection=i,no}var rf;function It(){if(rf)return fi;rf=1;var e=Gh(),t=Hh(),n=Fc(),i=fe(),r=jt(),s=Re();function o(c,d){const a=i.isScalar(d)?d.value:d;for(const p of c)if(i.isPair(p)&&(p.key===d||p.key===a||i.isScalar(p.key)&&p.key.value===a))return p}let l=class extends n.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(d){super(i.MAP,d),this.items=[]}static from(d,a,p){const{keepUndefined:u,replacer:f}=p,v=new this(d),m=(h,y)=>{if(typeof f=="function")y=f.call(a,h,y);else if(Array.isArray(f)&&!f.includes(h))return;(y!==void 0||u)&&v.items.push(r.createPair(h,y,p))};if(a instanceof Map)for(const[h,y]of a)m(h,y);else if(a&&typeof a=="object")for(const h of Object.keys(a))m(h,a[h]);return typeof d.sortMapEntries=="function"&&v.items.sort(d.sortMapEntries),v}add(d,a){let p;i.isPair(d)?p=d:!d||typeof d!="object"||!("key"in d)?p=new r.Pair(d,d?.value):p=new r.Pair(d.key,d.value);const u=o(this.items,p.key),f=this.schema?.sortMapEntries;if(u){if(!a)throw new Error(`Key ${p.key} already set`);i.isScalar(u.value)&&s.isScalarValue(p.value)?u.value.value=p.value:u.value=p.value}else if(f){const v=this.items.findIndex(m=>f(p,m)<0);v===-1?this.items.push(p):this.items.splice(v,0,p)}else this.items.push(p)}delete(d){const a=o(this.items,d);return a?this.items.splice(this.items.indexOf(a),1).length>0:!1}get(d,a){const u=o(this.items,d)?.value;return(!a&&i.isScalar(u)?u.value:u)??void 0}has(d){return!!o(this.items,d)}set(d,a){this.add(new r.Pair(d,a),!0)}toJSON(d,a,p){const u=p?new p:a?.mapAsMap?new Map:{};a?.onCreate&&a.onCreate(u);for(const f of this.items)t.addPairToJSMap(a,u,f);return u}toString(d,a,p){if(!d)return JSON.stringify(this);for(const u of this.items)if(!i.isPair(u))throw new Error(`Map items must all be pairs; found ${JSON.stringify(u)} instead`);return!d.allNullValues&&this.hasAllNullValues(!1)&&(d=Object.assign({},d,{allNullValues:!0})),e.stringifyCollection(this,d,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:d.indent||"",onChompKeep:p,onComment:a})}};return fi.YAMLMap=l,fi.findPair=o,fi}var af;function Dn(){if(af)return to;af=1;var e=fe(),t=It();const n={collection:"map",default:!0,nodeClass:t.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(i,r){return e.isMap(i)||r("Expected a mapping for this tag"),i},createNode:(i,r,s)=>t.YAMLMap.from(i,r,s)};return to.map=n,to}var io={},ro={},sf;function Lt(){if(sf)return ro;sf=1;var e=pr(),t=Gh(),n=Fc(),i=fe(),r=Re(),s=Ct();let o=class extends n.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(d){super(i.SEQ,d),this.items=[]}add(d){this.items.push(d)}delete(d){const a=l(d);return typeof a!="number"?!1:this.items.splice(a,1).length>0}get(d,a){const p=l(d);if(typeof p!="number")return;const u=this.items[p];return!a&&i.isScalar(u)?u.value:u}has(d){const a=l(d);return typeof a=="number"&&a<this.items.length}set(d,a){const p=l(d);if(typeof p!="number")throw new Error(`Expected a valid index, not ${d}.`);const u=this.items[p];i.isScalar(u)&&r.isScalarValue(a)?u.value=a:this.items[p]=a}toJSON(d,a){const p=[];a?.onCreate&&a.onCreate(p);let u=0;for(const f of this.items)p.push(s.toJS(f,String(u++),a));return p}toString(d,a,p){return d?t.stringifyCollection(this,d,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(d.indent||"")+" ",onChompKeep:p,onComment:a}):JSON.stringify(this)}static from(d,a,p){const{replacer:u}=p,f=new this(d);if(a&&Symbol.iterator in Object(a)){let v=0;for(let m of a){if(typeof u=="function"){const h=a instanceof Set?m:String(v++);m=u.call(a,h,m)}f.items.push(e.createNode(m,void 0,p))}}return f}};function l(c){let d=i.isScalar(c)?c.value:c;return d&&typeof d=="string"&&(d=Number(d)),typeof d=="number"&&Number.isInteger(d)&&d>=0?d:null}return ro.YAMLSeq=o,ro}var of;function Fn(){if(of)return io;of=1;var e=fe(),t=Lt();const n={collection:"seq",default:!0,nodeClass:t.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(i,r){return e.isSeq(i)||r("Expected a sequence for this tag"),i},createNode:(i,r,s)=>t.YAMLSeq.from(i,r,s)};return io.seq=n,io}var ao={},cf;function hr(){if(cf)return ao;cf=1;var e=fr();const t={identify:n=>typeof n=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:n=>n,stringify(n,i,r,s){return i=Object.assign({actualString:!0},i),e.stringifyString(n,i,r,s)}};return ao.string=t,ao}var mi={},so={},lf;function Uc(){if(lf)return so;lf=1;var e=Re();const t={identify:n=>n==null,createNode:()=>new e.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new e.Scalar(null),stringify:({source:n},i)=>typeof n=="string"&&t.test.test(n)?n:i.options.nullStr};return so.nullTag=t,so}var oo={},uf;function Wh(){if(uf)return oo;uf=1;var e=Re();const t={identify:n=>typeof n=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:n=>new e.Scalar(n[0]==="t"||n[0]==="T"),stringify({source:n,value:i},r){if(n&&t.test.test(n)){const s=n[0]==="t"||n[0]==="T";if(i===s)return n}return i?r.options.trueStr:r.options.falseStr}};return oo.boolTag=t,oo}var bn={},co={},pf;function Mn(){if(pf)return co;pf=1;function e({format:t,minFractionDigits:n,tag:i,value:r}){if(typeof r=="bigint")return String(r);const s=typeof r=="number"?r:Number(r);if(!isFinite(s))return isNaN(s)?".nan":s<0?"-.inf":".inf";let o=Object.is(r,-0)?"-0":JSON.stringify(r);if(!t&&n&&(!i||i==="tag:yaml.org,2002:float")&&/^-?\d/.test(o)&&!o.includes("e")){let l=o.indexOf(".");l<0&&(l=o.length,o+=".");let c=n-(o.length-l-1);for(;c-- >0;)o+="0"}return o}return co.stringifyNumber=e,co}var df;function Yh(){if(df)return bn;df=1;var e=Re(),t=Mn();const n={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:s=>s.slice(-3).toLowerCase()==="nan"?NaN:s[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:t.stringifyNumber},i={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:s=>parseFloat(s),stringify(s){const o=Number(s.value);return isFinite(o)?o.toExponential():t.stringifyNumber(s)}},r={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(s){const o=new e.Scalar(parseFloat(s)),l=s.indexOf(".");return l!==-1&&s[s.length-1]==="0"&&(o.minFractionDigits=s.length-l-1),o},stringify:t.stringifyNumber};return bn.float=r,bn.floatExp=i,bn.floatNaN=n,bn}var wn={},ff;function Jh(){if(ff)return wn;ff=1;var e=Mn();const t=l=>typeof l=="bigint"||Number.isInteger(l),n=(l,c,d,{intAsBigInt:a})=>a?BigInt(l):parseInt(l.substring(c),d);function i(l,c,d){const{value:a}=l;return t(a)&&a>=0?d+a.toString(c):e.stringifyNumber(l)}const r={identify:l=>t(l)&&l>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(l,c,d)=>n(l,2,8,d),stringify:l=>i(l,8,"0o")},s={identify:t,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(l,c,d)=>n(l,0,10,d),stringify:e.stringifyNumber},o={identify:l=>t(l)&&l>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(l,c,d)=>n(l,2,16,d),stringify:l=>i(l,16,"0x")};return wn.int=s,wn.intHex=o,wn.intOct=r,wn}var lo={},mf;function IS(){if(mf)return lo;mf=1;var e=Dn(),t=Uc(),n=Fn(),i=hr(),r=Wh(),s=Yh(),o=Jh();const l=[e.map,n.seq,i.string,t.nullTag,r.boolTag,o.intOct,o.int,o.intHex,s.floatNaN,s.floatExp,s.float];return lo.schema=l,lo}var uo={},hf;function LS(){if(hf)return uo;hf=1;var e=Re(),t=Dn(),n=Fn();function i(c){return typeof c=="bigint"||Number.isInteger(c)}const r=({value:c})=>JSON.stringify(c),s=[{identify:c=>typeof c=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:c=>c,stringify:r},{identify:c=>c==null,createNode:()=>new e.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:r},{identify:c=>typeof c=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:c=>c==="true",stringify:r},{identify:i,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(c,d,{intAsBigInt:a})=>a?BigInt(c):parseInt(c,10),stringify:({value:c})=>i(c)?c.toString():JSON.stringify(c)},{identify:c=>typeof c=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:c=>parseFloat(c),stringify:r}],o={default:!0,tag:"",test:/^/,resolve(c,d){return d(`Unresolved plain scalar ${JSON.stringify(c)}`),c}},l=[t.map,n.seq].concat(s,o);return uo.schema=l,uo}var po={},vf;function Xh(){if(vf)return po;vf=1;var e=Rv,t=Re(),n=fr();const i={identify:r=>r instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(r,s){if(typeof e.Buffer=="function")return e.Buffer.from(r,"base64");if(typeof atob=="function"){const o=atob(r.replace(/[\n\r]/g,"")),l=new Uint8Array(o.length);for(let c=0;c<o.length;++c)l[c]=o.charCodeAt(c);return l}else return s("This environment does not support reading binary tags; either Buffer or atob is required"),r},stringify({comment:r,type:s,value:o},l,c,d){if(!o)return"";const a=o;let p;if(typeof e.Buffer=="function")p=a instanceof e.Buffer?a.toString("base64"):e.Buffer.from(a.buffer).toString("base64");else if(typeof btoa=="function"){let u="";for(let f=0;f<a.length;++f)u+=String.fromCharCode(a[f]);p=btoa(u)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(s??(s=t.Scalar.BLOCK_LITERAL),s!==t.Scalar.QUOTE_DOUBLE){const u=Math.max(l.options.lineWidth-l.indent.length,l.options.minContentWidth),f=Math.ceil(p.length/u),v=new Array(f);for(let m=0,h=0;m<f;++m,h+=u)v[m]=p.substr(h,u);p=v.join(s===t.Scalar.BLOCK_LITERAL?`
81
+ `:" ")}return n.stringifyString({comment:r,type:s,value:p},l,c,d)}};return po.binary=i,po}var hi={},Sn={},gf;function zc(){if(gf)return Sn;gf=1;var e=fe(),t=jt(),n=Re(),i=Lt();function r(l,c){if(e.isSeq(l))for(let d=0;d<l.items.length;++d){let a=l.items[d];if(!e.isPair(a)){if(e.isMap(a)){a.items.length>1&&c("Each pair must have its own sequence indicator");const p=a.items[0]||new t.Pair(new n.Scalar(null));if(a.commentBefore&&(p.key.commentBefore=p.key.commentBefore?`${a.commentBefore}
82
+ ${p.key.commentBefore}`:a.commentBefore),a.comment){const u=p.value??p.key;u.comment=u.comment?`${a.comment}
83
+ ${u.comment}`:a.comment}a=p}l.items[d]=e.isPair(a)?a:new t.Pair(a)}}else c("Expected a sequence for this tag");return l}function s(l,c,d){const{replacer:a}=d,p=new i.YAMLSeq(l);p.tag="tag:yaml.org,2002:pairs";let u=0;if(c&&Symbol.iterator in Object(c))for(let f of c){typeof a=="function"&&(f=a.call(c,String(u++),f));let v,m;if(Array.isArray(f))if(f.length===2)v=f[0],m=f[1];else throw new TypeError(`Expected [key, value] tuple: ${f}`);else if(f&&f instanceof Object){const h=Object.keys(f);if(h.length===1)v=h[0],m=f[v];else throw new TypeError(`Expected tuple with one key, not ${h.length} keys`)}else v=f;p.items.push(t.createPair(v,m,d))}return p}const o={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:r,createNode:s};return Sn.createPairs=s,Sn.pairs=o,Sn.resolvePairs=r,Sn}var yf;function Qh(){if(yf)return hi;yf=1;var e=fe(),t=Ct(),n=It(),i=Lt(),r=zc();class s extends i.YAMLSeq{constructor(){super(),this.add=n.YAMLMap.prototype.add.bind(this),this.delete=n.YAMLMap.prototype.delete.bind(this),this.get=n.YAMLMap.prototype.get.bind(this),this.has=n.YAMLMap.prototype.has.bind(this),this.set=n.YAMLMap.prototype.set.bind(this),this.tag=s.tag}toJSON(c,d){if(!d)return super.toJSON(c);const a=new Map;d?.onCreate&&d.onCreate(a);for(const p of this.items){let u,f;if(e.isPair(p)?(u=t.toJS(p.key,"",d),f=t.toJS(p.value,u,d)):u=t.toJS(p,"",d),a.has(u))throw new Error("Ordered maps must not include duplicate keys");a.set(u,f)}return a}static from(c,d,a){const p=r.createPairs(c,d,a),u=new this;return u.items=p.items,u}}s.tag="tag:yaml.org,2002:omap";const o={collection:"seq",identify:l=>l instanceof Map,nodeClass:s,default:!1,tag:"tag:yaml.org,2002:omap",resolve(l,c){const d=r.resolvePairs(l,c),a=[];for(const{key:p}of d.items)e.isScalar(p)&&(a.includes(p.value)?c(`Ordered maps must not include duplicate keys: ${p.value}`):a.push(p.value));return Object.assign(new s,d)},createNode:(l,c,d)=>s.from(l,c,d)};return hi.YAMLOMap=s,hi.omap=o,hi}var fo={},vi={},xf;function qS(){if(xf)return vi;xf=1;var e=Re();function t({value:r,source:s},o){return s&&(r?n:i).test.test(s)?s:r?o.options.trueStr:o.options.falseStr}const n={identify:r=>r===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new e.Scalar(!0),stringify:t},i={identify:r=>r===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new e.Scalar(!1),stringify:t};return vi.falseTag=i,vi.trueTag=n,vi}var En={},bf;function DS(){if(bf)return En;bf=1;var e=Re(),t=Mn();const n={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:s=>s.slice(-3).toLowerCase()==="nan"?NaN:s[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:t.stringifyNumber},i={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:s=>parseFloat(s.replace(/_/g,"")),stringify(s){const o=Number(s.value);return isFinite(o)?o.toExponential():t.stringifyNumber(s)}},r={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(s){const o=new e.Scalar(parseFloat(s.replace(/_/g,""))),l=s.indexOf(".");if(l!==-1){const c=s.substring(l+1).replace(/_/g,"");c[c.length-1]==="0"&&(o.minFractionDigits=c.length)}return o},stringify:t.stringifyNumber};return En.float=r,En.floatExp=i,En.floatNaN=n,En}var Bt={},wf;function FS(){if(wf)return Bt;wf=1;var e=Mn();const t=c=>typeof c=="bigint"||Number.isInteger(c);function n(c,d,a,{intAsBigInt:p}){const u=c[0];if((u==="-"||u==="+")&&(d+=1),c=c.substring(d).replace(/_/g,""),p){switch(a){case 2:c=`0b${c}`;break;case 8:c=`0o${c}`;break;case 16:c=`0x${c}`;break}const v=BigInt(c);return u==="-"?BigInt(-1)*v:v}const f=parseInt(c,a);return u==="-"?-1*f:f}function i(c,d,a){const{value:p}=c;if(t(p)){const u=p.toString(d);return p<0?"-"+a+u.substr(1):a+u}return e.stringifyNumber(c)}const r={identify:t,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(c,d,a)=>n(c,2,2,a),stringify:c=>i(c,2,"0b")},s={identify:t,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(c,d,a)=>n(c,1,8,a),stringify:c=>i(c,8,"0")},o={identify:t,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(c,d,a)=>n(c,0,10,a),stringify:e.stringifyNumber},l={identify:t,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(c,d,a)=>n(c,2,16,a),stringify:c=>i(c,16,"0x")};return Bt.int=o,Bt.intBin=r,Bt.intHex=l,Bt.intOct=s,Bt}var gi={},Sf;function Zh(){if(Sf)return gi;Sf=1;var e=fe(),t=jt(),n=It();class i extends n.YAMLMap{constructor(o){super(o),this.tag=i.tag}add(o){let l;e.isPair(o)?l=o:o&&typeof o=="object"&&"key"in o&&"value"in o&&o.value===null?l=new t.Pair(o.key,null):l=new t.Pair(o,null),n.findPair(this.items,l.key)||this.items.push(l)}get(o,l){const c=n.findPair(this.items,o);return!l&&e.isPair(c)?e.isScalar(c.key)?c.key.value:c.key:c}set(o,l){if(typeof l!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof l}`);const c=n.findPair(this.items,o);c&&!l?this.items.splice(this.items.indexOf(c),1):!c&&l&&this.items.push(new t.Pair(o))}toJSON(o,l){return super.toJSON(o,l,Set)}toString(o,l,c){if(!o)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},o,{allNullValues:!0}),l,c);throw new Error("Set items must all have null values")}static from(o,l,c){const{replacer:d}=c,a=new this(o);if(l&&Symbol.iterator in Object(l))for(let p of l)typeof d=="function"&&(p=d.call(l,p,p)),a.items.push(t.createPair(p,null,c));return a}}i.tag="tag:yaml.org,2002:set";const r={collection:"map",identify:s=>s instanceof Set,nodeClass:i,default:!1,tag:"tag:yaml.org,2002:set",createNode:(s,o,l)=>i.from(s,o,l),resolve(s,o){if(e.isMap(s)){if(s.hasAllNullValues(!0))return Object.assign(new i,s);o("Set items must all have null values")}else o("Expected a mapping for this tag");return s}};return gi.YAMLSet=i,gi.set=r,gi}var _n={},Ef;function ev(){if(Ef)return _n;Ef=1;var e=Mn();function t(o,l){const c=o[0],d=c==="-"||c==="+"?o.substring(1):o,a=u=>l?BigInt(u):Number(u),p=d.replace(/_/g,"").split(":").reduce((u,f)=>u*a(60)+a(f),a(0));return c==="-"?a(-1)*p:p}function n(o){let{value:l}=o,c=u=>u;if(typeof l=="bigint")c=u=>BigInt(u);else if(isNaN(l)||!isFinite(l))return e.stringifyNumber(o);let d="";l<0&&(d="-",l*=c(-1));const a=c(60),p=[l%a];return l<60?p.unshift(0):(l=(l-p[0])/a,p.unshift(l%a),l>=60&&(l=(l-p[0])/a,p.unshift(l))),d+p.map(u=>String(u).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const i={identify:o=>typeof o=="bigint"||Number.isInteger(o),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(o,l,{intAsBigInt:c})=>t(o,c),stringify:n},r={identify:o=>typeof o=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:o=>t(o,!1),stringify:n},s={identify:o=>o instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(o){const l=o.match(s.test);if(!l)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,c,d,a,p,u,f]=l.map(Number),v=l[7]?Number((l[7]+"00").substr(1,3)):0;let m=Date.UTC(c,d-1,a,p||0,u||0,f||0,v);const h=l[8];if(h&&h!=="Z"){let y=t(h,!1);Math.abs(y)<30&&(y*=60),m-=6e4*y}return new Date(m)},stringify:({value:o})=>o?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};return _n.floatTime=r,_n.intTime=i,_n.timestamp=s,_n}var _f;function MS(){if(_f)return fo;_f=1;var e=Dn(),t=Uc(),n=Fn(),i=hr(),r=Xh(),s=qS(),o=DS(),l=FS(),c=Mc(),d=Qh(),a=zc(),p=Zh(),u=ev();const f=[e.map,n.seq,i.string,t.nullTag,s.trueTag,s.falseTag,l.intBin,l.intOct,l.int,l.intHex,o.floatNaN,o.floatExp,o.float,r.binary,c.merge,d.omap,a.pairs,p.set,u.intTime,u.floatTime,u.timestamp];return fo.schema=f,fo}var Rf;function US(){if(Rf)return mi;Rf=1;var e=Dn(),t=Uc(),n=Fn(),i=hr(),r=Wh(),s=Yh(),o=Jh(),l=IS(),c=LS(),d=Xh(),a=Mc(),p=Qh(),u=zc(),f=MS(),v=Zh(),m=ev();const h=new Map([["core",l.schema],["failsafe",[e.map,n.seq,i.string]],["json",c.schema],["yaml11",f.schema],["yaml-1.1",f.schema]]),y={binary:d.binary,bool:r.boolTag,float:s.float,floatExp:s.floatExp,floatNaN:s.floatNaN,floatTime:m.floatTime,int:o.int,intHex:o.intHex,intOct:o.intOct,intTime:m.intTime,map:e.map,merge:a.merge,null:t.nullTag,omap:p.omap,pairs:u.pairs,seq:n.seq,set:v.set,timestamp:m.timestamp},g={"tag:yaml.org,2002:binary":d.binary,"tag:yaml.org,2002:merge":a.merge,"tag:yaml.org,2002:omap":p.omap,"tag:yaml.org,2002:pairs":u.pairs,"tag:yaml.org,2002:set":v.set,"tag:yaml.org,2002:timestamp":m.timestamp};function b(S,x,k){const O=h.get(x);if(O&&!S)return k&&!O.includes(a.merge)?O.concat(a.merge):O.slice();let N=O;if(!N)if(Array.isArray(S))N=[];else{const C=Array.from(h.keys()).filter(D=>D!=="yaml11").map(D=>JSON.stringify(D)).join(", ");throw new Error(`Unknown schema "${x}"; use one of ${C} or define customTags array`)}if(Array.isArray(S))for(const C of S)N=N.concat(C);else typeof S=="function"&&(N=S(N.slice()));return k&&(N=N.concat(a.merge)),N.reduce((C,D)=>{const j=typeof D=="string"?y[D]:D;if(!j){const M=JSON.stringify(D),H=Object.keys(y).map(V=>JSON.stringify(V)).join(", ");throw new Error(`Unknown custom tag ${M}; use one of ${H}`)}return C.includes(j)||C.push(j),C},[])}return mi.coreKnownTags=g,mi.getTags=b,mi}var kf;function nv(){if(kf)return eo;kf=1;var e=fe(),t=Dn(),n=Fn(),i=hr(),r=US();const s=(l,c)=>l.key<c.key?-1:l.key>c.key?1:0;let o=class tv{constructor({compat:c,customTags:d,merge:a,resolveKnownTags:p,schema:u,sortMapEntries:f,toStringDefaults:v}){this.compat=Array.isArray(c)?r.getTags(c,"compat"):c?r.getTags(null,c):null,this.name=typeof u=="string"&&u||"core",this.knownTags=p?r.coreKnownTags:{},this.tags=r.getTags(d,this.name,a),this.toStringOptions=v??null,Object.defineProperty(this,e.MAP,{value:t.map}),Object.defineProperty(this,e.SCALAR,{value:i.string}),Object.defineProperty(this,e.SEQ,{value:n.seq}),this.sortMapEntries=typeof f=="function"?f:f===!0?s:null}clone(){const c=Object.create(tv.prototype,Object.getOwnPropertyDescriptors(this));return c.tags=this.tags.slice(),c}};return eo.Schema=o,eo}var mo={},Af;function zS(){if(Af)return mo;Af=1;var e=fe(),t=mr(),n=dr();function i(r,s){const o=[];let l=s.directives===!0;if(s.directives!==!1&&r.directives){const u=r.directives.toString(r);u?(o.push(u),l=!0):r.directives.docStart&&(l=!0)}l&&o.push("---");const c=t.createStringifyContext(r,s),{commentString:d}=c.options;if(r.commentBefore){o.length!==1&&o.unshift("");const u=d(r.commentBefore);o.unshift(n.indentComment(u,""))}let a=!1,p=null;if(r.contents){if(e.isNode(r.contents)){if(r.contents.spaceBefore&&l&&o.push(""),r.contents.commentBefore){const v=d(r.contents.commentBefore);o.push(n.indentComment(v,""))}c.forceBlockIndent=!!r.comment,p=r.contents.comment}const u=p?void 0:()=>a=!0;let f=t.stringify(r.contents,c,()=>p=null,u);p&&(f+=n.lineComment(f,"",d(p))),(f[0]==="|"||f[0]===">")&&o[o.length-1]==="---"?o[o.length-1]=`--- ${f}`:o.push(f)}else o.push(t.stringify(r.contents,c));if(r.directives?.docEnd)if(r.comment){const u=d(r.comment);u.includes(`
84
+ `)?(o.push("..."),o.push(n.indentComment(u,""))):o.push(`... ${u}`)}else o.push("...");else{let u=r.comment;u&&a&&(u=u.replace(/^\n+/,"")),u&&((!a||p)&&o[o.length-1]!==""&&o.push(""),o.push(n.indentComment(d(u),"")))}return o.join(`
85
+ `)+`
86
+ `}return mo.stringifyDocument=i,mo}var $f;function vr(){if($f)return Hs;$f=1;var e=ur(),t=Fc(),n=fe(),i=jt(),r=Ct(),s=nv(),o=zS(),l=qc(),c=Bh(),d=pr(),a=zh();let p=class iv{constructor(v,m,h){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,n.NODE_TYPE,{value:n.DOC});let y=null;typeof m=="function"||Array.isArray(m)?y=m:h===void 0&&m&&(h=m,m=void 0);const g=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},h);this.options=g;let{version:b}=g;h?._directives?(this.directives=h._directives.atDocument(),this.directives.yaml.explicit&&(b=this.directives.yaml.version)):this.directives=new a.Directives({version:b}),this.setSchema(b,h),this.contents=v===void 0?null:this.createNode(v,y,h)}clone(){const v=Object.create(iv.prototype,{[n.NODE_TYPE]:{value:n.DOC}});return v.commentBefore=this.commentBefore,v.comment=this.comment,v.errors=this.errors.slice(),v.warnings=this.warnings.slice(),v.options=Object.assign({},this.options),this.directives&&(v.directives=this.directives.clone()),v.schema=this.schema.clone(),v.contents=n.isNode(this.contents)?this.contents.clone(v.schema):this.contents,this.range&&(v.range=this.range.slice()),v}add(v){u(this.contents)&&this.contents.add(v)}addIn(v,m){u(this.contents)&&this.contents.addIn(v,m)}createAlias(v,m){if(!v.anchor){const h=l.anchorNames(this);v.anchor=!m||h.has(m)?l.findNewAnchor(m||"a",h):m}return new e.Alias(v.anchor)}createNode(v,m,h){let y;if(typeof m=="function")v=m.call({"":v},"",v),y=m;else if(Array.isArray(m)){const H=Q=>typeof Q=="number"||Q instanceof String||Q instanceof Number,V=m.filter(H).map(String);V.length>0&&(m=m.concat(V)),y=m}else h===void 0&&m&&(h=m,m=void 0);const{aliasDuplicateObjects:g,anchorPrefix:b,flow:S,keepUndefined:x,onTagObj:k,tag:O}=h??{},{onAnchor:N,setAnchors:C,sourceObjects:D}=l.createNodeAnchors(this,b||"a"),j={aliasDuplicateObjects:g??!0,keepUndefined:x??!1,onAnchor:N,onTagObj:k,replacer:y,schema:this.schema,sourceObjects:D},M=d.createNode(v,O,j);return S&&n.isCollection(M)&&(M.flow=!0),C(),M}createPair(v,m,h={}){const y=this.createNode(v,null,h),g=this.createNode(m,null,h);return new i.Pair(y,g)}delete(v){return u(this.contents)?this.contents.delete(v):!1}deleteIn(v){return t.isEmptyPath(v)?this.contents==null?!1:(this.contents=null,!0):u(this.contents)?this.contents.deleteIn(v):!1}get(v,m){return n.isCollection(this.contents)?this.contents.get(v,m):void 0}getIn(v,m){return t.isEmptyPath(v)?!m&&n.isScalar(this.contents)?this.contents.value:this.contents:n.isCollection(this.contents)?this.contents.getIn(v,m):void 0}has(v){return n.isCollection(this.contents)?this.contents.has(v):!1}hasIn(v){return t.isEmptyPath(v)?this.contents!==void 0:n.isCollection(this.contents)?this.contents.hasIn(v):!1}set(v,m){this.contents==null?this.contents=t.collectionFromPath(this.schema,[v],m):u(this.contents)&&this.contents.set(v,m)}setIn(v,m){t.isEmptyPath(v)?this.contents=m:this.contents==null?this.contents=t.collectionFromPath(this.schema,Array.from(v),m):u(this.contents)&&this.contents.setIn(v,m)}setSchema(v,m={}){typeof v=="number"&&(v=String(v));let h;switch(v){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new a.Directives({version:"1.1"}),h={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=v:this.directives=new a.Directives({version:v}),h={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,h=null;break;default:{const y=JSON.stringify(v);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${y}`)}}if(m.schema instanceof Object)this.schema=m.schema;else if(h)this.schema=new s.Schema(Object.assign(h,m));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:v,jsonArg:m,mapAsMap:h,maxAliasCount:y,onAnchor:g,reviver:b}={}){const S={anchors:new Map,doc:this,keep:!v,mapAsMap:h===!0,mapKeyWarned:!1,maxAliasCount:typeof y=="number"?y:100},x=r.toJS(this.contents,m??"",S);if(typeof g=="function")for(const{count:k,res:O}of S.anchors.values())g(O,k);return typeof b=="function"?c.applyReviver(b,{"":x},"",x):x}toJSON(v,m){return this.toJS({json:!0,jsonArg:v,mapAsMap:!1,onAnchor:m})}toString(v={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in v&&(!Number.isInteger(v.indent)||Number(v.indent)<=0)){const m=JSON.stringify(v.indent);throw new Error(`"indent" option must be a positive integer, not ${m}`)}return o.stringifyDocument(this,v)}};function u(f){if(n.isCollection(f))return!0;throw new Error("Expected a YAML collection as document contents")}return Hs.Document=p,Hs}var Vt={},Of;function gr(){if(Of)return Vt;Of=1;class e extends Error{constructor(s,o,l,c){super(),this.name=s,this.code=l,this.message=c,this.pos=o}}class t extends e{constructor(s,o,l){super("YAMLParseError",s,o,l)}}class n extends e{constructor(s,o,l){super("YAMLWarning",s,o,l)}}const i=(r,s)=>o=>{if(o.pos[0]===-1)return;o.linePos=o.pos.map(p=>s.linePos(p));const{line:l,col:c}=o.linePos[0];o.message+=` at line ${l}, column ${c}`;let d=c-1,a=r.substring(s.lineStarts[l-1],s.lineStarts[l]).replace(/[\n\r]+$/,"");if(d>=60&&a.length>80){const p=Math.min(d-39,a.length-79);a="…"+a.substring(p),d-=p-1}if(a.length>80&&(a=a.substring(0,79)+"…"),l>1&&/^ *$/.test(a.substring(0,d))){let p=r.substring(s.lineStarts[l-2],s.lineStarts[l-1]);p.length>80&&(p=p.substring(0,79)+`…
87
+ `),a=p+a}if(/[^ ]/.test(a)){let p=1;const u=o.linePos[1];u?.line===l&&u.col>c&&(p=Math.max(1,Math.min(u.col-c,80-d)));const f=" ".repeat(d)+"^".repeat(p);o.message+=`:
88
+
89
+ ${a}
90
+ ${f}
91
+ `}};return Vt.YAMLError=e,Vt.YAMLParseError=t,Vt.YAMLWarning=n,Vt.prettifyError=i,Vt}var ho={},yi={},vo={},go={},yo={},Pf;function yr(){if(Pf)return yo;Pf=1;function e(t,{flow:n,indicator:i,next:r,offset:s,onError:o,parentIndent:l,startOnNewline:c}){let d=!1,a=c,p=c,u="",f="",v=!1,m=!1,h=null,y=null,g=null,b=null,S=null,x=null,k=null;for(const C of t)switch(m&&(C.type!=="space"&&C.type!=="newline"&&C.type!=="comma"&&o(C.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m=!1),h&&(a&&C.type!=="comment"&&C.type!=="newline"&&o(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),h=null),C.type){case"space":!n&&(i!=="doc-start"||r?.type!=="flow-collection")&&C.source.includes(" ")&&(h=C),p=!0;break;case"comment":{p||o(C,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const D=C.source.substring(1)||" ";u?u+=f+D:u=D,f="",a=!1;break}case"newline":a?u?u+=C.source:(!x||i!=="seq-item-ind")&&(d=!0):f+=C.source,a=!0,v=!0,(y||g)&&(b=C),p=!0;break;case"anchor":y&&o(C,"MULTIPLE_ANCHORS","A node can have at most one anchor"),C.source.endsWith(":")&&o(C.offset+C.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),y=C,k??(k=C.offset),a=!1,p=!1,m=!0;break;case"tag":{g&&o(C,"MULTIPLE_TAGS","A node can have at most one tag"),g=C,k??(k=C.offset),a=!1,p=!1,m=!0;break}case i:(y||g)&&o(C,"BAD_PROP_ORDER",`Anchors and tags must be after the ${C.source} indicator`),x&&o(C,"UNEXPECTED_TOKEN",`Unexpected ${C.source} in ${n??"collection"}`),x=C,a=i==="seq-item-ind"||i==="explicit-key-ind",p=!1;break;case"comma":if(n){S&&o(C,"UNEXPECTED_TOKEN",`Unexpected , in ${n}`),S=C,a=!1,p=!1;break}default:o(C,"UNEXPECTED_TOKEN",`Unexpected ${C.type} token`),a=!1,p=!1}const O=t[t.length-1],N=O?O.offset+O.source.length:s;return m&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&o(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h&&(a&&h.indent<=l||r?.type==="block-map"||r?.type==="block-seq")&&o(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:S,found:x,spaceBefore:d,comment:u,hasNewline:v,anchor:y,tag:g,newlineAfterProp:b,end:N,start:k??N}}return yo.resolveProps=e,yo}var xo={},Tf;function Bc(){if(Tf)return xo;Tf=1;function e(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes(`
92
+ `))return!0;if(t.end){for(const n of t.end)if(n.type==="newline")return!0}return!1;case"flow-collection":for(const n of t.items){for(const i of n.start)if(i.type==="newline")return!0;if(n.sep){for(const i of n.sep)if(i.type==="newline")return!0}if(e(n.key)||e(n.value))return!0}return!1;default:return!0}}return xo.containsNewline=e,xo}var bo={},Nf;function rv(){if(Nf)return bo;Nf=1;var e=Bc();function t(n,i,r){if(i?.type==="flow-collection"){const s=i.end[0];s.indent===n&&(s.source==="]"||s.source==="}")&&e.containsNewline(i)&&r(s,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}return bo.flowIndentCheck=t,bo}var wo={},Cf;function av(){if(Cf)return wo;Cf=1;var e=fe();function t(n,i,r){const{uniqueKeys:s}=n.options;if(s===!1)return!1;const o=typeof s=="function"?s:(l,c)=>l===c||e.isScalar(l)&&e.isScalar(c)&&l.value===c.value;return i.some(l=>o(l.key,r))}return wo.mapIncludes=t,wo}var jf;function BS(){if(jf)return go;jf=1;var e=jt(),t=It(),n=yr(),i=Bc(),r=rv(),s=av();const o="All mapping items must start at the same column";function l({composeNode:c,composeEmptyNode:d},a,p,u,f){const v=f?.nodeClass??t.YAMLMap,m=new v(a.schema);a.atRoot&&(a.atRoot=!1);let h=p.offset,y=null;for(const g of p.items){const{start:b,key:S,sep:x,value:k}=g,O=n.resolveProps(b,{indicator:"explicit-key-ind",next:S??x?.[0],offset:h,onError:u,parentIndent:p.indent,startOnNewline:!0}),N=!O.found;if(N){if(S&&(S.type==="block-seq"?u(h,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in S&&S.indent!==p.indent&&u(h,"BAD_INDENT",o)),!O.anchor&&!O.tag&&!x){y=O.end,O.comment&&(m.comment?m.comment+=`
93
+ `+O.comment:m.comment=O.comment);continue}(O.newlineAfterProp||i.containsNewline(S))&&u(S??b[b.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else O.found?.indent!==p.indent&&u(h,"BAD_INDENT",o);a.atKey=!0;const C=O.end,D=S?c(a,S,O,u):d(a,C,b,null,O,u);a.schema.compat&&r.flowIndentCheck(p.indent,S,u),a.atKey=!1,s.mapIncludes(a,m.items,D)&&u(C,"DUPLICATE_KEY","Map keys must be unique");const j=n.resolveProps(x??[],{indicator:"map-value-ind",next:k,offset:D.range[2],onError:u,parentIndent:p.indent,startOnNewline:!S||S.type==="block-scalar"});if(h=j.end,j.found){N&&(k?.type==="block-map"&&!j.hasNewline&&u(h,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),a.options.strict&&O.start<j.found.offset-1024&&u(D.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const M=k?c(a,k,j,u):d(a,h,x,null,j,u);a.schema.compat&&r.flowIndentCheck(p.indent,k,u),h=M.range[2];const H=new e.Pair(D,M);a.options.keepSourceTokens&&(H.srcToken=g),m.items.push(H)}else{N&&u(D.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),j.comment&&(D.comment?D.comment+=`
94
+ `+j.comment:D.comment=j.comment);const M=new e.Pair(D);a.options.keepSourceTokens&&(M.srcToken=g),m.items.push(M)}}return y&&y<h&&u(y,"IMPOSSIBLE","Map comment with trailing content"),m.range=[p.offset,h,y??h],m}return go.resolveBlockMap=l,go}var So={},If;function VS(){if(If)return So;If=1;var e=Lt(),t=yr(),n=rv();function i({composeNode:r,composeEmptyNode:s},o,l,c,d){const a=d?.nodeClass??e.YAMLSeq,p=new a(o.schema);o.atRoot&&(o.atRoot=!1),o.atKey&&(o.atKey=!1);let u=l.offset,f=null;for(const{start:v,value:m}of l.items){const h=t.resolveProps(v,{indicator:"seq-item-ind",next:m,offset:u,onError:c,parentIndent:l.indent,startOnNewline:!0});if(!h.found)if(h.anchor||h.tag||m)m?.type==="block-seq"?c(h.end,"BAD_INDENT","All sequence items must start at the same column"):c(u,"MISSING_CHAR","Sequence item without - indicator");else{f=h.end,h.comment&&(p.comment=h.comment);continue}const y=m?r(o,m,h,c):s(o,h.end,v,null,h,c);o.schema.compat&&n.flowIndentCheck(l.indent,m,c),u=y.range[2],p.items.push(y)}return p.range=[l.offset,u,f??u],p}return So.resolveBlockSeq=i,So}var Eo={},_o={},Lf;function Un(){if(Lf)return _o;Lf=1;function e(t,n,i,r){let s="";if(t){let o=!1,l="";for(const c of t){const{source:d,type:a}=c;switch(a){case"space":o=!0;break;case"comment":{i&&!o&&r(c,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const p=d.substring(1)||" ";s?s+=l+p:s=p,l="";break}case"newline":s&&(l+=d),o=!0;break;default:r(c,"UNEXPECTED_TOKEN",`Unexpected ${a} at node end`)}n+=d.length}}return{comment:s,offset:n}}return _o.resolveEnd=e,_o}var qf;function HS(){if(qf)return Eo;qf=1;var e=fe(),t=jt(),n=It(),i=Lt(),r=Un(),s=yr(),o=Bc(),l=av();const c="Block collections are not allowed within flow collections",d=p=>p&&(p.type==="block-map"||p.type==="block-seq");function a({composeNode:p,composeEmptyNode:u},f,v,m,h){const y=v.start.source==="{",g=y?"flow map":"flow sequence",b=h?.nodeClass??(y?n.YAMLMap:i.YAMLSeq),S=new b(f.schema);S.flow=!0;const x=f.atRoot;x&&(f.atRoot=!1),f.atKey&&(f.atKey=!1);let k=v.offset+v.start.source.length;for(let j=0;j<v.items.length;++j){const M=v.items[j],{start:H,key:V,sep:Q,value:ie}=M,U=s.resolveProps(H,{flow:g,indicator:"explicit-key-ind",next:V??Q?.[0],offset:k,onError:m,parentIndent:v.indent,startOnNewline:!1});if(!U.found){if(!U.anchor&&!U.tag&&!Q&&!ie){j===0&&U.comma?m(U.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`):j<v.items.length-1&&m(U.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${g}`),U.comment&&(S.comment?S.comment+=`
95
+ `+U.comment:S.comment=U.comment),k=U.end;continue}!y&&f.options.strict&&o.containsNewline(V)&&m(V,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(j===0)U.comma&&m(U.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`);else if(U.comma||m(U.start,"MISSING_CHAR",`Missing , between ${g} items`),U.comment){let z="";e:for(const E of H)switch(E.type){case"comma":case"space":break;case"comment":z=E.source.substring(1);break e;default:break e}if(z){let E=S.items[S.items.length-1];e.isPair(E)&&(E=E.value??E.key),E.comment?E.comment+=`
96
+ `+z:E.comment=z,U.comment=U.comment.substring(z.length+1)}}if(!y&&!Q&&!U.found){const z=ie?p(f,ie,U,m):u(f,U.end,Q,null,U,m);S.items.push(z),k=z.range[2],d(ie)&&m(z.range,"BLOCK_IN_FLOW",c)}else{f.atKey=!0;const z=U.end,E=V?p(f,V,U,m):u(f,z,H,null,U,m);d(V)&&m(E.range,"BLOCK_IN_FLOW",c),f.atKey=!1;const _=s.resolveProps(Q??[],{flow:g,indicator:"map-value-ind",next:ie,offset:E.range[2],onError:m,parentIndent:v.indent,startOnNewline:!1});if(_.found){if(!y&&!U.found&&f.options.strict){if(Q)for(const $ of Q){if($===_.found)break;if($.type==="newline"){m($,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}U.start<_.found.offset-1024&&m(_.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else ie&&("source"in ie&&ie.source?.[0]===":"?m(ie,"MISSING_CHAR",`Missing space after : in ${g}`):m(_.start,"MISSING_CHAR",`Missing , or : between ${g} items`));const w=ie?p(f,ie,_,m):_.found?u(f,_.end,Q,null,_,m):null;w?d(ie)&&m(w.range,"BLOCK_IN_FLOW",c):_.comment&&(E.comment?E.comment+=`
97
+ `+_.comment:E.comment=_.comment);const A=new t.Pair(E,w);if(f.options.keepSourceTokens&&(A.srcToken=M),y){const $=S;l.mapIncludes(f,$.items,E)&&m(z,"DUPLICATE_KEY","Map keys must be unique"),$.items.push(A)}else{const $=new n.YAMLMap(f.schema);$.flow=!0,$.items.push(A);const R=(w??E).range;$.range=[E.range[0],R[1],R[2]],S.items.push($)}k=w?w.range[2]:_.end}}const O=y?"}":"]",[N,...C]=v.end;let D=k;if(N?.source===O)D=N.offset+N.source.length;else{const j=g[0].toUpperCase()+g.substring(1),M=x?`${j} must end with a ${O}`:`${j} in block collection must be sufficiently indented and end with a ${O}`;m(k,x?"MISSING_CHAR":"BAD_INDENT",M),N&&N.source.length!==1&&C.unshift(N)}if(C.length>0){const j=r.resolveEnd(C,D,f.options.strict,m);j.comment&&(S.comment?S.comment+=`
98
+ `+j.comment:S.comment=j.comment),S.range=[v.offset,D,j.offset]}else S.range=[v.offset,D,D];return S}return Eo.resolveFlowCollection=a,Eo}var Df;function KS(){if(Df)return vo;Df=1;var e=fe(),t=Re(),n=It(),i=Lt(),r=BS(),s=VS(),o=HS();function l(d,a,p,u,f,v){const m=p.type==="block-map"?r.resolveBlockMap(d,a,p,u,v):p.type==="block-seq"?s.resolveBlockSeq(d,a,p,u,v):o.resolveFlowCollection(d,a,p,u,v),h=m.constructor;return f==="!"||f===h.tagName?(m.tag=h.tagName,m):(f&&(m.tag=f),m)}function c(d,a,p,u,f){const v=u.tag,m=v?a.directives.tagName(v.source,x=>f(v,"TAG_RESOLVE_FAILED",x)):null;if(p.type==="block-seq"){const{anchor:x,newlineAfterProp:k}=u,O=x&&v?x.offset>v.offset?x:v:x??v;O&&(!k||k.offset<O.offset)&&f(O,"MISSING_CHAR","Missing newline after block sequence props")}const h=p.type==="block-map"?"map":p.type==="block-seq"?"seq":p.start.source==="{"?"map":"seq";if(!v||!m||m==="!"||m===n.YAMLMap.tagName&&h==="map"||m===i.YAMLSeq.tagName&&h==="seq")return l(d,a,p,f,m);let y=a.schema.tags.find(x=>x.tag===m&&x.collection===h);if(!y){const x=a.schema.knownTags[m];if(x?.collection===h)a.schema.tags.push(Object.assign({},x,{default:!1})),y=x;else return x?f(v,"BAD_COLLECTION_TYPE",`${x.tag} used for ${h} collection, but expects ${x.collection??"scalar"}`,!0):f(v,"TAG_RESOLVE_FAILED",`Unresolved tag: ${m}`,!0),l(d,a,p,f,m)}const g=l(d,a,p,f,m,y),b=y.resolve?.(g,x=>f(v,"TAG_RESOLVE_FAILED",x),a.options)??g,S=e.isNode(b)?b:new t.Scalar(b);return S.range=g.range,S.tag=m,y?.format&&(S.format=y.format),S}return vo.composeCollection=c,vo}var Ro={},ko={},Ff;function sv(){if(Ff)return ko;Ff=1;var e=Re();function t(r,s,o){const l=s.offset,c=n(s,r.options.strict,o);if(!c)return{value:"",type:null,comment:"",range:[l,l,l]};const d=c.mode===">"?e.Scalar.BLOCK_FOLDED:e.Scalar.BLOCK_LITERAL,a=s.source?i(s.source):[];let p=a.length;for(let b=a.length-1;b>=0;--b){const S=a[b][1];if(S===""||S==="\r")p=b;else break}if(p===0){const b=c.chomp==="+"&&a.length>0?`
99
+ `.repeat(Math.max(1,a.length-1)):"";let S=l+c.length;return s.source&&(S+=s.source.length),{value:b,type:d,comment:c.comment,range:[l,S,S]}}let u=s.indent+c.indent,f=s.offset+c.length,v=0;for(let b=0;b<p;++b){const[S,x]=a[b];if(x===""||x==="\r")c.indent===0&&S.length>u&&(u=S.length);else{S.length<u&&o(f+S.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),c.indent===0&&(u=S.length),v=b,u===0&&!r.atRoot&&o(f,"BAD_INDENT","Block scalar values in collections must be indented");break}f+=S.length+x.length+1}for(let b=a.length-1;b>=p;--b)a[b][0].length>u&&(p=b+1);let m="",h="",y=!1;for(let b=0;b<v;++b)m+=a[b][0].slice(u)+`
100
+ `;for(let b=v;b<p;++b){let[S,x]=a[b];f+=S.length+x.length+1;const k=x[x.length-1]==="\r";if(k&&(x=x.slice(0,-1)),x&&S.length<u){const N=`Block scalar lines must not be less indented than their ${c.indent?"explicit indentation indicator":"first line"}`;o(f-x.length-(k?2:1),"BAD_INDENT",N),S=""}d===e.Scalar.BLOCK_LITERAL?(m+=h+S.slice(u)+x,h=`
101
+ `):S.length>u||x[0]===" "?(h===" "?h=`
102
+ `:!y&&h===`
103
+ `&&(h=`
104
+
105
+ `),m+=h+S.slice(u)+x,h=`
106
+ `,y=!0):x===""?h===`
107
+ `?m+=`
108
+ `:h=`
109
+ `:(m+=h+x,h=" ",y=!1)}switch(c.chomp){case"-":break;case"+":for(let b=p;b<a.length;++b)m+=`
110
+ `+a[b][0].slice(u);m[m.length-1]!==`
111
+ `&&(m+=`
112
+ `);break;default:m+=`
113
+ `}const g=l+c.length+s.source.length;return{value:m,type:d,comment:c.comment,range:[l,g,g]}}function n({offset:r,props:s},o,l){if(s[0].type!=="block-scalar-header")return l(s[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:c}=s[0],d=c[0];let a=0,p="",u=-1;for(let h=1;h<c.length;++h){const y=c[h];if(!p&&(y==="-"||y==="+"))p=y;else{const g=Number(y);!a&&g?a=g:u===-1&&(u=r+h)}}u!==-1&&l(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${c}`);let f=!1,v="",m=c.length;for(let h=1;h<s.length;++h){const y=s[h];switch(y.type){case"space":f=!0;case"newline":m+=y.source.length;break;case"comment":o&&!f&&l(y,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),m+=y.source.length,v=y.source.substring(1);break;case"error":l(y,"UNEXPECTED_TOKEN",y.message),m+=y.source.length;break;default:{const g=`Unexpected token in block scalar header: ${y.type}`;l(y,"UNEXPECTED_TOKEN",g);const b=y.source;b&&typeof b=="string"&&(m+=b.length)}}}return{mode:d,indent:a,chomp:p,comment:v,length:m}}function i(r){const s=r.split(/\n( *)/),o=s[0],l=o.match(/^( *)/),d=[l?.[1]?[l[1],o.slice(l[1].length)]:["",o]];for(let a=1;a<s.length;a+=2)d.push([s[a],s[a+1]]);return d}return ko.resolveBlockScalar=t,ko}var Ao={},Mf;function ov(){if(Mf)return Ao;Mf=1;var e=Re(),t=Un();function n(a,p,u){const{offset:f,type:v,source:m,end:h}=a;let y,g;const b=(k,O,N)=>u(f+k,O,N);switch(v){case"scalar":y=e.Scalar.PLAIN,g=i(m,b);break;case"single-quoted-scalar":y=e.Scalar.QUOTE_SINGLE,g=r(m,b);break;case"double-quoted-scalar":y=e.Scalar.QUOTE_DOUBLE,g=o(m,b);break;default:return u(a,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${v}`),{value:"",type:null,comment:"",range:[f,f+m.length,f+m.length]}}const S=f+m.length,x=t.resolveEnd(h,S,p,u);return{value:g,type:y,comment:x.comment,range:[f,S,x.offset]}}function i(a,p){let u="";switch(a[0]){case" ":u="a tab character";break;case",":u="flow indicator character ,";break;case"%":u="directive indicator character %";break;case"|":case">":{u=`block scalar indicator ${a[0]}`;break}case"@":case"`":{u=`reserved character ${a[0]}`;break}}return u&&p(0,"BAD_SCALAR_START",`Plain value cannot start with ${u}`),s(a)}function r(a,p){return(a[a.length-1]!=="'"||a.length===1)&&p(a.length,"MISSING_CHAR","Missing closing 'quote"),s(a.slice(1,-1)).replace(/''/g,"'")}function s(a){const p=/(.*?)\r?\n/sy;let u=p.exec(a);if(!u)return a;let f,v;try{f=new RegExp("(?<![ ])[ ]+$"),v=new RegExp("^[ ]+|(?<![ ])[ ]+$","g")}catch{f=/[ \t]+$/,v=/^[ \t]+|[ \t]+$/g}let m=u[1].replace(f,""),h=" ",y=p.lastIndex;for(;u=p.exec(a);){const b=u[1].replace(v,"");b===""?h===`
114
+ `?m+=h:h=`
115
+ `:(m+=h+b,h=" "),y=p.lastIndex}const g=/[ \t]*(.*)/sy;return g.lastIndex=y,u=g.exec(a),m+h+(u?.[1]??"")}function o(a,p){let u="";for(let f=1;f<a.length-1;++f){const v=a[f];if(!(v==="\r"&&a[f+1]===`
116
+ `))if(v===`
117
+ `){const{fold:m,offset:h}=l(a,f);u+=m,f=h}else if(v==="\\"){let m=a[++f];const h=c[m];if(h)u+=h;else if(m===`
118
+ `)for(m=a[f+1];m===" "||m===" ";)m=a[++f+1];else if(m==="\r"&&a[f+1]===`
119
+ `)for(m=a[++f+1];m===" "||m===" ";)m=a[++f+1];else if(m==="x"||m==="u"||m==="U"){const y=m==="x"?2:m==="u"?4:8;u+=d(a,f+1,y,p),f+=y}else{const y=a.substr(f-1,2);p(f-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${y}`),u+=y}}else if(v===" "||v===" "){const m=f;let h=a[f+1];for(;h===" "||h===" ";)h=a[++f+1];h!==`
120
+ `&&!(h==="\r"&&a[f+2]===`
121
+ `)&&(u+=f>m?a.slice(m,f+1):v)}else u+=v}return(a[a.length-1]!=='"'||a.length===1)&&p(a.length,"MISSING_CHAR",'Missing closing "quote'),u}function l(a,p){let u="",f=a[p+1];for(;(f===" "||f===" "||f===`
122
+ `||f==="\r")&&!(f==="\r"&&a[p+2]!==`
123
+ `);)f===`
124
+ `&&(u+=`
125
+ `),p+=1,f=a[p+1];return u||(u=" "),{fold:u,offset:p}}const c={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
126
+ `,r:"\r",t:" ",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function d(a,p,u,f){const v=a.substr(p,u),h=v.length===u&&/^[0-9a-fA-F]+$/.test(v)?parseInt(v,16):NaN;try{return String.fromCodePoint(h)}catch{const y=a.substr(p-2,u+2);return f(p-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${y}`),y}}return Ao.resolveFlowScalar=n,Ao}var Uf;function GS(){if(Uf)return Ro;Uf=1;var e=fe(),t=Re(),n=sv(),i=ov();function r(l,c,d,a){const{value:p,type:u,comment:f,range:v}=c.type==="block-scalar"?n.resolveBlockScalar(l,c,a):i.resolveFlowScalar(c,l.options.strict,a),m=d?l.directives.tagName(d.source,g=>a(d,"TAG_RESOLVE_FAILED",g)):null;let h;l.options.stringKeys&&l.atKey?h=l.schema[e.SCALAR]:m?h=s(l.schema,p,m,d,a):c.type==="scalar"?h=o(l,p,c,a):h=l.schema[e.SCALAR];let y;try{const g=h.resolve(p,b=>a(d??c,"TAG_RESOLVE_FAILED",b),l.options);y=e.isScalar(g)?g:new t.Scalar(g)}catch(g){const b=g instanceof Error?g.message:String(g);a(d??c,"TAG_RESOLVE_FAILED",b),y=new t.Scalar(p)}return y.range=v,y.source=p,u&&(y.type=u),m&&(y.tag=m),h.format&&(y.format=h.format),f&&(y.comment=f),y}function s(l,c,d,a,p){if(d==="!")return l[e.SCALAR];const u=[];for(const v of l.tags)if(!v.collection&&v.tag===d)if(v.default&&v.test)u.push(v);else return v;for(const v of u)if(v.test?.test(c))return v;const f=l.knownTags[d];return f&&!f.collection?(l.tags.push(Object.assign({},f,{default:!1,test:void 0})),f):(p(a,"TAG_RESOLVE_FAILED",`Unresolved tag: ${d}`,d!=="tag:yaml.org,2002:str"),l[e.SCALAR])}function o({atKey:l,directives:c,schema:d},a,p,u){const f=d.tags.find(v=>(v.default===!0||l&&v.default==="key")&&v.test?.test(a))||d[e.SCALAR];if(d.compat){const v=d.compat.find(m=>m.default&&m.test?.test(a))??d[e.SCALAR];if(f.tag!==v.tag){const m=c.tagString(f.tag),h=c.tagString(v.tag),y=`Value may be parsed as either ${m} or ${h}`;u(p,"TAG_RESOLVE_FAILED",y,!0)}}return f}return Ro.composeScalar=r,Ro}var $o={},zf;function WS(){if(zf)return $o;zf=1;function e(t,n,i){if(n){i??(i=n.length);for(let r=i-1;r>=0;--r){let s=n[r];switch(s.type){case"space":case"comment":case"newline":t-=s.source.length;continue}for(s=n[++r];s?.type==="space";)t+=s.source.length,s=n[++r];break}}return t}return $o.emptyScalarPosition=e,$o}var Bf;function YS(){if(Bf)return yi;Bf=1;var e=ur(),t=fe(),n=KS(),i=GS(),r=Un(),s=WS();const o={composeNode:l,composeEmptyNode:c};function l(a,p,u,f){const v=a.atKey,{spaceBefore:m,comment:h,anchor:y,tag:g}=u;let b,S=!0;switch(p.type){case"alias":b=d(a,p,f),(y||g)&&f(p,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":b=i.composeScalar(a,p,g,f),y&&(b.anchor=y.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{b=n.composeCollection(o,a,p,u,f),y&&(b.anchor=y.source.substring(1))}catch(x){const k=x instanceof Error?x.message:String(x);f(p,"RESOURCE_EXHAUSTION",k)}break;default:{const x=p.type==="error"?p.message:`Unsupported token (type: ${p.type})`;f(p,"UNEXPECTED_TOKEN",x),S=!1}}return b??(b=c(a,p.offset,void 0,null,u,f)),y&&b.anchor===""&&f(y,"BAD_ALIAS","Anchor cannot be an empty string"),v&&a.options.stringKeys&&(!t.isScalar(b)||typeof b.value!="string"||b.tag&&b.tag!=="tag:yaml.org,2002:str")&&f(g??p,"NON_STRING_KEY","With stringKeys, all keys must be strings"),m&&(b.spaceBefore=!0),h&&(p.type==="scalar"&&p.source===""?b.comment=h:b.commentBefore=h),a.options.keepSourceTokens&&S&&(b.srcToken=p),b}function c(a,p,u,f,{spaceBefore:v,comment:m,anchor:h,tag:y,end:g},b){const S={type:"scalar",offset:s.emptyScalarPosition(p,u,f),indent:-1,source:""},x=i.composeScalar(a,S,y,b);return h&&(x.anchor=h.source.substring(1),x.anchor===""&&b(h,"BAD_ALIAS","Anchor cannot be an empty string")),v&&(x.spaceBefore=!0),m&&(x.comment=m,x.range[2]=g),x}function d({options:a},{offset:p,source:u,end:f},v){const m=new e.Alias(u.substring(1));m.source===""&&v(p,"BAD_ALIAS","Alias cannot be an empty string"),m.source.endsWith(":")&&v(p+u.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const h=p+u.length,y=r.resolveEnd(f,h,a.strict,v);return m.range=[p,h,y.offset],y.comment&&(m.comment=y.comment),m}return yi.composeEmptyNode=c,yi.composeNode=l,yi}var Vf;function JS(){if(Vf)return ho;Vf=1;var e=vr(),t=YS(),n=Un(),i=yr();function r(s,o,{offset:l,start:c,value:d,end:a},p){const u=Object.assign({_directives:o},s),f=new e.Document(void 0,u),v={atKey:!1,atRoot:!0,directives:f.directives,options:f.options,schema:f.schema},m=i.resolveProps(c,{indicator:"doc-start",next:d??a?.[0],offset:l,onError:p,parentIndent:0,startOnNewline:!0});m.found&&(f.directives.docStart=!0,d&&(d.type==="block-map"||d.type==="block-seq")&&!m.hasNewline&&p(m.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),f.contents=d?t.composeNode(v,d,m,p):t.composeEmptyNode(v,m.end,c,null,m,p);const h=f.contents.range[2],y=n.resolveEnd(a,h,!1,p);return y.comment&&(f.comment=y.comment),f.range=[l,h,y.offset],f}return ho.composeDoc=r,ho}var Hf;function cv(){if(Hf)return Bs;Hf=1;var e=rc,t=zh(),n=vr(),i=gr(),r=fe(),s=JS(),o=Un();function l(a){if(typeof a=="number")return[a,a+1];if(Array.isArray(a))return a.length===2?a:[a[0],a[1]];const{offset:p,source:u}=a;return[p,p+(typeof u=="string"?u.length:1)]}function c(a){let p="",u=!1,f=!1;for(let v=0;v<a.length;++v){const m=a[v];switch(m[0]){case"#":p+=(p===""?"":f?`
127
+
128
+ `:`
129
+ `)+(m.substring(1)||" "),u=!0,f=!1;break;case"%":a[v+1]?.[0]!=="#"&&(v+=1),u=!1;break;default:u||(f=!0),u=!1}}return{comment:p,afterEmptyLine:f}}class d{constructor(p={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(u,f,v,m)=>{const h=l(u);m?this.warnings.push(new i.YAMLWarning(h,f,v)):this.errors.push(new i.YAMLParseError(h,f,v))},this.directives=new t.Directives({version:p.version||"1.2"}),this.options=p}decorate(p,u){const{comment:f,afterEmptyLine:v}=c(this.prelude);if(f){const m=p.contents;if(u)p.comment=p.comment?`${p.comment}
130
+ ${f}`:f;else if(v||p.directives.docStart||!m)p.commentBefore=f;else if(r.isCollection(m)&&!m.flow&&m.items.length>0){let h=m.items[0];r.isPair(h)&&(h=h.key);const y=h.commentBefore;h.commentBefore=y?`${f}
131
+ ${y}`:f}else{const h=m.commentBefore;m.commentBefore=h?`${f}
132
+ ${h}`:f}}if(u){for(let m=0;m<this.errors.length;++m)p.errors.push(this.errors[m]);for(let m=0;m<this.warnings.length;++m)p.warnings.push(this.warnings[m])}else p.errors=this.errors,p.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:c(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(p,u=!1,f=-1){for(const v of p)yield*this.next(v);yield*this.end(u,f)}*next(p){switch(e.env.LOG_STREAM&&console.dir(p,{depth:null}),p.type){case"directive":this.directives.add(p.source,(u,f,v)=>{const m=l(p);m[0]+=u,this.onError(m,"BAD_DIRECTIVE",f,v)}),this.prelude.push(p.source),this.atDirectives=!0;break;case"document":{const u=s.composeDoc(this.options,this.directives,p,this.onError);this.atDirectives&&!u.directives.docStart&&this.onError(p,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(u,!1),this.doc&&(yield this.doc),this.doc=u,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(p.source);break;case"error":{const u=p.source?`${p.message}: ${JSON.stringify(p.source)}`:p.message,f=new i.YAMLParseError(l(p),"UNEXPECTED_TOKEN",u);this.atDirectives||!this.doc?this.errors.push(f):this.doc.errors.push(f);break}case"doc-end":{if(!this.doc){const f="Unexpected doc-end without preceding document";this.errors.push(new i.YAMLParseError(l(p),"UNEXPECTED_TOKEN",f));break}this.doc.directives.docEnd=!0;const u=o.resolveEnd(p.end,p.offset+p.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),u.comment){const f=this.doc.comment;this.doc.comment=f?`${f}
133
+ ${u.comment}`:u.comment}this.doc.range[2]=u.offset;break}default:this.errors.push(new i.YAMLParseError(l(p),"UNEXPECTED_TOKEN",`Unsupported token ${p.type}`))}}*end(p=!1,u=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(p){const f=Object.assign({_directives:this.directives},this.options),v=new n.Document(void 0,f);this.atDirectives&&this.onError(u,"MISSING_CHAR","Missing directives-end indicator line"),v.range=[0,u,u],this.decorate(v,!1),yield v}}}return Bs.Composer=d,Bs}var De={},Rn={},Kf;function XS(){if(Kf)return Rn;Kf=1;var e=sv(),t=ov(),n=gr(),i=fr();function r(a,p=!0,u){if(a){const f=(v,m,h)=>{const y=typeof v=="number"?v:Array.isArray(v)?v[0]:v.offset;if(u)u(y,m,h);else throw new n.YAMLParseError([y,y+1],m,h)};switch(a.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return t.resolveFlowScalar(a,p,f);case"block-scalar":return e.resolveBlockScalar({options:{strict:p}},a,f)}}return null}function s(a,p){const{implicitKey:u=!1,indent:f,inFlow:v=!1,offset:m=-1,type:h="PLAIN"}=p,y=i.stringifyString({type:h,value:a},{implicitKey:u,indent:f>0?" ".repeat(f):"",inFlow:v,options:{blockQuote:!0,lineWidth:-1}}),g=p.end??[{type:"newline",offset:-1,indent:f,source:`
134
+ `}];switch(y[0]){case"|":case">":{const b=y.indexOf(`
135
+ `),S=y.substring(0,b),x=y.substring(b+1)+`
136
+ `,k=[{type:"block-scalar-header",offset:m,indent:f,source:S}];return c(k,g)||k.push({type:"newline",offset:-1,indent:f,source:`
137
+ `}),{type:"block-scalar",offset:m,indent:f,props:k,source:x}}case'"':return{type:"double-quoted-scalar",offset:m,indent:f,source:y,end:g};case"'":return{type:"single-quoted-scalar",offset:m,indent:f,source:y,end:g};default:return{type:"scalar",offset:m,indent:f,source:y,end:g}}}function o(a,p,u={}){let{afterKey:f=!1,implicitKey:v=!1,inFlow:m=!1,type:h}=u,y="indent"in a?a.indent:null;if(f&&typeof y=="number"&&(y+=2),!h)switch(a.type){case"single-quoted-scalar":h="QUOTE_SINGLE";break;case"double-quoted-scalar":h="QUOTE_DOUBLE";break;case"block-scalar":{const b=a.props[0];if(b.type!=="block-scalar-header")throw new Error("Invalid block scalar header");h=b.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:h="PLAIN"}const g=i.stringifyString({type:h,value:p},{implicitKey:v||y===null,indent:y!==null&&y>0?" ".repeat(y):"",inFlow:m,options:{blockQuote:!0,lineWidth:-1}});switch(g[0]){case"|":case">":l(a,g);break;case'"':d(a,g,"double-quoted-scalar");break;case"'":d(a,g,"single-quoted-scalar");break;default:d(a,g,"scalar")}}function l(a,p){const u=p.indexOf(`
138
+ `),f=p.substring(0,u),v=p.substring(u+1)+`
139
+ `;if(a.type==="block-scalar"){const m=a.props[0];if(m.type!=="block-scalar-header")throw new Error("Invalid block scalar header");m.source=f,a.source=v}else{const{offset:m}=a,h="indent"in a?a.indent:-1,y=[{type:"block-scalar-header",offset:m,indent:h,source:f}];c(y,"end"in a?a.end:void 0)||y.push({type:"newline",offset:-1,indent:h,source:`
140
+ `});for(const g of Object.keys(a))g!=="type"&&g!=="offset"&&delete a[g];Object.assign(a,{type:"block-scalar",indent:h,props:y,source:v})}}function c(a,p){if(p)for(const u of p)switch(u.type){case"space":case"comment":a.push(u);break;case"newline":return a.push(u),!0}return!1}function d(a,p,u){switch(a.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":a.type=u,a.source=p;break;case"block-scalar":{const f=a.props.slice(1);let v=p.length;a.props[0].type==="block-scalar-header"&&(v-=a.props[0].source.length);for(const m of f)m.offset+=v;delete a.props,Object.assign(a,{type:u,source:p,end:f});break}case"block-map":case"block-seq":{const v={type:"newline",offset:a.offset+p.length,indent:a.indent,source:`
141
+ `};delete a.items,Object.assign(a,{type:u,source:p,end:[v]});break}default:{const f="indent"in a?a.indent:-1,v="end"in a&&Array.isArray(a.end)?a.end.filter(m=>m.type==="space"||m.type==="comment"||m.type==="newline"):[];for(const m of Object.keys(a))m!=="type"&&m!=="offset"&&delete a[m];Object.assign(a,{type:u,indent:f,source:p,end:v})}}}return Rn.createScalarToken=s,Rn.resolveAsScalar=r,Rn.setScalarValue=o,Rn}var Oo={},Gf;function QS(){if(Gf)return Oo;Gf=1;const e=i=>"type"in i?t(i):n(i);function t(i){switch(i.type){case"block-scalar":{let r="";for(const s of i.props)r+=t(s);return r+i.source}case"block-map":case"block-seq":{let r="";for(const s of i.items)r+=n(s);return r}case"flow-collection":{let r=i.start.source;for(const s of i.items)r+=n(s);for(const s of i.end)r+=s.source;return r}case"document":{let r=n(i);if(i.end)for(const s of i.end)r+=s.source;return r}default:{let r=i.source;if("end"in i&&i.end)for(const s of i.end)r+=s.source;return r}}}function n({start:i,key:r,sep:s,value:o}){let l="";for(const c of i)l+=c.source;if(r&&(l+=t(r)),s)for(const c of s)l+=c.source;return o&&(l+=t(o)),l}return Oo.stringify=e,Oo}var Po={},Wf;function ZS(){if(Wf)return Po;Wf=1;const e=Symbol("break visit"),t=Symbol("skip children"),n=Symbol("remove item");function i(s,o){"type"in s&&s.type==="document"&&(s={start:s.start,value:s.value}),r(Object.freeze([]),s,o)}i.BREAK=e,i.SKIP=t,i.REMOVE=n,i.itemAtPath=(s,o)=>{let l=s;for(const[c,d]of o){const a=l?.[c];if(a&&"items"in a)l=a.items[d];else return}return l},i.parentCollection=(s,o)=>{const l=i.itemAtPath(s,o.slice(0,-1)),c=o[o.length-1][0],d=l?.[c];if(d&&"items"in d)return d;throw new Error("Parent collection not found")};function r(s,o,l){let c=l(o,s);if(typeof c=="symbol")return c;for(const d of["key","value"]){const a=o[d];if(a&&"items"in a){for(let p=0;p<a.items.length;++p){const u=r(Object.freeze(s.concat([[d,p]])),a.items[p],l);if(typeof u=="number")p=u-1;else{if(u===e)return e;u===n&&(a.items.splice(p,1),p-=1)}}typeof c=="function"&&d==="key"&&(c=c(o,s))}}return typeof c=="function"?c(o,s):c}return Po.visit=i,Po}var Yf;function Vc(){if(Yf)return De;Yf=1;var e=XS(),t=QS(),n=ZS();const i="\uFEFF",r="",s="",o="",l=p=>!!p&&"items"in p,c=p=>!!p&&(p.type==="scalar"||p.type==="single-quoted-scalar"||p.type==="double-quoted-scalar"||p.type==="block-scalar");function d(p){switch(p){case i:return"<BOM>";case r:return"<DOC>";case s:return"<FLOW_END>";case o:return"<SCALAR>";default:return JSON.stringify(p)}}function a(p){switch(p){case i:return"byte-order-mark";case r:return"doc-mode";case s:return"flow-error-end";case o:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
142
+ `:case`\r
143
+ `:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(p[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}return De.createScalarToken=e.createScalarToken,De.resolveAsScalar=e.resolveAsScalar,De.setScalarValue=e.setScalarValue,De.stringify=t.stringify,De.visit=n.visit,De.BOM=i,De.DOCUMENT=r,De.FLOW_END=s,De.SCALAR=o,De.isCollection=l,De.isScalar=c,De.prettyToken=d,De.tokenType=a,De}var To={},Jf;function lv(){if(Jf)return To;Jf=1;var e=Vc();function t(c){switch(c){case void 0:case" ":case`
144
+ `:case"\r":case" ":return!0;default:return!1}}const n=new Set("0123456789ABCDEFabcdef"),i=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),r=new Set(",[]{}"),s=new Set(` ,[]{}
145
+ \r `),o=c=>!c||s.has(c);class l{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(d,a=!1){if(d){if(typeof d!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+d:d,this.lineEndPos=null}this.atEnd=!a;let p=this.next??"stream";for(;p&&(a||this.hasChars(1));)p=yield*this.parseNext(p)}atLineEnd(){let d=this.pos,a=this.buffer[d];for(;a===" "||a===" ";)a=this.buffer[++d];return!a||a==="#"||a===`
146
+ `?!0:a==="\r"?this.buffer[d+1]===`
147
+ `:!1}charAt(d){return this.buffer[this.pos+d]}continueScalar(d){let a=this.buffer[d];if(this.indentNext>0){let p=0;for(;a===" ";)a=this.buffer[++p+d];if(a==="\r"){const u=this.buffer[p+d+1];if(u===`
148
+ `||!u&&!this.atEnd)return d+p+1}return a===`
149
+ `||p>=this.indentNext||!a&&!this.atEnd?d+p:-1}if(a==="-"||a==="."){const p=this.buffer.substr(d,3);if((p==="---"||p==="...")&&t(this.buffer[d+3]))return-1}return d}getLine(){let d=this.lineEndPos;return(typeof d!="number"||d!==-1&&d<this.pos)&&(d=this.buffer.indexOf(`
150
+ `,this.pos),this.lineEndPos=d),d===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[d-1]==="\r"&&(d-=1),this.buffer.substring(this.pos,d))}hasChars(d){return this.pos+d<=this.buffer.length}setNext(d){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=d,null}peek(d){return this.buffer.substr(this.pos,d)}*parseNext(d){switch(d){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let d=this.getLine();if(d===null)return this.setNext("stream");if(d[0]===e.BOM&&(yield*this.pushCount(1),d=d.substring(1)),d[0]==="%"){let a=d.length,p=d.indexOf("#");for(;p!==-1;){const f=d[p-1];if(f===" "||f===" "){a=p-1;break}else p=d.indexOf("#",p+1)}for(;;){const f=d[a-1];if(f===" "||f===" ")a-=1;else break}const u=(yield*this.pushCount(a))+(yield*this.pushSpaces(!0));return yield*this.pushCount(d.length-u),this.pushNewline(),"stream"}if(this.atLineEnd()){const a=yield*this.pushSpaces(!0);return yield*this.pushCount(d.length-a),yield*this.pushNewline(),"stream"}return yield e.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){const d=this.charAt(0);if(!d&&!this.atEnd)return this.setNext("line-start");if(d==="-"||d==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const a=this.peek(3);if((a==="---"||a==="...")&&t(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,a==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!t(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[d,a]=this.peek(2);if(!a&&!this.atEnd)return this.setNext("block-start");if((d==="-"||d==="?"||d===":")&&t(a)){const p=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=p,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const d=this.getLine();if(d===null)return this.setNext("doc");let a=yield*this.pushIndicators();switch(d[a]){case"#":yield*this.pushCount(d.length-a);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(o),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return a+=yield*this.parseBlockScalarHeader(),a+=yield*this.pushSpaces(!0),yield*this.pushCount(d.length-a),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let d,a,p=-1;do d=yield*this.pushNewline(),d>0?(a=yield*this.pushSpaces(!1),this.indentValue=p=a):a=0,a+=yield*this.pushSpaces(!0);while(d+a>0);const u=this.getLine();if(u===null)return this.setNext("flow");if((p!==-1&&p<this.indentNext&&u[0]!=="#"||p===0&&(u.startsWith("---")||u.startsWith("..."))&&t(u[3]))&&!(p===this.indentNext-1&&this.flowLevel===1&&(u[0]==="]"||u[0]==="}")))return this.flowLevel=0,yield e.FLOW_END,yield*this.parseLineStart();let f=0;for(;u[f]===",";)f+=yield*this.pushCount(1),f+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(f+=yield*this.pushIndicators(),u[f]){case void 0:return"flow";case"#":return yield*this.pushCount(u.length-f),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(o),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const v=this.charAt(1);if(this.flowKey||t(v)||v===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const d=this.charAt(0);let a=this.buffer.indexOf(d,this.pos+1);if(d==="'")for(;a!==-1&&this.buffer[a+1]==="'";)a=this.buffer.indexOf("'",a+2);else for(;a!==-1;){let f=0;for(;this.buffer[a-1-f]==="\\";)f+=1;if(f%2===0)break;a=this.buffer.indexOf('"',a+1)}const p=this.buffer.substring(0,a);let u=p.indexOf(`
151
+ `,this.pos);if(u!==-1){for(;u!==-1;){const f=this.continueScalar(u+1);if(f===-1)break;u=p.indexOf(`
152
+ `,f)}u!==-1&&(a=u-(p[u-1]==="\r"?2:1))}if(a===-1){if(!this.atEnd)return this.setNext("quoted-scalar");a=this.buffer.length}return yield*this.pushToIndex(a+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let d=this.pos;for(;;){const a=this.buffer[++d];if(a==="+")this.blockScalarKeep=!0;else if(a>"0"&&a<="9")this.blockScalarIndent=Number(a)-1;else if(a!=="-")break}return yield*this.pushUntil(a=>t(a)||a==="#")}*parseBlockScalar(){let d=this.pos-1,a=0,p;e:for(let f=this.pos;p=this.buffer[f];++f)switch(p){case" ":a+=1;break;case`
153
+ `:d=f,a=0;break;case"\r":{const v=this.buffer[f+1];if(!v&&!this.atEnd)return this.setNext("block-scalar");if(v===`
154
+ `)break}default:break e}if(!p&&!this.atEnd)return this.setNext("block-scalar");if(a>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=a:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const f=this.continueScalar(d+1);if(f===-1)break;d=this.buffer.indexOf(`
155
+ `,f)}while(d!==-1);if(d===-1){if(!this.atEnd)return this.setNext("block-scalar");d=this.buffer.length}}let u=d+1;for(p=this.buffer[u];p===" ";)p=this.buffer[++u];if(p===" "){for(;p===" "||p===" "||p==="\r"||p===`
156
+ `;)p=this.buffer[++u];d=u-1}else if(!this.blockScalarKeep)do{let f=d-1,v=this.buffer[f];v==="\r"&&(v=this.buffer[--f]);const m=f;for(;v===" ";)v=this.buffer[--f];if(v===`
157
+ `&&f>=this.pos&&f+1+a>m)d=f;else break}while(!0);return yield e.SCALAR,yield*this.pushToIndex(d+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const d=this.flowLevel>0;let a=this.pos-1,p=this.pos-1,u;for(;u=this.buffer[++p];)if(u===":"){const f=this.buffer[p+1];if(t(f)||d&&r.has(f))break;a=p}else if(t(u)){let f=this.buffer[p+1];if(u==="\r"&&(f===`
158
+ `?(p+=1,u=`
159
+ `,f=this.buffer[p+1]):a=p),f==="#"||d&&r.has(f))break;if(u===`
160
+ `){const v=this.continueScalar(p+1);if(v===-1)break;p=Math.max(p,v-2)}}else{if(d&&r.has(u))break;a=p}return!u&&!this.atEnd?this.setNext("plain-scalar"):(yield e.SCALAR,yield*this.pushToIndex(a+1,!0),d?"flow":"doc")}*pushCount(d){return d>0?(yield this.buffer.substr(this.pos,d),this.pos+=d,d):0}*pushToIndex(d,a){const p=this.buffer.slice(this.pos,d);return p?(yield p,this.pos+=p.length,p.length):(a&&(yield""),0)}*pushIndicators(){let d=0;e:for(;;){switch(this.charAt(0)){case"!":d+=yield*this.pushTag(),d+=yield*this.pushSpaces(!0);continue e;case"&":d+=yield*this.pushUntil(o),d+=yield*this.pushSpaces(!0);continue e;case"-":case"?":case":":{const a=this.flowLevel>0,p=this.charAt(1);if(t(p)||a&&r.has(p)){a?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,d+=yield*this.pushCount(1),d+=yield*this.pushSpaces(!0);continue e}}}break e}return d}*pushTag(){if(this.charAt(1)==="<"){let d=this.pos+2,a=this.buffer[d];for(;!t(a)&&a!==">";)a=this.buffer[++d];return yield*this.pushToIndex(a===">"?d+1:d,!1)}else{let d=this.pos+1,a=this.buffer[d];for(;a;)if(i.has(a))a=this.buffer[++d];else if(a==="%"&&n.has(this.buffer[d+1])&&n.has(this.buffer[d+2]))a=this.buffer[d+=3];else break;return yield*this.pushToIndex(d,!1)}}*pushNewline(){const d=this.buffer[this.pos];return d===`
161
+ `?yield*this.pushCount(1):d==="\r"&&this.charAt(1)===`
162
+ `?yield*this.pushCount(2):0}*pushSpaces(d){let a=this.pos-1,p;do p=this.buffer[++a];while(p===" "||d&&p===" ");const u=a-this.pos;return u>0&&(yield this.buffer.substr(this.pos,u),this.pos=a),u}*pushUntil(d){let a=this.pos,p=this.buffer[a];for(;!d(p);)p=this.buffer[++a];return yield*this.pushToIndex(a,!1)}}return To.Lexer=l,To}var No={},Xf;function uv(){if(Xf)return No;Xf=1;class e{constructor(){this.lineStarts=[],this.addNewLine=n=>this.lineStarts.push(n),this.linePos=n=>{let i=0,r=this.lineStarts.length;for(;i<r;){const o=i+r>>1;this.lineStarts[o]<n?i=o+1:r=o}if(this.lineStarts[i]===n)return{line:i+1,col:1};if(i===0)return{line:0,col:n};const s=this.lineStarts[i-1];return{line:i,col:n-s+1}}}}return No.LineCounter=e,No}var Co={},Qf;function pv(){if(Qf)return Co;Qf=1;var e=rc,t=Vc(),n=lv();function i(p,u){for(let f=0;f<p.length;++f)if(p[f].type===u)return!0;return!1}function r(p){for(let u=0;u<p.length;++u)switch(p[u].type){case"space":case"comment":case"newline":break;default:return u}return-1}function s(p){switch(p?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function o(p){switch(p.type){case"document":return p.start;case"block-map":{const u=p.items[p.items.length-1];return u.sep??u.start}case"block-seq":return p.items[p.items.length-1].start;default:return[]}}function l(p){if(p.length===0)return[];let u=p.length;e:for(;--u>=0;)switch(p[u].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;p[++u]?.type==="space";);return p.splice(u,p.length)}function c(p,u){if(u.length<1e5)Array.prototype.push.apply(p,u);else for(let f=0;f<u.length;++f)p.push(u[f])}function d(p){if(p.start.type==="flow-seq-start")for(const u of p.items)u.sep&&!u.value&&!i(u.start,"explicit-key-ind")&&!i(u.sep,"map-value-ind")&&(u.key&&(u.value=u.key),delete u.key,s(u.value)?u.value.end?c(u.value.end,u.sep):u.value.end=u.sep:c(u.start,u.sep),delete u.sep)}class a{constructor(u){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new n.Lexer,this.onNewLine=u}*parse(u,f=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const v of this.lexer.lex(u,f))yield*this.next(v);f||(yield*this.end())}*next(u){if(this.source=u,e.env.LOG_TOKENS&&console.log("|",t.prettyToken(u)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=u.length;return}const f=t.tokenType(u);if(f)if(f==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=f,yield*this.step(),f){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+u.length);break;case"space":this.atNewLine&&u[0]===" "&&(this.indent+=u.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=u.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=u.length}else{const v=`Not a YAML token: ${u}`;yield*this.pop({type:"error",offset:this.offset,message:v,source:u}),this.offset+=u.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const u=this.peek(1);if(this.type==="doc-end"&&u?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!u)return yield*this.stream();switch(u.type){case"document":return yield*this.document(u);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(u);case"block-scalar":return yield*this.blockScalar(u);case"block-map":return yield*this.blockMap(u);case"block-seq":return yield*this.blockSequence(u);case"flow-collection":return yield*this.flowCollection(u);case"doc-end":return yield*this.documentEnd(u)}yield*this.pop()}peek(u){return this.stack[this.stack.length-u]}*pop(u){const f=u??this.stack.pop();if(!f)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield f;else{const v=this.peek(1);switch(f.type==="block-scalar"?f.indent="indent"in v?v.indent:0:f.type==="flow-collection"&&v.type==="document"&&(f.indent=0),f.type==="flow-collection"&&d(f),v.type){case"document":v.value=f;break;case"block-scalar":v.props.push(f);break;case"block-map":{const m=v.items[v.items.length-1];if(m.value){v.items.push({start:[],key:f,sep:[]}),this.onKeyLine=!0;return}else if(m.sep)m.value=f;else{Object.assign(m,{key:f,sep:[]}),this.onKeyLine=!m.explicitKey;return}break}case"block-seq":{const m=v.items[v.items.length-1];m.value?v.items.push({start:[],value:f}):m.value=f;break}case"flow-collection":{const m=v.items[v.items.length-1];!m||m.value?v.items.push({start:[],key:f,sep:[]}):m.sep?m.value=f:Object.assign(m,{key:f,sep:[]});return}default:yield*this.pop(),yield*this.pop(f)}if((v.type==="document"||v.type==="block-map"||v.type==="block-seq")&&(f.type==="block-map"||f.type==="block-seq")){const m=f.items[f.items.length-1];m&&!m.sep&&!m.value&&m.start.length>0&&r(m.start)===-1&&(f.indent===0||m.start.every(h=>h.type!=="comment"||h.indent<f.indent))&&(v.type==="document"?v.end=m.start:v.items.push({start:m.start}),f.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const u={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&u.start.push(this.sourceToken),this.stack.push(u);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(u){if(u.value)return yield*this.lineEnd(u);switch(this.type){case"doc-start":{r(u.start)!==-1?(yield*this.pop(),yield*this.step()):u.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":u.start.push(this.sourceToken);return}const f=this.startBlockValue(u);f?this.stack.push(f):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(u){if(this.type==="map-value-ind"){const f=o(this.peek(2)),v=l(f);let m;u.end?(m=u.end,m.push(this.sourceToken),delete u.end):m=[this.sourceToken];const h={type:"block-map",offset:u.offset,indent:u.indent,items:[{start:v,key:u,sep:m}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=h}else yield*this.lineEnd(u)}*blockScalar(u){switch(this.type){case"space":case"comment":case"newline":u.props.push(this.sourceToken);return;case"scalar":if(u.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let f=this.source.indexOf(`
163
+ `)+1;for(;f!==0;)this.onNewLine(this.offset+f),f=this.source.indexOf(`
164
+ `,f)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(u){const f=u.items[u.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,f.value){const v="end"in f.value?f.value.end:void 0;(Array.isArray(v)?v[v.length-1]:void 0)?.type==="comment"?v?.push(this.sourceToken):u.items.push({start:[this.sourceToken]})}else f.sep?f.sep.push(this.sourceToken):f.start.push(this.sourceToken);return;case"space":case"comment":if(f.value)u.items.push({start:[this.sourceToken]});else if(f.sep)f.sep.push(this.sourceToken);else{if(this.atIndentedComment(f.start,u.indent)){const m=u.items[u.items.length-2]?.value?.end;if(Array.isArray(m)){c(m,f.start),m.push(this.sourceToken),u.items.pop();return}}f.start.push(this.sourceToken)}return}if(this.indent>=u.indent){const v=!this.onKeyLine&&this.indent===u.indent,m=v&&(f.sep||f.explicitKey)&&this.type!=="seq-item-ind";let h=[];if(m&&f.sep&&!f.value){const y=[];for(let g=0;g<f.sep.length;++g){const b=f.sep[g];switch(b.type){case"newline":y.push(g);break;case"space":break;case"comment":b.indent>u.indent&&(y.length=0);break;default:y.length=0}}y.length>=2&&(h=f.sep.splice(y[1]))}switch(this.type){case"anchor":case"tag":m||f.value?(h.push(this.sourceToken),u.items.push({start:h}),this.onKeyLine=!0):f.sep?f.sep.push(this.sourceToken):f.start.push(this.sourceToken);return;case"explicit-key-ind":!f.sep&&!f.explicitKey?(f.start.push(this.sourceToken),f.explicitKey=!0):m||f.value?(h.push(this.sourceToken),u.items.push({start:h,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(f.explicitKey)if(f.sep)if(f.value)u.items.push({start:[],key:null,sep:[this.sourceToken]});else if(i(f.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:h,key:null,sep:[this.sourceToken]}]});else if(s(f.key)&&!i(f.sep,"newline")){const y=l(f.start),g=f.key,b=f.sep;b.push(this.sourceToken),delete f.key,delete f.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:y,key:g,sep:b}]})}else h.length>0?f.sep=f.sep.concat(h,this.sourceToken):f.sep.push(this.sourceToken);else if(i(f.start,"newline"))Object.assign(f,{key:null,sep:[this.sourceToken]});else{const y=l(f.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:y,key:null,sep:[this.sourceToken]}]})}else f.sep?f.value||m?u.items.push({start:h,key:null,sep:[this.sourceToken]}):i(f.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):f.sep.push(this.sourceToken):Object.assign(f,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const y=this.flowScalar(this.type);m||f.value?(u.items.push({start:h,key:y,sep:[]}),this.onKeyLine=!0):f.sep?this.stack.push(y):(Object.assign(f,{key:y,sep:[]}),this.onKeyLine=!0);return}default:{const y=this.startBlockValue(u);if(y){if(y.type==="block-seq"){if(!f.explicitKey&&f.sep&&!i(f.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else v&&u.items.push({start:h});this.stack.push(y);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(u){const f=u.items[u.items.length-1];switch(this.type){case"newline":if(f.value){const v="end"in f.value?f.value.end:void 0;(Array.isArray(v)?v[v.length-1]:void 0)?.type==="comment"?v?.push(this.sourceToken):u.items.push({start:[this.sourceToken]})}else f.start.push(this.sourceToken);return;case"space":case"comment":if(f.value)u.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(f.start,u.indent)){const m=u.items[u.items.length-2]?.value?.end;if(Array.isArray(m)){c(m,f.start),m.push(this.sourceToken),u.items.pop();return}}f.start.push(this.sourceToken)}return;case"anchor":case"tag":if(f.value||this.indent<=u.indent)break;f.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==u.indent)break;f.value||i(f.start,"seq-item-ind")?u.items.push({start:[this.sourceToken]}):f.start.push(this.sourceToken);return}if(this.indent>u.indent){const v=this.startBlockValue(u);if(v){this.stack.push(v);return}}yield*this.pop(),yield*this.step()}*flowCollection(u){const f=u.items[u.items.length-1];if(this.type==="flow-error-end"){let v;do yield*this.pop(),v=this.peek(1);while(v?.type==="flow-collection")}else if(u.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!f||f.sep?u.items.push({start:[this.sourceToken]}):f.start.push(this.sourceToken);return;case"map-value-ind":!f||f.value?u.items.push({start:[],key:null,sep:[this.sourceToken]}):f.sep?f.sep.push(this.sourceToken):Object.assign(f,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!f||f.value?u.items.push({start:[this.sourceToken]}):f.sep?f.sep.push(this.sourceToken):f.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const m=this.flowScalar(this.type);!f||f.value?u.items.push({start:[],key:m,sep:[]}):f.sep?this.stack.push(m):Object.assign(f,{key:m,sep:[]});return}case"flow-map-end":case"flow-seq-end":u.end.push(this.sourceToken);return}const v=this.startBlockValue(u);v?this.stack.push(v):(yield*this.pop(),yield*this.step())}else{const v=this.peek(2);if(v.type==="block-map"&&(this.type==="map-value-ind"&&v.indent===u.indent||this.type==="newline"&&!v.items[v.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&v.type!=="flow-collection"){const m=o(v),h=l(m);d(u);const y=u.end.splice(1,u.end.length);y.push(this.sourceToken);const g={type:"block-map",offset:u.offset,indent:u.indent,items:[{start:h,key:u,sep:y}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=g}else yield*this.lineEnd(u)}}flowScalar(u){if(this.onNewLine){let f=this.source.indexOf(`
165
+ `)+1;for(;f!==0;)this.onNewLine(this.offset+f),f=this.source.indexOf(`
166
+ `,f)+1}return{type:u,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(u){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const f=o(u),v=l(f);return v.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:v,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const f=o(u),v=l(f);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:v,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(u,f){return this.type!=="comment"||this.indent<=f?!1:u.every(v=>v.type==="newline"||v.type==="space")}*documentEnd(u){this.type!=="doc-mode"&&(u.end?u.end.push(this.sourceToken):u.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(u){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:u.end?u.end.push(this.sourceToken):u.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}return Co.Parser=a,Co}var Ht={},Zf;function eE(){if(Zf)return Ht;Zf=1;var e=cv(),t=vr(),n=gr(),i=Vh(),r=fe(),s=uv(),o=pv();function l(u){const f=u.prettyErrors!==!1;return{lineCounter:u.lineCounter||f&&new s.LineCounter||null,prettyErrors:f}}function c(u,f={}){const{lineCounter:v,prettyErrors:m}=l(f),h=new o.Parser(v?.addNewLine),y=new e.Composer(f),g=Array.from(y.compose(h.parse(u)));if(m&&v)for(const b of g)b.errors.forEach(n.prettifyError(u,v)),b.warnings.forEach(n.prettifyError(u,v));return g.length>0?g:Object.assign([],{empty:!0},y.streamInfo())}function d(u,f={}){const{lineCounter:v,prettyErrors:m}=l(f),h=new o.Parser(v?.addNewLine),y=new e.Composer(f);let g=null;for(const b of y.compose(h.parse(u),!0,u.length))if(!g)g=b;else if(g.options.logLevel!=="silent"){g.errors.push(new n.YAMLParseError(b.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return m&&v&&(g.errors.forEach(n.prettifyError(u,v)),g.warnings.forEach(n.prettifyError(u,v))),g}function a(u,f,v){let m;typeof f=="function"?m=f:v===void 0&&f&&typeof f=="object"&&(v=f);const h=d(u,v);if(!h)return null;if(h.warnings.forEach(y=>i.warn(h.options.logLevel,y)),h.errors.length>0){if(h.options.logLevel!=="silent")throw h.errors[0];h.errors=[]}return h.toJS(Object.assign({reviver:m},v))}function p(u,f,v){let m=null;if(typeof f=="function"||Array.isArray(f)?m=f:v===void 0&&f&&(v=f),typeof v=="string"&&(v=v.length),typeof v=="number"){const h=Math.round(v);v=h<1?void 0:h>8?{indent:8}:{indent:h}}if(u===void 0){const{keepUndefined:h}=v??f??{};if(!h)return}return r.isDocument(u)&&!m?u.toString(v):new t.Document(u,m,v).toString(v)}return Ht.parse=a,Ht.parseAllDocuments=c,Ht.parseDocument=d,Ht.stringify=p,Ht}var em;function tE(){if(em)return he;em=1;var e=cv(),t=vr(),n=nv(),i=gr(),r=ur(),s=fe(),o=jt(),l=Re(),c=It(),d=Lt(),a=Vc(),p=lv(),u=uv(),f=pv(),v=eE(),m=lr();return he.Composer=e.Composer,he.Document=t.Document,he.Schema=n.Schema,he.YAMLError=i.YAMLError,he.YAMLParseError=i.YAMLParseError,he.YAMLWarning=i.YAMLWarning,he.Alias=r.Alias,he.isAlias=s.isAlias,he.isCollection=s.isCollection,he.isDocument=s.isDocument,he.isMap=s.isMap,he.isNode=s.isNode,he.isPair=s.isPair,he.isScalar=s.isScalar,he.isSeq=s.isSeq,he.Pair=o.Pair,he.Scalar=l.Scalar,he.YAMLMap=c.YAMLMap,he.YAMLSeq=d.YAMLSeq,he.CST=a,he.Lexer=p.Lexer,he.LineCounter=u.LineCounter,he.Parser=f.Parser,he.parse=v.parse,he.parseAllDocuments=v.parseAllDocuments,he.parseDocument=v.parseDocument,he.stringify=v.stringify,he.visit=m.visit,he.visitAsync=m.visitAsync,he}var dv=tE();class fv{readPage(t){const n=t.split(`
167
+ `);if(n[0]=="---"){n.shift();const i=n.findIndex(r=>r=="---");if(i>=0){const r=n.slice(0,i).join(`
168
+ `);return{...dv.parse(r),content:n.slice(i+1).join(`
169
+ `)}}else return{content:t}}else return{content:t}}}class nE{writePage(t){const{content:n,...i}=t;return i&&Object.keys(i).length>0?`---
170
+ ${dv.stringify(i)}---
171
+ ${n??""}`:n??""}}function Hc(e,t,n){return Reflect.getOwnMetadata(t,e,n)}function iE(e,t,n,i){Reflect.defineMetadata(t,n,e,i)}function zn(e,t,n,i,r){const s=Hc(e,t,r)??n(),o=i(s);Reflect.defineMetadata(t,o,e,r)}var tm;(function(e){e.moduleId="moduleId",e.serviceId="serviceId"})(tm||(tm={}));const xr="@inversifyjs/core/classMetadataReflectKey";function br(){return{constructorArguments:[],lifecycle:{postConstructMethodNames:new Set,preDestroyMethodNames:new Set},properties:new Map,scope:void 0}}const rE="@inversifyjs/core/pendingClassMetadataCountReflectKey",jo=Symbol.for("@inversifyjs/core/InversifyCoreError");class et extends Error{[jo];kind;constructor(t,n,i){super(n,i),this[jo]=!0,this.kind=t}static is(t){return typeof t=="object"&&t!==null&&t[jo]===!0}static isErrorOfKind(t,n){return et.is(t)&&t.kind===n}}var tt;(function(e){e[e.injectionDecoratorConflict=0]="injectionDecoratorConflict",e[e.missingInjectionDecorator=1]="missingInjectionDecorator",e[e.planning=2]="planning",e[e.planningMaxDepthExceeded=3]="planningMaxDepthExceeded",e[e.resolution=4]="resolution",e[e.unknown=5]="unknown"})(tt||(tt={}));var Mi;(function(e){e[e.unknown=32]="unknown"})(Mi||(Mi={}));var nm;(function(e){e.id="id",e.moduleId="moduleId",e.serviceId="serviceId"})(nm||(nm={}));var im;(function(e){e.moduleId="moduleId",e.serviceId="serviceId"})(im||(im={}));function aE(){return 0}function sE(e){return t=>{t!==void 0&&t.kind===Mi.unknown&&zn(e,rE,aE,n=>n-1)}}var Pt;(function(e){e[e.multipleInjection=0]="multipleInjection",e[e.singleInjection=1]="singleInjection",e[e.unmanaged=2]="unmanaged"})(Pt||(Pt={}));function oE(e,t){return(...n)=>i=>{if(i===void 0)return e(...n);if(i.kind===Pt.unmanaged)throw new et(tt.injectionDecoratorConflict,"Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found");return t(i,...n)}}function cE(e,t,n){return e===Pt.multipleInjection?{chained:n?.chained??!1,kind:e,name:void 0,optional:!1,tags:new Map,value:t}:{kind:e,name:void 0,optional:!1,tags:new Map,value:t}}function lE(e){if(e.kind!==Mi.unknown&&e.isFromTypescriptParamType!==!0)throw new et(tt.injectionDecoratorConflict,"Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found")}function uE(e,t,n,i){return lE(e),t===Pt.multipleInjection?{...e,chained:i?.chained??!1,kind:t,value:n}:{...e,kind:t,value:n}}const pE=oE(cE,uE);function dE(e,t){return n=>{const i=n.constructorArguments[t];return n.constructorArguments[t]=e(i),n}}function mv(e,t){return n=>{const i=n.properties.get(t);return n.properties.set(t,e(i)),n}}var vt;(function(e){e[e.method=0]="method",e[e.parameter=1]="parameter",e[e.property=2]="property"})(vt||(vt={}));function fE(e,t,n){if(n===void 0){if(t===void 0)throw new et(tt.unknown,"Unexpected undefined property and index values");return{kind:vt.property,property:t,targetClass:e.constructor}}return typeof n=="number"?{index:n,kind:vt.parameter,targetClass:e}:{kind:vt.method,method:t,targetClass:e}}function mE(e){switch(e.kind){case vt.method:return`[class: "${e.targetClass.name}", method: "${e.method.toString()}"]`;case vt.parameter:return`[class: "${e.targetClass.name}", index: "${e.index.toString()}"]`;case vt.property:return`[class: "${e.targetClass.name}", property: "${e.property.toString()}"]`}}function hE(e,t,n,i){if(et.isErrorOfKind(i,tt.injectionDecoratorConflict)){const r=fE(e,t,n);throw new et(tt.injectionDecoratorConflict,`Unexpected injection error.
172
+
173
+ Cause:
174
+
175
+ ${i.message}
176
+
177
+ Details
178
+
179
+ ${mE(r)}`,{cause:i})}throw i}function vE(e,t){return(i,r,s)=>{try{s===void 0?xE(e,t)(i,r):typeof s=="number"?yE(e,t)(i,r,s):gE(e,t)(i,r,s)}catch(o){hE(i,r,s,o)}}}function Kc(e,t){return n=>{const i=t(n);return r=>(i(r),e(r))}}function gE(e,t){const n=Kc(e,t);return(i,r,s)=>{if(wE(s))zn(i.constructor,xr,br,mv(n(i),r));else throw new et(tt.injectionDecoratorConflict,`Found an @inject decorator in a non setter property method.
180
+ Found @inject decorator at method "${r.toString()}" at class "${i.constructor.name}"`)}}function yE(e,t){const n=Kc(e,t);return(i,r,s)=>{if(bE(i,r))zn(i,xr,br,dE(n(i),s));else throw new et(tt.injectionDecoratorConflict,`Found an @inject decorator in a non constructor parameter.
181
+ Found @inject decorator at method "${r?.toString()??""}" at class "${i.constructor.name}"`)}}function xE(e,t){const n=Kc(e,t);return(i,r)=>{zn(i.constructor,xr,br,mv(n(i),r))}}function bE(e,t){return typeof e=="function"&&t===void 0}function wE(e){return e.set!==void 0}function SE(e){const t=pE(Pt.singleInjection,e);return vE(t,sE)}const rm="@inversifyjs/core/classIsInjectableFlagReflectKey";function EE(e){if(Hc(e,rm)!==void 0)throw new et(tt.injectionDecoratorConflict,`Cannot apply @injectable decorator multiple times at class "${e.name}"`);iE(e,rm,!0)}const _E="design:paramtypes";function RE(e){return{isFromTypescriptParamType:!0,kind:Pt.singleInjection,name:void 0,optional:!1,tags:new Map,value:e}}const kE=[Array,BigInt,Boolean,Function,Number,Object,String];function AE(e){return!kE.includes(e)}function $E(e){const t=Hc(e,_E);t!==void 0&&zn(e,xr,br,OE(t))}function OE(e){return t=>(e.forEach((n,i)=>{t.constructorArguments[i]===void 0&&AE(n)&&(t.constructorArguments[i]=RE(n))}),t)}function PE(e){return t=>{EE(t),$E(t)}}var am;(function(e){e[e.multipleInjection=0]="multipleInjection",e[e.singleInjection=1]="singleInjection"})(am||(am={}));var sm;(function(e){e.bindingAdded="bindingAdded",e.bindingRemoved="bindingRemoved"})(sm||(sm={}));var om;(function(e){e[e.invalidOperation=0]="invalidOperation"})(om||(om={}));function TE(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function NE(e,t){return function(n,i){t(n,i,e)}}function CE(e,t,n,i){var r=arguments.length,s=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,n):i,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}var cm=class{cristalApp;constructor(e){this.cristalApp=e}get(e){let t=e||this.cristalApp.getWikiConfig().getType();try{return this.cristalApp.getContainer().get("LinkSuggestService",{name:t})}catch(n){this.cristalApp.getLogger("link.suggest.api").warn(`Couldn't resolve LinkSuggestService for type=[${t}]`,n);return}}};cm=CE([PE(),NE(0,SE("CristalApp")),TE("design:paramtypes",[Object])],cm);var ic=(function(e){return e[e.PAGE=0]="PAGE",e[e.ATTACHMENT=1]="ATTACHMENT",e})(ic||{}),Gc=(function(e){return e[e.WIKI=0]="WIKI",e[e.SPACE=1]="SPACE",e[e.DOCUMENT=2]="DOCUMENT",e[e.ATTACHMENT=3]="ATTACHMENT",e})(Gc||{});const hv={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(hv);const vv={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(vv);var Ze=function(e,t,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)},Kt,kn,An;class jE{constructor(...t){Kt.set(this,new Map),kn.set(this,new Map),An.set(this,new Map);for(const n of t)this.define(n)}define(t,n=!1){for(let[i,r]of Object.entries(t)){i=i.toLowerCase(),r=r.map(l=>l.toLowerCase());let s=Ze(this,An,"f").get(i);s||(s=new Set,Ze(this,An,"f").set(i,s));let o=!0;for(let l of r){const c=l.startsWith("*");if(l=c?l.slice(1):l,s.add(l),o&&Ze(this,kn,"f").set(i,l),o=!1,c)continue;const d=Ze(this,Kt,"f").get(l);if(d&&d!=i&&!n)throw new Error(`"${i} -> ${l}" conflicts with "${d} -> ${l}". Pass \`force=true\` to override this definition.`);Ze(this,Kt,"f").set(l,i)}}return this}getType(t){if(typeof t!="string")return null;const n=t.replace(/^.*[/\\]/s,"").toLowerCase(),i=n.replace(/^.*\./s,"").toLowerCase(),r=n.length<t.length;return!(i.length<n.length-1)&&r?null:Ze(this,Kt,"f").get(i)??null}getExtension(t){return typeof t!="string"?null:(t=t?.split?.(";")[0],(t&&Ze(this,kn,"f").get(t.trim().toLowerCase()))??null)}getAllExtensions(t){if(typeof t!="string")return null;t=t.split(";")[0].trim().toLowerCase();const n=Ze(this,An,"f").get(t);return n?new Set(n):null}_freeze(){return this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this),this}_getTestState(){return{types:Ze(this,Kt,"f"),extensions:Ze(this,kn,"f")}}}Kt=new WeakMap,kn=new WeakMap,An=new WeakMap;const gv=new jE(vv,hv)._freeze(),IE=".cristal",LE=ne.join(te.app.getPath("home"),IE);function Ye(){return Iy()??LE}function yt(e,...t){return ne.join(Ye(),e,...t)}function qE(e){return yt(`${e}.md`)}function DE(e){const t=e.split("/");return t.length==1?`.${e}`:`${t.slice(0,t.length-1).join("/")}/.${t[t.length-1]}`}function Ui(e){return yt(DE(e))}function yv(e){return ne.join(Ui(e),"attachments")}function FE(e,t){return ne.join(yv(e),t)}async function xt(e){let t;try{t=await oe.promises.lstat(e)}catch(n){console.debug(n)}return t?.isFile()}function ME(e,t){const n=gv.getType(e);if(!n)return!1;const[i,r]=n.split("/"),[s,o]=t.split("/");return(s=="*"||s==i)&&(o=="*"||o==r)}async function Io(e,t){if(!await xt(e))return!1;const n=ne.basename(ne.dirname(e))=="attachments";return n&&t?ME(e,t):n}async function xi(e){if(!await xt(e))return!1;const t=Ye(),n=ne.relative(t,e),i=ne.dirname(n),r=ne.dirname(i),s=ne.basename(i),o=ne.basename(r);return s!="attachments"&&(!o.startsWith(".")||s==="."||o===".")}async function qt(e){let t;try{t=await oe.promises.lstat(e)}catch(n){console.debug(n)}return t?.isDirectory()}async function UE(e){return(await oe.promises.readdir(e)).length==0}async function xv(e){try{await oe.promises.lstat(e)}catch{return!1}return!0}async function Wc(e){const t=Ye();if(!await rn(t,e))throw new Error(`[${e}] is not in in [${t}]`);if(await xt(e)){const n=await oe.promises.readFile(e),i=await oe.promises.stat(e),r=n.toString("utf8"),s=new fv().readPage(r),o=ne.relative(t,e).replace(/.md$/,"");return{type:Gc.DOCUMENT,value:{...s,source:s.content,syntax:"markdown/1.2",lastAuthor:{name:zi.userInfo().username},lastModificationDate:new Date(i.mtimeMs),id:o,canEdit:!0}}}else return}async function zE(e){const t=Ye();if(!await rn(t,e))throw new Error(`[${e}] is not in in [${t}]`);if(await qt(e)){const n=await oe.promises.readdir(e);return(await Promise.all(n.map(i=>Yc(ne.join(e,i))))).filter(i=>i!==void 0).map(i=>i.value)}else return}async function Yc(e){const t=Ye();if(!await rn(t,e))throw new Error(`[${e}] is not in in [${t}]`);if(await xt(e)){const n=await oe.promises.stat(e),i=gv.getType(e)??"",r=ne.dirname(ne.dirname(e)),s=ne.basename(r),o=ne.dirname(r),l=ne.basename(e);return{type:Gc.ATTACHMENT,value:{id:l,mimetype:i,reference:ne.relative(t,ne.join(o,s,"attachments",l)),href:`${nc}://${ne.relative(t,ne.join(o,s,"attachments",l))}`,date:n.mtime,size:n.size,author:void 0}}}else return}async function rn(e,t){const n=ne.relative(e,t);return!n.startsWith("../")&&n!==".."}async function bv(e,t,n){const i=Ye();if(!await rn(i,e))throw new Error(`[${e}] is not in in [${i}]`);let r;if(await xv(e)&&await xt(e)){const l=await oe.promises.readFile(e),c=new TextDecoder("utf-8");r=new fv().readPage(c.decode(l)),r.content=t,r.name=n}else r={name:n,content:t};const s=new nE().writePage(r),o=ne.dirname(e);return await oe.promises.mkdir(o,{recursive:!0}),await oe.promises.writeFile(e,s,{flag:"w+"}),(await Wc(e))?.value}async function BE(e,t){const n=Ye();if(!await rn(n,e))throw new Error(`[${e}] is not in in [${n}]`);const i=ne.dirname(e);await oe.promises.mkdir(i,{recursive:!0}),await oe.promises.copyFile(t,e)}function VE(e){return e.includes(".")?e.slice(0,e.lastIndexOf(".")):e}async function HE(e,t){const n=await oe.promises.readdir(e);for(const i of n){if(i.startsWith("."))continue;const r=ne.join(e,i);await xt(r)?t.add(VE(i)):await qt(r)&&t.add(i)}}async function KE(e){const t=yt(e),n=new Set;return await qt(t)&&await HE(t,n),Array.from(n)}async function GE(e){const t=[],n=`${yt(e)}.md`;await xt(n)&&t.push(te.shell.trashItem(n));const i=Ui(e);await qt(i)&&t.push(te.shell.trashItem(i)),await Promise.all(t)}async function lm(e,t){const n=await Promise.all(e.map(t));return e.filter((i,r)=>n[r])}async function WE(e,t,n){const i=Ye(),r=(await kv.readdir(i,{recursive:!0})).map(l=>ne.join(i,l)),s=await lm(r,async l=>t==ic.ATTACHMENT?Io(l,n):t==ic.PAGE?xi(l):await Io(l,n)||await xi(l)),o=await lm(s,async l=>await Io(l)?ne.basename(l).includes(e):await xi(l)?ne.basename(ne.dirname(l)).includes(e):!1);return(await Promise.all(o.map(async l=>await xi(l)?Wc(l):Yc(l)))).filter(l=>l!==void 0)}async function YE(){await bv(ne.join(Ye(),"index.md"),`# Welcome
182
+
183
+ This is a new **Cristal** wiki.
184
+
185
+ You can use it to take your *own* notes.
186
+
187
+ You can also create new [pages](index/newpage).
188
+
189
+ Enjoy!`,"")}async function JE(e,t,n){const i=`${yt(e)}`,r=`${yt(t)}`;await qt(i)&&n.push(oe.promises.rename(i,r))}async function XE(e,t,n){const i=`${yt(e)}.md`,r=Ui(e),s=`${yt(t)}.md`,o=Ui(t),l=[];await xt(i)&&l.push(oe.promises.rename(i,s)),await qt(r)&&l.push(oe.promises.rename(r,o)),n&&await JE(e,t,l),await Promise.all(l)}async function QE(){te.ipcMain.on("initRootDirectory",async()=>{const e=Ye();(!await xv(e)||await qt(e)&&await UE(e))&&await YE()}),te.protocol.handle(nc,async e=>{const t=Ye(),n=ne.join(t,e.url.substring(`${nc}://`.length));if(!await rn(t,n))throw new Error(`[${n}] is not in in [${t}]`);return te.net.fetch(`file://${decodeURIComponent(n)}`)}),te.ipcMain.handle("resolvePath",(e,{page:t})=>qE(t)),te.ipcMain.handle("resolveAttachmentsPath",(e,{page:t})=>yv(t)),te.ipcMain.handle("readPage",async(e,{path:t})=>(await Wc(t))?.value),te.ipcMain.handle("readAttachments",(e,{path:t})=>zE(t)),te.ipcMain.handle("readAttachment",async(e,{path:t})=>(await Yc(t))?.value),te.ipcMain.handle("savePage",(e,{path:t,content:n,title:i})=>bv(t,n,i)),te.ipcMain.handle("resolveAttachmentPath",(e,{page:t,filename:n})=>FE(t,n)),te.ipcMain.handle("saveAttachment",(e,{path:t,filePath:n})=>BE(t,n)),te.ipcMain.handle("listChildren",(e,{page:t})=>KE(t)),te.ipcMain.handle("deletePage",(e,{path:t})=>GE(t)),te.ipcMain.handle("search",(e,{query:t,type:n,mimetype:i})=>WE(t,n,i)),te.ipcMain.handle("movePage",(e,{reference:t,newReference:n,preserveChildren:i})=>XE(t,n,i))}const ZE=te.app.requestSingleInstanceLock();ZE||(te.app.quit(),process.exit(0));te.app.on("second-instance",Lo);te.app.disableHardwareAcceleration();te.app.on("window-all-closed",()=>{ye.platform!=="darwin"&&te.app.quit()});process.env.NODE_ENV!=="development"&&(console.debug=()=>{});te.app.whenReady().then(async()=>{await QE();const e=await Lo();Dy(e),cS(e,bi),wS(e,bi),NS(e,bi),Ny(),te.app.on("activate",()=>{te.BrowserWindow.getAllWindows().length===0&&Lo()})}).catch(e=>console.error("Failed create window:",e));te.app.whenReady().then(()=>require("electron-updater").autoUpdater.checkForUpdatesAndNotify()).catch(e=>console.error("Failed check and install updates:",e));