@comate/zulu 0.0.12 → 0.0.13
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/comate-engine/bin/comate.js +32 -1
- package/comate-engine/node_modules/@comate/plugin-engine/dist/index.js +15 -7
- package/comate-engine/node_modules/@comate/plugin-host/dist/index.js +1 -1
- package/comate-engine/node_modules/@comate/plugin-host/dist/main.js +1 -1
- package/comate-engine/node_modules/@comate/plugin-host/dist/{user-Btg63hPI.js → user-tNVx6ovK.js} +15 -7
- package/comate-engine/node_modules/@comate/plugin-shared-internals/dist/index.d.ts +63 -4
- package/comate-engine/node_modules/@comate/plugin-shared-internals/dist/index.js +15 -7
- package/comate-engine/node_modules/@comate/plugin-shared-internals/package.json +1 -0
- package/comate-engine/plugins/demo-feature/dist/index.js +17204 -0
- package/comate-engine/plugins/devaux/dist/index.js +203 -0
- package/comate-engine/plugins/f2c/dist/index.js +17204 -0
- package/comate-engine/plugins/xiaomi-aiot/dist/index.js +17204 -0
- package/comate-engine/server.js +17 -17
- package/dist/bundle/index.js +2 -2
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import e from"node:path";import t from"node:fs/promises";import n,{createWriteStream as i,createReadStream as s,realpathSync as o,statSync as a,Stats as r}from"node:fs";import c from"fs";import p from"constants";import l,{Readable as u}from"stream";import d from"util";import m from"assert";import f from"path";import h from"os";import x from"http";import g from"https";import v from"url";import b from"crypto";import y from"tty";import w from"zlib";import _,{EventEmitter as E}from"events";import S,{homedir as k,constants as R}from"node:os";import T from"node:process";import O,{fileURLToPath as A,URL as C,pathToFileURL as P}from"node:url";import{Transform as L}from"node:stream";import"node:crypto";import{Buffer as j}from"node:buffer";import I,{ChildProcess as N}from"node:child_process";import F from"child_process";import{setTimeout as D}from"node:timers/promises";import{debuglog as M,format as $,inspect as B}from"node:util";import U from"node:assert";import{builtinModules as z}from"node:module";import H from"node:v8";const G="LOG";class q{current=0;next(){return++this.current}}class W{tasks=new Map;start(e){const t=this.tasks.get(e)??function(){const e={};if(e.promise=new Promise((t=>e.resolve=t)),"object"!=typeof(t=e).promise||"function"!=typeof t.resolve)throw new Error("Failed to create a pending task due to unexpected system error");var t;return e}();return this.tasks.set(e,t),t.promise}resolve(e,t){const n=this.tasks.get(e);return n&&(n.resolve(t),this.tasks.delete(e)),!!n}remove(e){return this.tasks.delete(e)}}class K{chunksCount=-1;queue=[];put(e,t,n){if(this.chunksCount>=0)return;const i=this.queue.at(e);if(i&&"pending"===i.state)i.resolve({value:t,done:!1});else{const n={state:"resolved",value:t};this.queue[e]=n}n&&(this.chunksCount=this.queue.length)}[Symbol.asyncIterator](){const e={cursor:0};return{next:()=>{const t=e.cursor;if(this.chunksCount>=0&&t>=this.chunksCount)return Promise.resolve({value:void 0,done:!0});const n=this.queue.at(t);if(e.cursor++,n)return"resolved"===n.state?Promise.resolve({value:n.value,done:!1}):n.promise;const i={state:"pending"};return i.promise=new Promise((e=>i.resolve=e)),this.queue[t]=i,i.promise}}}}class V{tasks=new Map;start(e){const t=this.tasks.get(e)??new K;return this.tasks.set(e,t),t}put(e,t,n,i){const s=this.tasks.get(e);return s&&(s.put(t,n,i),i&&this.tasks.delete(e)),!!s}}const Y="SESSION_FINISH";class Q{sessionId;parent;lifeCycleConnected;listeners=new Map;channel;timeoutTimer;executions=new W;streams=new V;incrementer=new q;constructor(e,t){"string"==typeof e.association?(this.parent=null,this.sessionId=e.association):(this.parent=e.association,this.sessionId=e.association.sessionId),this.lifeCycleConnected=e.options?.lifeCycleConnected??!0,this.channel=t,this.initializeListeners(),this.timeoutTimer=setTimeout((()=>this.log("warn",this.constructor.name,"SessionTimeout")),3e5)}async handleMessage(e,t,n){e!==G&&this.log("system",this.constructor.name,"HandleMessage",{actionName:e}),await(this.listeners.get(e)?.(t,n)),n&&(this.streams.put(n.executionId,n.segmentOrder,t,n.done),this.executions.resolve(n.executionId,t))}start(e){this.log("system",this.constructor.name,"SessionStart"),this.send({action:"SESSION_START"}),this.send(e)}finish(){clearTimeout(this.timeoutTimer),this.log("system",this.constructor.name,"SessionFinish"),this.send({action:Y})}log(e,t,n,i){this.parent?this.parent.log(e,t,n,i):this.send({action:G,payload:{level:e,source:t,action:n,detail:i??{}}})}send(e,t){const n=t??{executionId:this.incrementer.next(),segmentOrder:0,done:!0},i={sessionId:this.sessionId,data:e,execution:n};return this.channel.send(i),this.executions.start(n.executionId)}sendStreaming(e,t){const n=t??{executionId:this.incrementer.next(),segmentOrder:0,done:!0},i={sessionId:this.sessionId,data:e,execution:n};return this.channel.send(i),this.streams.start(n.executionId)}setListener(e,t){if(this.listeners.has(e))throw new Error(`Duplicate listener on action ${e.toString()}`);this.listeners.set(e,t)}forwardMessageToParent(e){this.setListener(e,(async(t,n)=>{this.parent&&this.parent.send({action:e,payload:t},n)}))}initializeListeners(){this.forwardMessageToParent(G),this.setListener(Y,(async()=>{this.parent&&this.lifeCycleConnected&&this.parent.send({action:Y})}))}}class X{implement;sessions=new Map;tasks=new W;constructor(e){if("function"!=typeof e.send)throw new Error("Cannot send data over channel");this.implement=e}start(){this.implement.on("message",(async e=>{if(t=e,!t?.sessionId)return;var t;const{data:{action:n,payload:i},sessionId:s,execution:o}=e;if("string"!=typeof n)return;const a=this.sessions.get(s)??this.createSession({association:s});this.sessions.set(s,a),await a.handleMessage(n,i,o),n===Y&&(this.sessions.delete(s),this.tasks.resolve(s))}))}async startSession(e,t,n){const i=this.createSession({association:e,options:n});this.sessions.set(i.sessionId,i);try{return i.start(t),setTimeout((()=>this.tasks.resolve(i.sessionId)),1e3),this.tasks.start(i.sessionId)}catch(e){throw this.sessions.delete(i.sessionId),this.tasks.remove(i.sessionId),e}}send(e,t,n){return this.sessions.get(e)?.send(t,n)}log(e,t,n={}){const i={sessionId:null,data:{action:G,payload:{level:"system",source:e,action:t,detail:n}}};this.implement.send(i)}}const J="REQUEST_PERMISSION";var Z;!function(e){e.WorkspaceFileSystem="WorkspaceFileSystem",e.FullDiskFileSystem="FullDiskFileSystem",e.CodeSecurity="CodeSecurity",e.UserDetail="UserDetail"}(Z||(Z={}));const ee="ASK_LLM",te="ASK_LLM_STREAMING";var ne,ie,se;!function(e){e[e.Text=0]="Text",e[e.Code=1]="Code",e[e.Function=2]="Function",e[e.ExplainCode=3]="ExplainCode",e[e.DocCommentForCode=4]="DocCommentForCode",e[e.CommentForCode=5]="CommentForCode"}(ne||(ne={})),function(e){e.Default="default-model",e.ErnieBot="ernie-bot",e.ErnieBot128="ernie-bot-3-128",e.ErnieBot4="ernie-bot-4",e.ErnieBot4Turbo="ernie-bot-4-turbo",e.ErnieBot4Turbo128="ernie-bot-4-turbo-128"}(ie||(ie={})),function(e){e.Default="default-model",e.ErnieBot="ernie-bot",e.ErnieBot4="ernie-bot-4"}(se||(se={}));const oe="GET_PLUGIN_CONFIG",ae="INFORMATION_QUERY";var re,ce;!function(e){e.CURRENT_FILE="CURRENT_FILE",e.FILE="FILE",e.FOLDER="FOLDER",e.REPO="REPO",e.SYSTEM="SYSTEM",e.NORMAL="NORMAL",e.URL="URL",e.WEB="WEB",e.API="API",e.API_PROJECT="API_PROJECT",e.CODE="CODE",e.TEMP="TEMP",e.TERMINAL="TERMINAL"}(re||(re={})),function(e){e.Text="TEXT",e.Code="CODE",e.File="FILE"}(ce||(ce={}));var pe;!function(e){e.INIT="INIT",e.PROCESSING="PROCESSING",e.SUCCEED="SUCCEED",e.FAIL="FAIL"}(pe||(pe={}));const le="ACCEPT_DIR";var ue,de,me,fe;!function(e){e.Failed="failed",e.Success="success",e.InProgress="inProgress",e.Cancelled="cancelled"}(ue||(ue={})),function(e){e.UNREADY="unready",e.READY="ready",e.RUNNING="running",e.SUCCESS="success",e.FAILED="failed",e.CANCELLED="cancelled"}(de||(de={})),function(e){e.SecuBotConversation="SecuBotConversation",e.DebugBotConversation="DebugBotConversation",e.TestBotConversation="TestBotConversation",e.E2EBotConversation="E2EBotConversation",e.F2cBotConversation="F2cBotConversation"}(me||(me={})),me.SecuBotConversation,me.DebugBotConversation,me.TestBotConversation,me.E2EBotConversation,me.F2cBotConversation,function(e){e.Ready="Ready",e.Running="Running",e.Failed="Failed",e.Completed="Completed",e.Cancelled="Cancelled"}(fe||(fe={}));const he="ACTION_DEBUG_TASK_PROCESS",xe="ACTION_ASK_RAG",ge="CODE_SEARCH";async function ve(n){const i=e.join(n,"package.json"),s=JSON.parse(await t.readFile(i,"utf-8")).comate;if(!s)throw new Error(`No comate field in ${i}`);return function(e){if(!e.name)throw new Error("Missing plugin name");if(!e.entry)throw new Error(`Missing entry for plugin ${e.name}`);if(e.capabilities.filter((e=>"Fallback"===e.type)).length>1)throw new Error("Only one fallback capability is allowed")}(s),s}var be="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ye(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var we={},_e={fromCallback:function(e){return Object.defineProperty((function(...t){if("function"!=typeof t[t.length-1])return new Promise(((n,i)=>{t.push(((e,t)=>null!=e?i(e):n(t))),e.apply(this,t)}));e.apply(this,t)}),"name",{value:e.name})},fromPromise:function(e){return Object.defineProperty((function(...t){const n=t[t.length-1];if("function"!=typeof n)return e.apply(this,t);t.pop(),e.apply(this,t).then((e=>n(null,e)),n)}),"name",{value:e.name})}},Ee=p,Se=process.cwd,ke=null,Re=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return ke||(ke=Se.call(process)),ke};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var Te=process.chdir;process.chdir=function(e){ke=null,Te.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,Te)}var Oe=function(e){Ee.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,n,i){e.open(t,Ee.O_WRONLY|Ee.O_SYMLINK,n,(function(t,s){t?i&&i(t):e.fchmod(s,n,(function(t){e.close(s,(function(e){i&&i(t||e)}))}))}))},e.lchmodSync=function(t,n){var i,s=e.openSync(t,Ee.O_WRONLY|Ee.O_SYMLINK,n),o=!0;try{i=e.fchmodSync(s,n),o=!1}finally{if(o)try{e.closeSync(s)}catch(e){}else e.closeSync(s)}return i}}(e);e.lutimes||function(e){Ee.hasOwnProperty("O_SYMLINK")&&e.futimes?(e.lutimes=function(t,n,i,s){e.open(t,Ee.O_SYMLINK,(function(t,o){t?s&&s(t):e.futimes(o,n,i,(function(t){e.close(o,(function(e){s&&s(t||e)}))}))}))},e.lutimesSync=function(t,n,i){var s,o=e.openSync(t,Ee.O_SYMLINK),a=!0;try{s=e.futimesSync(o,n,i),a=!1}finally{if(a)try{e.closeSync(o)}catch(e){}else e.closeSync(o)}return s}):e.futimes&&(e.lutimes=function(e,t,n,i){i&&process.nextTick(i)},e.lutimesSync=function(){})}(e);e.chown=i(e.chown),e.fchown=i(e.fchown),e.lchown=i(e.lchown),e.chmod=t(e.chmod),e.fchmod=t(e.fchmod),e.lchmod=t(e.lchmod),e.chownSync=s(e.chownSync),e.fchownSync=s(e.fchownSync),e.lchownSync=s(e.lchownSync),e.chmodSync=n(e.chmodSync),e.fchmodSync=n(e.fchmodSync),e.lchmodSync=n(e.lchmodSync),e.stat=o(e.stat),e.fstat=o(e.fstat),e.lstat=o(e.lstat),e.statSync=a(e.statSync),e.fstatSync=a(e.fstatSync),e.lstatSync=a(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(e,t,n){n&&process.nextTick(n)},e.lchmodSync=function(){});e.chown&&!e.lchown&&(e.lchown=function(e,t,n,i){i&&process.nextTick(i)},e.lchownSync=function(){});"win32"===Re&&(e.rename="function"!=typeof e.rename?e.rename:function(t){function n(n,i,s){var o=Date.now(),a=0;t(n,i,(function r(c){if(c&&("EACCES"===c.code||"EPERM"===c.code||"EBUSY"===c.code)&&Date.now()-o<6e4)return setTimeout((function(){e.stat(i,(function(e,o){e&&"ENOENT"===e.code?t(n,i,r):s(c)}))}),a),void(a<100&&(a+=10));s&&s(c)}))}return Object.setPrototypeOf&&Object.setPrototypeOf(n,t),n}(e.rename));function t(t){return t?function(n,i,s){return t.call(e,n,i,(function(e){r(e)&&(e=null),s&&s.apply(this,arguments)}))}:t}function n(t){return t?function(n,i){try{return t.call(e,n,i)}catch(e){if(!r(e))throw e}}:t}function i(t){return t?function(n,i,s,o){return t.call(e,n,i,s,(function(e){r(e)&&(e=null),o&&o.apply(this,arguments)}))}:t}function s(t){return t?function(n,i,s){try{return t.call(e,n,i,s)}catch(e){if(!r(e))throw e}}:t}function o(t){return t?function(n,i,s){function o(e,t){t&&(t.uid<0&&(t.uid+=4294967296),t.gid<0&&(t.gid+=4294967296)),s&&s.apply(this,arguments)}return"function"==typeof i&&(s=i,i=null),i?t.call(e,n,i,o):t.call(e,n,o)}:t}function a(t){return t?function(n,i){var s=i?t.call(e,n,i):t.call(e,n);return s&&(s.uid<0&&(s.uid+=4294967296),s.gid<0&&(s.gid+=4294967296)),s}:t}function r(e){return!e||("ENOSYS"===e.code||!(process.getuid&&0===process.getuid()||"EINVAL"!==e.code&&"EPERM"!==e.code))}e.read="function"!=typeof e.read?e.read:function(t){function n(n,i,s,o,a,r){var c;if(r&&"function"==typeof r){var p=0;c=function(l,u,d){if(l&&"EAGAIN"===l.code&&p<10)return p++,t.call(e,n,i,s,o,a,c);r.apply(this,arguments)}}return t.call(e,n,i,s,o,a,c)}return Object.setPrototypeOf&&Object.setPrototypeOf(n,t),n}(e.read),e.readSync="function"!=typeof e.readSync?e.readSync:(c=e.readSync,function(t,n,i,s,o){for(var a=0;;)try{return c.call(e,t,n,i,s,o)}catch(e){if("EAGAIN"===e.code&&a<10){a++;continue}throw e}});var c};var Ae=l.Stream,Ce=function(e){return{ReadStream:function t(n,i){if(!(this instanceof t))return new t(n,i);Ae.call(this);var s=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,i=i||{};for(var o=Object.keys(i),a=0,r=o.length;a<r;a++){var c=o[a];this[c]=i[c]}this.encoding&&this.setEncoding(this.encoding);if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(void 0===this.end)this.end=1/0;else if("number"!=typeof this.end)throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(null!==this.fd)return void process.nextTick((function(){s._read()}));e.open(this.path,this.flags,this.mode,(function(e,t){if(e)return s.emit("error",e),void(s.readable=!1);s.fd=t,s.emit("open",t),s._read()}))},WriteStream:function t(n,i){if(!(this instanceof t))return new t(n,i);Ae.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var s=Object.keys(i),o=0,a=s.length;o<a;o++){var r=s[o];this[r]=i[r]}if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],null===this.fd&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}};var Pe=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var t={__proto__:Le(e)};else t=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t},Le=Object.getPrototypeOf||function(e){return e.__proto__};var je,Ie,Ne=c,Fe=Oe,De=Ce,Me=Pe,$e=d;function Be(e,t){Object.defineProperty(e,je,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(je=Symbol.for("graceful-fs.queue"),Ie=Symbol.for("graceful-fs.previous")):(je="___graceful-fs.queue",Ie="___graceful-fs.previous");var Ue=function(){};if($e.debuglog?Ue=$e.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(Ue=function(){var e=$e.format.apply($e,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!Ne[je]){var ze=be[je]||[];Be(Ne,ze),Ne.close=function(e){function t(t,n){return e.call(Ne,t,(function(e){e||Ke(),"function"==typeof n&&n.apply(this,arguments)}))}return Object.defineProperty(t,Ie,{value:e}),t}(Ne.close),Ne.closeSync=function(e){function t(t){e.apply(Ne,arguments),Ke()}return Object.defineProperty(t,Ie,{value:e}),t}(Ne.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){Ue(Ne[je]),m.equal(Ne[je].length,0)}))}be[je]||Be(be,Ne[je]);var He,Ge=qe(Me(Ne));function qe(e){Fe(e),e.gracefulify=qe,e.createReadStream=function(t,n){return new e.ReadStream(t,n)},e.createWriteStream=function(t,n){return new e.WriteStream(t,n)};var t=e.readFile;e.readFile=function(e,n,i){"function"==typeof n&&(i=n,n=null);return function e(n,i,s,o){return t(n,i,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?"function"==typeof s&&s.apply(this,arguments):We([e,[n,i,s],t,o||Date.now(),Date.now()])}))}(e,n,i)};var n=e.writeFile;e.writeFile=function(e,t,i,s){"function"==typeof i&&(s=i,i=null);return function e(t,i,s,o,a){return n(t,i,s,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?"function"==typeof o&&o.apply(this,arguments):We([e,[t,i,s,o],n,a||Date.now(),Date.now()])}))}(e,t,i,s)};var i=e.appendFile;i&&(e.appendFile=function(e,t,n,s){"function"==typeof n&&(s=n,n=null);return function e(t,n,s,o,a){return i(t,n,s,(function(i){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?"function"==typeof o&&o.apply(this,arguments):We([e,[t,n,s,o],i,a||Date.now(),Date.now()])}))}(e,t,n,s)});var s=e.copyFile;s&&(e.copyFile=function(e,t,n,i){"function"==typeof n&&(i=n,n=0);return function e(t,n,i,o,a){return s(t,n,i,(function(s){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?"function"==typeof o&&o.apply(this,arguments):We([e,[t,n,i,o],s,a||Date.now(),Date.now()])}))}(e,t,n,i)});var o=e.readdir;e.readdir=function(e,t,n){"function"==typeof t&&(n=t,t=null);var i=a.test(process.version)?function(e,t,n,i){return o(e,s(e,t,n,i))}:function(e,t,n,i){return o(e,t,s(e,t,n,i))};return i(e,t,n);function s(e,t,n,s){return function(o,a){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?(a&&a.sort&&a.sort(),"function"==typeof n&&n.call(this,o,a)):We([i,[e,t,n],o,s||Date.now(),Date.now()])}}};var a=/^v[0-5]\./;if("v0.8"===process.version.substr(0,4)){var r=De(e);d=r.ReadStream,m=r.WriteStream}var c=e.ReadStream;c&&(d.prototype=Object.create(c.prototype),d.prototype.open=function(){var e=this;h(e.path,e.flags,e.mode,(function(t,n){t?(e.autoClose&&e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n),e.read())}))});var p=e.WriteStream;p&&(m.prototype=Object.create(p.prototype),m.prototype.open=function(){var e=this;h(e.path,e.flags,e.mode,(function(t,n){t?(e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n))}))}),Object.defineProperty(e,"ReadStream",{get:function(){return d},set:function(e){d=e},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return m},set:function(e){m=e},enumerable:!0,configurable:!0});var l=d;Object.defineProperty(e,"FileReadStream",{get:function(){return l},set:function(e){l=e},enumerable:!0,configurable:!0});var u=m;function d(e,t){return this instanceof d?(c.apply(this,arguments),this):d.apply(Object.create(d.prototype),arguments)}function m(e,t){return this instanceof m?(p.apply(this,arguments),this):m.apply(Object.create(m.prototype),arguments)}Object.defineProperty(e,"FileWriteStream",{get:function(){return u},set:function(e){u=e},enumerable:!0,configurable:!0});var f=e.open;function h(e,t,n,i){return"function"==typeof n&&(i=n,n=null),function e(t,n,i,s,o){return f(t,n,i,(function(a,r){!a||"EMFILE"!==a.code&&"ENFILE"!==a.code?"function"==typeof s&&s.apply(this,arguments):We([e,[t,n,i,s],a,o||Date.now(),Date.now()])}))}(e,t,n,i)}return e.open=h,e}function We(e){Ue("ENQUEUE",e[0].name,e[1]),Ne[je].push(e),Ve()}function Ke(){for(var e=Date.now(),t=0;t<Ne[je].length;++t)Ne[je][t].length>2&&(Ne[je][t][3]=e,Ne[je][t][4]=e);Ve()}function Ve(){if(clearTimeout(He),He=void 0,0!==Ne[je].length){var e=Ne[je].shift(),t=e[0],n=e[1],i=e[2],s=e[3],o=e[4];if(void 0===s)Ue("RETRY",t.name,n),t.apply(null,n);else if(Date.now()-s>=6e4){Ue("TIMEOUT",t.name,n);var a=n.pop();"function"==typeof a&&a.call(null,i)}else{var r=Date.now()-o,c=Math.max(o-s,1);r>=Math.min(1.2*c,100)?(Ue("RETRY",t.name,n),t.apply(null,n.concat([s]))):Ne[je].push(e)}void 0===He&&(He=setTimeout(Ve,0))}}process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Ne.__patched&&(Ge=qe(Ne),Ne.__patched=!0),function(e){const t=_e.fromCallback,n=Ge,i=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter((e=>"function"==typeof n[e]));Object.assign(e,n),i.forEach((i=>{e[i]=t(n[i])})),e.exists=function(e,t){return"function"==typeof t?n.exists(e,t):new Promise((t=>n.exists(e,t)))},e.read=function(e,t,i,s,o,a){return"function"==typeof a?n.read(e,t,i,s,o,a):new Promise(((a,r)=>{n.read(e,t,i,s,o,((e,t,n)=>{if(e)return r(e);a({bytesRead:t,buffer:n})}))}))},e.write=function(e,t,...i){return"function"==typeof i[i.length-1]?n.write(e,t,...i):new Promise(((s,o)=>{n.write(e,t,...i,((e,t,n)=>{if(e)return o(e);s({bytesWritten:t,buffer:n})}))}))},e.readv=function(e,t,...i){return"function"==typeof i[i.length-1]?n.readv(e,t,...i):new Promise(((s,o)=>{n.readv(e,t,...i,((e,t,n)=>{if(e)return o(e);s({bytesRead:t,buffers:n})}))}))},e.writev=function(e,t,...i){return"function"==typeof i[i.length-1]?n.writev(e,t,...i):new Promise(((s,o)=>{n.writev(e,t,...i,((e,t,n)=>{if(e)return o(e);s({bytesWritten:t,buffers:n})}))}))},"function"==typeof n.realpath.native?e.realpath.native=t(n.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")}(we);var Ye={},Qe={};const Xe=f;Qe.checkPath=function(e){if("win32"===process.platform){if(/[<>:"|?*]/.test(e.replace(Xe.parse(e).root,""))){const t=new Error(`Path contains invalid characters: ${e}`);throw t.code="EINVAL",t}}};const Je=we,{checkPath:Ze}=Qe,et=e=>"number"==typeof e?e:{mode:511,...e}.mode;Ye.makeDir=async(e,t)=>(Ze(e),Je.mkdir(e,{mode:et(t),recursive:!0})),Ye.makeDirSync=(e,t)=>(Ze(e),Je.mkdirSync(e,{mode:et(t),recursive:!0}));const tt=_e.fromPromise,{makeDir:nt,makeDirSync:it}=Ye,st=tt(nt);var ot={mkdirs:st,mkdirsSync:it,mkdirp:st,mkdirpSync:it,ensureDir:st,ensureDirSync:it};const at=_e.fromPromise,rt=we;var ct={pathExists:at((function(e){return rt.access(e).then((()=>!0)).catch((()=>!1))})),pathExistsSync:rt.existsSync};const pt=we;var lt={utimesMillis:(0,_e.fromPromise)((async function(e,t,n){const i=await pt.open(e,"r+");let s=null;try{await pt.futimes(i,t,n)}finally{try{await pt.close(i)}catch(e){s=e}}if(s)throw s})),utimesMillisSync:function(e,t,n){const i=pt.openSync(e,"r+");return pt.futimesSync(i,t,n),pt.closeSync(i)}};const ut=we,dt=f,mt=_e.fromPromise;function ft(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function ht(e,t){const n=dt.resolve(e).split(dt.sep).filter((e=>e)),i=dt.resolve(t).split(dt.sep).filter((e=>e));return n.every(((e,t)=>i[t]===e))}function xt(e,t,n){return`Cannot ${n} '${e}' to a subdirectory of itself, '${t}'.`}var gt={checkPaths:mt((async function(e,t,n,i){const{srcStat:s,destStat:o}=await function(e,t,n){const i=n.dereference?e=>ut.stat(e,{bigint:!0}):e=>ut.lstat(e,{bigint:!0});return Promise.all([i(e),i(t).catch((e=>{if("ENOENT"===e.code)return null;throw e}))]).then((([e,t])=>({srcStat:e,destStat:t})))}(e,t,i);if(o){if(ft(s,o)){const i=dt.basename(e),a=dt.basename(t);if("move"===n&&i!==a&&i.toLowerCase()===a.toLowerCase())return{srcStat:s,destStat:o,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(s.isDirectory()&&!o.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!s.isDirectory()&&o.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(s.isDirectory()&&ht(e,t))throw new Error(xt(e,t,n));return{srcStat:s,destStat:o}})),checkPathsSync:function(e,t,n,i){const{srcStat:s,destStat:o}=function(e,t,n){let i;const s=n.dereference?e=>ut.statSync(e,{bigint:!0}):e=>ut.lstatSync(e,{bigint:!0}),o=s(e);try{i=s(t)}catch(e){if("ENOENT"===e.code)return{srcStat:o,destStat:null};throw e}return{srcStat:o,destStat:i}}(e,t,i);if(o){if(ft(s,o)){const i=dt.basename(e),a=dt.basename(t);if("move"===n&&i!==a&&i.toLowerCase()===a.toLowerCase())return{srcStat:s,destStat:o,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(s.isDirectory()&&!o.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!s.isDirectory()&&o.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(s.isDirectory()&&ht(e,t))throw new Error(xt(e,t,n));return{srcStat:s,destStat:o}},checkParentPaths:mt((async function e(t,n,i,s){const o=dt.resolve(dt.dirname(t)),a=dt.resolve(dt.dirname(i));if(a===o||a===dt.parse(a).root)return;let r;try{r=await ut.stat(a,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(ft(n,r))throw new Error(xt(t,i,s));return e(t,n,a,s)})),checkParentPathsSync:function e(t,n,i,s){const o=dt.resolve(dt.dirname(t)),a=dt.resolve(dt.dirname(i));if(a===o||a===dt.parse(a).root)return;let r;try{r=ut.statSync(a,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(ft(n,r))throw new Error(xt(t,i,s));return e(t,n,a,s)},isSrcSubdir:ht,areIdentical:ft};const vt=we,bt=f,{mkdirs:yt}=ot,{pathExists:wt}=ct,{utimesMillis:_t}=lt,Et=gt;async function St(e,t,n){return!n.filter||n.filter(e,t)}async function kt(e,t,n,i){const s=i.dereference?vt.stat:vt.lstat,o=await s(t);if(o.isDirectory())return async function(e,t,n,i,s){t||await vt.mkdir(i);const o=await vt.readdir(n);await Promise.all(o.map((async e=>{const t=bt.join(n,e),o=bt.join(i,e);if(!await St(t,o,s))return;const{destStat:a}=await Et.checkPaths(t,o,"copy",s);return kt(a,t,o,s)}))),t||await vt.chmod(i,e.mode)}(o,e,t,n,i);if(o.isFile()||o.isCharacterDevice()||o.isBlockDevice())return async function(e,t,n,i,s){if(!t)return Rt(e,n,i,s);if(s.overwrite)return await vt.unlink(i),Rt(e,n,i,s);if(s.errorOnExist)throw new Error(`'${i}' already exists`)}(o,e,t,n,i);if(o.isSymbolicLink())return async function(e,t,n,i){let s=await vt.readlink(t);i.dereference&&(s=bt.resolve(process.cwd(),s));if(!e)return vt.symlink(s,n);let o=null;try{o=await vt.readlink(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return vt.symlink(s,n);throw e}i.dereference&&(o=bt.resolve(process.cwd(),o));if(Et.isSrcSubdir(s,o))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${o}'.`);if(Et.isSrcSubdir(o,s))throw new Error(`Cannot overwrite '${o}' with '${s}'.`);return await vt.unlink(n),vt.symlink(s,n)}(e,t,n,i);if(o.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(o.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}async function Rt(e,t,n,i){if(await vt.copyFile(t,n),i.preserveTimestamps){0==(128&e.mode)&&await function(e,t){return vt.chmod(e,128|t)}(n,e.mode);const i=await vt.stat(t);await _t(n,i.atime,i.mtime)}return vt.chmod(n,e.mode)}var Tt=async function(e,t,n={}){"function"==typeof n&&(n={filter:n}),n.clobber=!("clobber"in n)||!!n.clobber,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0001");const{srcStat:i,destStat:s}=await Et.checkPaths(e,t,"copy",n);if(await Et.checkParentPaths(e,i,t,"copy"),!await St(e,t,n))return;const o=bt.dirname(t);await wt(o)||await yt(o),await kt(s,e,t,n)};const Ot=Ge,At=f,Ct=ot.mkdirsSync,Pt=lt.utimesMillisSync,Lt=gt;function jt(e,t,n,i){const s=(i.dereference?Ot.statSync:Ot.lstatSync)(t);if(s.isDirectory())return function(e,t,n,i,s){return t?Ft(n,i,s):function(e,t,n,i){return Ot.mkdirSync(n),Ft(t,n,i),Nt(n,e)}(e.mode,n,i,s)}(s,e,t,n,i);if(s.isFile()||s.isCharacterDevice()||s.isBlockDevice())return function(e,t,n,i,s){return t?function(e,t,n,i){if(i.overwrite)return Ot.unlinkSync(n),It(e,t,n,i);if(i.errorOnExist)throw new Error(`'${n}' already exists`)}(e,n,i,s):It(e,n,i,s)}(s,e,t,n,i);if(s.isSymbolicLink())return function(e,t,n,i){let s=Ot.readlinkSync(t);i.dereference&&(s=At.resolve(process.cwd(),s));if(e){let e;try{e=Ot.readlinkSync(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return Ot.symlinkSync(s,n);throw e}if(i.dereference&&(e=At.resolve(process.cwd(),e)),Lt.isSrcSubdir(s,e))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${e}'.`);if(Lt.isSrcSubdir(e,s))throw new Error(`Cannot overwrite '${e}' with '${s}'.`);return function(e,t){return Ot.unlinkSync(t),Ot.symlinkSync(e,t)}(s,n)}return Ot.symlinkSync(s,n)}(e,t,n,i);if(s.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(s.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}function It(e,t,n,i){return Ot.copyFileSync(t,n),i.preserveTimestamps&&function(e,t,n){(function(e){return 0==(128&e)})(e)&&function(e,t){Nt(e,128|t)}(n,e);(function(e,t){const n=Ot.statSync(e);Pt(t,n.atime,n.mtime)})(t,n)}(e.mode,t,n),Nt(n,e.mode)}function Nt(e,t){return Ot.chmodSync(e,t)}function Ft(e,t,n){Ot.readdirSync(e).forEach((i=>function(e,t,n,i){const s=At.join(t,e),o=At.join(n,e);if(i.filter&&!i.filter(s,o))return;const{destStat:a}=Lt.checkPathsSync(s,o,"copy",i);return jt(a,s,o,i)}(i,e,t,n)))}var Dt=function(e,t,n){"function"==typeof n&&(n={filter:n}),(n=n||{}).clobber=!("clobber"in n)||!!n.clobber,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0002");const{srcStat:i,destStat:s}=Lt.checkPathsSync(e,t,"copy",n);if(Lt.checkParentPathsSync(e,i,t,"copy"),n.filter&&!n.filter(e,t))return;const o=At.dirname(t);return Ot.existsSync(o)||Ct(o),jt(s,e,t,n)};var Mt={copy:(0,_e.fromPromise)(Tt),copySync:Dt};const $t=Ge;var Bt={remove:(0,_e.fromCallback)((function(e,t){$t.rm(e,{recursive:!0,force:!0},t)})),removeSync:function(e){$t.rmSync(e,{recursive:!0,force:!0})}};const Ut=_e.fromPromise,zt=we,Ht=f,Gt=ot,qt=Bt,Wt=Ut((async function(e){let t;try{t=await zt.readdir(e)}catch{return Gt.mkdirs(e)}return Promise.all(t.map((t=>qt.remove(Ht.join(e,t)))))}));function Kt(e){let t;try{t=zt.readdirSync(e)}catch{return Gt.mkdirsSync(e)}t.forEach((t=>{t=Ht.join(e,t),qt.removeSync(t)}))}var Vt={emptyDirSync:Kt,emptydirSync:Kt,emptyDir:Wt,emptydir:Wt};const Yt=_e.fromPromise,Qt=f,Xt=we,Jt=ot;var Zt={createFile:Yt((async function(e){let t;try{t=await Xt.stat(e)}catch{}if(t&&t.isFile())return;const n=Qt.dirname(e);let i=null;try{i=await Xt.stat(n)}catch(t){if("ENOENT"===t.code)return await Jt.mkdirs(n),void await Xt.writeFile(e,"");throw t}i.isDirectory()?await Xt.writeFile(e,""):await Xt.readdir(n)})),createFileSync:function(e){let t;try{t=Xt.statSync(e)}catch{}if(t&&t.isFile())return;const n=Qt.dirname(e);try{Xt.statSync(n).isDirectory()||Xt.readdirSync(n)}catch(e){if(!e||"ENOENT"!==e.code)throw e;Jt.mkdirsSync(n)}Xt.writeFileSync(e,"")}};const en=_e.fromPromise,tn=f,nn=we,sn=ot,{pathExists:on}=ct,{areIdentical:an}=gt;var rn={createLink:en((async function(e,t){let n,i;try{n=await nn.lstat(t)}catch{}try{i=await nn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}if(n&&an(i,n))return;const s=tn.dirname(t);await on(s)||await sn.mkdirs(s),await nn.link(e,t)})),createLinkSync:function(e,t){let n;try{n=nn.lstatSync(t)}catch{}try{const t=nn.lstatSync(e);if(n&&an(t,n))return}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}const i=tn.dirname(t);return nn.existsSync(i)||sn.mkdirsSync(i),nn.linkSync(e,t)}};const cn=f,pn=we,{pathExists:ln}=ct;var un={symlinkPaths:(0,_e.fromPromise)((async function(e,t){if(cn.isAbsolute(e)){try{await pn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:e}}const n=cn.dirname(t),i=cn.join(n,e);if(await ln(i))return{toCwd:i,toDst:e};try{await pn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:cn.relative(n,e)}})),symlinkPathsSync:function(e,t){if(cn.isAbsolute(e)){if(!pn.existsSync(e))throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}const n=cn.dirname(t),i=cn.join(n,e);if(pn.existsSync(i))return{toCwd:i,toDst:e};if(!pn.existsSync(e))throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:cn.relative(n,e)}}};const dn=we;var mn={symlinkType:(0,_e.fromPromise)((async function(e,t){if(t)return t;let n;try{n=await dn.lstat(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"})),symlinkTypeSync:function(e,t){if(t)return t;let n;try{n=dn.lstatSync(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"}};const fn=_e.fromPromise,hn=f,xn=we,{mkdirs:gn,mkdirsSync:vn}=ot,{symlinkPaths:bn,symlinkPathsSync:yn}=un,{symlinkType:wn,symlinkTypeSync:_n}=mn,{pathExists:En}=ct,{areIdentical:Sn}=gt;var kn={createSymlink:fn((async function(e,t,n){let i;try{i=await xn.lstat(t)}catch{}if(i&&i.isSymbolicLink()){const[n,i]=await Promise.all([xn.stat(e),xn.stat(t)]);if(Sn(n,i))return}const s=await bn(e,t);e=s.toDst;const o=await wn(s.toCwd,n),a=hn.dirname(t);return await En(a)||await gn(a),xn.symlink(e,t,o)})),createSymlinkSync:function(e,t,n){let i;try{i=xn.lstatSync(t)}catch{}if(i&&i.isSymbolicLink()){const n=xn.statSync(e),i=xn.statSync(t);if(Sn(n,i))return}const s=yn(e,t);e=s.toDst,n=_n(s.toCwd,n);const o=hn.dirname(t);return xn.existsSync(o)||vn(o),xn.symlinkSync(e,t,n)}};const{createFile:Rn,createFileSync:Tn}=Zt,{createLink:On,createLinkSync:An}=rn,{createSymlink:Cn,createSymlinkSync:Pn}=kn;var Ln={createFile:Rn,createFileSync:Tn,ensureFile:Rn,ensureFileSync:Tn,createLink:On,createLinkSync:An,ensureLink:On,ensureLinkSync:An,createSymlink:Cn,createSymlinkSync:Pn,ensureSymlink:Cn,ensureSymlinkSync:Pn};var jn={stringify:function(e,{EOL:t="\n",finalEOL:n=!0,replacer:i=null,spaces:s}={}){const o=n?t:"";return JSON.stringify(e,i,s).replace(/\n/g,t)+o},stripBom:function(e){return Buffer.isBuffer(e)&&(e=e.toString("utf8")),e.replace(/^\uFEFF/,"")}};let In;try{In=Ge}catch(e){In=c}const Nn=_e,{stringify:Fn,stripBom:Dn}=jn;const Mn=Nn.fromPromise((async function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||In,i=!("throws"in t)||t.throws;let s,o=await Nn.fromCallback(n.readFile)(e,t);o=Dn(o);try{s=JSON.parse(o,t?t.reviver:null)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}return s}));const $n=Nn.fromPromise((async function(e,t,n={}){const i=n.fs||In,s=Fn(t,n);await Nn.fromCallback(i.writeFile)(e,s,n)}));const Bn={readFile:Mn,readFileSync:function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||In,i=!("throws"in t)||t.throws;try{let i=n.readFileSync(e,t);return i=Dn(i),JSON.parse(i,t.reviver)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}},writeFile:$n,writeFileSync:function(e,t,n={}){const i=n.fs||In,s=Fn(t,n);return i.writeFileSync(e,s,n)}};var Un={readJson:Bn.readFile,readJsonSync:Bn.readFileSync,writeJson:Bn.writeFile,writeJsonSync:Bn.writeFileSync};const zn=_e.fromPromise,Hn=we,Gn=f,qn=ot,Wn=ct.pathExists;var Kn={outputFile:zn((async function(e,t,n="utf-8"){const i=Gn.dirname(e);return await Wn(i)||await qn.mkdirs(i),Hn.writeFile(e,t,n)})),outputFileSync:function(e,...t){const n=Gn.dirname(e);Hn.existsSync(n)||qn.mkdirsSync(n),Hn.writeFileSync(e,...t)}};const{stringify:Vn}=jn,{outputFile:Yn}=Kn;var Qn=async function(e,t,n={}){const i=Vn(t,n);await Yn(e,i,n)};const{stringify:Xn}=jn,{outputFileSync:Jn}=Kn;var Zn=function(e,t,n){const i=Xn(t,n);Jn(e,i,n)};const ei=_e.fromPromise,ti=Un;ti.outputJson=ei(Qn),ti.outputJsonSync=Zn,ti.outputJSON=ti.outputJson,ti.outputJSONSync=ti.outputJsonSync,ti.writeJSON=ti.writeJson,ti.writeJSONSync=ti.writeJsonSync,ti.readJSON=ti.readJson,ti.readJSONSync=ti.readJsonSync;var ni=ti;const ii=we,si=f,{copy:oi}=Mt,{remove:ai}=Bt,{mkdirp:ri}=ot,{pathExists:ci}=ct,pi=gt;var li=async function(e,t,n={}){const i=n.overwrite||n.clobber||!1,{srcStat:s,isChangingCase:o=!1}=await pi.checkPaths(e,t,"move",n);await pi.checkParentPaths(e,s,t,"move");const a=si.dirname(t);return si.parse(a).root!==a&&await ri(a),async function(e,t,n,i){if(!i)if(n)await ai(t);else if(await ci(t))throw new Error("dest already exists.");try{await ii.rename(e,t)}catch(i){if("EXDEV"!==i.code)throw i;await async function(e,t,n){const i={overwrite:n,errorOnExist:!0,preserveTimestamps:!0};return await oi(e,t,i),ai(e)}(e,t,n)}}(e,t,i,o)};const ui=Ge,di=f,mi=Mt.copySync,fi=Bt.removeSync,hi=ot.mkdirpSync,xi=gt;function gi(e,t,n){try{ui.renameSync(e,t)}catch(i){if("EXDEV"!==i.code)throw i;return function(e,t,n){const i={overwrite:n,errorOnExist:!0,preserveTimestamps:!0};return mi(e,t,i),fi(e)}(e,t,n)}}var vi=function(e,t,n){const i=(n=n||{}).overwrite||n.clobber||!1,{srcStat:s,isChangingCase:o=!1}=xi.checkPathsSync(e,t,"move",n);return xi.checkParentPathsSync(e,s,t,"move"),function(e){const t=di.dirname(e);return di.parse(t).root===t}(t)||hi(di.dirname(t)),function(e,t,n,i){if(i)return gi(e,t,n);if(n)return fi(t),gi(e,t,n);if(ui.existsSync(t))throw new Error("dest already exists.");return gi(e,t,n)}(e,t,i,o)};var bi={move:(0,_e.fromPromise)(li),moveSync:vi},yi=ye({...we,...Mt,...Vt,...Ln,...ni,...ot,...bi,...Kn,...ct,...Bt});function wi(e,t){return function(){return e.apply(t,arguments)}}process.platform,yi.emptyDir,yi.remove,yi.readJSON,yi.writeJSON;const{toString:_i}=Object.prototype,{getPrototypeOf:Ei}=Object,{iterator:Si,toStringTag:ki}=Symbol,Ri=(e=>t=>{const n=_i.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ti=e=>(e=e.toLowerCase(),t=>Ri(t)===e),Oi=e=>t=>typeof t===e,{isArray:Ai}=Array,Ci=Oi("undefined");const Pi=Ti("ArrayBuffer");const Li=Oi("string"),ji=Oi("function"),Ii=Oi("number"),Ni=e=>null!==e&&"object"==typeof e,Fi=e=>{if("object"!==Ri(e))return!1;const t=Ei(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||ki in e||Si in e)},Di=Ti("Date"),Mi=Ti("File"),$i=Ti("Blob"),Bi=Ti("FileList"),Ui=Ti("URLSearchParams"),[zi,Hi,Gi,qi]=["ReadableStream","Request","Response","Headers"].map(Ti);function Wi(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,s;if("object"!=typeof e&&(e=[e]),Ai(e))for(i=0,s=e.length;i<s;i++)t.call(null,e[i],i,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),o=s.length;let a;for(i=0;i<o;i++)a=s[i],t.call(null,e[a],a,e)}}function Ki(e,t){t=t.toLowerCase();const n=Object.keys(e);let i,s=n.length;for(;s-- >0;)if(i=n[s],t===i.toLowerCase())return i;return null}const Vi="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Yi=e=>!Ci(e)&&e!==Vi;const Qi=(Xi="undefined"!=typeof Uint8Array&&Ei(Uint8Array),e=>Xi&&e instanceof Xi);var Xi;const Ji=Ti("HTMLFormElement"),Zi=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),es=Ti("RegExp"),ts=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Wi(n,((n,s)=>{let o;!1!==(o=t(n,s,e))&&(i[s]=o||n)})),Object.defineProperties(e,i)};const ns=Ti("AsyncFunction"),is=(ss="function"==typeof setImmediate,os=ji(Vi.postMessage),ss?setImmediate:os?(as=`axios@${Math.random()}`,rs=[],Vi.addEventListener("message",(({source:e,data:t})=>{e===Vi&&t===as&&rs.length&&rs.shift()()}),!1),e=>{rs.push(e),Vi.postMessage(as,"*")}):e=>setTimeout(e));var ss,os,as,rs;const cs="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Vi):"undefined"!=typeof process&&process.nextTick||is;var ps={isArray:Ai,isArrayBuffer:Pi,isBuffer:function(e){return null!==e&&!Ci(e)&&null!==e.constructor&&!Ci(e.constructor)&&ji(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||ji(e.append)&&("formdata"===(t=Ri(e))||"object"===t&&ji(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Pi(e.buffer),t},isString:Li,isNumber:Ii,isBoolean:e=>!0===e||!1===e,isObject:Ni,isPlainObject:Fi,isReadableStream:zi,isRequest:Hi,isResponse:Gi,isHeaders:qi,isUndefined:Ci,isDate:Di,isFile:Mi,isBlob:$i,isRegExp:es,isFunction:ji,isStream:e=>Ni(e)&&ji(e.pipe),isURLSearchParams:Ui,isTypedArray:Qi,isFileList:Bi,forEach:Wi,merge:function e(){const{caseless:t}=Yi(this)&&this||{},n={},i=(i,s)=>{const o=t&&Ki(n,s)||s;Fi(n[o])&&Fi(i)?n[o]=e(n[o],i):Fi(i)?n[o]=e({},i):Ai(i)?n[o]=i.slice():n[o]=i};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Wi(arguments[e],i);return n},extend:(e,t,n,{allOwnKeys:i}={})=>(Wi(t,((t,i)=>{n&&ji(t)?e[i]=wi(t,n):e[i]=t}),{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,i)=>{let s,o,a;const r={};if(t=t||{},null==e)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)a=s[o],i&&!i(a,e,t)||r[a]||(t[a]=e[a],r[a]=!0);e=!1!==n&&Ei(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Ri,kindOfTest:Ti,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return-1!==i&&i===n},toArray:e=>{if(!e)return null;if(Ai(e))return e;let t=e.length;if(!Ii(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Si]).call(e);let i;for(;(i=n.next())&&!i.done;){const n=i.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const i=[];for(;null!==(n=e.exec(t));)i.push(n);return i},isHTMLForm:Ji,hasOwnProperty:Zi,hasOwnProp:Zi,reduceDescriptors:ts,freezeMethods:e=>{ts(e,((t,n)=>{if(ji(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=e[n];ji(i)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},i=e=>{e.forEach((e=>{n[e]=!0}))};return Ai(e)?i(e):i(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ki,global:Vi,isContextDefined:Yi,isSpecCompliantForm:function(e){return!!(e&&ji(e.append)&&"FormData"===e[ki]&&e[Si])},toJSONObject:e=>{const t=new Array(10),n=(e,i)=>{if(Ni(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[i]=e;const s=Ai(e)?[]:{};return Wi(e,((e,t)=>{const o=n(e,i+1);!Ci(o)&&(s[t]=o)})),t[i]=void 0,s}}return e};return n(e,0)},isAsyncFn:ns,isThenable:e=>e&&(Ni(e)||ji(e))&&ji(e.then)&&ji(e.catch),setImmediate:is,asap:cs,isIterable:e=>null!=e&&ji(e[Si])};function ls(e,t,n,i,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s,this.status=s.status?s.status:null)}ps.inherits(ls,Error,{toJSON:function(){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:ps.toJSONObject(this.config),code:this.code,status:this.status}}});const us=ls.prototype,ds={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{ds[e]={value:e}})),Object.defineProperties(ls,ds),Object.defineProperty(us,"isAxiosError",{value:!0}),ls.from=(e,t,n,i,s,o)=>{const a=Object.create(us);return ps.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),ls.call(a,e.message,t,n,i,s),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var ms=l.Stream,fs=hs;function hs(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}d.inherits(hs,ms),hs.create=function(e,t){var n=new this;for(var i in t=t||{})n[i]=t[i];n.source=e;var s=e.emit;return e.emit=function(){return n._handleEmit(arguments),s.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(hs.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),hs.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},hs.prototype.resume=function(){this._released||this.release(),this.source.resume()},hs.prototype.pause=function(){this.source.pause()},hs.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},hs.prototype.pipe=function(){var e=ms.prototype.pipe.apply(this,arguments);return this.resume(),e},hs.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},hs.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}};var xs=d,gs=l.Stream,vs=fs,bs=ys;function ys(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}xs.inherits(ys,gs),ys.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},ys.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},ys.prototype.append=function(e){if(ys.isStreamLike(e)){if(!(e instanceof vs)){var t=vs.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},ys.prototype.pipe=function(e,t){return gs.prototype.pipe.call(this,e,t),this.resume(),e},ys.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},ys.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){ys.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},ys.prototype._pipeNext=function(e){if(this._currentStream=e,ys.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},ys.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},ys.prototype.write=function(e){this.emit("data",e)},ys.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},ys.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},ys.prototype.end=function(){this._reset(),this.emit("end")},ys.prototype.destroy=function(){this._reset(),this.emit("close")},ys.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},ys.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},ys.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},ys.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var ws={},_s={"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}};
|
|
1
|
+
import e from"node:path";import t from"node:fs/promises";import n,{createWriteStream as i,createReadStream as o,realpathSync as r,statSync as s,Stats as a}from"node:fs";import c from"fs";import l from"constants";import p,{Readable as u}from"stream";import d from"util";import f from"assert";import m from"path";import h from"os";import g from"http";import x from"https";import v from"url";import b from"crypto";import y from"tty";import _ from"zlib";import w,{EventEmitter as E}from"events";import S,{homedir as k,constants as R}from"node:os";import T from"node:process";import O,{fileURLToPath as A,URL as C,pathToFileURL as j}from"node:url";import{Transform as P}from"node:stream";import"node:crypto";import{Buffer as L}from"node:buffer";import I,{ChildProcess as N}from"node:child_process";import F from"child_process";import{setTimeout as D}from"node:timers/promises";import{debuglog as $,format as M,inspect as B}from"node:util";import U from"node:assert";import{builtinModules as z}from"node:module";import H from"node:v8";const G="LOG";class q{current=0;next(){return++this.current}}class W{tasks=new Map;start(e){const t=this.tasks.get(e)??function(){const e={};if(e.promise=new Promise((t=>e.resolve=t)),"object"!=typeof(t=e).promise||"function"!=typeof t.resolve)throw new Error("Failed to create a pending task due to unexpected system error");var t;return e}();return this.tasks.set(e,t),t.promise}resolve(e,t){const n=this.tasks.get(e);return n&&(n.resolve(t),this.tasks.delete(e)),!!n}remove(e){return this.tasks.delete(e)}}class K{chunksCount=-1;queue=[];put(e,t,n){if(this.chunksCount>=0)return;const i=this.queue.at(e);if(i&&"pending"===i.state)i.resolve({value:t,done:!1});else{const n={state:"resolved",value:t};this.queue[e]=n}n&&(this.chunksCount=this.queue.length)}[Symbol.asyncIterator](){const e={cursor:0};return{next:()=>{const t=e.cursor;if(this.chunksCount>=0&&t>=this.chunksCount)return Promise.resolve({value:void 0,done:!0});const n=this.queue.at(t);if(e.cursor++,n)return"resolved"===n.state?Promise.resolve({value:n.value,done:!1}):n.promise;const i={state:"pending"};return i.promise=new Promise((e=>i.resolve=e)),this.queue[t]=i,i.promise}}}}class V{tasks=new Map;start(e){const t=this.tasks.get(e)??new K;return this.tasks.set(e,t),t}put(e,t,n,i){const o=this.tasks.get(e);return o&&(o.put(t,n,i),i&&this.tasks.delete(e)),!!o}}const Y="SESSION_FINISH";class Q{sessionId;parent;lifeCycleConnected;listeners=new Map;channel;timeoutTimer;executions=new W;streams=new V;incrementer=new q;constructor(e,t){"string"==typeof e.association?(this.parent=null,this.sessionId=e.association):(this.parent=e.association,this.sessionId=e.association.sessionId),this.lifeCycleConnected=e.options?.lifeCycleConnected??!0,this.channel=t,this.initializeListeners(),this.timeoutTimer=setTimeout((()=>this.log("warn",this.constructor.name,"SessionTimeout")),3e5)}async handleMessage(e,t,n){e!==G&&this.log("system",this.constructor.name,"HandleMessage",{actionName:e}),await(this.listeners.get(e)?.(t,n)),n&&(this.streams.put(n.executionId,n.segmentOrder,t,n.done),this.executions.resolve(n.executionId,t))}start(e){this.log("system",this.constructor.name,"SessionStart"),this.send({action:"SESSION_START"}),this.send(e)}finish(){clearTimeout(this.timeoutTimer),this.log("system",this.constructor.name,"SessionFinish"),this.send({action:Y})}log(e,t,n,i){this.parent?this.parent.log(e,t,n,i):this.send({action:G,payload:{level:e,source:t,action:n,detail:i??{}}})}send(e,t){const n=t??{executionId:this.incrementer.next(),segmentOrder:0,done:!0},i={sessionId:this.sessionId,data:e,execution:n};return this.channel.send(i),this.executions.start(n.executionId)}sendStreaming(e,t){const n=t??{executionId:this.incrementer.next(),segmentOrder:0,done:!0},i={sessionId:this.sessionId,data:e,execution:n};return this.channel.send(i),this.streams.start(n.executionId)}setListener(e,t){if(this.listeners.has(e))throw new Error(`Duplicate listener on action ${e.toString()}`);this.listeners.set(e,t)}forwardMessageToParent(e){this.setListener(e,(async(t,n)=>{this.parent&&this.parent.send({action:e,payload:t},n)}))}initializeListeners(){this.forwardMessageToParent(G),this.setListener(Y,(async()=>{this.parent&&this.lifeCycleConnected&&this.parent.send({action:Y})}))}}class Z{implement;sessions=new Map;tasks=new W;constructor(e){if("function"!=typeof e.send)throw new Error("Cannot send data over channel");this.implement=e}start(){this.implement.on("message",(async e=>{if(t=e,!t?.sessionId)return;var t;const{data:{action:n,payload:i},sessionId:o,execution:r}=e;if("string"!=typeof n)return;const s=this.sessions.get(o)??this.createSession({association:o});this.sessions.set(o,s),await s.handleMessage(n,i,r),n===Y&&(this.sessions.delete(o),this.tasks.resolve(o))}))}async startSession(e,t,n){const i=this.createSession({association:e,options:n});this.sessions.set(i.sessionId,i);try{return i.start(t),setTimeout((()=>this.tasks.resolve(i.sessionId)),1e3),this.tasks.start(i.sessionId)}catch(e){throw this.sessions.delete(i.sessionId),this.tasks.remove(i.sessionId),e}}send(e,t,n){return this.sessions.get(e)?.send(t,n)}log(e,t,n={}){const i={sessionId:null,data:{action:G,payload:{level:"system",source:e,action:t,detail:n}}};this.implement.send(i)}}const J="REQUEST_PERMISSION";var X;!function(e){e.WorkspaceFileSystem="WorkspaceFileSystem",e.FullDiskFileSystem="FullDiskFileSystem",e.CodeSecurity="CodeSecurity",e.UserDetail="UserDetail"}(X||(X={}));const ee="ASK_LLM",te="ASK_LLM_STREAMING";var ne,ie,oe;!function(e){e[e.Text=0]="Text",e[e.Code=1]="Code",e[e.Function=2]="Function",e[e.ExplainCode=3]="ExplainCode",e[e.DocCommentForCode=4]="DocCommentForCode",e[e.CommentForCode=5]="CommentForCode"}(ne||(ne={})),function(e){e.Default="default-model",e.ErnieBot="ernie-bot",e.ErnieBot128="ernie-bot-3-128",e.ErnieBot4="ernie-bot-4",e.ErnieBot4Turbo="ernie-bot-4-turbo",e.ErnieBot4Turbo128="ernie-bot-4-turbo-128"}(ie||(ie={})),function(e){e.Default="default-model",e.ErnieBot="ernie-bot",e.ErnieBot4="ernie-bot-4"}(oe||(oe={}));const re="GET_PLUGIN_CONFIG",se="INFORMATION_QUERY";var ae,ce;!function(e){e.CURRENT_FILE="CURRENT_FILE",e.FILE="FILE",e.FOLDER="FOLDER",e.REPO="REPO",e.SYSTEM="SYSTEM",e.NORMAL="NORMAL",e.URL="URL",e.WEB="WEB",e.API="API",e.API_PROJECT="API_PROJECT",e.CODE="CODE",e.TEMP="TEMP",e.TERMINAL="TERMINAL"}(ae||(ae={})),function(e){e.Text="TEXT",e.Code="CODE",e.File="FILE"}(ce||(ce={}));var le;!function(e){e.INIT="INIT",e.PROCESSING="PROCESSING",e.SUCCEED="SUCCEED",e.FAIL="FAIL"}(le||(le={}));const pe="ACCEPT_DIR";var ue,de,fe,me;!function(e){e.Failed="failed",e.Success="success",e.InProgress="inProgress",e.Cancelled="cancelled"}(ue||(ue={})),function(e){e.UNREADY="unready",e.READY="ready",e.RUNNING="running",e.SUCCESS="success",e.FAILED="failed",e.CANCELLED="cancelled"}(de||(de={})),function(e){e.SecuBotConversation="SecuBotConversation",e.DebugBotConversation="DebugBotConversation",e.TestBotConversation="TestBotConversation",e.E2EBotConversation="E2EBotConversation",e.F2cBotConversation="F2cBotConversation"}(fe||(fe={})),fe.SecuBotConversation,fe.DebugBotConversation,fe.TestBotConversation,fe.E2EBotConversation,fe.F2cBotConversation,function(e){e.Ready="Ready",e.Running="Running",e.Failed="Failed",e.Completed="Completed",e.Cancelled="Cancelled"}(me||(me={}));const he="ACTION_DEBUG_TASK_PROCESS",ge="ACTION_ASK_RAG",xe="CODE_SEARCH";async function ve(n){const i=e.join(n,"package.json"),o=JSON.parse(await t.readFile(i,"utf-8")).comate;if(!o)throw new Error(`No comate field in ${i}`);return function(e){if(!e.name)throw new Error("Missing plugin name");if(!e.entry)throw new Error(`Missing entry for plugin ${e.name}`);if(e.capabilities.filter((e=>"Fallback"===e.type)).length>1)throw new Error("Only one fallback capability is allowed")}(o),o}var be="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ye(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _e={},we={fromCallback:function(e){return Object.defineProperty((function(...t){if("function"!=typeof t[t.length-1])return new Promise(((n,i)=>{t.push(((e,t)=>null!=e?i(e):n(t))),e.apply(this,t)}));e.apply(this,t)}),"name",{value:e.name})},fromPromise:function(e){return Object.defineProperty((function(...t){const n=t[t.length-1];if("function"!=typeof n)return e.apply(this,t);t.pop(),e.apply(this,t).then((e=>n(null,e)),n)}),"name",{value:e.name})}},Ee=l,Se=process.cwd,ke=null,Re=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return ke||(ke=Se.call(process)),ke};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var Te=process.chdir;process.chdir=function(e){ke=null,Te.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,Te)}var Oe=function(e){Ee.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,n,i){e.open(t,Ee.O_WRONLY|Ee.O_SYMLINK,n,(function(t,o){t?i&&i(t):e.fchmod(o,n,(function(t){e.close(o,(function(e){i&&i(t||e)}))}))}))},e.lchmodSync=function(t,n){var i,o=e.openSync(t,Ee.O_WRONLY|Ee.O_SYMLINK,n),r=!0;try{i=e.fchmodSync(o,n),r=!1}finally{if(r)try{e.closeSync(o)}catch(e){}else e.closeSync(o)}return i}}(e);e.lutimes||function(e){Ee.hasOwnProperty("O_SYMLINK")&&e.futimes?(e.lutimes=function(t,n,i,o){e.open(t,Ee.O_SYMLINK,(function(t,r){t?o&&o(t):e.futimes(r,n,i,(function(t){e.close(r,(function(e){o&&o(t||e)}))}))}))},e.lutimesSync=function(t,n,i){var o,r=e.openSync(t,Ee.O_SYMLINK),s=!0;try{o=e.futimesSync(r,n,i),s=!1}finally{if(s)try{e.closeSync(r)}catch(e){}else e.closeSync(r)}return o}):e.futimes&&(e.lutimes=function(e,t,n,i){i&&process.nextTick(i)},e.lutimesSync=function(){})}(e);e.chown=i(e.chown),e.fchown=i(e.fchown),e.lchown=i(e.lchown),e.chmod=t(e.chmod),e.fchmod=t(e.fchmod),e.lchmod=t(e.lchmod),e.chownSync=o(e.chownSync),e.fchownSync=o(e.fchownSync),e.lchownSync=o(e.lchownSync),e.chmodSync=n(e.chmodSync),e.fchmodSync=n(e.fchmodSync),e.lchmodSync=n(e.lchmodSync),e.stat=r(e.stat),e.fstat=r(e.fstat),e.lstat=r(e.lstat),e.statSync=s(e.statSync),e.fstatSync=s(e.fstatSync),e.lstatSync=s(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(e,t,n){n&&process.nextTick(n)},e.lchmodSync=function(){});e.chown&&!e.lchown&&(e.lchown=function(e,t,n,i){i&&process.nextTick(i)},e.lchownSync=function(){});"win32"===Re&&(e.rename="function"!=typeof e.rename?e.rename:function(t){function n(n,i,o){var r=Date.now(),s=0;t(n,i,(function a(c){if(c&&("EACCES"===c.code||"EPERM"===c.code||"EBUSY"===c.code)&&Date.now()-r<6e4)return setTimeout((function(){e.stat(i,(function(e,r){e&&"ENOENT"===e.code?t(n,i,a):o(c)}))}),s),void(s<100&&(s+=10));o&&o(c)}))}return Object.setPrototypeOf&&Object.setPrototypeOf(n,t),n}(e.rename));function t(t){return t?function(n,i,o){return t.call(e,n,i,(function(e){a(e)&&(e=null),o&&o.apply(this,arguments)}))}:t}function n(t){return t?function(n,i){try{return t.call(e,n,i)}catch(e){if(!a(e))throw e}}:t}function i(t){return t?function(n,i,o,r){return t.call(e,n,i,o,(function(e){a(e)&&(e=null),r&&r.apply(this,arguments)}))}:t}function o(t){return t?function(n,i,o){try{return t.call(e,n,i,o)}catch(e){if(!a(e))throw e}}:t}function r(t){return t?function(n,i,o){function r(e,t){t&&(t.uid<0&&(t.uid+=4294967296),t.gid<0&&(t.gid+=4294967296)),o&&o.apply(this,arguments)}return"function"==typeof i&&(o=i,i=null),i?t.call(e,n,i,r):t.call(e,n,r)}:t}function s(t){return t?function(n,i){var o=i?t.call(e,n,i):t.call(e,n);return o&&(o.uid<0&&(o.uid+=4294967296),o.gid<0&&(o.gid+=4294967296)),o}:t}function a(e){return!e||("ENOSYS"===e.code||!(process.getuid&&0===process.getuid()||"EINVAL"!==e.code&&"EPERM"!==e.code))}e.read="function"!=typeof e.read?e.read:function(t){function n(n,i,o,r,s,a){var c;if(a&&"function"==typeof a){var l=0;c=function(p,u,d){if(p&&"EAGAIN"===p.code&&l<10)return l++,t.call(e,n,i,o,r,s,c);a.apply(this,arguments)}}return t.call(e,n,i,o,r,s,c)}return Object.setPrototypeOf&&Object.setPrototypeOf(n,t),n}(e.read),e.readSync="function"!=typeof e.readSync?e.readSync:(c=e.readSync,function(t,n,i,o,r){for(var s=0;;)try{return c.call(e,t,n,i,o,r)}catch(e){if("EAGAIN"===e.code&&s<10){s++;continue}throw e}});var c};var Ae=p.Stream,Ce=function(e){return{ReadStream:function t(n,i){if(!(this instanceof t))return new t(n,i);Ae.call(this);var o=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,i=i||{};for(var r=Object.keys(i),s=0,a=r.length;s<a;s++){var c=r[s];this[c]=i[c]}this.encoding&&this.setEncoding(this.encoding);if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(void 0===this.end)this.end=1/0;else if("number"!=typeof this.end)throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(null!==this.fd)return void process.nextTick((function(){o._read()}));e.open(this.path,this.flags,this.mode,(function(e,t){if(e)return o.emit("error",e),void(o.readable=!1);o.fd=t,o.emit("open",t),o._read()}))},WriteStream:function t(n,i){if(!(this instanceof t))return new t(n,i);Ae.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var o=Object.keys(i),r=0,s=o.length;r<s;r++){var a=o[r];this[a]=i[a]}if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],null===this.fd&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}};var je=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var t={__proto__:Pe(e)};else t=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t},Pe=Object.getPrototypeOf||function(e){return e.__proto__};var Le,Ie,Ne=c,Fe=Oe,De=Ce,$e=je,Me=d;function Be(e,t){Object.defineProperty(e,Le,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(Le=Symbol.for("graceful-fs.queue"),Ie=Symbol.for("graceful-fs.previous")):(Le="___graceful-fs.queue",Ie="___graceful-fs.previous");var Ue=function(){};if(Me.debuglog?Ue=Me.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(Ue=function(){var e=Me.format.apply(Me,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!Ne[Le]){var ze=be[Le]||[];Be(Ne,ze),Ne.close=function(e){function t(t,n){return e.call(Ne,t,(function(e){e||Ke(),"function"==typeof n&&n.apply(this,arguments)}))}return Object.defineProperty(t,Ie,{value:e}),t}(Ne.close),Ne.closeSync=function(e){function t(t){e.apply(Ne,arguments),Ke()}return Object.defineProperty(t,Ie,{value:e}),t}(Ne.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){Ue(Ne[Le]),f.equal(Ne[Le].length,0)}))}be[Le]||Be(be,Ne[Le]);var He,Ge=qe($e(Ne));function qe(e){Fe(e),e.gracefulify=qe,e.createReadStream=function(t,n){return new e.ReadStream(t,n)},e.createWriteStream=function(t,n){return new e.WriteStream(t,n)};var t=e.readFile;e.readFile=function(e,n,i){"function"==typeof n&&(i=n,n=null);return function e(n,i,o,r){return t(n,i,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?"function"==typeof o&&o.apply(this,arguments):We([e,[n,i,o],t,r||Date.now(),Date.now()])}))}(e,n,i)};var n=e.writeFile;e.writeFile=function(e,t,i,o){"function"==typeof i&&(o=i,i=null);return function e(t,i,o,r,s){return n(t,i,o,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?"function"==typeof r&&r.apply(this,arguments):We([e,[t,i,o,r],n,s||Date.now(),Date.now()])}))}(e,t,i,o)};var i=e.appendFile;i&&(e.appendFile=function(e,t,n,o){"function"==typeof n&&(o=n,n=null);return function e(t,n,o,r,s){return i(t,n,o,(function(i){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?"function"==typeof r&&r.apply(this,arguments):We([e,[t,n,o,r],i,s||Date.now(),Date.now()])}))}(e,t,n,o)});var o=e.copyFile;o&&(e.copyFile=function(e,t,n,i){"function"==typeof n&&(i=n,n=0);return function e(t,n,i,r,s){return o(t,n,i,(function(o){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?"function"==typeof r&&r.apply(this,arguments):We([e,[t,n,i,r],o,s||Date.now(),Date.now()])}))}(e,t,n,i)});var r=e.readdir;e.readdir=function(e,t,n){"function"==typeof t&&(n=t,t=null);var i=s.test(process.version)?function(e,t,n,i){return r(e,o(e,t,n,i))}:function(e,t,n,i){return r(e,t,o(e,t,n,i))};return i(e,t,n);function o(e,t,n,o){return function(r,s){!r||"EMFILE"!==r.code&&"ENFILE"!==r.code?(s&&s.sort&&s.sort(),"function"==typeof n&&n.call(this,r,s)):We([i,[e,t,n],r,o||Date.now(),Date.now()])}}};var s=/^v[0-5]\./;if("v0.8"===process.version.substr(0,4)){var a=De(e);d=a.ReadStream,f=a.WriteStream}var c=e.ReadStream;c&&(d.prototype=Object.create(c.prototype),d.prototype.open=function(){var e=this;h(e.path,e.flags,e.mode,(function(t,n){t?(e.autoClose&&e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n),e.read())}))});var l=e.WriteStream;l&&(f.prototype=Object.create(l.prototype),f.prototype.open=function(){var e=this;h(e.path,e.flags,e.mode,(function(t,n){t?(e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n))}))}),Object.defineProperty(e,"ReadStream",{get:function(){return d},set:function(e){d=e},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return f},set:function(e){f=e},enumerable:!0,configurable:!0});var p=d;Object.defineProperty(e,"FileReadStream",{get:function(){return p},set:function(e){p=e},enumerable:!0,configurable:!0});var u=f;function d(e,t){return this instanceof d?(c.apply(this,arguments),this):d.apply(Object.create(d.prototype),arguments)}function f(e,t){return this instanceof f?(l.apply(this,arguments),this):f.apply(Object.create(f.prototype),arguments)}Object.defineProperty(e,"FileWriteStream",{get:function(){return u},set:function(e){u=e},enumerable:!0,configurable:!0});var m=e.open;function h(e,t,n,i){return"function"==typeof n&&(i=n,n=null),function e(t,n,i,o,r){return m(t,n,i,(function(s,a){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?"function"==typeof o&&o.apply(this,arguments):We([e,[t,n,i,o],s,r||Date.now(),Date.now()])}))}(e,t,n,i)}return e.open=h,e}function We(e){Ue("ENQUEUE",e[0].name,e[1]),Ne[Le].push(e),Ve()}function Ke(){for(var e=Date.now(),t=0;t<Ne[Le].length;++t)Ne[Le][t].length>2&&(Ne[Le][t][3]=e,Ne[Le][t][4]=e);Ve()}function Ve(){if(clearTimeout(He),He=void 0,0!==Ne[Le].length){var e=Ne[Le].shift(),t=e[0],n=e[1],i=e[2],o=e[3],r=e[4];if(void 0===o)Ue("RETRY",t.name,n),t.apply(null,n);else if(Date.now()-o>=6e4){Ue("TIMEOUT",t.name,n);var s=n.pop();"function"==typeof s&&s.call(null,i)}else{var a=Date.now()-r,c=Math.max(r-o,1);a>=Math.min(1.2*c,100)?(Ue("RETRY",t.name,n),t.apply(null,n.concat([o]))):Ne[Le].push(e)}void 0===He&&(He=setTimeout(Ve,0))}}process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Ne.__patched&&(Ge=qe(Ne),Ne.__patched=!0),function(e){const t=we.fromCallback,n=Ge,i=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter((e=>"function"==typeof n[e]));Object.assign(e,n),i.forEach((i=>{e[i]=t(n[i])})),e.exists=function(e,t){return"function"==typeof t?n.exists(e,t):new Promise((t=>n.exists(e,t)))},e.read=function(e,t,i,o,r,s){return"function"==typeof s?n.read(e,t,i,o,r,s):new Promise(((s,a)=>{n.read(e,t,i,o,r,((e,t,n)=>{if(e)return a(e);s({bytesRead:t,buffer:n})}))}))},e.write=function(e,t,...i){return"function"==typeof i[i.length-1]?n.write(e,t,...i):new Promise(((o,r)=>{n.write(e,t,...i,((e,t,n)=>{if(e)return r(e);o({bytesWritten:t,buffer:n})}))}))},e.readv=function(e,t,...i){return"function"==typeof i[i.length-1]?n.readv(e,t,...i):new Promise(((o,r)=>{n.readv(e,t,...i,((e,t,n)=>{if(e)return r(e);o({bytesRead:t,buffers:n})}))}))},e.writev=function(e,t,...i){return"function"==typeof i[i.length-1]?n.writev(e,t,...i):new Promise(((o,r)=>{n.writev(e,t,...i,((e,t,n)=>{if(e)return r(e);o({bytesWritten:t,buffers:n})}))}))},"function"==typeof n.realpath.native?e.realpath.native=t(n.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")}(_e);var Ye={},Qe={};const Ze=m;Qe.checkPath=function(e){if("win32"===process.platform){if(/[<>:"|?*]/.test(e.replace(Ze.parse(e).root,""))){const t=new Error(`Path contains invalid characters: ${e}`);throw t.code="EINVAL",t}}};const Je=_e,{checkPath:Xe}=Qe,et=e=>"number"==typeof e?e:{mode:511,...e}.mode;Ye.makeDir=async(e,t)=>(Xe(e),Je.mkdir(e,{mode:et(t),recursive:!0})),Ye.makeDirSync=(e,t)=>(Xe(e),Je.mkdirSync(e,{mode:et(t),recursive:!0}));const tt=we.fromPromise,{makeDir:nt,makeDirSync:it}=Ye,ot=tt(nt);var rt={mkdirs:ot,mkdirsSync:it,mkdirp:ot,mkdirpSync:it,ensureDir:ot,ensureDirSync:it};const st=we.fromPromise,at=_e;var ct={pathExists:st((function(e){return at.access(e).then((()=>!0)).catch((()=>!1))})),pathExistsSync:at.existsSync};const lt=_e;var pt={utimesMillis:(0,we.fromPromise)((async function(e,t,n){const i=await lt.open(e,"r+");let o=null;try{await lt.futimes(i,t,n)}finally{try{await lt.close(i)}catch(e){o=e}}if(o)throw o})),utimesMillisSync:function(e,t,n){const i=lt.openSync(e,"r+");return lt.futimesSync(i,t,n),lt.closeSync(i)}};const ut=_e,dt=m,ft=we.fromPromise;function mt(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function ht(e,t){const n=dt.resolve(e).split(dt.sep).filter((e=>e)),i=dt.resolve(t).split(dt.sep).filter((e=>e));return n.every(((e,t)=>i[t]===e))}function gt(e,t,n){return`Cannot ${n} '${e}' to a subdirectory of itself, '${t}'.`}var xt={checkPaths:ft((async function(e,t,n,i){const{srcStat:o,destStat:r}=await function(e,t,n){const i=n.dereference?e=>ut.stat(e,{bigint:!0}):e=>ut.lstat(e,{bigint:!0});return Promise.all([i(e),i(t).catch((e=>{if("ENOENT"===e.code)return null;throw e}))]).then((([e,t])=>({srcStat:e,destStat:t})))}(e,t,i);if(r){if(mt(o,r)){const i=dt.basename(e),s=dt.basename(t);if("move"===n&&i!==s&&i.toLowerCase()===s.toLowerCase())return{srcStat:o,destStat:r,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(o.isDirectory()&&!r.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!o.isDirectory()&&r.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(o.isDirectory()&&ht(e,t))throw new Error(gt(e,t,n));return{srcStat:o,destStat:r}})),checkPathsSync:function(e,t,n,i){const{srcStat:o,destStat:r}=function(e,t,n){let i;const o=n.dereference?e=>ut.statSync(e,{bigint:!0}):e=>ut.lstatSync(e,{bigint:!0}),r=o(e);try{i=o(t)}catch(e){if("ENOENT"===e.code)return{srcStat:r,destStat:null};throw e}return{srcStat:r,destStat:i}}(e,t,i);if(r){if(mt(o,r)){const i=dt.basename(e),s=dt.basename(t);if("move"===n&&i!==s&&i.toLowerCase()===s.toLowerCase())return{srcStat:o,destStat:r,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(o.isDirectory()&&!r.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!o.isDirectory()&&r.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(o.isDirectory()&&ht(e,t))throw new Error(gt(e,t,n));return{srcStat:o,destStat:r}},checkParentPaths:ft((async function e(t,n,i,o){const r=dt.resolve(dt.dirname(t)),s=dt.resolve(dt.dirname(i));if(s===r||s===dt.parse(s).root)return;let a;try{a=await ut.stat(s,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(mt(n,a))throw new Error(gt(t,i,o));return e(t,n,s,o)})),checkParentPathsSync:function e(t,n,i,o){const r=dt.resolve(dt.dirname(t)),s=dt.resolve(dt.dirname(i));if(s===r||s===dt.parse(s).root)return;let a;try{a=ut.statSync(s,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(mt(n,a))throw new Error(gt(t,i,o));return e(t,n,s,o)},isSrcSubdir:ht,areIdentical:mt};const vt=_e,bt=m,{mkdirs:yt}=rt,{pathExists:_t}=ct,{utimesMillis:wt}=pt,Et=xt;async function St(e,t,n){return!n.filter||n.filter(e,t)}async function kt(e,t,n,i){const o=i.dereference?vt.stat:vt.lstat,r=await o(t);if(r.isDirectory())return async function(e,t,n,i,o){t||await vt.mkdir(i);const r=await vt.readdir(n);await Promise.all(r.map((async e=>{const t=bt.join(n,e),r=bt.join(i,e);if(!await St(t,r,o))return;const{destStat:s}=await Et.checkPaths(t,r,"copy",o);return kt(s,t,r,o)}))),t||await vt.chmod(i,e.mode)}(r,e,t,n,i);if(r.isFile()||r.isCharacterDevice()||r.isBlockDevice())return async function(e,t,n,i,o){if(!t)return Rt(e,n,i,o);if(o.overwrite)return await vt.unlink(i),Rt(e,n,i,o);if(o.errorOnExist)throw new Error(`'${i}' already exists`)}(r,e,t,n,i);if(r.isSymbolicLink())return async function(e,t,n,i){let o=await vt.readlink(t);i.dereference&&(o=bt.resolve(process.cwd(),o));if(!e)return vt.symlink(o,n);let r=null;try{r=await vt.readlink(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return vt.symlink(o,n);throw e}i.dereference&&(r=bt.resolve(process.cwd(),r));if(Et.isSrcSubdir(o,r))throw new Error(`Cannot copy '${o}' to a subdirectory of itself, '${r}'.`);if(Et.isSrcSubdir(r,o))throw new Error(`Cannot overwrite '${r}' with '${o}'.`);return await vt.unlink(n),vt.symlink(o,n)}(e,t,n,i);if(r.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(r.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}async function Rt(e,t,n,i){if(await vt.copyFile(t,n),i.preserveTimestamps){0==(128&e.mode)&&await function(e,t){return vt.chmod(e,128|t)}(n,e.mode);const i=await vt.stat(t);await wt(n,i.atime,i.mtime)}return vt.chmod(n,e.mode)}var Tt=async function(e,t,n={}){"function"==typeof n&&(n={filter:n}),n.clobber=!("clobber"in n)||!!n.clobber,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0001");const{srcStat:i,destStat:o}=await Et.checkPaths(e,t,"copy",n);if(await Et.checkParentPaths(e,i,t,"copy"),!await St(e,t,n))return;const r=bt.dirname(t);await _t(r)||await yt(r),await kt(o,e,t,n)};const Ot=Ge,At=m,Ct=rt.mkdirsSync,jt=pt.utimesMillisSync,Pt=xt;function Lt(e,t,n,i){const o=(i.dereference?Ot.statSync:Ot.lstatSync)(t);if(o.isDirectory())return function(e,t,n,i,o){return t?Ft(n,i,o):function(e,t,n,i){return Ot.mkdirSync(n),Ft(t,n,i),Nt(n,e)}(e.mode,n,i,o)}(o,e,t,n,i);if(o.isFile()||o.isCharacterDevice()||o.isBlockDevice())return function(e,t,n,i,o){return t?function(e,t,n,i){if(i.overwrite)return Ot.unlinkSync(n),It(e,t,n,i);if(i.errorOnExist)throw new Error(`'${n}' already exists`)}(e,n,i,o):It(e,n,i,o)}(o,e,t,n,i);if(o.isSymbolicLink())return function(e,t,n,i){let o=Ot.readlinkSync(t);i.dereference&&(o=At.resolve(process.cwd(),o));if(e){let e;try{e=Ot.readlinkSync(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return Ot.symlinkSync(o,n);throw e}if(i.dereference&&(e=At.resolve(process.cwd(),e)),Pt.isSrcSubdir(o,e))throw new Error(`Cannot copy '${o}' to a subdirectory of itself, '${e}'.`);if(Pt.isSrcSubdir(e,o))throw new Error(`Cannot overwrite '${e}' with '${o}'.`);return function(e,t){return Ot.unlinkSync(t),Ot.symlinkSync(e,t)}(o,n)}return Ot.symlinkSync(o,n)}(e,t,n,i);if(o.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(o.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}function It(e,t,n,i){return Ot.copyFileSync(t,n),i.preserveTimestamps&&function(e,t,n){(function(e){return 0==(128&e)})(e)&&function(e,t){Nt(e,128|t)}(n,e);(function(e,t){const n=Ot.statSync(e);jt(t,n.atime,n.mtime)})(t,n)}(e.mode,t,n),Nt(n,e.mode)}function Nt(e,t){return Ot.chmodSync(e,t)}function Ft(e,t,n){Ot.readdirSync(e).forEach((i=>function(e,t,n,i){const o=At.join(t,e),r=At.join(n,e);if(i.filter&&!i.filter(o,r))return;const{destStat:s}=Pt.checkPathsSync(o,r,"copy",i);return Lt(s,o,r,i)}(i,e,t,n)))}var Dt=function(e,t,n){"function"==typeof n&&(n={filter:n}),(n=n||{}).clobber=!("clobber"in n)||!!n.clobber,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0002");const{srcStat:i,destStat:o}=Pt.checkPathsSync(e,t,"copy",n);if(Pt.checkParentPathsSync(e,i,t,"copy"),n.filter&&!n.filter(e,t))return;const r=At.dirname(t);return Ot.existsSync(r)||Ct(r),Lt(o,e,t,n)};var $t={copy:(0,we.fromPromise)(Tt),copySync:Dt};const Mt=Ge;var Bt={remove:(0,we.fromCallback)((function(e,t){Mt.rm(e,{recursive:!0,force:!0},t)})),removeSync:function(e){Mt.rmSync(e,{recursive:!0,force:!0})}};const Ut=we.fromPromise,zt=_e,Ht=m,Gt=rt,qt=Bt,Wt=Ut((async function(e){let t;try{t=await zt.readdir(e)}catch{return Gt.mkdirs(e)}return Promise.all(t.map((t=>qt.remove(Ht.join(e,t)))))}));function Kt(e){let t;try{t=zt.readdirSync(e)}catch{return Gt.mkdirsSync(e)}t.forEach((t=>{t=Ht.join(e,t),qt.removeSync(t)}))}var Vt={emptyDirSync:Kt,emptydirSync:Kt,emptyDir:Wt,emptydir:Wt};const Yt=we.fromPromise,Qt=m,Zt=_e,Jt=rt;var Xt={createFile:Yt((async function(e){let t;try{t=await Zt.stat(e)}catch{}if(t&&t.isFile())return;const n=Qt.dirname(e);let i=null;try{i=await Zt.stat(n)}catch(t){if("ENOENT"===t.code)return await Jt.mkdirs(n),void await Zt.writeFile(e,"");throw t}i.isDirectory()?await Zt.writeFile(e,""):await Zt.readdir(n)})),createFileSync:function(e){let t;try{t=Zt.statSync(e)}catch{}if(t&&t.isFile())return;const n=Qt.dirname(e);try{Zt.statSync(n).isDirectory()||Zt.readdirSync(n)}catch(e){if(!e||"ENOENT"!==e.code)throw e;Jt.mkdirsSync(n)}Zt.writeFileSync(e,"")}};const en=we.fromPromise,tn=m,nn=_e,on=rt,{pathExists:rn}=ct,{areIdentical:sn}=xt;var an={createLink:en((async function(e,t){let n,i;try{n=await nn.lstat(t)}catch{}try{i=await nn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}if(n&&sn(i,n))return;const o=tn.dirname(t);await rn(o)||await on.mkdirs(o),await nn.link(e,t)})),createLinkSync:function(e,t){let n;try{n=nn.lstatSync(t)}catch{}try{const t=nn.lstatSync(e);if(n&&sn(t,n))return}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}const i=tn.dirname(t);return nn.existsSync(i)||on.mkdirsSync(i),nn.linkSync(e,t)}};const cn=m,ln=_e,{pathExists:pn}=ct;var un={symlinkPaths:(0,we.fromPromise)((async function(e,t){if(cn.isAbsolute(e)){try{await ln.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:e}}const n=cn.dirname(t),i=cn.join(n,e);if(await pn(i))return{toCwd:i,toDst:e};try{await ln.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:cn.relative(n,e)}})),symlinkPathsSync:function(e,t){if(cn.isAbsolute(e)){if(!ln.existsSync(e))throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}const n=cn.dirname(t),i=cn.join(n,e);if(ln.existsSync(i))return{toCwd:i,toDst:e};if(!ln.existsSync(e))throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:cn.relative(n,e)}}};const dn=_e;var fn={symlinkType:(0,we.fromPromise)((async function(e,t){if(t)return t;let n;try{n=await dn.lstat(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"})),symlinkTypeSync:function(e,t){if(t)return t;let n;try{n=dn.lstatSync(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"}};const mn=we.fromPromise,hn=m,gn=_e,{mkdirs:xn,mkdirsSync:vn}=rt,{symlinkPaths:bn,symlinkPathsSync:yn}=un,{symlinkType:_n,symlinkTypeSync:wn}=fn,{pathExists:En}=ct,{areIdentical:Sn}=xt;var kn={createSymlink:mn((async function(e,t,n){let i;try{i=await gn.lstat(t)}catch{}if(i&&i.isSymbolicLink()){const[n,i]=await Promise.all([gn.stat(e),gn.stat(t)]);if(Sn(n,i))return}const o=await bn(e,t);e=o.toDst;const r=await _n(o.toCwd,n),s=hn.dirname(t);return await En(s)||await xn(s),gn.symlink(e,t,r)})),createSymlinkSync:function(e,t,n){let i;try{i=gn.lstatSync(t)}catch{}if(i&&i.isSymbolicLink()){const n=gn.statSync(e),i=gn.statSync(t);if(Sn(n,i))return}const o=yn(e,t);e=o.toDst,n=wn(o.toCwd,n);const r=hn.dirname(t);return gn.existsSync(r)||vn(r),gn.symlinkSync(e,t,n)}};const{createFile:Rn,createFileSync:Tn}=Xt,{createLink:On,createLinkSync:An}=an,{createSymlink:Cn,createSymlinkSync:jn}=kn;var Pn={createFile:Rn,createFileSync:Tn,ensureFile:Rn,ensureFileSync:Tn,createLink:On,createLinkSync:An,ensureLink:On,ensureLinkSync:An,createSymlink:Cn,createSymlinkSync:jn,ensureSymlink:Cn,ensureSymlinkSync:jn};var Ln={stringify:function(e,{EOL:t="\n",finalEOL:n=!0,replacer:i=null,spaces:o}={}){const r=n?t:"";return JSON.stringify(e,i,o).replace(/\n/g,t)+r},stripBom:function(e){return Buffer.isBuffer(e)&&(e=e.toString("utf8")),e.replace(/^\uFEFF/,"")}};let In;try{In=Ge}catch(e){In=c}const Nn=we,{stringify:Fn,stripBom:Dn}=Ln;const $n=Nn.fromPromise((async function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||In,i=!("throws"in t)||t.throws;let o,r=await Nn.fromCallback(n.readFile)(e,t);r=Dn(r);try{o=JSON.parse(r,t?t.reviver:null)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}return o}));const Mn=Nn.fromPromise((async function(e,t,n={}){const i=n.fs||In,o=Fn(t,n);await Nn.fromCallback(i.writeFile)(e,o,n)}));const Bn={readFile:$n,readFileSync:function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||In,i=!("throws"in t)||t.throws;try{let i=n.readFileSync(e,t);return i=Dn(i),JSON.parse(i,t.reviver)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}},writeFile:Mn,writeFileSync:function(e,t,n={}){const i=n.fs||In,o=Fn(t,n);return i.writeFileSync(e,o,n)}};var Un={readJson:Bn.readFile,readJsonSync:Bn.readFileSync,writeJson:Bn.writeFile,writeJsonSync:Bn.writeFileSync};const zn=we.fromPromise,Hn=_e,Gn=m,qn=rt,Wn=ct.pathExists;var Kn={outputFile:zn((async function(e,t,n="utf-8"){const i=Gn.dirname(e);return await Wn(i)||await qn.mkdirs(i),Hn.writeFile(e,t,n)})),outputFileSync:function(e,...t){const n=Gn.dirname(e);Hn.existsSync(n)||qn.mkdirsSync(n),Hn.writeFileSync(e,...t)}};const{stringify:Vn}=Ln,{outputFile:Yn}=Kn;var Qn=async function(e,t,n={}){const i=Vn(t,n);await Yn(e,i,n)};const{stringify:Zn}=Ln,{outputFileSync:Jn}=Kn;var Xn=function(e,t,n){const i=Zn(t,n);Jn(e,i,n)};const ei=we.fromPromise,ti=Un;ti.outputJson=ei(Qn),ti.outputJsonSync=Xn,ti.outputJSON=ti.outputJson,ti.outputJSONSync=ti.outputJsonSync,ti.writeJSON=ti.writeJson,ti.writeJSONSync=ti.writeJsonSync,ti.readJSON=ti.readJson,ti.readJSONSync=ti.readJsonSync;var ni=ti;const ii=_e,oi=m,{copy:ri}=$t,{remove:si}=Bt,{mkdirp:ai}=rt,{pathExists:ci}=ct,li=xt;var pi=async function(e,t,n={}){const i=n.overwrite||n.clobber||!1,{srcStat:o,isChangingCase:r=!1}=await li.checkPaths(e,t,"move",n);await li.checkParentPaths(e,o,t,"move");const s=oi.dirname(t);return oi.parse(s).root!==s&&await ai(s),async function(e,t,n,i){if(!i)if(n)await si(t);else if(await ci(t))throw new Error("dest already exists.");try{await ii.rename(e,t)}catch(i){if("EXDEV"!==i.code)throw i;await async function(e,t,n){const i={overwrite:n,errorOnExist:!0,preserveTimestamps:!0};return await ri(e,t,i),si(e)}(e,t,n)}}(e,t,i,r)};const ui=Ge,di=m,fi=$t.copySync,mi=Bt.removeSync,hi=rt.mkdirpSync,gi=xt;function xi(e,t,n){try{ui.renameSync(e,t)}catch(i){if("EXDEV"!==i.code)throw i;return function(e,t,n){const i={overwrite:n,errorOnExist:!0,preserveTimestamps:!0};return fi(e,t,i),mi(e)}(e,t,n)}}var vi=function(e,t,n){const i=(n=n||{}).overwrite||n.clobber||!1,{srcStat:o,isChangingCase:r=!1}=gi.checkPathsSync(e,t,"move",n);return gi.checkParentPathsSync(e,o,t,"move"),function(e){const t=di.dirname(e);return di.parse(t).root===t}(t)||hi(di.dirname(t)),function(e,t,n,i){if(i)return xi(e,t,n);if(n)return mi(t),xi(e,t,n);if(ui.existsSync(t))throw new Error("dest already exists.");return xi(e,t,n)}(e,t,i,r)};var bi={move:(0,we.fromPromise)(pi),moveSync:vi},yi=ye({..._e,...$t,...Vt,...Pn,...ni,...rt,...bi,...Kn,...ct,...Bt});function _i(e,t){return function(){return e.apply(t,arguments)}}process.platform,yi.emptyDir,yi.remove,yi.readJSON,yi.writeJSON;const{toString:wi}=Object.prototype,{getPrototypeOf:Ei}=Object,{iterator:Si,toStringTag:ki}=Symbol,Ri=(e=>t=>{const n=wi.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ti=e=>(e=e.toLowerCase(),t=>Ri(t)===e),Oi=e=>t=>typeof t===e,{isArray:Ai}=Array,Ci=Oi("undefined");const ji=Ti("ArrayBuffer");const Pi=Oi("string"),Li=Oi("function"),Ii=Oi("number"),Ni=e=>null!==e&&"object"==typeof e,Fi=e=>{if("object"!==Ri(e))return!1;const t=Ei(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||ki in e||Si in e)},Di=Ti("Date"),$i=Ti("File"),Mi=Ti("Blob"),Bi=Ti("FileList"),Ui=Ti("URLSearchParams"),[zi,Hi,Gi,qi]=["ReadableStream","Request","Response","Headers"].map(Ti);function Wi(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,o;if("object"!=typeof e&&(e=[e]),Ai(e))for(i=0,o=e.length;i<o;i++)t.call(null,e[i],i,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),r=o.length;let s;for(i=0;i<r;i++)s=o[i],t.call(null,e[s],s,e)}}function Ki(e,t){t=t.toLowerCase();const n=Object.keys(e);let i,o=n.length;for(;o-- >0;)if(i=n[o],t===i.toLowerCase())return i;return null}const Vi="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Yi=e=>!Ci(e)&&e!==Vi;const Qi=(Zi="undefined"!=typeof Uint8Array&&Ei(Uint8Array),e=>Zi&&e instanceof Zi);var Zi;const Ji=Ti("HTMLFormElement"),Xi=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),eo=Ti("RegExp"),to=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Wi(n,((n,o)=>{let r;!1!==(r=t(n,o,e))&&(i[o]=r||n)})),Object.defineProperties(e,i)};const no=Ti("AsyncFunction"),io=(oo="function"==typeof setImmediate,ro=Li(Vi.postMessage),oo?setImmediate:ro?(so=`axios@${Math.random()}`,ao=[],Vi.addEventListener("message",(({source:e,data:t})=>{e===Vi&&t===so&&ao.length&&ao.shift()()}),!1),e=>{ao.push(e),Vi.postMessage(so,"*")}):e=>setTimeout(e));var oo,ro,so,ao;const co="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Vi):"undefined"!=typeof process&&process.nextTick||io;var lo={isArray:Ai,isArrayBuffer:ji,isBuffer:function(e){return null!==e&&!Ci(e)&&null!==e.constructor&&!Ci(e.constructor)&&Li(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Li(e.append)&&("formdata"===(t=Ri(e))||"object"===t&&Li(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ji(e.buffer),t},isString:Pi,isNumber:Ii,isBoolean:e=>!0===e||!1===e,isObject:Ni,isPlainObject:Fi,isReadableStream:zi,isRequest:Hi,isResponse:Gi,isHeaders:qi,isUndefined:Ci,isDate:Di,isFile:$i,isBlob:Mi,isRegExp:eo,isFunction:Li,isStream:e=>Ni(e)&&Li(e.pipe),isURLSearchParams:Ui,isTypedArray:Qi,isFileList:Bi,forEach:Wi,merge:function e(){const{caseless:t}=Yi(this)&&this||{},n={},i=(i,o)=>{const r=t&&Ki(n,o)||o;Fi(n[r])&&Fi(i)?n[r]=e(n[r],i):Fi(i)?n[r]=e({},i):Ai(i)?n[r]=i.slice():n[r]=i};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Wi(arguments[e],i);return n},extend:(e,t,n,{allOwnKeys:i}={})=>(Wi(t,((t,i)=>{n&&Li(t)?e[i]=_i(t,n):e[i]=t}),{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,i)=>{let o,r,s;const a={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),r=o.length;r-- >0;)s=o[r],i&&!i(s,e,t)||a[s]||(t[s]=e[s],a[s]=!0);e=!1!==n&&Ei(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Ri,kindOfTest:Ti,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return-1!==i&&i===n},toArray:e=>{if(!e)return null;if(Ai(e))return e;let t=e.length;if(!Ii(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Si]).call(e);let i;for(;(i=n.next())&&!i.done;){const n=i.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const i=[];for(;null!==(n=e.exec(t));)i.push(n);return i},isHTMLForm:Ji,hasOwnProperty:Xi,hasOwnProp:Xi,reduceDescriptors:to,freezeMethods:e=>{to(e,((t,n)=>{if(Li(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=e[n];Li(i)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},i=e=>{e.forEach((e=>{n[e]=!0}))};return Ai(e)?i(e):i(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ki,global:Vi,isContextDefined:Yi,isSpecCompliantForm:function(e){return!!(e&&Li(e.append)&&"FormData"===e[ki]&&e[Si])},toJSONObject:e=>{const t=new Array(10),n=(e,i)=>{if(Ni(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[i]=e;const o=Ai(e)?[]:{};return Wi(e,((e,t)=>{const r=n(e,i+1);!Ci(r)&&(o[t]=r)})),t[i]=void 0,o}}return e};return n(e,0)},isAsyncFn:no,isThenable:e=>e&&(Ni(e)||Li(e))&&Li(e.then)&&Li(e.catch),setImmediate:io,asap:co,isIterable:e=>null!=e&&Li(e[Si])};function po(e,t,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}lo.inherits(po,Error,{toJSON:function(){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:lo.toJSONObject(this.config),code:this.code,status:this.status}}});const uo=po.prototype,fo={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{fo[e]={value:e}})),Object.defineProperties(po,fo),Object.defineProperty(uo,"isAxiosError",{value:!0}),po.from=(e,t,n,i,o,r)=>{const s=Object.create(uo);return lo.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),po.call(s,e.message,t,n,i,o),s.cause=e,s.name=e.name,r&&Object.assign(s,r),s};var mo=p.Stream,ho=go;function go(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}d.inherits(go,mo),go.create=function(e,t){var n=new this;for(var i in t=t||{})n[i]=t[i];n.source=e;var o=e.emit;return e.emit=function(){return n._handleEmit(arguments),o.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(go.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),go.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},go.prototype.resume=function(){this._released||this.release(),this.source.resume()},go.prototype.pause=function(){this.source.pause()},go.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},go.prototype.pipe=function(){var e=mo.prototype.pipe.apply(this,arguments);return this.resume(),e},go.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},go.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}};var xo=d,vo=p.Stream,bo=ho,yo=_o;function _o(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}xo.inherits(_o,vo),_o.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},_o.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},_o.prototype.append=function(e){if(_o.isStreamLike(e)){if(!(e instanceof bo)){var t=bo.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},_o.prototype.pipe=function(e,t){return vo.prototype.pipe.call(this,e,t),this.resume(),e},_o.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},_o.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){_o.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},_o.prototype._pipeNext=function(e){if(this._currentStream=e,_o.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},_o.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},_o.prototype.write=function(e){this.emit("data",e)},_o.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},_o.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},_o.prototype.end=function(){this._reset(),this.emit("end")},_o.prototype.destroy=function(){this._reset(),this.emit("close")},_o.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},_o.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},_o.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},_o.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var wo={},Eo={"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}};
|
|
2
2
|
/*!
|
|
3
3
|
* mime-types
|
|
4
4
|
* Copyright(c) 2014 Jonathan Ong
|
|
5
5
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
6
6
|
* MIT Licensed
|
|
7
7
|
*/
|
|
8
|
-
!function(e){var t,n,i,s=_s,o=f.extname,a=/^\s*([^;\s]*)(?:;|\s|$)/,r=/^text\//i;function c(e){if(!e||"string"!=typeof e)return!1;var t=a.exec(e),n=t&&s[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!r.test(t[1]))&&"UTF-8"}e.charset=c,e.charsets={lookup:c},e.contentType=function(t){if(!t||"string"!=typeof t)return!1;var n=-1===t.indexOf("/")?e.lookup(t):t;if(!n)return!1;if(-1===n.indexOf("charset")){var i=e.charset(n);i&&(n+="; charset="+i.toLowerCase())}return n},e.extension=function(t){if(!t||"string"!=typeof t)return!1;var n=a.exec(t),i=n&&e.extensions[n[1].toLowerCase()];if(!i||!i.length)return!1;return i[0]},e.extensions=Object.create(null),e.lookup=function(t){if(!t||"string"!=typeof t)return!1;var n=o("x."+t).toLowerCase().substr(1);if(!n)return!1;return e.types[n]||!1},e.types=Object.create(null),t=e.extensions,n=e.types,i=["nginx","apache",void 0,"iana"],Object.keys(s).forEach((function(e){var o=s[e],a=o.extensions;if(a&&a.length){t[e]=a;for(var r=0;r<a.length;r++){var c=a[r];if(n[c]){var p=i.indexOf(s[n[c]].source),l=i.indexOf(o.source);if("application/octet-stream"!==n[c]&&(p>l||p===l&&"application/"===n[c].substr(0,12)))continue}n[c]=e}}}))}(ws);var Es=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)};var Ss=Es,ks=function(e){var t=!1;return Ss((function(){t=!0})),function(n,i){t?e(n,i):Ss((function(){e(n,i)}))}};var Rs=function(e){Object.keys(e.jobs).forEach(Ts.bind(e)),e.jobs={}};function Ts(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var Os=ks,As=Rs,Cs=function(e,t,n,i){var s=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[s]=function(e,t,n,i){var s;s=2==e.length?e(n,Os(i)):e(n,t,Os(i));return s}(t,s,e[s],(function(e,t){s in n.jobs&&(delete n.jobs[s],e?As(n):n.results[s]=t,i(e,n.results))}))};var Ps=function(e,t){var n=!Array.isArray(e),i={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};t&&i.keyedList.sort(n?t:function(n,i){return t(e[n],e[i])});return i};var Ls=Rs,js=ks,Is=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,Ls(this),js(e)(null,this.results)};var Ns=Cs,Fs=Ps,Ds=Is,Ms=function(e,t,n){var i=Fs(e);for(;i.index<(i.keyedList||e).length;)Ns(e,t,i,(function(e,t){e?n(e,t):0!==Object.keys(i.jobs).length||n(null,i.results)})),i.index++;return Ds.bind(i,n)};var $s={exports:{}},Bs=Cs,Us=Ps,zs=Is;function Hs(e,t){return e<t?-1:e>t?1:0}$s.exports=function(e,t,n,i){var s=Us(e,n);return Bs(e,t,s,(function n(o,a){o?i(o,a):(s.index++,s.index<(s.keyedList||e).length?Bs(e,t,s,n):i(null,s.results))})),zs.bind(s,i)},$s.exports.ascending=Hs,$s.exports.descending=function(e,t){return-1*Hs(e,t)};var Gs=$s.exports,qs=Gs,Ws=function(e,t,n){return qs(e,t,null,n)};var Ks={parallel:Ms,serial:Ws,serialOrdered:Gs},Vs=bs,Ys=d,Qs=f,Xs=x,Js=g,Zs=v.parse,eo=c,to=l.Stream,no=ws,io=Ks,so=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e},oo=ao;function ao(e){if(!(this instanceof ao))return new ao(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Vs.call(this),e=e||{})this[t]=e[t]}Ys.inherits(ao,Vs),ao.LINE_BREAK="\r\n",ao.DEFAULT_CONTENT_TYPE="application/octet-stream",ao.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=Vs.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),Ys.isArray(t))this._error(new Error("Arrays are not supported."));else{var s=this._multiPartHeader(e,t,n),o=this._multiPartFooter();i(s),i(t),i(o),this._trackLength(s,t,n)}},ao.prototype._trackLength=function(e,t,n){var i=0;null!=n.knownLength?i+=+n.knownLength:Buffer.isBuffer(t)?i=t.length:"string"==typeof t&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+ao.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof to)&&(n.knownLength||this._valuesToMeasure.push(t))},ao.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):eo.stat(e.path,(function(n,i){var s;n?t(n):(s=i.size-(e.start?e.start:0),t(null,s))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},ao.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var i,s=this._getContentDisposition(t,n),o=this._getContentType(t,n),a="",r={"Content-Disposition":["form-data",'name="'+e+'"'].concat(s||[]),"Content-Type":[].concat(o||[])};for(var c in"object"==typeof n.header&&so(r,n.header),r)r.hasOwnProperty(c)&&null!=(i=r[c])&&(Array.isArray(i)||(i=[i]),i.length&&(a+=c+": "+i.join("; ")+ao.LINE_BREAK));return"--"+this.getBoundary()+ao.LINE_BREAK+a+ao.LINE_BREAK},ao.prototype._getContentDisposition=function(e,t){var n,i;return"string"==typeof t.filepath?n=Qs.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=Qs.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=Qs.basename(e.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i},ao.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=no.lookup(e.name)),!n&&e.path&&(n=no.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=no.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=ao.DEFAULT_CONTENT_TYPE),n},ao.prototype._multiPartFooter=function(){return function(e){var t=ao.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},ao.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ao.LINE_BREAK},ao.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},ao.prototype.setBoundary=function(e){this._boundary=e},ao.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},ao.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(ao.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},ao.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},ao.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},ao.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},ao.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?io.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,i){n?e(n):(i.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},ao.prototype.submit=function(e,t){var n,i,s={method:"post"};return"string"==typeof e?(e=Zs(e),i=so({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},s)):(i=so(e,s)).port||(i.port="https:"==i.protocol?443:80),i.headers=this.getHeaders(e.headers),n="https:"==i.protocol?Js.request(i):Xs.request(i),this.getLength(function(e,i){if(e&&"Unknown stream"!==e)this._error(e);else if(i&&n.setHeader("Content-Length",i),this.pipe(n),t){var s,o=function(e,i){return n.removeListener("error",o),n.removeListener("response",s),t.call(this,e,i)};s=o.bind(this,null),n.on("error",o),n.on("response",s)}}.bind(this)),n},ao.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},ao.prototype.toString=function(){return"[object FormData]"};var ro=ye(oo);function co(e){return ps.isPlainObject(e)||ps.isArray(e)}function po(e){return ps.endsWith(e,"[]")?e.slice(0,-2):e}function lo(e,t,n){return e?e.concat(t).map((function(e,t){return e=po(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const uo=ps.toFlatObject(ps,{},null,(function(e){return/^is[A-Z]/.test(e)}));function mo(e,t,n){if(!ps.isObject(e))throw new TypeError("target must be an object");t=t||new(ro||FormData);const i=(n=ps.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ps.isUndefined(t[e])}))).metaTokens,s=n.visitor||p,o=n.dots,a=n.indexes,r=(n.Blob||"undefined"!=typeof Blob&&Blob)&&ps.isSpecCompliantForm(t);if(!ps.isFunction(s))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(ps.isDate(e))return e.toISOString();if(!r&&ps.isBlob(e))throw new ls("Blob is not supported. Use a Buffer instead.");return ps.isArrayBuffer(e)||ps.isTypedArray(e)?r&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,n,s){let r=e;if(e&&!s&&"object"==typeof e)if(ps.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(ps.isArray(e)&&function(e){return ps.isArray(e)&&!e.some(co)}(e)||(ps.isFileList(e)||ps.endsWith(n,"[]"))&&(r=ps.toArray(e)))return n=po(n),r.forEach((function(e,i){!ps.isUndefined(e)&&null!==e&&t.append(!0===a?lo([n],i,o):null===a?n:n+"[]",c(e))})),!1;return!!co(e)||(t.append(lo(s,n,o),c(e)),!1)}const l=[],u=Object.assign(uo,{defaultVisitor:p,convertValue:c,isVisitable:co});if(!ps.isObject(e))throw new TypeError("data must be an object");return function e(n,i){if(!ps.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+i.join("."));l.push(n),ps.forEach(n,(function(n,o){!0===(!(ps.isUndefined(n)||null===n)&&s.call(t,n,ps.isString(o)?o.trim():o,i,u))&&e(n,i?i.concat(o):[o])})),l.pop()}}(e),t}function fo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ho(e,t){this._pairs=[],e&&mo(e,this,t)}const xo=ho.prototype;function go(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vo(e,t,n){if(!t)return e;const i=n&&n.encode||go;ps.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(o=s?s(t,n):ps.isURLSearchParams(t)?t.toString():new ho(t,n).toString(i),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}xo.append=function(e,t){this._pairs.push([e,t])},xo.toString=function(e){const t=e?function(t){return e.call(this,t,fo)}:fo;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class bo{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ps.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var yo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},wo=v.URLSearchParams;const _o="abcdefghijklmnopqrstuvwxyz",Eo="0123456789",So={DIGIT:Eo,ALPHA:_o,ALPHA_DIGIT:_o+_o.toUpperCase()+Eo};var ko={isNode:!0,classes:{URLSearchParams:wo,FormData:ro,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:So,generateString:(e=16,t=So.ALPHA_DIGIT)=>{let n="";const{length:i}=t,s=new Uint32Array(e);b.randomFillSync(s);for(let o=0;o<e;o++)n+=t[s[o]%i];return n},protocols:["http","https","file","data"]};const Ro="undefined"!=typeof window&&"undefined"!=typeof document,To="object"==typeof navigator&&navigator||void 0,Oo=Ro&&(!To||["ReactNative","NativeScript","NS"].indexOf(To.product)<0),Ao="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Co=Ro&&window.location.href||"http://localhost";var Po={...Object.freeze({__proto__:null,hasBrowserEnv:Ro,hasStandardBrowserEnv:Oo,hasStandardBrowserWebWorkerEnv:Ao,navigator:To,origin:Co}),...ko};function Lo(e){function t(e,n,i,s){let o=e[s++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),r=s>=e.length;if(o=!o&&ps.isArray(i)?i.length:o,r)return ps.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a;i[o]&&ps.isObject(i[o])||(i[o]=[]);return t(e,n,i[o],s)&&ps.isArray(i[o])&&(i[o]=function(e){const t={},n=Object.keys(e);let i;const s=n.length;let o;for(i=0;i<s;i++)o=n[i],t[o]=e[o];return t}(i[o])),!a}if(ps.isFormData(e)&&ps.isFunction(e.entries)){const n={};return ps.forEachEntry(e,((e,i)=>{t(function(e){return ps.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),i,n,0)})),n}return null}const jo={transitional:yo,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,s=ps.isObject(e);s&&ps.isHTMLForm(e)&&(e=new FormData(e));if(ps.isFormData(e))return i?JSON.stringify(Lo(e)):e;if(ps.isArrayBuffer(e)||ps.isBuffer(e)||ps.isStream(e)||ps.isFile(e)||ps.isBlob(e)||ps.isReadableStream(e))return e;if(ps.isArrayBufferView(e))return e.buffer;if(ps.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return mo(e,new Po.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,i){return Po.isNode&&ps.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=ps.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return mo(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||i?(t.setContentType("application/json",!1),function(e,t,n){if(ps.isString(e))try{return(t||JSON.parse)(e),ps.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||jo.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(ps.isResponse(e)||ps.isReadableStream(e))return e;if(e&&ps.isString(e)&&(n&&!this.responseType||i)){const n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw ls.from(e,ls.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Po.classes.FormData,Blob:Po.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ps.forEach(["delete","get","head","post","put","patch"],(e=>{jo.headers[e]={}}));var Io=jo;const No=ps.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"]);const Fo=Symbol("internals");function Do(e){return e&&String(e).trim().toLowerCase()}function Mo(e){return!1===e||null==e?e:ps.isArray(e)?e.map(Mo):String(e)}function $o(e,t,n,i,s){return ps.isFunction(i)?i.call(this,t,n):(s&&(t=n),ps.isString(t)?ps.isString(i)?-1!==t.indexOf(i):ps.isRegExp(i)?i.test(t):void 0:void 0)}class Bo{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function s(e,t,n){const s=Do(t);if(!s)throw new Error("header name must be a non-empty string");const o=ps.findKey(i,s);(!o||void 0===i[o]||!0===n||void 0===n&&!1!==i[o])&&(i[o||t]=Mo(e))}const o=(e,t)=>ps.forEach(e,((e,n)=>s(e,n,t)));if(ps.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(ps.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,i,s;return e&&e.split("\n").forEach((function(e){s=e.indexOf(":"),n=e.substring(0,s).trim().toLowerCase(),i=e.substring(s+1).trim(),!n||t[n]&&No[n]||("set-cookie"===n?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)})),t})(e),t);else if(ps.isObject(e)&&ps.isIterable(e)){let n,i,s={};for(const t of e){if(!ps.isArray(t))throw TypeError("Object iterator must return a key-value pair");s[i=t[0]]=(n=s[i])?ps.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}o(s,t)}else null!=e&&s(t,e,n);return this}get(e,t){if(e=Do(e)){const n=ps.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}(e);if(ps.isFunction(t))return t.call(this,e,n);if(ps.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Do(e)){const n=ps.findKey(this,e);return!(!n||void 0===this[n]||t&&!$o(0,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function s(e){if(e=Do(e)){const s=ps.findKey(n,e);!s||t&&!$o(0,n[s],s,t)||(delete n[s],i=!0)}}return ps.isArray(e)?e.forEach(s):s(e),i}clear(e){const t=Object.keys(this);let n=t.length,i=!1;for(;n--;){const s=t[n];e&&!$o(0,this[s],s,e,!0)||(delete this[s],i=!0)}return i}normalize(e){const t=this,n={};return ps.forEach(this,((i,s)=>{const o=ps.findKey(n,s);if(o)return t[o]=Mo(i),void delete t[s];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(s):String(s).trim();a!==s&&delete t[s],t[a]=Mo(i),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ps.forEach(this,((n,i)=>{null!=n&&!1!==n&&(t[i]=e&&ps.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Fo]=this[Fo]={accessors:{}}).accessors,n=this.prototype;function i(e){const i=Do(e);t[i]||(!function(e,t){const n=ps.toCamelCase(" "+t);["get","set","has"].forEach((i=>{Object.defineProperty(e,i+n,{value:function(e,n,s){return this[i].call(this,t,e,n,s)},configurable:!0})}))}(n,e),t[i]=!0)}return ps.isArray(e)?e.forEach(i):i(e),this}}Bo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ps.reduceDescriptors(Bo.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),ps.freezeMethods(Bo);var Uo=Bo;function zo(e,t){const n=this||Io,i=t||n,s=Uo.from(i.headers);let o=i.data;return ps.forEach(e,(function(e){o=e.call(n,o,s.normalize(),t?t.status:void 0)})),s.normalize(),o}function Ho(e){return!(!e||!e.__CANCEL__)}function Go(e,t,n){ls.call(this,null==e?"canceled":e,ls.ERR_CANCELED,t,n),this.name="CanceledError"}function qo(e,t,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new ls("Request failed with status code "+n.status,[ls.ERR_BAD_REQUEST,ls.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Wo(e,t,n){let i=!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t);return e&&(i||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}ps.inherits(Go,ls,{__CANCEL__:!0});var Ko={},Vo=v.parse,Yo={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},Qo=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function Xo(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}Ko.getProxyForUrl=function(e){var t="string"==typeof e?Vo(e):e||{},n=t.protocol,i=t.host,s=t.port;if("string"!=typeof i||!i||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(Xo("npm_config_no_proxy")||Xo("no_proxy")).toLowerCase();if(!n)return!0;if("*"===n)return!1;return n.split(/[,\s]/).every((function(n){if(!n)return!0;var i=n.match(/^(.+):(\d+)$/),s=i?i[1]:n,o=i?parseInt(i[2]):0;return!(!o||o===t)||(/^[.*]/.test(s)?("*"===s.charAt(0)&&(s=s.slice(1)),!Qo.call(e,s)):e!==s)}))}(i=i.replace(/:\d*$/,""),s=parseInt(s)||Yo[n]||0))return"";var o=Xo("npm_config_"+n+"_proxy")||Xo(n+"_proxy")||Xo("npm_config_proxy")||Xo("all_proxy");return o&&-1===o.indexOf("://")&&(o=n+"://"+o),o};var Jo,Zo,ea,ta,na,ia={exports:{}},sa={exports:{}},oa={exports:{}};function aa(){if(Zo)return Jo;Zo=1;var e=1e3,t=60*e,n=60*t,i=24*n,s=7*i,o=365.25*i;function a(e,t,n,i){var s=t>=1.5*n;return Math.round(e/n)+" "+i+(s?"s":"")}return Jo=function(r,c){c=c||{};var p=typeof r;if("string"===p&&r.length>0)return function(a){if((a=String(a)).length>100)return;var r=/^(-?(?:\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(!r)return;var c=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"weeks":case"week":case"w":return c*s;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;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}}(r);if("number"===p&&isFinite(r))return c.long?function(s){var o=Math.abs(s);if(o>=i)return a(s,o,i,"day");if(o>=n)return a(s,o,n,"hour");if(o>=t)return a(s,o,t,"minute");if(o>=e)return a(s,o,e,"second");return s+" ms"}(r):function(s){var o=Math.abs(s);if(o>=i)return Math.round(s/i)+"d";if(o>=n)return Math.round(s/n)+"h";if(o>=t)return Math.round(s/t)+"m";if(o>=e)return Math.round(s/e)+"s";return s+"ms"}(r);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(r))}}function ra(){if(ta)return ea;return ta=1,ea=function(e){function t(e){let i,s,o,a=null;function r(...e){if(!r.enabled)return;const n=r,s=Number(new Date),o=s-(i||s);n.diff=o,n.prev=i,n.curr=s,i=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((i,s)=>{if("%%"===i)return"%";a++;const o=t.formatters[s];if("function"==typeof o){const t=e[a];i=o.call(n,t),e.splice(a,1),a--}return i})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return r.namespace=e,r.useColors=t.useColors(),r.color=t.selectColor(e),r.extend=n,r.destroy=t.destroy,Object.defineProperty(r,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(s!==t.namespaces&&(s=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(r),r}function n(e,n){const i=t(this.namespace+(void 0===n?":":n)+e);return i.log=this.log,i}function i(e,t){let n=0,i=0,s=-1,o=0;for(;n<e.length;)if(i<t.length&&(t[i]===e[n]||"*"===t[i]))"*"===t[i]?(s=i,o=n,i++):(n++,i++);else{if(-1===s)return!1;i=s+1,o++,n=o}for(;i<t.length&&"*"===t[i];)i++;return i===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(i(e,n))return!1;for(const n of t.names)if(i(e,n))return!0;return!1},t.humanize=aa(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t},ea}var ca,pa,la,ua,da,ma,fa,ha={exports:{}};function xa(){return pa?ca:(pa=1,ca=(e,t)=>{t=t||process.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(n+e),s=t.indexOf("--");return-1!==i&&(-1===s||i<s)})}function ga(){if(ua)return la;ua=1;const e=h,t=xa(),n=process.env;let i;function s(s){const o=function(s){if(!1===i)return 0;if(t("color=16m")||t("color=full")||t("color=truecolor"))return 3;if(t("color=256"))return 2;if(s&&!s.isTTY&&!0!==i)return 0;const o=i?1:0;if("win32"===process.platform){const t=e.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in n)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in n))||"codeship"===n.CI_NAME?1:o;if("TEAMCITY_VERSION"in n)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(n.TEAMCITY_VERSION)?1:0;if("truecolor"===n.COLORTERM)return 3;if("TERM_PROGRAM"in n){const e=parseInt((n.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(n.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(n.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(n.TERM)||"COLORTERM"in n?1:(n.TERM,o)}(s);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(o)}return t("no-color")||t("no-colors")||t("color=false")?i=!1:(t("color")||t("colors")||t("color=true")||t("color=always"))&&(i=!0),"FORCE_COLOR"in n&&(i=0===n.FORCE_COLOR.length||0!==parseInt(n.FORCE_COLOR,10)),la={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}}function va(){return da||(da=1,function(e,t){const n=y,i=d;t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let i=0;i<n.length;i++)e.inspectOpts[n[i]]=t.inspectOpts[n[i]]},t.log=function(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(n){const{namespace:i,useColors:s}=this;if(s){const t=this.color,s="[3"+(t<8?t:"8;5;"+t),o=` ${s};1m${i} [0m`;n[0]=o+n[0].split("\n").join("\n"+o),n.push(s+"m+"+e.exports.humanize(this.diff)+"[0m")}else n[0]=function(){if(t.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+i+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)},t.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=ga();e&&(e.stderr||e).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(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[n]=i,e}),{}),e.exports=ra()(t);const{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}}(ha,ha.exports)),ha.exports}function ba(){return ma||(ma=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?sa.exports=(na||(na=1,function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let i=0,s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(i++,"%c"===e&&(s=i))})),t.splice(s,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!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"],t.log=console.debug||console.log||(()=>{}),e.exports=ra()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(oa,oa.exports)),oa.exports):sa.exports=va()),sa.exports}var ya,wa,_a,Ea=v,Sa=Ea.URL,ka=x,Ra=g,Ta=l.Writable,Oa=m,Aa=function(){if(!fa){try{fa=ba()("follow-redirects")}catch(e){}"function"!=typeof fa&&(fa=function(){})}fa.apply(null,arguments)};ya="undefined"!=typeof process,wa="undefined"!=typeof window&&"undefined"!=typeof document,_a=Qa(Error.captureStackTrace),ya||!wa&&_a||console.warn("The follow-redirects package should be excluded from browser builds.");var Ca=!1;try{Oa(new Sa(""))}catch(Sf){Ca="ERR_INVALID_URL"===Sf.code}var Pa=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],La=["abort","aborted","connect","error","socket","timeout"],ja=Object.create(null);La.forEach((function(e){ja[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}}));var Ia=Ka("ERR_INVALID_URL","Invalid URL",TypeError),Na=Ka("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Fa=Ka("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Na),Da=Ka("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Ma=Ka("ERR_STREAM_WRITE_AFTER_END","write after end"),$a=Ta.prototype.destroy||za;function Ba(e,t){Ta.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof Na?e:new Na({cause:e}))}},this._performRequest()}function Ua(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(i){var s=i+":",o=n[s]=e[i],a=t[i]=Object.create(o);Object.defineProperties(a,{request:{value:function(e,i,o){var a;return a=e,Sa&&a instanceof Sa?e=qa(e):Ya(e)?e=qa(Ha(e)):(o=i,i=Ga(e),e={protocol:s}),Qa(i)&&(o=i,i=null),(i=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,i)).nativeProtocols=n,Ya(i.host)||Ya(i.hostname)||(i.hostname="::1"),Oa.equal(i.protocol,s,"protocol mismatch"),Aa("options",i),new Ba(i,o)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var i=a.request(e,t,n);return i.end(),i},configurable:!0,enumerable:!0,writable:!0}})})),t}function za(){}function Ha(e){var t;if(Ca)t=new Sa(e);else if(!Ya((t=Ga(Ea.parse(e))).protocol))throw new Ia({input:e});return t}function Ga(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Ia({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Ia({input:e.href||e});return e}function qa(e,t){var n=t||{};for(var i of Pa)n[i]=e[i];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function Wa(e,t){var n;for(var i in t)e.test(i)&&(n=t[i],delete t[i]);return null==n?void 0:String(n).trim()}function Ka(e,t,n){function i(n){Qa(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(n||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function Va(e,t){for(var n of La)e.removeListener(n,ja[n]);e.on("error",za),e.destroy(t)}function Ya(e){return"string"==typeof e||e instanceof String}function Qa(e){return"function"==typeof e}Ba.prototype=Object.create(Ta.prototype),Ba.prototype.abort=function(){Va(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},Ba.prototype.destroy=function(e){return Va(this._currentRequest,e),$a.call(this,e),this},Ba.prototype.write=function(e,t,n){if(this._ending)throw new Ma;if(!Ya(e)&&("object"!=typeof(i=e)||!("length"in i)))throw new TypeError("data should be a string, Buffer or Uint8Array");var i;Qa(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new Da),this.abort()):n&&n()},Ba.prototype.end=function(e,t,n){if(Qa(e)?(n=e,e=t=null):Qa(t)&&(n=t,t=null),e){var i=this,s=this._currentRequest;this.write(e,t,(function(){i._ended=!0,s.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},Ba.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},Ba.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},Ba.prototype.setTimeout=function(e,t){var n=this;function i(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function s(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),o()}),e),i(t)}function o(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",o),n.removeListener("error",o),n.removeListener("response",o),n.removeListener("close",o),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",s)}return t&&this.on("timeout",t),this.socket?s(this.socket):this._currentRequest.once("socket",s),this.on("socket",i),this.on("abort",o),this.on("error",o),this.on("response",o),this.on("close",o),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){Ba.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(Ba.prototype,e,{get:function(){return this._currentRequest[e]}})})),Ba.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},Ba.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var s of(i._redirectable=this,La))i.on(s,ja[s]);if(this._currentUrl=/^\//.test(this._options.path)?Ea.format(this._options):this._options.path,this._isRedirect){var o=0,a=this,r=this._requestBodyBuffers;!function e(t){if(i===a._currentRequest)if(t)a.emit("error",t);else if(o<r.length){var n=r[o++];i.finished||i.write(n.data,n.encoding,e)}else a._ended&&i.end()}()}},Ba.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n,i=e.headers.location;if(!i||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(Va(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Fa;var s=this._options.beforeRedirect;s&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var o=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Wa(/^content-/i,this._options.headers));var a,r,c=Wa(/^host$/i,this._options.headers),p=Ha(this._currentUrl),l=c||p.host,u=/^\w+:/.test(i)?this._currentUrl:Ea.format(Object.assign(p,{host:l})),d=(a=i,r=u,Ca?new Sa(a,r):Ha(Ea.resolve(r,a)));if(Aa("redirecting to",d.href),this._isRedirect=!0,qa(d,this._options),(d.protocol!==p.protocol&&"https:"!==d.protocol||d.host!==l&&!function(e,t){Oa(Ya(e)&&Ya(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(d.host,l))&&Wa(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),Qa(s)){var m={headers:e.headers,statusCode:t},f={url:u,method:o,headers:n};s(this._options,m,f),this._sanitizeOptions(this._options)}this._performRequest()},ia.exports=Ua({http:ka,https:Ra}),ia.exports.wrap=Ua;var Xa=ye(ia.exports);const Ja="1.9.0";function Za(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const er=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;const tr=Symbol("internals");class nr extends l.Transform{constructor(e){super({readableHighWaterMark:(e=ps.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!ps.isUndefined(t[e])))).chunkSize});const t=this[tr]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))}))}_read(e){const t=this[tr];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const i=this[tr],s=i.maxRate,o=this.readableHighWaterMark,a=i.timeWindow,r=s/(1e3/a),c=!1!==i.minChunkSize?Math.max(i.minChunkSize,.01*r):0,p=(e,t)=>{const n=Buffer.byteLength(e);i.bytesSeen+=n,i.bytes+=n,i.isCaptured&&this.emit("progress",i.bytesSeen),this.push(e)?process.nextTick(t):i.onReadCallback=()=>{i.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,u=null,d=o,m=0;if(s){const e=Date.now();(!i.ts||(m=e-i.ts)>=a)&&(i.ts=e,l=r-i.bytes,i.bytes=l<0?-l:0,m=0),l=r-i.bytes}if(s){if(l<=0)return setTimeout((()=>{t(null,e)}),a-m);l<d&&(d=l)}d&&n>d&&n-d>c&&(u=e.subarray(d),e=e.subarray(0,d)),p(e,u?()=>{process.nextTick(t,null,u)}:t)};l(e,(function e(t,i){if(t)return n(t);i?l(i,e):n(null)}))}}var ir=nr;const{asyncIterator:sr}=Symbol,or=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[sr]?yield*e[sr]():yield e},ar=Po.ALPHABET.ALPHA_DIGIT+"-_",rr="function"==typeof TextEncoder?new TextEncoder:new d.TextEncoder,cr="\r\n",pr=rr.encode(cr);class lr{constructor(e,t){const{escapeName:n}=this.constructor,i=ps.isString(t);let s=`Content-Disposition: form-data; name="${n(e)}"${!i&&t.name?`; filename="${n(t.name)}"`:""}${cr}`;i?t=rr.encode(String(t).replace(/\r?\n|\r\n?/g,cr)):s+=`Content-Type: ${t.type||"application/octet-stream"}${cr}`,this.headers=rr.encode(s+cr),this.contentLength=i?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;ps.isTypedArray(e)?yield e:yield*or(e),yield pr}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class ur extends l.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}const dr=(e,t)=>ps.isAsyncFn(e)?function(...n){const i=n.pop();e.apply(this,n).then((e=>{try{t?i(null,...t(e)):i(null,e)}catch(e){i(e)}}),i)}:e;const mr=(e,t,n=3)=>{let i=0;const s=function(e,t){e=e||10;const n=new Array(e),i=new Array(e);let s,o=0,a=0;return t=void 0!==t?t:1e3,function(r){const c=Date.now(),p=i[a];s||(s=c),n[o]=r,i[o]=c;let l=a,u=0;for(;l!==o;)u+=n[l++],l%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-s<t)return;const d=p&&c-p;return d?Math.round(1e3*u/d):void 0}}(50,250);return function(e,t){let n,i,s=0,o=1e3/t;const a=(t,o=Date.now())=>{s=o,n=null,i&&(clearTimeout(i),i=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),r=t-s;r>=o?a(e,t):(n=e,i||(i=setTimeout((()=>{i=null,a(n)}),o-r)))},()=>n&&a(n)]}((n=>{const o=n.loaded,a=n.lengthComputable?n.total:void 0,r=o-i,c=s(r);i=o;e({loaded:o,total:a,progress:a?o/a:void 0,bytes:r,rate:c||void 0,estimated:c&&a&&o<=a?(a-o)/c:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},fr=(e,t)=>{const n=null!=e;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},hr=e=>(...t)=>ps.asap((()=>e(...t))),xr={flush:w.constants.Z_SYNC_FLUSH,finishFlush:w.constants.Z_SYNC_FLUSH},gr={flush:w.constants.BROTLI_OPERATION_FLUSH,finishFlush:w.constants.BROTLI_OPERATION_FLUSH},vr=ps.isFunction(w.createBrotliDecompress),{http:br,https:yr}=Xa,wr=/https:?/,_r=Po.protocols.map((e=>e+":")),Er=(e,[t,n])=>(e.on("end",n).on("error",n),t);function Sr(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function kr(e,t,n){let i=t;if(!i&&!1!==i){const e=Ko.getProxyForUrl(n);e&&(i=new URL(e))}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){(i.auth.username||i.auth.password)&&(i.auth=(i.auth.username||"")+":"+(i.auth.password||""));const t=Buffer.from(i.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=i.hostname||i.host;e.hostname=t,e.host=t,e.port=i.port,e.path=n,i.protocol&&(e.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`)}e.beforeRedirects.proxy=function(e){kr(e,t,e.href)}}const Rr="undefined"!=typeof process&&"process"===ps.kindOf(process),Tr=(e,t)=>(({address:e,family:t})=>{if(!ps.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(ps.isObject(e)?e:{address:e,family:t});var Or=Rr&&function(e){return t=async function(t,n,i){let{data:s,lookup:o,family:a}=e;const{responseType:r,responseEncoding:c}=e,p=e.method.toUpperCase();let m,f,h=!1;if(o){const e=dr(o,(e=>ps.isArray(e)?e:[e]));o=(t,n,i)=>{e(t,n,((e,t,s)=>{if(e)return i(e);const o=ps.isArray(t)?t.map((e=>Tr(e))):[Tr(t,s)];n.all?i(e,o):i(e,o[0].address,o[0].family)}))}}const v=new E,b=()=>{e.cancelToken&&e.cancelToken.unsubscribe(y),e.signal&&e.signal.removeEventListener("abort",y),v.removeAllListeners()};function y(t){v.emit("abort",!t||t.type?new Go(null,e,f):t)}i(((e,t)=>{m=!0,t&&(h=!0,b())})),v.once("abort",n),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(y),e.signal&&(e.signal.aborted?y():e.signal.addEventListener("abort",y)));const _=Wo(e.baseURL,e.url,e.allowAbsoluteUrls),S=new URL(_,Po.hasBrowserEnv?Po.origin:void 0),k=S.protocol||_r[0];if("data:"===k){let i;if("GET"!==p)return qo(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{i=function(e,t,n){const i=n&&n.Blob||Po.classes.Blob,s=Za(e);if(void 0===t&&i&&(t=!0),"data"===s){e=s.length?e.slice(s.length+1):e;const n=er.exec(e);if(!n)throw new ls("Invalid URL",ls.ERR_INVALID_URL);const o=n[1],a=n[2],r=n[3],c=Buffer.from(decodeURIComponent(r),a?"base64":"utf8");if(t){if(!i)throw new ls("Blob is not supported",ls.ERR_NOT_SUPPORT);return new i([c],{type:o})}return c}throw new ls("Unsupported protocol "+s,ls.ERR_NOT_SUPPORT)}(e.url,"blob"===r,{Blob:e.env&&e.env.Blob})}catch(t){throw ls.from(t,ls.ERR_BAD_REQUEST,e)}return"text"===r?(i=i.toString(c),c&&"utf8"!==c||(i=ps.stripBOM(i))):"stream"===r&&(i=l.Readable.from(i)),qo(t,n,{data:i,status:200,statusText:"OK",headers:new Uo,config:e})}if(-1===_r.indexOf(k))return n(new ls("Unsupported protocol "+k,ls.ERR_BAD_REQUEST,e));const R=Uo.from(e.headers).normalize();R.set("User-Agent","axios/"+Ja,!1);const{onUploadProgress:T,onDownloadProgress:O}=e,A=e.maxRate;let C,P;if(ps.isSpecCompliantForm(s)){const e=R.getContentType(/boundary=([-_\w\d]{10,70})/i);s=((e,t,n)=>{const{tag:i="form-data-boundary",size:s=25,boundary:o=i+"-"+Po.generateString(s,ar)}=n||{};if(!ps.isFormData(e))throw TypeError("FormData instance required");if(o.length<1||o.length>70)throw Error("boundary must be 10-70 characters long");const a=rr.encode("--"+o+cr),r=rr.encode("--"+o+"--"+cr);let c=r.byteLength;const p=Array.from(e.entries()).map((([e,t])=>{const n=new lr(e,t);return c+=n.size,n}));c+=a.byteLength*p.length,c=ps.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${o}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),u.from(async function*(){for(const e of p)yield a,yield*e.encode();yield r}())})(s,(e=>{R.set(e)}),{tag:`axios-${Ja}-boundary`,boundary:e&&e[1]||void 0})}else if(ps.isFormData(s)&&ps.isFunction(s.getHeaders)){if(R.set(s.getHeaders()),!R.hasContentLength())try{const e=await d.promisify(s.getLength).call(s);Number.isFinite(e)&&e>=0&&R.setContentLength(e)}catch(e){}}else if(ps.isBlob(s)||ps.isFile(s))s.size&&R.setContentType(s.type||"application/octet-stream"),R.setContentLength(s.size||0),s=l.Readable.from(or(s));else if(s&&!ps.isStream(s)){if(Buffer.isBuffer(s));else if(ps.isArrayBuffer(s))s=Buffer.from(new Uint8Array(s));else{if(!ps.isString(s))return n(new ls("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",ls.ERR_BAD_REQUEST,e));s=Buffer.from(s,"utf-8")}if(R.setContentLength(s.length,!1),e.maxBodyLength>-1&&s.length>e.maxBodyLength)return n(new ls("Request body larger than maxBodyLength limit",ls.ERR_BAD_REQUEST,e))}const L=ps.toFiniteNumber(R.getContentLength());let j,I;ps.isArray(A)?(C=A[0],P=A[1]):C=P=A,s&&(T||C)&&(ps.isStream(s)||(s=l.Readable.from(s,{objectMode:!1})),s=l.pipeline([s,new ir({maxRate:ps.toFiniteNumber(C)})],ps.noop),T&&s.on("progress",Er(s,fr(L,mr(hr(T),!1,3))))),e.auth&&(j=(e.auth.username||"")+":"+(e.auth.password||"")),!j&&S.username&&(j=S.username+":"+S.password),j&&R.delete("authorization");try{I=vo(S.pathname+S.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const i=new Error(t.message);return i.config=e,i.url=e.url,i.exists=!0,n(i)}R.set("Accept-Encoding","gzip, compress, deflate"+(vr?", br":""),!1);const N={path:I,method:p,headers:R.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:j,protocol:k,family:a,beforeRedirect:Sr,beforeRedirects:{}};let F;!ps.isUndefined(o)&&(N.lookup=o),e.socketPath?N.socketPath=e.socketPath:(N.hostname=S.hostname.startsWith("[")?S.hostname.slice(1,-1):S.hostname,N.port=S.port,kr(N,e.proxy,k+"//"+S.hostname+(S.port?":"+S.port:"")+N.path));const D=wr.test(N.protocol);if(N.agent=D?e.httpsAgent:e.httpAgent,e.transport?F=e.transport:0===e.maxRedirects?F=D?g:x:(e.maxRedirects&&(N.maxRedirects=e.maxRedirects),e.beforeRedirect&&(N.beforeRedirects.config=e.beforeRedirect),F=D?yr:br),e.maxBodyLength>-1?N.maxBodyLength=e.maxBodyLength:N.maxBodyLength=1/0,e.insecureHTTPParser&&(N.insecureHTTPParser=e.insecureHTTPParser),f=F.request(N,(function(i){if(f.destroyed)return;const s=[i],o=+i.headers["content-length"];if(O||P){const e=new ir({maxRate:ps.toFiniteNumber(P)});O&&e.on("progress",Er(e,fr(o,mr(hr(O),!0,3)))),s.push(e)}let a=i;const u=i.req||f;if(!1!==e.decompress&&i.headers["content-encoding"])switch("HEAD"!==p&&204!==i.statusCode||delete i.headers["content-encoding"],(i.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":s.push(w.createUnzip(xr)),delete i.headers["content-encoding"];break;case"deflate":s.push(new ur),s.push(w.createUnzip(xr)),delete i.headers["content-encoding"];break;case"br":vr&&(s.push(w.createBrotliDecompress(gr)),delete i.headers["content-encoding"])}a=s.length>1?l.pipeline(s,ps.noop):s[0];const d=l.finished(a,(()=>{d(),b()})),m={status:i.statusCode,statusText:i.statusMessage,headers:new Uo(i.headers),config:e,request:u};if("stream"===r)m.data=a,qo(t,n,m);else{const i=[];let s=0;a.on("data",(function(t){i.push(t),s+=t.length,e.maxContentLength>-1&&s>e.maxContentLength&&(h=!0,a.destroy(),n(new ls("maxContentLength size of "+e.maxContentLength+" exceeded",ls.ERR_BAD_RESPONSE,e,u)))})),a.on("aborted",(function(){if(h)return;const t=new ls("stream has been aborted",ls.ERR_BAD_RESPONSE,e,u);a.destroy(t),n(t)})),a.on("error",(function(t){f.destroyed||n(ls.from(t,null,e,u))})),a.on("end",(function(){try{let e=1===i.length?i[0]:Buffer.concat(i);"arraybuffer"!==r&&(e=e.toString(c),c&&"utf8"!==c||(e=ps.stripBOM(e))),m.data=e}catch(t){return n(ls.from(t,null,e,m.request,m))}qo(t,n,m)}))}v.once("abort",(e=>{a.destroyed||(a.emit("error",e),a.destroy())}))})),v.once("abort",(e=>{n(e),f.destroy(e)})),f.on("error",(function(t){n(ls.from(t,null,e,f))})),f.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void n(new ls("error trying to parse `config.timeout` to int",ls.ERR_BAD_OPTION_VALUE,e,f));f.setTimeout(t,(function(){if(m)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const i=e.transitional||yo;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new ls(t,i.clarifyTimeoutError?ls.ETIMEDOUT:ls.ECONNABORTED,e,f)),y()}))}if(ps.isStream(s)){let t=!1,n=!1;s.on("end",(()=>{t=!0})),s.once("error",(e=>{n=!0,f.destroy(e)})),s.on("close",(()=>{t||n||y(new Go("Request stream has been aborted",e,f))})),s.pipe(f)}else f.end(s)},new Promise(((e,n)=>{let i,s;const o=(e,t)=>{s||(s=!0,i&&i(e,t))},a=e=>{o(e,!0),n(e)};t((t=>{o(t),e(t)}),a,(e=>i=e)).catch(a)}));var t},Ar=Po.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Po.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Po.origin),Po.navigator&&/(msie|trident)/i.test(Po.navigator.userAgent)):()=>!0,Cr=Po.hasStandardBrowserEnv?{write(e,t,n,i,s,o){const a=[e+"="+encodeURIComponent(t)];ps.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ps.isString(i)&&a.push("path="+i),ps.isString(s)&&a.push("domain="+s),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};const Pr=e=>e instanceof Uo?{...e}:e;function Lr(e,t){t=t||{};const n={};function i(e,t,n,i){return ps.isPlainObject(e)&&ps.isPlainObject(t)?ps.merge.call({caseless:i},e,t):ps.isPlainObject(t)?ps.merge({},t):ps.isArray(t)?t.slice():t}function s(e,t,n,s){return ps.isUndefined(t)?ps.isUndefined(e)?void 0:i(void 0,e,0,s):i(e,t,0,s)}function o(e,t){if(!ps.isUndefined(t))return i(void 0,t)}function a(e,t){return ps.isUndefined(t)?ps.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function r(n,s,o){return o in t?i(n,s):o in e?i(void 0,n):void 0}const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:r,headers:(e,t,n)=>s(Pr(e),Pr(t),0,!0)};return ps.forEach(Object.keys(Object.assign({},e,t)),(function(i){const o=c[i]||s,a=o(e[i],t[i],i);ps.isUndefined(a)&&o!==r||(n[i]=a)})),n}var jr=e=>{const t=Lr({},e);let n,{data:i,withXSRFToken:s,xsrfHeaderName:o,xsrfCookieName:a,headers:r,auth:c}=t;if(t.headers=r=Uo.from(r),t.url=vo(Wo(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&r.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),ps.isFormData(i))if(Po.hasStandardBrowserEnv||Po.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if(!1!==(n=r.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];r.setContentType([e||"multipart/form-data",...t].join("; "))}if(Po.hasStandardBrowserEnv&&(s&&ps.isFunction(s)&&(s=s(t)),s||!1!==s&&Ar(t.url))){const e=o&&a&&Cr.read(a);e&&r.set(o,e)}return t};var Ir="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const i=jr(e);let s=i.data;const o=Uo.from(i.headers).normalize();let a,r,c,p,l,{responseType:u,onUploadProgress:d,onDownloadProgress:m}=i;function f(){p&&p(),l&&l(),i.cancelToken&&i.cancelToken.unsubscribe(a),i.signal&&i.signal.removeEventListener("abort",a)}let h=new XMLHttpRequest;function x(){if(!h)return;const i=Uo.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());qo((function(e){t(e),f()}),(function(e){n(e),f()}),{data:u&&"text"!==u&&"json"!==u?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:i,config:e,request:h}),h=null}h.open(i.method.toUpperCase(),i.url,!0),h.timeout=i.timeout,"onloadend"in h?h.onloadend=x:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(x)},h.onabort=function(){h&&(n(new ls("Request aborted",ls.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new ls("Network Error",ls.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let t=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const s=i.transitional||yo;i.timeoutErrorMessage&&(t=i.timeoutErrorMessage),n(new ls(t,s.clarifyTimeoutError?ls.ETIMEDOUT:ls.ECONNABORTED,e,h)),h=null},void 0===s&&o.setContentType(null),"setRequestHeader"in h&&ps.forEach(o.toJSON(),(function(e,t){h.setRequestHeader(t,e)})),ps.isUndefined(i.withCredentials)||(h.withCredentials=!!i.withCredentials),u&&"json"!==u&&(h.responseType=i.responseType),m&&([c,l]=mr(m,!0),h.addEventListener("progress",c)),d&&h.upload&&([r,p]=mr(d),h.upload.addEventListener("progress",r),h.upload.addEventListener("loadend",p)),(i.cancelToken||i.signal)&&(a=t=>{h&&(n(!t||t.type?new Go(null,e,h):t),h.abort(),h=null)},i.cancelToken&&i.cancelToken.subscribe(a),i.signal&&(i.signal.aborted?a():i.signal.addEventListener("abort",a)));const g=Za(i.url);g&&-1===Po.protocols.indexOf(g)?n(new ls("Unsupported protocol "+g+":",ls.ERR_BAD_REQUEST,e)):h.send(s||null)}))};var Nr=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,i=new AbortController;const s=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;i.abort(t instanceof ls?t:new Go(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{o=null,s(new ls(`timeout ${t} of ms exceeded`,ls.ETIMEDOUT))}),t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(s):e.removeEventListener("abort",s)})),e=null)};e.forEach((e=>e.addEventListener("abort",s)));const{signal:r}=i;return r.unsubscribe=()=>ps.asap(a),r}};const Fr=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let i,s=0;for(;s<n;)i=s+t,yield e.slice(s,i),s=i},Dr=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Mr=(e,t,n,i)=>{const s=async function*(e,t){for await(const n of Dr(e))yield*Fr(n,t)}(e,t);let o,a=0,r=e=>{o||(o=!0,i&&i(e))};return new ReadableStream({async pull(e){try{const{done:t,value:i}=await s.next();if(t)return r(),void e.close();let o=i.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(i))}catch(e){throw r(e),e}},cancel:e=>(r(e),s.return())},{highWaterMark:2})},$r="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Br=$r&&"function"==typeof ReadableStream,Ur=$r&&("function"==typeof TextEncoder?(zr=new TextEncoder,e=>zr.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var zr;const Hr=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Gr=Br&&Hr((()=>{let e=!1;const t=new Request(Po.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),qr=Br&&Hr((()=>ps.isReadableStream(new Response("").body))),Wr={stream:qr&&(e=>e.body)};var Kr;$r&&(Kr=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Wr[e]&&(Wr[e]=ps.isFunction(Kr[e])?t=>t[e]():(t,n)=>{throw new ls(`Response type '${e}' is not supported`,ls.ERR_NOT_SUPPORT,n)})})));const Vr=async(e,t)=>{const n=ps.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(ps.isBlob(e))return e.size;if(ps.isSpecCompliantForm(e)){const t=new Request(Po.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return ps.isArrayBufferView(e)||ps.isArrayBuffer(e)?e.byteLength:(ps.isURLSearchParams(e)&&(e+=""),ps.isString(e)?(await Ur(e)).byteLength:void 0)})(t):n};var Yr=$r&&(async e=>{let{url:t,method:n,data:i,signal:s,cancelToken:o,timeout:a,onDownloadProgress:r,onUploadProgress:c,responseType:p,headers:l,withCredentials:u="same-origin",fetchOptions:d}=jr(e);p=p?(p+"").toLowerCase():"text";let m,f=Nr([s,o&&o.toAbortSignal()],a);const h=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let x;try{if(c&&Gr&&"get"!==n&&"head"!==n&&0!==(x=await Vr(l,i))){let e,n=new Request(t,{method:"POST",body:i,duplex:"half"});if(ps.isFormData(i)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body){const[e,t]=fr(x,mr(hr(c)));i=Mr(n.body,65536,e,t)}}ps.isString(u)||(u=u?"include":"omit");const s="credentials"in Request.prototype;m=new Request(t,{...d,signal:f,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:s?u:void 0});let o=await fetch(m);const a=qr&&("stream"===p||"response"===p);if(qr&&(r||a&&h)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=ps.toFiniteNumber(o.headers.get("content-length")),[n,i]=r&&fr(t,mr(hr(r),!0))||[];o=new Response(Mr(o.body,65536,n,(()=>{i&&i(),h&&h()})),e)}p=p||"text";let g=await Wr[ps.findKey(Wr,p)||"text"](o,e);return!a&&h&&h(),await new Promise(((t,n)=>{qo(t,n,{data:g,headers:Uo.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:m})}))}catch(t){if(h&&h(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new ls("Network Error",ls.ERR_NETWORK,e,m),{cause:t.cause||t});throw ls.from(t,t&&t.code,e,m)}});const Qr={http:Or,xhr:Ir,fetch:Yr};ps.forEach(Qr,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Xr=e=>`- ${e}`,Jr=e=>ps.isFunction(e)||null===e||!1===e;var Zr=e=>{e=ps.isArray(e)?e:[e];const{length:t}=e;let n,i;const s={};for(let o=0;o<t;o++){let t;if(n=e[o],i=n,!Jr(n)&&(i=Qr[(t=String(n)).toLowerCase()],void 0===i))throw new ls(`Unknown adapter '${t}'`);if(i)break;s[t||"#"+o]=i}if(!i){const e=Object.entries(s).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new ls("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Xr).join("\n"):" "+Xr(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function ec(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Go(null,e)}function tc(e){ec(e),e.headers=Uo.from(e.headers),e.data=zo.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Zr(e.adapter||Io.adapter)(e).then((function(t){return ec(e),t.data=zo.call(e,e.transformResponse,t),t.headers=Uo.from(t.headers),t}),(function(t){return Ho(t)||(ec(e),t&&t.response&&(t.response.data=zo.call(e,e.transformResponse,t.response),t.response.headers=Uo.from(t.response.headers))),Promise.reject(t)}))}const nc={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{nc[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ic={};nc.transitional=function(e,t,n){function i(e,t){return"[Axios v1.9.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,s,o)=>{if(!1===e)throw new ls(i(s," has been removed"+(t?" in "+t:"")),ls.ERR_DEPRECATED);return t&&!ic[s]&&(ic[s]=!0,console.warn(i(s," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,s,o)}},nc.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var sc={assertOptions:function(e,t,n){if("object"!=typeof e)throw new ls("options must be an object",ls.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let s=i.length;for(;s-- >0;){const o=i[s],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new ls("option "+o+" must be "+n,ls.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ls("Unknown option "+o,ls.ERR_BAD_OPTION)}},validators:nc};const oc=sc.validators;class ac{constructor(e){this.defaults=e||{},this.interceptors={request:new bo,response:new bo}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Lr(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:s}=t;void 0!==n&&sc.assertOptions(n,{silentJSONParsing:oc.transitional(oc.boolean),forcedJSONParsing:oc.transitional(oc.boolean),clarifyTimeoutError:oc.transitional(oc.boolean)},!1),null!=i&&(ps.isFunction(i)?t.paramsSerializer={serialize:i}:sc.assertOptions(i,{encode:oc.function,serialize:oc.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),sc.assertOptions(t,{baseUrl:oc.spelling("baseURL"),withXsrfToken:oc.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=s&&ps.merge(s.common,s[t.method]);s&&ps.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete s[e]})),t.headers=Uo.concat(o,s);const a=[];let r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const c=[];let p;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,u=0;if(!r){const e=[tc.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,c),l=e.length,p=Promise.resolve(t);u<l;)p=p.then(e[u++],e[u++]);return p}l=a.length;let d=t;for(u=0;u<l;){const e=a[u++],t=a[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{p=tc.call(this,d)}catch(e){return Promise.reject(e)}for(u=0,l=c.length;u<l;)p=p.then(c[u++],c[u++]);return p}getUri(e){return vo(Wo((e=Lr(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}ps.forEach(["delete","get","head","options"],(function(e){ac.prototype[e]=function(t,n){return this.request(Lr(n||{},{method:e,url:t,data:(n||{}).data}))}})),ps.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,s){return this.request(Lr(s||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}ac.prototype[e]=t(),ac.prototype[e+"Form"]=t(!0)}));var rc=ac;class cc{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const i=new Promise((e=>{n.subscribe(e),t=e})).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e((function(e,i,s){n.reason||(n.reason=new Go(e,i,s),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new cc((function(t){e=t})),cancel:e}}}var pc=cc;const lc={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};Object.entries(lc).forEach((([e,t])=>{lc[t]=e}));var uc=lc;const dc=function e(t){const n=new rc(t),i=wi(rc.prototype.request,n);return ps.extend(i,rc.prototype,n,{allOwnKeys:!0}),ps.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(Lr(t,n))},i}(Io);var mc,fc,hc;dc.Axios=rc,dc.CanceledError=Go,dc.CancelToken=pc,dc.isCancel=Ho,dc.VERSION=Ja,dc.toFormData=mo,dc.AxiosError=ls,dc.Cancel=dc.CanceledError,dc.all=function(e){return Promise.all(e)},dc.spread=function(e){return function(t){return e.apply(null,t)}},dc.isAxiosError=function(e){return ps.isObject(e)&&!0===e.isAxiosError},dc.mergeConfig=Lr,dc.AxiosHeaders=Uo,dc.formToJSON=e=>Lo(ps.isHTMLForm(e)?new FormData(e):e),dc.getAdapter=Zr,dc.HttpStatusCode=uc,dc.default=dc,function(e){e.SAAS="saas",e.INTERNAL="internal",e.POC="poc"}(mc||(mc={})),function(e){e.PRODUCTION="production",e.DEVELOPMENT="development",e.TEST="test"}(fc||(fc={})),function(e){e.VSCODE="vscode",e.JETBRAINS="jetbrains"}(hc||(hc={}));const xc="https://comate.baidu.com",gc="https://comate.baidu-int.com",vc="https://comate-cop.now.baidu.com",bc=(()=>{try{if("ide"===process.env.IDE){const t=e.join(function(){const t="Comate";switch(S.platform()){case"win32":return e.join(k(),"AppData","Roaming",t,"User");case"darwin":return e.join(k(),"Library","Application Support",t,"User");default:return e.join(k(),".config",t,"User")}}(),"loginMode.json");return JSON.parse(n.readFileSync(t,"utf8"))}return{}}catch(e){return{}}})(),yc="uuap"===bc.loginMode;let wc="ide"===process.env.IDE&&yc?mc.INTERNAL:process.env.PLATFORM||mc.INTERNAL,_c=process.env.ENVIRONMENT||fc.PRODUCTION,Ec=process.env.DISPLAY_LANGUAGE||"zh",Sc=process.env.ACCEPT_LANGUAGE||"zh-CN,zh";const kc={[mc.SAAS]:{[fc.PRODUCTION]:xc,[fc.DEVELOPMENT]:xc,[fc.TEST]:vc},[mc.INTERNAL]:{[fc.PRODUCTION]:gc,[fc.DEVELOPMENT]:gc,[fc.TEST]:"https://comate-test.now.baidu.com"},[mc.POC]:{[fc.PRODUCTION]:xc,[fc.DEVELOPMENT]:xc,[fc.TEST]:vc}};let Rc=process.env.HTTP_HOST;"en"===Ec?(Ec="en",Sc="en-US,en"):(Ec="zh",Sc="zh-CN,zh"),mc.SAAS;const Tc={},Oc=process.env.HTTP_PROXY_URL||"",{protocol:Ac,hostname:Cc,port:Pc}=function(e){const t={protocol:"http",hostname:"localhost",port:"9090"};if(!e)return t;try{const n=e.replace(/^\w+:\/\//,""),[i,s]=n.split(":");return{protocol:/^(\w+):\/\//.exec(e)?.[1]||t.protocol,hostname:i||t.hostname,port:s||t.port}}catch(e){return console.error("Error parsing proxy URL:",e),t}}(Oc),Lc=dc.create(Tc);dc.create(Tc),Lc.interceptors.request.use((async e=>{const t={...e,baseURL:Rc||(kc?.[wc]?.[_c]??gc)};return t.headers["Accept-Language"]=Sc,Oc&&(t.proxy={host:Cc,port:Number(Pc),protocol:Ac}),t})),dc.CanceledError,process.env.PLATFORM,process.env.IDE,process.env.NODE_ENV;var jc={exports:{}},Ic={};const Nc=f,Fc="\\\\/",Dc=`[^${Fc}]`,Mc="\\.",$c="\\/",Bc="[^/]",Uc=`(?:${$c}|$)`,zc=`(?:^|${$c})`,Hc=`${Mc}{1,2}${Uc}`,Gc={DOT_LITERAL:Mc,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:$c,ONE_CHAR:"(?=.)",QMARK:Bc,END_ANCHOR:Uc,DOTS_SLASH:Hc,NO_DOT:`(?!${Mc})`,NO_DOTS:`(?!${zc}${Hc})`,NO_DOT_SLASH:`(?!${Mc}{0,1}${Uc})`,NO_DOTS_SLASH:`(?!${Hc})`,QMARK_NO_DOT:`[^.${$c}]`,STAR:`${Bc}*?`,START_ANCHOR:zc},qc={...Gc,SLASH_LITERAL:`[${Fc}]`,QMARK:Dc,STAR:`${Dc}*?`,DOTS_SLASH:`${Mc}{1,2}(?:[${Fc}]|$)`,NO_DOT:`(?!${Mc})`,NO_DOTS:`(?!(?:^|[${Fc}])${Mc}{1,2}(?:[${Fc}]|$))`,NO_DOT_SLASH:`(?!${Mc}{0,1}(?:[${Fc}]|$))`,NO_DOTS_SLASH:`(?!${Mc}{1,2}(?:[${Fc}]|$))`,QMARK_NO_DOT:`[^.${Fc}]`,START_ANCHOR:`(?:^|[${Fc}])`,END_ANCHOR:`(?:[${Fc}]|$)`};var Wc={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:Nc.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?qc:Gc};!function(e){const t=f,n="win32"===process.platform,{REGEX_BACKSLASH:i,REGEX_REMOVE_BACKSLASH:s,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:a}=Wc;e.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),e.hasRegexChars=e=>o.test(e),e.isRegexChar=t=>1===t.length&&e.hasRegexChars(t),e.escapeRegex=e=>e.replace(a,"\\$1"),e.toPosixSlashes=e=>e.replace(i,"/"),e.removeBackslashes=e=>e.replace(s,(e=>"\\"===e?"":e)),e.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},e.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===n||"\\"===t.sep,e.escapeLast=(t,n,i)=>{const s=t.lastIndexOf(n,i);return-1===s?t:"\\"===t[s-1]?e.escapeLast(t,n,s-1):`${t.slice(0,s)}\\${t.slice(s)}`},e.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n},e.wrapOutput=(e,t={},n={})=>{let i=`${n.contains?"":"^"}(?:${e})${n.contains?"":"$"}`;return!0===t.negated&&(i=`(?:^(?!${i}).*$)`),i}}(Ic);const Kc=Ic,{CHAR_ASTERISK:Vc,CHAR_AT:Yc,CHAR_BACKWARD_SLASH:Qc,CHAR_COMMA:Xc,CHAR_DOT:Jc,CHAR_EXCLAMATION_MARK:Zc,CHAR_FORWARD_SLASH:ep,CHAR_LEFT_CURLY_BRACE:tp,CHAR_LEFT_PARENTHESES:np,CHAR_LEFT_SQUARE_BRACKET:ip,CHAR_PLUS:sp,CHAR_QUESTION_MARK:op,CHAR_RIGHT_CURLY_BRACE:ap,CHAR_RIGHT_PARENTHESES:rp,CHAR_RIGHT_SQUARE_BRACKET:cp}=Wc,pp=e=>e===ep||e===Qc,lp=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};var up=(e,t)=>{const n=t||{},i=e.length-1,s=!0===n.parts||!0===n.scanToEnd,o=[],a=[],r=[];let c,p,l=e,u=-1,d=0,m=0,f=!1,h=!1,x=!1,g=!1,v=!1,b=!1,y=!1,w=!1,_=!1,E=!1,S=0,k={value:"",depth:0,isGlob:!1};const R=()=>u>=i,T=()=>(c=p,l.charCodeAt(++u));for(;u<i;){let e;if(p=T(),p!==Qc){if(!0===b||p===tp){for(S++;!0!==R()&&(p=T());)if(p!==Qc)if(p!==tp){if(!0!==b&&p===Jc&&(p=T())===Jc){if(f=k.isBrace=!0,x=k.isGlob=!0,E=!0,!0===s)continue;break}if(!0!==b&&p===Xc){if(f=k.isBrace=!0,x=k.isGlob=!0,E=!0,!0===s)continue;break}if(p===ap&&(S--,0===S)){b=!1,f=k.isBrace=!0,E=!0;break}}else S++;else y=k.backslashes=!0,T();if(!0===s)continue;break}if(p!==ep){if(!0!==n.noext){if(!0===(p===sp||p===Yc||p===Vc||p===op||p===Zc)&&l.charCodeAt(u+1)===np){if(x=k.isGlob=!0,g=k.isExtglob=!0,E=!0,p===Zc&&u===d&&(_=!0),!0===s){for(;!0!==R()&&(p=T());)if(p!==Qc){if(p===rp){x=k.isGlob=!0,E=!0;break}}else y=k.backslashes=!0,p=T();continue}break}}if(p===Vc){if(c===Vc&&(v=k.isGlobstar=!0),x=k.isGlob=!0,E=!0,!0===s)continue;break}if(p===op){if(x=k.isGlob=!0,E=!0,!0===s)continue;break}if(p===ip){for(;!0!==R()&&(e=T());)if(e!==Qc){if(e===cp){h=k.isBracket=!0,x=k.isGlob=!0,E=!0;break}}else y=k.backslashes=!0,T();if(!0===s)continue;break}if(!0===n.nonegate||p!==Zc||u!==d){if(!0!==n.noparen&&p===np){if(x=k.isGlob=!0,!0===s){for(;!0!==R()&&(p=T());)if(p!==np){if(p===rp){E=!0;break}}else y=k.backslashes=!0,p=T();continue}break}if(!0===x){if(E=!0,!0===s)continue;break}}else w=k.negated=!0,d++}else{if(o.push(u),a.push(k),k={value:"",depth:0,isGlob:!1},!0===E)continue;if(c===Jc&&u===d+1){d+=2;continue}m=u+1}}else y=k.backslashes=!0,p=T(),p===tp&&(b=!0)}!0===n.noext&&(g=!1,x=!1);let O=l,A="",C="";d>0&&(A=l.slice(0,d),l=l.slice(d),m-=d),O&&!0===x&&m>0?(O=l.slice(0,m),C=l.slice(m)):!0===x?(O="",C=l):O=l,O&&""!==O&&"/"!==O&&O!==l&&pp(O.charCodeAt(O.length-1))&&(O=O.slice(0,-1)),!0===n.unescape&&(C&&(C=Kc.removeBackslashes(C)),O&&!0===y&&(O=Kc.removeBackslashes(O)));const P={prefix:A,input:e,start:d,base:O,glob:C,isBrace:f,isBracket:h,isGlob:x,isExtglob:g,isGlobstar:v,negated:w,negatedExtglob:_};if(!0===n.tokens&&(P.maxDepth=0,pp(p)||a.push(k),P.tokens=a),!0===n.parts||!0===n.tokens){let t;for(let i=0;i<o.length;i++){const s=t?t+1:d,c=o[i],p=e.slice(s,c);n.tokens&&(0===i&&0!==d?(a[i].isPrefix=!0,a[i].value=A):a[i].value=p,lp(a[i]),P.maxDepth+=a[i].depth),0===i&&""===p||r.push(p),t=c}if(t&&t+1<e.length){const i=e.slice(t+1);r.push(i),n.tokens&&(a[a.length-1].value=i,lp(a[a.length-1]),P.maxDepth+=a[a.length-1].depth)}P.slashes=o,P.parts=r}return P};const dp=Wc,mp=Ic,{MAX_LENGTH:fp,POSIX_REGEX_SOURCE:hp,REGEX_NON_SPECIAL_CHARS:xp,REGEX_SPECIAL_CHARS_BACKREF:gp,REPLACEMENTS:vp}=dp,bp=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const n=`[${e.join("-")}]`;try{new RegExp(n)}catch(t){return e.map((e=>mp.escapeRegex(e))).join("..")}return n},yp=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,wp=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=vp[e]||e;const n={...t},i="number"==typeof n.maxLength?Math.min(fp,n.maxLength):fp;let s=e.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);const o={type:"bos",value:"",output:n.prepend||""},a=[o],r=n.capture?"":"?:",c=mp.isWindows(t),p=dp.globChars(c),l=dp.extglobChars(p),{DOT_LITERAL:u,PLUS_LITERAL:d,SLASH_LITERAL:m,ONE_CHAR:f,DOTS_SLASH:h,NO_DOT:x,NO_DOT_SLASH:g,NO_DOTS_SLASH:v,QMARK:b,QMARK_NO_DOT:y,STAR:w,START_ANCHOR:_}=p,E=e=>`(${r}(?:(?!${_}${e.dot?h:u}).)*?)`,S=n.dot?"":x,k=n.dot?b:y;let R=!0===n.bash?E(n):w;n.capture&&(R=`(${R})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const T={input:e,index:-1,start:0,dot:!0===n.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};e=mp.removePrefix(e,T),s=e.length;const O=[],A=[],C=[];let P,L=o;const j=()=>T.index===s-1,I=T.peek=(t=1)=>e[T.index+t],N=T.advance=()=>e[++T.index]||"",F=()=>e.slice(T.index+1),D=(e="",t=0)=>{T.consumed+=e,T.index+=t},M=e=>{T.output+=null!=e.output?e.output:e.value,D(e.value)},$=()=>{let e=1;for(;"!"===I()&&("("!==I(2)||"?"===I(3));)N(),T.start++,e++;return e%2!=0&&(T.negated=!0,T.start++,!0)},B=e=>{T[e]++,C.push(e)},U=e=>{T[e]--,C.pop()},z=e=>{if("globstar"===L.type){const t=T.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||O.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||n||(T.output=T.output.slice(0,-L.output.length),L.type="star",L.value="*",L.output=R,T.output+=L.output)}if(O.length&&"paren"!==e.type&&(O[O.length-1].inner+=e.value),(e.value||e.output)&&M(e),L&&"text"===L.type&&"text"===e.type)return L.value+=e.value,void(L.output=(L.output||"")+e.value);e.prev=L,a.push(e),L=e},H=(e,t)=>{const i={...l[t],conditions:1,inner:""};i.prev=L,i.parens=T.parens,i.output=T.output;const s=(n.capture?"(":"")+i.open;B("parens"),z({type:e,value:t,output:T.output?"":f}),z({type:"paren",extglob:!0,value:N(),output:s}),O.push(i)},G=e=>{let i,s=e.close+(n.capture?")":"");if("negate"===e.type){let o=R;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(o=E(n)),(o!==R||j()||/^\)+$/.test(F()))&&(s=e.close=`)$))${o}`),e.inner.includes("*")&&(i=F())&&/^\.[^\\/.]+$/.test(i)){const n=wp(i,{...t,fastpaths:!1}).output;s=e.close=`)${n})${o})`}"bos"===e.prev.type&&(T.negatedExtglob=!0)}z({type:"paren",extglob:!0,value:P,output:s}),U("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let i=!1,s=e.replace(gp,((e,t,n,s,o,a)=>"\\"===s?(i=!0,e):"?"===s?t?t+s+(o?b.repeat(o.length):""):0===a?k+(o?b.repeat(o.length):""):b.repeat(n.length):"."===s?u.repeat(n.length):"*"===s?t?t+s+(o?R:""):R:t?e:`\\${e}`));return!0===i&&(s=!0===n.unescape?s.replace(/\\/g,""):s.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),s===e&&!0===n.contains?(T.output=e,T):(T.output=mp.wrapOutput(s,T,t),T)}for(;!j();){if(P=N(),"\0"===P)continue;if("\\"===P){const e=I();if("/"===e&&!0!==n.bash)continue;if("."===e||";"===e)continue;if(!e){P+="\\",z({type:"text",value:P});continue}const t=/^\\+/.exec(F());let i=0;if(t&&t[0].length>2&&(i=t[0].length,T.index+=i,i%2!=0&&(P+="\\")),!0===n.unescape?P=N():P+=N(),0===T.brackets){z({type:"text",value:P});continue}}if(T.brackets>0&&("]"!==P||"["===L.value||"[^"===L.value)){if(!1!==n.posix&&":"===P){const e=L.value.slice(1);if(e.includes("[")&&(L.posix=!0,e.includes(":"))){const e=L.value.lastIndexOf("["),t=L.value.slice(0,e),n=L.value.slice(e+2),i=hp[n];if(i){L.value=t+i,T.backtrack=!0,N(),o.output||1!==a.indexOf(L)||(o.output=f);continue}}}("["===P&&":"!==I()||"-"===P&&"]"===I())&&(P=`\\${P}`),"]"!==P||"["!==L.value&&"[^"!==L.value||(P=`\\${P}`),!0===n.posix&&"!"===P&&"["===L.value&&(P="^"),L.value+=P,M({value:P});continue}if(1===T.quotes&&'"'!==P){P=mp.escapeRegex(P),L.value+=P,M({value:P});continue}if('"'===P){T.quotes=1===T.quotes?0:1,!0===n.keepQuotes&&z({type:"text",value:P});continue}if("("===P){B("parens"),z({type:"paren",value:P});continue}if(")"===P){if(0===T.parens&&!0===n.strictBrackets)throw new SyntaxError(yp("opening","("));const e=O[O.length-1];if(e&&T.parens===e.parens+1){G(O.pop());continue}z({type:"paren",value:P,output:T.parens?")":"\\)"}),U("parens");continue}if("["===P){if(!0!==n.nobracket&&F().includes("]"))B("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(yp("closing","]"));P=`\\${P}`}z({type:"bracket",value:P});continue}if("]"===P){if(!0===n.nobracket||L&&"bracket"===L.type&&1===L.value.length){z({type:"text",value:P,output:`\\${P}`});continue}if(0===T.brackets){if(!0===n.strictBrackets)throw new SyntaxError(yp("opening","["));z({type:"text",value:P,output:`\\${P}`});continue}U("brackets");const e=L.value.slice(1);if(!0===L.posix||"^"!==e[0]||e.includes("/")||(P=`/${P}`),L.value+=P,M({value:P}),!1===n.literalBrackets||mp.hasRegexChars(e))continue;const t=mp.escapeRegex(L.value);if(T.output=T.output.slice(0,-L.value.length),!0===n.literalBrackets){T.output+=t,L.value=t;continue}L.value=`(${r}${t}|${L.value})`,T.output+=L.value;continue}if("{"===P&&!0!==n.nobrace){B("braces");const e={type:"brace",value:P,output:"(",outputIndex:T.output.length,tokensIndex:T.tokens.length};A.push(e),z(e);continue}if("}"===P){const e=A[A.length-1];if(!0===n.nobrace||!e){z({type:"text",value:P,output:P});continue}let t=")";if(!0===e.dots){const e=a.slice(),i=[];for(let t=e.length-1;t>=0&&(a.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&i.unshift(e[t].value);t=bp(i,n),T.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const n=T.output.slice(0,e.outputIndex),i=T.tokens.slice(e.tokensIndex);e.value=e.output="\\{",P=t="\\}",T.output=n;for(const e of i)T.output+=e.output||e.value}z({type:"brace",value:P,output:t}),U("braces"),A.pop();continue}if("|"===P){O.length>0&&O[O.length-1].conditions++,z({type:"text",value:P});continue}if(","===P){let e=P;const t=A[A.length-1];t&&"braces"===C[C.length-1]&&(t.comma=!0,e="|"),z({type:"comma",value:P,output:e});continue}if("/"===P){if("dot"===L.type&&T.index===T.start+1){T.start=T.index+1,T.consumed="",T.output="",a.pop(),L=o;continue}z({type:"slash",value:P,output:m});continue}if("."===P){if(T.braces>0&&"dot"===L.type){"."===L.value&&(L.output=u);const e=A[A.length-1];L.type="dots",L.output+=P,L.value+=P,e.dots=!0;continue}if(T.braces+T.parens===0&&"bos"!==L.type&&"slash"!==L.type){z({type:"text",value:P,output:u});continue}z({type:"dot",value:P,output:u});continue}if("?"===P){if(!(L&&"("===L.value)&&!0!==n.noextglob&&"("===I()&&"?"!==I(2)){H("qmark",P);continue}if(L&&"paren"===L.type){const e=I();let t=P;if("<"===e&&!mp.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===L.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(F()))&&(t=`\\${P}`),z({type:"text",value:P,output:t});continue}if(!0!==n.dot&&("slash"===L.type||"bos"===L.type)){z({type:"qmark",value:P,output:y});continue}z({type:"qmark",value:P,output:b});continue}if("!"===P){if(!0!==n.noextglob&&"("===I()&&("?"!==I(2)||!/[!=<:]/.test(I(3)))){H("negate",P);continue}if(!0!==n.nonegate&&0===T.index){$();continue}}if("+"===P){if(!0!==n.noextglob&&"("===I()&&"?"!==I(2)){H("plus",P);continue}if(L&&"("===L.value||!1===n.regex){z({type:"plus",value:P,output:d});continue}if(L&&("bracket"===L.type||"paren"===L.type||"brace"===L.type)||T.parens>0){z({type:"plus",value:P});continue}z({type:"plus",value:d});continue}if("@"===P){if(!0!==n.noextglob&&"("===I()&&"?"!==I(2)){z({type:"at",extglob:!0,value:P,output:""});continue}z({type:"text",value:P});continue}if("*"!==P){"$"!==P&&"^"!==P||(P=`\\${P}`);const e=xp.exec(F());e&&(P+=e[0],T.index+=e[0].length),z({type:"text",value:P});continue}if(L&&("globstar"===L.type||!0===L.star)){L.type="star",L.star=!0,L.value+=P,L.output=R,T.backtrack=!0,T.globstar=!0,D(P);continue}let t=F();if(!0!==n.noextglob&&/^\([^?]/.test(t)){H("star",P);continue}if("star"===L.type){if(!0===n.noglobstar){D(P);continue}const i=L.prev,s=i.prev,o="slash"===i.type||"bos"===i.type,a=s&&("star"===s.type||"globstar"===s.type);if(!0===n.bash&&(!o||t[0]&&"/"!==t[0])){z({type:"star",value:P,output:""});continue}const r=T.braces>0&&("comma"===i.type||"brace"===i.type),c=O.length&&("pipe"===i.type||"paren"===i.type);if(!o&&"paren"!==i.type&&!r&&!c){z({type:"star",value:P,output:""});continue}for(;"/**"===t.slice(0,3);){const n=e[T.index+4];if(n&&"/"!==n)break;t=t.slice(3),D("/**",3)}if("bos"===i.type&&j()){L.type="globstar",L.value+=P,L.output=E(n),T.output=L.output,T.globstar=!0,D(P);continue}if("slash"===i.type&&"bos"!==i.prev.type&&!a&&j()){T.output=T.output.slice(0,-(i.output+L.output).length),i.output=`(?:${i.output}`,L.type="globstar",L.output=E(n)+(n.strictSlashes?")":"|$)"),L.value+=P,T.globstar=!0,T.output+=i.output+L.output,D(P);continue}if("slash"===i.type&&"bos"!==i.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";T.output=T.output.slice(0,-(i.output+L.output).length),i.output=`(?:${i.output}`,L.type="globstar",L.output=`${E(n)}${m}|${m}${e})`,L.value+=P,T.output+=i.output+L.output,T.globstar=!0,D(P+N()),z({type:"slash",value:"/",output:""});continue}if("bos"===i.type&&"/"===t[0]){L.type="globstar",L.value+=P,L.output=`(?:^|${m}|${E(n)}${m})`,T.output=L.output,T.globstar=!0,D(P+N()),z({type:"slash",value:"/",output:""});continue}T.output=T.output.slice(0,-L.output.length),L.type="globstar",L.output=E(n),L.value+=P,T.output+=L.output,T.globstar=!0,D(P);continue}const i={type:"star",value:P,output:R};!0!==n.bash?!L||"bracket"!==L.type&&"paren"!==L.type||!0!==n.regex?(T.index!==T.start&&"slash"!==L.type&&"dot"!==L.type||("dot"===L.type?(T.output+=g,L.output+=g):!0===n.dot?(T.output+=v,L.output+=v):(T.output+=S,L.output+=S),"*"!==I()&&(T.output+=f,L.output+=f)),z(i)):(i.output=P,z(i)):(i.output=".*?","bos"!==L.type&&"slash"!==L.type||(i.output=S+i.output),z(i))}for(;T.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(yp("closing","]"));T.output=mp.escapeLast(T.output,"["),U("brackets")}for(;T.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(yp("closing",")"));T.output=mp.escapeLast(T.output,"("),U("parens")}for(;T.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(yp("closing","}"));T.output=mp.escapeLast(T.output,"{"),U("braces")}if(!0===n.strictSlashes||"star"!==L.type&&"bracket"!==L.type||z({type:"maybe_slash",value:"",output:`${m}?`}),!0===T.backtrack){T.output="";for(const e of T.tokens)T.output+=null!=e.output?e.output:e.value,e.suffix&&(T.output+=e.suffix)}return T};wp.fastpaths=(e,t)=>{const n={...t},i="number"==typeof n.maxLength?Math.min(fp,n.maxLength):fp,s=e.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);e=vp[e]||e;const o=mp.isWindows(t),{DOT_LITERAL:a,SLASH_LITERAL:r,ONE_CHAR:c,DOTS_SLASH:p,NO_DOT:l,NO_DOTS:u,NO_DOTS_SLASH:d,STAR:m,START_ANCHOR:f}=dp.globChars(o),h=n.dot?u:l,x=n.dot?d:l,g=n.capture?"":"?:";let v=!0===n.bash?".*?":m;n.capture&&(v=`(${v})`);const b=e=>!0===e.noglobstar?v:`(${g}(?:(?!${f}${e.dot?p:a}).)*?)`,y=e=>{switch(e){case"*":return`${h}${c}${v}`;case".*":return`${a}${c}${v}`;case"*.*":return`${h}${v}${a}${c}${v}`;case"*/*":return`${h}${v}${r}${c}${x}${v}`;case"**":return h+b(n);case"**/*":return`(?:${h}${b(n)}${r})?${x}${c}${v}`;case"**/*.*":return`(?:${h}${b(n)}${r})?${x}${v}${a}${c}${v}`;case"**/.*":return`(?:${h}${b(n)}${r})?${a}${c}${v}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=y(t[1]);if(!n)return;return n+a+t[2]}}},w=mp.removePrefix(e,{negated:!1,prefix:""});let _=y(w);return _&&!0!==n.strictSlashes&&(_+=`${r}?`),_};const _p=f,Ep=up,Sp=wp,kp=Ic,Rp=Wc,Tp=(e,t,n=!1)=>{if(Array.isArray(e)){const i=e.map((e=>Tp(e,t,n))),s=e=>{for(const t of i){const n=t(e);if(n)return n}return!1};return s}const i=(s=e)&&"object"==typeof s&&!Array.isArray(s)&&e.tokens&&e.input;var s;if(""===e||"string"!=typeof e&&!i)throw new TypeError("Expected pattern to be a non-empty string");const o=t||{},a=kp.isWindows(t),r=i?Tp.compileRe(e,t):Tp.makeRe(e,t,!1,!0),c=r.state;delete r.state;let p=()=>!1;if(o.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};p=Tp(o.ignore,e,n)}const l=(n,i=!1)=>{const{isMatch:s,match:l,output:u}=Tp.test(n,r,t,{glob:e,posix:a}),d={glob:e,state:c,regex:r,posix:a,input:n,output:u,match:l,isMatch:s};return"function"==typeof o.onResult&&o.onResult(d),!1===s?(d.isMatch=!1,!!i&&d):p(n)?("function"==typeof o.onIgnore&&o.onIgnore(d),d.isMatch=!1,!!i&&d):("function"==typeof o.onMatch&&o.onMatch(d),!i||d)};return n&&(l.state=c),l};Tp.test=(e,t,n,{glob:i,posix:s}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const o=n||{},a=o.format||(s?kp.toPosixSlashes:null);let r=e===i,c=r&&a?a(e):e;return!1===r&&(c=a?a(e):e,r=c===i),!1!==r&&!0!==o.capture||(r=!0===o.matchBase||!0===o.basename?Tp.matchBase(e,t,n,s):t.exec(c)),{isMatch:Boolean(r),match:r,output:c}},Tp.matchBase=(e,t,n,i=kp.isWindows(n))=>(t instanceof RegExp?t:Tp.makeRe(t,n)).test(_p.basename(e)),Tp.isMatch=(e,t,n)=>Tp(t,n)(e),Tp.parse=(e,t)=>Array.isArray(e)?e.map((e=>Tp.parse(e,t))):Sp(e,{...t,fastpaths:!1}),Tp.scan=(e,t)=>Ep(e,t),Tp.compileRe=(e,t,n=!1,i=!1)=>{if(!0===n)return e.output;const s=t||{},o=s.contains?"":"^",a=s.contains?"":"$";let r=`${o}(?:${e.output})${a}`;e&&!0===e.negated&&(r=`^(?!${r}).*$`);const c=Tp.toRegex(r,t);return!0===i&&(c.state=e),c},Tp.makeRe=(e,t={},n=!1,i=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let s={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(s.output=Sp.fastpaths(e,t)),s.output||(s=Sp(e,t)),Tp.compileRe(s,t,n,i)},Tp.toRegex=(e,t)=>{try{const n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},Tp.constants=Rp;var Op=Tp,Ap=jc.exports;Object.defineProperty(Ap,"__esModule",{value:!0});const Cp=Op,Pp=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var n=e.length;if(n<=1)return e;var i="";if(n>4&&"\\"===e[3]){var s=e[2];"?"!==s&&"."!==s||"\\\\"!==e.slice(0,2)||(e=e.slice(2),i="//")}var o=e.split(/[/\\]+/);return!1!==t&&""===o[o.length-1]&&o.pop(),i+o.join("/")},Lp={returnIndex:!1},jp=(e,t,n,i)=>{const s=Array.isArray(n),o=s?n[0]:n;if(!s&&"string"!=typeof o)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(o));const a=Pp(o,!1);for(let e=0;e<t.length;e++){if((0,t[e])(a))return!!i&&-1}const r=s&&[a].concat(n.slice(1));for(let t=0;t<e.length;t++){const n=e[t];if(s?n(...r):n(a))return!i||t}return!!i&&-1},Ip=(e,t,n=Lp)=>{if(null==e)throw new TypeError("anymatch: specify first argument");const i="boolean"==typeof n?{returnIndex:n}:n,s=i.returnIndex||!1,o=(a=e,Array.isArray(a)?a:[a]);var a;const r=o.filter((e=>"string"==typeof e&&"!"===e.charAt(0))).map((e=>e.slice(1))).map((e=>Cp(e,i))),c=o.filter((e=>"string"!=typeof e||"string"==typeof e&&"!"!==e.charAt(0))).map((e=>((e,t)=>{if("function"==typeof e)return e;if("string"==typeof e){const n=Cp(e,t);return t=>e===t||n(t)}return e instanceof RegExp?t=>e.test(t):e=>!1})(e,i)));return null==t?(e,t=!1)=>jp(c,r,e,"boolean"==typeof t&&t):jp(c,r,t,s)};Ip.default=Ip,jc.exports=Ip;var Np=ye(jc.exports);const Fp=l.PassThrough,Dp=Array.prototype.slice;var Mp=function(){const e=[],t=Dp.call(arguments);let n=!1,i=t[t.length-1];i&&!Array.isArray(i)&&null==i.pipe?t.pop():i={};const s=!1!==i.end,o=!0===i.pipeError;null==i.objectMode&&(i.objectMode=!0);null==i.highWaterMark&&(i.highWaterMark=65536);const a=Fp(i);function r(){for(let t=0,n=arguments.length;t<n;t++)e.push($p(arguments[t],i));return c(),this}function c(){if(n)return;n=!0;let t=e.shift();if(!t)return void process.nextTick(p);Array.isArray(t)||(t=[t]);let i=t.length+1;function s(){--i>0||(n=!1,c())}function r(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),o&&e.removeListener("error",n),s()}function n(e){a.emit("error",e)}if(e._readableState.endEmitted)return s();e.on("merge2UnpipeEnd",t),e.on("end",t),o&&e.on("error",n),e.pipe(a,{end:!1}),e.resume()}for(let e=0;e<t.length;e++)r(t[e]);s()}function p(){n=!1,a.emit("queueDrain"),s&&a.end()}a.setMaxListeners(0),a.add=r,a.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")})),t.length&&r.apply(null,t);return a};function $p(e,t){if(Array.isArray(e))for(let n=0,i=e.length;n<i;n++)e[n]=$p(e[n],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(Fp(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}var Bp=ye(Mp),Up={},zp={},Hp={};Object.defineProperty(Hp,"__esModule",{value:!0}),Hp.splitWhen=Hp.flatten=void 0,Hp.flatten=function(e){return e.reduce(((e,t)=>[].concat(e,t)),[])},Hp.splitWhen=function(e,t){const n=[[]];let i=0;for(const s of e)t(s)?(i++,n[i]=[]):n[i].push(s);return n};var Gp={};Object.defineProperty(Gp,"__esModule",{value:!0}),Gp.isEnoentCodeError=void 0,Gp.isEnoentCodeError=function(e){return"ENOENT"===e.code};var qp={};Object.defineProperty(qp,"__esModule",{value:!0}),qp.createDirentFromStats=void 0;let Wp=class{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}};qp.createDirentFromStats=function(e,t){return new Wp(e,t)};var Kp={};Object.defineProperty(Kp,"__esModule",{value:!0}),Kp.convertPosixPathToPattern=Kp.convertWindowsPathToPattern=Kp.convertPathToPattern=Kp.escapePosixPath=Kp.escapeWindowsPath=Kp.escape=Kp.removeLeadingDotSegment=Kp.makeAbsolute=Kp.unixify=void 0;const Vp=f,Yp="win32"===h.platform(),Qp=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,Xp=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,Jp=/^\\\\([.?])/,Zp=/\\(?![!()+@[\]{}])/g;function el(e){return e.replace(Xp,"\\$2")}function tl(e){return e.replace(Qp,"\\$2")}function nl(e){return el(e).replace(Jp,"//$1").replace(Zp,"/")}function il(e){return tl(e)}Kp.unixify=function(e){return e.replace(/\\/g,"/")},Kp.makeAbsolute=function(e,t){return Vp.resolve(e,t)},Kp.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e},Kp.escape=Yp?el:tl,Kp.escapeWindowsPath=el,Kp.escapePosixPath=tl,Kp.convertPathToPattern=Yp?nl:il,Kp.convertWindowsPathToPattern=nl,Kp.convertPosixPathToPattern=il;var sl,ol={},al=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1},rl={"{":"}","(":")","[":"]"},cl=function(e){if("!"===e[0])return!0;for(var t=0,n=-2,i=-2,s=-2,o=-2,a=-2;t<e.length;){if("*"===e[t])return!0;if("?"===e[t+1]&&/[\].+)]/.test(e[t]))return!0;if(-1!==i&&"["===e[t]&&"]"!==e[t+1]&&(i<t&&(i=e.indexOf("]",t)),i>t)){if(-1===a||a>i)return!0;if(-1===(a=e.indexOf("\\",t))||a>i)return!0}if(-1!==s&&"{"===e[t]&&"}"!==e[t+1]&&(s=e.indexOf("}",t))>t&&(-1===(a=e.indexOf("\\",t))||a>s))return!0;if(-1!==o&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(o=e.indexOf(")",t))>t&&(-1===(a=e.indexOf("\\",t))||a>o))return!0;if(-1!==n&&"("===e[t]&&"|"!==e[t+1]&&(n<t&&(n=e.indexOf("|",t)),-1!==n&&")"!==e[n+1]&&(o=e.indexOf(")",n))>n&&(-1===(a=e.indexOf("\\",n))||a>o)))return!0;if("\\"===e[t]){var r=e[t+1];t+=2;var c=rl[r];if(c){var p=e.indexOf(c,t);-1!==p&&(t=p+1)}if("!"===e[t])return!0}else t++}return!1},pl=function(e){if("!"===e[0])return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if("\\"===e[t]){var n=e[t+1];t+=2;var i=rl[n];if(i){var s=e.indexOf(i,t);-1!==s&&(t=s+1)}if("!"===e[t])return!0}else t++}return!1},ll=function(e,t){if("string"!=typeof e||""===e)return!1;if(al(e))return!0;var n=cl;return t&&!1===t.strict&&(n=pl),n(e)},ul=f.posix.dirname,dl="win32"===h.platform(),ml=/\\/g,fl=/[\{\[].*[\}\]]$/,hl=/(^|[^\\])([\{\[]|\([^\)]+$)/,xl=/\\([\!\*\?\|\[\]\(\)\{\}])/g,gl={};
|
|
8
|
+
!function(e){var t,n,i,o=Eo,r=m.extname,s=/^\s*([^;\s]*)(?:;|\s|$)/,a=/^text\//i;function c(e){if(!e||"string"!=typeof e)return!1;var t=s.exec(e),n=t&&o[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!a.test(t[1]))&&"UTF-8"}e.charset=c,e.charsets={lookup:c},e.contentType=function(t){if(!t||"string"!=typeof t)return!1;var n=-1===t.indexOf("/")?e.lookup(t):t;if(!n)return!1;if(-1===n.indexOf("charset")){var i=e.charset(n);i&&(n+="; charset="+i.toLowerCase())}return n},e.extension=function(t){if(!t||"string"!=typeof t)return!1;var n=s.exec(t),i=n&&e.extensions[n[1].toLowerCase()];if(!i||!i.length)return!1;return i[0]},e.extensions=Object.create(null),e.lookup=function(t){if(!t||"string"!=typeof t)return!1;var n=r("x."+t).toLowerCase().substr(1);if(!n)return!1;return e.types[n]||!1},e.types=Object.create(null),t=e.extensions,n=e.types,i=["nginx","apache",void 0,"iana"],Object.keys(o).forEach((function(e){var r=o[e],s=r.extensions;if(s&&s.length){t[e]=s;for(var a=0;a<s.length;a++){var c=s[a];if(n[c]){var l=i.indexOf(o[n[c]].source),p=i.indexOf(r.source);if("application/octet-stream"!==n[c]&&(l>p||l===p&&"application/"===n[c].substr(0,12)))continue}n[c]=e}}}))}(wo);var So=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)};var ko=So,Ro=function(e){var t=!1;return ko((function(){t=!0})),function(n,i){t?e(n,i):ko((function(){e(n,i)}))}};var To=function(e){Object.keys(e.jobs).forEach(Oo.bind(e)),e.jobs={}};function Oo(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var Ao=Ro,Co=To,jo=function(e,t,n,i){var o=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[o]=function(e,t,n,i){var o;o=2==e.length?e(n,Ao(i)):e(n,t,Ao(i));return o}(t,o,e[o],(function(e,t){o in n.jobs&&(delete n.jobs[o],e?Co(n):n.results[o]=t,i(e,n.results))}))};var Po=function(e,t){var n=!Array.isArray(e),i={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};t&&i.keyedList.sort(n?t:function(n,i){return t(e[n],e[i])});return i};var Lo=To,Io=Ro,No=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,Lo(this),Io(e)(null,this.results)};var Fo=jo,Do=Po,$o=No,Mo=function(e,t,n){var i=Do(e);for(;i.index<(i.keyedList||e).length;)Fo(e,t,i,(function(e,t){e?n(e,t):0!==Object.keys(i.jobs).length||n(null,i.results)})),i.index++;return $o.bind(i,n)};var Bo={exports:{}},Uo=jo,zo=Po,Ho=No;function Go(e,t){return e<t?-1:e>t?1:0}Bo.exports=function(e,t,n,i){var o=zo(e,n);return Uo(e,t,o,(function n(r,s){r?i(r,s):(o.index++,o.index<(o.keyedList||e).length?Uo(e,t,o,n):i(null,o.results))})),Ho.bind(o,i)},Bo.exports.ascending=Go,Bo.exports.descending=function(e,t){return-1*Go(e,t)};var qo=Bo.exports,Wo=qo,Ko=function(e,t,n){return Wo(e,t,null,n)};var Vo={parallel:Mo,serial:Ko,serialOrdered:qo},Yo=yo,Qo=d,Zo=m,Jo=g,Xo=x,er=v.parse,tr=c,nr=p.Stream,ir=wo,or=Vo,rr=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e},sr=ar;function ar(e){if(!(this instanceof ar))return new ar(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Yo.call(this),e=e||{})this[t]=e[t]}Qo.inherits(ar,Yo),ar.LINE_BREAK="\r\n",ar.DEFAULT_CONTENT_TYPE="application/octet-stream",ar.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=Yo.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),Qo.isArray(t))this._error(new Error("Arrays are not supported."));else{var o=this._multiPartHeader(e,t,n),r=this._multiPartFooter();i(o),i(t),i(r),this._trackLength(o,t,n)}},ar.prototype._trackLength=function(e,t,n){var i=0;null!=n.knownLength?i+=+n.knownLength:Buffer.isBuffer(t)?i=t.length:"string"==typeof t&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+ar.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof nr)&&(n.knownLength||this._valuesToMeasure.push(t))},ar.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):tr.stat(e.path,(function(n,i){var o;n?t(n):(o=i.size-(e.start?e.start:0),t(null,o))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},ar.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var i,o=this._getContentDisposition(t,n),r=this._getContentType(t,n),s="",a={"Content-Disposition":["form-data",'name="'+e+'"'].concat(o||[]),"Content-Type":[].concat(r||[])};for(var c in"object"==typeof n.header&&rr(a,n.header),a)a.hasOwnProperty(c)&&null!=(i=a[c])&&(Array.isArray(i)||(i=[i]),i.length&&(s+=c+": "+i.join("; ")+ar.LINE_BREAK));return"--"+this.getBoundary()+ar.LINE_BREAK+s+ar.LINE_BREAK},ar.prototype._getContentDisposition=function(e,t){var n,i;return"string"==typeof t.filepath?n=Zo.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=Zo.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=Zo.basename(e.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i},ar.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=ir.lookup(e.name)),!n&&e.path&&(n=ir.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=ir.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=ar.DEFAULT_CONTENT_TYPE),n},ar.prototype._multiPartFooter=function(){return function(e){var t=ar.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},ar.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ar.LINE_BREAK},ar.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},ar.prototype.setBoundary=function(e){this._boundary=e},ar.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},ar.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(ar.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},ar.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},ar.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},ar.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},ar.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?or.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,i){n?e(n):(i.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},ar.prototype.submit=function(e,t){var n,i,o={method:"post"};return"string"==typeof e?(e=er(e),i=rr({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},o)):(i=rr(e,o)).port||(i.port="https:"==i.protocol?443:80),i.headers=this.getHeaders(e.headers),n="https:"==i.protocol?Xo.request(i):Jo.request(i),this.getLength(function(e,i){if(e&&"Unknown stream"!==e)this._error(e);else if(i&&n.setHeader("Content-Length",i),this.pipe(n),t){var o,r=function(e,i){return n.removeListener("error",r),n.removeListener("response",o),t.call(this,e,i)};o=r.bind(this,null),n.on("error",r),n.on("response",o)}}.bind(this)),n},ar.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},ar.prototype.toString=function(){return"[object FormData]"};var cr=ye(sr);function lr(e){return lo.isPlainObject(e)||lo.isArray(e)}function pr(e){return lo.endsWith(e,"[]")?e.slice(0,-2):e}function ur(e,t,n){return e?e.concat(t).map((function(e,t){return e=pr(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const dr=lo.toFlatObject(lo,{},null,(function(e){return/^is[A-Z]/.test(e)}));function fr(e,t,n){if(!lo.isObject(e))throw new TypeError("target must be an object");t=t||new(cr||FormData);const i=(n=lo.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!lo.isUndefined(t[e])}))).metaTokens,o=n.visitor||l,r=n.dots,s=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&lo.isSpecCompliantForm(t);if(!lo.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(lo.isDate(e))return e.toISOString();if(!a&&lo.isBlob(e))throw new po("Blob is not supported. Use a Buffer instead.");return lo.isArrayBuffer(e)||lo.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,n,o){let a=e;if(e&&!o&&"object"==typeof e)if(lo.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(lo.isArray(e)&&function(e){return lo.isArray(e)&&!e.some(lr)}(e)||(lo.isFileList(e)||lo.endsWith(n,"[]"))&&(a=lo.toArray(e)))return n=pr(n),a.forEach((function(e,i){!lo.isUndefined(e)&&null!==e&&t.append(!0===s?ur([n],i,r):null===s?n:n+"[]",c(e))})),!1;return!!lr(e)||(t.append(ur(o,n,r),c(e)),!1)}const p=[],u=Object.assign(dr,{defaultVisitor:l,convertValue:c,isVisitable:lr});if(!lo.isObject(e))throw new TypeError("data must be an object");return function e(n,i){if(!lo.isUndefined(n)){if(-1!==p.indexOf(n))throw Error("Circular reference detected in "+i.join("."));p.push(n),lo.forEach(n,(function(n,r){!0===(!(lo.isUndefined(n)||null===n)&&o.call(t,n,lo.isString(r)?r.trim():r,i,u))&&e(n,i?i.concat(r):[r])})),p.pop()}}(e),t}function mr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function hr(e,t){this._pairs=[],e&&fr(e,this,t)}const gr=hr.prototype;function xr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vr(e,t,n){if(!t)return e;const i=n&&n.encode||xr;lo.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let r;if(r=o?o(t,n):lo.isURLSearchParams(t)?t.toString():new hr(t,n).toString(i),r){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}gr.append=function(e,t){this._pairs.push([e,t])},gr.toString=function(e){const t=e?function(t){return e.call(this,t,mr)}:mr;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class br{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){lo.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var yr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},_r=v.URLSearchParams;const wr="abcdefghijklmnopqrstuvwxyz",Er="0123456789",Sr={DIGIT:Er,ALPHA:wr,ALPHA_DIGIT:wr+wr.toUpperCase()+Er};var kr={isNode:!0,classes:{URLSearchParams:_r,FormData:cr,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:Sr,generateString:(e=16,t=Sr.ALPHA_DIGIT)=>{let n="";const{length:i}=t,o=new Uint32Array(e);b.randomFillSync(o);for(let r=0;r<e;r++)n+=t[o[r]%i];return n},protocols:["http","https","file","data"]};const Rr="undefined"!=typeof window&&"undefined"!=typeof document,Tr="object"==typeof navigator&&navigator||void 0,Or=Rr&&(!Tr||["ReactNative","NativeScript","NS"].indexOf(Tr.product)<0),Ar="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Cr=Rr&&window.location.href||"http://localhost";var jr={...Object.freeze({__proto__:null,hasBrowserEnv:Rr,hasStandardBrowserEnv:Or,hasStandardBrowserWebWorkerEnv:Ar,navigator:Tr,origin:Cr}),...kr};function Pr(e){function t(e,n,i,o){let r=e[o++];if("__proto__"===r)return!0;const s=Number.isFinite(+r),a=o>=e.length;if(r=!r&&lo.isArray(i)?i.length:r,a)return lo.hasOwnProp(i,r)?i[r]=[i[r],n]:i[r]=n,!s;i[r]&&lo.isObject(i[r])||(i[r]=[]);return t(e,n,i[r],o)&&lo.isArray(i[r])&&(i[r]=function(e){const t={},n=Object.keys(e);let i;const o=n.length;let r;for(i=0;i<o;i++)r=n[i],t[r]=e[r];return t}(i[r])),!s}if(lo.isFormData(e)&&lo.isFunction(e.entries)){const n={};return lo.forEachEntry(e,((e,i)=>{t(function(e){return lo.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),i,n,0)})),n}return null}const Lr={transitional:yr,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,o=lo.isObject(e);o&&lo.isHTMLForm(e)&&(e=new FormData(e));if(lo.isFormData(e))return i?JSON.stringify(Pr(e)):e;if(lo.isArrayBuffer(e)||lo.isBuffer(e)||lo.isStream(e)||lo.isFile(e)||lo.isBlob(e)||lo.isReadableStream(e))return e;if(lo.isArrayBufferView(e))return e.buffer;if(lo.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let r;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return fr(e,new jr.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,i){return jr.isNode&&lo.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((r=lo.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return fr(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e,t,n){if(lo.isString(e))try{return(t||JSON.parse)(e),lo.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Lr.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(lo.isResponse(e)||lo.isReadableStream(e))return e;if(e&&lo.isString(e)&&(n&&!this.responseType||i)){const n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw po.from(e,po.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:jr.classes.FormData,Blob:jr.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};lo.forEach(["delete","get","head","post","put","patch"],(e=>{Lr.headers[e]={}}));var Ir=Lr;const Nr=lo.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"]);const Fr=Symbol("internals");function Dr(e){return e&&String(e).trim().toLowerCase()}function $r(e){return!1===e||null==e?e:lo.isArray(e)?e.map($r):String(e)}function Mr(e,t,n,i,o){return lo.isFunction(i)?i.call(this,t,n):(o&&(t=n),lo.isString(t)?lo.isString(i)?-1!==t.indexOf(i):lo.isRegExp(i)?i.test(t):void 0:void 0)}class Br{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function o(e,t,n){const o=Dr(t);if(!o)throw new Error("header name must be a non-empty string");const r=lo.findKey(i,o);(!r||void 0===i[r]||!0===n||void 0===n&&!1!==i[r])&&(i[r||t]=$r(e))}const r=(e,t)=>lo.forEach(e,((e,n)=>o(e,n,t)));if(lo.isPlainObject(e)||e instanceof this.constructor)r(e,t);else if(lo.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))r((e=>{const t={};let n,i,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),i=e.substring(o+1).trim(),!n||t[n]&&Nr[n]||("set-cookie"===n?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)})),t})(e),t);else if(lo.isObject(e)&&lo.isIterable(e)){let n,i,o={};for(const t of e){if(!lo.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[i=t[0]]=(n=o[i])?lo.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}r(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=Dr(e)){const n=lo.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}(e);if(lo.isFunction(t))return t.call(this,e,n);if(lo.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Dr(e)){const n=lo.findKey(this,e);return!(!n||void 0===this[n]||t&&!Mr(0,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function o(e){if(e=Dr(e)){const o=lo.findKey(n,e);!o||t&&!Mr(0,n[o],o,t)||(delete n[o],i=!0)}}return lo.isArray(e)?e.forEach(o):o(e),i}clear(e){const t=Object.keys(this);let n=t.length,i=!1;for(;n--;){const o=t[n];e&&!Mr(0,this[o],o,e,!0)||(delete this[o],i=!0)}return i}normalize(e){const t=this,n={};return lo.forEach(this,((i,o)=>{const r=lo.findKey(n,o);if(r)return t[r]=$r(i),void delete t[o];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();s!==o&&delete t[o],t[s]=$r(i),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return lo.forEach(this,((n,i)=>{null!=n&&!1!==n&&(t[i]=e&&lo.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Fr]=this[Fr]={accessors:{}}).accessors,n=this.prototype;function i(e){const i=Dr(e);t[i]||(!function(e,t){const n=lo.toCamelCase(" "+t);["get","set","has"].forEach((i=>{Object.defineProperty(e,i+n,{value:function(e,n,o){return this[i].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[i]=!0)}return lo.isArray(e)?e.forEach(i):i(e),this}}Br.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),lo.reduceDescriptors(Br.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),lo.freezeMethods(Br);var Ur=Br;function zr(e,t){const n=this||Ir,i=t||n,o=Ur.from(i.headers);let r=i.data;return lo.forEach(e,(function(e){r=e.call(n,r,o.normalize(),t?t.status:void 0)})),o.normalize(),r}function Hr(e){return!(!e||!e.__CANCEL__)}function Gr(e,t,n){po.call(this,null==e?"canceled":e,po.ERR_CANCELED,t,n),this.name="CanceledError"}function qr(e,t,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new po("Request failed with status code "+n.status,[po.ERR_BAD_REQUEST,po.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Wr(e,t,n){let i=!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t);return e&&(i||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}lo.inherits(Gr,po,{__CANCEL__:!0});var Kr={},Vr=v.parse,Yr={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},Qr=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function Zr(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}Kr.getProxyForUrl=function(e){var t="string"==typeof e?Vr(e):e||{},n=t.protocol,i=t.host,o=t.port;if("string"!=typeof i||!i||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(Zr("npm_config_no_proxy")||Zr("no_proxy")).toLowerCase();if(!n)return!0;if("*"===n)return!1;return n.split(/[,\s]/).every((function(n){if(!n)return!0;var i=n.match(/^(.+):(\d+)$/),o=i?i[1]:n,r=i?parseInt(i[2]):0;return!(!r||r===t)||(/^[.*]/.test(o)?("*"===o.charAt(0)&&(o=o.slice(1)),!Qr.call(e,o)):e!==o)}))}(i=i.replace(/:\d*$/,""),o=parseInt(o)||Yr[n]||0))return"";var r=Zr("npm_config_"+n+"_proxy")||Zr(n+"_proxy")||Zr("npm_config_proxy")||Zr("all_proxy");return r&&-1===r.indexOf("://")&&(r=n+"://"+r),r};var Jr,Xr,es,ts,ns,is={exports:{}},os={exports:{}},rs={exports:{}};function ss(){if(Xr)return Jr;Xr=1;var e=1e3,t=60*e,n=60*t,i=24*n,o=7*i,r=365.25*i;function s(e,t,n,i){var o=t>=1.5*n;return Math.round(e/n)+" "+i+(o?"s":"")}return Jr=function(a,c){c=c||{};var l=typeof a;if("string"===l&&a.length>0)return function(s){if((s=String(s)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(s);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*r;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;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}}(a);if("number"===l&&isFinite(a))return c.long?function(o){var r=Math.abs(o);if(r>=i)return s(o,r,i,"day");if(r>=n)return s(o,r,n,"hour");if(r>=t)return s(o,r,t,"minute");if(r>=e)return s(o,r,e,"second");return o+" ms"}(a):function(o){var r=Math.abs(o);if(r>=i)return Math.round(o/i)+"d";if(r>=n)return Math.round(o/n)+"h";if(r>=t)return Math.round(o/t)+"m";if(r>=e)return Math.round(o/e)+"s";return o+"ms"}(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))}}function as(){if(ts)return es;return ts=1,es=function(e){function t(e){let i,o,r,s=null;function a(...e){if(!a.enabled)return;const n=a,o=Number(new Date),r=o-(i||o);n.diff=r,n.prev=i,n.curr=o,i=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((i,o)=>{if("%%"===i)return"%";s++;const r=t.formatters[o];if("function"==typeof r){const t=e[s];i=r.call(n,t),e.splice(s,1),s--}return i})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==t.namespaces&&(o=t.namespaces,r=t.enabled(e)),r),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,n){const i=t(this.namespace+(void 0===n?":":n)+e);return i.log=this.log,i}function i(e,t){let n=0,i=0,o=-1,r=0;for(;n<e.length;)if(i<t.length&&(t[i]===e[n]||"*"===t[i]))"*"===t[i]?(o=i,r=n,i++):(n++,i++);else{if(-1===o)return!1;i=o+1,r++,n=r}for(;i<t.length&&"*"===t[i];)i++;return i===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(i(e,n))return!1;for(const n of t.names)if(i(e,n))return!0;return!1},t.humanize=ss(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t},es}var cs,ls,ps,us,ds,fs,ms,hs={exports:{}};function gs(){return ls?cs:(ls=1,cs=(e,t)=>{t=t||process.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(n+e),o=t.indexOf("--");return-1!==i&&(-1===o||i<o)})}function xs(){if(us)return ps;us=1;const e=h,t=gs(),n=process.env;let i;function o(o){const r=function(o){if(!1===i)return 0;if(t("color=16m")||t("color=full")||t("color=truecolor"))return 3;if(t("color=256"))return 2;if(o&&!o.isTTY&&!0!==i)return 0;const r=i?1:0;if("win32"===process.platform){const t=e.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in n)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in n))||"codeship"===n.CI_NAME?1:r;if("TEAMCITY_VERSION"in n)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(n.TEAMCITY_VERSION)?1:0;if("truecolor"===n.COLORTERM)return 3;if("TERM_PROGRAM"in n){const e=parseInt((n.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(n.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(n.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(n.TERM)||"COLORTERM"in n?1:(n.TERM,r)}(o);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(r)}return t("no-color")||t("no-colors")||t("color=false")?i=!1:(t("color")||t("colors")||t("color=true")||t("color=always"))&&(i=!0),"FORCE_COLOR"in n&&(i=0===n.FORCE_COLOR.length||0!==parseInt(n.FORCE_COLOR,10)),ps={supportsColor:o,stdout:o(process.stdout),stderr:o(process.stderr)}}function vs(){return ds||(ds=1,function(e,t){const n=y,i=d;t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let i=0;i<n.length;i++)e.inspectOpts[n[i]]=t.inspectOpts[n[i]]},t.log=function(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(n){const{namespace:i,useColors:o}=this;if(o){const t=this.color,o="[3"+(t<8?t:"8;5;"+t),r=` ${o};1m${i} [0m`;n[0]=r+n[0].split("\n").join("\n"+r),n.push(o+"m+"+e.exports.humanize(this.diff)+"[0m")}else n[0]=function(){if(t.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+i+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)},t.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=xs();e&&(e.stderr||e).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(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[n]=i,e}),{}),e.exports=as()(t);const{formatters:o}=e.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}}(hs,hs.exports)),hs.exports}function bs(){return fs||(fs=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?os.exports=(ns||(ns=1,function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(i++,"%c"===e&&(o=i))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!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"],t.log=console.debug||console.log||(()=>{}),e.exports=as()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(rs,rs.exports)),rs.exports):os.exports=vs()),os.exports}var ys,_s,ws,Es=v,Ss=Es.URL,ks=g,Rs=x,Ts=p.Writable,Os=f,As=function(){if(!ms){try{ms=bs()("follow-redirects")}catch(e){}"function"!=typeof ms&&(ms=function(){})}ms.apply(null,arguments)};ys="undefined"!=typeof process,_s="undefined"!=typeof window&&"undefined"!=typeof document,ws=Qs(Error.captureStackTrace),ys||!_s&&ws||console.warn("The follow-redirects package should be excluded from browser builds.");var Cs=!1;try{Os(new Ss(""))}catch(Sm){Cs="ERR_INVALID_URL"===Sm.code}var js=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Ps=["abort","aborted","connect","error","socket","timeout"],Ls=Object.create(null);Ps.forEach((function(e){Ls[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}}));var Is=Ks("ERR_INVALID_URL","Invalid URL",TypeError),Ns=Ks("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Fs=Ks("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Ns),Ds=Ks("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),$s=Ks("ERR_STREAM_WRITE_AFTER_END","write after end"),Ms=Ts.prototype.destroy||zs;function Bs(e,t){Ts.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof Ns?e:new Ns({cause:e}))}},this._performRequest()}function Us(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(i){var o=i+":",r=n[o]=e[i],s=t[i]=Object.create(r);Object.defineProperties(s,{request:{value:function(e,i,r){var s;return s=e,Ss&&s instanceof Ss?e=qs(e):Ys(e)?e=qs(Hs(e)):(r=i,i=Gs(e),e={protocol:o}),Qs(i)&&(r=i,i=null),(i=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,i)).nativeProtocols=n,Ys(i.host)||Ys(i.hostname)||(i.hostname="::1"),Os.equal(i.protocol,o,"protocol mismatch"),As("options",i),new Bs(i,r)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var i=s.request(e,t,n);return i.end(),i},configurable:!0,enumerable:!0,writable:!0}})})),t}function zs(){}function Hs(e){var t;if(Cs)t=new Ss(e);else if(!Ys((t=Gs(Es.parse(e))).protocol))throw new Is({input:e});return t}function Gs(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Is({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Is({input:e.href||e});return e}function qs(e,t){var n=t||{};for(var i of js)n[i]=e[i];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function Ws(e,t){var n;for(var i in t)e.test(i)&&(n=t[i],delete t[i]);return null==n?void 0:String(n).trim()}function Ks(e,t,n){function i(n){Qs(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(n||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function Vs(e,t){for(var n of Ps)e.removeListener(n,Ls[n]);e.on("error",zs),e.destroy(t)}function Ys(e){return"string"==typeof e||e instanceof String}function Qs(e){return"function"==typeof e}Bs.prototype=Object.create(Ts.prototype),Bs.prototype.abort=function(){Vs(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},Bs.prototype.destroy=function(e){return Vs(this._currentRequest,e),Ms.call(this,e),this},Bs.prototype.write=function(e,t,n){if(this._ending)throw new $s;if(!Ys(e)&&("object"!=typeof(i=e)||!("length"in i)))throw new TypeError("data should be a string, Buffer or Uint8Array");var i;Qs(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new Ds),this.abort()):n&&n()},Bs.prototype.end=function(e,t,n){if(Qs(e)?(n=e,e=t=null):Qs(t)&&(n=t,t=null),e){var i=this,o=this._currentRequest;this.write(e,t,(function(){i._ended=!0,o.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},Bs.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},Bs.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},Bs.prototype.setTimeout=function(e,t){var n=this;function i(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function o(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),r()}),e),i(t)}function r(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",r),n.removeListener("error",r),n.removeListener("response",r),n.removeListener("close",r),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",o)}return t&&this.on("timeout",t),this.socket?o(this.socket):this._currentRequest.once("socket",o),this.on("socket",i),this.on("abort",r),this.on("error",r),this.on("response",r),this.on("close",r),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){Bs.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(Bs.prototype,e,{get:function(){return this._currentRequest[e]}})})),Bs.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},Bs.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var o of(i._redirectable=this,Ps))i.on(o,Ls[o]);if(this._currentUrl=/^\//.test(this._options.path)?Es.format(this._options):this._options.path,this._isRedirect){var r=0,s=this,a=this._requestBodyBuffers;!function e(t){if(i===s._currentRequest)if(t)s.emit("error",t);else if(r<a.length){var n=a[r++];i.finished||i.write(n.data,n.encoding,e)}else s._ended&&i.end()}()}},Bs.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n,i=e.headers.location;if(!i||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(Vs(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Fs;var o=this._options.beforeRedirect;o&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var r=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Ws(/^content-/i,this._options.headers));var s,a,c=Ws(/^host$/i,this._options.headers),l=Hs(this._currentUrl),p=c||l.host,u=/^\w+:/.test(i)?this._currentUrl:Es.format(Object.assign(l,{host:p})),d=(s=i,a=u,Cs?new Ss(s,a):Hs(Es.resolve(a,s)));if(As("redirecting to",d.href),this._isRedirect=!0,qs(d,this._options),(d.protocol!==l.protocol&&"https:"!==d.protocol||d.host!==p&&!function(e,t){Os(Ys(e)&&Ys(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(d.host,p))&&Ws(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),Qs(o)){var f={headers:e.headers,statusCode:t},m={url:u,method:r,headers:n};o(this._options,f,m),this._sanitizeOptions(this._options)}this._performRequest()},is.exports=Us({http:ks,https:Rs}),is.exports.wrap=Us;var Zs=ye(is.exports);const Js="1.9.0";function Xs(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const ea=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;const ta=Symbol("internals");class na extends p.Transform{constructor(e){super({readableHighWaterMark:(e=lo.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!lo.isUndefined(t[e])))).chunkSize});const t=this[ta]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))}))}_read(e){const t=this[ta];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const i=this[ta],o=i.maxRate,r=this.readableHighWaterMark,s=i.timeWindow,a=o/(1e3/s),c=!1!==i.minChunkSize?Math.max(i.minChunkSize,.01*a):0,l=(e,t)=>{const n=Buffer.byteLength(e);i.bytesSeen+=n,i.bytes+=n,i.isCaptured&&this.emit("progress",i.bytesSeen),this.push(e)?process.nextTick(t):i.onReadCallback=()=>{i.onReadCallback=null,process.nextTick(t)}},p=(e,t)=>{const n=Buffer.byteLength(e);let p,u=null,d=r,f=0;if(o){const e=Date.now();(!i.ts||(f=e-i.ts)>=s)&&(i.ts=e,p=a-i.bytes,i.bytes=p<0?-p:0,f=0),p=a-i.bytes}if(o){if(p<=0)return setTimeout((()=>{t(null,e)}),s-f);p<d&&(d=p)}d&&n>d&&n-d>c&&(u=e.subarray(d),e=e.subarray(0,d)),l(e,u?()=>{process.nextTick(t,null,u)}:t)};p(e,(function e(t,i){if(t)return n(t);i?p(i,e):n(null)}))}}var ia=na;const{asyncIterator:oa}=Symbol,ra=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[oa]?yield*e[oa]():yield e},sa=jr.ALPHABET.ALPHA_DIGIT+"-_",aa="function"==typeof TextEncoder?new TextEncoder:new d.TextEncoder,ca="\r\n",la=aa.encode(ca);class pa{constructor(e,t){const{escapeName:n}=this.constructor,i=lo.isString(t);let o=`Content-Disposition: form-data; name="${n(e)}"${!i&&t.name?`; filename="${n(t.name)}"`:""}${ca}`;i?t=aa.encode(String(t).replace(/\r?\n|\r\n?/g,ca)):o+=`Content-Type: ${t.type||"application/octet-stream"}${ca}`,this.headers=aa.encode(o+ca),this.contentLength=i?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;lo.isTypedArray(e)?yield e:yield*ra(e),yield la}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class ua extends p.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}const da=(e,t)=>lo.isAsyncFn(e)?function(...n){const i=n.pop();e.apply(this,n).then((e=>{try{t?i(null,...t(e)):i(null,e)}catch(e){i(e)}}),i)}:e;const fa=(e,t,n=3)=>{let i=0;const o=function(e,t){e=e||10;const n=new Array(e),i=new Array(e);let o,r=0,s=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),l=i[s];o||(o=c),n[r]=a,i[r]=c;let p=s,u=0;for(;p!==r;)u+=n[p++],p%=e;if(r=(r+1)%e,r===s&&(s=(s+1)%e),c-o<t)return;const d=l&&c-l;return d?Math.round(1e3*u/d):void 0}}(50,250);return function(e,t){let n,i,o=0,r=1e3/t;const s=(t,r=Date.now())=>{o=r,n=null,i&&(clearTimeout(i),i=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=r?s(e,t):(n=e,i||(i=setTimeout((()=>{i=null,s(n)}),r-a)))},()=>n&&s(n)]}((n=>{const r=n.loaded,s=n.lengthComputable?n.total:void 0,a=r-i,c=o(a);i=r;e({loaded:r,total:s,progress:s?r/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&r<=s?(s-r)/c:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),n)},ma=(e,t)=>{const n=null!=e;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},ha=e=>(...t)=>lo.asap((()=>e(...t))),ga={flush:_.constants.Z_SYNC_FLUSH,finishFlush:_.constants.Z_SYNC_FLUSH},xa={flush:_.constants.BROTLI_OPERATION_FLUSH,finishFlush:_.constants.BROTLI_OPERATION_FLUSH},va=lo.isFunction(_.createBrotliDecompress),{http:ba,https:ya}=Zs,_a=/https:?/,wa=jr.protocols.map((e=>e+":")),Ea=(e,[t,n])=>(e.on("end",n).on("error",n),t);function Sa(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function ka(e,t,n){let i=t;if(!i&&!1!==i){const e=Kr.getProxyForUrl(n);e&&(i=new URL(e))}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){(i.auth.username||i.auth.password)&&(i.auth=(i.auth.username||"")+":"+(i.auth.password||""));const t=Buffer.from(i.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=i.hostname||i.host;e.hostname=t,e.host=t,e.port=i.port,e.path=n,i.protocol&&(e.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`)}e.beforeRedirects.proxy=function(e){ka(e,t,e.href)}}const Ra="undefined"!=typeof process&&"process"===lo.kindOf(process),Ta=(e,t)=>(({address:e,family:t})=>{if(!lo.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(lo.isObject(e)?e:{address:e,family:t});var Oa=Ra&&function(e){return t=async function(t,n,i){let{data:o,lookup:r,family:s}=e;const{responseType:a,responseEncoding:c}=e,l=e.method.toUpperCase();let f,m,h=!1;if(r){const e=da(r,(e=>lo.isArray(e)?e:[e]));r=(t,n,i)=>{e(t,n,((e,t,o)=>{if(e)return i(e);const r=lo.isArray(t)?t.map((e=>Ta(e))):[Ta(t,o)];n.all?i(e,r):i(e,r[0].address,r[0].family)}))}}const v=new E,b=()=>{e.cancelToken&&e.cancelToken.unsubscribe(y),e.signal&&e.signal.removeEventListener("abort",y),v.removeAllListeners()};function y(t){v.emit("abort",!t||t.type?new Gr(null,e,m):t)}i(((e,t)=>{f=!0,t&&(h=!0,b())})),v.once("abort",n),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(y),e.signal&&(e.signal.aborted?y():e.signal.addEventListener("abort",y)));const w=Wr(e.baseURL,e.url,e.allowAbsoluteUrls),S=new URL(w,jr.hasBrowserEnv?jr.origin:void 0),k=S.protocol||wa[0];if("data:"===k){let i;if("GET"!==l)return qr(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{i=function(e,t,n){const i=n&&n.Blob||jr.classes.Blob,o=Xs(e);if(void 0===t&&i&&(t=!0),"data"===o){e=o.length?e.slice(o.length+1):e;const n=ea.exec(e);if(!n)throw new po("Invalid URL",po.ERR_INVALID_URL);const r=n[1],s=n[2],a=n[3],c=Buffer.from(decodeURIComponent(a),s?"base64":"utf8");if(t){if(!i)throw new po("Blob is not supported",po.ERR_NOT_SUPPORT);return new i([c],{type:r})}return c}throw new po("Unsupported protocol "+o,po.ERR_NOT_SUPPORT)}(e.url,"blob"===a,{Blob:e.env&&e.env.Blob})}catch(t){throw po.from(t,po.ERR_BAD_REQUEST,e)}return"text"===a?(i=i.toString(c),c&&"utf8"!==c||(i=lo.stripBOM(i))):"stream"===a&&(i=p.Readable.from(i)),qr(t,n,{data:i,status:200,statusText:"OK",headers:new Ur,config:e})}if(-1===wa.indexOf(k))return n(new po("Unsupported protocol "+k,po.ERR_BAD_REQUEST,e));const R=Ur.from(e.headers).normalize();R.set("User-Agent","axios/"+Js,!1);const{onUploadProgress:T,onDownloadProgress:O}=e,A=e.maxRate;let C,j;if(lo.isSpecCompliantForm(o)){const e=R.getContentType(/boundary=([-_\w\d]{10,70})/i);o=((e,t,n)=>{const{tag:i="form-data-boundary",size:o=25,boundary:r=i+"-"+jr.generateString(o,sa)}=n||{};if(!lo.isFormData(e))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");const s=aa.encode("--"+r+ca),a=aa.encode("--"+r+"--"+ca);let c=a.byteLength;const l=Array.from(e.entries()).map((([e,t])=>{const n=new pa(e,t);return c+=n.size,n}));c+=s.byteLength*l.length,c=lo.toFiniteNumber(c);const p={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(c)&&(p["Content-Length"]=c),t&&t(p),u.from(async function*(){for(const e of l)yield s,yield*e.encode();yield a}())})(o,(e=>{R.set(e)}),{tag:`axios-${Js}-boundary`,boundary:e&&e[1]||void 0})}else if(lo.isFormData(o)&&lo.isFunction(o.getHeaders)){if(R.set(o.getHeaders()),!R.hasContentLength())try{const e=await d.promisify(o.getLength).call(o);Number.isFinite(e)&&e>=0&&R.setContentLength(e)}catch(e){}}else if(lo.isBlob(o)||lo.isFile(o))o.size&&R.setContentType(o.type||"application/octet-stream"),R.setContentLength(o.size||0),o=p.Readable.from(ra(o));else if(o&&!lo.isStream(o)){if(Buffer.isBuffer(o));else if(lo.isArrayBuffer(o))o=Buffer.from(new Uint8Array(o));else{if(!lo.isString(o))return n(new po("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",po.ERR_BAD_REQUEST,e));o=Buffer.from(o,"utf-8")}if(R.setContentLength(o.length,!1),e.maxBodyLength>-1&&o.length>e.maxBodyLength)return n(new po("Request body larger than maxBodyLength limit",po.ERR_BAD_REQUEST,e))}const P=lo.toFiniteNumber(R.getContentLength());let L,I;lo.isArray(A)?(C=A[0],j=A[1]):C=j=A,o&&(T||C)&&(lo.isStream(o)||(o=p.Readable.from(o,{objectMode:!1})),o=p.pipeline([o,new ia({maxRate:lo.toFiniteNumber(C)})],lo.noop),T&&o.on("progress",Ea(o,ma(P,fa(ha(T),!1,3))))),e.auth&&(L=(e.auth.username||"")+":"+(e.auth.password||"")),!L&&S.username&&(L=S.username+":"+S.password),L&&R.delete("authorization");try{I=vr(S.pathname+S.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const i=new Error(t.message);return i.config=e,i.url=e.url,i.exists=!0,n(i)}R.set("Accept-Encoding","gzip, compress, deflate"+(va?", br":""),!1);const N={path:I,method:l,headers:R.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:L,protocol:k,family:s,beforeRedirect:Sa,beforeRedirects:{}};let F;!lo.isUndefined(r)&&(N.lookup=r),e.socketPath?N.socketPath=e.socketPath:(N.hostname=S.hostname.startsWith("[")?S.hostname.slice(1,-1):S.hostname,N.port=S.port,ka(N,e.proxy,k+"//"+S.hostname+(S.port?":"+S.port:"")+N.path));const D=_a.test(N.protocol);if(N.agent=D?e.httpsAgent:e.httpAgent,e.transport?F=e.transport:0===e.maxRedirects?F=D?x:g:(e.maxRedirects&&(N.maxRedirects=e.maxRedirects),e.beforeRedirect&&(N.beforeRedirects.config=e.beforeRedirect),F=D?ya:ba),e.maxBodyLength>-1?N.maxBodyLength=e.maxBodyLength:N.maxBodyLength=1/0,e.insecureHTTPParser&&(N.insecureHTTPParser=e.insecureHTTPParser),m=F.request(N,(function(i){if(m.destroyed)return;const o=[i],r=+i.headers["content-length"];if(O||j){const e=new ia({maxRate:lo.toFiniteNumber(j)});O&&e.on("progress",Ea(e,ma(r,fa(ha(O),!0,3)))),o.push(e)}let s=i;const u=i.req||m;if(!1!==e.decompress&&i.headers["content-encoding"])switch("HEAD"!==l&&204!==i.statusCode||delete i.headers["content-encoding"],(i.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":o.push(_.createUnzip(ga)),delete i.headers["content-encoding"];break;case"deflate":o.push(new ua),o.push(_.createUnzip(ga)),delete i.headers["content-encoding"];break;case"br":va&&(o.push(_.createBrotliDecompress(xa)),delete i.headers["content-encoding"])}s=o.length>1?p.pipeline(o,lo.noop):o[0];const d=p.finished(s,(()=>{d(),b()})),f={status:i.statusCode,statusText:i.statusMessage,headers:new Ur(i.headers),config:e,request:u};if("stream"===a)f.data=s,qr(t,n,f);else{const i=[];let o=0;s.on("data",(function(t){i.push(t),o+=t.length,e.maxContentLength>-1&&o>e.maxContentLength&&(h=!0,s.destroy(),n(new po("maxContentLength size of "+e.maxContentLength+" exceeded",po.ERR_BAD_RESPONSE,e,u)))})),s.on("aborted",(function(){if(h)return;const t=new po("stream has been aborted",po.ERR_BAD_RESPONSE,e,u);s.destroy(t),n(t)})),s.on("error",(function(t){m.destroyed||n(po.from(t,null,e,u))})),s.on("end",(function(){try{let e=1===i.length?i[0]:Buffer.concat(i);"arraybuffer"!==a&&(e=e.toString(c),c&&"utf8"!==c||(e=lo.stripBOM(e))),f.data=e}catch(t){return n(po.from(t,null,e,f.request,f))}qr(t,n,f)}))}v.once("abort",(e=>{s.destroyed||(s.emit("error",e),s.destroy())}))})),v.once("abort",(e=>{n(e),m.destroy(e)})),m.on("error",(function(t){n(po.from(t,null,e,m))})),m.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void n(new po("error trying to parse `config.timeout` to int",po.ERR_BAD_OPTION_VALUE,e,m));m.setTimeout(t,(function(){if(f)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const i=e.transitional||yr;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new po(t,i.clarifyTimeoutError?po.ETIMEDOUT:po.ECONNABORTED,e,m)),y()}))}if(lo.isStream(o)){let t=!1,n=!1;o.on("end",(()=>{t=!0})),o.once("error",(e=>{n=!0,m.destroy(e)})),o.on("close",(()=>{t||n||y(new Gr("Request stream has been aborted",e,m))})),o.pipe(m)}else m.end(o)},new Promise(((e,n)=>{let i,o;const r=(e,t)=>{o||(o=!0,i&&i(e,t))},s=e=>{r(e,!0),n(e)};t((t=>{r(t),e(t)}),s,(e=>i=e)).catch(s)}));var t},Aa=jr.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,jr.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(jr.origin),jr.navigator&&/(msie|trident)/i.test(jr.navigator.userAgent)):()=>!0,Ca=jr.hasStandardBrowserEnv?{write(e,t,n,i,o,r){const s=[e+"="+encodeURIComponent(t)];lo.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),lo.isString(i)&&s.push("path="+i),lo.isString(o)&&s.push("domain="+o),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};const ja=e=>e instanceof Ur?{...e}:e;function Pa(e,t){t=t||{};const n={};function i(e,t,n,i){return lo.isPlainObject(e)&&lo.isPlainObject(t)?lo.merge.call({caseless:i},e,t):lo.isPlainObject(t)?lo.merge({},t):lo.isArray(t)?t.slice():t}function o(e,t,n,o){return lo.isUndefined(t)?lo.isUndefined(e)?void 0:i(void 0,e,0,o):i(e,t,0,o)}function r(e,t){if(!lo.isUndefined(t))return i(void 0,t)}function s(e,t){return lo.isUndefined(t)?lo.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function a(n,o,r){return r in t?i(n,o):r in e?i(void 0,n):void 0}const c={url:r,method:r,data:r,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:a,headers:(e,t,n)=>o(ja(e),ja(t),0,!0)};return lo.forEach(Object.keys(Object.assign({},e,t)),(function(i){const r=c[i]||o,s=r(e[i],t[i],i);lo.isUndefined(s)&&r!==a||(n[i]=s)})),n}var La=e=>{const t=Pa({},e);let n,{data:i,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:s,headers:a,auth:c}=t;if(t.headers=a=Ur.from(a),t.url=vr(Wr(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),lo.isFormData(i))if(jr.hasStandardBrowserEnv||jr.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(jr.hasStandardBrowserEnv&&(o&&lo.isFunction(o)&&(o=o(t)),o||!1!==o&&Aa(t.url))){const e=r&&s&&Ca.read(s);e&&a.set(r,e)}return t};var Ia="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const i=La(e);let o=i.data;const r=Ur.from(i.headers).normalize();let s,a,c,l,p,{responseType:u,onUploadProgress:d,onDownloadProgress:f}=i;function m(){l&&l(),p&&p(),i.cancelToken&&i.cancelToken.unsubscribe(s),i.signal&&i.signal.removeEventListener("abort",s)}let h=new XMLHttpRequest;function g(){if(!h)return;const i=Ur.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());qr((function(e){t(e),m()}),(function(e){n(e),m()}),{data:u&&"text"!==u&&"json"!==u?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:i,config:e,request:h}),h=null}h.open(i.method.toUpperCase(),i.url,!0),h.timeout=i.timeout,"onloadend"in h?h.onloadend=g:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(g)},h.onabort=function(){h&&(n(new po("Request aborted",po.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new po("Network Error",po.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let t=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const o=i.transitional||yr;i.timeoutErrorMessage&&(t=i.timeoutErrorMessage),n(new po(t,o.clarifyTimeoutError?po.ETIMEDOUT:po.ECONNABORTED,e,h)),h=null},void 0===o&&r.setContentType(null),"setRequestHeader"in h&&lo.forEach(r.toJSON(),(function(e,t){h.setRequestHeader(t,e)})),lo.isUndefined(i.withCredentials)||(h.withCredentials=!!i.withCredentials),u&&"json"!==u&&(h.responseType=i.responseType),f&&([c,p]=fa(f,!0),h.addEventListener("progress",c)),d&&h.upload&&([a,l]=fa(d),h.upload.addEventListener("progress",a),h.upload.addEventListener("loadend",l)),(i.cancelToken||i.signal)&&(s=t=>{h&&(n(!t||t.type?new Gr(null,e,h):t),h.abort(),h=null)},i.cancelToken&&i.cancelToken.subscribe(s),i.signal&&(i.signal.aborted?s():i.signal.addEventListener("abort",s)));const x=Xs(i.url);x&&-1===jr.protocols.indexOf(x)?n(new po("Unsupported protocol "+x+":",po.ERR_BAD_REQUEST,e)):h.send(o||null)}))};var Na=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,i=new AbortController;const o=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;i.abort(t instanceof po?t:new Gr(t instanceof Error?t.message:t))}};let r=t&&setTimeout((()=>{r=null,o(new po(`timeout ${t} of ms exceeded`,po.ETIMEDOUT))}),t);const s=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:a}=i;return a.unsubscribe=()=>lo.asap(s),a}};const Fa=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let i,o=0;for(;o<n;)i=o+t,yield e.slice(o,i),o=i},Da=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},$a=(e,t,n,i)=>{const o=async function*(e,t){for await(const n of Da(e))yield*Fa(n,t)}(e,t);let r,s=0,a=e=>{r||(r=!0,i&&i(e))};return new ReadableStream({async pull(e){try{const{done:t,value:i}=await o.next();if(t)return a(),void e.close();let r=i.byteLength;if(n){let e=s+=r;n(e)}e.enqueue(new Uint8Array(i))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},Ma="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Ba=Ma&&"function"==typeof ReadableStream,Ua=Ma&&("function"==typeof TextEncoder?(za=new TextEncoder,e=>za.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var za;const Ha=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Ga=Ba&&Ha((()=>{let e=!1;const t=new Request(jr.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),qa=Ba&&Ha((()=>lo.isReadableStream(new Response("").body))),Wa={stream:qa&&(e=>e.body)};var Ka;Ma&&(Ka=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Wa[e]&&(Wa[e]=lo.isFunction(Ka[e])?t=>t[e]():(t,n)=>{throw new po(`Response type '${e}' is not supported`,po.ERR_NOT_SUPPORT,n)})})));const Va=async(e,t)=>{const n=lo.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(lo.isBlob(e))return e.size;if(lo.isSpecCompliantForm(e)){const t=new Request(jr.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return lo.isArrayBufferView(e)||lo.isArrayBuffer(e)?e.byteLength:(lo.isURLSearchParams(e)&&(e+=""),lo.isString(e)?(await Ua(e)).byteLength:void 0)})(t):n};var Ya=Ma&&(async e=>{let{url:t,method:n,data:i,signal:o,cancelToken:r,timeout:s,onDownloadProgress:a,onUploadProgress:c,responseType:l,headers:p,withCredentials:u="same-origin",fetchOptions:d}=La(e);l=l?(l+"").toLowerCase():"text";let f,m=Na([o,r&&r.toAbortSignal()],s);const h=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let g;try{if(c&&Ga&&"get"!==n&&"head"!==n&&0!==(g=await Va(p,i))){let e,n=new Request(t,{method:"POST",body:i,duplex:"half"});if(lo.isFormData(i)&&(e=n.headers.get("content-type"))&&p.setContentType(e),n.body){const[e,t]=ma(g,fa(ha(c)));i=$a(n.body,65536,e,t)}}lo.isString(u)||(u=u?"include":"omit");const o="credentials"in Request.prototype;f=new Request(t,{...d,signal:m,method:n.toUpperCase(),headers:p.normalize().toJSON(),body:i,duplex:"half",credentials:o?u:void 0});let r=await fetch(f);const s=qa&&("stream"===l||"response"===l);if(qa&&(a||s&&h)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=r[t]}));const t=lo.toFiniteNumber(r.headers.get("content-length")),[n,i]=a&&ma(t,fa(ha(a),!0))||[];r=new Response($a(r.body,65536,n,(()=>{i&&i(),h&&h()})),e)}l=l||"text";let x=await Wa[lo.findKey(Wa,l)||"text"](r,e);return!s&&h&&h(),await new Promise(((t,n)=>{qr(t,n,{data:x,headers:Ur.from(r.headers),status:r.status,statusText:r.statusText,config:e,request:f})}))}catch(t){if(h&&h(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new po("Network Error",po.ERR_NETWORK,e,f),{cause:t.cause||t});throw po.from(t,t&&t.code,e,f)}});const Qa={http:Oa,xhr:Ia,fetch:Ya};lo.forEach(Qa,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Za=e=>`- ${e}`,Ja=e=>lo.isFunction(e)||null===e||!1===e;var Xa=e=>{e=lo.isArray(e)?e:[e];const{length:t}=e;let n,i;const o={};for(let r=0;r<t;r++){let t;if(n=e[r],i=n,!Ja(n)&&(i=Qa[(t=String(n)).toLowerCase()],void 0===i))throw new po(`Unknown adapter '${t}'`);if(i)break;o[t||"#"+r]=i}if(!i){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new po("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Za).join("\n"):" "+Za(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function ec(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Gr(null,e)}function tc(e){ec(e),e.headers=Ur.from(e.headers),e.data=zr.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Xa(e.adapter||Ir.adapter)(e).then((function(t){return ec(e),t.data=zr.call(e,e.transformResponse,t),t.headers=Ur.from(t.headers),t}),(function(t){return Hr(t)||(ec(e),t&&t.response&&(t.response.data=zr.call(e,e.transformResponse,t.response),t.response.headers=Ur.from(t.response.headers))),Promise.reject(t)}))}const nc={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{nc[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ic={};nc.transitional=function(e,t,n){function i(e,t){return"[Axios v1.9.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,r)=>{if(!1===e)throw new po(i(o," has been removed"+(t?" in "+t:"")),po.ERR_DEPRECATED);return t&&!ic[o]&&(ic[o]=!0,console.warn(i(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,r)}},nc.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var oc={assertOptions:function(e,t,n){if("object"!=typeof e)throw new po("options must be an object",po.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const r=i[o],s=t[r];if(s){const t=e[r],n=void 0===t||s(t,r,e);if(!0!==n)throw new po("option "+r+" must be "+n,po.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new po("Unknown option "+r,po.ERR_BAD_OPTION)}},validators:nc};const rc=oc.validators;class sc{constructor(e){this.defaults=e||{},this.interceptors={request:new br,response:new br}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Pa(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:o}=t;void 0!==n&&oc.assertOptions(n,{silentJSONParsing:rc.transitional(rc.boolean),forcedJSONParsing:rc.transitional(rc.boolean),clarifyTimeoutError:rc.transitional(rc.boolean)},!1),null!=i&&(lo.isFunction(i)?t.paramsSerializer={serialize:i}:oc.assertOptions(i,{encode:rc.function,serialize:rc.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),oc.assertOptions(t,{baseUrl:rc.spelling("baseURL"),withXsrfToken:rc.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=o&&lo.merge(o.common,o[t.method]);o&&lo.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Ur.concat(r,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const c=[];let l;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let p,u=0;if(!a){const e=[tc.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,c),p=e.length,l=Promise.resolve(t);u<p;)l=l.then(e[u++],e[u++]);return l}p=s.length;let d=t;for(u=0;u<p;){const e=s[u++],t=s[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{l=tc.call(this,d)}catch(e){return Promise.reject(e)}for(u=0,p=c.length;u<p;)l=l.then(c[u++],c[u++]);return l}getUri(e){return vr(Wr((e=Pa(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}lo.forEach(["delete","get","head","options"],(function(e){sc.prototype[e]=function(t,n){return this.request(Pa(n||{},{method:e,url:t,data:(n||{}).data}))}})),lo.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,o){return this.request(Pa(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}sc.prototype[e]=t(),sc.prototype[e+"Form"]=t(!0)}));var ac=sc;class cc{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const i=new Promise((e=>{n.subscribe(e),t=e})).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e((function(e,i,o){n.reason||(n.reason=new Gr(e,i,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new cc((function(t){e=t})),cancel:e}}}var lc=cc;const pc={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};Object.entries(pc).forEach((([e,t])=>{pc[t]=e}));var uc=pc;const dc=function e(t){const n=new ac(t),i=_i(ac.prototype.request,n);return lo.extend(i,ac.prototype,n,{allOwnKeys:!0}),lo.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(Pa(t,n))},i}(Ir);var fc,mc,hc;dc.Axios=ac,dc.CanceledError=Gr,dc.CancelToken=lc,dc.isCancel=Hr,dc.VERSION=Js,dc.toFormData=fr,dc.AxiosError=po,dc.Cancel=dc.CanceledError,dc.all=function(e){return Promise.all(e)},dc.spread=function(e){return function(t){return e.apply(null,t)}},dc.isAxiosError=function(e){return lo.isObject(e)&&!0===e.isAxiosError},dc.mergeConfig=Pa,dc.AxiosHeaders=Ur,dc.formToJSON=e=>Pr(lo.isHTMLForm(e)?new FormData(e):e),dc.getAdapter=Xa,dc.HttpStatusCode=uc,dc.default=dc,function(e){e.SAAS="saas",e.INTERNAL="internal",e.POC="poc"}(fc||(fc={})),function(e){e.PRODUCTION="production",e.DEVELOPMENT="development",e.TEST="test"}(mc||(mc={})),function(e){e.VSCODE="vscode",e.JETBRAINS="jetbrains"}(hc||(hc={}));const gc="https://comate.baidu.com",xc="https://comate.baidu-int.com",vc="https://comate-cop.now.baidu.com",bc=(()=>{try{if("ide"===process.env.IDE){const t=e.join(function(){const t="Comate";switch(S.platform()){case"win32":return e.join(k(),"AppData","Roaming",t,"User");case"darwin":return e.join(k(),"Library","Application Support",t,"User");default:return e.join(k(),".config",t,"User")}}(),"loginMode.json");return JSON.parse(n.readFileSync(t,"utf8"))}return{}}catch(e){return{}}})(),yc="uuap"===bc.loginMode;let _c="ide"===process.env.IDE&&yc?fc.INTERNAL:process.env.PLATFORM||fc.INTERNAL,wc=process.env.ENVIRONMENT||mc.PRODUCTION,Ec=process.env.DISPLAY_LANGUAGE||"zh",Sc=process.env.ACCEPT_LANGUAGE||"zh-CN,zh";const kc={[fc.SAAS]:{[mc.PRODUCTION]:gc,[mc.DEVELOPMENT]:gc,[mc.TEST]:vc},[fc.INTERNAL]:{[mc.PRODUCTION]:xc,[mc.DEVELOPMENT]:xc,[mc.TEST]:"https://comate-test.now.baidu.com"},[fc.POC]:{[mc.PRODUCTION]:gc,[mc.DEVELOPMENT]:gc,[mc.TEST]:vc}};let Rc=process.env.HTTP_HOST;"en"===Ec?(Ec="en",Sc="en-US,en"):(Ec="zh",Sc="zh-CN,zh"),fc.SAAS;const Tc={},Oc=process.env.HTTP_PROXY_URL||"",{protocol:Ac,hostname:Cc,port:jc}=function(e){const t={protocol:"http",hostname:"localhost",port:"9090"};if(!e)return t;try{const n=e.replace(/^\w+:\/\//,""),[i,o]=n.split(":");return{protocol:/^(\w+):\/\//.exec(e)?.[1]||t.protocol,hostname:i||t.hostname,port:o||t.port}}catch(e){return console.error("Error parsing proxy URL:",e),t}}(Oc),Pc=dc.create(Tc);dc.create(Tc),Pc.interceptors.request.use((async e=>{const t={...e,baseURL:Rc||(kc?.[_c]?.[wc]??xc)};return t.headers["Accept-Language"]=Sc,Oc&&(t.proxy={host:Cc,port:Number(jc),protocol:Ac}),t})),dc.CanceledError,process.env.PLATFORM,process.env.IDE,process.env.NODE_ENV;var Lc={exports:{}},Ic={};const Nc=m,Fc="\\\\/",Dc=`[^${Fc}]`,$c="\\.",Mc="\\/",Bc="[^/]",Uc=`(?:${Mc}|$)`,zc=`(?:^|${Mc})`,Hc=`${$c}{1,2}${Uc}`,Gc={DOT_LITERAL:$c,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:Mc,ONE_CHAR:"(?=.)",QMARK:Bc,END_ANCHOR:Uc,DOTS_SLASH:Hc,NO_DOT:`(?!${$c})`,NO_DOTS:`(?!${zc}${Hc})`,NO_DOT_SLASH:`(?!${$c}{0,1}${Uc})`,NO_DOTS_SLASH:`(?!${Hc})`,QMARK_NO_DOT:`[^.${Mc}]`,STAR:`${Bc}*?`,START_ANCHOR:zc},qc={...Gc,SLASH_LITERAL:`[${Fc}]`,QMARK:Dc,STAR:`${Dc}*?`,DOTS_SLASH:`${$c}{1,2}(?:[${Fc}]|$)`,NO_DOT:`(?!${$c})`,NO_DOTS:`(?!(?:^|[${Fc}])${$c}{1,2}(?:[${Fc}]|$))`,NO_DOT_SLASH:`(?!${$c}{0,1}(?:[${Fc}]|$))`,NO_DOTS_SLASH:`(?!${$c}{1,2}(?:[${Fc}]|$))`,QMARK_NO_DOT:`[^.${Fc}]`,START_ANCHOR:`(?:^|[${Fc}])`,END_ANCHOR:`(?:[${Fc}]|$)`};var Wc={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:Nc.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?qc:Gc};!function(e){const t=m,n="win32"===process.platform,{REGEX_BACKSLASH:i,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:r,REGEX_SPECIAL_CHARS_GLOBAL:s}=Wc;e.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),e.hasRegexChars=e=>r.test(e),e.isRegexChar=t=>1===t.length&&e.hasRegexChars(t),e.escapeRegex=e=>e.replace(s,"\\$1"),e.toPosixSlashes=e=>e.replace(i,"/"),e.removeBackslashes=e=>e.replace(o,(e=>"\\"===e?"":e)),e.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},e.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===n||"\\"===t.sep,e.escapeLast=(t,n,i)=>{const o=t.lastIndexOf(n,i);return-1===o?t:"\\"===t[o-1]?e.escapeLast(t,n,o-1):`${t.slice(0,o)}\\${t.slice(o)}`},e.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n},e.wrapOutput=(e,t={},n={})=>{let i=`${n.contains?"":"^"}(?:${e})${n.contains?"":"$"}`;return!0===t.negated&&(i=`(?:^(?!${i}).*$)`),i}}(Ic);const Kc=Ic,{CHAR_ASTERISK:Vc,CHAR_AT:Yc,CHAR_BACKWARD_SLASH:Qc,CHAR_COMMA:Zc,CHAR_DOT:Jc,CHAR_EXCLAMATION_MARK:Xc,CHAR_FORWARD_SLASH:el,CHAR_LEFT_CURLY_BRACE:tl,CHAR_LEFT_PARENTHESES:nl,CHAR_LEFT_SQUARE_BRACKET:il,CHAR_PLUS:ol,CHAR_QUESTION_MARK:rl,CHAR_RIGHT_CURLY_BRACE:sl,CHAR_RIGHT_PARENTHESES:al,CHAR_RIGHT_SQUARE_BRACKET:cl}=Wc,ll=e=>e===el||e===Qc,pl=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};var ul=(e,t)=>{const n=t||{},i=e.length-1,o=!0===n.parts||!0===n.scanToEnd,r=[],s=[],a=[];let c,l,p=e,u=-1,d=0,f=0,m=!1,h=!1,g=!1,x=!1,v=!1,b=!1,y=!1,_=!1,w=!1,E=!1,S=0,k={value:"",depth:0,isGlob:!1};const R=()=>u>=i,T=()=>(c=l,p.charCodeAt(++u));for(;u<i;){let e;if(l=T(),l!==Qc){if(!0===b||l===tl){for(S++;!0!==R()&&(l=T());)if(l!==Qc)if(l!==tl){if(!0!==b&&l===Jc&&(l=T())===Jc){if(m=k.isBrace=!0,g=k.isGlob=!0,E=!0,!0===o)continue;break}if(!0!==b&&l===Zc){if(m=k.isBrace=!0,g=k.isGlob=!0,E=!0,!0===o)continue;break}if(l===sl&&(S--,0===S)){b=!1,m=k.isBrace=!0,E=!0;break}}else S++;else y=k.backslashes=!0,T();if(!0===o)continue;break}if(l!==el){if(!0!==n.noext){if(!0===(l===ol||l===Yc||l===Vc||l===rl||l===Xc)&&p.charCodeAt(u+1)===nl){if(g=k.isGlob=!0,x=k.isExtglob=!0,E=!0,l===Xc&&u===d&&(w=!0),!0===o){for(;!0!==R()&&(l=T());)if(l!==Qc){if(l===al){g=k.isGlob=!0,E=!0;break}}else y=k.backslashes=!0,l=T();continue}break}}if(l===Vc){if(c===Vc&&(v=k.isGlobstar=!0),g=k.isGlob=!0,E=!0,!0===o)continue;break}if(l===rl){if(g=k.isGlob=!0,E=!0,!0===o)continue;break}if(l===il){for(;!0!==R()&&(e=T());)if(e!==Qc){if(e===cl){h=k.isBracket=!0,g=k.isGlob=!0,E=!0;break}}else y=k.backslashes=!0,T();if(!0===o)continue;break}if(!0===n.nonegate||l!==Xc||u!==d){if(!0!==n.noparen&&l===nl){if(g=k.isGlob=!0,!0===o){for(;!0!==R()&&(l=T());)if(l!==nl){if(l===al){E=!0;break}}else y=k.backslashes=!0,l=T();continue}break}if(!0===g){if(E=!0,!0===o)continue;break}}else _=k.negated=!0,d++}else{if(r.push(u),s.push(k),k={value:"",depth:0,isGlob:!1},!0===E)continue;if(c===Jc&&u===d+1){d+=2;continue}f=u+1}}else y=k.backslashes=!0,l=T(),l===tl&&(b=!0)}!0===n.noext&&(x=!1,g=!1);let O=p,A="",C="";d>0&&(A=p.slice(0,d),p=p.slice(d),f-=d),O&&!0===g&&f>0?(O=p.slice(0,f),C=p.slice(f)):!0===g?(O="",C=p):O=p,O&&""!==O&&"/"!==O&&O!==p&&ll(O.charCodeAt(O.length-1))&&(O=O.slice(0,-1)),!0===n.unescape&&(C&&(C=Kc.removeBackslashes(C)),O&&!0===y&&(O=Kc.removeBackslashes(O)));const j={prefix:A,input:e,start:d,base:O,glob:C,isBrace:m,isBracket:h,isGlob:g,isExtglob:x,isGlobstar:v,negated:_,negatedExtglob:w};if(!0===n.tokens&&(j.maxDepth=0,ll(l)||s.push(k),j.tokens=s),!0===n.parts||!0===n.tokens){let t;for(let i=0;i<r.length;i++){const o=t?t+1:d,c=r[i],l=e.slice(o,c);n.tokens&&(0===i&&0!==d?(s[i].isPrefix=!0,s[i].value=A):s[i].value=l,pl(s[i]),j.maxDepth+=s[i].depth),0===i&&""===l||a.push(l),t=c}if(t&&t+1<e.length){const i=e.slice(t+1);a.push(i),n.tokens&&(s[s.length-1].value=i,pl(s[s.length-1]),j.maxDepth+=s[s.length-1].depth)}j.slashes=r,j.parts=a}return j};const dl=Wc,fl=Ic,{MAX_LENGTH:ml,POSIX_REGEX_SOURCE:hl,REGEX_NON_SPECIAL_CHARS:gl,REGEX_SPECIAL_CHARS_BACKREF:xl,REPLACEMENTS:vl}=dl,bl=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const n=`[${e.join("-")}]`;try{new RegExp(n)}catch(t){return e.map((e=>fl.escapeRegex(e))).join("..")}return n},yl=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,_l=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=vl[e]||e;const n={...t},i="number"==typeof n.maxLength?Math.min(ml,n.maxLength):ml;let o=e.length;if(o>i)throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${i}`);const r={type:"bos",value:"",output:n.prepend||""},s=[r],a=n.capture?"":"?:",c=fl.isWindows(t),l=dl.globChars(c),p=dl.extglobChars(l),{DOT_LITERAL:u,PLUS_LITERAL:d,SLASH_LITERAL:f,ONE_CHAR:m,DOTS_SLASH:h,NO_DOT:g,NO_DOT_SLASH:x,NO_DOTS_SLASH:v,QMARK:b,QMARK_NO_DOT:y,STAR:_,START_ANCHOR:w}=l,E=e=>`(${a}(?:(?!${w}${e.dot?h:u}).)*?)`,S=n.dot?"":g,k=n.dot?b:y;let R=!0===n.bash?E(n):_;n.capture&&(R=`(${R})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const T={input:e,index:-1,start:0,dot:!0===n.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:s};e=fl.removePrefix(e,T),o=e.length;const O=[],A=[],C=[];let j,P=r;const L=()=>T.index===o-1,I=T.peek=(t=1)=>e[T.index+t],N=T.advance=()=>e[++T.index]||"",F=()=>e.slice(T.index+1),D=(e="",t=0)=>{T.consumed+=e,T.index+=t},$=e=>{T.output+=null!=e.output?e.output:e.value,D(e.value)},M=()=>{let e=1;for(;"!"===I()&&("("!==I(2)||"?"===I(3));)N(),T.start++,e++;return e%2!=0&&(T.negated=!0,T.start++,!0)},B=e=>{T[e]++,C.push(e)},U=e=>{T[e]--,C.pop()},z=e=>{if("globstar"===P.type){const t=T.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||O.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||n||(T.output=T.output.slice(0,-P.output.length),P.type="star",P.value="*",P.output=R,T.output+=P.output)}if(O.length&&"paren"!==e.type&&(O[O.length-1].inner+=e.value),(e.value||e.output)&&$(e),P&&"text"===P.type&&"text"===e.type)return P.value+=e.value,void(P.output=(P.output||"")+e.value);e.prev=P,s.push(e),P=e},H=(e,t)=>{const i={...p[t],conditions:1,inner:""};i.prev=P,i.parens=T.parens,i.output=T.output;const o=(n.capture?"(":"")+i.open;B("parens"),z({type:e,value:t,output:T.output?"":m}),z({type:"paren",extglob:!0,value:N(),output:o}),O.push(i)},G=e=>{let i,o=e.close+(n.capture?")":"");if("negate"===e.type){let r=R;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(r=E(n)),(r!==R||L()||/^\)+$/.test(F()))&&(o=e.close=`)$))${r}`),e.inner.includes("*")&&(i=F())&&/^\.[^\\/.]+$/.test(i)){const n=_l(i,{...t,fastpaths:!1}).output;o=e.close=`)${n})${r})`}"bos"===e.prev.type&&(T.negatedExtglob=!0)}z({type:"paren",extglob:!0,value:j,output:o}),U("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let i=!1,o=e.replace(xl,((e,t,n,o,r,s)=>"\\"===o?(i=!0,e):"?"===o?t?t+o+(r?b.repeat(r.length):""):0===s?k+(r?b.repeat(r.length):""):b.repeat(n.length):"."===o?u.repeat(n.length):"*"===o?t?t+o+(r?R:""):R:t?e:`\\${e}`));return!0===i&&(o=!0===n.unescape?o.replace(/\\/g,""):o.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),o===e&&!0===n.contains?(T.output=e,T):(T.output=fl.wrapOutput(o,T,t),T)}for(;!L();){if(j=N(),"\0"===j)continue;if("\\"===j){const e=I();if("/"===e&&!0!==n.bash)continue;if("."===e||";"===e)continue;if(!e){j+="\\",z({type:"text",value:j});continue}const t=/^\\+/.exec(F());let i=0;if(t&&t[0].length>2&&(i=t[0].length,T.index+=i,i%2!=0&&(j+="\\")),!0===n.unescape?j=N():j+=N(),0===T.brackets){z({type:"text",value:j});continue}}if(T.brackets>0&&("]"!==j||"["===P.value||"[^"===P.value)){if(!1!==n.posix&&":"===j){const e=P.value.slice(1);if(e.includes("[")&&(P.posix=!0,e.includes(":"))){const e=P.value.lastIndexOf("["),t=P.value.slice(0,e),n=P.value.slice(e+2),i=hl[n];if(i){P.value=t+i,T.backtrack=!0,N(),r.output||1!==s.indexOf(P)||(r.output=m);continue}}}("["===j&&":"!==I()||"-"===j&&"]"===I())&&(j=`\\${j}`),"]"!==j||"["!==P.value&&"[^"!==P.value||(j=`\\${j}`),!0===n.posix&&"!"===j&&"["===P.value&&(j="^"),P.value+=j,$({value:j});continue}if(1===T.quotes&&'"'!==j){j=fl.escapeRegex(j),P.value+=j,$({value:j});continue}if('"'===j){T.quotes=1===T.quotes?0:1,!0===n.keepQuotes&&z({type:"text",value:j});continue}if("("===j){B("parens"),z({type:"paren",value:j});continue}if(")"===j){if(0===T.parens&&!0===n.strictBrackets)throw new SyntaxError(yl("opening","("));const e=O[O.length-1];if(e&&T.parens===e.parens+1){G(O.pop());continue}z({type:"paren",value:j,output:T.parens?")":"\\)"}),U("parens");continue}if("["===j){if(!0!==n.nobracket&&F().includes("]"))B("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(yl("closing","]"));j=`\\${j}`}z({type:"bracket",value:j});continue}if("]"===j){if(!0===n.nobracket||P&&"bracket"===P.type&&1===P.value.length){z({type:"text",value:j,output:`\\${j}`});continue}if(0===T.brackets){if(!0===n.strictBrackets)throw new SyntaxError(yl("opening","["));z({type:"text",value:j,output:`\\${j}`});continue}U("brackets");const e=P.value.slice(1);if(!0===P.posix||"^"!==e[0]||e.includes("/")||(j=`/${j}`),P.value+=j,$({value:j}),!1===n.literalBrackets||fl.hasRegexChars(e))continue;const t=fl.escapeRegex(P.value);if(T.output=T.output.slice(0,-P.value.length),!0===n.literalBrackets){T.output+=t,P.value=t;continue}P.value=`(${a}${t}|${P.value})`,T.output+=P.value;continue}if("{"===j&&!0!==n.nobrace){B("braces");const e={type:"brace",value:j,output:"(",outputIndex:T.output.length,tokensIndex:T.tokens.length};A.push(e),z(e);continue}if("}"===j){const e=A[A.length-1];if(!0===n.nobrace||!e){z({type:"text",value:j,output:j});continue}let t=")";if(!0===e.dots){const e=s.slice(),i=[];for(let t=e.length-1;t>=0&&(s.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&i.unshift(e[t].value);t=bl(i,n),T.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const n=T.output.slice(0,e.outputIndex),i=T.tokens.slice(e.tokensIndex);e.value=e.output="\\{",j=t="\\}",T.output=n;for(const e of i)T.output+=e.output||e.value}z({type:"brace",value:j,output:t}),U("braces"),A.pop();continue}if("|"===j){O.length>0&&O[O.length-1].conditions++,z({type:"text",value:j});continue}if(","===j){let e=j;const t=A[A.length-1];t&&"braces"===C[C.length-1]&&(t.comma=!0,e="|"),z({type:"comma",value:j,output:e});continue}if("/"===j){if("dot"===P.type&&T.index===T.start+1){T.start=T.index+1,T.consumed="",T.output="",s.pop(),P=r;continue}z({type:"slash",value:j,output:f});continue}if("."===j){if(T.braces>0&&"dot"===P.type){"."===P.value&&(P.output=u);const e=A[A.length-1];P.type="dots",P.output+=j,P.value+=j,e.dots=!0;continue}if(T.braces+T.parens===0&&"bos"!==P.type&&"slash"!==P.type){z({type:"text",value:j,output:u});continue}z({type:"dot",value:j,output:u});continue}if("?"===j){if(!(P&&"("===P.value)&&!0!==n.noextglob&&"("===I()&&"?"!==I(2)){H("qmark",j);continue}if(P&&"paren"===P.type){const e=I();let t=j;if("<"===e&&!fl.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===P.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(F()))&&(t=`\\${j}`),z({type:"text",value:j,output:t});continue}if(!0!==n.dot&&("slash"===P.type||"bos"===P.type)){z({type:"qmark",value:j,output:y});continue}z({type:"qmark",value:j,output:b});continue}if("!"===j){if(!0!==n.noextglob&&"("===I()&&("?"!==I(2)||!/[!=<:]/.test(I(3)))){H("negate",j);continue}if(!0!==n.nonegate&&0===T.index){M();continue}}if("+"===j){if(!0!==n.noextglob&&"("===I()&&"?"!==I(2)){H("plus",j);continue}if(P&&"("===P.value||!1===n.regex){z({type:"plus",value:j,output:d});continue}if(P&&("bracket"===P.type||"paren"===P.type||"brace"===P.type)||T.parens>0){z({type:"plus",value:j});continue}z({type:"plus",value:d});continue}if("@"===j){if(!0!==n.noextglob&&"("===I()&&"?"!==I(2)){z({type:"at",extglob:!0,value:j,output:""});continue}z({type:"text",value:j});continue}if("*"!==j){"$"!==j&&"^"!==j||(j=`\\${j}`);const e=gl.exec(F());e&&(j+=e[0],T.index+=e[0].length),z({type:"text",value:j});continue}if(P&&("globstar"===P.type||!0===P.star)){P.type="star",P.star=!0,P.value+=j,P.output=R,T.backtrack=!0,T.globstar=!0,D(j);continue}let t=F();if(!0!==n.noextglob&&/^\([^?]/.test(t)){H("star",j);continue}if("star"===P.type){if(!0===n.noglobstar){D(j);continue}const i=P.prev,o=i.prev,r="slash"===i.type||"bos"===i.type,s=o&&("star"===o.type||"globstar"===o.type);if(!0===n.bash&&(!r||t[0]&&"/"!==t[0])){z({type:"star",value:j,output:""});continue}const a=T.braces>0&&("comma"===i.type||"brace"===i.type),c=O.length&&("pipe"===i.type||"paren"===i.type);if(!r&&"paren"!==i.type&&!a&&!c){z({type:"star",value:j,output:""});continue}for(;"/**"===t.slice(0,3);){const n=e[T.index+4];if(n&&"/"!==n)break;t=t.slice(3),D("/**",3)}if("bos"===i.type&&L()){P.type="globstar",P.value+=j,P.output=E(n),T.output=P.output,T.globstar=!0,D(j);continue}if("slash"===i.type&&"bos"!==i.prev.type&&!s&&L()){T.output=T.output.slice(0,-(i.output+P.output).length),i.output=`(?:${i.output}`,P.type="globstar",P.output=E(n)+(n.strictSlashes?")":"|$)"),P.value+=j,T.globstar=!0,T.output+=i.output+P.output,D(j);continue}if("slash"===i.type&&"bos"!==i.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";T.output=T.output.slice(0,-(i.output+P.output).length),i.output=`(?:${i.output}`,P.type="globstar",P.output=`${E(n)}${f}|${f}${e})`,P.value+=j,T.output+=i.output+P.output,T.globstar=!0,D(j+N()),z({type:"slash",value:"/",output:""});continue}if("bos"===i.type&&"/"===t[0]){P.type="globstar",P.value+=j,P.output=`(?:^|${f}|${E(n)}${f})`,T.output=P.output,T.globstar=!0,D(j+N()),z({type:"slash",value:"/",output:""});continue}T.output=T.output.slice(0,-P.output.length),P.type="globstar",P.output=E(n),P.value+=j,T.output+=P.output,T.globstar=!0,D(j);continue}const i={type:"star",value:j,output:R};!0!==n.bash?!P||"bracket"!==P.type&&"paren"!==P.type||!0!==n.regex?(T.index!==T.start&&"slash"!==P.type&&"dot"!==P.type||("dot"===P.type?(T.output+=x,P.output+=x):!0===n.dot?(T.output+=v,P.output+=v):(T.output+=S,P.output+=S),"*"!==I()&&(T.output+=m,P.output+=m)),z(i)):(i.output=j,z(i)):(i.output=".*?","bos"!==P.type&&"slash"!==P.type||(i.output=S+i.output),z(i))}for(;T.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(yl("closing","]"));T.output=fl.escapeLast(T.output,"["),U("brackets")}for(;T.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(yl("closing",")"));T.output=fl.escapeLast(T.output,"("),U("parens")}for(;T.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(yl("closing","}"));T.output=fl.escapeLast(T.output,"{"),U("braces")}if(!0===n.strictSlashes||"star"!==P.type&&"bracket"!==P.type||z({type:"maybe_slash",value:"",output:`${f}?`}),!0===T.backtrack){T.output="";for(const e of T.tokens)T.output+=null!=e.output?e.output:e.value,e.suffix&&(T.output+=e.suffix)}return T};_l.fastpaths=(e,t)=>{const n={...t},i="number"==typeof n.maxLength?Math.min(ml,n.maxLength):ml,o=e.length;if(o>i)throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${i}`);e=vl[e]||e;const r=fl.isWindows(t),{DOT_LITERAL:s,SLASH_LITERAL:a,ONE_CHAR:c,DOTS_SLASH:l,NO_DOT:p,NO_DOTS:u,NO_DOTS_SLASH:d,STAR:f,START_ANCHOR:m}=dl.globChars(r),h=n.dot?u:p,g=n.dot?d:p,x=n.capture?"":"?:";let v=!0===n.bash?".*?":f;n.capture&&(v=`(${v})`);const b=e=>!0===e.noglobstar?v:`(${x}(?:(?!${m}${e.dot?l:s}).)*?)`,y=e=>{switch(e){case"*":return`${h}${c}${v}`;case".*":return`${s}${c}${v}`;case"*.*":return`${h}${v}${s}${c}${v}`;case"*/*":return`${h}${v}${a}${c}${g}${v}`;case"**":return h+b(n);case"**/*":return`(?:${h}${b(n)}${a})?${g}${c}${v}`;case"**/*.*":return`(?:${h}${b(n)}${a})?${g}${v}${s}${c}${v}`;case"**/.*":return`(?:${h}${b(n)}${a})?${s}${c}${v}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=y(t[1]);if(!n)return;return n+s+t[2]}}},_=fl.removePrefix(e,{negated:!1,prefix:""});let w=y(_);return w&&!0!==n.strictSlashes&&(w+=`${a}?`),w};const wl=m,El=ul,Sl=_l,kl=Ic,Rl=Wc,Tl=(e,t,n=!1)=>{if(Array.isArray(e)){const i=e.map((e=>Tl(e,t,n))),o=e=>{for(const t of i){const n=t(e);if(n)return n}return!1};return o}const i=(o=e)&&"object"==typeof o&&!Array.isArray(o)&&e.tokens&&e.input;var o;if(""===e||"string"!=typeof e&&!i)throw new TypeError("Expected pattern to be a non-empty string");const r=t||{},s=kl.isWindows(t),a=i?Tl.compileRe(e,t):Tl.makeRe(e,t,!1,!0),c=a.state;delete a.state;let l=()=>!1;if(r.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};l=Tl(r.ignore,e,n)}const p=(n,i=!1)=>{const{isMatch:o,match:p,output:u}=Tl.test(n,a,t,{glob:e,posix:s}),d={glob:e,state:c,regex:a,posix:s,input:n,output:u,match:p,isMatch:o};return"function"==typeof r.onResult&&r.onResult(d),!1===o?(d.isMatch=!1,!!i&&d):l(n)?("function"==typeof r.onIgnore&&r.onIgnore(d),d.isMatch=!1,!!i&&d):("function"==typeof r.onMatch&&r.onMatch(d),!i||d)};return n&&(p.state=c),p};Tl.test=(e,t,n,{glob:i,posix:o}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const r=n||{},s=r.format||(o?kl.toPosixSlashes:null);let a=e===i,c=a&&s?s(e):e;return!1===a&&(c=s?s(e):e,a=c===i),!1!==a&&!0!==r.capture||(a=!0===r.matchBase||!0===r.basename?Tl.matchBase(e,t,n,o):t.exec(c)),{isMatch:Boolean(a),match:a,output:c}},Tl.matchBase=(e,t,n,i=kl.isWindows(n))=>(t instanceof RegExp?t:Tl.makeRe(t,n)).test(wl.basename(e)),Tl.isMatch=(e,t,n)=>Tl(t,n)(e),Tl.parse=(e,t)=>Array.isArray(e)?e.map((e=>Tl.parse(e,t))):Sl(e,{...t,fastpaths:!1}),Tl.scan=(e,t)=>El(e,t),Tl.compileRe=(e,t,n=!1,i=!1)=>{if(!0===n)return e.output;const o=t||{},r=o.contains?"":"^",s=o.contains?"":"$";let a=`${r}(?:${e.output})${s}`;e&&!0===e.negated&&(a=`^(?!${a}).*$`);const c=Tl.toRegex(a,t);return!0===i&&(c.state=e),c},Tl.makeRe=(e,t={},n=!1,i=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let o={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(o.output=Sl.fastpaths(e,t)),o.output||(o=Sl(e,t)),Tl.compileRe(o,t,n,i)},Tl.toRegex=(e,t)=>{try{const n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},Tl.constants=Rl;var Ol=Tl,Al=Lc.exports;Object.defineProperty(Al,"__esModule",{value:!0});const Cl=Ol,jl=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var n=e.length;if(n<=1)return e;var i="";if(n>4&&"\\"===e[3]){var o=e[2];"?"!==o&&"."!==o||"\\\\"!==e.slice(0,2)||(e=e.slice(2),i="//")}var r=e.split(/[/\\]+/);return!1!==t&&""===r[r.length-1]&&r.pop(),i+r.join("/")},Pl={returnIndex:!1},Ll=(e,t,n,i)=>{const o=Array.isArray(n),r=o?n[0]:n;if(!o&&"string"!=typeof r)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(r));const s=jl(r,!1);for(let e=0;e<t.length;e++){if((0,t[e])(s))return!!i&&-1}const a=o&&[s].concat(n.slice(1));for(let t=0;t<e.length;t++){const n=e[t];if(o?n(...a):n(s))return!i||t}return!!i&&-1},Il=(e,t,n=Pl)=>{if(null==e)throw new TypeError("anymatch: specify first argument");const i="boolean"==typeof n?{returnIndex:n}:n,o=i.returnIndex||!1,r=(s=e,Array.isArray(s)?s:[s]);var s;const a=r.filter((e=>"string"==typeof e&&"!"===e.charAt(0))).map((e=>e.slice(1))).map((e=>Cl(e,i))),c=r.filter((e=>"string"!=typeof e||"string"==typeof e&&"!"!==e.charAt(0))).map((e=>((e,t)=>{if("function"==typeof e)return e;if("string"==typeof e){const n=Cl(e,t);return t=>e===t||n(t)}return e instanceof RegExp?t=>e.test(t):e=>!1})(e,i)));return null==t?(e,t=!1)=>Ll(c,a,e,"boolean"==typeof t&&t):Ll(c,a,t,o)};Il.default=Il,Lc.exports=Il;var Nl=ye(Lc.exports);const Fl=p.PassThrough,Dl=Array.prototype.slice;var $l=function(){const e=[],t=Dl.call(arguments);let n=!1,i=t[t.length-1];i&&!Array.isArray(i)&&null==i.pipe?t.pop():i={};const o=!1!==i.end,r=!0===i.pipeError;null==i.objectMode&&(i.objectMode=!0);null==i.highWaterMark&&(i.highWaterMark=65536);const s=Fl(i);function a(){for(let t=0,n=arguments.length;t<n;t++)e.push(Ml(arguments[t],i));return c(),this}function c(){if(n)return;n=!0;let t=e.shift();if(!t)return void process.nextTick(l);Array.isArray(t)||(t=[t]);let i=t.length+1;function o(){--i>0||(n=!1,c())}function a(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),r&&e.removeListener("error",n),o()}function n(e){s.emit("error",e)}if(e._readableState.endEmitted)return o();e.on("merge2UnpipeEnd",t),e.on("end",t),r&&e.on("error",n),e.pipe(s,{end:!1}),e.resume()}for(let e=0;e<t.length;e++)a(t[e]);o()}function l(){n=!1,s.emit("queueDrain"),o&&s.end()}s.setMaxListeners(0),s.add=a,s.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")})),t.length&&a.apply(null,t);return s};function Ml(e,t){if(Array.isArray(e))for(let n=0,i=e.length;n<i;n++)e[n]=Ml(e[n],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(Fl(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}var Bl=ye($l),Ul={},zl={},Hl={};Object.defineProperty(Hl,"__esModule",{value:!0}),Hl.splitWhen=Hl.flatten=void 0,Hl.flatten=function(e){return e.reduce(((e,t)=>[].concat(e,t)),[])},Hl.splitWhen=function(e,t){const n=[[]];let i=0;for(const o of e)t(o)?(i++,n[i]=[]):n[i].push(o);return n};var Gl={};Object.defineProperty(Gl,"__esModule",{value:!0}),Gl.isEnoentCodeError=void 0,Gl.isEnoentCodeError=function(e){return"ENOENT"===e.code};var ql={};Object.defineProperty(ql,"__esModule",{value:!0}),ql.createDirentFromStats=void 0;let Wl=class{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}};ql.createDirentFromStats=function(e,t){return new Wl(e,t)};var Kl={};Object.defineProperty(Kl,"__esModule",{value:!0}),Kl.convertPosixPathToPattern=Kl.convertWindowsPathToPattern=Kl.convertPathToPattern=Kl.escapePosixPath=Kl.escapeWindowsPath=Kl.escape=Kl.removeLeadingDotSegment=Kl.makeAbsolute=Kl.unixify=void 0;const Vl=m,Yl="win32"===h.platform(),Ql=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,Zl=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,Jl=/^\\\\([.?])/,Xl=/\\(?![!()+@[\]{}])/g;function ep(e){return e.replace(Zl,"\\$2")}function tp(e){return e.replace(Ql,"\\$2")}function np(e){return ep(e).replace(Jl,"//$1").replace(Xl,"/")}function ip(e){return tp(e)}Kl.unixify=function(e){return e.replace(/\\/g,"/")},Kl.makeAbsolute=function(e,t){return Vl.resolve(e,t)},Kl.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e},Kl.escape=Yl?ep:tp,Kl.escapeWindowsPath=ep,Kl.escapePosixPath=tp,Kl.convertPathToPattern=Yl?np:ip,Kl.convertWindowsPathToPattern=np,Kl.convertPosixPathToPattern=ip;var op,rp={},sp=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1},ap={"{":"}","(":")","[":"]"},cp=function(e){if("!"===e[0])return!0;for(var t=0,n=-2,i=-2,o=-2,r=-2,s=-2;t<e.length;){if("*"===e[t])return!0;if("?"===e[t+1]&&/[\].+)]/.test(e[t]))return!0;if(-1!==i&&"["===e[t]&&"]"!==e[t+1]&&(i<t&&(i=e.indexOf("]",t)),i>t)){if(-1===s||s>i)return!0;if(-1===(s=e.indexOf("\\",t))||s>i)return!0}if(-1!==o&&"{"===e[t]&&"}"!==e[t+1]&&(o=e.indexOf("}",t))>t&&(-1===(s=e.indexOf("\\",t))||s>o))return!0;if(-1!==r&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(r=e.indexOf(")",t))>t&&(-1===(s=e.indexOf("\\",t))||s>r))return!0;if(-1!==n&&"("===e[t]&&"|"!==e[t+1]&&(n<t&&(n=e.indexOf("|",t)),-1!==n&&")"!==e[n+1]&&(r=e.indexOf(")",n))>n&&(-1===(s=e.indexOf("\\",n))||s>r)))return!0;if("\\"===e[t]){var a=e[t+1];t+=2;var c=ap[a];if(c){var l=e.indexOf(c,t);-1!==l&&(t=l+1)}if("!"===e[t])return!0}else t++}return!1},lp=function(e){if("!"===e[0])return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if("\\"===e[t]){var n=e[t+1];t+=2;var i=ap[n];if(i){var o=e.indexOf(i,t);-1!==o&&(t=o+1)}if("!"===e[t])return!0}else t++}return!1},pp=function(e,t){if("string"!=typeof e||""===e)return!1;if(sp(e))return!0;var n=cp;return t&&!1===t.strict&&(n=lp),n(e)},up=m.posix.dirname,dp="win32"===h.platform(),fp=/\\/g,mp=/[\{\[].*[\}\]]$/,hp=/(^|[^\\])([\{\[]|\([^\)]+$)/,gp=/\\([\!\*\?\|\[\]\(\)\{\}])/g,xp={};
|
|
9
9
|
/*!
|
|
10
10
|
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
11
11
|
*
|
|
12
12
|
* Copyright (c) 2014-2016, Jon Schlinkert.
|
|
13
13
|
* Licensed under the MIT License.
|
|
14
|
-
*/(
|
|
14
|
+
*/(op=xp).isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),op.find=(e,t)=>e.nodes.find((e=>e.type===t)),op.exceedsLimit=(e,t,n=1,i)=>!1!==i&&!(!op.isInteger(e)||!op.isInteger(t))&&(Number(t)-Number(e))/Number(n)>=i,op.escapeNode=(e,t=0,n)=>{const i=e.nodes[t];i&&(n&&i.type===n||"open"===i.type||"close"===i.type)&&!0!==i.escaped&&(i.value="\\"+i.value,i.escaped=!0)},op.encloseBrace=e=>"brace"===e.type&&e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0),op.isInvalidBrace=e=>!("brace"!==e.type||!0!==e.invalid&&!e.dollar&&(e.commas>>0+e.ranges>>0!=0&&!0===e.open&&!0===e.close||(e.invalid=!0,0))),op.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,op.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),op.flatten=(...e)=>{const t=[],n=e=>{for(let i=0;i<e.length;i++){const o=e[i];Array.isArray(o)?n(o):void 0!==o&&t.push(o)}return t};return n(e),t};const vp=xp;var bp=(e,t={})=>{const n=(e,i={})=>{const o=t.escapeInvalid&&vp.isInvalidBrace(i),r=!0===e.invalid&&!0===t.escapeInvalid;let s="";if(e.value)return(o||r)&&vp.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(const t of e.nodes)s+=n(t);return s};return n(e)};
|
|
15
15
|
/*!
|
|
16
16
|
* is-number <https://github.com/jonschlinkert/is-number>
|
|
17
17
|
*
|
|
@@ -24,13 +24,21 @@ import e from"node:path";import t from"node:fs/promises";import n,{createWriteSt
|
|
|
24
24
|
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
25
25
|
* Released under the MIT License.
|
|
26
26
|
*/
|
|
27
|
-
const
|
|
27
|
+
const yp=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))},_p=(e,t,n)=>{if(!1===yp(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===yp(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...n};"boolean"==typeof i.strictZeros&&(i.relaxZeros=!1===i.strictZeros);let o=e+":"+t+"="+String(i.relaxZeros)+String(i.shorthand)+String(i.capture)+String(i.wrap);if(_p.cache.hasOwnProperty(o))return _p.cache[o].result;let r=Math.min(e,t),s=Math.max(e,t);if(1===Math.abs(r-s)){let n=e+"|"+t;return i.capture?`(${n})`:!1===i.wrap?n:`(?:${n})`}let a=jp(e)||jp(t),c={min:e,max:t,a:r,b:s},l=[],p=[];if(a&&(c.isPadded=a,c.maxLen=String(c.max).length),r<0){p=Ep(s<0?Math.abs(s):1,Math.abs(r),c,i),r=c.a=0}return s>=0&&(l=Ep(r,s,c,i)),c.negatives=p,c.positives=l,c.result=function(e,t,n){let i=Sp(e,t,"-",!1)||[],o=Sp(t,e,"",!1)||[],r=Sp(e,t,"-?",!0)||[];return i.concat(r).concat(o).join("|")}(p,l),!0===i.capture?c.result=`(${c.result})`:!1!==i.wrap&&l.length+p.length>1&&(c.result=`(?:${c.result})`),_p.cache[o]=c,c.result};function wp(e,t,n){if(e===t)return{pattern:e,count:[],digits:0};let i=function(e,t){let n=[];for(let i=0;i<e.length;i++)n.push([e[i],t[i]]);return n}(e,t),o=i.length,r="",s=0;for(let e=0;e<o;e++){let[t,n]=i[e];t===n?r+=t:"0"!==t||"9"!==n?r+=Cp(t,n):s++}return s&&(r+=!0===n.shorthand?"\\d":"[0-9]"),{pattern:r,count:[s],digits:o}}function Ep(e,t,n,i){let o,r=function(e,t){let n=1,i=1,o=Tp(e,n),r=new Set([t]);for(;e<=o&&o<=t;)r.add(o),n+=1,o=Tp(e,n);for(o=Op(t+1,i)-1;e<o&&o<=t;)r.add(o),i+=1,o=Op(t+1,i)-1;return r=[...r],r.sort(kp),r}(e,t),s=[],a=e;for(let e=0;e<r.length;e++){let t=r[e],c=wp(String(a),String(t),i),l="";n.isPadded||!o||o.pattern!==c.pattern?(n.isPadded&&(l=Pp(t,n,i)),c.string=l+c.pattern+Ap(c.count),s.push(c),a=t+1,o=c):(o.count.length>1&&o.count.pop(),o.count.push(c.count[0]),o.string=o.pattern+Ap(o.count),a=t+1)}return s}function Sp(e,t,n,i,o){let r=[];for(let o of e){let{string:e}=o;i||Rp(t,"string",e)||r.push(n+e),i&&Rp(t,"string",e)&&r.push(n+e)}return r}function kp(e,t){return e>t?1:t>e?-1:0}function Rp(e,t,n){return e.some((e=>e[t]===n))}function Tp(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function Op(e,t){return e-e%Math.pow(10,t)}function Ap(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function Cp(e,t,n){return`[${e}${t-e==1?"":"-"}${t}]`}function jp(e){return/^-?(0+)\d/.test(e)}function Pp(e,t,n){if(!t.isPadded)return e;let i=Math.abs(t.maxLen-String(e).length),o=!1!==n.relaxZeros;switch(i){case 0:return"";case 1:return o?"0?":"0";case 2:return o?"0{0,2}":"00";default:return o?`0{0,${i}}`:`0{${i}}`}}_p.cache={},_p.clearCache=()=>_p.cache={};
|
|
28
28
|
/*!
|
|
29
29
|
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
30
30
|
*
|
|
31
31
|
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
32
32
|
* Licensed under the MIT License.
|
|
33
33
|
*/
|
|
34
|
-
const jl=d,Il=wl,Nl=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),Fl=e=>"number"==typeof e||"string"==typeof e&&""!==e,Dl=e=>Number.isInteger(+e),Ml=e=>{let t=`${e}`,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},$l=(e,t,n)=>{if(t>0){let n="-"===e[0]?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return!1===n?String(e):e},Bl=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return n?"-"+e:e},Ul=(e,t,n,i)=>{if(n)return Il(e,t,{wrap:!1,...i});let s=String.fromCharCode(e);return e===t?s:`[${s}-${String.fromCharCode(t)}]`},zl=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,i=n.capture?"":"?:";return t?`(${i}${e.join("|")})`:e.join("|")}return Il(e,t,n)},Hl=(...e)=>new RangeError("Invalid range arguments: "+jl.inspect(...e)),Gl=(e,t,n)=>{if(!0===n.strictRanges)throw Hl([e,t]);return[]},ql=(e,t,n=1,i={})=>{let s=Number(e),o=Number(t);if(!Number.isInteger(s)||!Number.isInteger(o)){if(!0===i.strictRanges)throw Hl([e,t]);return[]}0===s&&(s=0),0===o&&(o=0);let a=s>o,r=String(e),c=String(t),p=String(n);n=Math.max(Math.abs(n),1);let l=Ml(r)||Ml(c)||Ml(p),u=l?Math.max(r.length,c.length,p.length):0,d=!1===l&&!1===((e,t,n)=>"string"==typeof e||"string"==typeof t||!0===n.stringify)(e,t,i),m=i.transform||(e=>t=>!0===e?Number(t):String(t))(d);if(i.toRegex&&1===n)return Ul(Bl(e,u),Bl(t,u),!0,i);let f={negatives:[],positives:[]},h=[],x=0;for(;a?s>=o:s<=o;)!0===i.toRegex&&n>1?f[(g=s)<0?"negatives":"positives"].push(Math.abs(g)):h.push($l(m(s,x),u,d)),s=a?s-n:s+n,x++;var g;return!0===i.toRegex?n>1?((e,t,n)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0)),e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let i,s=t.capture?"":"?:",o="",a="";return e.positives.length&&(o=e.positives.map((e=>Bl(String(e),n))).join("|")),e.negatives.length&&(a=`-(${s}${e.negatives.map((e=>Bl(String(e),n))).join("|")})`),i=o&&a?`${o}|${a}`:o||a,t.wrap?`(${s}${i})`:i})(f,i,u):zl(h,null,{wrap:!1,...i}):h},Wl=(e,t,n,i={})=>{if(null==t&&Fl(e))return[e];if(!Fl(e)||!Fl(t))return Gl(e,t,i);if("function"==typeof n)return Wl(e,t,1,{transform:n});if(Nl(n))return Wl(e,t,0,n);let s={...i};return!0===s.capture&&(s.wrap=!0),n=n||s.step||1,Dl(n)?Dl(e)&&Dl(t)?ql(e,t,n,s):((e,t,n=1,i={})=>{if(!Dl(e)&&e.length>1||!Dl(t)&&t.length>1)return Gl(e,t,i);let s=i.transform||(e=>String.fromCharCode(e)),o=`${e}`.charCodeAt(0),a=`${t}`.charCodeAt(0),r=o>a,c=Math.min(o,a),p=Math.max(o,a);if(i.toRegex&&1===n)return Ul(c,p,!1,i);let l=[],u=0;for(;r?o>=a:o<=a;)l.push(s(o,u)),o=r?o-n:o+n,u++;return!0===i.toRegex?zl(l,null,{wrap:!1,options:i}):l})(e,t,Math.max(Math.abs(n),1),s):null==n||Nl(n)?Wl(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,s)};const Kl=Wl,Vl=gl;var Yl=(e,t={})=>{const n=(e,i={})=>{const s=Vl.isInvalidBrace(i),o=!0===e.invalid&&!0===t.escapeInvalid,a=!0===s||!0===o,r=!0===t.escapeInvalid?"\\":"";let c="";if(!0===e.isOpen)return r+e.value;if(!0===e.isClose)return console.log("node.isClose",r,e.value),r+e.value;if("open"===e.type)return a?r+e.value:"(";if("close"===e.type)return a?r+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":a?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){const n=Vl.reduce(e.nodes),i=Kl(...n,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(0!==i.length)return n.length>1&&i.length>1?`(${i})`:i}if(e.nodes)for(const t of e.nodes)c+=n(t,e);return c};return n(e)};const Ql=Wl,Xl=bl,Jl=gl,Zl=(e="",t="",n=!1)=>{const i=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?Jl.flatten(t).map((e=>`{${e}}`)):t;for(const s of e)if(Array.isArray(s))for(const e of s)i.push(Zl(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),i.push(Array.isArray(e)?Zl(s,e,n):s+e);return Jl.flatten(i)};var eu=(e,t={})=>{const n=void 0===t.rangeLimit?1e3:t.rangeLimit,i=(e,s={})=>{e.queue=[];let o=s,a=s.queue;for(;"brace"!==o.type&&"root"!==o.type&&o.parent;)o=o.parent,a=o.queue;if(e.invalid||e.dollar)return void a.push(Zl(a.pop(),Xl(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void a.push(Zl(a.pop(),["{}"]));if(e.nodes&&e.ranges>0){const i=Jl.reduce(e.nodes);if(Jl.exceedsLimit(...i,t.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let s=Ql(...i,t);return 0===s.length&&(s=Xl(e,t)),a.push(Zl(a.pop(),s)),void(e.nodes=[])}const r=Jl.encloseBrace(e);let c=e.queue,p=e;for(;"brace"!==p.type&&"root"!==p.type&&p.parent;)p=p.parent,c=p.queue;for(let t=0;t<e.nodes.length;t++){const n=e.nodes[t];"comma"!==n.type||"brace"!==e.type?"close"!==n.type?n.value&&"open"!==n.type?c.push(Zl(c.pop(),n.value)):n.nodes&&i(n,e):a.push(Zl(a.pop(),c,r)):(1===t&&c.push(""),c.push(""))}return c};return Jl.flatten(i(e))};const tu=bl,{MAX_LENGTH:nu,CHAR_BACKSLASH:iu,CHAR_BACKTICK:su,CHAR_COMMA:ou,CHAR_DOT:au,CHAR_LEFT_PARENTHESES:ru,CHAR_RIGHT_PARENTHESES:cu,CHAR_LEFT_CURLY_BRACE:pu,CHAR_RIGHT_CURLY_BRACE:lu,CHAR_LEFT_SQUARE_BRACKET:uu,CHAR_RIGHT_SQUARE_BRACKET:du,CHAR_DOUBLE_QUOTE:mu,CHAR_SINGLE_QUOTE:fu,CHAR_NO_BREAK_SPACE:hu,CHAR_ZERO_WIDTH_NOBREAK_SPACE:xu}={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"};var gu=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");const n=t||{},i="number"==typeof n.maxLength?Math.min(nu,n.maxLength):nu;if(e.length>i)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${i})`);const s={type:"root",input:e,nodes:[]},o=[s];let a=s,r=s,c=0;const p=e.length;let l,u=0,d=0;const m=()=>e[u++],f=e=>{if("text"===e.type&&"dot"===r.type&&(r.type="text"),!r||"text"!==r.type||"text"!==e.type)return a.nodes.push(e),e.parent=a,e.prev=r,r=e,e;r.value+=e.value};for(f({type:"bos"});u<p;)if(a=o[o.length-1],l=m(),l!==xu&&l!==hu)if(l!==iu)if(l!==du)if(l!==uu)if(l!==ru)if(l!==cu)if(l!==mu&&l!==fu&&l!==su)if(l!==pu)if(l!==lu)if(l===ou&&d>0){if(a.ranges>0){a.ranges=0;const e=a.nodes.shift();a.nodes=[e,{type:"text",value:tu(a)}]}f({type:"comma",value:l}),a.commas++}else if(l===au&&d>0&&0===a.commas){const e=a.nodes;if(0===d||0===e.length){f({type:"text",value:l});continue}if("dot"===r.type){if(a.range=[],r.value+=l,r.type="range",3!==a.nodes.length&&5!==a.nodes.length){a.invalid=!0,a.ranges=0,r.type="text";continue}a.ranges++,a.args=[];continue}if("range"===r.type){e.pop();const t=e[e.length-1];t.value+=r.value+l,r=t,a.ranges--;continue}f({type:"dot",value:l})}else f({type:"text",value:l});else{if("brace"!==a.type){f({type:"text",value:l});continue}const e="close";a=o.pop(),a.close=!0,f({type:e,value:l}),d--,a=o[o.length-1]}else{d++;const e=r.value&&"$"===r.value.slice(-1)||!0===a.dollar;a=f({type:"brace",open:!0,close:!1,dollar:e,depth:d,commas:0,ranges:0,nodes:[]}),o.push(a),f({type:"open",value:l})}else{const e=l;let n;for(!0!==t.keepQuotes&&(l="");u<p&&(n=m());)if(n!==iu){if(n===e){!0===t.keepQuotes&&(l+=n);break}l+=n}else l+=n+m();f({type:"text",value:l})}else{if("paren"!==a.type){f({type:"text",value:l});continue}a=o.pop(),f({type:"text",value:l}),a=o[o.length-1]}else a=f({type:"paren",nodes:[]}),o.push(a),f({type:"text",value:l});else{let e;for(c++;u<p&&(e=m());)if(l+=e,e!==uu)if(e!==iu){if(e===du&&(c--,0===c))break}else l+=m();else c++;f({type:"text",value:l})}else f({type:"text",value:"\\"+l});else f({type:"text",value:(t.keepEscaping?l:"")+m()});do{if(a=o.pop(),"root"!==a.type){a.nodes.forEach((e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));const e=o[o.length-1],t=e.nodes.indexOf(a);e.nodes.splice(t,1,...a.nodes)}}while(o.length>0);return f({type:"eos"}),s};const vu=bl,bu=Yl,yu=eu,wu=gu,_u=(e,t={})=>{let n=[];if(Array.isArray(e))for(const i of e){const e=_u.create(i,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(_u.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};_u.parse=(e,t={})=>wu(e,t),_u.stringify=(e,t={})=>vu("string"==typeof e?_u.parse(e,t):e,t),_u.compile=(e,t={})=>("string"==typeof e&&(e=_u.parse(e,t)),bu(e,t)),_u.expand=(e,t={})=>{"string"==typeof e&&(e=_u.parse(e,t));let n=yu(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},_u.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?_u.compile(e,t):_u.expand(e,t);const Eu=d,Su=_u,ku=Op,Ru=Ic,Tu=e=>""===e||"./"===e,Ou=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let i=new Set,s=new Set,o=new Set,a=0,r=e=>{o.add(e.output),n&&n.onResult&&n.onResult(e)};for(let o=0;o<t.length;o++){let c=ku(String(t[o]),{...n,onResult:r},!0),p=c.state.negated||c.state.negatedExtglob;p&&a++;for(let t of e){let e=c(t,!0);(p?!e.isMatch:e.isMatch)&&(p?i.add(e.output):(i.delete(e.output),s.add(e.output)))}}let c=(a===t.length?[...o]:[...s]).filter((e=>!i.has(e)));if(n&&0===c.length){if(!0===n.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===n.nonull||!0===n.nullglob)return n.unescape?t.map((e=>e.replace(/\\/g,""))):t}return c};Ou.match=Ou,Ou.matcher=(e,t)=>ku(e,t),Ou.any=Ou.isMatch=(e,t,n)=>ku(t,n)(e),Ou.not=(e,t,n={})=>{t=[].concat(t).map(String);let i=new Set,s=[],o=new Set(Ou(e,t,{...n,onResult:e=>{n.onResult&&n.onResult(e),s.push(e.output)}}));for(let e of s)o.has(e)||i.add(e);return[...i]},Ou.contains=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Eu.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>Ou.contains(e,t,n)));if("string"==typeof t){if(Tu(e)||Tu(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return Ou.isMatch(e,t,{...n,contains:!0})},Ou.matchKeys=(e,t,n)=>{if(!Ru.isObject(e))throw new TypeError("Expected the first argument to be an object");let i=Ou(Object.keys(e),t,n),s={};for(let t of i)s[t]=e[t];return s},Ou.some=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=ku(String(e),n);if(i.some((e=>t(e))))return!0}return!1},Ou.every=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=ku(String(e),n);if(!i.every((e=>t(e))))return!1}return!0},Ou.all=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Eu.inspect(e)}"`);return[].concat(t).every((t=>ku(t,n)(e)))},Ou.capture=(e,t,n)=>{let i=Ru.isWindows(n),s=ku.makeRe(String(e),{...n,capture:!0}).exec(i?Ru.toPosixSlashes(t):t);if(s)return s.slice(1).map((e=>void 0===e?"":e))},Ou.makeRe=(...e)=>ku.makeRe(...e),Ou.scan=(...e)=>ku.scan(...e),Ou.parse=(e,t)=>{let n=[];for(let i of[].concat(e||[]))for(let e of Su(String(i),t))n.push(ku.parse(e,t));return n},Ou.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:Su(e,t)},Ou.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return Ou.braces(e,{...t,expand:!0})};var Au=Ou;Object.defineProperty(ol,"__esModule",{value:!0}),ol.removeDuplicateSlashes=ol.matchAny=ol.convertPatternsToRe=ol.makeRe=ol.getPatternParts=ol.expandBraceExpansion=ol.expandPatternsWithBraceExpansion=ol.isAffectDepthOfReadingPattern=ol.endsWithSlashGlobStar=ol.hasGlobStar=ol.getBaseDirectory=ol.isPatternRelatedToParentDirectory=ol.getPatternsOutsideCurrentDirectory=ol.getPatternsInsideCurrentDirectory=ol.getPositivePatterns=ol.getNegativePatterns=ol.isPositivePattern=ol.isNegativePattern=ol.convertToNegativePattern=ol.convertToPositivePattern=ol.isDynamicPattern=ol.isStaticPattern=void 0;const Cu=f,Pu=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&dl&&e.indexOf("/")<0&&(e=e.replace(ml,"/")),fl.test(e)&&(e+="/"),e+="a";do{e=ul(e)}while(ll(e)||hl.test(e));return e.replace(xl,"$1")},Lu=Au,ju="**",Iu="\\",Nu=/[*?]|^!/,Fu=/\[[^[]*]/,Du=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,Mu=/[!*+?@]\([^(]*\)/,$u=/,|\.\./,Bu=/(?!^)\/{2,}/g;function Uu(e,t={}){return!zu(e,t)}function zu(e,t={}){return""!==e&&(!(!1!==t.caseSensitiveMatch&&!e.includes(Iu))||(!!(Nu.test(e)||Fu.test(e)||Du.test(e))||(!(!1===t.extglob||!Mu.test(e))||!(!1===t.braceExpansion||!function(e){const t=e.indexOf("{");if(-1===t)return!1;const n=e.indexOf("}",t+1);if(-1===n)return!1;const i=e.slice(t,n);return $u.test(i)}(e)))))}function Hu(e){return e.startsWith("!")&&"("!==e[1]}function Gu(e){return!Hu(e)}function qu(e){return e.startsWith("..")||e.startsWith("./..")}function Wu(e){return e.endsWith("/"+ju)}function Ku(e){const t=Lu.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort(((e,t)=>e.length-t.length)),t.filter((e=>""!==e))}function Vu(e,t){return Lu.makeRe(e,t)}ol.isStaticPattern=Uu,ol.isDynamicPattern=zu,ol.convertToPositivePattern=function(e){return Hu(e)?e.slice(1):e},ol.convertToNegativePattern=function(e){return"!"+e},ol.isNegativePattern=Hu,ol.isPositivePattern=Gu,ol.getNegativePatterns=function(e){return e.filter(Hu)},ol.getPositivePatterns=function(e){return e.filter(Gu)},ol.getPatternsInsideCurrentDirectory=function(e){return e.filter((e=>!qu(e)))},ol.getPatternsOutsideCurrentDirectory=function(e){return e.filter(qu)},ol.isPatternRelatedToParentDirectory=qu,ol.getBaseDirectory=function(e){return Pu(e,{flipBackslashes:!1})},ol.hasGlobStar=function(e){return e.includes(ju)},ol.endsWithSlashGlobStar=Wu,ol.isAffectDepthOfReadingPattern=function(e){const t=Cu.basename(e);return Wu(e)||Uu(t)},ol.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat(Ku(t))),[])},ol.expandBraceExpansion=Ku,ol.getPatternParts=function(e,t){let{parts:n}=Lu.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===n.length&&(n=[e]),n[0].startsWith("/")&&(n[0]=n[0].slice(1),n.unshift("")),n},ol.makeRe=Vu,ol.convertPatternsToRe=function(e,t){return e.map((e=>Vu(e,t)))},ol.matchAny=function(e,t){return t.some((t=>t.test(e)))},ol.removeDuplicateSlashes=function(e){return e.replace(Bu,"/")};var Yu={};Object.defineProperty(Yu,"__esModule",{value:!0}),Yu.merge=void 0;const Qu=Mp;function Xu(e){e.forEach((e=>e.emit("close")))}Yu.merge=function(e){const t=Qu(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>Xu(e))),t.once("end",(()=>Xu(e))),t};var Ju={};Object.defineProperty(Ju,"__esModule",{value:!0}),Ju.isEmpty=Ju.isString=void 0,Ju.isString=function(e){return"string"==typeof e},Ju.isEmpty=function(e){return""===e},Object.defineProperty(zp,"__esModule",{value:!0}),zp.string=zp.stream=zp.pattern=zp.path=zp.fs=zp.errno=zp.array=void 0;const Zu=Hp;zp.array=Zu;const ed=Gp;zp.errno=ed;const td=qp;zp.fs=td;const nd=Kp;zp.path=nd;const id=ol;zp.pattern=id;const sd=Yu;zp.stream=sd;const od=Ju;zp.string=od,Object.defineProperty(Up,"__esModule",{value:!0}),Up.convertPatternGroupToTask=Up.convertPatternGroupsToTasks=Up.groupPatternsByBaseDirectory=Up.getNegativePatternsAsPositive=Up.getPositivePatterns=Up.convertPatternsToTasks=Up.generate=void 0;const ad=zp;function rd(e,t){let n=e;return t.braceExpansion&&(n=ad.pattern.expandPatternsWithBraceExpansion(n)),t.baseNameMatch&&(n=n.map((e=>e.includes("/")?e:`**/${e}`))),n.map((e=>ad.pattern.removeDuplicateSlashes(e)))}function cd(e,t,n){const i=[],s=ad.pattern.getPatternsOutsideCurrentDirectory(e),o=ad.pattern.getPatternsInsideCurrentDirectory(e),a=ud(s),r=ud(o);return i.push(...dd(a,t,n)),"."in r?i.push(md(".",o,t,n)):i.push(...dd(r,t,n)),i}function pd(e){return ad.pattern.getPositivePatterns(e)}function ld(e,t){return ad.pattern.getNegativePatterns(e).concat(t).map(ad.pattern.convertToPositivePattern)}function ud(e){return e.reduce(((e,t)=>{const n=ad.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e}),{})}function dd(e,t,n){return Object.keys(e).map((i=>md(i,e[i],t,n)))}function md(e,t,n,i){return{dynamic:i,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(ad.pattern.convertToNegativePattern))}}Up.generate=function(e,t){const n=rd(e,t),i=rd(t.ignore,t),s=pd(n),o=ld(n,i),a=s.filter((e=>ad.pattern.isStaticPattern(e,t))),r=s.filter((e=>ad.pattern.isDynamicPattern(e,t))),c=cd(a,o,!1),p=cd(r,o,!0);return c.concat(p)},Up.convertPatternsToTasks=cd,Up.getPositivePatterns=pd,Up.getNegativePatternsAsPositive=ld,Up.groupPatternsByBaseDirectory=ud,Up.convertPatternGroupsToTasks=dd,Up.convertPatternGroupToTask=md;var fd={},hd={},xd={},gd={},vd={},bd={},yd={},wd={},_d={};function Ed(e,t){e(t)}function Sd(e,t){e(null,t)}Object.defineProperty(_d,"__esModule",{value:!0}),_d.read=void 0,_d.read=function(e,t,n){t.fs.lstat(e,((i,s)=>{null===i?s.isSymbolicLink()&&t.followSymbolicLink?t.fs.stat(e,((e,i)=>{if(null!==e)return t.throwErrorOnBrokenSymbolicLink?void Ed(n,e):void Sd(n,s);t.markSymbolicLink&&(i.isSymbolicLink=()=>!0),Sd(n,i)})):Sd(n,s):Ed(n,i)}))};var kd={};Object.defineProperty(kd,"__esModule",{value:!0}),kd.read=void 0,kd.read=function(e,t){const n=t.fs.lstatSync(e);if(!n.isSymbolicLink()||!t.followSymbolicLink)return n;try{const n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return n;throw e}};var Rd={},Td={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;const t=c;e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}}(Td),Object.defineProperty(Rd,"__esModule",{value:!0});const Od=Td;Rd.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Od.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(wd,"__esModule",{value:!0}),wd.statSync=wd.stat=wd.Settings=void 0;const Ad=_d,Cd=kd,Pd=Rd;function Ld(e={}){return e instanceof Pd.default?e:new Pd.default(e)}
|
|
35
|
-
/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */let
|
|
36
|
-
/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */const Nd="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:be):e=>(jd||(jd=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)));var Fd={};Object.defineProperty(Fd,"__esModule",{value:!0}),Fd.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const Dd=process.versions.node.split(".");if(void 0===Dd[0]||void 0===Dd[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const Md=Number.parseInt(Dd[0],10),$d=Number.parseInt(Dd[1],10),Bd=Md>10,Ud=10===Md&&$d>=10;Fd.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Bd||Ud;var zd={},Hd={};Object.defineProperty(Hd,"__esModule",{value:!0}),Hd.createDirentFromStats=void 0;class Gd{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}Hd.createDirentFromStats=function(e,t){return new Gd(e,t)},Object.defineProperty(zd,"__esModule",{value:!0}),zd.fs=void 0;const qd=Hd;zd.fs=qd;var Wd={};Object.defineProperty(Wd,"__esModule",{value:!0}),Wd.joinPathSegments=void 0,Wd.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t},Object.defineProperty(yd,"__esModule",{value:!0}),yd.readdir=yd.readdirWithFileTypes=yd.read=void 0;const Kd=wd,Vd=Id,Yd=Fd,Qd=zd,Xd=Wd;function Jd(e,t,n){t.fs.readdir(e,{withFileTypes:!0},((i,s)=>{if(null!==i)return void em(n,i);const o=s.map((n=>({dirent:n,name:n.name,path:Xd.joinPathSegments(e,n.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return void tm(n,o);const a=o.map((e=>function(e,t){return n=>{e.dirent.isSymbolicLink()?t.fs.stat(e.path,((i,s)=>{if(null!==i)return t.throwErrorOnBrokenSymbolicLink?void n(i):void n(null,e);e.dirent=Qd.fs.createDirentFromStats(e.name,s),n(null,e)})):n(null,e)}}(e,t)));Vd(a,((e,t)=>{null===e?tm(n,t):em(n,e)}))}))}function Zd(e,t,n){t.fs.readdir(e,((i,s)=>{if(null!==i)return void em(n,i);const o=s.map((n=>{const i=Xd.joinPathSegments(e,n,t.pathSegmentSeparator);return e=>{Kd.stat(i,t.fsStatSettings,((s,o)=>{if(null!==s)return void e(s);const a={name:n,path:i,dirent:Qd.fs.createDirentFromStats(n,o)};t.stats&&(a.stats=o),e(null,a)}))}}));Vd(o,((e,t)=>{null===e?tm(n,t):em(n,e)}))}))}function em(e,t){e(t)}function tm(e,t){e(null,t)}yd.read=function(e,t,n){t.stats||!Yd.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Zd(e,t,n):Jd(e,t,n)},yd.readdirWithFileTypes=Jd,yd.readdir=Zd;var nm={};Object.defineProperty(nm,"__esModule",{value:!0}),nm.readdir=nm.readdirWithFileTypes=nm.read=void 0;const im=wd,sm=Fd,om=zd,am=Wd;function rm(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((n=>{const i={dirent:n,name:n.name,path:am.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(i.path);i.dirent=om.fs.createDirentFromStats(i.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return i}))}function cm(e,t){return t.fs.readdirSync(e).map((n=>{const i=am.joinPathSegments(e,n,t.pathSegmentSeparator),s=im.statSync(i,t.fsStatSettings),o={name:n,path:i,dirent:om.fs.createDirentFromStats(n,s)};return t.stats&&(o.stats=s),o}))}nm.read=function(e,t){return!t.stats&&sm.IS_SUPPORT_READDIR_WITH_FILE_TYPES?rm(e,t):cm(e,t)},nm.readdirWithFileTypes=rm,nm.readdir=cm;var pm={},lm={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;const t=c;e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}}(lm),Object.defineProperty(pm,"__esModule",{value:!0});const um=f,dm=wd,mm=lm;pm.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=mm.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,um.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new dm.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(bd,"__esModule",{value:!0}),bd.Settings=bd.scandirSync=bd.scandir=void 0;const fm=yd,hm=nm,xm=pm;function gm(e={}){return e instanceof xm.default?e:new xm.default(e)}bd.Settings=xm.default,bd.scandir=function(e,t,n){"function"!=typeof t?fm.read(e,gm(t),n):fm.read(e,gm(),t)},bd.scandirSync=function(e,t){const n=gm(t);return hm.read(e,n)};var vm={exports:{}};var bm=function(e){var t=new e,n=t;return{get:function(){var i=t;return i.next?t=i.next:(t=new e,n=t),i.next=null,i},release:function(e){n.next=e,n=e}}};function ym(e,t,n){if("function"==typeof e&&(n=t,t=e,e=null),!(n>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var i=bm(_m),s=null,o=null,a=0,r=null,c={push:function(l,u){var d=i.get();d.context=e,d.release=p,d.value=l,d.callback=u||wm,d.errorHandler=r,a>=n||c.paused?o?(o.next=d,o=d):(s=d,o=d,c.saturated()):(a++,t.call(e,d.value,d.worked))},drain:wm,saturated:wm,pause:function(){c.paused=!0},paused:!1,get concurrency(){return n},set concurrency(e){if(!(e>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(n=e,!c.paused)for(;s&&a<n;)a++,p()},running:function(){return a},resume:function(){if(!c.paused)return;if(c.paused=!1,null===s)return a++,void p();for(;s&&a<n;)a++,p()},idle:function(){return 0===a&&0===c.length()},length:function(){var e=s,t=0;for(;e;)e=e.next,t++;return t},getQueue:function(){var e=s,t=[];for(;e;)t.push(e.value),e=e.next;return t},unshift:function(l,u){var d=i.get();d.context=e,d.release=p,d.value=l,d.callback=u||wm,d.errorHandler=r,a>=n||c.paused?s?(d.next=s,s=d):(s=d,o=d,c.saturated()):(a++,t.call(e,d.value,d.worked))},empty:wm,kill:function(){s=null,o=null,c.drain=wm},killAndDrain:function(){s=null,o=null,c.drain(),c.drain=wm},error:function(e){r=e}};return c;function p(r){r&&i.release(r);var p=s;p&&a<=n?c.paused?a--:(o===s&&(o=null),s=p.next,p.next=null,t.call(e,p.value,p.worked),null===o&&c.empty()):0==--a&&c.drain()}}function wm(){}function _m(){this.value=null,this.callback=wm,this.next=null,this.release=wm,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,n){var i=e.callback,s=e.errorHandler,o=e.value;e.value=null,e.callback=wm,e.errorHandler&&s(t,o),i.call(e.context,t,n),e.release(e)}}vm.exports=ym,vm.exports.promise=function(e,t,n){"function"==typeof e&&(n=t,t=e,e=null);var i=ym(e,(function(e,n){t.call(this,e).then((function(e){n(null,e)}),n)}),n),s=i.push,o=i.unshift;return i.push=function(e){var t=new Promise((function(t,n){s(e,(function(e,i){e?n(e):t(i)}))}));return t.catch(wm),t},i.unshift=function(e){var t=new Promise((function(t,n){o(e,(function(e,i){e?n(e):t(i)}))}));return t.catch(wm),t},i.drained=function(){if(i.idle())return new Promise((function(e){e()}));var e=i.drain,t=new Promise((function(t){i.drain=function(){e(),t()}}));return t},i};var Em=vm.exports,Sm={};Object.defineProperty(Sm,"__esModule",{value:!0}),Sm.joinPathSegments=Sm.replacePathSegmentSeparator=Sm.isAppliedFilter=Sm.isFatalError=void 0,Sm.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},Sm.isAppliedFilter=function(e,t){return null===e||e(t)},Sm.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},Sm.joinPathSegments=function(e,t,n){return""===e?t:e.endsWith(n)?e+t:e+n+t};var km={};Object.defineProperty(km,"__esModule",{value:!0});const Rm=Sm;km.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=Rm.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}},Object.defineProperty(vd,"__esModule",{value:!0});const Tm=_,Om=bd,Am=Em,Cm=Sm,Pm=km;class Lm extends Pm.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=Om.scandir,this._emitter=new Tm.EventEmitter,this._queue=Am(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate((()=>{this._pushToQueue(this._root,this._settings.basePath)})),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const n={directory:e,base:t};this._queue.push(n,(e=>{null!==e&&this._handleError(e)}))}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,((n,i)=>{if(null===n){for(const t of i)this._handleEntry(t,e.base);t(null,void 0)}else t(n,void 0)}))}_handleError(e){!this._isDestroyed&&Cm.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const n=e.path;void 0!==t&&(e.path=Cm.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),Cm.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&Cm.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}vd.default=Lm,Object.defineProperty(gd,"__esModule",{value:!0});const jm=vd;gd.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new jm.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError((t=>{!function(e,t){e(t)}(e,t)})),this._reader.onEntry((e=>{this._storage.push(e)})),this._reader.onEnd((()=>{!function(e,t){e(null,t)}(e,this._storage)})),this._reader.read()}};var Im={};Object.defineProperty(Im,"__esModule",{value:!0});const Nm=l,Fm=vd;Im.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new Fm.default(this._root,this._settings),this._stream=new Nm.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError((e=>{this._stream.emit("error",e)})),this._reader.onEntry((e=>{this._stream.push(e)})),this._reader.onEnd((()=>{this._stream.push(null)})),this._reader.read(),this._stream}};var Dm={},Mm={};Object.defineProperty(Mm,"__esModule",{value:!0});const $m=bd,Bm=Sm,Um=km;class zm extends Um.default{constructor(){super(...arguments),this._scandir=$m.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const n=this._scandir(e,this._settings.fsScandirSettings);for(const e of n)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(Bm.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=Bm.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),Bm.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&Bm.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}Mm.default=zm,Object.defineProperty(Dm,"__esModule",{value:!0});const Hm=Mm;Dm.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new Hm.default(this._root,this._settings)}read(){return this._reader.read()}};var Gm={};Object.defineProperty(Gm,"__esModule",{value:!0});const qm=f,Wm=bd;Gm.default=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,qm.sep),this.fsScandirSettings=new Wm.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(xd,"__esModule",{value:!0}),xd.Settings=xd.walkStream=xd.walkSync=xd.walk=void 0;const Km=gd,Vm=Im,Ym=Dm,Qm=Gm;function Xm(e={}){return e instanceof Qm.default?e:new Qm.default(e)}xd.Settings=Qm.default,xd.walk=function(e,t,n){"function"!=typeof t?new Km.default(e,Xm(t)).read(n):new Km.default(e,Xm()).read(t)},xd.walkSync=function(e,t){const n=Xm(t);return new Ym.default(e,n).read()},xd.walkStream=function(e,t){const n=Xm(t);return new Vm.default(e,n).read()};var Jm={};Object.defineProperty(Jm,"__esModule",{value:!0});const Zm=f,ef=wd,tf=zp;Jm.default=class{constructor(e){this._settings=e,this._fsStatSettings=new ef.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return Zm.resolve(this._settings.cwd,e)}_makeEntry(e,t){const n={name:t,path:t,dirent:tf.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!tf.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};var nf={};Object.defineProperty(nf,"__esModule",{value:!0});const sf=l,of=wd,af=xd,rf=Jm;class cf extends rf.default{constructor(){super(...arguments),this._walkStream=af.walkStream,this._stat=of.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),i=new sf.PassThrough({objectMode:!0});i._write=(s,o,a)=>this._getEntry(n[s],e[s],t).then((e=>{null!==e&&t.entryFilter(e)&&i.push(e),s===n.length-1&&i.end(),a()})).catch(a);for(let e=0;e<n.length;e++)i.write(e);return i}_getEntry(e,t,n){return this._getStat(e).then((e=>this._makeEntry(e,t))).catch((e=>{if(n.errorFilter(e))return null;throw e}))}_getStat(e){return new Promise(((t,n)=>{this._stat(e,this._fsStatSettings,((e,i)=>null===e?t(i):n(e)))}))}}nf.default=cf,Object.defineProperty(hd,"__esModule",{value:!0});const pf=xd,lf=Jm,uf=nf;class df extends lf.default{constructor(){super(...arguments),this._walkAsync=pf.walk,this._readerStream=new uf.default(this._settings)}dynamic(e,t){return new Promise(((n,i)=>{this._walkAsync(e,t,((e,t)=>{null===e?n(t):i(e)}))}))}async static(e,t){const n=[],i=this._readerStream.static(e,t);return new Promise(((e,t)=>{i.once("error",t),i.on("data",(e=>n.push(e))),i.once("end",(()=>e(n)))}))}}hd.default=df;var mf={},ff={},hf={},xf={};Object.defineProperty(xf,"__esModule",{value:!0});const gf=zp;xf.default=class{constructor(e,t,n){this._patterns=e,this._settings=t,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){for(const e of this._patterns){const t=this._getPatternSegments(e),n=this._splitSegmentsIntoSections(t);this._storage.push({complete:n.length<=1,pattern:e,segments:t,sections:n})}}_getPatternSegments(e){return gf.pattern.getPatternParts(e,this._micromatchOptions).map((e=>gf.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:gf.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return gf.array.splitWhen(e,(e=>e.dynamic&&gf.pattern.hasGlobStar(e.pattern)))}},Object.defineProperty(hf,"__esModule",{value:!0});const vf=xf;class bf extends vf.default{match(e){const t=e.split("/"),n=t.length,i=this._storage.filter((e=>!e.complete||e.segments.length>n));for(const e of i){const i=e.sections[0];if(!e.complete&&n>i.length)return!0;if(t.every(((t,n)=>{const i=e.segments[n];return!(!i.dynamic||!i.patternRe.test(t))||!i.dynamic&&i.pattern===t})))return!0}return!1}}hf.default=bf,Object.defineProperty(ff,"__esModule",{value:!0});const yf=zp,wf=hf;ff.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,n){const i=this._getMatcher(t),s=this._getNegativePatternsRe(n);return t=>this._filter(e,t,i,s)}_getMatcher(e){return new wf.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(yf.pattern.isAffectDepthOfReadingPattern);return yf.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,n,i){if(this._isSkippedByDeep(e,t.path))return!1;if(this._isSkippedSymbolicLink(t))return!1;const s=yf.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(s,n)&&this._isSkippedByNegativePatterns(s,i)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const n=t.split("/").length;if(""===e)return n;return n-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!yf.pattern.matchAny(e,t)}};var _f={};Object.defineProperty(_f,"__esModule",{value:!0});const Ef=zp;_f.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=Ef.pattern.convertPatternsToRe(e,this._micromatchOptions),i=Ef.pattern.convertPatternsToRe(t,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return e=>this._filter(e,n,i)}_filter(e,t,n){const i=Ef.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(i))return!1;if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;if(this._isSkippedByAbsoluteNegativePatterns(i,n))return!1;const s=e.dirent.isDirectory(),o=this._isMatchToPatterns(i,t,s)&&!this._isMatchToPatterns(i,n,s);return this._settings.unique&&o&&this._createIndexRecord(i),o}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute)return!1;const n=Ef.path.makeAbsolute(this._settings.cwd,e);return Ef.pattern.matchAny(n,t)}_isMatchToPatterns(e,t,n){const i=Ef.pattern.matchAny(e,t);return!i&&n?Ef.pattern.matchAny(e+"/",t):i}};var Sf={};Object.defineProperty(Sf,"__esModule",{value:!0});const kf=zp;Sf.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return kf.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};var Rf={};Object.defineProperty(Rf,"__esModule",{value:!0});const Tf=zp;Rf.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=Tf.path.makeAbsolute(this._settings.cwd,t),t=Tf.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}},Object.defineProperty(mf,"__esModule",{value:!0});const Of=f,Af=ff,Cf=_f,Pf=Sf,Lf=Rf;mf.default=class{constructor(e){this._settings=e,this.errorFilter=new Pf.default(this._settings),this.entryFilter=new Cf.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Af.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Lf.default(this._settings)}_getRootDirectory(e){return Of.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}},Object.defineProperty(fd,"__esModule",{value:!0});const jf=hd,If=mf;class Nf extends If.default{constructor(){super(...arguments),this._reader=new jf.default(this._settings)}async read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e);return(await this.api(t,e,n)).map((e=>n.transform(e)))}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}fd.default=Nf;var Ff={};Object.defineProperty(Ff,"__esModule",{value:!0});const Df=l,Mf=nf,$f=mf;class Bf extends $f.default{constructor(){super(...arguments),this._reader=new Mf.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),i=this.api(t,e,n),s=new Df.Readable({objectMode:!0,read:()=>{}});return i.once("error",(e=>s.emit("error",e))).on("data",(e=>s.emit("data",n.transform(e)))).once("end",(()=>s.emit("end"))),s.once("close",(()=>i.destroy())),s}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}Ff.default=Bf;var Uf={},zf={};Object.defineProperty(zf,"__esModule",{value:!0});const Hf=wd,Gf=xd,qf=Jm;class Wf extends qf.default{constructor(){super(...arguments),this._walkSync=Gf.walkSync,this._statSync=Hf.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const n=[];for(const i of e){const e=this._getFullEntryPath(i),s=this._getEntry(e,i,t);null!==s&&t.entryFilter(s)&&n.push(s)}return n}_getEntry(e,t,n){try{const n=this._getStat(e);return this._makeEntry(n,t)}catch(e){if(n.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}zf.default=Wf,Object.defineProperty(Uf,"__esModule",{value:!0});const Kf=zf,Vf=mf;class Yf extends Vf.default{constructor(){super(...arguments),this._reader=new Kf.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(t,e,n).map(n.transform)}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}Uf.default=Yf;var Qf={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const t=c,n=h,i=Math.max(n.cpus().length,1);e.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:t.lstat,lstatSync:t.lstatSync,stat:t.stat,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync};e.default=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,i),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},e.DEFAULT_FILE_SYSTEM_ADAPTER),t)}}}(Qf);const Xf=Up,Jf=fd,Zf=Ff,eh=Uf,th=Qf,nh=zp;async function ih(e,t){oh(e);const n=sh(e,Jf.default,t),i=await Promise.all(n);return nh.array.flatten(i)}function sh(e,t,n){const i=[].concat(e),s=new th.default(n),o=Xf.generate(i,s),a=new t(s);return o.map(a.read,a)}function oh(e){if(![].concat(e).every((e=>nh.string.isString(e)&&!nh.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){function t(e,t){oh(e);const n=sh(e,eh.default,t);return nh.array.flatten(n)}function n(e,t){oh(e);const n=sh(e,Zf.default,t);return nh.stream.merge(n)}var i,s;e.glob=e,e.globSync=t,e.globStream=n,e.async=e,e.sync=t,e.stream=n,e.generateTasks=function(e,t){oh(e);const n=[].concat(e),i=new th.default(t);return Xf.generate(n,i)},e.isDynamicPattern=function(e,t){oh(e);const n=new th.default(t);return nh.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return oh(e),nh.path.escape(e)},e.convertPathToPattern=function(e){return oh(e),nh.path.convertPathToPattern(e)},(i=e.posix||(e.posix={})).escapePath=function(e){return oh(e),nh.path.escapePosixPath(e)},i.convertPathToPattern=function(e){return oh(e),nh.path.convertPosixPathToPattern(e)},(s=e.win32||(e.win32={})).escapePath=function(e){return oh(e),nh.path.escapeWindowsPath(e)},s.convertPathToPattern=function(e){return oh(e),nh.path.convertWindowsPathToPattern(e)}}(ih||(ih={}));var ah=ye(ih),rh={exports:{}},ch={};const{promisify:ph}=d,lh=c;async function uh(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await ph(lh[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function dh(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return lh[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}ch.isFile=uh.bind(null,"stat","isFile"),ch.isDirectory=uh.bind(null,"stat","isDirectory"),ch.isSymlink=uh.bind(null,"lstat","isSymbolicLink"),ch.isFileSync=dh.bind(null,"statSync","isFile"),ch.isDirectorySync=dh.bind(null,"statSync","isDirectory"),ch.isSymlinkSync=dh.bind(null,"lstatSync","isSymbolicLink");const mh=f,fh=ch,hh=e=>e.length>1?`{${e.join(",")}}`:e[0],xh=(e,t)=>{const n="!"===e[0]?e.slice(1):e;return mh.isAbsolute(n)?n:mh.join(t,n)},gh=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map((n=>mh.posix.join(e,((e,t)=>mh.extname(e)?`**/${e}`:`**/${e}.${hh(t)}`)(n,t.extensions)))):t.files?t.files.map((t=>mh.posix.join(e,`**/${t}`))):t.extensions?[mh.posix.join(e,`**/*.${hh(t.extensions)}`)]:[mh.posix.join(e,"**")]};rh.exports=async(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=await Promise.all([].concat(e).map((async e=>await fh.isDirectory(xh(e,t.cwd))?gh(e,t):e)));return[].concat.apply([],n)},rh.exports.sync=(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=[].concat(e).map((e=>fh.isDirectorySync(xh(e,t.cwd))?gh(e,t):e));return[].concat.apply([],n)};var vh=ye(rh.exports);function bh(e){return Array.isArray(e)?e:[e]}const yh=/^\s+$/,wh=/(?:[^\\]|^)\\$/,_h=/^\\!/,Eh=/^\\#/,Sh=/\r?\n/g,kh=/^\.*\/|^\.+$/;let Rh="node-ignore";"undefined"!=typeof Symbol&&(Rh=Symbol.for("node-ignore"));const Th=Rh,Oh=/([0-z])-([0-z])/g,Ah=()=>!1,Ch=[[/^\uFEFF/,()=>""],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,n)=>t+(0===n.indexOf("\\")?" ":"")],[/(\\+?)\s/g,(e,t)=>{const{length:n}=t;return t.slice(0,n-n%2)+" "}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,n)=>t+6<n.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,n)=>t+n.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,n,i,s)=>"\\"===t?`\\[${n}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(i)}${s}`:"]"===s&&i.length%2==0?`[${(e=>e.replace(Oh,((e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:"")))(n)}${i}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],Ph=Object.create(null),Lh=e=>"string"==typeof e;class jh{constructor(e,t,n,i){this.origin=e,this.pattern=t,this.negative=n,this.regex=i}}const Ih=(e,t)=>{const n=e;let i=!1;0===e.indexOf("!")&&(i=!0,e=e.substr(1));const s=((e,t)=>{let n=Ph[e];return n||(n=Ch.reduce(((t,[n,i])=>t.replace(n,i.bind(e))),e),Ph[e]=n),t?new RegExp(n,"i"):new RegExp(n)})(e=e.replace(_h,"!").replace(Eh,"#"),t);return new jh(n,e,i,s)},Nh=(e,t)=>{throw new t(e)},Fh=(e,t,n)=>{if(!Lh(e))return n(`path must be a string, but got \`${t}\``,TypeError);if(!e)return n("path must not be empty",TypeError);if(Fh.isNotRelative(e)){return n(`path should be a ${"`path.relative()`d"} string, but got "${t}"`,RangeError)}return!0},Dh=e=>kh.test(e);Fh.isNotRelative=Dh,Fh.convert=e=>e;class Mh{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){var i,s,o;i=this,s=Th,o=!0,Object.defineProperty(i,s,{value:o}),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[Th])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&Lh(e)&&!yh.test(e)&&!wh.test(e)&&0!==e.indexOf("#"))(e)){const t=Ih(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,bh(Lh(e)?(e=>e.split(Sh))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let n=!1,i=!1;return this._rules.forEach((s=>{const{negative:o}=s;if(i===o&&n!==i||o&&!n&&!i&&!t)return;s.regex.test(e)&&(n=!o,i=o)})),{ignored:n,unignored:i}}_test(e,t,n,i){const s=e&&Fh.convert(e);return Fh(s,e,this._allowRelativePaths?Ah:Nh),this._t(s,t,n,i)}_t(e,t,n,i){if(e in t)return t[e];if(i||(i=e.split("/")),i.pop(),!i.length)return t[e]=this._testOne(e,n);const s=this._t(i.join("/")+"/",t,n,i);return t[e]=s.ignored?s:this._testOne(e,n)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return bh(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const $h=e=>new Mh(e);$h.isPathValid=e=>Fh(e&&Fh.convert(e),e,Ah),$h.default=$h;var Bh=$h;if("undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const e=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");Fh.convert=e;const t=/^[a-z]:\//i;Fh.isNotRelative=e=>t.test(e)||Dh(e)}var Uh=ye(Bh);function zh(e){const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}const Hh=e=>e instanceof URL?A(e):e;class Gh extends L{constructor(e){super({objectMode:!0,transform(t,n,i){i(void 0,e(t)?t:void 0)}})}}const qh=e=>"!"===e[0],Wh={ignore:["**/node_modules","**/flow-typed","**/coverage","**/.git"],absolute:!0,dot:!0},Kh=(t,n)=>{const i=zh(e.relative(n,e.dirname(t.filePath)));return t.content.split(/\r?\n/).filter((e=>e&&!e.startsWith("#"))).map((t=>((t,n)=>qh(t)?"!"+e.posix.join(n,t.slice(1)):e.posix.join(n,t))(t,i)))},Vh=(t,n)=>{const i=t.flatMap((e=>Kh(e,n))),s=Uh().add(i);return t=>(t=((t,n)=>{if(n=zh(n),e.isAbsolute(t)){if(zh(t).startsWith(n))return e.relative(n,t);throw new Error(`Path ${t} is not in cwd ${n}`)}return t})(t=Hh(t),n),!!t&&s.ignores(zh(t)))},Yh=(e,t)=>{const{cwd:i,suppressErrors:s,deep:o}=((e={})=>({cwd:Hh(e.cwd)||T.cwd(),suppressErrors:Boolean(e.suppressErrors),deep:"number"==typeof e.deep?e.deep:Number.POSITIVE_INFINITY}))(t),a=ah.sync(e,{cwd:i,suppressErrors:s,deep:o,...Wh}).map((e=>({filePath:e,content:n.readFileSync(e,"utf8")})));return Vh(a,i)},Qh=e=>((e=>{if(e.some((e=>"string"!=typeof e)))throw new TypeError("Patterns must be a string or an array of strings")})(e=[...new Set([e].flat())]),e),Xh=(e={})=>((e=>{if(!e.cwd)return;let t;try{t=n.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")})(e={...e,ignore:e.ignore||[],expandDirectories:void 0===e.expandDirectories||e.expandDirectories,cwd:Hh(e.cwd)}),e),Jh=e=>{const t=(e=>{const{ignoreFiles:t,gitignore:n}=e,i=t?Qh(t):[];return n&&i.push("**/.gitignore"),i})(e);return Zh(t.length>0&&Yh(t,e))},Zh=t=>{const n=new Set;return i=>{const s=i.path||i,o=e.normalize(s),a=n.has(o)||t&&t(s);return n.add(o),!a}},ex=(e,t)=>{const n=((e,t)=>{const n=[];for(;e.length>0;){const i=e.findIndex((e=>qh(e)));if(-1===i){n.push({patterns:e,options:t});break}const s=e[i].slice(1);for(const e of n)e.options.ignore.push(s);0!==i&&n.push({patterns:e.slice(0,i),options:{...t,ignore:[...t.ignore,s]}}),e=e.slice(i+1)}return n})(e,t),{cwd:i,expandDirectories:s}=t;if(!s)return n;const o=((e,t)=>({...t?{cwd:t}:{},...Array.isArray(e)?{files:e}:e}))(s,i),a=i?{cwd:i}:void 0;return n.map((e=>{let{patterns:t,options:n}=e;return t=vh.sync(t,o),n.ignore=vh.sync(n.ignore,a),{patterns:t,options:n}}))},tx=(nx=(e,t)=>{const n=ex(e,t),i=Jh(t);return((e,t)=>Bp(e).pipe(new Gh((e=>t(e)))))(n.map((e=>ah.stream(e.patterns,e.options))),i)},(e,t)=>nx(Qh(e),Xh(t)));var nx;const ix=[{id:"bat",extensions:[".bat",".cmd"]},{id:"clojure",extensions:[".clj",".cljs",".cljc",".cljx",".clojure",".edn"]},{id:"coffeescript",extensions:[".coffee",".cson",".iced"]},{id:"jsonc",extensions:[".code-workspace","language-configuration.json","icon-theme.json","color-theme.json"],names:["settings.json","launch.json","tasks.json","keybindings.json","extensions.json","argv.json","profiles.json","devcontainer.json",".devcontainer.json"]},{id:"json",extensions:[".code-profile"]},{id:"c",extensions:[".c",".i"]},{id:"cpp",extensions:[".cpp",".cc",".cxx",".c++",".hpp",".hh",".hxx",".h++",".h",".ii",".ino",".inl",".ipp",".ixx",".tpp",".txx",".hpp.in",".h.in"]},{id:"cuda-cpp",extensions:[".cu",".cuh"]},{id:"csharp",extensions:[".cs",".csx",".cake"]},{id:"css",extensions:[".css"],mimeTypes:["text/css"]},{id:"dart",extensions:[".dart"]},{id:"diff",extensions:[".diff",".patch",".rej"]},{id:"dockerfile",extensions:[".dockerfile",".containerfile"],patterns:["Dockerfile.*","Containerfile.*"],names:["Dockerfile","Containerfile"]},{id:"ignore",names:[".vscodeignore"]},{id:"fsharp",extensions:[".fs",".fsi",".fsx",".fsscript"]},{id:"git-commit",names:["COMMIT_EDITMSG","MERGE_MSG"]},{id:"git-rebase",patterns:["**/rebase-merge/done"],names:["git-rebase-todo"]},{id:"ignore",extensions:[".gitignore_global",".gitignore",".git-blame-ignore-revs"]},{id:"go",extensions:[".go"]},{id:"groovy",extensions:[".groovy",".gvy",".gradle",".jenkinsfile",".nf"],firstLine:"^#!.*\\bgroovy\\b",patterns:["Jenkinsfile*"],names:["Jenkinsfile"]},{id:"handlebars",extensions:[".handlebars",".hbs",".hjs"],mimeTypes:["text/x-handlebars-template"]},{id:"hlsl",extensions:[".hlsl",".hlsli",".fx",".fxh",".vsh",".psh",".cginc",".compute"]},{id:"html",extensions:[".html",".htm",".shtml",".xhtml",".xht",".mdoc",".jsp",".asp",".aspx",".jshtm",".volt",".ejs",".rhtml"],mimeTypes:["text/html","text/x-jshtm","text/template","text/ng-template","application/xhtml+xml"]},{id:"ini",extensions:[".ini"]},{id:"properties",extensions:[".conf",".properties",".cfg",".directory",".gitattributes",".gitconfig",".gitmodules",".editorconfig",".repo"],patterns:["**/.config/git/config","**/.git/config"],names:["gitconfig",".env"]},{id:"java",extensions:[".java",".jav"]},{id:"javascriptreact",extensions:[".jsx"]},{id:"javascript",extensions:[".js",".es6",".mjs",".cjs",".pac"],firstLine:"^#!.*\\bnode",names:["jakefile"],mimeTypes:["text/javascript"]},{id:"jsx-tags"},{id:"json",extensions:[".json",".bowerrc",".jscsrc",".webmanifest",".js.map",".css.map",".ts.map",".har",".jslintrc",".jsonld",".geojson",".ipynb",".vuerc"],names:["composer.lock",".watchmanconfig"],mimeTypes:["application/json","application/manifest+json"]},{id:"jsonc",extensions:[".jsonc",".eslintrc",".eslintrc.json",".jsfmtrc",".jshintrc",".swcrc",".hintrc",".babelrc"],names:["babel.config.json",".babelrc.json",".ember-cli","typedoc.json"]},{id:"jsonl",extensions:[".jsonl"],names:[]},{id:"snippets",extensions:[".code-snippets"],patterns:["**/User/snippets/*.json","**/User/profiles/*/snippets/*.json"]},{id:"julia",extensions:[".jl"],firstLine:"^#!\\s*/.*\\bjulia[0-9.-]*\\b"},{id:"juliamarkdown",extensions:[".jmd"]},{id:"tex",extensions:[".sty",".cls",".bbx",".cbx"]},{id:"latex",extensions:[".tex",".ltx",".ctx"]},{id:"bibtex",extensions:[".bib"]},{id:"cpp_embedded_latex"},{id:"markdown_latex_combined"},{id:"less",extensions:[".less"],mimeTypes:["text/x-less","text/less"]},{id:"log",extensions:[".log","*.log.?"]},{id:"lua",extensions:[".lua"]},{id:"makefile",extensions:[".mak",".mk"],firstLine:"^#!\\s*/usr/bin/make",names:["Makefile","makefile","GNUmakefile","OCamlMakefile"]},{id:"markdown",extensions:[".md",".mkd",".mdwn",".mdown",".markdown",".markdn",".mdtxt",".mdtext",".workbook"]},{id:"markdown-math"},{id:"ignore",extensions:[".npmignore"]},{id:"properties",extensions:[".npmrc"]},{id:"objective-c",extensions:[".m"]},{id:"objective-cpp",extensions:[".mm"]},{id:"perl",extensions:[".pl",".pm",".pod",".t",".PL",".psgi"],firstLine:"^#!.*\\bperl\\b"},{id:"raku",extensions:[".raku",".rakumod",".rakutest",".rakudoc",".nqp",".p6",".pl6",".pm6"],firstLine:"(^#!.*\\bperl6\\b)|use\\s+v6|raku|=begin\\spod|my\\sclass"},{id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],firstLine:"^#!\\s*/.*\\bphp\\b",mimeTypes:["application/x-php"]},{id:"powershell",extensions:[".ps1",".psm1",".psd1",".pssc",".psrc"],firstLine:"^#!\\s*/.*\\bpwsh\\b"},{id:"jade",extensions:[".pug",".jade"]},{id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi",".pyi",".ipy",".pyt"],firstLine:"^#!\\s*/?.*\\bpython[0-9.-]*\\b",names:["SConstruct","SConscript"]},{id:"r",extensions:[".r",".rhistory",".rprofile",".rt"]},{id:"razor",extensions:[".cshtml",".razor"],mimeTypes:["text/x-cshtml"]},{id:"restructuredtext",extensions:[".rst"]},{id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".rake",".ru",".erb",".podspec",".rbi"],firstLine:"^#!\\s*/.*\\bruby\\b",names:["rakefile","gemfile","guardfile","podfile","capfile","cheffile","hobofile","vagrantfile","appraisals","rantfile","berksfile","berksfile.lock","thorfile","puppetfile","dangerfile","brewfile","fastfile","appfile","deliverfile","matchfile","scanfile","snapfile","gymfile"]},{id:"rust",extensions:[".rs"]},{id:"scss",extensions:[".scss"],mimeTypes:["text/x-scss","text/scss"]},{id:"search-result",extensions:[".code-search"]},{id:"shaderlab",extensions:[".shader"]},{id:"shellscript",extensions:[".sh",".bash",".bashrc",".bash_aliases",".bash_profile",".bash_login",".ebuild",".profile",".bash_logout",".xprofile",".xsession",".xsessionrc",".Xsession",".zsh",".zshrc",".zprofile",".zlogin",".zlogout",".zshenv",".zsh-theme",".fish",".ksh",".csh",".cshrc",".tcshrc",".yashrc",".yash_profile"],firstLine:"^#!.*\\b(bash|fish|zsh|sh|ksh|dtksh|pdksh|mksh|ash|dash|yash|sh|csh|jcsh|tcsh|itcsh).*|^#\\s*-\\*-[^*]*mode:\\s*shell-script[^*]*-\\*-",patterns:[".env.*"],names:["APKBUILD","PKGBUILD",".envrc",".hushlogin","zshrc","zshenv","zlogin","zprofile","zlogout","bashrc_Apple_Terminal","zshrc_Apple_Terminal"],mimeTypes:["text/x-shellscript"]},{id:"sql",extensions:[".sql",".dsql"]},{id:"swift",extensions:[".swift"]},{id:"typescript",extensions:[".ts",".cts",".mts"]},{id:"typescriptreact",extensions:[".tsx"]},{id:"jsonc",patterns:["tsconfig.*.json","jsconfig.*.json","tsconfig-*.json","jsconfig-*.json"],names:["tsconfig.json","jsconfig.json"]},{id:"json",extensions:[".tsbuildinfo"]},{id:"vb",extensions:[".vb",".brs",".vbs",".bas",".vba"]},{id:"xml",extensions:[".xml",".xsd",".ascx",".atom",".axml",".axaml",".bpmn",".cpt",".csl",".csproj",".csproj.user",".dita",".ditamap",".dtd",".ent",".mod",".dtml",".fsproj",".fxml",".iml",".isml",".jmx",".launch",".menu",".mxml",".nuspec",".opml",".owl",".proj",".props",".pt",".publishsettings",".pubxml",".pubxml.user",".rbxlx",".rbxmx",".rdf",".rng",".rss",".shproj",".storyboard",".svg",".targets",".tld",".tmx",".vbproj",".vbproj.user",".vcxproj",".vcxproj.filters",".wsdl",".wxi",".wxl",".wxs",".xaml",".xbl",".xib",".xlf",".xliff",".xpdl",".xul",".xoml"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)"},{id:"xsl",extensions:[".xsl",".xslt"]},{id:"dockercompose",patterns:["compose.yml","compose.yaml","compose.*.yml","compose.*.yaml","*docker*compose*.yml","*docker*compose*.yaml"]},{id:"yaml",extensions:[".yml",".eyaml",".eyml",".yaml",".cff",".yaml-tmlanguage",".yaml-tmpreferences",".yaml-tmtheme"],firstLine:"^#cloud-config"}];class sx{static default=new sx;entries=[];static{for(const e of ix)sx.default.registerLanguage(e.id,e)}registerLanguage(t,n){const i=(t=>{const{extensions:n,names:i,patterns:s,firstLine:o}=t,a=o?new RegExp(o):null,r=s?Np(s.map((e=>e.includes("/")?`**/${e}`:e))):null;return(t,s)=>!!(n&&n.includes(e.extname(t))||i&&i.includes(t)||r&&r(t)||a&&a.test(s))})(n);this.entries.push({id:t,detect:i})}detect(e,t){const n=t.indexOf("\n"),i=-1===n?t:t.slice(0,n),s=this.entries.find((t=>t.detect(e,i.trim())));return s?.id??null}}const ox=10,ax=10,rx=5,cx=2,px=20,lx=30;function ux(e){return e.split("/").reduce(((e,t)=>t.includes("**")?e+cx:t.includes("*")?e+rx:e+ax),0)}class dx{selector;languageDetector;globWeights=new Map;constructor(e,t){this.selector=e,this.languageDetector=t;for(const e of this.selector.activeFilePath??[])this.globWeights.set(e,ux(e));for(const e of this.selector.workspaceFile??[])this.globWeights.set(e,ux(e))}async match(e,t){const n=[this.matchLanguage(t),this.matchActiveFilePath(e,t),this.matchActiveFileContent(t),this.matchSelectedContent(t),this.matchWorkspaceFile(e)],i=await Promise.all(n);return i.includes(0)?0:i.reduce(((e,t)=>"number"==typeof t?Math.max(e,0)+t:e),-1)}async matchLanguage(e){if(!this.selector.language?.length)return null;const t=this.languageDetector.detect(e.activeFilePath,e.activeFileContent);return!t||this.selector.language.includes(t)?ox:0}async matchActiveFilePath(e,t){if(!this.selector.activeFilePath?.length)return null;const n={cwd:e,matchBase:!0,returnIndex:!0},i=Np(this.selector.activeFilePath,t.activeFilePath,n);if(i<0)return 0;const s=this.selector.activeFilePath[i];return this.globWeights.get(s)??0}async matchActiveFileContent(e){if(!this.selector.activeFileContent?.length)return null;return this.selector.activeFileContent.filter((t=>e.activeFileContent.includes(t))).length*px}async matchSelectedContent(e){if(!this.selector.selectedContent?.length)return null;return this.selector.selectedContent.filter((t=>e.selectedCode.includes(t))).length*px}async matchWorkspaceFile(e){if(!this.selector.workspaceFile?.length)return null;const t={cwd:e,gitignore:!0};for await(const e of tx(this.selector.workspaceFile,t))return lx;return 0}}function mx(e){return["Prompt","Skill"].includes(e)}function fx(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let hx={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function xx(e){hx=e}const gx=/[&<>"']/,vx=new RegExp(gx.source,"g"),bx=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,yx=new RegExp(bx.source,"g"),wx={"&":"&","<":"<",">":">",'"':""","'":"'"},_x=e=>wx[e];function Ex(e,t){if(t){if(gx.test(e))return e.replace(vx,_x)}else if(bx.test(e))return e.replace(yx,_x);return e}const Sx=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function kx(e){return e.replace(Sx,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const Rx=/(^|[^\[])\^/g;function Tx(e,t){let n="string"==typeof e?e:e.source;t=t||"";const i={replace:(e,t)=>{let s="string"==typeof t?t:t.source;return s=s.replace(Rx,"$1"),n=n.replace(e,s),i},getRegex:()=>new RegExp(n,t)};return i}function Ox(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}const Ax={exec:()=>null};function Cx(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let i=!1,s=t;for(;--s>=0&&"\\"===n[s];)i=!i;return i?"|":" |"})),i=n.split(/ \|/);let s=0;if(i[0].trim()||i.shift(),i.length>0&&!i[i.length-1].trim()&&i.pop(),t)if(i.length>t)i.splice(t);else for(;i.length<t;)i.push("");for(;s<i.length;s++)i[s]=i[s].trim().replace(/\\\|/g,"|");return i}function Px(e,t,n){const i=e.length;if(0===i)return"";let s=0;for(;s<i;){const o=e.charAt(i-s-1);if(o!==t||n){if(o===t||!n)break;s++}else s++}return e.slice(0,i-s)}function Lx(e,t,n,i){const s=t.href,o=t.title?Ex(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){i.state.inLink=!0;const e={type:"link",raw:n,href:s,title:o,text:a,tokens:i.inlineTokens(a)};return i.state.inLink=!1,e}return{type:"image",raw:n,href:s,title:o,text:Ex(a)}}class jx{options;rules;lexer;constructor(e){this.options=e||hx}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Px(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const i=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=i.length?e.slice(i.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=Px(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=Px(t[0].replace(/^ *>[ \t]?/gm,""),"\n"),n=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(e);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:i,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const i=n.length>1,s={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const o=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let a="",r="",c=!1;for(;e;){let n=!1;if(!(t=o.exec(e)))break;if(this.rules.block.hr.test(e))break;a=t[0],e=e.substring(a.length);let i=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),p=e.split("\n",1)[0],l=0;this.options.pedantic?(l=2,r=i.trimStart()):(l=t[2].search(/[^ ]/),l=l>4?1:l,r=i.slice(l),l+=t[1].length);let u=!1;if(!i&&/^ *$/.test(p)&&(a+=p+"\n",e=e.substring(p.length+1),n=!0),!n){const t=new RegExp(`^ {0,${Math.min(3,l-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,l-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),s=new RegExp(`^ {0,${Math.min(3,l-1)}}(?:\`\`\`|~~~)`),o=new RegExp(`^ {0,${Math.min(3,l-1)}}#`);for(;e;){const c=e.split("\n",1)[0];if(p=c,this.options.pedantic&&(p=p.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),s.test(p))break;if(o.test(p))break;if(t.test(p))break;if(n.test(e))break;if(p.search(/[^ ]/)>=l||!p.trim())r+="\n"+p.slice(l);else{if(u)break;if(i.search(/[^ ]/)>=4)break;if(s.test(i))break;if(o.test(i))break;if(n.test(i))break;r+="\n"+p}u||p.trim()||(u=!0),a+=c+"\n",e=e.substring(c.length+1),i=p.slice(l)}}s.loose||(c?s.loose=!0:/\n *\n *$/.test(a)&&(c=!0));let d,m=null;this.options.gfm&&(m=/^\[[ xX]\] /.exec(r),m&&(d="[ ] "!==m[0],r=r.replace(/^\[[ xX]\] +/,""))),s.items.push({type:"list_item",raw:a,task:!!m,checked:d,loose:!1,text:r,tokens:[]}),s.raw+=a}s.items[s.items.length-1].raw=a.trimEnd(),s.items[s.items.length-1].text=r.trimEnd(),s.raw=s.raw.trimEnd();for(let e=0;e<s.items.length;e++)if(this.lexer.state.top=!1,s.items[e].tokens=this.lexer.blockTokens(s.items[e].text,[]),!s.loose){const t=s.items[e].tokens.filter((e=>"space"===e.type)),n=t.length>0&&t.some((e=>/\n.*\n/.test(e.raw)));s.loose=n}if(s.loose)for(let e=0;e<s.items.length;e++)s.items[e].loose=!0;return s}}html(e){const t=this.rules.block.html.exec(e);if(t){return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:i}}}table(e){const t=this.rules.block.table.exec(e);if(!t)return;if(!/[:|]/.test(t[2]))return;const n=Cx(t[1]),i=t[2].replace(/^\||\| *$/g,"").split("|"),s=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],o={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const e of i)/^ *-+: *$/.test(e)?o.align.push("right"):/^ *:-+: *$/.test(e)?o.align.push("center"):/^ *:-+ *$/.test(e)?o.align.push("left"):o.align.push(null);for(const e of n)o.header.push({text:e,tokens:this.lexer.inline(e)});for(const e of s)o.rows.push(Cx(e,o.header.length).map((e=>({text:e,tokens:this.lexer.inline(e)}))));return o}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Ex(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=Px(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let i=0;i<e.length;i++)if("\\"===e[i])i++;else if(e[i]===t[0])n++;else if(e[i]===t[1]&&(n--,n<0))return i;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],i="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],i=e[3])}else i=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),Lx(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:i?i.replace(this.rules.inline.anyPunctuation,"$1"):i},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const e=t[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return Lx(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let i=this.rules.inline.emStrongLDelim.exec(e);if(!i)return;if(i[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const n=[...i[0]].length-1;let s,o,a=n,r=0;const c="*"===i[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+n);null!=(i=c.exec(t));){if(s=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!s)continue;if(o=[...s].length,i[3]||i[4]){a+=o;continue}if((i[5]||i[6])&&n%3&&!((n+o)%3)){r+=o;continue}if(a-=o,a>0)continue;o=Math.min(o,o+a+r);const t=[...i[0]][0].length,c=e.slice(0,n+i.index+t+o);if(Math.min(n,o)%2){const e=c.slice(1,-1);return{type:"em",raw:c,text:e,tokens:this.lexer.inlineTokens(e)}}const p=c.slice(2,-2);return{type:"strong",raw:c,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),i=/^ /.test(e)&&/ $/.test(e);return n&&i&&(e=e.substring(1,e.length-1)),e=Ex(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=Ex(t[1]),n="mailto:"+e):(e=Ex(t[1]),n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])e=Ex(t[0]),n="mailto:"+e;else{let i;do{i=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(i!==t[0]);e=Ex(t[0]),n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:Ex(t[0]),{type:"text",raw:t[0],text:e}}}}const Ix=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Nx=/(?:[*+-]|\d{1,9}[.)])/,Fx=Tx(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Nx).getRegex(),Dx=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Mx=/(?!\s*\])(?:\\.|[^\[\]\\])+/,$x=Tx(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",Mx).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Bx=Tx(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Nx).getRegex(),Ux="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",zx=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,Hx=Tx("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",zx).replace("tag",Ux).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Gx=Tx(Dx).replace("hr",Ix).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ux).getRegex(),qx={blockquote:Tx(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Gx).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:$x,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:Ix,html:Hx,lheading:Fx,list:Bx,newline:/^(?: *(?:\n|$))+/,paragraph:Gx,table:Ax,text:/^[^\n]+/},Wx=Tx("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ix).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ux).getRegex(),Kx={...qx,table:Wx,paragraph:Tx(Dx).replace("hr",Ix).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Wx).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ux).getRegex()},Vx={...qx,html:Tx("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",zx).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ax,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Tx(Dx).replace("hr",Ix).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Fx).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Yx=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Qx=/^( {2,}|\\)\n(?!\s*$)/,Xx="\\p{P}$+<=>`^|~",Jx=Tx(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,Xx).getRegex(),Zx=Tx(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,Xx).getRegex(),eg=Tx("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,Xx).getRegex(),tg=Tx("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,Xx).getRegex(),ng=Tx(/\\([punct])/,"gu").replace(/punct/g,Xx).getRegex(),ig=Tx(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),sg=Tx(zx).replace("(?:--\x3e|$)","--\x3e").getRegex(),og=Tx("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",sg).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ag=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,rg=Tx(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",ag).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),cg=Tx(/^!?\[(label)\]\[(ref)\]/).replace("label",ag).replace("ref",Mx).getRegex(),pg=Tx(/^!?\[(ref)\](?:\[\])?/).replace("ref",Mx).getRegex(),lg={_backpedal:Ax,anyPunctuation:ng,autolink:ig,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:Qx,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Ax,emStrongLDelim:Zx,emStrongRDelimAst:eg,emStrongRDelimUnd:tg,escape:Yx,link:rg,nolink:pg,punctuation:Jx,reflink:cg,reflinkSearch:Tx("reflink|nolink(?!\\()","g").replace("reflink",cg).replace("nolink",pg).getRegex(),tag:og,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Ax},ug={...lg,link:Tx(/^!?\[(label)\]\((.*?)\)/).replace("label",ag).getRegex(),reflink:Tx(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ag).getRegex()},dg={...lg,escape:Tx(Yx).replace("])","~|])").getRegex(),url:Tx(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},mg={...dg,br:Tx(Qx).replace("{2,}","*").getRegex(),text:Tx(dg.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},fg={normal:qx,gfm:Kx,pedantic:Vx},hg={normal:lg,gfm:dg,breaks:mg,pedantic:ug};class xg{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||hx,this.options.tokenizer=this.options.tokenizer||new jx,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:fg.normal,inline:hg.normal};this.options.pedantic?(t.block=fg.pedantic,t.inline=hg.pedantic):this.options.gfm&&(t.block=fg.gfm,this.options.breaks?t.inline=hg.breaks:t.inline=hg.gfm),this.tokenizer.rules=t}static get rules(){return{block:fg,inline:hg}}static lex(e,t){return new xg(t).lex(e)}static lexInline(e,t){return new xg(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){const t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[]){let n,i,s,o;for(e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,((e,t,n)=>t+" ".repeat(n.length)));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((i=>!!(n=i.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),i=t[t.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?t.push(n):(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),i=t[t.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(i.raw+="\n"+n.raw,i.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else{if(s=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let i;this.options.extensions.startBlock.forEach((e=>{i=e.call({lexer:this},n),"number"==typeof i&&i>=0&&(t=Math.min(t,i))})),t<1/0&&t>=0&&(s=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(s)))i=t[t.length-1],o&&"paragraph"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n),o=s.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),i=t[t.length-1],i&&"text"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,i,s,o,a,r,c=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(c));)e.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(c));)c=c.slice(0,o.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(a||(r=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((i=>!!(n=i.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),i=t[t.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),i=t[t.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,c,r))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e))){if(s=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let i;this.options.extensions.startInline.forEach((e=>{i=e.call({lexer:this},n),"number"==typeof i&&i>=0&&(t=Math.min(t,i))})),t<1/0&&t>=0&&(s=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(s))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(r=n.raw.slice(-1)),a=!0,i=t[t.length-1],i&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class gg{options;constructor(e){this.options=e||hx}code(e,t,n){const i=(t||"").match(/^\S*/)?.[0];return e=e.replace(/\n$/,"")+"\n",i?'<pre><code class="language-'+Ex(i)+'">'+(n?e:Ex(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:Ex(e,!0))+"</code></pre>\n"}blockquote(e){return`<blockquote>\n${e}</blockquote>\n`}html(e,t){return e}heading(e,t,n){return`<h${t}>${e}</h${t}>\n`}hr(){return"<hr>\n"}list(e,t,n){const i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+i+">\n"}listitem(e,t,n){return`<li>${e}</li>\n`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){return`<p>${e}</p>\n`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return`<tr>\n${e}</tr>\n`}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>\n`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return"<br>"}del(e){return`<del>${e}</del>`}link(e,t,n){const i=Ox(e);if(null===i)return n;let s='<a href="'+(e=i)+'"';return t&&(s+=' title="'+t+'"'),s+=">"+n+"</a>",s}image(e,t,n){const i=Ox(e);if(null===i)return n;let s=`<img src="${e=i}" alt="${n}"`;return t&&(s+=` title="${t}"`),s+=">",s}text(e){return e}}class vg{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class bg{options;renderer;textRenderer;constructor(e){this.options=e||hx,this.options.renderer=this.options.renderer||new gg,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new vg}static parse(e,t){return new bg(t).parse(e)}static parseInline(e,t){return new bg(t).parseInline(e)}parse(e,t=!0){let n="";for(let i=0;i<e.length;i++){const s=e[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const e=s,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}switch(s.type){case"space":continue;case"hr":n+=this.renderer.hr();continue;case"heading":{const e=s;n+=this.renderer.heading(this.parseInline(e.tokens),e.depth,kx(this.parseInline(e.tokens,this.textRenderer)));continue}case"code":{const e=s;n+=this.renderer.code(e.text,e.lang,!!e.escaped);continue}case"table":{const e=s;let t="",i="";for(let t=0;t<e.header.length;t++)i+=this.renderer.tablecell(this.parseInline(e.header[t].tokens),{header:!0,align:e.align[t]});t+=this.renderer.tablerow(i);let o="";for(let t=0;t<e.rows.length;t++){const n=e.rows[t];i="";for(let t=0;t<n.length;t++)i+=this.renderer.tablecell(this.parseInline(n[t].tokens),{header:!1,align:e.align[t]});o+=this.renderer.tablerow(i)}n+=this.renderer.table(t,o);continue}case"blockquote":{const e=s,t=this.parse(e.tokens);n+=this.renderer.blockquote(t);continue}case"list":{const e=s,t=e.ordered,i=e.start,o=e.loose;let a="";for(let t=0;t<e.items.length;t++){const n=e.items[t],i=n.checked,s=n.task;let r="";if(n.task){const e=this.renderer.checkbox(!!i);o?n.tokens.length>0&&"paragraph"===n.tokens[0].type?(n.tokens[0].text=e+" "+n.tokens[0].text,n.tokens[0].tokens&&n.tokens[0].tokens.length>0&&"text"===n.tokens[0].tokens[0].type&&(n.tokens[0].tokens[0].text=e+" "+n.tokens[0].tokens[0].text)):n.tokens.unshift({type:"text",text:e+" "}):r+=e+" "}r+=this.parse(n.tokens,o),a+=this.renderer.listitem(r,s,!!i)}n+=this.renderer.list(a,t,i);continue}case"html":{const e=s;n+=this.renderer.html(e.text,e.block);continue}case"paragraph":{const e=s;n+=this.renderer.paragraph(this.parseInline(e.tokens));continue}case"text":{let o=s,a=o.tokens?this.parseInline(o.tokens):o.text;for(;i+1<e.length&&"text"===e[i+1].type;)o=e[++i],a+="\n"+(o.tokens?this.parseInline(o.tokens):o.text);n+=t?this.renderer.paragraph(a):a;continue}default:{const e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,t){t=t||this.renderer;let n="";for(let i=0;i<e.length;i++){const s=e[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const e=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=e||"";continue}}switch(s.type){case"escape":{const e=s;n+=t.text(e.text);break}case"html":{const e=s;n+=t.html(e.text);break}case"link":{const e=s;n+=t.link(e.href,e.title,this.parseInline(e.tokens,t));break}case"image":{const e=s;n+=t.image(e.href,e.title,e.text);break}case"strong":{const e=s;n+=t.strong(this.parseInline(e.tokens,t));break}case"em":{const e=s;n+=t.em(this.parseInline(e.tokens,t));break}case"codespan":{const e=s;n+=t.codespan(e.text);break}case"br":n+=t.br();break;case"del":{const e=s;n+=t.del(this.parseInline(e.tokens,t));break}case"text":{const e=s;n+=t.text(e.text);break}default:{const e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}}class yg{options;constructor(e){this.options=e||hx}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}const wg=new class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.#e(xg.lex,bg.parse);parseInline=this.#e(xg.lexInline,bg.parseInline);Parser=bg;Renderer=gg;TextRenderer=vg;Lexer=xg;Tokenizer=jx;Hooks=yg;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(const i of e)switch(n=n.concat(t.call(this,i)),i.type){case"table":{const e=i;for(const i of e.header)n=n.concat(this.walkTokens(i.tokens,t));for(const i of e.rows)for(const e of i)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=i;n=n.concat(this.walkTokens(e.items,t));break}default:{const e=i;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach((i=>{const s=e[i].flat(1/0);n=n.concat(this.walkTokens(s,t))})):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{const n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let i=e.renderer.apply(this,t);return!1===i&&(i=n.apply(this,t)),i}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");const n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),n.extensions=t),e.renderer){const t=this.defaults.renderer||new gg(this.defaults);for(const n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if("options"===n)continue;const i=n,s=e.renderer[i],o=t[i];t[i]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=o.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new jx(this.defaults);for(const n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const i=n,s=e.tokenizer[i],o=t[i];t[i]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=o.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new yg;for(const n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if("options"===n)continue;const i=n,s=e.hooks[i],o=t[i];yg.passThroughHooks.has(n)?t[i]=e=>{if(this.defaults.async)return Promise.resolve(s.call(t,e)).then((e=>o.call(t,e)));const n=s.call(t,e);return o.call(t,n)}:t[i]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=o.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens,i=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(i.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}})),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return xg.lex(e,t??this.defaults)}parser(e,t){return bg.parse(e,t??this.defaults)}#e(e,t){return(n,i)=>{const s={...i},o={...this.defaults,...s};!0===this.defaults.async&&!1===s.async&&(o.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),o.async=!0);const a=this.#t(!!o.silent,!!o.async);if(null==n)return a(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(o.hooks&&(o.hooks.options=o),o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then((t=>e(t,o))).then((e=>o.hooks?o.hooks.processAllTokens(e):e)).then((e=>o.walkTokens?Promise.all(this.walkTokens(e,o.walkTokens)).then((()=>e)):e)).then((e=>t(e,o))).then((e=>o.hooks?o.hooks.postprocess(e):e)).catch(a);try{o.hooks&&(n=o.hooks.preprocess(n));let i=e(n,o);o.hooks&&(i=o.hooks.processAllTokens(i)),o.walkTokens&&this.walkTokens(i,o.walkTokens);let s=t(i,o);return o.hooks&&(s=o.hooks.postprocess(s)),s}catch(e){return a(e)}}}#t(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+Ex(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function _g(e,t){return wg.parse(e,t)}_g.options=_g.setOptions=function(e){return wg.setOptions(e),_g.defaults=wg.defaults,xx(_g.defaults),_g},_g.getDefaults=fx,_g.defaults=hx,_g.use=function(...e){return wg.use(...e),_g.defaults=wg.defaults,xx(_g.defaults),_g},_g.walkTokens=function(e,t){return wg.walkTokens(e,t)},_g.parseInline=wg.parseInline,_g.Parser=bg,_g.parser=bg.parse,_g.Renderer=gg,_g.TextRenderer=vg,_g.Lexer=xg,_g.lexer=xg.lex,_g.Tokenizer=jx,_g.Hooks=yg,_g.parse=_g,_g.options,_g.setOptions,_g.use,_g.walkTokens,_g.parseInline,bg.parse,xg.lex;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.stringSimilarity=void 0;e.stringSimilarity=function(e,t,n,i){if(void 0===n&&(n=2),void 0===i&&(i=!1),i||(e=e.toLowerCase(),t=t.toLowerCase()),e.length<n||t.length<n)return 0;for(var s=new Map,o=0;o<e.length-(n-1);o++){var a=e.substr(o,n);s.set(a,s.has(a)?s.get(a)+1:1)}for(var r=0,c=0;c<t.length-(n-1);c++){var p=t.substr(c,n),l=s.has(p)?s.get(p):0;l>0&&(s.set(p,l-1),r++)}return 2*r/(e.length+t.length-2*(n-1))},e.default=e.stringSimilarity}({});var Eg=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Sg=Eg,kg=Object.create,Rg=function(){function e(){}return function(t){if(!Sg(t))return{};if(kg)return kg(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var Tg=function(){},Og=Rg,Ag=Tg;function Cg(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}Cg.prototype=Og(Ag.prototype),Cg.prototype.constructor=Cg;var Pg=Cg;var Lg=function(e,t){for(var n=-1,i=t.length,s=e.length;++n<i;)e[s+n]=t[n];return e},jg="object"==typeof be&&be&&be.Object===Object&&be,Ig="object"==typeof self&&self&&self.Object===Object&&self,Ng=jg||Ig||Function("return this")(),Fg=Ng.Symbol,Dg=Fg,Mg=Object.prototype,$g=Mg.hasOwnProperty,Bg=Mg.toString,Ug=Dg?Dg.toStringTag:void 0;var zg=function(e){var t=$g.call(e,Ug),n=e[Ug];try{e[Ug]=void 0;var i=!0}catch(e){}var s=Bg.call(e);return i&&(t?e[Ug]=n:delete e[Ug]),s},Hg=Object.prototype.toString;var Gg=zg,qg=function(e){return Hg.call(e)},Wg=Fg?Fg.toStringTag:void 0;var Kg=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Wg&&Wg in Object(e)?Gg(e):qg(e)};var Vg=function(e){return null!=e&&"object"==typeof e},Yg=Kg,Qg=Vg;var Xg=function(e){return Qg(e)&&"[object Arguments]"==Yg(e)},Jg=Vg,Zg=Object.prototype,ev=Zg.hasOwnProperty,tv=Zg.propertyIsEnumerable,nv=Xg(function(){return arguments}())?Xg:function(e){return Jg(e)&&ev.call(e,"callee")&&!tv.call(e,"callee")},iv=Array.isArray,sv=nv,ov=iv,av=Fg?Fg.isConcatSpreadable:void 0;var rv=Lg,cv=function(e){return ov(e)||sv(e)||!!(av&&e&&e[av])};var pv=function e(t,n,i,s,o){var a=-1,r=t.length;for(i||(i=cv),o||(o=[]);++a<r;){var c=t[a];n>0&&i(c)?n>1?e(c,n-1,i,s,o):rv(o,c):s||(o[o.length]=c)}return o},lv=pv;var uv=function(e){return(null==e?0:e.length)?lv(e,1):[]};var dv=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},mv=Math.max;var fv=function(e,t,n){return t=mv(void 0===t?e.length-1:t,0),function(){for(var i=arguments,s=-1,o=mv(i.length-t,0),a=Array(o);++s<o;)a[s]=i[t+s];s=-1;for(var r=Array(t+1);++s<t;)r[s]=i[s];return r[t]=n(a),dv(e,this,r)}};var hv=function(e){return function(){return e}},xv=Kg,gv=Eg;var vv,bv=function(e){if(!gv(e))return!1;var t=xv(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},yv=Ng["__core-js_shared__"],wv=(vv=/[^.]+$/.exec(yv&&yv.keys&&yv.keys.IE_PROTO||""))?"Symbol(src)_1."+vv:"";var _v=function(e){return!!wv&&wv in e},Ev=Function.prototype.toString;var Sv=bv,kv=_v,Rv=Eg,Tv=function(e){if(null!=e){try{return Ev.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Ov=/^\[object .+?Constructor\]$/,Av=Function.prototype,Cv=Object.prototype,Pv=Av.toString,Lv=Cv.hasOwnProperty,jv=RegExp("^"+Pv.call(Lv).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Iv=function(e){return!(!Rv(e)||kv(e))&&(Sv(e)?jv:Ov).test(Tv(e))},Nv=function(e,t){return null==e?void 0:e[t]};var Fv=function(e,t){var n=Nv(e,t);return Iv(n)?n:void 0},Dv=Fv,Mv=function(){try{var e=Dv(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var $v=hv,Bv=Mv,Uv=Bv?function(e,t){return Bv(e,"toString",{configurable:!0,enumerable:!1,value:$v(t),writable:!0})}:function(e){return e},zv=Uv,Hv=Date.now;var Gv=function(e){var t=0,n=0;return function(){var i=Hv(),s=16-(i-n);if(n=i,s>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(zv),qv=uv,Wv=fv,Kv=Gv;var Vv=function(e){return Kv(Wv(e,void 0,qv),e+"")},Yv=Fv(Ng,"WeakMap");var Qv=Yv&&new Yv,Xv=Qv?function(e){return Qv.get(e)}:function(){},Jv={},Zv=Object.prototype.hasOwnProperty;var eb=function(e){for(var t=e.name+"",n=Jv[t],i=Zv.call(Jv,t)?n.length:0;i--;){var s=n[i],o=s.func;if(null==o||o==e)return s.name}return t},tb=Rg,nb=Tg;function ib(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}ib.prototype=tb(nb.prototype),ib.prototype.constructor=ib;var sb=ib;var ob=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t},ab=sb,rb=Pg,cb=ob;var pb=sb,lb=Pg,ub=Tg,db=iv,mb=Vg,fb=function(e){if(e instanceof ab)return e.clone();var t=new rb(e.__wrapped__,e.__chain__);return t.__actions__=cb(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t},hb=Object.prototype.hasOwnProperty;function xb(e){if(mb(e)&&!db(e)&&!(e instanceof pb)){if(e instanceof lb)return e;if(hb.call(e,"__wrapped__"))return fb(e)}return new lb(e)}xb.prototype=ub.prototype,xb.prototype.constructor=xb;var gb=sb,vb=Xv,bb=eb,yb=xb;var wb=function(e){var t=bb(e),n=yb[t];if("function"!=typeof n||!(t in gb.prototype))return!1;if(e===n)return!0;var i=vb(n);return!!i&&e===i[0]},_b=Pg,Eb=Vv,Sb=Xv,kb=eb,Rb=iv,Tb=wb;var Ob,Ab=function(e){return Eb((function(t){var n=t.length,i=n,s=_b.prototype.thru;for(e&&t.reverse();i--;){var o=t[i];if("function"!=typeof o)throw new TypeError("Expected a function");if(s&&!a&&"wrapper"==kb(o))var a=new _b([],!0)}for(i=a?i:n;++i<n;){o=t[i];var r=kb(o),c="wrapper"==r?Sb(o):void 0;a=c&&Tb(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[kb(c[0])].apply(a,c[3]):1==o.length&&Tb(o)?a[r]():a.thru(o)}return function(){var e=arguments,i=e[0];if(a&&1==e.length&&Rb(i))return a.plant(i).value();for(var s=0,o=n?t[s].apply(this,e):i;++s<n;)o=t[s].call(this,o);return o}}))};Ab(),function(e){e.EDIT="edit",e.PREVIEW="preview"}(Ob||(Ob={}));for(var Cb,Pb,Lb,jb,Ib,Nb,Fb,Db,Mb,$b,Bb,Ub,zb,Hb,Gb,qb,Wb,Kb,Vb,Yb,Qb,Xb,Jb,Zb,ey,ty,ny,iy,sy,oy=0;oy<4;oy++)(4294967296*Math.random()).toString(16);!function(e){e.VERSION_UPDATE_TITLE="version.update.title",e.VERSION_UPDATE_INSTALL="version.update.install",e.VERSION_UPDATE_IGNORE="version.update.ignore",e.COMMON_GENERATE_ERROR="common.generate.error",e.COMMON_UNKNOWN_ERROR="common.unknown.error",e.COMMON_REQUEST_ERROR="common.request.error",e.COMMON_CODE="common.code",e.COMMON_FUNCTION="common.function",e.COMMON_USING="common.using",e.COMMON_WITHOUT="common.without",e.COMMON_COMMA="common.comma",e.COMMON_FRAMEWORK="common.framework",e.COMMON_RELATED="common.related",e.COMMON_PROMPT="common.prompt",e.COMMON_THINKING="common.thinking",e.COMMON_SEARCH_RESULT="common.searchResult",e.COMMON_AUTHORIZE="common.authorize",e.COMMON_DENY="common.deny",e.COMMON_NAVIGATE_TO_SETTING="common.navigateToSetting",e.COMMON_CUSTOMIZE_ERROR="common.customize.error",e.COMMON_PRIVATE_ERROR="common.private.error",e.LOG_LEVEL_PLACEHOLDER="log.level.placeholder",e.DO_NOT_SHOW_AGAIN="do.not.show.again"}(Cb||(Cb={})),function(e){e.NOT_SUPPORT="statusBar.not.support.text",e.ENABLE="statusBar.enable.text",e.NO_SUGGESTIONS="statusBar.nosuggestions",e.TITLE="statusBar.title"}(Pb||(Pb={})),function(e){e.PANEL_ACCEPT="completion.panel.accept.text",e.PANEL_ACCEPT_TOOLTIP="completion.panel.accept.tooltip",e.PANEL_CODELENS_DISABLED="completion.panel.codelens.disabled.text",e.PANEL_TITLE="completion.panel.title",e.PANEL_EMPTY="completion.panel.empty.text",e.PANEL_HIDDEN="completion.panel.hidden.text",e.PANEL_SYNTHESIZING="completion.panel.synthesizing.text",e.DECORATION_BASIC="completion.decoration.basic",e.DECORATION_WITH_WIDGET="completion.decoration.widget.text",e.DECORATION_ACCEPT_LINE="completion.decoration.acceptLine.text"}(Lb||(Lb={})),function(e){e.EMPTY_TEXT="nl2code.empty.text",e.NO_SELECTION="nl2code.no.selection.text"}(jb||(jb={})),function(e){e.CODELENS_TITLE="optimize.codelens.title",e.CODELENS_TOOLTIP="optimize.codelens.tooltip",e.OPTIMIZE_ERROR="optimize.error",e.OPTIMIZE_CODE_PROMPT="optimize.code.prompt",e.NO_SELECTION="optimize.no.selection.text",e.OPTIMIZE_FUNCTION_PROMPT="optimize.function.prompt"}(Ib||(Ib={})),function(e){e.EXPLAIN_SELECTED_CODE="explain.codeActions.title",e.OPTIMIZE_SELECTED_CODE="optimize.codeActions.title",e.INLINECHAT_SELECTED_CODE="inlinechat.codeActions.title"}(Nb||(Nb={})),function(e){e.CODELENS_TITLE="chatTrial.codelens.title"}(Fb||(Fb={})),function(e){e.CODELENS_TITLE="inlinechat.codelens.title"}(Db||(Db={})),function(e){e.CHAT_TIPS_TITLE="chatTips.selectedCode.title",e.CHAT_TIPS_CODE_BLANK_ROW_TITLE="chatTips.blankRow.title"}(Mb||(Mb={})),function(e){e.GENERATING_TITLE="decorations.generating.title",e.LINE_COMMENT_CODE_TRIGGER_TITLE="decorations.lineComent.trigger.title"}($b||($b={})),function(e){e.PROMPT="comment.prompt",e.CODELENS_TITLE="comment.codelens.title",e.CODELENS_TOOLTIP="comment.codelens.tooltip",e.INLINECHAT_TITLE="comment.inlinechat.title",e.GENERATE_ERROR="comment.generate.error"}(Bb||(Bb={})),function(e){e.PROMPT="docstring.prompt",e.CODELENS_TITLE="docstring.codelens.title",e.CODELENS_TOOLTIP="docstring.codelens.tooltip",e.INLINECHAT_TITLE="docstring.inlinechat.title",e.GENERATE_ERROR="docstring.generate.error"}(Ub||(Ub={})),function(e){e.PROMPT="split.prompt",e.CODELENS_TITLE="split.codelens.title",e.CODELENS_TOOLTIP="split.codelens.tooltip",e.GENERATE_ERROR="split.generate.error"}(zb||(zb={})),function(e){e.CODELENS_TITLE="explain.codelens.title",e.CODELENS_TOOLTIP="explain.codelens.tooltip",e.GENERATE_ERROR="explain.generate.error",e.NO_SELECTION="explain.no.selection.text",e.PROMPT="explain.prompt"}(Hb||(Hb={})),function(e){e.CODELENS_TITLE="unitTest.codelens.title",e.CODELENS_TOOLTIP="unitTest.codelens.tooltip",e.GENERATE_ERROR="unitTest.generate.error",e.ACCEPT_ERROR="unitTest.accept.error",e.PROMPT="unitTest.prompt"}(Gb||(Gb={})),function(e){e.PROMPT="inlineLog.prompt",e.CODELENS_TITLE="inlineLog.codelens.title",e.CODELENS_TOOLTIP="inlineLog.codelens.tooltip",e.GENERATE_ERROR="inlineLog.generate.error"}(qb||(qb={})),function(e){e.TITLE="diff.title",e.ACCEPT="diff.accept",e.REJECT="diff.reject",e.OPEN_DUAL_SCREEN_DIFF="diff.dualScreenDiff.open"}(Wb||(Wb={})),function(e){e.WEBVIEW_TITLE="chat.webview.title",e.NO_INSERT_POSITION="chat.no.insertPosition.text"}(Kb||(Kb={})),function(e){e.PATH_ERROR="accept.path.error"}(Vb||(Vb={})),function(e){e.ACTION="quickFix.action.text",e.PROMPT="quickFix.prompt",e.PROMPT_SUFFIX="quickFix.prompt.suffix",e.GENERATE_ERROR="quickFix.generate.error",e.FIX_MAX_LEN="quickFix.fix.maxLen.text"}(Yb||(Yb={})),function(e){e.LOGIN_MESSAGE="login.message",e.LOGIN_ACTION_TEXT="login.action.text",e.LOGIN_ACTION_WITH_LICENSE="login.action.withLicense.text",e.LOGIN_DEVICE_ERROR="login.device.error",e.LOGIN_LOGGING_IN="login.loggingIn.text",e.LOGIN_SUCCESS="login.success",e.LOGIN_IDE_SUCCESS="login.ide.success",e.LOGIN_FAILED="login.failed",e.LOGIN_TOKEN_ERROR="login.token.error",e.LOGIN_KEY_ERROR="login.key.error",e.LOGIN_INTERNAL_USER="login.internalUser.message",e.LOGIN_INSTALL_INTERNAL="login.install.internal",e.LOGIN_AGREEMENT="login.agreement.message",e.RENEW_ACTION="renew.action.text",e.QUICK_PICK_PLACEHOLDER="command.quick.pick.placeholder"}(Qb||(Qb={})),function(e){e.TOOLTIP="regexHover.tooltip",e.PROMPT="regexHover.prompt"}(Xb||(Xb={})),function(e){e.MAXIMUM_FILES="embeddings.maximum.files.message",e.PROGRESS="embeddings.progress.message",e.PROGRESS_TOOLTIP="embeddings.progress.tooltip.message"}(Jb||(Jb={})),function(e){e.TITLE="openPlatform.title.text",e.WEBVIEW_TITLE="openPlatform.webview.title"}(Zb||(Zb={})),function(e){e.MODAL_AUTH_TITLE="autoWork.auth.modal.title",e.INDEXING_MESSAGE="autoWork.indexing.message",e.CONNECTION_INTERRUPT="autoWork.connection.interrupt.message",e.INDEXING_REMINDER="autoWork.indexing.reminder.text",e.ERROR="autoWork.error",e.TASK_THOUGHT="autoWork.task.thought",e.TASK_ANSWER="autoWork.task.answer",e.AUTO_DEBUG="autoWork.autoDebug",e.AUTO_DEBUG_PROMPT="autoWork.autoDebug.prompt",e.AUTO_DEBUG_STAGE_THOUGHT="autoWork.autoDebug.thought",e.AUTO_DEBUG_STAGE_SEARCH="autoWork.autoDebug.search",e.AUTO_DEBUG_STAGE_ANSWER="autoWork.autoDebug.answer"}(ey||(ey={})),function(e){e.PERMISSION_WORKSPACE="comatePlus.permission.workspace.text",e.PERMISSION_DISK="comatePlus.permission.disk.text",e.PERMISSION_USER="comatePlus.permission.user.text",e.AUTH_MESSAGE="comatePlus.auth.message",e.USER_INFO_ERROR="comatePlus.userInfo.error",e.CLEAR_PERMISSION="comatePlus.clear.permission",e.SPLIT_ERROR="comatePlus.split.error",e.NO_SELECTION="comatePlus.noSelection",e.NOT_A_FUNCTION="comatePlus.not.function.text"}(ty||(ty={})),function(e){e.INLINECHAT_GENERATE="inlinechat.placeholder.generate",e.INLINECHAT_SELECTED="inlinechat.placeholder.selected",e.INLINECHAT_UNSELECTED="inlinechat.placeholder.unselected",e.INLINECHAT_TITLE="inlinechat.title",e.INLINCHAT_ERROR="inlinechat.placeholder.error"}(ny||(ny={})),function(e){e.GENERATE_ERROR="messageGenerate.generate.error",e.NO_DIFF_ERROR="messageGenerate.noDiff.error",e.GET_DIFF_ERROR="messageGenerate.getDiff.error",e.EMPTY_CONTENT_ERROR="messageGenerate.emptyContent.error"}(iy||(iy={})),function(e){e.GENERATE_ERROR="kernel.zulu.error"}(sy||(sy={}));class ay{groupManager;description;registry;setupContext;pluginChannel=null;cleanupHandlers=[];constructor(e){this.groupManager=e.groupManager,this.description=e.plugin,this.registry=e.registry,this.setupContext={description:e.plugin,directory:e.directory,inspectPort:e.inspectPort}}async setup(){await this.groupManager.joinGroup(this.setupContext,{onSetup:e=>this.setupRunningStatus(e),onExit:()=>this.cleanup()})}startSession(e,t,n,i){return this.pluginChannel?.startSession(e,{action:t,payload:n},i)}sendMessage(e,t,n){return this.pluginChannel?.send(e,t,n)}async dispose(){await this.groupManager.exitGroup(this.setupContext),this.cleanup()}setupRunningStatus(e){this.pluginChannel=e;this.registry.loadCapabilitiesForPlugin(this.description.capabilities.map((e=>({owner:this.description,name:e.name,type:e.type,displayName:e.displayName,placeholder:e.placeholder,defaultUserMessage:e.defaultUserMessage,displayTag:e.displayTag,enableSmartApply:e.enableSmartApply,visibilitySelector:e.visibilitySelector,querySelector:e.querySelector}))))}cleanup(){this.pluginChannel&&(this.pluginChannel=null),this.registry.unloadCapabilitiesForPlugin(this.description.name)}}function ry(e){return Array.isArray?Array.isArray(e):"[object Array]"===xy(e)}const cy=1/0;function py(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-cy?"-0":t}(e)}function ly(e){return"string"==typeof e}function uy(e){return"number"==typeof e}function dy(e){return!0===e||!1===e||function(e){return my(e)&&null!==e}(e)&&"[object Boolean]"==xy(e)}function my(e){return"object"==typeof e}function fy(e){return null!=e}function hy(e){return!e.trim().length}function xy(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const gy=e=>`Missing ${e} property in key`,vy=e=>`Property 'weight' in key '${e}' must be a positive integer`,by=Object.prototype.hasOwnProperty;class yy{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=wy(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function wy(e){let t=null,n=null,i=null,s=1,o=null;if(ly(e)||ry(e))i=e,t=_y(e),n=Ey(e);else{if(!by.call(e,"name"))throw new Error(gy("name"));const a=e.name;if(i=a,by.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(vy(a));t=_y(a),n=Ey(a),o=e.getFn}return{path:t,id:n,weight:s,src:i,getFn:o}}function _y(e){return ry(e)?e:e.split(".")}function Ey(e){return ry(e)?e.join("."):e}const Sy={useExtendedSearch:!1,getFn:function(e,t){let n=[],i=!1;const s=(e,t,o)=>{if(fy(e))if(t[o]){const a=e[t[o]];if(!fy(a))return;if(o===t.length-1&&(ly(a)||uy(a)||dy(a)))n.push(py(a));else if(ry(a)){i=!0;for(let e=0,n=a.length;e<n;e+=1)s(a[e],t,o+1)}else t.length&&s(a,t,o+1)}else n.push(e)};return s(e,ly(t)?t.split("."):t,0),i?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var ky={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...Sy};const Ry=/[^ ]+/g;class Ty{constructor({getFn:e=ky.getFn,fieldNormWeight:t=ky.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,i=Math.pow(10,t);return{get(t){const s=t.match(Ry).length;if(n.has(s))return n.get(s);const o=1/Math.pow(s,.5*e),a=parseFloat(Math.round(o*i)/i);return n.set(s,a),a},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,ly(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();ly(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!fy(e)||hy(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,i)=>{let s=t.getFn?t.getFn(e):this.getFn(e,t.path);if(fy(s))if(ry(s)){let e=[];const t=[{nestedArrIndex:-1,value:s}];for(;t.length;){const{nestedArrIndex:n,value:i}=t.pop();if(fy(i))if(ly(i)&&!hy(i)){let t={v:i,i:n,n:this.norm.get(i)};e.push(t)}else ry(i)&&i.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[i]=e}else if(ly(s)&&!hy(s)){let e={v:s,n:this.norm.get(s)};n.$[i]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Oy(e,t,{getFn:n=ky.getFn,fieldNormWeight:i=ky.fieldNormWeight}={}){const s=new Ty({getFn:n,fieldNormWeight:i});return s.setKeys(e.map(wy)),s.setSources(t),s.create(),s}function Ay(e,{errors:t=0,currentLocation:n=0,expectedLocation:i=0,distance:s=ky.distance,ignoreLocation:o=ky.ignoreLocation}={}){const a=t/e.length;if(o)return a;const r=Math.abs(i-n);return s?a+r/s:r?1:a}const Cy=32;function Py(e,t,n,{location:i=ky.location,distance:s=ky.distance,threshold:o=ky.threshold,findAllMatches:a=ky.findAllMatches,minMatchCharLength:r=ky.minMatchCharLength,includeMatches:c=ky.includeMatches,ignoreLocation:p=ky.ignoreLocation}={}){if(t.length>Cy)throw new Error(`Pattern length exceeds max of ${Cy}.`);const l=t.length,u=e.length,d=Math.max(0,Math.min(i,u));let m=o,f=d;const h=r>1||c,x=h?Array(u):[];let g;for(;(g=e.indexOf(t,f))>-1;){let e=Ay(t,{currentLocation:g,expectedLocation:d,distance:s,ignoreLocation:p});if(m=Math.min(e,m),f=g+l,h){let e=0;for(;e<l;)x[g+e]=1,e+=1}}f=-1;let v=[],b=1,y=l+u;const w=1<<l-1;for(let i=0;i<l;i+=1){let o=0,r=y;for(;o<r;){Ay(t,{errors:i,currentLocation:d+r,expectedLocation:d,distance:s,ignoreLocation:p})<=m?o=r:y=r,r=Math.floor((y-o)/2+o)}y=r;let c=Math.max(1,d-r+1),g=a?u:Math.min(d+r,u)+l,_=Array(g+2);_[g+1]=(1<<i)-1;for(let o=g;o>=c;o-=1){let a=o-1,r=n[e.charAt(a)];if(h&&(x[a]=+!!r),_[o]=(_[o+1]<<1|1)&r,i&&(_[o]|=(v[o+1]|v[o])<<1|1|v[o+1]),_[o]&w&&(b=Ay(t,{errors:i,currentLocation:a,expectedLocation:d,distance:s,ignoreLocation:p}),b<=m)){if(m=b,f=a,f<=d)break;c=Math.max(1,2*d-f)}}if(Ay(t,{errors:i+1,currentLocation:d,expectedLocation:d,distance:s,ignoreLocation:p})>m)break;v=_}const _={isMatch:f>=0,score:Math.max(.001,b)};if(h){const e=function(e=[],t=ky.minMatchCharLength){let n=[],i=-1,s=-1,o=0;for(let a=e.length;o<a;o+=1){let a=e[o];a&&-1===i?i=o:a||-1===i||(s=o-1,s-i+1>=t&&n.push([i,s]),i=-1)}return e[o-1]&&o-i>=t&&n.push([i,o-1]),n}(x,r);e.length?c&&(_.indices=e):_.isMatch=!1}return _}function Ly(e){let t={};for(let n=0,i=e.length;n<i;n+=1){const s=e.charAt(n);t[s]=(t[s]||0)|1<<i-n-1}return t}class jy{constructor(e,{location:t=ky.location,threshold:n=ky.threshold,distance:i=ky.distance,includeMatches:s=ky.includeMatches,findAllMatches:o=ky.findAllMatches,minMatchCharLength:a=ky.minMatchCharLength,isCaseSensitive:r=ky.isCaseSensitive,ignoreLocation:c=ky.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:i,includeMatches:s,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:r,ignoreLocation:c},this.pattern=r?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const p=(e,t)=>{this.chunks.push({pattern:e,alphabet:Ly(e),startIndex:t})},l=this.pattern.length;if(l>Cy){let e=0;const t=l%Cy,n=l-t;for(;e<n;)p(this.pattern.substr(e,Cy),e),e+=Cy;if(t){const e=l-Cy;p(this.pattern.substr(e),e)}}else p(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:i,distance:s,threshold:o,findAllMatches:a,minMatchCharLength:r,ignoreLocation:c}=this.options;let p=[],l=0,u=!1;this.chunks.forEach((({pattern:t,alphabet:d,startIndex:m})=>{const{isMatch:f,score:h,indices:x}=Py(e,t,d,{location:i+m,distance:s,threshold:o,findAllMatches:a,minMatchCharLength:r,includeMatches:n,ignoreLocation:c});f&&(u=!0),l+=h,f&&x&&(p=[...p,...x])}));let d={isMatch:u,score:u?l/this.chunks.length:1};return u&&n&&(d.indices=p),d}}class Iy{constructor(e){this.pattern=e}static isMultiMatch(e){return Ny(e,this.multiRegex)}static isSingleMatch(e){return Ny(e,this.singleRegex)}search(){}}function Ny(e,t){const n=e.match(t);return n?n[1]:null}class Fy extends Iy{constructor(e,{location:t=ky.location,threshold:n=ky.threshold,distance:i=ky.distance,includeMatches:s=ky.includeMatches,findAllMatches:o=ky.findAllMatches,minMatchCharLength:a=ky.minMatchCharLength,isCaseSensitive:r=ky.isCaseSensitive,ignoreLocation:c=ky.ignoreLocation}={}){super(e),this._bitapSearch=new jy(e,{location:t,threshold:n,distance:i,includeMatches:s,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:r,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Dy extends Iy{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const i=[],s=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+s,i.push([t,n-1]);const o=!!i.length;return{isMatch:o,score:o?0:1,indices:i}}}const My=[class extends Iy{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Dy,class extends Iy{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends Iy{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Iy{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Iy{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends Iy{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Fy],$y=My.length,By=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Uy=new Set([Fy.type,Dy.type]);class zy{constructor(e,{isCaseSensitive:t=ky.isCaseSensitive,includeMatches:n=ky.includeMatches,minMatchCharLength:i=ky.minMatchCharLength,ignoreLocation:s=ky.ignoreLocation,findAllMatches:o=ky.findAllMatches,location:a=ky.location,threshold:r=ky.threshold,distance:c=ky.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:i,findAllMatches:o,ignoreLocation:s,location:a,threshold:r,distance:c},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(By).filter((e=>e&&!!e.trim())),i=[];for(let e=0,s=n.length;e<s;e+=1){const s=n[e];let o=!1,a=-1;for(;!o&&++a<$y;){const e=My[a];let n=e.isMultiMatch(s);n&&(i.push(new e(n,t)),o=!0)}if(!o)for(a=-1;++a<$y;){const e=My[a];let n=e.isSingleMatch(s);if(n){i.push(new e(n,t));break}}}return i}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:i}=this.options;e=i?e:e.toLowerCase();let s=0,o=[],a=0;for(let i=0,r=t.length;i<r;i+=1){const r=t[i];o.length=0,s=0;for(let t=0,i=r.length;t<i;t+=1){const i=r[t],{isMatch:c,indices:p,score:l}=i.search(e);if(!c){a=0,s=0,o.length=0;break}if(s+=1,a+=l,n){const e=i.constructor.type;Uy.has(e)?o=[...o,...p]:o.push(p)}}if(s){let e={isMatch:!0,score:a/s};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const Hy=[];function Gy(e,t){for(let n=0,i=Hy.length;n<i;n+=1){let i=Hy[n];if(i.condition(e,t))return new i(e,t)}return new jy(e,t)}const qy="$and",Wy="$or",Ky="$path",Vy="$val",Yy=e=>!(!e[qy]&&!e[Wy]),Qy=e=>({[qy]:Object.keys(e).map((t=>({[t]:e[t]})))});function Xy(e,t,{auto:n=!0}={}){const i=e=>{let s=Object.keys(e);const o=(e=>!!e[Ky])(e);if(!o&&s.length>1&&!Yy(e))return i(Qy(e));if((e=>!ry(e)&&my(e)&&!Yy(e))(e)){const i=o?e[Ky]:s[0],a=o?e[Vy]:e[i];if(!ly(a))throw new Error((e=>`Invalid value for key ${e}`)(i));const r={keyId:Ey(i),pattern:a};return n&&(r.searcher=Gy(a,t)),r}let a={children:[],operator:s[0]};return s.forEach((t=>{const n=e[t];ry(n)&&n.forEach((e=>{a.children.push(i(e))}))})),a};return Yy(e)||(e=Qy(e)),i(e)}function Jy(e,t){const n=e.matches;t.matches=[],fy(n)&&n.forEach((e=>{if(!fy(e.indices)||!e.indices.length)return;const{indices:n,value:i}=e;let s={indices:n,value:i};e.key&&(s.key=e.key.src),e.idx>-1&&(s.refIndex=e.idx),t.matches.push(s)}))}function Zy(e,t){t.score=e.score}class ew{constructor(e,t={},n){this.options={...ky,...t},this.options.useExtendedSearch,this._keyStore=new yy(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Ty))throw new Error("Incorrect 'index' type");this._myIndex=t||Oy(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){fy(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,i=this._docs.length;n<i;n+=1){const s=this._docs[n];e(s,n)&&(this.removeAt(n),n-=1,i-=1,t.push(s))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:i,shouldSort:s,sortFn:o,ignoreFieldNorm:a}=this.options;let r=ly(e)?ly(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=ky.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:i,score:s})=>{const o=e?e.weight:null;n*=Math.pow(0===s&&o?Number.EPSILON:s,(o||1)*(t?1:i))})),e.score=n}))}(r,{ignoreFieldNorm:a}),s&&r.sort(o),uy(t)&&t>-1&&(r=r.slice(0,t)),function(e,t,{includeMatches:n=ky.includeMatches,includeScore:i=ky.includeScore}={}){const s=[];return n&&s.push(Jy),i&&s.push(Zy),e.map((e=>{const{idx:n}=e,i={item:t[n],refIndex:n};return s.length&&s.forEach((t=>{t(e,i)})),i}))}(r,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(e){const t=Gy(e,this.options),{records:n}=this._myIndex,i=[];return n.forEach((({v:e,i:n,n:s})=>{if(!fy(e))return;const{isMatch:o,score:a,indices:r}=t.searchIn(e);o&&i.push({item:e,idx:n,matches:[{score:a,value:e,norm:s,indices:r}]})})),i}_searchLogical(e){const t=Xy(e,this.options),n=(e,t,i)=>{if(!e.children){const{keyId:n,searcher:s}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:s});return o&&o.length?[{idx:i,item:t,matches:o}]:[]}const s=[];for(let o=0,a=e.children.length;o<a;o+=1){const a=e.children[o],r=n(a,t,i);if(r.length)s.push(...r);else if(e.operator===qy)return[]}return s},i=this._myIndex.records,s={},o=[];return i.forEach((({$:e,i:i})=>{if(fy(e)){let a=n(t,e,i);a.length&&(s[i]||(s[i]={idx:i,item:e,matches:[]},o.push(s[i])),a.forEach((({matches:e})=>{s[i].matches.push(...e)})))}})),o}_searchObjectList(e){const t=Gy(e,this.options),{keys:n,records:i}=this._myIndex,s=[];return i.forEach((({$:e,i:i})=>{if(!fy(e))return;let o=[];n.forEach(((n,i)=>{o.push(...this._findMatches({key:n,value:e[i],searcher:t}))})),o.length&&s.push({idx:i,item:e,matches:o})})),s}_findMatches({key:e,value:t,searcher:n}){if(!fy(t))return[];let i=[];if(ry(t))t.forEach((({v:t,i:s,n:o})=>{if(!fy(t))return;const{isMatch:a,score:r,indices:c}=n.searchIn(t);a&&i.push({score:r,key:e,value:t,idx:s,norm:o,indices:c})}));else{const{v:s,n:o}=t,{isMatch:a,score:r,indices:c}=n.searchIn(s);a&&i.push({score:r,key:e,value:s,norm:o,indices:c})}return i}}ew.version="7.0.0",ew.createIndex=Oy,ew.parseIndex=function(e,{getFn:t=ky.getFn,fieldNormWeight:n=ky.fieldNormWeight}={}){const{keys:i,records:s}=e,o=new Ty({getFn:t,fieldNormWeight:n});return o.setKeys(i),o.setIndexRecords(s),o},ew.config=ky,ew.parseQuery=Xy,function(...e){Hy.push(...e)}(zy);class tw{capabilities=[];listAllCapabilities(){return this.capabilities.map((({visibilitySelector:e,...t})=>t))}async suggestCapabilitiesByMatch(e){const{pluginName:t,capabilityKeyword:n}=e,i=[];for(const s of this.capabilities){if(!e.canHandle(s.type))continue;if(t&&s.owner.name!==t)continue;if(0===await s.visibilityMatcher.match(e.cwd,e.context))continue;if(n){i.push({...s});continue}const o=await s.queryMatcher.match(e.cwd,e.context);0!==o&&i.push({...s,queryScore:o})}if(!n)return i;return new ew(i,{keys:["displayName"]}).search(n).map((e=>e.item))}loadCapabilitiesForPlugin(e){const t=e.map((e=>this.compileCapabilityInfo(e)));this.capabilities=this.capabilities.concat(t)}unloadCapabilitiesForPlugin(e){this.capabilities=this.capabilities.filter((t=>t.owner.name!==e))}compileCapabilityInfo(e){return{...e,visibilityMatcher:new dx(e.visibilitySelector??{},sx.default),queryMatcher:new dx(e.querySelector??{},sx.default)}}}class nw extends Q{plugins;constructor(e,t,n){super(e,t),this.plugins=n.plugins}initializeListeners(){super.initializeListeners(),this.forwardSessionTask("CHAT_QUERY"),this.forwardSessionTask("ACTION_SECUBOT"),this.forwardSessionTask("ACTION_CUSTOM_COMMAND"),this.forwardSessionTask("DIAGNOSTIC_SCAN"),this.forwardSessionTask("ACTION_START_BACKGROUND_SERVICE"),this.forwardExecution(J),this.forwardExecution(ee),this.forwardExecution(xe),this.forwardExecution(te),this.forwardExecution(he),this.forwardExecution(oe),this.forwardExecution(ae),this.forwardExecution(ge),this.forwardExecution(le),this.forwardSessionTask("START_ISCAN"),this.forwardSessionTask("SA_SCAN_DIAGNOSTIC"),this.forwardSessionTask("PLUS_MODULE_LIST_FETCH")}forwardExecution(e){this.setListener(e,(async(t,n)=>{const i=this.plugins.get(t.pluginName);i?await i.sendMessage(this.sessionId,{action:e,payload:t},n):this.logPluginNotFound(t.pluginName)}))}forwardSessionTask(e){this.setListener(e,(async t=>{const n=this.plugins.get(t.pluginName);n?await n.startSession(this,e,t):this.logPluginNotFound(t.pluginName)}))}logPluginNotFound(e){this.log("error",this.constructor.name,"PluginNotFound",{pluginName:e})}}class iw extends X{plugins;registry;constructor(e,t,n){super(e),this.registry=t,this.plugins=n}createSession(e){return new nw(e,this.implement,{plugins:this.plugins,registry:this.registry})}}class sw extends Q{initializeListeners(){super.initializeListeners(),this.forwardMessageToParent(J),this.forwardMessageToParent(ee),this.forwardMessageToParent(xe),this.forwardMessageToParent(te),this.forwardMessageToParent(he),this.forwardMessageToParent(oe),this.forwardMessageToParent(ae),this.forwardMessageToParent("CHAT_TASK_PROGRESS"),this.forwardMessageToParent("DIAGNOSTIC_SCAN_TASK_PROGRESS"),this.forwardMessageToParent("DIAGNOSTIC_SCAN_TASK_COUNT"),this.forwardMessageToParent("ACTION_SECUBOT_TASK_PROGRESS"),this.forwardMessageToParent(ge),this.forwardMessageToParent(le),this.forwardMessageToParent("ISCAN_RESULT"),this.forwardMessageToParent("ISCAN_JOB_BUILD_ID"),this.forwardMessageToParent("SA_SCAN_DIAGNOSTIC_RESULT"),this.forwardMessageToParent("PLUS_MODULE_LIST_RESULT")}}class ow extends X{createSession(e){return new sw(e,this.implement)}}class aw{groups=new Map;async joinGroup(e,{onExit:t,onSetup:n}){const{description:i,directory:s,inspectPort:o}=e,a=this.getGroupKey({description:i,directory:s,inspectPort:o}),r=this.groups.get(a)??this.createGroup(a,o);r.plugins.set(i.name,{description:i,directory:s,onExit:t,onSetup:n}),await this.onPluginJoinGroup(r,e)}async exitGroup(e){const t=this.getGroupKey(e),n=this.groups.get(t);n&&(n.plugins.delete(e.description.name),await this.onPluginExitGroup(n,e),n.plugins.size||(this.destroyGroup(n),this.groups.delete(n.key)))}createGroup(e,t){const n={key:e,value:this.createGroupValue(e,t),plugins:new Map};return this.groups.set(e,n),n}}class rw extends Error{constructor(e){super(e),this.name="TimeoutError"}}class cw extends Error{constructor(e){super(),this.name="AbortError",this.message=e}}const pw=e=>void 0===globalThis.DOMException?new cw(e):new DOMException(e),lw=e=>{const t=void 0===e.reason?pw("This operation was aborted."):e.reason;return t instanceof Error?t:pw(t)};const uw=e=>{const t=e.addEventListener||e.on||e.addListener,n=e.removeEventListener||e.off||e.removeListener;if(!t||!n)throw new TypeError("Emitter is not compatible");return{addListener:t.bind(e),removeListener:n.bind(e)}};function dw(e,t,n){let i;const s=new Promise(((s,o)=>{if(!((n={rejectionEvents:["error"],multiArgs:!1,resolveImmediately:!1,...n}).count>=0)||n.count!==Number.POSITIVE_INFINITY&&!Number.isInteger(n.count))throw new TypeError("The `count` option should be at least 0 or more");n.signal?.throwIfAborted();const a=[t].flat(),r=[],{addListener:c,removeListener:p}=uw(e),l=(...e)=>{const t=n.multiArgs?e:e[0];n.filter&&!n.filter(t)||(r.push(t),n.count===r.length&&(i(),s(r)))},u=e=>{i(),o(e)};i=()=>{for(const e of a)p(e,l);for(const e of n.rejectionEvents)p(e,u)};for(const e of a)c(e,l);for(const e of n.rejectionEvents)c(e,u);n.signal&&n.signal.addEventListener("abort",(()=>{u(n.signal.reason)}),{once:!0}),n.resolveImmediately&&s(r)}));if(s.cancel=i,"number"==typeof n.timeout){const e=function(e,t){const{milliseconds:n,fallback:i,message:s,customTimers:o={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t;let a;const r=new Promise(((r,c)=>{if("number"!=typeof n||1!==Math.sign(n))throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){const{signal:e}=t;e.aborted&&c(lw(e)),e.addEventListener("abort",(()=>{c(lw(e))}))}if(n===Number.POSITIVE_INFINITY)return void e.then(r,c);const p=new rw;a=o.setTimeout.call(void 0,(()=>{if(i)try{r(i())}catch(e){c(e)}else"function"==typeof e.cancel&&e.cancel(),!1===s?r():s instanceof Error?c(s):(p.message=s??`Promise timed out after ${n} milliseconds`,c(p))}),n),(async()=>{try{r(await e)}catch(e){c(e)}})()})),c=r.finally((()=>{c.clear()}));return c.clear=()=>{o.clearTimeout.call(void 0,a),a=void 0},c}(s,{milliseconds:n.timeout});return e.cancel=i,e}return s}var mw,fw,hw,xw,gw,vw={exports:{}};gw="win32"===process.platform||be.TESTING_WINDOWS?function(){if(fw)return mw;fw=1,mw=n,n.sync=function(n,i){return t(e.statSync(n),n,i)};var e=c;function t(e,t,n){return!(!e.isSymbolicLink()&&!e.isFile())&&function(e,t){var n=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!n)return!0;if(-1!==(n=n.split(";")).indexOf(""))return!0;for(var i=0;i<n.length;i++){var s=n[i].toLowerCase();if(s&&e.substr(-s.length).toLowerCase()===s)return!0}return!1}(t,n)}function n(n,i,s){e.stat(n,(function(e,o){s(e,!e&&t(o,n,i))}))}return mw}():function(){if(xw)return hw;xw=1,hw=t,t.sync=function(t,i){return n(e.statSync(t),i)};var e=c;function t(t,i,s){e.stat(t,(function(e,t){s(e,!e&&n(t,i))}))}function n(e,t){return e.isFile()&&function(e,t){var n=e.mode,i=e.uid,s=e.gid,o=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),a=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),r=parseInt("100",8),c=parseInt("010",8);return n&parseInt("001",8)||n&c&&s===a||n&r&&i===o||n&(r|c)&&0===o}(e,t)}return hw}();var bw=yw;function yw(e,t,n){if("function"==typeof t&&(n=t,t={}),!n){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(n,i){yw(e,t||{},(function(e,t){e?i(e):n(t)}))}))}gw(e,t||{},(function(e,i){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,i=!1),n(e,i)}))}yw.sync=function(e,t){try{return gw.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}};const ww="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,_w=f,Ew=ww?";":":",Sw=bw,kw=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),Rw=(e,t)=>{const n=t.colon||Ew,i=e.match(/\//)||ww&&e.match(/\\/)?[""]:[...ww?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(n)],s=ww?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=ww?s.split(n):[""];return ww&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:s}},Tw=(e,t,n)=>{"function"==typeof t&&(n=t,t={}),t||(t={});const{pathEnv:i,pathExt:s,pathExtExe:o}=Rw(e,t),a=[],r=n=>new Promise(((s,o)=>{if(n===i.length)return t.all&&a.length?s(a):o(kw(e));const r=i[n],p=/^".*"$/.test(r)?r.slice(1,-1):r,l=_w.join(p,e),u=!p&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;s(c(u,n,0))})),c=(e,n,i)=>new Promise(((p,l)=>{if(i===s.length)return p(r(n+1));const u=s[i];Sw(e+u,{pathExt:o},((s,o)=>{if(!s&&o){if(!t.all)return p(e+u);a.push(e+u)}return p(c(e,n,i+1))}))}));return n?r(0).then((e=>n(null,e)),n):r(0)};var Ow=Tw;Tw.sync=(e,t)=>{t=t||{};const{pathEnv:n,pathExt:i,pathExtExe:s}=Rw(e,t),o=[];for(let a=0;a<n.length;a++){const r=n[a],c=/^".*"$/.test(r)?r.slice(1,-1):r,p=_w.join(c,e),l=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+p:p;for(let e=0;e<i.length;e++){const n=l+i[e];try{if(Sw.sync(n,{pathExt:s})){if(!t.all)return n;o.push(n)}}catch(e){}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw kw(e)};var Aw={exports:{}};const Cw=(e={})=>{const t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"};Aw.exports=Cw,Aw.exports.default=Cw;var Pw=Aw.exports;const Lw=f,jw=Ow,Iw=Pw;function Nw(e,t){const n=e.options.env||process.env,i=process.cwd(),s=null!=e.options.cwd,o=s&&void 0!==process.chdir&&!process.chdir.disabled;if(o)try{process.chdir(e.options.cwd)}catch(e){}let a;try{a=jw.sync(e.command,{path:n[Iw({env:n})],pathExt:t?Lw.delimiter:void 0})}catch(e){}finally{o&&process.chdir(i)}return a&&(a=Lw.resolve(s?e.options.cwd:"",a)),a}var Fw=function(e){return Nw(e)||Nw(e,!0)},Dw={};const Mw=/([()\][%!^"`<>&|;, *?])/g;Dw.command=function(e){return e=e.replace(Mw,"^$1")},Dw.argument=function(e,t){return e=(e=`"${e=(e=(e=`${e}`).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(Mw,"^$1"),t&&(e=e.replace(Mw,"^$1")),e};const $w=/^#!(.*)/;const Bw=c,Uw=(e="")=>{const t=e.match($w);if(!t)return null;const[n,i]=t[0].replace(/#! ?/,"").split(" "),s=n.split("/").pop();return"env"===s?i:i?`${s} ${i}`:s};const zw=f,Hw=Fw,Gw=Dw,qw=function(e){const t=Buffer.alloc(150);let n;try{n=Bw.openSync(e,"r"),Bw.readSync(n,t,0,150,0),Bw.closeSync(n)}catch(e){}return Uw(t.toString())},Ww="win32"===process.platform,Kw=/\.(?:com|exe)$/i,Vw=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function Yw(e){if(!Ww)return e;const t=function(e){e.file=Hw(e);const t=e.file&&qw(e.file);return t?(e.args.unshift(e.file),e.command=t,Hw(e)):e.file}(e),n=!Kw.test(t);if(e.options.forceShell||n){const n=Vw.test(t);e.command=zw.normalize(e.command),e.command=Gw.command(e.command),e.args=e.args.map((e=>Gw.argument(e,n)));const i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}var Qw=function(e,t,n){t&&!Array.isArray(t)&&(n=t,t=null);const i={command:e,args:t=t?t.slice(0):[],options:n=Object.assign({},n),file:void 0,original:{command:e,args:t}};return n.shell?i:Yw(i)};const Xw="win32"===process.platform;function Jw(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function Zw(e,t){return Xw&&1===e&&!t.file?Jw(t.original,"spawn"):null}var e_={hookChildProcess:function(e,t){if(!Xw)return;const n=e.emit;e.emit=function(i,s){if("exit"===i){const i=Zw(s,t);if(i)return n.call(e,"error",i)}return n.apply(e,arguments)}},verifyENOENT:Zw,verifyENOENTSync:function(e,t){return Xw&&1===e&&!t.file?Jw(t.original,"spawnSync"):null},notFoundError:Jw};const t_=F,n_=Qw,i_=e_;function s_(e,t,n){const i=n_(e,t,n),s=t_.spawn(i.command,i.args,i.options);return i_.hookChildProcess(s,i),s}vw.exports=s_,vw.exports.spawn=s_,vw.exports.sync=function(e,t,n){const i=n_(e,t,n),s=t_.spawnSync(i.command,i.args,i.options);return s.error=s.error||i_.verifyENOENTSync(s.status,i),s},vw.exports._parse=n_,vw.exports._enoent=i_;var o_=ye(vw.exports);function a_(e={}){const{env:t=process.env,platform:n=process.platform}=e;return"win32"!==n?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"}const r_=(t,n)=>{let i;for(;i!==n;)t.push(e.join(n,"node_modules/.bin")),i=n,n=e.resolve(n,"..")},c_=(t,n,i)=>{const s=n instanceof URL?A(n):n;t.push(e.resolve(i,s,".."))},p_=({env:t=T.env,...n}={})=>{const i=a_({env:t={...t}});return n.path=t[i],t[i]=(({cwd:t=T.cwd(),path:n=T.env[a_()],preferLocal:i=!0,execPath:s=T.execPath,addExecPath:o=!0}={})=>{const a=t instanceof URL?A(t):t,r=e.resolve(a),c=[];return i&&r_(c,r),o&&c_(c,s,r),[...c,n].join(e.delimiter)})(n),t},l_=(e,t,n,i)=>{if("length"===n||"prototype"===n)return;if("arguments"===n||"caller"===n)return;const s=Object.getOwnPropertyDescriptor(e,n),o=Object.getOwnPropertyDescriptor(t,n);!u_(s,o)&&i||Object.defineProperty(e,n,o)},u_=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},d_=(e,t)=>`/* Wrapped ${e}*/\n${t}`,m_=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),f_=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name");function h_(e,t,{ignoreNonConfigurable:n=!1}={}){const{name:i}=e;for(const i of Reflect.ownKeys(t))l_(e,t,i,n);return((e,t)=>{const n=Object.getPrototypeOf(t);n!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,n)})(e,t),((e,t,n)=>{const i=""===n?"":`with ${n.trim()}() `,s=d_.bind(null,i,t.toString());Object.defineProperty(s,"name",f_),Object.defineProperty(e,"toString",{...m_,value:s})})(e,t,i),e}const x_=new WeakMap,g_=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let n,i=0;const s=e.displayName||e.name||"<anonymous>",o=function(...a){if(x_.set(o,++i),1===i)n=e.apply(this,a),e=null;else if(!0===t.throw)throw new Error(`Function \`${s}\` can only be called once`);return n};return h_(o,e),x_.set(o,i),o};g_.callCount=e=>{if(!x_.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return x_.get(e)};const v_=(e,t)=>({name:`SIGRT${t+1}`,number:b_+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),b_=34,y_=64,w_=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}],__=()=>{const e=(()=>{const e=y_-b_+1;return Array.from({length:e},v_)})();return[...w_,...e].map(E_)},E_=({name:e,number:t,description:n,action:i,forced:s=!1,standard:o})=>{const{signals:{[e]:a}}=R,r=void 0!==a;return{name:e,number:r?a:t,description:n,supported:r,action:i,forced:s,standard:o}},S_=({name:e,number:t,description:n,supported:i,action:s,forced:o,standard:a})=>[e,{name:e,number:t,description:n,supported:i,action:s,forced:o,standard:a}],k_=(()=>{const e=__();return Object.fromEntries(e.map(S_))})(),R_=(e,t)=>{const n=T_(e,t);if(void 0===n)return{};const{name:i,description:s,supported:o,action:a,forced:r,standard:c}=n;return{[e]:{name:i,number:e,description:s,supported:o,action:a,forced:r,standard:c}}},T_=(e,t)=>{const n=t.find((({name:t})=>R.signals[t]===e));return void 0!==n?n:t.find((t=>t.number===e))};(()=>{const e=__(),t=y_+1,n=Array.from({length:t},((t,n)=>R_(n,e)));Object.assign({},...n)})();const O_=({stdout:e,stderr:t,all:n,error:i,signal:s,exitCode:o,command:a,escapedCommand:r,timedOut:c,isCanceled:p,killed:l,parsed:{options:{timeout:u,cwd:d=T.cwd()}}})=>{o=null===o?void 0:o;const m=void 0===(s=null===s?void 0:s)?void 0:k_[s].description,f=(({timedOut:e,timeout:t,errorCode:n,signal:i,signalDescription:s,exitCode:o,isCanceled:a})=>e?`timed out after ${t} milliseconds`:a?"was canceled":void 0!==n?`failed with ${n}`:void 0!==i?`was killed with ${i} (${s})`:void 0!==o?`failed with exit code ${o}`:"failed")({timedOut:c,timeout:u,errorCode:i&&i.code,signal:s,signalDescription:m,exitCode:o,isCanceled:p}),h=`Command ${f}: ${a}`,x="[object Error]"===Object.prototype.toString.call(i),g=x?`${h}\n${i.message}`:h,v=[g,t,e].filter(Boolean).join("\n");return x?(i.originalMessage=i.message,i.message=v):i=new Error(v),i.shortMessage=g,i.command=a,i.escapedCommand=r,i.exitCode=o,i.signal=s,i.signalDescription=m,i.stdout=e,i.stderr=t,i.cwd=d,void 0!==n&&(i.all=n),"bufferedData"in i&&delete i.bufferedData,i.failed=!0,i.timedOut=Boolean(c),i.isCanceled=p,i.killed=l&&!c,i},A_=["stdin","stdout","stderr"],C_=e=>{if(!e)return;const{stdio:t}=e;if(void 0===t)return A_.map((t=>e[t]));if((e=>A_.some((t=>void 0!==e[t])))(e))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${A_.map((e=>`\`${e}\``)).join(", ")}`);if("string"==typeof t)return t;if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);const n=Math.max(t.length,A_.length);return Array.from({length:n},((e,n)=>t[n]))},P_=e=>{const t=C_(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]},L_=[];L_.push("SIGHUP","SIGINT","SIGTERM"),"win32"!==process.platform&&L_.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&L_.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");const j_=e=>!!e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on,I_=Symbol.for("signal-exit emitter"),N_=globalThis,F_=Object.defineProperty.bind(Object);class D_{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(N_[I_])return N_[I_];F_(N_,I_,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(e,t){this.listeners[e].push(t)}removeListener(e,t){const n=this.listeners[e],i=n.indexOf(t);-1!==i&&(0===i&&1===n.length?n.length=0:n.splice(i,1))}emit(e,t,n){if(this.emitted[e])return!1;this.emitted[e]=!0;let i=!1;for(const s of this.listeners[e])i=!0===s(t,n)||i;return"exit"===e&&(i=this.emit("afterExit",t,n)||i),i}}class M_{}const $_=globalThis.process,{onExit:B_,load:U_,unload:z_}=(H_=j_($_)?new class extends M_{#n="win32"===$_.platform?"SIGINT":"SIGHUP";#i=new D_;#s;#o;#a;#r={};#c=!1;constructor(e){super(),this.#s=e,this.#r={};for(const t of L_)this.#r[t]=()=>{const n=this.#s.listeners(t);let{count:i}=this.#i;const s=e;if("object"==typeof s.__signal_exit_emitter__&&"number"==typeof s.__signal_exit_emitter__.count&&(i+=s.__signal_exit_emitter__.count),n.length===i){this.unload();const n=this.#i.emit("exit",null,t),i="SIGHUP"===t?this.#n:t;n||e.kill(e.pid,i)}};this.#a=e.reallyExit,this.#o=e.emit}onExit(e,t){if(!j_(this.#s))return()=>{};!1===this.#c&&this.load();const n=t?.alwaysLast?"afterExit":"exit";return this.#i.on(n,e),()=>{this.#i.removeListener(n,e),0===this.#i.listeners.exit.length&&0===this.#i.listeners.afterExit.length&&this.unload()}}load(){if(!this.#c){this.#c=!0,this.#i.count+=1;for(const e of L_)try{const t=this.#r[e];t&&this.#s.on(e,t)}catch(e){}this.#s.emit=(e,...t)=>this.#p(e,...t),this.#s.reallyExit=e=>this.#l(e)}}unload(){this.#c&&(this.#c=!1,L_.forEach((e=>{const t=this.#r[e];if(!t)throw new Error("Listener not defined for signal: "+e);try{this.#s.removeListener(e,t)}catch(e){}})),this.#s.emit=this.#o,this.#s.reallyExit=this.#a,this.#i.count-=1)}#l(e){return j_(this.#s)?(this.#s.exitCode=e||0,this.#i.emit("exit",this.#s.exitCode,null),this.#a.call(this.#s,this.#s.exitCode)):0}#p(e,...t){const n=this.#o;if("exit"===e&&j_(this.#s)){"number"==typeof t[0]&&(this.#s.exitCode=t[0]);const i=n.call(this.#s,e,...t);return this.#i.emit("exit",this.#s.exitCode,null),i}return n.call(this.#s,e,...t)}}($_):new class extends M_{onExit(){return()=>{}}load(){}unload(){}},{onExit:(e,t)=>H_.onExit(e,t),load:()=>H_.load(),unload:()=>H_.unload()});var H_;const G_=(e,t="SIGTERM",n={})=>{const i=e(t);return q_(e,t,n,i),i},q_=(e,t,n,i)=>{if(!W_(t,n,i))return;const s=V_(n),o=setTimeout((()=>{e("SIGKILL")}),s);o.unref&&o.unref()},W_=(e,{forceKillAfterTimeout:t},n)=>K_(e)&&!1!==t&&n,K_=e=>e===S.constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),V_=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e},Y_=(e,t)=>{e.kill()&&(t.isCanceled=!0)},Q_=(e,{timeout:t,killSignal:n="SIGTERM"},i)=>{if(0===t||void 0===t)return i;let s;const o=new Promise(((i,o)=>{s=setTimeout((()=>{((e,t,n)=>{e.kill(t),n(Object.assign(new Error("Timed out"),{timedOut:!0,signal:t}))})(e,n,o)}),t)})),a=i.finally((()=>{clearTimeout(s)}));return Promise.race([o,a])},X_=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},J_=async(e,{cleanup:t,detached:n},i)=>{if(!t||n)return i;const s=B_((()=>{e.kill()}));return i.finally((()=>{s()}))};function Z_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe}function eE(e){return Z_(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState}const tE=(e,t,n)=>{if("string"==typeof n)return e[t].pipe(i(n)),e;if(eE(n))return e[t].pipe(n),e;if(!(e=>e instanceof N&&"function"==typeof e.then)(n))throw new TypeError("The second argument must be a string, a stream or an Execa child process.");if(!eE(n.stdin))throw new TypeError("The target child process's stdin must be available.");return e[t].pipe(n.stdin),n},nE=e=>{null!==e.stdout&&(e.pipeStdout=tE.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=tE.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=tE.bind(void 0,e,"all"))},iE=async(e,{init:t,convertChunk:n,getSize:i,truncateChunk:s,addChunk:o,getFinalChunk:a,finalize:r},{maxBuffer:c=Number.POSITIVE_INFINITY}={})=>{if(!rE(e))throw new Error("The first argument must be a Readable, a ReadableStream, or an async iterable.");const p=t();p.length=0;try{for await(const t of e){const e=n[cE(t)](t,p);oE({convertedChunk:e,state:p,getSize:i,truncateChunk:s,addChunk:o,maxBuffer:c})}return sE({state:p,convertChunk:n,getSize:i,truncateChunk:s,addChunk:o,getFinalChunk:a,maxBuffer:c}),r(p)}catch(e){throw e.bufferedData=r(p),e}},sE=({state:e,getSize:t,truncateChunk:n,addChunk:i,getFinalChunk:s,maxBuffer:o})=>{const a=s(e);void 0!==a&&oE({convertedChunk:a,state:e,getSize:t,truncateChunk:n,addChunk:i,maxBuffer:o})},oE=({convertedChunk:e,state:t,getSize:n,truncateChunk:i,addChunk:s,maxBuffer:o})=>{const a=n(e),r=t.length+a;if(r<=o)return void aE(e,t,s,r);const c=i(e,o-t.length);throw void 0!==c&&aE(c,t,s,o),new lE},aE=(e,t,n,i)=>{t.contents=n(e,t,i),t.length=i},rE=e=>"object"==typeof e&&null!==e&&"function"==typeof e[Symbol.asyncIterator],cE=e=>{const t=typeof e;if("string"===t)return"string";if("object"!==t||null===e)return"others";if(globalThis.Buffer?.isBuffer(e))return"buffer";const n=pE.call(e);return"[object ArrayBuffer]"===n?"arrayBuffer":"[object DataView]"===n?"dataView":Number.isInteger(e.byteLength)&&Number.isInteger(e.byteOffset)&&"[object ArrayBuffer]"===pE.call(e.buffer)?"typedArray":"others"},{toString:pE}=Object.prototype;class lE extends Error{name="MaxBufferError";constructor(){super("maxBuffer exceeded")}}const uE=e=>{throw new Error(`Streams in object mode are not supported: ${String(e)}`)},dE=e=>e.length;const mE=new TextEncoder,fE=e=>new Uint8Array(e),hE=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),xE=(e,t)=>{if(t<=e.byteLength)return e;const n=new ArrayBuffer(vE(t));return new Uint8Array(n).set(new Uint8Array(e),0),n},gE=(e,t)=>{if(t<=e.maxByteLength)return e.resize(t),e;const n=new ArrayBuffer(t,{maxByteLength:vE(t)});return new Uint8Array(n).set(new Uint8Array(e),0),n},vE=e=>bE**Math.ceil(Math.log(e)/Math.log(bE)),bE=2,yE=()=>"resize"in ArrayBuffer.prototype,wE={init:()=>({contents:new ArrayBuffer(0)}),convertChunk:{string:e=>mE.encode(e),buffer:fE,arrayBuffer:fE,dataView:hE,typedArray:hE,others:uE},getSize:dE,truncateChunk:(e,t)=>e.slice(0,t),addChunk:(e,{contents:t,length:n},i)=>{const s=yE()?gE(t,i):xE(t,i);return new Uint8Array(s).set(e,n),s},getFinalChunk:()=>{},finalize:({contents:e,length:t})=>yE()?e:e.slice(0,t)};async function _E(e,t){if(!("Buffer"in globalThis))throw new Error("getStreamAsBuffer() is only supported in Node.js");try{return EE(await async function(e,t){return iE(e,wE,t)}(e,t))}catch(e){throw void 0!==e.bufferedData&&(e.bufferedData=EE(e.bufferedData)),e}}const EE=e=>globalThis.Buffer.from(e);const SE=(e,{textDecoder:t})=>t.decode(e,{stream:!0}),kE={init:()=>({contents:"",textDecoder:new TextDecoder}),convertChunk:{string:e=>e,buffer:SE,arrayBuffer:SE,dataView:SE,typedArray:SE,others:uE},getSize:dE,truncateChunk:(e,t)=>e.slice(0,t),addChunk:(e,{contents:t})=>t+e,getFinalChunk:({textDecoder:e})=>{const t=e.decode();return""===t?void 0:t},finalize:({contents:e})=>e},{PassThrough:RE}=l;var TE=function(){var e=[],t=new RE({objectMode:!0});return t.setMaxListeners(0),t.add=n,t.isEmpty=function(){return 0==e.length},t.on("unpipe",i),Array.prototype.slice.call(arguments).forEach(n),t;function n(s){return Array.isArray(s)?(s.forEach(n),this):(e.push(s),s.once("end",i.bind(null,s)),s.once("error",t.emit.bind(t,"error")),s.pipe(t,{end:!1}),this)}function i(n){!(e=e.filter((function(e){return e!==n}))).length&&t.readable&&t.end()}},OE=ye(TE);const AE=({input:e,inputFile:t})=>"string"!=typeof t?e:((e=>{if(void 0!==e)throw new TypeError("The `input` and `inputFile` options cannot be both set.")})(e),s(t)),CE=(e,t)=>{const n=AE(t);void 0!==n&&(Z_(n)?n.pipe(e.stdin):e.stdin.end(n))},PE=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;const n=OE();return e.stdout&&n.add(e.stdout),e.stderr&&n.add(e.stderr),n},LE=async(e,t)=>{if(e&&void 0!==t){await D(0),e.destroy();try{return await t}catch(e){return e.bufferedData}}},jE=(e,{encoding:t,buffer:n,maxBuffer:i})=>{if(e&&n)return"utf8"===t||"utf-8"===t?async function(e,t){return iE(e,kE,t)}(e,{maxBuffer:i}):null===t||"buffer"===t?_E(e,{maxBuffer:i}):IE(e,i,t)},IE=async(e,t,n)=>(await _E(e,{maxBuffer:t})).toString(n),NE=async({stdout:e,stderr:t,all:n},{encoding:i,buffer:s,maxBuffer:o},a)=>{const r=jE(e,{encoding:i,buffer:s,maxBuffer:o}),c=jE(t,{encoding:i,buffer:s,maxBuffer:o}),p=jE(n,{encoding:i,buffer:s,maxBuffer:2*o});try{return await Promise.all([a,r,c,p])}catch(i){return Promise.all([{error:i,signal:i.signal,timedOut:i.timedOut},LE(e,r),LE(t,c),LE(n,p)])}},FE=(async()=>{})().constructor.prototype,DE=["then","catch","finally"].map((e=>[e,Reflect.getOwnPropertyDescriptor(FE,e)])),ME=(e,t)=>{for(const[n,i]of DE){const s="function"==typeof t?(...e)=>Reflect.apply(i.value,t(),e):i.value.bind(t);Reflect.defineProperty(e,n,{...i,value:s})}},$E=e=>new Promise(((t,n)=>{e.on("exit",((e,n)=>{t({exitCode:e,signal:n})})),e.on("error",(e=>{n(e)})),e.stdin&&e.stdin.on("error",(e=>{n(e)}))})),BE=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],UE=/^[\w.-]+$/,zE=(e,t)=>BE(e,t).join(" "),HE=(e,t)=>BE(e,t).map((e=>(e=>"string"!=typeof e||UE.test(e)?e:`"${e.replaceAll('"','\\"')}"`)(e))).join(" "),GE=M("execa").enabled,qE=(e,t)=>String(e).padStart(t,"0"),WE=(e,{verbose:t})=>{t&&T.stderr.write(`[${(()=>{const e=new Date;return`${qE(e.getHours(),2)}:${qE(e.getMinutes(),2)}:${qE(e.getSeconds(),2)}.${qE(e.getMilliseconds(),3)}`})()}] ${e}\n`)},KE=(t,n,i={})=>{const s=o_._parse(t,n,i);return t=s.command,n=s.args,(i={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(i=s.options).cwd||T.cwd(),execPath:T.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:GE,...i}).env=(({env:e,extendEnv:t,preferLocal:n,localDir:i,execPath:s})=>{const o=t?{...T.env,...e}:e;return n?p_({env:o,cwd:i,execPath:s}):o})(i),i.stdio=C_(i),"win32"===T.platform&&"cmd"===e.basename(t,".exe")&&n.unshift("/q"),{file:t,args:n,options:i,parsed:s}},VE=(e,t,n)=>"string"==typeof t||j.isBuffer(t)?e.stripFinalNewline?function(e){const t="string"==typeof e?"\n":"\n".charCodeAt(),n="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===n&&(e=e.slice(0,-1)),e}(t):t:void 0===n?void 0:"";function YE(e,t,n){const i=KE(e,t,n),s=zE(e,t),o=HE(e,t);let a;WE(o,i.options),X_(i.options);try{a=I.spawn(i.file,i.args,i.options)}catch(e){const t=new I.ChildProcess,n=Promise.reject(O_({error:e,stdout:"",stderr:"",all:"",command:s,escapedCommand:o,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return ME(t,n),t}const r=$E(a),c=Q_(a,i.options,r),p=J_(a,i.options,c);a.kill=G_.bind(null,a.kill.bind(a)),a.cancel=Y_.bind(null,a,{isCanceled:!1});const l=g_((async()=>{const[{error:e,exitCode:t,signal:n,timedOut:r},c,l,u]=await NE(a,i.options,p),d=VE(i.options,c),m=VE(i.options,l),f=VE(i.options,u);if(e||0!==t||null!==n){const c=O_({error:e,exitCode:t,signal:n,stdout:d,stderr:m,all:f,command:s,escapedCommand:o,parsed:i,timedOut:r,isCanceled:!!i.options.signal&&i.options.signal.aborted,killed:a.killed});if(!i.options.reject)return c;throw c}return{command:s,escapedCommand:o,exitCode:0,stdout:d,stderr:m,all:f,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}));return CE(a,i.options),a.all=PE(a,i.options),nE(a),ME(a,l),a}const QE={}.hasOwnProperty,XE=/^([A-Z][a-z\d]*)+$/,JE=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),ZE={};function eS(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}const tS=new Map;let nS;function iS(e,t,n){return tS.set(e,t),function(e,t){return n;function n(...n){const i=Error.stackTraceLimit;sS()&&(Error.stackTraceLimit=0);const s=new e;sS()&&(Error.stackTraceLimit=i);const o=function(e,t,n){const i=tS.get(e);if(U(void 0!==i,"expected `message` to be found"),"function"==typeof i)return U(i.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${i.length}).`),Reflect.apply(i,n,t);const s=/%[dfijoOs]/g;let o=0;for(;null!==s.exec(i);)o++;return U(o===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${o}).`),0===t.length?i:(t.unshift(i),Reflect.apply($,null,t))}(t,n,s);return Object.defineProperties(s,{message:{value:o,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),oS(s),s.code=t,s}}(n,e)}function sS(){try{if(H.startupSnapshot.isBuildingSnapshot())return!1}catch{}const e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===e?Object.isExtensible(Error):QE.call(e,"writable")&&void 0!==e.writable?e.writable:void 0!==e.set}ZE.ERR_INVALID_ARG_TYPE=iS("ERR_INVALID_ARG_TYPE",((e,t,n)=>{U("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let i="The ";if(e.endsWith(" argument"))i+=`${e} `;else{const t=e.includes(".")?"property":"argument";i+=`"${e}" ${t} `}i+="must be ";const s=[],o=[],a=[];for(const e of t)U("string"==typeof e,"All expected entries have to be of type string"),JE.has(e)?s.push(e.toLowerCase()):null===XE.exec(e)?(U("object"!==e,'The value "object" should be written as "Object"'),a.push(e)):o.push(e);if(o.length>0){const e=s.indexOf("object");-1!==e&&(s.slice(e,1),o.push("Object"))}return s.length>0&&(i+=`${s.length>1?"one of type":"of type"} ${eS(s,"or")}`,(o.length>0||a.length>0)&&(i+=" or ")),o.length>0&&(i+=`an instance of ${eS(o,"or")}`,a.length>0&&(i+=" or ")),a.length>0&&(a.length>1?i+=`one of ${eS(a,"or")}`:(a[0].toLowerCase()!==a[0]&&(i+="an "),i+=`${a[0]}`)),i+=`. Received ${function(e){if(null==e)return String(e);if("function"==typeof e&&e.name)return`function ${e.name}`;if("object"==typeof e)return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${B(e,{depth:-1})}`;let t=B(e,{colors:!1});t.length>28&&(t=`${t.slice(0,25)}...`);return`type ${typeof e} (${t})`}(n)}`,i}),TypeError),ZE.ERR_INVALID_MODULE_SPECIFIER=iS("ERR_INVALID_MODULE_SPECIFIER",((e,t,n=void 0)=>`Invalid module "${e}" ${t}${n?` imported from ${n}`:""}`),TypeError),ZE.ERR_INVALID_PACKAGE_CONFIG=iS("ERR_INVALID_PACKAGE_CONFIG",((e,t,n)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${n?`. ${n}`:""}`),Error),ZE.ERR_INVALID_PACKAGE_TARGET=iS("ERR_INVALID_PACKAGE_TARGET",((e,t,n,i=!1,s=void 0)=>{const o="string"==typeof n&&!i&&n.length>0&&!n.startsWith("./");return"."===t?(U(!1===i),`Invalid "exports" main target ${JSON.stringify(n)} defined in the package config ${e}package.json${s?` imported from ${s}`:""}${o?'; targets must start with "./"':""}`):`Invalid "${i?"imports":"exports"}" target ${JSON.stringify(n)} defined for '${t}' in the package config ${e}package.json${s?` imported from ${s}`:""}${o?'; targets must start with "./"':""}`}),Error),ZE.ERR_MODULE_NOT_FOUND=iS("ERR_MODULE_NOT_FOUND",((e,t,n=!1)=>`Cannot find ${n?"module":"package"} '${e}' imported from ${t}`),Error),ZE.ERR_NETWORK_IMPORT_DISALLOWED=iS("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),ZE.ERR_PACKAGE_IMPORT_NOT_DEFINED=iS("ERR_PACKAGE_IMPORT_NOT_DEFINED",((e,t,n)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${n}`),TypeError),ZE.ERR_PACKAGE_PATH_NOT_EXPORTED=iS("ERR_PACKAGE_PATH_NOT_EXPORTED",((e,t,n=void 0)=>"."===t?`No "exports" main defined in ${e}package.json${n?` imported from ${n}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${n?` imported from ${n}`:""}`),Error),ZE.ERR_UNSUPPORTED_DIR_IMPORT=iS("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),ZE.ERR_UNKNOWN_FILE_EXTENSION=iS("ERR_UNKNOWN_FILE_EXTENSION",((e,t)=>`Unknown file extension "${e}" for ${t}`),TypeError),ZE.ERR_INVALID_ARG_VALUE=iS("ERR_INVALID_ARG_VALUE",((e,t,n="is invalid")=>{let i=B(t);i.length>128&&(i=`${i.slice(0,128)}...`);return`The ${e.includes(".")?"property":"argument"} '${e}' ${n}. Received ${i}`}),TypeError);const oS=function(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}((function(e){const t=sS();return t&&(nS=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=nS),e}));const aS={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:rS}=ZE,cS=new Map,pS={read:function(t,{base:i,specifier:s}){const o=cS.get(t);if(o)return o;let a;try{a=n.readFileSync(e.toNamespacedPath(t),"utf8")}catch(e){const t=e;if("ENOENT"!==t.code)throw t}const r={exists:!1,pjsonPath:t,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(void 0!==a){let e;try{e=JSON.parse(a)}catch(e){const n=e,o=new rS(t,(i?`"${s}" from `:"")+A(i||s),n.message);throw o.cause=n,o}r.exists=!0,aS.call(e,"name")&&"string"==typeof e.name&&(r.name=e.name),aS.call(e,"main")&&"string"==typeof e.main&&(r.main=e.main),aS.call(e,"exports")&&(r.exports=e.exports),aS.call(e,"imports")&&(r.imports=e.imports),!aS.call(e,"type")||"commonjs"!==e.type&&"module"!==e.type||(r.type=e.type)}return cS.set(t,r),r}};function lS(e){let t=new C("package.json",e);for(;;){if(t.pathname.endsWith("node_modules/package.json"))break;const n=pS.read(A(t),{specifier:e});if(n.exists)return n;const i=t;if(t=new C("../package.json",t),t.pathname===i.pathname)break}return{pjsonPath:A(t),exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0}}function uS(e){return lS(e).type}const{ERR_UNKNOWN_FILE_EXTENSION:dS}=ZE,mS={}.hasOwnProperty,fS={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};const hS={__proto__:null,"data:":function(e){const{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return function(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":"application/json"===e?"json":null}(t)},"file:":function(e,t,n){const i=function(e){const t=e.pathname;let n=t.length;for(;n--;){const e=t.codePointAt(n);if(47===e)return"";if(46===e)return 47===t.codePointAt(n-1)?"":t.slice(n)}return""}(e);if(".js"===i){const t=uS(e);return"none"!==t?t:"commonjs"}if(""===i){const t=uS(e);return"none"===t||"commonjs"===t?"commonjs":"module"}const s=fS[i];if(s)return s;if(n)return;const o=A(e);throw new dS(i,o)},"http:":xS,"https:":xS,"node:":()=>"builtin"};function xS(){}function gS(e,t){const n=e.protocol;return mS.call(hS,n)&&hS[n](e,t,!0)||null}const{ERR_INVALID_ARG_VALUE:vS}=ZE,bS=Object.freeze(["node","import"]),yS=new Set(bS);function wS(e){if(void 0!==e&&e!==bS){if(!Array.isArray(e))throw new vS("conditions",e,"expected an array");return new Set(e)}return yS}const _S=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:ES,ERR_INVALID_MODULE_SPECIFIER:SS,ERR_INVALID_PACKAGE_CONFIG:kS,ERR_INVALID_PACKAGE_TARGET:RS,ERR_MODULE_NOT_FOUND:TS,ERR_PACKAGE_IMPORT_NOT_DEFINED:OS,ERR_PACKAGE_PATH_NOT_EXPORTED:AS,ERR_UNSUPPORTED_DIR_IMPORT:CS}=ZE,PS={}.hasOwnProperty,LS=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,jS=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,IS=/^\.|%|\\/,NS=/\*/g,FS=/%2f|%5c/i,DS=new Set,MS=/[/\\]{2}/;function $S(e,t,n,i,s,o,a){if(T.noDeprecation)return;const r=A(i),c=null!==MS.exec(a?e:t);T.emitWarning(`Use of deprecated ${c?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===n?"":`matched to "${n}" `}in the "${s?"imports":"exports"}" field module resolution of the package at ${r}${o?` imported from ${A(o)}`:""}.`,"DeprecationWarning","DEP0166")}function BS(t,n,i,s){if(T.noDeprecation)return;if("module"!==gS(t,{parentURL:i.href}))return;const o=A(t.href),a=A(new C(".",n)),r=A(i);s?e.resolve(a,s)!==o&&T.emitWarning(`Package ${a} has a "main" field set to "${s}", excluding the full filename and extension to the resolved file at "${o.slice(a.length)}", imported from ${r}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):T.emitWarning(`No "main" or "exports" field defined in the package.json for ${a} resolving the main entry point "${o.slice(a.length)}", imported from ${r}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function US(e){try{return a(e)}catch{return new r}}function zS(e){const t=a(e,{throwIfNoEntry:!1}),n=t?t.isFile():void 0;return null!=n&&n}function HS(e,t,n){let i;if(void 0!==t.main){if(i=new C(t.main,e),zS(i))return i;const s=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`];let o=-1;for(;++o<s.length&&(i=new C(s[o],e),!zS(i));)i=void 0;if(i)return BS(i,e,n,t.main),i}const s=["./index.js","./index.json","./index.node"];let o=-1;for(;++o<s.length&&(i=new C(s[o],e),!zS(i));)i=void 0;if(i)return BS(i,e,n,t.main),i;throw new TS(A(new C(".",e)),A(n))}function GS(e,t,n){return new AS(A(new C(".",t)),e,n&&A(n))}function qS(e,t,n,i,s){return t="object"==typeof t&&null!==t?JSON.stringify(t,null,""):`${t}`,new RS(A(new C(".",n)),e,t,i,s&&A(s))}function WS(e,t,n,i,s,o,a,r,c){if(""!==t&&!o&&"/"!==e[e.length-1])throw qS(n,e,i,a,s);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let n=!1;try{new C(e),n=!0}catch{}if(!n){return ZS(o?_S.call(NS,e,(()=>t)):e+t,i,c)}}throw qS(n,e,i,a,s)}if(null!==LS.exec(e.slice(2))){if(null!==jS.exec(e.slice(2)))throw qS(n,e,i,a,s);if(!r){const r=o?n.replace("*",(()=>t)):n+t;$S(o?_S.call(NS,e,(()=>t)):e,r,n,i,a,s,!0)}}const p=new C(e,i),l=p.pathname,u=new C(".",i).pathname;if(!l.startsWith(u))throw qS(n,e,i,a,s);if(""===t)return p;if(null!==LS.exec(t)){const c=o?n.replace("*",(()=>t)):n+t;if(null===jS.exec(t)){if(!r){$S(o?_S.call(NS,e,(()=>t)):e,c,n,i,a,s,!1)}}else!function(e,t,n,i,s){const o=`request is not a valid match in pattern "${t}" for the "${i?"imports":"exports"}" resolution of ${A(n)}`;throw new SS(e,o,s&&A(s))}(c,n,i,a,s)}return o?new C(_S.call(NS,p.href,(()=>t))):new C(t,p)}function KS(e){const t=Number(e);return`${t}`===e&&(t>=0&&t<4294967295)}function VS(e,t,n,i,s,o,a,r,c){if("string"==typeof t)return WS(t,n,i,e,s,o,a,r,c);if(Array.isArray(t)){const p=t;if(0===p.length)return null;let l,u=-1;for(;++u<p.length;){const t=p[u];let d;try{d=VS(e,t,n,i,s,o,a,r,c)}catch(e){if(l=e,"ERR_INVALID_PACKAGE_TARGET"===e.code)continue;throw e}if(void 0!==d){if(null!==d)return d;l=null}}if(null==l)return null;throw l}if("object"==typeof t&&null!==t){const p=Object.getOwnPropertyNames(t);let l=-1;for(;++l<p.length;){if(KS(p[l]))throw new kS(A(e),s,'"exports" cannot contain numeric property keys.')}for(l=-1;++l<p.length;){const u=p[l];if("default"===u||c&&c.has(u)){const p=VS(e,t[u],n,i,s,o,a,r,c);if(void 0===p)continue;return p}}return null}if(null===t)return null;throw qS(i,t,e,a,s)}function YS(e,t,n){if(T.noDeprecation)return;const i=A(t);DS.has(i+"|"+e)||(DS.add(i+"|"+e),T.emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${i}${n?` imported from ${A(n)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function QS(e,t,n,i,s){let o=n.exports;if(function(e,t,n){if("string"==typeof e||Array.isArray(e))return!0;if("object"!=typeof e||null===e)return!1;const i=Object.getOwnPropertyNames(e);let s=!1,o=0,a=-1;for(;++a<i.length;){const e=i[a],r=""===e||"."!==e[0];if(0==o++)s=r;else if(s!==r)throw new kS(A(t),n,"\"exports\" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.")}return s}(o,e,i)&&(o={".":o}),PS.call(o,t)&&!t.includes("*")&&!t.endsWith("/")){const n=VS(e,o[t],"",t,i,!1,!1,!1,s);if(null==n)throw GS(t,e,i);return n}let a="",r="";const c=Object.getOwnPropertyNames(o);let p=-1;for(;++p<c.length;){const n=c[p],s=n.indexOf("*");if(-1!==s&&t.startsWith(n.slice(0,s))){t.endsWith("/")&&YS(t,e,i);const o=n.slice(s+1);t.length>=n.length&&t.endsWith(o)&&1===XS(a,n)&&n.lastIndexOf("*")===s&&(a=n,r=t.slice(s,t.length-o.length))}}if(a){const n=VS(e,o[a],r,a,i,!0,!1,t.endsWith("/"),s);if(null==n)throw GS(t,e,i);return n}throw GS(t,e,i)}function XS(e,t){const n=e.indexOf("*"),i=t.indexOf("*"),s=-1===n?e.length:n+1,o=-1===i?t.length:i+1;return s>o?-1:o>s||-1===n?1:-1===i||e.length>t.length?-1:t.length>e.length?1:0}function JS(e,t,n){if("#"===e||e.startsWith("#/")||e.endsWith("/")){throw new SS(e,"is not a valid internal imports specifier name",A(t))}let i;const s=lS(t);if(s.exists){i=P(s.pjsonPath);const o=s.imports;if(o)if(PS.call(o,e)&&!e.includes("*")){const s=VS(i,o[e],"",e,t,!1,!0,!1,n);if(null!=s)return s}else{let s="",a="";const r=Object.getOwnPropertyNames(o);let c=-1;for(;++c<r.length;){const t=r[c],n=t.indexOf("*");if(-1!==n&&e.startsWith(t.slice(0,-1))){const i=t.slice(n+1);e.length>=t.length&&e.endsWith(i)&&1===XS(s,t)&&t.lastIndexOf("*")===n&&(s=t,a=e.slice(n,e.length-i.length))}}if(s){const e=VS(i,o[s],a,s,t,!0,!0,!1,n);if(null!=e)return e}}}throw function(e,t,n){return new OS(e,t&&A(new C(".",t)),A(n))}(e,i,t)}function ZS(e,t,n){if(z.includes(e))return new C("node:"+e);const{packageName:i,packageSubpath:s,isScoped:o}=function(e,t){let n=e.indexOf("/"),i=!0,s=!1;"@"===e[0]&&(s=!0,-1===n||0===e.length?i=!1:n=e.indexOf("/",n+1));const o=-1===n?e:e.slice(0,n);if(null!==IS.exec(o)&&(i=!1),!i)throw new SS(e,"is not a valid package name",A(t));return{packageName:o,packageSubpath:"."+(-1===n?"":e.slice(n)),isScoped:s}}(e,t),a=lS(t);if(a.exists){const e=P(a.pjsonPath);if(a.name===i&&void 0!==a.exports&&null!==a.exports)return QS(e,s,a,t,n)}let r,c=new C("./node_modules/"+i+"/package.json",t),p=A(c);do{if(!US(p.slice(0,-13)).isDirectory()){r=p,c=new C((o?"../../../../node_modules/":"../../../node_modules/")+i+"/package.json",c),p=A(c);continue}const a=pS.read(p,{base:t,specifier:e});return void 0!==a.exports&&null!==a.exports?QS(c,s,a,t,n):"."===s?HS(c,a,t):new C(s,c)}while(p.length!==r.length);throw new TS(i,A(t),!1)}function ek(e){return""!==e&&("/"===e[0]||function(e){if("."===e[0]){if(1===e.length||"/"===e[1])return!0;if("."===e[1]&&(2===e.length||"/"===e[2]))return!0}return!1}(e))}function tk(t,n,i,s){const a=n.protocol,r="http:"===a||"https:"===a;let c;if(ek(t))c=new C(t,n);else if(r||"#"!==t[0])try{c=new C(t)}catch{r||(c=ZS(t,n,i))}else c=JS(t,n,i);return U(void 0!==c,"expected to be defined"),"file:"!==c.protocol?c:function(t,n,i){if(null!==FS.exec(t.pathname))throw new SS(t.pathname,'must not include encoded "/" or "\\" characters',A(n));let s;try{s=A(t)}catch(e){const i=e;throw Object.defineProperty(i,"input",{value:String(t)}),Object.defineProperty(i,"module",{value:String(n)}),i}const a=US(s.endsWith("/")?s.slice(-1):s);if(a.isDirectory()){const e=new CS(s,A(n));throw e.url=String(t),e}if(!a.isFile()){const e=new TS(s||t.pathname,n&&A(n),!0);throw e.url=String(t),e}if(!i){const n=o(s),{search:i,hash:a}=t;(t=P(n+(s.endsWith(e.sep)?"/":""))).search=i,t.hash=a}return t}(c,n,s)}function nk(e){if(void 0!==e&&"string"!=typeof e&&!function(e){return Boolean(e&&"object"==typeof e&&"href"in e&&"string"==typeof e.href&&"protocol"in e&&"string"==typeof e.protocol&&e.href&&e.protocol)}(e))throw new ZE.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}function ik(e,t={}){const{parentURL:n}=t;let i,s;if(U(void 0!==n,"expected `parentURL` to be defined"),nk(n),n)try{i=new C(n)}catch{}try{s=ek(e)?new C(e,i):new C(e);if("data:"===s.protocol)return{url:s.href,format:null}}catch{}const o=function(e,t,n){if(n){const i=n.protocol;if("http:"===i||"https:"===i){if(ek(e)){const i=t?.protocol;if(i&&"https:"!==i&&"http:"!==i)throw new ES(e,n,"remote imports cannot import from a local location.");return{url:t?.href||""}}if(z.includes(e))throw new ES(e,n,"remote imports cannot import from a local location.");throw new ES(e,n,"only relative and absolute specifiers are supported.")}}}(e,s,i);if(o)return o;if(s&&"node:"===s.protocol)return{url:e};const a=wS(t.conditions),r=tk(e,new C(n),a,!1);return{url:r.href,format:gS(r,{parentURL:n})}}const sk=O.fileURLToPath(function(e,t){if(!t)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return ik(e,{parentURL:t}).url}catch(e){const t=e;if(("ERR_UNSUPPORTED_DIR_IMPORT"===t.code||"ERR_MODULE_NOT_FOUND"===t.code)&&"string"==typeof t.url)return t.url;throw e}}("@comate/plugin-host/bin",import.meta.url));function ok(e,t){const n=["--no-warnings",...t.nodeOptions??[]],i=function(e,t,n={}){t&&!Array.isArray(t)&&"object"==typeof t&&(n=t,t=[]);const i=P_(n),s=T.execArgv.filter((e=>!e.startsWith("--inspect"))),{nodePath:o=T.execPath,nodeOptions:a=s}=n;return YE(o,[...a,e,...Array.isArray(t)?t:[]],{...n,stdin:void 0,stdout:void 0,stderr:void 0,stdio:i,shell:!1})}(sk,[],{nodeOptions:n,env:{...process.env,COMATE_PLUGIN_GROUP_KEY:e}});return i.on("exit",(e=>{e&&t.onUnexpectedExit?.(e)})),i.catch((e=>{e&&t.onUnexpectedError?.(e)})),i.on("message",(e=>{if(!e.comateInternalEvent)return;const n=e.comateInternalEvent;"PLUGIN_SETUP"===n.type&&t.onPluginSetup?.(n.payload.pluginName)})),i}async function ak(e,t){await async function(e){return new Promise((t=>{const n={comateInternalEvent:{type:"PING"}},i=setInterval((()=>e.send(n)),100),s=setTimeout((()=>{clearInterval(i),t(!1)}),1e3);e.once("message",(()=>{clearTimeout(s),clearInterval(i),t(!0)}))}))}(e);const n={comateInternalEvent:{type:"PLUGIN_ATTACH",payload:{directory:t.directory}}};e?.send(n);return function(e,t,n){"function"==typeof n&&(n={filter:n});const i=dw(e,t,n={...n,count:1,resolveImmediately:!1}),s=i.then((e=>e[0]));return s.cancel=i.cancel,s}(e,"message",(e=>{const n=e.comateInternalEvent;return"PLUGIN_SETUP"===n?.type&&n.payload.pluginName===t.name}))}class rk{deletedFilePath=[];diagnosticCache=new Map([]);async start(e){await this.init(e),this.watch(e)}put(e){this.diagnosticCache.set(e.filename,{diagnostics:e.diagnostics})}get(e){this.beforeGet(e);return this.diagnosticCache.get(e.context?.activeFilePath)}hasDiagnostics(){for(const e of this.diagnosticCache.values())if(e.diagnostics.length>0)return!0;return!1}isDirectory(e){try{return n.lstatSync(e).isDirectory()}catch(e){return!1}}isModifiedRecently(e,t){try{const i=n.statSync(e);return!(Date.now()-i.mtimeMs>t)}catch(e){return!1}}isAddedRecently(e,t){try{const i=n.statSync(e);return!(Date.now()-i.birthtimeMs>t)}catch(e){return!1}}async getChangedFiles(t,n){try{const{stdout:i}=await YE("git",["status","-s"],{cwd:t}),{stdout:s}=await YE("git",["ls-files","--others","--exclude-standard"],{cwd:t}),o=i.split("\n").filter((e=>e.trim())),a=s.split("\n").filter((e=>e.trim())).map((e=>`?? ${e}`)),r={added:[],deleted:[],modified:[]};return[...new Set([...o,...a])].forEach((i=>{const s=i.slice(0,2),o=i.slice(3).trim(),a=e.join(t,o.replace(/^"|"$/g,""));if(this.isDirectory(a))return;const c=this.isModifiedRecently(a,n),p=this.isAddedRecently(a,n);switch(s){case"??":p?r.added.push(a):c&&r.modified.push(a);break;case"D ":case" D":this.deletedFilePath.includes(a)||(this.deletedFilePath.push(a),r.deleted.push(a));break;case"M ":case" M":case"MM":case"AM":case" AM":case"MA":c&&r.modified.push(a)}})),r}catch{return{added:[],deleted:[],modified:[]}}}watch(e){let t=!1;setInterval((async()=>{if(t)return;t=!0;const n=await this.getChangedFiles(e.systemInfo.cwd,5e3),{added:i,modified:s,deleted:o}=n,a=s.length+i.length+o.length;a>0&&a<100&&await this.handleChangedFiles(e,n),t=!1}),5e3)}}const ck=516096;class pk{conversationBuffer=new Map([]);cleanupInterval;constructor(){this.cleanupInterval=setInterval((()=>this.cleanup()),36e5)}dispose(){this.cleanupInterval&&clearInterval(this.cleanupInterval),this.conversationBuffer.clear()}clear(e){e?this.conversationBuffer.delete(e):this.conversationBuffer.clear()}get(e){const t=this.conversationBuffer.get(e);return t?(t.lastAccessed=Date.now(),t.messages.slice(-10)):[]}putUser(e,t,n){const i={...n};if("object"==typeof e){const{onlyQuery:t}=e;t&&(i.originalQuery=t)}const s=this.conversationBuffer.get(t);if(s){if(s.messages.push(i),s.lastAccessed=Date.now(),this.getTotalChars(s.messages)>ck)for(;this.getTotalChars(s.messages)>ck&&s.messages.length>1;)s.messages.shift()}else this.conversationBuffer.set(t,{messages:[i],lastAccessed:Date.now()})}putAssistant(e,t){const n=this.conversationBuffer.get(e);if(n){if(n.messages.push({role:"assistant",content:t}),n.lastAccessed=Date.now(),this.getTotalChars(n.messages)>ck)for(;this.getTotalChars(n.messages)>ck&&n.messages.length>1;)n.messages.shift();n.messages.length>10&&(n.messages=n.messages.slice(-10))}}getConversationId(e,t,n){let i=`${t}/${n}`;if("object"==typeof e){const{byPlugin:n}=e;n&&(i=t)}return i}trimConversation(e,t=516096){const n=this.conversationBuffer.get(e);if(n){let e=0;const i=[];for(let s=n.messages.length-1;s>=0;s--){const o=n.messages[s];s!==n.messages.length-1&&o.originalQuery&&(o.content=o.originalQuery);const a=o.content.length;if(!(e+a<=t))break;i.unshift(o),e+=a}return i}return null}cleanup(){const e=Date.now();for(const[t,n]of this.conversationBuffer.entries())e-n.lastAccessed>864e5&&this.conversationBuffer.delete(t)}getTotalChars(e){return e.reduce(((e,t)=>e+t.content.length),0)}}class lk{channelGroupManager;registry=new tw;plugins=new Map;ideChannel;pluginDirectories;localConfig;constructor(e){this.pluginDirectories=e.pluginDirectories,this.localConfig=e.localConfig,this.channelGroupManager=e.channelGroupManager,this.ideChannel=new iw(e.channel??process,this.registry,this.plugins)}async start(){this.ideChannel.start();for(const e of this.pluginDirectories)await this.run(e)}async stop(){for(const e of this.plugins.values())await e.dispose()}listAllCapabilities(){return this.registry.listAllCapabilities()}async suggestCapabilitiesByMatch(e){const t={canHandle:mx,cwd:e.systemInfo.cwd,context:e.context};return await this.registry.suggestCapabilitiesByMatch(t)}async run(e){this.ideChannel.log(this.constructor.name,"PluginLoadStart",{directory:e});try{const t=await ve(e),n=this.localConfig?.[t.name]?.debug?.inspectPort,i={plugin:t,directory:e,registry:this.registry,groupManager:this.channelGroupManager,inspectPort:n},s=new ay(i);await s.setup(),this.plugins.set(t.name,s),this.ideChannel.log(this.constructor.name,"PluginLoadFish",{directory:e})}catch{this.ideChannel.log(this.constructor.name,"PluginLoadError",{directory:e})}}}export{aw as ChannelGroupManager,pk as ConversationBufferMemory,rk as DiagnosticCache,ow as PluginChannel,lk as PluginEngine,ok as forkPluginProcess,ak as invokePluginSetupToProcess};
|
|
34
|
+
const Lp=d,Ip=_p,Np=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),Fp=e=>"number"==typeof e||"string"==typeof e&&""!==e,Dp=e=>Number.isInteger(+e),$p=e=>{let t=`${e}`,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},Mp=(e,t,n)=>{if(t>0){let n="-"===e[0]?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return!1===n?String(e):e},Bp=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return n?"-"+e:e},Up=(e,t,n,i)=>{if(n)return Ip(e,t,{wrap:!1,...i});let o=String.fromCharCode(e);return e===t?o:`[${o}-${String.fromCharCode(t)}]`},zp=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,i=n.capture?"":"?:";return t?`(${i}${e.join("|")})`:e.join("|")}return Ip(e,t,n)},Hp=(...e)=>new RangeError("Invalid range arguments: "+Lp.inspect(...e)),Gp=(e,t,n)=>{if(!0===n.strictRanges)throw Hp([e,t]);return[]},qp=(e,t,n=1,i={})=>{let o=Number(e),r=Number(t);if(!Number.isInteger(o)||!Number.isInteger(r)){if(!0===i.strictRanges)throw Hp([e,t]);return[]}0===o&&(o=0),0===r&&(r=0);let s=o>r,a=String(e),c=String(t),l=String(n);n=Math.max(Math.abs(n),1);let p=$p(a)||$p(c)||$p(l),u=p?Math.max(a.length,c.length,l.length):0,d=!1===p&&!1===((e,t,n)=>"string"==typeof e||"string"==typeof t||!0===n.stringify)(e,t,i),f=i.transform||(e=>t=>!0===e?Number(t):String(t))(d);if(i.toRegex&&1===n)return Up(Bp(e,u),Bp(t,u),!0,i);let m={negatives:[],positives:[]},h=[],g=0;for(;s?o>=r:o<=r;)!0===i.toRegex&&n>1?m[(x=o)<0?"negatives":"positives"].push(Math.abs(x)):h.push(Mp(f(o,g),u,d)),o=s?o-n:o+n,g++;var x;return!0===i.toRegex?n>1?((e,t,n)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0)),e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let i,o=t.capture?"":"?:",r="",s="";return e.positives.length&&(r=e.positives.map((e=>Bp(String(e),n))).join("|")),e.negatives.length&&(s=`-(${o}${e.negatives.map((e=>Bp(String(e),n))).join("|")})`),i=r&&s?`${r}|${s}`:r||s,t.wrap?`(${o}${i})`:i})(m,i,u):zp(h,null,{wrap:!1,...i}):h},Wp=(e,t,n,i={})=>{if(null==t&&Fp(e))return[e];if(!Fp(e)||!Fp(t))return Gp(e,t,i);if("function"==typeof n)return Wp(e,t,1,{transform:n});if(Np(n))return Wp(e,t,0,n);let o={...i};return!0===o.capture&&(o.wrap=!0),n=n||o.step||1,Dp(n)?Dp(e)&&Dp(t)?qp(e,t,n,o):((e,t,n=1,i={})=>{if(!Dp(e)&&e.length>1||!Dp(t)&&t.length>1)return Gp(e,t,i);let o=i.transform||(e=>String.fromCharCode(e)),r=`${e}`.charCodeAt(0),s=`${t}`.charCodeAt(0),a=r>s,c=Math.min(r,s),l=Math.max(r,s);if(i.toRegex&&1===n)return Up(c,l,!1,i);let p=[],u=0;for(;a?r>=s:r<=s;)p.push(o(r,u)),r=a?r-n:r+n,u++;return!0===i.toRegex?zp(p,null,{wrap:!1,options:i}):p})(e,t,Math.max(Math.abs(n),1),o):null==n||Np(n)?Wp(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,o)};const Kp=Wp,Vp=xp;var Yp=(e,t={})=>{const n=(e,i={})=>{const o=Vp.isInvalidBrace(i),r=!0===e.invalid&&!0===t.escapeInvalid,s=!0===o||!0===r,a=!0===t.escapeInvalid?"\\":"";let c="";if(!0===e.isOpen)return a+e.value;if(!0===e.isClose)return console.log("node.isClose",a,e.value),a+e.value;if("open"===e.type)return s?a+e.value:"(";if("close"===e.type)return s?a+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":s?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){const n=Vp.reduce(e.nodes),i=Kp(...n,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(0!==i.length)return n.length>1&&i.length>1?`(${i})`:i}if(e.nodes)for(const t of e.nodes)c+=n(t,e);return c};return n(e)};const Qp=Wp,Zp=bp,Jp=xp,Xp=(e="",t="",n=!1)=>{const i=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?Jp.flatten(t).map((e=>`{${e}}`)):t;for(const o of e)if(Array.isArray(o))for(const e of o)i.push(Xp(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),i.push(Array.isArray(e)?Xp(o,e,n):o+e);return Jp.flatten(i)};var eu=(e,t={})=>{const n=void 0===t.rangeLimit?1e3:t.rangeLimit,i=(e,o={})=>{e.queue=[];let r=o,s=o.queue;for(;"brace"!==r.type&&"root"!==r.type&&r.parent;)r=r.parent,s=r.queue;if(e.invalid||e.dollar)return void s.push(Xp(s.pop(),Zp(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void s.push(Xp(s.pop(),["{}"]));if(e.nodes&&e.ranges>0){const i=Jp.reduce(e.nodes);if(Jp.exceedsLimit(...i,t.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let o=Qp(...i,t);return 0===o.length&&(o=Zp(e,t)),s.push(Xp(s.pop(),o)),void(e.nodes=[])}const a=Jp.encloseBrace(e);let c=e.queue,l=e;for(;"brace"!==l.type&&"root"!==l.type&&l.parent;)l=l.parent,c=l.queue;for(let t=0;t<e.nodes.length;t++){const n=e.nodes[t];"comma"!==n.type||"brace"!==e.type?"close"!==n.type?n.value&&"open"!==n.type?c.push(Xp(c.pop(),n.value)):n.nodes&&i(n,e):s.push(Xp(s.pop(),c,a)):(1===t&&c.push(""),c.push(""))}return c};return Jp.flatten(i(e))};const tu=bp,{MAX_LENGTH:nu,CHAR_BACKSLASH:iu,CHAR_BACKTICK:ou,CHAR_COMMA:ru,CHAR_DOT:su,CHAR_LEFT_PARENTHESES:au,CHAR_RIGHT_PARENTHESES:cu,CHAR_LEFT_CURLY_BRACE:lu,CHAR_RIGHT_CURLY_BRACE:pu,CHAR_LEFT_SQUARE_BRACKET:uu,CHAR_RIGHT_SQUARE_BRACKET:du,CHAR_DOUBLE_QUOTE:fu,CHAR_SINGLE_QUOTE:mu,CHAR_NO_BREAK_SPACE:hu,CHAR_ZERO_WIDTH_NOBREAK_SPACE:gu}={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"};var xu=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");const n=t||{},i="number"==typeof n.maxLength?Math.min(nu,n.maxLength):nu;if(e.length>i)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${i})`);const o={type:"root",input:e,nodes:[]},r=[o];let s=o,a=o,c=0;const l=e.length;let p,u=0,d=0;const f=()=>e[u++],m=e=>{if("text"===e.type&&"dot"===a.type&&(a.type="text"),!a||"text"!==a.type||"text"!==e.type)return s.nodes.push(e),e.parent=s,e.prev=a,a=e,e;a.value+=e.value};for(m({type:"bos"});u<l;)if(s=r[r.length-1],p=f(),p!==gu&&p!==hu)if(p!==iu)if(p!==du)if(p!==uu)if(p!==au)if(p!==cu)if(p!==fu&&p!==mu&&p!==ou)if(p!==lu)if(p!==pu)if(p===ru&&d>0){if(s.ranges>0){s.ranges=0;const e=s.nodes.shift();s.nodes=[e,{type:"text",value:tu(s)}]}m({type:"comma",value:p}),s.commas++}else if(p===su&&d>0&&0===s.commas){const e=s.nodes;if(0===d||0===e.length){m({type:"text",value:p});continue}if("dot"===a.type){if(s.range=[],a.value+=p,a.type="range",3!==s.nodes.length&&5!==s.nodes.length){s.invalid=!0,s.ranges=0,a.type="text";continue}s.ranges++,s.args=[];continue}if("range"===a.type){e.pop();const t=e[e.length-1];t.value+=a.value+p,a=t,s.ranges--;continue}m({type:"dot",value:p})}else m({type:"text",value:p});else{if("brace"!==s.type){m({type:"text",value:p});continue}const e="close";s=r.pop(),s.close=!0,m({type:e,value:p}),d--,s=r[r.length-1]}else{d++;const e=a.value&&"$"===a.value.slice(-1)||!0===s.dollar;s=m({type:"brace",open:!0,close:!1,dollar:e,depth:d,commas:0,ranges:0,nodes:[]}),r.push(s),m({type:"open",value:p})}else{const e=p;let n;for(!0!==t.keepQuotes&&(p="");u<l&&(n=f());)if(n!==iu){if(n===e){!0===t.keepQuotes&&(p+=n);break}p+=n}else p+=n+f();m({type:"text",value:p})}else{if("paren"!==s.type){m({type:"text",value:p});continue}s=r.pop(),m({type:"text",value:p}),s=r[r.length-1]}else s=m({type:"paren",nodes:[]}),r.push(s),m({type:"text",value:p});else{let e;for(c++;u<l&&(e=f());)if(p+=e,e!==uu)if(e!==iu){if(e===du&&(c--,0===c))break}else p+=f();else c++;m({type:"text",value:p})}else m({type:"text",value:"\\"+p});else m({type:"text",value:(t.keepEscaping?p:"")+f()});do{if(s=r.pop(),"root"!==s.type){s.nodes.forEach((e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));const e=r[r.length-1],t=e.nodes.indexOf(s);e.nodes.splice(t,1,...s.nodes)}}while(r.length>0);return m({type:"eos"}),o};const vu=bp,bu=Yp,yu=eu,_u=xu,wu=(e,t={})=>{let n=[];if(Array.isArray(e))for(const i of e){const e=wu.create(i,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(wu.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};wu.parse=(e,t={})=>_u(e,t),wu.stringify=(e,t={})=>vu("string"==typeof e?wu.parse(e,t):e,t),wu.compile=(e,t={})=>("string"==typeof e&&(e=wu.parse(e,t)),bu(e,t)),wu.expand=(e,t={})=>{"string"==typeof e&&(e=wu.parse(e,t));let n=yu(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},wu.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?wu.compile(e,t):wu.expand(e,t);const Eu=d,Su=wu,ku=Ol,Ru=Ic,Tu=e=>""===e||"./"===e,Ou=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let i=new Set,o=new Set,r=new Set,s=0,a=e=>{r.add(e.output),n&&n.onResult&&n.onResult(e)};for(let r=0;r<t.length;r++){let c=ku(String(t[r]),{...n,onResult:a},!0),l=c.state.negated||c.state.negatedExtglob;l&&s++;for(let t of e){let e=c(t,!0);(l?!e.isMatch:e.isMatch)&&(l?i.add(e.output):(i.delete(e.output),o.add(e.output)))}}let c=(s===t.length?[...r]:[...o]).filter((e=>!i.has(e)));if(n&&0===c.length){if(!0===n.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===n.nonull||!0===n.nullglob)return n.unescape?t.map((e=>e.replace(/\\/g,""))):t}return c};Ou.match=Ou,Ou.matcher=(e,t)=>ku(e,t),Ou.any=Ou.isMatch=(e,t,n)=>ku(t,n)(e),Ou.not=(e,t,n={})=>{t=[].concat(t).map(String);let i=new Set,o=[],r=new Set(Ou(e,t,{...n,onResult:e=>{n.onResult&&n.onResult(e),o.push(e.output)}}));for(let e of o)r.has(e)||i.add(e);return[...i]},Ou.contains=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Eu.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>Ou.contains(e,t,n)));if("string"==typeof t){if(Tu(e)||Tu(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return Ou.isMatch(e,t,{...n,contains:!0})},Ou.matchKeys=(e,t,n)=>{if(!Ru.isObject(e))throw new TypeError("Expected the first argument to be an object");let i=Ou(Object.keys(e),t,n),o={};for(let t of i)o[t]=e[t];return o},Ou.some=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=ku(String(e),n);if(i.some((e=>t(e))))return!0}return!1},Ou.every=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=ku(String(e),n);if(!i.every((e=>t(e))))return!1}return!0},Ou.all=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Eu.inspect(e)}"`);return[].concat(t).every((t=>ku(t,n)(e)))},Ou.capture=(e,t,n)=>{let i=Ru.isWindows(n),o=ku.makeRe(String(e),{...n,capture:!0}).exec(i?Ru.toPosixSlashes(t):t);if(o)return o.slice(1).map((e=>void 0===e?"":e))},Ou.makeRe=(...e)=>ku.makeRe(...e),Ou.scan=(...e)=>ku.scan(...e),Ou.parse=(e,t)=>{let n=[];for(let i of[].concat(e||[]))for(let e of Su(String(i),t))n.push(ku.parse(e,t));return n},Ou.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:Su(e,t)},Ou.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return Ou.braces(e,{...t,expand:!0})};var Au=Ou;Object.defineProperty(rp,"__esModule",{value:!0}),rp.removeDuplicateSlashes=rp.matchAny=rp.convertPatternsToRe=rp.makeRe=rp.getPatternParts=rp.expandBraceExpansion=rp.expandPatternsWithBraceExpansion=rp.isAffectDepthOfReadingPattern=rp.endsWithSlashGlobStar=rp.hasGlobStar=rp.getBaseDirectory=rp.isPatternRelatedToParentDirectory=rp.getPatternsOutsideCurrentDirectory=rp.getPatternsInsideCurrentDirectory=rp.getPositivePatterns=rp.getNegativePatterns=rp.isPositivePattern=rp.isNegativePattern=rp.convertToNegativePattern=rp.convertToPositivePattern=rp.isDynamicPattern=rp.isStaticPattern=void 0;const Cu=m,ju=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&dp&&e.indexOf("/")<0&&(e=e.replace(fp,"/")),mp.test(e)&&(e+="/"),e+="a";do{e=up(e)}while(pp(e)||hp.test(e));return e.replace(gp,"$1")},Pu=Au,Lu="**",Iu="\\",Nu=/[*?]|^!/,Fu=/\[[^[]*]/,Du=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,$u=/[!*+?@]\([^(]*\)/,Mu=/,|\.\./,Bu=/(?!^)\/{2,}/g;function Uu(e,t={}){return!zu(e,t)}function zu(e,t={}){return""!==e&&(!(!1!==t.caseSensitiveMatch&&!e.includes(Iu))||(!!(Nu.test(e)||Fu.test(e)||Du.test(e))||(!(!1===t.extglob||!$u.test(e))||!(!1===t.braceExpansion||!function(e){const t=e.indexOf("{");if(-1===t)return!1;const n=e.indexOf("}",t+1);if(-1===n)return!1;const i=e.slice(t,n);return Mu.test(i)}(e)))))}function Hu(e){return e.startsWith("!")&&"("!==e[1]}function Gu(e){return!Hu(e)}function qu(e){return e.startsWith("..")||e.startsWith("./..")}function Wu(e){return e.endsWith("/"+Lu)}function Ku(e){const t=Pu.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort(((e,t)=>e.length-t.length)),t.filter((e=>""!==e))}function Vu(e,t){return Pu.makeRe(e,t)}rp.isStaticPattern=Uu,rp.isDynamicPattern=zu,rp.convertToPositivePattern=function(e){return Hu(e)?e.slice(1):e},rp.convertToNegativePattern=function(e){return"!"+e},rp.isNegativePattern=Hu,rp.isPositivePattern=Gu,rp.getNegativePatterns=function(e){return e.filter(Hu)},rp.getPositivePatterns=function(e){return e.filter(Gu)},rp.getPatternsInsideCurrentDirectory=function(e){return e.filter((e=>!qu(e)))},rp.getPatternsOutsideCurrentDirectory=function(e){return e.filter(qu)},rp.isPatternRelatedToParentDirectory=qu,rp.getBaseDirectory=function(e){return ju(e,{flipBackslashes:!1})},rp.hasGlobStar=function(e){return e.includes(Lu)},rp.endsWithSlashGlobStar=Wu,rp.isAffectDepthOfReadingPattern=function(e){const t=Cu.basename(e);return Wu(e)||Uu(t)},rp.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat(Ku(t))),[])},rp.expandBraceExpansion=Ku,rp.getPatternParts=function(e,t){let{parts:n}=Pu.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===n.length&&(n=[e]),n[0].startsWith("/")&&(n[0]=n[0].slice(1),n.unshift("")),n},rp.makeRe=Vu,rp.convertPatternsToRe=function(e,t){return e.map((e=>Vu(e,t)))},rp.matchAny=function(e,t){return t.some((t=>t.test(e)))},rp.removeDuplicateSlashes=function(e){return e.replace(Bu,"/")};var Yu={};Object.defineProperty(Yu,"__esModule",{value:!0}),Yu.merge=void 0;const Qu=$l;function Zu(e){e.forEach((e=>e.emit("close")))}Yu.merge=function(e){const t=Qu(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>Zu(e))),t.once("end",(()=>Zu(e))),t};var Ju={};Object.defineProperty(Ju,"__esModule",{value:!0}),Ju.isEmpty=Ju.isString=void 0,Ju.isString=function(e){return"string"==typeof e},Ju.isEmpty=function(e){return""===e},Object.defineProperty(zl,"__esModule",{value:!0}),zl.string=zl.stream=zl.pattern=zl.path=zl.fs=zl.errno=zl.array=void 0;const Xu=Hl;zl.array=Xu;const ed=Gl;zl.errno=ed;const td=ql;zl.fs=td;const nd=Kl;zl.path=nd;const id=rp;zl.pattern=id;const od=Yu;zl.stream=od;const rd=Ju;zl.string=rd,Object.defineProperty(Ul,"__esModule",{value:!0}),Ul.convertPatternGroupToTask=Ul.convertPatternGroupsToTasks=Ul.groupPatternsByBaseDirectory=Ul.getNegativePatternsAsPositive=Ul.getPositivePatterns=Ul.convertPatternsToTasks=Ul.generate=void 0;const sd=zl;function ad(e,t){let n=e;return t.braceExpansion&&(n=sd.pattern.expandPatternsWithBraceExpansion(n)),t.baseNameMatch&&(n=n.map((e=>e.includes("/")?e:`**/${e}`))),n.map((e=>sd.pattern.removeDuplicateSlashes(e)))}function cd(e,t,n){const i=[],o=sd.pattern.getPatternsOutsideCurrentDirectory(e),r=sd.pattern.getPatternsInsideCurrentDirectory(e),s=ud(o),a=ud(r);return i.push(...dd(s,t,n)),"."in a?i.push(fd(".",r,t,n)):i.push(...dd(a,t,n)),i}function ld(e){return sd.pattern.getPositivePatterns(e)}function pd(e,t){return sd.pattern.getNegativePatterns(e).concat(t).map(sd.pattern.convertToPositivePattern)}function ud(e){return e.reduce(((e,t)=>{const n=sd.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e}),{})}function dd(e,t,n){return Object.keys(e).map((i=>fd(i,e[i],t,n)))}function fd(e,t,n,i){return{dynamic:i,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(sd.pattern.convertToNegativePattern))}}Ul.generate=function(e,t){const n=ad(e,t),i=ad(t.ignore,t),o=ld(n),r=pd(n,i),s=o.filter((e=>sd.pattern.isStaticPattern(e,t))),a=o.filter((e=>sd.pattern.isDynamicPattern(e,t))),c=cd(s,r,!1),l=cd(a,r,!0);return c.concat(l)},Ul.convertPatternsToTasks=cd,Ul.getPositivePatterns=ld,Ul.getNegativePatternsAsPositive=pd,Ul.groupPatternsByBaseDirectory=ud,Ul.convertPatternGroupsToTasks=dd,Ul.convertPatternGroupToTask=fd;var md={},hd={},gd={},xd={},vd={},bd={},yd={},_d={},wd={};function Ed(e,t){e(t)}function Sd(e,t){e(null,t)}Object.defineProperty(wd,"__esModule",{value:!0}),wd.read=void 0,wd.read=function(e,t,n){t.fs.lstat(e,((i,o)=>{null===i?o.isSymbolicLink()&&t.followSymbolicLink?t.fs.stat(e,((e,i)=>{if(null!==e)return t.throwErrorOnBrokenSymbolicLink?void Ed(n,e):void Sd(n,o);t.markSymbolicLink&&(i.isSymbolicLink=()=>!0),Sd(n,i)})):Sd(n,o):Ed(n,i)}))};var kd={};Object.defineProperty(kd,"__esModule",{value:!0}),kd.read=void 0,kd.read=function(e,t){const n=t.fs.lstatSync(e);if(!n.isSymbolicLink()||!t.followSymbolicLink)return n;try{const n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return n;throw e}};var Rd={},Td={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;const t=c;e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}}(Td),Object.defineProperty(Rd,"__esModule",{value:!0});const Od=Td;Rd.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Od.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(_d,"__esModule",{value:!0}),_d.statSync=_d.stat=_d.Settings=void 0;const Ad=wd,Cd=kd,jd=Rd;function Pd(e={}){return e instanceof jd.default?e:new jd.default(e)}
|
|
35
|
+
/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */let Ld;_d.Settings=jd.default,_d.stat=function(e,t,n){"function"!=typeof t?Ad.read(e,Pd(t),n):Ad.read(e,Pd(),t)},_d.statSync=function(e,t){const n=Pd(t);return Cd.read(e,n)};var Id=function(e,t){let n,i,o,r=!0;Array.isArray(e)?(n=[],i=e.length):(o=Object.keys(e),n={},i=o.length);function s(e){function i(){t&&t(e,n),t=null}r?Nd(i):i()}function a(e,t,o){n[e]=o,(0==--i||t)&&s(t)}i?o?o.forEach((function(t){e[t]((function(e,n){a(t,e,n)}))})):e.forEach((function(e,t){e((function(e,n){a(t,e,n)}))})):s(null);r=!1};
|
|
36
|
+
/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */const Nd="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:be):e=>(Ld||(Ld=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)));var Fd={};Object.defineProperty(Fd,"__esModule",{value:!0}),Fd.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const Dd=process.versions.node.split(".");if(void 0===Dd[0]||void 0===Dd[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const $d=Number.parseInt(Dd[0],10),Md=Number.parseInt(Dd[1],10),Bd=$d>10,Ud=10===$d&&Md>=10;Fd.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Bd||Ud;var zd={},Hd={};Object.defineProperty(Hd,"__esModule",{value:!0}),Hd.createDirentFromStats=void 0;class Gd{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}Hd.createDirentFromStats=function(e,t){return new Gd(e,t)},Object.defineProperty(zd,"__esModule",{value:!0}),zd.fs=void 0;const qd=Hd;zd.fs=qd;var Wd={};Object.defineProperty(Wd,"__esModule",{value:!0}),Wd.joinPathSegments=void 0,Wd.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t},Object.defineProperty(yd,"__esModule",{value:!0}),yd.readdir=yd.readdirWithFileTypes=yd.read=void 0;const Kd=_d,Vd=Id,Yd=Fd,Qd=zd,Zd=Wd;function Jd(e,t,n){t.fs.readdir(e,{withFileTypes:!0},((i,o)=>{if(null!==i)return void ef(n,i);const r=o.map((n=>({dirent:n,name:n.name,path:Zd.joinPathSegments(e,n.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return void tf(n,r);const s=r.map((e=>function(e,t){return n=>{e.dirent.isSymbolicLink()?t.fs.stat(e.path,((i,o)=>{if(null!==i)return t.throwErrorOnBrokenSymbolicLink?void n(i):void n(null,e);e.dirent=Qd.fs.createDirentFromStats(e.name,o),n(null,e)})):n(null,e)}}(e,t)));Vd(s,((e,t)=>{null===e?tf(n,t):ef(n,e)}))}))}function Xd(e,t,n){t.fs.readdir(e,((i,o)=>{if(null!==i)return void ef(n,i);const r=o.map((n=>{const i=Zd.joinPathSegments(e,n,t.pathSegmentSeparator);return e=>{Kd.stat(i,t.fsStatSettings,((o,r)=>{if(null!==o)return void e(o);const s={name:n,path:i,dirent:Qd.fs.createDirentFromStats(n,r)};t.stats&&(s.stats=r),e(null,s)}))}}));Vd(r,((e,t)=>{null===e?tf(n,t):ef(n,e)}))}))}function ef(e,t){e(t)}function tf(e,t){e(null,t)}yd.read=function(e,t,n){t.stats||!Yd.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Xd(e,t,n):Jd(e,t,n)},yd.readdirWithFileTypes=Jd,yd.readdir=Xd;var nf={};Object.defineProperty(nf,"__esModule",{value:!0}),nf.readdir=nf.readdirWithFileTypes=nf.read=void 0;const of=_d,rf=Fd,sf=zd,af=Wd;function cf(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((n=>{const i={dirent:n,name:n.name,path:af.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(i.path);i.dirent=sf.fs.createDirentFromStats(i.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return i}))}function lf(e,t){return t.fs.readdirSync(e).map((n=>{const i=af.joinPathSegments(e,n,t.pathSegmentSeparator),o=of.statSync(i,t.fsStatSettings),r={name:n,path:i,dirent:sf.fs.createDirentFromStats(n,o)};return t.stats&&(r.stats=o),r}))}nf.read=function(e,t){return!t.stats&&rf.IS_SUPPORT_READDIR_WITH_FILE_TYPES?cf(e,t):lf(e,t)},nf.readdirWithFileTypes=cf,nf.readdir=lf;var pf={},uf={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;const t=c;e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}}(uf),Object.defineProperty(pf,"__esModule",{value:!0});const df=m,ff=_d,mf=uf;pf.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=mf.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,df.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new ff.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(bd,"__esModule",{value:!0}),bd.Settings=bd.scandirSync=bd.scandir=void 0;const hf=yd,gf=nf,xf=pf;function vf(e={}){return e instanceof xf.default?e:new xf.default(e)}bd.Settings=xf.default,bd.scandir=function(e,t,n){"function"!=typeof t?hf.read(e,vf(t),n):hf.read(e,vf(),t)},bd.scandirSync=function(e,t){const n=vf(t);return gf.read(e,n)};var bf={exports:{}};var yf=function(e){var t=new e,n=t;return{get:function(){var i=t;return i.next?t=i.next:(t=new e,n=t),i.next=null,i},release:function(e){n.next=e,n=e}}};function _f(e,t,n){if("function"==typeof e&&(n=t,t=e,e=null),!(n>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var i=yf(Ef),o=null,r=null,s=0,a=null,c={push:function(p,u){var d=i.get();d.context=e,d.release=l,d.value=p,d.callback=u||wf,d.errorHandler=a,s>=n||c.paused?r?(r.next=d,r=d):(o=d,r=d,c.saturated()):(s++,t.call(e,d.value,d.worked))},drain:wf,saturated:wf,pause:function(){c.paused=!0},paused:!1,get concurrency(){return n},set concurrency(e){if(!(e>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(n=e,!c.paused)for(;o&&s<n;)s++,l()},running:function(){return s},resume:function(){if(!c.paused)return;if(c.paused=!1,null===o)return s++,void l();for(;o&&s<n;)s++,l()},idle:function(){return 0===s&&0===c.length()},length:function(){var e=o,t=0;for(;e;)e=e.next,t++;return t},getQueue:function(){var e=o,t=[];for(;e;)t.push(e.value),e=e.next;return t},unshift:function(p,u){var d=i.get();d.context=e,d.release=l,d.value=p,d.callback=u||wf,d.errorHandler=a,s>=n||c.paused?o?(d.next=o,o=d):(o=d,r=d,c.saturated()):(s++,t.call(e,d.value,d.worked))},empty:wf,kill:function(){o=null,r=null,c.drain=wf},killAndDrain:function(){o=null,r=null,c.drain(),c.drain=wf},error:function(e){a=e}};return c;function l(a){a&&i.release(a);var l=o;l&&s<=n?c.paused?s--:(r===o&&(r=null),o=l.next,l.next=null,t.call(e,l.value,l.worked),null===r&&c.empty()):0==--s&&c.drain()}}function wf(){}function Ef(){this.value=null,this.callback=wf,this.next=null,this.release=wf,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,n){var i=e.callback,o=e.errorHandler,r=e.value;e.value=null,e.callback=wf,e.errorHandler&&o(t,r),i.call(e.context,t,n),e.release(e)}}bf.exports=_f,bf.exports.promise=function(e,t,n){"function"==typeof e&&(n=t,t=e,e=null);var i=_f(e,(function(e,n){t.call(this,e).then((function(e){n(null,e)}),n)}),n),o=i.push,r=i.unshift;return i.push=function(e){var t=new Promise((function(t,n){o(e,(function(e,i){e?n(e):t(i)}))}));return t.catch(wf),t},i.unshift=function(e){var t=new Promise((function(t,n){r(e,(function(e,i){e?n(e):t(i)}))}));return t.catch(wf),t},i.drained=function(){if(i.idle())return new Promise((function(e){e()}));var e=i.drain,t=new Promise((function(t){i.drain=function(){e(),t()}}));return t},i};var Sf=bf.exports,kf={};Object.defineProperty(kf,"__esModule",{value:!0}),kf.joinPathSegments=kf.replacePathSegmentSeparator=kf.isAppliedFilter=kf.isFatalError=void 0,kf.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},kf.isAppliedFilter=function(e,t){return null===e||e(t)},kf.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},kf.joinPathSegments=function(e,t,n){return""===e?t:e.endsWith(n)?e+t:e+n+t};var Rf={};Object.defineProperty(Rf,"__esModule",{value:!0});const Tf=kf;Rf.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=Tf.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}},Object.defineProperty(vd,"__esModule",{value:!0});const Of=w,Af=bd,Cf=Sf,jf=kf,Pf=Rf;class Lf extends Pf.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=Af.scandir,this._emitter=new Of.EventEmitter,this._queue=Cf(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate((()=>{this._pushToQueue(this._root,this._settings.basePath)})),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const n={directory:e,base:t};this._queue.push(n,(e=>{null!==e&&this._handleError(e)}))}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,((n,i)=>{if(null===n){for(const t of i)this._handleEntry(t,e.base);t(null,void 0)}else t(n,void 0)}))}_handleError(e){!this._isDestroyed&&jf.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const n=e.path;void 0!==t&&(e.path=jf.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),jf.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&jf.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}vd.default=Lf,Object.defineProperty(xd,"__esModule",{value:!0});const If=vd;xd.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new If.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError((t=>{!function(e,t){e(t)}(e,t)})),this._reader.onEntry((e=>{this._storage.push(e)})),this._reader.onEnd((()=>{!function(e,t){e(null,t)}(e,this._storage)})),this._reader.read()}};var Nf={};Object.defineProperty(Nf,"__esModule",{value:!0});const Ff=p,Df=vd;Nf.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new Df.default(this._root,this._settings),this._stream=new Ff.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError((e=>{this._stream.emit("error",e)})),this._reader.onEntry((e=>{this._stream.push(e)})),this._reader.onEnd((()=>{this._stream.push(null)})),this._reader.read(),this._stream}};var $f={},Mf={};Object.defineProperty(Mf,"__esModule",{value:!0});const Bf=bd,Uf=kf,zf=Rf;class Hf extends zf.default{constructor(){super(...arguments),this._scandir=Bf.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const n=this._scandir(e,this._settings.fsScandirSettings);for(const e of n)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(Uf.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=Uf.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),Uf.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&Uf.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}Mf.default=Hf,Object.defineProperty($f,"__esModule",{value:!0});const Gf=Mf;$f.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new Gf.default(this._root,this._settings)}read(){return this._reader.read()}};var qf={};Object.defineProperty(qf,"__esModule",{value:!0});const Wf=m,Kf=bd;qf.default=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Wf.sep),this.fsScandirSettings=new Kf.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(gd,"__esModule",{value:!0}),gd.Settings=gd.walkStream=gd.walkSync=gd.walk=void 0;const Vf=xd,Yf=Nf,Qf=$f,Zf=qf;function Jf(e={}){return e instanceof Zf.default?e:new Zf.default(e)}gd.Settings=Zf.default,gd.walk=function(e,t,n){"function"!=typeof t?new Vf.default(e,Jf(t)).read(n):new Vf.default(e,Jf()).read(t)},gd.walkSync=function(e,t){const n=Jf(t);return new Qf.default(e,n).read()},gd.walkStream=function(e,t){const n=Jf(t);return new Yf.default(e,n).read()};var Xf={};Object.defineProperty(Xf,"__esModule",{value:!0});const em=m,tm=_d,nm=zl;Xf.default=class{constructor(e){this._settings=e,this._fsStatSettings=new tm.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return em.resolve(this._settings.cwd,e)}_makeEntry(e,t){const n={name:t,path:t,dirent:nm.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!nm.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};var im={};Object.defineProperty(im,"__esModule",{value:!0});const om=p,rm=_d,sm=gd,am=Xf;class cm extends am.default{constructor(){super(...arguments),this._walkStream=sm.walkStream,this._stat=rm.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),i=new om.PassThrough({objectMode:!0});i._write=(o,r,s)=>this._getEntry(n[o],e[o],t).then((e=>{null!==e&&t.entryFilter(e)&&i.push(e),o===n.length-1&&i.end(),s()})).catch(s);for(let e=0;e<n.length;e++)i.write(e);return i}_getEntry(e,t,n){return this._getStat(e).then((e=>this._makeEntry(e,t))).catch((e=>{if(n.errorFilter(e))return null;throw e}))}_getStat(e){return new Promise(((t,n)=>{this._stat(e,this._fsStatSettings,((e,i)=>null===e?t(i):n(e)))}))}}im.default=cm,Object.defineProperty(hd,"__esModule",{value:!0});const lm=gd,pm=Xf,um=im;class dm extends pm.default{constructor(){super(...arguments),this._walkAsync=lm.walk,this._readerStream=new um.default(this._settings)}dynamic(e,t){return new Promise(((n,i)=>{this._walkAsync(e,t,((e,t)=>{null===e?n(t):i(e)}))}))}async static(e,t){const n=[],i=this._readerStream.static(e,t);return new Promise(((e,t)=>{i.once("error",t),i.on("data",(e=>n.push(e))),i.once("end",(()=>e(n)))}))}}hd.default=dm;var fm={},mm={},hm={},gm={};Object.defineProperty(gm,"__esModule",{value:!0});const xm=zl;gm.default=class{constructor(e,t,n){this._patterns=e,this._settings=t,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){for(const e of this._patterns){const t=this._getPatternSegments(e),n=this._splitSegmentsIntoSections(t);this._storage.push({complete:n.length<=1,pattern:e,segments:t,sections:n})}}_getPatternSegments(e){return xm.pattern.getPatternParts(e,this._micromatchOptions).map((e=>xm.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:xm.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return xm.array.splitWhen(e,(e=>e.dynamic&&xm.pattern.hasGlobStar(e.pattern)))}},Object.defineProperty(hm,"__esModule",{value:!0});const vm=gm;class bm extends vm.default{match(e){const t=e.split("/"),n=t.length,i=this._storage.filter((e=>!e.complete||e.segments.length>n));for(const e of i){const i=e.sections[0];if(!e.complete&&n>i.length)return!0;if(t.every(((t,n)=>{const i=e.segments[n];return!(!i.dynamic||!i.patternRe.test(t))||!i.dynamic&&i.pattern===t})))return!0}return!1}}hm.default=bm,Object.defineProperty(mm,"__esModule",{value:!0});const ym=zl,_m=hm;mm.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,n){const i=this._getMatcher(t),o=this._getNegativePatternsRe(n);return t=>this._filter(e,t,i,o)}_getMatcher(e){return new _m.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(ym.pattern.isAffectDepthOfReadingPattern);return ym.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,n,i){if(this._isSkippedByDeep(e,t.path))return!1;if(this._isSkippedSymbolicLink(t))return!1;const o=ym.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(o,n)&&this._isSkippedByNegativePatterns(o,i)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const n=t.split("/").length;if(""===e)return n;return n-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!ym.pattern.matchAny(e,t)}};var wm={};Object.defineProperty(wm,"__esModule",{value:!0});const Em=zl;wm.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=Em.pattern.convertPatternsToRe(e,this._micromatchOptions),i=Em.pattern.convertPatternsToRe(t,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return e=>this._filter(e,n,i)}_filter(e,t,n){const i=Em.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(i))return!1;if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;if(this._isSkippedByAbsoluteNegativePatterns(i,n))return!1;const o=e.dirent.isDirectory(),r=this._isMatchToPatterns(i,t,o)&&!this._isMatchToPatterns(i,n,o);return this._settings.unique&&r&&this._createIndexRecord(i),r}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute)return!1;const n=Em.path.makeAbsolute(this._settings.cwd,e);return Em.pattern.matchAny(n,t)}_isMatchToPatterns(e,t,n){const i=Em.pattern.matchAny(e,t);return!i&&n?Em.pattern.matchAny(e+"/",t):i}};var Sm={};Object.defineProperty(Sm,"__esModule",{value:!0});const km=zl;Sm.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return km.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};var Rm={};Object.defineProperty(Rm,"__esModule",{value:!0});const Tm=zl;Rm.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=Tm.path.makeAbsolute(this._settings.cwd,t),t=Tm.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}},Object.defineProperty(fm,"__esModule",{value:!0});const Om=m,Am=mm,Cm=wm,jm=Sm,Pm=Rm;fm.default=class{constructor(e){this._settings=e,this.errorFilter=new jm.default(this._settings),this.entryFilter=new Cm.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Am.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Pm.default(this._settings)}_getRootDirectory(e){return Om.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}},Object.defineProperty(md,"__esModule",{value:!0});const Lm=hd,Im=fm;class Nm extends Im.default{constructor(){super(...arguments),this._reader=new Lm.default(this._settings)}async read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e);return(await this.api(t,e,n)).map((e=>n.transform(e)))}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}md.default=Nm;var Fm={};Object.defineProperty(Fm,"__esModule",{value:!0});const Dm=p,$m=im,Mm=fm;class Bm extends Mm.default{constructor(){super(...arguments),this._reader=new $m.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),i=this.api(t,e,n),o=new Dm.Readable({objectMode:!0,read:()=>{}});return i.once("error",(e=>o.emit("error",e))).on("data",(e=>o.emit("data",n.transform(e)))).once("end",(()=>o.emit("end"))),o.once("close",(()=>i.destroy())),o}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}Fm.default=Bm;var Um={},zm={};Object.defineProperty(zm,"__esModule",{value:!0});const Hm=_d,Gm=gd,qm=Xf;class Wm extends qm.default{constructor(){super(...arguments),this._walkSync=Gm.walkSync,this._statSync=Hm.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const n=[];for(const i of e){const e=this._getFullEntryPath(i),o=this._getEntry(e,i,t);null!==o&&t.entryFilter(o)&&n.push(o)}return n}_getEntry(e,t,n){try{const n=this._getStat(e);return this._makeEntry(n,t)}catch(e){if(n.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}zm.default=Wm,Object.defineProperty(Um,"__esModule",{value:!0});const Km=zm,Vm=fm;class Ym extends Vm.default{constructor(){super(...arguments),this._reader=new Km.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(t,e,n).map(n.transform)}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}Um.default=Ym;var Qm={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const t=c,n=h,i=Math.max(n.cpus().length,1);e.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:t.lstat,lstatSync:t.lstatSync,stat:t.stat,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync};e.default=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,i),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},e.DEFAULT_FILE_SYSTEM_ADAPTER),t)}}}(Qm);const Zm=Ul,Jm=md,Xm=Fm,eh=Um,th=Qm,nh=zl;async function ih(e,t){rh(e);const n=oh(e,Jm.default,t),i=await Promise.all(n);return nh.array.flatten(i)}function oh(e,t,n){const i=[].concat(e),o=new th.default(n),r=Zm.generate(i,o),s=new t(o);return r.map(s.read,s)}function rh(e){if(![].concat(e).every((e=>nh.string.isString(e)&&!nh.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){function t(e,t){rh(e);const n=oh(e,eh.default,t);return nh.array.flatten(n)}function n(e,t){rh(e);const n=oh(e,Xm.default,t);return nh.stream.merge(n)}var i,o;e.glob=e,e.globSync=t,e.globStream=n,e.async=e,e.sync=t,e.stream=n,e.generateTasks=function(e,t){rh(e);const n=[].concat(e),i=new th.default(t);return Zm.generate(n,i)},e.isDynamicPattern=function(e,t){rh(e);const n=new th.default(t);return nh.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return rh(e),nh.path.escape(e)},e.convertPathToPattern=function(e){return rh(e),nh.path.convertPathToPattern(e)},(i=e.posix||(e.posix={})).escapePath=function(e){return rh(e),nh.path.escapePosixPath(e)},i.convertPathToPattern=function(e){return rh(e),nh.path.convertPosixPathToPattern(e)},(o=e.win32||(e.win32={})).escapePath=function(e){return rh(e),nh.path.escapeWindowsPath(e)},o.convertPathToPattern=function(e){return rh(e),nh.path.convertWindowsPathToPattern(e)}}(ih||(ih={}));var sh=ye(ih),ah={exports:{}},ch={};const{promisify:lh}=d,ph=c;async function uh(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await lh(ph[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function dh(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return ph[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}ch.isFile=uh.bind(null,"stat","isFile"),ch.isDirectory=uh.bind(null,"stat","isDirectory"),ch.isSymlink=uh.bind(null,"lstat","isSymbolicLink"),ch.isFileSync=dh.bind(null,"statSync","isFile"),ch.isDirectorySync=dh.bind(null,"statSync","isDirectory"),ch.isSymlinkSync=dh.bind(null,"lstatSync","isSymbolicLink");const fh=m,mh=ch,hh=e=>e.length>1?`{${e.join(",")}}`:e[0],gh=(e,t)=>{const n="!"===e[0]?e.slice(1):e;return fh.isAbsolute(n)?n:fh.join(t,n)},xh=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map((n=>fh.posix.join(e,((e,t)=>fh.extname(e)?`**/${e}`:`**/${e}.${hh(t)}`)(n,t.extensions)))):t.files?t.files.map((t=>fh.posix.join(e,`**/${t}`))):t.extensions?[fh.posix.join(e,`**/*.${hh(t.extensions)}`)]:[fh.posix.join(e,"**")]};ah.exports=async(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=await Promise.all([].concat(e).map((async e=>await mh.isDirectory(gh(e,t.cwd))?xh(e,t):e)));return[].concat.apply([],n)},ah.exports.sync=(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=[].concat(e).map((e=>mh.isDirectorySync(gh(e,t.cwd))?xh(e,t):e));return[].concat.apply([],n)};var vh=ye(ah.exports);function bh(e){return Array.isArray(e)?e:[e]}const yh=/^\s+$/,_h=/(?:[^\\]|^)\\$/,wh=/^\\!/,Eh=/^\\#/,Sh=/\r?\n/g,kh=/^\.*\/|^\.+$/;let Rh="node-ignore";"undefined"!=typeof Symbol&&(Rh=Symbol.for("node-ignore"));const Th=Rh,Oh=/([0-z])-([0-z])/g,Ah=()=>!1,Ch=[[/^\uFEFF/,()=>""],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,n)=>t+(0===n.indexOf("\\")?" ":"")],[/(\\+?)\s/g,(e,t)=>{const{length:n}=t;return t.slice(0,n-n%2)+" "}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,n)=>t+6<n.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,n)=>t+n.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,n,i,o)=>"\\"===t?`\\[${n}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(i)}${o}`:"]"===o&&i.length%2==0?`[${(e=>e.replace(Oh,((e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:"")))(n)}${i}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],jh=Object.create(null),Ph=e=>"string"==typeof e;class Lh{constructor(e,t,n,i){this.origin=e,this.pattern=t,this.negative=n,this.regex=i}}const Ih=(e,t)=>{const n=e;let i=!1;0===e.indexOf("!")&&(i=!0,e=e.substr(1));const o=((e,t)=>{let n=jh[e];return n||(n=Ch.reduce(((t,[n,i])=>t.replace(n,i.bind(e))),e),jh[e]=n),t?new RegExp(n,"i"):new RegExp(n)})(e=e.replace(wh,"!").replace(Eh,"#"),t);return new Lh(n,e,i,o)},Nh=(e,t)=>{throw new t(e)},Fh=(e,t,n)=>{if(!Ph(e))return n(`path must be a string, but got \`${t}\``,TypeError);if(!e)return n("path must not be empty",TypeError);if(Fh.isNotRelative(e)){return n(`path should be a ${"`path.relative()`d"} string, but got "${t}"`,RangeError)}return!0},Dh=e=>kh.test(e);Fh.isNotRelative=Dh,Fh.convert=e=>e;class $h{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){var i,o,r;i=this,o=Th,r=!0,Object.defineProperty(i,o,{value:r}),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[Th])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&Ph(e)&&!yh.test(e)&&!_h.test(e)&&0!==e.indexOf("#"))(e)){const t=Ih(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,bh(Ph(e)?(e=>e.split(Sh))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let n=!1,i=!1;return this._rules.forEach((o=>{const{negative:r}=o;if(i===r&&n!==i||r&&!n&&!i&&!t)return;o.regex.test(e)&&(n=!r,i=r)})),{ignored:n,unignored:i}}_test(e,t,n,i){const o=e&&Fh.convert(e);return Fh(o,e,this._allowRelativePaths?Ah:Nh),this._t(o,t,n,i)}_t(e,t,n,i){if(e in t)return t[e];if(i||(i=e.split("/")),i.pop(),!i.length)return t[e]=this._testOne(e,n);const o=this._t(i.join("/")+"/",t,n,i);return t[e]=o.ignored?o:this._testOne(e,n)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return bh(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const Mh=e=>new $h(e);Mh.isPathValid=e=>Fh(e&&Fh.convert(e),e,Ah),Mh.default=Mh;var Bh=Mh;if("undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const e=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");Fh.convert=e;const t=/^[a-z]:\//i;Fh.isNotRelative=e=>t.test(e)||Dh(e)}var Uh=ye(Bh);function zh(e){const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}const Hh=e=>e instanceof URL?A(e):e;class Gh extends P{constructor(e){super({objectMode:!0,transform(t,n,i){i(void 0,e(t)?t:void 0)}})}}const qh=e=>"!"===e[0],Wh={ignore:["**/node_modules","**/flow-typed","**/coverage","**/.git"],absolute:!0,dot:!0},Kh=(t,n)=>{const i=zh(e.relative(n,e.dirname(t.filePath)));return t.content.split(/\r?\n/).filter((e=>e&&!e.startsWith("#"))).map((t=>((t,n)=>qh(t)?"!"+e.posix.join(n,t.slice(1)):e.posix.join(n,t))(t,i)))},Vh=(t,n)=>{const i=t.flatMap((e=>Kh(e,n))),o=Uh().add(i);return t=>(t=((t,n)=>{if(n=zh(n),e.isAbsolute(t)){if(zh(t).startsWith(n))return e.relative(n,t);throw new Error(`Path ${t} is not in cwd ${n}`)}return t})(t=Hh(t),n),!!t&&o.ignores(zh(t)))},Yh=(e,t)=>{const{cwd:i,suppressErrors:o,deep:r}=((e={})=>({cwd:Hh(e.cwd)||T.cwd(),suppressErrors:Boolean(e.suppressErrors),deep:"number"==typeof e.deep?e.deep:Number.POSITIVE_INFINITY}))(t),s=sh.sync(e,{cwd:i,suppressErrors:o,deep:r,...Wh}).map((e=>({filePath:e,content:n.readFileSync(e,"utf8")})));return Vh(s,i)},Qh=e=>((e=>{if(e.some((e=>"string"!=typeof e)))throw new TypeError("Patterns must be a string or an array of strings")})(e=[...new Set([e].flat())]),e),Zh=(e={})=>((e=>{if(!e.cwd)return;let t;try{t=n.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")})(e={...e,ignore:e.ignore||[],expandDirectories:void 0===e.expandDirectories||e.expandDirectories,cwd:Hh(e.cwd)}),e),Jh=e=>{const t=(e=>{const{ignoreFiles:t,gitignore:n}=e,i=t?Qh(t):[];return n&&i.push("**/.gitignore"),i})(e);return Xh(t.length>0&&Yh(t,e))},Xh=t=>{const n=new Set;return i=>{const o=i.path||i,r=e.normalize(o),s=n.has(r)||t&&t(o);return n.add(r),!s}},eg=(e,t)=>{const n=((e,t)=>{const n=[];for(;e.length>0;){const i=e.findIndex((e=>qh(e)));if(-1===i){n.push({patterns:e,options:t});break}const o=e[i].slice(1);for(const e of n)e.options.ignore.push(o);0!==i&&n.push({patterns:e.slice(0,i),options:{...t,ignore:[...t.ignore,o]}}),e=e.slice(i+1)}return n})(e,t),{cwd:i,expandDirectories:o}=t;if(!o)return n;const r=((e,t)=>({...t?{cwd:t}:{},...Array.isArray(e)?{files:e}:e}))(o,i),s=i?{cwd:i}:void 0;return n.map((e=>{let{patterns:t,options:n}=e;return t=vh.sync(t,r),n.ignore=vh.sync(n.ignore,s),{patterns:t,options:n}}))},tg=(ng=(e,t)=>{const n=eg(e,t),i=Jh(t);return((e,t)=>Bl(e).pipe(new Gh((e=>t(e)))))(n.map((e=>sh.stream(e.patterns,e.options))),i)},(e,t)=>ng(Qh(e),Zh(t)));var ng;const ig=[{id:"bat",extensions:[".bat",".cmd"]},{id:"clojure",extensions:[".clj",".cljs",".cljc",".cljx",".clojure",".edn"]},{id:"coffeescript",extensions:[".coffee",".cson",".iced"]},{id:"jsonc",extensions:[".code-workspace","language-configuration.json","icon-theme.json","color-theme.json"],names:["settings.json","launch.json","tasks.json","keybindings.json","extensions.json","argv.json","profiles.json","devcontainer.json",".devcontainer.json"]},{id:"json",extensions:[".code-profile"]},{id:"c",extensions:[".c",".i"]},{id:"cpp",extensions:[".cpp",".cc",".cxx",".c++",".hpp",".hh",".hxx",".h++",".h",".ii",".ino",".inl",".ipp",".ixx",".tpp",".txx",".hpp.in",".h.in"]},{id:"cuda-cpp",extensions:[".cu",".cuh"]},{id:"csharp",extensions:[".cs",".csx",".cake"]},{id:"css",extensions:[".css"],mimeTypes:["text/css"]},{id:"dart",extensions:[".dart"]},{id:"diff",extensions:[".diff",".patch",".rej"]},{id:"dockerfile",extensions:[".dockerfile",".containerfile"],patterns:["Dockerfile.*","Containerfile.*"],names:["Dockerfile","Containerfile"]},{id:"ignore",names:[".vscodeignore"]},{id:"fsharp",extensions:[".fs",".fsi",".fsx",".fsscript"]},{id:"git-commit",names:["COMMIT_EDITMSG","MERGE_MSG"]},{id:"git-rebase",patterns:["**/rebase-merge/done"],names:["git-rebase-todo"]},{id:"ignore",extensions:[".gitignore_global",".gitignore",".git-blame-ignore-revs"]},{id:"go",extensions:[".go"]},{id:"groovy",extensions:[".groovy",".gvy",".gradle",".jenkinsfile",".nf"],firstLine:"^#!.*\\bgroovy\\b",patterns:["Jenkinsfile*"],names:["Jenkinsfile"]},{id:"handlebars",extensions:[".handlebars",".hbs",".hjs"],mimeTypes:["text/x-handlebars-template"]},{id:"hlsl",extensions:[".hlsl",".hlsli",".fx",".fxh",".vsh",".psh",".cginc",".compute"]},{id:"html",extensions:[".html",".htm",".shtml",".xhtml",".xht",".mdoc",".jsp",".asp",".aspx",".jshtm",".volt",".ejs",".rhtml"],mimeTypes:["text/html","text/x-jshtm","text/template","text/ng-template","application/xhtml+xml"]},{id:"ini",extensions:[".ini"]},{id:"properties",extensions:[".conf",".properties",".cfg",".directory",".gitattributes",".gitconfig",".gitmodules",".editorconfig",".repo"],patterns:["**/.config/git/config","**/.git/config"],names:["gitconfig",".env"]},{id:"java",extensions:[".java",".jav"]},{id:"javascriptreact",extensions:[".jsx"]},{id:"javascript",extensions:[".js",".es6",".mjs",".cjs",".pac"],firstLine:"^#!.*\\bnode",names:["jakefile"],mimeTypes:["text/javascript"]},{id:"jsx-tags"},{id:"json",extensions:[".json",".bowerrc",".jscsrc",".webmanifest",".js.map",".css.map",".ts.map",".har",".jslintrc",".jsonld",".geojson",".ipynb",".vuerc"],names:["composer.lock",".watchmanconfig"],mimeTypes:["application/json","application/manifest+json"]},{id:"jsonc",extensions:[".jsonc",".eslintrc",".eslintrc.json",".jsfmtrc",".jshintrc",".swcrc",".hintrc",".babelrc"],names:["babel.config.json",".babelrc.json",".ember-cli","typedoc.json"]},{id:"jsonl",extensions:[".jsonl"],names:[]},{id:"snippets",extensions:[".code-snippets"],patterns:["**/User/snippets/*.json","**/User/profiles/*/snippets/*.json"]},{id:"julia",extensions:[".jl"],firstLine:"^#!\\s*/.*\\bjulia[0-9.-]*\\b"},{id:"juliamarkdown",extensions:[".jmd"]},{id:"tex",extensions:[".sty",".cls",".bbx",".cbx"]},{id:"latex",extensions:[".tex",".ltx",".ctx"]},{id:"bibtex",extensions:[".bib"]},{id:"cpp_embedded_latex"},{id:"markdown_latex_combined"},{id:"less",extensions:[".less"],mimeTypes:["text/x-less","text/less"]},{id:"log",extensions:[".log","*.log.?"]},{id:"lua",extensions:[".lua"]},{id:"makefile",extensions:[".mak",".mk"],firstLine:"^#!\\s*/usr/bin/make",names:["Makefile","makefile","GNUmakefile","OCamlMakefile"]},{id:"markdown",extensions:[".md",".mkd",".mdwn",".mdown",".markdown",".markdn",".mdtxt",".mdtext",".workbook"]},{id:"markdown-math"},{id:"ignore",extensions:[".npmignore"]},{id:"properties",extensions:[".npmrc"]},{id:"objective-c",extensions:[".m"]},{id:"objective-cpp",extensions:[".mm"]},{id:"perl",extensions:[".pl",".pm",".pod",".t",".PL",".psgi"],firstLine:"^#!.*\\bperl\\b"},{id:"raku",extensions:[".raku",".rakumod",".rakutest",".rakudoc",".nqp",".p6",".pl6",".pm6"],firstLine:"(^#!.*\\bperl6\\b)|use\\s+v6|raku|=begin\\spod|my\\sclass"},{id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],firstLine:"^#!\\s*/.*\\bphp\\b",mimeTypes:["application/x-php"]},{id:"powershell",extensions:[".ps1",".psm1",".psd1",".pssc",".psrc"],firstLine:"^#!\\s*/.*\\bpwsh\\b"},{id:"jade",extensions:[".pug",".jade"]},{id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi",".pyi",".ipy",".pyt"],firstLine:"^#!\\s*/?.*\\bpython[0-9.-]*\\b",names:["SConstruct","SConscript"]},{id:"r",extensions:[".r",".rhistory",".rprofile",".rt"]},{id:"razor",extensions:[".cshtml",".razor"],mimeTypes:["text/x-cshtml"]},{id:"restructuredtext",extensions:[".rst"]},{id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".rake",".ru",".erb",".podspec",".rbi"],firstLine:"^#!\\s*/.*\\bruby\\b",names:["rakefile","gemfile","guardfile","podfile","capfile","cheffile","hobofile","vagrantfile","appraisals","rantfile","berksfile","berksfile.lock","thorfile","puppetfile","dangerfile","brewfile","fastfile","appfile","deliverfile","matchfile","scanfile","snapfile","gymfile"]},{id:"rust",extensions:[".rs"]},{id:"scss",extensions:[".scss"],mimeTypes:["text/x-scss","text/scss"]},{id:"search-result",extensions:[".code-search"]},{id:"shaderlab",extensions:[".shader"]},{id:"shellscript",extensions:[".sh",".bash",".bashrc",".bash_aliases",".bash_profile",".bash_login",".ebuild",".profile",".bash_logout",".xprofile",".xsession",".xsessionrc",".Xsession",".zsh",".zshrc",".zprofile",".zlogin",".zlogout",".zshenv",".zsh-theme",".fish",".ksh",".csh",".cshrc",".tcshrc",".yashrc",".yash_profile"],firstLine:"^#!.*\\b(bash|fish|zsh|sh|ksh|dtksh|pdksh|mksh|ash|dash|yash|sh|csh|jcsh|tcsh|itcsh).*|^#\\s*-\\*-[^*]*mode:\\s*shell-script[^*]*-\\*-",patterns:[".env.*"],names:["APKBUILD","PKGBUILD",".envrc",".hushlogin","zshrc","zshenv","zlogin","zprofile","zlogout","bashrc_Apple_Terminal","zshrc_Apple_Terminal"],mimeTypes:["text/x-shellscript"]},{id:"sql",extensions:[".sql",".dsql"]},{id:"swift",extensions:[".swift"]},{id:"typescript",extensions:[".ts",".cts",".mts"]},{id:"typescriptreact",extensions:[".tsx"]},{id:"jsonc",patterns:["tsconfig.*.json","jsconfig.*.json","tsconfig-*.json","jsconfig-*.json"],names:["tsconfig.json","jsconfig.json"]},{id:"json",extensions:[".tsbuildinfo"]},{id:"vb",extensions:[".vb",".brs",".vbs",".bas",".vba"]},{id:"xml",extensions:[".xml",".xsd",".ascx",".atom",".axml",".axaml",".bpmn",".cpt",".csl",".csproj",".csproj.user",".dita",".ditamap",".dtd",".ent",".mod",".dtml",".fsproj",".fxml",".iml",".isml",".jmx",".launch",".menu",".mxml",".nuspec",".opml",".owl",".proj",".props",".pt",".publishsettings",".pubxml",".pubxml.user",".rbxlx",".rbxmx",".rdf",".rng",".rss",".shproj",".storyboard",".svg",".targets",".tld",".tmx",".vbproj",".vbproj.user",".vcxproj",".vcxproj.filters",".wsdl",".wxi",".wxl",".wxs",".xaml",".xbl",".xib",".xlf",".xliff",".xpdl",".xul",".xoml"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)"},{id:"xsl",extensions:[".xsl",".xslt"]},{id:"dockercompose",patterns:["compose.yml","compose.yaml","compose.*.yml","compose.*.yaml","*docker*compose*.yml","*docker*compose*.yaml"]},{id:"yaml",extensions:[".yml",".eyaml",".eyml",".yaml",".cff",".yaml-tmlanguage",".yaml-tmpreferences",".yaml-tmtheme"],firstLine:"^#cloud-config"}];class og{static default=new og;entries=[];static{for(const e of ig)og.default.registerLanguage(e.id,e)}registerLanguage(t,n){const i=(t=>{const{extensions:n,names:i,patterns:o,firstLine:r}=t,s=r?new RegExp(r):null,a=o?Nl(o.map((e=>e.includes("/")?`**/${e}`:e))):null;return(t,o)=>!!(n&&n.includes(e.extname(t))||i&&i.includes(t)||a&&a(t)||s&&s.test(o))})(n);this.entries.push({id:t,detect:i})}detect(e,t){const n=t.indexOf("\n"),i=-1===n?t:t.slice(0,n),o=this.entries.find((t=>t.detect(e,i.trim())));return o?.id??null}}const rg=10,sg=10,ag=5,cg=2,lg=20,pg=30;function ug(e){return e.split("/").reduce(((e,t)=>t.includes("**")?e+cg:t.includes("*")?e+ag:e+sg),0)}class dg{selector;languageDetector;globWeights=new Map;constructor(e,t){this.selector=e,this.languageDetector=t;for(const e of this.selector.activeFilePath??[])this.globWeights.set(e,ug(e));for(const e of this.selector.workspaceFile??[])this.globWeights.set(e,ug(e))}async match(e,t){const n=[this.matchLanguage(t),this.matchActiveFilePath(e,t),this.matchActiveFileContent(t),this.matchSelectedContent(t),this.matchWorkspaceFile(e)],i=await Promise.all(n);return i.includes(0)?0:i.reduce(((e,t)=>"number"==typeof t?Math.max(e,0)+t:e),-1)}async matchLanguage(e){if(!this.selector.language?.length)return null;const t=this.languageDetector.detect(e.activeFilePath,e.activeFileContent);return!t||this.selector.language.includes(t)?rg:0}async matchActiveFilePath(e,t){if(!this.selector.activeFilePath?.length)return null;const n={cwd:e,matchBase:!0,returnIndex:!0},i=Nl(this.selector.activeFilePath,t.activeFilePath,n);if(i<0)return 0;const o=this.selector.activeFilePath[i];return this.globWeights.get(o)??0}async matchActiveFileContent(e){if(!this.selector.activeFileContent?.length)return null;return this.selector.activeFileContent.filter((t=>e.activeFileContent.includes(t))).length*lg}async matchSelectedContent(e){if(!this.selector.selectedContent?.length)return null;return this.selector.selectedContent.filter((t=>e.selectedCode.includes(t))).length*lg}async matchWorkspaceFile(e){if(!this.selector.workspaceFile?.length)return null;const t={cwd:e,gitignore:!0};for await(const e of tg(this.selector.workspaceFile,t))return pg;return 0}}function fg(e){return["Prompt","Skill"].includes(e)}function mg(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let hg={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function gg(e){hg=e}const xg=/[&<>"']/,vg=new RegExp(xg.source,"g"),bg=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,yg=new RegExp(bg.source,"g"),_g={"&":"&","<":"<",">":">",'"':""","'":"'"},wg=e=>_g[e];function Eg(e,t){if(t){if(xg.test(e))return e.replace(vg,wg)}else if(bg.test(e))return e.replace(yg,wg);return e}const Sg=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function kg(e){return e.replace(Sg,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const Rg=/(^|[^\[])\^/g;function Tg(e,t){let n="string"==typeof e?e:e.source;t=t||"";const i={replace:(e,t)=>{let o="string"==typeof t?t:t.source;return o=o.replace(Rg,"$1"),n=n.replace(e,o),i},getRegex:()=>new RegExp(n,t)};return i}function Og(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}const Ag={exec:()=>null};function Cg(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let i=!1,o=t;for(;--o>=0&&"\\"===n[o];)i=!i;return i?"|":" |"})),i=n.split(/ \|/);let o=0;if(i[0].trim()||i.shift(),i.length>0&&!i[i.length-1].trim()&&i.pop(),t)if(i.length>t)i.splice(t);else for(;i.length<t;)i.push("");for(;o<i.length;o++)i[o]=i[o].trim().replace(/\\\|/g,"|");return i}function jg(e,t,n){const i=e.length;if(0===i)return"";let o=0;for(;o<i;){const r=e.charAt(i-o-1);if(r!==t||n){if(r===t||!n)break;o++}else o++}return e.slice(0,i-o)}function Pg(e,t,n,i){const o=t.href,r=t.title?Eg(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){i.state.inLink=!0;const e={type:"link",raw:n,href:o,title:r,text:s,tokens:i.inlineTokens(s)};return i.state.inLink=!1,e}return{type:"image",raw:n,href:o,title:r,text:Eg(s)}}class Lg{options;rules;lexer;constructor(e){this.options=e||hg}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:jg(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const i=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=i.length?e.slice(i.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=jg(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=jg(t[0].replace(/^ *>[ \t]?/gm,""),"\n"),n=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(e);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:i,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const i=n.length>1,o={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const r=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let s="",a="",c=!1;for(;e;){let n=!1;if(!(t=r.exec(e)))break;if(this.rules.block.hr.test(e))break;s=t[0],e=e.substring(s.length);let i=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),l=e.split("\n",1)[0],p=0;this.options.pedantic?(p=2,a=i.trimStart()):(p=t[2].search(/[^ ]/),p=p>4?1:p,a=i.slice(p),p+=t[1].length);let u=!1;if(!i&&/^ *$/.test(l)&&(s+=l+"\n",e=e.substring(l.length+1),n=!0),!n){const t=new RegExp(`^ {0,${Math.min(3,p-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,p-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),o=new RegExp(`^ {0,${Math.min(3,p-1)}}(?:\`\`\`|~~~)`),r=new RegExp(`^ {0,${Math.min(3,p-1)}}#`);for(;e;){const c=e.split("\n",1)[0];if(l=c,this.options.pedantic&&(l=l.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),o.test(l))break;if(r.test(l))break;if(t.test(l))break;if(n.test(e))break;if(l.search(/[^ ]/)>=p||!l.trim())a+="\n"+l.slice(p);else{if(u)break;if(i.search(/[^ ]/)>=4)break;if(o.test(i))break;if(r.test(i))break;if(n.test(i))break;a+="\n"+l}u||l.trim()||(u=!0),s+=c+"\n",e=e.substring(c.length+1),i=l.slice(p)}}o.loose||(c?o.loose=!0:/\n *\n *$/.test(s)&&(c=!0));let d,f=null;this.options.gfm&&(f=/^\[[ xX]\] /.exec(a),f&&(d="[ ] "!==f[0],a=a.replace(/^\[[ xX]\] +/,""))),o.items.push({type:"list_item",raw:s,task:!!f,checked:d,loose:!1,text:a,tokens:[]}),o.raw+=s}o.items[o.items.length-1].raw=s.trimEnd(),o.items[o.items.length-1].text=a.trimEnd(),o.raw=o.raw.trimEnd();for(let e=0;e<o.items.length;e++)if(this.lexer.state.top=!1,o.items[e].tokens=this.lexer.blockTokens(o.items[e].text,[]),!o.loose){const t=o.items[e].tokens.filter((e=>"space"===e.type)),n=t.length>0&&t.some((e=>/\n.*\n/.test(e.raw)));o.loose=n}if(o.loose)for(let e=0;e<o.items.length;e++)o.items[e].loose=!0;return o}}html(e){const t=this.rules.block.html.exec(e);if(t){return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:i}}}table(e){const t=this.rules.block.table.exec(e);if(!t)return;if(!/[:|]/.test(t[2]))return;const n=Cg(t[1]),i=t[2].replace(/^\||\| *$/g,"").split("|"),o=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],r={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const e of i)/^ *-+: *$/.test(e)?r.align.push("right"):/^ *:-+: *$/.test(e)?r.align.push("center"):/^ *:-+ *$/.test(e)?r.align.push("left"):r.align.push(null);for(const e of n)r.header.push({text:e,tokens:this.lexer.inline(e)});for(const e of o)r.rows.push(Cg(e,r.header.length).map((e=>({text:e,tokens:this.lexer.inline(e)}))));return r}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Eg(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=jg(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let i=0;i<e.length;i++)if("\\"===e[i])i++;else if(e[i]===t[0])n++;else if(e[i]===t[1]&&(n--,n<0))return i;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],i="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],i=e[3])}else i=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),Pg(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:i?i.replace(this.rules.inline.anyPunctuation,"$1"):i},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const e=t[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return Pg(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let i=this.rules.inline.emStrongLDelim.exec(e);if(!i)return;if(i[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const n=[...i[0]].length-1;let o,r,s=n,a=0;const c="*"===i[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+n);null!=(i=c.exec(t));){if(o=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!o)continue;if(r=[...o].length,i[3]||i[4]){s+=r;continue}if((i[5]||i[6])&&n%3&&!((n+r)%3)){a+=r;continue}if(s-=r,s>0)continue;r=Math.min(r,r+s+a);const t=[...i[0]][0].length,c=e.slice(0,n+i.index+t+r);if(Math.min(n,r)%2){const e=c.slice(1,-1);return{type:"em",raw:c,text:e,tokens:this.lexer.inlineTokens(e)}}const l=c.slice(2,-2);return{type:"strong",raw:c,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),i=/^ /.test(e)&&/ $/.test(e);return n&&i&&(e=e.substring(1,e.length-1)),e=Eg(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=Eg(t[1]),n="mailto:"+e):(e=Eg(t[1]),n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])e=Eg(t[0]),n="mailto:"+e;else{let i;do{i=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(i!==t[0]);e=Eg(t[0]),n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:Eg(t[0]),{type:"text",raw:t[0],text:e}}}}const Ig=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ng=/(?:[*+-]|\d{1,9}[.)])/,Fg=Tg(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Ng).getRegex(),Dg=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,$g=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Mg=Tg(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",$g).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Bg=Tg(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ng).getRegex(),Ug="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",zg=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,Hg=Tg("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",zg).replace("tag",Ug).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Gg=Tg(Dg).replace("hr",Ig).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ug).getRegex(),qg={blockquote:Tg(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Gg).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:Mg,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:Ig,html:Hg,lheading:Fg,list:Bg,newline:/^(?: *(?:\n|$))+/,paragraph:Gg,table:Ag,text:/^[^\n]+/},Wg=Tg("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ig).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ug).getRegex(),Kg={...qg,table:Wg,paragraph:Tg(Dg).replace("hr",Ig).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Wg).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ug).getRegex()},Vg={...qg,html:Tg("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",zg).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ag,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Tg(Dg).replace("hr",Ig).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Fg).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Yg=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Qg=/^( {2,}|\\)\n(?!\s*$)/,Zg="\\p{P}$+<=>`^|~",Jg=Tg(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,Zg).getRegex(),Xg=Tg(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,Zg).getRegex(),ex=Tg("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,Zg).getRegex(),tx=Tg("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,Zg).getRegex(),nx=Tg(/\\([punct])/,"gu").replace(/punct/g,Zg).getRegex(),ix=Tg(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ox=Tg(zg).replace("(?:--\x3e|$)","--\x3e").getRegex(),rx=Tg("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",ox).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),sx=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ax=Tg(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",sx).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),cx=Tg(/^!?\[(label)\]\[(ref)\]/).replace("label",sx).replace("ref",$g).getRegex(),lx=Tg(/^!?\[(ref)\](?:\[\])?/).replace("ref",$g).getRegex(),px={_backpedal:Ag,anyPunctuation:nx,autolink:ix,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:Qg,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Ag,emStrongLDelim:Xg,emStrongRDelimAst:ex,emStrongRDelimUnd:tx,escape:Yg,link:ax,nolink:lx,punctuation:Jg,reflink:cx,reflinkSearch:Tg("reflink|nolink(?!\\()","g").replace("reflink",cx).replace("nolink",lx).getRegex(),tag:rx,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Ag},ux={...px,link:Tg(/^!?\[(label)\]\((.*?)\)/).replace("label",sx).getRegex(),reflink:Tg(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",sx).getRegex()},dx={...px,escape:Tg(Yg).replace("])","~|])").getRegex(),url:Tg(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},fx={...dx,br:Tg(Qg).replace("{2,}","*").getRegex(),text:Tg(dx.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},mx={normal:qg,gfm:Kg,pedantic:Vg},hx={normal:px,gfm:dx,breaks:fx,pedantic:ux};class gx{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||hg,this.options.tokenizer=this.options.tokenizer||new Lg,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:mx.normal,inline:hx.normal};this.options.pedantic?(t.block=mx.pedantic,t.inline=hx.pedantic):this.options.gfm&&(t.block=mx.gfm,this.options.breaks?t.inline=hx.breaks:t.inline=hx.gfm),this.tokenizer.rules=t}static get rules(){return{block:mx,inline:hx}}static lex(e,t){return new gx(t).lex(e)}static lexInline(e,t){return new gx(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){const t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[]){let n,i,o,r;for(e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,((e,t,n)=>t+" ".repeat(n.length)));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((i=>!!(n=i.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),i=t[t.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?t.push(n):(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),i=t[t.length-1],!i||"paragraph"!==i.type&&"text"!==i.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(i.raw+="\n"+n.raw,i.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else{if(o=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let i;this.options.extensions.startBlock.forEach((e=>{i=e.call({lexer:this},n),"number"==typeof i&&i>=0&&(t=Math.min(t,i))})),t<1/0&&t>=0&&(o=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(o)))i=t[t.length-1],r&&"paragraph"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n),r=o.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),i=t[t.length-1],i&&"text"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,i,o,r,s,a,c=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(c));)e.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.anyPunctuation.exec(c));)c=c.slice(0,r.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(s||(a=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((i=>!!(n=i.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),i=t[t.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),i=t[t.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,c,a))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e))){if(o=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let i;this.options.extensions.startInline.forEach((e=>{i=e.call({lexer:this},n),"number"==typeof i&&i>=0&&(t=Math.min(t,i))})),t<1/0&&t>=0&&(o=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(o))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(a=n.raw.slice(-1)),s=!0,i=t[t.length-1],i&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class xx{options;constructor(e){this.options=e||hg}code(e,t,n){const i=(t||"").match(/^\S*/)?.[0];return e=e.replace(/\n$/,"")+"\n",i?'<pre><code class="language-'+Eg(i)+'">'+(n?e:Eg(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:Eg(e,!0))+"</code></pre>\n"}blockquote(e){return`<blockquote>\n${e}</blockquote>\n`}html(e,t){return e}heading(e,t,n){return`<h${t}>${e}</h${t}>\n`}hr(){return"<hr>\n"}list(e,t,n){const i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+i+">\n"}listitem(e,t,n){return`<li>${e}</li>\n`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){return`<p>${e}</p>\n`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return`<tr>\n${e}</tr>\n`}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>\n`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return"<br>"}del(e){return`<del>${e}</del>`}link(e,t,n){const i=Og(e);if(null===i)return n;let o='<a href="'+(e=i)+'"';return t&&(o+=' title="'+t+'"'),o+=">"+n+"</a>",o}image(e,t,n){const i=Og(e);if(null===i)return n;let o=`<img src="${e=i}" alt="${n}"`;return t&&(o+=` title="${t}"`),o+=">",o}text(e){return e}}class vx{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class bx{options;renderer;textRenderer;constructor(e){this.options=e||hg,this.options.renderer=this.options.renderer||new xx,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new vx}static parse(e,t){return new bx(t).parse(e)}static parseInline(e,t){return new bx(t).parseInline(e)}parse(e,t=!0){let n="";for(let i=0;i<e.length;i++){const o=e[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[o.type]){const e=o,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}switch(o.type){case"space":continue;case"hr":n+=this.renderer.hr();continue;case"heading":{const e=o;n+=this.renderer.heading(this.parseInline(e.tokens),e.depth,kg(this.parseInline(e.tokens,this.textRenderer)));continue}case"code":{const e=o;n+=this.renderer.code(e.text,e.lang,!!e.escaped);continue}case"table":{const e=o;let t="",i="";for(let t=0;t<e.header.length;t++)i+=this.renderer.tablecell(this.parseInline(e.header[t].tokens),{header:!0,align:e.align[t]});t+=this.renderer.tablerow(i);let r="";for(let t=0;t<e.rows.length;t++){const n=e.rows[t];i="";for(let t=0;t<n.length;t++)i+=this.renderer.tablecell(this.parseInline(n[t].tokens),{header:!1,align:e.align[t]});r+=this.renderer.tablerow(i)}n+=this.renderer.table(t,r);continue}case"blockquote":{const e=o,t=this.parse(e.tokens);n+=this.renderer.blockquote(t);continue}case"list":{const e=o,t=e.ordered,i=e.start,r=e.loose;let s="";for(let t=0;t<e.items.length;t++){const n=e.items[t],i=n.checked,o=n.task;let a="";if(n.task){const e=this.renderer.checkbox(!!i);r?n.tokens.length>0&&"paragraph"===n.tokens[0].type?(n.tokens[0].text=e+" "+n.tokens[0].text,n.tokens[0].tokens&&n.tokens[0].tokens.length>0&&"text"===n.tokens[0].tokens[0].type&&(n.tokens[0].tokens[0].text=e+" "+n.tokens[0].tokens[0].text)):n.tokens.unshift({type:"text",text:e+" "}):a+=e+" "}a+=this.parse(n.tokens,r),s+=this.renderer.listitem(a,o,!!i)}n+=this.renderer.list(s,t,i);continue}case"html":{const e=o;n+=this.renderer.html(e.text,e.block);continue}case"paragraph":{const e=o;n+=this.renderer.paragraph(this.parseInline(e.tokens));continue}case"text":{let r=o,s=r.tokens?this.parseInline(r.tokens):r.text;for(;i+1<e.length&&"text"===e[i+1].type;)r=e[++i],s+="\n"+(r.tokens?this.parseInline(r.tokens):r.text);n+=t?this.renderer.paragraph(s):s;continue}default:{const e='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,t){t=t||this.renderer;let n="";for(let i=0;i<e.length;i++){const o=e[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[o.type]){const e=this.options.extensions.renderers[o.type].call({parser:this},o);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){n+=e||"";continue}}switch(o.type){case"escape":{const e=o;n+=t.text(e.text);break}case"html":{const e=o;n+=t.html(e.text);break}case"link":{const e=o;n+=t.link(e.href,e.title,this.parseInline(e.tokens,t));break}case"image":{const e=o;n+=t.image(e.href,e.title,e.text);break}case"strong":{const e=o;n+=t.strong(this.parseInline(e.tokens,t));break}case"em":{const e=o;n+=t.em(this.parseInline(e.tokens,t));break}case"codespan":{const e=o;n+=t.codespan(e.text);break}case"br":n+=t.br();break;case"del":{const e=o;n+=t.del(this.parseInline(e.tokens,t));break}case"text":{const e=o;n+=t.text(e.text);break}default:{const e='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}}class yx{options;constructor(e){this.options=e||hg}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}const _x=new class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.#e(gx.lex,bx.parse);parseInline=this.#e(gx.lexInline,bx.parseInline);Parser=bx;Renderer=xx;TextRenderer=vx;Lexer=gx;Tokenizer=Lg;Hooks=yx;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(const i of e)switch(n=n.concat(t.call(this,i)),i.type){case"table":{const e=i;for(const i of e.header)n=n.concat(this.walkTokens(i.tokens,t));for(const i of e.rows)for(const e of i)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=i;n=n.concat(this.walkTokens(e.items,t));break}default:{const e=i;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach((i=>{const o=e[i].flat(1/0);n=n.concat(this.walkTokens(o,t))})):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{const n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let i=e.renderer.apply(this,t);return!1===i&&(i=n.apply(this,t)),i}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");const n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),n.extensions=t),e.renderer){const t=this.defaults.renderer||new xx(this.defaults);for(const n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if("options"===n)continue;const i=n,o=e.renderer[i],r=t[i];t[i]=(...e)=>{let n=o.apply(t,e);return!1===n&&(n=r.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new Lg(this.defaults);for(const n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const i=n,o=e.tokenizer[i],r=t[i];t[i]=(...e)=>{let n=o.apply(t,e);return!1===n&&(n=r.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new yx;for(const n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if("options"===n)continue;const i=n,o=e.hooks[i],r=t[i];yx.passThroughHooks.has(n)?t[i]=e=>{if(this.defaults.async)return Promise.resolve(o.call(t,e)).then((e=>r.call(t,e)));const n=o.call(t,e);return r.call(t,n)}:t[i]=(...e)=>{let n=o.apply(t,e);return!1===n&&(n=r.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens,i=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(i.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}})),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return gx.lex(e,t??this.defaults)}parser(e,t){return bx.parse(e,t??this.defaults)}#e(e,t){return(n,i)=>{const o={...i},r={...this.defaults,...o};!0===this.defaults.async&&!1===o.async&&(r.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),r.async=!0);const s=this.#t(!!r.silent,!!r.async);if(null==n)return s(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(r.hooks&&(r.hooks.options=r),r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(n):n).then((t=>e(t,r))).then((e=>r.hooks?r.hooks.processAllTokens(e):e)).then((e=>r.walkTokens?Promise.all(this.walkTokens(e,r.walkTokens)).then((()=>e)):e)).then((e=>t(e,r))).then((e=>r.hooks?r.hooks.postprocess(e):e)).catch(s);try{r.hooks&&(n=r.hooks.preprocess(n));let i=e(n,r);r.hooks&&(i=r.hooks.processAllTokens(i)),r.walkTokens&&this.walkTokens(i,r.walkTokens);let o=t(i,r);return r.hooks&&(o=r.hooks.postprocess(o)),o}catch(e){return s(e)}}}#t(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+Eg(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function wx(e,t){return _x.parse(e,t)}wx.options=wx.setOptions=function(e){return _x.setOptions(e),wx.defaults=_x.defaults,gg(wx.defaults),wx},wx.getDefaults=mg,wx.defaults=hg,wx.use=function(...e){return _x.use(...e),wx.defaults=_x.defaults,gg(wx.defaults),wx},wx.walkTokens=function(e,t){return _x.walkTokens(e,t)},wx.parseInline=_x.parseInline,wx.Parser=bx,wx.parser=bx.parse,wx.Renderer=xx,wx.TextRenderer=vx,wx.Lexer=gx,wx.lexer=gx.lex,wx.Tokenizer=Lg,wx.Hooks=yx,wx.parse=wx,wx.options,wx.setOptions,wx.use,wx.walkTokens,wx.parseInline,bx.parse,gx.lex;var Ex={exports:{}};
|
|
37
|
+
/**
|
|
38
|
+
* @license
|
|
39
|
+
* Lodash <https://lodash.com/>
|
|
40
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
41
|
+
* Released under MIT license <https://lodash.com/license>
|
|
42
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
43
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
44
|
+
*/!function(e,t){(function(){var n,i="Expected a function",o="__lodash_hash_undefined__",r="__lodash_placeholder__",s=16,a=32,c=64,l=128,p=256,u=1/0,d=9007199254740991,f=NaN,m=4294967295,h=[["ary",l],["bind",1],["bindKey",2],["curry",8],["curryRight",s],["flip",512],["partial",a],["partialRight",c],["rearg",p]],g="[object Arguments]",x="[object Array]",v="[object Boolean]",b="[object Date]",y="[object Error]",_="[object Function]",w="[object GeneratorFunction]",E="[object Map]",S="[object Number]",k="[object Object]",R="[object Promise]",T="[object RegExp]",O="[object Set]",A="[object String]",C="[object Symbol]",j="[object WeakMap]",P="[object ArrayBuffer]",L="[object DataView]",I="[object Float32Array]",N="[object Float64Array]",F="[object Int8Array]",D="[object Int16Array]",$="[object Int32Array]",M="[object Uint8Array]",B="[object Uint8ClampedArray]",U="[object Uint16Array]",z="[object Uint32Array]",H=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,K=/[&<>"']/g,V=RegExp(W.source),Y=RegExp(K.source),Q=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,J=/<%=([\s\S]+?)%>/g,X=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ee=/^\w*$/,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(ne.source),oe=/^\s+/,re=/\s/,se=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,ue=/\\(\\)?/g,de=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fe=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,xe=/^0o[0-7]+$/i,ve=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_e=/($^)/,we=/['\n\r\u2028\u2029\\]/g,Ee="\\ud800-\\udfff",Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ke="\\u2700-\\u27bf",Re="a-z\\xdf-\\xf6\\xf8-\\xff",Te="A-Z\\xc0-\\xd6\\xd8-\\xde",Oe="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ce="['’]",je="["+Ee+"]",Pe="["+Ae+"]",Le="["+Se+"]",Ie="\\d+",Ne="["+ke+"]",Fe="["+Re+"]",De="[^"+Ee+Ae+Ie+ke+Re+Te+"]",$e="\\ud83c[\\udffb-\\udfff]",Me="[^"+Ee+"]",Be="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Te+"]",He="\\u200d",Ge="(?:"+Fe+"|"+De+")",qe="(?:"+ze+"|"+De+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",Ke="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ve="(?:"+Le+"|"+$e+")"+"?",Ye="["+Oe+"]?",Qe=Ye+Ve+("(?:"+He+"(?:"+[Me,Be,Ue].join("|")+")"+Ye+Ve+")*"),Ze="(?:"+[Ne,Be,Ue].join("|")+")"+Qe,Je="(?:"+[Me+Le+"?",Le,Be,Ue,je].join("|")+")",Xe=RegExp(Ce,"g"),et=RegExp(Le,"g"),tt=RegExp($e+"(?="+$e+")|"+Je+Qe,"g"),nt=RegExp([ze+"?"+Fe+"+"+We+"(?="+[Pe,ze,"$"].join("|")+")",qe+"+"+Ke+"(?="+[Pe,ze+Ge,"$"].join("|")+")",ze+"?"+Ge+"+"+We,ze+"+"+Ke,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ie,Ze].join("|"),"g"),it=RegExp("["+He+Ee+Se+Oe+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,at={};at[I]=at[N]=at[F]=at[D]=at[$]=at[M]=at[B]=at[U]=at[z]=!0,at[g]=at[x]=at[P]=at[v]=at[L]=at[b]=at[y]=at[_]=at[E]=at[S]=at[k]=at[T]=at[O]=at[A]=at[j]=!1;var ct={};ct[g]=ct[x]=ct[P]=ct[L]=ct[v]=ct[b]=ct[I]=ct[N]=ct[F]=ct[D]=ct[$]=ct[E]=ct[S]=ct[k]=ct[T]=ct[O]=ct[A]=ct[C]=ct[M]=ct[B]=ct[U]=ct[z]=!0,ct[y]=ct[_]=ct[j]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},pt=parseFloat,ut=parseInt,dt="object"==typeof be&&be&&be.Object===Object&&be,ft="object"==typeof self&&self&&self.Object===Object&&self,mt=dt||ft||Function("return this")(),ht=t&&!t.nodeType&&t,gt=ht&&e&&!e.nodeType&&e,xt=gt&>.exports===ht,vt=xt&&dt.process,bt=function(){try{var e=gt&>.require&>.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(e){}}(),yt=bt&&bt.isArrayBuffer,_t=bt&&bt.isDate,wt=bt&&bt.isMap,Et=bt&&bt.isRegExp,St=bt&&bt.isSet,kt=bt&&bt.isTypedArray;function Rt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Tt(e,t,n,i){for(var o=-1,r=null==e?0:e.length;++o<r;){var s=e[o];t(i,s,n(s),e)}return i}function Ot(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function At(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ct(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(!t(e[n],n,e))return!1;return!0}function jt(e,t){for(var n=-1,i=null==e?0:e.length,o=0,r=[];++n<i;){var s=e[n];t(s,n,e)&&(r[o++]=s)}return r}function Pt(e,t){return!!(null==e?0:e.length)&&zt(e,t,0)>-1}function Lt(e,t,n){for(var i=-1,o=null==e?0:e.length;++i<o;)if(n(t,e[i]))return!0;return!1}function It(e,t){for(var n=-1,i=null==e?0:e.length,o=Array(i);++n<i;)o[n]=t(e[n],n,e);return o}function Nt(e,t){for(var n=-1,i=t.length,o=e.length;++n<i;)e[o+n]=t[n];return e}function Ft(e,t,n,i){var o=-1,r=null==e?0:e.length;for(i&&r&&(n=e[++o]);++o<r;)n=t(n,e[o],o,e);return n}function Dt(e,t,n,i){var o=null==e?0:e.length;for(i&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function $t(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var Mt=Wt("length");function Bt(e,t,n){var i;return n(e,(function(e,n,o){if(t(e,n,o))return i=n,!1})),i}function Ut(e,t,n,i){for(var o=e.length,r=n+(i?1:-1);i?r--:++r<o;)if(t(e[r],r,e))return r;return-1}function zt(e,t,n){return t==t?function(e,t,n){var i=n-1,o=e.length;for(;++i<o;)if(e[i]===t)return i;return-1}(e,t,n):Ut(e,Gt,n)}function Ht(e,t,n,i){for(var o=n-1,r=e.length;++o<r;)if(i(e[o],t))return o;return-1}function Gt(e){return e!=e}function qt(e,t){var n=null==e?0:e.length;return n?Yt(e,t)/n:f}function Wt(e){return function(t){return null==t?n:t[e]}}function Kt(e){return function(t){return null==e?n:e[t]}}function Vt(e,t,n,i,o){return o(e,(function(e,o,r){n=i?(i=!1,e):t(n,e,o,r)})),n}function Yt(e,t){for(var i,o=-1,r=e.length;++o<r;){var s=t(e[o]);s!==n&&(i=i===n?s:i+s)}return i}function Qt(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function Zt(e){return e?e.slice(0,hn(e)+1).replace(oe,""):e}function Jt(e){return function(t){return e(t)}}function Xt(e,t){return It(t,(function(t){return e[t]}))}function en(e,t){return e.has(t)}function tn(e,t){for(var n=-1,i=e.length;++n<i&&zt(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length;n--&&zt(t,e[n],0)>-1;);return n}var on=Kt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),rn=Kt({"&":"&","<":"<",">":">",'"':""","'":"'"});function sn(e){return"\\"+lt[e]}function an(e){return it.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function pn(e,t){for(var n=-1,i=e.length,o=0,s=[];++n<i;){var a=e[n];a!==t&&a!==r||(e[n]=r,s[o++]=n)}return s}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function fn(e){return an(e)?function(e){var t=tt.lastIndex=0;for(;tt.test(e);)++t;return t}(e):Mt(e)}function mn(e){return an(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.split("")}(e)}function hn(e){for(var t=e.length;t--&&re.test(e.charAt(t)););return t}var gn=Kt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var xn=function e(t){var re,be=(t=null==t?mt:xn.defaults(mt.Object(),t,xn.pick(mt,rt))).Array,Ee=t.Date,Se=t.Error,ke=t.Function,Re=t.Math,Te=t.Object,Oe=t.RegExp,Ae=t.String,Ce=t.TypeError,je=be.prototype,Pe=ke.prototype,Le=Te.prototype,Ie=t["__core-js_shared__"],Ne=Pe.toString,Fe=Le.hasOwnProperty,De=0,$e=(re=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||""))?"Symbol(src)_1."+re:"",Me=Le.toString,Be=Ne.call(Te),Ue=mt._,ze=Oe("^"+Ne.call(Fe).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=xt?t.Buffer:n,Ge=t.Symbol,qe=t.Uint8Array,We=He?He.allocUnsafe:n,Ke=ln(Te.getPrototypeOf,Te),Ve=Te.create,Ye=Le.propertyIsEnumerable,Qe=je.splice,Ze=Ge?Ge.isConcatSpreadable:n,Je=Ge?Ge.iterator:n,tt=Ge?Ge.toStringTag:n,it=function(){try{var e=fr(Te,"defineProperty");return e({},"",{}),e}catch(e){}}(),lt=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,dt=Ee&&Ee.now!==mt.Date.now&&Ee.now,ft=t.setTimeout!==mt.setTimeout&&t.setTimeout,ht=Re.ceil,gt=Re.floor,vt=Te.getOwnPropertySymbols,bt=He?He.isBuffer:n,Mt=t.isFinite,Kt=je.join,vn=ln(Te.keys,Te),bn=Re.max,yn=Re.min,_n=Ee.now,wn=t.parseInt,En=Re.random,Sn=je.reverse,kn=fr(t,"DataView"),Rn=fr(t,"Map"),Tn=fr(t,"Promise"),On=fr(t,"Set"),An=fr(t,"WeakMap"),Cn=fr(Te,"create"),jn=An&&new An,Pn={},Ln=Mr(kn),In=Mr(Rn),Nn=Mr(Tn),Fn=Mr(On),Dn=Mr(An),$n=Ge?Ge.prototype:n,Mn=$n?$n.valueOf:n,Bn=$n?$n.toString:n;function Un(e){if(na(e)&&!qs(e)&&!(e instanceof qn)){if(e instanceof Gn)return e;if(Fe.call(e,"__wrapped__"))return Br(e)}return new Gn(e)}var zn=function(){function e(){}return function(t){if(!ta(t))return{};if(Ve)return Ve(t);e.prototype=t;var i=new e;return e.prototype=n,i}}();function Hn(){}function Gn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function qn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Vn;++t<n;)this.add(e[t])}function Qn(e){var t=this.__data__=new Kn(e);this.size=t.size}function Zn(e,t){var n=qs(e),i=!n&&Gs(e),o=!n&&!i&&Ys(e),r=!n&&!i&&!o&&pa(e),s=n||i||o||r,a=s?Qt(e.length,Ae):[],c=a.length;for(var l in e)!t&&!Fe.call(e,l)||s&&("length"==l||o&&("offset"==l||"parent"==l)||r&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||yr(l,c))||a.push(l);return a}function Jn(e){var t=e.length;return t?e[Yi(0,t-1)]:n}function Xn(e,t){return Fr(jo(e),ci(t,0,e.length))}function ei(e){return Fr(jo(e))}function ti(e,t,i){(i!==n&&!Us(e[t],i)||i===n&&!(t in e))&&si(e,t,i)}function ni(e,t,i){var o=e[t];Fe.call(e,t)&&Us(o,i)&&(i!==n||t in e)||si(e,t,i)}function ii(e,t){for(var n=e.length;n--;)if(Us(e[n][0],t))return n;return-1}function oi(e,t,n,i){return fi(e,(function(e,o,r){t(i,e,n(e),r)})),i}function ri(e,t){return e&&Po(t,Pa(t),e)}function si(e,t,n){"__proto__"==t&&it?it(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ai(e,t){for(var i=-1,o=t.length,r=be(o),s=null==e;++i<o;)r[i]=s?n:Ta(e,t[i]);return r}function ci(e,t,i){return e==e&&(i!==n&&(e=e<=i?e:i),t!==n&&(e=e>=t?e:t)),e}function li(e,t,i,o,r,s){var a,c=1&t,l=2&t,p=4&t;if(i&&(a=r?i(e,o,r,s):i(e)),a!==n)return a;if(!ta(e))return e;var u=qs(e);if(u){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Fe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return jo(e,a)}else{var d=gr(e),f=d==_||d==w;if(Ys(e))return ko(e,c);if(d==k||d==g||f&&!r){if(a=l||f?{}:vr(e),!c)return l?function(e,t){return Po(e,hr(e),t)}(e,function(e,t){return e&&Po(t,La(t),e)}(a,e)):function(e,t){return Po(e,mr(e),t)}(e,ri(a,e))}else{if(!ct[d])return r?e:{};a=function(e,t,n){var i=e.constructor;switch(t){case P:return Ro(e);case v:case b:return new i(+e);case L:return function(e,t){var n=t?Ro(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case I:case N:case F:case D:case $:case M:case B:case U:case z:return To(e,n);case E:return new i;case S:case A:return new i(e);case T:return function(e){var t=new e.constructor(e.source,fe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case O:return new i;case C:return o=e,Mn?Te(Mn.call(o)):{}}var o}(e,d,c)}}s||(s=new Qn);var m=s.get(e);if(m)return m;s.set(e,a),aa(e)?e.forEach((function(n){a.add(li(n,t,i,n,e,s))})):ia(e)&&e.forEach((function(n,o){a.set(o,li(n,t,i,o,e,s))}));var h=u?n:(p?l?sr:rr:l?La:Pa)(e);return Ot(h||e,(function(n,o){h&&(n=e[o=n]),ni(a,o,li(n,t,i,o,e,s))})),a}function pi(e,t,i){var o=i.length;if(null==e)return!o;for(e=Te(e);o--;){var r=i[o],s=t[r],a=e[r];if(a===n&&!(r in e)||!s(a))return!1}return!0}function ui(e,t,o){if("function"!=typeof e)throw new Ce(i);return Pr((function(){e.apply(n,o)}),t)}function di(e,t,n,i){var o=-1,r=Pt,s=!0,a=e.length,c=[],l=t.length;if(!a)return c;n&&(t=It(t,Jt(n))),i?(r=Lt,s=!1):t.length>=200&&(r=en,s=!1,t=new Yn(t));e:for(;++o<a;){var p=e[o],u=null==n?p:n(p);if(p=i||0!==p?p:0,s&&u==u){for(var d=l;d--;)if(t[d]===u)continue e;c.push(p)}else r(t,u,i)||c.push(p)}return c}Un.templateSettings={escape:Q,evaluate:Z,interpolate:J,variable:"",imports:{_:Un}},Un.prototype=Hn.prototype,Un.prototype.constructor=Un,Gn.prototype=zn(Hn.prototype),Gn.prototype.constructor=Gn,qn.prototype=zn(Hn.prototype),qn.prototype.constructor=qn,Wn.prototype.clear=function(){this.__data__=Cn?Cn(null):{},this.size=0},Wn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Wn.prototype.get=function(e){var t=this.__data__;if(Cn){var i=t[e];return i===o?n:i}return Fe.call(t,e)?t[e]:n},Wn.prototype.has=function(e){var t=this.__data__;return Cn?t[e]!==n:Fe.call(t,e)},Wn.prototype.set=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=Cn&&t===n?o:t,this},Kn.prototype.clear=function(){this.__data__=[],this.size=0},Kn.prototype.delete=function(e){var t=this.__data__,n=ii(t,e);return!(n<0)&&(n==t.length-1?t.pop():Qe.call(t,n,1),--this.size,!0)},Kn.prototype.get=function(e){var t=this.__data__,i=ii(t,e);return i<0?n:t[i][1]},Kn.prototype.has=function(e){return ii(this.__data__,e)>-1},Kn.prototype.set=function(e,t){var n=this.__data__,i=ii(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},Vn.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(Rn||Kn),string:new Wn}},Vn.prototype.delete=function(e){var t=ur(this,e).delete(e);return this.size-=t?1:0,t},Vn.prototype.get=function(e){return ur(this,e).get(e)},Vn.prototype.has=function(e){return ur(this,e).has(e)},Vn.prototype.set=function(e,t){var n=ur(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},Yn.prototype.add=Yn.prototype.push=function(e){return this.__data__.set(e,o),this},Yn.prototype.has=function(e){return this.__data__.has(e)},Qn.prototype.clear=function(){this.__data__=new Kn,this.size=0},Qn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Qn.prototype.get=function(e){return this.__data__.get(e)},Qn.prototype.has=function(e){return this.__data__.has(e)},Qn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Kn){var i=n.__data__;if(!Rn||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Vn(i)}return n.set(e,t),this.size=n.size,this};var fi=No(_i),mi=No(wi,!0);function hi(e,t){var n=!0;return fi(e,(function(e,i,o){return n=!!t(e,i,o)})),n}function gi(e,t,i){for(var o=-1,r=e.length;++o<r;){var s=e[o],a=t(s);if(null!=a&&(c===n?a==a&&!la(a):i(a,c)))var c=a,l=s}return l}function xi(e,t){var n=[];return fi(e,(function(e,i,o){t(e,i,o)&&n.push(e)})),n}function vi(e,t,n,i,o){var r=-1,s=e.length;for(n||(n=br),o||(o=[]);++r<s;){var a=e[r];t>0&&n(a)?t>1?vi(a,t-1,n,i,o):Nt(o,a):i||(o[o.length]=a)}return o}var bi=Fo(),yi=Fo(!0);function _i(e,t){return e&&bi(e,t,Pa)}function wi(e,t){return e&&yi(e,t,Pa)}function Ei(e,t){return jt(t,(function(t){return Js(e[t])}))}function Si(e,t){for(var i=0,o=(t=_o(t,e)).length;null!=e&&i<o;)e=e[$r(t[i++])];return i&&i==o?e:n}function ki(e,t,n){var i=t(e);return qs(e)?i:Nt(i,n(e))}function Ri(e){return null==e?e===n?"[object Undefined]":"[object Null]":tt&&tt in Te(e)?function(e){var t=Fe.call(e,tt),i=e[tt];try{e[tt]=n;var o=!0}catch(e){}var r=Me.call(e);o&&(t?e[tt]=i:delete e[tt]);return r}(e):function(e){return Me.call(e)}(e)}function Ti(e,t){return e>t}function Oi(e,t){return null!=e&&Fe.call(e,t)}function Ai(e,t){return null!=e&&t in Te(e)}function Ci(e,t,i){for(var o=i?Lt:Pt,r=e[0].length,s=e.length,a=s,c=be(s),l=1/0,p=[];a--;){var u=e[a];a&&t&&(u=It(u,Jt(t))),l=yn(u.length,l),c[a]=!i&&(t||r>=120&&u.length>=120)?new Yn(a&&u):n}u=e[0];var d=-1,f=c[0];e:for(;++d<r&&p.length<l;){var m=u[d],h=t?t(m):m;if(m=i||0!==m?m:0,!(f?en(f,h):o(p,h,i))){for(a=s;--a;){var g=c[a];if(!(g?en(g,h):o(e[a],h,i)))continue e}f&&f.push(h),p.push(m)}}return p}function ji(e,t,i){var o=null==(e=Ar(e,t=_o(t,e)))?e:e[$r(Zr(t))];return null==o?n:Rt(o,e,i)}function Pi(e){return na(e)&&Ri(e)==g}function Li(e,t,i,o,r){return e===t||(null==e||null==t||!na(e)&&!na(t)?e!=e&&t!=t:function(e,t,i,o,r,s){var a=qs(e),c=qs(t),l=a?x:gr(e),p=c?x:gr(t),u=(l=l==g?k:l)==k,d=(p=p==g?k:p)==k,f=l==p;if(f&&Ys(e)){if(!Ys(t))return!1;a=!0,u=!1}if(f&&!u)return s||(s=new Qn),a||pa(e)?ir(e,t,i,o,r,s):function(e,t,n,i,o,r,s){switch(n){case L:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case P:return!(e.byteLength!=t.byteLength||!r(new qe(e),new qe(t)));case v:case b:case S:return Us(+e,+t);case y:return e.name==t.name&&e.message==t.message;case T:case A:return e==t+"";case E:var a=cn;case O:var c=1&i;if(a||(a=un),e.size!=t.size&&!c)return!1;var l=s.get(e);if(l)return l==t;i|=2,s.set(e,t);var p=ir(a(e),a(t),i,o,r,s);return s.delete(e),p;case C:if(Mn)return Mn.call(e)==Mn.call(t)}return!1}(e,t,l,i,o,r,s);if(!(1&i)){var m=u&&Fe.call(e,"__wrapped__"),h=d&&Fe.call(t,"__wrapped__");if(m||h){var _=m?e.value():e,w=h?t.value():t;return s||(s=new Qn),r(_,w,i,o,s)}}if(!f)return!1;return s||(s=new Qn),function(e,t,i,o,r,s){var a=1&i,c=rr(e),l=c.length,p=rr(t),u=p.length;if(l!=u&&!a)return!1;var d=l;for(;d--;){var f=c[d];if(!(a?f in t:Fe.call(t,f)))return!1}var m=s.get(e),h=s.get(t);if(m&&h)return m==t&&h==e;var g=!0;s.set(e,t),s.set(t,e);var x=a;for(;++d<l;){var v=e[f=c[d]],b=t[f];if(o)var y=a?o(b,v,f,t,e,s):o(v,b,f,e,t,s);if(!(y===n?v===b||r(v,b,i,o,s):y)){g=!1;break}x||(x="constructor"==f)}if(g&&!x){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return s.delete(e),s.delete(t),g}(e,t,i,o,r,s)}(e,t,i,o,Li,r))}function Ii(e,t,i,o){var r=i.length,s=r,a=!o;if(null==e)return!s;for(e=Te(e);r--;){var c=i[r];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++r<s;){var l=(c=i[r])[0],p=e[l],u=c[1];if(a&&c[2]){if(p===n&&!(l in e))return!1}else{var d=new Qn;if(o)var f=o(p,u,l,e,t,d);if(!(f===n?Li(u,p,3,o,d):f))return!1}}return!0}function Ni(e){return!(!ta(e)||(t=e,$e&&$e in t))&&(Js(e)?ze:ge).test(Mr(e));var t}function Fi(e){return"function"==typeof e?e:null==e?oc:"object"==typeof e?qs(e)?zi(e[0],e[1]):Ui(e):fc(e)}function Di(e){if(!kr(e))return vn(e);var t=[];for(var n in Te(e))Fe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function $i(e){if(!ta(e))return function(e){var t=[];if(null!=e)for(var n in Te(e))t.push(n);return t}(e);var t=kr(e),n=[];for(var i in e)("constructor"!=i||!t&&Fe.call(e,i))&&n.push(i);return n}function Mi(e,t){return e<t}function Bi(e,t){var n=-1,i=Ks(e)?be(e.length):[];return fi(e,(function(e,o,r){i[++n]=t(e,o,r)})),i}function Ui(e){var t=dr(e);return 1==t.length&&t[0][2]?Tr(t[0][0],t[0][1]):function(n){return n===e||Ii(n,e,t)}}function zi(e,t){return wr(e)&&Rr(t)?Tr($r(e),t):function(i){var o=Ta(i,e);return o===n&&o===t?Oa(i,e):Li(t,o,3)}}function Hi(e,t,i,o,r){e!==t&&bi(t,(function(s,a){if(r||(r=new Qn),ta(s))!function(e,t,i,o,r,s,a){var c=Cr(e,i),l=Cr(t,i),p=a.get(l);if(p)return void ti(e,i,p);var u=s?s(c,l,i+"",e,t,a):n,d=u===n;if(d){var f=qs(l),m=!f&&Ys(l),h=!f&&!m&&pa(l);u=l,f||m||h?qs(c)?u=c:Vs(c)?u=jo(c):m?(d=!1,u=ko(l,!0)):h?(d=!1,u=To(l,!0)):u=[]:ra(l)||Gs(l)?(u=c,Gs(c)?u=va(c):ta(c)&&!Js(c)||(u=vr(l))):d=!1}d&&(a.set(l,u),r(u,l,o,s,a),a.delete(l));ti(e,i,u)}(e,t,a,i,Hi,o,r);else{var c=o?o(Cr(e,a),s,a+"",e,t,r):n;c===n&&(c=s),ti(e,a,c)}}),La)}function Gi(e,t){var i=e.length;if(i)return yr(t+=t<0?i:0,i)?e[t]:n}function qi(e,t,n){t=t.length?It(t,(function(e){return qs(e)?function(t){return Si(t,1===e.length?e[0]:e)}:e})):[oc];var i=-1;t=It(t,Jt(pr()));var o=Bi(e,(function(e,n,o){var r=It(t,(function(t){return t(e)}));return{criteria:r,index:++i,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var i=-1,o=e.criteria,r=t.criteria,s=o.length,a=n.length;for(;++i<s;){var c=Oo(o[i],r[i]);if(c)return i>=a?c:c*("desc"==n[i]?-1:1)}return e.index-t.index}(e,t,n)}))}function Wi(e,t,n){for(var i=-1,o=t.length,r={};++i<o;){var s=t[i],a=Si(e,s);n(a,s)&&eo(r,_o(s,e),a)}return r}function Ki(e,t,n,i){var o=i?Ht:zt,r=-1,s=t.length,a=e;for(e===t&&(t=jo(t)),n&&(a=It(e,Jt(n)));++r<s;)for(var c=0,l=t[r],p=n?n(l):l;(c=o(a,p,c,i))>-1;)a!==e&&Qe.call(a,c,1),Qe.call(e,c,1);return e}function Vi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var o=t[n];if(n==i||o!==r){var r=o;yr(o)?Qe.call(e,o,1):fo(e,o)}}return e}function Yi(e,t){return e+gt(En()*(t-e+1))}function Qi(e,t){var n="";if(!e||t<1||t>d)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Zi(e,t){return Lr(Or(e,t,oc),e+"")}function Ji(e){return Jn(Ua(e))}function Xi(e,t){var n=Ua(e);return Fr(n,ci(t,0,n.length))}function eo(e,t,i,o){if(!ta(e))return e;for(var r=-1,s=(t=_o(t,e)).length,a=s-1,c=e;null!=c&&++r<s;){var l=$r(t[r]),p=i;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(r!=a){var u=c[l];(p=o?o(u,l,c):n)===n&&(p=ta(u)?u:yr(t[r+1])?[]:{})}ni(c,l,p),c=c[l]}return e}var to=jn?function(e,t){return jn.set(e,t),e}:oc,no=it?function(e,t){return it(e,"toString",{configurable:!0,enumerable:!1,value:tc(t),writable:!0})}:oc;function io(e){return Fr(Ua(e))}function oo(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var r=be(o);++i<o;)r[i]=e[i+t];return r}function ro(e,t){var n;return fi(e,(function(e,i,o){return!(n=t(e,i,o))})),!!n}function so(e,t,n){var i=0,o=null==e?i:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;i<o;){var r=i+o>>>1,s=e[r];null!==s&&!la(s)&&(n?s<=t:s<t)?i=r+1:o=r}return o}return ao(e,t,oc,n)}function ao(e,t,i,o){var r=0,s=null==e?0:e.length;if(0===s)return 0;for(var a=(t=i(t))!=t,c=null===t,l=la(t),p=t===n;r<s;){var u=gt((r+s)/2),d=i(e[u]),f=d!==n,m=null===d,h=d==d,g=la(d);if(a)var x=o||h;else x=p?h&&(o||f):c?h&&f&&(o||!m):l?h&&f&&!m&&(o||!g):!m&&!g&&(o?d<=t:d<t);x?r=u+1:s=u}return yn(s,4294967294)}function co(e,t){for(var n=-1,i=e.length,o=0,r=[];++n<i;){var s=e[n],a=t?t(s):s;if(!n||!Us(a,c)){var c=a;r[o++]=0===s?0:s}}return r}function lo(e){return"number"==typeof e?e:la(e)?f:+e}function po(e){if("string"==typeof e)return e;if(qs(e))return It(e,po)+"";if(la(e))return Bn?Bn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function uo(e,t,n){var i=-1,o=Pt,r=e.length,s=!0,a=[],c=a;if(n)s=!1,o=Lt;else if(r>=200){var l=t?null:Zo(e);if(l)return un(l);s=!1,o=en,c=new Yn}else c=t?[]:a;e:for(;++i<r;){var p=e[i],u=t?t(p):p;if(p=n||0!==p?p:0,s&&u==u){for(var d=c.length;d--;)if(c[d]===u)continue e;t&&c.push(u),a.push(p)}else o(c,u,n)||(c!==a&&c.push(u),a.push(p))}return a}function fo(e,t){return null==(e=Ar(e,t=_o(t,e)))||delete e[$r(Zr(t))]}function mo(e,t,n,i){return eo(e,t,n(Si(e,t)),i)}function ho(e,t,n,i){for(var o=e.length,r=i?o:-1;(i?r--:++r<o)&&t(e[r],r,e););return n?oo(e,i?0:r,i?r+1:o):oo(e,i?r+1:0,i?o:r)}function go(e,t){var n=e;return n instanceof qn&&(n=n.value()),Ft(t,(function(e,t){return t.func.apply(t.thisArg,Nt([e],t.args))}),n)}function xo(e,t,n){var i=e.length;if(i<2)return i?uo(e[0]):[];for(var o=-1,r=be(i);++o<i;)for(var s=e[o],a=-1;++a<i;)a!=o&&(r[o]=di(r[o]||s,e[a],t,n));return uo(vi(r,1),t,n)}function vo(e,t,i){for(var o=-1,r=e.length,s=t.length,a={};++o<r;){var c=o<s?t[o]:n;i(a,e[o],c)}return a}function bo(e){return Vs(e)?e:[]}function yo(e){return"function"==typeof e?e:oc}function _o(e,t){return qs(e)?e:wr(e,t)?[e]:Dr(ba(e))}var wo=Zi;function Eo(e,t,i){var o=e.length;return i=i===n?o:i,!t&&i>=o?e:oo(e,t,i)}var So=lt||function(e){return mt.clearTimeout(e)};function ko(e,t){if(t)return e.slice();var n=e.length,i=We?We(n):new e.constructor(n);return e.copy(i),i}function Ro(e){var t=new e.constructor(e.byteLength);return new qe(t).set(new qe(e)),t}function To(e,t){var n=t?Ro(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Oo(e,t){if(e!==t){var i=e!==n,o=null===e,r=e==e,s=la(e),a=t!==n,c=null===t,l=t==t,p=la(t);if(!c&&!p&&!s&&e>t||s&&a&&l&&!c&&!p||o&&a&&l||!i&&l||!r)return 1;if(!o&&!s&&!p&&e<t||p&&i&&r&&!o&&!s||c&&i&&r||!a&&r||!l)return-1}return 0}function Ao(e,t,n,i){for(var o=-1,r=e.length,s=n.length,a=-1,c=t.length,l=bn(r-s,0),p=be(c+l),u=!i;++a<c;)p[a]=t[a];for(;++o<s;)(u||o<r)&&(p[n[o]]=e[o]);for(;l--;)p[a++]=e[o++];return p}function Co(e,t,n,i){for(var o=-1,r=e.length,s=-1,a=n.length,c=-1,l=t.length,p=bn(r-a,0),u=be(p+l),d=!i;++o<p;)u[o]=e[o];for(var f=o;++c<l;)u[f+c]=t[c];for(;++s<a;)(d||o<r)&&(u[f+n[s]]=e[o++]);return u}function jo(e,t){var n=-1,i=e.length;for(t||(t=be(i));++n<i;)t[n]=e[n];return t}function Po(e,t,i,o){var r=!i;i||(i={});for(var s=-1,a=t.length;++s<a;){var c=t[s],l=o?o(i[c],e[c],c,i,e):n;l===n&&(l=e[c]),r?si(i,c,l):ni(i,c,l)}return i}function Lo(e,t){return function(n,i){var o=qs(n)?Tt:oi,r=t?t():{};return o(n,e,pr(i,2),r)}}function Io(e){return Zi((function(t,i){var o=-1,r=i.length,s=r>1?i[r-1]:n,a=r>2?i[2]:n;for(s=e.length>3&&"function"==typeof s?(r--,s):n,a&&_r(i[0],i[1],a)&&(s=r<3?n:s,r=1),t=Te(t);++o<r;){var c=i[o];c&&e(t,c,o,s)}return t}))}function No(e,t){return function(n,i){if(null==n)return n;if(!Ks(n))return e(n,i);for(var o=n.length,r=t?o:-1,s=Te(n);(t?r--:++r<o)&&!1!==i(s[r],r,s););return n}}function Fo(e){return function(t,n,i){for(var o=-1,r=Te(t),s=i(t),a=s.length;a--;){var c=s[e?a:++o];if(!1===n(r[c],c,r))break}return t}}function Do(e){return function(t){var i=an(t=ba(t))?mn(t):n,o=i?i[0]:t.charAt(0),r=i?Eo(i,1).join(""):t.slice(1);return o[e]()+r}}function $o(e){return function(t){return Ft(Ja(Ga(t).replace(Xe,"")),e,"")}}function Mo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=zn(e.prototype),i=e.apply(n,t);return ta(i)?i:n}}function Bo(e){return function(t,i,o){var r=Te(t);if(!Ks(t)){var s=pr(i,3);t=Pa(t),i=function(e){return s(r[e],e,r)}}var a=e(t,i,o);return a>-1?r[s?t[a]:a]:n}}function Uo(e){return or((function(t){var o=t.length,r=o,s=Gn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new Ce(i);if(s&&!c&&"wrapper"==cr(a))var c=new Gn([],!0)}for(r=c?r:o;++r<o;){var l=cr(a=t[r]),p="wrapper"==l?ar(a):n;c=p&&Er(p[0])&&424==p[1]&&!p[4].length&&1==p[9]?c[cr(p[0])].apply(c,p[3]):1==a.length&&Er(a)?c[l]():c.thru(a)}return function(){var e=arguments,n=e[0];if(c&&1==e.length&&qs(n))return c.plant(n).value();for(var i=0,r=o?t[i].apply(this,e):n;++i<o;)r=t[i].call(this,r);return r}}))}function zo(e,t,i,o,r,s,a,c,p,u){var d=t&l,f=1&t,m=2&t,h=24&t,g=512&t,x=m?n:Mo(e);return function l(){for(var v=arguments.length,b=be(v),y=v;y--;)b[y]=arguments[y];if(h)var _=lr(l),w=function(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}(b,_);if(o&&(b=Ao(b,o,r,h)),s&&(b=Co(b,s,a,h)),v-=w,h&&v<u){var E=pn(b,_);return Yo(e,t,zo,l.placeholder,i,b,E,c,p,u-v)}var S=f?i:this,k=m?S[e]:e;return v=b.length,c?b=function(e,t){var i=e.length,o=yn(t.length,i),r=jo(e);for(;o--;){var s=t[o];e[o]=yr(s,i)?r[s]:n}return e}(b,c):g&&v>1&&b.reverse(),d&&p<v&&(b.length=p),this&&this!==mt&&this instanceof l&&(k=x||Mo(k)),k.apply(S,b)}}function Ho(e,t){return function(n,i){return function(e,t,n,i){return _i(e,(function(e,o,r){t(i,n(e),o,r)})),i}(n,e,t(i),{})}}function Go(e,t){return function(i,o){var r;if(i===n&&o===n)return t;if(i!==n&&(r=i),o!==n){if(r===n)return o;"string"==typeof i||"string"==typeof o?(i=po(i),o=po(o)):(i=lo(i),o=lo(o)),r=e(i,o)}return r}}function qo(e){return or((function(t){return t=It(t,Jt(pr())),Zi((function(n){var i=this;return e(t,(function(e){return Rt(e,i,n)}))}))}))}function Wo(e,t){var i=(t=t===n?" ":po(t)).length;if(i<2)return i?Qi(t,e):t;var o=Qi(t,ht(e/fn(t)));return an(t)?Eo(mn(o),0,e).join(""):o.slice(0,e)}function Ko(e){return function(t,i,o){return o&&"number"!=typeof o&&_r(t,i,o)&&(i=o=n),t=ma(t),i===n?(i=t,t=0):i=ma(i),function(e,t,n,i){for(var o=-1,r=bn(ht((t-e)/(n||1)),0),s=be(r);r--;)s[i?r:++o]=e,e+=n;return s}(t,i,o=o===n?t<i?1:-1:ma(o),e)}}function Vo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=xa(t),n=xa(n)),e(t,n)}}function Yo(e,t,i,o,r,s,l,p,u,d){var f=8&t;t|=f?a:c,4&(t&=~(f?c:a))||(t&=-4);var m=[e,t,r,f?s:n,f?l:n,f?n:s,f?n:l,p,u,d],h=i.apply(n,m);return Er(e)&&jr(h,m),h.placeholder=o,Ir(h,e,t)}function Qo(e){var t=Re[e];return function(e,n){if(e=xa(e),(n=null==n?0:yn(ha(n),292))&&Mt(e)){var i=(ba(e)+"e").split("e");return+((i=(ba(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var Zo=On&&1/un(new On([,-0]))[1]==u?function(e){return new On(e)}:lc;function Jo(e){return function(t){var n=gr(t);return n==E?cn(t):n==O?dn(t):function(e,t){return It(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Xo(e,t,o,u,d,f,m,h){var g=2&t;if(!g&&"function"!=typeof e)throw new Ce(i);var x=u?u.length:0;if(x||(t&=-97,u=d=n),m=m===n?m:bn(ha(m),0),h=h===n?h:ha(h),x-=d?d.length:0,t&c){var v=u,b=d;u=d=n}var y=g?n:ar(e),_=[e,t,o,u,d,v,b,f,m,h];if(y&&function(e,t){var n=e[1],i=t[1],o=n|i,s=o<131,a=i==l&&8==n||i==l&&n==p&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==n;if(!s&&!a)return e;1&i&&(e[2]=t[2],o|=1&n?0:4);var c=t[3];if(c){var u=e[3];e[3]=u?Ao(u,c,t[4]):c,e[4]=u?pn(e[3],r):t[4]}(c=t[5])&&(u=e[5],e[5]=u?Co(u,c,t[6]):c,e[6]=u?pn(e[5],r):t[6]);(c=t[7])&&(e[7]=c);i&l&&(e[8]=null==e[8]?t[8]:yn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(_,y),e=_[0],t=_[1],o=_[2],u=_[3],d=_[4],!(h=_[9]=_[9]===n?g?0:e.length:bn(_[9]-x,0))&&24&t&&(t&=-25),t&&1!=t)w=8==t||t==s?function(e,t,i){var o=Mo(e);return function r(){for(var s=arguments.length,a=be(s),c=s,l=lr(r);c--;)a[c]=arguments[c];var p=s<3&&a[0]!==l&&a[s-1]!==l?[]:pn(a,l);return(s-=p.length)<i?Yo(e,t,zo,r.placeholder,n,a,p,n,n,i-s):Rt(this&&this!==mt&&this instanceof r?o:e,this,a)}}(e,t,h):t!=a&&33!=t||d.length?zo.apply(n,_):function(e,t,n,i){var o=1&t,r=Mo(e);return function t(){for(var s=-1,a=arguments.length,c=-1,l=i.length,p=be(l+a),u=this&&this!==mt&&this instanceof t?r:e;++c<l;)p[c]=i[c];for(;a--;)p[c++]=arguments[++s];return Rt(u,o?n:this,p)}}(e,t,o,u);else var w=function(e,t,n){var i=1&t,o=Mo(e);return function t(){return(this&&this!==mt&&this instanceof t?o:e).apply(i?n:this,arguments)}}(e,t,o);return Ir((y?to:jr)(w,_),e,t)}function er(e,t,i,o){return e===n||Us(e,Le[i])&&!Fe.call(o,i)?t:e}function tr(e,t,i,o,r,s){return ta(e)&&ta(t)&&(s.set(t,e),Hi(e,t,n,tr,s),s.delete(t)),e}function nr(e){return ra(e)?n:e}function ir(e,t,i,o,r,s){var a=1&i,c=e.length,l=t.length;if(c!=l&&!(a&&l>c))return!1;var p=s.get(e),u=s.get(t);if(p&&u)return p==t&&u==e;var d=-1,f=!0,m=2&i?new Yn:n;for(s.set(e,t),s.set(t,e);++d<c;){var h=e[d],g=t[d];if(o)var x=a?o(g,h,d,t,e,s):o(h,g,d,e,t,s);if(x!==n){if(x)continue;f=!1;break}if(m){if(!$t(t,(function(e,t){if(!en(m,t)&&(h===e||r(h,e,i,o,s)))return m.push(t)}))){f=!1;break}}else if(h!==g&&!r(h,g,i,o,s)){f=!1;break}}return s.delete(e),s.delete(t),f}function or(e){return Lr(Or(e,n,Wr),e+"")}function rr(e){return ki(e,Pa,mr)}function sr(e){return ki(e,La,hr)}var ar=jn?function(e){return jn.get(e)}:lc;function cr(e){for(var t=e.name+"",n=Pn[t],i=Fe.call(Pn,t)?n.length:0;i--;){var o=n[i],r=o.func;if(null==r||r==e)return o.name}return t}function lr(e){return(Fe.call(Un,"placeholder")?Un:e).placeholder}function pr(){var e=Un.iteratee||rc;return e=e===rc?Fi:e,arguments.length?e(arguments[0],arguments[1]):e}function ur(e,t){var n,i,o=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function dr(e){for(var t=Pa(e),n=t.length;n--;){var i=t[n],o=e[i];t[n]=[i,o,Rr(o)]}return t}function fr(e,t){var i=function(e,t){return null==e?n:e[t]}(e,t);return Ni(i)?i:n}var mr=vt?function(e){return null==e?[]:(e=Te(e),jt(vt(e),(function(t){return Ye.call(e,t)})))}:gc,hr=vt?function(e){for(var t=[];e;)Nt(t,mr(e)),e=Ke(e);return t}:gc,gr=Ri;function xr(e,t,n){for(var i=-1,o=(t=_o(t,e)).length,r=!1;++i<o;){var s=$r(t[i]);if(!(r=null!=e&&n(e,s)))break;e=e[s]}return r||++i!=o?r:!!(o=null==e?0:e.length)&&ea(o)&&yr(s,o)&&(qs(e)||Gs(e))}function vr(e){return"function"!=typeof e.constructor||kr(e)?{}:zn(Ke(e))}function br(e){return qs(e)||Gs(e)||!!(Ze&&e&&e[Ze])}function yr(e,t){var n=typeof e;return!!(t=null==t?d:t)&&("number"==n||"symbol"!=n&&ve.test(e))&&e>-1&&e%1==0&&e<t}function _r(e,t,n){if(!ta(n))return!1;var i=typeof t;return!!("number"==i?Ks(n)&&yr(t,n.length):"string"==i&&t in n)&&Us(n[t],e)}function wr(e,t){if(qs(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!la(e))||(ee.test(e)||!X.test(e)||null!=t&&e in Te(t))}function Er(e){var t=cr(e),n=Un[t];if("function"!=typeof n||!(t in qn.prototype))return!1;if(e===n)return!0;var i=ar(n);return!!i&&e===i[0]}(kn&&gr(new kn(new ArrayBuffer(1)))!=L||Rn&&gr(new Rn)!=E||Tn&&gr(Tn.resolve())!=R||On&&gr(new On)!=O||An&&gr(new An)!=j)&&(gr=function(e){var t=Ri(e),i=t==k?e.constructor:n,o=i?Mr(i):"";if(o)switch(o){case Ln:return L;case In:return E;case Nn:return R;case Fn:return O;case Dn:return j}return t});var Sr=Ie?Js:xc;function kr(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Le)}function Rr(e){return e==e&&!ta(e)}function Tr(e,t){return function(i){return null!=i&&(i[e]===t&&(t!==n||e in Te(i)))}}function Or(e,t,i){return t=bn(t===n?e.length-1:t,0),function(){for(var n=arguments,o=-1,r=bn(n.length-t,0),s=be(r);++o<r;)s[o]=n[t+o];o=-1;for(var a=be(t+1);++o<t;)a[o]=n[o];return a[t]=i(s),Rt(e,this,a)}}function Ar(e,t){return t.length<2?e:Si(e,oo(t,0,-1))}function Cr(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var jr=Nr(to),Pr=ft||function(e,t){return mt.setTimeout(e,t)},Lr=Nr(no);function Ir(e,t,n){var i=t+"";return Lr(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(se,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return Ot(h,(function(n){var i="_."+n[0];t&n[1]&&!Pt(e,i)&&e.push(i)})),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(ce):[]}(i),n)))}function Nr(e){var t=0,i=0;return function(){var o=_n(),r=16-(o-i);if(i=o,r>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Fr(e,t){var i=-1,o=e.length,r=o-1;for(t=t===n?o:t;++i<t;){var s=Yi(i,r),a=e[s];e[s]=e[i],e[i]=a}return e.length=t,e}var Dr=function(e){var t=Ns(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(te,(function(e,n,i,o){t.push(i?o.replace(ue,"$1"):n||e)})),t}));function $r(e){if("string"==typeof e||la(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Mr(e){if(null!=e){try{return Ne.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Br(e){if(e instanceof qn)return e.clone();var t=new Gn(e.__wrapped__,e.__chain__);return t.__actions__=jo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ur=Zi((function(e,t){return Vs(e)?di(e,vi(t,1,Vs,!0)):[]})),zr=Zi((function(e,t){var i=Zr(t);return Vs(i)&&(i=n),Vs(e)?di(e,vi(t,1,Vs,!0),pr(i,2)):[]})),Hr=Zi((function(e,t){var i=Zr(t);return Vs(i)&&(i=n),Vs(e)?di(e,vi(t,1,Vs,!0),n,i):[]}));function Gr(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o=null==n?0:ha(n);return o<0&&(o=bn(i+o,0)),Ut(e,pr(t,3),o)}function qr(e,t,i){var o=null==e?0:e.length;if(!o)return-1;var r=o-1;return i!==n&&(r=ha(i),r=i<0?bn(o+r,0):yn(r,o-1)),Ut(e,pr(t,3),r,!0)}function Wr(e){return(null==e?0:e.length)?vi(e,1):[]}function Kr(e){return e&&e.length?e[0]:n}var Vr=Zi((function(e){var t=It(e,bo);return t.length&&t[0]===e[0]?Ci(t):[]})),Yr=Zi((function(e){var t=Zr(e),i=It(e,bo);return t===Zr(i)?t=n:i.pop(),i.length&&i[0]===e[0]?Ci(i,pr(t,2)):[]})),Qr=Zi((function(e){var t=Zr(e),i=It(e,bo);return(t="function"==typeof t?t:n)&&i.pop(),i.length&&i[0]===e[0]?Ci(i,n,t):[]}));function Zr(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Jr=Zi(Xr);function Xr(e,t){return e&&e.length&&t&&t.length?Ki(e,t):e}var es=or((function(e,t){var n=null==e?0:e.length,i=ai(e,t);return Vi(e,It(t,(function(e){return yr(e,n)?+e:e})).sort(Oo)),i}));function ts(e){return null==e?e:Sn.call(e)}var ns=Zi((function(e){return uo(vi(e,1,Vs,!0))})),is=Zi((function(e){var t=Zr(e);return Vs(t)&&(t=n),uo(vi(e,1,Vs,!0),pr(t,2))})),os=Zi((function(e){var t=Zr(e);return t="function"==typeof t?t:n,uo(vi(e,1,Vs,!0),n,t)}));function rs(e){if(!e||!e.length)return[];var t=0;return e=jt(e,(function(e){if(Vs(e))return t=bn(e.length,t),!0})),Qt(t,(function(t){return It(e,Wt(t))}))}function ss(e,t){if(!e||!e.length)return[];var i=rs(e);return null==t?i:It(i,(function(e){return Rt(t,n,e)}))}var as=Zi((function(e,t){return Vs(e)?di(e,t):[]})),cs=Zi((function(e){return xo(jt(e,Vs))})),ls=Zi((function(e){var t=Zr(e);return Vs(t)&&(t=n),xo(jt(e,Vs),pr(t,2))})),ps=Zi((function(e){var t=Zr(e);return t="function"==typeof t?t:n,xo(jt(e,Vs),n,t)})),us=Zi(rs);var ds=Zi((function(e){var t=e.length,i=t>1?e[t-1]:n;return i="function"==typeof i?(e.pop(),i):n,ss(e,i)}));function fs(e){var t=Un(e);return t.__chain__=!0,t}function ms(e,t){return t(e)}var hs=or((function(e){var t=e.length,i=t?e[0]:0,o=this.__wrapped__,r=function(t){return ai(t,e)};return!(t>1||this.__actions__.length)&&o instanceof qn&&yr(i)?((o=o.slice(i,+i+(t?1:0))).__actions__.push({func:ms,args:[r],thisArg:n}),new Gn(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(r)}));var gs=Lo((function(e,t,n){Fe.call(e,n)?++e[n]:si(e,n,1)}));var xs=Bo(Gr),vs=Bo(qr);function bs(e,t){return(qs(e)?Ot:fi)(e,pr(t,3))}function ys(e,t){return(qs(e)?At:mi)(e,pr(t,3))}var _s=Lo((function(e,t,n){Fe.call(e,n)?e[n].push(t):si(e,n,[t])}));var ws=Zi((function(e,t,n){var i=-1,o="function"==typeof t,r=Ks(e)?be(e.length):[];return fi(e,(function(e){r[++i]=o?Rt(t,e,n):ji(e,t,n)})),r})),Es=Lo((function(e,t,n){si(e,n,t)}));function Ss(e,t){return(qs(e)?It:Bi)(e,pr(t,3))}var ks=Lo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Rs=Zi((function(e,t){if(null==e)return[];var n=t.length;return n>1&&_r(e,t[0],t[1])?t=[]:n>2&&_r(t[0],t[1],t[2])&&(t=[t[0]]),qi(e,vi(t,1),[])})),Ts=dt||function(){return mt.Date.now()};function Os(e,t,i){return t=i?n:t,t=e&&null==t?e.length:t,Xo(e,l,n,n,n,n,t)}function As(e,t){var o;if("function"!=typeof t)throw new Ce(i);return e=ha(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=n),o}}var Cs=Zi((function(e,t,n){var i=1;if(n.length){var o=pn(n,lr(Cs));i|=a}return Xo(e,i,t,n,o)})),js=Zi((function(e,t,n){var i=3;if(n.length){var o=pn(n,lr(js));i|=a}return Xo(t,i,e,n,o)}));function Ps(e,t,o){var r,s,a,c,l,p,u=0,d=!1,f=!1,m=!0;if("function"!=typeof e)throw new Ce(i);function h(t){var i=r,o=s;return r=s=n,u=t,c=e.apply(o,i)}function g(e){var i=e-p;return p===n||i>=t||i<0||f&&e-u>=a}function x(){var e=Ts();if(g(e))return v(e);l=Pr(x,function(e){var n=t-(e-p);return f?yn(n,a-(e-u)):n}(e))}function v(e){return l=n,m&&r?h(e):(r=s=n,c)}function b(){var e=Ts(),i=g(e);if(r=arguments,s=this,p=e,i){if(l===n)return function(e){return u=e,l=Pr(x,t),d?h(e):c}(p);if(f)return So(l),l=Pr(x,t),h(p)}return l===n&&(l=Pr(x,t)),c}return t=xa(t)||0,ta(o)&&(d=!!o.leading,a=(f="maxWait"in o)?bn(xa(o.maxWait)||0,t):a,m="trailing"in o?!!o.trailing:m),b.cancel=function(){l!==n&&So(l),u=0,r=p=s=l=n},b.flush=function(){return l===n?c:v(Ts())},b}var Ls=Zi((function(e,t){return ui(e,1,t)})),Is=Zi((function(e,t,n){return ui(e,xa(t)||0,n)}));function Ns(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ce(i);var n=function(){var i=arguments,o=t?t.apply(this,i):i[0],r=n.cache;if(r.has(o))return r.get(o);var s=e.apply(this,i);return n.cache=r.set(o,s)||r,s};return n.cache=new(Ns.Cache||Vn),n}function Fs(e){if("function"!=typeof e)throw new Ce(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ns.Cache=Vn;var Ds=wo((function(e,t){var n=(t=1==t.length&&qs(t[0])?It(t[0],Jt(pr())):It(vi(t,1),Jt(pr()))).length;return Zi((function(i){for(var o=-1,r=yn(i.length,n);++o<r;)i[o]=t[o].call(this,i[o]);return Rt(e,this,i)}))})),$s=Zi((function(e,t){var i=pn(t,lr($s));return Xo(e,a,n,t,i)})),Ms=Zi((function(e,t){var i=pn(t,lr(Ms));return Xo(e,c,n,t,i)})),Bs=or((function(e,t){return Xo(e,p,n,n,n,t)}));function Us(e,t){return e===t||e!=e&&t!=t}var zs=Vo(Ti),Hs=Vo((function(e,t){return e>=t})),Gs=Pi(function(){return arguments}())?Pi:function(e){return na(e)&&Fe.call(e,"callee")&&!Ye.call(e,"callee")},qs=be.isArray,Ws=yt?Jt(yt):function(e){return na(e)&&Ri(e)==P};function Ks(e){return null!=e&&ea(e.length)&&!Js(e)}function Vs(e){return na(e)&&Ks(e)}var Ys=bt||xc,Qs=_t?Jt(_t):function(e){return na(e)&&Ri(e)==b};function Zs(e){if(!na(e))return!1;var t=Ri(e);return t==y||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ra(e)}function Js(e){if(!ta(e))return!1;var t=Ri(e);return t==_||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xs(e){return"number"==typeof e&&e==ha(e)}function ea(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}function ta(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function na(e){return null!=e&&"object"==typeof e}var ia=wt?Jt(wt):function(e){return na(e)&&gr(e)==E};function oa(e){return"number"==typeof e||na(e)&&Ri(e)==S}function ra(e){if(!na(e)||Ri(e)!=k)return!1;var t=Ke(e);if(null===t)return!0;var n=Fe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ne.call(n)==Be}var sa=Et?Jt(Et):function(e){return na(e)&&Ri(e)==T};var aa=St?Jt(St):function(e){return na(e)&&gr(e)==O};function ca(e){return"string"==typeof e||!qs(e)&&na(e)&&Ri(e)==A}function la(e){return"symbol"==typeof e||na(e)&&Ri(e)==C}var pa=kt?Jt(kt):function(e){return na(e)&&ea(e.length)&&!!at[Ri(e)]};var ua=Vo(Mi),da=Vo((function(e,t){return e<=t}));function fa(e){if(!e)return[];if(Ks(e))return ca(e)?mn(e):jo(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=gr(e);return(t==E?cn:t==O?un:Ua)(e)}function ma(e){return e?(e=xa(e))===u||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ha(e){var t=ma(e),n=t%1;return t==t?n?t-n:t:0}function ga(e){return e?ci(ha(e),0,m):0}function xa(e){if("number"==typeof e)return e;if(la(e))return f;if(ta(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ta(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=he.test(e);return n||xe.test(e)?ut(e.slice(2),n?2:8):me.test(e)?f:+e}function va(e){return Po(e,La(e))}function ba(e){return null==e?"":po(e)}var ya=Io((function(e,t){if(kr(t)||Ks(t))Po(t,Pa(t),e);else for(var n in t)Fe.call(t,n)&&ni(e,n,t[n])})),_a=Io((function(e,t){Po(t,La(t),e)})),wa=Io((function(e,t,n,i){Po(t,La(t),e,i)})),Ea=Io((function(e,t,n,i){Po(t,Pa(t),e,i)})),Sa=or(ai);var ka=Zi((function(e,t){e=Te(e);var i=-1,o=t.length,r=o>2?t[2]:n;for(r&&_r(t[0],t[1],r)&&(o=1);++i<o;)for(var s=t[i],a=La(s),c=-1,l=a.length;++c<l;){var p=a[c],u=e[p];(u===n||Us(u,Le[p])&&!Fe.call(e,p))&&(e[p]=s[p])}return e})),Ra=Zi((function(e){return e.push(n,tr),Rt(Na,n,e)}));function Ta(e,t,i){var o=null==e?n:Si(e,t);return o===n?i:o}function Oa(e,t){return null!=e&&xr(e,t,Ai)}var Aa=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Me.call(t)),e[t]=n}),tc(oc)),Ca=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Me.call(t)),Fe.call(e,t)?e[t].push(n):e[t]=[n]}),pr),ja=Zi(ji);function Pa(e){return Ks(e)?Zn(e):Di(e)}function La(e){return Ks(e)?Zn(e,!0):$i(e)}var Ia=Io((function(e,t,n){Hi(e,t,n)})),Na=Io((function(e,t,n,i){Hi(e,t,n,i)})),Fa=or((function(e,t){var n={};if(null==e)return n;var i=!1;t=It(t,(function(t){return t=_o(t,e),i||(i=t.length>1),t})),Po(e,sr(e),n),i&&(n=li(n,7,nr));for(var o=t.length;o--;)fo(n,t[o]);return n}));var Da=or((function(e,t){return null==e?{}:function(e,t){return Wi(e,t,(function(t,n){return Oa(e,n)}))}(e,t)}));function $a(e,t){if(null==e)return{};var n=It(sr(e),(function(e){return[e]}));return t=pr(t),Wi(e,n,(function(e,n){return t(e,n[0])}))}var Ma=Jo(Pa),Ba=Jo(La);function Ua(e){return null==e?[]:Xt(e,Pa(e))}var za=$o((function(e,t,n){return t=t.toLowerCase(),e+(n?Ha(t):t)}));function Ha(e){return Za(ba(e).toLowerCase())}function Ga(e){return(e=ba(e))&&e.replace(ye,on).replace(et,"")}var qa=$o((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Wa=$o((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ka=Do("toLowerCase");var Va=$o((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ya=$o((function(e,t,n){return e+(n?" ":"")+Za(t)}));var Qa=$o((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Za=Do("toUpperCase");function Ja(e,t,i){return e=ba(e),(t=i?n:t)===n?function(e){return ot.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(le)||[]}(e):e.match(t)||[]}var Xa=Zi((function(e,t){try{return Rt(e,n,t)}catch(e){return Zs(e)?e:new Se(e)}})),ec=or((function(e,t){return Ot(t,(function(t){t=$r(t),si(e,t,Cs(e[t],e))})),e}));function tc(e){return function(){return e}}var nc=Uo(),ic=Uo(!0);function oc(e){return e}function rc(e){return Fi("function"==typeof e?e:li(e,1))}var sc=Zi((function(e,t){return function(n){return ji(n,e,t)}})),ac=Zi((function(e,t){return function(n){return ji(e,n,t)}}));function cc(e,t,n){var i=Pa(t),o=Ei(t,i);null!=n||ta(t)&&(o.length||!i.length)||(n=t,t=e,e=this,o=Ei(t,Pa(t)));var r=!(ta(n)&&"chain"in n&&!n.chain),s=Js(e);return Ot(o,(function(n){var i=t[n];e[n]=i,s&&(e.prototype[n]=function(){var t=this.__chain__;if(r||t){var n=e(this.__wrapped__);return(n.__actions__=jo(this.__actions__)).push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,Nt([this.value()],arguments))})})),e}function lc(){}var pc=qo(It),uc=qo(Ct),dc=qo($t);function fc(e){return wr(e)?Wt($r(e)):function(e){return function(t){return Si(t,e)}}(e)}var mc=Ko(),hc=Ko(!0);function gc(){return[]}function xc(){return!1}var vc=Go((function(e,t){return e+t}),0),bc=Qo("ceil"),yc=Go((function(e,t){return e/t}),1),_c=Qo("floor");var wc,Ec=Go((function(e,t){return e*t}),1),Sc=Qo("round"),kc=Go((function(e,t){return e-t}),0);return Un.after=function(e,t){if("function"!=typeof t)throw new Ce(i);return e=ha(e),function(){if(--e<1)return t.apply(this,arguments)}},Un.ary=Os,Un.assign=ya,Un.assignIn=_a,Un.assignInWith=wa,Un.assignWith=Ea,Un.at=Sa,Un.before=As,Un.bind=Cs,Un.bindAll=ec,Un.bindKey=js,Un.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return qs(e)?e:[e]},Un.chain=fs,Un.chunk=function(e,t,i){t=(i?_r(e,t,i):t===n)?1:bn(ha(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var r=0,s=0,a=be(ht(o/t));r<o;)a[s++]=oo(e,r,r+=t);return a},Un.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,o=[];++t<n;){var r=e[t];r&&(o[i++]=r)}return o},Un.concat=function(){var e=arguments.length;if(!e)return[];for(var t=be(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Nt(qs(n)?jo(n):[n],vi(t,1))},Un.cond=function(e){var t=null==e?0:e.length,n=pr();return e=t?It(e,(function(e){if("function"!=typeof e[1])throw new Ce(i);return[n(e[0]),e[1]]})):[],Zi((function(n){for(var i=-1;++i<t;){var o=e[i];if(Rt(o[0],this,n))return Rt(o[1],this,n)}}))},Un.conforms=function(e){return function(e){var t=Pa(e);return function(n){return pi(n,e,t)}}(li(e,1))},Un.constant=tc,Un.countBy=gs,Un.create=function(e,t){var n=zn(e);return null==t?n:ri(n,t)},Un.curry=function e(t,i,o){var r=Xo(t,8,n,n,n,n,n,i=o?n:i);return r.placeholder=e.placeholder,r},Un.curryRight=function e(t,i,o){var r=Xo(t,s,n,n,n,n,n,i=o?n:i);return r.placeholder=e.placeholder,r},Un.debounce=Ps,Un.defaults=ka,Un.defaultsDeep=Ra,Un.defer=Ls,Un.delay=Is,Un.difference=Ur,Un.differenceBy=zr,Un.differenceWith=Hr,Un.drop=function(e,t,i){var o=null==e?0:e.length;return o?oo(e,(t=i||t===n?1:ha(t))<0?0:t,o):[]},Un.dropRight=function(e,t,i){var o=null==e?0:e.length;return o?oo(e,0,(t=o-(t=i||t===n?1:ha(t)))<0?0:t):[]},Un.dropRightWhile=function(e,t){return e&&e.length?ho(e,pr(t,3),!0,!0):[]},Un.dropWhile=function(e,t){return e&&e.length?ho(e,pr(t,3),!0):[]},Un.fill=function(e,t,i,o){var r=null==e?0:e.length;return r?(i&&"number"!=typeof i&&_r(e,t,i)&&(i=0,o=r),function(e,t,i,o){var r=e.length;for((i=ha(i))<0&&(i=-i>r?0:r+i),(o=o===n||o>r?r:ha(o))<0&&(o+=r),o=i>o?0:ga(o);i<o;)e[i++]=t;return e}(e,t,i,o)):[]},Un.filter=function(e,t){return(qs(e)?jt:xi)(e,pr(t,3))},Un.flatMap=function(e,t){return vi(Ss(e,t),1)},Un.flatMapDeep=function(e,t){return vi(Ss(e,t),u)},Un.flatMapDepth=function(e,t,i){return i=i===n?1:ha(i),vi(Ss(e,t),i)},Un.flatten=Wr,Un.flattenDeep=function(e){return(null==e?0:e.length)?vi(e,u):[]},Un.flattenDepth=function(e,t){return(null==e?0:e.length)?vi(e,t=t===n?1:ha(t)):[]},Un.flip=function(e){return Xo(e,512)},Un.flow=nc,Un.flowRight=ic,Un.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var o=e[t];i[o[0]]=o[1]}return i},Un.functions=function(e){return null==e?[]:Ei(e,Pa(e))},Un.functionsIn=function(e){return null==e?[]:Ei(e,La(e))},Un.groupBy=_s,Un.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},Un.intersection=Vr,Un.intersectionBy=Yr,Un.intersectionWith=Qr,Un.invert=Aa,Un.invertBy=Ca,Un.invokeMap=ws,Un.iteratee=rc,Un.keyBy=Es,Un.keys=Pa,Un.keysIn=La,Un.map=Ss,Un.mapKeys=function(e,t){var n={};return t=pr(t,3),_i(e,(function(e,i,o){si(n,t(e,i,o),e)})),n},Un.mapValues=function(e,t){var n={};return t=pr(t,3),_i(e,(function(e,i,o){si(n,i,t(e,i,o))})),n},Un.matches=function(e){return Ui(li(e,1))},Un.matchesProperty=function(e,t){return zi(e,li(t,1))},Un.memoize=Ns,Un.merge=Ia,Un.mergeWith=Na,Un.method=sc,Un.methodOf=ac,Un.mixin=cc,Un.negate=Fs,Un.nthArg=function(e){return e=ha(e),Zi((function(t){return Gi(t,e)}))},Un.omit=Fa,Un.omitBy=function(e,t){return $a(e,Fs(pr(t)))},Un.once=function(e){return As(2,e)},Un.orderBy=function(e,t,i,o){return null==e?[]:(qs(t)||(t=null==t?[]:[t]),qs(i=o?n:i)||(i=null==i?[]:[i]),qi(e,t,i))},Un.over=pc,Un.overArgs=Ds,Un.overEvery=uc,Un.overSome=dc,Un.partial=$s,Un.partialRight=Ms,Un.partition=ks,Un.pick=Da,Un.pickBy=$a,Un.property=fc,Un.propertyOf=function(e){return function(t){return null==e?n:Si(e,t)}},Un.pull=Jr,Un.pullAll=Xr,Un.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Ki(e,t,pr(n,2)):e},Un.pullAllWith=function(e,t,i){return e&&e.length&&t&&t.length?Ki(e,t,n,i):e},Un.pullAt=es,Un.range=mc,Un.rangeRight=hc,Un.rearg=Bs,Un.reject=function(e,t){return(qs(e)?jt:xi)(e,Fs(pr(t,3)))},Un.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,o=[],r=e.length;for(t=pr(t,3);++i<r;){var s=e[i];t(s,i,e)&&(n.push(s),o.push(i))}return Vi(e,o),n},Un.rest=function(e,t){if("function"!=typeof e)throw new Ce(i);return Zi(e,t=t===n?t:ha(t))},Un.reverse=ts,Un.sampleSize=function(e,t,i){return t=(i?_r(e,t,i):t===n)?1:ha(t),(qs(e)?Xn:Xi)(e,t)},Un.set=function(e,t,n){return null==e?e:eo(e,t,n)},Un.setWith=function(e,t,i,o){return o="function"==typeof o?o:n,null==e?e:eo(e,t,i,o)},Un.shuffle=function(e){return(qs(e)?ei:io)(e)},Un.slice=function(e,t,i){var o=null==e?0:e.length;return o?(i&&"number"!=typeof i&&_r(e,t,i)?(t=0,i=o):(t=null==t?0:ha(t),i=i===n?o:ha(i)),oo(e,t,i)):[]},Un.sortBy=Rs,Un.sortedUniq=function(e){return e&&e.length?co(e):[]},Un.sortedUniqBy=function(e,t){return e&&e.length?co(e,pr(t,2)):[]},Un.split=function(e,t,i){return i&&"number"!=typeof i&&_r(e,t,i)&&(t=i=n),(i=i===n?m:i>>>0)?(e=ba(e))&&("string"==typeof t||null!=t&&!sa(t))&&!(t=po(t))&&an(e)?Eo(mn(e),0,i):e.split(t,i):[]},Un.spread=function(e,t){if("function"!=typeof e)throw new Ce(i);return t=null==t?0:bn(ha(t),0),Zi((function(n){var i=n[t],o=Eo(n,0,t);return i&&Nt(o,i),Rt(e,this,o)}))},Un.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Un.take=function(e,t,i){return e&&e.length?oo(e,0,(t=i||t===n?1:ha(t))<0?0:t):[]},Un.takeRight=function(e,t,i){var o=null==e?0:e.length;return o?oo(e,(t=o-(t=i||t===n?1:ha(t)))<0?0:t,o):[]},Un.takeRightWhile=function(e,t){return e&&e.length?ho(e,pr(t,3),!1,!0):[]},Un.takeWhile=function(e,t){return e&&e.length?ho(e,pr(t,3)):[]},Un.tap=function(e,t){return t(e),e},Un.throttle=function(e,t,n){var o=!0,r=!0;if("function"!=typeof e)throw new Ce(i);return ta(n)&&(o="leading"in n?!!n.leading:o,r="trailing"in n?!!n.trailing:r),Ps(e,t,{leading:o,maxWait:t,trailing:r})},Un.thru=ms,Un.toArray=fa,Un.toPairs=Ma,Un.toPairsIn=Ba,Un.toPath=function(e){return qs(e)?It(e,$r):la(e)?[e]:jo(Dr(ba(e)))},Un.toPlainObject=va,Un.transform=function(e,t,n){var i=qs(e),o=i||Ys(e)||pa(e);if(t=pr(t,4),null==n){var r=e&&e.constructor;n=o?i?new r:[]:ta(e)&&Js(r)?zn(Ke(e)):{}}return(o?Ot:_i)(e,(function(e,i,o){return t(n,e,i,o)})),n},Un.unary=function(e){return Os(e,1)},Un.union=ns,Un.unionBy=is,Un.unionWith=os,Un.uniq=function(e){return e&&e.length?uo(e):[]},Un.uniqBy=function(e,t){return e&&e.length?uo(e,pr(t,2)):[]},Un.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?uo(e,n,t):[]},Un.unset=function(e,t){return null==e||fo(e,t)},Un.unzip=rs,Un.unzipWith=ss,Un.update=function(e,t,n){return null==e?e:mo(e,t,yo(n))},Un.updateWith=function(e,t,i,o){return o="function"==typeof o?o:n,null==e?e:mo(e,t,yo(i),o)},Un.values=Ua,Un.valuesIn=function(e){return null==e?[]:Xt(e,La(e))},Un.without=as,Un.words=Ja,Un.wrap=function(e,t){return $s(yo(t),e)},Un.xor=cs,Un.xorBy=ls,Un.xorWith=ps,Un.zip=us,Un.zipObject=function(e,t){return vo(e||[],t||[],ni)},Un.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},Un.zipWith=ds,Un.entries=Ma,Un.entriesIn=Ba,Un.extend=_a,Un.extendWith=wa,cc(Un,Un),Un.add=vc,Un.attempt=Xa,Un.camelCase=za,Un.capitalize=Ha,Un.ceil=bc,Un.clamp=function(e,t,i){return i===n&&(i=t,t=n),i!==n&&(i=(i=xa(i))==i?i:0),t!==n&&(t=(t=xa(t))==t?t:0),ci(xa(e),t,i)},Un.clone=function(e){return li(e,4)},Un.cloneDeep=function(e){return li(e,5)},Un.cloneDeepWith=function(e,t){return li(e,5,t="function"==typeof t?t:n)},Un.cloneWith=function(e,t){return li(e,4,t="function"==typeof t?t:n)},Un.conformsTo=function(e,t){return null==t||pi(e,t,Pa(t))},Un.deburr=Ga,Un.defaultTo=function(e,t){return null==e||e!=e?t:e},Un.divide=yc,Un.endsWith=function(e,t,i){e=ba(e),t=po(t);var o=e.length,r=i=i===n?o:ci(ha(i),0,o);return(i-=t.length)>=0&&e.slice(i,r)==t},Un.eq=Us,Un.escape=function(e){return(e=ba(e))&&Y.test(e)?e.replace(K,rn):e},Un.escapeRegExp=function(e){return(e=ba(e))&&ie.test(e)?e.replace(ne,"\\$&"):e},Un.every=function(e,t,i){var o=qs(e)?Ct:hi;return i&&_r(e,t,i)&&(t=n),o(e,pr(t,3))},Un.find=xs,Un.findIndex=Gr,Un.findKey=function(e,t){return Bt(e,pr(t,3),_i)},Un.findLast=vs,Un.findLastIndex=qr,Un.findLastKey=function(e,t){return Bt(e,pr(t,3),wi)},Un.floor=_c,Un.forEach=bs,Un.forEachRight=ys,Un.forIn=function(e,t){return null==e?e:bi(e,pr(t,3),La)},Un.forInRight=function(e,t){return null==e?e:yi(e,pr(t,3),La)},Un.forOwn=function(e,t){return e&&_i(e,pr(t,3))},Un.forOwnRight=function(e,t){return e&&wi(e,pr(t,3))},Un.get=Ta,Un.gt=zs,Un.gte=Hs,Un.has=function(e,t){return null!=e&&xr(e,t,Oi)},Un.hasIn=Oa,Un.head=Kr,Un.identity=oc,Un.includes=function(e,t,n,i){e=Ks(e)?e:Ua(e),n=n&&!i?ha(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),ca(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&zt(e,t,n)>-1},Un.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o=null==n?0:ha(n);return o<0&&(o=bn(i+o,0)),zt(e,t,o)},Un.inRange=function(e,t,i){return t=ma(t),i===n?(i=t,t=0):i=ma(i),function(e,t,n){return e>=yn(t,n)&&e<bn(t,n)}(e=xa(e),t,i)},Un.invoke=ja,Un.isArguments=Gs,Un.isArray=qs,Un.isArrayBuffer=Ws,Un.isArrayLike=Ks,Un.isArrayLikeObject=Vs,Un.isBoolean=function(e){return!0===e||!1===e||na(e)&&Ri(e)==v},Un.isBuffer=Ys,Un.isDate=Qs,Un.isElement=function(e){return na(e)&&1===e.nodeType&&!ra(e)},Un.isEmpty=function(e){if(null==e)return!0;if(Ks(e)&&(qs(e)||"string"==typeof e||"function"==typeof e.splice||Ys(e)||pa(e)||Gs(e)))return!e.length;var t=gr(e);if(t==E||t==O)return!e.size;if(kr(e))return!Di(e).length;for(var n in e)if(Fe.call(e,n))return!1;return!0},Un.isEqual=function(e,t){return Li(e,t)},Un.isEqualWith=function(e,t,i){var o=(i="function"==typeof i?i:n)?i(e,t):n;return o===n?Li(e,t,n,i):!!o},Un.isError=Zs,Un.isFinite=function(e){return"number"==typeof e&&Mt(e)},Un.isFunction=Js,Un.isInteger=Xs,Un.isLength=ea,Un.isMap=ia,Un.isMatch=function(e,t){return e===t||Ii(e,t,dr(t))},Un.isMatchWith=function(e,t,i){return i="function"==typeof i?i:n,Ii(e,t,dr(t),i)},Un.isNaN=function(e){return oa(e)&&e!=+e},Un.isNative=function(e){if(Sr(e))throw new Se("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ni(e)},Un.isNil=function(e){return null==e},Un.isNull=function(e){return null===e},Un.isNumber=oa,Un.isObject=ta,Un.isObjectLike=na,Un.isPlainObject=ra,Un.isRegExp=sa,Un.isSafeInteger=function(e){return Xs(e)&&e>=-9007199254740991&&e<=d},Un.isSet=aa,Un.isString=ca,Un.isSymbol=la,Un.isTypedArray=pa,Un.isUndefined=function(e){return e===n},Un.isWeakMap=function(e){return na(e)&&gr(e)==j},Un.isWeakSet=function(e){return na(e)&&"[object WeakSet]"==Ri(e)},Un.join=function(e,t){return null==e?"":Kt.call(e,t)},Un.kebabCase=qa,Un.last=Zr,Un.lastIndexOf=function(e,t,i){var o=null==e?0:e.length;if(!o)return-1;var r=o;return i!==n&&(r=(r=ha(i))<0?bn(o+r,0):yn(r,o-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,r):Ut(e,Gt,r,!0)},Un.lowerCase=Wa,Un.lowerFirst=Ka,Un.lt=ua,Un.lte=da,Un.max=function(e){return e&&e.length?gi(e,oc,Ti):n},Un.maxBy=function(e,t){return e&&e.length?gi(e,pr(t,2),Ti):n},Un.mean=function(e){return qt(e,oc)},Un.meanBy=function(e,t){return qt(e,pr(t,2))},Un.min=function(e){return e&&e.length?gi(e,oc,Mi):n},Un.minBy=function(e,t){return e&&e.length?gi(e,pr(t,2),Mi):n},Un.stubArray=gc,Un.stubFalse=xc,Un.stubObject=function(){return{}},Un.stubString=function(){return""},Un.stubTrue=function(){return!0},Un.multiply=Ec,Un.nth=function(e,t){return e&&e.length?Gi(e,ha(t)):n},Un.noConflict=function(){return mt._===this&&(mt._=Ue),this},Un.noop=lc,Un.now=Ts,Un.pad=function(e,t,n){e=ba(e);var i=(t=ha(t))?fn(e):0;if(!t||i>=t)return e;var o=(t-i)/2;return Wo(gt(o),n)+e+Wo(ht(o),n)},Un.padEnd=function(e,t,n){e=ba(e);var i=(t=ha(t))?fn(e):0;return t&&i<t?e+Wo(t-i,n):e},Un.padStart=function(e,t,n){e=ba(e);var i=(t=ha(t))?fn(e):0;return t&&i<t?Wo(t-i,n)+e:e},Un.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),wn(ba(e).replace(oe,""),t||0)},Un.random=function(e,t,i){if(i&&"boolean"!=typeof i&&_r(e,t,i)&&(t=i=n),i===n&&("boolean"==typeof t?(i=t,t=n):"boolean"==typeof e&&(i=e,e=n)),e===n&&t===n?(e=0,t=1):(e=ma(e),t===n?(t=e,e=0):t=ma(t)),e>t){var o=e;e=t,t=o}if(i||e%1||t%1){var r=En();return yn(e+r*(t-e+pt("1e-"+((r+"").length-1))),t)}return Yi(e,t)},Un.reduce=function(e,t,n){var i=qs(e)?Ft:Vt,o=arguments.length<3;return i(e,pr(t,4),n,o,fi)},Un.reduceRight=function(e,t,n){var i=qs(e)?Dt:Vt,o=arguments.length<3;return i(e,pr(t,4),n,o,mi)},Un.repeat=function(e,t,i){return t=(i?_r(e,t,i):t===n)?1:ha(t),Qi(ba(e),t)},Un.replace=function(){var e=arguments,t=ba(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Un.result=function(e,t,i){var o=-1,r=(t=_o(t,e)).length;for(r||(r=1,e=n);++o<r;){var s=null==e?n:e[$r(t[o])];s===n&&(o=r,s=i),e=Js(s)?s.call(e):s}return e},Un.round=Sc,Un.runInContext=e,Un.sample=function(e){return(qs(e)?Jn:Ji)(e)},Un.size=function(e){if(null==e)return 0;if(Ks(e))return ca(e)?fn(e):e.length;var t=gr(e);return t==E||t==O?e.size:Di(e).length},Un.snakeCase=Va,Un.some=function(e,t,i){var o=qs(e)?$t:ro;return i&&_r(e,t,i)&&(t=n),o(e,pr(t,3))},Un.sortedIndex=function(e,t){return so(e,t)},Un.sortedIndexBy=function(e,t,n){return ao(e,t,pr(n,2))},Un.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=so(e,t);if(i<n&&Us(e[i],t))return i}return-1},Un.sortedLastIndex=function(e,t){return so(e,t,!0)},Un.sortedLastIndexBy=function(e,t,n){return ao(e,t,pr(n,2),!0)},Un.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=so(e,t,!0)-1;if(Us(e[n],t))return n}return-1},Un.startCase=Ya,Un.startsWith=function(e,t,n){return e=ba(e),n=null==n?0:ci(ha(n),0,e.length),t=po(t),e.slice(n,n+t.length)==t},Un.subtract=kc,Un.sum=function(e){return e&&e.length?Yt(e,oc):0},Un.sumBy=function(e,t){return e&&e.length?Yt(e,pr(t,2)):0},Un.template=function(e,t,i){var o=Un.templateSettings;i&&_r(e,t,i)&&(t=n),e=ba(e),t=wa({},t,o,er);var r,s,a=wa({},t.imports,o.imports,er),c=Pa(a),l=Xt(a,c),p=0,u=t.interpolate||_e,d="__p += '",f=Oe((t.escape||_e).source+"|"+u.source+"|"+(u===J?de:_e).source+"|"+(t.evaluate||_e).source+"|$","g"),m="//# sourceURL="+(Fe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++st+"]")+"\n";e.replace(f,(function(t,n,i,o,a,c){return i||(i=o),d+=e.slice(p,c).replace(we,sn),n&&(r=!0,d+="' +\n__e("+n+") +\n'"),a&&(s=!0,d+="';\n"+a+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),p=c+t.length,t})),d+="';\n";var h=Fe.call(t,"variable")&&t.variable;if(h){if(pe.test(h))throw new Se("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(H,""):d).replace(G,"$1").replace(q,"$1;"),d="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=Xa((function(){return ke(c,m+"return "+d).apply(n,l)}));if(g.source=d,Zs(g))throw g;return g},Un.times=function(e,t){if((e=ha(e))<1||e>d)return[];var n=m,i=yn(e,m);t=pr(t),e-=m;for(var o=Qt(i,t);++n<e;)t(n);return o},Un.toFinite=ma,Un.toInteger=ha,Un.toLength=ga,Un.toLower=function(e){return ba(e).toLowerCase()},Un.toNumber=xa,Un.toSafeInteger=function(e){return e?ci(ha(e),-9007199254740991,d):0===e?e:0},Un.toString=ba,Un.toUpper=function(e){return ba(e).toUpperCase()},Un.trim=function(e,t,i){if((e=ba(e))&&(i||t===n))return Zt(e);if(!e||!(t=po(t)))return e;var o=mn(e),r=mn(t);return Eo(o,tn(o,r),nn(o,r)+1).join("")},Un.trimEnd=function(e,t,i){if((e=ba(e))&&(i||t===n))return e.slice(0,hn(e)+1);if(!e||!(t=po(t)))return e;var o=mn(e);return Eo(o,0,nn(o,mn(t))+1).join("")},Un.trimStart=function(e,t,i){if((e=ba(e))&&(i||t===n))return e.replace(oe,"");if(!e||!(t=po(t)))return e;var o=mn(e);return Eo(o,tn(o,mn(t))).join("")},Un.truncate=function(e,t){var i=30,o="...";if(ta(t)){var r="separator"in t?t.separator:r;i="length"in t?ha(t.length):i,o="omission"in t?po(t.omission):o}var s=(e=ba(e)).length;if(an(e)){var a=mn(e);s=a.length}if(i>=s)return e;var c=i-fn(o);if(c<1)return o;var l=a?Eo(a,0,c).join(""):e.slice(0,c);if(r===n)return l+o;if(a&&(c+=l.length-c),sa(r)){if(e.slice(c).search(r)){var p,u=l;for(r.global||(r=Oe(r.source,ba(fe.exec(r))+"g")),r.lastIndex=0;p=r.exec(u);)var d=p.index;l=l.slice(0,d===n?c:d)}}else if(e.indexOf(po(r),c)!=c){var f=l.lastIndexOf(r);f>-1&&(l=l.slice(0,f))}return l+o},Un.unescape=function(e){return(e=ba(e))&&V.test(e)?e.replace(W,gn):e},Un.uniqueId=function(e){var t=++De;return ba(e)+t},Un.upperCase=Qa,Un.upperFirst=Za,Un.each=bs,Un.eachRight=ys,Un.first=Kr,cc(Un,(wc={},_i(Un,(function(e,t){Fe.call(Un.prototype,t)||(wc[t]=e)})),wc),{chain:!1}),Un.VERSION="4.17.21",Ot(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Un[e].placeholder=Un})),Ot(["drop","take"],(function(e,t){qn.prototype[e]=function(i){i=i===n?1:bn(ha(i),0);var o=this.__filtered__&&!t?new qn(this):this.clone();return o.__filtered__?o.__takeCount__=yn(i,o.__takeCount__):o.__views__.push({size:yn(i,m),type:e+(o.__dir__<0?"Right":"")}),o},qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ot(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=1==n||3==n;qn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:pr(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),Ot(["head","last"],(function(e,t){var n="take"+(t?"Right":"");qn.prototype[e]=function(){return this[n](1).value()[0]}})),Ot(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");qn.prototype[e]=function(){return this.__filtered__?new qn(this):this[n](1)}})),qn.prototype.compact=function(){return this.filter(oc)},qn.prototype.find=function(e){return this.filter(e).head()},qn.prototype.findLast=function(e){return this.reverse().find(e)},qn.prototype.invokeMap=Zi((function(e,t){return"function"==typeof e?new qn(this):this.map((function(n){return ji(n,e,t)}))})),qn.prototype.reject=function(e){return this.filter(Fs(pr(e)))},qn.prototype.slice=function(e,t){e=ha(e);var i=this;return i.__filtered__&&(e>0||t<0)?new qn(i):(e<0?i=i.takeRight(-e):e&&(i=i.drop(e)),t!==n&&(i=(t=ha(t))<0?i.dropRight(-t):i.take(t-e)),i)},qn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},qn.prototype.toArray=function(){return this.take(m)},_i(qn.prototype,(function(e,t){var i=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),r=Un[o?"take"+("last"==t?"Right":""):t],s=o||/^find/.test(t);r&&(Un.prototype[t]=function(){var t=this.__wrapped__,a=o?[1]:arguments,c=t instanceof qn,l=a[0],p=c||qs(t),u=function(e){var t=r.apply(Un,Nt([e],a));return o&&d?t[0]:t};p&&i&&"function"==typeof l&&1!=l.length&&(c=p=!1);var d=this.__chain__,f=!!this.__actions__.length,m=s&&!d,h=c&&!f;if(!s&&p){t=h?t:new qn(this);var g=e.apply(t,a);return g.__actions__.push({func:ms,args:[u],thisArg:n}),new Gn(g,d)}return m&&h?e.apply(this,a):(g=this.thru(u),m?o?g.value()[0]:g.value():g)})})),Ot(["pop","push","shift","sort","splice","unshift"],(function(e){var t=je[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Un.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var o=this.value();return t.apply(qs(o)?o:[],e)}return this[n]((function(n){return t.apply(qs(n)?n:[],e)}))}})),_i(qn.prototype,(function(e,t){var n=Un[t];if(n){var i=n.name+"";Fe.call(Pn,i)||(Pn[i]=[]),Pn[i].push({name:t,func:n})}})),Pn[zo(n,2).name]=[{name:"wrapper",func:n}],qn.prototype.clone=function(){var e=new qn(this.__wrapped__);return e.__actions__=jo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=jo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=jo(this.__views__),e},qn.prototype.reverse=function(){if(this.__filtered__){var e=new qn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},qn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=qs(e),i=t<0,o=n?e.length:0,r=function(e,t,n){var i=-1,o=n.length;for(;++i<o;){var r=n[i],s=r.size;switch(r.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=yn(t,e+s);break;case"takeRight":e=bn(e,t-s)}}return{start:e,end:t}}(0,o,this.__views__),s=r.start,a=r.end,c=a-s,l=i?a:s-1,p=this.__iteratees__,u=p.length,d=0,f=yn(c,this.__takeCount__);if(!n||!i&&o==c&&f==c)return go(e,this.__actions__);var m=[];e:for(;c--&&d<f;){for(var h=-1,g=e[l+=t];++h<u;){var x=p[h],v=x.iteratee,b=x.type,y=v(g);if(2==b)g=y;else if(!y){if(1==b)continue e;break e}}m[d++]=g}return m},Un.prototype.at=hs,Un.prototype.chain=function(){return fs(this)},Un.prototype.commit=function(){return new Gn(this.value(),this.__chain__)},Un.prototype.next=function(){this.__values__===n&&(this.__values__=fa(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},Un.prototype.plant=function(e){for(var t,i=this;i instanceof Hn;){var o=Br(i);o.__index__=0,o.__values__=n,t?r.__wrapped__=o:t=o;var r=o;i=i.__wrapped__}return r.__wrapped__=e,t},Un.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof qn){var t=e;return this.__actions__.length&&(t=new qn(this)),(t=t.reverse()).__actions__.push({func:ms,args:[ts],thisArg:n}),new Gn(t,this.__chain__)}return this.thru(ts)},Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Un.prototype.first=Un.prototype.head,Je&&(Un.prototype[Je]=function(){return this}),Un}();gt?((gt.exports=xn)._=xn,ht._=xn):mt._=xn}).call(be)}(Ex,Ex.exports);!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.stringSimilarity=void 0;e.stringSimilarity=function(e,t,n,i){if(void 0===n&&(n=2),void 0===i&&(i=!1),i||(e=e.toLowerCase(),t=t.toLowerCase()),e.length<n||t.length<n)return 0;for(var o=new Map,r=0;r<e.length-(n-1);r++){var s=e.substr(r,n);o.set(s,o.has(s)?o.get(s)+1:1)}for(var a=0,c=0;c<t.length-(n-1);c++){var l=t.substr(c,n),p=o.has(l)?o.get(l):0;p>0&&(o.set(l,p-1),a++)}return 2*a/(e.length+t.length-2*(n-1))},e.default=e.stringSimilarity}({});var Sx=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},kx=Sx,Rx=Object.create,Tx=function(){function e(){}return function(t){if(!kx(t))return{};if(Rx)return Rx(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var Ox=function(){},Ax=Tx,Cx=Ox;function jx(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}jx.prototype=Ax(Cx.prototype),jx.prototype.constructor=jx;var Px=jx;var Lx=function(e,t){for(var n=-1,i=t.length,o=e.length;++n<i;)e[o+n]=t[n];return e},Ix="object"==typeof be&&be&&be.Object===Object&&be,Nx="object"==typeof self&&self&&self.Object===Object&&self,Fx=Ix||Nx||Function("return this")(),Dx=Fx.Symbol,$x=Dx,Mx=Object.prototype,Bx=Mx.hasOwnProperty,Ux=Mx.toString,zx=$x?$x.toStringTag:void 0;var Hx=function(e){var t=Bx.call(e,zx),n=e[zx];try{e[zx]=void 0;var i=!0}catch(e){}var o=Ux.call(e);return i&&(t?e[zx]=n:delete e[zx]),o},Gx=Object.prototype.toString;var qx=Hx,Wx=function(e){return Gx.call(e)},Kx=Dx?Dx.toStringTag:void 0;var Vx=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Kx&&Kx in Object(e)?qx(e):Wx(e)};var Yx=function(e){return null!=e&&"object"==typeof e},Qx=Vx,Zx=Yx;var Jx=function(e){return Zx(e)&&"[object Arguments]"==Qx(e)},Xx=Yx,ev=Object.prototype,tv=ev.hasOwnProperty,nv=ev.propertyIsEnumerable,iv=Jx(function(){return arguments}())?Jx:function(e){return Xx(e)&&tv.call(e,"callee")&&!nv.call(e,"callee")},ov=Array.isArray,rv=iv,sv=ov,av=Dx?Dx.isConcatSpreadable:void 0;var cv=Lx,lv=function(e){return sv(e)||rv(e)||!!(av&&e&&e[av])};var pv=function e(t,n,i,o,r){var s=-1,a=t.length;for(i||(i=lv),r||(r=[]);++s<a;){var c=t[s];n>0&&i(c)?n>1?e(c,n-1,i,o,r):cv(r,c):o||(r[r.length]=c)}return r},uv=pv;var dv=function(e){return(null==e?0:e.length)?uv(e,1):[]};var fv=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},mv=Math.max;var hv=function(e,t,n){return t=mv(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,r=mv(i.length-t,0),s=Array(r);++o<r;)s[o]=i[t+o];o=-1;for(var a=Array(t+1);++o<t;)a[o]=i[o];return a[t]=n(s),fv(e,this,a)}};var gv=function(e){return function(){return e}},xv=Vx,vv=Sx;var bv,yv=function(e){if(!vv(e))return!1;var t=xv(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},_v=Fx["__core-js_shared__"],wv=(bv=/[^.]+$/.exec(_v&&_v.keys&&_v.keys.IE_PROTO||""))?"Symbol(src)_1."+bv:"";var Ev=function(e){return!!wv&&wv in e},Sv=Function.prototype.toString;var kv=yv,Rv=Ev,Tv=Sx,Ov=function(e){if(null!=e){try{return Sv.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Av=/^\[object .+?Constructor\]$/,Cv=Function.prototype,jv=Object.prototype,Pv=Cv.toString,Lv=jv.hasOwnProperty,Iv=RegExp("^"+Pv.call(Lv).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Nv=function(e){return!(!Tv(e)||Rv(e))&&(kv(e)?Iv:Av).test(Ov(e))},Fv=function(e,t){return null==e?void 0:e[t]};var Dv=function(e,t){var n=Fv(e,t);return Nv(n)?n:void 0},$v=Dv,Mv=function(){try{var e=$v(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var Bv=gv,Uv=Mv,zv=Uv?function(e,t){return Uv(e,"toString",{configurable:!0,enumerable:!1,value:Bv(t),writable:!0})}:function(e){return e},Hv=zv,Gv=Date.now;var qv=function(e){var t=0,n=0;return function(){var i=Gv(),o=16-(i-n);if(n=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Hv),Wv=dv,Kv=hv,Vv=qv;var Yv=function(e){return Vv(Kv(e,void 0,Wv),e+"")},Qv=Dv(Fx,"WeakMap");var Zv=Qv&&new Qv,Jv=Zv?function(e){return Zv.get(e)}:function(){},Xv={},eb=Object.prototype.hasOwnProperty;var tb=function(e){for(var t=e.name+"",n=Xv[t],i=eb.call(Xv,t)?n.length:0;i--;){var o=n[i],r=o.func;if(null==r||r==e)return o.name}return t},nb=Tx,ib=Ox;function ob(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}ob.prototype=nb(ib.prototype),ob.prototype.constructor=ob;var rb=ob;var sb=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t},ab=rb,cb=Px,lb=sb;var pb=rb,ub=Px,db=Ox,fb=ov,mb=Yx,hb=function(e){if(e instanceof ab)return e.clone();var t=new cb(e.__wrapped__,e.__chain__);return t.__actions__=lb(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t},gb=Object.prototype.hasOwnProperty;function xb(e){if(mb(e)&&!fb(e)&&!(e instanceof pb)){if(e instanceof ub)return e;if(gb.call(e,"__wrapped__"))return hb(e)}return new ub(e)}xb.prototype=db.prototype,xb.prototype.constructor=xb;var vb=rb,bb=Jv,yb=tb,_b=xb;var wb=function(e){var t=yb(e),n=_b[t];if("function"!=typeof n||!(t in vb.prototype))return!1;if(e===n)return!0;var i=bb(n);return!!i&&e===i[0]},Eb=Px,Sb=Yv,kb=Jv,Rb=tb,Tb=ov,Ob=wb;var Ab,Cb=function(e){return Sb((function(t){var n=t.length,i=n,o=Eb.prototype.thru;for(e&&t.reverse();i--;){var r=t[i];if("function"!=typeof r)throw new TypeError("Expected a function");if(o&&!s&&"wrapper"==Rb(r))var s=new Eb([],!0)}for(i=s?i:n;++i<n;){r=t[i];var a=Rb(r),c="wrapper"==a?kb(r):void 0;s=c&&Ob(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[Rb(c[0])].apply(s,c[3]):1==r.length&&Ob(r)?s[a]():s.thru(r)}return function(){var e=arguments,i=e[0];if(s&&1==e.length&&Tb(i))return s.plant(i).value();for(var o=0,r=n?t[o].apply(this,e):i;++o<n;)r=t[o].call(this,r);return r}}))};Cb(),function(e){e.EDIT="edit",e.PREVIEW="preview"}(Ab||(Ab={}));for(var jb,Pb,Lb,Ib,Nb,Fb,Db,$b,Mb,Bb,Ub,zb,Hb,Gb,qb,Wb,Kb,Vb,Yb,Qb,Zb,Jb,Xb,ey,ty,ny,iy,oy,ry,sy=0;sy<4;sy++)(4294967296*Math.random()).toString(16);!function(e){e.VERSION_UPDATE_TITLE="version.update.title",e.VERSION_UPDATE_INSTALL="version.update.install",e.VERSION_UPDATE_IGNORE="version.update.ignore",e.COMMON_GENERATE_ERROR="common.generate.error",e.COMMON_UNKNOWN_ERROR="common.unknown.error",e.COMMON_REQUEST_ERROR="common.request.error",e.COMMON_CODE="common.code",e.COMMON_FUNCTION="common.function",e.COMMON_USING="common.using",e.COMMON_WITHOUT="common.without",e.COMMON_COMMA="common.comma",e.COMMON_FRAMEWORK="common.framework",e.COMMON_RELATED="common.related",e.COMMON_PROMPT="common.prompt",e.COMMON_THINKING="common.thinking",e.COMMON_SEARCH_RESULT="common.searchResult",e.COMMON_AUTHORIZE="common.authorize",e.COMMON_DENY="common.deny",e.COMMON_NAVIGATE_TO_SETTING="common.navigateToSetting",e.COMMON_CUSTOMIZE_ERROR="common.customize.error",e.COMMON_PRIVATE_ERROR="common.private.error",e.LOG_LEVEL_PLACEHOLDER="log.level.placeholder",e.DO_NOT_SHOW_AGAIN="do.not.show.again"}(jb||(jb={})),function(e){e.NOT_SUPPORT="statusBar.not.support.text",e.ENABLE="statusBar.enable.text",e.NO_SUGGESTIONS="statusBar.nosuggestions",e.TITLE="statusBar.title"}(Pb||(Pb={})),function(e){e.PANEL_ACCEPT="completion.panel.accept.text",e.PANEL_ACCEPT_TOOLTIP="completion.panel.accept.tooltip",e.PANEL_CODELENS_DISABLED="completion.panel.codelens.disabled.text",e.PANEL_TITLE="completion.panel.title",e.PANEL_EMPTY="completion.panel.empty.text",e.PANEL_HIDDEN="completion.panel.hidden.text",e.PANEL_SYNTHESIZING="completion.panel.synthesizing.text",e.DECORATION_BASIC="completion.decoration.basic",e.DECORATION_WITH_WIDGET="completion.decoration.widget.text",e.DECORATION_ACCEPT_LINE="completion.decoration.acceptLine.text"}(Lb||(Lb={})),function(e){e.EMPTY_TEXT="nl2code.empty.text",e.NO_SELECTION="nl2code.no.selection.text"}(Ib||(Ib={})),function(e){e.CODELENS_TITLE="optimize.codelens.title",e.CODELENS_TOOLTIP="optimize.codelens.tooltip",e.OPTIMIZE_ERROR="optimize.error",e.OPTIMIZE_CODE_PROMPT="optimize.code.prompt",e.NO_SELECTION="optimize.no.selection.text",e.OPTIMIZE_FUNCTION_PROMPT="optimize.function.prompt"}(Nb||(Nb={})),function(e){e.EXPLAIN_SELECTED_CODE="explain.codeActions.title",e.OPTIMIZE_SELECTED_CODE="optimize.codeActions.title",e.INLINECHAT_SELECTED_CODE="inlinechat.codeActions.title"}(Fb||(Fb={})),function(e){e.CODELENS_TITLE="chatTrial.codelens.title"}(Db||(Db={})),function(e){e.CODELENS_TITLE="inlinechat.codelens.title"}($b||($b={})),function(e){e.CHAT_TIPS_TITLE="chatTips.selectedCode.title",e.CHAT_TIPS_CODE_BLANK_ROW_TITLE="chatTips.blankRow.title"}(Mb||(Mb={})),function(e){e.GENERATING_TITLE="decorations.generating.title",e.LINE_COMMENT_CODE_TRIGGER_TITLE="decorations.lineComent.trigger.title"}(Bb||(Bb={})),function(e){e.PROMPT="comment.prompt",e.CODELENS_TITLE="comment.codelens.title",e.CODELENS_TOOLTIP="comment.codelens.tooltip",e.INLINECHAT_TITLE="comment.inlinechat.title",e.GENERATE_ERROR="comment.generate.error"}(Ub||(Ub={})),function(e){e.PROMPT="docstring.prompt",e.CODELENS_TITLE="docstring.codelens.title",e.CODELENS_TOOLTIP="docstring.codelens.tooltip",e.INLINECHAT_TITLE="docstring.inlinechat.title",e.GENERATE_ERROR="docstring.generate.error"}(zb||(zb={})),function(e){e.PROMPT="split.prompt",e.CODELENS_TITLE="split.codelens.title",e.CODELENS_TOOLTIP="split.codelens.tooltip",e.GENERATE_ERROR="split.generate.error"}(Hb||(Hb={})),function(e){e.CODELENS_TITLE="explain.codelens.title",e.CODELENS_TOOLTIP="explain.codelens.tooltip",e.GENERATE_ERROR="explain.generate.error",e.NO_SELECTION="explain.no.selection.text",e.PROMPT="explain.prompt"}(Gb||(Gb={})),function(e){e.CODELENS_TITLE="unitTest.codelens.title",e.CODELENS_TOOLTIP="unitTest.codelens.tooltip",e.GENERATE_ERROR="unitTest.generate.error",e.ACCEPT_ERROR="unitTest.accept.error",e.PROMPT="unitTest.prompt"}(qb||(qb={})),function(e){e.PROMPT="inlineLog.prompt",e.CODELENS_TITLE="inlineLog.codelens.title",e.CODELENS_TOOLTIP="inlineLog.codelens.tooltip",e.GENERATE_ERROR="inlineLog.generate.error"}(Wb||(Wb={})),function(e){e.TITLE="diff.title",e.ACCEPT="diff.accept",e.REJECT="diff.reject",e.OPEN_DUAL_SCREEN_DIFF="diff.dualScreenDiff.open"}(Kb||(Kb={})),function(e){e.WEBVIEW_TITLE="chat.webview.title",e.NO_INSERT_POSITION="chat.no.insertPosition.text"}(Vb||(Vb={})),function(e){e.PATH_ERROR="accept.path.error"}(Yb||(Yb={})),function(e){e.ACTION="quickFix.action.text",e.PROMPT="quickFix.prompt",e.PROMPT_SUFFIX="quickFix.prompt.suffix",e.GENERATE_ERROR="quickFix.generate.error",e.FIX_MAX_LEN="quickFix.fix.maxLen.text"}(Qb||(Qb={})),function(e){e.LOGIN_MESSAGE="login.message",e.LOGIN_ACTION_TEXT="login.action.text",e.LOGIN_ACTION_WITH_LICENSE="login.action.withLicense.text",e.LOGIN_DEVICE_ERROR="login.device.error",e.LOGIN_LOGGING_IN="login.loggingIn.text",e.LOGIN_SUCCESS="login.success",e.LOGIN_IDE_SUCCESS="login.ide.success",e.LOGIN_FAILED="login.failed",e.LOGIN_TOKEN_ERROR="login.token.error",e.LOGIN_KEY_ERROR="login.key.error",e.LOGIN_INTERNAL_USER="login.internalUser.message",e.LOGIN_INSTALL_INTERNAL="login.install.internal",e.LOGIN_AGREEMENT="login.agreement.message",e.RENEW_ACTION="renew.action.text",e.QUICK_PICK_PLACEHOLDER="command.quick.pick.placeholder"}(Zb||(Zb={})),function(e){e.TOOLTIP="regexHover.tooltip",e.PROMPT="regexHover.prompt"}(Jb||(Jb={})),function(e){e.MAXIMUM_FILES="embeddings.maximum.files.message",e.PROGRESS="embeddings.progress.message",e.PROGRESS_TOOLTIP="embeddings.progress.tooltip.message"}(Xb||(Xb={})),function(e){e.TITLE="openPlatform.title.text",e.WEBVIEW_TITLE="openPlatform.webview.title"}(ey||(ey={})),function(e){e.MODAL_AUTH_TITLE="autoWork.auth.modal.title",e.INDEXING_MESSAGE="autoWork.indexing.message",e.CONNECTION_INTERRUPT="autoWork.connection.interrupt.message",e.INDEXING_REMINDER="autoWork.indexing.reminder.text",e.ERROR="autoWork.error",e.TASK_THOUGHT="autoWork.task.thought",e.TASK_ANSWER="autoWork.task.answer",e.AUTO_DEBUG="autoWork.autoDebug",e.AUTO_DEBUG_PROMPT="autoWork.autoDebug.prompt",e.AUTO_DEBUG_STAGE_THOUGHT="autoWork.autoDebug.thought",e.AUTO_DEBUG_STAGE_SEARCH="autoWork.autoDebug.search",e.AUTO_DEBUG_STAGE_ANSWER="autoWork.autoDebug.answer"}(ty||(ty={})),function(e){e.PERMISSION_WORKSPACE="comatePlus.permission.workspace.text",e.PERMISSION_DISK="comatePlus.permission.disk.text",e.PERMISSION_USER="comatePlus.permission.user.text",e.AUTH_MESSAGE="comatePlus.auth.message",e.USER_INFO_ERROR="comatePlus.userInfo.error",e.CLEAR_PERMISSION="comatePlus.clear.permission",e.SPLIT_ERROR="comatePlus.split.error",e.NO_SELECTION="comatePlus.noSelection",e.NOT_A_FUNCTION="comatePlus.not.function.text"}(ny||(ny={})),function(e){e.INLINECHAT_GENERATE="inlinechat.placeholder.generate",e.INLINECHAT_SELECTED="inlinechat.placeholder.selected",e.INLINECHAT_UNSELECTED="inlinechat.placeholder.unselected",e.INLINECHAT_TITLE="inlinechat.title",e.INLINCHAT_ERROR="inlinechat.placeholder.error"}(iy||(iy={})),function(e){e.GENERATE_ERROR="messageGenerate.generate.error",e.NO_DIFF_ERROR="messageGenerate.noDiff.error",e.GET_DIFF_ERROR="messageGenerate.getDiff.error",e.EMPTY_CONTENT_ERROR="messageGenerate.emptyContent.error"}(oy||(oy={})),function(e){e.GENERATE_ERROR="kernel.zulu.error"}(ry||(ry={}));class ay{groupManager;description;registry;setupContext;pluginChannel=null;cleanupHandlers=[];constructor(e){this.groupManager=e.groupManager,this.description=e.plugin,this.registry=e.registry,this.setupContext={description:e.plugin,directory:e.directory,inspectPort:e.inspectPort}}async setup(){await this.groupManager.joinGroup(this.setupContext,{onSetup:e=>this.setupRunningStatus(e),onExit:()=>this.cleanup()})}startSession(e,t,n,i){return this.pluginChannel?.startSession(e,{action:t,payload:n},i)}sendMessage(e,t,n){return this.pluginChannel?.send(e,t,n)}async dispose(){await this.groupManager.exitGroup(this.setupContext),this.cleanup()}setupRunningStatus(e){this.pluginChannel=e;this.registry.loadCapabilitiesForPlugin(this.description.capabilities.map((e=>({owner:this.description,name:e.name,type:e.type,displayName:e.displayName,placeholder:e.placeholder,defaultUserMessage:e.defaultUserMessage,displayTag:e.displayTag,enableSmartApply:e.enableSmartApply,visibilitySelector:e.visibilitySelector,querySelector:e.querySelector}))))}cleanup(){this.pluginChannel&&(this.pluginChannel=null),this.registry.unloadCapabilitiesForPlugin(this.description.name)}}function cy(e){return Array.isArray?Array.isArray(e):"[object Array]"===xy(e)}const ly=1/0;function py(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-ly?"-0":t}(e)}function uy(e){return"string"==typeof e}function dy(e){return"number"==typeof e}function fy(e){return!0===e||!1===e||function(e){return my(e)&&null!==e}(e)&&"[object Boolean]"==xy(e)}function my(e){return"object"==typeof e}function hy(e){return null!=e}function gy(e){return!e.trim().length}function xy(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const vy=e=>`Missing ${e} property in key`,by=e=>`Property 'weight' in key '${e}' must be a positive integer`,yy=Object.prototype.hasOwnProperty;class _y{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=wy(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function wy(e){let t=null,n=null,i=null,o=1,r=null;if(uy(e)||cy(e))i=e,t=Ey(e),n=Sy(e);else{if(!yy.call(e,"name"))throw new Error(vy("name"));const s=e.name;if(i=s,yy.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(by(s));t=Ey(s),n=Sy(s),r=e.getFn}return{path:t,id:n,weight:o,src:i,getFn:r}}function Ey(e){return cy(e)?e:e.split(".")}function Sy(e){return cy(e)?e.join("."):e}const ky={useExtendedSearch:!1,getFn:function(e,t){let n=[],i=!1;const o=(e,t,r)=>{if(hy(e))if(t[r]){const s=e[t[r]];if(!hy(s))return;if(r===t.length-1&&(uy(s)||dy(s)||fy(s)))n.push(py(s));else if(cy(s)){i=!0;for(let e=0,n=s.length;e<n;e+=1)o(s[e],t,r+1)}else t.length&&o(s,t,r+1)}else n.push(e)};return o(e,uy(t)?t.split("."):t,0),i?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var Ry={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...ky};const Ty=/[^ ]+/g;class Oy{constructor({getFn:e=Ry.getFn,fieldNormWeight:t=Ry.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,i=Math.pow(10,t);return{get(t){const o=t.match(Ty).length;if(n.has(o))return n.get(o);const r=1/Math.pow(o,.5*e),s=parseFloat(Math.round(r*i)/i);return n.set(o,s),s},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,uy(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();uy(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!hy(e)||gy(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,i)=>{let o=t.getFn?t.getFn(e):this.getFn(e,t.path);if(hy(o))if(cy(o)){let e=[];const t=[{nestedArrIndex:-1,value:o}];for(;t.length;){const{nestedArrIndex:n,value:i}=t.pop();if(hy(i))if(uy(i)&&!gy(i)){let t={v:i,i:n,n:this.norm.get(i)};e.push(t)}else cy(i)&&i.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[i]=e}else if(uy(o)&&!gy(o)){let e={v:o,n:this.norm.get(o)};n.$[i]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Ay(e,t,{getFn:n=Ry.getFn,fieldNormWeight:i=Ry.fieldNormWeight}={}){const o=new Oy({getFn:n,fieldNormWeight:i});return o.setKeys(e.map(wy)),o.setSources(t),o.create(),o}function Cy(e,{errors:t=0,currentLocation:n=0,expectedLocation:i=0,distance:o=Ry.distance,ignoreLocation:r=Ry.ignoreLocation}={}){const s=t/e.length;if(r)return s;const a=Math.abs(i-n);return o?s+a/o:a?1:s}const jy=32;function Py(e,t,n,{location:i=Ry.location,distance:o=Ry.distance,threshold:r=Ry.threshold,findAllMatches:s=Ry.findAllMatches,minMatchCharLength:a=Ry.minMatchCharLength,includeMatches:c=Ry.includeMatches,ignoreLocation:l=Ry.ignoreLocation}={}){if(t.length>jy)throw new Error(`Pattern length exceeds max of ${jy}.`);const p=t.length,u=e.length,d=Math.max(0,Math.min(i,u));let f=r,m=d;const h=a>1||c,g=h?Array(u):[];let x;for(;(x=e.indexOf(t,m))>-1;){let e=Cy(t,{currentLocation:x,expectedLocation:d,distance:o,ignoreLocation:l});if(f=Math.min(e,f),m=x+p,h){let e=0;for(;e<p;)g[x+e]=1,e+=1}}m=-1;let v=[],b=1,y=p+u;const _=1<<p-1;for(let i=0;i<p;i+=1){let r=0,a=y;for(;r<a;){Cy(t,{errors:i,currentLocation:d+a,expectedLocation:d,distance:o,ignoreLocation:l})<=f?r=a:y=a,a=Math.floor((y-r)/2+r)}y=a;let c=Math.max(1,d-a+1),x=s?u:Math.min(d+a,u)+p,w=Array(x+2);w[x+1]=(1<<i)-1;for(let r=x;r>=c;r-=1){let s=r-1,a=n[e.charAt(s)];if(h&&(g[s]=+!!a),w[r]=(w[r+1]<<1|1)&a,i&&(w[r]|=(v[r+1]|v[r])<<1|1|v[r+1]),w[r]&_&&(b=Cy(t,{errors:i,currentLocation:s,expectedLocation:d,distance:o,ignoreLocation:l}),b<=f)){if(f=b,m=s,m<=d)break;c=Math.max(1,2*d-m)}}if(Cy(t,{errors:i+1,currentLocation:d,expectedLocation:d,distance:o,ignoreLocation:l})>f)break;v=w}const w={isMatch:m>=0,score:Math.max(.001,b)};if(h){const e=function(e=[],t=Ry.minMatchCharLength){let n=[],i=-1,o=-1,r=0;for(let s=e.length;r<s;r+=1){let s=e[r];s&&-1===i?i=r:s||-1===i||(o=r-1,o-i+1>=t&&n.push([i,o]),i=-1)}return e[r-1]&&r-i>=t&&n.push([i,r-1]),n}(g,a);e.length?c&&(w.indices=e):w.isMatch=!1}return w}function Ly(e){let t={};for(let n=0,i=e.length;n<i;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<i-n-1}return t}class Iy{constructor(e,{location:t=Ry.location,threshold:n=Ry.threshold,distance:i=Ry.distance,includeMatches:o=Ry.includeMatches,findAllMatches:r=Ry.findAllMatches,minMatchCharLength:s=Ry.minMatchCharLength,isCaseSensitive:a=Ry.isCaseSensitive,ignoreLocation:c=Ry.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:i,includeMatches:o,findAllMatches:r,minMatchCharLength:s,isCaseSensitive:a,ignoreLocation:c},this.pattern=a?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const l=(e,t)=>{this.chunks.push({pattern:e,alphabet:Ly(e),startIndex:t})},p=this.pattern.length;if(p>jy){let e=0;const t=p%jy,n=p-t;for(;e<n;)l(this.pattern.substr(e,jy),e),e+=jy;if(t){const e=p-jy;l(this.pattern.substr(e),e)}}else l(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:i,distance:o,threshold:r,findAllMatches:s,minMatchCharLength:a,ignoreLocation:c}=this.options;let l=[],p=0,u=!1;this.chunks.forEach((({pattern:t,alphabet:d,startIndex:f})=>{const{isMatch:m,score:h,indices:g}=Py(e,t,d,{location:i+f,distance:o,threshold:r,findAllMatches:s,minMatchCharLength:a,includeMatches:n,ignoreLocation:c});m&&(u=!0),p+=h,m&&g&&(l=[...l,...g])}));let d={isMatch:u,score:u?p/this.chunks.length:1};return u&&n&&(d.indices=l),d}}class Ny{constructor(e){this.pattern=e}static isMultiMatch(e){return Fy(e,this.multiRegex)}static isSingleMatch(e){return Fy(e,this.singleRegex)}search(){}}function Fy(e,t){const n=e.match(t);return n?n[1]:null}class Dy extends Ny{constructor(e,{location:t=Ry.location,threshold:n=Ry.threshold,distance:i=Ry.distance,includeMatches:o=Ry.includeMatches,findAllMatches:r=Ry.findAllMatches,minMatchCharLength:s=Ry.minMatchCharLength,isCaseSensitive:a=Ry.isCaseSensitive,ignoreLocation:c=Ry.ignoreLocation}={}){super(e),this._bitapSearch=new Iy(e,{location:t,threshold:n,distance:i,includeMatches:o,findAllMatches:r,minMatchCharLength:s,isCaseSensitive:a,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class $y extends Ny{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const i=[],o=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+o,i.push([t,n-1]);const r=!!i.length;return{isMatch:r,score:r?0:1,indices:i}}}const My=[class extends Ny{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},$y,class extends Ny{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends Ny{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Ny{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Ny{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends Ny{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Dy],By=My.length,Uy=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const zy=new Set([Dy.type,$y.type]);class Hy{constructor(e,{isCaseSensitive:t=Ry.isCaseSensitive,includeMatches:n=Ry.includeMatches,minMatchCharLength:i=Ry.minMatchCharLength,ignoreLocation:o=Ry.ignoreLocation,findAllMatches:r=Ry.findAllMatches,location:s=Ry.location,threshold:a=Ry.threshold,distance:c=Ry.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:i,findAllMatches:r,ignoreLocation:o,location:s,threshold:a,distance:c},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(Uy).filter((e=>e&&!!e.trim())),i=[];for(let e=0,o=n.length;e<o;e+=1){const o=n[e];let r=!1,s=-1;for(;!r&&++s<By;){const e=My[s];let n=e.isMultiMatch(o);n&&(i.push(new e(n,t)),r=!0)}if(!r)for(s=-1;++s<By;){const e=My[s];let n=e.isSingleMatch(o);if(n){i.push(new e(n,t));break}}}return i}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:i}=this.options;e=i?e:e.toLowerCase();let o=0,r=[],s=0;for(let i=0,a=t.length;i<a;i+=1){const a=t[i];r.length=0,o=0;for(let t=0,i=a.length;t<i;t+=1){const i=a[t],{isMatch:c,indices:l,score:p}=i.search(e);if(!c){s=0,o=0,r.length=0;break}if(o+=1,s+=p,n){const e=i.constructor.type;zy.has(e)?r=[...r,...l]:r.push(l)}}if(o){let e={isMatch:!0,score:s/o};return n&&(e.indices=r),e}}return{isMatch:!1,score:1}}}const Gy=[];function qy(e,t){for(let n=0,i=Gy.length;n<i;n+=1){let i=Gy[n];if(i.condition(e,t))return new i(e,t)}return new Iy(e,t)}const Wy="$and",Ky="$or",Vy="$path",Yy="$val",Qy=e=>!(!e[Wy]&&!e[Ky]),Zy=e=>({[Wy]:Object.keys(e).map((t=>({[t]:e[t]})))});function Jy(e,t,{auto:n=!0}={}){const i=e=>{let o=Object.keys(e);const r=(e=>!!e[Vy])(e);if(!r&&o.length>1&&!Qy(e))return i(Zy(e));if((e=>!cy(e)&&my(e)&&!Qy(e))(e)){const i=r?e[Vy]:o[0],s=r?e[Yy]:e[i];if(!uy(s))throw new Error((e=>`Invalid value for key ${e}`)(i));const a={keyId:Sy(i),pattern:s};return n&&(a.searcher=qy(s,t)),a}let s={children:[],operator:o[0]};return o.forEach((t=>{const n=e[t];cy(n)&&n.forEach((e=>{s.children.push(i(e))}))})),s};return Qy(e)||(e=Zy(e)),i(e)}function Xy(e,t){const n=e.matches;t.matches=[],hy(n)&&n.forEach((e=>{if(!hy(e.indices)||!e.indices.length)return;const{indices:n,value:i}=e;let o={indices:n,value:i};e.key&&(o.key=e.key.src),e.idx>-1&&(o.refIndex=e.idx),t.matches.push(o)}))}function e_(e,t){t.score=e.score}class t_{constructor(e,t={},n){this.options={...Ry,...t},this.options.useExtendedSearch,this._keyStore=new _y(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Oy))throw new Error("Incorrect 'index' type");this._myIndex=t||Ay(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){hy(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,i=this._docs.length;n<i;n+=1){const o=this._docs[n];e(o,n)&&(this.removeAt(n),n-=1,i-=1,t.push(o))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:i,shouldSort:o,sortFn:r,ignoreFieldNorm:s}=this.options;let a=uy(e)?uy(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=Ry.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:i,score:o})=>{const r=e?e.weight:null;n*=Math.pow(0===o&&r?Number.EPSILON:o,(r||1)*(t?1:i))})),e.score=n}))}(a,{ignoreFieldNorm:s}),o&&a.sort(r),dy(t)&&t>-1&&(a=a.slice(0,t)),function(e,t,{includeMatches:n=Ry.includeMatches,includeScore:i=Ry.includeScore}={}){const o=[];return n&&o.push(Xy),i&&o.push(e_),e.map((e=>{const{idx:n}=e,i={item:t[n],refIndex:n};return o.length&&o.forEach((t=>{t(e,i)})),i}))}(a,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(e){const t=qy(e,this.options),{records:n}=this._myIndex,i=[];return n.forEach((({v:e,i:n,n:o})=>{if(!hy(e))return;const{isMatch:r,score:s,indices:a}=t.searchIn(e);r&&i.push({item:e,idx:n,matches:[{score:s,value:e,norm:o,indices:a}]})})),i}_searchLogical(e){const t=Jy(e,this.options),n=(e,t,i)=>{if(!e.children){const{keyId:n,searcher:o}=e,r=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:o});return r&&r.length?[{idx:i,item:t,matches:r}]:[]}const o=[];for(let r=0,s=e.children.length;r<s;r+=1){const s=e.children[r],a=n(s,t,i);if(a.length)o.push(...a);else if(e.operator===Wy)return[]}return o},i=this._myIndex.records,o={},r=[];return i.forEach((({$:e,i:i})=>{if(hy(e)){let s=n(t,e,i);s.length&&(o[i]||(o[i]={idx:i,item:e,matches:[]},r.push(o[i])),s.forEach((({matches:e})=>{o[i].matches.push(...e)})))}})),r}_searchObjectList(e){const t=qy(e,this.options),{keys:n,records:i}=this._myIndex,o=[];return i.forEach((({$:e,i:i})=>{if(!hy(e))return;let r=[];n.forEach(((n,i)=>{r.push(...this._findMatches({key:n,value:e[i],searcher:t}))})),r.length&&o.push({idx:i,item:e,matches:r})})),o}_findMatches({key:e,value:t,searcher:n}){if(!hy(t))return[];let i=[];if(cy(t))t.forEach((({v:t,i:o,n:r})=>{if(!hy(t))return;const{isMatch:s,score:a,indices:c}=n.searchIn(t);s&&i.push({score:a,key:e,value:t,idx:o,norm:r,indices:c})}));else{const{v:o,n:r}=t,{isMatch:s,score:a,indices:c}=n.searchIn(o);s&&i.push({score:a,key:e,value:o,norm:r,indices:c})}return i}}t_.version="7.0.0",t_.createIndex=Ay,t_.parseIndex=function(e,{getFn:t=Ry.getFn,fieldNormWeight:n=Ry.fieldNormWeight}={}){const{keys:i,records:o}=e,r=new Oy({getFn:t,fieldNormWeight:n});return r.setKeys(i),r.setIndexRecords(o),r},t_.config=Ry,t_.parseQuery=Jy,function(...e){Gy.push(...e)}(Hy);class n_{capabilities=[];listAllCapabilities(){return this.capabilities.map((({visibilitySelector:e,...t})=>t))}async suggestCapabilitiesByMatch(e){const{pluginName:t,capabilityKeyword:n}=e,i=[];for(const o of this.capabilities){if(!e.canHandle(o.type))continue;if(t&&o.owner.name!==t)continue;if(0===await o.visibilityMatcher.match(e.cwd,e.context))continue;if(n){i.push({...o});continue}const r=await o.queryMatcher.match(e.cwd,e.context);0!==r&&i.push({...o,queryScore:r})}if(!n)return i;return new t_(i,{keys:["displayName"]}).search(n).map((e=>e.item))}loadCapabilitiesForPlugin(e){const t=e.map((e=>this.compileCapabilityInfo(e)));this.capabilities=this.capabilities.concat(t)}unloadCapabilitiesForPlugin(e){this.capabilities=this.capabilities.filter((t=>t.owner.name!==e))}compileCapabilityInfo(e){return{...e,visibilityMatcher:new dg(e.visibilitySelector??{},og.default),queryMatcher:new dg(e.querySelector??{},og.default)}}}class i_ extends Q{plugins;constructor(e,t,n){super(e,t),this.plugins=n.plugins}initializeListeners(){super.initializeListeners(),this.forwardSessionTask("CHAT_QUERY"),this.forwardSessionTask("ACTION_SECUBOT"),this.forwardSessionTask("ACTION_CUSTOM_COMMAND"),this.forwardSessionTask("DIAGNOSTIC_SCAN"),this.forwardSessionTask("ACTION_START_BACKGROUND_SERVICE"),this.forwardExecution(J),this.forwardExecution(ee),this.forwardExecution(ge),this.forwardExecution(te),this.forwardExecution(he),this.forwardExecution(re),this.forwardExecution(se),this.forwardExecution(xe),this.forwardExecution(pe),this.forwardSessionTask("START_ISCAN"),this.forwardSessionTask("SA_SCAN_DIAGNOSTIC"),this.forwardSessionTask("PLUS_MODULE_LIST_FETCH")}forwardExecution(e){this.setListener(e,(async(t,n)=>{const i=this.plugins.get(t.pluginName);i?await i.sendMessage(this.sessionId,{action:e,payload:t},n):this.logPluginNotFound(t.pluginName)}))}forwardSessionTask(e){this.setListener(e,(async t=>{const n=this.plugins.get(t.pluginName);n?await n.startSession(this,e,t):this.logPluginNotFound(t.pluginName)}))}logPluginNotFound(e){this.log("error",this.constructor.name,"PluginNotFound",{pluginName:e})}}class o_ extends Z{plugins;registry;constructor(e,t,n){super(e),this.registry=t,this.plugins=n}createSession(e){return new i_(e,this.implement,{plugins:this.plugins,registry:this.registry})}}class r_ extends Q{initializeListeners(){super.initializeListeners(),this.forwardMessageToParent(J),this.forwardMessageToParent(ee),this.forwardMessageToParent(ge),this.forwardMessageToParent(te),this.forwardMessageToParent(he),this.forwardMessageToParent(re),this.forwardMessageToParent(se),this.forwardMessageToParent("CHAT_TASK_PROGRESS"),this.forwardMessageToParent("DIAGNOSTIC_SCAN_TASK_PROGRESS"),this.forwardMessageToParent("DIAGNOSTIC_SCAN_TASK_COUNT"),this.forwardMessageToParent("ACTION_SECUBOT_TASK_PROGRESS"),this.forwardMessageToParent(xe),this.forwardMessageToParent(pe),this.forwardMessageToParent("ISCAN_RESULT"),this.forwardMessageToParent("ISCAN_JOB_BUILD_ID"),this.forwardMessageToParent("SA_SCAN_DIAGNOSTIC_RESULT"),this.forwardMessageToParent("PLUS_MODULE_LIST_RESULT")}}class s_ extends Z{createSession(e){return new r_(e,this.implement)}}class a_{groups=new Map;async joinGroup(e,{onExit:t,onSetup:n}){const{description:i,directory:o,inspectPort:r}=e,s=this.getGroupKey({description:i,directory:o,inspectPort:r}),a=this.groups.get(s)??this.createGroup(s,r);a.plugins.set(i.name,{description:i,directory:o,onExit:t,onSetup:n}),await this.onPluginJoinGroup(a,e)}async exitGroup(e){const t=this.getGroupKey(e),n=this.groups.get(t);n&&(n.plugins.delete(e.description.name),await this.onPluginExitGroup(n,e),n.plugins.size||(this.destroyGroup(n),this.groups.delete(n.key)))}createGroup(e,t){const n={key:e,value:this.createGroupValue(e,t),plugins:new Map};return this.groups.set(e,n),n}}class c_ extends Error{constructor(e){super(e),this.name="TimeoutError"}}class l_ extends Error{constructor(e){super(),this.name="AbortError",this.message=e}}const p_=e=>void 0===globalThis.DOMException?new l_(e):new DOMException(e),u_=e=>{const t=void 0===e.reason?p_("This operation was aborted."):e.reason;return t instanceof Error?t:p_(t)};const d_=e=>{const t=e.addEventListener||e.on||e.addListener,n=e.removeEventListener||e.off||e.removeListener;if(!t||!n)throw new TypeError("Emitter is not compatible");return{addListener:t.bind(e),removeListener:n.bind(e)}};function f_(e,t,n){let i;const o=new Promise(((o,r)=>{if(!((n={rejectionEvents:["error"],multiArgs:!1,resolveImmediately:!1,...n}).count>=0)||n.count!==Number.POSITIVE_INFINITY&&!Number.isInteger(n.count))throw new TypeError("The `count` option should be at least 0 or more");n.signal?.throwIfAborted();const s=[t].flat(),a=[],{addListener:c,removeListener:l}=d_(e),p=(...e)=>{const t=n.multiArgs?e:e[0];n.filter&&!n.filter(t)||(a.push(t),n.count===a.length&&(i(),o(a)))},u=e=>{i(),r(e)};i=()=>{for(const e of s)l(e,p);for(const e of n.rejectionEvents)l(e,u)};for(const e of s)c(e,p);for(const e of n.rejectionEvents)c(e,u);n.signal&&n.signal.addEventListener("abort",(()=>{u(n.signal.reason)}),{once:!0}),n.resolveImmediately&&o(a)}));if(o.cancel=i,"number"==typeof n.timeout){const e=function(e,t){const{milliseconds:n,fallback:i,message:o,customTimers:r={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t;let s;const a=new Promise(((a,c)=>{if("number"!=typeof n||1!==Math.sign(n))throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){const{signal:e}=t;e.aborted&&c(u_(e)),e.addEventListener("abort",(()=>{c(u_(e))}))}if(n===Number.POSITIVE_INFINITY)return void e.then(a,c);const l=new c_;s=r.setTimeout.call(void 0,(()=>{if(i)try{a(i())}catch(e){c(e)}else"function"==typeof e.cancel&&e.cancel(),!1===o?a():o instanceof Error?c(o):(l.message=o??`Promise timed out after ${n} milliseconds`,c(l))}),n),(async()=>{try{a(await e)}catch(e){c(e)}})()})),c=a.finally((()=>{c.clear()}));return c.clear=()=>{r.clearTimeout.call(void 0,s),s=void 0},c}(o,{milliseconds:n.timeout});return e.cancel=i,e}return o}var m_,h_,g_,x_,v_,b_={exports:{}};v_="win32"===process.platform||be.TESTING_WINDOWS?function(){if(h_)return m_;h_=1,m_=n,n.sync=function(n,i){return t(e.statSync(n),n,i)};var e=c;function t(e,t,n){return!(!e.isSymbolicLink()&&!e.isFile())&&function(e,t){var n=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!n)return!0;if(-1!==(n=n.split(";")).indexOf(""))return!0;for(var i=0;i<n.length;i++){var o=n[i].toLowerCase();if(o&&e.substr(-o.length).toLowerCase()===o)return!0}return!1}(t,n)}function n(n,i,o){e.stat(n,(function(e,r){o(e,!e&&t(r,n,i))}))}return m_}():function(){if(x_)return g_;x_=1,g_=t,t.sync=function(t,i){return n(e.statSync(t),i)};var e=c;function t(t,i,o){e.stat(t,(function(e,t){o(e,!e&&n(t,i))}))}function n(e,t){return e.isFile()&&function(e,t){var n=e.mode,i=e.uid,o=e.gid,r=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),s=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8);return n&parseInt("001",8)||n&c&&o===s||n&a&&i===r||n&(a|c)&&0===r}(e,t)}return g_}();var y_=__;function __(e,t,n){if("function"==typeof t&&(n=t,t={}),!n){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(n,i){__(e,t||{},(function(e,t){e?i(e):n(t)}))}))}v_(e,t||{},(function(e,i){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,i=!1),n(e,i)}))}__.sync=function(e,t){try{return v_.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}};const w_="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,E_=m,S_=w_?";":":",k_=y_,R_=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),T_=(e,t)=>{const n=t.colon||S_,i=e.match(/\//)||w_&&e.match(/\\/)?[""]:[...w_?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(n)],o=w_?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",r=w_?o.split(n):[""];return w_&&-1!==e.indexOf(".")&&""!==r[0]&&r.unshift(""),{pathEnv:i,pathExt:r,pathExtExe:o}},O_=(e,t,n)=>{"function"==typeof t&&(n=t,t={}),t||(t={});const{pathEnv:i,pathExt:o,pathExtExe:r}=T_(e,t),s=[],a=n=>new Promise(((o,r)=>{if(n===i.length)return t.all&&s.length?o(s):r(R_(e));const a=i[n],l=/^".*"$/.test(a)?a.slice(1,-1):a,p=E_.join(l,e),u=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+p:p;o(c(u,n,0))})),c=(e,n,i)=>new Promise(((l,p)=>{if(i===o.length)return l(a(n+1));const u=o[i];k_(e+u,{pathExt:r},((o,r)=>{if(!o&&r){if(!t.all)return l(e+u);s.push(e+u)}return l(c(e,n,i+1))}))}));return n?a(0).then((e=>n(null,e)),n):a(0)};var A_=O_;O_.sync=(e,t)=>{t=t||{};const{pathEnv:n,pathExt:i,pathExtExe:o}=T_(e,t),r=[];for(let s=0;s<n.length;s++){const a=n[s],c=/^".*"$/.test(a)?a.slice(1,-1):a,l=E_.join(c,e),p=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;for(let e=0;e<i.length;e++){const n=p+i[e];try{if(k_.sync(n,{pathExt:o})){if(!t.all)return n;r.push(n)}}catch(e){}}}if(t.all&&r.length)return r;if(t.nothrow)return null;throw R_(e)};var C_={exports:{}};const j_=(e={})=>{const t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"};C_.exports=j_,C_.exports.default=j_;var P_=C_.exports;const L_=m,I_=A_,N_=P_;function F_(e,t){const n=e.options.env||process.env,i=process.cwd(),o=null!=e.options.cwd,r=o&&void 0!==process.chdir&&!process.chdir.disabled;if(r)try{process.chdir(e.options.cwd)}catch(e){}let s;try{s=I_.sync(e.command,{path:n[N_({env:n})],pathExt:t?L_.delimiter:void 0})}catch(e){}finally{r&&process.chdir(i)}return s&&(s=L_.resolve(o?e.options.cwd:"",s)),s}var D_=function(e){return F_(e)||F_(e,!0)},$_={};const M_=/([()\][%!^"`<>&|;, *?])/g;$_.command=function(e){return e=e.replace(M_,"^$1")},$_.argument=function(e,t){return e=(e=`"${e=(e=(e=`${e}`).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(M_,"^$1"),t&&(e=e.replace(M_,"^$1")),e};const B_=/^#!(.*)/;const U_=c,z_=(e="")=>{const t=e.match(B_);if(!t)return null;const[n,i]=t[0].replace(/#! ?/,"").split(" "),o=n.split("/").pop();return"env"===o?i:i?`${o} ${i}`:o};const H_=m,G_=D_,q_=$_,W_=function(e){const t=Buffer.alloc(150);let n;try{n=U_.openSync(e,"r"),U_.readSync(n,t,0,150,0),U_.closeSync(n)}catch(e){}return z_(t.toString())},K_="win32"===process.platform,V_=/\.(?:com|exe)$/i,Y_=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function Q_(e){if(!K_)return e;const t=function(e){e.file=G_(e);const t=e.file&&W_(e.file);return t?(e.args.unshift(e.file),e.command=t,G_(e)):e.file}(e),n=!V_.test(t);if(e.options.forceShell||n){const n=Y_.test(t);e.command=H_.normalize(e.command),e.command=q_.command(e.command),e.args=e.args.map((e=>q_.argument(e,n)));const i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}var Z_=function(e,t,n){t&&!Array.isArray(t)&&(n=t,t=null);const i={command:e,args:t=t?t.slice(0):[],options:n=Object.assign({},n),file:void 0,original:{command:e,args:t}};return n.shell?i:Q_(i)};const J_="win32"===process.platform;function X_(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function ew(e,t){return J_&&1===e&&!t.file?X_(t.original,"spawn"):null}var tw={hookChildProcess:function(e,t){if(!J_)return;const n=e.emit;e.emit=function(i,o){if("exit"===i){const i=ew(o,t);if(i)return n.call(e,"error",i)}return n.apply(e,arguments)}},verifyENOENT:ew,verifyENOENTSync:function(e,t){return J_&&1===e&&!t.file?X_(t.original,"spawnSync"):null},notFoundError:X_};const nw=F,iw=Z_,ow=tw;function rw(e,t,n){const i=iw(e,t,n),o=nw.spawn(i.command,i.args,i.options);return ow.hookChildProcess(o,i),o}b_.exports=rw,b_.exports.spawn=rw,b_.exports.sync=function(e,t,n){const i=iw(e,t,n),o=nw.spawnSync(i.command,i.args,i.options);return o.error=o.error||ow.verifyENOENTSync(o.status,i),o},b_.exports._parse=iw,b_.exports._enoent=ow;var sw=ye(b_.exports);function aw(e={}){const{env:t=process.env,platform:n=process.platform}=e;return"win32"!==n?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"}const cw=(t,n)=>{let i;for(;i!==n;)t.push(e.join(n,"node_modules/.bin")),i=n,n=e.resolve(n,"..")},lw=(t,n,i)=>{const o=n instanceof URL?A(n):n;t.push(e.resolve(i,o,".."))},pw=({env:t=T.env,...n}={})=>{const i=aw({env:t={...t}});return n.path=t[i],t[i]=(({cwd:t=T.cwd(),path:n=T.env[aw()],preferLocal:i=!0,execPath:o=T.execPath,addExecPath:r=!0}={})=>{const s=t instanceof URL?A(t):t,a=e.resolve(s),c=[];return i&&cw(c,a),r&&lw(c,o,a),[...c,n].join(e.delimiter)})(n),t},uw=(e,t,n,i)=>{if("length"===n||"prototype"===n)return;if("arguments"===n||"caller"===n)return;const o=Object.getOwnPropertyDescriptor(e,n),r=Object.getOwnPropertyDescriptor(t,n);!dw(o,r)&&i||Object.defineProperty(e,n,r)},dw=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},fw=(e,t)=>`/* Wrapped ${e}*/\n${t}`,mw=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),hw=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name");function gw(e,t,{ignoreNonConfigurable:n=!1}={}){const{name:i}=e;for(const i of Reflect.ownKeys(t))uw(e,t,i,n);return((e,t)=>{const n=Object.getPrototypeOf(t);n!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,n)})(e,t),((e,t,n)=>{const i=""===n?"":`with ${n.trim()}() `,o=fw.bind(null,i,t.toString());Object.defineProperty(o,"name",hw),Object.defineProperty(e,"toString",{...mw,value:o})})(e,t,i),e}const xw=new WeakMap,vw=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let n,i=0;const o=e.displayName||e.name||"<anonymous>",r=function(...s){if(xw.set(r,++i),1===i)n=e.apply(this,s),e=null;else if(!0===t.throw)throw new Error(`Function \`${o}\` can only be called once`);return n};return gw(r,e),xw.set(r,i),r};vw.callCount=e=>{if(!xw.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return xw.get(e)};const bw=(e,t)=>({name:`SIGRT${t+1}`,number:yw+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),yw=34,_w=64,ww=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}],Ew=()=>{const e=(()=>{const e=_w-yw+1;return Array.from({length:e},bw)})();return[...ww,...e].map(Sw)},Sw=({name:e,number:t,description:n,action:i,forced:o=!1,standard:r})=>{const{signals:{[e]:s}}=R,a=void 0!==s;return{name:e,number:a?s:t,description:n,supported:a,action:i,forced:o,standard:r}},kw=({name:e,number:t,description:n,supported:i,action:o,forced:r,standard:s})=>[e,{name:e,number:t,description:n,supported:i,action:o,forced:r,standard:s}],Rw=(()=>{const e=Ew();return Object.fromEntries(e.map(kw))})(),Tw=(e,t)=>{const n=Ow(e,t);if(void 0===n)return{};const{name:i,description:o,supported:r,action:s,forced:a,standard:c}=n;return{[e]:{name:i,number:e,description:o,supported:r,action:s,forced:a,standard:c}}},Ow=(e,t)=>{const n=t.find((({name:t})=>R.signals[t]===e));return void 0!==n?n:t.find((t=>t.number===e))};(()=>{const e=Ew(),t=_w+1,n=Array.from({length:t},((t,n)=>Tw(n,e)));Object.assign({},...n)})();const Aw=({stdout:e,stderr:t,all:n,error:i,signal:o,exitCode:r,command:s,escapedCommand:a,timedOut:c,isCanceled:l,killed:p,parsed:{options:{timeout:u,cwd:d=T.cwd()}}})=>{r=null===r?void 0:r;const f=void 0===(o=null===o?void 0:o)?void 0:Rw[o].description,m=(({timedOut:e,timeout:t,errorCode:n,signal:i,signalDescription:o,exitCode:r,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==n?`failed with ${n}`:void 0!==i?`was killed with ${i} (${o})`:void 0!==r?`failed with exit code ${r}`:"failed")({timedOut:c,timeout:u,errorCode:i&&i.code,signal:o,signalDescription:f,exitCode:r,isCanceled:l}),h=`Command ${m}: ${s}`,g="[object Error]"===Object.prototype.toString.call(i),x=g?`${h}\n${i.message}`:h,v=[x,t,e].filter(Boolean).join("\n");return g?(i.originalMessage=i.message,i.message=v):i=new Error(v),i.shortMessage=x,i.command=s,i.escapedCommand=a,i.exitCode=r,i.signal=o,i.signalDescription=f,i.stdout=e,i.stderr=t,i.cwd=d,void 0!==n&&(i.all=n),"bufferedData"in i&&delete i.bufferedData,i.failed=!0,i.timedOut=Boolean(c),i.isCanceled=l,i.killed=p&&!c,i},Cw=["stdin","stdout","stderr"],jw=e=>{if(!e)return;const{stdio:t}=e;if(void 0===t)return Cw.map((t=>e[t]));if((e=>Cw.some((t=>void 0!==e[t])))(e))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${Cw.map((e=>`\`${e}\``)).join(", ")}`);if("string"==typeof t)return t;if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);const n=Math.max(t.length,Cw.length);return Array.from({length:n},((e,n)=>t[n]))},Pw=e=>{const t=jw(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]},Lw=[];Lw.push("SIGHUP","SIGINT","SIGTERM"),"win32"!==process.platform&&Lw.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&Lw.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");const Iw=e=>!!e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on,Nw=Symbol.for("signal-exit emitter"),Fw=globalThis,Dw=Object.defineProperty.bind(Object);class $w{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(Fw[Nw])return Fw[Nw];Dw(Fw,Nw,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(e,t){this.listeners[e].push(t)}removeListener(e,t){const n=this.listeners[e],i=n.indexOf(t);-1!==i&&(0===i&&1===n.length?n.length=0:n.splice(i,1))}emit(e,t,n){if(this.emitted[e])return!1;this.emitted[e]=!0;let i=!1;for(const o of this.listeners[e])i=!0===o(t,n)||i;return"exit"===e&&(i=this.emit("afterExit",t,n)||i),i}}class Mw{}const Bw=globalThis.process,{onExit:Uw,load:zw,unload:Hw}=(Gw=Iw(Bw)?new class extends Mw{#n="win32"===Bw.platform?"SIGINT":"SIGHUP";#i=new $w;#o;#r;#s;#a={};#c=!1;constructor(e){super(),this.#o=e,this.#a={};for(const t of Lw)this.#a[t]=()=>{const n=this.#o.listeners(t);let{count:i}=this.#i;const o=e;if("object"==typeof o.__signal_exit_emitter__&&"number"==typeof o.__signal_exit_emitter__.count&&(i+=o.__signal_exit_emitter__.count),n.length===i){this.unload();const n=this.#i.emit("exit",null,t),i="SIGHUP"===t?this.#n:t;n||e.kill(e.pid,i)}};this.#s=e.reallyExit,this.#r=e.emit}onExit(e,t){if(!Iw(this.#o))return()=>{};!1===this.#c&&this.load();const n=t?.alwaysLast?"afterExit":"exit";return this.#i.on(n,e),()=>{this.#i.removeListener(n,e),0===this.#i.listeners.exit.length&&0===this.#i.listeners.afterExit.length&&this.unload()}}load(){if(!this.#c){this.#c=!0,this.#i.count+=1;for(const e of Lw)try{const t=this.#a[e];t&&this.#o.on(e,t)}catch(e){}this.#o.emit=(e,...t)=>this.#l(e,...t),this.#o.reallyExit=e=>this.#p(e)}}unload(){this.#c&&(this.#c=!1,Lw.forEach((e=>{const t=this.#a[e];if(!t)throw new Error("Listener not defined for signal: "+e);try{this.#o.removeListener(e,t)}catch(e){}})),this.#o.emit=this.#r,this.#o.reallyExit=this.#s,this.#i.count-=1)}#p(e){return Iw(this.#o)?(this.#o.exitCode=e||0,this.#i.emit("exit",this.#o.exitCode,null),this.#s.call(this.#o,this.#o.exitCode)):0}#l(e,...t){const n=this.#r;if("exit"===e&&Iw(this.#o)){"number"==typeof t[0]&&(this.#o.exitCode=t[0]);const i=n.call(this.#o,e,...t);return this.#i.emit("exit",this.#o.exitCode,null),i}return n.call(this.#o,e,...t)}}(Bw):new class extends Mw{onExit(){return()=>{}}load(){}unload(){}},{onExit:(e,t)=>Gw.onExit(e,t),load:()=>Gw.load(),unload:()=>Gw.unload()});var Gw;const qw=(e,t="SIGTERM",n={})=>{const i=e(t);return Ww(e,t,n,i),i},Ww=(e,t,n,i)=>{if(!Kw(t,n,i))return;const o=Yw(n),r=setTimeout((()=>{e("SIGKILL")}),o);r.unref&&r.unref()},Kw=(e,{forceKillAfterTimeout:t},n)=>Vw(e)&&!1!==t&&n,Vw=e=>e===S.constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),Yw=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e},Qw=(e,t)=>{e.kill()&&(t.isCanceled=!0)},Zw=(e,{timeout:t,killSignal:n="SIGTERM"},i)=>{if(0===t||void 0===t)return i;let o;const r=new Promise(((i,r)=>{o=setTimeout((()=>{((e,t,n)=>{e.kill(t),n(Object.assign(new Error("Timed out"),{timedOut:!0,signal:t}))})(e,n,r)}),t)})),s=i.finally((()=>{clearTimeout(o)}));return Promise.race([r,s])},Jw=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},Xw=async(e,{cleanup:t,detached:n},i)=>{if(!t||n)return i;const o=Uw((()=>{e.kill()}));return i.finally((()=>{o()}))};function eE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe}function tE(e){return eE(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState}const nE=(e,t,n)=>{if("string"==typeof n)return e[t].pipe(i(n)),e;if(tE(n))return e[t].pipe(n),e;if(!(e=>e instanceof N&&"function"==typeof e.then)(n))throw new TypeError("The second argument must be a string, a stream or an Execa child process.");if(!tE(n.stdin))throw new TypeError("The target child process's stdin must be available.");return e[t].pipe(n.stdin),n},iE=e=>{null!==e.stdout&&(e.pipeStdout=nE.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=nE.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=nE.bind(void 0,e,"all"))},oE=async(e,{init:t,convertChunk:n,getSize:i,truncateChunk:o,addChunk:r,getFinalChunk:s,finalize:a},{maxBuffer:c=Number.POSITIVE_INFINITY}={})=>{if(!cE(e))throw new Error("The first argument must be a Readable, a ReadableStream, or an async iterable.");const l=t();l.length=0;try{for await(const t of e){const e=n[lE(t)](t,l);sE({convertedChunk:e,state:l,getSize:i,truncateChunk:o,addChunk:r,maxBuffer:c})}return rE({state:l,convertChunk:n,getSize:i,truncateChunk:o,addChunk:r,getFinalChunk:s,maxBuffer:c}),a(l)}catch(e){throw e.bufferedData=a(l),e}},rE=({state:e,getSize:t,truncateChunk:n,addChunk:i,getFinalChunk:o,maxBuffer:r})=>{const s=o(e);void 0!==s&&sE({convertedChunk:s,state:e,getSize:t,truncateChunk:n,addChunk:i,maxBuffer:r})},sE=({convertedChunk:e,state:t,getSize:n,truncateChunk:i,addChunk:o,maxBuffer:r})=>{const s=n(e),a=t.length+s;if(a<=r)return void aE(e,t,o,a);const c=i(e,r-t.length);throw void 0!==c&&aE(c,t,o,r),new uE},aE=(e,t,n,i)=>{t.contents=n(e,t,i),t.length=i},cE=e=>"object"==typeof e&&null!==e&&"function"==typeof e[Symbol.asyncIterator],lE=e=>{const t=typeof e;if("string"===t)return"string";if("object"!==t||null===e)return"others";if(globalThis.Buffer?.isBuffer(e))return"buffer";const n=pE.call(e);return"[object ArrayBuffer]"===n?"arrayBuffer":"[object DataView]"===n?"dataView":Number.isInteger(e.byteLength)&&Number.isInteger(e.byteOffset)&&"[object ArrayBuffer]"===pE.call(e.buffer)?"typedArray":"others"},{toString:pE}=Object.prototype;class uE extends Error{name="MaxBufferError";constructor(){super("maxBuffer exceeded")}}const dE=e=>{throw new Error(`Streams in object mode are not supported: ${String(e)}`)},fE=e=>e.length;const mE=new TextEncoder,hE=e=>new Uint8Array(e),gE=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),xE=(e,t)=>{if(t<=e.byteLength)return e;const n=new ArrayBuffer(bE(t));return new Uint8Array(n).set(new Uint8Array(e),0),n},vE=(e,t)=>{if(t<=e.maxByteLength)return e.resize(t),e;const n=new ArrayBuffer(t,{maxByteLength:bE(t)});return new Uint8Array(n).set(new Uint8Array(e),0),n},bE=e=>yE**Math.ceil(Math.log(e)/Math.log(yE)),yE=2,_E=()=>"resize"in ArrayBuffer.prototype,wE={init:()=>({contents:new ArrayBuffer(0)}),convertChunk:{string:e=>mE.encode(e),buffer:hE,arrayBuffer:hE,dataView:gE,typedArray:gE,others:dE},getSize:fE,truncateChunk:(e,t)=>e.slice(0,t),addChunk:(e,{contents:t,length:n},i)=>{const o=_E()?vE(t,i):xE(t,i);return new Uint8Array(o).set(e,n),o},getFinalChunk:()=>{},finalize:({contents:e,length:t})=>_E()?e:e.slice(0,t)};async function EE(e,t){if(!("Buffer"in globalThis))throw new Error("getStreamAsBuffer() is only supported in Node.js");try{return SE(await async function(e,t){return oE(e,wE,t)}(e,t))}catch(e){throw void 0!==e.bufferedData&&(e.bufferedData=SE(e.bufferedData)),e}}const SE=e=>globalThis.Buffer.from(e);const kE=(e,{textDecoder:t})=>t.decode(e,{stream:!0}),RE={init:()=>({contents:"",textDecoder:new TextDecoder}),convertChunk:{string:e=>e,buffer:kE,arrayBuffer:kE,dataView:kE,typedArray:kE,others:dE},getSize:fE,truncateChunk:(e,t)=>e.slice(0,t),addChunk:(e,{contents:t})=>t+e,getFinalChunk:({textDecoder:e})=>{const t=e.decode();return""===t?void 0:t},finalize:({contents:e})=>e},{PassThrough:TE}=p;var OE=function(){var e=[],t=new TE({objectMode:!0});return t.setMaxListeners(0),t.add=n,t.isEmpty=function(){return 0==e.length},t.on("unpipe",i),Array.prototype.slice.call(arguments).forEach(n),t;function n(o){return Array.isArray(o)?(o.forEach(n),this):(e.push(o),o.once("end",i.bind(null,o)),o.once("error",t.emit.bind(t,"error")),o.pipe(t,{end:!1}),this)}function i(n){!(e=e.filter((function(e){return e!==n}))).length&&t.readable&&t.end()}},AE=ye(OE);const CE=({input:e,inputFile:t})=>"string"!=typeof t?e:((e=>{if(void 0!==e)throw new TypeError("The `input` and `inputFile` options cannot be both set.")})(e),o(t)),jE=(e,t)=>{const n=CE(t);void 0!==n&&(eE(n)?n.pipe(e.stdin):e.stdin.end(n))},PE=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;const n=AE();return e.stdout&&n.add(e.stdout),e.stderr&&n.add(e.stderr),n},LE=async(e,t)=>{if(e&&void 0!==t){await D(0),e.destroy();try{return await t}catch(e){return e.bufferedData}}},IE=(e,{encoding:t,buffer:n,maxBuffer:i})=>{if(e&&n)return"utf8"===t||"utf-8"===t?async function(e,t){return oE(e,RE,t)}(e,{maxBuffer:i}):null===t||"buffer"===t?EE(e,{maxBuffer:i}):NE(e,i,t)},NE=async(e,t,n)=>(await EE(e,{maxBuffer:t})).toString(n),FE=async({stdout:e,stderr:t,all:n},{encoding:i,buffer:o,maxBuffer:r},s)=>{const a=IE(e,{encoding:i,buffer:o,maxBuffer:r}),c=IE(t,{encoding:i,buffer:o,maxBuffer:r}),l=IE(n,{encoding:i,buffer:o,maxBuffer:2*r});try{return await Promise.all([s,a,c,l])}catch(i){return Promise.all([{error:i,signal:i.signal,timedOut:i.timedOut},LE(e,a),LE(t,c),LE(n,l)])}},DE=(async()=>{})().constructor.prototype,$E=["then","catch","finally"].map((e=>[e,Reflect.getOwnPropertyDescriptor(DE,e)])),ME=(e,t)=>{for(const[n,i]of $E){const o="function"==typeof t?(...e)=>Reflect.apply(i.value,t(),e):i.value.bind(t);Reflect.defineProperty(e,n,{...i,value:o})}},BE=e=>new Promise(((t,n)=>{e.on("exit",((e,n)=>{t({exitCode:e,signal:n})})),e.on("error",(e=>{n(e)})),e.stdin&&e.stdin.on("error",(e=>{n(e)}))})),UE=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],zE=/^[\w.-]+$/,HE=(e,t)=>UE(e,t).join(" "),GE=(e,t)=>UE(e,t).map((e=>(e=>"string"!=typeof e||zE.test(e)?e:`"${e.replaceAll('"','\\"')}"`)(e))).join(" "),qE=$("execa").enabled,WE=(e,t)=>String(e).padStart(t,"0"),KE=(e,{verbose:t})=>{t&&T.stderr.write(`[${(()=>{const e=new Date;return`${WE(e.getHours(),2)}:${WE(e.getMinutes(),2)}:${WE(e.getSeconds(),2)}.${WE(e.getMilliseconds(),3)}`})()}] ${e}\n`)},VE=(t,n,i={})=>{const o=sw._parse(t,n,i);return t=o.command,n=o.args,(i={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(i=o.options).cwd||T.cwd(),execPath:T.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:qE,...i}).env=(({env:e,extendEnv:t,preferLocal:n,localDir:i,execPath:o})=>{const r=t?{...T.env,...e}:e;return n?pw({env:r,cwd:i,execPath:o}):r})(i),i.stdio=jw(i),"win32"===T.platform&&"cmd"===e.basename(t,".exe")&&n.unshift("/q"),{file:t,args:n,options:i,parsed:o}},YE=(e,t,n)=>"string"==typeof t||L.isBuffer(t)?e.stripFinalNewline?function(e){const t="string"==typeof e?"\n":"\n".charCodeAt(),n="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===n&&(e=e.slice(0,-1)),e}(t):t:void 0===n?void 0:"";function QE(e,t,n){const i=VE(e,t,n),o=HE(e,t),r=GE(e,t);let s;KE(r,i.options),Jw(i.options);try{s=I.spawn(i.file,i.args,i.options)}catch(e){const t=new I.ChildProcess,n=Promise.reject(Aw({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:r,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return ME(t,n),t}const a=BE(s),c=Zw(s,i.options,a),l=Xw(s,i.options,c);s.kill=qw.bind(null,s.kill.bind(s)),s.cancel=Qw.bind(null,s,{isCanceled:!1});const p=vw((async()=>{const[{error:e,exitCode:t,signal:n,timedOut:a},c,p,u]=await FE(s,i.options,l),d=YE(i.options,c),f=YE(i.options,p),m=YE(i.options,u);if(e||0!==t||null!==n){const c=Aw({error:e,exitCode:t,signal:n,stdout:d,stderr:f,all:m,command:o,escapedCommand:r,parsed:i,timedOut:a,isCanceled:!!i.options.signal&&i.options.signal.aborted,killed:s.killed});if(!i.options.reject)return c;throw c}return{command:o,escapedCommand:r,exitCode:0,stdout:d,stderr:f,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}));return jE(s,i.options),s.all=PE(s,i.options),iE(s),ME(s,p),s}const ZE={}.hasOwnProperty,JE=/^([A-Z][a-z\d]*)+$/,XE=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),eS={};function tS(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}const nS=new Map;let iS;function oS(e,t,n){return nS.set(e,t),function(e,t){return n;function n(...n){const i=Error.stackTraceLimit;rS()&&(Error.stackTraceLimit=0);const o=new e;rS()&&(Error.stackTraceLimit=i);const r=function(e,t,n){const i=nS.get(e);if(U(void 0!==i,"expected `message` to be found"),"function"==typeof i)return U(i.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${i.length}).`),Reflect.apply(i,n,t);const o=/%[dfijoOs]/g;let r=0;for(;null!==o.exec(i);)r++;return U(r===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${r}).`),0===t.length?i:(t.unshift(i),Reflect.apply(M,null,t))}(t,n,o);return Object.defineProperties(o,{message:{value:r,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),sS(o),o.code=t,o}}(n,e)}function rS(){try{if(H.startupSnapshot.isBuildingSnapshot())return!1}catch{}const e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===e?Object.isExtensible(Error):ZE.call(e,"writable")&&void 0!==e.writable?e.writable:void 0!==e.set}eS.ERR_INVALID_ARG_TYPE=oS("ERR_INVALID_ARG_TYPE",((e,t,n)=>{U("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let i="The ";if(e.endsWith(" argument"))i+=`${e} `;else{const t=e.includes(".")?"property":"argument";i+=`"${e}" ${t} `}i+="must be ";const o=[],r=[],s=[];for(const e of t)U("string"==typeof e,"All expected entries have to be of type string"),XE.has(e)?o.push(e.toLowerCase()):null===JE.exec(e)?(U("object"!==e,'The value "object" should be written as "Object"'),s.push(e)):r.push(e);if(r.length>0){const e=o.indexOf("object");-1!==e&&(o.slice(e,1),r.push("Object"))}return o.length>0&&(i+=`${o.length>1?"one of type":"of type"} ${tS(o,"or")}`,(r.length>0||s.length>0)&&(i+=" or ")),r.length>0&&(i+=`an instance of ${tS(r,"or")}`,s.length>0&&(i+=" or ")),s.length>0&&(s.length>1?i+=`one of ${tS(s,"or")}`:(s[0].toLowerCase()!==s[0]&&(i+="an "),i+=`${s[0]}`)),i+=`. Received ${function(e){if(null==e)return String(e);if("function"==typeof e&&e.name)return`function ${e.name}`;if("object"==typeof e)return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${B(e,{depth:-1})}`;let t=B(e,{colors:!1});t.length>28&&(t=`${t.slice(0,25)}...`);return`type ${typeof e} (${t})`}(n)}`,i}),TypeError),eS.ERR_INVALID_MODULE_SPECIFIER=oS("ERR_INVALID_MODULE_SPECIFIER",((e,t,n=void 0)=>`Invalid module "${e}" ${t}${n?` imported from ${n}`:""}`),TypeError),eS.ERR_INVALID_PACKAGE_CONFIG=oS("ERR_INVALID_PACKAGE_CONFIG",((e,t,n)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${n?`. ${n}`:""}`),Error),eS.ERR_INVALID_PACKAGE_TARGET=oS("ERR_INVALID_PACKAGE_TARGET",((e,t,n,i=!1,o=void 0)=>{const r="string"==typeof n&&!i&&n.length>0&&!n.startsWith("./");return"."===t?(U(!1===i),`Invalid "exports" main target ${JSON.stringify(n)} defined in the package config ${e}package.json${o?` imported from ${o}`:""}${r?'; targets must start with "./"':""}`):`Invalid "${i?"imports":"exports"}" target ${JSON.stringify(n)} defined for '${t}' in the package config ${e}package.json${o?` imported from ${o}`:""}${r?'; targets must start with "./"':""}`}),Error),eS.ERR_MODULE_NOT_FOUND=oS("ERR_MODULE_NOT_FOUND",((e,t,n=!1)=>`Cannot find ${n?"module":"package"} '${e}' imported from ${t}`),Error),eS.ERR_NETWORK_IMPORT_DISALLOWED=oS("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),eS.ERR_PACKAGE_IMPORT_NOT_DEFINED=oS("ERR_PACKAGE_IMPORT_NOT_DEFINED",((e,t,n)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${n}`),TypeError),eS.ERR_PACKAGE_PATH_NOT_EXPORTED=oS("ERR_PACKAGE_PATH_NOT_EXPORTED",((e,t,n=void 0)=>"."===t?`No "exports" main defined in ${e}package.json${n?` imported from ${n}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${n?` imported from ${n}`:""}`),Error),eS.ERR_UNSUPPORTED_DIR_IMPORT=oS("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),eS.ERR_UNKNOWN_FILE_EXTENSION=oS("ERR_UNKNOWN_FILE_EXTENSION",((e,t)=>`Unknown file extension "${e}" for ${t}`),TypeError),eS.ERR_INVALID_ARG_VALUE=oS("ERR_INVALID_ARG_VALUE",((e,t,n="is invalid")=>{let i=B(t);i.length>128&&(i=`${i.slice(0,128)}...`);return`The ${e.includes(".")?"property":"argument"} '${e}' ${n}. Received ${i}`}),TypeError);const sS=function(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}((function(e){const t=rS();return t&&(iS=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=iS),e}));const aS={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:cS}=eS,lS=new Map,pS={read:function(t,{base:i,specifier:o}){const r=lS.get(t);if(r)return r;let s;try{s=n.readFileSync(e.toNamespacedPath(t),"utf8")}catch(e){const t=e;if("ENOENT"!==t.code)throw t}const a={exists:!1,pjsonPath:t,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(void 0!==s){let e;try{e=JSON.parse(s)}catch(e){const n=e,r=new cS(t,(i?`"${o}" from `:"")+A(i||o),n.message);throw r.cause=n,r}a.exists=!0,aS.call(e,"name")&&"string"==typeof e.name&&(a.name=e.name),aS.call(e,"main")&&"string"==typeof e.main&&(a.main=e.main),aS.call(e,"exports")&&(a.exports=e.exports),aS.call(e,"imports")&&(a.imports=e.imports),!aS.call(e,"type")||"commonjs"!==e.type&&"module"!==e.type||(a.type=e.type)}return lS.set(t,a),a}};function uS(e){let t=new C("package.json",e);for(;;){if(t.pathname.endsWith("node_modules/package.json"))break;const n=pS.read(A(t),{specifier:e});if(n.exists)return n;const i=t;if(t=new C("../package.json",t),t.pathname===i.pathname)break}return{pjsonPath:A(t),exists:!1,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0}}function dS(e){return uS(e).type}const{ERR_UNKNOWN_FILE_EXTENSION:fS}=eS,mS={}.hasOwnProperty,hS={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};const gS={__proto__:null,"data:":function(e){const{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return function(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":"application/json"===e?"json":null}(t)},"file:":function(e,t,n){const i=function(e){const t=e.pathname;let n=t.length;for(;n--;){const e=t.codePointAt(n);if(47===e)return"";if(46===e)return 47===t.codePointAt(n-1)?"":t.slice(n)}return""}(e);if(".js"===i){const t=dS(e);return"none"!==t?t:"commonjs"}if(""===i){const t=dS(e);return"none"===t||"commonjs"===t?"commonjs":"module"}const o=hS[i];if(o)return o;if(n)return;const r=A(e);throw new fS(i,r)},"http:":xS,"https:":xS,"node:":()=>"builtin"};function xS(){}function vS(e,t){const n=e.protocol;return mS.call(gS,n)&&gS[n](e,t,!0)||null}const{ERR_INVALID_ARG_VALUE:bS}=eS,yS=Object.freeze(["node","import"]),_S=new Set(yS);function wS(e){if(void 0!==e&&e!==yS){if(!Array.isArray(e))throw new bS("conditions",e,"expected an array");return new Set(e)}return _S}const ES=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:SS,ERR_INVALID_MODULE_SPECIFIER:kS,ERR_INVALID_PACKAGE_CONFIG:RS,ERR_INVALID_PACKAGE_TARGET:TS,ERR_MODULE_NOT_FOUND:OS,ERR_PACKAGE_IMPORT_NOT_DEFINED:AS,ERR_PACKAGE_PATH_NOT_EXPORTED:CS,ERR_UNSUPPORTED_DIR_IMPORT:jS}=eS,PS={}.hasOwnProperty,LS=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,IS=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,NS=/^\.|%|\\/,FS=/\*/g,DS=/%2f|%5c/i,$S=new Set,MS=/[/\\]{2}/;function BS(e,t,n,i,o,r,s){if(T.noDeprecation)return;const a=A(i),c=null!==MS.exec(s?e:t);T.emitWarning(`Use of deprecated ${c?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===n?"":`matched to "${n}" `}in the "${o?"imports":"exports"}" field module resolution of the package at ${a}${r?` imported from ${A(r)}`:""}.`,"DeprecationWarning","DEP0166")}function US(t,n,i,o){if(T.noDeprecation)return;if("module"!==vS(t,{parentURL:i.href}))return;const r=A(t.href),s=A(new C(".",n)),a=A(i);o?e.resolve(s,o)!==r&&T.emitWarning(`Package ${s} has a "main" field set to "${o}", excluding the full filename and extension to the resolved file at "${r.slice(s.length)}", imported from ${a}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):T.emitWarning(`No "main" or "exports" field defined in the package.json for ${s} resolving the main entry point "${r.slice(s.length)}", imported from ${a}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function zS(e){try{return s(e)}catch{return new a}}function HS(e){const t=s(e,{throwIfNoEntry:!1}),n=t?t.isFile():void 0;return null!=n&&n}function GS(e,t,n){let i;if(void 0!==t.main){if(i=new C(t.main,e),HS(i))return i;const o=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`];let r=-1;for(;++r<o.length&&(i=new C(o[r],e),!HS(i));)i=void 0;if(i)return US(i,e,n,t.main),i}const o=["./index.js","./index.json","./index.node"];let r=-1;for(;++r<o.length&&(i=new C(o[r],e),!HS(i));)i=void 0;if(i)return US(i,e,n,t.main),i;throw new OS(A(new C(".",e)),A(n))}function qS(e,t,n){return new CS(A(new C(".",t)),e,n&&A(n))}function WS(e,t,n,i,o){return t="object"==typeof t&&null!==t?JSON.stringify(t,null,""):`${t}`,new TS(A(new C(".",n)),e,t,i,o&&A(o))}function KS(e,t,n,i,o,r,s,a,c){if(""!==t&&!r&&"/"!==e[e.length-1])throw WS(n,e,i,s,o);if(!e.startsWith("./")){if(s&&!e.startsWith("../")&&!e.startsWith("/")){let n=!1;try{new C(e),n=!0}catch{}if(!n){return ek(r?ES.call(FS,e,(()=>t)):e+t,i,c)}}throw WS(n,e,i,s,o)}if(null!==LS.exec(e.slice(2))){if(null!==IS.exec(e.slice(2)))throw WS(n,e,i,s,o);if(!a){const a=r?n.replace("*",(()=>t)):n+t;BS(r?ES.call(FS,e,(()=>t)):e,a,n,i,s,o,!0)}}const l=new C(e,i),p=l.pathname,u=new C(".",i).pathname;if(!p.startsWith(u))throw WS(n,e,i,s,o);if(""===t)return l;if(null!==LS.exec(t)){const c=r?n.replace("*",(()=>t)):n+t;if(null===IS.exec(t)){if(!a){BS(r?ES.call(FS,e,(()=>t)):e,c,n,i,s,o,!1)}}else!function(e,t,n,i,o){const r=`request is not a valid match in pattern "${t}" for the "${i?"imports":"exports"}" resolution of ${A(n)}`;throw new kS(e,r,o&&A(o))}(c,n,i,s,o)}return r?new C(ES.call(FS,l.href,(()=>t))):new C(t,l)}function VS(e){const t=Number(e);return`${t}`===e&&(t>=0&&t<4294967295)}function YS(e,t,n,i,o,r,s,a,c){if("string"==typeof t)return KS(t,n,i,e,o,r,s,a,c);if(Array.isArray(t)){const l=t;if(0===l.length)return null;let p,u=-1;for(;++u<l.length;){const t=l[u];let d;try{d=YS(e,t,n,i,o,r,s,a,c)}catch(e){if(p=e,"ERR_INVALID_PACKAGE_TARGET"===e.code)continue;throw e}if(void 0!==d){if(null!==d)return d;p=null}}if(null==p)return null;throw p}if("object"==typeof t&&null!==t){const l=Object.getOwnPropertyNames(t);let p=-1;for(;++p<l.length;){if(VS(l[p]))throw new RS(A(e),o,'"exports" cannot contain numeric property keys.')}for(p=-1;++p<l.length;){const u=l[p];if("default"===u||c&&c.has(u)){const l=YS(e,t[u],n,i,o,r,s,a,c);if(void 0===l)continue;return l}}return null}if(null===t)return null;throw WS(i,t,e,s,o)}function QS(e,t,n){if(T.noDeprecation)return;const i=A(t);$S.has(i+"|"+e)||($S.add(i+"|"+e),T.emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${i}${n?` imported from ${A(n)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function ZS(e,t,n,i,o){let r=n.exports;if(function(e,t,n){if("string"==typeof e||Array.isArray(e))return!0;if("object"!=typeof e||null===e)return!1;const i=Object.getOwnPropertyNames(e);let o=!1,r=0,s=-1;for(;++s<i.length;){const e=i[s],a=""===e||"."!==e[0];if(0==r++)o=a;else if(o!==a)throw new RS(A(t),n,"\"exports\" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.")}return o}(r,e,i)&&(r={".":r}),PS.call(r,t)&&!t.includes("*")&&!t.endsWith("/")){const n=YS(e,r[t],"",t,i,!1,!1,!1,o);if(null==n)throw qS(t,e,i);return n}let s="",a="";const c=Object.getOwnPropertyNames(r);let l=-1;for(;++l<c.length;){const n=c[l],o=n.indexOf("*");if(-1!==o&&t.startsWith(n.slice(0,o))){t.endsWith("/")&&QS(t,e,i);const r=n.slice(o+1);t.length>=n.length&&t.endsWith(r)&&1===JS(s,n)&&n.lastIndexOf("*")===o&&(s=n,a=t.slice(o,t.length-r.length))}}if(s){const n=YS(e,r[s],a,s,i,!0,!1,t.endsWith("/"),o);if(null==n)throw qS(t,e,i);return n}throw qS(t,e,i)}function JS(e,t){const n=e.indexOf("*"),i=t.indexOf("*"),o=-1===n?e.length:n+1,r=-1===i?t.length:i+1;return o>r?-1:r>o||-1===n?1:-1===i||e.length>t.length?-1:t.length>e.length?1:0}function XS(e,t,n){if("#"===e||e.startsWith("#/")||e.endsWith("/")){throw new kS(e,"is not a valid internal imports specifier name",A(t))}let i;const o=uS(t);if(o.exists){i=j(o.pjsonPath);const r=o.imports;if(r)if(PS.call(r,e)&&!e.includes("*")){const o=YS(i,r[e],"",e,t,!1,!0,!1,n);if(null!=o)return o}else{let o="",s="";const a=Object.getOwnPropertyNames(r);let c=-1;for(;++c<a.length;){const t=a[c],n=t.indexOf("*");if(-1!==n&&e.startsWith(t.slice(0,-1))){const i=t.slice(n+1);e.length>=t.length&&e.endsWith(i)&&1===JS(o,t)&&t.lastIndexOf("*")===n&&(o=t,s=e.slice(n,e.length-i.length))}}if(o){const e=YS(i,r[o],s,o,t,!0,!0,!1,n);if(null!=e)return e}}}throw function(e,t,n){return new AS(e,t&&A(new C(".",t)),A(n))}(e,i,t)}function ek(e,t,n){if(z.includes(e))return new C("node:"+e);const{packageName:i,packageSubpath:o,isScoped:r}=function(e,t){let n=e.indexOf("/"),i=!0,o=!1;"@"===e[0]&&(o=!0,-1===n||0===e.length?i=!1:n=e.indexOf("/",n+1));const r=-1===n?e:e.slice(0,n);if(null!==NS.exec(r)&&(i=!1),!i)throw new kS(e,"is not a valid package name",A(t));return{packageName:r,packageSubpath:"."+(-1===n?"":e.slice(n)),isScoped:o}}(e,t),s=uS(t);if(s.exists){const e=j(s.pjsonPath);if(s.name===i&&void 0!==s.exports&&null!==s.exports)return ZS(e,o,s,t,n)}let a,c=new C("./node_modules/"+i+"/package.json",t),l=A(c);do{if(!zS(l.slice(0,-13)).isDirectory()){a=l,c=new C((r?"../../../../node_modules/":"../../../node_modules/")+i+"/package.json",c),l=A(c);continue}const s=pS.read(l,{base:t,specifier:e});return void 0!==s.exports&&null!==s.exports?ZS(c,o,s,t,n):"."===o?GS(c,s,t):new C(o,c)}while(l.length!==a.length);throw new OS(i,A(t),!1)}function tk(e){return""!==e&&("/"===e[0]||function(e){if("."===e[0]){if(1===e.length||"/"===e[1])return!0;if("."===e[1]&&(2===e.length||"/"===e[2]))return!0}return!1}(e))}function nk(t,n,i,o){const s=n.protocol,a="http:"===s||"https:"===s;let c;if(tk(t))c=new C(t,n);else if(a||"#"!==t[0])try{c=new C(t)}catch{a||(c=ek(t,n,i))}else c=XS(t,n,i);return U(void 0!==c,"expected to be defined"),"file:"!==c.protocol?c:function(t,n,i){if(null!==DS.exec(t.pathname))throw new kS(t.pathname,'must not include encoded "/" or "\\" characters',A(n));let o;try{o=A(t)}catch(e){const i=e;throw Object.defineProperty(i,"input",{value:String(t)}),Object.defineProperty(i,"module",{value:String(n)}),i}const s=zS(o.endsWith("/")?o.slice(-1):o);if(s.isDirectory()){const e=new jS(o,A(n));throw e.url=String(t),e}if(!s.isFile()){const e=new OS(o||t.pathname,n&&A(n),!0);throw e.url=String(t),e}if(!i){const n=r(o),{search:i,hash:s}=t;(t=j(n+(o.endsWith(e.sep)?"/":""))).search=i,t.hash=s}return t}(c,n,o)}function ik(e){if(void 0!==e&&"string"!=typeof e&&!function(e){return Boolean(e&&"object"==typeof e&&"href"in e&&"string"==typeof e.href&&"protocol"in e&&"string"==typeof e.protocol&&e.href&&e.protocol)}(e))throw new eS.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}function ok(e,t={}){const{parentURL:n}=t;let i,o;if(U(void 0!==n,"expected `parentURL` to be defined"),ik(n),n)try{i=new C(n)}catch{}try{o=tk(e)?new C(e,i):new C(e);if("data:"===o.protocol)return{url:o.href,format:null}}catch{}const r=function(e,t,n){if(n){const i=n.protocol;if("http:"===i||"https:"===i){if(tk(e)){const i=t?.protocol;if(i&&"https:"!==i&&"http:"!==i)throw new SS(e,n,"remote imports cannot import from a local location.");return{url:t?.href||""}}if(z.includes(e))throw new SS(e,n,"remote imports cannot import from a local location.");throw new SS(e,n,"only relative and absolute specifiers are supported.")}}}(e,o,i);if(r)return r;if(o&&"node:"===o.protocol)return{url:e};const s=wS(t.conditions),a=nk(e,new C(n),s,!1);return{url:a.href,format:vS(a,{parentURL:n})}}const rk=O.fileURLToPath(function(e,t){if(!t)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return ok(e,{parentURL:t}).url}catch(e){const t=e;if(("ERR_UNSUPPORTED_DIR_IMPORT"===t.code||"ERR_MODULE_NOT_FOUND"===t.code)&&"string"==typeof t.url)return t.url;throw e}}("@comate/plugin-host/bin",import.meta.url));function sk(e,t){const n=["--no-warnings",...t.nodeOptions??[]],i=function(e,t,n={}){t&&!Array.isArray(t)&&"object"==typeof t&&(n=t,t=[]);const i=Pw(n),o=T.execArgv.filter((e=>!e.startsWith("--inspect"))),{nodePath:r=T.execPath,nodeOptions:s=o}=n;return QE(r,[...s,e,...Array.isArray(t)?t:[]],{...n,stdin:void 0,stdout:void 0,stderr:void 0,stdio:i,shell:!1})}(rk,[],{nodeOptions:n,env:{...process.env,COMATE_PLUGIN_GROUP_KEY:e}});return i.on("exit",(e=>{e&&t.onUnexpectedExit?.(e)})),i.catch((e=>{e&&t.onUnexpectedError?.(e)})),i.on("message",(e=>{if(!e.comateInternalEvent)return;const n=e.comateInternalEvent;"PLUGIN_SETUP"===n.type&&t.onPluginSetup?.(n.payload.pluginName)})),i}async function ak(e,t){await async function(e){return new Promise((t=>{const n={comateInternalEvent:{type:"PING"}},i=setInterval((()=>e.send(n)),100),o=setTimeout((()=>{clearInterval(i),t(!1)}),1e3);e.once("message",(()=>{clearTimeout(o),clearInterval(i),t(!0)}))}))}(e);const n={comateInternalEvent:{type:"PLUGIN_ATTACH",payload:{directory:t.directory}}};e?.send(n);return function(e,t,n){"function"==typeof n&&(n={filter:n});const i=f_(e,t,n={...n,count:1,resolveImmediately:!1}),o=i.then((e=>e[0]));return o.cancel=i.cancel,o}(e,"message",(e=>{const n=e.comateInternalEvent;return"PLUGIN_SETUP"===n?.type&&n.payload.pluginName===t.name}))}class ck{deletedFilePath=[];diagnosticCache=new Map([]);async start(e){await this.init(e),this.watch(e)}put(e){this.diagnosticCache.set(e.filename,{diagnostics:e.diagnostics})}get(e){this.beforeGet(e);return this.diagnosticCache.get(e.context?.activeFilePath)}hasDiagnostics(){for(const e of this.diagnosticCache.values())if(e.diagnostics.length>0)return!0;return!1}isDirectory(e){try{return n.lstatSync(e).isDirectory()}catch(e){return!1}}isModifiedRecently(e,t){try{const i=n.statSync(e);return!(Date.now()-i.mtimeMs>t)}catch(e){return!1}}isAddedRecently(e,t){try{const i=n.statSync(e);return!(Date.now()-i.birthtimeMs>t)}catch(e){return!1}}async getChangedFiles(t,n){try{const{stdout:i}=await QE("git",["status","-s"],{cwd:t}),{stdout:o}=await QE("git",["ls-files","--others","--exclude-standard"],{cwd:t}),r=i.split("\n").filter((e=>e.trim())),s=o.split("\n").filter((e=>e.trim())).map((e=>`?? ${e}`)),a={added:[],deleted:[],modified:[]};return[...new Set([...r,...s])].forEach((i=>{const o=i.slice(0,2),r=i.slice(3).trim(),s=e.join(t,r.replace(/^"|"$/g,""));if(this.isDirectory(s))return;const c=this.isModifiedRecently(s,n),l=this.isAddedRecently(s,n);switch(o){case"??":l?a.added.push(s):c&&a.modified.push(s);break;case"D ":case" D":this.deletedFilePath.includes(s)||(this.deletedFilePath.push(s),a.deleted.push(s));break;case"M ":case" M":case"MM":case"AM":case" AM":case"MA":c&&a.modified.push(s)}})),a}catch{return{added:[],deleted:[],modified:[]}}}watch(e){let t=!1;setInterval((async()=>{if(t)return;t=!0;const n=await this.getChangedFiles(e.systemInfo.cwd,5e3),{added:i,modified:o,deleted:r}=n,s=o.length+i.length+r.length;s>0&&s<100&&await this.handleChangedFiles(e,n),t=!1}),5e3)}}const lk=516096;class pk{conversationBuffer=new Map([]);cleanupInterval;constructor(){this.cleanupInterval=setInterval((()=>this.cleanup()),36e5)}dispose(){this.cleanupInterval&&clearInterval(this.cleanupInterval),this.conversationBuffer.clear()}clear(e){e?this.conversationBuffer.delete(e):this.conversationBuffer.clear()}get(e){const t=this.conversationBuffer.get(e);return t?(t.lastAccessed=Date.now(),t.messages.slice(-10)):[]}putUser(e,t,n){const i={...n};if("object"==typeof e){const{onlyQuery:t}=e;t&&(i.originalQuery=t)}const o=this.conversationBuffer.get(t);if(o){if(o.messages.push(i),o.lastAccessed=Date.now(),this.getTotalChars(o.messages)>lk)for(;this.getTotalChars(o.messages)>lk&&o.messages.length>1;)o.messages.shift()}else this.conversationBuffer.set(t,{messages:[i],lastAccessed:Date.now()})}putAssistant(e,t){const n=this.conversationBuffer.get(e);if(n){if(n.messages.push({role:"assistant",content:t}),n.lastAccessed=Date.now(),this.getTotalChars(n.messages)>lk)for(;this.getTotalChars(n.messages)>lk&&n.messages.length>1;)n.messages.shift();n.messages.length>10&&(n.messages=n.messages.slice(-10))}}getConversationId(e,t,n){let i=`${t}/${n}`;if("object"==typeof e){const{byPlugin:n}=e;n&&(i=t)}return i}trimConversation(e,t=516096){const n=this.conversationBuffer.get(e);if(n){let e=0;const i=[];for(let o=n.messages.length-1;o>=0;o--){const r=n.messages[o];o!==n.messages.length-1&&r.originalQuery&&(r.content=r.originalQuery);const s=r.content.length;if(!(e+s<=t))break;i.unshift(r),e+=s}return i}return null}cleanup(){const e=Date.now();for(const[t,n]of this.conversationBuffer.entries())e-n.lastAccessed>864e5&&this.conversationBuffer.delete(t)}getTotalChars(e){return e.reduce(((e,t)=>e+t.content.length),0)}}class uk{channelGroupManager;registry=new n_;plugins=new Map;ideChannel;pluginDirectories;localConfig;constructor(e){this.pluginDirectories=e.pluginDirectories,this.localConfig=e.localConfig,this.channelGroupManager=e.channelGroupManager,this.ideChannel=new o_(e.channel??process,this.registry,this.plugins)}async start(){this.ideChannel.start();for(const e of this.pluginDirectories)await this.run(e)}async stop(){for(const e of this.plugins.values())await e.dispose()}listAllCapabilities(){return this.registry.listAllCapabilities()}async suggestCapabilitiesByMatch(e){const t={canHandle:fg,cwd:e.systemInfo.cwd,context:e.context};return await this.registry.suggestCapabilitiesByMatch(t)}async run(e){this.ideChannel.log(this.constructor.name,"PluginLoadStart",{directory:e});try{const t=await ve(e),n=this.localConfig?.[t.name]?.debug?.inspectPort,i={plugin:t,directory:e,registry:this.registry,groupManager:this.channelGroupManager,inspectPort:n},o=new ay(i);await o.setup(),this.plugins.set(t.name,o),this.ideChannel.log(this.constructor.name,"PluginLoadFish",{directory:e})}catch{this.ideChannel.log(this.constructor.name,"PluginLoadError",{directory:e})}}}export{a_ as ChannelGroupManager,pk as ConversationBufferMemory,ck as DiagnosticCache,s_ as PluginChannel,uk as PluginEngine,sk as forkPluginProcess,ak as invokePluginSetupToProcess};
|