@xwiki/cristal-electron-main 1.2.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +10 -10
- package/dist/index.cjs +0 -181
package/dist/index.cjs
DELETED
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
"use strict";require("reflect-metadata");const Q=require("electron"),Z=require("node:path"),pe=require("node:process"),be=require("node:util"),te=require("node:fs"),Wt=require("node:crypto"),ol=require("node:assert"),fc=require("node:os"),Yt=require("node:url"),xt=require("util"),Te=require("stream"),Jm=require("path"),mc=require("http"),hc=require("https"),la=require("url"),Jv=require("fs"),Xm=require("crypto"),Qm=require("http2"),Xv=require("assert"),Qv=require("tty"),Zv=require("os"),st=require("zlib"),eg=require("events"),vc=require("process"),tg=require("buffer");require("reflect-metadata/lite");const ng=require("node:fs/promises");function Zm(e,t,i){for(const n of e)t.includes(`${n.role}`)?i.insert(0,n):n.submenu!=null&&Zm(n.submenu.items,t,i)}function ig(e){const t=Q.Menu.getApplicationMenu(),i=new Q.Menu,n=["toggledevtools","resetzoom","zoomin","zoomout","togglefullscreen"];t?.items&&Zm(t?.items,n,i),e.setMenu(i),Q.Menu.setApplicationMenu(t),e.setMenuBarVisibility(!1)}function Ki(e){return e.loadFile(Z.resolve(Q.app.getAppPath(),"./renderer/dist/index.html"))}async function ag(){const e=new Q.BrowserWindow({webPreferences:{nodeIntegration:!1,contextIsolation:!0,sandbox:!1,webviewTag:!1,preload:Z.join(Q.app.getAppPath(),"./preload/dist/index.cjs")}});return ig(e),e.webContents.setWindowOpenHandler(({url:t})=>(Q.shell.openExternal(t),{action:"deny"})),e.on("ready-to-show",()=>{e?.show()}),await Ki(e),e}async function Qo(){let e=Q.BrowserWindow.getAllWindows().find(t=>!t.isDestroyed());return e===void 0&&(e=await ag()),e.isMinimized()&&e.restore(),e.focus(),e}const rg={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"}},sg={configuration:rg},vt=e=>{const t=typeof e;return e!==null&&(t==="object"||t==="function")},eh=new Set(["__proto__","prototype","constructor"]),th=1e6,og=e=>e>="0"&&e<="9";function nh(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<=th}return!1}function Fa(e,t){return eh.has(e)?!1:(e&&nh(e)?t.push(Number.parseInt(e,10)):t.push(e),!0)}function cg(e){if(typeof e!="string")throw new TypeError(`Expected a string, got ${typeof e}`);const t=[];let i="",n="start",r=!1,l=0;for(const s of e){if(l++,r){i+=s,r=!1;continue}if(s==="\\"){if(n==="index")throw new Error(`Invalid character '${s}' in an index at position ${l}`);if(n==="indexEnd")throw new Error(`Invalid character '${s}' after an index at position ${l}`);r=!0,n=n==="start"?"property":n;continue}switch(s){case".":{if(n==="index")throw new Error(`Invalid character '${s}' in an index at position ${l}`);if(n==="indexEnd"){n="property";break}if(!Fa(i,t))return[];i="",n="property";break}case"[":{if(n==="index")throw new Error(`Invalid character '${s}' in an index at position ${l}`);if(n==="indexEnd"){n="index";break}if(n==="property"||n==="start"){if((i||n==="property")&&!Fa(i,t))return[];i=""}n="index";break}case"]":{if(n==="index"){if(i==="")i=(t.pop()||"")+"[]",n="property";else{const u=Number.parseInt(i,10);!Number.isNaN(u)&&Number.isFinite(u)&&u>=0&&u<=Number.MAX_SAFE_INTEGER&&u<=th&&i===String(u)?t.push(u):t.push(i),i="",n="indexEnd"}break}if(n==="indexEnd")throw new Error(`Invalid character '${s}' after an index at position ${l}`);i+=s;break}default:{if(n==="index"&&!og(s))throw new Error(`Invalid character '${s}' in an index at position ${l}`);if(n==="indexEnd")throw new Error(`Invalid character '${s}' after an index at position ${l}`);n==="start"&&(n="property"),i+=s}}}switch(r&&(i+="\\"),n){case"property":{if(!Fa(i,t))return[];break}case"index":throw new Error("Index was not closed");case"start":{t.push("");break}}return t}function ua(e){if(typeof e=="string")return cg(e);if(Array.isArray(e)){const t=[];for(const[i,n]of e.entries()){if(typeof n!="string"&&typeof n!="number")throw new TypeError(`Expected a string or number for path segment at index ${i}, got ${typeof n}`);if(typeof n=="number"&&!Number.isFinite(n))throw new TypeError(`Path segment at index ${i} must be a finite number, got ${n}`);if(eh.has(n))return[];typeof n=="string"&&nh(n)?t.push(Number.parseInt(n,10)):t.push(n)}return t}return[]}function cl(e,t,i){if(!vt(e)||typeof t!="string"&&!Array.isArray(t))return i===void 0?e:i;const n=ua(t);if(n.length===0)return i;for(let r=0;r<n.length;r++){const l=n[r];if(e=e[l],e==null){if(r!==n.length-1)return i;break}}return e===void 0?i:e}function kn(e,t,i){if(!vt(e)||typeof t!="string"&&!Array.isArray(t))return e;const n=e,r=ua(t);if(r.length===0)return e;for(let l=0;l<r.length;l++){const s=r[l];if(l===r.length-1)e[s]=i;else if(!vt(e[s])){const d=typeof r[l+1]=="number";e[s]=d?[]:{}}e=e[s]}return n}function lg(e,t){if(!vt(e)||typeof t!="string"&&!Array.isArray(t))return!1;const i=ua(t);if(i.length===0)return!1;for(let n=0;n<i.length;n++){const r=i[n];if(n===i.length-1)return Object.hasOwn(e,r)?(delete e[r],!0):!1;if(e=e[r],!vt(e))return!1}}function Ua(e,t){if(!vt(e)||typeof t!="string"&&!Array.isArray(t))return!1;const i=ua(t);if(i.length===0)return!1;for(const n of i){if(!vt(e)||!(n in e))return!1;e=e[n]}return!0}const rt=fc.homedir(),gc=fc.tmpdir(),{env:Lt}=pe,ug=e=>{const t=Z.join(rt,"Library");return{data:Z.join(t,"Application Support",e),config:Z.join(t,"Preferences",e),cache:Z.join(t,"Caches",e),log:Z.join(t,"Logs",e),temp:Z.join(gc,e)}},pg=e=>{const t=Lt.APPDATA||Z.join(rt,"AppData","Roaming"),i=Lt.LOCALAPPDATA||Z.join(rt,"AppData","Local");return{data:Z.join(i,e,"Data"),config:Z.join(t,e,"Config"),cache:Z.join(i,e,"Cache"),log:Z.join(i,e,"Log"),temp:Z.join(gc,e)}},dg=e=>{const t=Z.basename(rt);return{data:Z.join(Lt.XDG_DATA_HOME||Z.join(rt,".local","share"),e),config:Z.join(Lt.XDG_CONFIG_HOME||Z.join(rt,".config"),e),cache:Z.join(Lt.XDG_CACHE_HOME||Z.join(rt,".cache"),e),log:Z.join(Lt.XDG_STATE_HOME||Z.join(rt,".local","state"),e),temp:Z.join(gc,t,e)}};function fg(e,{suffix:t="nodejs"}={}){if(typeof e!="string")throw new TypeError(`Expected a string, got ${typeof e}`);return t&&(e+=`-${t}`),pe.platform==="darwin"?ug(e):pe.platform==="win32"?pg(e):dg(e)}const Ze=(e,t)=>{const{onError:i}=t;return function(...r){return e.apply(void 0,r).catch(i)}},He=(e,t)=>{const{onError:i}=t;return function(...r){try{return e.apply(void 0,r)}catch(l){return i(l)}}},mg=250,et=(e,t)=>{const{isRetriable:i}=t;return function(r){const{timeout:l}=r,s=r.interval??mg,u=Date.now()+l;return function d(...p){return e.apply(void 0,p).catch(a=>{if(!i(a)||Date.now()>=u)throw a;const o=Math.round(s*Math.random());return o>0?new Promise(f=>setTimeout(f,o)).then(()=>d.apply(void 0,p)):d.apply(void 0,p)})}}},tt=(e,t)=>{const{isRetriable:i}=t;return function(r){const{timeout:l}=r,s=Date.now()+l;return function(...d){for(;;)try{return e.apply(void 0,d)}catch(p){if(!i(p)||Date.now()>=s)throw p;continue}}}},Dt={isChangeErrorOk:e=>{if(!Dt.isNodeError(e))return!1;const{code:t}=e;return t==="ENOSYS"||!hg&&(t==="EINVAL"||t==="EPERM")},isNodeError:e=>e instanceof Error,isRetriableError:e=>{if(!Dt.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(!Dt.isNodeError(e))throw e;if(!Dt.isChangeErrorOk(e))throw e}},Rn={onError:Dt.onChangeError},je={onError:()=>{}},hg=pe.getuid?!pe.getuid():!1,_e={isRetriable:Dt.isRetriableError},Ee={attempt:{chmod:Ze(be.promisify(te.chmod),Rn),chown:Ze(be.promisify(te.chown),Rn),close:Ze(be.promisify(te.close),je),fsync:Ze(be.promisify(te.fsync),je),mkdir:Ze(be.promisify(te.mkdir),je),realpath:Ze(be.promisify(te.realpath),je),stat:Ze(be.promisify(te.stat),je),unlink:Ze(be.promisify(te.unlink),je),chmodSync:He(te.chmodSync,Rn),chownSync:He(te.chownSync,Rn),closeSync:He(te.closeSync,je),existsSync:He(te.existsSync,je),fsyncSync:He(te.fsync,je),mkdirSync:He(te.mkdirSync,je),realpathSync:He(te.realpathSync,je),statSync:He(te.statSync,je),unlinkSync:He(te.unlinkSync,je)},retry:{close:et(be.promisify(te.close),_e),fsync:et(be.promisify(te.fsync),_e),open:et(be.promisify(te.open),_e),readFile:et(be.promisify(te.readFile),_e),rename:et(be.promisify(te.rename),_e),stat:et(be.promisify(te.stat),_e),write:et(be.promisify(te.write),_e),writeFile:et(be.promisify(te.writeFile),_e),closeSync:tt(te.closeSync,_e),fsyncSync:tt(te.fsyncSync,_e),openSync:tt(te.openSync,_e),readFileSync:tt(te.readFileSync,_e),renameSync:tt(te.renameSync,_e),statSync:tt(te.statSync,_e),writeSync:tt(te.writeSync,_e),writeFileSync:tt(te.writeFileSync,_e)}},vg="utf8",ll=438,gg=511,yg={},bg=pe.geteuid?pe.geteuid():-1,xg=pe.getegid?pe.getegid():-1,wg=1e3,Sg=!!pe.getuid;pe.getuid&&pe.getuid();const ul=128,_g=e=>e instanceof Error&&"code"in e,pl=e=>typeof e=="string",za=e=>e===void 0,Eg=pe.platform==="linux",ih=pe.platform==="win32",yc=["SIGHUP","SIGINT","SIGTERM"];ih||yc.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");Eg&&yc.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");class $g{constructor(){this.callbacks=new Set,this.exited=!1,this.exit=t=>{if(!this.exited){this.exited=!0;for(const i of this.callbacks)i();t&&(ih&&t!=="SIGINT"&&t!=="SIGTERM"&&t!=="SIGKILL"?pe.kill(pe.pid,"SIGTERM"):pe.kill(pe.pid,t))}},this.hook=()=>{pe.once("exit",()=>this.exit());for(const t of yc)try{pe.once(t,()=>this.exit(t))}catch{}},this.register=t=>(this.callbacks.add(t),()=>{this.callbacks.delete(t)}),this.hook()}}const kg=new $g,Rg=kg.register,$e={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,i=!0)=>{const n=$e.truncate(t(e));return n in $e.store?$e.get(e,t,i):($e.store[n]=i,[n,()=>delete $e.store[n]])},purge:e=>{$e.store[e]&&(delete $e.store[e],Ee.attempt.unlink(e))},purgeSync:e=>{$e.store[e]&&(delete $e.store[e],Ee.attempt.unlinkSync(e))},purgeSyncAll:()=>{for(const e in $e.store)$e.purgeSync(e)},truncate:e=>{const t=Z.basename(e);if(t.length<=ul)return e;const i=/^(\.?)(.*?)((?:\.[^.]+)?(?:\.tmp-\d{10}[a-f0-9]{6})?)$/.exec(t);if(!i)return e;const n=t.length-ul;return`${e.slice(0,-t.length)}${i[1]}${i[2].slice(0,-n)}${i[3]}`}};Rg($e.purgeSyncAll);function ah(e,t,i=yg){if(pl(i))return ah(e,t,{encoding:i});const r={timeout:i.timeout??wg};let l=null,s=null,u=null;try{const d=Ee.attempt.realpathSync(e),p=!!d;e=d||e,[s,l]=$e.get(e,i.tmpCreate||$e.create,i.tmpPurge!==!1);const a=Sg&&za(i.chown),o=za(i.mode);if(p&&(a||o)){const c=Ee.attempt.statSync(e);c&&(i={...i},a&&(i.chown={uid:c.uid,gid:c.gid}),o&&(i.mode=c.mode))}if(!p){const c=Z.dirname(e);Ee.attempt.mkdirSync(c,{mode:gg,recursive:!0})}u=Ee.retry.openSync(r)(s,"w",i.mode||ll),i.tmpCreated&&i.tmpCreated(s),pl(t)?Ee.retry.writeSync(r)(u,t,0,i.encoding||vg):za(t)||Ee.retry.writeSync(r)(u,t,0,t.length,0),i.fsync!==!1&&(i.fsyncWait!==!1?Ee.retry.fsyncSync(r)(u):Ee.attempt.fsync(u)),Ee.retry.closeSync(r)(u),u=null,i.chown&&(i.chown.uid!==bg||i.chown.gid!==xg)&&Ee.attempt.chownSync(s,i.chown.uid,i.chown.gid),i.mode&&i.mode!==ll&&Ee.attempt.chmodSync(s,i.mode);try{Ee.retry.renameSync(r)(s,e)}catch(c){if(!_g(c)||c.code!=="ENAMETOOLONG")throw c;Ee.retry.renameSync(r)(s,$e.truncate(e))}l(),s=null}finally{u&&Ee.attempt.closeSync(u),s&&$e.purge(s)}}function mn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var An={exports:{}},Ba={},We={},lt={},Va={},Ka={},Ga={},dl;function Zi(){return dl||(dl=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 i extends t{constructor(y){if(super(),!e.IDENTIFIER.test(y))throw new Error("CodeGen: name must be a valid identifier");this.str=y}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=i;class n extends t{constructor(y){super(),this._items=typeof y=="string"?[y]:y}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const y=this._items[0];return y===""||y==='""'}get str(){var y;return(y=this._str)!==null&&y!==void 0?y:this._str=this._items.reduce((b,w)=>`${b}${w}`,"")}get names(){var y;return(y=this._names)!==null&&y!==void 0?y:this._names=this._items.reduce((b,w)=>(w instanceof i&&(b[w.str]=(b[w.str]||0)+1),b),{})}}e._Code=n,e.nil=new n("");function r(g,...y){const b=[g[0]];let w=0;for(;w<y.length;)u(b,y[w]),b.push(g[++w]);return new n(b)}e._=r;const l=new n("+");function s(g,...y){const b=[f(g[0])];let w=0;for(;w<y.length;)b.push(l),u(b,y[w]),b.push(l,f(g[++w]));return d(b),new n(b)}e.str=s;function u(g,y){y instanceof n?g.push(...y._items):y instanceof i?g.push(y):g.push(o(y))}e.addCodeArg=u;function d(g){let y=1;for(;y<g.length-1;){if(g[y]===l){const b=p(g[y-1],g[y+1]);if(b!==void 0){g.splice(y-1,3,b);continue}g[y++]="+"}y++}}function p(g,y){if(y==='""')return g;if(g==='""')return y;if(typeof g=="string")return y instanceof i||g[g.length-1]!=='"'?void 0:typeof y!="string"?`${g.slice(0,-1)}${y}"`:y[0]==='"'?g.slice(0,-1)+y.slice(1):void 0;if(typeof y=="string"&&y[0]==='"'&&!(g instanceof i))return`"${g}${y.slice(1)}`}function a(g,y){return y.emptyStr()?g:g.emptyStr()?y:s`${g}${y}`}e.strConcat=a;function o(g){return typeof g=="number"||typeof g=="boolean"||g===null?g:f(Array.isArray(g)?g.join(","):g)}function c(g){return new n(f(g))}e.stringify=c;function f(g){return JSON.stringify(g).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=f;function m(g){return typeof g=="string"&&e.IDENTIFIER.test(g)?new n(`.${g}`):r`[${g}]`}e.getProperty=m;function v(g){if(typeof g=="string"&&e.IDENTIFIER.test(g))return new n(`${g}`);throw new Error(`CodeGen: invalid export name: ${g}, use explicit $id name mapping`)}e.getEsmExportName=v;function h(g){return new n(g.toString())}e.regexpCode=h})(Ga)),Ga}var Ha={},fl;function ml(){return fl||(fl=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Zi();class i extends Error{constructor(p){super(`CodeGen: "code" for ${p} not defined`),this.value=p.value}}var n;(function(d){d[d.Started=0]="Started",d[d.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class r{constructor({prefixes:p,parent:a}={}){this._names={},this._prefixes=p,this._parent=a}toName(p){return p instanceof t.Name?p:this.name(p)}name(p){return new t.Name(this._newName(p))}_newName(p){const a=this._names[p]||this._nameGroup(p);return`${p}${a.index++}`}_nameGroup(p){var a,o;if(!((o=(a=this._parent)===null||a===void 0?void 0:a._prefixes)===null||o===void 0)&&o.has(p)||this._prefixes&&!this._prefixes.has(p))throw new Error(`CodeGen: prefix "${p}" is not allowed in this scope`);return this._names[p]={prefix:p,index:0}}}e.Scope=r;class l extends t.Name{constructor(p,a){super(a),this.prefix=p}setValue(p,{property:a,itemIndex:o}){this.value=p,this.scopePath=(0,t._)`.${new t.Name(a)}[${o}]`}}e.ValueScopeName=l;const s=(0,t._)`\n`;class u extends r{constructor(p){super(p),this._values={},this._scope=p.scope,this.opts={...p,_n:p.lines?s:t.nil}}get(){return this._scope}name(p){return new l(p,this._newName(p))}value(p,a){var o;if(a.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const c=this.toName(p),{prefix:f}=c,m=(o=a.key)!==null&&o!==void 0?o:a.ref;let v=this._values[f];if(v){const y=v.get(m);if(y)return y}else v=this._values[f]=new Map;v.set(m,c);const h=this._scope[f]||(this._scope[f]=[]),g=h.length;return h[g]=a.ref,c.setValue(a,{property:f,itemIndex:g}),c}getValue(p,a){const o=this._values[p];if(o)return o.get(a)}scopeRefs(p,a=this._values){return this._reduceValues(a,o=>{if(o.scopePath===void 0)throw new Error(`CodeGen: name "${o}" has no value`);return(0,t._)`${p}${o.scopePath}`})}scopeCode(p=this._values,a,o){return this._reduceValues(p,c=>{if(c.value===void 0)throw new Error(`CodeGen: name "${c}" has no value`);return c.value.code},a,o)}_reduceValues(p,a,o={},c){let f=t.nil;for(const m in p){const v=p[m];if(!v)continue;const h=o[m]=o[m]||new Map;v.forEach(g=>{if(h.has(g))return;h.set(g,n.Started);let y=a(g);if(y){const b=this.opts.es5?e.varKinds.var:e.varKinds.const;f=(0,t._)`${f}${b} ${g} = ${y};${this.opts._n}`}else if(y=c?.(g))f=(0,t._)`${f}${y}${this.opts._n}`;else throw new i(g);h.set(g,n.Completed)})}return f}}e.ValueScope=u})(Ha)),Ha}var hl;function ae(){return hl||(hl=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=Zi(),i=ml();var n=Zi();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var r=ml();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 l{optimizeNodes(){return this}optimizeNames(E,R){return this}}class s extends l{constructor(E,R,F){super(),this.varKind=E,this.name=R,this.rhs=F}render({es5:E,_n:R}){const F=E?i.varKinds.var:this.varKind,W=this.rhs===void 0?"":` = ${this.rhs}`;return`${F} ${this.name}${W};`+R}optimizeNames(E,R){if(E[this.name.str])return this.rhs&&(this.rhs=D(this.rhs,E,R)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class u extends l{constructor(E,R,F){super(),this.lhs=E,this.rhs=R,this.sideEffects=F}render({_n:E}){return`${this.lhs} = ${this.rhs};`+E}optimizeNames(E,R){if(!(this.lhs instanceof t.Name&&!E[this.lhs.str]&&!this.sideEffects))return this.rhs=D(this.rhs,E,R),this}get names(){const E=this.lhs instanceof t.Name?{}:{...this.lhs.names};return G(E,this.rhs)}}class d extends u{constructor(E,R,F,W){super(E,F,W),this.op=R}render({_n:E}){return`${this.lhs} ${this.op}= ${this.rhs};`+E}}class p extends l{constructor(E){super(),this.label=E,this.names={}}render({_n:E}){return`${this.label}:`+E}}class a extends l{constructor(E){super(),this.label=E,this.names={}}render({_n:E}){return`break${this.label?` ${this.label}`:""};`+E}}class o extends l{constructor(E){super(),this.error=E}render({_n:E}){return`throw ${this.error};`+E}get names(){return this.error.names}}class c extends l{constructor(E){super(),this.code=E}render({_n:E}){return`${this.code};`+E}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(E,R){return this.code=D(this.code,E,R),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class f extends l{constructor(E=[]){super(),this.nodes=E}render(E){return this.nodes.reduce((R,F)=>R+F.render(E),"")}optimizeNodes(){const{nodes:E}=this;let R=E.length;for(;R--;){const F=E[R].optimizeNodes();Array.isArray(F)?E.splice(R,1,...F):F?E[R]=F:E.splice(R,1)}return E.length>0?this:void 0}optimizeNames(E,R){const{nodes:F}=this;let W=F.length;for(;W--;){const X=F[W];X.optimizeNames(E,R)||(V(E,X.names),F.splice(W,1))}return F.length>0?this:void 0}get names(){return this.nodes.reduce((E,R)=>B(E,R.names),{})}}class m extends f{render(E){return"{"+E._n+super.render(E)+"}"+E._n}}class v extends f{}class h extends m{}h.kind="else";class g extends m{constructor(E,R){super(R),this.condition=E}render(E){let R=`if(${this.condition})`+super.render(E);return this.else&&(R+="else "+this.else.render(E)),R}optimizeNodes(){super.optimizeNodes();const E=this.condition;if(E===!0)return this.nodes;let R=this.else;if(R){const F=R.optimizeNodes();R=this.else=Array.isArray(F)?new h(F):F}if(R)return E===!1?R instanceof g?R:R.nodes:this.nodes.length?this:new g(A(E),R instanceof g?[R]:R.nodes);if(!(E===!1||!this.nodes.length))return this}optimizeNames(E,R){var F;if(this.else=(F=this.else)===null||F===void 0?void 0:F.optimizeNames(E,R),!!(super.optimizeNames(E,R)||this.else))return this.condition=D(this.condition,E,R),this}get names(){const E=super.names;return G(E,this.condition),this.else&&B(E,this.else.names),E}}g.kind="if";class y extends m{}y.kind="for";class b extends y{constructor(E){super(),this.iteration=E}render(E){return`for(${this.iteration})`+super.render(E)}optimizeNames(E,R){if(super.optimizeNames(E,R))return this.iteration=D(this.iteration,E,R),this}get names(){return B(super.names,this.iteration.names)}}class w extends y{constructor(E,R,F,W){super(),this.varKind=E,this.name=R,this.from=F,this.to=W}render(E){const R=E.es5?i.varKinds.var:this.varKind,{name:F,from:W,to:X}=this;return`for(${R} ${F}=${W}; ${F}<${X}; ${F}++)`+super.render(E)}get names(){const E=G(super.names,this.from);return G(E,this.to)}}class x extends y{constructor(E,R,F,W){super(),this.loop=E,this.varKind=R,this.name=F,this.iterable=W}render(E){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(E)}optimizeNames(E,R){if(super.optimizeNames(E,R))return this.iterable=D(this.iterable,E,R),this}get names(){return B(super.names,this.iterable.names)}}class S extends m{constructor(E,R,F){super(),this.name=E,this.args=R,this.async=F}render(E){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(E)}}S.kind="func";class _ extends f{render(E){return"return "+super.render(E)}}_.kind="return";class $ extends m{render(E){let R="try"+super.render(E);return this.catch&&(R+=this.catch.render(E)),this.finally&&(R+=this.finally.render(E)),R}optimizeNodes(){var E,R;return super.optimizeNodes(),(E=this.catch)===null||E===void 0||E.optimizeNodes(),(R=this.finally)===null||R===void 0||R.optimizeNodes(),this}optimizeNames(E,R){var F,W;return super.optimizeNames(E,R),(F=this.catch)===null||F===void 0||F.optimizeNames(E,R),(W=this.finally)===null||W===void 0||W.optimizeNames(E,R),this}get names(){const E=super.names;return this.catch&&B(E,this.catch.names),this.finally&&B(E,this.finally.names),E}}class T extends m{constructor(E){super(),this.error=E}render(E){return`catch(${this.error})`+super.render(E)}}T.kind="catch";class U extends m{render(E){return"finally"+super.render(E)}}U.kind="finally";class L{constructor(E,R={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...R,_n:R.lines?`
|
|
2
|
-
`:""},this._extScope=E,this._scope=new i.Scope({parent:E}),this._nodes=[new v]}toString(){return this._root.render(this.opts)}name(E){return this._scope.name(E)}scopeName(E){return this._extScope.name(E)}scopeValue(E,R){const F=this._extScope.value(E,R);return(this._values[F.prefix]||(this._values[F.prefix]=new Set)).add(F),F}getScopeValue(E,R){return this._extScope.getValue(E,R)}scopeRefs(E){return this._extScope.scopeRefs(E,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(E,R,F,W){const X=this._scope.toName(R);return F!==void 0&&W&&(this._constants[X.str]=F),this._leafNode(new s(E,X,F)),X}const(E,R,F){return this._def(i.varKinds.const,E,R,F)}let(E,R,F){return this._def(i.varKinds.let,E,R,F)}var(E,R,F){return this._def(i.varKinds.var,E,R,F)}assign(E,R,F){return this._leafNode(new u(E,R,F))}add(E,R){return this._leafNode(new d(E,e.operators.ADD,R))}code(E){return typeof E=="function"?E():E!==t.nil&&this._leafNode(new c(E)),this}object(...E){const R=["{"];for(const[F,W]of E)R.length>1&&R.push(","),R.push(F),(F!==W||this.opts.es5)&&(R.push(":"),(0,t.addCodeArg)(R,W));return R.push("}"),new t._Code(R)}if(E,R,F){if(this._blockNode(new g(E)),R&&F)this.code(R).else().code(F).endIf();else if(R)this.code(R).endIf();else if(F)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(E){return this._elseNode(new g(E))}else(){return this._elseNode(new h)}endIf(){return this._endBlockNode(g,h)}_for(E,R){return this._blockNode(E),R&&this.code(R).endFor(),this}for(E,R){return this._for(new b(E),R)}forRange(E,R,F,W,X=this.opts.es5?i.varKinds.var:i.varKinds.let){const ie=this._scope.toName(E);return this._for(new w(X,ie,R,F),()=>W(ie))}forOf(E,R,F,W=i.varKinds.const){const X=this._scope.toName(E);if(this.opts.es5){const ie=R instanceof t.Name?R:this.var("_arr",R);return this.forRange("_i",0,(0,t._)`${ie}.length`,J=>{this.var(X,(0,t._)`${ie}[${J}]`),F(X)})}return this._for(new x("of",W,X,R),()=>F(X))}forIn(E,R,F,W=this.opts.es5?i.varKinds.var:i.varKinds.const){if(this.opts.ownProperties)return this.forOf(E,(0,t._)`Object.keys(${R})`,F);const X=this._scope.toName(E);return this._for(new x("in",W,X,R),()=>F(X))}endFor(){return this._endBlockNode(y)}label(E){return this._leafNode(new p(E))}break(E){return this._leafNode(new a(E))}return(E){const R=new _;if(this._blockNode(R),this.code(E),R.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(_)}try(E,R,F){if(!R&&!F)throw new Error('CodeGen: "try" without "catch" and "finally"');const W=new $;if(this._blockNode(W),this.code(E),R){const X=this.name("e");this._currNode=W.catch=new T(X),R(X)}return F&&(this._currNode=W.finally=new U,this.code(F)),this._endBlockNode(T,U)}throw(E){return this._leafNode(new o(E))}block(E,R){return this._blockStarts.push(this._nodes.length),E&&this.code(E).endBlock(R),this}endBlock(E){const R=this._blockStarts.pop();if(R===void 0)throw new Error("CodeGen: not in self-balancing block");const F=this._nodes.length-R;if(F<0||E!==void 0&&F!==E)throw new Error(`CodeGen: wrong number of nodes: ${F} vs ${E} expected`);return this._nodes.length=R,this}func(E,R=t.nil,F,W){return this._blockNode(new S(E,R,F)),W&&this.code(W).endFunc(),this}endFunc(){return this._endBlockNode(S)}optimize(E=1){for(;E-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(E){return this._currNode.nodes.push(E),this}_blockNode(E){this._currNode.nodes.push(E),this._nodes.push(E)}_endBlockNode(E,R){const F=this._currNode;if(F instanceof E||R&&F instanceof R)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${R?`${E.kind}/${R.kind}`:E.kind}"`)}_elseNode(E){const R=this._currNode;if(!(R instanceof g))throw new Error('CodeGen: "else" without "if"');return this._currNode=R.else=E,this}get _root(){return this._nodes[0]}get _currNode(){const E=this._nodes;return E[E.length-1]}set _currNode(E){const R=this._nodes;R[R.length-1]=E}}e.CodeGen=L;function B(P,E){for(const R in E)P[R]=(P[R]||0)+(E[R]||0);return P}function G(P,E){return E instanceof t._CodeOrName?B(P,E.names):P}function D(P,E,R){if(P instanceof t.Name)return F(P);if(!W(P))return P;return new t._Code(P._items.reduce((X,ie)=>(ie instanceof t.Name&&(ie=F(ie)),ie instanceof t._Code?X.push(...ie._items):X.push(ie),X),[]));function F(X){const ie=R[X.str];return ie===void 0||E[X.str]!==1?X:(delete E[X.str],ie)}function W(X){return X instanceof t._Code&&X._items.some(ie=>ie instanceof t.Name&&E[ie.str]===1&&R[ie.str]!==void 0)}}function V(P,E){for(const R in E)P[R]=(P[R]||0)-(E[R]||0)}function A(P){return typeof P=="boolean"||typeof P=="number"||P===null?!P:(0,t._)`!${j(P)}`}e.not=A;const N=k(e.operators.AND);function I(...P){return P.reduce(N)}e.and=I;const z=k(e.operators.OR);function O(...P){return P.reduce(z)}e.or=O;function k(P){return(E,R)=>E===t.nil?R:R===t.nil?E:(0,t._)`${j(E)} ${P} ${j(R)}`}function j(P){return P instanceof t.Name?P:(0,t._)`(${P})`}})(Ka)),Ka}var re={},vl;function se(){if(vl)return re;vl=1,Object.defineProperty(re,"__esModule",{value:!0}),re.checkStrictMode=re.getErrorPath=re.Type=re.useFunc=re.setEvaluated=re.evaluatedPropsToName=re.mergeEvaluated=re.eachItem=re.unescapeJsonPointer=re.escapeJsonPointer=re.escapeFragment=re.unescapeFragment=re.schemaRefOrVal=re.schemaHasRulesButRef=re.schemaHasRules=re.checkUnknownRules=re.alwaysValidSchema=re.toHash=void 0;const e=ae(),t=Zi();function i(x){const S={};for(const _ of x)S[_]=!0;return S}re.toHash=i;function n(x,S){return typeof S=="boolean"?S:Object.keys(S).length===0?!0:(r(x,S),!l(S,x.self.RULES.all))}re.alwaysValidSchema=n;function r(x,S=x.schema){const{opts:_,self:$}=x;if(!_.strictSchema||typeof S=="boolean")return;const T=$.RULES.keywords;for(const U in S)T[U]||w(x,`unknown keyword: "${U}"`)}re.checkUnknownRules=r;function l(x,S){if(typeof x=="boolean")return!x;for(const _ in x)if(S[_])return!0;return!1}re.schemaHasRules=l;function s(x,S){if(typeof x=="boolean")return!x;for(const _ in x)if(_!=="$ref"&&S.all[_])return!0;return!1}re.schemaHasRulesButRef=s;function u({topSchemaRef:x,schemaPath:S},_,$,T){if(!T){if(typeof _=="number"||typeof _=="boolean")return _;if(typeof _=="string")return(0,e._)`${_}`}return(0,e._)`${x}${S}${(0,e.getProperty)($)}`}re.schemaRefOrVal=u;function d(x){return o(decodeURIComponent(x))}re.unescapeFragment=d;function p(x){return encodeURIComponent(a(x))}re.escapeFragment=p;function a(x){return typeof x=="number"?`${x}`:x.replace(/~/g,"~0").replace(/\//g,"~1")}re.escapeJsonPointer=a;function o(x){return x.replace(/~1/g,"/").replace(/~0/g,"~")}re.unescapeJsonPointer=o;function c(x,S){if(Array.isArray(x))for(const _ of x)S(_);else S(x)}re.eachItem=c;function f({mergeNames:x,mergeToName:S,mergeValues:_,resultToName:$}){return(T,U,L,B)=>{const G=L===void 0?U:L instanceof e.Name?(U instanceof e.Name?x(T,U,L):S(T,U,L),L):U instanceof e.Name?(S(T,L,U),U):_(U,L);return B===e.Name&&!(G instanceof e.Name)?$(T,G):G}}re.mergeEvaluated={props:f({mergeNames:(x,S,_)=>x.if((0,e._)`${_} !== true && ${S} !== undefined`,()=>{x.if((0,e._)`${S} === true`,()=>x.assign(_,!0),()=>x.assign(_,(0,e._)`${_} || {}`).code((0,e._)`Object.assign(${_}, ${S})`))}),mergeToName:(x,S,_)=>x.if((0,e._)`${_} !== true`,()=>{S===!0?x.assign(_,!0):(x.assign(_,(0,e._)`${_} || {}`),v(x,_,S))}),mergeValues:(x,S)=>x===!0?!0:{...x,...S},resultToName:m}),items:f({mergeNames:(x,S,_)=>x.if((0,e._)`${_} !== true && ${S} !== undefined`,()=>x.assign(_,(0,e._)`${S} === true ? true : ${_} > ${S} ? ${_} : ${S}`)),mergeToName:(x,S,_)=>x.if((0,e._)`${_} !== true`,()=>x.assign(_,S===!0?!0:(0,e._)`${_} > ${S} ? ${_} : ${S}`)),mergeValues:(x,S)=>x===!0?!0:Math.max(x,S),resultToName:(x,S)=>x.var("items",S)})};function m(x,S){if(S===!0)return x.var("props",!0);const _=x.var("props",(0,e._)`{}`);return S!==void 0&&v(x,_,S),_}re.evaluatedPropsToName=m;function v(x,S,_){Object.keys(_).forEach($=>x.assign((0,e._)`${S}${(0,e.getProperty)($)}`,!0))}re.setEvaluated=v;const h={};function g(x,S){return x.scopeValue("func",{ref:S,code:h[S.code]||(h[S.code]=new t._Code(S.code))})}re.useFunc=g;var y;(function(x){x[x.Num=0]="Num",x[x.Str=1]="Str"})(y||(re.Type=y={}));function b(x,S,_){if(x instanceof e.Name){const $=S===y.Num;return _?$?(0,e._)`"[" + ${x} + "]"`:(0,e._)`"['" + ${x} + "']"`:$?(0,e._)`"/" + ${x}`:(0,e._)`"/" + ${x}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return _?(0,e.getProperty)(x).toString():"/"+a(x)}re.getErrorPath=b;function w(x,S,_=x.opts.strictSchema){if(_){if(S=`strict mode: ${S}`,_===!0)throw new Error(S);x.self.logger.warn(S)}}return re.checkStrictMode=w,re}var Tn={},gl;function Fe(){if(gl)return Tn;gl=1,Object.defineProperty(Tn,"__esModule",{value:!0});const e=ae(),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 Tn.default=t,Tn}var yl;function pa(){return yl||(yl=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=ae(),i=se(),n=Fe();e.keywordError={message:({keyword:h})=>(0,t.str)`must pass "${h}" keyword validation`},e.keyword$DataError={message:({keyword:h,schemaType:g})=>g?(0,t.str)`"${h}" keyword must be ${g} ($data)`:(0,t.str)`"${h}" keyword is invalid ($data)`};function r(h,g=e.keywordError,y,b){const{it:w}=h,{gen:x,compositeRule:S,allErrors:_}=w,$=o(h,g,y);b??(S||_)?d(x,$):p(w,(0,t._)`[${$}]`)}e.reportError=r;function l(h,g=e.keywordError,y){const{it:b}=h,{gen:w,compositeRule:x,allErrors:S}=b,_=o(h,g,y);d(w,_),x||S||p(b,n.default.vErrors)}e.reportExtraError=l;function s(h,g){h.assign(n.default.errors,g),h.if((0,t._)`${n.default.vErrors} !== null`,()=>h.if(g,()=>h.assign((0,t._)`${n.default.vErrors}.length`,g),()=>h.assign(n.default.vErrors,null)))}e.resetErrorsCount=s;function u({gen:h,keyword:g,schemaValue:y,data:b,errsCount:w,it:x}){if(w===void 0)throw new Error("ajv implementation error");const S=h.name("err");h.forRange("i",w,n.default.errors,_=>{h.const(S,(0,t._)`${n.default.vErrors}[${_}]`),h.if((0,t._)`${S}.instancePath === undefined`,()=>h.assign((0,t._)`${S}.instancePath`,(0,t.strConcat)(n.default.instancePath,x.errorPath))),h.assign((0,t._)`${S}.schemaPath`,(0,t.str)`${x.errSchemaPath}/${g}`),x.opts.verbose&&(h.assign((0,t._)`${S}.schema`,y),h.assign((0,t._)`${S}.data`,b))})}e.extendErrors=u;function d(h,g){const y=h.const("err",g);h.if((0,t._)`${n.default.vErrors} === null`,()=>h.assign(n.default.vErrors,(0,t._)`[${y}]`),(0,t._)`${n.default.vErrors}.push(${y})`),h.code((0,t._)`${n.default.errors}++`)}function p(h,g){const{gen:y,validateName:b,schemaEnv:w}=h;w.$async?y.throw((0,t._)`new ${h.ValidationError}(${g})`):(y.assign((0,t._)`${b}.errors`,g),y.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 o(h,g,y){const{createErrors:b}=h.it;return b===!1?(0,t._)`{}`:c(h,g,y)}function c(h,g,y={}){const{gen:b,it:w}=h,x=[f(w,y),m(h,y)];return v(h,g,x),b.object(...x)}function f({errorPath:h},{instancePath:g}){const y=g?(0,t.str)`${h}${(0,i.getErrorPath)(g,i.Type.Str)}`:h;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,y)]}function m({keyword:h,it:{errSchemaPath:g}},{schemaPath:y,parentSchema:b}){let w=b?g:(0,t.str)`${g}/${h}`;return y&&(w=(0,t.str)`${w}${(0,i.getErrorPath)(y,i.Type.Str)}`),[a.schemaPath,w]}function v(h,{params:g,message:y},b){const{keyword:w,data:x,schemaValue:S,it:_}=h,{opts:$,propertyName:T,topSchemaRef:U,schemaPath:L}=_;b.push([a.keyword,w],[a.params,typeof g=="function"?g(h):g||(0,t._)`{}`]),$.messages&&b.push([a.message,typeof y=="function"?y(h):y]),$.verbose&&b.push([a.schema,S],[a.parentSchema,(0,t._)`${U}${L}`],[n.default.data,x]),T&&b.push([a.propertyName,T])}})(Va)),Va}var bl;function Ag(){if(bl)return lt;bl=1,Object.defineProperty(lt,"__esModule",{value:!0}),lt.boolOrEmptySchema=lt.topBoolOrEmptySchema=void 0;const e=pa(),t=ae(),i=Fe(),n={message:"boolean schema is false"};function r(u){const{gen:d,schema:p,validateName:a}=u;p===!1?s(u,!1):typeof p=="object"&&p.$async===!0?d.return(i.default.data):(d.assign((0,t._)`${a}.errors`,null),d.return(!0))}lt.topBoolOrEmptySchema=r;function l(u,d){const{gen:p,schema:a}=u;a===!1?(p.var(d,!1),s(u)):p.var(d,!0)}lt.boolOrEmptySchema=l;function s(u,d){const{gen:p,data:a}=u,o={gen:p,keyword:"false schema",data:a,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:u};(0,e.reportError)(o,n,void 0,d)}return lt}var we={},ut={},xl;function rh(){if(xl)return ut;xl=1,Object.defineProperty(ut,"__esModule",{value:!0}),ut.getRules=ut.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function i(r){return typeof r=="string"&&t.has(r)}ut.isJSONType=i;function n(){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 ut.getRules=n,ut}var Ye={},wl;function sh(){if(wl)return Ye;wl=1,Object.defineProperty(Ye,"__esModule",{value:!0}),Ye.shouldUseRule=Ye.shouldUseGroup=Ye.schemaHasRulesForType=void 0;function e({schema:n,self:r},l){const s=r.RULES.types[l];return s&&s!==!0&&t(n,s)}Ye.schemaHasRulesForType=e;function t(n,r){return r.rules.some(l=>i(n,l))}Ye.shouldUseGroup=t;function i(n,r){var l;return n[r.keyword]!==void 0||((l=r.definition.implements)===null||l===void 0?void 0:l.some(s=>n[s]!==void 0))}return Ye.shouldUseRule=i,Ye}var Sl;function ea(){if(Sl)return we;Sl=1,Object.defineProperty(we,"__esModule",{value:!0}),we.reportTypeError=we.checkDataTypes=we.checkDataType=we.coerceAndCheckDataType=we.getJSONTypes=we.getSchemaTypes=we.DataType=void 0;const e=rh(),t=sh(),i=pa(),n=ae(),r=se();var l;(function(y){y[y.Correct=0]="Correct",y[y.Wrong=1]="Wrong"})(l||(we.DataType=l={}));function s(y){const b=u(y.type);if(b.includes("null")){if(y.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!b.length&&y.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');y.nullable===!0&&b.push("null")}return b}we.getSchemaTypes=s;function u(y){const b=Array.isArray(y)?y:y?[y]:[];if(b.every(e.isJSONType))return b;throw new Error("type must be JSONType or JSONType[]: "+b.join(","))}we.getJSONTypes=u;function d(y,b){const{gen:w,data:x,opts:S}=y,_=a(b,S.coerceTypes),$=b.length>0&&!(_.length===0&&b.length===1&&(0,t.schemaHasRulesForType)(y,b[0]));if($){const T=m(b,x,S.strictNumbers,l.Wrong);w.if(T,()=>{_.length?o(y,b,_):h(y)})}return $}we.coerceAndCheckDataType=d;const p=new Set(["string","number","integer","boolean","null"]);function a(y,b){return b?y.filter(w=>p.has(w)||b==="array"&&w==="array"):[]}function o(y,b,w){const{gen:x,data:S,opts:_}=y,$=x.let("dataType",(0,n._)`typeof ${S}`),T=x.let("coerced",(0,n._)`undefined`);_.coerceTypes==="array"&&x.if((0,n._)`${$} == 'object' && Array.isArray(${S}) && ${S}.length == 1`,()=>x.assign(S,(0,n._)`${S}[0]`).assign($,(0,n._)`typeof ${S}`).if(m(b,S,_.strictNumbers),()=>x.assign(T,S))),x.if((0,n._)`${T} !== undefined`);for(const L of w)(p.has(L)||L==="array"&&_.coerceTypes==="array")&&U(L);x.else(),h(y),x.endIf(),x.if((0,n._)`${T} !== undefined`,()=>{x.assign(S,T),c(y,T)});function U(L){switch(L){case"string":x.elseIf((0,n._)`${$} == "number" || ${$} == "boolean"`).assign(T,(0,n._)`"" + ${S}`).elseIf((0,n._)`${S} === null`).assign(T,(0,n._)`""`);return;case"number":x.elseIf((0,n._)`${$} == "boolean" || ${S} === null
|
|
3
|
-
|| (${$} == "string" && ${S} && ${S} == +${S})`).assign(T,(0,n._)`+${S}`);return;case"integer":x.elseIf((0,n._)`${$} === "boolean" || ${S} === null
|
|
4
|
-
|| (${$} === "string" && ${S} && ${S} == +${S} && !(${S} % 1))`).assign(T,(0,n._)`+${S}`);return;case"boolean":x.elseIf((0,n._)`${S} === "false" || ${S} === 0 || ${S} === null`).assign(T,!1).elseIf((0,n._)`${S} === "true" || ${S} === 1`).assign(T,!0);return;case"null":x.elseIf((0,n._)`${S} === "" || ${S} === 0 || ${S} === false`),x.assign(T,null);return;case"array":x.elseIf((0,n._)`${$} === "string" || ${$} === "number"
|
|
5
|
-
|| ${$} === "boolean" || ${S} === null`).assign(T,(0,n._)`[${S}]`)}}}function c({gen:y,parentData:b,parentDataProperty:w},x){y.if((0,n._)`${b} !== undefined`,()=>y.assign((0,n._)`${b}[${w}]`,x))}function f(y,b,w,x=l.Correct){const S=x===l.Correct?n.operators.EQ:n.operators.NEQ;let _;switch(y){case"null":return(0,n._)`${b} ${S} null`;case"array":_=(0,n._)`Array.isArray(${b})`;break;case"object":_=(0,n._)`${b} && typeof ${b} == "object" && !Array.isArray(${b})`;break;case"integer":_=$((0,n._)`!(${b} % 1) && !isNaN(${b})`);break;case"number":_=$();break;default:return(0,n._)`typeof ${b} ${S} ${y}`}return x===l.Correct?_:(0,n.not)(_);function $(T=n.nil){return(0,n.and)((0,n._)`typeof ${b} == "number"`,T,w?(0,n._)`isFinite(${b})`:n.nil)}}we.checkDataType=f;function m(y,b,w,x){if(y.length===1)return f(y[0],b,w,x);let S;const _=(0,r.toHash)(y);if(_.array&&_.object){const $=(0,n._)`typeof ${b} != "object"`;S=_.null?$:(0,n._)`!${b} || ${$}`,delete _.null,delete _.array,delete _.object}else S=n.nil;_.number&&delete _.integer;for(const $ in _)S=(0,n.and)(S,f($,b,w,x));return S}we.checkDataTypes=m;const v={message:({schema:y})=>`must be ${y}`,params:({schema:y,schemaValue:b})=>typeof y=="string"?(0,n._)`{type: ${y}}`:(0,n._)`{type: ${b}}`};function h(y){const b=g(y);(0,i.reportError)(b,v)}we.reportTypeError=h;function g(y){const{gen:b,data:w,schema:x}=y,S=(0,r.schemaRefOrVal)(y,x,"type");return{gen:b,keyword:"type",data:w,schema:x.type,schemaCode:S,schemaValue:S,parentSchema:x,params:{},it:y}}return we}var Jt={},_l;function Tg(){if(_l)return Jt;_l=1,Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.assignDefaults=void 0;const e=ae(),t=se();function i(r,l){const{properties:s,items:u}=r.schema;if(l==="object"&&s)for(const d in s)n(r,d,s[d].default);else l==="array"&&Array.isArray(u)&&u.forEach((d,p)=>n(r,p,d.default))}Jt.assignDefaults=i;function n(r,l,s){const{gen:u,compositeRule:d,data:p,opts:a}=r;if(s===void 0)return;const o=(0,e._)`${p}${(0,e.getProperty)(l)}`;if(d){(0,t.checkStrictMode)(r,`default is ignored for: ${o}`);return}let c=(0,e._)`${o} === undefined`;a.useDefaults==="empty"&&(c=(0,e._)`${c} || ${o} === null || ${o} === ""`),u.if(c,(0,e._)`${o} = ${(0,e.stringify)(s)}`)}return Jt}var De={},le={},El;function Ue(){if(El)return le;El=1,Object.defineProperty(le,"__esModule",{value:!0}),le.validateUnion=le.validateArray=le.usePattern=le.callValidateCode=le.schemaProperties=le.allSchemaProperties=le.noPropertyInData=le.propertyInData=le.isOwnProperty=le.hasPropFunc=le.reportMissingProp=le.checkMissingProp=le.checkReportMissingProp=void 0;const e=ae(),t=se(),i=Fe(),n=se();function r(y,b){const{gen:w,data:x,it:S}=y;w.if(a(w,x,b,S.opts.ownProperties),()=>{y.setParams({missingProperty:(0,e._)`${b}`},!0),y.error()})}le.checkReportMissingProp=r;function l({gen:y,data:b,it:{opts:w}},x,S){return(0,e.or)(...x.map(_=>(0,e.and)(a(y,b,_,w.ownProperties),(0,e._)`${S} = ${_}`)))}le.checkMissingProp=l;function s(y,b){y.setParams({missingProperty:b},!0),y.error()}le.reportMissingProp=s;function u(y){return y.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}le.hasPropFunc=u;function d(y,b,w){return(0,e._)`${u(y)}.call(${b}, ${w})`}le.isOwnProperty=d;function p(y,b,w,x){const S=(0,e._)`${b}${(0,e.getProperty)(w)} !== undefined`;return x?(0,e._)`${S} && ${d(y,b,w)}`:S}le.propertyInData=p;function a(y,b,w,x){const S=(0,e._)`${b}${(0,e.getProperty)(w)} === undefined`;return x?(0,e.or)(S,(0,e.not)(d(y,b,w))):S}le.noPropertyInData=a;function o(y){return y?Object.keys(y).filter(b=>b!=="__proto__"):[]}le.allSchemaProperties=o;function c(y,b){return o(b).filter(w=>!(0,t.alwaysValidSchema)(y,b[w]))}le.schemaProperties=c;function f({schemaCode:y,data:b,it:{gen:w,topSchemaRef:x,schemaPath:S,errorPath:_},it:$},T,U,L){const B=L?(0,e._)`${y}, ${b}, ${x}${S}`:b,G=[[i.default.instancePath,(0,e.strConcat)(i.default.instancePath,_)],[i.default.parentData,$.parentData],[i.default.parentDataProperty,$.parentDataProperty],[i.default.rootData,i.default.rootData]];$.opts.dynamicRef&&G.push([i.default.dynamicAnchors,i.default.dynamicAnchors]);const D=(0,e._)`${B}, ${w.object(...G)}`;return U!==e.nil?(0,e._)`${T}.call(${U}, ${D})`:(0,e._)`${T}(${D})`}le.callValidateCode=f;const m=(0,e._)`new RegExp`;function v({gen:y,it:{opts:b}},w){const x=b.unicodeRegExp?"u":"",{regExp:S}=b.code,_=S(w,x);return y.scopeValue("pattern",{key:_.toString(),ref:_,code:(0,e._)`${S.code==="new RegExp"?m:(0,n.useFunc)(y,S)}(${w}, ${x})`})}le.usePattern=v;function h(y){const{gen:b,data:w,keyword:x,it:S}=y,_=b.name("valid");if(S.allErrors){const T=b.let("valid",!0);return $(()=>b.assign(T,!1)),T}return b.var(_,!0),$(()=>b.break()),_;function $(T){const U=b.const("len",(0,e._)`${w}.length`);b.forRange("i",0,U,L=>{y.subschema({keyword:x,dataProp:L,dataPropType:t.Type.Num},_),b.if((0,e.not)(_),T)})}}le.validateArray=h;function g(y){const{gen:b,schema:w,keyword:x,it:S}=y;if(!Array.isArray(w))throw new Error("ajv implementation error");if(w.some(U=>(0,t.alwaysValidSchema)(S,U))&&!S.opts.unevaluated)return;const $=b.let("valid",!1),T=b.name("_valid");b.block(()=>w.forEach((U,L)=>{const B=y.subschema({keyword:x,schemaProp:L,compositeRule:!0},T);b.assign($,(0,e._)`${$} || ${T}`),y.mergeValidEvaluated(B,T)||b.if((0,e.not)($))})),y.result($,()=>y.reset(),()=>y.error(!0))}return le.validateUnion=g,le}var $l;function Og(){if($l)return De;$l=1,Object.defineProperty(De,"__esModule",{value:!0}),De.validateKeywordUsage=De.validSchemaType=De.funcKeywordCode=De.macroKeywordCode=void 0;const e=ae(),t=Fe(),i=Ue(),n=pa();function r(c,f){const{gen:m,keyword:v,schema:h,parentSchema:g,it:y}=c,b=f.macro.call(y.self,h,g,y),w=p(m,v,b);y.opts.validateSchema!==!1&&y.self.validateSchema(b,!0);const x=m.name("valid");c.subschema({schema:b,schemaPath:e.nil,errSchemaPath:`${y.errSchemaPath}/${v}`,topSchemaRef:w,compositeRule:!0},x),c.pass(x,()=>c.error(!0))}De.macroKeywordCode=r;function l(c,f){var m;const{gen:v,keyword:h,schema:g,parentSchema:y,$data:b,it:w}=c;d(w,f);const x=!b&&f.compile?f.compile.call(w.self,g,y,w):f.validate,S=p(v,h,x),_=v.let("valid");c.block$data(_,$),c.ok((m=f.valid)!==null&&m!==void 0?m:_);function $(){if(f.errors===!1)L(),f.modifying&&s(c),B(()=>c.error());else{const G=f.async?T():U();f.modifying&&s(c),B(()=>u(c,G))}}function T(){const G=v.let("ruleErrs",null);return v.try(()=>L((0,e._)`await `),D=>v.assign(_,!1).if((0,e._)`${D} instanceof ${w.ValidationError}`,()=>v.assign(G,(0,e._)`${D}.errors`),()=>v.throw(D))),G}function U(){const G=(0,e._)`${S}.errors`;return v.assign(G,null),L(e.nil),G}function L(G=f.async?(0,e._)`await `:e.nil){const D=w.opts.passContext?t.default.this:t.default.self,V=!("compile"in f&&!b||f.schema===!1);v.assign(_,(0,e._)`${G}${(0,i.callValidateCode)(c,S,D,V)}`,f.modifying)}function B(G){var D;v.if((0,e.not)((D=f.valid)!==null&&D!==void 0?D:_),G)}}De.funcKeywordCode=l;function s(c){const{gen:f,data:m,it:v}=c;f.if(v.parentData,()=>f.assign(m,(0,e._)`${v.parentData}[${v.parentDataProperty}]`))}function u(c,f){const{gen:m}=c;m.if((0,e._)`Array.isArray(${f})`,()=>{m.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,n.extendErrors)(c)},()=>c.error())}function d({schemaEnv:c},f){if(f.async&&!c.$async)throw new Error("async keyword in sync schema")}function p(c,f,m){if(m===void 0)throw new Error(`keyword "${f}" failed to compile`);return c.scopeValue("keyword",typeof m=="function"?{ref:m}:{ref:m,code:(0,e.stringify)(m)})}function a(c,f,m=!1){return!f.length||f.some(v=>v==="array"?Array.isArray(c):v==="object"?c&&typeof c=="object"&&!Array.isArray(c):typeof c==v||m&&typeof c>"u")}De.validSchemaType=a;function o({schema:c,opts:f,self:m,errSchemaPath:v},h,g){if(Array.isArray(h.keyword)?!h.keyword.includes(g):h.keyword!==g)throw new Error("ajv implementation error");const y=h.dependencies;if(y?.some(b=>!Object.prototype.hasOwnProperty.call(c,b)))throw new Error(`parent schema must have dependencies of ${g}: ${y.join(",")}`);if(h.validateSchema&&!h.validateSchema(c[g])){const w=`keyword "${g}" value is invalid at path "${v}": `+m.errorsText(h.validateSchema.errors);if(f.validateSchema==="log")m.logger.error(w);else throw new Error(w)}}return De.validateKeywordUsage=o,De}var Je={},kl;function Pg(){if(kl)return Je;kl=1,Object.defineProperty(Je,"__esModule",{value:!0}),Je.extendSubschemaMode=Je.extendSubschemaData=Je.getSubschema=void 0;const e=ae(),t=se();function i(l,{keyword:s,schemaProp:u,schema:d,schemaPath:p,errSchemaPath:a,topSchemaRef:o}){if(s!==void 0&&d!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(s!==void 0){const c=l.schema[s];return u===void 0?{schema:c,schemaPath:(0,e._)`${l.schemaPath}${(0,e.getProperty)(s)}`,errSchemaPath:`${l.errSchemaPath}/${s}`}:{schema:c[u],schemaPath:(0,e._)`${l.schemaPath}${(0,e.getProperty)(s)}${(0,e.getProperty)(u)}`,errSchemaPath:`${l.errSchemaPath}/${s}/${(0,t.escapeFragment)(u)}`}}if(d!==void 0){if(p===void 0||a===void 0||o===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:d,schemaPath:p,topSchemaRef:o,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')}Je.getSubschema=i;function n(l,s,{dataProp:u,dataPropType:d,data:p,dataTypes:a,propertyName:o}){if(p!==void 0&&u!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:c}=s;if(u!==void 0){const{errorPath:m,dataPathArr:v,opts:h}=s,g=c.let("data",(0,e._)`${s.data}${(0,e.getProperty)(u)}`,!0);f(g),l.errorPath=(0,e.str)`${m}${(0,t.getErrorPath)(u,d,h.jsPropertySyntax)}`,l.parentDataProperty=(0,e._)`${u}`,l.dataPathArr=[...v,l.parentDataProperty]}if(p!==void 0){const m=p instanceof e.Name?p:c.let("data",p,!0);f(m),o!==void 0&&(l.propertyName=o)}a&&(l.dataTypes=a);function f(m){l.data=m,l.dataLevel=s.dataLevel+1,l.dataTypes=[],s.definedProperties=new Set,l.parentData=s.data,l.dataNames=[...s.dataNames,m]}}Je.extendSubschemaData=n;function r(l,{jtdDiscriminator:s,jtdMetadata:u,compositeRule:d,createErrors:p,allErrors:a}){d!==void 0&&(l.compositeRule=d),p!==void 0&&(l.createErrors=p),a!==void 0&&(l.allErrors=a),l.jtdDiscriminator=s,l.jtdMetadata=u}return Je.extendSubschemaMode=r,Je}var Re={},Wa,Rl;function oh(){return Rl||(Rl=1,Wa=function e(t,i){if(t===i)return!0;if(t&&i&&typeof t=="object"&&typeof i=="object"){if(t.constructor!==i.constructor)return!1;var n,r,l;if(Array.isArray(t)){if(n=t.length,n!=i.length)return!1;for(r=n;r--!==0;)if(!e(t[r],i[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===i.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===i.toString();if(l=Object.keys(t),n=l.length,n!==Object.keys(i).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(i,l[r]))return!1;for(r=n;r--!==0;){var s=l[r];if(!e(t[s],i[s]))return!1}return!0}return t!==t&&i!==i}),Wa}var Ya={exports:{}},Al;function Ng(){if(Al)return Ya.exports;Al=1;var e=Ya.exports=function(n,r,l){typeof r=="function"&&(l=r,r={}),l=r.cb||l;var s=typeof l=="function"?l:l.pre||function(){},u=l.post||function(){};t(r,s,u,n,"",n)};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(n,r,l,s,u,d,p,a,o,c){if(s&&typeof s=="object"&&!Array.isArray(s)){r(s,u,d,p,a,o,c);for(var f in s){var m=s[f];if(Array.isArray(m)){if(f in e.arrayKeywords)for(var v=0;v<m.length;v++)t(n,r,l,m[v],u+"/"+f+"/"+v,d,u,f,s,v)}else if(f in e.propsKeywords){if(m&&typeof m=="object")for(var h in m)t(n,r,l,m[h],u+"/"+f+"/"+i(h),d,u,f,s,h)}else(f in e.keywords||n.allKeys&&!(f in e.skipKeywords))&&t(n,r,l,m,u+"/"+f,d,u,f,s)}l(s,u,d,p,a,o,c)}}function i(n){return n.replace(/~/g,"~0").replace(/\//g,"~1")}return Ya.exports}var Tl;function da(){if(Tl)return Re;Tl=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.getSchemaRefs=Re.resolveUrl=Re.normalizeId=Re._getFullPath=Re.getFullPath=Re.inlineRef=void 0;const e=se(),t=oh(),i=Ng(),n=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function r(v,h=!0){return typeof v=="boolean"?!0:h===!0?!s(v):h?u(v)<=h:!1}Re.inlineRef=r;const l=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function s(v){for(const h in v){if(l.has(h))return!0;const g=v[h];if(Array.isArray(g)&&g.some(s)||typeof g=="object"&&s(g))return!0}return!1}function u(v){let h=0;for(const g in v){if(g==="$ref")return 1/0;if(h++,!n.has(g)&&(typeof v[g]=="object"&&(0,e.eachItem)(v[g],y=>h+=u(y)),h===1/0))return 1/0}return h}function d(v,h="",g){g!==!1&&(h=o(h));const y=v.parse(h);return p(v,y)}Re.getFullPath=d;function p(v,h){return v.serialize(h).split("#")[0]+"#"}Re._getFullPath=p;const a=/#\/?$/;function o(v){return v?v.replace(a,""):""}Re.normalizeId=o;function c(v,h,g){return g=o(g),v.resolve(h,g)}Re.resolveUrl=c;const f=/^[a-z_][-a-z0-9._]*$/i;function m(v,h){if(typeof v=="boolean")return{};const{schemaId:g,uriResolver:y}=this.opts,b=o(v[g]||h),w={"":b},x=d(y,b,!1),S={},_=new Set;return i(v,{allKeys:!0},(U,L,B,G)=>{if(G===void 0)return;const D=x+L;let V=w[G];typeof U[g]=="string"&&(V=A.call(this,U[g])),N.call(this,U.$anchor),N.call(this,U.$dynamicAnchor),w[L]=V;function A(I){const z=this.opts.uriResolver.resolve;if(I=o(V?z(V,I):I),_.has(I))throw T(I);_.add(I);let O=this.refs[I];return typeof O=="string"&&(O=this.refs[O]),typeof O=="object"?$(U,O.schema,I):I!==o(D)&&(I[0]==="#"?($(U,S[I],I),S[I]=U):this.refs[I]=D),I}function N(I){if(typeof I=="string"){if(!f.test(I))throw new Error(`invalid anchor "${I}"`);A.call(this,`#${I}`)}}}),S;function $(U,L,B){if(L!==void 0&&!t(U,L))throw T(B)}function T(U){return new Error(`reference "${U}" resolves to more than one schema`)}}return Re.getSchemaRefs=m,Re}var Ol;function hn(){if(Ol)return We;Ol=1,Object.defineProperty(We,"__esModule",{value:!0}),We.getData=We.KeywordCxt=We.validateFunctionCode=void 0;const e=Ag(),t=ea(),i=sh(),n=ea(),r=Tg(),l=Og(),s=Pg(),u=ae(),d=Fe(),p=da(),a=se(),o=pa();function c(C){if(x(C)&&(_(C),w(C))){h(C);return}f(C,()=>(0,e.topBoolOrEmptySchema)(C))}We.validateFunctionCode=c;function f({gen:C,validateName:M,schema:K,schemaEnv:H,opts:ee},ne){ee.code.es5?C.func(M,(0,u._)`${d.default.data}, ${d.default.valCxt}`,H.$async,()=>{C.code((0,u._)`"use strict"; ${y(K,ee)}`),v(C,ee),C.code(ne)}):C.func(M,(0,u._)`${d.default.data}, ${m(ee)}`,H.$async,()=>C.code(y(K,ee)).code(ne))}function m(C){return(0,u._)`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${C.dynamicRef?(0,u._)`, ${d.default.dynamicAnchors}={}`:u.nil}}={}`}function v(C,M){C.if(d.default.valCxt,()=>{C.var(d.default.instancePath,(0,u._)`${d.default.valCxt}.${d.default.instancePath}`),C.var(d.default.parentData,(0,u._)`${d.default.valCxt}.${d.default.parentData}`),C.var(d.default.parentDataProperty,(0,u._)`${d.default.valCxt}.${d.default.parentDataProperty}`),C.var(d.default.rootData,(0,u._)`${d.default.valCxt}.${d.default.rootData}`),M.dynamicRef&&C.var(d.default.dynamicAnchors,(0,u._)`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{C.var(d.default.instancePath,(0,u._)`""`),C.var(d.default.parentData,(0,u._)`undefined`),C.var(d.default.parentDataProperty,(0,u._)`undefined`),C.var(d.default.rootData,d.default.data),M.dynamicRef&&C.var(d.default.dynamicAnchors,(0,u._)`{}`)})}function h(C){const{schema:M,opts:K,gen:H}=C;f(C,()=>{K.$comment&&M.$comment&&G(C),U(C),H.let(d.default.vErrors,null),H.let(d.default.errors,0),K.unevaluated&&g(C),$(C),D(C)})}function g(C){const{gen:M,validateName:K}=C;C.evaluated=M.const("evaluated",(0,u._)`${K}.evaluated`),M.if((0,u._)`${C.evaluated}.dynamicProps`,()=>M.assign((0,u._)`${C.evaluated}.props`,(0,u._)`undefined`)),M.if((0,u._)`${C.evaluated}.dynamicItems`,()=>M.assign((0,u._)`${C.evaluated}.items`,(0,u._)`undefined`))}function y(C,M){const K=typeof C=="object"&&C[M.schemaId];return K&&(M.code.source||M.code.process)?(0,u._)`/*# sourceURL=${K} */`:u.nil}function b(C,M){if(x(C)&&(_(C),w(C))){S(C,M);return}(0,e.boolOrEmptySchema)(C,M)}function w({schema:C,self:M}){if(typeof C=="boolean")return!C;for(const K in C)if(M.RULES.all[K])return!0;return!1}function x(C){return typeof C.schema!="boolean"}function S(C,M){const{schema:K,gen:H,opts:ee}=C;ee.$comment&&K.$comment&&G(C),L(C),B(C);const ne=H.const("_errs",d.default.errors);$(C,ne),H.var(M,(0,u._)`${ne} === ${d.default.errors}`)}function _(C){(0,a.checkUnknownRules)(C),T(C)}function $(C,M){if(C.opts.jtd)return A(C,[],!1,M);const K=(0,t.getSchemaTypes)(C.schema),H=(0,t.coerceAndCheckDataType)(C,K);A(C,K,!H,M)}function T(C){const{schema:M,errSchemaPath:K,opts:H,self:ee}=C;M.$ref&&H.ignoreKeywordsWithRef&&(0,a.schemaHasRulesButRef)(M,ee.RULES)&&ee.logger.warn(`$ref: keywords ignored in schema at path "${K}"`)}function U(C){const{schema:M,opts:K}=C;M.default!==void 0&&K.useDefaults&&K.strictSchema&&(0,a.checkStrictMode)(C,"default is ignored in the schema root")}function L(C){const M=C.schema[C.opts.schemaId];M&&(C.baseId=(0,p.resolveUrl)(C.opts.uriResolver,C.baseId,M))}function B(C){if(C.schema.$async&&!C.schemaEnv.$async)throw new Error("async schema in sync schema")}function G({gen:C,schemaEnv:M,schema:K,errSchemaPath:H,opts:ee}){const ne=K.$comment;if(ee.$comment===!0)C.code((0,u._)`${d.default.self}.logger.log(${ne})`);else if(typeof ee.$comment=="function"){const fe=(0,u.str)`${H}/$comment`,ke=C.scopeValue("root",{ref:M.root});C.code((0,u._)`${d.default.self}.opts.$comment(${ne}, ${fe}, ${ke}.schema)`)}}function D(C){const{gen:M,schemaEnv:K,validateName:H,ValidationError:ee,opts:ne}=C;K.$async?M.if((0,u._)`${d.default.errors} === 0`,()=>M.return(d.default.data),()=>M.throw((0,u._)`new ${ee}(${d.default.vErrors})`)):(M.assign((0,u._)`${H}.errors`,d.default.vErrors),ne.unevaluated&&V(C),M.return((0,u._)`${d.default.errors} === 0`))}function V({gen:C,evaluated:M,props:K,items:H}){K instanceof u.Name&&C.assign((0,u._)`${M}.props`,K),H instanceof u.Name&&C.assign((0,u._)`${M}.items`,H)}function A(C,M,K,H){const{gen:ee,schema:ne,data:fe,allErrors:ke,opts:ve,self:he}=C,{RULES:ue}=he;if(ne.$ref&&(ve.ignoreKeywordsWithRef||!(0,a.schemaHasRulesButRef)(ne,ue))){ee.block(()=>W(C,"$ref",ue.all.$ref.definition));return}ve.jtd||I(C,M),ee.block(()=>{for(const xe of ue.rules)Le(xe);Le(ue.post)});function Le(xe){(0,i.shouldUseGroup)(ne,xe)&&(xe.type?(ee.if((0,n.checkDataType)(xe.type,fe,ve.strictNumbers)),N(C,xe),M.length===1&&M[0]===xe.type&&K&&(ee.else(),(0,n.reportTypeError)(C)),ee.endIf()):N(C,xe),ke||ee.if((0,u._)`${d.default.errors} === ${H||0}`))}}function N(C,M){const{gen:K,schema:H,opts:{useDefaults:ee}}=C;ee&&(0,r.assignDefaults)(C,M.type),K.block(()=>{for(const ne of M.rules)(0,i.shouldUseRule)(H,ne)&&W(C,ne.keyword,ne.definition,M.type)})}function I(C,M){C.schemaEnv.meta||!C.opts.strictTypes||(z(C,M),C.opts.allowUnionTypes||O(C,M),k(C,C.dataTypes))}function z(C,M){if(M.length){if(!C.dataTypes.length){C.dataTypes=M;return}M.forEach(K=>{P(C.dataTypes,K)||R(C,`type "${K}" not allowed by context "${C.dataTypes.join(",")}"`)}),E(C,M)}}function O(C,M){M.length>1&&!(M.length===2&&M.includes("null"))&&R(C,"use allowUnionTypes to allow union type keyword")}function k(C,M){const K=C.self.RULES.all;for(const H in K){const ee=K[H];if(typeof ee=="object"&&(0,i.shouldUseRule)(C.schema,ee)){const{type:ne}=ee.definition;ne.length&&!ne.some(fe=>j(M,fe))&&R(C,`missing type "${ne.join(",")}" for keyword "${H}"`)}}}function j(C,M){return C.includes(M)||M==="number"&&C.includes("integer")}function P(C,M){return C.includes(M)||M==="integer"&&C.includes("number")}function E(C,M){const K=[];for(const H of C.dataTypes)P(M,H)?K.push(H):M.includes("integer")&&H==="number"&&K.push("integer");C.dataTypes=K}function R(C,M){const K=C.schemaEnv.baseId+C.errSchemaPath;M+=` at "${K}" (strictTypes)`,(0,a.checkStrictMode)(C,M,C.opts.strictTypes)}class F{constructor(M,K,H){if((0,l.validateKeywordUsage)(M,K,H),this.gen=M.gen,this.allErrors=M.allErrors,this.keyword=H,this.data=M.data,this.schema=M.schema[H],this.$data=K.$data&&M.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,a.schemaRefOrVal)(M,this.schema,H,this.$data),this.schemaType=K.schemaType,this.parentSchema=M.schema,this.params={},this.it=M,this.def=K,this.$data)this.schemaCode=M.gen.const("vSchema",J(this.$data,M));else if(this.schemaCode=this.schemaValue,!(0,l.validSchemaType)(this.schema,K.schemaType,K.allowUndefined))throw new Error(`${H} value must be ${JSON.stringify(K.schemaType)}`);("code"in K?K.trackErrors:K.errors!==!1)&&(this.errsCount=M.gen.const("_errs",d.default.errors))}result(M,K,H){this.failResult((0,u.not)(M),K,H)}failResult(M,K,H){this.gen.if(M),H?H():this.error(),K?(this.gen.else(),K(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(M,K){this.failResult((0,u.not)(M),void 0,K)}fail(M){if(M===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(M),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(M){if(!this.$data)return this.fail(M);const{schemaCode:K}=this;this.fail((0,u._)`${K} !== undefined && (${(0,u.or)(this.invalid$data(),M)})`)}error(M,K,H){if(K){this.setParams(K),this._error(M,H),this.setParams({});return}this._error(M,H)}_error(M,K){(M?o.reportExtraError:o.reportError)(this,this.def.error,K)}$dataError(){(0,o.reportError)(this,this.def.$dataError||o.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,o.resetErrorsCount)(this.gen,this.errsCount)}ok(M){this.allErrors||this.gen.if(M)}setParams(M,K){K?Object.assign(this.params,M):this.params=M}block$data(M,K,H=u.nil){this.gen.block(()=>{this.check$data(M,H),K()})}check$data(M=u.nil,K=u.nil){if(!this.$data)return;const{gen:H,schemaCode:ee,schemaType:ne,def:fe}=this;H.if((0,u.or)((0,u._)`${ee} === undefined`,K)),M!==u.nil&&H.assign(M,!0),(ne.length||fe.validateSchema)&&(H.elseIf(this.invalid$data()),this.$dataError(),M!==u.nil&&H.assign(M,!1)),H.else()}invalid$data(){const{gen:M,schemaCode:K,schemaType:H,def:ee,it:ne}=this;return(0,u.or)(fe(),ke());function fe(){if(H.length){if(!(K instanceof u.Name))throw new Error("ajv implementation error");const ve=Array.isArray(H)?H:[H];return(0,u._)`${(0,n.checkDataTypes)(ve,K,ne.opts.strictNumbers,n.DataType.Wrong)}`}return u.nil}function ke(){if(ee.validateSchema){const ve=M.scopeValue("validate$data",{ref:ee.validateSchema});return(0,u._)`!${ve}(${K})`}return u.nil}}subschema(M,K){const H=(0,s.getSubschema)(this.it,M);(0,s.extendSubschemaData)(H,this.it,M),(0,s.extendSubschemaMode)(H,M);const ee={...this.it,...H,items:void 0,props:void 0};return b(ee,K),ee}mergeEvaluated(M,K){const{it:H,gen:ee}=this;H.opts.unevaluated&&(H.props!==!0&&M.props!==void 0&&(H.props=a.mergeEvaluated.props(ee,M.props,H.props,K)),H.items!==!0&&M.items!==void 0&&(H.items=a.mergeEvaluated.items(ee,M.items,H.items,K)))}mergeValidEvaluated(M,K){const{it:H,gen:ee}=this;if(H.opts.unevaluated&&(H.props!==!0||H.items!==!0))return ee.if(K,()=>this.mergeEvaluated(M,u.Name)),!0}}We.KeywordCxt=F;function W(C,M,K,H){const ee=new F(C,K,M);"code"in K?K.code(ee,H):ee.$data&&K.validate?(0,l.funcKeywordCode)(ee,K):"macro"in K?(0,l.macroKeywordCode)(ee,K):(K.compile||K.validate)&&(0,l.funcKeywordCode)(ee,K)}const X=/^\/(?:[^~]|~0|~1)*$/,ie=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function J(C,{dataLevel:M,dataNames:K,dataPathArr:H}){let ee,ne;if(C==="")return d.default.rootData;if(C[0]==="/"){if(!X.test(C))throw new Error(`Invalid JSON-pointer: ${C}`);ee=C,ne=d.default.rootData}else{const he=ie.exec(C);if(!he)throw new Error(`Invalid JSON-pointer: ${C}`);const ue=+he[1];if(ee=he[2],ee==="#"){if(ue>=M)throw new Error(ve("property/index",ue));return H[M-ue]}if(ue>M)throw new Error(ve("data",ue));if(ne=K[M-ue],!ee)return ne}let fe=ne;const ke=ee.split("/");for(const he of ke)he&&(ne=(0,u._)`${ne}${(0,u.getProperty)((0,a.unescapeJsonPointer)(he))}`,fe=(0,u._)`${fe} && ${ne}`);return fe;function ve(he,ue){return`Cannot access ${he} ${ue} levels up, current level is ${M}`}}return We.getData=J,We}var On={},Pl;function fa(){if(Pl)return On;Pl=1,Object.defineProperty(On,"__esModule",{value:!0});class e extends Error{constructor(i){super("validation failed"),this.errors=i,this.ajv=this.validation=!0}}return On.default=e,On}var Pn={},Nl;function vn(){if(Nl)return Pn;Nl=1,Object.defineProperty(Pn,"__esModule",{value:!0});const e=da();class t extends Error{constructor(n,r,l,s){super(s||`can't resolve reference ${l} from id ${r}`),this.missingRef=(0,e.resolveUrl)(n,r,l),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(n,this.missingRef))}}return Pn.default=t,Pn}var Ce={},jl;function ma(){if(jl)return Ce;jl=1,Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.resolveSchema=Ce.getCompilingSchema=Ce.resolveRef=Ce.compileSchema=Ce.SchemaEnv=void 0;const e=ae(),t=fa(),i=Fe(),n=da(),r=se(),l=hn();class s{constructor(g){var y;this.refs={},this.dynamicAnchors={};let b;typeof g.schema=="object"&&(b=g.schema),this.schema=g.schema,this.schemaId=g.schemaId,this.root=g.root||this,this.baseId=(y=g.baseId)!==null&&y!==void 0?y:(0,n.normalizeId)(b?.[g.schemaId||"$id"]),this.schemaPath=g.schemaPath,this.localRefs=g.localRefs,this.meta=g.meta,this.$async=b?.$async,this.refs={}}}Ce.SchemaEnv=s;function u(h){const g=a.call(this,h);if(g)return g;const y=(0,n.getFullPath)(this.opts.uriResolver,h.root.baseId),{es5:b,lines:w}=this.opts.code,{ownProperties:x}=this.opts,S=new e.CodeGen(this.scope,{es5:b,lines:w,ownProperties:x});let _;h.$async&&(_=S.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const $=S.scopeName("validate");h.validateName=$;const T={gen:S,allErrors:this.opts.allErrors,data:i.default.data,parentData:i.default.parentData,parentDataProperty:i.default.parentDataProperty,dataNames:[i.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:S.scopeValue("schema",this.opts.code.source===!0?{ref:h.schema,code:(0,e.stringify)(h.schema)}:{ref:h.schema}),validateName:$,ValidationError:_,schema:h.schema,schemaEnv:h,rootId:y,baseId:h.baseId||y,schemaPath:e.nil,errSchemaPath:h.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let U;try{this._compilations.add(h),(0,l.validateFunctionCode)(T),S.optimize(this.opts.code.optimize);const L=S.toString();U=`${S.scopeRefs(i.default.scope)}return ${L}`,this.opts.code.process&&(U=this.opts.code.process(U,h));const G=new Function(`${i.default.self}`,`${i.default.scope}`,U)(this,this.scope.get());if(this.scope.value($,{ref:G}),G.errors=null,G.schema=h.schema,G.schemaEnv=h,h.$async&&(G.$async=!0),this.opts.code.source===!0&&(G.source={validateName:$,validateCode:L,scopeValues:S._values}),this.opts.unevaluated){const{props:D,items:V}=T;G.evaluated={props:D instanceof e.Name?void 0:D,items:V instanceof e.Name?void 0:V,dynamicProps:D instanceof e.Name,dynamicItems:V instanceof e.Name},G.source&&(G.source.evaluated=(0,e.stringify)(G.evaluated))}return h.validate=G,h}catch(L){throw delete h.validate,delete h.validateName,U&&this.logger.error("Error compiling schema, function code:",U),L}finally{this._compilations.delete(h)}}Ce.compileSchema=u;function d(h,g,y){var b;y=(0,n.resolveUrl)(this.opts.uriResolver,g,y);const w=h.refs[y];if(w)return w;let x=c.call(this,h,y);if(x===void 0){const S=(b=h.localRefs)===null||b===void 0?void 0:b[y],{schemaId:_}=this.opts;S&&(x=new s({schema:S,schemaId:_,root:h,baseId:g}))}if(x!==void 0)return h.refs[y]=p.call(this,x)}Ce.resolveRef=d;function p(h){return(0,n.inlineRef)(h.schema,this.opts.inlineRefs)?h.schema:h.validate?h:u.call(this,h)}function a(h){for(const g of this._compilations)if(o(g,h))return g}Ce.getCompilingSchema=a;function o(h,g){return h.schema===g.schema&&h.root===g.root&&h.baseId===g.baseId}function c(h,g){let y;for(;typeof(y=this.refs[g])=="string";)g=y;return y||this.schemas[g]||f.call(this,h,g)}function f(h,g){const y=this.opts.uriResolver.parse(g),b=(0,n._getFullPath)(this.opts.uriResolver,y);let w=(0,n.getFullPath)(this.opts.uriResolver,h.baseId,void 0);if(Object.keys(h.schema).length>0&&b===w)return v.call(this,y,h);const x=(0,n.normalizeId)(b),S=this.refs[x]||this.schemas[x];if(typeof S=="string"){const _=f.call(this,h,S);return typeof _?.schema!="object"?void 0:v.call(this,y,_)}if(typeof S?.schema=="object"){if(S.validate||u.call(this,S),x===(0,n.normalizeId)(g)){const{schema:_}=S,{schemaId:$}=this.opts,T=_[$];return T&&(w=(0,n.resolveUrl)(this.opts.uriResolver,w,T)),new s({schema:_,schemaId:$,root:h,baseId:w})}return v.call(this,y,S)}}Ce.resolveSchema=f;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function v(h,{baseId:g,schema:y,root:b}){var w;if(((w=h.fragment)===null||w===void 0?void 0:w[0])!=="/")return;for(const _ of h.fragment.slice(1).split("/")){if(typeof y=="boolean")return;const $=y[(0,r.unescapeFragment)(_)];if($===void 0)return;y=$;const T=typeof y=="object"&&y[this.opts.schemaId];!m.has(_)&&T&&(g=(0,n.resolveUrl)(this.opts.uriResolver,g,T))}let x;if(typeof y!="boolean"&&y.$ref&&!(0,r.schemaHasRulesButRef)(y,this.RULES)){const _=(0,n.resolveUrl)(this.opts.uriResolver,g,y.$ref);x=f.call(this,b,_)}const{schemaId:S}=this.opts;if(x=x||new s({schema:y,schemaId:S,root:b,baseId:g}),x.schema!==x.root.schema)return x}return Ce}const jg="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Cg="Meta-schema for $data reference (JSON AnySchema extension proposal)",Ig="object",qg=["$data"],Lg={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Dg=!1,Mg={$id:jg,description:Cg,type:Ig,required:qg,properties:Lg,additionalProperties:Dg};var Nn={},Xt={exports:{}},Ja,Cl;function ch(){if(Cl)return Ja;Cl=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);function i(c){let f="",m=0,v=0;for(v=0;v<c.length;v++)if(m=c[v].charCodeAt(0),m!==48){if(!(m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102))return"";f+=c[v];break}for(v+=1;v<c.length;v++){if(m=c[v].charCodeAt(0),!(m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102))return"";f+=c[v]}return f}const n=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function r(c){return c.length=0,!0}function l(c,f,m){if(c.length){const v=i(c);if(v!=="")f.push(v);else return m.error=!0,!1;c.length=0}return!0}function s(c){let f=0;const m={error:!1,address:"",zone:""},v=[],h=[];let g=!1,y=!1,b=l;for(let w=0;w<c.length;w++){const x=c[w];if(!(x==="["||x==="]"))if(x===":"){if(g===!0&&(y=!0),!b(h,v,m))break;if(++f>7){m.error=!0;break}w>0&&c[w-1]===":"&&(g=!0),v.push(":");continue}else if(x==="%"){if(!b(h,v,m))break;b=r}else{h.push(x);continue}}return h.length&&(b===r?m.zone=h.join(""):y?v.push(h.join("")):v.push(i(h))),m.address=v.join(""),m}function u(c){if(d(c,":")<2)return{host:c,isIPV6:!1};const f=s(c);if(f.error)return{host:c,isIPV6:!1};{let m=f.address,v=f.address;return f.zone&&(m+="%"+f.zone,v+="%25"+f.zone),{host:m,isIPV6:!0,escapedHost:v}}}function d(c,f){let m=0;for(let v=0;v<c.length;v++)c[v]===f&&m++;return m}function p(c){let f=c;const m=[];let v=-1,h=0;for(;h=f.length;){if(h===1){if(f===".")break;if(f==="/"){m.push("/");break}else{m.push(f);break}}else if(h===2){if(f[0]==="."){if(f[1]===".")break;if(f[1]==="/"){f=f.slice(2);continue}}else if(f[0]==="/"&&(f[1]==="."||f[1]==="/")){m.push("/");break}}else if(h===3&&f==="/.."){m.length!==0&&m.pop(),m.push("/");break}if(f[0]==="."){if(f[1]==="."){if(f[2]==="/"){f=f.slice(3);continue}}else if(f[1]==="/"){f=f.slice(2);continue}}else if(f[0]==="/"&&f[1]==="."){if(f[2]==="/"){f=f.slice(2);continue}else if(f[2]==="."&&f[3]==="/"){f=f.slice(3),m.length!==0&&m.pop();continue}}if((v=f.indexOf("/",1))===-1){m.push(f);break}else m.push(f.slice(0,v)),f=f.slice(v)}return m.join("")}function a(c,f){const m=f!==!0?escape:unescape;return c.scheme!==void 0&&(c.scheme=m(c.scheme)),c.userinfo!==void 0&&(c.userinfo=m(c.userinfo)),c.host!==void 0&&(c.host=m(c.host)),c.path!==void 0&&(c.path=m(c.path)),c.query!==void 0&&(c.query=m(c.query)),c.fragment!==void 0&&(c.fragment=m(c.fragment)),c}function o(c){const f=[];if(c.userinfo!==void 0&&(f.push(c.userinfo),f.push("@")),c.host!==void 0){let m=unescape(c.host);if(!t(m)){const v=u(m);v.isIPV6===!0?m=`[${v.escapedHost}]`:m=c.host}f.push(m)}return(typeof c.port=="number"||typeof c.port=="string")&&(f.push(":"),f.push(String(c.port))),f.length?f.join(""):void 0}return Ja={nonSimpleDomain:n,recomposeAuthority:o,normalizeComponentEncoding:a,removeDotSegments:p,isIPv4:t,isUUID:e,normalizeIPv6:u,stringArrayToHexStripped:i},Ja}var Xa,Il;function Fg(){if(Il)return Xa;Il=1;const{isUUID:e}=ch(),t=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,i=["http","https","ws","wss","urn","urn:uuid"];function n(x){return i.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 l(x){return x.host||(x.error=x.error||"HTTP URIs must have a host."),x}function s(x){const S=String(x.scheme).toLowerCase()==="https";return(x.port===(S?443:80)||x.port==="")&&(x.port=void 0),x.path||(x.path="/"),x}function u(x){return x.secure=r(x),x.resourceName=(x.path||"/")+(x.query?"?"+x.query:""),x.path=void 0,x.query=void 0,x}function d(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[S,_]=x.resourceName.split("?");x.path=S&&S!=="/"?S:void 0,x.query=_,x.resourceName=void 0}return x.fragment=void 0,x}function p(x,S){if(!x.path)return x.error="URN can not be parsed",x;const _=x.path.match(t);if(_){const $=S.scheme||x.scheme||"urn";x.nid=_[1].toLowerCase(),x.nss=_[2];const T=`${$}:${S.nid||x.nid}`,U=w(T);x.path=void 0,U&&(x=U.parse(x,S))}else x.error=x.error||"URN can not be parsed.";return x}function a(x,S){if(x.nid===void 0)throw new Error("URN without nid cannot be serialized");const _=S.scheme||x.scheme||"urn",$=x.nid.toLowerCase(),T=`${_}:${S.nid||$}`,U=w(T);U&&(x=U.serialize(x,S));const L=x,B=x.nss;return L.path=`${$||S.nid}:${B}`,S.skipEscape=!0,L}function o(x,S){const _=x;return _.uuid=_.nss,_.nss=void 0,!S.tolerant&&(!_.uuid||!e(_.uuid))&&(_.error=_.error||"UUID is not valid."),_}function c(x){const S=x;return S.nss=(x.uuid||"").toLowerCase(),S}const f={scheme:"http",domainHost:!0,parse:l,serialize:s},m={scheme:"https",domainHost:f.domainHost,parse:l,serialize:s},v={scheme:"ws",domainHost:!0,parse:u,serialize:d},h={scheme:"wss",domainHost:v.domainHost,parse:v.parse,serialize:v.serialize},b={http:f,https:m,ws:v,wss:h,urn:{scheme:"urn",parse:p,serialize:a,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:o,serialize:c,skipNormalize:!0}};Object.setPrototypeOf(b,null);function w(x){return x&&(b[x]||b[x.toLowerCase()])||void 0}return Xa={wsIsSecure:r,SCHEMES:b,isValidSchemeName:n,getSchemeHandler:w},Xa}var ql;function Ug(){if(ql)return Xt.exports;ql=1;const{normalizeIPv6:e,removeDotSegments:t,recomposeAuthority:i,normalizeComponentEncoding:n,isIPv4:r,nonSimpleDomain:l}=ch(),{SCHEMES:s,getSchemeHandler:u}=Fg();function d(h,g){return typeof h=="string"?h=c(m(h,g),g):typeof h=="object"&&(h=m(c(h,g),g)),h}function p(h,g,y){const b=y?Object.assign({scheme:"null"},y):{scheme:"null"},w=a(m(h,b),m(g,b),b,!0);return b.skipEscape=!0,c(w,b)}function a(h,g,y,b){const w={};return b||(h=m(c(h,y),y),g=m(c(g,y),y)),y=y||{},!y.tolerant&&g.scheme?(w.scheme=g.scheme,w.userinfo=g.userinfo,w.host=g.host,w.port=g.port,w.path=t(g.path||""),w.query=g.query):(g.userinfo!==void 0||g.host!==void 0||g.port!==void 0?(w.userinfo=g.userinfo,w.host=g.host,w.port=g.port,w.path=t(g.path||""),w.query=g.query):(g.path?(g.path[0]==="/"?w.path=t(g.path):((h.userinfo!==void 0||h.host!==void 0||h.port!==void 0)&&!h.path?w.path="/"+g.path:h.path?w.path=h.path.slice(0,h.path.lastIndexOf("/")+1)+g.path:w.path=g.path,w.path=t(w.path)),w.query=g.query):(w.path=h.path,g.query!==void 0?w.query=g.query:w.query=h.query),w.userinfo=h.userinfo,w.host=h.host,w.port=h.port),w.scheme=h.scheme),w.fragment=g.fragment,w}function o(h,g,y){return typeof h=="string"?(h=unescape(h),h=c(n(m(h,y),!0),{...y,skipEscape:!0})):typeof h=="object"&&(h=c(n(h,!0),{...y,skipEscape:!0})),typeof g=="string"?(g=unescape(g),g=c(n(m(g,y),!0),{...y,skipEscape:!0})):typeof g=="object"&&(g=c(n(g,!0),{...y,skipEscape:!0})),h.toLowerCase()===g.toLowerCase()}function c(h,g){const y={host:h.host,scheme:h.scheme,userinfo:h.userinfo,port:h.port,path:h.path,query:h.query,nid:h.nid,nss:h.nss,uuid:h.uuid,fragment:h.fragment,reference:h.reference,resourceName:h.resourceName,secure:h.secure,error:""},b=Object.assign({},g),w=[],x=u(b.scheme||y.scheme);x&&x.serialize&&x.serialize(y,b),y.path!==void 0&&(b.skipEscape?y.path=unescape(y.path):(y.path=escape(y.path),y.scheme!==void 0&&(y.path=y.path.split("%3A").join(":")))),b.reference!=="suffix"&&y.scheme&&w.push(y.scheme,":");const S=i(y);if(S!==void 0&&(b.reference!=="suffix"&&w.push("//"),w.push(S),y.path&&y.path[0]!=="/"&&w.push("/")),y.path!==void 0){let _=y.path;!b.absolutePath&&(!x||!x.absolutePath)&&(_=t(_)),S===void 0&&_[0]==="/"&&_[1]==="/"&&(_="/%2F"+_.slice(2)),w.push(_)}return y.query!==void 0&&w.push("?",y.query),y.fragment!==void 0&&w.push("#",y.fragment),w.join("")}const f=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function m(h,g){const y=Object.assign({},g),b={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0};let w=!1;y.reference==="suffix"&&(y.scheme?h=y.scheme+":"+h:h="//"+h);const x=h.match(f);if(x){if(b.scheme=x[1],b.userinfo=x[3],b.host=x[4],b.port=parseInt(x[5],10),b.path=x[6]||"",b.query=x[7],b.fragment=x[8],isNaN(b.port)&&(b.port=x[5]),b.host)if(r(b.host)===!1){const $=e(b.host);b.host=$.host.toLowerCase(),w=$.isIPV6}else w=!0;b.scheme===void 0&&b.userinfo===void 0&&b.host===void 0&&b.port===void 0&&b.query===void 0&&!b.path?b.reference="same-document":b.scheme===void 0?b.reference="relative":b.fragment===void 0?b.reference="absolute":b.reference="uri",y.reference&&y.reference!=="suffix"&&y.reference!==b.reference&&(b.error=b.error||"URI is not a "+y.reference+" reference.");const S=u(y.scheme||b.scheme);if(!y.unicodeSupport&&(!S||!S.unicodeSupport)&&b.host&&(y.domainHost||S&&S.domainHost)&&w===!1&&l(b.host))try{b.host=URL.domainToASCII(b.host.toLowerCase())}catch(_){b.error=b.error||"Host's domain name can not be converted to ASCII: "+_}(!S||S&&!S.skipNormalize)&&(h.indexOf("%")!==-1&&(b.scheme!==void 0&&(b.scheme=unescape(b.scheme)),b.host!==void 0&&(b.host=unescape(b.host))),b.path&&(b.path=escape(unescape(b.path))),b.fragment&&(b.fragment=encodeURI(decodeURIComponent(b.fragment)))),S&&S.parse&&S.parse(b,y)}else b.error=b.error||"URI can not be parsed.";return b}const v={SCHEMES:s,normalize:d,resolve:p,resolveComponent:a,equal:o,serialize:c,parse:m};return Xt.exports=v,Xt.exports.default=v,Xt.exports.fastUri=v,Xt.exports}var Ll;function zg(){if(Ll)return Nn;Ll=1,Object.defineProperty(Nn,"__esModule",{value:!0});const e=Ug();return e.code='require("ajv/dist/runtime/uri").default',Nn.default=e,Nn}var Dl;function lh(){return Dl||(Dl=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=hn();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var i=ae();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return i.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return i.CodeGen}});const n=fa(),r=vn(),l=rh(),s=ma(),u=ae(),d=da(),p=ea(),a=se(),o=Mg,c=zg(),f=(O,k)=>new RegExp(O,k);f.code="new RegExp";const m=["removeAdditional","useDefaults","coerceTypes"],v=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."},g={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},y=200;function b(O){var k,j,P,E,R,F,W,X,ie,J,C,M,K,H,ee,ne,fe,ke,ve,he,ue,Le,xe,Qe,Da;const Ht=O.strict,Ma=(k=O.code)===null||k===void 0?void 0:k.optimize,rl=Ma===!0||Ma===void 0?1:Ma||0,sl=(P=(j=O.code)===null||j===void 0?void 0:j.regExp)!==null&&P!==void 0?P:f,Yv=(E=O.uriResolver)!==null&&E!==void 0?E:c.default;return{strictSchema:(F=(R=O.strictSchema)!==null&&R!==void 0?R:Ht)!==null&&F!==void 0?F:!0,strictNumbers:(X=(W=O.strictNumbers)!==null&&W!==void 0?W:Ht)!==null&&X!==void 0?X:!0,strictTypes:(J=(ie=O.strictTypes)!==null&&ie!==void 0?ie:Ht)!==null&&J!==void 0?J:"log",strictTuples:(M=(C=O.strictTuples)!==null&&C!==void 0?C:Ht)!==null&&M!==void 0?M:"log",strictRequired:(H=(K=O.strictRequired)!==null&&K!==void 0?K:Ht)!==null&&H!==void 0?H:!1,code:O.code?{...O.code,optimize:rl,regExp:sl}:{optimize:rl,regExp:sl},loopRequired:(ee=O.loopRequired)!==null&&ee!==void 0?ee:y,loopEnum:(ne=O.loopEnum)!==null&&ne!==void 0?ne:y,meta:(fe=O.meta)!==null&&fe!==void 0?fe:!0,messages:(ke=O.messages)!==null&&ke!==void 0?ke:!0,inlineRefs:(ve=O.inlineRefs)!==null&&ve!==void 0?ve:!0,schemaId:(he=O.schemaId)!==null&&he!==void 0?he:"$id",addUsedSchema:(ue=O.addUsedSchema)!==null&&ue!==void 0?ue:!0,validateSchema:(Le=O.validateSchema)!==null&&Le!==void 0?Le:!0,validateFormats:(xe=O.validateFormats)!==null&&xe!==void 0?xe:!0,unicodeRegExp:(Qe=O.unicodeRegExp)!==null&&Qe!==void 0?Qe:!0,int32range:(Da=O.int32range)!==null&&Da!==void 0?Da:!0,uriResolver:Yv}}class w{constructor(k={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,k=this.opts={...k,...b(k)};const{es5:j,lines:P}=this.opts.code;this.scope=new u.ValueScope({scope:{},prefixes:v,es5:j,lines:P}),this.logger=B(k.logger);const E=k.validateFormats;k.validateFormats=!1,this.RULES=(0,l.getRules)(),x.call(this,h,k,"NOT SUPPORTED"),x.call(this,g,k,"DEPRECATED","warn"),this._metaOpts=U.call(this),k.formats&&$.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),k.keywords&&T.call(this,k.keywords),typeof k.meta=="object"&&this.addMetaSchema(k.meta),_.call(this),k.validateFormats=E}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:k,meta:j,schemaId:P}=this.opts;let E=o;P==="id"&&(E={...o},E.id=E.$id,delete E.$id),j&&k&&this.addMetaSchema(E,E[P],!1)}defaultMeta(){const{meta:k,schemaId:j}=this.opts;return this.opts.defaultMeta=typeof k=="object"?k[j]||k:void 0}validate(k,j){let P;if(typeof k=="string"){if(P=this.getSchema(k),!P)throw new Error(`no schema with key or ref "${k}"`)}else P=this.compile(k);const E=P(j);return"$async"in P||(this.errors=P.errors),E}compile(k,j){const P=this._addSchema(k,j);return P.validate||this._compileSchemaEnv(P)}compileAsync(k,j){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:P}=this.opts;return E.call(this,k,j);async function E(J,C){await R.call(this,J.$schema);const M=this._addSchema(J,C);return M.validate||F.call(this,M)}async function R(J){J&&!this.getSchema(J)&&await E.call(this,{$ref:J},!0)}async function F(J){try{return this._compileSchemaEnv(J)}catch(C){if(!(C instanceof r.default))throw C;return W.call(this,C),await X.call(this,C.missingSchema),F.call(this,J)}}function W({missingSchema:J,missingRef:C}){if(this.refs[J])throw new Error(`AnySchema ${J} is loaded but ${C} cannot be resolved`)}async function X(J){const C=await ie.call(this,J);this.refs[J]||await R.call(this,C.$schema),this.refs[J]||this.addSchema(C,J,j)}async function ie(J){const C=this._loading[J];if(C)return C;try{return await(this._loading[J]=P(J))}finally{delete this._loading[J]}}}addSchema(k,j,P,E=this.opts.validateSchema){if(Array.isArray(k)){for(const F of k)this.addSchema(F,void 0,P,E);return this}let R;if(typeof k=="object"){const{schemaId:F}=this.opts;if(R=k[F],R!==void 0&&typeof R!="string")throw new Error(`schema ${F} must be string`)}return j=(0,d.normalizeId)(j||R),this._checkUnique(j),this.schemas[j]=this._addSchema(k,P,j,E,!0),this}addMetaSchema(k,j,P=this.opts.validateSchema){return this.addSchema(k,j,!0,P),this}validateSchema(k,j){if(typeof k=="boolean")return!0;let P;if(P=k.$schema,P!==void 0&&typeof P!="string")throw new Error("$schema must be a string");if(P=P||this.opts.defaultMeta||this.defaultMeta(),!P)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const E=this.validate(P,k);if(!E&&j){const R="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(R);else throw new Error(R)}return E}getSchema(k){let j;for(;typeof(j=S.call(this,k))=="string";)k=j;if(j===void 0){const{schemaId:P}=this.opts,E=new s.SchemaEnv({schema:{},schemaId:P});if(j=s.resolveSchema.call(this,E,k),!j)return;this.refs[k]=j}return j.validate||this._compileSchemaEnv(j)}removeSchema(k){if(k instanceof RegExp)return this._removeAllSchemas(this.schemas,k),this._removeAllSchemas(this.refs,k),this;switch(typeof k){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const j=S.call(this,k);return typeof j=="object"&&this._cache.delete(j.schema),delete this.schemas[k],delete this.refs[k],this}case"object":{const j=k;this._cache.delete(j);let P=k[this.opts.schemaId];return P&&(P=(0,d.normalizeId)(P),delete this.schemas[P],delete this.refs[P]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(k){for(const j of k)this.addKeyword(j);return this}addKeyword(k,j){let P;if(typeof k=="string")P=k,typeof j=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),j.keyword=P);else if(typeof k=="object"&&j===void 0){if(j=k,P=j.keyword,Array.isArray(P)&&!P.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(D.call(this,P,j),!j)return(0,a.eachItem)(P,R=>V.call(this,R)),this;N.call(this,j);const E={...j,type:(0,p.getJSONTypes)(j.type),schemaType:(0,p.getJSONTypes)(j.schemaType)};return(0,a.eachItem)(P,E.type.length===0?R=>V.call(this,R,E):R=>E.type.forEach(F=>V.call(this,R,E,F))),this}getKeyword(k){const j=this.RULES.all[k];return typeof j=="object"?j.definition:!!j}removeKeyword(k){const{RULES:j}=this;delete j.keywords[k],delete j.all[k];for(const P of j.rules){const E=P.rules.findIndex(R=>R.keyword===k);E>=0&&P.rules.splice(E,1)}return this}addFormat(k,j){return typeof j=="string"&&(j=new RegExp(j)),this.formats[k]=j,this}errorsText(k=this.errors,{separator:j=", ",dataVar:P="data"}={}){return!k||k.length===0?"No errors":k.map(E=>`${P}${E.instancePath} ${E.message}`).reduce((E,R)=>E+j+R)}$dataMetaSchema(k,j){const P=this.RULES.all;k=JSON.parse(JSON.stringify(k));for(const E of j){const R=E.split("/").slice(1);let F=k;for(const W of R)F=F[W];for(const W in P){const X=P[W];if(typeof X!="object")continue;const{$data:ie}=X.definition,J=F[W];ie&&J&&(F[W]=z(J))}}return k}_removeAllSchemas(k,j){for(const P in k){const E=k[P];(!j||j.test(P))&&(typeof E=="string"?delete k[P]:E&&!E.meta&&(this._cache.delete(E.schema),delete k[P]))}}_addSchema(k,j,P,E=this.opts.validateSchema,R=this.opts.addUsedSchema){let F;const{schemaId:W}=this.opts;if(typeof k=="object")F=k[W];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof k!="boolean")throw new Error("schema must be object or boolean")}let X=this._cache.get(k);if(X!==void 0)return X;P=(0,d.normalizeId)(F||P);const ie=d.getSchemaRefs.call(this,k,P);return X=new s.SchemaEnv({schema:k,schemaId:W,meta:j,baseId:P,localRefs:ie}),this._cache.set(X.schema,X),R&&!P.startsWith("#")&&(P&&this._checkUnique(P),this.refs[P]=X),E&&this.validateSchema(k,!0),X}_checkUnique(k){if(this.schemas[k]||this.refs[k])throw new Error(`schema with key or id "${k}" already exists`)}_compileSchemaEnv(k){if(k.meta?this._compileMetaSchema(k):s.compileSchema.call(this,k),!k.validate)throw new Error("ajv implementation error");return k.validate}_compileMetaSchema(k){const j=this.opts;this.opts=this._metaOpts;try{s.compileSchema.call(this,k)}finally{this.opts=j}}}w.ValidationError=n.default,w.MissingRefError=r.default,e.default=w;function x(O,k,j,P="error"){for(const E in O){const R=E;R in k&&this.logger[P](`${j}: option ${E}. ${O[R]}`)}}function S(O){return O=(0,d.normalizeId)(O),this.schemas[O]||this.refs[O]}function _(){const O=this.opts.schemas;if(O)if(Array.isArray(O))this.addSchema(O);else for(const k in O)this.addSchema(O[k],k)}function $(){for(const O in this.opts.formats){const k=this.opts.formats[O];k&&this.addFormat(O,k)}}function T(O){if(Array.isArray(O)){this.addVocabulary(O);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const k in O){const j=O[k];j.keyword||(j.keyword=k),this.addKeyword(j)}}function U(){const O={...this.opts};for(const k of m)delete O[k];return O}const L={log(){},warn(){},error(){}};function B(O){if(O===!1)return L;if(O===void 0)return console;if(O.log&&O.warn&&O.error)return O;throw new Error("logger must implement log, warn and error methods")}const G=/^[a-z_$][a-z0-9_$:-]*$/i;function D(O,k){const{RULES:j}=this;if((0,a.eachItem)(O,P=>{if(j.keywords[P])throw new Error(`Keyword ${P} is already defined`);if(!G.test(P))throw new Error(`Keyword ${P} has invalid name`)}),!!k&&k.$data&&!("code"in k||"validate"in k))throw new Error('$data keyword must have "code" or "validate" function')}function V(O,k,j){var P;const E=k?.post;if(j&&E)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:R}=this;let F=E?R.post:R.rules.find(({type:X})=>X===j);if(F||(F={type:j,rules:[]},R.rules.push(F)),R.keywords[O]=!0,!k)return;const W={keyword:O,definition:{...k,type:(0,p.getJSONTypes)(k.type),schemaType:(0,p.getJSONTypes)(k.schemaType)}};k.before?A.call(this,F,W,k.before):F.rules.push(W),R.all[O]=W,(P=k.implements)===null||P===void 0||P.forEach(X=>this.addKeyword(X))}function A(O,k,j){const P=O.rules.findIndex(E=>E.keyword===j);P>=0?O.rules.splice(P,0,k):(O.rules.push(k),this.logger.warn(`rule ${j} is not defined`))}function N(O){let{metaSchema:k}=O;k!==void 0&&(O.$data&&this.opts.$data&&(k=z(k)),O.validateSchema=this.compile(k,!0))}const I={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function z(O){return{anyOf:[O,I]}}})(Ba)),Ba}var jn={},Cn={},In={},Ml;function Bg(){if(Ml)return In;Ml=1,Object.defineProperty(In,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return In.default=e,In}var nt={},Fl;function bc(){if(Fl)return nt;Fl=1,Object.defineProperty(nt,"__esModule",{value:!0}),nt.callRef=nt.getValidate=void 0;const e=vn(),t=Ue(),i=ae(),n=Fe(),r=ma(),l=se(),s={keyword:"$ref",schemaType:"string",code(p){const{gen:a,schema:o,it:c}=p,{baseId:f,schemaEnv:m,validateName:v,opts:h,self:g}=c,{root:y}=m;if((o==="#"||o==="#/")&&f===y.baseId)return w();const b=r.resolveRef.call(g,y,f,o);if(b===void 0)throw new e.default(c.opts.uriResolver,f,o);if(b instanceof r.SchemaEnv)return x(b);return S(b);function w(){if(m===y)return d(p,v,m,m.$async);const _=a.scopeValue("root",{ref:y});return d(p,(0,i._)`${_}.validate`,y,y.$async)}function x(_){const $=u(p,_);d(p,$,_,_.$async)}function S(_){const $=a.scopeValue("schema",h.code.source===!0?{ref:_,code:(0,i.stringify)(_)}:{ref:_}),T=a.name("valid"),U=p.subschema({schema:_,dataTypes:[],schemaPath:i.nil,topSchemaRef:$,errSchemaPath:o},T);p.mergeEvaluated(U),p.ok(T)}}};function u(p,a){const{gen:o}=p;return a.validate?o.scopeValue("validate",{ref:a.validate}):(0,i._)`${o.scopeValue("wrapper",{ref:a})}.validate`}nt.getValidate=u;function d(p,a,o,c){const{gen:f,it:m}=p,{allErrors:v,schemaEnv:h,opts:g}=m,y=g.passContext?n.default.this:i.nil;c?b():w();function b(){if(!h.$async)throw new Error("async schema referenced by sync schema");const _=f.let("valid");f.try(()=>{f.code((0,i._)`await ${(0,t.callValidateCode)(p,a,y)}`),S(a),v||f.assign(_,!0)},$=>{f.if((0,i._)`!(${$} instanceof ${m.ValidationError})`,()=>f.throw($)),x($),v||f.assign(_,!1)}),p.ok(_)}function w(){p.result((0,t.callValidateCode)(p,a,y),()=>S(a),()=>x(a))}function x(_){const $=(0,i._)`${_}.errors`;f.assign(n.default.vErrors,(0,i._)`${n.default.vErrors} === null ? ${$} : ${n.default.vErrors}.concat(${$})`),f.assign(n.default.errors,(0,i._)`${n.default.vErrors}.length`)}function S(_){var $;if(!m.opts.unevaluated)return;const T=($=o?.validate)===null||$===void 0?void 0:$.evaluated;if(m.props!==!0)if(T&&!T.dynamicProps)T.props!==void 0&&(m.props=l.mergeEvaluated.props(f,T.props,m.props));else{const U=f.var("props",(0,i._)`${_}.evaluated.props`);m.props=l.mergeEvaluated.props(f,U,m.props,i.Name)}if(m.items!==!0)if(T&&!T.dynamicItems)T.items!==void 0&&(m.items=l.mergeEvaluated.items(f,T.items,m.items));else{const U=f.var("items",(0,i._)`${_}.evaluated.items`);m.items=l.mergeEvaluated.items(f,U,m.items,i.Name)}}}return nt.callRef=d,nt.default=s,nt}var Ul;function uh(){if(Ul)return Cn;Ul=1,Object.defineProperty(Cn,"__esModule",{value:!0});const e=Bg(),t=bc(),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return Cn.default=i,Cn}var qn={},Ln={},zl;function Vg(){if(zl)return Ln;zl=1,Object.defineProperty(Ln,"__esModule",{value:!0});const e=ae(),t=e.operators,i={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},n={message:({keyword:l,schemaCode:s})=>(0,e.str)`must be ${i[l].okStr} ${s}`,params:({keyword:l,schemaCode:s})=>(0,e._)`{comparison: ${i[l].okStr}, limit: ${s}}`},r={keyword:Object.keys(i),type:"number",schemaType:"number",$data:!0,error:n,code(l){const{keyword:s,data:u,schemaCode:d}=l;l.fail$data((0,e._)`${u} ${i[s].fail} ${d} || isNaN(${u})`)}};return Ln.default=r,Ln}var Dn={},Bl;function Kg(){if(Bl)return Dn;Bl=1,Object.defineProperty(Dn,"__esModule",{value:!0});const e=ae(),i={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must be multiple of ${n}`,params:({schemaCode:n})=>(0,e._)`{multipleOf: ${n}}`},code(n){const{gen:r,data:l,schemaCode:s,it:u}=n,d=u.opts.multipleOfPrecision,p=r.let("res"),a=d?(0,e._)`Math.abs(Math.round(${p}) - ${p}) > 1e-${d}`:(0,e._)`${p} !== parseInt(${p})`;n.fail$data((0,e._)`(${s} === 0 || (${p} = ${l}/${s}, ${a}))`)}};return Dn.default=i,Dn}var Mn={},Fn={},Vl;function Gg(){if(Vl)return Fn;Vl=1,Object.defineProperty(Fn,"__esModule",{value:!0});function e(t){const i=t.length;let n=0,r=0,l;for(;r<i;)n++,l=t.charCodeAt(r++),l>=55296&&l<=56319&&r<i&&(l=t.charCodeAt(r),(l&64512)===56320&&r++);return n}return Fn.default=e,e.code='require("ajv/dist/runtime/ucs2length").default',Fn}var Kl;function Hg(){if(Kl)return Mn;Kl=1,Object.defineProperty(Mn,"__esModule",{value:!0});const e=ae(),t=se(),i=Gg(),r={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:l,schemaCode:s}){const u=l==="maxLength"?"more":"fewer";return(0,e.str)`must NOT have ${u} than ${s} characters`},params:({schemaCode:l})=>(0,e._)`{limit: ${l}}`},code(l){const{keyword:s,data:u,schemaCode:d,it:p}=l,a=s==="maxLength"?e.operators.GT:e.operators.LT,o=p.opts.unicode===!1?(0,e._)`${u}.length`:(0,e._)`${(0,t.useFunc)(l.gen,i.default)}(${u})`;l.fail$data((0,e._)`${o} ${a} ${d}`)}};return Mn.default=r,Mn}var Un={},Gl;function Wg(){if(Gl)return Un;Gl=1,Object.defineProperty(Un,"__esModule",{value:!0});const e=Ue(),t=se(),i=ae(),r={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:l})=>(0,i.str)`must match pattern "${l}"`,params:({schemaCode:l})=>(0,i._)`{pattern: ${l}}`},code(l){const{gen:s,data:u,$data:d,schema:p,schemaCode:a,it:o}=l,c=o.opts.unicodeRegExp?"u":"";if(d){const{regExp:f}=o.opts.code,m=f.code==="new RegExp"?(0,i._)`new RegExp`:(0,t.useFunc)(s,f),v=s.let("valid");s.try(()=>s.assign(v,(0,i._)`${m}(${a}, ${c}).test(${u})`),()=>s.assign(v,!1)),l.fail$data((0,i._)`!${v}`)}else{const f=(0,e.usePattern)(l,p);l.fail$data((0,i._)`!${f}.test(${u})`)}}};return Un.default=r,Un}var zn={},Hl;function Yg(){if(Hl)return zn;Hl=1,Object.defineProperty(zn,"__esModule",{value:!0});const e=ae(),i={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:r}){const l=n==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${l} than ${r} properties`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:r,data:l,schemaCode:s}=n,u=r==="maxProperties"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`Object.keys(${l}).length ${u} ${s}`)}};return zn.default=i,zn}var Bn={},Wl;function Jg(){if(Wl)return Bn;Wl=1,Object.defineProperty(Bn,"__esModule",{value:!0});const e=Ue(),t=ae(),i=se(),r={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:l}})=>(0,t.str)`must have required property '${l}'`,params:({params:{missingProperty:l}})=>(0,t._)`{missingProperty: ${l}}`},code(l){const{gen:s,schema:u,schemaCode:d,data:p,$data:a,it:o}=l,{opts:c}=o;if(!a&&u.length===0)return;const f=u.length>=c.loopRequired;if(o.allErrors?m():v(),c.strictRequired){const y=l.parentSchema.properties,{definedProperties:b}=l.it;for(const w of u)if(y?.[w]===void 0&&!b.has(w)){const x=o.schemaEnv.baseId+o.errSchemaPath,S=`required property "${w}" is not defined at "${x}" (strictRequired)`;(0,i.checkStrictMode)(o,S,o.opts.strictRequired)}}function m(){if(f||a)l.block$data(t.nil,h);else for(const y of u)(0,e.checkReportMissingProp)(l,y)}function v(){const y=s.let("missing");if(f||a){const b=s.let("valid",!0);l.block$data(b,()=>g(y,b)),l.ok(b)}else s.if((0,e.checkMissingProp)(l,u,y)),(0,e.reportMissingProp)(l,y),s.else()}function h(){s.forOf("prop",d,y=>{l.setParams({missingProperty:y}),s.if((0,e.noPropertyInData)(s,p,y,c.ownProperties),()=>l.error())})}function g(y,b){l.setParams({missingProperty:y}),s.forOf(y,d,()=>{s.assign(b,(0,e.propertyInData)(s,p,y,c.ownProperties)),s.if((0,t.not)(b),()=>{l.error(),s.break()})},t.nil)}}};return Bn.default=r,Bn}var Vn={},Yl;function Xg(){if(Yl)return Vn;Yl=1,Object.defineProperty(Vn,"__esModule",{value:!0});const e=ae(),i={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:r}){const l=n==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${l} than ${r} items`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:r,data:l,schemaCode:s}=n,u=r==="maxItems"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`${l}.length ${u} ${s}`)}};return Vn.default=i,Vn}var Kn={},Gn={},Jl;function xc(){if(Jl)return Gn;Jl=1,Object.defineProperty(Gn,"__esModule",{value:!0});const e=oh();return e.code='require("ajv/dist/runtime/equal").default',Gn.default=e,Gn}var Xl;function Qg(){if(Xl)return Kn;Xl=1,Object.defineProperty(Kn,"__esModule",{value:!0});const e=ea(),t=ae(),i=se(),n=xc(),l={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:s,j:u}})=>(0,t.str)`must NOT have duplicate items (items ## ${u} and ${s} are identical)`,params:({params:{i:s,j:u}})=>(0,t._)`{i: ${s}, j: ${u}}`},code(s){const{gen:u,data:d,$data:p,schema:a,parentSchema:o,schemaCode:c,it:f}=s;if(!p&&!a)return;const m=u.let("valid"),v=o.items?(0,e.getSchemaTypes)(o.items):[];s.block$data(m,h,(0,t._)`${c} === false`),s.ok(m);function h(){const w=u.let("i",(0,t._)`${d}.length`),x=u.let("j");s.setParams({i:w,j:x}),u.assign(m,!0),u.if((0,t._)`${w} > 1`,()=>(g()?y:b)(w,x))}function g(){return v.length>0&&!v.some(w=>w==="object"||w==="array")}function y(w,x){const S=u.name("item"),_=(0,e.checkDataTypes)(v,S,f.opts.strictNumbers,e.DataType.Wrong),$=u.const("indices",(0,t._)`{}`);u.for((0,t._)`;${w}--;`,()=>{u.let(S,(0,t._)`${d}[${w}]`),u.if(_,(0,t._)`continue`),v.length>1&&u.if((0,t._)`typeof ${S} == "string"`,(0,t._)`${S} += "_"`),u.if((0,t._)`typeof ${$}[${S}] == "number"`,()=>{u.assign(x,(0,t._)`${$}[${S}]`),s.error(),u.assign(m,!1).break()}).code((0,t._)`${$}[${S}] = ${w}`)})}function b(w,x){const S=(0,i.useFunc)(u,n.default),_=u.name("outer");u.label(_).for((0,t._)`;${w}--;`,()=>u.for((0,t._)`${x} = ${w}; ${x}--;`,()=>u.if((0,t._)`${S}(${d}[${w}], ${d}[${x}])`,()=>{s.error(),u.assign(m,!1).break(_)})))}}};return Kn.default=l,Kn}var Hn={},Ql;function Zg(){if(Ql)return Hn;Ql=1,Object.defineProperty(Hn,"__esModule",{value:!0});const e=ae(),t=se(),i=xc(),r={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:l})=>(0,e._)`{allowedValue: ${l}}`},code(l){const{gen:s,data:u,$data:d,schemaCode:p,schema:a}=l;d||a&&typeof a=="object"?l.fail$data((0,e._)`!${(0,t.useFunc)(s,i.default)}(${u}, ${p})`):l.fail((0,e._)`${a} !== ${u}`)}};return Hn.default=r,Hn}var Wn={},Zl;function ey(){if(Zl)return Wn;Zl=1,Object.defineProperty(Wn,"__esModule",{value:!0});const e=ae(),t=se(),i=xc(),r={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:l})=>(0,e._)`{allowedValues: ${l}}`},code(l){const{gen:s,data:u,$data:d,schema:p,schemaCode:a,it:o}=l;if(!d&&p.length===0)throw new Error("enum must have non-empty array");const c=p.length>=o.opts.loopEnum;let f;const m=()=>f??(f=(0,t.useFunc)(s,i.default));let v;if(c||d)v=s.let("valid"),l.block$data(v,h);else{if(!Array.isArray(p))throw new Error("ajv implementation error");const y=s.const("vSchema",a);v=(0,e.or)(...p.map((b,w)=>g(y,w)))}l.pass(v);function h(){s.assign(v,!1),s.forOf("v",a,y=>s.if((0,e._)`${m()}(${u}, ${y})`,()=>s.assign(v,!0).break()))}function g(y,b){const w=p[b];return typeof w=="object"&&w!==null?(0,e._)`${m()}(${u}, ${y}[${b}])`:(0,e._)`${u} === ${w}`}}};return Wn.default=r,Wn}var eu;function ph(){if(eu)return qn;eu=1,Object.defineProperty(qn,"__esModule",{value:!0});const e=Vg(),t=Kg(),i=Hg(),n=Wg(),r=Yg(),l=Jg(),s=Xg(),u=Qg(),d=Zg(),p=ey(),a=[e.default,t.default,i.default,n.default,r.default,l.default,s.default,u.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,p.default];return qn.default=a,qn}var Yn={},kt={},tu;function dh(){if(tu)return kt;tu=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.validateAdditionalItems=void 0;const e=ae(),t=se(),n={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:l}})=>(0,e.str)`must NOT have more than ${l} items`,params:({params:{len:l}})=>(0,e._)`{limit: ${l}}`},code(l){const{parentSchema:s,it:u}=l,{items:d}=s;if(!Array.isArray(d)){(0,t.checkStrictMode)(u,'"additionalItems" is ignored when "items" is not an array of schemas');return}r(l,d)}};function r(l,s){const{gen:u,schema:d,data:p,keyword:a,it:o}=l;o.items=!0;const c=u.const("len",(0,e._)`${p}.length`);if(d===!1)l.setParams({len:s.length}),l.pass((0,e._)`${c} <= ${s.length}`);else if(typeof d=="object"&&!(0,t.alwaysValidSchema)(o,d)){const m=u.var("valid",(0,e._)`${c} <= ${s.length}`);u.if((0,e.not)(m),()=>f(m)),l.ok(m)}function f(m){u.forRange("i",s.length,c,v=>{l.subschema({keyword:a,dataProp:v,dataPropType:t.Type.Num},m),o.allErrors||u.if((0,e.not)(m),()=>u.break())})}}return kt.validateAdditionalItems=r,kt.default=n,kt}var Jn={},Rt={},nu;function fh(){if(nu)return Rt;nu=1,Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.validateTuple=void 0;const e=ae(),t=se(),i=Ue(),n={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(l){const{schema:s,it:u}=l;if(Array.isArray(s))return r(l,"additionalItems",s);u.items=!0,!(0,t.alwaysValidSchema)(u,s)&&l.ok((0,i.validateArray)(l))}};function r(l,s,u=l.schema){const{gen:d,parentSchema:p,data:a,keyword:o,it:c}=l;v(p),c.opts.unevaluated&&u.length&&c.items!==!0&&(c.items=t.mergeEvaluated.items(d,u.length,c.items));const f=d.name("valid"),m=d.const("len",(0,e._)`${a}.length`);u.forEach((h,g)=>{(0,t.alwaysValidSchema)(c,h)||(d.if((0,e._)`${m} > ${g}`,()=>l.subschema({keyword:o,schemaProp:g,dataProp:g},f)),l.ok(f))});function v(h){const{opts:g,errSchemaPath:y}=c,b=u.length,w=b===h.minItems&&(b===h.maxItems||h[s]===!1);if(g.strictTuples&&!w){const x=`"${o}" is ${b}-tuple, but minItems or maxItems/${s} are not specified or different at path "${y}"`;(0,t.checkStrictMode)(c,x,g.strictTuples)}}}return Rt.validateTuple=r,Rt.default=n,Rt}var iu;function ty(){if(iu)return Jn;iu=1,Object.defineProperty(Jn,"__esModule",{value:!0});const e=fh(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:i=>(0,e.validateTuple)(i,"items")};return Jn.default=t,Jn}var Xn={},au;function ny(){if(au)return Xn;au=1,Object.defineProperty(Xn,"__esModule",{value:!0});const e=ae(),t=se(),i=Ue(),n=dh(),l={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:s}})=>(0,e.str)`must NOT have more than ${s} items`,params:({params:{len:s}})=>(0,e._)`{limit: ${s}}`},code(s){const{schema:u,parentSchema:d,it:p}=s,{prefixItems:a}=d;p.items=!0,!(0,t.alwaysValidSchema)(p,u)&&(a?(0,n.validateAdditionalItems)(s,a):s.ok((0,i.validateArray)(s)))}};return Xn.default=l,Xn}var Qn={},ru;function iy(){if(ru)return Qn;ru=1,Object.defineProperty(Qn,"__esModule",{value:!0});const e=ae(),t=se(),n={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:r,max:l}})=>l===void 0?(0,e.str)`must contain at least ${r} valid item(s)`:(0,e.str)`must contain at least ${r} and no more than ${l} valid item(s)`,params:({params:{min:r,max:l}})=>l===void 0?(0,e._)`{minContains: ${r}}`:(0,e._)`{minContains: ${r}, maxContains: ${l}}`},code(r){const{gen:l,schema:s,parentSchema:u,data:d,it:p}=r;let a,o;const{minContains:c,maxContains:f}=u;p.opts.next?(a=c===void 0?1:c,o=f):a=1;const m=l.const("len",(0,e._)`${d}.length`);if(r.setParams({min:a,max:o}),o===void 0&&a===0){(0,t.checkStrictMode)(p,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(o!==void 0&&a>o){(0,t.checkStrictMode)(p,'"minContains" > "maxContains" is always invalid'),r.fail();return}if((0,t.alwaysValidSchema)(p,s)){let b=(0,e._)`${m} >= ${a}`;o!==void 0&&(b=(0,e._)`${b} && ${m} <= ${o}`),r.pass(b);return}p.items=!0;const v=l.name("valid");o===void 0&&a===1?g(v,()=>l.if(v,()=>l.break())):a===0?(l.let(v,!0),o!==void 0&&l.if((0,e._)`${d}.length > 0`,h)):(l.let(v,!1),h()),r.result(v,()=>r.reset());function h(){const b=l.name("_valid"),w=l.let("count",0);g(b,()=>l.if(b,()=>y(w)))}function g(b,w){l.forRange("i",0,m,x=>{r.subschema({keyword:"contains",dataProp:x,dataPropType:t.Type.Num,compositeRule:!0},b),w()})}function y(b){l.code((0,e._)`${b}++`),o===void 0?l.if((0,e._)`${b} >= ${a}`,()=>l.assign(v,!0).break()):(l.if((0,e._)`${b} > ${o}`,()=>l.assign(v,!1).break()),a===1?l.assign(v,!0):l.if((0,e._)`${b} >= ${a}`,()=>l.assign(v,!0)))}}};return Qn.default=n,Qn}var Qa={},su;function wc(){return su||(su=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=ae(),i=se(),n=Ue();e.error={message:({params:{property:d,depsCount:p,deps:a}})=>{const o=p===1?"property":"properties";return(0,t.str)`must have ${o} ${a} when property ${d} is present`},params:({params:{property:d,depsCount:p,deps:a,missingProperty:o}})=>(0,t._)`{property: ${d},
|
|
6
|
-
missingProperty: ${o},
|
|
7
|
-
depsCount: ${p},
|
|
8
|
-
deps: ${a}}`};const r={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(d){const[p,a]=l(d);s(d,p),u(d,a)}};function l({schema:d}){const p={},a={};for(const o in d){if(o==="__proto__")continue;const c=Array.isArray(d[o])?p:a;c[o]=d[o]}return[p,a]}function s(d,p=d.schema){const{gen:a,data:o,it:c}=d;if(Object.keys(p).length===0)return;const f=a.let("missing");for(const m in p){const v=p[m];if(v.length===0)continue;const h=(0,n.propertyInData)(a,o,m,c.opts.ownProperties);d.setParams({property:m,depsCount:v.length,deps:v.join(", ")}),c.allErrors?a.if(h,()=>{for(const g of v)(0,n.checkReportMissingProp)(d,g)}):(a.if((0,t._)`${h} && (${(0,n.checkMissingProp)(d,v,f)})`),(0,n.reportMissingProp)(d,f),a.else())}}e.validatePropertyDeps=s;function u(d,p=d.schema){const{gen:a,data:o,keyword:c,it:f}=d,m=a.name("valid");for(const v in p)(0,i.alwaysValidSchema)(f,p[v])||(a.if((0,n.propertyInData)(a,o,v,f.opts.ownProperties),()=>{const h=d.subschema({keyword:c,schemaProp:v},m);d.mergeValidEvaluated(h,m)},()=>a.var(m,!0)),d.ok(m))}e.validateSchemaDeps=u,e.default=r})(Qa)),Qa}var Zn={},ou;function ay(){if(ou)return Zn;ou=1,Object.defineProperty(Zn,"__esModule",{value:!0});const e=ae(),t=se(),n={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:r})=>(0,e._)`{propertyName: ${r.propertyName}}`},code(r){const{gen:l,schema:s,data:u,it:d}=r;if((0,t.alwaysValidSchema)(d,s))return;const p=l.name("valid");l.forIn("key",u,a=>{r.setParams({propertyName:a}),r.subschema({keyword:"propertyNames",data:a,dataTypes:["string"],propertyName:a,compositeRule:!0},p),l.if((0,e.not)(p),()=>{r.error(!0),d.allErrors||l.break()})}),r.ok(p)}};return Zn.default=n,Zn}var ei={},cu;function mh(){if(cu)return ei;cu=1,Object.defineProperty(ei,"__esModule",{value:!0});const e=Ue(),t=ae(),i=Fe(),n=se(),l={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:s})=>(0,t._)`{additionalProperty: ${s.additionalProperty}}`},code(s){const{gen:u,schema:d,parentSchema:p,data:a,errsCount:o,it:c}=s;if(!o)throw new Error("ajv implementation error");const{allErrors:f,opts:m}=c;if(c.props=!0,m.removeAdditional!=="all"&&(0,n.alwaysValidSchema)(c,d))return;const v=(0,e.allSchemaProperties)(p.properties),h=(0,e.allSchemaProperties)(p.patternProperties);g(),s.ok((0,t._)`${o} === ${i.default.errors}`);function g(){u.forIn("key",a,S=>{!v.length&&!h.length?w(S):u.if(y(S),()=>w(S))})}function y(S){let _;if(v.length>8){const $=(0,n.schemaRefOrVal)(c,p.properties,"properties");_=(0,e.isOwnProperty)(u,$,S)}else v.length?_=(0,t.or)(...v.map($=>(0,t._)`${S} === ${$}`)):_=t.nil;return h.length&&(_=(0,t.or)(_,...h.map($=>(0,t._)`${(0,e.usePattern)(s,$)}.test(${S})`))),(0,t.not)(_)}function b(S){u.code((0,t._)`delete ${a}[${S}]`)}function w(S){if(m.removeAdditional==="all"||m.removeAdditional&&d===!1){b(S);return}if(d===!1){s.setParams({additionalProperty:S}),s.error(),f||u.break();return}if(typeof d=="object"&&!(0,n.alwaysValidSchema)(c,d)){const _=u.name("valid");m.removeAdditional==="failing"?(x(S,_,!1),u.if((0,t.not)(_),()=>{s.reset(),b(S)})):(x(S,_),f||u.if((0,t.not)(_),()=>u.break()))}}function x(S,_,$){const T={keyword:"additionalProperties",dataProp:S,dataPropType:n.Type.Str};$===!1&&Object.assign(T,{compositeRule:!0,createErrors:!1,allErrors:!1}),s.subschema(T,_)}}};return ei.default=l,ei}var ti={},lu;function ry(){if(lu)return ti;lu=1,Object.defineProperty(ti,"__esModule",{value:!0});const e=hn(),t=Ue(),i=se(),n=mh(),r={keyword:"properties",type:"object",schemaType:"object",code(l){const{gen:s,schema:u,parentSchema:d,data:p,it:a}=l;a.opts.removeAdditional==="all"&&d.additionalProperties===void 0&&n.default.code(new e.KeywordCxt(a,n.default,"additionalProperties"));const o=(0,t.allSchemaProperties)(u);for(const h of o)a.definedProperties.add(h);a.opts.unevaluated&&o.length&&a.props!==!0&&(a.props=i.mergeEvaluated.props(s,(0,i.toHash)(o),a.props));const c=o.filter(h=>!(0,i.alwaysValidSchema)(a,u[h]));if(c.length===0)return;const f=s.name("valid");for(const h of c)m(h)?v(h):(s.if((0,t.propertyInData)(s,p,h,a.opts.ownProperties)),v(h),a.allErrors||s.else().var(f,!0),s.endIf()),l.it.definedProperties.add(h),l.ok(f);function m(h){return a.opts.useDefaults&&!a.compositeRule&&u[h].default!==void 0}function v(h){l.subschema({keyword:"properties",schemaProp:h,dataProp:h},f)}}};return ti.default=r,ti}var ni={},uu;function sy(){if(uu)return ni;uu=1,Object.defineProperty(ni,"__esModule",{value:!0});const e=Ue(),t=ae(),i=se(),n=se(),r={keyword:"patternProperties",type:"object",schemaType:"object",code(l){const{gen:s,schema:u,data:d,parentSchema:p,it:a}=l,{opts:o}=a,c=(0,e.allSchemaProperties)(u),f=c.filter(w=>(0,i.alwaysValidSchema)(a,u[w]));if(c.length===0||f.length===c.length&&(!a.opts.unevaluated||a.props===!0))return;const m=o.strictSchema&&!o.allowMatchingProperties&&p.properties,v=s.name("valid");a.props!==!0&&!(a.props instanceof t.Name)&&(a.props=(0,n.evaluatedPropsToName)(s,a.props));const{props:h}=a;g();function g(){for(const w of c)m&&y(w),a.allErrors?b(w):(s.var(v,!0),b(w),s.if(v))}function y(w){for(const x in m)new RegExp(w).test(x)&&(0,i.checkStrictMode)(a,`property ${x} matches pattern ${w} (use allowMatchingProperties)`)}function b(w){s.forIn("key",d,x=>{s.if((0,t._)`${(0,e.usePattern)(l,w)}.test(${x})`,()=>{const S=f.includes(w);S||l.subschema({keyword:"patternProperties",schemaProp:w,dataProp:x,dataPropType:n.Type.Str},v),a.opts.unevaluated&&h!==!0?s.assign((0,t._)`${h}[${x}]`,!0):!S&&!a.allErrors&&s.if((0,t.not)(v),()=>s.break())})})}}};return ni.default=r,ni}var ii={},pu;function oy(){if(pu)return ii;pu=1,Object.defineProperty(ii,"__esModule",{value:!0});const e=se(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(i){const{gen:n,schema:r,it:l}=i;if((0,e.alwaysValidSchema)(l,r)){i.fail();return}const s=n.name("valid");i.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},s),i.failResult(s,()=>i.reset(),()=>i.error())},error:{message:"must NOT be valid"}};return ii.default=t,ii}var ai={},du;function cy(){if(du)return ai;du=1,Object.defineProperty(ai,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Ue().validateUnion,error:{message:"must match a schema in anyOf"}};return ai.default=t,ai}var ri={},fu;function ly(){if(fu)return ri;fu=1,Object.defineProperty(ri,"__esModule",{value:!0});const e=ae(),t=se(),n={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:r})=>(0,e._)`{passingSchemas: ${r.passing}}`},code(r){const{gen:l,schema:s,parentSchema:u,it:d}=r;if(!Array.isArray(s))throw new Error("ajv implementation error");if(d.opts.discriminator&&u.discriminator)return;const p=s,a=l.let("valid",!1),o=l.let("passing",null),c=l.name("_valid");r.setParams({passing:o}),l.block(f),r.result(a,()=>r.reset(),()=>r.error(!0));function f(){p.forEach((m,v)=>{let h;(0,t.alwaysValidSchema)(d,m)?l.var(c,!0):h=r.subschema({keyword:"oneOf",schemaProp:v,compositeRule:!0},c),v>0&&l.if((0,e._)`${c} && ${a}`).assign(a,!1).assign(o,(0,e._)`[${o}, ${v}]`).else(),l.if(c,()=>{l.assign(a,!0),l.assign(o,v),h&&r.mergeEvaluated(h,e.Name)})})}}};return ri.default=n,ri}var si={},mu;function uy(){if(mu)return si;mu=1,Object.defineProperty(si,"__esModule",{value:!0});const e=se(),t={keyword:"allOf",schemaType:"array",code(i){const{gen:n,schema:r,it:l}=i;if(!Array.isArray(r))throw new Error("ajv implementation error");const s=n.name("valid");r.forEach((u,d)=>{if((0,e.alwaysValidSchema)(l,u))return;const p=i.subschema({keyword:"allOf",schemaProp:d},s);i.ok(s),i.mergeEvaluated(p)})}};return si.default=t,si}var oi={},hu;function py(){if(hu)return oi;hu=1,Object.defineProperty(oi,"__esModule",{value:!0});const e=ae(),t=se(),n={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:l})=>(0,e.str)`must match "${l.ifClause}" schema`,params:({params:l})=>(0,e._)`{failingKeyword: ${l.ifClause}}`},code(l){const{gen:s,parentSchema:u,it:d}=l;u.then===void 0&&u.else===void 0&&(0,t.checkStrictMode)(d,'"if" without "then" and "else" is ignored');const p=r(d,"then"),a=r(d,"else");if(!p&&!a)return;const o=s.let("valid",!0),c=s.name("_valid");if(f(),l.reset(),p&&a){const v=s.let("ifClause");l.setParams({ifClause:v}),s.if(c,m("then",v),m("else",v))}else p?s.if(c,m("then")):s.if((0,e.not)(c),m("else"));l.pass(o,()=>l.error(!0));function f(){const v=l.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},c);l.mergeEvaluated(v)}function m(v,h){return()=>{const g=l.subschema({keyword:v},c);s.assign(o,c),l.mergeValidEvaluated(g,o),h?s.assign(h,(0,e._)`${v}`):l.setParams({ifClause:v})}}}};function r(l,s){const u=l.schema[s];return u!==void 0&&!(0,t.alwaysValidSchema)(l,u)}return oi.default=n,oi}var ci={},vu;function dy(){if(vu)return ci;vu=1,Object.defineProperty(ci,"__esModule",{value:!0});const e=se(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:i,parentSchema:n,it:r}){n.if===void 0&&(0,e.checkStrictMode)(r,`"${i}" without "if" is ignored`)}};return ci.default=t,ci}var gu;function hh(){if(gu)return Yn;gu=1,Object.defineProperty(Yn,"__esModule",{value:!0});const e=dh(),t=ty(),i=fh(),n=ny(),r=iy(),l=wc(),s=ay(),u=mh(),d=ry(),p=sy(),a=oy(),o=cy(),c=ly(),f=uy(),m=py(),v=dy();function h(g=!1){const y=[a.default,o.default,c.default,f.default,m.default,v.default,s.default,u.default,l.default,d.default,p.default];return g?y.push(t.default,n.default):y.push(e.default,i.default),y.push(r.default),y}return Yn.default=h,Yn}var li={},At={},yu;function vh(){if(yu)return At;yu=1,Object.defineProperty(At,"__esModule",{value:!0}),At.dynamicAnchor=void 0;const e=ae(),t=Fe(),i=ma(),n=bc(),r={keyword:"$dynamicAnchor",schemaType:"string",code:u=>l(u,u.schema)};function l(u,d){const{gen:p,it:a}=u;a.schemaEnv.root.dynamicAnchors[d]=!0;const o=(0,e._)`${t.default.dynamicAnchors}${(0,e.getProperty)(d)}`,c=a.errSchemaPath==="#"?a.validateName:s(u);p.if((0,e._)`!${o}`,()=>p.assign(o,c))}At.dynamicAnchor=l;function s(u){const{schemaEnv:d,schema:p,self:a}=u.it,{root:o,baseId:c,localRefs:f,meta:m}=d.root,{schemaId:v}=a.opts,h=new i.SchemaEnv({schema:p,schemaId:v,root:o,baseId:c,localRefs:f,meta:m});return i.compileSchema.call(a,h),(0,n.getValidate)(u,h)}return At.default=r,At}var Tt={},bu;function gh(){if(bu)return Tt;bu=1,Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.dynamicRef=void 0;const e=ae(),t=Fe(),i=bc(),n={keyword:"$dynamicRef",schemaType:"string",code:l=>r(l,l.schema)};function r(l,s){const{gen:u,keyword:d,it:p}=l;if(s[0]!=="#")throw new Error(`"${d}" only supports hash fragment reference`);const a=s.slice(1);if(p.allErrors)o();else{const f=u.let("valid",!1);o(f),l.ok(f)}function o(f){if(p.schemaEnv.root.dynamicAnchors[a]){const m=u.let("_v",(0,e._)`${t.default.dynamicAnchors}${(0,e.getProperty)(a)}`);u.if(m,c(m,f),c(p.validateName,f))}else c(p.validateName,f)()}function c(f,m){return m?()=>u.block(()=>{(0,i.callRef)(l,f),u.let(m,!0)}):()=>(0,i.callRef)(l,f)}}return Tt.dynamicRef=r,Tt.default=n,Tt}var ui={},xu;function fy(){if(xu)return ui;xu=1,Object.defineProperty(ui,"__esModule",{value:!0});const e=vh(),t=se(),i={keyword:"$recursiveAnchor",schemaType:"boolean",code(n){n.schema?(0,e.dynamicAnchor)(n,""):(0,t.checkStrictMode)(n.it,"$recursiveAnchor: false is ignored")}};return ui.default=i,ui}var pi={},wu;function my(){if(wu)return pi;wu=1,Object.defineProperty(pi,"__esModule",{value:!0});const e=gh(),t={keyword:"$recursiveRef",schemaType:"string",code:i=>(0,e.dynamicRef)(i,i.schema)};return pi.default=t,pi}var Su;function hy(){if(Su)return li;Su=1,Object.defineProperty(li,"__esModule",{value:!0});const e=vh(),t=gh(),i=fy(),n=my(),r=[e.default,t.default,i.default,n.default];return li.default=r,li}var di={},fi={},_u;function vy(){if(_u)return fi;_u=1,Object.defineProperty(fi,"__esModule",{value:!0});const e=wc(),t={keyword:"dependentRequired",type:"object",schemaType:"object",error:e.error,code:i=>(0,e.validatePropertyDeps)(i)};return fi.default=t,fi}var mi={},Eu;function gy(){if(Eu)return mi;Eu=1,Object.defineProperty(mi,"__esModule",{value:!0});const e=wc(),t={keyword:"dependentSchemas",type:"object",schemaType:"object",code:i=>(0,e.validateSchemaDeps)(i)};return mi.default=t,mi}var hi={},$u;function yy(){if($u)return hi;$u=1,Object.defineProperty(hi,"__esModule",{value:!0});const e=se(),t={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:i,parentSchema:n,it:r}){n.contains===void 0&&(0,e.checkStrictMode)(r,`"${i}" without "contains" is ignored`)}};return hi.default=t,hi}var ku;function by(){if(ku)return di;ku=1,Object.defineProperty(di,"__esModule",{value:!0});const e=vy(),t=gy(),i=yy(),n=[e.default,t.default,i.default];return di.default=n,di}var vi={},gi={},Ru;function xy(){if(Ru)return gi;Ru=1,Object.defineProperty(gi,"__esModule",{value:!0});const e=ae(),t=se(),i=Fe(),r={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:l})=>(0,e._)`{unevaluatedProperty: ${l.unevaluatedProperty}}`},code(l){const{gen:s,schema:u,data:d,errsCount:p,it:a}=l;if(!p)throw new Error("ajv implementation error");const{allErrors:o,props:c}=a;c instanceof e.Name?s.if((0,e._)`${c} !== true`,()=>s.forIn("key",d,h=>s.if(m(c,h),()=>f(h)))):c!==!0&&s.forIn("key",d,h=>c===void 0?f(h):s.if(v(c,h),()=>f(h))),a.props=!0,l.ok((0,e._)`${p} === ${i.default.errors}`);function f(h){if(u===!1){l.setParams({unevaluatedProperty:h}),l.error(),o||s.break();return}if(!(0,t.alwaysValidSchema)(a,u)){const g=s.name("valid");l.subschema({keyword:"unevaluatedProperties",dataProp:h,dataPropType:t.Type.Str},g),o||s.if((0,e.not)(g),()=>s.break())}}function m(h,g){return(0,e._)`!${h} || !${h}[${g}]`}function v(h,g){const y=[];for(const b in h)h[b]===!0&&y.push((0,e._)`${g} !== ${b}`);return(0,e.and)(...y)}}};return gi.default=r,gi}var yi={},Au;function wy(){if(Au)return yi;Au=1,Object.defineProperty(yi,"__esModule",{value:!0});const e=ae(),t=se(),n={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:r}})=>(0,e.str)`must NOT have more than ${r} items`,params:({params:{len:r}})=>(0,e._)`{limit: ${r}}`},code(r){const{gen:l,schema:s,data:u,it:d}=r,p=d.items||0;if(p===!0)return;const a=l.const("len",(0,e._)`${u}.length`);if(s===!1)r.setParams({len:p}),r.fail((0,e._)`${a} > ${p}`);else if(typeof s=="object"&&!(0,t.alwaysValidSchema)(d,s)){const c=l.var("valid",(0,e._)`${a} <= ${p}`);l.if((0,e.not)(c),()=>o(c,p)),r.ok(c)}d.items=!0;function o(c,f){l.forRange("i",f,a,m=>{r.subschema({keyword:"unevaluatedItems",dataProp:m,dataPropType:t.Type.Num},c),d.allErrors||l.if((0,e.not)(c),()=>l.break())})}}};return yi.default=n,yi}var Tu;function Sy(){if(Tu)return vi;Tu=1,Object.defineProperty(vi,"__esModule",{value:!0});const e=xy(),t=wy(),i=[e.default,t.default];return vi.default=i,vi}var bi={},xi={},Ou;function _y(){if(Ou)return xi;Ou=1,Object.defineProperty(xi,"__esModule",{value:!0});const e=ae(),i={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must match format "${n}"`,params:({schemaCode:n})=>(0,e._)`{format: ${n}}`},code(n,r){const{gen:l,data:s,$data:u,schema:d,schemaCode:p,it:a}=n,{opts:o,errSchemaPath:c,schemaEnv:f,self:m}=a;if(!o.validateFormats)return;u?v():h();function v(){const g=l.scopeValue("formats",{ref:m.formats,code:o.code.formats}),y=l.const("fDef",(0,e._)`${g}[${p}]`),b=l.let("fType"),w=l.let("format");l.if((0,e._)`typeof ${y} == "object" && !(${y} instanceof RegExp)`,()=>l.assign(b,(0,e._)`${y}.type || "string"`).assign(w,(0,e._)`${y}.validate`),()=>l.assign(b,(0,e._)`"string"`).assign(w,y)),n.fail$data((0,e.or)(x(),S()));function x(){return o.strictSchema===!1?e.nil:(0,e._)`${p} && !${w}`}function S(){const _=f.$async?(0,e._)`(${y}.async ? await ${w}(${s}) : ${w}(${s}))`:(0,e._)`${w}(${s})`,$=(0,e._)`(typeof ${w} == "function" ? ${_} : ${w}.test(${s}))`;return(0,e._)`${w} && ${w} !== true && ${b} === ${r} && !${$}`}}function h(){const g=m.formats[d];if(!g){x();return}if(g===!0)return;const[y,b,w]=S(g);y===r&&n.pass(_());function x(){if(o.strictSchema===!1){m.logger.warn($());return}throw new Error($());function $(){return`unknown format "${d}" ignored in schema at path "${c}"`}}function S($){const T=$ instanceof RegExp?(0,e.regexpCode)($):o.code.formats?(0,e._)`${o.code.formats}${(0,e.getProperty)(d)}`:void 0,U=l.scopeValue("formats",{key:d,ref:$,code:T});return typeof $=="object"&&!($ instanceof RegExp)?[$.type||"string",$.validate,(0,e._)`${U}.validate`]:["string",$,U]}function _(){if(typeof g=="object"&&!(g instanceof RegExp)&&g.async){if(!f.$async)throw new Error("async format in sync schema");return(0,e._)`await ${w}(${s})`}return typeof b=="function"?(0,e._)`${w}(${s})`:(0,e._)`${w}.test(${s})`}}}};return xi.default=i,xi}var Pu;function yh(){if(Pu)return bi;Pu=1,Object.defineProperty(bi,"__esModule",{value:!0});const t=[_y().default];return bi.default=t,bi}var pt={},Nu;function bh(){return Nu||(Nu=1,Object.defineProperty(pt,"__esModule",{value:!0}),pt.contentVocabulary=pt.metadataVocabulary=void 0,pt.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],pt.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),pt}var ju;function Ey(){if(ju)return jn;ju=1,Object.defineProperty(jn,"__esModule",{value:!0});const e=uh(),t=ph(),i=hh(),n=hy(),r=by(),l=Sy(),s=yh(),u=bh(),d=[n.default,e.default,t.default,(0,i.default)(!0),s.default,u.metadataVocabulary,u.contentVocabulary,r.default,l.default];return jn.default=d,jn}var wi={},Qt={},Cu;function $y(){if(Cu)return Qt;Cu=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.DiscrError=void 0;var e;return(function(t){t.Tag="tag",t.Mapping="mapping"})(e||(Qt.DiscrError=e={})),Qt}var Iu;function xh(){if(Iu)return wi;Iu=1,Object.defineProperty(wi,"__esModule",{value:!0});const e=ae(),t=$y(),i=ma(),n=vn(),r=se(),s={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:u,tagName:d}})=>u===t.DiscrError.Tag?`tag "${d}" must be string`:`value of tag "${d}" must be in oneOf`,params:({params:{discrError:u,tag:d,tagName:p}})=>(0,e._)`{error: ${u}, tag: ${p}, tagValue: ${d}}`},code(u){const{gen:d,data:p,schema:a,parentSchema:o,it:c}=u,{oneOf:f}=o;if(!c.opts.discriminator)throw new Error("discriminator: requires discriminator option");const m=a.propertyName;if(typeof m!="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 v=d.let("valid",!1),h=d.const("tag",(0,e._)`${p}${(0,e.getProperty)(m)}`);d.if((0,e._)`typeof ${h} == "string"`,()=>g(),()=>u.error(!1,{discrError:t.DiscrError.Tag,tag:h,tagName:m})),u.ok(v);function g(){const w=b();d.if(!1);for(const x in w)d.elseIf((0,e._)`${h} === ${x}`),d.assign(v,y(w[x]));d.else(),u.error(!1,{discrError:t.DiscrError.Mapping,tag:h,tagName:m}),d.endIf()}function y(w){const x=d.name("valid"),S=u.subschema({keyword:"oneOf",schemaProp:w},x);return u.mergeEvaluated(S,e.Name),x}function b(){var w;const x={},S=$(o);let _=!0;for(let L=0;L<f.length;L++){let B=f[L];if(B?.$ref&&!(0,r.schemaHasRulesButRef)(B,c.self.RULES)){const D=B.$ref;if(B=i.resolveRef.call(c.self,c.schemaEnv.root,c.baseId,D),B instanceof i.SchemaEnv&&(B=B.schema),B===void 0)throw new n.default(c.opts.uriResolver,c.baseId,D)}const G=(w=B?.properties)===null||w===void 0?void 0:w[m];if(typeof G!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${m}"`);_=_&&(S||$(B)),T(G,L)}if(!_)throw new Error(`discriminator: "${m}" must be required`);return x;function $({required:L}){return Array.isArray(L)&&L.includes(m)}function T(L,B){if(L.const)U(L.const,B);else if(L.enum)for(const G of L.enum)U(G,B);else throw new Error(`discriminator: "properties/${m}" must have "const" or "enum"`)}function U(L,B){if(typeof L!="string"||L in x)throw new Error(`discriminator: "${m}" values must be unique strings`);x[L]=B}}}};return wi.default=s,wi}var Si={};const ky="https://json-schema.org/draft/2020-12/schema",Ry="https://json-schema.org/draft/2020-12/schema",Ay={"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},Ty="meta",Oy="Core and Validation specifications meta-schema",Py=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],Ny=["object","boolean"],jy="This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",Cy={definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}},Iy={$schema:ky,$id:Ry,$vocabulary:Ay,$dynamicAnchor:Ty,title:Oy,allOf:Py,type:Ny,$comment:jy,properties:Cy},qy="https://json-schema.org/draft/2020-12/schema",Ly="https://json-schema.org/draft/2020-12/meta/applicator",Dy={"https://json-schema.org/draft/2020-12/vocab/applicator":!0},My="meta",Fy="Applicator vocabulary meta-schema",Uy=["object","boolean"],zy={prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},By={schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}},Vy={$schema:qy,$id:Ly,$vocabulary:Dy,$dynamicAnchor:My,title:Fy,type:Uy,properties:zy,$defs:By},Ky="https://json-schema.org/draft/2020-12/schema",Gy="https://json-schema.org/draft/2020-12/meta/unevaluated",Hy={"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},Wy="meta",Yy="Unevaluated applicator vocabulary meta-schema",Jy=["object","boolean"],Xy={unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}},Qy={$schema:Ky,$id:Gy,$vocabulary:Hy,$dynamicAnchor:Wy,title:Yy,type:Jy,properties:Xy},Zy="https://json-schema.org/draft/2020-12/schema",eb="https://json-schema.org/draft/2020-12/meta/content",tb={"https://json-schema.org/draft/2020-12/vocab/content":!0},nb="meta",ib="Content vocabulary meta-schema",ab=["object","boolean"],rb={contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}},sb={$schema:Zy,$id:eb,$vocabulary:tb,$dynamicAnchor:nb,title:ib,type:ab,properties:rb},ob="https://json-schema.org/draft/2020-12/schema",cb="https://json-schema.org/draft/2020-12/meta/core",lb={"https://json-schema.org/draft/2020-12/vocab/core":!0},ub="meta",pb="Core vocabulary meta-schema",db=["object","boolean"],fb={$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},mb={anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}},hb={$schema:ob,$id:cb,$vocabulary:lb,$dynamicAnchor:ub,title:pb,type:db,properties:fb,$defs:mb},vb="https://json-schema.org/draft/2020-12/schema",gb="https://json-schema.org/draft/2020-12/meta/format-annotation",yb={"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},bb="meta",xb="Format vocabulary meta-schema for annotation results",wb=["object","boolean"],Sb={format:{type:"string"}},_b={$schema:vb,$id:gb,$vocabulary:yb,$dynamicAnchor:bb,title:xb,type:wb,properties:Sb},Eb="https://json-schema.org/draft/2020-12/schema",$b="https://json-schema.org/draft/2020-12/meta/meta-data",kb={"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},Rb="meta",Ab="Meta-data vocabulary meta-schema",Tb=["object","boolean"],Ob={title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}},Pb={$schema:Eb,$id:$b,$vocabulary:kb,$dynamicAnchor:Rb,title:Ab,type:Tb,properties:Ob},Nb="https://json-schema.org/draft/2020-12/schema",jb="https://json-schema.org/draft/2020-12/meta/validation",Cb={"https://json-schema.org/draft/2020-12/vocab/validation":!0},Ib="meta",qb="Validation vocabulary meta-schema",Lb=["object","boolean"],Db={type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},Mb={nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Fb={$schema:Nb,$id:jb,$vocabulary:Cb,$dynamicAnchor:Ib,title:qb,type:Lb,properties:Db,$defs:Mb};var qu;function Ub(){if(qu)return Si;qu=1,Object.defineProperty(Si,"__esModule",{value:!0});const e=Iy,t=Vy,i=Qy,n=sb,r=hb,l=_b,s=Pb,u=Fb,d=["/properties"];function p(a){return[e,t,i,n,r,o(this,l),s,o(this,u)].forEach(c=>this.addMetaSchema(c,void 0,!1)),this;function o(c,f){return a?c.$dataMetaSchema(f,d):f}}return Si.default=p,Si}var Lu;function zb(){return Lu||(Lu=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 i=lh(),n=Ey(),r=xh(),l=Ub(),s="https://json-schema.org/draft/2020-12/schema";class u extends i.default{constructor(f={}){super({...f,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),n.default.forEach(f=>this.addVocabulary(f)),this.opts.discriminator&&this.addKeyword(r.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:f,meta:m}=this.opts;m&&(l.default.call(this,f),this.refs["http://json-schema.org/schema"]=s)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(s)?s:void 0)}}t.Ajv2020=u,e.exports=t=u,e.exports.Ajv2020=u,Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var d=hn();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return d.KeywordCxt}});var p=ae();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return p._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return p.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return p.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return p.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return p.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return p.CodeGen}});var a=fa();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return a.default}});var o=vn();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return o.default}})})(An,An.exports)),An.exports}var Bb=zb(),_i={exports:{}},Za={},Du;function Vb(){return Du||(Du=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(L,B){return{validate:L,compare:B}}e.fullFormats={date:t(l,s),time:t(d(!0),p),"date-time":t(c(!0),f),"iso-time":t(d(),a),"iso-date-time":t(c(),m),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:g,"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:U,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:S},int64:{type:"number",validate:_},float:{type:"number",validate:$},double:{type:"number",validate:$},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,s),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,p),"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,m),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 i(L){return L%4===0&&(L%100!==0||L%400===0)}const n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,r=[0,31,28,31,30,31,30,31,31,30,31,30,31];function l(L){const B=n.exec(L);if(!B)return!1;const G=+B[1],D=+B[2],V=+B[3];return D>=1&&D<=12&&V>=1&&V<=(D===2&&i(G)?29:r[D])}function s(L,B){if(L&&B)return L>B?1:L<B?-1:0}const u=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function d(L){return function(G){const D=u.exec(G);if(!D)return!1;const V=+D[1],A=+D[2],N=+D[3],I=D[4],z=D[5]==="-"?-1:1,O=+(D[6]||0),k=+(D[7]||0);if(O>23||k>59||L&&!I)return!1;if(V<=23&&A<=59&&N<60)return!0;const j=A-k*z,P=V-O*z-(j<0?1:0);return(P===23||P===-1)&&(j===59||j===-1)&&N<61}}function p(L,B){if(!(L&&B))return;const G=new Date("2020-01-01T"+L).valueOf(),D=new Date("2020-01-01T"+B).valueOf();if(G&&D)return G-D}function a(L,B){if(!(L&&B))return;const G=u.exec(L),D=u.exec(B);if(G&&D)return L=G[1]+G[2]+G[3],B=D[1]+D[2]+D[3],L>B?1:L<B?-1:0}const o=/t|\s/i;function c(L){const B=d(L);return function(D){const V=D.split(o);return V.length===2&&l(V[0])&&B(V[1])}}function f(L,B){if(!(L&&B))return;const G=new Date(L).valueOf(),D=new Date(B).valueOf();if(G&&D)return G-D}function m(L,B){if(!(L&&B))return;const[G,D]=L.split(o),[V,A]=B.split(o),N=s(G,V);if(N!==void 0)return N||p(D,A)}const v=/\/|:/,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 g(L){return v.test(L)&&h.test(L)}const y=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function b(L){return y.lastIndex=0,y.test(L)}const w=-2147483648,x=2**31-1;function S(L){return Number.isInteger(L)&&L<=x&&L>=w}function _(L){return Number.isInteger(L)}function $(){return!0}const T=/[^\\]\\Z/;function U(L){if(T.test(L))return!1;try{return new RegExp(L),!0}catch{return!1}}})(Za)),Za}var er={},Ei={exports:{}},$i={},Mu;function Kb(){if(Mu)return $i;Mu=1,Object.defineProperty($i,"__esModule",{value:!0});const e=uh(),t=ph(),i=hh(),n=yh(),r=bh(),l=[e.default,t.default,(0,i.default)(),n.default,r.metadataVocabulary,r.contentVocabulary];return $i.default=l,$i}const Gb="http://json-schema.org/draft-07/schema#",Hb="http://json-schema.org/draft-07/schema#",Wb="Core schema meta-schema",Yb={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:[]}},Jb=["object","boolean"],Xb={$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:"#"}},Qb={$schema:Gb,$id:Hb,title:Wb,definitions:Yb,type:Jb,properties:Xb,default:!0};var Fu;function Zb(){return Fu||(Fu=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 i=lh(),n=Kb(),r=xh(),l=Qb,s=["/properties"],u="http://json-schema.org/draft-07/schema";class d extends i.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(m=>this.addVocabulary(m)),this.opts.discriminator&&this.addKeyword(r.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const m=this.opts.$data?this.$dataMetaSchema(l,s):l;this.addMetaSchema(m,u,!1),this.refs["http://json-schema.org/schema"]=u}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(u)?u:void 0)}}t.Ajv=d,e.exports=t=d,e.exports.Ajv=d,Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var p=hn();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return p.KeywordCxt}});var a=ae();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return a.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return a.CodeGen}});var o=fa();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return o.default}});var c=vn();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return c.default}})})(Ei,Ei.exports)),Ei.exports}var Uu;function ex(){return Uu||(Uu=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=Zb(),i=ae(),n=i.operators,r={formatMaximum:{okStr:"<=",ok:n.LTE,fail:n.GT},formatMinimum:{okStr:">=",ok:n.GTE,fail:n.LT},formatExclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},formatExclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},l={message:({keyword:u,schemaCode:d})=>(0,i.str)`should be ${r[u].okStr} ${d}`,params:({keyword:u,schemaCode:d})=>(0,i._)`{comparison: ${r[u].okStr}, limit: ${d}}`};e.formatLimitDefinition={keyword:Object.keys(r),type:"string",schemaType:"string",$data:!0,error:l,code(u){const{gen:d,data:p,schemaCode:a,keyword:o,it:c}=u,{opts:f,self:m}=c;if(!f.validateFormats)return;const v=new t.KeywordCxt(c,m.RULES.all.format.definition,"format");v.$data?h():g();function h(){const b=d.scopeValue("formats",{ref:m.formats,code:f.code.formats}),w=d.const("fmt",(0,i._)`${b}[${v.schemaCode}]`);u.fail$data((0,i.or)((0,i._)`typeof ${w} != "object"`,(0,i._)`${w} instanceof RegExp`,(0,i._)`typeof ${w}.compare != "function"`,y(w)))}function g(){const b=v.schema,w=m.formats[b];if(!w||w===!0)return;if(typeof w!="object"||w instanceof RegExp||typeof w.compare!="function")throw new Error(`"${o}": format "${b}" does not define "compare" function`);const x=d.scopeValue("formats",{key:b,ref:w,code:f.code.formats?(0,i._)`${f.code.formats}${(0,i.getProperty)(b)}`:void 0});u.fail$data(y(x))}function y(b){return(0,i._)`${b}.compare(${p}, ${a}) ${r[o].fail} 0`}},dependencies:["format"]};const s=u=>(u.addKeyword(e.formatLimitDefinition),u);e.default=s})(er)),er}var zu;function tx(){return zu||(zu=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const i=Vb(),n=ex(),r=ae(),l=new r.Name("fullFormats"),s=new r.Name("fastFormats"),u=(p,a={keywords:!0})=>{if(Array.isArray(a))return d(p,a,i.fullFormats,l),p;const[o,c]=a.mode==="fast"?[i.fastFormats,s]:[i.fullFormats,l],f=a.formats||i.formatNames;return d(p,f,o,c),a.keywords&&(0,n.default)(p),p};u.get=(p,a="full")=>{const c=(a==="fast"?i.fastFormats:i.fullFormats)[p];if(!c)throw new Error(`Unknown format "${p}"`);return c};function d(p,a,o,c){var f,m;(f=(m=p.opts.code).formats)!==null&&f!==void 0||(m.formats=(0,r._)`require("ajv-formats/dist/formats").${c}`);for(const v of a)p.addFormat(v,o[v])}e.exports=t=u,Object.defineProperty(t,"__esModule",{value:!0}),t.default=u})(_i,_i.exports)),_i.exports}var nx=tx();const ix=mn(nx),ax=(e,t,i,n)=>{if(i==="length"||i==="prototype"||i==="arguments"||i==="caller")return;const r=Object.getOwnPropertyDescriptor(e,i),l=Object.getOwnPropertyDescriptor(t,i);!rx(r,l)&&n||Object.defineProperty(e,i,l)},rx=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)},sx=(e,t)=>{const i=Object.getPrototypeOf(t);i!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,i)},ox=(e,t)=>`/* Wrapped ${e}*/
|
|
9
|
-
${t}`,cx=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),lx=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),ux=(e,t,i)=>{const n=i===""?"":`with ${i.trim()}() `,r=ox.bind(null,n,t.toString());Object.defineProperty(r,"name",lx);const{writable:l,enumerable:s,configurable:u}=cx;Object.defineProperty(e,"toString",{value:r,writable:l,enumerable:s,configurable:u})};function px(e,t,{ignoreNonConfigurable:i=!1}={}){const{name:n}=e;for(const r of Reflect.ownKeys(t))ax(e,t,r,i);return sx(e,t),ux(e,t,n),e}const Bu=(e,t={})=>{if(typeof e!="function")throw new TypeError(`Expected the first argument to be a function, got \`${typeof e}\``);const{wait:i=0,maxWait:n=Number.POSITIVE_INFINITY,before:r=!1,after:l=!0}=t;if(i<0||n<0)throw new RangeError("`wait` and `maxWait` must not be negative.");if(!r&&!l)throw new Error("Both `before` and `after` are false, function wouldn't be called.");let s,u,d;const p=function(...a){const o=this,c=()=>{s=void 0,u&&(clearTimeout(u),u=void 0),l&&(d=e.apply(o,a))},f=()=>{u=void 0,s&&(clearTimeout(s),s=void 0),l&&(d=e.apply(o,a))},m=r&&!s;return clearTimeout(s),s=setTimeout(c,i),n>0&&n!==Number.POSITIVE_INFINITY&&!u&&(u=setTimeout(f,n)),m&&(d=e.apply(o,a)),d};return px(p,e),p.cancel=()=>{s&&(clearTimeout(s),s=void 0),u&&(clearTimeout(u),u=void 0)},p};var ki={exports:{}},tr,Vu;function ha(){if(Vu)return tr;Vu=1;const e="2.0.0",t=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,n=16,r=t-6;return tr={MAX_LENGTH:t,MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_SAFE_INTEGER:i,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},tr}var nr,Ku;function va(){return Ku||(Ku=1,nr=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{}),nr}var Gu;function gn(){return Gu||(Gu=1,(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:r}=ha(),l=va();t=e.exports={};const s=t.re=[],u=t.safeRe=[],d=t.src=[],p=t.safeSrc=[],a=t.t={};let o=0;const c="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",r],[c,n]],m=h=>{for(const[g,y]of f)h=h.split(`${g}*`).join(`${g}{0,${y}}`).split(`${g}+`).join(`${g}{1,${y}}`);return h},v=(h,g,y)=>{const b=m(g),w=o++;l(h,w,g),a[h]=w,d[w]=g,p[w]=b,s[w]=new RegExp(g,y?"g":void 0),u[w]=new RegExp(b,y?"g":void 0)};v("NUMERICIDENTIFIER","0|[1-9]\\d*"),v("NUMERICIDENTIFIERLOOSE","\\d+"),v("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${c}*`),v("MAINVERSION",`(${d[a.NUMERICIDENTIFIER]})\\.(${d[a.NUMERICIDENTIFIER]})\\.(${d[a.NUMERICIDENTIFIER]})`),v("MAINVERSIONLOOSE",`(${d[a.NUMERICIDENTIFIERLOOSE]})\\.(${d[a.NUMERICIDENTIFIERLOOSE]})\\.(${d[a.NUMERICIDENTIFIERLOOSE]})`),v("PRERELEASEIDENTIFIER",`(?:${d[a.NONNUMERICIDENTIFIER]}|${d[a.NUMERICIDENTIFIER]})`),v("PRERELEASEIDENTIFIERLOOSE",`(?:${d[a.NONNUMERICIDENTIFIER]}|${d[a.NUMERICIDENTIFIERLOOSE]})`),v("PRERELEASE",`(?:-(${d[a.PRERELEASEIDENTIFIER]}(?:\\.${d[a.PRERELEASEIDENTIFIER]})*))`),v("PRERELEASELOOSE",`(?:-?(${d[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${d[a.PRERELEASEIDENTIFIERLOOSE]})*))`),v("BUILDIDENTIFIER",`${c}+`),v("BUILD",`(?:\\+(${d[a.BUILDIDENTIFIER]}(?:\\.${d[a.BUILDIDENTIFIER]})*))`),v("FULLPLAIN",`v?${d[a.MAINVERSION]}${d[a.PRERELEASE]}?${d[a.BUILD]}?`),v("FULL",`^${d[a.FULLPLAIN]}$`),v("LOOSEPLAIN",`[v=\\s]*${d[a.MAINVERSIONLOOSE]}${d[a.PRERELEASELOOSE]}?${d[a.BUILD]}?`),v("LOOSE",`^${d[a.LOOSEPLAIN]}$`),v("GTLT","((?:<|>)?=?)"),v("XRANGEIDENTIFIERLOOSE",`${d[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),v("XRANGEIDENTIFIER",`${d[a.NUMERICIDENTIFIER]}|x|X|\\*`),v("XRANGEPLAIN",`[v=\\s]*(${d[a.XRANGEIDENTIFIER]})(?:\\.(${d[a.XRANGEIDENTIFIER]})(?:\\.(${d[a.XRANGEIDENTIFIER]})(?:${d[a.PRERELEASE]})?${d[a.BUILD]}?)?)?`),v("XRANGEPLAINLOOSE",`[v=\\s]*(${d[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[a.XRANGEIDENTIFIERLOOSE]})(?:${d[a.PRERELEASELOOSE]})?${d[a.BUILD]}?)?)?`),v("XRANGE",`^${d[a.GTLT]}\\s*${d[a.XRANGEPLAIN]}$`),v("XRANGELOOSE",`^${d[a.GTLT]}\\s*${d[a.XRANGEPLAINLOOSE]}$`),v("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`),v("COERCE",`${d[a.COERCEPLAIN]}(?:$|[^\\d])`),v("COERCEFULL",d[a.COERCEPLAIN]+`(?:${d[a.PRERELEASE]})?(?:${d[a.BUILD]})?(?:$|[^\\d])`),v("COERCERTL",d[a.COERCE],!0),v("COERCERTLFULL",d[a.COERCEFULL],!0),v("LONETILDE","(?:~>?)"),v("TILDETRIM",`(\\s*)${d[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",v("TILDE",`^${d[a.LONETILDE]}${d[a.XRANGEPLAIN]}$`),v("TILDELOOSE",`^${d[a.LONETILDE]}${d[a.XRANGEPLAINLOOSE]}$`),v("LONECARET","(?:\\^)"),v("CARETTRIM",`(\\s*)${d[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",v("CARET",`^${d[a.LONECARET]}${d[a.XRANGEPLAIN]}$`),v("CARETLOOSE",`^${d[a.LONECARET]}${d[a.XRANGEPLAINLOOSE]}$`),v("COMPARATORLOOSE",`^${d[a.GTLT]}\\s*(${d[a.LOOSEPLAIN]})$|^$`),v("COMPARATOR",`^${d[a.GTLT]}\\s*(${d[a.FULLPLAIN]})$|^$`),v("COMPARATORTRIM",`(\\s*)${d[a.GTLT]}\\s*(${d[a.LOOSEPLAIN]}|${d[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",v("HYPHENRANGE",`^\\s*(${d[a.XRANGEPLAIN]})\\s+-\\s+(${d[a.XRANGEPLAIN]})\\s*$`),v("HYPHENRANGELOOSE",`^\\s*(${d[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${d[a.XRANGEPLAINLOOSE]})\\s*$`),v("STAR","(<|>)?=?\\s*\\*"),v("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),v("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(ki,ki.exports)),ki.exports}var ir,Hu;function Sc(){if(Hu)return ir;Hu=1;const e=Object.freeze({loose:!0}),t=Object.freeze({});return ir=n=>n?typeof n!="object"?e:n:t,ir}var ar,Wu;function wh(){if(Wu)return ar;Wu=1;const e=/^[0-9]+$/,t=(n,r)=>{if(typeof n=="number"&&typeof r=="number")return n===r?0:n<r?-1:1;const l=e.test(n),s=e.test(r);return l&&s&&(n=+n,r=+r),n===r?0:l&&!s?-1:s&&!l?1:n<r?-1:1};return ar={compareIdentifiers:t,rcompareIdentifiers:(n,r)=>t(r,n)},ar}var rr,Yu;function Oe(){if(Yu)return rr;Yu=1;const e=va(),{MAX_LENGTH:t,MAX_SAFE_INTEGER:i}=ha(),{safeRe:n,t:r}=gn(),l=Sc(),{compareIdentifiers:s}=wh();class u{constructor(p,a){if(a=l(a),p instanceof u){if(p.loose===!!a.loose&&p.includePrerelease===!!a.includePrerelease)return p;p=p.version}else if(typeof p!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof p}".`);if(p.length>t)throw new TypeError(`version is longer than ${t} characters`);e("SemVer",p,a),this.options=a,this.loose=!!a.loose,this.includePrerelease=!!a.includePrerelease;const o=p.trim().match(a.loose?n[r.LOOSE]:n[r.FULL]);if(!o)throw new TypeError(`Invalid Version: ${p}`);if(this.raw=p,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map(c=>{if(/^[0-9]+$/.test(c)){const f=+c;if(f>=0&&f<i)return f}return c}):this.prerelease=[],this.build=o[5]?o[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(p){if(e("SemVer.compare",this.version,this.options,p),!(p instanceof u)){if(typeof p=="string"&&p===this.version)return 0;p=new u(p,this.options)}return p.version===this.version?0:this.compareMain(p)||this.comparePre(p)}compareMain(p){return p instanceof u||(p=new u(p,this.options)),this.major<p.major?-1:this.major>p.major?1:this.minor<p.minor?-1:this.minor>p.minor?1:this.patch<p.patch?-1:this.patch>p.patch?1:0}comparePre(p){if(p instanceof u||(p=new u(p,this.options)),this.prerelease.length&&!p.prerelease.length)return-1;if(!this.prerelease.length&&p.prerelease.length)return 1;if(!this.prerelease.length&&!p.prerelease.length)return 0;let a=0;do{const o=this.prerelease[a],c=p.prerelease[a];if(e("prerelease compare",a,o,c),o===void 0&&c===void 0)return 0;if(c===void 0)return 1;if(o===void 0)return-1;if(o===c)continue;return s(o,c)}while(++a)}compareBuild(p){p instanceof u||(p=new u(p,this.options));let a=0;do{const o=this.build[a],c=p.build[a];if(e("build compare",a,o,c),o===void 0&&c===void 0)return 0;if(c===void 0)return 1;if(o===void 0)return-1;if(o===c)continue;return s(o,c)}while(++a)}inc(p,a,o){if(p.startsWith("pre")){if(!a&&o===!1)throw new Error("invalid increment argument: identifier is empty");if(a){const c=`-${a}`.match(this.options.loose?n[r.PRERELEASELOOSE]:n[r.PRERELEASE]);if(!c||c[1]!==a)throw new Error(`invalid identifier: ${a}`)}}switch(p){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",a,o);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",a,o);break;case"prepatch":this.prerelease.length=0,this.inc("patch",a,o),this.inc("pre",a,o);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",a,o),this.inc("pre",a,o);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 c=Number(o)?1:0;if(this.prerelease.length===0)this.prerelease=[c];else{let f=this.prerelease.length;for(;--f>=0;)typeof this.prerelease[f]=="number"&&(this.prerelease[f]++,f=-2);if(f===-1){if(a===this.prerelease.join(".")&&o===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(c)}}if(a){let f=[a,c];o===!1&&(f=[a]),s(this.prerelease[0],a)===0?isNaN(this.prerelease[1])&&(this.prerelease=f):this.prerelease=f}break}default:throw new Error(`invalid increment argument: ${p}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return rr=u,rr}var sr,Ju;function zt(){if(Ju)return sr;Ju=1;const e=Oe();return sr=(i,n,r=!1)=>{if(i instanceof e)return i;try{return new e(i,n)}catch(l){if(!r)return null;throw l}},sr}var or,Xu;function dx(){if(Xu)return or;Xu=1;const e=zt();return or=(i,n)=>{const r=e(i,n);return r?r.version:null},or}var cr,Qu;function fx(){if(Qu)return cr;Qu=1;const e=zt();return cr=(i,n)=>{const r=e(i.trim().replace(/^[=v]+/,""),n);return r?r.version:null},cr}var lr,Zu;function mx(){if(Zu)return lr;Zu=1;const e=Oe();return lr=(i,n,r,l,s)=>{typeof r=="string"&&(s=l,l=r,r=void 0);try{return new e(i instanceof e?i.version:i,r).inc(n,l,s).version}catch{return null}},lr}var ur,ep;function hx(){if(ep)return ur;ep=1;const e=zt();return ur=(i,n)=>{const r=e(i,null,!0),l=e(n,null,!0),s=r.compare(l);if(s===0)return null;const u=s>0,d=u?r:l,p=u?l:r,a=!!d.prerelease.length;if(!!p.prerelease.length&&!a){if(!p.patch&&!p.minor)return"major";if(p.compareMain(d)===0)return p.minor&&!p.patch?"minor":"patch"}const c=a?"pre":"";return r.major!==l.major?c+"major":r.minor!==l.minor?c+"minor":r.patch!==l.patch?c+"patch":"prerelease"},ur}var pr,tp;function vx(){if(tp)return pr;tp=1;const e=Oe();return pr=(i,n)=>new e(i,n).major,pr}var dr,np;function gx(){if(np)return dr;np=1;const e=Oe();return dr=(i,n)=>new e(i,n).minor,dr}var fr,ip;function yx(){if(ip)return fr;ip=1;const e=Oe();return fr=(i,n)=>new e(i,n).patch,fr}var mr,ap;function bx(){if(ap)return mr;ap=1;const e=zt();return mr=(i,n)=>{const r=e(i,n);return r&&r.prerelease.length?r.prerelease:null},mr}var hr,rp;function ze(){if(rp)return hr;rp=1;const e=Oe();return hr=(i,n,r)=>new e(i,r).compare(new e(n,r)),hr}var vr,sp;function xx(){if(sp)return vr;sp=1;const e=ze();return vr=(i,n,r)=>e(n,i,r),vr}var gr,op;function wx(){if(op)return gr;op=1;const e=ze();return gr=(i,n)=>e(i,n,!0),gr}var yr,cp;function _c(){if(cp)return yr;cp=1;const e=Oe();return yr=(i,n,r)=>{const l=new e(i,r),s=new e(n,r);return l.compare(s)||l.compareBuild(s)},yr}var br,lp;function Sx(){if(lp)return br;lp=1;const e=_c();return br=(i,n)=>i.sort((r,l)=>e(r,l,n)),br}var xr,up;function _x(){if(up)return xr;up=1;const e=_c();return xr=(i,n)=>i.sort((r,l)=>e(l,r,n)),xr}var wr,pp;function ga(){if(pp)return wr;pp=1;const e=ze();return wr=(i,n,r)=>e(i,n,r)>0,wr}var Sr,dp;function Ec(){if(dp)return Sr;dp=1;const e=ze();return Sr=(i,n,r)=>e(i,n,r)<0,Sr}var _r,fp;function Sh(){if(fp)return _r;fp=1;const e=ze();return _r=(i,n,r)=>e(i,n,r)===0,_r}var Er,mp;function _h(){if(mp)return Er;mp=1;const e=ze();return Er=(i,n,r)=>e(i,n,r)!==0,Er}var $r,hp;function $c(){if(hp)return $r;hp=1;const e=ze();return $r=(i,n,r)=>e(i,n,r)>=0,$r}var kr,vp;function kc(){if(vp)return kr;vp=1;const e=ze();return kr=(i,n,r)=>e(i,n,r)<=0,kr}var Rr,gp;function Eh(){if(gp)return Rr;gp=1;const e=Sh(),t=_h(),i=ga(),n=$c(),r=Ec(),l=kc();return Rr=(u,d,p,a)=>{switch(d){case"===":return typeof u=="object"&&(u=u.version),typeof p=="object"&&(p=p.version),u===p;case"!==":return typeof u=="object"&&(u=u.version),typeof p=="object"&&(p=p.version),u!==p;case"":case"=":case"==":return e(u,p,a);case"!=":return t(u,p,a);case">":return i(u,p,a);case">=":return n(u,p,a);case"<":return r(u,p,a);case"<=":return l(u,p,a);default:throw new TypeError(`Invalid operator: ${d}`)}},Rr}var Ar,yp;function Ex(){if(yp)return Ar;yp=1;const e=Oe(),t=zt(),{safeRe:i,t:n}=gn();return Ar=(l,s)=>{if(l instanceof e)return l;if(typeof l=="number"&&(l=String(l)),typeof l!="string")return null;s=s||{};let u=null;if(!s.rtl)u=l.match(s.includePrerelease?i[n.COERCEFULL]:i[n.COERCE]);else{const f=s.includePrerelease?i[n.COERCERTLFULL]:i[n.COERCERTL];let m;for(;(m=f.exec(l))&&(!u||u.index+u[0].length!==l.length);)(!u||m.index+m[0].length!==u.index+u[0].length)&&(u=m),f.lastIndex=m.index+m[1].length+m[2].length;f.lastIndex=-1}if(u===null)return null;const d=u[2],p=u[3]||"0",a=u[4]||"0",o=s.includePrerelease&&u[5]?`-${u[5]}`:"",c=s.includePrerelease&&u[6]?`+${u[6]}`:"";return t(`${d}.${p}.${a}${o}${c}`,s)},Ar}var Tr,bp;function $x(){if(bp)return Tr;bp=1;class e{constructor(){this.max=1e3,this.map=new Map}get(i){const n=this.map.get(i);if(n!==void 0)return this.map.delete(i),this.map.set(i,n),n}delete(i){return this.map.delete(i)}set(i,n){if(!this.delete(i)&&n!==void 0){if(this.map.size>=this.max){const l=this.map.keys().next().value;this.delete(l)}this.map.set(i,n)}return this}}return Tr=e,Tr}var Or,xp;function Be(){if(xp)return Or;xp=1;const e=/\s+/g;class t{constructor(V,A){if(A=r(A),V instanceof t)return V.loose===!!A.loose&&V.includePrerelease===!!A.includePrerelease?V:new t(V.raw,A);if(V instanceof l)return this.raw=V.value,this.set=[[V]],this.formatted=void 0,this;if(this.options=A,this.loose=!!A.loose,this.includePrerelease=!!A.includePrerelease,this.raw=V.trim().replace(e," "),this.set=this.raw.split("||").map(N=>this.parseRange(N.trim())).filter(N=>N.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const N=this.set[0];if(this.set=this.set.filter(I=>!v(I[0])),this.set.length===0)this.set=[N];else if(this.set.length>1){for(const I of this.set)if(I.length===1&&h(I[0])){this.set=[I];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let V=0;V<this.set.length;V++){V>0&&(this.formatted+="||");const A=this.set[V];for(let N=0;N<A.length;N++)N>0&&(this.formatted+=" "),this.formatted+=A[N].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(V){const N=((this.options.includePrerelease&&f)|(this.options.loose&&m))+":"+V,I=n.get(N);if(I)return I;const z=this.options.loose,O=z?d[p.HYPHENRANGELOOSE]:d[p.HYPHENRANGE];V=V.replace(O,B(this.options.includePrerelease)),s("hyphen replace",V),V=V.replace(d[p.COMPARATORTRIM],a),s("comparator trim",V),V=V.replace(d[p.TILDETRIM],o),s("tilde trim",V),V=V.replace(d[p.CARETTRIM],c),s("caret trim",V);let k=V.split(" ").map(R=>y(R,this.options)).join(" ").split(/\s+/).map(R=>L(R,this.options));z&&(k=k.filter(R=>(s("loose invalid filter",R,this.options),!!R.match(d[p.COMPARATORLOOSE])))),s("range list",k);const j=new Map,P=k.map(R=>new l(R,this.options));for(const R of P){if(v(R))return[R];j.set(R.value,R)}j.size>1&&j.has("")&&j.delete("");const E=[...j.values()];return n.set(N,E),E}intersects(V,A){if(!(V instanceof t))throw new TypeError("a Range is required");return this.set.some(N=>g(N,A)&&V.set.some(I=>g(I,A)&&N.every(z=>I.every(O=>z.intersects(O,A)))))}test(V){if(!V)return!1;if(typeof V=="string")try{V=new u(V,this.options)}catch{return!1}for(let A=0;A<this.set.length;A++)if(G(this.set[A],V,this.options))return!0;return!1}}Or=t;const i=$x(),n=new i,r=Sc(),l=ya(),s=va(),u=Oe(),{safeRe:d,t:p,comparatorTrimReplace:a,tildeTrimReplace:o,caretTrimReplace:c}=gn(),{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:m}=ha(),v=D=>D.value==="<0.0.0-0",h=D=>D.value==="",g=(D,V)=>{let A=!0;const N=D.slice();let I=N.pop();for(;A&&N.length;)A=N.every(z=>I.intersects(z,V)),I=N.pop();return A},y=(D,V)=>(D=D.replace(d[p.BUILD],""),s("comp",D,V),D=S(D,V),s("caret",D),D=w(D,V),s("tildes",D),D=$(D,V),s("xrange",D),D=U(D,V),s("stars",D),D),b=D=>!D||D.toLowerCase()==="x"||D==="*",w=(D,V)=>D.trim().split(/\s+/).map(A=>x(A,V)).join(" "),x=(D,V)=>{const A=V.loose?d[p.TILDELOOSE]:d[p.TILDE];return D.replace(A,(N,I,z,O,k)=>{s("tilde",D,N,I,z,O,k);let j;return b(I)?j="":b(z)?j=`>=${I}.0.0 <${+I+1}.0.0-0`:b(O)?j=`>=${I}.${z}.0 <${I}.${+z+1}.0-0`:k?(s("replaceTilde pr",k),j=`>=${I}.${z}.${O}-${k} <${I}.${+z+1}.0-0`):j=`>=${I}.${z}.${O} <${I}.${+z+1}.0-0`,s("tilde return",j),j})},S=(D,V)=>D.trim().split(/\s+/).map(A=>_(A,V)).join(" "),_=(D,V)=>{s("caret",D,V);const A=V.loose?d[p.CARETLOOSE]:d[p.CARET],N=V.includePrerelease?"-0":"";return D.replace(A,(I,z,O,k,j)=>{s("caret",D,I,z,O,k,j);let P;return b(z)?P="":b(O)?P=`>=${z}.0.0${N} <${+z+1}.0.0-0`:b(k)?z==="0"?P=`>=${z}.${O}.0${N} <${z}.${+O+1}.0-0`:P=`>=${z}.${O}.0${N} <${+z+1}.0.0-0`:j?(s("replaceCaret pr",j),z==="0"?O==="0"?P=`>=${z}.${O}.${k}-${j} <${z}.${O}.${+k+1}-0`:P=`>=${z}.${O}.${k}-${j} <${z}.${+O+1}.0-0`:P=`>=${z}.${O}.${k}-${j} <${+z+1}.0.0-0`):(s("no pr"),z==="0"?O==="0"?P=`>=${z}.${O}.${k}${N} <${z}.${O}.${+k+1}-0`:P=`>=${z}.${O}.${k}${N} <${z}.${+O+1}.0-0`:P=`>=${z}.${O}.${k} <${+z+1}.0.0-0`),s("caret return",P),P})},$=(D,V)=>(s("replaceXRanges",D,V),D.split(/\s+/).map(A=>T(A,V)).join(" ")),T=(D,V)=>{D=D.trim();const A=V.loose?d[p.XRANGELOOSE]:d[p.XRANGE];return D.replace(A,(N,I,z,O,k,j)=>{s("xRange",D,N,I,z,O,k,j);const P=b(z),E=P||b(O),R=E||b(k),F=R;return I==="="&&F&&(I=""),j=V.includePrerelease?"-0":"",P?I===">"||I==="<"?N="<0.0.0-0":N="*":I&&F?(E&&(O=0),k=0,I===">"?(I=">=",E?(z=+z+1,O=0,k=0):(O=+O+1,k=0)):I==="<="&&(I="<",E?z=+z+1:O=+O+1),I==="<"&&(j="-0"),N=`${I+z}.${O}.${k}${j}`):E?N=`>=${z}.0.0${j} <${+z+1}.0.0-0`:R&&(N=`>=${z}.${O}.0${j} <${z}.${+O+1}.0-0`),s("xRange return",N),N})},U=(D,V)=>(s("replaceStars",D,V),D.trim().replace(d[p.STAR],"")),L=(D,V)=>(s("replaceGTE0",D,V),D.trim().replace(d[V.includePrerelease?p.GTE0PRE:p.GTE0],"")),B=D=>(V,A,N,I,z,O,k,j,P,E,R,F)=>(b(N)?A="":b(I)?A=`>=${N}.0.0${D?"-0":""}`:b(z)?A=`>=${N}.${I}.0${D?"-0":""}`:O?A=`>=${A}`:A=`>=${A}${D?"-0":""}`,b(P)?j="":b(E)?j=`<${+P+1}.0.0-0`:b(R)?j=`<${P}.${+E+1}.0-0`:F?j=`<=${P}.${E}.${R}-${F}`:D?j=`<${P}.${E}.${+R+1}-0`:j=`<=${j}`,`${A} ${j}`.trim()),G=(D,V,A)=>{for(let N=0;N<D.length;N++)if(!D[N].test(V))return!1;if(V.prerelease.length&&!A.includePrerelease){for(let N=0;N<D.length;N++)if(s(D[N].semver),D[N].semver!==l.ANY&&D[N].semver.prerelease.length>0){const I=D[N].semver;if(I.major===V.major&&I.minor===V.minor&&I.patch===V.patch)return!0}return!1}return!0};return Or}var Pr,wp;function ya(){if(wp)return Pr;wp=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(a,o){if(o=i(o),a instanceof t){if(a.loose===!!o.loose)return a;a=a.value}a=a.trim().split(/\s+/).join(" "),s("comparator",a,o),this.options=o,this.loose=!!o.loose,this.parse(a),this.semver===e?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(a){const o=this.options.loose?n[r.COMPARATORLOOSE]:n[r.COMPARATOR],c=a.match(o);if(!c)throw new TypeError(`Invalid comparator: ${a}`);this.operator=c[1]!==void 0?c[1]:"",this.operator==="="&&(this.operator=""),c[2]?this.semver=new u(c[2],this.options.loose):this.semver=e}toString(){return this.value}test(a){if(s("Comparator.test",a,this.options.loose),this.semver===e||a===e)return!0;if(typeof a=="string")try{a=new u(a,this.options)}catch{return!1}return l(a,this.operator,this.semver,this.options)}intersects(a,o){if(!(a instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new d(a.value,o).test(this.value):a.operator===""?a.value===""?!0:new d(this.value,o).test(a.semver):(o=i(o),o.includePrerelease&&(this.value==="<0.0.0-0"||a.value==="<0.0.0-0")||!o.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("=")||l(this.semver,"<",a.semver,o)&&this.operator.startsWith(">")&&a.operator.startsWith("<")||l(this.semver,">",a.semver,o)&&this.operator.startsWith("<")&&a.operator.startsWith(">")))}}Pr=t;const i=Sc(),{safeRe:n,t:r}=gn(),l=Eh(),s=va(),u=Oe(),d=Be();return Pr}var Nr,Sp;function ba(){if(Sp)return Nr;Sp=1;const e=Be();return Nr=(i,n,r)=>{try{n=new e(n,r)}catch{return!1}return n.test(i)},Nr}var jr,_p;function kx(){if(_p)return jr;_p=1;const e=Be();return jr=(i,n)=>new e(i,n).set.map(r=>r.map(l=>l.value).join(" ").trim().split(" ")),jr}var Cr,Ep;function Rx(){if(Ep)return Cr;Ep=1;const e=Oe(),t=Be();return Cr=(n,r,l)=>{let s=null,u=null,d=null;try{d=new t(r,l)}catch{return null}return n.forEach(p=>{d.test(p)&&(!s||u.compare(p)===-1)&&(s=p,u=new e(s,l))}),s},Cr}var Ir,$p;function Ax(){if($p)return Ir;$p=1;const e=Oe(),t=Be();return Ir=(n,r,l)=>{let s=null,u=null,d=null;try{d=new t(r,l)}catch{return null}return n.forEach(p=>{d.test(p)&&(!s||u.compare(p)===1)&&(s=p,u=new e(s,l))}),s},Ir}var qr,kp;function Tx(){if(kp)return qr;kp=1;const e=Oe(),t=Be(),i=ga();return qr=(r,l)=>{r=new t(r,l);let s=new e("0.0.0");if(r.test(s)||(s=new e("0.0.0-0"),r.test(s)))return s;s=null;for(let u=0;u<r.set.length;++u){const d=r.set[u];let p=null;d.forEach(a=>{const o=new e(a.semver.version);switch(a.operator){case">":o.prerelease.length===0?o.patch++:o.prerelease.push(0),o.raw=o.format();case"":case">=":(!p||i(o,p))&&(p=o);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),p&&(!s||i(s,p))&&(s=p)}return s&&r.test(s)?s:null},qr}var Lr,Rp;function Ox(){if(Rp)return Lr;Rp=1;const e=Be();return Lr=(i,n)=>{try{return new e(i,n).range||"*"}catch{return null}},Lr}var Dr,Ap;function Rc(){if(Ap)return Dr;Ap=1;const e=Oe(),t=ya(),{ANY:i}=t,n=Be(),r=ba(),l=ga(),s=Ec(),u=kc(),d=$c();return Dr=(a,o,c,f)=>{a=new e(a,f),o=new n(o,f);let m,v,h,g,y;switch(c){case">":m=l,v=u,h=s,g=">",y=">=";break;case"<":m=s,v=d,h=l,g="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(r(a,o,f))return!1;for(let b=0;b<o.set.length;++b){const w=o.set[b];let x=null,S=null;if(w.forEach(_=>{_.semver===i&&(_=new t(">=0.0.0")),x=x||_,S=S||_,m(_.semver,x.semver,f)?x=_:h(_.semver,S.semver,f)&&(S=_)}),x.operator===g||x.operator===y||(!S.operator||S.operator===g)&&v(a,S.semver))return!1;if(S.operator===y&&h(a,S.semver))return!1}return!0},Dr}var Mr,Tp;function Px(){if(Tp)return Mr;Tp=1;const e=Rc();return Mr=(i,n,r)=>e(i,n,">",r),Mr}var Fr,Op;function Nx(){if(Op)return Fr;Op=1;const e=Rc();return Fr=(i,n,r)=>e(i,n,"<",r),Fr}var Ur,Pp;function jx(){if(Pp)return Ur;Pp=1;const e=Be();return Ur=(i,n,r)=>(i=new e(i,r),n=new e(n,r),i.intersects(n,r)),Ur}var zr,Np;function Cx(){if(Np)return zr;Np=1;const e=ba(),t=ze();return zr=(i,n,r)=>{const l=[];let s=null,u=null;const d=i.sort((c,f)=>t(c,f,r));for(const c of d)e(c,n,r)?(u=c,s||(s=c)):(u&&l.push([s,u]),u=null,s=null);s&&l.push([s,null]);const p=[];for(const[c,f]of l)c===f?p.push(c):!f&&c===d[0]?p.push("*"):f?c===d[0]?p.push(`<=${f}`):p.push(`${c} - ${f}`):p.push(`>=${c}`);const a=p.join(" || "),o=typeof n.raw=="string"?n.raw:String(n);return a.length<o.length?a:n},zr}var Br,jp;function Ix(){if(jp)return Br;jp=1;const e=Be(),t=ya(),{ANY:i}=t,n=ba(),r=ze(),l=(o,c,f={})=>{if(o===c)return!0;o=new e(o,f),c=new e(c,f);let m=!1;e:for(const v of o.set){for(const h of c.set){const g=d(v,h,f);if(m=m||g!==null,g)continue e}if(m)return!1}return!0},s=[new t(">=0.0.0-0")],u=[new t(">=0.0.0")],d=(o,c,f)=>{if(o===c)return!0;if(o.length===1&&o[0].semver===i){if(c.length===1&&c[0].semver===i)return!0;f.includePrerelease?o=s:o=u}if(c.length===1&&c[0].semver===i){if(f.includePrerelease)return!0;c=u}const m=new Set;let v,h;for(const $ of o)$.operator===">"||$.operator===">="?v=p(v,$,f):$.operator==="<"||$.operator==="<="?h=a(h,$,f):m.add($.semver);if(m.size>1)return null;let g;if(v&&h){if(g=r(v.semver,h.semver,f),g>0)return null;if(g===0&&(v.operator!==">="||h.operator!=="<="))return null}for(const $ of m){if(v&&!n($,String(v),f)||h&&!n($,String(h),f))return null;for(const T of c)if(!n($,String(T),f))return!1;return!0}let y,b,w,x,S=h&&!f.includePrerelease&&h.semver.prerelease.length?h.semver:!1,_=v&&!f.includePrerelease&&v.semver.prerelease.length?v.semver:!1;S&&S.prerelease.length===1&&h.operator==="<"&&S.prerelease[0]===0&&(S=!1);for(const $ of c){if(x=x||$.operator===">"||$.operator===">=",w=w||$.operator==="<"||$.operator==="<=",v){if(_&&$.semver.prerelease&&$.semver.prerelease.length&&$.semver.major===_.major&&$.semver.minor===_.minor&&$.semver.patch===_.patch&&(_=!1),$.operator===">"||$.operator===">="){if(y=p(v,$,f),y===$&&y!==v)return!1}else if(v.operator===">="&&!n(v.semver,String($),f))return!1}if(h){if(S&&$.semver.prerelease&&$.semver.prerelease.length&&$.semver.major===S.major&&$.semver.minor===S.minor&&$.semver.patch===S.patch&&(S=!1),$.operator==="<"||$.operator==="<="){if(b=a(h,$,f),b===$&&b!==h)return!1}else if(h.operator==="<="&&!n(h.semver,String($),f))return!1}if(!$.operator&&(h||v)&&g!==0)return!1}return!(v&&w&&!h&&g!==0||h&&x&&!v&&g!==0||_||S)},p=(o,c,f)=>{if(!o)return c;const m=r(o.semver,c.semver,f);return m>0?o:m<0||c.operator===">"&&o.operator===">="?c:o},a=(o,c,f)=>{if(!o)return c;const m=r(o.semver,c.semver,f);return m<0?o:m>0||c.operator==="<"&&o.operator==="<="?c:o};return Br=l,Br}var Vr,Cp;function qx(){if(Cp)return Vr;Cp=1;const e=gn(),t=ha(),i=Oe(),n=wh(),r=zt(),l=dx(),s=fx(),u=mx(),d=hx(),p=vx(),a=gx(),o=yx(),c=bx(),f=ze(),m=xx(),v=wx(),h=_c(),g=Sx(),y=_x(),b=ga(),w=Ec(),x=Sh(),S=_h(),_=$c(),$=kc(),T=Eh(),U=Ex(),L=ya(),B=Be(),G=ba(),D=kx(),V=Rx(),A=Ax(),N=Tx(),I=Ox(),z=Rc(),O=Px(),k=Nx(),j=jx(),P=Cx(),E=Ix();return Vr={parse:r,valid:l,clean:s,inc:u,diff:d,major:p,minor:a,patch:o,prerelease:c,compare:f,rcompare:m,compareLoose:v,compareBuild:h,sort:g,rsort:y,gt:b,lt:w,eq:x,neq:S,gte:_,lte:$,cmp:T,coerce:U,Comparator:L,Range:B,satisfies:G,toComparators:D,maxSatisfying:V,minSatisfying:A,minVersion:N,validRange:I,outside:z,gtr:O,ltr:k,intersects:j,simplifyRange:P,subset:E,SemVer:i,re:e.re,src:e.src,tokens:e.t,SEMVER_SPEC_VERSION:t.SEMVER_SPEC_VERSION,RELEASE_TYPES:t.RELEASE_TYPES,compareIdentifiers:n.compareIdentifiers,rcompareIdentifiers:n.rcompareIdentifiers},Vr}var Lx=qx();const Ot=mn(Lx),Dx=Object.prototype.toString,Mx="[object Uint8Array]",Fx="[object ArrayBuffer]";function $h(e,t,i){return e?e.constructor===t?!0:Dx.call(e)===i:!1}function kh(e){return $h(e,Uint8Array,Mx)}function Ux(e){return $h(e,ArrayBuffer,Fx)}function zx(e){return kh(e)||Ux(e)}function Bx(e){if(!kh(e))throw new TypeError(`Expected \`Uint8Array\`, got \`${typeof e}\``)}function Vx(e){if(!zx(e))throw new TypeError(`Expected \`Uint8Array\` or \`ArrayBuffer\`, got \`${typeof e}\``)}function Kr(e,t){if(e.length===0)return new Uint8Array(0);t??=e.reduce((r,l)=>r+l.length,0);const i=new Uint8Array(t);let n=0;for(const r of e)Bx(r),i.set(r,n),n+=r.length;return i}const Ip={utf8:new globalThis.TextDecoder("utf8")};function Ri(e,t="utf8"){return Vx(e),Ip[t]??=new globalThis.TextDecoder(t),Ip[t].decode(e)}function Kx(e){if(typeof e!="string")throw new TypeError(`Expected \`string\`, got \`${typeof e}\``)}const Gx=new globalThis.TextEncoder;function Gr(e){return Kx(e),Gx.encode(e)}Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));const qp="aes-256-cbc",Rh=new Set(["aes-256-cbc","aes-256-gcm","aes-256-ctr"]),Hx=e=>typeof e=="string"&&Rh.has(e),Xe=()=>Object.create(null),Lp=e=>e!==void 0,Hr=(e,t)=>{const i=new Set(["undefined","symbol","function"]),n=typeof t;if(i.has(n))throw new TypeError(`Setting a value of type \`${n}\` for key \`${e}\` is not allowed as it's not supported by JSON`)},it="__internal__",Wr=`${it}.migrations.version`;class Wx{path;events;#i;#a;#r;#e;#t={};#s=!1;#o;#c;#n;constructor(t={}){const i=this.#l(t);this.#e=i,this.#u(i),this.#d(i),this.#f(i),this.events=new EventTarget,this.#a=i.encryptionKey,this.#r=i.encryptionAlgorithm??qp,this.path=this.#m(i),this.#h(i),i.watch&&this._watch()}get(t,i){if(this.#e.accessPropertiesByDotNotation)return this._get(t,i);const{store:n}=this;return t in n?n[t]:i}set(t,i){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"&&i===void 0)throw new TypeError("Use `delete()` to clear values");if(this._containsReservedKey(t))throw new TypeError(`Please don't use the ${it} key, as it's used to manage this module internal operations.`);const{store:n}=this,r=(l,s)=>{if(Hr(l,s),this.#e.accessPropertiesByDotNotation)kn(n,l,s);else{if(l==="__proto__"||l==="constructor"||l==="prototype")return;n[l]=s}};if(typeof t=="object"){const l=t;for(const[s,u]of Object.entries(l))r(s,u)}else r(t,i);this.store=n}has(t){return this.#e.accessPropertiesByDotNotation?Ua(this.store,t):t in this.store}appendToArray(t,i){Hr(t,i);const n=this.#e.accessPropertiesByDotNotation?this._get(t,[]):t in this.store?this.store[t]:[];if(!Array.isArray(n))throw new TypeError(`The key \`${t}\` is already set to a non-array value`);this.set(t,[...n,i])}reset(...t){for(const i of t)Lp(this.#t[i])&&this.set(i,this.#t[i])}delete(t){const{store:i}=this;this.#e.accessPropertiesByDotNotation?lg(i,t):delete i[t],this.store=i}clear(){const t=Xe();for(const i of Object.keys(this.#t))Lp(this.#t[i])&&(Hr(i,this.#t[i]),this.#e.accessPropertiesByDotNotation?kn(t,i,this.#t[i]):t[i]=this.#t[i]);this.store=t}onDidChange(t,i){if(typeof t!="string")throw new TypeError(`Expected \`key\` to be of type \`string\`, got ${typeof t}`);if(typeof i!="function")throw new TypeError(`Expected \`callback\` to be of type \`function\`, got ${typeof i}`);return this._handleValueChange(()=>this.get(t),i)}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(i=>!this._isReservedKeyPath(i)).length}get store(){try{const t=te.readFileSync(this.path,this.#a?null:"utf8"),i=this._decryptData(t);return(r=>{const l=this._deserialize(r);return this.#s||this._validate(l),Object.assign(Xe(),l)})(i)}catch(t){if(t?.code==="ENOENT")return this._ensureDirectory(),Xe();if(this.#e.clearInvalidConfig){const i=t;if(i.name==="SyntaxError"||i.message?.startsWith("Config schema violation:")||i.message==="Failed to decrypt config data.")return Xe()}throw t}}set store(t){if(this._ensureDirectory(),!Ua(t,it))try{const i=te.readFileSync(this.path,this.#a?null:"utf8"),n=this._decryptData(i),r=this._deserialize(n);Ua(r,it)&&kn(t,it,cl(r,it))}catch{}this.#s||this._validate(t),this._write(t),this.events.dispatchEvent(new Event("change"))}*[Symbol.iterator](){for(const[t,i]of Object.entries(this.store))this._isReservedKeyPath(t)||(yield[t,i])}_closeWatcher(){this.#o&&(this.#o.close(),this.#o=void 0),this.#c&&(te.unwatchFile(this.path),this.#c=!1),this.#n=void 0}_decryptData(t){const i=this.#a;if(!i)return typeof t=="string"?t:Ri(t);const n=this.#r,r=n==="aes-256-gcm"?16:0,l=":".codePointAt(0),s=typeof t=="string"?t.codePointAt(16):t[16];if(!(l!==void 0&&s===l)){if(n==="aes-256-cbc")return typeof t=="string"?t:Ri(t);throw new Error("Failed to decrypt config data.")}const d=f=>{if(r===0)return{ciphertext:f};const m=f.length-r;if(m<0)throw new Error("Invalid authentication tag length.");return{ciphertext:f.slice(0,m),authenticationTag:f.slice(m)}},p=t.slice(0,16),a=t.slice(17),o=typeof a=="string"?Gr(a):a,c=f=>{const{ciphertext:m,authenticationTag:v}=d(o),h=Wt.pbkdf2Sync(i,f,1e4,32,"sha512"),g=Wt.createDecipheriv(n,h,p);return v&&g.setAuthTag(v),Ri(Kr([g.update(m),g.final()]))};try{return c(p)}catch{try{return c(p.toString())}catch{}}if(n==="aes-256-cbc")return typeof t=="string"?t:Ri(t);throw new Error("Failed to decrypt config data.")}_handleStoreChange(t){let i=this.store;const n=()=>{const r=i,l=this.store;be.isDeepStrictEqual(l,r)||(i=l,t.call(this,l,r))};return this.events.addEventListener("change",n),()=>{this.events.removeEventListener("change",n)}}_handleValueChange(t,i){let n=t();const r=()=>{const l=n,s=t();be.isDeepStrictEqual(s,l)||(n=s,i.call(this,s,l))};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 n=this.#i.errors.map(({instancePath:r,message:l=""})=>`\`${r.slice(1)}\` ${l}`);throw new Error("Config schema violation: "+n.join("; "))}_ensureDirectory(){te.mkdirSync(Z.dirname(this.path),{recursive:!0})}_write(t){let i=this._serialize(t);const n=this.#a;if(n){const r=Wt.randomBytes(16),l=Wt.pbkdf2Sync(n,r,1e4,32,"sha512"),s=Wt.createCipheriv(this.#r,l,r),u=Kr([s.update(Gr(i)),s.final()]),d=[r,Gr(":"),u];this.#r==="aes-256-gcm"&&d.push(s.getAuthTag()),i=Kr(d)}if(pe.env.SNAP)te.writeFileSync(this.path,i,{mode:this.#e.configFileMode});else try{ah(this.path,i,{mode:this.#e.configFileMode})}catch(r){if(r?.code==="EXDEV"){te.writeFileSync(this.path,i,{mode:this.#e.configFileMode});return}throw r}}_watch(){if(this._ensureDirectory(),te.existsSync(this.path)||this._write(Xe()),pe.platform==="win32"||pe.platform==="darwin"){this.#n??=Bu(()=>{this.events.dispatchEvent(new Event("change"))},{wait:100});const t=Z.dirname(this.path),i=Z.basename(this.path);this.#o=te.watch(t,{persistent:!1,encoding:"utf8"},(n,r)=>{r&&r!==i||typeof this.#n=="function"&&this.#n()})}else this.#n??=Bu(()=>{this.events.dispatchEvent(new Event("change"))},{wait:1e3}),te.watchFile(this.path,{persistent:!1},(t,i)=>{typeof this.#n=="function"&&this.#n()}),this.#c=!0}_migrate(t,i,n){let r=this._get(Wr,"0.0.0");const l=Object.keys(t).filter(u=>this._shouldPerformMigration(u,r,i));let s=structuredClone(this.store);for(const u of l)try{n&&n(this,{fromVersion:r,toVersion:u,finalVersion:i,versions:l});const d=t[u];d?.(this),this._set(Wr,u),r=u,s=structuredClone(this.store)}catch(d){this.store=s;const p=d instanceof Error?d.message:String(d);throw new Error(`Something went wrong during the migration! Changes applied to the store until this failed migration will be restored. ${p}`)}(this._isVersionInRangeFormat(r)||!Ot.eq(r,i))&&this._set(Wr,i)}_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[i,n]of Object.entries(t))if(this._isReservedKeyPath(i)||this._objectContainsReservedKey(n))return!0;return!1}_isReservedKeyPath(t){return t===it||t.startsWith(`${it}.`)}_isVersionInRangeFormat(t){return Ot.clean(t)===null}_shouldPerformMigration(t,i,n){return this._isVersionInRangeFormat(t)?i!=="0.0.0"&&Ot.satisfies(i,t)?!1:Ot.satisfies(n,t):!(Ot.lte(t,i)||Ot.gt(t,n))}_get(t,i){return cl(this.store,t,i)}_set(t,i){const{store:n}=this;kn(n,t,i),this.store=n}#l(t){const i={configName:"config",fileExtension:"json",projectSuffix:"nodejs",clearInvalidConfig:!1,accessPropertiesByDotNotation:!0,configFileMode:438,...t};if(i.encryptionAlgorithm??=qp,!Hx(i.encryptionAlgorithm))throw new TypeError(`The \`encryptionAlgorithm\` option must be one of: ${[...Rh].join(", ")}`);if(!i.cwd){if(!i.projectName)throw new Error("Please specify the `projectName` option.");i.cwd=fg(i.projectName,{suffix:i.projectSuffix}).config}return typeof i.fileExtension=="string"&&(i.fileExtension=i.fileExtension.replace(/^\.+/,"")),i}#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 i=ix.default,n=new Bb.Ajv2020({allErrors:!0,useDefaults:!0,...t.ajvOptions});i(n);const r={...t.rootSchema,type:"object",properties:t.schema};this.#i=n.compile(r),this.#p(t.schema)}#p(t){const i=Object.entries(t??{});for(const[n,r]of i){if(!r||typeof r!="object"||!Object.hasOwn(r,"default"))continue;const{default:l}=r;l!==void 0&&(this.#t[n]=l)}}#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 i=typeof t.fileExtension=="string"?t.fileExtension:void 0,n=i?`.${i}`:"";return Z.resolve(t.cwd,`${t.configName??"config"}${n}`)}#h(t){if(t.migrations){this.#v(t),this._validate(this.store);return}const i=this.store,n=Object.assign(Xe(),t.defaults??{},i);this._validate(n);try{ol.deepEqual(i,n)}catch{this.store=n}}#v(t){const{migrations:i,projectVersion:n}=t;if(i){if(!n)throw new Error("Please specify the `projectVersion` option.");this.#s=!0;try{const r=this.store,l=Object.assign(Xe(),t.defaults??{},r);try{ol.deepEqual(r,l)}catch{this._write(l)}this._migrate(i,n,t.beforeEachMigration)}finally{this.#s=!1}}}}const{app:Gi,ipcMain:Zo,shell:Yx}=Q;let Dp=!1;const Mp=()=>{if(!Zo||!Gi)throw new Error("Electron Store: You need to call `.initRenderer()` from the main process.");const e={defaultCwd:Gi.getPath("userData"),appVersion:Gi.getVersion()};return Dp||(Zo.on("electron-store-get-data",t=>{t.returnValue=e}),Dp=!0),e};class xa extends Wx{constructor(t){let i,n;if(pe.type==="renderer"){const r=Q.ipcRenderer.sendSync("electron-store-get-data");if(!r)throw new Error("Electron Store: You need to call `.initRenderer()` from the main process.");({defaultCwd:i,appVersion:n}=r)}else Zo&&Gi&&({defaultCwd:i,appVersion:n}=Mp());t={name:"config",...t},t.projectVersion||=n,t.cwd?t.cwd=Z.isAbsolute(t.cwd)?t.cwd:Z.join(i,t.cwd):t.cwd=i,t.configName=t.name,delete t.name,super(t)}static initRenderer(){Mp()}async openInEditor(){const t=await Yx.openPath(this.path);if(t)throw new Error(t)}}const Jx="configuration",Ah="_raw",Xx={_raw:{type:"string"},configuration:{type:"object"}},ta=new xa({name:"settings",serialize:e=>e._raw,deserialize:e=>({_raw:e,...JSON.parse(e)}),schema:Xx});function Th(e){ta.set(Ah,e)}function Qx(){return ta.size<2&&Th(JSON.stringify(sg,null,2)),ta.get(Ah)}function Zx(){return ta.get(Jx)}function ew(e){Th(e)}function tw(){return Qx()}function nw(){Q.ipcMain.handle("settings:save",async(e,{settings:t})=>{ew(t)}),Q.ipcMain.handle("settings:load",async()=>tw())}const ec=new Map([]);ec.set("http://localhost:15680",new Set);const iw=new Set(["https://github.com"]);Q.app.on("web-contents-created",(e,t)=>{t.on("will-navigate",(i,n)=>{const r=Zx(),{origin:l}=new Yt.URL(n);Object.values(r).some(u=>{const d=u.baseURL;return d?new Yt.URL(d).origin==l:!1})||i.preventDefault()}),t.session.setPermissionRequestHandler((i,n,r)=>{const{origin:l}=new Yt.URL(i.getURL()),s=!!ec.get(l)?.has(n);r(s)}),t.setWindowOpenHandler(({url:i})=>{const{origin:n}=new Yt.URL(i);return iw.has(n)&&Q.shell.openExternal(i).catch(console.error),{action:"deny"}}),t.on("will-attach-webview",(i,n,r)=>{const{origin:l}=new Yt.URL(r.src);if(!ec.has(l)){i.preventDefault();return}delete n.preload,delete n.preloadURL,n.nodeIntegration=!1,n.contextIsolation=!0})});const Oh={};function aw(e){Oh.storageRoot=e}function rw(){return Oh.storageRoot}function sw(e){e.loadFile(Z.resolve(Q.app.getAppPath(),"./renderer/dist/index.html"))}function ow(e){aw(e)}function cw(e){Q.ipcMain.handle("reloadBrowser",()=>sw(e)),Q.ipcMain.handle("setStorageRoot",(t,{storageRoot:i})=>ow(i))}const Ac="tokenType",Tc="accessToken",lw={tokenType:{type:"string"},accessToken:{type:"string"}},Bt=new xa({name:"authentication-github-main",schema:lw});function uw(e){Bt.set(Ac,e)}function pw(e){Bt.set(Tc,e)}function tc(){return Bt.get(Ac)}function nc(){return Bt.get(Tc)}function dw(){Bt.delete(Ac)}function fw(){Bt.delete(Tc)}function Ph(e,t){return function(){return e.apply(t,arguments)}}const{toString:mw}=Object.prototype,{getPrototypeOf:Oc}=Object,{iterator:wa,toStringTag:Nh}=Symbol,Sa=(e=>t=>{const i=mw.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),Ve=e=>(e=e.toLowerCase(),t=>Sa(t)===e),_a=e=>t=>typeof t===e,{isArray:Vt}=Array,Ft=_a("undefined");function yn(e){return e!==null&&!Ft(e)&&e.constructor!==null&&!Ft(e.constructor)&&Ne(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const jh=Ve("ArrayBuffer");function hw(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&jh(e.buffer),t}const vw=_a("string"),Ne=_a("function"),Ch=_a("number"),bn=e=>e!==null&&typeof e=="object",gw=e=>e===!0||e===!1,Hi=e=>{if(Sa(e)!=="object")return!1;const t=Oc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Nh in e)&&!(wa in e)},yw=e=>{if(!bn(e)||yn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},bw=Ve("Date"),xw=Ve("File"),ww=e=>!!(e&&typeof e.uri<"u"),Sw=e=>e&&typeof e.getParts<"u",_w=Ve("Blob"),Ew=Ve("FileList"),$w=e=>bn(e)&&Ne(e.pipe);function kw(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Fp=kw(),Up=typeof Fp.FormData<"u"?Fp.FormData:void 0,Rw=e=>{let t;return e&&(Up&&e instanceof Up||Ne(e.append)&&((t=Sa(e))==="formdata"||t==="object"&&Ne(e.toString)&&e.toString()==="[object FormData]"))},Aw=Ve("URLSearchParams"),[Tw,Ow,Pw,Nw]=["ReadableStream","Request","Response","Headers"].map(Ve),jw=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function xn(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let n,r;if(typeof e!="object"&&(e=[e]),Vt(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{if(yn(e))return;const l=i?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let u;for(n=0;n<s;n++)u=l[n],t.call(null,e[u],u,e)}}function Ih(e,t){if(yn(e))return null;t=t.toLowerCase();const i=Object.keys(e);let n=i.length,r;for(;n-- >0;)if(r=i[n],t===r.toLowerCase())return r;return null}const ft=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,qh=e=>!Ft(e)&&e!==ft;function ic(){const{caseless:e,skipUndefined:t}=qh(this)&&this||{},i={},n=(r,l)=>{if(l==="__proto__"||l==="constructor"||l==="prototype")return;const s=e&&Ih(i,l)||l;Hi(i[s])&&Hi(r)?i[s]=ic(i[s],r):Hi(r)?i[s]=ic({},r):Vt(r)?i[s]=r.slice():(!t||!Ft(r))&&(i[s]=r)};for(let r=0,l=arguments.length;r<l;r++)arguments[r]&&xn(arguments[r],n);return i}const Cw=(e,t,i,{allOwnKeys:n}={})=>(xn(t,(r,l)=>{i&&Ne(r)?Object.defineProperty(e,l,{value:Ph(r,i),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,l,{value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),Iw=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),qw=(e,t,i,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},Lw=(e,t,i,n)=>{let r,l,s;const u={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),l=r.length;l-- >0;)s=r[l],(!n||n(s,e,t))&&!u[s]&&(t[s]=e[s],u[s]=!0);e=i!==!1&&Oc(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},Dw=(e,t,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=t.length;const n=e.indexOf(t,i);return n!==-1&&n===i},Mw=e=>{if(!e)return null;if(Vt(e))return e;let t=e.length;if(!Ch(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},Fw=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Oc(Uint8Array)),Uw=(e,t)=>{const n=(e&&e[wa]).call(e);let r;for(;(r=n.next())&&!r.done;){const l=r.value;t.call(e,l[0],l[1])}},zw=(e,t)=>{let i;const n=[];for(;(i=e.exec(t))!==null;)n.push(i);return n},Bw=Ve("HTMLFormElement"),Vw=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,n,r){return n.toUpperCase()+r}),zp=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),Kw=Ve("RegExp"),Lh=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),n={};xn(i,(r,l)=>{let s;(s=t(r,l,e))!==!1&&(n[l]=s||r)}),Object.defineProperties(e,n)},Gw=e=>{Lh(e,(t,i)=>{if(Ne(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const n=e[i];if(Ne(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},Hw=(e,t)=>{const i={},n=r=>{r.forEach(l=>{i[l]=!0})};return Vt(e)?n(e):n(String(e).split(t)),i},Ww=()=>{},Yw=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Jw(e){return!!(e&&Ne(e.append)&&e[Nh]==="FormData"&&e[wa])}const Xw=e=>{const t=new Array(10),i=(n,r)=>{if(bn(n)){if(t.indexOf(n)>=0)return;if(yn(n))return n;if(!("toJSON"in n)){t[r]=n;const l=Vt(n)?[]:{};return xn(n,(s,u)=>{const d=i(s,r+1);!Ft(d)&&(l[u]=d)}),t[r]=void 0,l}}return n};return i(e,0)},Qw=Ve("AsyncFunction"),Zw=e=>e&&(bn(e)||Ne(e))&&Ne(e.then)&&Ne(e.catch),Dh=((e,t)=>e?setImmediate:t?((i,n)=>(ft.addEventListener("message",({source:r,data:l})=>{r===ft&&l===i&&n.length&&n.shift()()},!1),r=>{n.push(r),ft.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Ne(ft.postMessage)),e0=typeof queueMicrotask<"u"?queueMicrotask.bind(ft):typeof process<"u"&&process.nextTick||Dh,t0=e=>e!=null&&Ne(e[wa]),q={isArray:Vt,isArrayBuffer:jh,isBuffer:yn,isFormData:Rw,isArrayBufferView:hw,isString:vw,isNumber:Ch,isBoolean:gw,isObject:bn,isPlainObject:Hi,isEmptyObject:yw,isReadableStream:Tw,isRequest:Ow,isResponse:Pw,isHeaders:Nw,isUndefined:Ft,isDate:bw,isFile:xw,isReactNativeBlob:ww,isReactNative:Sw,isBlob:_w,isRegExp:Kw,isFunction:Ne,isStream:$w,isURLSearchParams:Aw,isTypedArray:Fw,isFileList:Ew,forEach:xn,merge:ic,extend:Cw,trim:jw,stripBOM:Iw,inherits:qw,toFlatObject:Lw,kindOf:Sa,kindOfTest:Ve,endsWith:Dw,toArray:Mw,forEachEntry:Uw,matchAll:zw,isHTMLForm:Bw,hasOwnProperty:zp,hasOwnProp:zp,reduceDescriptors:Lh,freezeMethods:Gw,toObjectSet:Hw,toCamelCase:Vw,noop:Ww,toFiniteNumber:Yw,findKey:Ih,global:ft,isContextDefined:qh,isSpecCompliantForm:Jw,toJSONObject:Xw,isAsyncFn:Qw,isThenable:Zw,setImmediate:Dh,asap:e0,isIterable:t0};let Y=class Mh extends Error{static from(t,i,n,r,l,s){const u=new Mh(t.message,i||t.code,n,r,l);return u.cause=t,u.name=t.name,t.status!=null&&u.status==null&&(u.status=t.status),s&&Object.assign(u,s),u}constructor(t,i,n,r,l){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,i&&(this.code=i),n&&(this.config=n),r&&(this.request=r),l&&(this.response=l,this.status=l.status)}toJSON(){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:q.toJSONObject(this.config),code:this.code,status:this.status}}};Y.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Y.ERR_BAD_OPTION="ERR_BAD_OPTION";Y.ECONNABORTED="ECONNABORTED";Y.ETIMEDOUT="ETIMEDOUT";Y.ERR_NETWORK="ERR_NETWORK";Y.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Y.ERR_DEPRECATED="ERR_DEPRECATED";Y.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Y.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Y.ERR_CANCELED="ERR_CANCELED";Y.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Y.ERR_INVALID_URL="ERR_INVALID_URL";var Yr,Bp;function n0(){if(Bp)return Yr;Bp=1;var e=Te.Stream,t=xt;Yr=i;function i(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}return t.inherits(i,e),i.create=function(n,r){var l=new this;r=r||{};for(var s in r)l[s]=r[s];l.source=n;var u=n.emit;return n.emit=function(){return l._handleEmit(arguments),u.apply(n,arguments)},n.on("error",function(){}),l.pauseStream&&n.pause(),l},Object.defineProperty(i.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),i.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},i.prototype.resume=function(){this._released||this.release(),this.source.resume()},i.prototype.pause=function(){this.source.pause()},i.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(n){this.emit.apply(this,n)}.bind(this)),this._bufferedEvents=[]},i.prototype.pipe=function(){var n=e.prototype.pipe.apply(this,arguments);return this.resume(),n},i.prototype._handleEmit=function(n){if(this._released){this.emit.apply(this,n);return}n[0]==="data"&&(this.dataSize+=n[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(n)},i.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var n="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(n))}},Yr}var Jr,Vp;function i0(){if(Vp)return Jr;Vp=1;var e=xt,t=Te.Stream,i=n0();Jr=n;function n(){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(n,t),n.create=function(r){var l=new this;r=r||{};for(var s in r)l[s]=r[s];return l},n.isStreamLike=function(r){return typeof r!="function"&&typeof r!="string"&&typeof r!="boolean"&&typeof r!="number"&&!Buffer.isBuffer(r)},n.prototype.append=function(r){var l=n.isStreamLike(r);if(l){if(!(r instanceof i)){var s=i.create(r,{maxDataSize:1/0,pauseStream:this.pauseStreams});r.on("data",this._checkDataSize.bind(this)),r=s}this._handleErrors(r),this.pauseStreams&&r.pause()}return this._streams.push(r),this},n.prototype.pipe=function(r,l){return t.prototype.pipe.call(this,r,l),this.resume(),r},n.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}},n.prototype._realGetNext=function(){var r=this._streams.shift();if(typeof r>"u"){this.end();return}if(typeof r!="function"){this._pipeNext(r);return}var l=r;l(function(s){var u=n.isStreamLike(s);u&&(s.on("data",this._checkDataSize.bind(this)),this._handleErrors(s)),this._pipeNext(s)}.bind(this))},n.prototype._pipeNext=function(r){this._currentStream=r;var l=n.isStreamLike(r);if(l){r.on("end",this._getNext.bind(this)),r.pipe(this,{end:!1});return}var s=r;this.write(s),this._getNext()},n.prototype._handleErrors=function(r){var l=this;r.on("error",function(s){l._emitError(s)})},n.prototype.write=function(r){this.emit("data",r)},n.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))},n.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")},n.prototype.end=function(){this._reset(),this.emit("end")},n.prototype.destroy=function(){this._reset(),this.emit("close")},n.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},n.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var r="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(r))}},n.prototype._updateDataSize=function(){this.dataSize=0;var r=this;this._streams.forEach(function(l){l.dataSize&&(r.dataSize+=l.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},n.prototype._emitError=function(r){this._reset(),this.emit("error",r)},Jr}var Xr={};const a0={"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 Qr,Kp;function r0(){return Kp||(Kp=1,Qr=a0),Qr}var Gp;function s0(){return Gp||(Gp=1,(function(e){var t=r0(),i=Jm.extname,n=/^\s*([^;\s]*)(?:;|\s|$)/,r=/^text\//i;e.charset=l,e.charsets={lookup:l},e.contentType=s,e.extension=u,e.extensions=Object.create(null),e.lookup=d,e.types=Object.create(null),p(e.extensions,e.types);function l(a){if(!a||typeof a!="string")return!1;var o=n.exec(a),c=o&&t[o[1].toLowerCase()];return c&&c.charset?c.charset:o&&r.test(o[1])?"UTF-8":!1}function s(a){if(!a||typeof a!="string")return!1;var o=a.indexOf("/")===-1?e.lookup(a):a;if(!o)return!1;if(o.indexOf("charset")===-1){var c=e.charset(o);c&&(o+="; charset="+c.toLowerCase())}return o}function u(a){if(!a||typeof a!="string")return!1;var o=n.exec(a),c=o&&e.extensions[o[1].toLowerCase()];return!c||!c.length?!1:c[0]}function d(a){if(!a||typeof a!="string")return!1;var o=i("x."+a).toLowerCase().substr(1);return o&&e.types[o]||!1}function p(a,o){var c=["nginx","apache",void 0,"iana"];Object.keys(t).forEach(function(m){var v=t[m],h=v.extensions;if(!(!h||!h.length)){a[m]=h;for(var g=0;g<h.length;g++){var y=h[g];if(o[y]){var b=c.indexOf(t[o[y]].source),w=c.indexOf(v.source);if(o[y]!=="application/octet-stream"&&(b>w||b===w&&o[y].substr(0,12)==="application/"))continue}o[y]=m}}})}})(Xr)),Xr}var Zr,Hp;function o0(){if(Hp)return Zr;Hp=1,Zr=e;function e(t){var i=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;i?i(t):setTimeout(t,0)}return Zr}var es,Wp;function Fh(){if(Wp)return es;Wp=1;var e=o0();es=t;function t(i){var n=!1;return e(function(){n=!0}),function(l,s){n?i(l,s):e(function(){i(l,s)})}}return es}var ts,Yp;function Uh(){if(Yp)return ts;Yp=1,ts=e;function e(i){Object.keys(i.jobs).forEach(t.bind(i)),i.jobs={}}function t(i){typeof this.jobs[i]=="function"&&this.jobs[i]()}return ts}var ns,Jp;function zh(){if(Jp)return ns;Jp=1;var e=Fh(),t=Uh();ns=i;function i(r,l,s,u){var d=s.keyedList?s.keyedList[s.index]:s.index;s.jobs[d]=n(l,d,r[d],function(p,a){d in s.jobs&&(delete s.jobs[d],p?t(s):s.results[d]=a,u(p,s.results))})}function n(r,l,s,u){var d;return r.length==2?d=r(s,e(u)):d=r(s,l,e(u)),d}return ns}var is,Xp;function Bh(){if(Xp)return is;Xp=1,is=e;function e(t,i){var n=!Array.isArray(t),r={index:0,keyedList:n||i?Object.keys(t):null,jobs:{},results:n?{}:[],size:n?Object.keys(t).length:t.length};return i&&r.keyedList.sort(n?i:function(l,s){return i(t[l],t[s])}),r}return is}var as,Qp;function Vh(){if(Qp)return as;Qp=1;var e=Uh(),t=Fh();as=i;function i(n){Object.keys(this.jobs).length&&(this.index=this.size,e(this),t(n)(null,this.results))}return as}var rs,Zp;function c0(){if(Zp)return rs;Zp=1;var e=zh(),t=Bh(),i=Vh();rs=n;function n(r,l,s){for(var u=t(r);u.index<(u.keyedList||r).length;)e(r,l,u,function(d,p){if(d){s(d,p);return}if(Object.keys(u.jobs).length===0){s(null,u.results);return}}),u.index++;return i.bind(u,s)}return rs}var Zt={exports:{}},ed;function Kh(){if(ed)return Zt.exports;ed=1;var e=zh(),t=Bh(),i=Vh();Zt.exports=n,Zt.exports.ascending=r,Zt.exports.descending=l;function n(s,u,d,p){var a=t(s,d);return e(s,u,a,function o(c,f){if(c){p(c,f);return}if(a.index++,a.index<(a.keyedList||s).length){e(s,u,a,o);return}p(null,a.results)}),i.bind(a,p)}function r(s,u){return s<u?-1:s>u?1:0}function l(s,u){return-1*r(s,u)}return Zt.exports}var ss,td;function l0(){if(td)return ss;td=1;var e=Kh();ss=t;function t(i,n,r){return e(i,n,null,r)}return ss}var os,nd;function u0(){return nd||(nd=1,os={parallel:c0(),serial:l0(),serialOrdered:Kh()}),os}var cs,id;function Gh(){return id||(id=1,cs=Object),cs}var ls,ad;function p0(){return ad||(ad=1,ls=Error),ls}var us,rd;function d0(){return rd||(rd=1,us=EvalError),us}var ps,sd;function f0(){return sd||(sd=1,ps=RangeError),ps}var ds,od;function m0(){return od||(od=1,ds=ReferenceError),ds}var fs,cd;function h0(){return cd||(cd=1,fs=SyntaxError),fs}var ms,ld;function Pc(){return ld||(ld=1,ms=TypeError),ms}var hs,ud;function v0(){return ud||(ud=1,hs=URIError),hs}var vs,pd;function g0(){return pd||(pd=1,vs=Math.abs),vs}var gs,dd;function y0(){return dd||(dd=1,gs=Math.floor),gs}var ys,fd;function b0(){return fd||(fd=1,ys=Math.max),ys}var bs,md;function x0(){return md||(md=1,bs=Math.min),bs}var xs,hd;function w0(){return hd||(hd=1,xs=Math.pow),xs}var ws,vd;function S0(){return vd||(vd=1,ws=Math.round),ws}var Ss,gd;function _0(){return gd||(gd=1,Ss=Number.isNaN||function(t){return t!==t}),Ss}var _s,yd;function E0(){if(yd)return _s;yd=1;var e=_0();return _s=function(i){return e(i)||i===0?i:i<0?-1:1},_s}var Es,bd;function $0(){return bd||(bd=1,Es=Object.getOwnPropertyDescriptor),Es}var $s,xd;function Hh(){if(xd)return $s;xd=1;var e=$0();if(e)try{e([],"length")}catch{e=null}return $s=e,$s}var ks,wd;function k0(){if(wd)return ks;wd=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return ks=e,ks}var Rs,Sd;function Wh(){return Sd||(Sd=1,Rs=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},i=Symbol("test"),n=Object(i);if(typeof i=="string"||Object.prototype.toString.call(i)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var r=42;t[i]=r;for(var l 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 s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==i||!Object.prototype.propertyIsEnumerable.call(t,i))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(t,i);if(u.value!==r||u.enumerable!==!0)return!1}return!0}),Rs}var As,_d;function R0(){if(_d)return As;_d=1;var e=typeof Symbol<"u"&&Symbol,t=Wh();return As=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},As}var Ts,Ed;function Yh(){return Ed||(Ed=1,Ts=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Ts}var Os,$d;function Jh(){if($d)return Os;$d=1;var e=Gh();return Os=e.getPrototypeOf||null,Os}var Ps,kd;function A0(){if(kd)return Ps;kd=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,i=Math.max,n="[object Function]",r=function(d,p){for(var a=[],o=0;o<d.length;o+=1)a[o]=d[o];for(var c=0;c<p.length;c+=1)a[c+d.length]=p[c];return a},l=function(d,p){for(var a=[],o=p,c=0;o<d.length;o+=1,c+=1)a[c]=d[o];return a},s=function(u,d){for(var p="",a=0;a<u.length;a+=1)p+=u[a],a+1<u.length&&(p+=d);return p};return Ps=function(d){var p=this;if(typeof p!="function"||t.apply(p)!==n)throw new TypeError(e+p);for(var a=l(arguments,1),o,c=function(){if(this instanceof o){var g=p.apply(this,r(a,arguments));return Object(g)===g?g:this}return p.apply(d,r(a,arguments))},f=i(0,p.length-a.length),m=[],v=0;v<f;v++)m[v]="$"+v;if(o=Function("binder","return function ("+s(m,",")+"){ return binder.apply(this,arguments); }")(c),p.prototype){var h=function(){};h.prototype=p.prototype,o.prototype=new h,h.prototype=null}return o},Ps}var Ns,Rd;function Ea(){if(Rd)return Ns;Rd=1;var e=A0();return Ns=Function.prototype.bind||e,Ns}var js,Ad;function Nc(){return Ad||(Ad=1,js=Function.prototype.call),js}var Cs,Td;function Xh(){return Td||(Td=1,Cs=Function.prototype.apply),Cs}var Is,Od;function T0(){return Od||(Od=1,Is=typeof Reflect<"u"&&Reflect&&Reflect.apply),Is}var qs,Pd;function O0(){if(Pd)return qs;Pd=1;var e=Ea(),t=Xh(),i=Nc(),n=T0();return qs=n||e.call(i,t),qs}var Ls,Nd;function P0(){if(Nd)return Ls;Nd=1;var e=Ea(),t=Pc(),i=Nc(),n=O0();return Ls=function(l){if(l.length<1||typeof l[0]!="function")throw new t("a function is required");return n(e,i,l)},Ls}var Ds,jd;function N0(){if(jd)return Ds;jd=1;var e=P0(),t=Hh(),i;try{i=[].__proto__===Array.prototype}catch(s){if(!s||typeof s!="object"||!("code"in s)||s.code!=="ERR_PROTO_ACCESS")throw s}var n=!!i&&t&&t(Object.prototype,"__proto__"),r=Object,l=r.getPrototypeOf;return Ds=n&&typeof n.get=="function"?e([n.get]):typeof l=="function"?function(u){return l(u==null?u:r(u))}:!1,Ds}var Ms,Cd;function j0(){if(Cd)return Ms;Cd=1;var e=Yh(),t=Jh(),i=N0();return Ms=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)}:i?function(r){return i(r)}:null,Ms}var Fs,Id;function jc(){if(Id)return Fs;Id=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,i=Ea();return Fs=i.call(e,t),Fs}var Us,qd;function C0(){if(qd)return Us;qd=1;var e,t=Gh(),i=p0(),n=d0(),r=f0(),l=m0(),s=h0(),u=Pc(),d=v0(),p=g0(),a=y0(),o=b0(),c=x0(),f=w0(),m=S0(),v=E0(),h=Function,g=function(ie){try{return h('"use strict"; return ('+ie+").constructor;")()}catch{}},y=Hh(),b=k0(),w=function(){throw new u},x=y?(function(){try{return arguments.callee,w}catch{try{return y(arguments,"callee").get}catch{return w}}})():w,S=R0()(),_=j0(),$=Jh(),T=Yh(),U=Xh(),L=Nc(),B={},G=typeof Uint8Array>"u"||!_?e:_(Uint8Array),D={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":S&&_?_([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%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%":i,"%eval%":eval,"%EvalError%":n,"%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%":B,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":S&&_?_(_([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!S||!_?e:_(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":y,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":r,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!S||!_?e:_(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":S&&_?_(""[Symbol.iterator]()):e,"%Symbol%":S?Symbol:e,"%SyntaxError%":s,"%ThrowTypeError%":x,"%TypedArray%":G,"%TypeError%":u,"%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%":d,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":L,"%Function.prototype.apply%":U,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":$,"%Math.abs%":p,"%Math.floor%":a,"%Math.max%":o,"%Math.min%":c,"%Math.pow%":f,"%Math.round%":m,"%Math.sign%":v,"%Reflect.getPrototypeOf%":T};if(_)try{null.error}catch(ie){var V=_(_(ie));D["%Error.prototype%"]=V}var A=function ie(J){var C;if(J==="%AsyncFunction%")C=g("async function () {}");else if(J==="%GeneratorFunction%")C=g("function* () {}");else if(J==="%AsyncGeneratorFunction%")C=g("async function* () {}");else if(J==="%AsyncGenerator%"){var M=ie("%AsyncGeneratorFunction%");M&&(C=M.prototype)}else if(J==="%AsyncIteratorPrototype%"){var K=ie("%AsyncGenerator%");K&&_&&(C=_(K.prototype))}return D[J]=C,C},N={__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"]},I=Ea(),z=jc(),O=I.call(L,Array.prototype.concat),k=I.call(U,Array.prototype.splice),j=I.call(L,String.prototype.replace),P=I.call(L,String.prototype.slice),E=I.call(L,RegExp.prototype.exec),R=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,W=function(J){var C=P(J,0,1),M=P(J,-1);if(C==="%"&&M!=="%")throw new s("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&C!=="%")throw new s("invalid intrinsic syntax, expected opening `%`");var K=[];return j(J,R,function(H,ee,ne,fe){K[K.length]=ne?j(fe,F,"$1"):ee||H}),K},X=function(J,C){var M=J,K;if(z(N,M)&&(K=N[M],M="%"+K[0]+"%"),z(D,M)){var H=D[M];if(H===B&&(H=A(M)),typeof H>"u"&&!C)throw new u("intrinsic "+J+" exists, but is not available. Please file an issue!");return{alias:K,name:M,value:H}}throw new s("intrinsic "+J+" does not exist!")};return Us=function(J,C){if(typeof J!="string"||J.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof C!="boolean")throw new u('"allowMissing" argument must be a boolean');if(E(/^%?[^%]*%?$/,J)===null)throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=W(J),K=M.length>0?M[0]:"",H=X("%"+K+"%",C),ee=H.name,ne=H.value,fe=!1,ke=H.alias;ke&&(K=ke[0],k(M,O([0,1],ke)));for(var ve=1,he=!0;ve<M.length;ve+=1){var ue=M[ve],Le=P(ue,0,1),xe=P(ue,-1);if((Le==='"'||Le==="'"||Le==="`"||xe==='"'||xe==="'"||xe==="`")&&Le!==xe)throw new s("property names with quotes must have matching quotes");if((ue==="constructor"||!he)&&(fe=!0),K+="."+ue,ee="%"+K+"%",z(D,ee))ne=D[ee];else if(ne!=null){if(!(ue in ne)){if(!C)throw new u("base intrinsic for "+J+" exists, but the property is not available.");return}if(y&&ve+1>=M.length){var Qe=y(ne,ue);he=!!Qe,he&&"get"in Qe&&!("originalValue"in Qe.get)?ne=Qe.get:ne=ne[ue]}else he=z(ne,ue),ne=ne[ue];he&&!fe&&(D[ee]=ne)}}return ne},Us}var zs,Ld;function I0(){if(Ld)return zs;Ld=1;var e=Wh();return zs=function(){return e()&&!!Symbol.toStringTag},zs}var Bs,Dd;function q0(){if(Dd)return Bs;Dd=1;var e=C0(),t=e("%Object.defineProperty%",!0),i=I0()(),n=jc(),r=Pc(),l=i?Symbol.toStringTag:null;return Bs=function(u,d){var p=arguments.length>2&&!!arguments[2]&&arguments[2].force,a=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof p<"u"&&typeof p!="boolean"||typeof a<"u"&&typeof a!="boolean")throw new r("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");l&&(p||!n(u,l))&&(t?t(u,l,{configurable:!a,enumerable:!1,value:d,writable:!1}):u[l]=d)},Bs}var Vs,Md;function L0(){return Md||(Md=1,Vs=function(e,t){return Object.keys(t).forEach(function(i){e[i]=e[i]||t[i]}),e}),Vs}var Ks,Fd;function D0(){if(Fd)return Ks;Fd=1;var e=i0(),t=xt,i=Jm,n=mc,r=hc,l=la.parse,s=Jv,u=Te.Stream,d=Xm,p=s0(),a=u0(),o=q0(),c=jc(),f=L0();function m(v){if(!(this instanceof m))return new m(v);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],e.call(this),v=v||{};for(var h in v)this[h]=v[h]}return t.inherits(m,e),m.LINE_BREAK=`\r
|
|
10
|
-
`,m.DEFAULT_CONTENT_TYPE="application/octet-stream",m.prototype.append=function(v,h,g){g=g||{},typeof g=="string"&&(g={filename:g});var y=e.prototype.append.bind(this);if((typeof h=="number"||h==null)&&(h=String(h)),Array.isArray(h)){this._error(new Error("Arrays are not supported."));return}var b=this._multiPartHeader(v,h,g),w=this._multiPartFooter();y(b),y(h),y(w),this._trackLength(b,h,g)},m.prototype._trackLength=function(v,h,g){var y=0;g.knownLength!=null?y+=Number(g.knownLength):Buffer.isBuffer(h)?y=h.length:typeof h=="string"&&(y=Buffer.byteLength(h)),this._valueLength+=y,this._overheadLength+=Buffer.byteLength(v)+m.LINE_BREAK.length,!(!h||!h.path&&!(h.readable&&c(h,"httpVersion"))&&!(h instanceof u))&&(g.knownLength||this._valuesToMeasure.push(h))},m.prototype._lengthRetriever=function(v,h){c(v,"fd")?v.end!=null&&v.end!=1/0&&v.start!=null?h(null,v.end+1-(v.start?v.start:0)):s.stat(v.path,function(g,y){if(g){h(g);return}var b=y.size-(v.start?v.start:0);h(null,b)}):c(v,"httpVersion")?h(null,Number(v.headers["content-length"])):c(v,"httpModule")?(v.on("response",function(g){v.pause(),h(null,Number(g.headers["content-length"]))}),v.resume()):h("Unknown stream")},m.prototype._multiPartHeader=function(v,h,g){if(typeof g.header=="string")return g.header;var y=this._getContentDisposition(h,g),b=this._getContentType(h,g),w="",x={"Content-Disposition":["form-data",'name="'+v+'"'].concat(y||[]),"Content-Type":[].concat(b||[])};typeof g.header=="object"&&f(x,g.header);var S;for(var _ in x)if(c(x,_)){if(S=x[_],S==null)continue;Array.isArray(S)||(S=[S]),S.length&&(w+=_+": "+S.join("; ")+m.LINE_BREAK)}return"--"+this.getBoundary()+m.LINE_BREAK+w+m.LINE_BREAK},m.prototype._getContentDisposition=function(v,h){var g;if(typeof h.filepath=="string"?g=i.normalize(h.filepath).replace(/\\/g,"/"):h.filename||v&&(v.name||v.path)?g=i.basename(h.filename||v&&(v.name||v.path)):v&&v.readable&&c(v,"httpVersion")&&(g=i.basename(v.client._httpMessage.path||"")),g)return'filename="'+g+'"'},m.prototype._getContentType=function(v,h){var g=h.contentType;return!g&&v&&v.name&&(g=p.lookup(v.name)),!g&&v&&v.path&&(g=p.lookup(v.path)),!g&&v&&v.readable&&c(v,"httpVersion")&&(g=v.headers["content-type"]),!g&&(h.filepath||h.filename)&&(g=p.lookup(h.filepath||h.filename)),!g&&v&&typeof v=="object"&&(g=m.DEFAULT_CONTENT_TYPE),g},m.prototype._multiPartFooter=function(){return function(v){var h=m.LINE_BREAK,g=this._streams.length===0;g&&(h+=this._lastBoundary()),v(h)}.bind(this)},m.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+m.LINE_BREAK},m.prototype.getHeaders=function(v){var h,g={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(h in v)c(v,h)&&(g[h.toLowerCase()]=v[h]);return g},m.prototype.setBoundary=function(v){if(typeof v!="string")throw new TypeError("FormData boundary must be a string");this._boundary=v},m.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},m.prototype.getBuffer=function(){for(var v=new Buffer.alloc(0),h=this.getBoundary(),g=0,y=this._streams.length;g<y;g++)typeof this._streams[g]!="function"&&(Buffer.isBuffer(this._streams[g])?v=Buffer.concat([v,this._streams[g]]):v=Buffer.concat([v,Buffer.from(this._streams[g])]),(typeof this._streams[g]!="string"||this._streams[g].substring(2,h.length+2)!==h)&&(v=Buffer.concat([v,Buffer.from(m.LINE_BREAK)])));return Buffer.concat([v,Buffer.from(this._lastBoundary())])},m.prototype._generateBoundary=function(){this._boundary="--------------------------"+d.randomBytes(12).toString("hex")},m.prototype.getLengthSync=function(){var v=this._overheadLength+this._valueLength;return this._streams.length&&(v+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),v},m.prototype.hasKnownLength=function(){var v=!0;return this._valuesToMeasure.length&&(v=!1),v},m.prototype.getLength=function(v){var h=this._overheadLength+this._valueLength;if(this._streams.length&&(h+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(v.bind(this,null,h));return}a.parallel(this._valuesToMeasure,this._lengthRetriever,function(g,y){if(g){v(g);return}y.forEach(function(b){h+=b}),v(null,h)})},m.prototype.submit=function(v,h){var g,y,b={method:"post"};return typeof v=="string"?(v=l(v),y=f({port:v.port,path:v.pathname,host:v.hostname,protocol:v.protocol},b)):(y=f(v,b),y.port||(y.port=y.protocol==="https:"?443:80)),y.headers=this.getHeaders(v.headers),y.protocol==="https:"?g=r.request(y):g=n.request(y),this.getLength(function(w,x){if(w&&w!=="Unknown stream"){this._error(w);return}if(x&&g.setHeader("Content-Length",x),this.pipe(g),h){var S,_=function($,T){return g.removeListener("error",_),g.removeListener("response",S),h.call(this,$,T)};S=_.bind(this,null),g.on("error",_),g.on("response",S)}}.bind(this)),g},m.prototype._error=function(v){this.error||(this.error=v,this.pause(),this.emit("error",v))},m.prototype.toString=function(){return"[object FormData]"},o(m.prototype,"FormData"),Ks=m,Ks}var M0=D0();const Qh=mn(M0);function ac(e){return q.isPlainObject(e)||q.isArray(e)}function Zh(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function Gs(e,t,i){return e?e.concat(t).map(function(r,l){return r=Zh(r),!i&&l?"["+r+"]":r}).join(i?".":""):t}function F0(e){return q.isArray(e)&&!e.some(ac)}const U0=q.toFlatObject(q,{},null,function(t){return/^is[A-Z]/.test(t)});function $a(e,t,i){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new(Qh||FormData),i=q.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,h){return!q.isUndefined(h[v])});const n=i.metaTokens,r=i.visitor||a,l=i.dots,s=i.indexes,d=(i.Blob||typeof Blob<"u"&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(r))throw new TypeError("visitor must be a function");function p(m){if(m===null)return"";if(q.isDate(m))return m.toISOString();if(q.isBoolean(m))return m.toString();if(!d&&q.isBlob(m))throw new Y("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(m)||q.isTypedArray(m)?d&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function a(m,v,h){let g=m;if(q.isReactNative(t)&&q.isReactNativeBlob(m))return t.append(Gs(h,v,l),p(m)),!1;if(m&&!h&&typeof m=="object"){if(q.endsWith(v,"{}"))v=n?v:v.slice(0,-2),m=JSON.stringify(m);else if(q.isArray(m)&&F0(m)||(q.isFileList(m)||q.endsWith(v,"[]"))&&(g=q.toArray(m)))return v=Zh(v),g.forEach(function(b,w){!(q.isUndefined(b)||b===null)&&t.append(s===!0?Gs([v],w,l):s===null?v:v+"[]",p(b))}),!1}return ac(m)?!0:(t.append(Gs(h,v,l),p(m)),!1)}const o=[],c=Object.assign(U0,{defaultVisitor:a,convertValue:p,isVisitable:ac});function f(m,v){if(!q.isUndefined(m)){if(o.indexOf(m)!==-1)throw Error("Circular reference detected in "+v.join("."));o.push(m),q.forEach(m,function(g,y){(!(q.isUndefined(g)||g===null)&&r.call(t,g,q.isString(y)?y.trim():y,v,c))===!0&&f(g,v?v.concat(y):[y])}),o.pop()}}if(!q.isObject(e))throw new TypeError("data must be an object");return f(e),t}function Ud(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ev(e,t){this._pairs=[],e&&$a(e,this,t)}const tv=ev.prototype;tv.append=function(t,i){this._pairs.push([t,i])};tv.toString=function(t){const i=t?function(n){return t.call(this,n,Ud)}:Ud;return this._pairs.map(function(r){return i(r[0])+"="+i(r[1])},"").join("&")};function z0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Cc(e,t,i){if(!t)return e;const n=i&&i.encode||z0,r=q.isFunction(i)?{serialize:i}:i,l=r&&r.serialize;let s;if(l?s=l(t,r):s=q.isURLSearchParams(t)?t.toString():new ev(t,r).toString(n),s){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class zd{constructor(){this.handlers=[]}use(t,i,n){return this.handlers.push({fulfilled:t,rejected:i,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){q.forEach(this.handlers,function(n){n!==null&&t(n)})}}const ka={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},B0=la.URLSearchParams,Hs="abcdefghijklmnopqrstuvwxyz",Bd="0123456789",nv={DIGIT:Bd,ALPHA:Hs,ALPHA_DIGIT:Hs+Hs.toUpperCase()+Bd},V0=(e=16,t=nv.ALPHA_DIGIT)=>{let i="";const{length:n}=t,r=new Uint32Array(e);Xm.randomFillSync(r);for(let l=0;l<e;l++)i+=t[r[l]%n];return i},K0={isNode:!0,classes:{URLSearchParams:B0,FormData:Qh,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:nv,generateString:V0,protocols:["http","https","file","data"]},Ic=typeof window<"u"&&typeof document<"u",rc=typeof navigator=="object"&&navigator||void 0,G0=Ic&&(!rc||["ReactNative","NativeScript","NS"].indexOf(rc.product)<0),H0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",W0=Ic&&window.location.href||"http://localhost",Y0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ic,hasStandardBrowserEnv:G0,hasStandardBrowserWebWorkerEnv:H0,navigator:rc,origin:W0},Symbol.toStringTag,{value:"Module"})),me={...Y0,...K0};function J0(e,t){return $a(e,new me.classes.URLSearchParams,{visitor:function(i,n,r,l){return me.isNode&&q.isBuffer(i)?(this.append(n,i.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)},...t})}function X0(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Q0(e){const t={},i=Object.keys(e);let n;const r=i.length;let l;for(n=0;n<r;n++)l=i[n],t[l]=e[l];return t}function iv(e){function t(i,n,r,l){let s=i[l++];if(s==="__proto__")return!0;const u=Number.isFinite(+s),d=l>=i.length;return s=!s&&q.isArray(r)?r.length:s,d?(q.hasOwnProp(r,s)?r[s]=[r[s],n]:r[s]=n,!u):((!r[s]||!q.isObject(r[s]))&&(r[s]=[]),t(i,n,r[s],l)&&q.isArray(r[s])&&(r[s]=Q0(r[s])),!u)}if(q.isFormData(e)&&q.isFunction(e.entries)){const i={};return q.forEachEntry(e,(n,r)=>{t(X0(n),r,i,0)}),i}return null}function Z0(e,t,i){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(i||JSON.stringify)(e)}const wn={transitional:ka,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const n=i.getContentType()||"",r=n.indexOf("application/json")>-1,l=q.isObject(t);if(l&&q.isHTMLForm(t)&&(t=new FormData(t)),q.isFormData(t))return r?JSON.stringify(iv(t)):t;if(q.isArrayBuffer(t)||q.isBuffer(t)||q.isStream(t)||q.isFile(t)||q.isBlob(t)||q.isReadableStream(t))return t;if(q.isArrayBufferView(t))return t.buffer;if(q.isURLSearchParams(t))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(l){if(n.indexOf("application/x-www-form-urlencoded")>-1)return J0(t,this.formSerializer).toString();if((u=q.isFileList(t))||n.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return $a(u?{"files[]":t}:t,d&&new d,this.formSerializer)}}return l||r?(i.setContentType("application/json",!1),Z0(t)):t}],transformResponse:[function(t){const i=this.transitional||wn.transitional,n=i&&i.forcedJSONParsing,r=this.responseType==="json";if(q.isResponse(t)||q.isReadableStream(t))return t;if(t&&q.isString(t)&&(n&&!this.responseType||r)){const s=!(i&&i.silentJSONParsing)&&r;try{return JSON.parse(t,this.parseReviver)}catch(u){if(s)throw u.name==="SyntaxError"?Y.from(u,Y.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:me.classes.FormData,Blob:me.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],e=>{wn.headers[e]={}});const eS=q.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"]),tS=e=>{const t={};let i,n,r;return e&&e.split(`
|
|
11
|
-
`).forEach(function(s){r=s.indexOf(":"),i=s.substring(0,r).trim().toLowerCase(),n=s.substring(r+1).trim(),!(!i||t[i]&&eS[i])&&(i==="set-cookie"?t[i]?t[i].push(n):t[i]=[n]:t[i]=t[i]?t[i]+", "+n:n)}),t},Vd=Symbol("internals");function en(e){return e&&String(e).trim().toLowerCase()}function Wi(e){return e===!1||e==null?e:q.isArray(e)?e.map(Wi):String(e)}function nS(e){const t=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=i.exec(e);)t[n[1]]=n[2];return t}const iS=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ws(e,t,i,n,r){if(q.isFunction(n))return n.call(this,t,i);if(r&&(t=i),!!q.isString(t)){if(q.isString(n))return t.indexOf(n)!==-1;if(q.isRegExp(n))return n.test(t)}}function aS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,n)=>i.toUpperCase()+n)}function rS(e,t){const i=q.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+i,{value:function(r,l,s){return this[n].call(this,t,r,l,s)},configurable:!0})})}let Se=class{constructor(t){t&&this.set(t)}set(t,i,n){const r=this;function l(u,d,p){const a=en(d);if(!a)throw new Error("header name must be a non-empty string");const o=q.findKey(r,a);(!o||r[o]===void 0||p===!0||p===void 0&&r[o]!==!1)&&(r[o||d]=Wi(u))}const s=(u,d)=>q.forEach(u,(p,a)=>l(p,a,d));if(q.isPlainObject(t)||t instanceof this.constructor)s(t,i);else if(q.isString(t)&&(t=t.trim())&&!iS(t))s(tS(t),i);else if(q.isObject(t)&&q.isIterable(t)){let u={},d,p;for(const a of t){if(!q.isArray(a))throw TypeError("Object iterator must return a key-value pair");u[p=a[0]]=(d=u[p])?q.isArray(d)?[...d,a[1]]:[d,a[1]]:a[1]}s(u,i)}else t!=null&&l(i,t,n);return this}get(t,i){if(t=en(t),t){const n=q.findKey(this,t);if(n){const r=this[n];if(!i)return r;if(i===!0)return nS(r);if(q.isFunction(i))return i.call(this,r,n);if(q.isRegExp(i))return i.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=en(t),t){const n=q.findKey(this,t);return!!(n&&this[n]!==void 0&&(!i||Ws(this,this[n],n,i)))}return!1}delete(t,i){const n=this;let r=!1;function l(s){if(s=en(s),s){const u=q.findKey(n,s);u&&(!i||Ws(n,n[u],u,i))&&(delete n[u],r=!0)}}return q.isArray(t)?t.forEach(l):l(t),r}clear(t){const i=Object.keys(this);let n=i.length,r=!1;for(;n--;){const l=i[n];(!t||Ws(this,this[l],l,t,!0))&&(delete this[l],r=!0)}return r}normalize(t){const i=this,n={};return q.forEach(this,(r,l)=>{const s=q.findKey(n,l);if(s){i[s]=Wi(r),delete i[l];return}const u=t?aS(l):String(l).trim();u!==l&&delete i[l],i[u]=Wi(r),n[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const i=Object.create(null);return q.forEach(this,(n,r)=>{n!=null&&n!==!1&&(i[r]=t&&q.isArray(n)?n.join(", "):n)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,i])=>t+": "+i).join(`
|
|
12
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...i){const n=new this(t);return i.forEach(r=>n.set(r)),n}static accessor(t){const n=(this[Vd]=this[Vd]={accessors:{}}).accessors,r=this.prototype;function l(s){const u=en(s);n[u]||(rS(r,s),n[u]=!0)}return q.isArray(t)?t.forEach(l):l(t),this}};Se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.reduceDescriptors(Se.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[i]=n}}});q.freezeMethods(Se);function Ys(e,t){const i=this||wn,n=t||i,r=Se.from(n.headers);let l=n.data;return q.forEach(e,function(u){l=u.call(i,l,r.normalize(),t?t.status:void 0)}),r.normalize(),l}function av(e){return!!(e&&e.__CANCEL__)}let gt=class extends Y{constructor(t,i,n){super(t??"canceled",Y.ERR_CANCELED,i,n),this.name="CanceledError",this.__CANCEL__=!0}};function Mt(e,t,i){const n=i.config.validateStatus;!i.status||!n||n(i.status)?e(i):t(new Y("Request failed with status code "+i.status,[Y.ERR_BAD_REQUEST,Y.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function sS(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function oS(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function qc(e,t,i){let n=!sS(t);return e&&(n||i==!1)?oS(e,t):t}var Js={},Kd;function cS(){if(Kd)return Js;Kd=1;var e=la.parse,t={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},i=String.prototype.endsWith||function(s){return s.length<=this.length&&this.indexOf(s,this.length-s.length)!==-1};function n(s){var u=typeof s=="string"?e(s):s||{},d=u.protocol,p=u.host,a=u.port;if(typeof p!="string"||!p||typeof d!="string"||(d=d.split(":",1)[0],p=p.replace(/:\d*$/,""),a=parseInt(a)||t[d]||0,!r(p,a)))return"";var o=l("npm_config_"+d+"_proxy")||l(d+"_proxy")||l("npm_config_proxy")||l("all_proxy");return o&&o.indexOf("://")===-1&&(o=d+"://"+o),o}function r(s,u){var d=(l("npm_config_no_proxy")||l("no_proxy")).toLowerCase();return d?d==="*"?!1:d.split(/[,\s]/).every(function(p){if(!p)return!0;var a=p.match(/^(.+):(\d+)$/),o=a?a[1]:p,c=a?parseInt(a[2]):0;return c&&c!==u?!0:/^[.*]/.test(o)?(o.charAt(0)==="*"&&(o=o.slice(1)),!i.call(s,o)):s!==o}):!0}function l(s){return process.env[s.toLowerCase()]||process.env[s.toUpperCase()]||""}return Js.getProxyForUrl=n,Js}var lS=cS();const uS=mn(lS);var Ai={exports:{}},Ti={exports:{}},Oi={exports:{}},Xs,Gd;function pS(){if(Gd)return Xs;Gd=1;var e=1e3,t=e*60,i=t*60,n=i*24,r=n*7,l=n*365.25;Xs=function(a,o){o=o||{};var c=typeof a;if(c==="string"&&a.length>0)return s(a);if(c==="number"&&isFinite(a))return o.long?d(a):u(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))};function s(a){if(a=String(a),!(a.length>100)){var o=/^(-?(?:\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(o){var c=parseFloat(o[1]),f=(o[2]||"ms").toLowerCase();switch(f){case"years":case"year":case"yrs":case"yr":case"y":return c*l;case"weeks":case"week":case"w":return c*r;case"days":case"day":case"d":return c*n;case"hours":case"hour":case"hrs":case"hr":case"h":return c*i;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}}}function u(a){var o=Math.abs(a);return o>=n?Math.round(a/n)+"d":o>=i?Math.round(a/i)+"h":o>=t?Math.round(a/t)+"m":o>=e?Math.round(a/e)+"s":a+"ms"}function d(a){var o=Math.abs(a);return o>=n?p(a,o,n,"day"):o>=i?p(a,o,i,"hour"):o>=t?p(a,o,t,"minute"):o>=e?p(a,o,e,"second"):a+" ms"}function p(a,o,c,f){var m=o>=c*1.5;return Math.round(a/c)+" "+f+(m?"s":"")}return Xs}var Qs,Hd;function rv(){if(Hd)return Qs;Hd=1;function e(t){n.debug=n,n.default=n,n.coerce=p,n.disable=u,n.enable=l,n.enabled=d,n.humanize=pS(),n.destroy=a,Object.keys(t).forEach(o=>{n[o]=t[o]}),n.names=[],n.skips=[],n.formatters={};function i(o){let c=0;for(let f=0;f<o.length;f++)c=(c<<5)-c+o.charCodeAt(f),c|=0;return n.colors[Math.abs(c)%n.colors.length]}n.selectColor=i;function n(o){let c,f=null,m,v;function h(...g){if(!h.enabled)return;const y=h,b=Number(new Date),w=b-(c||b);y.diff=w,y.prev=c,y.curr=b,c=b,g[0]=n.coerce(g[0]),typeof g[0]!="string"&&g.unshift("%O");let x=0;g[0]=g[0].replace(/%([a-zA-Z%])/g,(_,$)=>{if(_==="%%")return"%";x++;const T=n.formatters[$];if(typeof T=="function"){const U=g[x];_=T.call(y,U),g.splice(x,1),x--}return _}),n.formatArgs.call(y,g),(y.log||n.log).apply(y,g)}return h.namespace=o,h.useColors=n.useColors(),h.color=n.selectColor(o),h.extend=r,h.destroy=n.destroy,Object.defineProperty(h,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(m!==n.namespaces&&(m=n.namespaces,v=n.enabled(o)),v),set:g=>{f=g}}),typeof n.init=="function"&&n.init(h),h}function r(o,c){const f=n(this.namespace+(typeof c>"u"?":":c)+o);return f.log=this.log,f}function l(o){n.save(o),n.namespaces=o,n.names=[],n.skips=[];const c=(typeof o=="string"?o:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const f of c)f[0]==="-"?n.skips.push(f.slice(1)):n.names.push(f)}function s(o,c){let f=0,m=0,v=-1,h=0;for(;f<o.length;)if(m<c.length&&(c[m]===o[f]||c[m]==="*"))c[m]==="*"?(v=m,h=f,m++):(f++,m++);else if(v!==-1)m=v+1,h++,f=h;else return!1;for(;m<c.length&&c[m]==="*";)m++;return m===c.length}function u(){const o=[...n.names,...n.skips.map(c=>"-"+c)].join(",");return n.enable(""),o}function d(o){for(const c of n.skips)if(s(o,c))return!1;for(const c of n.names)if(s(o,c))return!0;return!1}function p(o){return o instanceof Error?o.stack||o.message:o}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 n.enable(n.load()),n}return Qs=e,Qs}var Wd;function dS(){return Wd||(Wd=1,(function(e,t){t.formatArgs=n,t.save=r,t.load=l,t.useColors=i,t.storage=s(),t.destroy=(()=>{let d=!1;return()=>{d||(d=!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 i(){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 d;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&&(d=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(d[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(d){if(d[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+d[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;d.splice(1,0,p,"color: inherit");let a=0,o=0;d[0].replace(/%[a-zA-Z%]/g,c=>{c!=="%%"&&(a++,c==="%c"&&(o=a))}),d.splice(o,0,p)}t.log=console.debug||console.log||(()=>{});function r(d){try{d?t.storage.setItem("debug",d):t.storage.removeItem("debug")}catch{}}function l(){let d;try{d=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!d&&typeof process<"u"&&"env"in process&&(d=process.env.DEBUG),d}function s(){try{return localStorage}catch{}}e.exports=rv()(t);const{formatters:u}=e.exports;u.j=function(d){try{return JSON.stringify(d)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}})(Oi,Oi.exports)),Oi.exports}var Pi={exports:{}},Zs,Yd;function fS(){return Yd||(Yd=1,Zs=(e,t)=>{t=t||process.argv;const i=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(i+e),r=t.indexOf("--");return n!==-1&&(r===-1?!0:n<r)}),Zs}var eo,Jd;function mS(){if(Jd)return eo;Jd=1;const e=Zv,t=fS(),i=process.env;let n;t("no-color")||t("no-colors")||t("color=false")?n=!1:(t("color")||t("colors")||t("color=true")||t("color=always"))&&(n=!0),"FORCE_COLOR"in i&&(n=i.FORCE_COLOR.length===0||parseInt(i.FORCE_COLOR,10)!==0);function r(u){return u===0?!1:{level:u,hasBasic:!0,has256:u>=2,has16m:u>=3}}function l(u){if(n===!1)return 0;if(t("color=16m")||t("color=full")||t("color=truecolor"))return 3;if(t("color=256"))return 2;if(u&&!u.isTTY&&n!==!0)return 0;const d=n?1:0;if(process.platform==="win32"){const p=e.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(p[0])>=10&&Number(p[2])>=10586?Number(p[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(p=>p in i)||i.CI_NAME==="codeship"?1:d;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if(i.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in i){const p=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return p>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:(i.TERM==="dumb",d)}function s(u){const d=l(u);return r(d)}return eo={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)},eo}var Xd;function hS(){return Xd||(Xd=1,(function(e,t){const i=Qv,n=xt;t.init=a,t.log=u,t.formatArgs=l,t.save=d,t.load=p,t.useColors=r,t.destroy=n.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 c=mS();c&&(c.stderr||c).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(c=>/^debug_/i.test(c)).reduce((c,f)=>{const m=f.substring(6).toLowerCase().replace(/_([a-z])/g,(h,g)=>g.toUpperCase());let v=process.env[f];return/^(yes|on|true|enabled)$/i.test(v)?v=!0:/^(no|off|false|disabled)$/i.test(v)?v=!1:v==="null"?v=null:v=Number(v),c[m]=v,c},{});function r(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:i.isatty(process.stderr.fd)}function l(c){const{namespace:f,useColors:m}=this;if(m){const v=this.color,h="\x1B[3"+(v<8?v:"8;5;"+v),g=` ${h};1m${f} \x1B[0m`;c[0]=g+c[0].split(`
|
|
13
|
-
`).join(`
|
|
14
|
-
`+g),c.push(h+"m+"+e.exports.humanize(this.diff)+"\x1B[0m")}else c[0]=s()+f+" "+c[0]}function s(){return t.inspectOpts.hideDate?"":new Date().toISOString()+" "}function u(...c){return process.stderr.write(n.formatWithOptions(t.inspectOpts,...c)+`
|
|
15
|
-
`)}function d(c){c?process.env.DEBUG=c:delete process.env.DEBUG}function p(){return process.env.DEBUG}function a(c){c.inspectOpts={};const f=Object.keys(t.inspectOpts);for(let m=0;m<f.length;m++)c.inspectOpts[f[m]]=t.inspectOpts[f[m]]}e.exports=rv()(t);const{formatters:o}=e.exports;o.o=function(c){return this.inspectOpts.colors=this.useColors,n.inspect(c,this.inspectOpts).split(`
|
|
16
|
-
`).map(f=>f.trim()).join(" ")},o.O=function(c){return this.inspectOpts.colors=this.useColors,n.inspect(c,this.inspectOpts)}})(Pi,Pi.exports)),Pi.exports}var Qd;function vS(){return Qd||(Qd=1,typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Ti.exports=dS():Ti.exports=hS()),Ti.exports}var to,Zd;function gS(){if(Zd)return to;Zd=1;var e;return to=function(){if(!e){try{e=vS()("follow-redirects")}catch{}typeof e!="function"&&(e=function(){})}e.apply(null,arguments)},to}var ef;function yS(){if(ef)return Ai.exports;ef=1;var e=la,t=e.URL,i=mc,n=hc,r=Te.Writable,l=Xv,s=gS();(function(){var N=typeof process<"u",I=typeof window<"u"&&typeof document<"u",z=G(Error.captureStackTrace);!N&&(I||!z)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var u=!1;try{l(new t(""))}catch(A){u=A.code==="ERR_INVALID_URL"}var d=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],p=["abort","aborted","connect","error","socket","timeout"],a=Object.create(null);p.forEach(function(A){a[A]=function(N,I,z){this._redirectable.emit(A,N,I,z)}});var o=T("ERR_INVALID_URL","Invalid URL",TypeError),c=T("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),f=T("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",c),m=T("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),v=T("ERR_STREAM_WRITE_AFTER_END","write after end"),h=r.prototype.destroy||b;function g(A,N){r.call(this),this._sanitizeOptions(A),this._options=A,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],N&&this.on("response",N);var I=this;this._onNativeResponse=function(z){try{I._processResponse(z)}catch(O){I.emit("error",O instanceof c?O:new c({cause:O}))}},this._performRequest()}g.prototype=Object.create(r.prototype),g.prototype.abort=function(){U(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},g.prototype.destroy=function(A){return U(this._currentRequest,A),h.call(this,A),this},g.prototype.write=function(A,N,I){if(this._ending)throw new v;if(!B(A)&&!D(A))throw new TypeError("data should be a string, Buffer or Uint8Array");if(G(N)&&(I=N,N=null),A.length===0){I&&I();return}this._requestBodyLength+A.length<=this._options.maxBodyLength?(this._requestBodyLength+=A.length,this._requestBodyBuffers.push({data:A,encoding:N}),this._currentRequest.write(A,N,I)):(this.emit("error",new m),this.abort())},g.prototype.end=function(A,N,I){if(G(A)?(I=A,A=N=null):G(N)&&(I=N,N=null),!A)this._ended=this._ending=!0,this._currentRequest.end(null,null,I);else{var z=this,O=this._currentRequest;this.write(A,N,function(){z._ended=!0,O.end(null,null,I)}),this._ending=!0}},g.prototype.setHeader=function(A,N){this._options.headers[A]=N,this._currentRequest.setHeader(A,N)},g.prototype.removeHeader=function(A){delete this._options.headers[A],this._currentRequest.removeHeader(A)},g.prototype.setTimeout=function(A,N){var I=this;function z(j){j.setTimeout(A),j.removeListener("timeout",j.destroy),j.addListener("timeout",j.destroy)}function O(j){I._timeout&&clearTimeout(I._timeout),I._timeout=setTimeout(function(){I.emit("timeout"),k()},A),z(j)}function k(){I._timeout&&(clearTimeout(I._timeout),I._timeout=null),I.removeListener("abort",k),I.removeListener("error",k),I.removeListener("response",k),I.removeListener("close",k),N&&I.removeListener("timeout",N),I.socket||I._currentRequest.removeListener("socket",O)}return N&&this.on("timeout",N),this.socket?O(this.socket):this._currentRequest.once("socket",O),this.on("socket",z),this.on("abort",k),this.on("error",k),this.on("response",k),this.on("close",k),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(A){g.prototype[A]=function(N,I){return this._currentRequest[A](N,I)}}),["aborted","connection","socket"].forEach(function(A){Object.defineProperty(g.prototype,A,{get:function(){return this._currentRequest[A]}})}),g.prototype._sanitizeOptions=function(A){if(A.headers||(A.headers={}),A.host&&(A.hostname||(A.hostname=A.host),delete A.host),!A.pathname&&A.path){var N=A.path.indexOf("?");N<0?A.pathname=A.path:(A.pathname=A.path.substring(0,N),A.search=A.path.substring(N))}},g.prototype._performRequest=function(){var A=this._options.protocol,N=this._options.nativeProtocols[A];if(!N)throw new TypeError("Unsupported protocol "+A);if(this._options.agents){var I=A.slice(0,-1);this._options.agent=this._options.agents[I]}var z=this._currentRequest=N.request(this._options,this._onNativeResponse);z._redirectable=this;for(var O of p)z.on(O,a[O]);if(this._currentUrl=/^\//.test(this._options.path)?e.format(this._options):this._options.path,this._isRedirect){var k=0,j=this,P=this._requestBodyBuffers;(function E(R){if(z===j._currentRequest)if(R)j.emit("error",R);else if(k<P.length){var F=P[k++];z.finished||z.write(F.data,F.encoding,E)}else j._ended&&z.end()})()}},g.prototype._processResponse=function(A){var N=A.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:A.headers,statusCode:N});var I=A.headers.location;if(!I||this._options.followRedirects===!1||N<300||N>=400){A.responseUrl=this._currentUrl,A.redirects=this._redirects,this.emit("response",A),this._requestBodyBuffers=[];return}if(U(this._currentRequest),A.destroy(),++this._redirectCount>this._options.maxRedirects)throw new f;var z,O=this._options.beforeRedirect;O&&(z=Object.assign({Host:A.req.getHeader("host")},this._options.headers));var k=this._options.method;((N===301||N===302)&&this._options.method==="POST"||N===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],$(/^content-/i,this._options.headers));var j=$(/^host$/i,this._options.headers),P=w(this._currentUrl),E=j||P.host,R=/^\w+:/.test(I)?this._currentUrl:e.format(Object.assign(P,{host:E})),F=x(I,R);if(s("redirecting to",F.href),this._isRedirect=!0,_(F,this._options),(F.protocol!==P.protocol&&F.protocol!=="https:"||F.host!==E&&!L(F.host,E))&&$(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),G(O)){var W={headers:A.headers,statusCode:N},X={url:R,method:k,headers:z};O(this._options,W,X),this._sanitizeOptions(this._options)}this._performRequest()};function y(A){var N={maxRedirects:21,maxBodyLength:10485760},I={};return Object.keys(A).forEach(function(z){var O=z+":",k=I[O]=A[z],j=N[z]=Object.create(k);function P(R,F,W){return V(R)?R=_(R):B(R)?R=_(w(R)):(W=F,F=S(R),R={protocol:O}),G(F)&&(W=F,F=null),F=Object.assign({maxRedirects:N.maxRedirects,maxBodyLength:N.maxBodyLength},R,F),F.nativeProtocols=I,!B(F.host)&&!B(F.hostname)&&(F.hostname="::1"),l.equal(F.protocol,O,"protocol mismatch"),s("options",F),new g(F,W)}function E(R,F,W){var X=j.request(R,F,W);return X.end(),X}Object.defineProperties(j,{request:{value:P,configurable:!0,enumerable:!0,writable:!0},get:{value:E,configurable:!0,enumerable:!0,writable:!0}})}),N}function b(){}function w(A){var N;if(u)N=new t(A);else if(N=S(e.parse(A)),!B(N.protocol))throw new o({input:A});return N}function x(A,N){return u?new t(A,N):w(e.resolve(N,A))}function S(A){if(/^\[/.test(A.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(A.hostname))throw new o({input:A.href||A});if(/^\[/.test(A.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(A.host))throw new o({input:A.href||A});return A}function _(A,N){var I=N||{};for(var z of d)I[z]=A[z];return I.hostname.startsWith("[")&&(I.hostname=I.hostname.slice(1,-1)),I.port!==""&&(I.port=Number(I.port)),I.path=I.search?I.pathname+I.search:I.pathname,I}function $(A,N){var I;for(var z in N)A.test(z)&&(I=N[z],delete N[z]);return I===null||typeof I>"u"?void 0:String(I).trim()}function T(A,N,I){function z(O){G(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,O||{}),this.code=A,this.message=this.cause?N+": "+this.cause.message:N}return z.prototype=new(I||Error),Object.defineProperties(z.prototype,{constructor:{value:z,enumerable:!1},name:{value:"Error ["+A+"]",enumerable:!1}}),z}function U(A,N){for(var I of p)A.removeListener(I,a[I]);A.on("error",b),A.destroy(N)}function L(A,N){l(B(A)&&B(N));var I=A.length-N.length-1;return I>0&&A[I]==="."&&A.endsWith(N)}function B(A){return typeof A=="string"||A instanceof String}function G(A){return typeof A=="function"}function D(A){return typeof A=="object"&&"length"in A}function V(A){return t&&A instanceof t}return Ai.exports=y({http:i,https:n}),Ai.exports.wrap=y,Ai.exports}var bS=yS();const xS=mn(bS),na="1.13.6";function sv(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const wS=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function SS(e,t,i){const n=i&&i.Blob||me.classes.Blob,r=sv(e);if(t===void 0&&n&&(t=!0),r==="data"){e=r.length?e.slice(r.length+1):e;const l=wS.exec(e);if(!l)throw new Y("Invalid URL",Y.ERR_INVALID_URL);const s=l[1],u=l[2],d=l[3],p=Buffer.from(decodeURIComponent(d),u?"base64":"utf8");if(t){if(!n)throw new Y("Blob is not supported",Y.ERR_NOT_SUPPORT);return new n([p],{type:s})}return p}throw new Y("Unsupported protocol "+r,Y.ERR_NOT_SUPPORT)}const no=Symbol("internals");class tf extends Te.Transform{constructor(t){t=q.toFlatObject(t,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(n,r)=>!q.isUndefined(r[n])),super({readableHighWaterMark:t.chunkSize});const i=this[no]={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",n=>{n==="progress"&&(i.isCaptured||(i.isCaptured=!0))})}_read(t){const i=this[no];return i.onReadCallback&&i.onReadCallback(),super._read(t)}_transform(t,i,n){const r=this[no],l=r.maxRate,s=this.readableHighWaterMark,u=r.timeWindow,d=1e3/u,p=l/d,a=r.minChunkSize!==!1?Math.max(r.minChunkSize,p*.01):0,o=(f,m)=>{const v=Buffer.byteLength(f);r.bytesSeen+=v,r.bytes+=v,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(f)?process.nextTick(m):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(m)}},c=(f,m)=>{const v=Buffer.byteLength(f);let h=null,g=s,y,b=0;if(l){const w=Date.now();(!r.ts||(b=w-r.ts)>=u)&&(r.ts=w,y=p-r.bytes,r.bytes=y<0?-y:0,b=0),y=p-r.bytes}if(l){if(y<=0)return setTimeout(()=>{m(null,f)},u-b);y<g&&(g=y)}g&&v>g&&v-g>a&&(h=f.subarray(g),f=f.subarray(0,g)),o(f,h?()=>{process.nextTick(m,null,h)}:m)};c(t,function f(m,v){if(m)return n(m);v?c(v,f):n(null)})}}const{asyncIterator:nf}=Symbol,ov=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[nf]?yield*e[nf]():yield e},_S=me.ALPHABET.ALPHA_DIGIT+"-_",fn=typeof TextEncoder=="function"?new TextEncoder:new xt.TextEncoder,mt=`\r
|
|
17
|
-
`,ES=fn.encode(mt),$S=2;class kS{constructor(t,i){const{escapeName:n}=this.constructor,r=q.isString(i);let l=`Content-Disposition: form-data; name="${n(t)}"${!r&&i.name?`; filename="${n(i.name)}"`:""}${mt}`;r?i=fn.encode(String(i).replace(/\r?\n|\r\n?/g,mt)):l+=`Content-Type: ${i.type||"application/octet-stream"}${mt}`,this.headers=fn.encode(l+mt),this.contentLength=r?i.byteLength:i.size,this.size=this.headers.byteLength+this.contentLength+$S,this.name=t,this.value=i}async*encode(){yield this.headers;const{value:t}=this;q.isTypedArray(t)?yield t:yield*ov(t),yield ES}static escapeName(t){return String(t).replace(/[\r\n"]/g,i=>({"\r":"%0D","\n":"%0A",'"':"%22"})[i])}}const RS=(e,t,i)=>{const{tag:n="form-data-boundary",size:r=25,boundary:l=n+"-"+me.generateString(r,_S)}=i||{};if(!q.isFormData(e))throw TypeError("FormData instance required");if(l.length<1||l.length>70)throw Error("boundary must be 10-70 characters long");const s=fn.encode("--"+l+mt),u=fn.encode("--"+l+"--"+mt);let d=u.byteLength;const p=Array.from(e.entries()).map(([o,c])=>{const f=new kS(o,c);return d+=f.size,f});d+=s.byteLength*p.length,d=q.toFiniteNumber(d);const a={"Content-Type":`multipart/form-data; boundary=${l}`};return Number.isFinite(d)&&(a["Content-Length"]=d),t&&t(a),Te.Readable.from((async function*(){for(const o of p)yield s,yield*o.encode();yield u})())};class AS extends Te.Transform{__transform(t,i,n){this.push(t),n()}_transform(t,i,n){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,i)}this.__transform(t,i,n)}}const TS=(e,t)=>q.isAsyncFn(e)?function(...i){const n=i.pop();e.apply(this,i).then(r=>{try{t?n(null,...t(r)):n(null,r)}catch(l){n(l)}},n)}:e;function OS(e,t){e=e||10;const i=new Array(e),n=new Array(e);let r=0,l=0,s;return t=t!==void 0?t:1e3,function(d){const p=Date.now(),a=n[l];s||(s=p),i[r]=d,n[r]=p;let o=l,c=0;for(;o!==r;)c+=i[o++],o=o%e;if(r=(r+1)%e,r===l&&(l=(l+1)%e),p-s<t)return;const f=a&&p-a;return f?Math.round(c*1e3/f):void 0}}function PS(e,t){let i=0,n=1e3/t,r,l;const s=(p,a=Date.now())=>{i=a,r=null,l&&(clearTimeout(l),l=null),e(...p)};return[(...p)=>{const a=Date.now(),o=a-i;o>=n?s(p,a):(r=p,l||(l=setTimeout(()=>{l=null,s(r)},n-o)))},()=>r&&s(r)]}const Ut=(e,t,i=3)=>{let n=0;const r=OS(50,250);return PS(l=>{const s=l.loaded,u=l.lengthComputable?l.total:void 0,d=s-n,p=r(d),a=s<=u;n=s;const o={loaded:s,total:u,progress:u?s/u:void 0,bytes:d,rate:p||void 0,estimated:p&&u&&a?(u-s)/p:void 0,event:l,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(o)},i)},ia=(e,t)=>{const i=e!=null;return[n=>t[0]({lengthComputable:i,total:e,loaded:n}),t[1]]},aa=e=>(...t)=>q.asap(()=>e(...t));function NS(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const i=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(i)){let l=n.length;const s=n.length;for(let c=0;c<s;c++)if(n.charCodeAt(c)===37&&c+2<s){const f=n.charCodeAt(c+1),m=n.charCodeAt(c+2);(f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102)&&(m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102)&&(l-=2,c+=2)}let u=0,d=s-1;const p=c=>c>=2&&n.charCodeAt(c-2)===37&&n.charCodeAt(c-1)===51&&(n.charCodeAt(c)===68||n.charCodeAt(c)===100);d>=0&&(n.charCodeAt(d)===61?(u++,d--):p(d)&&(u++,d-=3)),u===1&&d>=0&&(n.charCodeAt(d)===61||p(d))&&u++;const o=Math.floor(l/4)*3-(u||0);return o>0?o:0}return Buffer.byteLength(n,"utf8")}const af={flush:st.constants.Z_SYNC_FLUSH,finishFlush:st.constants.Z_SYNC_FLUSH},jS={flush:st.constants.BROTLI_OPERATION_FLUSH,finishFlush:st.constants.BROTLI_OPERATION_FLUSH},rf=q.isFunction(st.createBrotliDecompress),{http:CS,https:IS}=xS,qS=/https:?/,sf=me.protocols.map(e=>e+":"),of=(e,[t,i])=>(e.on("end",i).on("error",i),t);class LS{constructor(){this.sessions=Object.create(null)}getSession(t,i){i=Object.assign({sessionTimeout:1e3},i);let n=this.sessions[t];if(n){let a=n.length;for(let o=0;o<a;o++){const[c,f]=n[o];if(!c.destroyed&&!c.closed&&xt.isDeepStrictEqual(f,i))return c}}const r=Qm.connect(t,i);let l;const s=()=>{if(l)return;l=!0;let a=n,o=a.length,c=o;for(;c--;)if(a[c][0]===r){o===1?delete this.sessions[t]:a.splice(c,1);return}},u=r.request,{sessionTimeout:d}=i;if(d!=null){let a,o=0;r.request=function(){const c=u.apply(this,arguments);return o++,a&&(clearTimeout(a),a=null),c.once("close",()=>{--o||(a=setTimeout(()=>{a=null,s()},d))}),c}}r.once("close",s);let p=[r,i];return n?n.push(p):n=this.sessions[t]=[p],r}}const DS=new LS;function MS(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function cv(e,t,i){let n=t;if(!n&&n!==!1){const r=uS.getProxyForUrl(i);r&&(n=new URL(r))}if(n){if(n.username&&(n.auth=(n.username||"")+":"+(n.password||"")),n.auth){if(!!(n.auth.username||n.auth.password))n.auth=(n.auth.username||"")+":"+(n.auth.password||"");else if(typeof n.auth=="object")throw new Y("Invalid proxy authorization",Y.ERR_BAD_OPTION,{proxy:n});const s=Buffer.from(n.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+s}e.headers.host=e.hostname+(e.port?":"+e.port:"");const r=n.hostname||n.host;e.hostname=r,e.host=r,e.port=n.port,e.path=i,n.protocol&&(e.protocol=n.protocol.includes(":")?n.protocol:`${n.protocol}:`)}e.beforeRedirects.proxy=function(l){cv(l,t,l.href)}}const FS=typeof process<"u"&&q.kindOf(process)==="process",US=e=>new Promise((t,i)=>{let n,r;const l=(d,p)=>{r||(r=!0,n&&n(d,p))},s=d=>{l(d),t(d)},u=d=>{l(d,!0),i(d)};e(s,u,d=>n=d).catch(u)}),zS=({address:e,family:t})=>{if(!q.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}},cf=(e,t)=>zS(q.isObject(e)?e:{address:e,family:t}),BS={request(e,t){const i=e.protocol+"//"+e.hostname+":"+(e.port||(e.protocol==="https:"?443:80)),{http2Options:n,headers:r}=e,l=DS.getSession(i,n),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:u,HTTP2_HEADER_PATH:d,HTTP2_HEADER_STATUS:p}=Qm.constants,a={[s]:e.protocol.replace(":",""),[u]:e.method,[d]:e.path};q.forEach(r,(c,f)=>{f.charAt(0)!==":"&&(a[f]=c)});const o=l.request(a);return o.once("response",c=>{const f=o;c=Object.assign({},c);const m=c[p];delete c[p],f.headers=c,f.statusCode=+m,t(f)}),o}},VS=FS&&function(t){return US(async function(n,r,l){let{data:s,lookup:u,family:d,httpVersion:p=1,http2Options:a}=t;const{responseType:o,responseEncoding:c}=t,f=t.method.toUpperCase();let m,v=!1,h;if(p=+p,Number.isNaN(p))throw TypeError(`Invalid protocol version: '${t.httpVersion}' is not a number`);if(p!==1&&p!==2)throw TypeError(`Unsupported protocol version '${p}'`);const g=p===2;if(u){const O=TS(u,k=>q.isArray(k)?k:[k]);u=(k,j,P)=>{O(k,j,(E,R,F)=>{if(E)return P(E);const W=q.isArray(R)?R.map(X=>cf(X)):[cf(R,F)];j.all?P(E,W):P(E,W[0].address,W[0].family)})}}const y=new eg.EventEmitter;function b(O){try{y.emit("abort",!O||O.type?new gt(null,t,h):O)}catch(k){console.warn("emit error",k)}}y.once("abort",r);const w=()=>{t.cancelToken&&t.cancelToken.unsubscribe(b),t.signal&&t.signal.removeEventListener("abort",b),y.removeAllListeners()};(t.cancelToken||t.signal)&&(t.cancelToken&&t.cancelToken.subscribe(b),t.signal&&(t.signal.aborted?b():t.signal.addEventListener("abort",b))),l((O,k)=>{if(m=!0,k){v=!0,w();return}const{data:j}=O;if(j instanceof Te.Readable||j instanceof Te.Duplex){const P=Te.finished(j,()=>{P(),w()})}else w()});const x=qc(t.baseURL,t.url,t.allowAbsoluteUrls),S=new URL(x,me.hasBrowserEnv?me.origin:void 0),_=S.protocol||sf[0];if(_==="data:"){if(t.maxContentLength>-1){const k=String(t.url||x||"");if(NS(k)>t.maxContentLength)return r(new Y("maxContentLength size of "+t.maxContentLength+" exceeded",Y.ERR_BAD_RESPONSE,t))}let O;if(f!=="GET")return Mt(n,r,{status:405,statusText:"method not allowed",headers:{},config:t});try{O=SS(t.url,o==="blob",{Blob:t.env&&t.env.Blob})}catch(k){throw Y.from(k,Y.ERR_BAD_REQUEST,t)}return o==="text"?(O=O.toString(c),(!c||c==="utf8")&&(O=q.stripBOM(O))):o==="stream"&&(O=Te.Readable.from(O)),Mt(n,r,{data:O,status:200,statusText:"OK",headers:new Se,config:t})}if(sf.indexOf(_)===-1)return r(new Y("Unsupported protocol "+_,Y.ERR_BAD_REQUEST,t));const $=Se.from(t.headers).normalize();$.set("User-Agent","axios/"+na,!1);const{onUploadProgress:T,onDownloadProgress:U}=t,L=t.maxRate;let B,G;if(q.isSpecCompliantForm(s)){const O=$.getContentType(/boundary=([-_\w\d]{10,70})/i);s=RS(s,k=>{$.set(k)},{tag:`axios-${na}-boundary`,boundary:O&&O[1]||void 0})}else if(q.isFormData(s)&&q.isFunction(s.getHeaders)){if($.set(s.getHeaders()),!$.hasContentLength())try{const O=await xt.promisify(s.getLength).call(s);Number.isFinite(O)&&O>=0&&$.setContentLength(O)}catch{}}else if(q.isBlob(s)||q.isFile(s))s.size&&$.setContentType(s.type||"application/octet-stream"),$.setContentLength(s.size||0),s=Te.Readable.from(ov(s));else if(s&&!q.isStream(s)){if(!Buffer.isBuffer(s))if(q.isArrayBuffer(s))s=Buffer.from(new Uint8Array(s));else if(q.isString(s))s=Buffer.from(s,"utf-8");else return r(new Y("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",Y.ERR_BAD_REQUEST,t));if($.setContentLength(s.length,!1),t.maxBodyLength>-1&&s.length>t.maxBodyLength)return r(new Y("Request body larger than maxBodyLength limit",Y.ERR_BAD_REQUEST,t))}const D=q.toFiniteNumber($.getContentLength());q.isArray(L)?(B=L[0],G=L[1]):B=G=L,s&&(T||B)&&(q.isStream(s)||(s=Te.Readable.from(s,{objectMode:!1})),s=Te.pipeline([s,new tf({maxRate:q.toFiniteNumber(B)})],q.noop),T&&s.on("progress",of(s,ia(D,Ut(aa(T),!1,3)))));let V;if(t.auth){const O=t.auth.username||"",k=t.auth.password||"";V=O+":"+k}if(!V&&S.username){const O=S.username,k=S.password;V=O+":"+k}V&&$.delete("authorization");let A;try{A=Cc(S.pathname+S.search,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(O){const k=new Error(O.message);return k.config=t,k.url=t.url,k.exists=!0,r(k)}$.set("Accept-Encoding","gzip, compress, deflate"+(rf?", br":""),!1);const N={path:A,method:f,headers:$.toJSON(),agents:{http:t.httpAgent,https:t.httpsAgent},auth:V,protocol:_,family:d,beforeRedirect:MS,beforeRedirects:{},http2Options:a};!q.isUndefined(u)&&(N.lookup=u),t.socketPath?N.socketPath=t.socketPath:(N.hostname=S.hostname.startsWith("[")?S.hostname.slice(1,-1):S.hostname,N.port=S.port,cv(N,t.proxy,_+"//"+S.hostname+(S.port?":"+S.port:"")+N.path));let I;const z=qS.test(N.protocol);if(N.agent=z?t.httpsAgent:t.httpAgent,g?I=BS:t.transport?I=t.transport:t.maxRedirects===0?I=z?hc:mc:(t.maxRedirects&&(N.maxRedirects=t.maxRedirects),t.beforeRedirect&&(N.beforeRedirects.config=t.beforeRedirect),I=z?IS:CS),t.maxBodyLength>-1?N.maxBodyLength=t.maxBodyLength:N.maxBodyLength=1/0,t.insecureHTTPParser&&(N.insecureHTTPParser=t.insecureHTTPParser),h=I.request(N,function(k){if(h.destroyed)return;const j=[k],P=q.toFiniteNumber(k.headers["content-length"]);if(U||G){const W=new tf({maxRate:q.toFiniteNumber(G)});U&&W.on("progress",of(W,ia(P,Ut(aa(U),!0,3)))),j.push(W)}let E=k;const R=k.req||h;if(t.decompress!==!1&&k.headers["content-encoding"])switch((f==="HEAD"||k.statusCode===204)&&delete k.headers["content-encoding"],(k.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":j.push(st.createUnzip(af)),delete k.headers["content-encoding"];break;case"deflate":j.push(new AS),j.push(st.createUnzip(af)),delete k.headers["content-encoding"];break;case"br":rf&&(j.push(st.createBrotliDecompress(jS)),delete k.headers["content-encoding"])}E=j.length>1?Te.pipeline(j,q.noop):j[0];const F={status:k.statusCode,statusText:k.statusMessage,headers:new Se(k.headers),config:t,request:R};if(o==="stream")F.data=E,Mt(n,r,F);else{const W=[];let X=0;E.on("data",function(J){W.push(J),X+=J.length,t.maxContentLength>-1&&X>t.maxContentLength&&(v=!0,E.destroy(),b(new Y("maxContentLength size of "+t.maxContentLength+" exceeded",Y.ERR_BAD_RESPONSE,t,R)))}),E.on("aborted",function(){if(v)return;const J=new Y("stream has been aborted",Y.ERR_BAD_RESPONSE,t,R);E.destroy(J),r(J)}),E.on("error",function(J){h.destroyed||r(Y.from(J,null,t,R))}),E.on("end",function(){try{let J=W.length===1?W[0]:Buffer.concat(W);o!=="arraybuffer"&&(J=J.toString(c),(!c||c==="utf8")&&(J=q.stripBOM(J))),F.data=J}catch(J){return r(Y.from(J,null,t,F.request,F))}Mt(n,r,F)})}y.once("abort",W=>{E.destroyed||(E.emit("error",W),E.destroy())})}),y.once("abort",O=>{h.close?h.close():h.destroy(O)}),h.on("error",function(k){r(Y.from(k,null,t,h))}),h.on("socket",function(k){k.setKeepAlive(!0,1e3*60)}),t.timeout){const O=parseInt(t.timeout,10);if(Number.isNaN(O)){b(new Y("error trying to parse `config.timeout` to int",Y.ERR_BAD_OPTION_VALUE,t,h));return}h.setTimeout(O,function(){if(m)return;let j=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const P=t.transitional||ka;t.timeoutErrorMessage&&(j=t.timeoutErrorMessage),b(new Y(j,P.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,t,h))})}else h.setTimeout(0);if(q.isStream(s)){let O=!1,k=!1;s.on("end",()=>{O=!0}),s.once("error",j=>{k=!0,h.destroy(j)}),s.on("close",()=>{!O&&!k&&b(new gt("Request stream has been aborted",t,h))}),s.pipe(h)}else s&&h.write(s),h.end()})},KS=me.hasStandardBrowserEnv?((e,t)=>i=>(i=new URL(i,me.origin),e.protocol===i.protocol&&e.host===i.host&&(t||e.port===i.port)))(new URL(me.origin),me.navigator&&/(msie|trident)/i.test(me.navigator.userAgent)):()=>!0,GS=me.hasStandardBrowserEnv?{write(e,t,i,n,r,l,s){if(typeof document>"u")return;const u=[`${e}=${encodeURIComponent(t)}`];q.isNumber(i)&&u.push(`expires=${new Date(i).toUTCString()}`),q.isString(n)&&u.push(`path=${n}`),q.isString(r)&&u.push(`domain=${r}`),l===!0&&u.push("secure"),q.isString(s)&&u.push(`SameSite=${s}`),document.cookie=u.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}},lf=e=>e instanceof Se?{...e}:e;function yt(e,t){t=t||{};const i={};function n(p,a,o,c){return q.isPlainObject(p)&&q.isPlainObject(a)?q.merge.call({caseless:c},p,a):q.isPlainObject(a)?q.merge({},a):q.isArray(a)?a.slice():a}function r(p,a,o,c){if(q.isUndefined(a)){if(!q.isUndefined(p))return n(void 0,p,o,c)}else return n(p,a,o,c)}function l(p,a){if(!q.isUndefined(a))return n(void 0,a)}function s(p,a){if(q.isUndefined(a)){if(!q.isUndefined(p))return n(void 0,p)}else return n(void 0,a)}function u(p,a,o){if(o in t)return n(p,a);if(o in e)return n(void 0,p)}const d={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u,headers:(p,a,o)=>r(lf(p),lf(a),o,!0)};return q.forEach(Object.keys({...e,...t}),function(a){if(a==="__proto__"||a==="constructor"||a==="prototype")return;const o=q.hasOwnProp(d,a)?d[a]:r,c=o(e[a],t[a],a);q.isUndefined(c)&&o!==u||(i[a]=c)}),i}const lv=e=>{const t=yt({},e);let{data:i,withXSRFToken:n,xsrfHeaderName:r,xsrfCookieName:l,headers:s,auth:u}=t;if(t.headers=s=Se.from(s),t.url=Cc(qc(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),q.isFormData(i)){if(me.hasStandardBrowserEnv||me.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(q.isFunction(i.getHeaders)){const d=i.getHeaders(),p=["content-type","content-length"];Object.entries(d).forEach(([a,o])=>{p.includes(a.toLowerCase())&&s.set(a,o)})}}if(me.hasStandardBrowserEnv&&(n&&q.isFunction(n)&&(n=n(t)),n||n!==!1&&KS(t.url))){const d=r&&l&&GS.read(l);d&&s.set(r,d)}return t},HS=typeof XMLHttpRequest<"u",WS=HS&&function(e){return new Promise(function(i,n){const r=lv(e);let l=r.data;const s=Se.from(r.headers).normalize();let{responseType:u,onUploadProgress:d,onDownloadProgress:p}=r,a,o,c,f,m;function v(){f&&f(),m&&m(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let h=new XMLHttpRequest;h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout;function g(){if(!h)return;const b=Se.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),x={data:!u||u==="text"||u==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:b,config:e,request:h};Mt(function(_){i(_),v()},function(_){n(_),v()},x),h=null}"onloadend"in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(g)},h.onabort=function(){h&&(n(new Y("Request aborted",Y.ECONNABORTED,e,h)),h=null)},h.onerror=function(w){const x=w&&w.message?w.message:"Network Error",S=new Y(x,Y.ERR_NETWORK,e,h);S.event=w||null,n(S),h=null},h.ontimeout=function(){let w=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const x=r.transitional||ka;r.timeoutErrorMessage&&(w=r.timeoutErrorMessage),n(new Y(w,x.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,e,h)),h=null},l===void 0&&s.setContentType(null),"setRequestHeader"in h&&q.forEach(s.toJSON(),function(w,x){h.setRequestHeader(x,w)}),q.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),u&&u!=="json"&&(h.responseType=r.responseType),p&&([c,m]=Ut(p,!0),h.addEventListener("progress",c)),d&&h.upload&&([o,f]=Ut(d),h.upload.addEventListener("progress",o),h.upload.addEventListener("loadend",f)),(r.cancelToken||r.signal)&&(a=b=>{h&&(n(!b||b.type?new gt(null,e,h):b),h.abort(),h=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const y=sv(r.url);if(y&&me.protocols.indexOf(y)===-1){n(new Y("Unsupported protocol "+y+":",Y.ERR_BAD_REQUEST,e));return}h.send(l||null)})},YS=(e,t)=>{const{length:i}=e=e?e.filter(Boolean):[];if(t||i){let n=new AbortController,r;const l=function(p){if(!r){r=!0,u();const a=p instanceof Error?p:this.reason;n.abort(a instanceof Y?a:new gt(a instanceof Error?a.message:a))}};let s=t&&setTimeout(()=>{s=null,l(new Y(`timeout of ${t}ms exceeded`,Y.ETIMEDOUT))},t);const u=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(l):p.removeEventListener("abort",l)}),e=null)};e.forEach(p=>p.addEventListener("abort",l));const{signal:d}=n;return d.unsubscribe=()=>q.asap(u),d}},JS=function*(e,t){let i=e.byteLength;if(i<t){yield e;return}let n=0,r;for(;n<i;)r=n+t,yield e.slice(n,r),n=r},XS=async function*(e,t){for await(const i of QS(e))yield*JS(i,t)},QS=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:i,value:n}=await t.read();if(i)break;yield n}}finally{await t.cancel()}},uf=(e,t,i,n)=>{const r=XS(e,t);let l=0,s,u=d=>{s||(s=!0,n&&n(d))};return new ReadableStream({async pull(d){try{const{done:p,value:a}=await r.next();if(p){u(),d.close();return}let o=a.byteLength;if(i){let c=l+=o;i(c)}d.enqueue(new Uint8Array(a))}catch(p){throw u(p),p}},cancel(d){return u(d),r.return()}},{highWaterMark:2})},pf=64*1024,{isFunction:Ni}=q,ZS=(({Request:e,Response:t})=>({Request:e,Response:t}))(q.global),{ReadableStream:df,TextEncoder:ff}=q.global,mf=(e,...t)=>{try{return!!e(...t)}catch{return!1}},e_=e=>{e=q.merge.call({skipUndefined:!0},ZS,e);const{fetch:t,Request:i,Response:n}=e,r=t?Ni(t):typeof fetch=="function",l=Ni(i),s=Ni(n);if(!r)return!1;const u=r&&Ni(df),d=r&&(typeof ff=="function"?(m=>v=>m.encode(v))(new ff):async m=>new Uint8Array(await new i(m).arrayBuffer())),p=l&&u&&mf(()=>{let m=!1;const v=new i(me.origin,{body:new df,method:"POST",get duplex(){return m=!0,"half"}}).headers.has("Content-Type");return m&&!v}),a=s&&u&&mf(()=>q.isReadableStream(new n("").body)),o={stream:a&&(m=>m.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!o[m]&&(o[m]=(v,h)=>{let g=v&&v[m];if(g)return g.call(v);throw new Y(`Response type '${m}' is not supported`,Y.ERR_NOT_SUPPORT,h)})});const c=async m=>{if(m==null)return 0;if(q.isBlob(m))return m.size;if(q.isSpecCompliantForm(m))return(await new i(me.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(q.isArrayBufferView(m)||q.isArrayBuffer(m))return m.byteLength;if(q.isURLSearchParams(m)&&(m=m+""),q.isString(m))return(await d(m)).byteLength},f=async(m,v)=>{const h=q.toFiniteNumber(m.getContentLength());return h??c(v)};return async m=>{let{url:v,method:h,data:g,signal:y,cancelToken:b,timeout:w,onDownloadProgress:x,onUploadProgress:S,responseType:_,headers:$,withCredentials:T="same-origin",fetchOptions:U}=lv(m),L=t||fetch;_=_?(_+"").toLowerCase():"text";let B=YS([y,b&&b.toAbortSignal()],w),G=null;const D=B&&B.unsubscribe&&(()=>{B.unsubscribe()});let V;try{if(S&&p&&h!=="get"&&h!=="head"&&(V=await f($,g))!==0){let k=new i(v,{method:"POST",body:g,duplex:"half"}),j;if(q.isFormData(g)&&(j=k.headers.get("content-type"))&&$.setContentType(j),k.body){const[P,E]=ia(V,Ut(aa(S)));g=uf(k.body,pf,P,E)}}q.isString(T)||(T=T?"include":"omit");const A=l&&"credentials"in i.prototype,N={...U,signal:B,method:h.toUpperCase(),headers:$.normalize().toJSON(),body:g,duplex:"half",credentials:A?T:void 0};G=l&&new i(v,N);let I=await(l?L(G,U):L(v,N));const z=a&&(_==="stream"||_==="response");if(a&&(x||z&&D)){const k={};["status","statusText","headers"].forEach(R=>{k[R]=I[R]});const j=q.toFiniteNumber(I.headers.get("content-length")),[P,E]=x&&ia(j,Ut(aa(x),!0))||[];I=new n(uf(I.body,pf,P,()=>{E&&E(),D&&D()}),k)}_=_||"text";let O=await o[q.findKey(o,_)||"text"](I,m);return!z&&D&&D(),await new Promise((k,j)=>{Mt(k,j,{data:O,headers:Se.from(I.headers),status:I.status,statusText:I.statusText,config:m,request:G})})}catch(A){throw D&&D(),A&&A.name==="TypeError"&&/Load failed|fetch/i.test(A.message)?Object.assign(new Y("Network Error",Y.ERR_NETWORK,m,G,A&&A.response),{cause:A.cause||A}):Y.from(A,A&&A.code,m,G,A&&A.response)}}},t_=new Map,uv=e=>{let t=e&&e.env||{};const{fetch:i,Request:n,Response:r}=t,l=[n,r,i];let s=l.length,u=s,d,p,a=t_;for(;u--;)d=l[u],p=a.get(d),p===void 0&&a.set(d,p=u?new Map:e_(t)),a=p;return p};uv();const Lc={http:VS,xhr:WS,fetch:{get:uv}};q.forEach(Lc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const hf=e=>`- ${e}`,n_=e=>q.isFunction(e)||e===null||e===!1;function i_(e,t){e=q.isArray(e)?e:[e];const{length:i}=e;let n,r;const l={};for(let s=0;s<i;s++){n=e[s];let u;if(r=n,!n_(n)&&(r=Lc[(u=String(n)).toLowerCase()],r===void 0))throw new Y(`Unknown adapter '${u}'`);if(r&&(q.isFunction(r)||(r=r.get(t))))break;l[u||"#"+s]=r}if(!r){const s=Object.entries(l).map(([d,p])=>`adapter ${d} `+(p===!1?"is not supported by the environment":"is not available in the build"));let u=i?s.length>1?`since :
|
|
18
|
-
`+s.map(hf).join(`
|
|
19
|
-
`):" "+hf(s[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return r}const pv={getAdapter:i_,adapters:Lc};function io(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gt(null,e)}function vf(e){return io(e),e.headers=Se.from(e.headers),e.data=Ys.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),pv.getAdapter(e.adapter||wn.adapter,e)(e).then(function(n){return io(e),n.data=Ys.call(e,e.transformResponse,n),n.headers=Se.from(n.headers),n},function(n){return av(n)||(io(e),n&&n.response&&(n.response.data=Ys.call(e,e.transformResponse,n.response),n.response.headers=Se.from(n.response.headers))),Promise.reject(n)})}const Ra={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ra[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const gf={};Ra.transitional=function(t,i,n){function r(l,s){return"[Axios v"+na+"] Transitional option '"+l+"'"+s+(n?". "+n:"")}return(l,s,u)=>{if(t===!1)throw new Y(r(s," has been removed"+(i?" in "+i:"")),Y.ERR_DEPRECATED);return i&&!gf[s]&&(gf[s]=!0,console.warn(r(s," has been deprecated since v"+i+" and will be removed in the near future"))),t?t(l,s,u):!0}};Ra.spelling=function(t){return(i,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function a_(e,t,i){if(typeof e!="object")throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let r=n.length;for(;r-- >0;){const l=n[r],s=t[l];if(s){const u=e[l],d=u===void 0||s(u,l,e);if(d!==!0)throw new Y("option "+l+" must be "+d,Y.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new Y("Unknown option "+l,Y.ERR_BAD_OPTION)}}const Yi={assertOptions:a_,validators:Ra},Ie=Yi.validators;let ht=class{constructor(t){this.defaults=t||{},this.interceptors={request:new zd,response:new zd}}async request(t,i){try{return await this._request(t,i)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const l=r.stack?r.stack.replace(/^.+\n/,""):"";try{n.stack?l&&!String(n.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
20
|
-
`+l):n.stack=l}catch{}}throw n}}_request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=yt(this.defaults,i);const{transitional:n,paramsSerializer:r,headers:l}=i;n!==void 0&&Yi.assertOptions(n,{silentJSONParsing:Ie.transitional(Ie.boolean),forcedJSONParsing:Ie.transitional(Ie.boolean),clarifyTimeoutError:Ie.transitional(Ie.boolean),legacyInterceptorReqResOrdering:Ie.transitional(Ie.boolean)},!1),r!=null&&(q.isFunction(r)?i.paramsSerializer={serialize:r}:Yi.assertOptions(r,{encode:Ie.function,serialize:Ie.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),Yi.assertOptions(i,{baseUrl:Ie.spelling("baseURL"),withXsrfToken:Ie.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let s=l&&q.merge(l.common,l[i.method]);l&&q.forEach(["delete","get","head","post","put","patch","common"],m=>{delete l[m]}),i.headers=Se.concat(s,l);const u=[];let d=!0;this.interceptors.request.forEach(function(v){if(typeof v.runWhen=="function"&&v.runWhen(i)===!1)return;d=d&&v.synchronous;const h=i.transitional||ka;h&&h.legacyInterceptorReqResOrdering?u.unshift(v.fulfilled,v.rejected):u.push(v.fulfilled,v.rejected)});const p=[];this.interceptors.response.forEach(function(v){p.push(v.fulfilled,v.rejected)});let a,o=0,c;if(!d){const m=[vf.bind(this),void 0];for(m.unshift(...u),m.push(...p),c=m.length,a=Promise.resolve(i);o<c;)a=a.then(m[o++],m[o++]);return a}c=u.length;let f=i;for(;o<c;){const m=u[o++],v=u[o++];try{f=m(f)}catch(h){v.call(this,h);break}}try{a=vf.call(this,f)}catch(m){return Promise.reject(m)}for(o=0,c=p.length;o<c;)a=a.then(p[o++],p[o++]);return a}getUri(t){t=yt(this.defaults,t);const i=qc(t.baseURL,t.url,t.allowAbsoluteUrls);return Cc(i,t.params,t.paramsSerializer)}};q.forEach(["delete","get","head","options"],function(t){ht.prototype[t]=function(i,n){return this.request(yt(n||{},{method:t,url:i,data:(n||{}).data}))}});q.forEach(["post","put","patch"],function(t){function i(n){return function(l,s,u){return this.request(yt(u||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:l,data:s}))}}ht.prototype[t]=i(),ht.prototype[t+"Form"]=i(!0)});let r_=class dv{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(l){i=l});const n=this;this.promise.then(r=>{if(!n._listeners)return;let l=n._listeners.length;for(;l-- >0;)n._listeners[l](r);n._listeners=null}),this.promise.then=r=>{let l;const s=new Promise(u=>{n.subscribe(u),l=u}).then(r);return s.cancel=function(){n.unsubscribe(l)},s},t(function(l,s,u){n.reason||(n.reason=new gt(l,s,u),i(n.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 i=this._listeners.indexOf(t);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const t=new AbortController,i=n=>{t.abort(n)};return this.subscribe(i),t.signal.unsubscribe=()=>this.unsubscribe(i),t.signal}static source(){let t;return{token:new dv(function(r){t=r}),cancel:t}}};function s_(e){return function(i){return e.apply(null,i)}}function o_(e){return q.isObject(e)&&e.isAxiosError===!0}const sc={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,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity: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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(sc).forEach(([e,t])=>{sc[t]=e});function fv(e){const t=new ht(e),i=Ph(ht.prototype.request,t);return q.extend(i,ht.prototype,t,{allOwnKeys:!0}),q.extend(i,t,null,{allOwnKeys:!0}),i.create=function(r){return fv(yt(e,r))},i}const de=fv(wn);de.Axios=ht;de.CanceledError=gt;de.CancelToken=r_;de.isCancel=av;de.VERSION=na;de.toFormData=$a;de.AxiosError=Y;de.Cancel=de.CanceledError;de.all=function(t){return Promise.all(t)};de.spread=s_;de.isAxiosError=o_;de.mergeConfig=yt;de.AxiosHeaders=Se;de.formToJSON=e=>iv(q.isHTMLForm(e)?new FormData(e):e);de.getAdapter=pv.getAdapter;de.HttpStatusCode=sc;de.default=de;const{Axios:zE,AxiosError:BE,CanceledError:VE,isCancel:KE,CancelToken:GE,VERSION:HE,all:WE,Cancel:YE,isAxiosError:JE,spread:XE,toFormData:QE,AxiosHeaders:ZE,HttpStatusCode:e$,formToJSON:t$,getAdapter:n$,mergeConfig:i$}=de;function c_(){return`${tc()} ${nc()}`}function l_(e,t){Q.ipcMain.handle("authentication:github:login",async(i,{baseUrl:n,deviceCode:r,interval:l,expiresIn:s})=>{const u=new URL(`${n}/device-verify`);u.searchParams.set("device_code",r);const d=parseInt(l)*1e3+500;let p=parseInt(s)*1e3;const a=setInterval(async()=>{const c=await(await fetch(u)).json();c.error?p<=0&&clearInterval(a):(pw(c.access_token),uw(c.token_type),clearInterval(a),t(e)),p-=d},d)}),Q.ipcMain.handle("authentication:github:isLoggedIn",()=>{const i=tc(),n=nc();return i&&n}),Q.ipcMain.handle("authentication:github:userDetails",async()=>{const i="https://api.github.com/user",n={headers:{Authorization:c_()}},{data:{login:r,html_url:l,name:s,avatar_url:u}}=await de.get(i,n);return{profile:l,username:r,name:s,avatar:u}}),Q.ipcMain.handle("authentication:github:authorizationValue",()=>({tokenType:tc(),accessToken:nc()})),Q.ipcMain.handle("authentication:github:logout",()=>{fw(),dw()})}const Dc="tokenType",Mc="accessToken",Fc="refreshToken",Uc="expiryDate",zc="userId",u_={tokenType:{type:"string"},accessToken:{type:"string"},refreshToken:{type:"string"},expiryDate:{type:"number"},userId:{type:"string"}},Pe=new xa({name:"authentication-nextcloud-main",schema:u_});function oc(e,t){Pe.set(`${Dc}-${t}`,e)}function Ji(e,t){Pe.set(`${Mc}-${t}`,e)}function mv(e,t){Pe.set(`${Fc}-${t}`,e)}function hv(e,t){Pe.set(`${Uc}-${t}`,e)}function cc(e,t){Pe.set(`${zc}-${t}`,e)}function yf(e){return Pe.get(`${Dc}-${e}`)}function bf(e){return Pe.get(`${Mc}-${e}`)}function p_(e){return Pe.get(`${Fc}-${e}`)}function d_(e){return Pe.get(`${Uc}-${e}`)}function f_(e){return Pe.get(`${zc}-${e}`)}function m_(e){Pe.delete(`${Dc}-${e}`)}function h_(e){Pe.delete(`${Mc}-${e}`)}function v_(e){Pe.delete(`${Fc}-${e}`)}function g_(e){Pe.delete(`${Uc}-${e}`)}function y_(e){Pe.delete(`${zc}-${e}`)}const Bc="http://callback/";async function b_(e,t,i){const n=new URL(`${i}/token`);n.searchParams.set("base_url",t),n.searchParams.set("code",e),n.searchParams.set("redirect_uri",Bc);const r=await de.get(n.toString());oc(r.data.token_type,"oauth2"),Ji(r.data.access_token,"oauth2"),mv(r.data.refresh_token,"oauth2"),hv(Date.now()+(r.data.expires_in-10)*1e3,"oauth2"),cc(r.data.user_id,"oauth2")}function x_(e,t,i,n){e.webContents.session.webRequest.onBeforeRequest({urls:[`${Bc}*`]},async({url:r},l)=>{if(r.startsWith(n))l({cancel:!1});else{const s=new URL(r);await b_(s.searchParams.get("code"),i,n),ra.show(),t(ra),e?.close()}})}async function w_(e){const t=new Q.BrowserWindow({width:800,height:600,webPreferences:{nodeIntegration:!1}});return t.setMenu(null),await t.loadURL(e),t}let xf,ra;function S_(e,t){Q.ipcMain.handle("authentication:nextcloud:loginOauth2",async(i,{baseUrl:n,authenticationBaseUrl:r})=>{const l=new URL(`${r}/authorize`);l.searchParams.set("base_url",n),l.searchParams.set("redirect_uri",Bc),ra=e,xf=await w_(l.toString()),x_(xf,t,n,r),ra.hide()}),Q.ipcMain.handle("authentication:nextcloud:loginBasic",async(i,{username:n,password:r})=>{Ji(btoa(`${n}:${r}`),"basic"),oc("Basic","basic"),cc(n,"basic"),t(e)}),Q.ipcMain.handle("authentication:nextcloud:loginFlow",async(i,{baseUrl:n})=>{const r=`${n}/index.php/login/v2`,s=await(await fetch(r,{method:"POST"})).json();Q.shell.openExternal(s.login);const u=setInterval(async()=>{const d=await fetch(s.poll.endpoint,{method:"POST",body:new URLSearchParams({token:s.poll.token}),headers:{"Content-Type":"application/x-www-form-urlencoded"}});if(d.ok){const p=await d.json();Ji(btoa(`${p.loginName}:${p.appPassword}`),"login-flow"),oc("Basic","login-flow"),cc(p.loginName,"login-flow"),clearInterval(u),t(e)}},3e3)}),Q.ipcMain.handle("authentication:nextcloud:isLoggedIn",async(i,{mode:n})=>{const r=yf(n),l=bf(n);return r&&l}),Q.ipcMain.handle("authentication:nextcloud:userDetails",async(i,{baseUrl:n,mode:r})=>{const l=f_(r);return{profile:`${n}/u/${l}`,username:l,name:l,avatar:`${n}/avatar/${l}/64`}}),Q.ipcMain.handle("authentication:nextcloud:authorizationValue",async(i,{mode:n})=>({tokenType:yf(n),accessToken:bf(n)})),Q.ipcMain.handle("authentication:nextcloud:logout",async(i,{mode:n})=>{h_(n),m_(n),v_(n),g_(n),y_(n)}),Q.ipcMain.handle("authentication:nextcloud:refreshToken",async(i,{baseUrl:n,authenticationBaseUrl:r})=>{if(Date.now()>d_("oauth2")){const l=new URL(`${r}/refresh`);l.searchParams.set("base_url",n),l.searchParams.set("refresh_token",p_("oauth2"));const{data:{access_token:s,refresh_token:u,expires_in:d}}=await de.get(l.toString());Ji(s,"oauth2"),mv(u,"oauth2"),hv(Date.now()+(d-10)*1e3,"oauth2")}})}const Vc="tokenType",Kc="accessToken",__={tokenType:{type:"string"},accessToken:{type:"string"}},Kt=new xa({name:"authentication-xwiki-main",schema:__});function E_(e){Kt.set(Vc,e)}function $_(e){Kt.set(Kc,e)}function lc(){return Kt.get(Vc)}function uc(){return Kt.get(Kc)}function k_(){Kt.delete(Vc)}function R_(){Kt.delete(Kc)}async function A_(e,t){const n=await(await fetch(e,{headers:{Accept:"application/json",Authorization:t}})).json();return{profile:n.xwikiAbsoluteUrl,username:n.id,name:n.displayName,avatar:n.avatarUrl}}const Gc="http://callback/",vv="abcd";async function T_(e,t){const i=`${t}/oidc/token`,n={grant_type:"authorization_code",code:e,redirect_uri:Gc,client_id:vv};return de.post(i,n,{url:i,headers:{"Content-Type":"application/x-www-form-urlencoded"}})}function O_(e,t,i){e.webContents.session.webRequest.onBeforeRequest({urls:[`${Gc}*`]},async({url:n},r)=>{if(n.startsWith(i))r({cancel:!1});else{const l=new URL(n),s=await T_(l.searchParams.get("code"),i);E_(s.data.token_type),$_(s.data.access_token),sa.show(),t(sa),e?.close()}})}async function P_(e){const t=new Q.BrowserWindow({width:800,height:600,webPreferences:{nodeIntegration:!1}});return t.setMenu(null),await t.loadURL(e),t}let wf,sa;function N_(){return`${lc()} ${uc()}`}function j_(e,t){Q.ipcMain.handle("authentication:xwiki:login",async(i,{oidcUrl:n})=>{const r=new URL(`${n}/oidc/authorization`);r.searchParams.set("response_type","code"),r.searchParams.set("client_id",vv),r.searchParams.set("redirect_uri",Gc),sa=e,wf=await P_(r.toString()),O_(wf,t,n),sa.hide()}),Q.ipcMain.handle("authentication:xwiki:isLoggedIn",()=>{const i=lc(),n=uc();return i&&n}),Q.ipcMain.handle("authentication:xwiki:userDetails",async(i,{baseURL:n})=>A_(`${n}/rest/wikis/xwiki/user`,N_())),Q.ipcMain.handle("authentication:xwiki:authorizationValue",()=>({tokenType:lc(),accessToken:uc()})),Q.ipcMain.handle("authentication:xwiki:logout",()=>{R_(),k_()})}const pc="cristalfs";var ce={},ao={},ro={},ye={},Sf;function oe(){if(Sf)return ye;Sf=1;const e=Symbol.for("yaml.alias"),t=Symbol.for("yaml.document"),i=Symbol.for("yaml.map"),n=Symbol.for("yaml.pair"),r=Symbol.for("yaml.scalar"),l=Symbol.for("yaml.seq"),s=Symbol.for("yaml.node.type"),u=h=>!!h&&typeof h=="object"&&h[s]===e,d=h=>!!h&&typeof h=="object"&&h[s]===t,p=h=>!!h&&typeof h=="object"&&h[s]===i,a=h=>!!h&&typeof h=="object"&&h[s]===n,o=h=>!!h&&typeof h=="object"&&h[s]===r,c=h=>!!h&&typeof h=="object"&&h[s]===l;function f(h){if(h&&typeof h=="object")switch(h[s]){case i:case l:return!0}return!1}function m(h){if(h&&typeof h=="object")switch(h[s]){case e:case i:case r:case l:return!0}return!1}const v=h=>(o(h)||f(h))&&!!h.anchor;return ye.ALIAS=e,ye.DOC=t,ye.MAP=i,ye.NODE_TYPE=s,ye.PAIR=n,ye.SCALAR=r,ye.SEQ=l,ye.hasAnchor=v,ye.isAlias=u,ye.isCollection=f,ye.isDocument=d,ye.isMap=p,ye.isNode=m,ye.isPair=a,ye.isScalar=o,ye.isSeq=c,ye}var ji={},_f;function Aa(){if(_f)return ji;_f=1;var e=oe();const t=Symbol("break visit"),i=Symbol("skip children"),n=Symbol("remove node");function r(o,c){const f=d(c);e.isDocument(o)?l(null,o.contents,f,Object.freeze([o]))===n&&(o.contents=null):l(null,o,f,Object.freeze([]))}r.BREAK=t,r.SKIP=i,r.REMOVE=n;function l(o,c,f,m){const v=p(o,c,f,m);if(e.isNode(v)||e.isPair(v))return a(o,m,v),l(o,v,f,m);if(typeof v!="symbol"){if(e.isCollection(c)){m=Object.freeze(m.concat(c));for(let h=0;h<c.items.length;++h){const g=l(h,c.items[h],f,m);if(typeof g=="number")h=g-1;else{if(g===t)return t;g===n&&(c.items.splice(h,1),h-=1)}}}else if(e.isPair(c)){m=Object.freeze(m.concat(c));const h=l("key",c.key,f,m);if(h===t)return t;h===n&&(c.key=null);const g=l("value",c.value,f,m);if(g===t)return t;g===n&&(c.value=null)}}return v}async function s(o,c){const f=d(c);e.isDocument(o)?await u(null,o.contents,f,Object.freeze([o]))===n&&(o.contents=null):await u(null,o,f,Object.freeze([]))}s.BREAK=t,s.SKIP=i,s.REMOVE=n;async function u(o,c,f,m){const v=await p(o,c,f,m);if(e.isNode(v)||e.isPair(v))return a(o,m,v),u(o,v,f,m);if(typeof v!="symbol"){if(e.isCollection(c)){m=Object.freeze(m.concat(c));for(let h=0;h<c.items.length;++h){const g=await u(h,c.items[h],f,m);if(typeof g=="number")h=g-1;else{if(g===t)return t;g===n&&(c.items.splice(h,1),h-=1)}}}else if(e.isPair(c)){m=Object.freeze(m.concat(c));const h=await u("key",c.key,f,m);if(h===t)return t;h===n&&(c.key=null);const g=await u("value",c.value,f,m);if(g===t)return t;g===n&&(c.value=null)}}return v}function d(o){return typeof o=="object"&&(o.Collection||o.Node||o.Value)?Object.assign({Alias:o.Node,Map:o.Node,Scalar:o.Node,Seq:o.Node},o.Value&&{Map:o.Value,Scalar:o.Value,Seq:o.Value},o.Collection&&{Map:o.Collection,Seq:o.Collection},o):o}function p(o,c,f,m){if(typeof f=="function")return f(o,c,m);if(e.isMap(c))return f.Map?.(o,c,m);if(e.isSeq(c))return f.Seq?.(o,c,m);if(e.isPair(c))return f.Pair?.(o,c,m);if(e.isScalar(c))return f.Scalar?.(o,c,m);if(e.isAlias(c))return f.Alias?.(o,c,m)}function a(o,c,f){const m=c[c.length-1];if(e.isCollection(m))m.items[o]=f;else if(e.isPair(m))o==="key"?m.key=f:m.value=f;else if(e.isDocument(m))m.contents=f;else{const v=e.isAlias(m)?"alias":"scalar";throw new Error(`Cannot replace node with ${v} parent`)}}return ji.visit=r,ji.visitAsync=s,ji}var Ef;function gv(){if(Ef)return ro;Ef=1;var e=oe(),t=Aa();const i={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},n=l=>l.replace(/[!,[\]{}]/g,s=>i[s]);class r{constructor(s,u){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},r.defaultYaml,s),this.tags=Object.assign({},r.defaultTags,u)}clone(){const s=new r(this.yaml,this.tags);return s.docStart=this.docStart,s}atDocument(){const s=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 s}add(s,u){this.atNextDocument&&(this.yaml={explicit:r.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},r.defaultTags),this.atNextDocument=!1);const d=s.trim().split(/[ \t]+/),p=d.shift();switch(p){case"%TAG":{if(d.length!==2&&(u(0,"%TAG directive should contain exactly two parts"),d.length<2))return!1;const[a,o]=d;return this.tags[a]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,d.length!==1)return u(0,"%YAML directive should contain exactly one part"),!1;const[a]=d;if(a==="1.1"||a==="1.2")return this.yaml.version=a,!0;{const o=/^\d+\.\d+$/.test(a);return u(6,`Unsupported YAML version ${a}`,o),!1}}default:return u(0,`Unknown directive ${p}`,!0),!1}}tagName(s,u){if(s==="!")return"!";if(s[0]!=="!")return u(`Not a valid tag: ${s}`),null;if(s[1]==="<"){const o=s.slice(2,-1);return o==="!"||o==="!!"?(u(`Verbatim tags aren't resolved, so ${s} is invalid.`),null):(s[s.length-1]!==">"&&u("Verbatim tags must end with a >"),o)}const[,d,p]=s.match(/^(.*!)([^!]*)$/s);p||u(`The ${s} tag has no suffix`);const a=this.tags[d];if(a)try{return a+decodeURIComponent(p)}catch(o){return u(String(o)),null}return d==="!"?s:(u(`Could not resolve tag: ${s}`),null)}tagString(s){for(const[u,d]of Object.entries(this.tags))if(s.startsWith(d))return u+n(s.substring(d.length));return s[0]==="!"?s:`!<${s}>`}toString(s){const u=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],d=Object.entries(this.tags);let p;if(s&&d.length>0&&e.isNode(s.contents)){const a={};t.visit(s.contents,(o,c)=>{e.isNode(c)&&c.tag&&(a[c.tag]=!0)}),p=Object.keys(a)}else p=[];for(const[a,o]of d)a==="!!"&&o==="tag:yaml.org,2002:"||(!s||p.some(c=>c.startsWith(o)))&&u.push(`%TAG ${a} ${o}`);return u.join(`
|
|
21
|
-
`)}}return r.defaultYaml={explicit:!1,version:"1.2"},r.defaultTags={"!!":"tag:yaml.org,2002:"},ro.Directives=r,ro}var so={},oo={},Pt={},$f;function Hc(){if($f)return Pt;$f=1;var e=oe(),t=Aa();function i(s){if(/[\x00-\x19\s,[\]{}]/.test(s)){const d=`Anchor must not contain whitespace or control characters: ${JSON.stringify(s)}`;throw new Error(d)}return!0}function n(s){const u=new Set;return t.visit(s,{Value(d,p){p.anchor&&u.add(p.anchor)}}),u}function r(s,u){for(let d=1;;++d){const p=`${s}${d}`;if(!u.has(p))return p}}function l(s,u){const d=[],p=new Map;let a=null;return{onAnchor:o=>{d.push(o),a??(a=n(s));const c=r(u,a);return a.add(c),c},setAnchors:()=>{for(const o of d){const c=p.get(o);if(typeof c=="object"&&c.anchor&&(e.isScalar(c.node)||e.isCollection(c.node)))c.node.anchor=c.anchor;else{const f=new Error("Failed to resolve repeated object (this should not happen)");throw f.source=o,f}}},sourceObjects:p}}return Pt.anchorIsValid=i,Pt.anchorNames=n,Pt.createNodeAnchors=l,Pt.findNewAnchor=r,Pt}var co={},lo={},kf;function yv(){if(kf)return lo;kf=1;function e(t,i,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let l=0,s=r.length;l<s;++l){const u=r[l],d=e(t,r,String(l),u);d===void 0?delete r[l]:d!==u&&(r[l]=d)}else if(r instanceof Map)for(const l of Array.from(r.keys())){const s=r.get(l),u=e(t,r,l,s);u===void 0?r.delete(l):u!==s&&r.set(l,u)}else if(r instanceof Set)for(const l of Array.from(r)){const s=e(t,r,l,l);s===void 0?r.delete(l):s!==l&&(r.delete(l),r.add(s))}else for(const[l,s]of Object.entries(r)){const u=e(t,r,l,s);u===void 0?delete r[l]:u!==s&&(r[l]=u)}return t.call(i,n,r)}return lo.applyReviver=e,lo}var uo={},Rf;function wt(){if(Rf)return uo;Rf=1;var e=oe();function t(i,n,r){if(Array.isArray(i))return i.map((l,s)=>t(l,String(s),r));if(i&&typeof i.toJSON=="function"){if(!r||!e.hasAnchor(i))return i.toJSON(n,r);const l={aliasCount:0,count:1,res:void 0};r.anchors.set(i,l),r.onCreate=u=>{l.res=u,delete r.onCreate};const s=i.toJSON(n,r);return r.onCreate&&r.onCreate(s),s}return typeof i=="bigint"&&!r?.keep?Number(i):i}return uo.toJS=t,uo}var Af;function Wc(){if(Af)return co;Af=1;var e=yv(),t=oe(),i=wt();class n{constructor(l){Object.defineProperty(this,t.NODE_TYPE,{value:l})}clone(){const l=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(l.range=this.range.slice()),l}toJS(l,{mapAsMap:s,maxAliasCount:u,onAnchor:d,reviver:p}={}){if(!t.isDocument(l))throw new TypeError("A document argument is required");const a={anchors:new Map,doc:l,keep:!0,mapAsMap:s===!0,mapKeyWarned:!1,maxAliasCount:typeof u=="number"?u:100},o=i.toJS(this,"",a);if(typeof d=="function")for(const{count:c,res:f}of a.anchors.values())d(f,c);return typeof p=="function"?e.applyReviver(p,{"":o},"",o):o}}return co.NodeBase=n,co}var Tf;function Ta(){if(Tf)return oo;Tf=1;var e=Hc(),t=Aa(),i=oe(),n=Wc(),r=wt();let l=class extends n.NodeBase{constructor(d){super(i.ALIAS),this.source=d,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(d,p){let a;p?.aliasResolveCache?a=p.aliasResolveCache:(a=[],t.visit(d,{Node:(c,f)=>{(i.isAlias(f)||i.hasAnchor(f))&&a.push(f)}}),p&&(p.aliasResolveCache=a));let o;for(const c of a){if(c===this)break;c.anchor===this.source&&(o=c)}return o}toJSON(d,p){if(!p)return{source:this.source};const{anchors:a,doc:o,maxAliasCount:c}=p,f=this.resolve(o,p);if(!f){const v=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(v)}let m=a.get(f);if(m||(r.toJS(f,null,p),m=a.get(f)),m?.res===void 0){const v="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(v)}if(c>=0&&(m.count+=1,m.aliasCount===0&&(m.aliasCount=s(o,f,a)),m.count*m.aliasCount>c)){const v="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(v)}return m.res}toString(d,p,a){const o=`*${this.source}`;if(d){if(e.anchorIsValid(this.source),d.options.verifyAliasOrder&&!d.anchors.has(this.source)){const c=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(c)}if(d.implicitKey)return`${o} `}return o}};function s(u,d,p){if(i.isAlias(d)){const a=d.resolve(u),o=p&&a&&p.get(a);return o?o.count*o.aliasCount:0}else if(i.isCollection(d)){let a=0;for(const o of d.items){const c=s(u,o,p);c>a&&(a=c)}return a}else if(i.isPair(d)){const a=s(u,d.key,p),o=s(u,d.value,p);return Math.max(a,o)}return 1}return oo.Alias=l,oo}var tn={},po={},Ci={},Of;function ge(){if(Of)return Ci;Of=1;var e=oe(),t=Wc(),i=wt();const n=l=>!l||typeof l!="function"&&typeof l!="object";let r=class extends t.NodeBase{constructor(s){super(e.SCALAR),this.value=s}toJSON(s,u){return u?.keep?this.value:i.toJS(this.value,s,u)}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",Ci.Scalar=r,Ci.isScalarValue=n,Ci}var Pf;function Oa(){if(Pf)return po;Pf=1;var e=Ta(),t=oe(),i=ge();const n="tag:yaml.org,2002:";function r(s,u,d){if(u){const p=d.filter(o=>o.tag===u),a=p.find(o=>!o.format)??p[0];if(!a)throw new Error(`Tag ${u} not found`);return a}return d.find(p=>p.identify?.(s)&&!p.format)}function l(s,u,d){if(t.isDocument(s)&&(s=s.contents),t.isNode(s))return s;if(t.isPair(s)){const g=d.schema[t.MAP].createNode?.(d.schema,null,d);return g.items.push(s),g}(s instanceof String||s instanceof Number||s instanceof Boolean||typeof BigInt<"u"&&s instanceof BigInt)&&(s=s.valueOf());const{aliasDuplicateObjects:p,onAnchor:a,onTagObj:o,schema:c,sourceObjects:f}=d;let m;if(p&&s&&typeof s=="object"){if(m=f.get(s),m)return m.anchor??(m.anchor=a(s)),new e.Alias(m.anchor);m={anchor:null,node:null},f.set(s,m)}u?.startsWith("!!")&&(u=n+u.slice(2));let v=r(s,u,c.tags);if(!v){if(s&&typeof s.toJSON=="function"&&(s=s.toJSON()),!s||typeof s!="object"){const g=new i.Scalar(s);return m&&(m.node=g),g}v=s instanceof Map?c[t.MAP]:Symbol.iterator in Object(s)?c[t.SEQ]:c[t.MAP]}o&&(o(v),delete d.onTagObj);const h=v?.createNode?v.createNode(d.schema,s,d):typeof v?.nodeClass?.from=="function"?v.nodeClass.from(d.schema,s,d):new i.Scalar(s);return u?h.tag=u:v.default||(h.tag=v.tag),m&&(m.node=h),h}return po.createNode=l,po}var Nf;function Yc(){if(Nf)return tn;Nf=1;var e=Oa(),t=oe(),i=Wc();function n(s,u,d){let p=d;for(let a=u.length-1;a>=0;--a){const o=u[a];if(typeof o=="number"&&Number.isInteger(o)&&o>=0){const c=[];c[o]=p,p=c}else p=new Map([[o,p]])}return e.createNode(p,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:s,sourceObjects:new Map})}const r=s=>s==null||typeof s=="object"&&!!s[Symbol.iterator]().next().done;let l=class extends i.NodeBase{constructor(u,d){super(u),Object.defineProperty(this,"schema",{value:d,configurable:!0,enumerable:!1,writable:!0})}clone(u){const d=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return u&&(d.schema=u),d.items=d.items.map(p=>t.isNode(p)||t.isPair(p)?p.clone(u):p),this.range&&(d.range=this.range.slice()),d}addIn(u,d){if(r(u))this.add(d);else{const[p,...a]=u,o=this.get(p,!0);if(t.isCollection(o))o.addIn(a,d);else if(o===void 0&&this.schema)this.set(p,n(this.schema,a,d));else throw new Error(`Expected YAML collection at ${p}. Remaining path: ${a}`)}}deleteIn(u){const[d,...p]=u;if(p.length===0)return this.delete(d);const a=this.get(d,!0);if(t.isCollection(a))return a.deleteIn(p);throw new Error(`Expected YAML collection at ${d}. Remaining path: ${p}`)}getIn(u,d){const[p,...a]=u,o=this.get(p,!0);return a.length===0?!d&&t.isScalar(o)?o.value:o:t.isCollection(o)?o.getIn(a,d):void 0}hasAllNullValues(u){return this.items.every(d=>{if(!t.isPair(d))return!1;const p=d.value;return p==null||u&&t.isScalar(p)&&p.value==null&&!p.commentBefore&&!p.comment&&!p.tag})}hasIn(u){const[d,...p]=u;if(p.length===0)return this.has(d);const a=this.get(d,!0);return t.isCollection(a)?a.hasIn(p):!1}setIn(u,d){const[p,...a]=u;if(a.length===0)this.set(p,d);else{const o=this.get(p,!0);if(t.isCollection(o))o.setIn(a,d);else if(o===void 0&&this.schema)this.set(p,n(this.schema,a,d));else throw new Error(`Expected YAML collection at ${p}. Remaining path: ${a}`)}}};return tn.Collection=l,tn.collectionFromPath=n,tn.isEmptyPath=r,tn}var Ii={},fo={},qi={},nn={},jf;function Pa(){if(jf)return nn;jf=1;const e=n=>n.replace(/^(?!$)(?: $)?/gm,"#");function t(n,r){return/^\n+$/.test(n)?n.substring(1):r?n.replace(/^(?! *$)/gm,r):n}const i=(n,r,l)=>n.endsWith(`
|
|
22
|
-
`)?t(l,r):l.includes(`
|
|
23
|
-
`)?`
|
|
24
|
-
`+t(l,r):(n.endsWith(" ")?"":" ")+l;return nn.indentComment=t,nn.lineComment=i,nn.stringifyComment=e,nn}var mo={},Nt={},Cf;function C_(){if(Cf)return Nt;Cf=1;const e="flow",t="block",i="quoted";function n(l,s,u="flow",{indentAtStart:d,lineWidth:p=80,minContentWidth:a=20,onFold:o,onOverflow:c}={}){if(!p||p<0)return l;p<a&&(a=0);const f=Math.max(1+a,1+p-s.length);if(l.length<=f)return l;const m=[],v={};let h=p-s.length;typeof d=="number"&&(d>p-Math.max(2,a)?m.push(0):h=p-d);let g,y,b=!1,w=-1,x=-1,S=-1;u===t&&(w=r(l,w,s.length),w!==-1&&(h=w+f));for(let $;$=l[w+=1];){if(u===i&&$==="\\"){switch(x=w,l[w+1]){case"x":w+=3;break;case"u":w+=5;break;case"U":w+=9;break;default:w+=1}S=w}if($===`
|
|
25
|
-
`)u===t&&(w=r(l,w,s.length)),h=w+s.length+f,g=void 0;else{if($===" "&&y&&y!==" "&&y!==`
|
|
26
|
-
`&&y!==" "){const T=l[w+1];T&&T!==" "&&T!==`
|
|
27
|
-
`&&T!==" "&&(g=w)}if(w>=h)if(g)m.push(g),h=g+f,g=void 0;else if(u===i){for(;y===" "||y===" ";)y=$,$=l[w+=1],b=!0;const T=w>S+1?w-2:x-1;if(v[T])return l;m.push(T),v[T]=!0,h=T+f,g=void 0}else b=!0}y=$}if(b&&c&&c(),m.length===0)return l;o&&o();let _=l.slice(0,m[0]);for(let $=0;$<m.length;++$){const T=m[$],U=m[$+1]||l.length;T===0?_=`
|
|
28
|
-
${s}${l.slice(0,U)}`:(u===i&&v[T]&&(_+=`${l[T]}\\`),_+=`
|
|
29
|
-
${s}${l.slice(T+1,U)}`)}return _}function r(l,s,u){let d=s,p=s+1,a=l[p];for(;a===" "||a===" ";)if(s<p+u)a=l[++s];else{do a=l[++s];while(a&&a!==`
|
|
30
|
-
`);d=s,p=s+1,a=l[p]}return d}return Nt.FOLD_BLOCK=t,Nt.FOLD_FLOW=e,Nt.FOLD_QUOTED=i,Nt.foldFlowLines=n,Nt}var If;function Na(){if(If)return mo;If=1;var e=ge(),t=C_();const i=(c,f)=>({indentAtStart:f?c.indent.length:c.indentAtStart,lineWidth:c.options.lineWidth,minContentWidth:c.options.minContentWidth}),n=c=>/^(%|---|\.\.\.)/m.test(c);function r(c,f,m){if(!f||f<0)return!1;const v=f-m,h=c.length;if(h<=v)return!1;for(let g=0,y=0;g<h;++g)if(c[g]===`
|
|
31
|
-
`){if(g-y>v)return!0;if(y=g+1,h-y<=v)return!1}return!0}function l(c,f){const m=JSON.stringify(c);if(f.options.doubleQuotedAsJSON)return m;const{implicitKey:v}=f,h=f.options.doubleQuotedMinMultiLineLength,g=f.indent||(n(c)?" ":"");let y="",b=0;for(let w=0,x=m[w];x;x=m[++w])if(x===" "&&m[w+1]==="\\"&&m[w+2]==="n"&&(y+=m.slice(b,w)+"\\ ",w+=1,b=w,x="\\"),x==="\\")switch(m[w+1]){case"u":{y+=m.slice(b,w);const S=m.substr(w+2,4);switch(S){case"0000":y+="\\0";break;case"0007":y+="\\a";break;case"000b":y+="\\v";break;case"001b":y+="\\e";break;case"0085":y+="\\N";break;case"00a0":y+="\\_";break;case"2028":y+="\\L";break;case"2029":y+="\\P";break;default:S.substr(0,2)==="00"?y+="\\x"+S.substr(2):y+=m.substr(w,6)}w+=5,b=w+1}break;case"n":if(v||m[w+2]==='"'||m.length<h)w+=1;else{for(y+=m.slice(b,w)+`
|
|
32
|
-
|
|
33
|
-
`;m[w+2]==="\\"&&m[w+3]==="n"&&m[w+4]!=='"';)y+=`
|
|
34
|
-
`,w+=2;y+=g,m[w+2]===" "&&(y+="\\"),w+=1,b=w+1}break;default:w+=1}return y=b?y+m.slice(b):m,v?y:t.foldFlowLines(y,g,t.FOLD_QUOTED,i(f,!1))}function s(c,f){if(f.options.singleQuote===!1||f.implicitKey&&c.includes(`
|
|
35
|
-
`)||/[ \t]\n|\n[ \t]/.test(c))return l(c,f);const m=f.indent||(n(c)?" ":""),v="'"+c.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
36
|
-
${m}`)+"'";return f.implicitKey?v:t.foldFlowLines(v,m,t.FOLD_FLOW,i(f,!1))}function u(c,f){const{singleQuote:m}=f.options;let v;if(m===!1)v=l;else{const h=c.includes('"'),g=c.includes("'");h&&!g?v=s:g&&!h?v=l:v=m?s:l}return v(c,f)}let d;try{d=new RegExp(`(^|(?<!
|
|
37
|
-
))
|
|
38
|
-
+(?!
|
|
39
|
-
|$)`,"g")}catch{d=/\n+(?!\n|$)/g}function p({comment:c,type:f,value:m},v,h,g){const{blockQuote:y,commentString:b,lineWidth:w}=v.options;if(!y||/\n[\t ]+$/.test(m))return u(m,v);const x=v.indent||(v.forceBlockIndent||n(m)?" ":""),S=y==="literal"?!0:y==="folded"||f===e.Scalar.BLOCK_FOLDED?!1:f===e.Scalar.BLOCK_LITERAL?!0:!r(m,w,x.length);if(!m)return S?`|
|
|
40
|
-
`:`>
|
|
41
|
-
`;let _,$;for($=m.length;$>0;--$){const N=m[$-1];if(N!==`
|
|
42
|
-
`&&N!==" "&&N!==" ")break}let T=m.substring($);const U=T.indexOf(`
|
|
43
|
-
`);U===-1?_="-":m===T||U!==T.length-1?(_="+",g&&g()):_="",T&&(m=m.slice(0,-T.length),T[T.length-1]===`
|
|
44
|
-
`&&(T=T.slice(0,-1)),T=T.replace(d,`$&${x}`));let L=!1,B,G=-1;for(B=0;B<m.length;++B){const N=m[B];if(N===" ")L=!0;else if(N===`
|
|
45
|
-
`)G=B;else break}let D=m.substring(0,G<B?G+1:B);D&&(m=m.substring(D.length),D=D.replace(/\n+/g,`$&${x}`));let A=(L?x?"2":"1":"")+_;if(c&&(A+=" "+b(c.replace(/ ?[\r\n]+/g," ")),h&&h()),!S){const N=m.replace(/\n+/g,`
|
|
46
|
-
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${x}`);let I=!1;const z=i(v,!0);y!=="folded"&&f!==e.Scalar.BLOCK_FOLDED&&(z.onOverflow=()=>{I=!0});const O=t.foldFlowLines(`${D}${N}${T}`,x,t.FOLD_BLOCK,z);if(!I)return`>${A}
|
|
47
|
-
${x}${O}`}return m=m.replace(/\n+/g,`$&${x}`),`|${A}
|
|
48
|
-
${x}${D}${m}${T}`}function a(c,f,m,v){const{type:h,value:g}=c,{actualString:y,implicitKey:b,indent:w,indentStep:x,inFlow:S}=f;if(b&&g.includes(`
|
|
49
|
-
`)||S&&/[[\]{},]/.test(g))return u(g,f);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(g))return b||S||!g.includes(`
|
|
50
|
-
`)?u(g,f):p(c,f,m,v);if(!b&&!S&&h!==e.Scalar.PLAIN&&g.includes(`
|
|
51
|
-
`))return p(c,f,m,v);if(n(g)){if(w==="")return f.forceBlockIndent=!0,p(c,f,m,v);if(b&&w===x)return u(g,f)}const _=g.replace(/\n+/g,`$&
|
|
52
|
-
${w}`);if(y){const $=L=>L.default&&L.tag!=="tag:yaml.org,2002:str"&&L.test?.test(_),{compat:T,tags:U}=f.doc.schema;if(U.some($)||T?.some($))return u(g,f)}return b?_:t.foldFlowLines(_,w,t.FOLD_FLOW,i(f,!1))}function o(c,f,m,v){const{implicitKey:h,inFlow:g}=f,y=typeof c.value=="string"?c:Object.assign({},c,{value:String(c.value)});let{type:b}=c;b!==e.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(y.value)&&(b=e.Scalar.QUOTE_DOUBLE);const w=S=>{switch(S){case e.Scalar.BLOCK_FOLDED:case e.Scalar.BLOCK_LITERAL:return h||g?u(y.value,f):p(y,f,m,v);case e.Scalar.QUOTE_DOUBLE:return l(y.value,f);case e.Scalar.QUOTE_SINGLE:return s(y.value,f);case e.Scalar.PLAIN:return a(y,f,m,v);default:return null}};let x=w(b);if(x===null){const{defaultKeyType:S,defaultStringType:_}=f.options,$=h&&S||_;if(x=w($),x===null)throw new Error(`Unsupported default string type ${$}`)}return x}return mo.stringifyString=o,mo}var qf;function ja(){if(qf)return qi;qf=1;var e=Hc(),t=oe(),i=Pa(),n=Na();function r(d,p){const a=Object.assign({blockQuote:!0,commentString:i.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},d.schema.toStringOptions,p);let o;switch(a.collectionStyle){case"block":o=!1;break;case"flow":o=!0;break;default:o=null}return{anchors:new Set,doc:d,flowCollectionPadding:a.flowCollectionPadding?" ":"",indent:"",indentStep:typeof a.indent=="number"?" ".repeat(a.indent):" ",inFlow:o,options:a}}function l(d,p){if(p.tag){const c=d.filter(f=>f.tag===p.tag);if(c.length>0)return c.find(f=>f.format===p.format)??c[0]}let a,o;if(t.isScalar(p)){o=p.value;let c=d.filter(f=>f.identify?.(o));if(c.length>1){const f=c.filter(m=>m.test);f.length>0&&(c=f)}a=c.find(f=>f.format===p.format)??c.find(f=>!f.format)}else o=p,a=d.find(c=>c.nodeClass&&o instanceof c.nodeClass);if(!a){const c=o?.constructor?.name??(o===null?"null":typeof o);throw new Error(`Tag not resolved for ${c} value`)}return a}function s(d,p,{anchors:a,doc:o}){if(!o.directives)return"";const c=[],f=(t.isScalar(d)||t.isCollection(d))&&d.anchor;f&&e.anchorIsValid(f)&&(a.add(f),c.push(`&${f}`));const m=d.tag??(p.default?null:p.tag);return m&&c.push(o.directives.tagString(m)),c.join(" ")}function u(d,p,a,o){if(t.isPair(d))return d.toString(p,a,o);if(t.isAlias(d)){if(p.doc.directives)return d.toString(p);if(p.resolvedAliases?.has(d))throw new TypeError("Cannot stringify circular structure without alias nodes");p.resolvedAliases?p.resolvedAliases.add(d):p.resolvedAliases=new Set([d]),d=d.resolve(p.doc)}let c;const f=t.isNode(d)?d:p.doc.createNode(d,{onTagObj:h=>c=h});c??(c=l(p.doc.schema.tags,f));const m=s(f,c,p);m.length>0&&(p.indentAtStart=(p.indentAtStart??0)+m.length+1);const v=typeof c.stringify=="function"?c.stringify(f,p,a,o):t.isScalar(f)?n.stringifyString(f,p,a,o):f.toString(p,a,o);return m?t.isScalar(f)||v[0]==="{"||v[0]==="["?`${m} ${v}`:`${m}
|
|
53
|
-
${p.indent}${v}`:v}return qi.createStringifyContext=r,qi.stringify=u,qi}var Lf;function I_(){if(Lf)return fo;Lf=1;var e=oe(),t=ge(),i=ja(),n=Pa();function r({key:l,value:s},u,d,p){const{allNullValues:a,doc:o,indent:c,indentStep:f,options:{commentString:m,indentSeq:v,simpleKeys:h}}=u;let g=e.isNode(l)&&l.comment||null;if(h){if(g)throw new Error("With simple keys, key nodes cannot have comments");if(e.isCollection(l)||!e.isNode(l)&&typeof l=="object"){const B="With simple keys, collection cannot be used as a key value";throw new Error(B)}}let y=!h&&(!l||g&&s==null&&!u.inFlow||e.isCollection(l)||(e.isScalar(l)?l.type===t.Scalar.BLOCK_FOLDED||l.type===t.Scalar.BLOCK_LITERAL:typeof l=="object"));u=Object.assign({},u,{allNullValues:!1,implicitKey:!y&&(h||!a),indent:c+f});let b=!1,w=!1,x=i.stringify(l,u,()=>b=!0,()=>w=!0);if(!y&&!u.inFlow&&x.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");y=!0}if(u.inFlow){if(a||s==null)return b&&d&&d(),x===""?"?":y?`? ${x}`:x}else if(a&&!h||s==null&&y)return x=`? ${x}`,g&&!b?x+=n.lineComment(x,u.indent,m(g)):w&&p&&p(),x;b&&(g=null),y?(g&&(x+=n.lineComment(x,u.indent,m(g))),x=`? ${x}
|
|
54
|
-
${c}:`):(x=`${x}:`,g&&(x+=n.lineComment(x,u.indent,m(g))));let S,_,$;e.isNode(s)?(S=!!s.spaceBefore,_=s.commentBefore,$=s.comment):(S=!1,_=null,$=null,s&&typeof s=="object"&&(s=o.createNode(s))),u.implicitKey=!1,!y&&!g&&e.isScalar(s)&&(u.indentAtStart=x.length+1),w=!1,!v&&f.length>=2&&!u.inFlow&&!y&&e.isSeq(s)&&!s.flow&&!s.tag&&!s.anchor&&(u.indent=u.indent.substring(2));let T=!1;const U=i.stringify(s,u,()=>T=!0,()=>w=!0);let L=" ";if(g||S||_){if(L=S?`
|
|
55
|
-
`:"",_){const B=m(_);L+=`
|
|
56
|
-
${n.indentComment(B,u.indent)}`}U===""&&!u.inFlow?L===`
|
|
57
|
-
`&&$&&(L=`
|
|
58
|
-
|
|
59
|
-
`):L+=`
|
|
60
|
-
${u.indent}`}else if(!y&&e.isCollection(s)){const B=U[0],G=U.indexOf(`
|
|
61
|
-
`),D=G!==-1,V=u.inFlow??s.flow??s.items.length===0;if(D||!V){let A=!1;if(D&&(B==="&"||B==="!")){let N=U.indexOf(" ");B==="&"&&N!==-1&&N<G&&U[N+1]==="!"&&(N=U.indexOf(" ",N+1)),(N===-1||G<N)&&(A=!0)}A||(L=`
|
|
62
|
-
${u.indent}`)}}else(U===""||U[0]===`
|
|
63
|
-
`)&&(L="");return x+=L+U,u.inFlow?T&&d&&d():$&&!T?x+=n.lineComment(x,u.indent,m($)):w&&p&&p(),x}return fo.stringifyPair=r,fo}var ho={},Li={},Df;function bv(){if(Df)return Li;Df=1;var e=vc;function t(n,...r){n==="debug"&&console.log(...r)}function i(n,r){(n==="debug"||n==="warn")&&(typeof e.emitWarning=="function"?e.emitWarning(r):console.warn(r))}return Li.debug=t,Li.warn=i,Li}var an={},Mf;function Jc(){if(Mf)return an;Mf=1;var e=oe(),t=ge();const i="<<",n={identify:u=>u===i||typeof u=="symbol"&&u.description===i,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new t.Scalar(Symbol(i)),{addToJSMap:l}),stringify:()=>i},r=(u,d)=>(n.identify(d)||e.isScalar(d)&&(!d.type||d.type===t.Scalar.PLAIN)&&n.identify(d.value))&&u?.doc.schema.tags.some(p=>p.tag===n.tag&&p.default);function l(u,d,p){if(p=u&&e.isAlias(p)?p.resolve(u.doc):p,e.isSeq(p))for(const a of p.items)s(u,d,a);else if(Array.isArray(p))for(const a of p)s(u,d,a);else s(u,d,p)}function s(u,d,p){const a=u&&e.isAlias(p)?p.resolve(u.doc):p;if(!e.isMap(a))throw new Error("Merge sources must be maps or map aliases");const o=a.toJSON(null,u,Map);for(const[c,f]of o)d instanceof Map?d.has(c)||d.set(c,f):d instanceof Set?d.add(c):Object.prototype.hasOwnProperty.call(d,c)||Object.defineProperty(d,c,{value:f,writable:!0,enumerable:!0,configurable:!0});return d}return an.addMergeToJSMap=l,an.isMergeKey=r,an.merge=n,an}var Ff;function xv(){if(Ff)return ho;Ff=1;var e=bv(),t=Jc(),i=ja(),n=oe(),r=wt();function l(u,d,{key:p,value:a}){if(n.isNode(p)&&p.addToJSMap)p.addToJSMap(u,d,a);else if(t.isMergeKey(u,p))t.addMergeToJSMap(u,d,a);else{const o=r.toJS(p,"",u);if(d instanceof Map)d.set(o,r.toJS(a,o,u));else if(d instanceof Set)d.add(o);else{const c=s(p,o,u),f=r.toJS(a,c,u);c in d?Object.defineProperty(d,c,{value:f,writable:!0,enumerable:!0,configurable:!0}):d[c]=f}}return d}function s(u,d,p){if(d===null)return"";if(typeof d!="object")return String(d);if(n.isNode(u)&&p?.doc){const a=i.createStringifyContext(p.doc,{});a.anchors=new Set;for(const c of p.anchors.keys())a.anchors.add(c.anchor);a.inFlow=!0,a.inStringifyKey=!0;const o=u.toString(a);if(!p.mapKeyWarned){let c=JSON.stringify(o);c.length>40&&(c=c.substring(0,36)+'..."'),e.warn(p.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${c}. Set mapAsMap: true to use object keys.`),p.mapKeyWarned=!0}return o}return JSON.stringify(d)}return ho.addPairToJSMap=l,ho}var Uf;function St(){if(Uf)return Ii;Uf=1;var e=Oa(),t=I_(),i=xv(),n=oe();function r(s,u,d){const p=e.createNode(s,void 0,d),a=e.createNode(u,void 0,d);return new l(p,a)}let l=class wv{constructor(u,d=null){Object.defineProperty(this,n.NODE_TYPE,{value:n.PAIR}),this.key=u,this.value=d}clone(u){let{key:d,value:p}=this;return n.isNode(d)&&(d=d.clone(u)),n.isNode(p)&&(p=p.clone(u)),new wv(d,p)}toJSON(u,d){const p=d?.mapAsMap?new Map:{};return i.addPairToJSMap(d,p,this)}toString(u,d,p){return u?.doc?t.stringifyPair(this,u,d,p):JSON.stringify(this)}};return Ii.Pair=l,Ii.createPair=r,Ii}var vo={},go={},Di={},yo={},zf;function Sv(){if(zf)return yo;zf=1;var e=oe(),t=ja(),i=Pa();function n(u,d,p){return(d.inFlow??u.flow?l:r)(u,d,p)}function r({comment:u,items:d},p,{blockItemPrefix:a,flowChars:o,itemIndent:c,onChompKeep:f,onComment:m}){const{indent:v,options:{commentString:h}}=p,g=Object.assign({},p,{indent:c,type:null});let y=!1;const b=[];for(let x=0;x<d.length;++x){const S=d[x];let _=null;if(e.isNode(S))!y&&S.spaceBefore&&b.push(""),s(p,b,S.commentBefore,y),S.comment&&(_=S.comment);else if(e.isPair(S)){const T=e.isNode(S.key)?S.key:null;T&&(!y&&T.spaceBefore&&b.push(""),s(p,b,T.commentBefore,y))}y=!1;let $=t.stringify(S,g,()=>_=null,()=>y=!0);_&&($+=i.lineComment($,c,h(_))),y&&_&&(y=!1),b.push(a+$)}let w;if(b.length===0)w=o.start+o.end;else{w=b[0];for(let x=1;x<b.length;++x){const S=b[x];w+=S?`
|
|
64
|
-
${v}${S}`:`
|
|
65
|
-
`}}return u?(w+=`
|
|
66
|
-
`+i.indentComment(h(u),v),m&&m()):y&&f&&f(),w}function l({items:u},d,{flowChars:p,itemIndent:a}){const{indent:o,indentStep:c,flowCollectionPadding:f,options:{commentString:m}}=d;a+=c;const v=Object.assign({},d,{indent:a,inFlow:!0,type:null});let h=!1,g=0;const y=[];for(let x=0;x<u.length;++x){const S=u[x];let _=null;if(e.isNode(S))S.spaceBefore&&y.push(""),s(d,y,S.commentBefore,!1),S.comment&&(_=S.comment);else if(e.isPair(S)){const T=e.isNode(S.key)?S.key:null;T&&(T.spaceBefore&&y.push(""),s(d,y,T.commentBefore,!1),T.comment&&(h=!0));const U=e.isNode(S.value)?S.value:null;U?(U.comment&&(_=U.comment),U.commentBefore&&(h=!0)):S.value==null&&T?.comment&&(_=T.comment)}_&&(h=!0);let $=t.stringify(S,v,()=>_=null);h||(h=y.length>g||$.includes(`
|
|
67
|
-
`)),x<u.length-1?$+=",":d.options.trailingComma&&(d.options.lineWidth>0&&(h||(h=y.reduce((T,U)=>T+U.length+2,2)+($.length+2)>d.options.lineWidth)),h&&($+=",")),_&&($+=i.lineComment($,a,m(_))),y.push($),g=y.length}const{start:b,end:w}=p;if(y.length===0)return b+w;if(!h){const x=y.reduce((S,_)=>S+_.length+2,2);h=d.options.lineWidth>0&&x>d.options.lineWidth}if(h){let x=b;for(const S of y)x+=S?`
|
|
68
|
-
${c}${o}${S}`:`
|
|
69
|
-
`;return`${x}
|
|
70
|
-
${o}${w}`}else return`${b}${f}${y.join(" ")}${f}${w}`}function s({indent:u,options:{commentString:d}},p,a,o){if(a&&o&&(a=a.replace(/^\n+/,"")),a){const c=i.indentComment(d(a),u);p.push(c.trimStart())}}return yo.stringifyCollection=n,yo}var Bf;function _t(){if(Bf)return Di;Bf=1;var e=Sv(),t=xv(),i=Yc(),n=oe(),r=St(),l=ge();function s(d,p){const a=n.isScalar(p)?p.value:p;for(const o of d)if(n.isPair(o)&&(o.key===p||o.key===a||n.isScalar(o.key)&&o.key.value===a))return o}let u=class extends i.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(p){super(n.MAP,p),this.items=[]}static from(p,a,o){const{keepUndefined:c,replacer:f}=o,m=new this(p),v=(h,g)=>{if(typeof f=="function")g=f.call(a,h,g);else if(Array.isArray(f)&&!f.includes(h))return;(g!==void 0||c)&&m.items.push(r.createPair(h,g,o))};if(a instanceof Map)for(const[h,g]of a)v(h,g);else if(a&&typeof a=="object")for(const h of Object.keys(a))v(h,a[h]);return typeof p.sortMapEntries=="function"&&m.items.sort(p.sortMapEntries),m}add(p,a){let o;n.isPair(p)?o=p:!p||typeof p!="object"||!("key"in p)?o=new r.Pair(p,p?.value):o=new r.Pair(p.key,p.value);const c=s(this.items,o.key),f=this.schema?.sortMapEntries;if(c){if(!a)throw new Error(`Key ${o.key} already set`);n.isScalar(c.value)&&l.isScalarValue(o.value)?c.value.value=o.value:c.value=o.value}else if(f){const m=this.items.findIndex(v=>f(o,v)<0);m===-1?this.items.push(o):this.items.splice(m,0,o)}else this.items.push(o)}delete(p){const a=s(this.items,p);return a?this.items.splice(this.items.indexOf(a),1).length>0:!1}get(p,a){const c=s(this.items,p)?.value;return(!a&&n.isScalar(c)?c.value:c)??void 0}has(p){return!!s(this.items,p)}set(p,a){this.add(new r.Pair(p,a),!0)}toJSON(p,a,o){const c=o?new o:a?.mapAsMap?new Map:{};a?.onCreate&&a.onCreate(c);for(const f of this.items)t.addPairToJSMap(a,c,f);return c}toString(p,a,o){if(!p)return JSON.stringify(this);for(const c of this.items)if(!n.isPair(c))throw new Error(`Map items must all be pairs; found ${JSON.stringify(c)} instead`);return!p.allNullValues&&this.hasAllNullValues(!1)&&(p=Object.assign({},p,{allNullValues:!0})),e.stringifyCollection(this,p,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:p.indent||"",onChompKeep:o,onComment:a})}};return Di.YAMLMap=u,Di.findPair=s,Di}var Vf;function Sn(){if(Vf)return go;Vf=1;var e=oe(),t=_t();const i={collection:"map",default:!0,nodeClass:t.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(n,r){return e.isMap(n)||r("Expected a mapping for this tag"),n},createNode:(n,r,l)=>t.YAMLMap.from(n,r,l)};return go.map=i,go}var bo={},xo={},Kf;function Et(){if(Kf)return xo;Kf=1;var e=Oa(),t=Sv(),i=Yc(),n=oe(),r=ge(),l=wt();let s=class extends i.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(p){super(n.SEQ,p),this.items=[]}add(p){this.items.push(p)}delete(p){const a=u(p);return typeof a!="number"?!1:this.items.splice(a,1).length>0}get(p,a){const o=u(p);if(typeof o!="number")return;const c=this.items[o];return!a&&n.isScalar(c)?c.value:c}has(p){const a=u(p);return typeof a=="number"&&a<this.items.length}set(p,a){const o=u(p);if(typeof o!="number")throw new Error(`Expected a valid index, not ${p}.`);const c=this.items[o];n.isScalar(c)&&r.isScalarValue(a)?c.value=a:this.items[o]=a}toJSON(p,a){const o=[];a?.onCreate&&a.onCreate(o);let c=0;for(const f of this.items)o.push(l.toJS(f,String(c++),a));return o}toString(p,a,o){return p?t.stringifyCollection(this,p,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(p.indent||"")+" ",onChompKeep:o,onComment:a}):JSON.stringify(this)}static from(p,a,o){const{replacer:c}=o,f=new this(p);if(a&&Symbol.iterator in Object(a)){let m=0;for(let v of a){if(typeof c=="function"){const h=a instanceof Set?v:String(m++);v=c.call(a,h,v)}f.items.push(e.createNode(v,void 0,o))}}return f}};function u(d){let p=n.isScalar(d)?d.value:d;return p&&typeof p=="string"&&(p=Number(p)),typeof p=="number"&&Number.isInteger(p)&&p>=0?p:null}return xo.YAMLSeq=s,xo}var Gf;function _n(){if(Gf)return bo;Gf=1;var e=oe(),t=Et();const i={collection:"seq",default:!0,nodeClass:t.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(n,r){return e.isSeq(n)||r("Expected a sequence for this tag"),n},createNode:(n,r,l)=>t.YAMLSeq.from(n,r,l)};return bo.seq=i,bo}var wo={},Hf;function Ca(){if(Hf)return wo;Hf=1;var e=Na();const t={identify:i=>typeof i=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:i=>i,stringify(i,n,r,l){return n=Object.assign({actualString:!0},n),e.stringifyString(i,n,r,l)}};return wo.string=t,wo}var Mi={},So={},Wf;function Xc(){if(Wf)return So;Wf=1;var e=ge();const t={identify:i=>i==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:i},n)=>typeof i=="string"&&t.test.test(i)?i:n.options.nullStr};return So.nullTag=t,So}var _o={},Yf;function _v(){if(Yf)return _o;Yf=1;var e=ge();const t={identify:i=>typeof i=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:i=>new e.Scalar(i[0]==="t"||i[0]==="T"),stringify({source:i,value:n},r){if(i&&t.test.test(i)){const l=i[0]==="t"||i[0]==="T";if(n===l)return i}return n?r.options.trueStr:r.options.falseStr}};return _o.boolTag=t,_o}var rn={},Eo={},Jf;function En(){if(Jf)return Eo;Jf=1;function e({format:t,minFractionDigits:i,tag:n,value:r}){if(typeof r=="bigint")return String(r);const l=typeof r=="number"?r:Number(r);if(!isFinite(l))return isNaN(l)?".nan":l<0?"-.inf":".inf";let s=Object.is(r,-0)?"-0":JSON.stringify(r);if(!t&&i&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let u=s.indexOf(".");u<0&&(u=s.length,s+=".");let d=i-(s.length-u-1);for(;d-- >0;)s+="0"}return s}return Eo.stringifyNumber=e,Eo}var Xf;function Ev(){if(Xf)return rn;Xf=1;var e=ge(),t=En();const i={identify:l=>typeof l=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:l=>l.slice(-3).toLowerCase()==="nan"?NaN:l[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:t.stringifyNumber},n={identify:l=>typeof l=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:l=>parseFloat(l),stringify(l){const s=Number(l.value);return isFinite(s)?s.toExponential():t.stringifyNumber(l)}},r={identify:l=>typeof l=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(l){const s=new e.Scalar(parseFloat(l)),u=l.indexOf(".");return u!==-1&&l[l.length-1]==="0"&&(s.minFractionDigits=l.length-u-1),s},stringify:t.stringifyNumber};return rn.float=r,rn.floatExp=n,rn.floatNaN=i,rn}var sn={},Qf;function $v(){if(Qf)return sn;Qf=1;var e=En();const t=u=>typeof u=="bigint"||Number.isInteger(u),i=(u,d,p,{intAsBigInt:a})=>a?BigInt(u):parseInt(u.substring(d),p);function n(u,d,p){const{value:a}=u;return t(a)&&a>=0?p+a.toString(d):e.stringifyNumber(u)}const r={identify:u=>t(u)&&u>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(u,d,p)=>i(u,2,8,p),stringify:u=>n(u,8,"0o")},l={identify:t,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(u,d,p)=>i(u,0,10,p),stringify:e.stringifyNumber},s={identify:u=>t(u)&&u>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(u,d,p)=>i(u,2,16,p),stringify:u=>n(u,16,"0x")};return sn.int=l,sn.intHex=s,sn.intOct=r,sn}var $o={},Zf;function q_(){if(Zf)return $o;Zf=1;var e=Sn(),t=Xc(),i=_n(),n=Ca(),r=_v(),l=Ev(),s=$v();const u=[e.map,i.seq,n.string,t.nullTag,r.boolTag,s.intOct,s.int,s.intHex,l.floatNaN,l.floatExp,l.float];return $o.schema=u,$o}var ko={},em;function L_(){if(em)return ko;em=1;var e=ge(),t=Sn(),i=_n();function n(d){return typeof d=="bigint"||Number.isInteger(d)}const r=({value:d})=>JSON.stringify(d),l=[{identify:d=>typeof d=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:d=>d,stringify:r},{identify:d=>d==null,createNode:()=>new e.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:r},{identify:d=>typeof d=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:d=>d==="true",stringify:r},{identify:n,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(d,p,{intAsBigInt:a})=>a?BigInt(d):parseInt(d,10),stringify:({value:d})=>n(d)?d.toString():JSON.stringify(d)},{identify:d=>typeof d=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:d=>parseFloat(d),stringify:r}],s={default:!0,tag:"",test:/^/,resolve(d,p){return p(`Unresolved plain scalar ${JSON.stringify(d)}`),d}},u=[t.map,i.seq].concat(l,s);return ko.schema=u,ko}var Ro={},tm;function kv(){if(tm)return Ro;tm=1;var e=tg,t=ge(),i=Na();const n={identify:r=>r instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(r,l){if(typeof e.Buffer=="function")return e.Buffer.from(r,"base64");if(typeof atob=="function"){const s=atob(r.replace(/[\n\r]/g,"")),u=new Uint8Array(s.length);for(let d=0;d<s.length;++d)u[d]=s.charCodeAt(d);return u}else return l("This environment does not support reading binary tags; either Buffer or atob is required"),r},stringify({comment:r,type:l,value:s},u,d,p){if(!s)return"";const a=s;let o;if(typeof e.Buffer=="function")o=a instanceof e.Buffer?a.toString("base64"):e.Buffer.from(a.buffer).toString("base64");else if(typeof btoa=="function"){let c="";for(let f=0;f<a.length;++f)c+=String.fromCharCode(a[f]);o=btoa(c)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(l??(l=t.Scalar.BLOCK_LITERAL),l!==t.Scalar.QUOTE_DOUBLE){const c=Math.max(u.options.lineWidth-u.indent.length,u.options.minContentWidth),f=Math.ceil(o.length/c),m=new Array(f);for(let v=0,h=0;v<f;++v,h+=c)m[v]=o.substr(h,c);o=m.join(l===t.Scalar.BLOCK_LITERAL?`
|
|
71
|
-
`:" ")}return i.stringifyString({comment:r,type:l,value:o},u,d,p)}};return Ro.binary=n,Ro}var Fi={},on={},nm;function Qc(){if(nm)return on;nm=1;var e=oe(),t=St(),i=ge(),n=Et();function r(u,d){if(e.isSeq(u))for(let p=0;p<u.items.length;++p){let a=u.items[p];if(!e.isPair(a)){if(e.isMap(a)){a.items.length>1&&d("Each pair must have its own sequence indicator");const o=a.items[0]||new t.Pair(new i.Scalar(null));if(a.commentBefore&&(o.key.commentBefore=o.key.commentBefore?`${a.commentBefore}
|
|
72
|
-
${o.key.commentBefore}`:a.commentBefore),a.comment){const c=o.value??o.key;c.comment=c.comment?`${a.comment}
|
|
73
|
-
${c.comment}`:a.comment}a=o}u.items[p]=e.isPair(a)?a:new t.Pair(a)}}else d("Expected a sequence for this tag");return u}function l(u,d,p){const{replacer:a}=p,o=new n.YAMLSeq(u);o.tag="tag:yaml.org,2002:pairs";let c=0;if(d&&Symbol.iterator in Object(d))for(let f of d){typeof a=="function"&&(f=a.call(d,String(c++),f));let m,v;if(Array.isArray(f))if(f.length===2)m=f[0],v=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)m=h[0],v=f[m];else throw new TypeError(`Expected tuple with one key, not ${h.length} keys`)}else m=f;o.items.push(t.createPair(m,v,p))}return o}const s={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:r,createNode:l};return on.createPairs=l,on.pairs=s,on.resolvePairs=r,on}var im;function Rv(){if(im)return Fi;im=1;var e=oe(),t=wt(),i=_t(),n=Et(),r=Qc();class l extends n.YAMLSeq{constructor(){super(),this.add=i.YAMLMap.prototype.add.bind(this),this.delete=i.YAMLMap.prototype.delete.bind(this),this.get=i.YAMLMap.prototype.get.bind(this),this.has=i.YAMLMap.prototype.has.bind(this),this.set=i.YAMLMap.prototype.set.bind(this),this.tag=l.tag}toJSON(d,p){if(!p)return super.toJSON(d);const a=new Map;p?.onCreate&&p.onCreate(a);for(const o of this.items){let c,f;if(e.isPair(o)?(c=t.toJS(o.key,"",p),f=t.toJS(o.value,c,p)):c=t.toJS(o,"",p),a.has(c))throw new Error("Ordered maps must not include duplicate keys");a.set(c,f)}return a}static from(d,p,a){const o=r.createPairs(d,p,a),c=new this;return c.items=o.items,c}}l.tag="tag:yaml.org,2002:omap";const s={collection:"seq",identify:u=>u instanceof Map,nodeClass:l,default:!1,tag:"tag:yaml.org,2002:omap",resolve(u,d){const p=r.resolvePairs(u,d),a=[];for(const{key:o}of p.items)e.isScalar(o)&&(a.includes(o.value)?d(`Ordered maps must not include duplicate keys: ${o.value}`):a.push(o.value));return Object.assign(new l,p)},createNode:(u,d,p)=>l.from(u,d,p)};return Fi.YAMLOMap=l,Fi.omap=s,Fi}var Ao={},Ui={},am;function D_(){if(am)return Ui;am=1;var e=ge();function t({value:r,source:l},s){return l&&(r?i:n).test.test(l)?l:r?s.options.trueStr:s.options.falseStr}const i={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},n={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 Ui.falseTag=n,Ui.trueTag=i,Ui}var cn={},rm;function M_(){if(rm)return cn;rm=1;var e=ge(),t=En();const i={identify:l=>typeof l=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:l=>l.slice(-3).toLowerCase()==="nan"?NaN:l[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:t.stringifyNumber},n={identify:l=>typeof l=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:l=>parseFloat(l.replace(/_/g,"")),stringify(l){const s=Number(l.value);return isFinite(s)?s.toExponential():t.stringifyNumber(l)}},r={identify:l=>typeof l=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(l){const s=new e.Scalar(parseFloat(l.replace(/_/g,""))),u=l.indexOf(".");if(u!==-1){const d=l.substring(u+1).replace(/_/g,"");d[d.length-1]==="0"&&(s.minFractionDigits=d.length)}return s},stringify:t.stringifyNumber};return cn.float=r,cn.floatExp=n,cn.floatNaN=i,cn}var jt={},sm;function F_(){if(sm)return jt;sm=1;var e=En();const t=d=>typeof d=="bigint"||Number.isInteger(d);function i(d,p,a,{intAsBigInt:o}){const c=d[0];if((c==="-"||c==="+")&&(p+=1),d=d.substring(p).replace(/_/g,""),o){switch(a){case 2:d=`0b${d}`;break;case 8:d=`0o${d}`;break;case 16:d=`0x${d}`;break}const m=BigInt(d);return c==="-"?BigInt(-1)*m:m}const f=parseInt(d,a);return c==="-"?-1*f:f}function n(d,p,a){const{value:o}=d;if(t(o)){const c=o.toString(p);return o<0?"-"+a+c.substr(1):a+c}return e.stringifyNumber(d)}const r={identify:t,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(d,p,a)=>i(d,2,2,a),stringify:d=>n(d,2,"0b")},l={identify:t,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(d,p,a)=>i(d,1,8,a),stringify:d=>n(d,8,"0")},s={identify:t,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(d,p,a)=>i(d,0,10,a),stringify:e.stringifyNumber},u={identify:t,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(d,p,a)=>i(d,2,16,a),stringify:d=>n(d,16,"0x")};return jt.int=s,jt.intBin=r,jt.intHex=u,jt.intOct=l,jt}var zi={},om;function Av(){if(om)return zi;om=1;var e=oe(),t=St(),i=_t();class n extends i.YAMLMap{constructor(s){super(s),this.tag=n.tag}add(s){let u;e.isPair(s)?u=s:s&&typeof s=="object"&&"key"in s&&"value"in s&&s.value===null?u=new t.Pair(s.key,null):u=new t.Pair(s,null),i.findPair(this.items,u.key)||this.items.push(u)}get(s,u){const d=i.findPair(this.items,s);return!u&&e.isPair(d)?e.isScalar(d.key)?d.key.value:d.key:d}set(s,u){if(typeof u!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof u}`);const d=i.findPair(this.items,s);d&&!u?this.items.splice(this.items.indexOf(d),1):!d&&u&&this.items.push(new t.Pair(s))}toJSON(s,u){return super.toJSON(s,u,Set)}toString(s,u,d){if(!s)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},s,{allNullValues:!0}),u,d);throw new Error("Set items must all have null values")}static from(s,u,d){const{replacer:p}=d,a=new this(s);if(u&&Symbol.iterator in Object(u))for(let o of u)typeof p=="function"&&(o=p.call(u,o,o)),a.items.push(t.createPair(o,null,d));return a}}n.tag="tag:yaml.org,2002:set";const r={collection:"map",identify:l=>l instanceof Set,nodeClass:n,default:!1,tag:"tag:yaml.org,2002:set",createNode:(l,s,u)=>n.from(l,s,u),resolve(l,s){if(e.isMap(l)){if(l.hasAllNullValues(!0))return Object.assign(new n,l);s("Set items must all have null values")}else s("Expected a mapping for this tag");return l}};return zi.YAMLSet=n,zi.set=r,zi}var ln={},cm;function Tv(){if(cm)return ln;cm=1;var e=En();function t(s,u){const d=s[0],p=d==="-"||d==="+"?s.substring(1):s,a=c=>u?BigInt(c):Number(c),o=p.replace(/_/g,"").split(":").reduce((c,f)=>c*a(60)+a(f),a(0));return d==="-"?a(-1)*o:o}function i(s){let{value:u}=s,d=c=>c;if(typeof u=="bigint")d=c=>BigInt(c);else if(isNaN(u)||!isFinite(u))return e.stringifyNumber(s);let p="";u<0&&(p="-",u*=d(-1));const a=d(60),o=[u%a];return u<60?o.unshift(0):(u=(u-o[0])/a,o.unshift(u%a),u>=60&&(u=(u-o[0])/a,o.unshift(u))),p+o.map(c=>String(c).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const n={identify:s=>typeof s=="bigint"||Number.isInteger(s),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(s,u,{intAsBigInt:d})=>t(s,d),stringify:i},r={identify:s=>typeof s=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:s=>t(s,!1),stringify:i},l={identify:s=>s 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(s){const u=s.match(l.test);if(!u)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,d,p,a,o,c,f]=u.map(Number),m=u[7]?Number((u[7]+"00").substr(1,3)):0;let v=Date.UTC(d,p-1,a,o||0,c||0,f||0,m);const h=u[8];if(h&&h!=="Z"){let g=t(h,!1);Math.abs(g)<30&&(g*=60),v-=6e4*g}return new Date(v)},stringify:({value:s})=>s?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};return ln.floatTime=r,ln.intTime=n,ln.timestamp=l,ln}var lm;function U_(){if(lm)return Ao;lm=1;var e=Sn(),t=Xc(),i=_n(),n=Ca(),r=kv(),l=D_(),s=M_(),u=F_(),d=Jc(),p=Rv(),a=Qc(),o=Av(),c=Tv();const f=[e.map,i.seq,n.string,t.nullTag,l.trueTag,l.falseTag,u.intBin,u.intOct,u.int,u.intHex,s.floatNaN,s.floatExp,s.float,r.binary,d.merge,p.omap,a.pairs,o.set,c.intTime,c.floatTime,c.timestamp];return Ao.schema=f,Ao}var um;function z_(){if(um)return Mi;um=1;var e=Sn(),t=Xc(),i=_n(),n=Ca(),r=_v(),l=Ev(),s=$v(),u=q_(),d=L_(),p=kv(),a=Jc(),o=Rv(),c=Qc(),f=U_(),m=Av(),v=Tv();const h=new Map([["core",u.schema],["failsafe",[e.map,i.seq,n.string]],["json",d.schema],["yaml11",f.schema],["yaml-1.1",f.schema]]),g={binary:p.binary,bool:r.boolTag,float:l.float,floatExp:l.floatExp,floatNaN:l.floatNaN,floatTime:v.floatTime,int:s.int,intHex:s.intHex,intOct:s.intOct,intTime:v.intTime,map:e.map,merge:a.merge,null:t.nullTag,omap:o.omap,pairs:c.pairs,seq:i.seq,set:m.set,timestamp:v.timestamp},y={"tag:yaml.org,2002:binary":p.binary,"tag:yaml.org,2002:merge":a.merge,"tag:yaml.org,2002:omap":o.omap,"tag:yaml.org,2002:pairs":c.pairs,"tag:yaml.org,2002:set":m.set,"tag:yaml.org,2002:timestamp":v.timestamp};function b(w,x,S){const _=h.get(x);if(_&&!w)return S&&!_.includes(a.merge)?_.concat(a.merge):_.slice();let $=_;if(!$)if(Array.isArray(w))$=[];else{const T=Array.from(h.keys()).filter(U=>U!=="yaml11").map(U=>JSON.stringify(U)).join(", ");throw new Error(`Unknown schema "${x}"; use one of ${T} or define customTags array`)}if(Array.isArray(w))for(const T of w)$=$.concat(T);else typeof w=="function"&&($=w($.slice()));return S&&($=$.concat(a.merge)),$.reduce((T,U)=>{const L=typeof U=="string"?g[U]:U;if(!L){const B=JSON.stringify(U),G=Object.keys(g).map(D=>JSON.stringify(D)).join(", ");throw new Error(`Unknown custom tag ${B}; use one of ${G}`)}return T.includes(L)||T.push(L),T},[])}return Mi.coreKnownTags=y,Mi.getTags=b,Mi}var pm;function Pv(){if(pm)return vo;pm=1;var e=oe(),t=Sn(),i=_n(),n=Ca(),r=z_();const l=(u,d)=>u.key<d.key?-1:u.key>d.key?1:0;let s=class Ov{constructor({compat:d,customTags:p,merge:a,resolveKnownTags:o,schema:c,sortMapEntries:f,toStringDefaults:m}){this.compat=Array.isArray(d)?r.getTags(d,"compat"):d?r.getTags(null,d):null,this.name=typeof c=="string"&&c||"core",this.knownTags=o?r.coreKnownTags:{},this.tags=r.getTags(p,this.name,a),this.toStringOptions=m??null,Object.defineProperty(this,e.MAP,{value:t.map}),Object.defineProperty(this,e.SCALAR,{value:n.string}),Object.defineProperty(this,e.SEQ,{value:i.seq}),this.sortMapEntries=typeof f=="function"?f:f===!0?l:null}clone(){const d=Object.create(Ov.prototype,Object.getOwnPropertyDescriptors(this));return d.tags=this.tags.slice(),d}};return vo.Schema=s,vo}var To={},dm;function B_(){if(dm)return To;dm=1;var e=oe(),t=ja(),i=Pa();function n(r,l){const s=[];let u=l.directives===!0;if(l.directives!==!1&&r.directives){const c=r.directives.toString(r);c?(s.push(c),u=!0):r.directives.docStart&&(u=!0)}u&&s.push("---");const d=t.createStringifyContext(r,l),{commentString:p}=d.options;if(r.commentBefore){s.length!==1&&s.unshift("");const c=p(r.commentBefore);s.unshift(i.indentComment(c,""))}let a=!1,o=null;if(r.contents){if(e.isNode(r.contents)){if(r.contents.spaceBefore&&u&&s.push(""),r.contents.commentBefore){const m=p(r.contents.commentBefore);s.push(i.indentComment(m,""))}d.forceBlockIndent=!!r.comment,o=r.contents.comment}const c=o?void 0:()=>a=!0;let f=t.stringify(r.contents,d,()=>o=null,c);o&&(f+=i.lineComment(f,"",p(o))),(f[0]==="|"||f[0]===">")&&s[s.length-1]==="---"?s[s.length-1]=`--- ${f}`:s.push(f)}else s.push(t.stringify(r.contents,d));if(r.directives?.docEnd)if(r.comment){const c=p(r.comment);c.includes(`
|
|
74
|
-
`)?(s.push("..."),s.push(i.indentComment(c,""))):s.push(`... ${c}`)}else s.push("...");else{let c=r.comment;c&&a&&(c=c.replace(/^\n+/,"")),c&&((!a||o)&&s[s.length-1]!==""&&s.push(""),s.push(i.indentComment(p(c),"")))}return s.join(`
|
|
75
|
-
`)+`
|
|
76
|
-
`}return To.stringifyDocument=n,To}var fm;function Ia(){if(fm)return so;fm=1;var e=Ta(),t=Yc(),i=oe(),n=St(),r=wt(),l=Pv(),s=B_(),u=Hc(),d=yv(),p=Oa(),a=gv();let o=class Nv{constructor(m,v,h){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,i.NODE_TYPE,{value:i.DOC});let g=null;typeof v=="function"||Array.isArray(v)?g=v:h===void 0&&v&&(h=v,v=void 0);const y=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},h);this.options=y;let{version:b}=y;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=m===void 0?null:this.createNode(m,g,h)}clone(){const m=Object.create(Nv.prototype,{[i.NODE_TYPE]:{value:i.DOC}});return m.commentBefore=this.commentBefore,m.comment=this.comment,m.errors=this.errors.slice(),m.warnings=this.warnings.slice(),m.options=Object.assign({},this.options),this.directives&&(m.directives=this.directives.clone()),m.schema=this.schema.clone(),m.contents=i.isNode(this.contents)?this.contents.clone(m.schema):this.contents,this.range&&(m.range=this.range.slice()),m}add(m){c(this.contents)&&this.contents.add(m)}addIn(m,v){c(this.contents)&&this.contents.addIn(m,v)}createAlias(m,v){if(!m.anchor){const h=u.anchorNames(this);m.anchor=!v||h.has(v)?u.findNewAnchor(v||"a",h):v}return new e.Alias(m.anchor)}createNode(m,v,h){let g;if(typeof v=="function")m=v.call({"":m},"",m),g=v;else if(Array.isArray(v)){const G=V=>typeof V=="number"||V instanceof String||V instanceof Number,D=v.filter(G).map(String);D.length>0&&(v=v.concat(D)),g=v}else h===void 0&&v&&(h=v,v=void 0);const{aliasDuplicateObjects:y,anchorPrefix:b,flow:w,keepUndefined:x,onTagObj:S,tag:_}=h??{},{onAnchor:$,setAnchors:T,sourceObjects:U}=u.createNodeAnchors(this,b||"a"),L={aliasDuplicateObjects:y??!0,keepUndefined:x??!1,onAnchor:$,onTagObj:S,replacer:g,schema:this.schema,sourceObjects:U},B=p.createNode(m,_,L);return w&&i.isCollection(B)&&(B.flow=!0),T(),B}createPair(m,v,h={}){const g=this.createNode(m,null,h),y=this.createNode(v,null,h);return new n.Pair(g,y)}delete(m){return c(this.contents)?this.contents.delete(m):!1}deleteIn(m){return t.isEmptyPath(m)?this.contents==null?!1:(this.contents=null,!0):c(this.contents)?this.contents.deleteIn(m):!1}get(m,v){return i.isCollection(this.contents)?this.contents.get(m,v):void 0}getIn(m,v){return t.isEmptyPath(m)?!v&&i.isScalar(this.contents)?this.contents.value:this.contents:i.isCollection(this.contents)?this.contents.getIn(m,v):void 0}has(m){return i.isCollection(this.contents)?this.contents.has(m):!1}hasIn(m){return t.isEmptyPath(m)?this.contents!==void 0:i.isCollection(this.contents)?this.contents.hasIn(m):!1}set(m,v){this.contents==null?this.contents=t.collectionFromPath(this.schema,[m],v):c(this.contents)&&this.contents.set(m,v)}setIn(m,v){t.isEmptyPath(m)?this.contents=v:this.contents==null?this.contents=t.collectionFromPath(this.schema,Array.from(m),v):c(this.contents)&&this.contents.setIn(m,v)}setSchema(m,v={}){typeof m=="number"&&(m=String(m));let h;switch(m){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=m:this.directives=new a.Directives({version:m}),h={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,h=null;break;default:{const g=JSON.stringify(m);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${g}`)}}if(v.schema instanceof Object)this.schema=v.schema;else if(h)this.schema=new l.Schema(Object.assign(h,v));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:m,jsonArg:v,mapAsMap:h,maxAliasCount:g,onAnchor:y,reviver:b}={}){const w={anchors:new Map,doc:this,keep:!m,mapAsMap:h===!0,mapKeyWarned:!1,maxAliasCount:typeof g=="number"?g:100},x=r.toJS(this.contents,v??"",w);if(typeof y=="function")for(const{count:S,res:_}of w.anchors.values())y(_,S);return typeof b=="function"?d.applyReviver(b,{"":x},"",x):x}toJSON(m,v){return this.toJS({json:!0,jsonArg:m,mapAsMap:!1,onAnchor:v})}toString(m={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in m&&(!Number.isInteger(m.indent)||Number(m.indent)<=0)){const v=JSON.stringify(m.indent);throw new Error(`"indent" option must be a positive integer, not ${v}`)}return s.stringifyDocument(this,m)}};function c(f){if(i.isCollection(f))return!0;throw new Error("Expected a YAML collection as document contents")}return so.Document=o,so}var Ct={},mm;function qa(){if(mm)return Ct;mm=1;class e extends Error{constructor(l,s,u,d){super(),this.name=l,this.code=u,this.message=d,this.pos=s}}class t extends e{constructor(l,s,u){super("YAMLParseError",l,s,u)}}class i extends e{constructor(l,s,u){super("YAMLWarning",l,s,u)}}const n=(r,l)=>s=>{if(s.pos[0]===-1)return;s.linePos=s.pos.map(o=>l.linePos(o));const{line:u,col:d}=s.linePos[0];s.message+=` at line ${u}, column ${d}`;let p=d-1,a=r.substring(l.lineStarts[u-1],l.lineStarts[u]).replace(/[\n\r]+$/,"");if(p>=60&&a.length>80){const o=Math.min(p-39,a.length-79);a="…"+a.substring(o),p-=o-1}if(a.length>80&&(a=a.substring(0,79)+"…"),u>1&&/^ *$/.test(a.substring(0,p))){let o=r.substring(l.lineStarts[u-2],l.lineStarts[u-1]);o.length>80&&(o=o.substring(0,79)+`…
|
|
77
|
-
`),a=o+a}if(/[^ ]/.test(a)){let o=1;const c=s.linePos[1];c?.line===u&&c.col>d&&(o=Math.max(1,Math.min(c.col-d,80-p)));const f=" ".repeat(p)+"^".repeat(o);s.message+=`:
|
|
78
|
-
|
|
79
|
-
${a}
|
|
80
|
-
${f}
|
|
81
|
-
`}};return Ct.YAMLError=e,Ct.YAMLParseError=t,Ct.YAMLWarning=i,Ct.prettifyError=n,Ct}var Oo={},Bi={},Po={},No={},jo={},hm;function La(){if(hm)return jo;hm=1;function e(t,{flow:i,indicator:n,next:r,offset:l,onError:s,parentIndent:u,startOnNewline:d}){let p=!1,a=d,o=d,c="",f="",m=!1,v=!1,h=null,g=null,y=null,b=null,w=null,x=null,S=null;for(const T of t)switch(v&&(T.type!=="space"&&T.type!=="newline"&&T.type!=="comma"&&s(T.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),v=!1),h&&(a&&T.type!=="comment"&&T.type!=="newline"&&s(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),h=null),T.type){case"space":!i&&(n!=="doc-start"||r?.type!=="flow-collection")&&T.source.includes(" ")&&(h=T),o=!0;break;case"comment":{o||s(T,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const U=T.source.substring(1)||" ";c?c+=f+U:c=U,f="",a=!1;break}case"newline":a?c?c+=T.source:(!x||n!=="seq-item-ind")&&(p=!0):f+=T.source,a=!0,m=!0,(g||y)&&(b=T),o=!0;break;case"anchor":g&&s(T,"MULTIPLE_ANCHORS","A node can have at most one anchor"),T.source.endsWith(":")&&s(T.offset+T.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=T,S??(S=T.offset),a=!1,o=!1,v=!0;break;case"tag":{y&&s(T,"MULTIPLE_TAGS","A node can have at most one tag"),y=T,S??(S=T.offset),a=!1,o=!1,v=!0;break}case n:(g||y)&&s(T,"BAD_PROP_ORDER",`Anchors and tags must be after the ${T.source} indicator`),x&&s(T,"UNEXPECTED_TOKEN",`Unexpected ${T.source} in ${i??"collection"}`),x=T,a=n==="seq-item-ind"||n==="explicit-key-ind",o=!1;break;case"comma":if(i){w&&s(T,"UNEXPECTED_TOKEN",`Unexpected , in ${i}`),w=T,a=!1,o=!1;break}default:s(T,"UNEXPECTED_TOKEN",`Unexpected ${T.type} token`),a=!1,o=!1}const _=t[t.length-1],$=_?_.offset+_.source.length:l;return v&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&s(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h&&(a&&h.indent<=u||r?.type==="block-map"||r?.type==="block-seq")&&s(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:w,found:x,spaceBefore:p,comment:c,hasNewline:m,anchor:g,tag:y,newlineAfterProp:b,end:$,start:S??$}}return jo.resolveProps=e,jo}var Co={},vm;function Zc(){if(vm)return Co;vm=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(`
|
|
82
|
-
`))return!0;if(t.end){for(const i of t.end)if(i.type==="newline")return!0}return!1;case"flow-collection":for(const i of t.items){for(const n of i.start)if(n.type==="newline")return!0;if(i.sep){for(const n of i.sep)if(n.type==="newline")return!0}if(e(i.key)||e(i.value))return!0}return!1;default:return!0}}return Co.containsNewline=e,Co}var Io={},gm;function jv(){if(gm)return Io;gm=1;var e=Zc();function t(i,n,r){if(n?.type==="flow-collection"){const l=n.end[0];l.indent===i&&(l.source==="]"||l.source==="}")&&e.containsNewline(n)&&r(l,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}return Io.flowIndentCheck=t,Io}var qo={},ym;function Cv(){if(ym)return qo;ym=1;var e=oe();function t(i,n,r){const{uniqueKeys:l}=i.options;if(l===!1)return!1;const s=typeof l=="function"?l:(u,d)=>u===d||e.isScalar(u)&&e.isScalar(d)&&u.value===d.value;return n.some(u=>s(u.key,r))}return qo.mapIncludes=t,qo}var bm;function V_(){if(bm)return No;bm=1;var e=St(),t=_t(),i=La(),n=Zc(),r=jv(),l=Cv();const s="All mapping items must start at the same column";function u({composeNode:d,composeEmptyNode:p},a,o,c,f){const m=f?.nodeClass??t.YAMLMap,v=new m(a.schema);a.atRoot&&(a.atRoot=!1);let h=o.offset,g=null;for(const y of o.items){const{start:b,key:w,sep:x,value:S}=y,_=i.resolveProps(b,{indicator:"explicit-key-ind",next:w??x?.[0],offset:h,onError:c,parentIndent:o.indent,startOnNewline:!0}),$=!_.found;if($){if(w&&(w.type==="block-seq"?c(h,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in w&&w.indent!==o.indent&&c(h,"BAD_INDENT",s)),!_.anchor&&!_.tag&&!x){g=_.end,_.comment&&(v.comment?v.comment+=`
|
|
83
|
-
`+_.comment:v.comment=_.comment);continue}(_.newlineAfterProp||n.containsNewline(w))&&c(w??b[b.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else _.found?.indent!==o.indent&&c(h,"BAD_INDENT",s);a.atKey=!0;const T=_.end,U=w?d(a,w,_,c):p(a,T,b,null,_,c);a.schema.compat&&r.flowIndentCheck(o.indent,w,c),a.atKey=!1,l.mapIncludes(a,v.items,U)&&c(T,"DUPLICATE_KEY","Map keys must be unique");const L=i.resolveProps(x??[],{indicator:"map-value-ind",next:S,offset:U.range[2],onError:c,parentIndent:o.indent,startOnNewline:!w||w.type==="block-scalar"});if(h=L.end,L.found){$&&(S?.type==="block-map"&&!L.hasNewline&&c(h,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),a.options.strict&&_.start<L.found.offset-1024&&c(U.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const B=S?d(a,S,L,c):p(a,h,x,null,L,c);a.schema.compat&&r.flowIndentCheck(o.indent,S,c),h=B.range[2];const G=new e.Pair(U,B);a.options.keepSourceTokens&&(G.srcToken=y),v.items.push(G)}else{$&&c(U.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),L.comment&&(U.comment?U.comment+=`
|
|
84
|
-
`+L.comment:U.comment=L.comment);const B=new e.Pair(U);a.options.keepSourceTokens&&(B.srcToken=y),v.items.push(B)}}return g&&g<h&&c(g,"IMPOSSIBLE","Map comment with trailing content"),v.range=[o.offset,h,g??h],v}return No.resolveBlockMap=u,No}var Lo={},xm;function K_(){if(xm)return Lo;xm=1;var e=Et(),t=La(),i=jv();function n({composeNode:r,composeEmptyNode:l},s,u,d,p){const a=p?.nodeClass??e.YAMLSeq,o=new a(s.schema);s.atRoot&&(s.atRoot=!1),s.atKey&&(s.atKey=!1);let c=u.offset,f=null;for(const{start:m,value:v}of u.items){const h=t.resolveProps(m,{indicator:"seq-item-ind",next:v,offset:c,onError:d,parentIndent:u.indent,startOnNewline:!0});if(!h.found)if(h.anchor||h.tag||v)v?.type==="block-seq"?d(h.end,"BAD_INDENT","All sequence items must start at the same column"):d(c,"MISSING_CHAR","Sequence item without - indicator");else{f=h.end,h.comment&&(o.comment=h.comment);continue}const g=v?r(s,v,h,d):l(s,h.end,m,null,h,d);s.schema.compat&&i.flowIndentCheck(u.indent,v,d),c=g.range[2],o.items.push(g)}return o.range=[u.offset,c,f??c],o}return Lo.resolveBlockSeq=n,Lo}var Do={},Mo={},wm;function $n(){if(wm)return Mo;wm=1;function e(t,i,n,r){let l="";if(t){let s=!1,u="";for(const d of t){const{source:p,type:a}=d;switch(a){case"space":s=!0;break;case"comment":{n&&!s&&r(d,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const o=p.substring(1)||" ";l?l+=u+o:l=o,u="";break}case"newline":l&&(u+=p),s=!0;break;default:r(d,"UNEXPECTED_TOKEN",`Unexpected ${a} at node end`)}i+=p.length}}return{comment:l,offset:i}}return Mo.resolveEnd=e,Mo}var Sm;function G_(){if(Sm)return Do;Sm=1;var e=oe(),t=St(),i=_t(),n=Et(),r=$n(),l=La(),s=Zc(),u=Cv();const d="Block collections are not allowed within flow collections",p=o=>o&&(o.type==="block-map"||o.type==="block-seq");function a({composeNode:o,composeEmptyNode:c},f,m,v,h){const g=m.start.source==="{",y=g?"flow map":"flow sequence",b=h?.nodeClass??(g?i.YAMLMap:n.YAMLSeq),w=new b(f.schema);w.flow=!0;const x=f.atRoot;x&&(f.atRoot=!1),f.atKey&&(f.atKey=!1);let S=m.offset+m.start.source.length;for(let L=0;L<m.items.length;++L){const B=m.items[L],{start:G,key:D,sep:V,value:A}=B,N=l.resolveProps(G,{flow:y,indicator:"explicit-key-ind",next:D??V?.[0],offset:S,onError:v,parentIndent:m.indent,startOnNewline:!1});if(!N.found){if(!N.anchor&&!N.tag&&!V&&!A){L===0&&N.comma?v(N.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${y}`):L<m.items.length-1&&v(N.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${y}`),N.comment&&(w.comment?w.comment+=`
|
|
85
|
-
`+N.comment:w.comment=N.comment),S=N.end;continue}!g&&f.options.strict&&s.containsNewline(D)&&v(D,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(L===0)N.comma&&v(N.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${y}`);else if(N.comma||v(N.start,"MISSING_CHAR",`Missing , between ${y} items`),N.comment){let I="";e:for(const z of G)switch(z.type){case"comma":case"space":break;case"comment":I=z.source.substring(1);break e;default:break e}if(I){let z=w.items[w.items.length-1];e.isPair(z)&&(z=z.value??z.key),z.comment?z.comment+=`
|
|
86
|
-
`+I:z.comment=I,N.comment=N.comment.substring(I.length+1)}}if(!g&&!V&&!N.found){const I=A?o(f,A,N,v):c(f,N.end,V,null,N,v);w.items.push(I),S=I.range[2],p(A)&&v(I.range,"BLOCK_IN_FLOW",d)}else{f.atKey=!0;const I=N.end,z=D?o(f,D,N,v):c(f,I,G,null,N,v);p(D)&&v(z.range,"BLOCK_IN_FLOW",d),f.atKey=!1;const O=l.resolveProps(V??[],{flow:y,indicator:"map-value-ind",next:A,offset:z.range[2],onError:v,parentIndent:m.indent,startOnNewline:!1});if(O.found){if(!g&&!N.found&&f.options.strict){if(V)for(const P of V){if(P===O.found)break;if(P.type==="newline"){v(P,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}N.start<O.found.offset-1024&&v(O.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else A&&("source"in A&&A.source?.[0]===":"?v(A,"MISSING_CHAR",`Missing space after : in ${y}`):v(O.start,"MISSING_CHAR",`Missing , or : between ${y} items`));const k=A?o(f,A,O,v):O.found?c(f,O.end,V,null,O,v):null;k?p(A)&&v(k.range,"BLOCK_IN_FLOW",d):O.comment&&(z.comment?z.comment+=`
|
|
87
|
-
`+O.comment:z.comment=O.comment);const j=new t.Pair(z,k);if(f.options.keepSourceTokens&&(j.srcToken=B),g){const P=w;u.mapIncludes(f,P.items,z)&&v(I,"DUPLICATE_KEY","Map keys must be unique"),P.items.push(j)}else{const P=new i.YAMLMap(f.schema);P.flow=!0,P.items.push(j);const E=(k??z).range;P.range=[z.range[0],E[1],E[2]],w.items.push(P)}S=k?k.range[2]:O.end}}const _=g?"}":"]",[$,...T]=m.end;let U=S;if($?.source===_)U=$.offset+$.source.length;else{const L=y[0].toUpperCase()+y.substring(1),B=x?`${L} must end with a ${_}`:`${L} in block collection must be sufficiently indented and end with a ${_}`;v(S,x?"MISSING_CHAR":"BAD_INDENT",B),$&&$.source.length!==1&&T.unshift($)}if(T.length>0){const L=r.resolveEnd(T,U,f.options.strict,v);L.comment&&(w.comment?w.comment+=`
|
|
88
|
-
`+L.comment:w.comment=L.comment),w.range=[m.offset,U,L.offset]}else w.range=[m.offset,U,U];return w}return Do.resolveFlowCollection=a,Do}var _m;function H_(){if(_m)return Po;_m=1;var e=oe(),t=ge(),i=_t(),n=Et(),r=V_(),l=K_(),s=G_();function u(p,a,o,c,f,m){const v=o.type==="block-map"?r.resolveBlockMap(p,a,o,c,m):o.type==="block-seq"?l.resolveBlockSeq(p,a,o,c,m):s.resolveFlowCollection(p,a,o,c,m),h=v.constructor;return f==="!"||f===h.tagName?(v.tag=h.tagName,v):(f&&(v.tag=f),v)}function d(p,a,o,c,f){const m=c.tag,v=m?a.directives.tagName(m.source,x=>f(m,"TAG_RESOLVE_FAILED",x)):null;if(o.type==="block-seq"){const{anchor:x,newlineAfterProp:S}=c,_=x&&m?x.offset>m.offset?x:m:x??m;_&&(!S||S.offset<_.offset)&&f(_,"MISSING_CHAR","Missing newline after block sequence props")}const h=o.type==="block-map"?"map":o.type==="block-seq"?"seq":o.start.source==="{"?"map":"seq";if(!m||!v||v==="!"||v===i.YAMLMap.tagName&&h==="map"||v===n.YAMLSeq.tagName&&h==="seq")return u(p,a,o,f,v);let g=a.schema.tags.find(x=>x.tag===v&&x.collection===h);if(!g){const x=a.schema.knownTags[v];if(x?.collection===h)a.schema.tags.push(Object.assign({},x,{default:!1})),g=x;else return x?f(m,"BAD_COLLECTION_TYPE",`${x.tag} used for ${h} collection, but expects ${x.collection??"scalar"}`,!0):f(m,"TAG_RESOLVE_FAILED",`Unresolved tag: ${v}`,!0),u(p,a,o,f,v)}const y=u(p,a,o,f,v,g),b=g.resolve?.(y,x=>f(m,"TAG_RESOLVE_FAILED",x),a.options)??y,w=e.isNode(b)?b:new t.Scalar(b);return w.range=y.range,w.tag=v,g?.format&&(w.format=g.format),w}return Po.composeCollection=d,Po}var Fo={},Uo={},Em;function Iv(){if(Em)return Uo;Em=1;var e=ge();function t(r,l,s){const u=l.offset,d=i(l,r.options.strict,s);if(!d)return{value:"",type:null,comment:"",range:[u,u,u]};const p=d.mode===">"?e.Scalar.BLOCK_FOLDED:e.Scalar.BLOCK_LITERAL,a=l.source?n(l.source):[];let o=a.length;for(let b=a.length-1;b>=0;--b){const w=a[b][1];if(w===""||w==="\r")o=b;else break}if(o===0){const b=d.chomp==="+"&&a.length>0?`
|
|
89
|
-
`.repeat(Math.max(1,a.length-1)):"";let w=u+d.length;return l.source&&(w+=l.source.length),{value:b,type:p,comment:d.comment,range:[u,w,w]}}let c=l.indent+d.indent,f=l.offset+d.length,m=0;for(let b=0;b<o;++b){const[w,x]=a[b];if(x===""||x==="\r")d.indent===0&&w.length>c&&(c=w.length);else{w.length<c&&s(f+w.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),d.indent===0&&(c=w.length),m=b,c===0&&!r.atRoot&&s(f,"BAD_INDENT","Block scalar values in collections must be indented");break}f+=w.length+x.length+1}for(let b=a.length-1;b>=o;--b)a[b][0].length>c&&(o=b+1);let v="",h="",g=!1;for(let b=0;b<m;++b)v+=a[b][0].slice(c)+`
|
|
90
|
-
`;for(let b=m;b<o;++b){let[w,x]=a[b];f+=w.length+x.length+1;const S=x[x.length-1]==="\r";if(S&&(x=x.slice(0,-1)),x&&w.length<c){const $=`Block scalar lines must not be less indented than their ${d.indent?"explicit indentation indicator":"first line"}`;s(f-x.length-(S?2:1),"BAD_INDENT",$),w=""}p===e.Scalar.BLOCK_LITERAL?(v+=h+w.slice(c)+x,h=`
|
|
91
|
-
`):w.length>c||x[0]===" "?(h===" "?h=`
|
|
92
|
-
`:!g&&h===`
|
|
93
|
-
`&&(h=`
|
|
94
|
-
|
|
95
|
-
`),v+=h+w.slice(c)+x,h=`
|
|
96
|
-
`,g=!0):x===""?h===`
|
|
97
|
-
`?v+=`
|
|
98
|
-
`:h=`
|
|
99
|
-
`:(v+=h+x,h=" ",g=!1)}switch(d.chomp){case"-":break;case"+":for(let b=o;b<a.length;++b)v+=`
|
|
100
|
-
`+a[b][0].slice(c);v[v.length-1]!==`
|
|
101
|
-
`&&(v+=`
|
|
102
|
-
`);break;default:v+=`
|
|
103
|
-
`}const y=u+d.length+l.source.length;return{value:v,type:p,comment:d.comment,range:[u,y,y]}}function i({offset:r,props:l},s,u){if(l[0].type!=="block-scalar-header")return u(l[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:d}=l[0],p=d[0];let a=0,o="",c=-1;for(let h=1;h<d.length;++h){const g=d[h];if(!o&&(g==="-"||g==="+"))o=g;else{const y=Number(g);!a&&y?a=y:c===-1&&(c=r+h)}}c!==-1&&u(c,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${d}`);let f=!1,m="",v=d.length;for(let h=1;h<l.length;++h){const g=l[h];switch(g.type){case"space":f=!0;case"newline":v+=g.source.length;break;case"comment":s&&!f&&u(g,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),v+=g.source.length,m=g.source.substring(1);break;case"error":u(g,"UNEXPECTED_TOKEN",g.message),v+=g.source.length;break;default:{const y=`Unexpected token in block scalar header: ${g.type}`;u(g,"UNEXPECTED_TOKEN",y);const b=g.source;b&&typeof b=="string"&&(v+=b.length)}}}return{mode:p,indent:a,chomp:o,comment:m,length:v}}function n(r){const l=r.split(/\n( *)/),s=l[0],u=s.match(/^( *)/),p=[u?.[1]?[u[1],s.slice(u[1].length)]:["",s]];for(let a=1;a<l.length;a+=2)p.push([l[a],l[a+1]]);return p}return Uo.resolveBlockScalar=t,Uo}var zo={},$m;function qv(){if($m)return zo;$m=1;var e=ge(),t=$n();function i(a,o,c){const{offset:f,type:m,source:v,end:h}=a;let g,y;const b=(S,_,$)=>c(f+S,_,$);switch(m){case"scalar":g=e.Scalar.PLAIN,y=n(v,b);break;case"single-quoted-scalar":g=e.Scalar.QUOTE_SINGLE,y=r(v,b);break;case"double-quoted-scalar":g=e.Scalar.QUOTE_DOUBLE,y=s(v,b);break;default:return c(a,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${m}`),{value:"",type:null,comment:"",range:[f,f+v.length,f+v.length]}}const w=f+v.length,x=t.resolveEnd(h,w,o,c);return{value:y,type:g,comment:x.comment,range:[f,w,x.offset]}}function n(a,o){let c="";switch(a[0]){case" ":c="a tab character";break;case",":c="flow indicator character ,";break;case"%":c="directive indicator character %";break;case"|":case">":{c=`block scalar indicator ${a[0]}`;break}case"@":case"`":{c=`reserved character ${a[0]}`;break}}return c&&o(0,"BAD_SCALAR_START",`Plain value cannot start with ${c}`),l(a)}function r(a,o){return(a[a.length-1]!=="'"||a.length===1)&&o(a.length,"MISSING_CHAR","Missing closing 'quote"),l(a.slice(1,-1)).replace(/''/g,"'")}function l(a){let o,c;try{o=new RegExp(`(.*?)(?<![ ])[ ]*\r?
|
|
104
|
-
`,"sy"),c=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
|
|
105
|
-
`,"sy")}catch{o=/(.*?)[ \t]*\r?\n/sy,c=/[ \t]*(.*?)[ \t]*\r?\n/sy}let f=o.exec(a);if(!f)return a;let m=f[1],v=" ",h=o.lastIndex;for(c.lastIndex=h;f=c.exec(a);)f[1]===""?v===`
|
|
106
|
-
`?m+=v:v=`
|
|
107
|
-
`:(m+=v+f[1],v=" "),h=c.lastIndex;const g=/[ \t]*(.*)/sy;return g.lastIndex=h,f=g.exec(a),m+v+(f?.[1]??"")}function s(a,o){let c="";for(let f=1;f<a.length-1;++f){const m=a[f];if(!(m==="\r"&&a[f+1]===`
|
|
108
|
-
`))if(m===`
|
|
109
|
-
`){const{fold:v,offset:h}=u(a,f);c+=v,f=h}else if(m==="\\"){let v=a[++f];const h=d[v];if(h)c+=h;else if(v===`
|
|
110
|
-
`)for(v=a[f+1];v===" "||v===" ";)v=a[++f+1];else if(v==="\r"&&a[f+1]===`
|
|
111
|
-
`)for(v=a[++f+1];v===" "||v===" ";)v=a[++f+1];else if(v==="x"||v==="u"||v==="U"){const g={x:2,u:4,U:8}[v];c+=p(a,f+1,g,o),f+=g}else{const g=a.substr(f-1,2);o(f-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${g}`),c+=g}}else if(m===" "||m===" "){const v=f;let h=a[f+1];for(;h===" "||h===" ";)h=a[++f+1];h!==`
|
|
112
|
-
`&&!(h==="\r"&&a[f+2]===`
|
|
113
|
-
`)&&(c+=f>v?a.slice(v,f+1):m)}else c+=m}return(a[a.length-1]!=='"'||a.length===1)&&o(a.length,"MISSING_CHAR",'Missing closing "quote'),c}function u(a,o){let c="",f=a[o+1];for(;(f===" "||f===" "||f===`
|
|
114
|
-
`||f==="\r")&&!(f==="\r"&&a[o+2]!==`
|
|
115
|
-
`);)f===`
|
|
116
|
-
`&&(c+=`
|
|
117
|
-
`),o+=1,f=a[o+1];return c||(c=" "),{fold:c,offset:o}}const d={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
|
|
118
|
-
`,r:"\r",t:" ",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function p(a,o,c,f){const m=a.substr(o,c),h=m.length===c&&/^[0-9a-fA-F]+$/.test(m)?parseInt(m,16):NaN;if(isNaN(h)){const g=a.substr(o-2,c+2);return f(o-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${g}`),g}return String.fromCodePoint(h)}return zo.resolveFlowScalar=i,zo}var km;function W_(){if(km)return Fo;km=1;var e=oe(),t=ge(),i=Iv(),n=qv();function r(u,d,p,a){const{value:o,type:c,comment:f,range:m}=d.type==="block-scalar"?i.resolveBlockScalar(u,d,a):n.resolveFlowScalar(d,u.options.strict,a),v=p?u.directives.tagName(p.source,y=>a(p,"TAG_RESOLVE_FAILED",y)):null;let h;u.options.stringKeys&&u.atKey?h=u.schema[e.SCALAR]:v?h=l(u.schema,o,v,p,a):d.type==="scalar"?h=s(u,o,d,a):h=u.schema[e.SCALAR];let g;try{const y=h.resolve(o,b=>a(p??d,"TAG_RESOLVE_FAILED",b),u.options);g=e.isScalar(y)?y:new t.Scalar(y)}catch(y){const b=y instanceof Error?y.message:String(y);a(p??d,"TAG_RESOLVE_FAILED",b),g=new t.Scalar(o)}return g.range=m,g.source=o,c&&(g.type=c),v&&(g.tag=v),h.format&&(g.format=h.format),f&&(g.comment=f),g}function l(u,d,p,a,o){if(p==="!")return u[e.SCALAR];const c=[];for(const m of u.tags)if(!m.collection&&m.tag===p)if(m.default&&m.test)c.push(m);else return m;for(const m of c)if(m.test?.test(d))return m;const f=u.knownTags[p];return f&&!f.collection?(u.tags.push(Object.assign({},f,{default:!1,test:void 0})),f):(o(a,"TAG_RESOLVE_FAILED",`Unresolved tag: ${p}`,p!=="tag:yaml.org,2002:str"),u[e.SCALAR])}function s({atKey:u,directives:d,schema:p},a,o,c){const f=p.tags.find(m=>(m.default===!0||u&&m.default==="key")&&m.test?.test(a))||p[e.SCALAR];if(p.compat){const m=p.compat.find(v=>v.default&&v.test?.test(a))??p[e.SCALAR];if(f.tag!==m.tag){const v=d.tagString(f.tag),h=d.tagString(m.tag),g=`Value may be parsed as either ${v} or ${h}`;c(o,"TAG_RESOLVE_FAILED",g,!0)}}return f}return Fo.composeScalar=r,Fo}var Bo={},Rm;function Y_(){if(Rm)return Bo;Rm=1;function e(t,i,n){if(i){n??(n=i.length);for(let r=n-1;r>=0;--r){let l=i[r];switch(l.type){case"space":case"comment":case"newline":t-=l.source.length;continue}for(l=i[++r];l?.type==="space";)t+=l.source.length,l=i[++r];break}}return t}return Bo.emptyScalarPosition=e,Bo}var Am;function J_(){if(Am)return Bi;Am=1;var e=Ta(),t=oe(),i=H_(),n=W_(),r=$n(),l=Y_();const s={composeNode:u,composeEmptyNode:d};function u(a,o,c,f){const m=a.atKey,{spaceBefore:v,comment:h,anchor:g,tag:y}=c;let b,w=!0;switch(o.type){case"alias":b=p(a,o,f),(g||y)&&f(o,"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=n.composeScalar(a,o,y,f),g&&(b.anchor=g.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{b=i.composeCollection(s,a,o,c,f),g&&(b.anchor=g.source.substring(1))}catch(x){const S=x instanceof Error?x.message:String(x);f(o,"RESOURCE_EXHAUSTION",S)}break;default:{const x=o.type==="error"?o.message:`Unsupported token (type: ${o.type})`;f(o,"UNEXPECTED_TOKEN",x),w=!1}}return b??(b=d(a,o.offset,void 0,null,c,f)),g&&b.anchor===""&&f(g,"BAD_ALIAS","Anchor cannot be an empty string"),m&&a.options.stringKeys&&(!t.isScalar(b)||typeof b.value!="string"||b.tag&&b.tag!=="tag:yaml.org,2002:str")&&f(y??o,"NON_STRING_KEY","With stringKeys, all keys must be strings"),v&&(b.spaceBefore=!0),h&&(o.type==="scalar"&&o.source===""?b.comment=h:b.commentBefore=h),a.options.keepSourceTokens&&w&&(b.srcToken=o),b}function d(a,o,c,f,{spaceBefore:m,comment:v,anchor:h,tag:g,end:y},b){const w={type:"scalar",offset:l.emptyScalarPosition(o,c,f),indent:-1,source:""},x=n.composeScalar(a,w,g,b);return h&&(x.anchor=h.source.substring(1),x.anchor===""&&b(h,"BAD_ALIAS","Anchor cannot be an empty string")),m&&(x.spaceBefore=!0),v&&(x.comment=v,x.range[2]=y),x}function p({options:a},{offset:o,source:c,end:f},m){const v=new e.Alias(c.substring(1));v.source===""&&m(o,"BAD_ALIAS","Alias cannot be an empty string"),v.source.endsWith(":")&&m(o+c.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const h=o+c.length,g=r.resolveEnd(f,h,a.strict,m);return v.range=[o,h,g.offset],g.comment&&(v.comment=g.comment),v}return Bi.composeEmptyNode=d,Bi.composeNode=u,Bi}var Tm;function X_(){if(Tm)return Oo;Tm=1;var e=Ia(),t=J_(),i=$n(),n=La();function r(l,s,{offset:u,start:d,value:p,end:a},o){const c=Object.assign({_directives:s},l),f=new e.Document(void 0,c),m={atKey:!1,atRoot:!0,directives:f.directives,options:f.options,schema:f.schema},v=n.resolveProps(d,{indicator:"doc-start",next:p??a?.[0],offset:u,onError:o,parentIndent:0,startOnNewline:!0});v.found&&(f.directives.docStart=!0,p&&(p.type==="block-map"||p.type==="block-seq")&&!v.hasNewline&&o(v.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),f.contents=p?t.composeNode(m,p,v,o):t.composeEmptyNode(m,v.end,d,null,v,o);const h=f.contents.range[2],g=i.resolveEnd(a,h,!1,o);return g.comment&&(f.comment=g.comment),f.range=[u,h,g.offset],f}return Oo.composeDoc=r,Oo}var Om;function Lv(){if(Om)return ao;Om=1;var e=vc,t=gv(),i=Ia(),n=qa(),r=oe(),l=X_(),s=$n();function u(a){if(typeof a=="number")return[a,a+1];if(Array.isArray(a))return a.length===2?a:[a[0],a[1]];const{offset:o,source:c}=a;return[o,o+(typeof c=="string"?c.length:1)]}function d(a){let o="",c=!1,f=!1;for(let m=0;m<a.length;++m){const v=a[m];switch(v[0]){case"#":o+=(o===""?"":f?`
|
|
119
|
-
|
|
120
|
-
`:`
|
|
121
|
-
`)+(v.substring(1)||" "),c=!0,f=!1;break;case"%":a[m+1]?.[0]!=="#"&&(m+=1),c=!1;break;default:c||(f=!0),c=!1}}return{comment:o,afterEmptyLine:f}}class p{constructor(o={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(c,f,m,v)=>{const h=u(c);v?this.warnings.push(new n.YAMLWarning(h,f,m)):this.errors.push(new n.YAMLParseError(h,f,m))},this.directives=new t.Directives({version:o.version||"1.2"}),this.options=o}decorate(o,c){const{comment:f,afterEmptyLine:m}=d(this.prelude);if(f){const v=o.contents;if(c)o.comment=o.comment?`${o.comment}
|
|
122
|
-
${f}`:f;else if(m||o.directives.docStart||!v)o.commentBefore=f;else if(r.isCollection(v)&&!v.flow&&v.items.length>0){let h=v.items[0];r.isPair(h)&&(h=h.key);const g=h.commentBefore;h.commentBefore=g?`${f}
|
|
123
|
-
${g}`:f}else{const h=v.commentBefore;v.commentBefore=h?`${f}
|
|
124
|
-
${h}`:f}}c?(Array.prototype.push.apply(o.errors,this.errors),Array.prototype.push.apply(o.warnings,this.warnings)):(o.errors=this.errors,o.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:d(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(o,c=!1,f=-1){for(const m of o)yield*this.next(m);yield*this.end(c,f)}*next(o){switch(e.env.LOG_STREAM&&console.dir(o,{depth:null}),o.type){case"directive":this.directives.add(o.source,(c,f,m)=>{const v=u(o);v[0]+=c,this.onError(v,"BAD_DIRECTIVE",f,m)}),this.prelude.push(o.source),this.atDirectives=!0;break;case"document":{const c=l.composeDoc(this.options,this.directives,o,this.onError);this.atDirectives&&!c.directives.docStart&&this.onError(o,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(c,!1),this.doc&&(yield this.doc),this.doc=c,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(o.source);break;case"error":{const c=o.source?`${o.message}: ${JSON.stringify(o.source)}`:o.message,f=new n.YAMLParseError(u(o),"UNEXPECTED_TOKEN",c);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 n.YAMLParseError(u(o),"UNEXPECTED_TOKEN",f));break}this.doc.directives.docEnd=!0;const c=s.resolveEnd(o.end,o.offset+o.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),c.comment){const f=this.doc.comment;this.doc.comment=f?`${f}
|
|
125
|
-
${c.comment}`:c.comment}this.doc.range[2]=c.offset;break}default:this.errors.push(new n.YAMLParseError(u(o),"UNEXPECTED_TOKEN",`Unsupported token ${o.type}`))}}*end(o=!1,c=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(o){const f=Object.assign({_directives:this.directives},this.options),m=new i.Document(void 0,f);this.atDirectives&&this.onError(c,"MISSING_CHAR","Missing directives-end indicator line"),m.range=[0,c,c],this.decorate(m,!1),yield m}}}return ao.Composer=p,ao}var Ae={},un={},Pm;function Q_(){if(Pm)return un;Pm=1;var e=Iv(),t=qv(),i=qa(),n=Na();function r(a,o=!0,c){if(a){const f=(m,v,h)=>{const g=typeof m=="number"?m:Array.isArray(m)?m[0]:m.offset;if(c)c(g,v,h);else throw new i.YAMLParseError([g,g+1],v,h)};switch(a.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return t.resolveFlowScalar(a,o,f);case"block-scalar":return e.resolveBlockScalar({options:{strict:o}},a,f)}}return null}function l(a,o){const{implicitKey:c=!1,indent:f,inFlow:m=!1,offset:v=-1,type:h="PLAIN"}=o,g=n.stringifyString({type:h,value:a},{implicitKey:c,indent:f>0?" ".repeat(f):"",inFlow:m,options:{blockQuote:!0,lineWidth:-1}}),y=o.end??[{type:"newline",offset:-1,indent:f,source:`
|
|
126
|
-
`}];switch(g[0]){case"|":case">":{const b=g.indexOf(`
|
|
127
|
-
`),w=g.substring(0,b),x=g.substring(b+1)+`
|
|
128
|
-
`,S=[{type:"block-scalar-header",offset:v,indent:f,source:w}];return d(S,y)||S.push({type:"newline",offset:-1,indent:f,source:`
|
|
129
|
-
`}),{type:"block-scalar",offset:v,indent:f,props:S,source:x}}case'"':return{type:"double-quoted-scalar",offset:v,indent:f,source:g,end:y};case"'":return{type:"single-quoted-scalar",offset:v,indent:f,source:g,end:y};default:return{type:"scalar",offset:v,indent:f,source:g,end:y}}}function s(a,o,c={}){let{afterKey:f=!1,implicitKey:m=!1,inFlow:v=!1,type:h}=c,g="indent"in a?a.indent:null;if(f&&typeof g=="number"&&(g+=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 y=n.stringifyString({type:h,value:o},{implicitKey:m||g===null,indent:g!==null&&g>0?" ".repeat(g):"",inFlow:v,options:{blockQuote:!0,lineWidth:-1}});switch(y[0]){case"|":case">":u(a,y);break;case'"':p(a,y,"double-quoted-scalar");break;case"'":p(a,y,"single-quoted-scalar");break;default:p(a,y,"scalar")}}function u(a,o){const c=o.indexOf(`
|
|
130
|
-
`),f=o.substring(0,c),m=o.substring(c+1)+`
|
|
131
|
-
`;if(a.type==="block-scalar"){const v=a.props[0];if(v.type!=="block-scalar-header")throw new Error("Invalid block scalar header");v.source=f,a.source=m}else{const{offset:v}=a,h="indent"in a?a.indent:-1,g=[{type:"block-scalar-header",offset:v,indent:h,source:f}];d(g,"end"in a?a.end:void 0)||g.push({type:"newline",offset:-1,indent:h,source:`
|
|
132
|
-
`});for(const y of Object.keys(a))y!=="type"&&y!=="offset"&&delete a[y];Object.assign(a,{type:"block-scalar",indent:h,props:g,source:m})}}function d(a,o){if(o)for(const c of o)switch(c.type){case"space":case"comment":a.push(c);break;case"newline":return a.push(c),!0}return!1}function p(a,o,c){switch(a.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":a.type=c,a.source=o;break;case"block-scalar":{const f=a.props.slice(1);let m=o.length;a.props[0].type==="block-scalar-header"&&(m-=a.props[0].source.length);for(const v of f)v.offset+=m;delete a.props,Object.assign(a,{type:c,source:o,end:f});break}case"block-map":case"block-seq":{const m={type:"newline",offset:a.offset+o.length,indent:a.indent,source:`
|
|
133
|
-
`};delete a.items,Object.assign(a,{type:c,source:o,end:[m]});break}default:{const f="indent"in a?a.indent:-1,m="end"in a&&Array.isArray(a.end)?a.end.filter(v=>v.type==="space"||v.type==="comment"||v.type==="newline"):[];for(const v of Object.keys(a))v!=="type"&&v!=="offset"&&delete a[v];Object.assign(a,{type:c,indent:f,source:o,end:m})}}}return un.createScalarToken=l,un.resolveAsScalar=r,un.setScalarValue=s,un}var Vo={},Nm;function Z_(){if(Nm)return Vo;Nm=1;const e=n=>"type"in n?t(n):i(n);function t(n){switch(n.type){case"block-scalar":{let r="";for(const l of n.props)r+=t(l);return r+n.source}case"block-map":case"block-seq":{let r="";for(const l of n.items)r+=i(l);return r}case"flow-collection":{let r=n.start.source;for(const l of n.items)r+=i(l);for(const l of n.end)r+=l.source;return r}case"document":{let r=i(n);if(n.end)for(const l of n.end)r+=l.source;return r}default:{let r=n.source;if("end"in n&&n.end)for(const l of n.end)r+=l.source;return r}}}function i({start:n,key:r,sep:l,value:s}){let u="";for(const d of n)u+=d.source;if(r&&(u+=t(r)),l)for(const d of l)u+=d.source;return s&&(u+=t(s)),u}return Vo.stringify=e,Vo}var Ko={},jm;function eE(){if(jm)return Ko;jm=1;const e=Symbol("break visit"),t=Symbol("skip children"),i=Symbol("remove item");function n(l,s){"type"in l&&l.type==="document"&&(l={start:l.start,value:l.value}),r(Object.freeze([]),l,s)}n.BREAK=e,n.SKIP=t,n.REMOVE=i,n.itemAtPath=(l,s)=>{let u=l;for(const[d,p]of s){const a=u?.[d];if(a&&"items"in a)u=a.items[p];else return}return u},n.parentCollection=(l,s)=>{const u=n.itemAtPath(l,s.slice(0,-1)),d=s[s.length-1][0],p=u?.[d];if(p&&"items"in p)return p;throw new Error("Parent collection not found")};function r(l,s,u){let d=u(s,l);if(typeof d=="symbol")return d;for(const p of["key","value"]){const a=s[p];if(a&&"items"in a){for(let o=0;o<a.items.length;++o){const c=r(Object.freeze(l.concat([[p,o]])),a.items[o],u);if(typeof c=="number")o=c-1;else{if(c===e)return e;c===i&&(a.items.splice(o,1),o-=1)}}typeof d=="function"&&p==="key"&&(d=d(s,l))}}return typeof d=="function"?d(s,l):d}return Ko.visit=n,Ko}var Cm;function el(){if(Cm)return Ae;Cm=1;var e=Q_(),t=Z_(),i=eE();const n="\uFEFF",r="",l="",s="",u=o=>!!o&&"items"in o,d=o=>!!o&&(o.type==="scalar"||o.type==="single-quoted-scalar"||o.type==="double-quoted-scalar"||o.type==="block-scalar");function p(o){switch(o){case n:return"<BOM>";case r:return"<DOC>";case l:return"<FLOW_END>";case s:return"<SCALAR>";default:return JSON.stringify(o)}}function a(o){switch(o){case n:return"byte-order-mark";case r:return"doc-mode";case l:return"flow-error-end";case s:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
|
|
134
|
-
`:case`\r
|
|
135
|
-
`: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(o[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 Ae.createScalarToken=e.createScalarToken,Ae.resolveAsScalar=e.resolveAsScalar,Ae.setScalarValue=e.setScalarValue,Ae.stringify=t.stringify,Ae.visit=i.visit,Ae.BOM=n,Ae.DOCUMENT=r,Ae.FLOW_END=l,Ae.SCALAR=s,Ae.isCollection=u,Ae.isScalar=d,Ae.prettyToken=p,Ae.tokenType=a,Ae}var Go={},Im;function Dv(){if(Im)return Go;Im=1;var e=el();function t(d){switch(d){case void 0:case" ":case`
|
|
136
|
-
`:case"\r":case" ":return!0;default:return!1}}const i=new Set("0123456789ABCDEFabcdef"),n=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),r=new Set(",[]{}"),l=new Set(` ,[]{}
|
|
137
|
-
\r `),s=d=>!d||l.has(d);class u{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(p,a=!1){if(p){if(typeof p!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+p:p,this.lineEndPos=null}this.atEnd=!a;let o=this.next??"stream";for(;o&&(a||this.hasChars(1));)o=yield*this.parseNext(o)}atLineEnd(){let p=this.pos,a=this.buffer[p];for(;a===" "||a===" ";)a=this.buffer[++p];return!a||a==="#"||a===`
|
|
138
|
-
`?!0:a==="\r"?this.buffer[p+1]===`
|
|
139
|
-
`:!1}charAt(p){return this.buffer[this.pos+p]}continueScalar(p){let a=this.buffer[p];if(this.indentNext>0){let o=0;for(;a===" ";)a=this.buffer[++o+p];if(a==="\r"){const c=this.buffer[o+p+1];if(c===`
|
|
140
|
-
`||!c&&!this.atEnd)return p+o+1}return a===`
|
|
141
|
-
`||o>=this.indentNext||!a&&!this.atEnd?p+o:-1}if(a==="-"||a==="."){const o=this.buffer.substr(p,3);if((o==="---"||o==="...")&&t(this.buffer[p+3]))return-1}return p}getLine(){let p=this.lineEndPos;return(typeof p!="number"||p!==-1&&p<this.pos)&&(p=this.buffer.indexOf(`
|
|
142
|
-
`,this.pos),this.lineEndPos=p),p===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[p-1]==="\r"&&(p-=1),this.buffer.substring(this.pos,p))}hasChars(p){return this.pos+p<=this.buffer.length}setNext(p){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=p,null}peek(p){return this.buffer.substr(this.pos,p)}*parseNext(p){switch(p){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 p=this.getLine();if(p===null)return this.setNext("stream");if(p[0]===e.BOM&&(yield*this.pushCount(1),p=p.substring(1)),p[0]==="%"){let a=p.length,o=p.indexOf("#");for(;o!==-1;){const f=p[o-1];if(f===" "||f===" "){a=o-1;break}else o=p.indexOf("#",o+1)}for(;;){const f=p[a-1];if(f===" "||f===" ")a-=1;else break}const c=(yield*this.pushCount(a))+(yield*this.pushSpaces(!0));return yield*this.pushCount(p.length-c),this.pushNewline(),"stream"}if(this.atLineEnd()){const a=yield*this.pushSpaces(!0);return yield*this.pushCount(p.length-a),yield*this.pushNewline(),"stream"}return yield e.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){const p=this.charAt(0);if(!p&&!this.atEnd)return this.setNext("line-start");if(p==="-"||p==="."){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[p,a]=this.peek(2);if(!a&&!this.atEnd)return this.setNext("block-start");if((p==="-"||p==="?"||p===":")&&t(a)){const o=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=o,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const p=this.getLine();if(p===null)return this.setNext("doc");let a=yield*this.pushIndicators();switch(p[a]){case"#":yield*this.pushCount(p.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(s),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return a+=yield*this.parseBlockScalarHeader(),a+=yield*this.pushSpaces(!0),yield*this.pushCount(p.length-a),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let p,a,o=-1;do p=yield*this.pushNewline(),p>0?(a=yield*this.pushSpaces(!1),this.indentValue=o=a):a=0,a+=yield*this.pushSpaces(!0);while(p+a>0);const c=this.getLine();if(c===null)return this.setNext("flow");if((o!==-1&&o<this.indentNext&&c[0]!=="#"||o===0&&(c.startsWith("---")||c.startsWith("..."))&&t(c[3]))&&!(o===this.indentNext-1&&this.flowLevel===1&&(c[0]==="]"||c[0]==="}")))return this.flowLevel=0,yield e.FLOW_END,yield*this.parseLineStart();let f=0;for(;c[f]===",";)f+=yield*this.pushCount(1),f+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(f+=yield*this.pushIndicators(),c[f]){case void 0:return"flow";case"#":return yield*this.pushCount(c.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(s),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const m=this.charAt(1);if(this.flowKey||t(m)||m===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const p=this.charAt(0);let a=this.buffer.indexOf(p,this.pos+1);if(p==="'")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 o=this.buffer.substring(0,a);let c=o.indexOf(`
|
|
143
|
-
`,this.pos);if(c!==-1){for(;c!==-1;){const f=this.continueScalar(c+1);if(f===-1)break;c=o.indexOf(`
|
|
144
|
-
`,f)}c!==-1&&(a=c-(o[c-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 p=this.pos;for(;;){const a=this.buffer[++p];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 p=this.pos-1,a=0,o;e:for(let f=this.pos;o=this.buffer[f];++f)switch(o){case" ":a+=1;break;case`
|
|
145
|
-
`:p=f,a=0;break;case"\r":{const m=this.buffer[f+1];if(!m&&!this.atEnd)return this.setNext("block-scalar");if(m===`
|
|
146
|
-
`)break}default:break e}if(!o&&!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(p+1);if(f===-1)break;p=this.buffer.indexOf(`
|
|
147
|
-
`,f)}while(p!==-1);if(p===-1){if(!this.atEnd)return this.setNext("block-scalar");p=this.buffer.length}}let c=p+1;for(o=this.buffer[c];o===" ";)o=this.buffer[++c];if(o===" "){for(;o===" "||o===" "||o==="\r"||o===`
|
|
148
|
-
`;)o=this.buffer[++c];p=c-1}else if(!this.blockScalarKeep)do{let f=p-1,m=this.buffer[f];m==="\r"&&(m=this.buffer[--f]);const v=f;for(;m===" ";)m=this.buffer[--f];if(m===`
|
|
149
|
-
`&&f>=this.pos&&f+1+a>v)p=f;else break}while(!0);return yield e.SCALAR,yield*this.pushToIndex(p+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const p=this.flowLevel>0;let a=this.pos-1,o=this.pos-1,c;for(;c=this.buffer[++o];)if(c===":"){const f=this.buffer[o+1];if(t(f)||p&&r.has(f))break;a=o}else if(t(c)){let f=this.buffer[o+1];if(c==="\r"&&(f===`
|
|
150
|
-
`?(o+=1,c=`
|
|
151
|
-
`,f=this.buffer[o+1]):a=o),f==="#"||p&&r.has(f))break;if(c===`
|
|
152
|
-
`){const m=this.continueScalar(o+1);if(m===-1)break;o=Math.max(o,m-2)}}else{if(p&&r.has(c))break;a=o}return!c&&!this.atEnd?this.setNext("plain-scalar"):(yield e.SCALAR,yield*this.pushToIndex(a+1,!0),p?"flow":"doc")}*pushCount(p){return p>0?(yield this.buffer.substr(this.pos,p),this.pos+=p,p):0}*pushToIndex(p,a){const o=this.buffer.slice(this.pos,p);return o?(yield o,this.pos+=o.length,o.length):(a&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(s))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const p=this.flowLevel>0,a=this.charAt(1);if(t(a)||p&&r.has(a))return p?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let p=this.pos+2,a=this.buffer[p];for(;!t(a)&&a!==">";)a=this.buffer[++p];return yield*this.pushToIndex(a===">"?p+1:p,!1)}else{let p=this.pos+1,a=this.buffer[p];for(;a;)if(n.has(a))a=this.buffer[++p];else if(a==="%"&&i.has(this.buffer[p+1])&&i.has(this.buffer[p+2]))a=this.buffer[p+=3];else break;return yield*this.pushToIndex(p,!1)}}*pushNewline(){const p=this.buffer[this.pos];return p===`
|
|
153
|
-
`?yield*this.pushCount(1):p==="\r"&&this.charAt(1)===`
|
|
154
|
-
`?yield*this.pushCount(2):0}*pushSpaces(p){let a=this.pos-1,o;do o=this.buffer[++a];while(o===" "||p&&o===" ");const c=a-this.pos;return c>0&&(yield this.buffer.substr(this.pos,c),this.pos=a),c}*pushUntil(p){let a=this.pos,o=this.buffer[a];for(;!p(o);)o=this.buffer[++a];return yield*this.pushToIndex(a,!1)}}return Go.Lexer=u,Go}var Ho={},qm;function Mv(){if(qm)return Ho;qm=1;class e{constructor(){this.lineStarts=[],this.addNewLine=i=>this.lineStarts.push(i),this.linePos=i=>{let n=0,r=this.lineStarts.length;for(;n<r;){const s=n+r>>1;this.lineStarts[s]<i?n=s+1:r=s}if(this.lineStarts[n]===i)return{line:n+1,col:1};if(n===0)return{line:0,col:i};const l=this.lineStarts[n-1];return{line:n,col:i-l+1}}}}return Ho.LineCounter=e,Ho}var Wo={},Lm;function Fv(){if(Lm)return Wo;Lm=1;var e=vc,t=el(),i=Dv();function n(a,o){for(let c=0;c<a.length;++c)if(a[c].type===o)return!0;return!1}function r(a){for(let o=0;o<a.length;++o)switch(a[o].type){case"space":case"comment":case"newline":break;default:return o}return-1}function l(a){switch(a?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function s(a){switch(a.type){case"document":return a.start;case"block-map":{const o=a.items[a.items.length-1];return o.sep??o.start}case"block-seq":return a.items[a.items.length-1].start;default:return[]}}function u(a){if(a.length===0)return[];let o=a.length;e:for(;--o>=0;)switch(a[o].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;a[++o]?.type==="space";);return a.splice(o,a.length)}function d(a){if(a.start.type==="flow-seq-start")for(const o of a.items)o.sep&&!o.value&&!n(o.start,"explicit-key-ind")&&!n(o.sep,"map-value-ind")&&(o.key&&(o.value=o.key),delete o.key,l(o.value)?o.value.end?Array.prototype.push.apply(o.value.end,o.sep):o.value.end=o.sep:Array.prototype.push.apply(o.start,o.sep),delete o.sep)}class p{constructor(o){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new i.Lexer,this.onNewLine=o}*parse(o,c=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const f of this.lexer.lex(o,c))yield*this.next(f);c||(yield*this.end())}*next(o){if(this.source=o,e.env.LOG_TOKENS&&console.log("|",t.prettyToken(o)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=o.length;return}const c=t.tokenType(o);if(c)if(c==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=c,yield*this.step(),c){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+o.length);break;case"space":this.atNewLine&&o[0]===" "&&(this.indent+=o.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=o.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=o.length}else{const f=`Not a YAML token: ${o}`;yield*this.pop({type:"error",offset:this.offset,message:f,source:o}),this.offset+=o.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 o=this.peek(1);if(this.type==="doc-end"&&o?.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(!o)return yield*this.stream();switch(o.type){case"document":return yield*this.document(o);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(o);case"block-scalar":return yield*this.blockScalar(o);case"block-map":return yield*this.blockMap(o);case"block-seq":return yield*this.blockSequence(o);case"flow-collection":return yield*this.flowCollection(o);case"doc-end":return yield*this.documentEnd(o)}yield*this.pop()}peek(o){return this.stack[this.stack.length-o]}*pop(o){const c=o??this.stack.pop();if(!c)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield c;else{const f=this.peek(1);switch(c.type==="block-scalar"?c.indent="indent"in f?f.indent:0:c.type==="flow-collection"&&f.type==="document"&&(c.indent=0),c.type==="flow-collection"&&d(c),f.type){case"document":f.value=c;break;case"block-scalar":f.props.push(c);break;case"block-map":{const m=f.items[f.items.length-1];if(m.value){f.items.push({start:[],key:c,sep:[]}),this.onKeyLine=!0;return}else if(m.sep)m.value=c;else{Object.assign(m,{key:c,sep:[]}),this.onKeyLine=!m.explicitKey;return}break}case"block-seq":{const m=f.items[f.items.length-1];m.value?f.items.push({start:[],value:c}):m.value=c;break}case"flow-collection":{const m=f.items[f.items.length-1];!m||m.value?f.items.push({start:[],key:c,sep:[]}):m.sep?m.value=c:Object.assign(m,{key:c,sep:[]});return}default:yield*this.pop(),yield*this.pop(c)}if((f.type==="document"||f.type==="block-map"||f.type==="block-seq")&&(c.type==="block-map"||c.type==="block-seq")){const m=c.items[c.items.length-1];m&&!m.sep&&!m.value&&m.start.length>0&&r(m.start)===-1&&(c.indent===0||m.start.every(v=>v.type!=="comment"||v.indent<c.indent))&&(f.type==="document"?f.end=m.start:f.items.push({start:m.start}),c.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 o={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&o.start.push(this.sourceToken),this.stack.push(o);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(o){if(o.value)return yield*this.lineEnd(o);switch(this.type){case"doc-start":{r(o.start)!==-1?(yield*this.pop(),yield*this.step()):o.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":o.start.push(this.sourceToken);return}const c=this.startBlockValue(o);c?this.stack.push(c):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(o){if(this.type==="map-value-ind"){const c=s(this.peek(2)),f=u(c);let m;o.end?(m=o.end,m.push(this.sourceToken),delete o.end):m=[this.sourceToken];const v={type:"block-map",offset:o.offset,indent:o.indent,items:[{start:f,key:o,sep:m}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=v}else yield*this.lineEnd(o)}*blockScalar(o){switch(this.type){case"space":case"comment":case"newline":o.props.push(this.sourceToken);return;case"scalar":if(o.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let c=this.source.indexOf(`
|
|
155
|
-
`)+1;for(;c!==0;)this.onNewLine(this.offset+c),c=this.source.indexOf(`
|
|
156
|
-
`,c)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(o){const c=o.items[o.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,c.value){const f="end"in c.value?c.value.end:void 0;(Array.isArray(f)?f[f.length-1]:void 0)?.type==="comment"?f?.push(this.sourceToken):o.items.push({start:[this.sourceToken]})}else c.sep?c.sep.push(this.sourceToken):c.start.push(this.sourceToken);return;case"space":case"comment":if(c.value)o.items.push({start:[this.sourceToken]});else if(c.sep)c.sep.push(this.sourceToken);else{if(this.atIndentedComment(c.start,o.indent)){const m=o.items[o.items.length-2]?.value?.end;if(Array.isArray(m)){Array.prototype.push.apply(m,c.start),m.push(this.sourceToken),o.items.pop();return}}c.start.push(this.sourceToken)}return}if(this.indent>=o.indent){const f=!this.onKeyLine&&this.indent===o.indent,m=f&&(c.sep||c.explicitKey)&&this.type!=="seq-item-ind";let v=[];if(m&&c.sep&&!c.value){const h=[];for(let g=0;g<c.sep.length;++g){const y=c.sep[g];switch(y.type){case"newline":h.push(g);break;case"space":break;case"comment":y.indent>o.indent&&(h.length=0);break;default:h.length=0}}h.length>=2&&(v=c.sep.splice(h[1]))}switch(this.type){case"anchor":case"tag":m||c.value?(v.push(this.sourceToken),o.items.push({start:v}),this.onKeyLine=!0):c.sep?c.sep.push(this.sourceToken):c.start.push(this.sourceToken);return;case"explicit-key-ind":!c.sep&&!c.explicitKey?(c.start.push(this.sourceToken),c.explicitKey=!0):m||c.value?(v.push(this.sourceToken),o.items.push({start:v,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(c.explicitKey)if(c.sep)if(c.value)o.items.push({start:[],key:null,sep:[this.sourceToken]});else if(n(c.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:v,key:null,sep:[this.sourceToken]}]});else if(l(c.key)&&!n(c.sep,"newline")){const h=u(c.start),g=c.key,y=c.sep;y.push(this.sourceToken),delete c.key,delete c.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:h,key:g,sep:y}]})}else v.length>0?c.sep=c.sep.concat(v,this.sourceToken):c.sep.push(this.sourceToken);else if(n(c.start,"newline"))Object.assign(c,{key:null,sep:[this.sourceToken]});else{const h=u(c.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:h,key:null,sep:[this.sourceToken]}]})}else c.sep?c.value||m?o.items.push({start:v,key:null,sep:[this.sourceToken]}):n(c.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):c.sep.push(this.sourceToken):Object.assign(c,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const h=this.flowScalar(this.type);m||c.value?(o.items.push({start:v,key:h,sep:[]}),this.onKeyLine=!0):c.sep?this.stack.push(h):(Object.assign(c,{key:h,sep:[]}),this.onKeyLine=!0);return}default:{const h=this.startBlockValue(o);if(h){if(h.type==="block-seq"){if(!c.explicitKey&&c.sep&&!n(c.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 f&&o.items.push({start:v});this.stack.push(h);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(o){const c=o.items[o.items.length-1];switch(this.type){case"newline":if(c.value){const f="end"in c.value?c.value.end:void 0;(Array.isArray(f)?f[f.length-1]:void 0)?.type==="comment"?f?.push(this.sourceToken):o.items.push({start:[this.sourceToken]})}else c.start.push(this.sourceToken);return;case"space":case"comment":if(c.value)o.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(c.start,o.indent)){const m=o.items[o.items.length-2]?.value?.end;if(Array.isArray(m)){Array.prototype.push.apply(m,c.start),m.push(this.sourceToken),o.items.pop();return}}c.start.push(this.sourceToken)}return;case"anchor":case"tag":if(c.value||this.indent<=o.indent)break;c.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==o.indent)break;c.value||n(c.start,"seq-item-ind")?o.items.push({start:[this.sourceToken]}):c.start.push(this.sourceToken);return}if(this.indent>o.indent){const f=this.startBlockValue(o);if(f){this.stack.push(f);return}}yield*this.pop(),yield*this.step()}*flowCollection(o){const c=o.items[o.items.length-1];if(this.type==="flow-error-end"){let f;do yield*this.pop(),f=this.peek(1);while(f?.type==="flow-collection")}else if(o.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!c||c.sep?o.items.push({start:[this.sourceToken]}):c.start.push(this.sourceToken);return;case"map-value-ind":!c||c.value?o.items.push({start:[],key:null,sep:[this.sourceToken]}):c.sep?c.sep.push(this.sourceToken):Object.assign(c,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!c||c.value?o.items.push({start:[this.sourceToken]}):c.sep?c.sep.push(this.sourceToken):c.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const m=this.flowScalar(this.type);!c||c.value?o.items.push({start:[],key:m,sep:[]}):c.sep?this.stack.push(m):Object.assign(c,{key:m,sep:[]});return}case"flow-map-end":case"flow-seq-end":o.end.push(this.sourceToken);return}const f=this.startBlockValue(o);f?this.stack.push(f):(yield*this.pop(),yield*this.step())}else{const f=this.peek(2);if(f.type==="block-map"&&(this.type==="map-value-ind"&&f.indent===o.indent||this.type==="newline"&&!f.items[f.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&f.type!=="flow-collection"){const m=s(f),v=u(m);d(o);const h=o.end.splice(1,o.end.length);h.push(this.sourceToken);const g={type:"block-map",offset:o.offset,indent:o.indent,items:[{start:v,key:o,sep:h}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=g}else yield*this.lineEnd(o)}}flowScalar(o){if(this.onNewLine){let c=this.source.indexOf(`
|
|
157
|
-
`)+1;for(;c!==0;)this.onNewLine(this.offset+c),c=this.source.indexOf(`
|
|
158
|
-
`,c)+1}return{type:o,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(o){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 c=s(o),f=u(c);return f.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:f,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const c=s(o),f=u(c);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:f,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(o,c){return this.type!=="comment"||this.indent<=c?!1:o.every(f=>f.type==="newline"||f.type==="space")}*documentEnd(o){this.type!=="doc-mode"&&(o.end?o.end.push(this.sourceToken):o.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(o){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:o.end?o.end.push(this.sourceToken):o.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}return Wo.Parser=p,Wo}var It={},Dm;function tE(){if(Dm)return It;Dm=1;var e=Lv(),t=Ia(),i=qa(),n=bv(),r=oe(),l=Mv(),s=Fv();function u(c){const f=c.prettyErrors!==!1;return{lineCounter:c.lineCounter||f&&new l.LineCounter||null,prettyErrors:f}}function d(c,f={}){const{lineCounter:m,prettyErrors:v}=u(f),h=new s.Parser(m?.addNewLine),g=new e.Composer(f),y=Array.from(g.compose(h.parse(c)));if(v&&m)for(const b of y)b.errors.forEach(i.prettifyError(c,m)),b.warnings.forEach(i.prettifyError(c,m));return y.length>0?y:Object.assign([],{empty:!0},g.streamInfo())}function p(c,f={}){const{lineCounter:m,prettyErrors:v}=u(f),h=new s.Parser(m?.addNewLine),g=new e.Composer(f);let y=null;for(const b of g.compose(h.parse(c),!0,c.length))if(!y)y=b;else if(y.options.logLevel!=="silent"){y.errors.push(new i.YAMLParseError(b.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return v&&m&&(y.errors.forEach(i.prettifyError(c,m)),y.warnings.forEach(i.prettifyError(c,m))),y}function a(c,f,m){let v;typeof f=="function"?v=f:m===void 0&&f&&typeof f=="object"&&(m=f);const h=p(c,m);if(!h)return null;if(h.warnings.forEach(g=>n.warn(h.options.logLevel,g)),h.errors.length>0){if(h.options.logLevel!=="silent")throw h.errors[0];h.errors=[]}return h.toJS(Object.assign({reviver:v},m))}function o(c,f,m){let v=null;if(typeof f=="function"||Array.isArray(f)?v=f:m===void 0&&f&&(m=f),typeof m=="string"&&(m=m.length),typeof m=="number"){const h=Math.round(m);m=h<1?void 0:h>8?{indent:8}:{indent:h}}if(c===void 0){const{keepUndefined:h}=m??f??{};if(!h)return}return r.isDocument(c)&&!v?c.toString(m):new t.Document(c,v,m).toString(m)}return It.parse=a,It.parseAllDocuments=d,It.parseDocument=p,It.stringify=o,It}var Mm;function nE(){if(Mm)return ce;Mm=1;var e=Lv(),t=Ia(),i=Pv(),n=qa(),r=Ta(),l=oe(),s=St(),u=ge(),d=_t(),p=Et(),a=el(),o=Dv(),c=Mv(),f=Fv(),m=tE(),v=Aa();return ce.Composer=e.Composer,ce.Document=t.Document,ce.Schema=i.Schema,ce.YAMLError=n.YAMLError,ce.YAMLParseError=n.YAMLParseError,ce.YAMLWarning=n.YAMLWarning,ce.Alias=r.Alias,ce.isAlias=l.isAlias,ce.isCollection=l.isCollection,ce.isDocument=l.isDocument,ce.isMap=l.isMap,ce.isNode=l.isNode,ce.isPair=l.isPair,ce.isScalar=l.isScalar,ce.isSeq=l.isSeq,ce.Pair=s.Pair,ce.Scalar=u.Scalar,ce.YAMLMap=d.YAMLMap,ce.YAMLSeq=p.YAMLSeq,ce.CST=a,ce.Lexer=o.Lexer,ce.LineCounter=c.LineCounter,ce.Parser=f.Parser,ce.parse=m.parse,ce.parseAllDocuments=m.parseAllDocuments,ce.parseDocument=m.parseDocument,ce.stringify=m.stringify,ce.visit=v.visit,ce.visitAsync=v.visitAsync,ce}var Uv=nE();class zv{readPage(t){const i=t.split(`
|
|
159
|
-
`);if(i[0]=="---"){i.shift();const n=i.findIndex(r=>r=="---");if(n>=0){const r=i.slice(0,n).join(`
|
|
160
|
-
`);return{...Uv.parse(r),content:i.slice(n+1).join(`
|
|
161
|
-
`)}}else return{content:t}}else return{content:t}}}class iE{writePage(t){const{content:i,...n}=t;return n&&Object.keys(n).length>0?`---
|
|
162
|
-
${Uv.stringify(n)}---
|
|
163
|
-
${i??""}`:i??""}}function tl(e,t,i){return Reflect.getOwnMetadata(t,e,i)}function aE(e,t,i,n){Reflect.defineMetadata(t,i,e,n)}function dn(e,t,i,n,r){const l=n(tl(e,t,r)??i());Reflect.defineMetadata(t,l,e,r)}var Fm;(function(e){e.moduleId="moduleId",e.serviceId="serviceId"})(Fm||(Fm={}));const Xi="@inversifyjs/core/classMetadataReflectKey";function Qi(){return{constructorArguments:[],lifecycle:{postConstructMethodNames:new Set,preDestroyMethodNames:new Set},properties:new Map,scope:void 0}}const rE="@inversifyjs/core/pendingClassMetadataCountReflectKey",Yo=Symbol.for("@inversifyjs/core/InversifyCoreError");class Ke extends Error{[Yo];kind;constructor(t,i,n){super(i,n),this[Yo]=!0,this.kind=t}static is(t){return typeof t=="object"&&t!==null&&t[Yo]===!0}static isErrorOfKind(t,i){return Ke.is(t)&&t.kind===i}}var Ge,oa,Um,zm,bt;(function(e){e[e.injectionDecoratorConflict=0]="injectionDecoratorConflict",e[e.missingInjectionDecorator=1]="missingInjectionDecorator",e[e.planning=2]="planning",e[e.resolution=3]="resolution",e[e.unknown=4]="unknown"})(Ge||(Ge={})),(function(e){e[e.unknown=32]="unknown"})(oa||(oa={})),(function(e){e.id="id",e.moduleId="moduleId",e.serviceId="serviceId"})(Um||(Um={}));(function(e){e.moduleId="moduleId",e.serviceId="serviceId"})(zm||(zm={}));function sE(){return 0}function oE(e){return t=>{t!==void 0&&t.kind===oa.unknown&&dn(e,rE,sE,i=>i-1)}}function cE(e,t){return(...i)=>n=>{if(n===void 0)return e(...i);if(n.kind===bt.unmanaged)throw new Ke(Ge.injectionDecoratorConflict,"Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found");return t(n,...i)}}function lE(e){if(e.kind!==oa.unknown&&e.isFromTypescriptParamType!==!0)throw new Ke(Ge.injectionDecoratorConflict,"Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found")}(function(e){e[e.multipleInjection=0]="multipleInjection",e[e.singleInjection=1]="singleInjection",e[e.unmanaged=2]="unmanaged"})(bt||(bt={}));const uE=cE(function(e,t,i){return e===bt.multipleInjection?{chained:i?.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(e,t,i,n){return lE(e),t===bt.multipleInjection?{...e,chained:n?.chained??!1,kind:t,value:i}:{...e,kind:t,value:i}});function Bm(e,t){return i=>{const n=i.properties.get(t);return i.properties.set(t,e(n)),i}}var at;function pE(e,t,i,n){if(Ke.isErrorOfKind(n,Ge.injectionDecoratorConflict)){const r=(function(l,s,u){if(u===void 0){if(s===void 0)throw new Ke(Ge.unknown,"Unexpected undefined property and index values");return{kind:at.property,property:s,targetClass:l.constructor}}return typeof u=="number"?{index:u,kind:at.parameter,targetClass:l}:{kind:at.method,method:s,targetClass:l}})(e,t,i);throw new Ke(Ge.injectionDecoratorConflict,`Unexpected injection error.
|
|
164
|
-
|
|
165
|
-
Cause:
|
|
166
|
-
|
|
167
|
-
${n.message}
|
|
168
|
-
|
|
169
|
-
Details
|
|
170
|
-
|
|
171
|
-
${(function(l){switch(l.kind){case at.method:return`[class: "${l.targetClass.name}", method: "${l.method.toString()}"]`;case at.parameter:return`[class: "${l.targetClass.name}", index: "${l.index.toString()}"]`;case at.property:return`[class: "${l.targetClass.name}", property: "${l.property.toString()}"]`}})(r)}`,{cause:n})}throw n}function dE(e,t){return(i,n,r)=>{try{r===void 0?(function(l,s){const u=Jo(l,s);return(d,p)=>{dn(d.constructor,Xi,Qi,Bm(u(d),p))}})(e,t)(i,n):typeof r=="number"?(function(l,s){const u=Jo(l,s);return(d,p,a)=>{if(!(function(o,c){return typeof o=="function"&&c===void 0})(d,p))throw new Ke(Ge.injectionDecoratorConflict,`Found an @inject decorator in a non constructor parameter.
|
|
172
|
-
Found @inject decorator at method "${p?.toString()??""}" at class "${d.constructor.name}"`);dn(d,Xi,Qi,(function(o,c){return f=>{const m=f.constructorArguments[c];return f.constructorArguments[c]=o(m),f}})(u(d),a))}})(e,t)(i,n,r):(function(l,s){const u=Jo(l,s);return(d,p,a)=>{if(!(function(o){return o.set!==void 0})(a))throw new Ke(Ge.injectionDecoratorConflict,`Found an @inject decorator in a non setter property method.
|
|
173
|
-
Found @inject decorator at method "${p.toString()}" at class "${d.constructor.name}"`);dn(d.constructor,Xi,Qi,Bm(u(d),p))}})(e,t)(i,n,r)}catch(l){pE(i,n,r,l)}}}function Jo(e,t){return i=>{const n=t(i);return r=>(n(r),e(r))}}function fE(e){return dE(uE(bt.singleInjection,e),oE)}(function(e){e[e.method=0]="method",e[e.parameter=1]="parameter",e[e.property=2]="property"})(at||(at={}));const Vm="@inversifyjs/core/classIsInjectableFlagReflectKey",mE=[Array,BigInt,Boolean,Function,Number,Object,String];function hE(e){const t=tl(e,"design:paramtypes");t!==void 0&&dn(e,Xi,Qi,(function(i){return n=>(i.forEach((r,l)=>{var s;n.constructorArguments[l]!==void 0||(s=r,mE.includes(s))||(n.constructorArguments[l]=(function(u){return{isFromTypescriptParamType:!0,kind:bt.singleInjection,name:void 0,optional:!1,tags:new Map,value:u}})(r))}),n)})(t))}function vE(e){return t=>{(function(i){if(tl(i,Vm)!==void 0)throw new Ke(Ge.injectionDecoratorConflict,`Cannot apply @injectable decorator multiple times at class "${i.name}"`);aE(i,Vm,!0)})(t),hE(t)}}var Km;(function(e){e[e.multipleInjection=0]="multipleInjection",e[e.singleInjection=1]="singleInjection"})(Km||(Km={}));var Gm;(function(e){e.bindingAdded="bindingAdded",e.bindingRemoved="bindingRemoved"})(Gm||(Gm={}));var Hm;(function(e){e[e.invalidOperation=0]="invalidOperation"})(Hm||(Hm={}));var gE=(e,t,i,n)=>{for(var r=t,l=e.length-1,s;l>=0;l--)(s=e[l])&&(r=s(r)||r);return r},yE=(e,t)=>(i,n)=>t(i,n,e);let Wm=class{constructor(e){this.cristalApp=e}get(e){const t=e||this.cristalApp.getWikiConfig().getType();try{return this.cristalApp.getContainer().get("LinkSuggestService",{name:t})}catch(i){this.cristalApp.getLogger("link.suggest.api").warn(`Couldn't resolve LinkSuggestService for type=[${t}]`,i);return}}};Wm=gE([vE(),yE(0,fE("CristalApp"))],Wm);var dc=(e=>(e[e.PAGE=0]="PAGE",e[e.ATTACHMENT=1]="ATTACHMENT",e))(dc||{}),nl=(e=>(e[e.WIKI=0]="WIKI",e[e.SPACE=1]="SPACE",e[e.DOCUMENT=2]="DOCUMENT",e[e.ATTACHMENT=3]="ATTACHMENT",e))(nl||{});const Bv={"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(Bv);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 qe=function(e,t,i,n){if(i==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?n:i==="a"?n.call(e):n?n.value:t.get(e)},qt,pn,dt;class bE{constructor(...t){qt.set(this,new Map),pn.set(this,new Map),dt.set(this,new Map);for(const i of t)this.define(i)}define(t,i=!1){for(let[n,r]of Object.entries(t)){n=n.toLowerCase(),r=r.map(u=>u.toLowerCase()),qe(this,dt,"f").has(n)||qe(this,dt,"f").set(n,new Set);const l=qe(this,dt,"f").get(n);let s=!0;for(let u of r){const d=u.startsWith("*");if(u=d?u.slice(1):u,l?.add(u),s&&qe(this,pn,"f").set(n,u),s=!1,d)continue;const p=qe(this,qt,"f").get(u);if(p&&p!=n&&!i)throw new Error(`"${n} -> ${u}" conflicts with "${p} -> ${u}". Pass \`force=true\` to override this definition.`);qe(this,qt,"f").set(u,n)}}return this}getType(t){if(typeof t!="string")return null;const i=t.replace(/^.*[/\\]/s,"").toLowerCase(),n=i.replace(/^.*\./s,"").toLowerCase(),r=i.length<t.length;return!(n.length<i.length-1)&&r?null:qe(this,qt,"f").get(n)??null}getExtension(t){return typeof t!="string"?null:(t=t?.split?.(";")[0],(t&&qe(this,pn,"f").get(t.trim().toLowerCase()))??null)}getAllExtensions(t){return typeof t!="string"?null:qe(this,dt,"f").get(t.toLowerCase())??null}_freeze(){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);for(const t of qe(this,dt,"f").values())Object.freeze(t);return this}_getTestState(){return{types:qe(this,qt,"f"),extensions:qe(this,pn,"f")}}}qt=new WeakMap,pn=new WeakMap,dt=new WeakMap;const Kv=new bE(Vv,Bv)._freeze(),xE=".cristal",wE=Z.join(Q.app.getPath("home"),xE);function Me(){return rw()??wE}function ot(e,...t){return Z.join(Me(),e,...t)}function SE(e){return ot(`${e}.md`)}function _E(e){const t=e.split("/");return t.length==1?`.${e}`:`${t.slice(0,t.length-1).join("/")}/.${t[t.length-1]}`}function ca(e){return ot(_E(e))}function Gv(e){return Z.join(ca(e),"attachments")}function EE(e,t){return Z.join(Gv(e),t)}async function ct(e){let t;try{t=await te.promises.lstat(e)}catch(i){console.debug(i)}return t?.isFile()}function $E(e,t){const i=Kv.getType(e);if(!i)return!1;const[n,r]=i.split("/"),[l,s]=t.split("/");return(l=="*"||l==n)&&(s=="*"||s==r)}async function Xo(e,t){if(!await ct(e))return!1;const i=Z.basename(Z.dirname(e))=="attachments";return i&&t?$E(e,t):i}async function Vi(e){if(!await ct(e))return!1;const t=Me(),i=Z.relative(t,e),n=Z.dirname(i),r=Z.dirname(n),l=Z.basename(n),s=Z.basename(r);return l!="attachments"&&(!s.startsWith(".")||l==="."||s===".")}async function $t(e){let t;try{t=await te.promises.lstat(e)}catch(i){console.debug(i)}return t?.isDirectory()}async function kE(e){return(await te.promises.readdir(e)).length==0}async function Hv(e){try{await te.promises.lstat(e)}catch{return!1}return!0}async function il(e){const t=Me();if(!await Gt(t,e))throw new Error(`[${e}] is not in in [${t}]`);if(await ct(e)){const i=await te.promises.readFile(e),n=await te.promises.stat(e),r=i.toString("utf8"),l=new zv().readPage(r),s=Z.relative(t,e).replace(/.md$/,"");return{type:nl.DOCUMENT,value:{...l,source:l.content,syntax:"markdown/1.2",lastAuthor:{name:fc.userInfo().username},lastModificationDate:new Date(n.mtimeMs),id:s,canEdit:!0}}}else return}async function RE(e){const t=Me();if(!await Gt(t,e))throw new Error(`[${e}] is not in in [${t}]`);if(await $t(e)){const i=await te.promises.readdir(e);return(await Promise.all(i.map(n=>al(Z.join(e,n))))).filter(n=>n!==void 0).map(n=>n.value)}else return}async function al(e){const t=Me();if(!await Gt(t,e))throw new Error(`[${e}] is not in in [${t}]`);if(await ct(e)){const i=await te.promises.stat(e),n=Kv.getType(e)??"",r=Z.dirname(Z.dirname(e)),l=Z.basename(r),s=Z.dirname(r),u=Z.basename(e);return{type:nl.ATTACHMENT,value:{id:u,mimetype:n,reference:Z.relative(t,Z.join(s,l,"attachments",u)),href:`${pc}://${Z.relative(t,Z.join(s,l,"attachments",u))}`,date:i.mtime,size:i.size,author:void 0}}}else return}async function Gt(e,t){const i=Z.relative(e,t);return!i.startsWith("../")&&i!==".."}async function Wv(e,t,i){const n=Me();if(!await Gt(n,e))throw new Error(`[${e}] is not in in [${n}]`);let r;if(await Hv(e)&&await ct(e)){const u=await te.promises.readFile(e),d=new TextDecoder("utf-8");r=new zv().readPage(d.decode(u)),r.content=t,r.name=i}else r={name:i,content:t};const l=new iE().writePage(r),s=Z.dirname(e);return await te.promises.mkdir(s,{recursive:!0}),await te.promises.writeFile(e,l,{flag:"w+"}),(await il(e))?.value}async function AE(e,t){const i=Me();if(!await Gt(i,e))throw new Error(`[${e}] is not in in [${i}]`);const n=Z.dirname(e);await te.promises.mkdir(n,{recursive:!0}),await te.promises.copyFile(t,e)}function TE(e){return e.includes(".")?e.slice(0,e.lastIndexOf(".")):e}async function OE(e,t){const i=await te.promises.readdir(e);for(const n of i){if(n.startsWith("."))continue;const r=Z.join(e,n);await ct(r)?t.add(TE(n)):await $t(r)&&t.add(n)}}async function PE(e){const t=ot(e),i=new Set;return await $t(t)&&await OE(t,i),Array.from(i)}async function NE(e){const t=[],i=`${ot(e)}.md`;await ct(i)&&t.push(Q.shell.trashItem(i));const n=ca(e);await $t(n)&&t.push(Q.shell.trashItem(n)),await Promise.all(t)}async function Ym(e,t){const i=await Promise.all(e.map(t));return e.filter((n,r)=>i[r])}async function jE(e,t,i){const n=Me(),r=(await ng.readdir(n,{recursive:!0})).map(u=>Z.join(n,u)),l=await Ym(r,async u=>t==dc.ATTACHMENT?Xo(u,i):t==dc.PAGE?Vi(u):await Xo(u,i)||await Vi(u)),s=await Ym(l,async u=>await Xo(u)?Z.basename(u).includes(e):await Vi(u)?Z.basename(Z.dirname(u)).includes(e):!1);return(await Promise.all(s.map(async u=>await Vi(u)?il(u):al(u)))).filter(u=>u!==void 0)}async function CE(){await Wv(Z.join(Me(),"index.md"),`# Welcome
|
|
174
|
-
|
|
175
|
-
This is a new **Cristal** wiki.
|
|
176
|
-
|
|
177
|
-
You can use it to take your *own* notes.
|
|
178
|
-
|
|
179
|
-
You can also create new [pages](index/newpage).
|
|
180
|
-
|
|
181
|
-
Enjoy!`,"")}async function IE(e,t,i){const n=`${ot(e)}`,r=`${ot(t)}`;await $t(n)&&i.push(te.promises.rename(n,r))}async function qE(e,t,i){const n=`${ot(e)}.md`,r=ca(e),l=`${ot(t)}.md`,s=ca(t),u=[];await ct(n)&&u.push(te.promises.rename(n,l)),await $t(r)&&u.push(te.promises.rename(r,s)),i&&await IE(e,t,u),await Promise.all(u)}async function LE(){Q.ipcMain.on("initRootDirectory",async()=>{const e=Me();(!await Hv(e)||await $t(e)&&await kE(e))&&await CE()}),Q.protocol.handle(pc,async e=>{const t=Me(),i=Z.join(t,e.url.substring(`${pc}://`.length));if(!await Gt(t,i))throw new Error(`[${i}] is not in in [${t}]`);return Q.net.fetch(`file://${decodeURIComponent(i)}`)}),Q.ipcMain.handle("resolvePath",(e,{page:t})=>SE(t)),Q.ipcMain.handle("resolveAttachmentsPath",(e,{page:t})=>Gv(t)),Q.ipcMain.handle("readPage",async(e,{path:t})=>(await il(t))?.value),Q.ipcMain.handle("readAttachments",(e,{path:t})=>RE(t)),Q.ipcMain.handle("readAttachment",async(e,{path:t})=>(await al(t))?.value),Q.ipcMain.handle("savePage",(e,{path:t,content:i,title:n})=>Wv(t,i,n)),Q.ipcMain.handle("resolveAttachmentPath",(e,{page:t,filename:i})=>EE(t,i)),Q.ipcMain.handle("saveAttachment",(e,{path:t,filePath:i})=>AE(t,i)),Q.ipcMain.handle("listChildren",(e,{page:t})=>PE(t)),Q.ipcMain.handle("deletePage",(e,{path:t})=>NE(t)),Q.ipcMain.handle("search",(e,{query:t,type:i,mimetype:n})=>jE(t,i,n)),Q.ipcMain.handle("movePage",(e,{reference:t,newReference:i,preserveChildren:n})=>qE(t,i,n))}const DE=Q.app.requestSingleInstanceLock();DE||(Q.app.quit(),process.exit(0));Q.app.on("second-instance",Qo);Q.app.disableHardwareAcceleration();Q.app.on("window-all-closed",()=>{pe.platform!=="darwin"&&Q.app.quit()});process.env.NODE_ENV!=="development"&&(console.debug=()=>{});Q.app.whenReady().then(async()=>{await LE();const e=await Qo();cw(e),l_(e,Ki),S_(e,Ki),j_(e,Ki),nw(),Q.app.on("activate",()=>{Q.BrowserWindow.getAllWindows().length===0&&Qo()})}).catch(e=>console.error("Failed create window:",e));Q.app.whenReady().then(()=>require("electron-updater").autoUpdater.checkForUpdatesAndNotify()).catch(e=>console.error("Failed check and install updates:",e));
|