@comate/zulu 0.0.11 → 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.
@@ -1,17 +1,17 @@
1
- import e from"node:path";import t from"node:fs/promises";import n,{promises as i,exists as s,mkdir as a,existsSync as o,readFileSync 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 h,{basename as f}from"path";import x,{EOL as v}from"os";import g from"http";import b from"https";import y from"url";import _ from"crypto";import w from"tty";import E from"zlib";import k,{EventEmitter as S}from"events";import T,{homedir as R}from"node:os";import A from"node:process";import{fileURLToPath as C}from"node:url";import{Transform as O}from"node:stream";import j from"node:crypto";const P="CHAT_QUERY",L="CHAT_TASK_PROGRESS",N="LOG",I={p:["children"],span:["children"],ul:["children"],ol:["children"],em:["children"],strong:["children"],code:["children"],blockquote:["children"],h1:["children"],h2:["children"],h3:["children"],h4:["children"],h5:["children"],h6:["children"],li:["children"],table:["children"],thead:["children"],tbody:["children"],tr:["children"],th:["children"],td:["children"],br:[],hr:[],img:["src","alt","width","height"],a:["href","children"]};function D(e){return!!I[e.type]}const F=new Set(["command-button"]);function M(e){return!!e&&(Array.isArray(e)?e.some(M):"string"!=typeof e&&(!!F.has(e.type)||(!!F.has(e.children?.type)||!!e.children&&(Array.isArray(e.children)?e.children.some(M):M(e.children)))))}function $(e){return"object"==typeof e&&"command"in e&&("draw"===e.command||"fail"===e.command)}function U(e){return"object"==typeof e&&"command"in e&&"section"===e.command}function B(e){return $(e)?e.content:U(e)?null:e}class z{current=0;next(){return++this.current}}class H{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 q{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 G{tasks=new Map;start(e){const t=this.tasks.get(e)??new q;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 W="SESSION_START",K="SESSION_FINISH";class V{sessionId;parent;lifeCycleConnected;listeners=new Map;channel;timeoutTimer;executions=new H;streams=new G;incrementer=new z;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!==N&&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:W}),this.send(e)}finish(){clearTimeout(this.timeoutTimer),this.log("system",this.constructor.name,"SessionFinish"),this.send({action:K})}log(e,t,n,i){this.parent?this.parent.log(e,t,n,i):this.send({action:N,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(N),this.setListener(K,(async()=>{this.parent&&this.lifeCycleConnected&&this.parent.send({action:K})}))}}class Q{implement;sessions=new Map;tasks=new H;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:a}=e;if("string"!=typeof n)return;const o=this.sessions.get(s)??this.createSession({association:s});this.sessions.set(s,o),await o.handleMessage(n,i,a),n===K&&(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:N,payload:{level:"system",source:e,action:t,detail:n}}};this.implement.send(i)}}const Y="REQUEST_PERMISSION";var J;!function(e){e.WorkspaceFileSystem="WorkspaceFileSystem",e.FullDiskFileSystem="FullDiskFileSystem",e.CodeSecurity="CodeSecurity",e.UserDetail="UserDetail"}(J||(J={}));const Z="ASK_LLM",X="ASK_LLM_STREAMING";var ee,te,ne;!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"}(ee||(ee={})),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"}(te||(te={})),function(e){e.Default="default-model",e.ErnieBot="ernie-bot",e.ErnieBot4="ernie-bot-4"}(ne||(ne={}));const ie="GET_PLUGIN_CONFIG",se="UPDATE_ENGINE_CONFIG",ae="PLUS_MODULE_LIST_FETCH",oe="PLUS_MODULE_LIST_RESULT",re="INFORMATION_QUERY";var ce,pe;!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"}(ce||(ce={})),function(e){e.Text="TEXT",e.Code="CODE",e.File="FILE"}(pe||(pe={}));const le="SCAN_QUERY",ue="WILL_SCAN",de="SCAN_TASK",me="RELEASE_SCAN_TASK",he="SCAN_TASK_PROGRESS",fe="SCAN_CACHE_COUNT",xe="COMATE_PLUS_SA_SCAN_INIT",ve="COMATE_PLUS_SA_SCAN_DIAGNOSTIC",ge="SA_SCAN_DIAGNOSTIC",be="SA_SCAN_DIAGNOSTIC_RESULT",ye="ACTION_START_BACKGROUND_SERVICE",_e="QUERY_SELECTOR",we="ACTION_CUSTOM_COMMAND",Ee="COMATE_PLUS_DIAGNOSTIC_SCAN",ke="DIAGNOSTIC_SCAN_TASK_PROGRESS",Se="DIAGNOSTIC_SCAN",Te="DIAGNOSTIC_SCAN_TASK_COUNT";var Re;!function(e){e.INIT="INIT",e.PROCESSING="PROCESSING",e.SUCCEED="SUCCEED",e.FAIL="FAIL"}(Re||(Re={}));const Ae="ACCEPT_DIR";var Ce,Oe,je;!function(e){e.Failed="failed",e.Success="success",e.InProgress="inProgress",e.Cancelled="cancelled"}(Ce||(Ce={})),function(e){e.UNREADY="unready",e.READY="ready",e.RUNNING="running",e.SUCCESS="success",e.FAILED="failed",e.CANCELLED="cancelled"}(Oe||(Oe={})),function(e){e.SecuBotConversation="SecuBotConversation",e.DebugBotConversation="DebugBotConversation",e.TestBotConversation="TestBotConversation",e.E2EBotConversation="E2EBotConversation",e.F2cBotConversation="F2cBotConversation"}(je||(je={}));const Pe={[je.SecuBotConversation]:"安全智能体",[je.DebugBotConversation]:"Debug智能体",[je.TestBotConversation]:"单测智能体",[je.E2EBotConversation]:"端到端智能体",[je.F2cBotConversation]:"F2C智能体"};var Le;!function(e){e.Ready="Ready",e.Running="Running",e.Failed="Failed",e.Completed="Completed",e.Cancelled="Cancelled"}(Le||(Le={}));const Ne="ACTION_DEBUG_TASK_PROCESS",Ie="ACTION_ASK_RAG",De="ACTION_GENERATE_MESSAGE",Fe="ACTION_GENERATE_MESSAGE_REPORT",Me="ACTION_BRANCH_CHANGE",$e="ACTION_SECUBOT",Ue="ACTION_SECUBOT_TASK_PROGRESS",Be="为我的代码库扫描可能的安全漏洞",ze="CODE_SEARCH",He="START_ISCAN_AND_GET_SEC_RESULT",qe="START_ISCAN_BY_SAVE",Ge="START_ISCAN",We="ISCAN_RESULT",Ke="ISCAN_JOB_BUILD_ID",Ve="SCAN_NOTIFICATION",Qe=".comate/mcp.json";async function Ye(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 Je;(()=>{var e={470:e=>{function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,i="",s=0,a=-1,o=0,r=0;r<=e.length;++r){if(r<e.length)n=e.charCodeAt(r);else{if(47===n)break;n=47}if(47===n){if(a===r-1||1===o);else if(a!==r-1&&2===o){if(i.length<2||2!==s||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var c=i.lastIndexOf("/");if(c!==i.length-1){-1===c?(i="",s=0):s=(i=i.slice(0,c)).length-1-i.lastIndexOf("/"),a=r,o=0;continue}}else if(2===i.length||1===i.length){i="",s=0,a=r,o=0;continue}t&&(i.length>0?i+="/..":i="..",s=2)}else i.length>0?i+="/"+e.slice(a+1,r):i=e.slice(a+1,r),s=r-a-1;a=r,o=0}else 46===n&&-1!==o?++o:o=-1}return i}var i={resolve:function(){for(var e,i="",s=!1,a=arguments.length-1;a>=-1&&!s;a--){var o;a>=0?o=arguments[a]:(void 0===e&&(e=process.cwd()),o=e),t(o),0!==o.length&&(i=o+"/"+i,s=47===o.charCodeAt(0))}return i=n(i,!s),s?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var i=47===e.charCodeAt(0),s=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!i)).length||i||(e="."),e.length>0&&s&&(e+="/"),i?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var s=arguments[n];t(s),s.length>0&&(void 0===e?e=s:e+="/"+s)}return void 0===e?".":i.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=i.resolve(e))===(n=i.resolve(n)))return"";for(var s=1;s<e.length&&47===e.charCodeAt(s);++s);for(var a=e.length,o=a-s,r=1;r<n.length&&47===n.charCodeAt(r);++r);for(var c=n.length-r,p=o<c?o:c,l=-1,u=0;u<=p;++u){if(u===p){if(c>p){if(47===n.charCodeAt(r+u))return n.slice(r+u+1);if(0===u)return n.slice(r+u)}else o>p&&(47===e.charCodeAt(s+u)?l=u:0===u&&(l=0));break}var d=e.charCodeAt(s+u);if(d!==n.charCodeAt(r+u))break;47===d&&(l=u)}var m="";for(u=s+l+1;u<=a;++u)u!==a&&47!==e.charCodeAt(u)||(0===m.length?m+="..":m+="/..");return m.length>0?m+n.slice(r+l):(r+=l,47===n.charCodeAt(r)&&++r,n.slice(r))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),i=47===n,s=-1,a=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!a){s=o;break}}else a=!1;return-1===s?i?"/":".":i&&1===s?"//":e.slice(0,s)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var i,s=0,a=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var r=n.length-1,c=-1;for(i=e.length-1;i>=0;--i){var p=e.charCodeAt(i);if(47===p){if(!o){s=i+1;break}}else-1===c&&(o=!1,c=i+1),r>=0&&(p===n.charCodeAt(r)?-1==--r&&(a=i):(r=-1,a=c))}return s===a?a=c:-1===a&&(a=e.length),e.slice(s,a)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!o){s=i+1;break}}else-1===a&&(o=!1,a=i+1);return-1===a?"":e.slice(s,a)},extname:function(e){t(e);for(var n=-1,i=0,s=-1,a=!0,o=0,r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47!==c)-1===s&&(a=!1,s=r+1),46===c?-1===n?n=r:1!==o&&(o=1):-1!==n&&(o=-1);else if(!a){i=r+1;break}}return-1===n||-1===s||0===o||1===o&&n===s-1&&n===i+1?"":e.slice(n,s)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+i:n+"/"+i:i}(0,e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var i,s=e.charCodeAt(0),a=47===s;a?(n.root="/",i=1):i=0;for(var o=-1,r=0,c=-1,p=!0,l=e.length-1,u=0;l>=i;--l)if(47!==(s=e.charCodeAt(l)))-1===c&&(p=!1,c=l+1),46===s?-1===o?o=l:1!==u&&(u=1):-1!==o&&(u=-1);else if(!p){r=l+1;break}return-1===o||-1===c||0===u||1===u&&o===c-1&&o===r+1?-1!==c&&(n.base=n.name=0===r&&a?e.slice(1,c):e.slice(r,c)):(0===r&&a?(n.name=e.slice(1,o),n.base=e.slice(1,c)):(n.name=e.slice(r,o),n.base=e.slice(r,c)),n.ext=e.slice(o,c)),r>0?n.dir=e.slice(0,r-1):a&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i}},t={};function n(i){var s=t[i];if(void 0!==s)return s.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,n),a.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{let e;if(n.r(i),n.d(i,{URI:()=>l,Utils:()=>k}),"object"==typeof process)e="win32"===process.platform;else if("object"==typeof navigator){let t=navigator.userAgent;e=t.indexOf("Windows")>=0}const t=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//;function o(e,n){if(!e.scheme&&n)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!t.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}const r="",c="/",p=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class l{static isUri(e){return e instanceof l||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}scheme;authority;path;query;fragment;constructor(e,t,n,i,s,a=!1){"object"==typeof e?(this.scheme=e.scheme||r,this.authority=e.authority||r,this.path=e.path||r,this.query=e.query||r,this.fragment=e.fragment||r):(this.scheme=function(e,t){return e||t?e:"file"}(e,a),this.authority=t||r,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==c&&(t=c+t):t=c}return t}(this.scheme,n||r),this.query=i||r,this.fragment=s||r,o(this,a))}get fsPath(){return x(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:i,query:s,fragment:a}=e;return void 0===t?t=this.scheme:null===t&&(t=r),void 0===n?n=this.authority:null===n&&(n=r),void 0===i?i=this.path:null===i&&(i=r),void 0===s?s=this.query:null===s&&(s=r),void 0===a?a=this.fragment:null===a&&(a=r),t===this.scheme&&n===this.authority&&i===this.path&&s===this.query&&a===this.fragment?this:new d(t,n,i,s,a)}static parse(e,t=!1){const n=p.exec(e);return n?new d(n[2]||r,y(n[4]||r),y(n[5]||r),y(n[7]||r),y(n[9]||r),t):new d(r,r,r,r,r)}static file(t){let n=r;if(e&&(t=t.replace(/\\/g,c)),t[0]===c&&t[1]===c){const e=t.indexOf(c,2);-1===e?(n=t.substring(2),t=c):(n=t.substring(2,e),t=t.substring(e)||c)}return new d("file",n,t,r,r)}static from(e){const t=new d(e.scheme,e.authority,e.path,e.query,e.fragment);return o(t,!0),t}toString(e=!1){return v(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof l)return e;{const t=new d(e);return t._formatted=e.external,t._fsPath=e._sep===u?e.fsPath:null,t}}return e}}const u=e?1:void 0;class d extends l{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=x(this,!1)),this._fsPath}toString(e=!1){return e?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=u),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const m={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function h(e,t,n){let i,s=-1;for(let a=0;a<e.length;a++){const o=e.charCodeAt(a);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||n&&91===o||n&&93===o||n&&58===o)-1!==s&&(i+=encodeURIComponent(e.substring(s,a)),s=-1),void 0!==i&&(i+=e.charAt(a));else{void 0===i&&(i=e.substr(0,a));const t=m[o];void 0!==t?(-1!==s&&(i+=encodeURIComponent(e.substring(s,a)),s=-1),i+=t):-1===s&&(s=a)}}return-1!==s&&(i+=encodeURIComponent(e.substring(s))),void 0!==i?i:e}function f(e){let t;for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=m[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function x(t,n){let i;return i=t.authority&&t.path.length>1&&"file"===t.scheme?`//${t.authority}${t.path}`:47===t.path.charCodeAt(0)&&(t.path.charCodeAt(1)>=65&&t.path.charCodeAt(1)<=90||t.path.charCodeAt(1)>=97&&t.path.charCodeAt(1)<=122)&&58===t.path.charCodeAt(2)?n?t.path.substr(1):t.path[1].toLowerCase()+t.path.substr(2):t.path,e&&(i=i.replace(/\//g,"\\")),i}function v(e,t){const n=t?f:h;let i="",{scheme:s,authority:a,path:o,query:r,fragment:p}=e;if(s&&(i+=s,i+=":"),(a||"file"===s)&&(i+=c,i+=c),a){let e=a.indexOf("@");if(-1!==e){const t=a.substr(0,e);a=a.substr(e+1),e=t.lastIndexOf(":"),-1===e?i+=n(t,!1,!1):(i+=n(t.substr(0,e),!1,!1),i+=":",i+=n(t.substr(e+1),!1,!0)),i+="@"}a=a.toLowerCase(),e=a.lastIndexOf(":"),-1===e?i+=n(a,!1,!0):(i+=n(a.substr(0,e),!1,!0),i+=a.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){const e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){const e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}i+=n(o,!0,!1)}return r&&(i+="?",i+=n(r,!1,!1)),p&&(i+="#",i+=t?p:h(p,!1,!1)),i}function g(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+g(e.substr(3)):e}}const b=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function y(e){return e.match(b)?e.replace(b,(e=>g(e))):e}var _=n(470);const w=_.posix||_,E="/";var k;!function(e){e.joinPath=function(e,...t){return e.with({path:w.join(e.path,...t)})},e.resolvePath=function(e,...t){let n=e.path,i=!1;n[0]!==E&&(n=E+n,i=!0);let s=w.resolve(n,...t);return i&&s[0]===E&&!e.authority&&(s=s.substring(1)),e.with({path:s})},e.dirname=function(e){if(0===e.path.length||e.path===E)return e;let t=w.dirname(e.path);return 1===t.length&&46===t.charCodeAt(0)&&(t=""),e.with({path:t})},e.basename=function(e){return w.basename(e.path)},e.extname=function(e){return w.extname(e.path)}}(k||(k={}))})(),Je=i})();const{URI:Ze,Utils:Xe}=Je;var et="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function tt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nt={},it={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})}},st=p,at=process.cwd,ot=null,rt=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return ot||(ot=at.call(process)),ot};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var ct=process.chdir;process.chdir=function(e){ot=null,ct.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,ct)}var pt=function(e){st.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,n,i){e.open(t,st.O_WRONLY|st.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,st.O_WRONLY|st.O_SYMLINK,n),a=!0;try{i=e.fchmodSync(s,n),a=!1}finally{if(a)try{e.closeSync(s)}catch(e){}else e.closeSync(s)}return i}}(e);e.lutimes||function(e){st.hasOwnProperty("O_SYMLINK")&&e.futimes?(e.lutimes=function(t,n,i,s){e.open(t,st.O_SYMLINK,(function(t,a){t?s&&s(t):e.futimes(a,n,i,(function(t){e.close(a,(function(e){s&&s(t||e)}))}))}))},e.lutimesSync=function(t,n,i){var s,a=e.openSync(t,st.O_SYMLINK),o=!0;try{s=e.futimesSync(a,n,i),o=!1}finally{if(o)try{e.closeSync(a)}catch(e){}else e.closeSync(a)}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=a(e.stat),e.fstat=a(e.fstat),e.lstat=a(e.lstat),e.statSync=o(e.statSync),e.fstatSync=o(e.fstatSync),e.lstatSync=o(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"===rt&&(e.rename="function"!=typeof e.rename?e.rename:function(t){function n(n,i,s){var a=Date.now(),o=0;t(n,i,(function r(c){if(c&&("EACCES"===c.code||"EPERM"===c.code||"EBUSY"===c.code)&&Date.now()-a<6e4)return setTimeout((function(){e.stat(i,(function(e,a){e&&"ENOENT"===e.code?t(n,i,r):s(c)}))}),o),void(o<100&&(o+=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,a){return t.call(e,n,i,s,(function(e){r(e)&&(e=null),a&&a.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 a(t){return t?function(n,i,s){function a(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,a):t.call(e,n,a)}:t}function o(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,a,o,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,a,o,c);r.apply(this,arguments)}}return t.call(e,n,i,s,a,o,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,a){for(var o=0;;)try{return c.call(e,t,n,i,s,a)}catch(e){if("EAGAIN"===e.code&&o<10){o++;continue}throw e}});var c};var lt=l.Stream,ut=function(e){return{ReadStream:function t(n,i){if(!(this instanceof t))return new t(n,i);lt.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 a=Object.keys(i),o=0,r=a.length;o<r;o++){var c=a[o];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);lt.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),a=0,o=s.length;a<o;a++){var r=s[a];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 dt=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var t={__proto__:mt(e)};else t=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t},mt=Object.getPrototypeOf||function(e){return e.__proto__};var ht,ft,xt=c,vt=pt,gt=ut,bt=dt,yt=d;function _t(e,t){Object.defineProperty(e,ht,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(ht=Symbol.for("graceful-fs.queue"),ft=Symbol.for("graceful-fs.previous")):(ht="___graceful-fs.queue",ft="___graceful-fs.previous");var wt=function(){};if(yt.debuglog?wt=yt.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(wt=function(){var e=yt.format.apply(yt,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!xt[ht]){var Et=et[ht]||[];_t(xt,Et),xt.close=function(e){function t(t,n){return e.call(xt,t,(function(e){e||At(),"function"==typeof n&&n.apply(this,arguments)}))}return Object.defineProperty(t,ft,{value:e}),t}(xt.close),xt.closeSync=function(e){function t(t){e.apply(xt,arguments),At()}return Object.defineProperty(t,ft,{value:e}),t}(xt.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){wt(xt[ht]),m.equal(xt[ht].length,0)}))}et[ht]||_t(et,xt[ht]);var kt,St=Tt(bt(xt));function Tt(e){vt(e),e.gracefulify=Tt,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,a){return t(n,i,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?"function"==typeof s&&s.apply(this,arguments):Rt([e,[n,i,s],t,a||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,a,o){return n(t,i,s,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?"function"==typeof a&&a.apply(this,arguments):Rt([e,[t,i,s,a],n,o||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,a,o){return i(t,n,s,(function(i){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?"function"==typeof a&&a.apply(this,arguments):Rt([e,[t,n,s,a],i,o||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,a,o){return s(t,n,i,(function(s){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?"function"==typeof a&&a.apply(this,arguments):Rt([e,[t,n,i,a],s,o||Date.now(),Date.now()])}))}(e,t,n,i)});var a=e.readdir;e.readdir=function(e,t,n){"function"==typeof t&&(n=t,t=null);var i=o.test(process.version)?function(e,t,n,i){return a(e,s(e,t,n,i))}:function(e,t,n,i){return a(e,t,s(e,t,n,i))};return i(e,t,n);function s(e,t,n,s){return function(a,o){!a||"EMFILE"!==a.code&&"ENFILE"!==a.code?(o&&o.sort&&o.sort(),"function"==typeof n&&n.call(this,a,o)):Rt([i,[e,t,n],a,s||Date.now(),Date.now()])}}};var o=/^v[0-5]\./;if("v0.8"===process.version.substr(0,4)){var r=gt(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;f(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;f(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 h=e.open;function f(e,t,n,i){return"function"==typeof n&&(i=n,n=null),function e(t,n,i,s,a){return h(t,n,i,(function(o,r){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?"function"==typeof s&&s.apply(this,arguments):Rt([e,[t,n,i,s],o,a||Date.now(),Date.now()])}))}(e,t,n,i)}return e.open=f,e}function Rt(e){wt("ENQUEUE",e[0].name,e[1]),xt[ht].push(e),Ct()}function At(){for(var e=Date.now(),t=0;t<xt[ht].length;++t)xt[ht][t].length>2&&(xt[ht][t][3]=e,xt[ht][t][4]=e);Ct()}function Ct(){if(clearTimeout(kt),kt=void 0,0!==xt[ht].length){var e=xt[ht].shift(),t=e[0],n=e[1],i=e[2],s=e[3],a=e[4];if(void 0===s)wt("RETRY",t.name,n),t.apply(null,n);else if(Date.now()-s>=6e4){wt("TIMEOUT",t.name,n);var o=n.pop();"function"==typeof o&&o.call(null,i)}else{var r=Date.now()-a,c=Math.max(a-s,1);r>=Math.min(1.2*c,100)?(wt("RETRY",t.name,n),t.apply(null,n.concat([s]))):xt[ht].push(e)}void 0===kt&&(kt=setTimeout(Ct,0))}}process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!xt.__patched&&(St=Tt(xt),xt.__patched=!0),function(e){const t=it.fromCallback,n=St,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,a,o){return"function"==typeof o?n.read(e,t,i,s,a,o):new Promise(((o,r)=>{n.read(e,t,i,s,a,((e,t,n)=>{if(e)return r(e);o({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,a)=>{n.write(e,t,...i,((e,t,n)=>{if(e)return a(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,a)=>{n.readv(e,t,...i,((e,t,n)=>{if(e)return a(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,a)=>{n.writev(e,t,...i,((e,t,n)=>{if(e)return a(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")}(nt);var Ot={},jt={};const Pt=h;jt.checkPath=function(e){if("win32"===process.platform){if(/[<>:"|?*]/.test(e.replace(Pt.parse(e).root,""))){const t=new Error(`Path contains invalid characters: ${e}`);throw t.code="EINVAL",t}}};const Lt=nt,{checkPath:Nt}=jt,It=e=>"number"==typeof e?e:{mode:511,...e}.mode;Ot.makeDir=async(e,t)=>(Nt(e),Lt.mkdir(e,{mode:It(t),recursive:!0})),Ot.makeDirSync=(e,t)=>(Nt(e),Lt.mkdirSync(e,{mode:It(t),recursive:!0}));const Dt=it.fromPromise,{makeDir:Ft,makeDirSync:Mt}=Ot,$t=Dt(Ft);var Ut={mkdirs:$t,mkdirsSync:Mt,mkdirp:$t,mkdirpSync:Mt,ensureDir:$t,ensureDirSync:Mt};const Bt=it.fromPromise,zt=nt;var Ht={pathExists:Bt((function(e){return zt.access(e).then((()=>!0)).catch((()=>!1))})),pathExistsSync:zt.existsSync};const qt=nt;var Gt={utimesMillis:(0,it.fromPromise)((async function(e,t,n){const i=await qt.open(e,"r+");let s=null;try{await qt.futimes(i,t,n)}finally{try{await qt.close(i)}catch(e){s=e}}if(s)throw s})),utimesMillisSync:function(e,t,n){const i=qt.openSync(e,"r+");return qt.futimesSync(i,t,n),qt.closeSync(i)}};const Wt=nt,Kt=h,Vt=it.fromPromise;function Qt(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function Yt(e,t){const n=Kt.resolve(e).split(Kt.sep).filter((e=>e)),i=Kt.resolve(t).split(Kt.sep).filter((e=>e));return n.every(((e,t)=>i[t]===e))}function Jt(e,t,n){return`Cannot ${n} '${e}' to a subdirectory of itself, '${t}'.`}var Zt={checkPaths:Vt((async function(e,t,n,i){const{srcStat:s,destStat:a}=await function(e,t,n){const i=n.dereference?e=>Wt.stat(e,{bigint:!0}):e=>Wt.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(a){if(Qt(s,a)){const i=Kt.basename(e),o=Kt.basename(t);if("move"===n&&i!==o&&i.toLowerCase()===o.toLowerCase())return{srcStat:s,destStat:a,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(s.isDirectory()&&!a.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!s.isDirectory()&&a.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(s.isDirectory()&&Yt(e,t))throw new Error(Jt(e,t,n));return{srcStat:s,destStat:a}})),checkPathsSync:function(e,t,n,i){const{srcStat:s,destStat:a}=function(e,t,n){let i;const s=n.dereference?e=>Wt.statSync(e,{bigint:!0}):e=>Wt.lstatSync(e,{bigint:!0}),a=s(e);try{i=s(t)}catch(e){if("ENOENT"===e.code)return{srcStat:a,destStat:null};throw e}return{srcStat:a,destStat:i}}(e,t,i);if(a){if(Qt(s,a)){const i=Kt.basename(e),o=Kt.basename(t);if("move"===n&&i!==o&&i.toLowerCase()===o.toLowerCase())return{srcStat:s,destStat:a,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(s.isDirectory()&&!a.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!s.isDirectory()&&a.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(s.isDirectory()&&Yt(e,t))throw new Error(Jt(e,t,n));return{srcStat:s,destStat:a}},checkParentPaths:Vt((async function e(t,n,i,s){const a=Kt.resolve(Kt.dirname(t)),o=Kt.resolve(Kt.dirname(i));if(o===a||o===Kt.parse(o).root)return;let r;try{r=await Wt.stat(o,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(Qt(n,r))throw new Error(Jt(t,i,s));return e(t,n,o,s)})),checkParentPathsSync:function e(t,n,i,s){const a=Kt.resolve(Kt.dirname(t)),o=Kt.resolve(Kt.dirname(i));if(o===a||o===Kt.parse(o).root)return;let r;try{r=Wt.statSync(o,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(Qt(n,r))throw new Error(Jt(t,i,s));return e(t,n,o,s)},isSrcSubdir:Yt,areIdentical:Qt};const Xt=nt,en=h,{mkdirs:tn}=Ut,{pathExists:nn}=Ht,{utimesMillis:sn}=Gt,an=Zt;async function on(e,t,n){return!n.filter||n.filter(e,t)}async function rn(e,t,n,i){const s=i.dereference?Xt.stat:Xt.lstat,a=await s(t);if(a.isDirectory())return async function(e,t,n,i,s){t||await Xt.mkdir(i);const a=await Xt.readdir(n);await Promise.all(a.map((async e=>{const t=en.join(n,e),a=en.join(i,e);if(!await on(t,a,s))return;const{destStat:o}=await an.checkPaths(t,a,"copy",s);return rn(o,t,a,s)}))),t||await Xt.chmod(i,e.mode)}(a,e,t,n,i);if(a.isFile()||a.isCharacterDevice()||a.isBlockDevice())return async function(e,t,n,i,s){if(!t)return cn(e,n,i,s);if(s.overwrite)return await Xt.unlink(i),cn(e,n,i,s);if(s.errorOnExist)throw new Error(`'${i}' already exists`)}(a,e,t,n,i);if(a.isSymbolicLink())return async function(e,t,n,i){let s=await Xt.readlink(t);i.dereference&&(s=en.resolve(process.cwd(),s));if(!e)return Xt.symlink(s,n);let a=null;try{a=await Xt.readlink(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return Xt.symlink(s,n);throw e}i.dereference&&(a=en.resolve(process.cwd(),a));if(an.isSrcSubdir(s,a))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${a}'.`);if(an.isSrcSubdir(a,s))throw new Error(`Cannot overwrite '${a}' with '${s}'.`);return await Xt.unlink(n),Xt.symlink(s,n)}(e,t,n,i);if(a.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(a.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}async function cn(e,t,n,i){if(await Xt.copyFile(t,n),i.preserveTimestamps){0==(128&e.mode)&&await function(e,t){return Xt.chmod(e,128|t)}(n,e.mode);const i=await Xt.stat(t);await sn(n,i.atime,i.mtime)}return Xt.chmod(n,e.mode)}var pn=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 an.checkPaths(e,t,"copy",n);if(await an.checkParentPaths(e,i,t,"copy"),!await on(e,t,n))return;const a=en.dirname(t);await nn(a)||await tn(a),await rn(s,e,t,n)};const ln=St,un=h,dn=Ut.mkdirsSync,mn=Gt.utimesMillisSync,hn=Zt;function fn(e,t,n,i){const s=(i.dereference?ln.statSync:ln.lstatSync)(t);if(s.isDirectory())return function(e,t,n,i,s){return t?gn(n,i,s):function(e,t,n,i){return ln.mkdirSync(n),gn(t,n,i),vn(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 ln.unlinkSync(n),xn(e,t,n,i);if(i.errorOnExist)throw new Error(`'${n}' already exists`)}(e,n,i,s):xn(e,n,i,s)}(s,e,t,n,i);if(s.isSymbolicLink())return function(e,t,n,i){let s=ln.readlinkSync(t);i.dereference&&(s=un.resolve(process.cwd(),s));if(e){let e;try{e=ln.readlinkSync(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return ln.symlinkSync(s,n);throw e}if(i.dereference&&(e=un.resolve(process.cwd(),e)),hn.isSrcSubdir(s,e))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${e}'.`);if(hn.isSrcSubdir(e,s))throw new Error(`Cannot overwrite '${e}' with '${s}'.`);return function(e,t){return ln.unlinkSync(t),ln.symlinkSync(e,t)}(s,n)}return ln.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 xn(e,t,n,i){return ln.copyFileSync(t,n),i.preserveTimestamps&&function(e,t,n){(function(e){return 0==(128&e)})(e)&&function(e,t){vn(e,128|t)}(n,e);(function(e,t){const n=ln.statSync(e);mn(t,n.atime,n.mtime)})(t,n)}(e.mode,t,n),vn(n,e.mode)}function vn(e,t){return ln.chmodSync(e,t)}function gn(e,t,n){ln.readdirSync(e).forEach((i=>function(e,t,n,i){const s=un.join(t,e),a=un.join(n,e);if(i.filter&&!i.filter(s,a))return;const{destStat:o}=hn.checkPathsSync(s,a,"copy",i);return fn(o,s,a,i)}(i,e,t,n)))}var bn=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}=hn.checkPathsSync(e,t,"copy",n);if(hn.checkParentPathsSync(e,i,t,"copy"),n.filter&&!n.filter(e,t))return;const a=un.dirname(t);return ln.existsSync(a)||dn(a),fn(s,e,t,n)};var yn={copy:(0,it.fromPromise)(pn),copySync:bn};const _n=St;var wn={remove:(0,it.fromCallback)((function(e,t){_n.rm(e,{recursive:!0,force:!0},t)})),removeSync:function(e){_n.rmSync(e,{recursive:!0,force:!0})}};const En=it.fromPromise,kn=nt,Sn=h,Tn=Ut,Rn=wn,An=En((async function(e){let t;try{t=await kn.readdir(e)}catch{return Tn.mkdirs(e)}return Promise.all(t.map((t=>Rn.remove(Sn.join(e,t)))))}));function Cn(e){let t;try{t=kn.readdirSync(e)}catch{return Tn.mkdirsSync(e)}t.forEach((t=>{t=Sn.join(e,t),Rn.removeSync(t)}))}var On={emptyDirSync:Cn,emptydirSync:Cn,emptyDir:An,emptydir:An};const jn=it.fromPromise,Pn=h,Ln=nt,Nn=Ut;var In={createFile:jn((async function(e){let t;try{t=await Ln.stat(e)}catch{}if(t&&t.isFile())return;const n=Pn.dirname(e);let i=null;try{i=await Ln.stat(n)}catch(t){if("ENOENT"===t.code)return await Nn.mkdirs(n),void await Ln.writeFile(e,"");throw t}i.isDirectory()?await Ln.writeFile(e,""):await Ln.readdir(n)})),createFileSync:function(e){let t;try{t=Ln.statSync(e)}catch{}if(t&&t.isFile())return;const n=Pn.dirname(e);try{Ln.statSync(n).isDirectory()||Ln.readdirSync(n)}catch(e){if(!e||"ENOENT"!==e.code)throw e;Nn.mkdirsSync(n)}Ln.writeFileSync(e,"")}};const Dn=it.fromPromise,Fn=h,Mn=nt,$n=Ut,{pathExists:Un}=Ht,{areIdentical:Bn}=Zt;var zn={createLink:Dn((async function(e,t){let n,i;try{n=await Mn.lstat(t)}catch{}try{i=await Mn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}if(n&&Bn(i,n))return;const s=Fn.dirname(t);await Un(s)||await $n.mkdirs(s),await Mn.link(e,t)})),createLinkSync:function(e,t){let n;try{n=Mn.lstatSync(t)}catch{}try{const t=Mn.lstatSync(e);if(n&&Bn(t,n))return}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}const i=Fn.dirname(t);return Mn.existsSync(i)||$n.mkdirsSync(i),Mn.linkSync(e,t)}};const Hn=h,qn=nt,{pathExists:Gn}=Ht;var Wn={symlinkPaths:(0,it.fromPromise)((async function(e,t){if(Hn.isAbsolute(e)){try{await qn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:e}}const n=Hn.dirname(t),i=Hn.join(n,e);if(await Gn(i))return{toCwd:i,toDst:e};try{await qn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:Hn.relative(n,e)}})),symlinkPathsSync:function(e,t){if(Hn.isAbsolute(e)){if(!qn.existsSync(e))throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}const n=Hn.dirname(t),i=Hn.join(n,e);if(qn.existsSync(i))return{toCwd:i,toDst:e};if(!qn.existsSync(e))throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:Hn.relative(n,e)}}};const Kn=nt;var Vn={symlinkType:(0,it.fromPromise)((async function(e,t){if(t)return t;let n;try{n=await Kn.lstat(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"})),symlinkTypeSync:function(e,t){if(t)return t;let n;try{n=Kn.lstatSync(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"}};const Qn=it.fromPromise,Yn=h,Jn=nt,{mkdirs:Zn,mkdirsSync:Xn}=Ut,{symlinkPaths:ei,symlinkPathsSync:ti}=Wn,{symlinkType:ni,symlinkTypeSync:ii}=Vn,{pathExists:si}=Ht,{areIdentical:ai}=Zt;var oi={createSymlink:Qn((async function(e,t,n){let i;try{i=await Jn.lstat(t)}catch{}if(i&&i.isSymbolicLink()){const[n,i]=await Promise.all([Jn.stat(e),Jn.stat(t)]);if(ai(n,i))return}const s=await ei(e,t);e=s.toDst;const a=await ni(s.toCwd,n),o=Yn.dirname(t);return await si(o)||await Zn(o),Jn.symlink(e,t,a)})),createSymlinkSync:function(e,t,n){let i;try{i=Jn.lstatSync(t)}catch{}if(i&&i.isSymbolicLink()){const n=Jn.statSync(e),i=Jn.statSync(t);if(ai(n,i))return}const s=ti(e,t);e=s.toDst,n=ii(s.toCwd,n);const a=Yn.dirname(t);return Jn.existsSync(a)||Xn(a),Jn.symlinkSync(e,t,n)}};const{createFile:ri,createFileSync:ci}=In,{createLink:pi,createLinkSync:li}=zn,{createSymlink:ui,createSymlinkSync:di}=oi;var mi={createFile:ri,createFileSync:ci,ensureFile:ri,ensureFileSync:ci,createLink:pi,createLinkSync:li,ensureLink:pi,ensureLinkSync:li,createSymlink:ui,createSymlinkSync:di,ensureSymlink:ui,ensureSymlinkSync:di};var hi={stringify:function(e,{EOL:t="\n",finalEOL:n=!0,replacer:i=null,spaces:s}={}){const a=n?t:"";return JSON.stringify(e,i,s).replace(/\n/g,t)+a},stripBom:function(e){return Buffer.isBuffer(e)&&(e=e.toString("utf8")),e.replace(/^\uFEFF/,"")}};let fi;try{fi=St}catch(e){fi=c}const xi=it,{stringify:vi,stripBom:gi}=hi;const bi=xi.fromPromise((async function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||fi,i=!("throws"in t)||t.throws;let s,a=await xi.fromCallback(n.readFile)(e,t);a=gi(a);try{s=JSON.parse(a,t?t.reviver:null)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}return s}));const yi=xi.fromPromise((async function(e,t,n={}){const i=n.fs||fi,s=vi(t,n);await xi.fromCallback(i.writeFile)(e,s,n)}));const _i={readFile:bi,readFileSync:function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||fi,i=!("throws"in t)||t.throws;try{let i=n.readFileSync(e,t);return i=gi(i),JSON.parse(i,t.reviver)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}},writeFile:yi,writeFileSync:function(e,t,n={}){const i=n.fs||fi,s=vi(t,n);return i.writeFileSync(e,s,n)}};var wi={readJson:_i.readFile,readJsonSync:_i.readFileSync,writeJson:_i.writeFile,writeJsonSync:_i.writeFileSync};const Ei=it.fromPromise,ki=nt,Si=h,Ti=Ut,Ri=Ht.pathExists;var Ai={outputFile:Ei((async function(e,t,n="utf-8"){const i=Si.dirname(e);return await Ri(i)||await Ti.mkdirs(i),ki.writeFile(e,t,n)})),outputFileSync:function(e,...t){const n=Si.dirname(e);ki.existsSync(n)||Ti.mkdirsSync(n),ki.writeFileSync(e,...t)}};const{stringify:Ci}=hi,{outputFile:Oi}=Ai;var ji=async function(e,t,n={}){const i=Ci(t,n);await Oi(e,i,n)};const{stringify:Pi}=hi,{outputFileSync:Li}=Ai;var Ni=function(e,t,n){const i=Pi(t,n);Li(e,i,n)};const Ii=it.fromPromise,Di=wi;Di.outputJson=Ii(ji),Di.outputJsonSync=Ni,Di.outputJSON=Di.outputJson,Di.outputJSONSync=Di.outputJsonSync,Di.writeJSON=Di.writeJson,Di.writeJSONSync=Di.writeJsonSync,Di.readJSON=Di.readJson,Di.readJSONSync=Di.readJsonSync;var Fi=Di;const Mi=nt,$i=h,{copy:Ui}=yn,{remove:Bi}=wn,{mkdirp:zi}=Ut,{pathExists:Hi}=Ht,qi=Zt;var Gi=async function(e,t,n={}){const i=n.overwrite||n.clobber||!1,{srcStat:s,isChangingCase:a=!1}=await qi.checkPaths(e,t,"move",n);await qi.checkParentPaths(e,s,t,"move");const o=$i.dirname(t);return $i.parse(o).root!==o&&await zi(o),async function(e,t,n,i){if(!i)if(n)await Bi(t);else if(await Hi(t))throw new Error("dest already exists.");try{await Mi.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 Ui(e,t,i),Bi(e)}(e,t,n)}}(e,t,i,a)};const Wi=St,Ki=h,Vi=yn.copySync,Qi=wn.removeSync,Yi=Ut.mkdirpSync,Ji=Zt;function Zi(e,t,n){try{Wi.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 Vi(e,t,i),Qi(e)}(e,t,n)}}var Xi=function(e,t,n){const i=(n=n||{}).overwrite||n.clobber||!1,{srcStat:s,isChangingCase:a=!1}=Ji.checkPathsSync(e,t,"move",n);return Ji.checkParentPathsSync(e,s,t,"move"),function(e){const t=Ki.dirname(e);return Ki.parse(t).root===t}(t)||Yi(Ki.dirname(t)),function(e,t,n,i){if(i)return Zi(e,t,n);if(n)return Qi(t),Zi(e,t,n);if(Wi.existsSync(t))throw new Error("dest already exists.");return Zi(e,t,n)}(e,t,i,a)};var es={move:(0,it.fromPromise)(Gi),moveSync:Xi},ts=tt({...nt,...yn,...On,...mi,...Fi,...Ut,...es,...Ai,...Ht,...wn}),ns=h,is=x;function ss(){return"homedir"in is?is.homedir():"win32"===(this.__platform||process.platform)?ns.resolve(process.env.USERPROFILE):ns.resolve(process.env.HOME)}var as=tt({__platform:process.platform,data:function(){switch(this.__platform||process.platform){case"win32":return ns.resolve(process.env.APPDATA);case"darwin":return ns.resolve(ns.join(ss.call(this),"Library/Application Support/"));default:return process.env.XDG_CONFIG_HOME?ns.resolve(process.env.XDG_CONFIG_HOME):ns.resolve(ns.join(ss.call(this),".config/"))}},desktop:function(){return ns.join(ss.call(this),"Desktop")},home:ss,tmp:function(){return"win32"===(this.__platform||process.platform)?ns.resolve(process.env.TEMP):ns.resolve("/tmp")}});async function os(e){try{return await i.readFile(e,"utf8")}catch(e){return""}}function rs(){try{return as.data()}catch(e){throw Error(`Failed to get ospath data: ${e.message}`)}}const cs=e=>"number"==typeof e?e:{mode:511,...e}.mode;const ps=(t,n)=>new Promise(((i,s)=>{try{!function(t){if("win32"===process.platform&&/[<>:"|?*]/.test(t.replace(e.parse(t).root,""))){const e=new Error(`Path contains invalid characters: ${t}`);throw e.code="EINVAL",e}}(t),a(t,{mode:cs(n)},i)}catch(e){s(e)}}));async function ls(e){try{return await new Promise((t=>s(e,t)))||await ps(e,{recursive:!0}),!0}catch(e){return!1}}const us=ts.emptyDir,ds=ts.remove,ms=ts.readJSON,hs=ts.writeJSON;function fs(e,t){return function(){return e.apply(t,arguments)}}const{toString:xs}=Object.prototype,{getPrototypeOf:vs}=Object,{iterator:gs,toStringTag:bs}=Symbol,ys=(_s=Object.create(null),e=>{const t=xs.call(e);return _s[t]||(_s[t]=t.slice(8,-1).toLowerCase())});var _s;const ws=e=>(e=e.toLowerCase(),t=>ys(t)===e),Es=e=>t=>typeof t===e,{isArray:ks}=Array,Ss=Es("undefined");const Ts=ws("ArrayBuffer");const Rs=Es("string"),As=Es("function"),Cs=Es("number"),Os=e=>null!==e&&"object"==typeof e,js=e=>{if("object"!==ys(e))return!1;const t=vs(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||bs in e||gs in e)},Ps=ws("Date"),Ls=ws("File"),Ns=ws("Blob"),Is=ws("FileList"),Ds=ws("URLSearchParams"),[Fs,Ms,$s,Us]=["ReadableStream","Request","Response","Headers"].map(ws);function Bs(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,s;if("object"!=typeof e&&(e=[e]),ks(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),a=s.length;let o;for(i=0;i<a;i++)o=s[i],t.call(null,e[o],o,e)}}function zs(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 Hs="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,qs=e=>!Ss(e)&&e!==Hs;const Gs=(Ws="undefined"!=typeof Uint8Array&&vs(Uint8Array),e=>Ws&&e instanceof Ws);var Ws;const Ks=ws("HTMLFormElement"),Vs=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Qs=ws("RegExp"),Ys=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Bs(n,((n,s)=>{let a;!1!==(a=t(n,s,e))&&(i[s]=a||n)})),Object.defineProperties(e,i)};const Js=ws("AsyncFunction"),Zs=(Xs="function"==typeof setImmediate,ea=As(Hs.postMessage),Xs?setImmediate:ea?(ta=`axios@${Math.random()}`,na=[],Hs.addEventListener("message",(({source:e,data:t})=>{e===Hs&&t===ta&&na.length&&na.shift()()}),!1),e=>{na.push(e),Hs.postMessage(ta,"*")}):e=>setTimeout(e));var Xs,ea,ta,na;const ia="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Hs):"undefined"!=typeof process&&process.nextTick||Zs;var sa={isArray:ks,isArrayBuffer:Ts,isBuffer:function(e){return null!==e&&!Ss(e)&&null!==e.constructor&&!Ss(e.constructor)&&As(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||As(e.append)&&("formdata"===(t=ys(e))||"object"===t&&As(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Ts(e.buffer),t},isString:Rs,isNumber:Cs,isBoolean:e=>!0===e||!1===e,isObject:Os,isPlainObject:js,isReadableStream:Fs,isRequest:Ms,isResponse:$s,isHeaders:Us,isUndefined:Ss,isDate:Ps,isFile:Ls,isBlob:Ns,isRegExp:Qs,isFunction:As,isStream:e=>Os(e)&&As(e.pipe),isURLSearchParams:Ds,isTypedArray:Gs,isFileList:Is,forEach:Bs,merge:function e(){const{caseless:t}=qs(this)&&this||{},n={},i=(i,s)=>{const a=t&&zs(n,s)||s;js(n[a])&&js(i)?n[a]=e(n[a],i):js(i)?n[a]=e({},i):ks(i)?n[a]=i.slice():n[a]=i};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Bs(arguments[e],i);return n},extend:(e,t,n,{allOwnKeys:i}={})=>(Bs(t,((t,i)=>{n&&As(t)?e[i]=fs(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,a,o;const r={};if(t=t||{},null==e)return t;do{for(s=Object.getOwnPropertyNames(e),a=s.length;a-- >0;)o=s[a],i&&!i(o,e,t)||r[o]||(t[o]=e[o],r[o]=!0);e=!1!==n&&vs(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:ys,kindOfTest:ws,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(ks(e))return e;let t=e.length;if(!Cs(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[gs]).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:Ks,hasOwnProperty:Vs,hasOwnProp:Vs,reduceDescriptors:Ys,freezeMethods:e=>{Ys(e,((t,n)=>{if(As(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=e[n];As(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 ks(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:zs,global:Hs,isContextDefined:qs,isSpecCompliantForm:function(e){return!!(e&&As(e.append)&&"FormData"===e[bs]&&e[gs])},toJSONObject:e=>{const t=new Array(10),n=(e,i)=>{if(Os(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[i]=e;const s=ks(e)?[]:{};return Bs(e,((e,t)=>{const a=n(e,i+1);!Ss(a)&&(s[t]=a)})),t[i]=void 0,s}}return e};return n(e,0)},isAsyncFn:Js,isThenable:e=>e&&(Os(e)||As(e))&&As(e.then)&&As(e.catch),setImmediate:Zs,asap:ia,isIterable:e=>null!=e&&As(e[gs])};function aa(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)}sa.inherits(aa,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:sa.toJSONObject(this.config),code:this.code,status:this.status}}});const oa=aa.prototype,ra={};["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=>{ra[e]={value:e}})),Object.defineProperties(aa,ra),Object.defineProperty(oa,"isAxiosError",{value:!0}),aa.from=(e,t,n,i,s,a)=>{const o=Object.create(oa);return sa.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),aa.call(o,e.message,t,n,i,s),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};var ca=l.Stream,pa=la;function la(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}d.inherits(la,ca),la.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(la.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),la.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},la.prototype.resume=function(){this._released||this.release(),this.source.resume()},la.prototype.pause=function(){this.source.pause()},la.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},la.prototype.pipe=function(){var e=ca.prototype.pipe.apply(this,arguments);return this.resume(),e},la.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))},la.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 ua=d,da=l.Stream,ma=pa,ha=fa;function fa(){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}ua.inherits(fa,da),fa.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},fa.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},fa.prototype.append=function(e){if(fa.isStreamLike(e)){if(!(e instanceof ma)){var t=ma.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},fa.prototype.pipe=function(e,t){return da.prototype.pipe.call(this,e,t),this.resume(),e},fa.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}}},fa.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){fa.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},fa.prototype._pipeNext=function(e){if(this._currentStream=e,fa.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},fa.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},fa.prototype.write=function(e){this.emit("data",e)},fa.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},fa.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")},fa.prototype.end=function(){this._reset(),this.emit("end")},fa.prototype.destroy=function(){this._reset(),this.emit("close")},fa.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},fa.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},fa.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)},fa.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var xa={},va={"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,{promises as i,exists as o,mkdir as a,existsSync as s,readFileSync as r}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,{basename as h}from"path";import v,{EOL as x}from"os";import g from"http";import b from"https";import y from"url";import _ from"crypto";import w from"tty";import E from"zlib";import k,{EventEmitter as S}from"events";import A,{homedir as T}from"node:os";import R from"node:process";import{fileURLToPath as C}from"node:url";import{Transform as O}from"node:stream";import j from"node:crypto";const P="CHAT_QUERY",L="CHAT_TASK_PROGRESS",I="LOG",N={p:["children"],span:["children"],ul:["children"],ol:["children"],em:["children"],strong:["children"],code:["children"],blockquote:["children"],h1:["children"],h2:["children"],h3:["children"],h4:["children"],h5:["children"],h6:["children"],li:["children"],table:["children"],thead:["children"],tbody:["children"],tr:["children"],th:["children"],td:["children"],br:[],hr:[],img:["src","alt","width","height"],a:["href","children"]};function D(e){return!!N[e.type]}const F=new Set(["command-button"]);function M(e){return!!e&&(Array.isArray(e)?e.some(M):"string"!=typeof e&&(!!F.has(e.type)||(!!F.has(e.children?.type)||!!e.children&&(Array.isArray(e.children)?e.children.some(M):M(e.children)))))}function $(e){return"object"==typeof e&&"command"in e&&("draw"===e.command||"fail"===e.command)}function U(e){return"object"==typeof e&&"command"in e&&"section"===e.command}function z(e){return $(e)?e.content:U(e)?null:e}class B{current=0;next(){return++this.current}}class H{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 q{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 W{tasks=new Map;start(e){const t=this.tasks.get(e)??new q;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 G="SESSION_START",V="SESSION_FINISH";class K{sessionId;parent;lifeCycleConnected;listeners=new Map;channel;timeoutTimer;executions=new H;streams=new W;incrementer=new B;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!==I&&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:G}),this.send(e)}finish(){clearTimeout(this.timeoutTimer),this.log("system",this.constructor.name,"SessionFinish"),this.send({action:V})}log(e,t,n,i){this.parent?this.parent.log(e,t,n,i):this.send({action:I,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(I),this.setListener(V,(async()=>{this.parent&&this.lifeCycleConnected&&this.parent.send({action:V})}))}}class Y{implement;sessions=new Map;tasks=new H;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:a}=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,a),n===V&&(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:I,payload:{level:"system",source:e,action:t,detail:n}}};this.implement.send(i)}}const Q="REQUEST_PERMISSION";var J;!function(e){e.WorkspaceFileSystem="WorkspaceFileSystem",e.FullDiskFileSystem="FullDiskFileSystem",e.CodeSecurity="CodeSecurity",e.UserDetail="UserDetail"}(J||(J={}));const Z="ASK_LLM",X="ASK_LLM_STREAMING";var ee,te,ne;!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"}(ee||(ee={})),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"}(te||(te={})),function(e){e.Default="default-model",e.ErnieBot="ernie-bot",e.ErnieBot4="ernie-bot-4"}(ne||(ne={}));const ie="GET_PLUGIN_CONFIG",oe="UPDATE_ENGINE_CONFIG",ae="PLUS_MODULE_LIST_FETCH",se="PLUS_MODULE_LIST_RESULT",re="INFORMATION_QUERY";var ce,le;!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"}(ce||(ce={})),function(e){e.Text="TEXT",e.Code="CODE",e.File="FILE"}(le||(le={}));const pe="SCAN_QUERY",ue="WILL_SCAN",de="SCAN_TASK",fe="RELEASE_SCAN_TASK",me="SCAN_TASK_PROGRESS",he="SCAN_CACHE_COUNT",ve="COMATE_PLUS_SA_SCAN_INIT",xe="COMATE_PLUS_SA_SCAN_DIAGNOSTIC",ge="SA_SCAN_DIAGNOSTIC",be="SA_SCAN_DIAGNOSTIC_RESULT",ye="ACTION_START_BACKGROUND_SERVICE",_e="QUERY_SELECTOR",we="ACTION_CUSTOM_COMMAND",Ee="COMATE_PLUS_DIAGNOSTIC_SCAN",ke="DIAGNOSTIC_SCAN_TASK_PROGRESS",Se="DIAGNOSTIC_SCAN",Ae="DIAGNOSTIC_SCAN_TASK_COUNT";var Te;!function(e){e.INIT="INIT",e.PROCESSING="PROCESSING",e.SUCCEED="SUCCEED",e.FAIL="FAIL"}(Te||(Te={}));const Re="ACCEPT_DIR";var Ce,Oe,je;!function(e){e.Failed="failed",e.Success="success",e.InProgress="inProgress",e.Cancelled="cancelled"}(Ce||(Ce={})),function(e){e.UNREADY="unready",e.READY="ready",e.RUNNING="running",e.SUCCESS="success",e.FAILED="failed",e.CANCELLED="cancelled"}(Oe||(Oe={})),function(e){e.SecuBotConversation="SecuBotConversation",e.DebugBotConversation="DebugBotConversation",e.TestBotConversation="TestBotConversation",e.E2EBotConversation="E2EBotConversation",e.F2cBotConversation="F2cBotConversation"}(je||(je={}));const Pe={[je.SecuBotConversation]:"安全智能体",[je.DebugBotConversation]:"Debug智能体",[je.TestBotConversation]:"单测智能体",[je.E2EBotConversation]:"端到端智能体",[je.F2cBotConversation]:"F2C智能体"};var Le;!function(e){e.Ready="Ready",e.Running="Running",e.Failed="Failed",e.Completed="Completed",e.Cancelled="Cancelled"}(Le||(Le={}));const Ie="ACTION_DEBUG_TASK_PROCESS",Ne="ACTION_ASK_RAG",De="ACTION_GENERATE_MESSAGE",Fe="ACTION_GENERATE_MESSAGE_REPORT",Me="ACTION_BRANCH_CHANGE",$e="ACTION_SECUBOT",Ue="ACTION_SECUBOT_TASK_PROGRESS",ze="为我的代码库扫描可能的安全漏洞",Be="CODE_SEARCH",He="START_ISCAN_AND_GET_SEC_RESULT",qe="START_ISCAN_BY_SAVE",We="START_ISCAN",Ge="ISCAN_RESULT",Ve="ISCAN_JOB_BUILD_ID",Ke="SCAN_NOTIFICATION",Ye=".comate/mcp.json";async function Qe(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 Je;(()=>{var e={470:e=>{function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,i="",o=0,a=-1,s=0,r=0;r<=e.length;++r){if(r<e.length)n=e.charCodeAt(r);else{if(47===n)break;n=47}if(47===n){if(a===r-1||1===s);else if(a!==r-1&&2===s){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var c=i.lastIndexOf("/");if(c!==i.length-1){-1===c?(i="",o=0):o=(i=i.slice(0,c)).length-1-i.lastIndexOf("/"),a=r,s=0;continue}}else if(2===i.length||1===i.length){i="",o=0,a=r,s=0;continue}t&&(i.length>0?i+="/..":i="..",o=2)}else i.length>0?i+="/"+e.slice(a+1,r):i=e.slice(a+1,r),o=r-a-1;a=r,s=0}else 46===n&&-1!==s?++s:s=-1}return i}var i={resolve:function(){for(var e,i="",o=!1,a=arguments.length-1;a>=-1&&!o;a--){var s;a>=0?s=arguments[a]:(void 0===e&&(e=process.cwd()),s=e),t(s),0!==s.length&&(i=s+"/"+i,o=47===s.charCodeAt(0))}return i=n(i,!o),o?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var i=47===e.charCodeAt(0),o=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!i)).length||i||(e="."),e.length>0&&o&&(e+="/"),i?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var o=arguments[n];t(o),o.length>0&&(void 0===e?e=o:e+="/"+o)}return void 0===e?".":i.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=i.resolve(e))===(n=i.resolve(n)))return"";for(var o=1;o<e.length&&47===e.charCodeAt(o);++o);for(var a=e.length,s=a-o,r=1;r<n.length&&47===n.charCodeAt(r);++r);for(var c=n.length-r,l=s<c?s:c,p=-1,u=0;u<=l;++u){if(u===l){if(c>l){if(47===n.charCodeAt(r+u))return n.slice(r+u+1);if(0===u)return n.slice(r+u)}else s>l&&(47===e.charCodeAt(o+u)?p=u:0===u&&(p=0));break}var d=e.charCodeAt(o+u);if(d!==n.charCodeAt(r+u))break;47===d&&(p=u)}var f="";for(u=o+p+1;u<=a;++u)u!==a&&47!==e.charCodeAt(u)||(0===f.length?f+="..":f+="/..");return f.length>0?f+n.slice(r+p):(r+=p,47===n.charCodeAt(r)&&++r,n.slice(r))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),i=47===n,o=-1,a=!0,s=e.length-1;s>=1;--s)if(47===(n=e.charCodeAt(s))){if(!a){o=s;break}}else a=!1;return-1===o?i?"/":".":i&&1===o?"//":e.slice(0,o)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var i,o=0,a=-1,s=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var r=n.length-1,c=-1;for(i=e.length-1;i>=0;--i){var l=e.charCodeAt(i);if(47===l){if(!s){o=i+1;break}}else-1===c&&(s=!1,c=i+1),r>=0&&(l===n.charCodeAt(r)?-1==--r&&(a=i):(r=-1,a=c))}return o===a?a=c:-1===a&&(a=e.length),e.slice(o,a)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!s){o=i+1;break}}else-1===a&&(s=!1,a=i+1);return-1===a?"":e.slice(o,a)},extname:function(e){t(e);for(var n=-1,i=0,o=-1,a=!0,s=0,r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47!==c)-1===o&&(a=!1,o=r+1),46===c?-1===n?n=r:1!==s&&(s=1):-1!==n&&(s=-1);else if(!a){i=r+1;break}}return-1===n||-1===o||0===s||1===s&&n===o-1&&n===i+1?"":e.slice(n,o)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+i:n+"/"+i:i}(0,e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var i,o=e.charCodeAt(0),a=47===o;a?(n.root="/",i=1):i=0;for(var s=-1,r=0,c=-1,l=!0,p=e.length-1,u=0;p>=i;--p)if(47!==(o=e.charCodeAt(p)))-1===c&&(l=!1,c=p+1),46===o?-1===s?s=p:1!==u&&(u=1):-1!==s&&(u=-1);else if(!l){r=p+1;break}return-1===s||-1===c||0===u||1===u&&s===c-1&&s===r+1?-1!==c&&(n.base=n.name=0===r&&a?e.slice(1,c):e.slice(r,c)):(0===r&&a?(n.name=e.slice(1,s),n.base=e.slice(1,c)):(n.name=e.slice(r,s),n.base=e.slice(r,c)),n.ext=e.slice(s,c)),r>0?n.dir=e.slice(0,r-1):a&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,n),a.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{let e;if(n.r(i),n.d(i,{URI:()=>p,Utils:()=>k}),"object"==typeof process)e="win32"===process.platform;else if("object"==typeof navigator){let t=navigator.userAgent;e=t.indexOf("Windows")>=0}const t=/^\w[\w\d+.-]*$/,o=/^\//,a=/^\/\//;function s(e,n){if(!e.scheme&&n)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!t.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!o.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}const r="",c="/",l=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class p{static isUri(e){return e instanceof p||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}scheme;authority;path;query;fragment;constructor(e,t,n,i,o,a=!1){"object"==typeof e?(this.scheme=e.scheme||r,this.authority=e.authority||r,this.path=e.path||r,this.query=e.query||r,this.fragment=e.fragment||r):(this.scheme=function(e,t){return e||t?e:"file"}(e,a),this.authority=t||r,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==c&&(t=c+t):t=c}return t}(this.scheme,n||r),this.query=i||r,this.fragment=o||r,s(this,a))}get fsPath(){return v(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:i,query:o,fragment:a}=e;return void 0===t?t=this.scheme:null===t&&(t=r),void 0===n?n=this.authority:null===n&&(n=r),void 0===i?i=this.path:null===i&&(i=r),void 0===o?o=this.query:null===o&&(o=r),void 0===a?a=this.fragment:null===a&&(a=r),t===this.scheme&&n===this.authority&&i===this.path&&o===this.query&&a===this.fragment?this:new d(t,n,i,o,a)}static parse(e,t=!1){const n=l.exec(e);return n?new d(n[2]||r,y(n[4]||r),y(n[5]||r),y(n[7]||r),y(n[9]||r),t):new d(r,r,r,r,r)}static file(t){let n=r;if(e&&(t=t.replace(/\\/g,c)),t[0]===c&&t[1]===c){const e=t.indexOf(c,2);-1===e?(n=t.substring(2),t=c):(n=t.substring(2,e),t=t.substring(e)||c)}return new d("file",n,t,r,r)}static from(e){const t=new d(e.scheme,e.authority,e.path,e.query,e.fragment);return s(t,!0),t}toString(e=!1){return x(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof p)return e;{const t=new d(e);return t._formatted=e.external,t._fsPath=e._sep===u?e.fsPath:null,t}}return e}}const u=e?1:void 0;class d extends p{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=v(this,!1)),this._fsPath}toString(e=!1){return e?x(this,!0):(this._formatted||(this._formatted=x(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=u),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const f={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t,n){let i,o=-1;for(let a=0;a<e.length;a++){const s=e.charCodeAt(a);if(s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s||n&&91===s||n&&93===s||n&&58===s)-1!==o&&(i+=encodeURIComponent(e.substring(o,a)),o=-1),void 0!==i&&(i+=e.charAt(a));else{void 0===i&&(i=e.substr(0,a));const t=f[s];void 0!==t?(-1!==o&&(i+=encodeURIComponent(e.substring(o,a)),o=-1),i+=t):-1===o&&(o=a)}}return-1!==o&&(i+=encodeURIComponent(e.substring(o))),void 0!==i?i:e}function h(e){let t;for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=f[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function v(t,n){let i;return i=t.authority&&t.path.length>1&&"file"===t.scheme?`//${t.authority}${t.path}`:47===t.path.charCodeAt(0)&&(t.path.charCodeAt(1)>=65&&t.path.charCodeAt(1)<=90||t.path.charCodeAt(1)>=97&&t.path.charCodeAt(1)<=122)&&58===t.path.charCodeAt(2)?n?t.path.substr(1):t.path[1].toLowerCase()+t.path.substr(2):t.path,e&&(i=i.replace(/\//g,"\\")),i}function x(e,t){const n=t?h:m;let i="",{scheme:o,authority:a,path:s,query:r,fragment:l}=e;if(o&&(i+=o,i+=":"),(a||"file"===o)&&(i+=c,i+=c),a){let e=a.indexOf("@");if(-1!==e){const t=a.substr(0,e);a=a.substr(e+1),e=t.lastIndexOf(":"),-1===e?i+=n(t,!1,!1):(i+=n(t.substr(0,e),!1,!1),i+=":",i+=n(t.substr(e+1),!1,!0)),i+="@"}a=a.toLowerCase(),e=a.lastIndexOf(":"),-1===e?i+=n(a,!1,!0):(i+=n(a.substr(0,e),!1,!0),i+=a.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){const e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){const e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}i+=n(s,!0,!1)}return r&&(i+="?",i+=n(r,!1,!1)),l&&(i+="#",i+=t?l:m(l,!1,!1)),i}function g(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+g(e.substr(3)):e}}const b=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function y(e){return e.match(b)?e.replace(b,(e=>g(e))):e}var _=n(470);const w=_.posix||_,E="/";var k;!function(e){e.joinPath=function(e,...t){return e.with({path:w.join(e.path,...t)})},e.resolvePath=function(e,...t){let n=e.path,i=!1;n[0]!==E&&(n=E+n,i=!0);let o=w.resolve(n,...t);return i&&o[0]===E&&!e.authority&&(o=o.substring(1)),e.with({path:o})},e.dirname=function(e){if(0===e.path.length||e.path===E)return e;let t=w.dirname(e.path);return 1===t.length&&46===t.charCodeAt(0)&&(t=""),e.with({path:t})},e.basename=function(e){return w.basename(e.path)},e.extname=function(e){return w.extname(e.path)}}(k||(k={}))})(),Je=i})();const{URI:Ze,Utils:Xe}=Je;var et="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function tt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nt={},it={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})}},ot=l,at=process.cwd,st=null,rt=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return st||(st=at.call(process)),st};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var ct=process.chdir;process.chdir=function(e){st=null,ct.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,ct)}var lt=function(e){ot.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,n,i){e.open(t,ot.O_WRONLY|ot.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,ot.O_WRONLY|ot.O_SYMLINK,n),a=!0;try{i=e.fchmodSync(o,n),a=!1}finally{if(a)try{e.closeSync(o)}catch(e){}else e.closeSync(o)}return i}}(e);e.lutimes||function(e){ot.hasOwnProperty("O_SYMLINK")&&e.futimes?(e.lutimes=function(t,n,i,o){e.open(t,ot.O_SYMLINK,(function(t,a){t?o&&o(t):e.futimes(a,n,i,(function(t){e.close(a,(function(e){o&&o(t||e)}))}))}))},e.lutimesSync=function(t,n,i){var o,a=e.openSync(t,ot.O_SYMLINK),s=!0;try{o=e.futimesSync(a,n,i),s=!1}finally{if(s)try{e.closeSync(a)}catch(e){}else e.closeSync(a)}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=a(e.stat),e.fstat=a(e.fstat),e.lstat=a(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"===rt&&(e.rename="function"!=typeof e.rename?e.rename:function(t){function n(n,i,o){var a=Date.now(),s=0;t(n,i,(function r(c){if(c&&("EACCES"===c.code||"EPERM"===c.code||"EBUSY"===c.code)&&Date.now()-a<6e4)return setTimeout((function(){e.stat(i,(function(e,a){e&&"ENOENT"===e.code?t(n,i,r):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){r(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(!r(e))throw e}}:t}function i(t){return t?function(n,i,o,a){return t.call(e,n,i,o,(function(e){r(e)&&(e=null),a&&a.apply(this,arguments)}))}:t}function o(t){return t?function(n,i,o){try{return t.call(e,n,i,o)}catch(e){if(!r(e))throw e}}:t}function a(t){return t?function(n,i,o){function a(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,a):t.call(e,n,a)}: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 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,o,a,s,r){var c;if(r&&"function"==typeof r){var l=0;c=function(p,u,d){if(p&&"EAGAIN"===p.code&&l<10)return l++,t.call(e,n,i,o,a,s,c);r.apply(this,arguments)}}return t.call(e,n,i,o,a,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,a){for(var s=0;;)try{return c.call(e,t,n,i,o,a)}catch(e){if("EAGAIN"===e.code&&s<10){s++;continue}throw e}});var c};var pt=p.Stream,ut=function(e){return{ReadStream:function t(n,i){if(!(this instanceof t))return new t(n,i);pt.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 a=Object.keys(i),s=0,r=a.length;s<r;s++){var c=a[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);pt.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),a=0,s=o.length;a<s;a++){var r=o[a];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 dt=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var t={__proto__:ft(e)};else t=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t},ft=Object.getPrototypeOf||function(e){return e.__proto__};var mt,ht,vt=c,xt=lt,gt=ut,bt=dt,yt=d;function _t(e,t){Object.defineProperty(e,mt,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(mt=Symbol.for("graceful-fs.queue"),ht=Symbol.for("graceful-fs.previous")):(mt="___graceful-fs.queue",ht="___graceful-fs.previous");var wt=function(){};if(yt.debuglog?wt=yt.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(wt=function(){var e=yt.format.apply(yt,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!vt[mt]){var Et=et[mt]||[];_t(vt,Et),vt.close=function(e){function t(t,n){return e.call(vt,t,(function(e){e||Rt(),"function"==typeof n&&n.apply(this,arguments)}))}return Object.defineProperty(t,ht,{value:e}),t}(vt.close),vt.closeSync=function(e){function t(t){e.apply(vt,arguments),Rt()}return Object.defineProperty(t,ht,{value:e}),t}(vt.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){wt(vt[mt]),f.equal(vt[mt].length,0)}))}et[mt]||_t(et,vt[mt]);var kt,St=At(bt(vt));function At(e){xt(e),e.gracefulify=At,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,a){return t(n,i,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?"function"==typeof o&&o.apply(this,arguments):Tt([e,[n,i,o],t,a||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,a,s){return n(t,i,o,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?"function"==typeof a&&a.apply(this,arguments):Tt([e,[t,i,o,a],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,a,s){return i(t,n,o,(function(i){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?"function"==typeof a&&a.apply(this,arguments):Tt([e,[t,n,o,a],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,a,s){return o(t,n,i,(function(o){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?"function"==typeof a&&a.apply(this,arguments):Tt([e,[t,n,i,a],o,s||Date.now(),Date.now()])}))}(e,t,n,i)});var a=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 a(e,o(e,t,n,i))}:function(e,t,n,i){return a(e,t,o(e,t,n,i))};return i(e,t,n);function o(e,t,n,o){return function(a,s){!a||"EMFILE"!==a.code&&"ENFILE"!==a.code?(s&&s.sort&&s.sort(),"function"==typeof n&&n.call(this,a,s)):Tt([i,[e,t,n],a,o||Date.now(),Date.now()])}}};var s=/^v[0-5]\./;if("v0.8"===process.version.substr(0,4)){var r=gt(e);d=r.ReadStream,f=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 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,a){return m(t,n,i,(function(s,r){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?"function"==typeof o&&o.apply(this,arguments):Tt([e,[t,n,i,o],s,a||Date.now(),Date.now()])}))}(e,t,n,i)}return e.open=h,e}function Tt(e){wt("ENQUEUE",e[0].name,e[1]),vt[mt].push(e),Ct()}function Rt(){for(var e=Date.now(),t=0;t<vt[mt].length;++t)vt[mt][t].length>2&&(vt[mt][t][3]=e,vt[mt][t][4]=e);Ct()}function Ct(){if(clearTimeout(kt),kt=void 0,0!==vt[mt].length){var e=vt[mt].shift(),t=e[0],n=e[1],i=e[2],o=e[3],a=e[4];if(void 0===o)wt("RETRY",t.name,n),t.apply(null,n);else if(Date.now()-o>=6e4){wt("TIMEOUT",t.name,n);var s=n.pop();"function"==typeof s&&s.call(null,i)}else{var r=Date.now()-a,c=Math.max(a-o,1);r>=Math.min(1.2*c,100)?(wt("RETRY",t.name,n),t.apply(null,n.concat([o]))):vt[mt].push(e)}void 0===kt&&(kt=setTimeout(Ct,0))}}process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!vt.__patched&&(St=At(vt),vt.__patched=!0),function(e){const t=it.fromCallback,n=St,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,a,s){return"function"==typeof s?n.read(e,t,i,o,a,s):new Promise(((s,r)=>{n.read(e,t,i,o,a,((e,t,n)=>{if(e)return r(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,a)=>{n.write(e,t,...i,((e,t,n)=>{if(e)return a(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,a)=>{n.readv(e,t,...i,((e,t,n)=>{if(e)return a(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,a)=>{n.writev(e,t,...i,((e,t,n)=>{if(e)return a(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")}(nt);var Ot={},jt={};const Pt=m;jt.checkPath=function(e){if("win32"===process.platform){if(/[<>:"|?*]/.test(e.replace(Pt.parse(e).root,""))){const t=new Error(`Path contains invalid characters: ${e}`);throw t.code="EINVAL",t}}};const Lt=nt,{checkPath:It}=jt,Nt=e=>"number"==typeof e?e:{mode:511,...e}.mode;Ot.makeDir=async(e,t)=>(It(e),Lt.mkdir(e,{mode:Nt(t),recursive:!0})),Ot.makeDirSync=(e,t)=>(It(e),Lt.mkdirSync(e,{mode:Nt(t),recursive:!0}));const Dt=it.fromPromise,{makeDir:Ft,makeDirSync:Mt}=Ot,$t=Dt(Ft);var Ut={mkdirs:$t,mkdirsSync:Mt,mkdirp:$t,mkdirpSync:Mt,ensureDir:$t,ensureDirSync:Mt};const zt=it.fromPromise,Bt=nt;var Ht={pathExists:zt((function(e){return Bt.access(e).then((()=>!0)).catch((()=>!1))})),pathExistsSync:Bt.existsSync};const qt=nt;var Wt={utimesMillis:(0,it.fromPromise)((async function(e,t,n){const i=await qt.open(e,"r+");let o=null;try{await qt.futimes(i,t,n)}finally{try{await qt.close(i)}catch(e){o=e}}if(o)throw o})),utimesMillisSync:function(e,t,n){const i=qt.openSync(e,"r+");return qt.futimesSync(i,t,n),qt.closeSync(i)}};const Gt=nt,Vt=m,Kt=it.fromPromise;function Yt(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function Qt(e,t){const n=Vt.resolve(e).split(Vt.sep).filter((e=>e)),i=Vt.resolve(t).split(Vt.sep).filter((e=>e));return n.every(((e,t)=>i[t]===e))}function Jt(e,t,n){return`Cannot ${n} '${e}' to a subdirectory of itself, '${t}'.`}var Zt={checkPaths:Kt((async function(e,t,n,i){const{srcStat:o,destStat:a}=await function(e,t,n){const i=n.dereference?e=>Gt.stat(e,{bigint:!0}):e=>Gt.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(a){if(Yt(o,a)){const i=Vt.basename(e),s=Vt.basename(t);if("move"===n&&i!==s&&i.toLowerCase()===s.toLowerCase())return{srcStat:o,destStat:a,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(o.isDirectory()&&!a.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!o.isDirectory()&&a.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(o.isDirectory()&&Qt(e,t))throw new Error(Jt(e,t,n));return{srcStat:o,destStat:a}})),checkPathsSync:function(e,t,n,i){const{srcStat:o,destStat:a}=function(e,t,n){let i;const o=n.dereference?e=>Gt.statSync(e,{bigint:!0}):e=>Gt.lstatSync(e,{bigint:!0}),a=o(e);try{i=o(t)}catch(e){if("ENOENT"===e.code)return{srcStat:a,destStat:null};throw e}return{srcStat:a,destStat:i}}(e,t,i);if(a){if(Yt(o,a)){const i=Vt.basename(e),s=Vt.basename(t);if("move"===n&&i!==s&&i.toLowerCase()===s.toLowerCase())return{srcStat:o,destStat:a,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(o.isDirectory()&&!a.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!o.isDirectory()&&a.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(o.isDirectory()&&Qt(e,t))throw new Error(Jt(e,t,n));return{srcStat:o,destStat:a}},checkParentPaths:Kt((async function e(t,n,i,o){const a=Vt.resolve(Vt.dirname(t)),s=Vt.resolve(Vt.dirname(i));if(s===a||s===Vt.parse(s).root)return;let r;try{r=await Gt.stat(s,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(Yt(n,r))throw new Error(Jt(t,i,o));return e(t,n,s,o)})),checkParentPathsSync:function e(t,n,i,o){const a=Vt.resolve(Vt.dirname(t)),s=Vt.resolve(Vt.dirname(i));if(s===a||s===Vt.parse(s).root)return;let r;try{r=Gt.statSync(s,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(Yt(n,r))throw new Error(Jt(t,i,o));return e(t,n,s,o)},isSrcSubdir:Qt,areIdentical:Yt};const Xt=nt,en=m,{mkdirs:tn}=Ut,{pathExists:nn}=Ht,{utimesMillis:on}=Wt,an=Zt;async function sn(e,t,n){return!n.filter||n.filter(e,t)}async function rn(e,t,n,i){const o=i.dereference?Xt.stat:Xt.lstat,a=await o(t);if(a.isDirectory())return async function(e,t,n,i,o){t||await Xt.mkdir(i);const a=await Xt.readdir(n);await Promise.all(a.map((async e=>{const t=en.join(n,e),a=en.join(i,e);if(!await sn(t,a,o))return;const{destStat:s}=await an.checkPaths(t,a,"copy",o);return rn(s,t,a,o)}))),t||await Xt.chmod(i,e.mode)}(a,e,t,n,i);if(a.isFile()||a.isCharacterDevice()||a.isBlockDevice())return async function(e,t,n,i,o){if(!t)return cn(e,n,i,o);if(o.overwrite)return await Xt.unlink(i),cn(e,n,i,o);if(o.errorOnExist)throw new Error(`'${i}' already exists`)}(a,e,t,n,i);if(a.isSymbolicLink())return async function(e,t,n,i){let o=await Xt.readlink(t);i.dereference&&(o=en.resolve(process.cwd(),o));if(!e)return Xt.symlink(o,n);let a=null;try{a=await Xt.readlink(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return Xt.symlink(o,n);throw e}i.dereference&&(a=en.resolve(process.cwd(),a));if(an.isSrcSubdir(o,a))throw new Error(`Cannot copy '${o}' to a subdirectory of itself, '${a}'.`);if(an.isSrcSubdir(a,o))throw new Error(`Cannot overwrite '${a}' with '${o}'.`);return await Xt.unlink(n),Xt.symlink(o,n)}(e,t,n,i);if(a.isSocket())throw new Error(`Cannot copy a socket file: ${t}`);if(a.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${t}`);throw new Error(`Unknown file: ${t}`)}async function cn(e,t,n,i){if(await Xt.copyFile(t,n),i.preserveTimestamps){0==(128&e.mode)&&await function(e,t){return Xt.chmod(e,128|t)}(n,e.mode);const i=await Xt.stat(t);await on(n,i.atime,i.mtime)}return Xt.chmod(n,e.mode)}var ln=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 an.checkPaths(e,t,"copy",n);if(await an.checkParentPaths(e,i,t,"copy"),!await sn(e,t,n))return;const a=en.dirname(t);await nn(a)||await tn(a),await rn(o,e,t,n)};const pn=St,un=m,dn=Ut.mkdirsSync,fn=Wt.utimesMillisSync,mn=Zt;function hn(e,t,n,i){const o=(i.dereference?pn.statSync:pn.lstatSync)(t);if(o.isDirectory())return function(e,t,n,i,o){return t?gn(n,i,o):function(e,t,n,i){return pn.mkdirSync(n),gn(t,n,i),xn(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 pn.unlinkSync(n),vn(e,t,n,i);if(i.errorOnExist)throw new Error(`'${n}' already exists`)}(e,n,i,o):vn(e,n,i,o)}(o,e,t,n,i);if(o.isSymbolicLink())return function(e,t,n,i){let o=pn.readlinkSync(t);i.dereference&&(o=un.resolve(process.cwd(),o));if(e){let e;try{e=pn.readlinkSync(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return pn.symlinkSync(o,n);throw e}if(i.dereference&&(e=un.resolve(process.cwd(),e)),mn.isSrcSubdir(o,e))throw new Error(`Cannot copy '${o}' to a subdirectory of itself, '${e}'.`);if(mn.isSrcSubdir(e,o))throw new Error(`Cannot overwrite '${e}' with '${o}'.`);return function(e,t){return pn.unlinkSync(t),pn.symlinkSync(e,t)}(o,n)}return pn.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 vn(e,t,n,i){return pn.copyFileSync(t,n),i.preserveTimestamps&&function(e,t,n){(function(e){return 0==(128&e)})(e)&&function(e,t){xn(e,128|t)}(n,e);(function(e,t){const n=pn.statSync(e);fn(t,n.atime,n.mtime)})(t,n)}(e.mode,t,n),xn(n,e.mode)}function xn(e,t){return pn.chmodSync(e,t)}function gn(e,t,n){pn.readdirSync(e).forEach((i=>function(e,t,n,i){const o=un.join(t,e),a=un.join(n,e);if(i.filter&&!i.filter(o,a))return;const{destStat:s}=mn.checkPathsSync(o,a,"copy",i);return hn(s,o,a,i)}(i,e,t,n)))}var bn=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}=mn.checkPathsSync(e,t,"copy",n);if(mn.checkParentPathsSync(e,i,t,"copy"),n.filter&&!n.filter(e,t))return;const a=un.dirname(t);return pn.existsSync(a)||dn(a),hn(o,e,t,n)};var yn={copy:(0,it.fromPromise)(ln),copySync:bn};const _n=St;var wn={remove:(0,it.fromCallback)((function(e,t){_n.rm(e,{recursive:!0,force:!0},t)})),removeSync:function(e){_n.rmSync(e,{recursive:!0,force:!0})}};const En=it.fromPromise,kn=nt,Sn=m,An=Ut,Tn=wn,Rn=En((async function(e){let t;try{t=await kn.readdir(e)}catch{return An.mkdirs(e)}return Promise.all(t.map((t=>Tn.remove(Sn.join(e,t)))))}));function Cn(e){let t;try{t=kn.readdirSync(e)}catch{return An.mkdirsSync(e)}t.forEach((t=>{t=Sn.join(e,t),Tn.removeSync(t)}))}var On={emptyDirSync:Cn,emptydirSync:Cn,emptyDir:Rn,emptydir:Rn};const jn=it.fromPromise,Pn=m,Ln=nt,In=Ut;var Nn={createFile:jn((async function(e){let t;try{t=await Ln.stat(e)}catch{}if(t&&t.isFile())return;const n=Pn.dirname(e);let i=null;try{i=await Ln.stat(n)}catch(t){if("ENOENT"===t.code)return await In.mkdirs(n),void await Ln.writeFile(e,"");throw t}i.isDirectory()?await Ln.writeFile(e,""):await Ln.readdir(n)})),createFileSync:function(e){let t;try{t=Ln.statSync(e)}catch{}if(t&&t.isFile())return;const n=Pn.dirname(e);try{Ln.statSync(n).isDirectory()||Ln.readdirSync(n)}catch(e){if(!e||"ENOENT"!==e.code)throw e;In.mkdirsSync(n)}Ln.writeFileSync(e,"")}};const Dn=it.fromPromise,Fn=m,Mn=nt,$n=Ut,{pathExists:Un}=Ht,{areIdentical:zn}=Zt;var Bn={createLink:Dn((async function(e,t){let n,i;try{n=await Mn.lstat(t)}catch{}try{i=await Mn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}if(n&&zn(i,n))return;const o=Fn.dirname(t);await Un(o)||await $n.mkdirs(o),await Mn.link(e,t)})),createLinkSync:function(e,t){let n;try{n=Mn.lstatSync(t)}catch{}try{const t=Mn.lstatSync(e);if(n&&zn(t,n))return}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}const i=Fn.dirname(t);return Mn.existsSync(i)||$n.mkdirsSync(i),Mn.linkSync(e,t)}};const Hn=m,qn=nt,{pathExists:Wn}=Ht;var Gn={symlinkPaths:(0,it.fromPromise)((async function(e,t){if(Hn.isAbsolute(e)){try{await qn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:e}}const n=Hn.dirname(t),i=Hn.join(n,e);if(await Wn(i))return{toCwd:i,toDst:e};try{await qn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:Hn.relative(n,e)}})),symlinkPathsSync:function(e,t){if(Hn.isAbsolute(e)){if(!qn.existsSync(e))throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}const n=Hn.dirname(t),i=Hn.join(n,e);if(qn.existsSync(i))return{toCwd:i,toDst:e};if(!qn.existsSync(e))throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:Hn.relative(n,e)}}};const Vn=nt;var Kn={symlinkType:(0,it.fromPromise)((async function(e,t){if(t)return t;let n;try{n=await Vn.lstat(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"})),symlinkTypeSync:function(e,t){if(t)return t;let n;try{n=Vn.lstatSync(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"}};const Yn=it.fromPromise,Qn=m,Jn=nt,{mkdirs:Zn,mkdirsSync:Xn}=Ut,{symlinkPaths:ei,symlinkPathsSync:ti}=Gn,{symlinkType:ni,symlinkTypeSync:ii}=Kn,{pathExists:oi}=Ht,{areIdentical:ai}=Zt;var si={createSymlink:Yn((async function(e,t,n){let i;try{i=await Jn.lstat(t)}catch{}if(i&&i.isSymbolicLink()){const[n,i]=await Promise.all([Jn.stat(e),Jn.stat(t)]);if(ai(n,i))return}const o=await ei(e,t);e=o.toDst;const a=await ni(o.toCwd,n),s=Qn.dirname(t);return await oi(s)||await Zn(s),Jn.symlink(e,t,a)})),createSymlinkSync:function(e,t,n){let i;try{i=Jn.lstatSync(t)}catch{}if(i&&i.isSymbolicLink()){const n=Jn.statSync(e),i=Jn.statSync(t);if(ai(n,i))return}const o=ti(e,t);e=o.toDst,n=ii(o.toCwd,n);const a=Qn.dirname(t);return Jn.existsSync(a)||Xn(a),Jn.symlinkSync(e,t,n)}};const{createFile:ri,createFileSync:ci}=Nn,{createLink:li,createLinkSync:pi}=Bn,{createSymlink:ui,createSymlinkSync:di}=si;var fi={createFile:ri,createFileSync:ci,ensureFile:ri,ensureFileSync:ci,createLink:li,createLinkSync:pi,ensureLink:li,ensureLinkSync:pi,createSymlink:ui,createSymlinkSync:di,ensureSymlink:ui,ensureSymlinkSync:di};var mi={stringify:function(e,{EOL:t="\n",finalEOL:n=!0,replacer:i=null,spaces:o}={}){const a=n?t:"";return JSON.stringify(e,i,o).replace(/\n/g,t)+a},stripBom:function(e){return Buffer.isBuffer(e)&&(e=e.toString("utf8")),e.replace(/^\uFEFF/,"")}};let hi;try{hi=St}catch(ly){hi=c}const vi=it,{stringify:xi,stripBom:gi}=mi;const bi=vi.fromPromise((async function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||hi,i=!("throws"in t)||t.throws;let o,a=await vi.fromCallback(n.readFile)(e,t);a=gi(a);try{o=JSON.parse(a,t?t.reviver:null)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}return o}));const yi=vi.fromPromise((async function(e,t,n={}){const i=n.fs||hi,o=xi(t,n);await vi.fromCallback(i.writeFile)(e,o,n)}));const _i={readFile:bi,readFileSync:function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||hi,i=!("throws"in t)||t.throws;try{let i=n.readFileSync(e,t);return i=gi(i),JSON.parse(i,t.reviver)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}},writeFile:yi,writeFileSync:function(e,t,n={}){const i=n.fs||hi,o=xi(t,n);return i.writeFileSync(e,o,n)}};var wi={readJson:_i.readFile,readJsonSync:_i.readFileSync,writeJson:_i.writeFile,writeJsonSync:_i.writeFileSync};const Ei=it.fromPromise,ki=nt,Si=m,Ai=Ut,Ti=Ht.pathExists;var Ri={outputFile:Ei((async function(e,t,n="utf-8"){const i=Si.dirname(e);return await Ti(i)||await Ai.mkdirs(i),ki.writeFile(e,t,n)})),outputFileSync:function(e,...t){const n=Si.dirname(e);ki.existsSync(n)||Ai.mkdirsSync(n),ki.writeFileSync(e,...t)}};const{stringify:Ci}=mi,{outputFile:Oi}=Ri;var ji=async function(e,t,n={}){const i=Ci(t,n);await Oi(e,i,n)};const{stringify:Pi}=mi,{outputFileSync:Li}=Ri;var Ii=function(e,t,n){const i=Pi(t,n);Li(e,i,n)};const Ni=it.fromPromise,Di=wi;Di.outputJson=Ni(ji),Di.outputJsonSync=Ii,Di.outputJSON=Di.outputJson,Di.outputJSONSync=Di.outputJsonSync,Di.writeJSON=Di.writeJson,Di.writeJSONSync=Di.writeJsonSync,Di.readJSON=Di.readJson,Di.readJSONSync=Di.readJsonSync;var Fi=Di;const Mi=nt,$i=m,{copy:Ui}=yn,{remove:zi}=wn,{mkdirp:Bi}=Ut,{pathExists:Hi}=Ht,qi=Zt;var Wi=async function(e,t,n={}){const i=n.overwrite||n.clobber||!1,{srcStat:o,isChangingCase:a=!1}=await qi.checkPaths(e,t,"move",n);await qi.checkParentPaths(e,o,t,"move");const s=$i.dirname(t);return $i.parse(s).root!==s&&await Bi(s),async function(e,t,n,i){if(!i)if(n)await zi(t);else if(await Hi(t))throw new Error("dest already exists.");try{await Mi.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 Ui(e,t,i),zi(e)}(e,t,n)}}(e,t,i,a)};const Gi=St,Vi=m,Ki=yn.copySync,Yi=wn.removeSync,Qi=Ut.mkdirpSync,Ji=Zt;function Zi(e,t,n){try{Gi.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 Ki(e,t,i),Yi(e)}(e,t,n)}}var Xi=function(e,t,n){const i=(n=n||{}).overwrite||n.clobber||!1,{srcStat:o,isChangingCase:a=!1}=Ji.checkPathsSync(e,t,"move",n);return Ji.checkParentPathsSync(e,o,t,"move"),function(e){const t=Vi.dirname(e);return Vi.parse(t).root===t}(t)||Qi(Vi.dirname(t)),function(e,t,n,i){if(i)return Zi(e,t,n);if(n)return Yi(t),Zi(e,t,n);if(Gi.existsSync(t))throw new Error("dest already exists.");return Zi(e,t,n)}(e,t,i,a)};var eo={move:(0,it.fromPromise)(Wi),moveSync:Xi},to=tt({...nt,...yn,...On,...fi,...Fi,...Ut,...eo,...Ri,...Ht,...wn}),no=m,io=v;function oo(){return"homedir"in io?io.homedir():"win32"===(this.__platform||process.platform)?no.resolve(process.env.USERPROFILE):no.resolve(process.env.HOME)}var ao=tt({__platform:process.platform,data:function(){switch(this.__platform||process.platform){case"win32":return no.resolve(process.env.APPDATA);case"darwin":return no.resolve(no.join(oo.call(this),"Library/Application Support/"));default:return process.env.XDG_CONFIG_HOME?no.resolve(process.env.XDG_CONFIG_HOME):no.resolve(no.join(oo.call(this),".config/"))}},desktop:function(){return no.join(oo.call(this),"Desktop")},home:oo,tmp:function(){return"win32"===(this.__platform||process.platform)?no.resolve(process.env.TEMP):no.resolve("/tmp")}});async function so(e){try{return await i.readFile(e,"utf8")}catch(e){return""}}function ro(){try{return ao.data()}catch(e){throw Error(`Failed to get ospath data: ${e.message}`)}}const co=e=>"number"==typeof e?e:{mode:511,...e}.mode;const lo=(t,n)=>new Promise(((i,o)=>{try{!function(t){if("win32"===process.platform&&/[<>:"|?*]/.test(t.replace(e.parse(t).root,""))){const e=new Error(`Path contains invalid characters: ${t}`);throw e.code="EINVAL",e}}(t),a(t,{mode:co(n)},i)}catch(e){o(e)}}));async function po(e){try{return await new Promise((t=>o(e,t)))||await lo(e,{recursive:!0}),!0}catch(e){return!1}}const uo=to.emptyDir,fo=to.remove,mo=to.readJSON,ho=to.writeJSON;function vo(e,t){return function(){return e.apply(t,arguments)}}const{toString:xo}=Object.prototype,{getPrototypeOf:go}=Object,{iterator:bo,toStringTag:yo}=Symbol,_o=(wo=Object.create(null),e=>{const t=xo.call(e);return wo[t]||(wo[t]=t.slice(8,-1).toLowerCase())});var wo;const Eo=e=>(e=e.toLowerCase(),t=>_o(t)===e),ko=e=>t=>typeof t===e,{isArray:So}=Array,Ao=ko("undefined");const To=Eo("ArrayBuffer");const Ro=ko("string"),Co=ko("function"),Oo=ko("number"),jo=e=>null!==e&&"object"==typeof e,Po=e=>{if("object"!==_o(e))return!1;const t=go(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||yo in e||bo in e)},Lo=Eo("Date"),Io=Eo("File"),No=Eo("Blob"),Do=Eo("FileList"),Fo=Eo("URLSearchParams"),[Mo,$o,Uo,zo]=["ReadableStream","Request","Response","Headers"].map(Eo);function Bo(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,o;if("object"!=typeof e&&(e=[e]),So(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),a=o.length;let s;for(i=0;i<a;i++)s=o[i],t.call(null,e[s],s,e)}}function Ho(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 qo="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Wo=e=>!Ao(e)&&e!==qo;const Go=(Vo="undefined"!=typeof Uint8Array&&go(Uint8Array),e=>Vo&&e instanceof Vo);var Vo;const Ko=Eo("HTMLFormElement"),Yo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Qo=Eo("RegExp"),Jo=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Bo(n,((n,o)=>{let a;!1!==(a=t(n,o,e))&&(i[o]=a||n)})),Object.defineProperties(e,i)};const Zo=Eo("AsyncFunction"),Xo=(ea="function"==typeof setImmediate,ta=Co(qo.postMessage),ea?setImmediate:ta?(na=`axios@${Math.random()}`,ia=[],qo.addEventListener("message",(({source:e,data:t})=>{e===qo&&t===na&&ia.length&&ia.shift()()}),!1),e=>{ia.push(e),qo.postMessage(na,"*")}):e=>setTimeout(e));var ea,ta,na,ia;const oa="undefined"!=typeof queueMicrotask?queueMicrotask.bind(qo):"undefined"!=typeof process&&process.nextTick||Xo;var aa={isArray:So,isArrayBuffer:To,isBuffer:function(e){return null!==e&&!Ao(e)&&null!==e.constructor&&!Ao(e.constructor)&&Co(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Co(e.append)&&("formdata"===(t=_o(e))||"object"===t&&Co(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&To(e.buffer),t},isString:Ro,isNumber:Oo,isBoolean:e=>!0===e||!1===e,isObject:jo,isPlainObject:Po,isReadableStream:Mo,isRequest:$o,isResponse:Uo,isHeaders:zo,isUndefined:Ao,isDate:Lo,isFile:Io,isBlob:No,isRegExp:Qo,isFunction:Co,isStream:e=>jo(e)&&Co(e.pipe),isURLSearchParams:Fo,isTypedArray:Go,isFileList:Do,forEach:Bo,merge:function e(){const{caseless:t}=Wo(this)&&this||{},n={},i=(i,o)=>{const a=t&&Ho(n,o)||o;Po(n[a])&&Po(i)?n[a]=e(n[a],i):Po(i)?n[a]=e({},i):So(i)?n[a]=i.slice():n[a]=i};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Bo(arguments[e],i);return n},extend:(e,t,n,{allOwnKeys:i}={})=>(Bo(t,((t,i)=>{n&&Co(t)?e[i]=vo(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,a,s;const r={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)s=o[a],i&&!i(s,e,t)||r[s]||(t[s]=e[s],r[s]=!0);e=!1!==n&&go(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:_o,kindOfTest:Eo,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(So(e))return e;let t=e.length;if(!Oo(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[bo]).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:Ko,hasOwnProperty:Yo,hasOwnProp:Yo,reduceDescriptors:Jo,freezeMethods:e=>{Jo(e,((t,n)=>{if(Co(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=e[n];Co(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 So(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:Ho,global:qo,isContextDefined:Wo,isSpecCompliantForm:function(e){return!!(e&&Co(e.append)&&"FormData"===e[yo]&&e[bo])},toJSONObject:e=>{const t=new Array(10),n=(e,i)=>{if(jo(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[i]=e;const o=So(e)?[]:{};return Bo(e,((e,t)=>{const a=n(e,i+1);!Ao(a)&&(o[t]=a)})),t[i]=void 0,o}}return e};return n(e,0)},isAsyncFn:Zo,isThenable:e=>e&&(jo(e)||Co(e))&&Co(e.then)&&Co(e.catch),setImmediate:Xo,asap:oa,isIterable:e=>null!=e&&Co(e[bo])};function sa(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)}aa.inherits(sa,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:aa.toJSONObject(this.config),code:this.code,status:this.status}}});const ra=sa.prototype,ca={};["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=>{ca[e]={value:e}})),Object.defineProperties(sa,ca),Object.defineProperty(ra,"isAxiosError",{value:!0}),sa.from=(e,t,n,i,o,a)=>{const s=Object.create(ra);return aa.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),sa.call(s,e.message,t,n,i,o),s.cause=e,s.name=e.name,a&&Object.assign(s,a),s};var la=p.Stream,pa=ua;function ua(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}d.inherits(ua,la),ua.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(ua.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),ua.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},ua.prototype.resume=function(){this._released||this.release(),this.source.resume()},ua.prototype.pause=function(){this.source.pause()},ua.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},ua.prototype.pipe=function(){var e=la.prototype.pipe.apply(this,arguments);return this.resume(),e},ua.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))},ua.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 da=d,fa=p.Stream,ma=pa,ha=va;function va(){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}da.inherits(va,fa),va.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},va.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},va.prototype.append=function(e){if(va.isStreamLike(e)){if(!(e instanceof ma)){var t=ma.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},va.prototype.pipe=function(e,t){return fa.prototype.pipe.call(this,e,t),this.resume(),e},va.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}}},va.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){va.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},va.prototype._pipeNext=function(e){if(this._currentStream=e,va.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},va.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},va.prototype.write=function(e){this.emit("data",e)},va.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},va.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")},va.prototype.end=function(){this._reset(),this.emit("end")},va.prototype.destroy=function(){this._reset(),this.emit("close")},va.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},va.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},va.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)},va.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var xa={},ga={"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=va,a=h.extname,o=/^\s*([^;\s]*)(?:;|\s|$)/,r=/^text\//i;function c(e){if(!e||"string"!=typeof e)return!1;var t=o.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=o.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=a("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 a=s[e],o=a.extensions;if(o&&o.length){t[e]=o;for(var r=0;r<o.length;r++){var c=o[r];if(n[c]){var p=i.indexOf(s[n[c]].source),l=i.indexOf(a.source);if("application/octet-stream"!==n[c]&&(p>l||p===l&&"application/"===n[c].substr(0,12)))continue}n[c]=e}}}))}(xa);var ga=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 ba=ga,ya=function(e){var t=!1;return ba((function(){t=!0})),function(n,i){t?e(n,i):ba((function(){e(n,i)}))}};var _a=function(e){Object.keys(e.jobs).forEach(wa.bind(e)),e.jobs={}};function wa(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var Ea=ya,ka=_a,Sa=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,Ea(i)):e(n,t,Ea(i));return s}(t,s,e[s],(function(e,t){s in n.jobs&&(delete n.jobs[s],e?ka(n):n.results[s]=t,i(e,n.results))}))};var Ta=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 Ra=_a,Aa=ya,Ca=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,Ra(this),Aa(e)(null,this.results)};var Oa=Sa,ja=Ta,Pa=Ca,La=function(e,t,n){var i=ja(e);for(;i.index<(i.keyedList||e).length;)Oa(e,t,i,(function(e,t){e?n(e,t):0!==Object.keys(i.jobs).length||n(null,i.results)})),i.index++;return Pa.bind(i,n)};var Na={exports:{}},Ia=Sa,Da=Ta,Fa=Ca;function Ma(e,t){return e<t?-1:e>t?1:0}Na.exports=function(e,t,n,i){var s=Da(e,n);return Ia(e,t,s,(function n(a,o){a?i(a,o):(s.index++,s.index<(s.keyedList||e).length?Ia(e,t,s,n):i(null,s.results))})),Fa.bind(s,i)},Na.exports.ascending=Ma,Na.exports.descending=function(e,t){return-1*Ma(e,t)};var $a=Na.exports,Ua=$a,Ba=function(e,t,n){return Ua(e,t,null,n)};var za={parallel:La,serial:Ba,serialOrdered:$a},Ha=ha,qa=d,Ga=h,Wa=g,Ka=b,Va=y.parse,Qa=c,Ya=l.Stream,Ja=xa,Za=za,Xa=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e},eo=to;function to(e){if(!(this instanceof to))return new to(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Ha.call(this),e=e||{})this[t]=e[t]}qa.inherits(to,Ha),to.LINE_BREAK="\r\n",to.DEFAULT_CONTENT_TYPE="application/octet-stream",to.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=Ha.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),qa.isArray(t))this._error(new Error("Arrays are not supported."));else{var s=this._multiPartHeader(e,t,n),a=this._multiPartFooter();i(s),i(t),i(a),this._trackLength(s,t,n)}},to.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)+to.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof Ya)&&(n.knownLength||this._valuesToMeasure.push(t))},to.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)):Qa.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")},to.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var i,s=this._getContentDisposition(t,n),a=this._getContentType(t,n),o="",r={"Content-Disposition":["form-data",'name="'+e+'"'].concat(s||[]),"Content-Type":[].concat(a||[])};for(var c in"object"==typeof n.header&&Xa(r,n.header),r)r.hasOwnProperty(c)&&null!=(i=r[c])&&(Array.isArray(i)||(i=[i]),i.length&&(o+=c+": "+i.join("; ")+to.LINE_BREAK));return"--"+this.getBoundary()+to.LINE_BREAK+o+to.LINE_BREAK},to.prototype._getContentDisposition=function(e,t){var n,i;return"string"==typeof t.filepath?n=Ga.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=Ga.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=Ga.basename(e.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i},to.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=Ja.lookup(e.name)),!n&&e.path&&(n=Ja.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=Ja.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=to.DEFAULT_CONTENT_TYPE),n},to.prototype._multiPartFooter=function(){return function(e){var t=to.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},to.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+to.LINE_BREAK},to.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},to.prototype.setBoundary=function(e){this._boundary=e},to.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},to.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(to.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},to.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},to.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},to.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},to.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?Za.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))},to.prototype.submit=function(e,t){var n,i,s={method:"post"};return"string"==typeof e?(e=Va(e),i=Xa({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},s)):(i=Xa(e,s)).port||(i.port="https:"==i.protocol?443:80),i.headers=this.getHeaders(e.headers),n="https:"==i.protocol?Ka.request(i):Wa.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,a=function(e,i){return n.removeListener("error",a),n.removeListener("response",s),t.call(this,e,i)};s=a.bind(this,null),n.on("error",a),n.on("response",s)}}.bind(this)),n},to.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},to.prototype.toString=function(){return"[object FormData]"};var no=tt(eo);function io(e){return sa.isPlainObject(e)||sa.isArray(e)}function so(e){return sa.endsWith(e,"[]")?e.slice(0,-2):e}function ao(e,t,n){return e?e.concat(t).map((function(e,t){return e=so(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const oo=sa.toFlatObject(sa,{},null,(function(e){return/^is[A-Z]/.test(e)}));function ro(e,t,n){if(!sa.isObject(e))throw new TypeError("target must be an object");t=t||new(no||FormData);const i=(n=sa.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!sa.isUndefined(t[e])}))).metaTokens,s=n.visitor||p,a=n.dots,o=n.indexes,r=(n.Blob||"undefined"!=typeof Blob&&Blob)&&sa.isSpecCompliantForm(t);if(!sa.isFunction(s))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(sa.isDate(e))return e.toISOString();if(!r&&sa.isBlob(e))throw new aa("Blob is not supported. Use a Buffer instead.");return sa.isArrayBuffer(e)||sa.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(sa.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(sa.isArray(e)&&function(e){return sa.isArray(e)&&!e.some(io)}(e)||(sa.isFileList(e)||sa.endsWith(n,"[]"))&&(r=sa.toArray(e)))return n=so(n),r.forEach((function(e,i){!sa.isUndefined(e)&&null!==e&&t.append(!0===o?ao([n],i,a):null===o?n:n+"[]",c(e))})),!1;return!!io(e)||(t.append(ao(s,n,a),c(e)),!1)}const l=[],u=Object.assign(oo,{defaultVisitor:p,convertValue:c,isVisitable:io});if(!sa.isObject(e))throw new TypeError("data must be an object");return function e(n,i){if(!sa.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+i.join("."));l.push(n),sa.forEach(n,(function(n,a){!0===(!(sa.isUndefined(n)||null===n)&&s.call(t,n,sa.isString(a)?a.trim():a,i,u))&&e(n,i?i.concat(a):[a])})),l.pop()}}(e),t}function co(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function po(e,t){this._pairs=[],e&&ro(e,this,t)}const lo=po.prototype;function uo(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function mo(e,t,n){if(!t)return e;const i=n&&n.encode||uo;sa.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let a;if(a=s?s(t,n):sa.isURLSearchParams(t)?t.toString():new po(t,n).toString(i),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}lo.append=function(e,t){this._pairs.push([e,t])},lo.toString=function(e){const t=e?function(t){return e.call(this,t,co)}:co;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class ho{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){sa.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var fo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xo=y.URLSearchParams;const vo="abcdefghijklmnopqrstuvwxyz",go="0123456789",bo={DIGIT:go,ALPHA:vo,ALPHA_DIGIT:vo+vo.toUpperCase()+go};var yo={isNode:!0,classes:{URLSearchParams:xo,FormData:no,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:bo,generateString:(e=16,t=bo.ALPHA_DIGIT)=>{let n="";const{length:i}=t,s=new Uint32Array(e);_.randomFillSync(s);for(let a=0;a<e;a++)n+=t[s[a]%i];return n},protocols:["http","https","file","data"]};const _o="undefined"!=typeof window&&"undefined"!=typeof document,wo="object"==typeof navigator&&navigator||void 0,Eo=_o&&(!wo||["ReactNative","NativeScript","NS"].indexOf(wo.product)<0),ko="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,So=_o&&window.location.href||"http://localhost";var To={...Object.freeze({__proto__:null,hasBrowserEnv:_o,hasStandardBrowserEnv:Eo,hasStandardBrowserWebWorkerEnv:ko,navigator:wo,origin:So}),...yo};function Ro(e){function t(e,n,i,s){let a=e[s++];if("__proto__"===a)return!0;const o=Number.isFinite(+a),r=s>=e.length;if(a=!a&&sa.isArray(i)?i.length:a,r)return sa.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!o;i[a]&&sa.isObject(i[a])||(i[a]=[]);return t(e,n,i[a],s)&&sa.isArray(i[a])&&(i[a]=function(e){const t={},n=Object.keys(e);let i;const s=n.length;let a;for(i=0;i<s;i++)a=n[i],t[a]=e[a];return t}(i[a])),!o}if(sa.isFormData(e)&&sa.isFunction(e.entries)){const n={};return sa.forEachEntry(e,((e,i)=>{t(function(e){return sa.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),i,n,0)})),n}return null}const Ao={transitional:fo,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,s=sa.isObject(e);s&&sa.isHTMLForm(e)&&(e=new FormData(e));if(sa.isFormData(e))return i?JSON.stringify(Ro(e)):e;if(sa.isArrayBuffer(e)||sa.isBuffer(e)||sa.isStream(e)||sa.isFile(e)||sa.isBlob(e)||sa.isReadableStream(e))return e;if(sa.isArrayBufferView(e))return e.buffer;if(sa.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ro(e,new To.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,i){return To.isNode&&sa.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=sa.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ro(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||i?(t.setContentType("application/json",!1),function(e,t,n){if(sa.isString(e))try{return(t||JSON.parse)(e),sa.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ao.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(sa.isResponse(e)||sa.isReadableStream(e))return e;if(e&&sa.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 aa.from(e,aa.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:To.classes.FormData,Blob:To.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};sa.forEach(["delete","get","head","post","put","patch"],(e=>{Ao.headers[e]={}}));var Co=Ao;const Oo=sa.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 jo=Symbol("internals");function Po(e){return e&&String(e).trim().toLowerCase()}function Lo(e){return!1===e||null==e?e:sa.isArray(e)?e.map(Lo):String(e)}function No(e,t,n,i,s){return sa.isFunction(i)?i.call(this,t,n):(s&&(t=n),sa.isString(t)?sa.isString(i)?-1!==t.indexOf(i):sa.isRegExp(i)?i.test(t):void 0:void 0)}class Io{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function s(e,t,n){const s=Po(t);if(!s)throw new Error("header name must be a non-empty string");const a=sa.findKey(i,s);(!a||void 0===i[a]||!0===n||void 0===n&&!1!==i[a])&&(i[a||t]=Lo(e))}const a=(e,t)=>sa.forEach(e,((e,n)=>s(e,n,t)));if(sa.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(sa.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((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]&&Oo[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(sa.isObject(e)&&sa.isIterable(e)){let n,i,s={};for(const t of e){if(!sa.isArray(t))throw TypeError("Object iterator must return a key-value pair");s[i=t[0]]=(n=s[i])?sa.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}a(s,t)}else null!=e&&s(t,e,n);return this}get(e,t){if(e=Po(e)){const n=sa.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(sa.isFunction(t))return t.call(this,e,n);if(sa.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Po(e)){const n=sa.findKey(this,e);return!(!n||void 0===this[n]||t&&!No(0,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function s(e){if(e=Po(e)){const s=sa.findKey(n,e);!s||t&&!No(0,n[s],s,t)||(delete n[s],i=!0)}}return sa.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&&!No(0,this[s],s,e,!0)||(delete this[s],i=!0)}return i}normalize(e){const t=this,n={};return sa.forEach(this,((i,s)=>{const a=sa.findKey(n,s);if(a)return t[a]=Lo(i),void delete t[s];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(s):String(s).trim();o!==s&&delete t[s],t[o]=Lo(i),n[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return sa.forEach(this,((n,i)=>{null!=n&&!1!==n&&(t[i]=e&&sa.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[jo]=this[jo]={accessors:{}}).accessors,n=this.prototype;function i(e){const i=Po(e);t[i]||(!function(e,t){const n=sa.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 sa.isArray(e)?e.forEach(i):i(e),this}}Io.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),sa.reduceDescriptors(Io.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),sa.freezeMethods(Io);var Do=Io;function Fo(e,t){const n=this||Co,i=t||n,s=Do.from(i.headers);let a=i.data;return sa.forEach(e,(function(e){a=e.call(n,a,s.normalize(),t?t.status:void 0)})),s.normalize(),a}function Mo(e){return!(!e||!e.__CANCEL__)}function $o(e,t,n){aa.call(this,null==e?"canceled":e,aa.ERR_CANCELED,t,n),this.name="CanceledError"}function Uo(e,t,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new aa("Request failed with status code "+n.status,[aa.ERR_BAD_REQUEST,aa.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Bo(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}sa.inherits($o,aa,{__CANCEL__:!0});var zo={},Ho=y.parse,qo={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},Go=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function Wo(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}zo.getProxyForUrl=function(e){var t="string"==typeof e?Ho(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=(Wo("npm_config_no_proxy")||Wo("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,a=i?parseInt(i[2]):0;return!(!a||a===t)||(/^[.*]/.test(s)?("*"===s.charAt(0)&&(s=s.slice(1)),!Go.call(e,s)):e!==s)}))}(i=i.replace(/:\d*$/,""),s=parseInt(s)||qo[n]||0))return"";var a=Wo("npm_config_"+n+"_proxy")||Wo(n+"_proxy")||Wo("npm_config_proxy")||Wo("all_proxy");return a&&-1===a.indexOf("://")&&(a=n+"://"+a),a};var Ko,Vo,Qo,Yo,Jo,Zo={exports:{}},Xo={exports:{}},er={exports:{}};function tr(){if(Vo)return Ko;Vo=1;var e=1e3,t=60*e,n=60*t,i=24*n,s=7*i,a=365.25*i;function o(e,t,n,i){var s=t>=1.5*n;return Math.round(e/n)+" "+i+(s?"s":"")}return Ko=function(r,c){c=c||{};var p=typeof r;if("string"===p&&r.length>0)return function(o){if((o=String(o)).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(o);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*a;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 a=Math.abs(s);if(a>=i)return o(s,a,i,"day");if(a>=n)return o(s,a,n,"hour");if(a>=t)return o(s,a,t,"minute");if(a>=e)return o(s,a,e,"second");return s+" ms"}(r):function(s){var a=Math.abs(s);if(a>=i)return Math.round(s/i)+"d";if(a>=n)return Math.round(s/n)+"h";if(a>=t)return Math.round(s/t)+"m";if(a>=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 nr(){if(Yo)return Qo;return Yo=1,Qo=function(e){function t(e){let i,s,a,o=null;function r(...e){if(!r.enabled)return;const n=r,s=Number(new Date),a=s-(i||s);n.diff=a,n.prev=i,n.curr=s,i=s,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((i,s)=>{if("%%"===i)return"%";o++;const a=t.formatters[s];if("function"==typeof a){const t=e[o];i=a.call(n,t),e.splice(o,1),o--}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!==o?o:(s!==t.namespaces&&(s=t.namespaces,a=t.enabled(e)),a),set:e=>{o=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,a=0;for(;n<e.length;)if(i<t.length&&(t[i]===e[n]||"*"===t[i]))"*"===t[i]?(s=i,a=n,i++):(n++,i++);else{if(-1===s)return!1;i=s+1,a++,n=a}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=tr(),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},Qo}var ir,sr,ar,or,rr,cr,pr,lr={exports:{}};function ur(){return sr?ir:(sr=1,ir=(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 dr(){if(or)return ar;or=1;const e=x,t=ur(),n=process.env;let i;function s(s){const a=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 a=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:a;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,a)}(s);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(a)}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)),ar={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}}function mr(){return rr||(rr=1,function(e,t){const n=w,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),a=` ${s};1m${i} `;n[0]=a+n[0].split("\n").join("\n"+a),n.push(s+"m+"+e.exports.humanize(this.diff)+"")}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=dr();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=nr()(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)}}(lr,lr.exports)),lr.exports}function hr(){return cr||(cr=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?Xo.exports=(Jo||(Jo=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=nr()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(er,er.exports)),er.exports):Xo.exports=mr()),Xo.exports}var fr,xr,vr,gr=y,br=gr.URL,yr=g,_r=b,wr=l.Writable,Er=m,kr=function(){if(!pr){try{pr=hr()("follow-redirects")}catch(e){}"function"!=typeof pr&&(pr=function(){})}pr.apply(null,arguments)};fr="undefined"!=typeof process,xr="undefined"!=typeof window&&"undefined"!=typeof document,vr=Gr(Error.captureStackTrace),fr||!xr&&vr||console.warn("The follow-redirects package should be excluded from browser builds.");var Sr=!1;try{Er(new br(""))}catch(Yf){Sr="ERR_INVALID_URL"===Yf.code}var Tr=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Rr=["abort","aborted","connect","error","socket","timeout"],Ar=Object.create(null);Rr.forEach((function(e){Ar[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}}));var Cr=zr("ERR_INVALID_URL","Invalid URL",TypeError),Or=zr("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),jr=zr("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Or),Pr=zr("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Lr=zr("ERR_STREAM_WRITE_AFTER_END","write after end"),Nr=wr.prototype.destroy||Fr;function Ir(e,t){wr.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 Or?e:new Or({cause:e}))}},this._performRequest()}function Dr(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(i){var s=i+":",a=n[s]=e[i],o=t[i]=Object.create(a);Object.defineProperties(o,{request:{value:function(e,i,a){var o;return o=e,br&&o instanceof br?e=Ur(e):qr(e)?e=Ur(Mr(e)):(a=i,i=$r(e),e={protocol:s}),Gr(i)&&(a=i,i=null),(i=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,i)).nativeProtocols=n,qr(i.host)||qr(i.hostname)||(i.hostname="::1"),Er.equal(i.protocol,s,"protocol mismatch"),kr("options",i),new Ir(i,a)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var i=o.request(e,t,n);return i.end(),i},configurable:!0,enumerable:!0,writable:!0}})})),t}function Fr(){}function Mr(e){var t;if(Sr)t=new br(e);else if(!qr((t=$r(gr.parse(e))).protocol))throw new Cr({input:e});return t}function $r(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Cr({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Cr({input:e.href||e});return e}function Ur(e,t){var n=t||{};for(var i of Tr)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 Br(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 zr(e,t,n){function i(n){Gr(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 Hr(e,t){for(var n of Rr)e.removeListener(n,Ar[n]);e.on("error",Fr),e.destroy(t)}function qr(e){return"string"==typeof e||e instanceof String}function Gr(e){return"function"==typeof e}Ir.prototype=Object.create(wr.prototype),Ir.prototype.abort=function(){Hr(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},Ir.prototype.destroy=function(e){return Hr(this._currentRequest,e),Nr.call(this,e),this},Ir.prototype.write=function(e,t,n){if(this._ending)throw new Lr;if(!qr(e)&&("object"!=typeof(i=e)||!("length"in i)))throw new TypeError("data should be a string, Buffer or Uint8Array");var i;Gr(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 Pr),this.abort()):n&&n()},Ir.prototype.end=function(e,t,n){if(Gr(e)?(n=e,e=t=null):Gr(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)},Ir.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},Ir.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},Ir.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"),a()}),e),i(t)}function a(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",a),n.removeListener("error",a),n.removeListener("response",a),n.removeListener("close",a),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",a),this.on("error",a),this.on("response",a),this.on("close",a),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){Ir.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(Ir.prototype,e,{get:function(){return this._currentRequest[e]}})})),Ir.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))}},Ir.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,Rr))i.on(s,Ar[s]);if(this._currentUrl=/^\//.test(this._options.path)?gr.format(this._options):this._options.path,this._isRedirect){var a=0,o=this,r=this._requestBodyBuffers;!function e(t){if(i===o._currentRequest)if(t)o.emit("error",t);else if(a<r.length){var n=r[a++];i.finished||i.write(n.data,n.encoding,e)}else o._ended&&i.end()}()}},Ir.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(Hr(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new jr;var s=this._options.beforeRedirect;s&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var a=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=[],Br(/^content-/i,this._options.headers));var o,r,c=Br(/^host$/i,this._options.headers),p=Mr(this._currentUrl),l=c||p.host,u=/^\w+:/.test(i)?this._currentUrl:gr.format(Object.assign(p,{host:l})),d=(o=i,r=u,Sr?new br(o,r):Mr(gr.resolve(r,o)));if(kr("redirecting to",d.href),this._isRedirect=!0,Ur(d,this._options),(d.protocol!==p.protocol&&"https:"!==d.protocol||d.host!==l&&!function(e,t){Er(qr(e)&&qr(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(d.host,l))&&Br(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),Gr(s)){var m={headers:e.headers,statusCode:t},h={url:u,method:a,headers:n};s(this._options,m,h),this._sanitizeOptions(this._options)}this._performRequest()},Zo.exports=Dr({http:yr,https:_r}),Zo.exports.wrap=Dr;var Wr=tt(Zo.exports);const Kr="1.9.0";function Vr(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Qr=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;const Yr=Symbol("internals");class Jr extends l.Transform{constructor(e){super({readableHighWaterMark:(e=sa.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!sa.isUndefined(t[e])))).chunkSize});const t=this[Yr]={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[Yr];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const i=this[Yr],s=i.maxRate,a=this.readableHighWaterMark,o=i.timeWindow,r=s/(1e3/o),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=a,m=0;if(s){const e=Date.now();(!i.ts||(m=e-i.ts)>=o)&&(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)}),o-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 Zr=Jr;const{asyncIterator:Xr}=Symbol,ec=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[Xr]?yield*e[Xr]():yield e},tc=To.ALPHABET.ALPHA_DIGIT+"-_",nc="function"==typeof TextEncoder?new TextEncoder:new d.TextEncoder,ic="\r\n",sc=nc.encode(ic);class ac{constructor(e,t){const{escapeName:n}=this.constructor,i=sa.isString(t);let s=`Content-Disposition: form-data; name="${n(e)}"${!i&&t.name?`; filename="${n(t.name)}"`:""}${ic}`;i?t=nc.encode(String(t).replace(/\r?\n|\r\n?/g,ic)):s+=`Content-Type: ${t.type||"application/octet-stream"}${ic}`,this.headers=nc.encode(s+ic),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;sa.isTypedArray(e)?yield e:yield*ec(e),yield sc}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class oc 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 rc=(e,t)=>sa.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 cc=(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,a=0,o=0;return t=void 0!==t?t:1e3,function(r){const c=Date.now(),p=i[o];s||(s=c),n[a]=r,i[a]=c;let l=o,u=0;for(;l!==a;)u+=n[l++],l%=e;if(a=(a+1)%e,a===o&&(o=(o+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,a=1e3/t;const o=(t,a=Date.now())=>{s=a,n=null,i&&(clearTimeout(i),i=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),r=t-s;r>=a?o(e,t):(n=e,i||(i=setTimeout((()=>{i=null,o(n)}),a-r)))},()=>n&&o(n)]}((n=>{const a=n.loaded,o=n.lengthComputable?n.total:void 0,r=a-i,c=s(r);i=a;e({loaded:a,total:o,progress:o?a/o:void 0,bytes:r,rate:c||void 0,estimated:c&&o&&a<=o?(o-a)/c:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})}),n)},pc=(e,t)=>{const n=null!=e;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},lc=e=>(...t)=>sa.asap((()=>e(...t))),uc={flush:E.constants.Z_SYNC_FLUSH,finishFlush:E.constants.Z_SYNC_FLUSH},dc={flush:E.constants.BROTLI_OPERATION_FLUSH,finishFlush:E.constants.BROTLI_OPERATION_FLUSH},mc=sa.isFunction(E.createBrotliDecompress),{http:hc,https:fc}=Wr,xc=/https:?/,vc=To.protocols.map((e=>e+":")),gc=(e,[t,n])=>(e.on("end",n).on("error",n),t);function bc(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function yc(e,t,n){let i=t;if(!i&&!1!==i){const e=zo.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){yc(e,t,e.href)}}const _c="undefined"!=typeof process&&"process"===sa.kindOf(process),wc=(e,t)=>(({address:e,family:t})=>{if(!sa.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(sa.isObject(e)?e:{address:e,family:t});var Ec=_c&&function(e){return t=async function(t,n,i){let{data:s,lookup:a,family:o}=e;const{responseType:r,responseEncoding:c}=e,p=e.method.toUpperCase();let m,h,f=!1;if(a){const e=rc(a,(e=>sa.isArray(e)?e:[e]));a=(t,n,i)=>{e(t,n,((e,t,s)=>{if(e)return i(e);const a=sa.isArray(t)?t.map((e=>wc(e))):[wc(t,s)];n.all?i(e,a):i(e,a[0].address,a[0].family)}))}}const x=new S,v=()=>{e.cancelToken&&e.cancelToken.unsubscribe(y),e.signal&&e.signal.removeEventListener("abort",y),x.removeAllListeners()};function y(t){x.emit("abort",!t||t.type?new $o(null,e,h):t)}i(((e,t)=>{m=!0,t&&(f=!0,v())})),x.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 _=Bo(e.baseURL,e.url,e.allowAbsoluteUrls),w=new URL(_,To.hasBrowserEnv?To.origin:void 0),k=w.protocol||vc[0];if("data:"===k){let i;if("GET"!==p)return Uo(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{i=function(e,t,n){const i=n&&n.Blob||To.classes.Blob,s=Vr(e);if(void 0===t&&i&&(t=!0),"data"===s){e=s.length?e.slice(s.length+1):e;const n=Qr.exec(e);if(!n)throw new aa("Invalid URL",aa.ERR_INVALID_URL);const a=n[1],o=n[2],r=n[3],c=Buffer.from(decodeURIComponent(r),o?"base64":"utf8");if(t){if(!i)throw new aa("Blob is not supported",aa.ERR_NOT_SUPPORT);return new i([c],{type:a})}return c}throw new aa("Unsupported protocol "+s,aa.ERR_NOT_SUPPORT)}(e.url,"blob"===r,{Blob:e.env&&e.env.Blob})}catch(t){throw aa.from(t,aa.ERR_BAD_REQUEST,e)}return"text"===r?(i=i.toString(c),c&&"utf8"!==c||(i=sa.stripBOM(i))):"stream"===r&&(i=l.Readable.from(i)),Uo(t,n,{data:i,status:200,statusText:"OK",headers:new Do,config:e})}if(-1===vc.indexOf(k))return n(new aa("Unsupported protocol "+k,aa.ERR_BAD_REQUEST,e));const T=Do.from(e.headers).normalize();T.set("User-Agent","axios/"+Kr,!1);const{onUploadProgress:R,onDownloadProgress:A}=e,C=e.maxRate;let O,j;if(sa.isSpecCompliantForm(s)){const e=T.getContentType(/boundary=([-_\w\d]{10,70})/i);s=((e,t,n)=>{const{tag:i="form-data-boundary",size:s=25,boundary:a=i+"-"+To.generateString(s,tc)}=n||{};if(!sa.isFormData(e))throw TypeError("FormData instance required");if(a.length<1||a.length>70)throw Error("boundary must be 10-70 characters long");const o=nc.encode("--"+a+ic),r=nc.encode("--"+a+"--"+ic);let c=r.byteLength;const p=Array.from(e.entries()).map((([e,t])=>{const n=new ac(e,t);return c+=n.size,n}));c+=o.byteLength*p.length,c=sa.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${a}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),u.from(async function*(){for(const e of p)yield o,yield*e.encode();yield r}())})(s,(e=>{T.set(e)}),{tag:`axios-${Kr}-boundary`,boundary:e&&e[1]||void 0})}else if(sa.isFormData(s)&&sa.isFunction(s.getHeaders)){if(T.set(s.getHeaders()),!T.hasContentLength())try{const e=await d.promisify(s.getLength).call(s);Number.isFinite(e)&&e>=0&&T.setContentLength(e)}catch(e){}}else if(sa.isBlob(s)||sa.isFile(s))s.size&&T.setContentType(s.type||"application/octet-stream"),T.setContentLength(s.size||0),s=l.Readable.from(ec(s));else if(s&&!sa.isStream(s)){if(Buffer.isBuffer(s));else if(sa.isArrayBuffer(s))s=Buffer.from(new Uint8Array(s));else{if(!sa.isString(s))return n(new aa("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",aa.ERR_BAD_REQUEST,e));s=Buffer.from(s,"utf-8")}if(T.setContentLength(s.length,!1),e.maxBodyLength>-1&&s.length>e.maxBodyLength)return n(new aa("Request body larger than maxBodyLength limit",aa.ERR_BAD_REQUEST,e))}const P=sa.toFiniteNumber(T.getContentLength());let L,N;sa.isArray(C)?(O=C[0],j=C[1]):O=j=C,s&&(R||O)&&(sa.isStream(s)||(s=l.Readable.from(s,{objectMode:!1})),s=l.pipeline([s,new Zr({maxRate:sa.toFiniteNumber(O)})],sa.noop),R&&s.on("progress",gc(s,pc(P,cc(lc(R),!1,3))))),e.auth&&(L=(e.auth.username||"")+":"+(e.auth.password||"")),!L&&w.username&&(L=w.username+":"+w.password),L&&T.delete("authorization");try{N=mo(w.pathname+w.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)}T.set("Accept-Encoding","gzip, compress, deflate"+(mc?", br":""),!1);const I={path:N,method:p,headers:T.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:L,protocol:k,family:o,beforeRedirect:bc,beforeRedirects:{}};let D;!sa.isUndefined(a)&&(I.lookup=a),e.socketPath?I.socketPath=e.socketPath:(I.hostname=w.hostname.startsWith("[")?w.hostname.slice(1,-1):w.hostname,I.port=w.port,yc(I,e.proxy,k+"//"+w.hostname+(w.port?":"+w.port:"")+I.path));const F=xc.test(I.protocol);if(I.agent=F?e.httpsAgent:e.httpAgent,e.transport?D=e.transport:0===e.maxRedirects?D=F?b:g:(e.maxRedirects&&(I.maxRedirects=e.maxRedirects),e.beforeRedirect&&(I.beforeRedirects.config=e.beforeRedirect),D=F?fc:hc),e.maxBodyLength>-1?I.maxBodyLength=e.maxBodyLength:I.maxBodyLength=1/0,e.insecureHTTPParser&&(I.insecureHTTPParser=e.insecureHTTPParser),h=D.request(I,(function(i){if(h.destroyed)return;const s=[i],a=+i.headers["content-length"];if(A||j){const e=new Zr({maxRate:sa.toFiniteNumber(j)});A&&e.on("progress",gc(e,pc(a,cc(lc(A),!0,3)))),s.push(e)}let o=i;const u=i.req||h;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(E.createUnzip(uc)),delete i.headers["content-encoding"];break;case"deflate":s.push(new oc),s.push(E.createUnzip(uc)),delete i.headers["content-encoding"];break;case"br":mc&&(s.push(E.createBrotliDecompress(dc)),delete i.headers["content-encoding"])}o=s.length>1?l.pipeline(s,sa.noop):s[0];const d=l.finished(o,(()=>{d(),v()})),m={status:i.statusCode,statusText:i.statusMessage,headers:new Do(i.headers),config:e,request:u};if("stream"===r)m.data=o,Uo(t,n,m);else{const i=[];let s=0;o.on("data",(function(t){i.push(t),s+=t.length,e.maxContentLength>-1&&s>e.maxContentLength&&(f=!0,o.destroy(),n(new aa("maxContentLength size of "+e.maxContentLength+" exceeded",aa.ERR_BAD_RESPONSE,e,u)))})),o.on("aborted",(function(){if(f)return;const t=new aa("stream has been aborted",aa.ERR_BAD_RESPONSE,e,u);o.destroy(t),n(t)})),o.on("error",(function(t){h.destroyed||n(aa.from(t,null,e,u))})),o.on("end",(function(){try{let e=1===i.length?i[0]:Buffer.concat(i);"arraybuffer"!==r&&(e=e.toString(c),c&&"utf8"!==c||(e=sa.stripBOM(e))),m.data=e}catch(t){return n(aa.from(t,null,e,m.request,m))}Uo(t,n,m)}))}x.once("abort",(e=>{o.destroyed||(o.emit("error",e),o.destroy())}))})),x.once("abort",(e=>{n(e),h.destroy(e)})),h.on("error",(function(t){n(aa.from(t,null,e,h))})),h.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void n(new aa("error trying to parse `config.timeout` to int",aa.ERR_BAD_OPTION_VALUE,e,h));h.setTimeout(t,(function(){if(m)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const i=e.transitional||fo;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new aa(t,i.clarifyTimeoutError?aa.ETIMEDOUT:aa.ECONNABORTED,e,h)),y()}))}if(sa.isStream(s)){let t=!1,n=!1;s.on("end",(()=>{t=!0})),s.once("error",(e=>{n=!0,h.destroy(e)})),s.on("close",(()=>{t||n||y(new $o("Request stream has been aborted",e,h))})),s.pipe(h)}else h.end(s)},new Promise(((e,n)=>{let i,s;const a=(e,t)=>{s||(s=!0,i&&i(e,t))},o=e=>{a(e,!0),n(e)};t((t=>{a(t),e(t)}),o,(e=>i=e)).catch(o)}));var t},kc=To.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,To.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(To.origin),To.navigator&&/(msie|trident)/i.test(To.navigator.userAgent)):()=>!0,Sc=To.hasStandardBrowserEnv?{write(e,t,n,i,s,a){const o=[e+"="+encodeURIComponent(t)];sa.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),sa.isString(i)&&o.push("path="+i),sa.isString(s)&&o.push("domain="+s),!0===a&&o.push("secure"),document.cookie=o.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 Tc=e=>e instanceof Do?{...e}:e;function Rc(e,t){t=t||{};const n={};function i(e,t,n,i){return sa.isPlainObject(e)&&sa.isPlainObject(t)?sa.merge.call({caseless:i},e,t):sa.isPlainObject(t)?sa.merge({},t):sa.isArray(t)?t.slice():t}function s(e,t,n,s){return sa.isUndefined(t)?sa.isUndefined(e)?void 0:i(void 0,e,0,s):i(e,t,0,s)}function a(e,t){if(!sa.isUndefined(t))return i(void 0,t)}function o(e,t){return sa.isUndefined(t)?sa.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function r(n,s,a){return a in t?i(n,s):a in e?i(void 0,n):void 0}const c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:r,headers:(e,t,n)=>s(Tc(e),Tc(t),0,!0)};return sa.forEach(Object.keys(Object.assign({},e,t)),(function(i){const a=c[i]||s,o=a(e[i],t[i],i);sa.isUndefined(o)&&a!==r||(n[i]=o)})),n}var Ac=e=>{const t=Rc({},e);let n,{data:i,withXSRFToken:s,xsrfHeaderName:a,xsrfCookieName:o,headers:r,auth:c}=t;if(t.headers=r=Do.from(r),t.url=mo(Bo(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&r.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),sa.isFormData(i))if(To.hasStandardBrowserEnv||To.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(To.hasStandardBrowserEnv&&(s&&sa.isFunction(s)&&(s=s(t)),s||!1!==s&&kc(t.url))){const e=a&&o&&Sc.read(o);e&&r.set(a,e)}return t};var Cc="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const i=Ac(e);let s=i.data;const a=Do.from(i.headers).normalize();let o,r,c,p,l,{responseType:u,onUploadProgress:d,onDownloadProgress:m}=i;function h(){p&&p(),l&&l(),i.cancelToken&&i.cancelToken.unsubscribe(o),i.signal&&i.signal.removeEventListener("abort",o)}let f=new XMLHttpRequest;function x(){if(!f)return;const i=Do.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders());Uo((function(e){t(e),h()}),(function(e){n(e),h()}),{data:u&&"text"!==u&&"json"!==u?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:i,config:e,request:f}),f=null}f.open(i.method.toUpperCase(),i.url,!0),f.timeout=i.timeout,"onloadend"in f?f.onloadend=x:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(x)},f.onabort=function(){f&&(n(new aa("Request aborted",aa.ECONNABORTED,e,f)),f=null)},f.onerror=function(){n(new aa("Network Error",aa.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let t=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const s=i.transitional||fo;i.timeoutErrorMessage&&(t=i.timeoutErrorMessage),n(new aa(t,s.clarifyTimeoutError?aa.ETIMEDOUT:aa.ECONNABORTED,e,f)),f=null},void 0===s&&a.setContentType(null),"setRequestHeader"in f&&sa.forEach(a.toJSON(),(function(e,t){f.setRequestHeader(t,e)})),sa.isUndefined(i.withCredentials)||(f.withCredentials=!!i.withCredentials),u&&"json"!==u&&(f.responseType=i.responseType),m&&([c,l]=cc(m,!0),f.addEventListener("progress",c)),d&&f.upload&&([r,p]=cc(d),f.upload.addEventListener("progress",r),f.upload.addEventListener("loadend",p)),(i.cancelToken||i.signal)&&(o=t=>{f&&(n(!t||t.type?new $o(null,e,f):t),f.abort(),f=null)},i.cancelToken&&i.cancelToken.subscribe(o),i.signal&&(i.signal.aborted?o():i.signal.addEventListener("abort",o)));const v=Vr(i.url);v&&-1===To.protocols.indexOf(v)?n(new aa("Unsupported protocol "+v+":",aa.ERR_BAD_REQUEST,e)):f.send(s||null)}))};var Oc=(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,o();const t=e instanceof Error?e:this.reason;i.abort(t instanceof aa?t:new $o(t instanceof Error?t.message:t))}};let a=t&&setTimeout((()=>{a=null,s(new aa(`timeout ${t} of ms exceeded`,aa.ETIMEDOUT))}),t);const o=()=>{e&&(a&&clearTimeout(a),a=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=()=>sa.asap(o),r}};const jc=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},Pc=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()}},Lc=(e,t,n,i)=>{const s=async function*(e,t){for await(const n of Pc(e))yield*jc(n,t)}(e,t);let a,o=0,r=e=>{a||(a=!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 a=i.byteLength;if(n){let e=o+=a;n(e)}e.enqueue(new Uint8Array(i))}catch(e){throw r(e),e}},cancel:e=>(r(e),s.return())},{highWaterMark:2})},Nc="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Ic=Nc&&"function"==typeof ReadableStream,Dc=Nc&&("function"==typeof TextEncoder?(Fc=new TextEncoder,e=>Fc.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Fc;const Mc=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},$c=Ic&&Mc((()=>{let e=!1;const t=new Request(To.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Uc=Ic&&Mc((()=>sa.isReadableStream(new Response("").body))),Bc={stream:Uc&&(e=>e.body)};var zc;Nc&&(zc=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Bc[e]&&(Bc[e]=sa.isFunction(zc[e])?t=>t[e]():(t,n)=>{throw new aa(`Response type '${e}' is not supported`,aa.ERR_NOT_SUPPORT,n)})})));const Hc=async(e,t)=>{const n=sa.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(sa.isBlob(e))return e.size;if(sa.isSpecCompliantForm(e)){const t=new Request(To.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return sa.isArrayBufferView(e)||sa.isArrayBuffer(e)?e.byteLength:(sa.isURLSearchParams(e)&&(e+=""),sa.isString(e)?(await Dc(e)).byteLength:void 0)})(t):n};var qc=Nc&&(async e=>{let{url:t,method:n,data:i,signal:s,cancelToken:a,timeout:o,onDownloadProgress:r,onUploadProgress:c,responseType:p,headers:l,withCredentials:u="same-origin",fetchOptions:d}=Ac(e);p=p?(p+"").toLowerCase():"text";let m,h=Oc([s,a&&a.toAbortSignal()],o);const f=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let x;try{if(c&&$c&&"get"!==n&&"head"!==n&&0!==(x=await Hc(l,i))){let e,n=new Request(t,{method:"POST",body:i,duplex:"half"});if(sa.isFormData(i)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body){const[e,t]=pc(x,cc(lc(c)));i=Lc(n.body,65536,e,t)}}sa.isString(u)||(u=u?"include":"omit");const s="credentials"in Request.prototype;m=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:s?u:void 0});let a=await fetch(m);const o=Uc&&("stream"===p||"response"===p);if(Uc&&(r||o&&f)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=sa.toFiniteNumber(a.headers.get("content-length")),[n,i]=r&&pc(t,cc(lc(r),!0))||[];a=new Response(Lc(a.body,65536,n,(()=>{i&&i(),f&&f()})),e)}p=p||"text";let v=await Bc[sa.findKey(Bc,p)||"text"](a,e);return!o&&f&&f(),await new Promise(((t,n)=>{Uo(t,n,{data:v,headers:Do.from(a.headers),status:a.status,statusText:a.statusText,config:e,request:m})}))}catch(t){if(f&&f(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new aa("Network Error",aa.ERR_NETWORK,e,m),{cause:t.cause||t});throw aa.from(t,t&&t.code,e,m)}});const Gc={http:Ec,xhr:Cc,fetch:qc};sa.forEach(Gc,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Wc=e=>`- ${e}`,Kc=e=>sa.isFunction(e)||null===e||!1===e;var Vc=e=>{e=sa.isArray(e)?e:[e];const{length:t}=e;let n,i;const s={};for(let a=0;a<t;a++){let t;if(n=e[a],i=n,!Kc(n)&&(i=Gc[(t=String(n)).toLowerCase()],void 0===i))throw new aa(`Unknown adapter '${t}'`);if(i)break;s[t||"#"+a]=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 aa("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Wc).join("\n"):" "+Wc(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function Qc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $o(null,e)}function Yc(e){Qc(e),e.headers=Do.from(e.headers),e.data=Fo.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Vc(e.adapter||Co.adapter)(e).then((function(t){return Qc(e),t.data=Fo.call(e,e.transformResponse,t),t.headers=Do.from(t.headers),t}),(function(t){return Mo(t)||(Qc(e),t&&t.response&&(t.response.data=Fo.call(e,e.transformResponse,t.response),t.response.headers=Do.from(t.response.headers))),Promise.reject(t)}))}const Jc={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Jc[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Zc={};Jc.transitional=function(e,t,n){function i(e,t){return"[Axios v1.9.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,s,a)=>{if(!1===e)throw new aa(i(s," has been removed"+(t?" in "+t:"")),aa.ERR_DEPRECATED);return t&&!Zc[s]&&(Zc[s]=!0,console.warn(i(s," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,s,a)}},Jc.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Xc={assertOptions:function(e,t,n){if("object"!=typeof e)throw new aa("options must be an object",aa.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let s=i.length;for(;s-- >0;){const a=i[s],o=t[a];if(o){const t=e[a],n=void 0===t||o(t,a,e);if(!0!==n)throw new aa("option "+a+" must be "+n,aa.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new aa("Unknown option "+a,aa.ERR_BAD_OPTION)}},validators:Jc};const ep=Xc.validators;class tp{constructor(e){this.defaults=e||{},this.interceptors={request:new ho,response:new ho}}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=Rc(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:s}=t;void 0!==n&&Xc.assertOptions(n,{silentJSONParsing:ep.transitional(ep.boolean),forcedJSONParsing:ep.transitional(ep.boolean),clarifyTimeoutError:ep.transitional(ep.boolean)},!1),null!=i&&(sa.isFunction(i)?t.paramsSerializer={serialize:i}:Xc.assertOptions(i,{encode:ep.function,serialize:ep.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Xc.assertOptions(t,{baseUrl:ep.spelling("baseURL"),withXsrfToken:ep.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=s&&sa.merge(s.common,s[t.method]);s&&sa.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete s[e]})),t.headers=Do.concat(a,s);const o=[];let r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,o.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=[Yc.bind(this),void 0];for(e.unshift.apply(e,o),e.push.apply(e,c),l=e.length,p=Promise.resolve(t);u<l;)p=p.then(e[u++],e[u++]);return p}l=o.length;let d=t;for(u=0;u<l;){const e=o[u++],t=o[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{p=Yc.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 mo(Bo((e=Rc(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}sa.forEach(["delete","get","head","options"],(function(e){tp.prototype[e]=function(t,n){return this.request(Rc(n||{},{method:e,url:t,data:(n||{}).data}))}})),sa.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,s){return this.request(Rc(s||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}tp.prototype[e]=t(),tp.prototype[e+"Form"]=t(!0)}));var np=tp;class ip{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 $o(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 ip((function(t){e=t})),cancel:e}}}var sp=ip;const ap={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(ap).forEach((([e,t])=>{ap[t]=e}));var op=ap;const rp=function e(t){const n=new np(t),i=fs(np.prototype.request,n);return sa.extend(i,np.prototype,n,{allOwnKeys:!0}),sa.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(Rc(t,n))},i}(Co);var cp,pp,lp;rp.Axios=np,rp.CanceledError=$o,rp.CancelToken=sp,rp.isCancel=Mo,rp.VERSION=Kr,rp.toFormData=ro,rp.AxiosError=aa,rp.Cancel=rp.CanceledError,rp.all=function(e){return Promise.all(e)},rp.spread=function(e){return function(t){return e.apply(null,t)}},rp.isAxiosError=function(e){return sa.isObject(e)&&!0===e.isAxiosError},rp.mergeConfig=Rc,rp.AxiosHeaders=Do,rp.formToJSON=e=>Ro(sa.isHTMLForm(e)?new FormData(e):e),rp.getAdapter=Vc,rp.HttpStatusCode=op,rp.default=rp,function(e){e.SAAS="saas",e.INTERNAL="internal",e.POC="poc"}(cp||(cp={})),function(e){e.PRODUCTION="production",e.DEVELOPMENT="development",e.TEST="test"}(pp||(pp={})),function(e){e.VSCODE="vscode",e.JETBRAINS="jetbrains"}(lp||(lp={}));const up="https://comate.baidu.com",dp="https://comate.baidu-int.com",mp="https://comate-cop.now.baidu.com",hp="https://comate-test.now.baidu.com",fp=(()=>{try{if("ide"===process.env.IDE){const t=e.join(function(){const t="Comate";switch(T.platform()){case"win32":return e.join(R(),"AppData","Roaming",t,"User");case"darwin":return e.join(R(),"Library","Application Support",t,"User");default:return e.join(R(),".config",t,"User")}}(),"loginMode.json");return JSON.parse(n.readFileSync(t,"utf8"))}return{}}catch(e){return{}}})(),xp="uuap"===fp.loginMode;let vp="ide"===process.env.IDE&&xp?cp.INTERNAL:process.env.PLATFORM||cp.INTERNAL,gp=process.env.ENVIRONMENT||pp.PRODUCTION,bp=process.env.DISPLAY_LANGUAGE||"zh",yp=process.env.ACCEPT_LANGUAGE||"zh-CN,zh";const _p={[cp.SAAS]:{[pp.PRODUCTION]:up,[pp.DEVELOPMENT]:up,[pp.TEST]:mp},[cp.INTERNAL]:{[pp.PRODUCTION]:dp,[pp.DEVELOPMENT]:dp,[pp.TEST]:hp},[cp.POC]:{[pp.PRODUCTION]:up,[pp.DEVELOPMENT]:up,[pp.TEST]:mp}};function wp(e){vp="ide"===process.env.IDE&&xp?cp.INTERNAL:e}function Ep(e,t){vp="ide"===process.env.IDE&&xp?cp.INTERNAL:e,gp=t}let kp=process.env.HTTP_HOST;function Sp(e){kp=e}const Tp=()=>kp||(_p?.[vp]?.[gp]??dp),Rp=e=>{"en"===e?(bp="en",yp="en-US,en"):(bp="zh",yp="zh-CN,zh")};Rp(bp),cp.SAAS;const Ap={},Cp=process.env.HTTP_PROXY_URL||"",{protocol:Op,hostname:jp,port:Pp}=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}}(Cp),Lp=rp.create(Ap),Np=rp.create(Ap);Lp.interceptors.request.use((async e=>{const t={...e,baseURL:Tp()};return t.headers["Accept-Language"]=yp,Cp&&(t.proxy={host:jp,port:Number(Pp),protocol:Op}),t}));const Ip=e=>rp.create(e),Dp=()=>rp.CancelToken.source(),Fp=rp.CanceledError;function Mp(e={},t={},n=1){for(const i in t)t.hasOwnProperty(i)&&(n<3&&"object"==typeof t[i]&&null!=t[i]&&e.hasOwnProperty(i)&&"object"==typeof e[i]&&null!=e[i]?e[i]=Mp(e[i],t[i],n+1):e[i]=t[i]);return e}async function $p(e){try{const t=await Lp("/api/v2/api/comateplus/configSets/config/enabled",{method:"POST",headers:{"Content-Type":"application/json","X-Username":e},data:JSON.stringify({username:e})});return 200===t.status?t.data.data:[]}catch(e){return[]}}async function Up(t){let n={};if(t&&t.length>0){const i=Ze.parse(t[0].uri).fsPath,s=e.join(i,".comate","plugin-local.json"),a=e.join(i,".comate","plugin.json");let o={},r={};try{o=JSON.parse(await os(s)||"{}")}catch{}try{r=JSON.parse(await os(a)||"{}")}catch{}n=Mp(r,o)}return n}async function Bp(e,t,n){let i={};const s=t.find((t=>t.pluginName===e))?.configValues;i={enabled:s?.enabled||!0,config:s?.values};return Mp(i,n[e])}function zp(){const e={};return e.promise=new Promise(((t,n)=>{e.resolve=t,e.reject=n})),e}const Hp=process.env.PLATFORM??"unknow-engine",qp=process.env.IDE??"unknown",Gp=["Importing JSON module","Debugger listening","SESSION_FINISH","COMATE_PLUS_INITIALIZED"],Wp="development"===process.env.NODE_ENV;class Kp{initParams;constructor(e){this.initParams=e}async logError(e,t){Wp||Gp.some((e=>t.includes(e)))||this.logUserAction({category:e,content:t},"error")}async logUserAction(e,t="event"){if(Wp)return;const n={type:t,event:e,platform:Hp,ide:qp,common:{app:`comate-${qp}`,license:this.initParams.license,username:this.initParams.username,version:this.initParams.version,ideVersion:this.initParams.ideVersion,os:{platform:T.platform(),arch:T.arch(),release:T.release()},timestamp:Date.now()}};Lp.post("/logger/comate.log",n,{headers:{"Content-Type":"application/json"}}).then((()=>{})).catch((()=>{}))}}function Vp(e){const t=e.split("\n"),n=t.pop()??"";return[t.filter((e=>""!==e)),n]}const Qp=e=>JSON.parse(e);class Yp{body;parse;cancellationToken;error=!1;errorMsg="";constructor(e,t=Qp,n){this.body=e,this.parse=t,this.cancellationToken=n}async*processSSE(){let e="";const t=new TextDecoder;try{for await(const n of this.body){const i=t.decode(n,{stream:!0});if(this.maybeCancel())return;const[s,a]=Vp(e+i);e=a;for(const e of s){if(e.startsWith(":heartbeat"))continue;const t=e.replace(/^data:/,"").trim();if(""!==t)try{const e=this.parse(t);e&&(yield e)}catch(e){return this.cancel(),this.error=!0,void(this.errorMsg=t)}}}}catch(e){if(this.maybeCancel())return;throw e}}maybeCancel(){const e=!!this.cancellationToken?.isCancellationRequested;return e&&this.cancel(),e}cancel(){this.body.destroy()}}async function Jp(e,t,n,i,s,a,o){const{knowledgeSets:r,additionalQueries:c,mergeUserKnowledge:p,queryRewrite:l,topK:u,score:d,checkPermission:m}=s||{};let h=i;r?.length&&(h=p?r.concat(h):r);const f=await Np(`${o?"":"/api/v2/api/aidevops/knowledge"}/rest/v1/retrieval${r&&!m?"/for-plugin":""}`,{method:"POST",baseURL:o||Tp(),headers:{"X-Source":"COMATE","Content-Type":"application/json","Uuap-login-name":e},data:JSON.stringify({query:t,retrievalType:n,workspaces:h,additionalQueries:c,queryRewrite:l,knowledgeUUIDs:a,topK:u,score:d})}).then((e=>e.data));return 200===f.code?f.data:f}async function Zp(e,t,n,i){const s=await Np((t?"":"/api/v2/api/aidevops/knowledge")+"/rest/v1/workspaces",{baseURL:t||Tp(),headers:{"X-Source":"COMATE","Uuap-login-name":e,"Cloud-login-name":n?encodeURIComponent(n):void 0,"X-Access-Token":t?"c138a4a8-64e1-451e-b193-80caba5dd0f2":void 0},params:{query:i}}).then((e=>e.data));return 200===s.code?s.data.list:s}async function Xp(e){await Np("/api/knowledge/ok",{baseURL:e||Tp()})}function el(e,t){return t?e.replace(/\{\{(\w+)\}\}/g,((e,n)=>{const i=t[n];return void 0!==i?String(i):e})):e}const tl=".comate/prompt",nl=t=>e.join(t,tl),il=(t,n)=>e.join(t,tl,`${n}.prompt`),sl=(t,n)=>{const i=nl(n);return e.relative(i,t)?.replace(/\.prompt$/,"")};var al={exports:{}},ol={};const rl=h,cl="\\\\/",pl=`[^${cl}]`,ll="\\.",ul="\\/",dl="[^/]",ml=`(?:${ul}|$)`,hl=`(?:^|${ul})`,fl=`${ll}{1,2}${ml}`,xl={DOT_LITERAL:ll,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:ul,ONE_CHAR:"(?=.)",QMARK:dl,END_ANCHOR:ml,DOTS_SLASH:fl,NO_DOT:`(?!${ll})`,NO_DOTS:`(?!${hl}${fl})`,NO_DOT_SLASH:`(?!${ll}{0,1}${ml})`,NO_DOTS_SLASH:`(?!${fl})`,QMARK_NO_DOT:`[^.${ul}]`,STAR:`${dl}*?`,START_ANCHOR:hl},vl={...xl,SLASH_LITERAL:`[${cl}]`,QMARK:pl,STAR:`${pl}*?`,DOTS_SLASH:`${ll}{1,2}(?:[${cl}]|$)`,NO_DOT:`(?!${ll})`,NO_DOTS:`(?!(?:^|[${cl}])${ll}{1,2}(?:[${cl}]|$))`,NO_DOT_SLASH:`(?!${ll}{0,1}(?:[${cl}]|$))`,NO_DOTS_SLASH:`(?!${ll}{1,2}(?:[${cl}]|$))`,QMARK_NO_DOT:`[^.${cl}]`,START_ANCHOR:`(?:^|[${cl}])`,END_ANCHOR:`(?:[${cl}]|$)`};var gl={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:rl.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?vl:xl};!function(e){const t=h,n="win32"===process.platform,{REGEX_BACKSLASH:i,REGEX_REMOVE_BACKSLASH:s,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:o}=gl;e.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),e.hasRegexChars=e=>a.test(e),e.isRegexChar=t=>1===t.length&&e.hasRegexChars(t),e.escapeRegex=e=>e.replace(o,"\\$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}}(ol);const bl=ol,{CHAR_ASTERISK:yl,CHAR_AT:_l,CHAR_BACKWARD_SLASH:wl,CHAR_COMMA:El,CHAR_DOT:kl,CHAR_EXCLAMATION_MARK:Sl,CHAR_FORWARD_SLASH:Tl,CHAR_LEFT_CURLY_BRACE:Rl,CHAR_LEFT_PARENTHESES:Al,CHAR_LEFT_SQUARE_BRACKET:Cl,CHAR_PLUS:Ol,CHAR_QUESTION_MARK:jl,CHAR_RIGHT_CURLY_BRACE:Pl,CHAR_RIGHT_PARENTHESES:Ll,CHAR_RIGHT_SQUARE_BRACKET:Nl}=gl,Il=e=>e===Tl||e===wl,Dl=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};var Fl=(e,t)=>{const n=t||{},i=e.length-1,s=!0===n.parts||!0===n.scanToEnd,a=[],o=[],r=[];let c,p,l=e,u=-1,d=0,m=0,h=!1,f=!1,x=!1,v=!1,g=!1,b=!1,y=!1,_=!1,w=!1,E=!1,k=0,S={value:"",depth:0,isGlob:!1};const T=()=>u>=i,R=()=>(c=p,l.charCodeAt(++u));for(;u<i;){let e;if(p=R(),p!==wl){if(!0===b||p===Rl){for(k++;!0!==T()&&(p=R());)if(p!==wl)if(p!==Rl){if(!0!==b&&p===kl&&(p=R())===kl){if(h=S.isBrace=!0,x=S.isGlob=!0,E=!0,!0===s)continue;break}if(!0!==b&&p===El){if(h=S.isBrace=!0,x=S.isGlob=!0,E=!0,!0===s)continue;break}if(p===Pl&&(k--,0===k)){b=!1,h=S.isBrace=!0,E=!0;break}}else k++;else y=S.backslashes=!0,R();if(!0===s)continue;break}if(p!==Tl){if(!0!==n.noext){if(!0===(p===Ol||p===_l||p===yl||p===jl||p===Sl)&&l.charCodeAt(u+1)===Al){if(x=S.isGlob=!0,v=S.isExtglob=!0,E=!0,p===Sl&&u===d&&(w=!0),!0===s){for(;!0!==T()&&(p=R());)if(p!==wl){if(p===Ll){x=S.isGlob=!0,E=!0;break}}else y=S.backslashes=!0,p=R();continue}break}}if(p===yl){if(c===yl&&(g=S.isGlobstar=!0),x=S.isGlob=!0,E=!0,!0===s)continue;break}if(p===jl){if(x=S.isGlob=!0,E=!0,!0===s)continue;break}if(p===Cl){for(;!0!==T()&&(e=R());)if(e!==wl){if(e===Nl){f=S.isBracket=!0,x=S.isGlob=!0,E=!0;break}}else y=S.backslashes=!0,R();if(!0===s)continue;break}if(!0===n.nonegate||p!==Sl||u!==d){if(!0!==n.noparen&&p===Al){if(x=S.isGlob=!0,!0===s){for(;!0!==T()&&(p=R());)if(p!==Al){if(p===Ll){E=!0;break}}else y=S.backslashes=!0,p=R();continue}break}if(!0===x){if(E=!0,!0===s)continue;break}}else _=S.negated=!0,d++}else{if(a.push(u),o.push(S),S={value:"",depth:0,isGlob:!1},!0===E)continue;if(c===kl&&u===d+1){d+=2;continue}m=u+1}}else y=S.backslashes=!0,p=R(),p===Rl&&(b=!0)}!0===n.noext&&(v=!1,x=!1);let A=l,C="",O="";d>0&&(C=l.slice(0,d),l=l.slice(d),m-=d),A&&!0===x&&m>0?(A=l.slice(0,m),O=l.slice(m)):!0===x?(A="",O=l):A=l,A&&""!==A&&"/"!==A&&A!==l&&Il(A.charCodeAt(A.length-1))&&(A=A.slice(0,-1)),!0===n.unescape&&(O&&(O=bl.removeBackslashes(O)),A&&!0===y&&(A=bl.removeBackslashes(A)));const j={prefix:C,input:e,start:d,base:A,glob:O,isBrace:h,isBracket:f,isGlob:x,isExtglob:v,isGlobstar:g,negated:_,negatedExtglob:w};if(!0===n.tokens&&(j.maxDepth=0,Il(p)||o.push(S),j.tokens=o),!0===n.parts||!0===n.tokens){let t;for(let i=0;i<a.length;i++){const s=t?t+1:d,c=a[i],p=e.slice(s,c);n.tokens&&(0===i&&0!==d?(o[i].isPrefix=!0,o[i].value=C):o[i].value=p,Dl(o[i]),j.maxDepth+=o[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&&(o[o.length-1].value=i,Dl(o[o.length-1]),j.maxDepth+=o[o.length-1].depth)}j.slashes=a,j.parts=r}return j};const Ml=gl,$l=ol,{MAX_LENGTH:Ul,POSIX_REGEX_SOURCE:Bl,REGEX_NON_SPECIAL_CHARS:zl,REGEX_SPECIAL_CHARS_BACKREF:Hl,REPLACEMENTS:ql}=Ml,Gl=(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=>$l.escapeRegex(e))).join("..")}return n},Wl=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,Kl=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=ql[e]||e;const n={...t},i="number"==typeof n.maxLength?Math.min(Ul,n.maxLength):Ul;let s=e.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);const a={type:"bos",value:"",output:n.prepend||""},o=[a],r=n.capture?"":"?:",c=$l.isWindows(t),p=Ml.globChars(c),l=Ml.extglobChars(p),{DOT_LITERAL:u,PLUS_LITERAL:d,SLASH_LITERAL:m,ONE_CHAR:h,DOTS_SLASH:f,NO_DOT:x,NO_DOT_SLASH:v,NO_DOTS_SLASH:g,QMARK:b,QMARK_NO_DOT:y,STAR:_,START_ANCHOR:w}=p,E=e=>`(${r}(?:(?!${w}${e.dot?f:u}).)*?)`,k=n.dot?"":x,S=n.dot?b:y;let T=!0===n.bash?E(n):_;n.capture&&(T=`(${T})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const R={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:o};e=$l.removePrefix(e,R),s=e.length;const A=[],C=[],O=[];let j,P=a;const L=()=>R.index===s-1,N=R.peek=(t=1)=>e[R.index+t],I=R.advance=()=>e[++R.index]||"",D=()=>e.slice(R.index+1),F=(e="",t=0)=>{R.consumed+=e,R.index+=t},M=e=>{R.output+=null!=e.output?e.output:e.value,F(e.value)},$=()=>{let e=1;for(;"!"===N()&&("("!==N(2)||"?"===N(3));)I(),R.start++,e++;return e%2!=0&&(R.negated=!0,R.start++,!0)},U=e=>{R[e]++,O.push(e)},B=e=>{R[e]--,O.pop()},z=e=>{if("globstar"===P.type){const t=R.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||A.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||n||(R.output=R.output.slice(0,-P.output.length),P.type="star",P.value="*",P.output=T,R.output+=P.output)}if(A.length&&"paren"!==e.type&&(A[A.length-1].inner+=e.value),(e.value||e.output)&&M(e),P&&"text"===P.type&&"text"===e.type)return P.value+=e.value,void(P.output=(P.output||"")+e.value);e.prev=P,o.push(e),P=e},H=(e,t)=>{const i={...l[t],conditions:1,inner:""};i.prev=P,i.parens=R.parens,i.output=R.output;const s=(n.capture?"(":"")+i.open;U("parens"),z({type:e,value:t,output:R.output?"":h}),z({type:"paren",extglob:!0,value:I(),output:s}),A.push(i)},q=e=>{let i,s=e.close+(n.capture?")":"");if("negate"===e.type){let a=T;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(a=E(n)),(a!==T||L()||/^\)+$/.test(D()))&&(s=e.close=`)$))${a}`),e.inner.includes("*")&&(i=D())&&/^\.[^\\/.]+$/.test(i)){const n=Kl(i,{...t,fastpaths:!1}).output;s=e.close=`)${n})${a})`}"bos"===e.prev.type&&(R.negatedExtglob=!0)}z({type:"paren",extglob:!0,value:j,output:s}),B("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let i=!1,s=e.replace(Hl,((e,t,n,s,a,o)=>"\\"===s?(i=!0,e):"?"===s?t?t+s+(a?b.repeat(a.length):""):0===o?S+(a?b.repeat(a.length):""):b.repeat(n.length):"."===s?u.repeat(n.length):"*"===s?t?t+s+(a?T:""):T: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?(R.output=e,R):(R.output=$l.wrapOutput(s,R,t),R)}for(;!L();){if(j=I(),"\0"===j)continue;if("\\"===j){const e=N();if("/"===e&&!0!==n.bash)continue;if("."===e||";"===e)continue;if(!e){j+="\\",z({type:"text",value:j});continue}const t=/^\\+/.exec(D());let i=0;if(t&&t[0].length>2&&(i=t[0].length,R.index+=i,i%2!=0&&(j+="\\")),!0===n.unescape?j=I():j+=I(),0===R.brackets){z({type:"text",value:j});continue}}if(R.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=Bl[n];if(i){P.value=t+i,R.backtrack=!0,I(),a.output||1!==o.indexOf(P)||(a.output=h);continue}}}("["===j&&":"!==N()||"-"===j&&"]"===N())&&(j=`\\${j}`),"]"!==j||"["!==P.value&&"[^"!==P.value||(j=`\\${j}`),!0===n.posix&&"!"===j&&"["===P.value&&(j="^"),P.value+=j,M({value:j});continue}if(1===R.quotes&&'"'!==j){j=$l.escapeRegex(j),P.value+=j,M({value:j});continue}if('"'===j){R.quotes=1===R.quotes?0:1,!0===n.keepQuotes&&z({type:"text",value:j});continue}if("("===j){U("parens"),z({type:"paren",value:j});continue}if(")"===j){if(0===R.parens&&!0===n.strictBrackets)throw new SyntaxError(Wl("opening","("));const e=A[A.length-1];if(e&&R.parens===e.parens+1){q(A.pop());continue}z({type:"paren",value:j,output:R.parens?")":"\\)"}),B("parens");continue}if("["===j){if(!0!==n.nobracket&&D().includes("]"))U("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(Wl("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===R.brackets){if(!0===n.strictBrackets)throw new SyntaxError(Wl("opening","["));z({type:"text",value:j,output:`\\${j}`});continue}B("brackets");const e=P.value.slice(1);if(!0===P.posix||"^"!==e[0]||e.includes("/")||(j=`/${j}`),P.value+=j,M({value:j}),!1===n.literalBrackets||$l.hasRegexChars(e))continue;const t=$l.escapeRegex(P.value);if(R.output=R.output.slice(0,-P.value.length),!0===n.literalBrackets){R.output+=t,P.value=t;continue}P.value=`(${r}${t}|${P.value})`,R.output+=P.value;continue}if("{"===j&&!0!==n.nobrace){U("braces");const e={type:"brace",value:j,output:"(",outputIndex:R.output.length,tokensIndex:R.tokens.length};C.push(e),z(e);continue}if("}"===j){const e=C[C.length-1];if(!0===n.nobrace||!e){z({type:"text",value:j,output:j});continue}let t=")";if(!0===e.dots){const e=o.slice(),i=[];for(let t=e.length-1;t>=0&&(o.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&i.unshift(e[t].value);t=Gl(i,n),R.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const n=R.output.slice(0,e.outputIndex),i=R.tokens.slice(e.tokensIndex);e.value=e.output="\\{",j=t="\\}",R.output=n;for(const e of i)R.output+=e.output||e.value}z({type:"brace",value:j,output:t}),B("braces"),C.pop();continue}if("|"===j){A.length>0&&A[A.length-1].conditions++,z({type:"text",value:j});continue}if(","===j){let e=j;const t=C[C.length-1];t&&"braces"===O[O.length-1]&&(t.comma=!0,e="|"),z({type:"comma",value:j,output:e});continue}if("/"===j){if("dot"===P.type&&R.index===R.start+1){R.start=R.index+1,R.consumed="",R.output="",o.pop(),P=a;continue}z({type:"slash",value:j,output:m});continue}if("."===j){if(R.braces>0&&"dot"===P.type){"."===P.value&&(P.output=u);const e=C[C.length-1];P.type="dots",P.output+=j,P.value+=j,e.dots=!0;continue}if(R.braces+R.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&&"("===N()&&"?"!==N(2)){H("qmark",j);continue}if(P&&"paren"===P.type){const e=N();let t=j;if("<"===e&&!$l.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===P.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(D()))&&(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&&"("===N()&&("?"!==N(2)||!/[!=<:]/.test(N(3)))){H("negate",j);continue}if(!0!==n.nonegate&&0===R.index){$();continue}}if("+"===j){if(!0!==n.noextglob&&"("===N()&&"?"!==N(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)||R.parens>0){z({type:"plus",value:j});continue}z({type:"plus",value:d});continue}if("@"===j){if(!0!==n.noextglob&&"("===N()&&"?"!==N(2)){z({type:"at",extglob:!0,value:j,output:""});continue}z({type:"text",value:j});continue}if("*"!==j){"$"!==j&&"^"!==j||(j=`\\${j}`);const e=zl.exec(D());e&&(j+=e[0],R.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=T,R.backtrack=!0,R.globstar=!0,F(j);continue}let t=D();if(!0!==n.noextglob&&/^\([^?]/.test(t)){H("star",j);continue}if("star"===P.type){if(!0===n.noglobstar){F(j);continue}const i=P.prev,s=i.prev,a="slash"===i.type||"bos"===i.type,o=s&&("star"===s.type||"globstar"===s.type);if(!0===n.bash&&(!a||t[0]&&"/"!==t[0])){z({type:"star",value:j,output:""});continue}const r=R.braces>0&&("comma"===i.type||"brace"===i.type),c=A.length&&("pipe"===i.type||"paren"===i.type);if(!a&&"paren"!==i.type&&!r&&!c){z({type:"star",value:j,output:""});continue}for(;"/**"===t.slice(0,3);){const n=e[R.index+4];if(n&&"/"!==n)break;t=t.slice(3),F("/**",3)}if("bos"===i.type&&L()){P.type="globstar",P.value+=j,P.output=E(n),R.output=P.output,R.globstar=!0,F(j);continue}if("slash"===i.type&&"bos"!==i.prev.type&&!o&&L()){R.output=R.output.slice(0,-(i.output+P.output).length),i.output=`(?:${i.output}`,P.type="globstar",P.output=E(n)+(n.strictSlashes?")":"|$)"),P.value+=j,R.globstar=!0,R.output+=i.output+P.output,F(j);continue}if("slash"===i.type&&"bos"!==i.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";R.output=R.output.slice(0,-(i.output+P.output).length),i.output=`(?:${i.output}`,P.type="globstar",P.output=`${E(n)}${m}|${m}${e})`,P.value+=j,R.output+=i.output+P.output,R.globstar=!0,F(j+I()),z({type:"slash",value:"/",output:""});continue}if("bos"===i.type&&"/"===t[0]){P.type="globstar",P.value+=j,P.output=`(?:^|${m}|${E(n)}${m})`,R.output=P.output,R.globstar=!0,F(j+I()),z({type:"slash",value:"/",output:""});continue}R.output=R.output.slice(0,-P.output.length),P.type="globstar",P.output=E(n),P.value+=j,R.output+=P.output,R.globstar=!0,F(j);continue}const i={type:"star",value:j,output:T};!0!==n.bash?!P||"bracket"!==P.type&&"paren"!==P.type||!0!==n.regex?(R.index!==R.start&&"slash"!==P.type&&"dot"!==P.type||("dot"===P.type?(R.output+=v,P.output+=v):!0===n.dot?(R.output+=g,P.output+=g):(R.output+=k,P.output+=k),"*"!==N()&&(R.output+=h,P.output+=h)),z(i)):(i.output=j,z(i)):(i.output=".*?","bos"!==P.type&&"slash"!==P.type||(i.output=k+i.output),z(i))}for(;R.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(Wl("closing","]"));R.output=$l.escapeLast(R.output,"["),B("brackets")}for(;R.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(Wl("closing",")"));R.output=$l.escapeLast(R.output,"("),B("parens")}for(;R.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(Wl("closing","}"));R.output=$l.escapeLast(R.output,"{"),B("braces")}if(!0===n.strictSlashes||"star"!==P.type&&"bracket"!==P.type||z({type:"maybe_slash",value:"",output:`${m}?`}),!0===R.backtrack){R.output="";for(const e of R.tokens)R.output+=null!=e.output?e.output:e.value,e.suffix&&(R.output+=e.suffix)}return R};Kl.fastpaths=(e,t)=>{const n={...t},i="number"==typeof n.maxLength?Math.min(Ul,n.maxLength):Ul,s=e.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);e=ql[e]||e;const a=$l.isWindows(t),{DOT_LITERAL:o,SLASH_LITERAL:r,ONE_CHAR:c,DOTS_SLASH:p,NO_DOT:l,NO_DOTS:u,NO_DOTS_SLASH:d,STAR:m,START_ANCHOR:h}=Ml.globChars(a),f=n.dot?u:l,x=n.dot?d:l,v=n.capture?"":"?:";let g=!0===n.bash?".*?":m;n.capture&&(g=`(${g})`);const b=e=>!0===e.noglobstar?g:`(${v}(?:(?!${h}${e.dot?p:o}).)*?)`,y=e=>{switch(e){case"*":return`${f}${c}${g}`;case".*":return`${o}${c}${g}`;case"*.*":return`${f}${g}${o}${c}${g}`;case"*/*":return`${f}${g}${r}${c}${x}${g}`;case"**":return f+b(n);case"**/*":return`(?:${f}${b(n)}${r})?${x}${c}${g}`;case"**/*.*":return`(?:${f}${b(n)}${r})?${x}${g}${o}${c}${g}`;case"**/.*":return`(?:${f}${b(n)}${r})?${o}${c}${g}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=y(t[1]);if(!n)return;return n+o+t[2]}}},_=$l.removePrefix(e,{negated:!1,prefix:""});let w=y(_);return w&&!0!==n.strictSlashes&&(w+=`${r}?`),w};const Vl=h,Ql=Fl,Yl=Kl,Jl=ol,Zl=gl,Xl=(e,t,n=!1)=>{if(Array.isArray(e)){const i=e.map((e=>Xl(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 a=t||{},o=Jl.isWindows(t),r=i?Xl.compileRe(e,t):Xl.makeRe(e,t,!1,!0),c=r.state;delete r.state;let p=()=>!1;if(a.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};p=Xl(a.ignore,e,n)}const l=(n,i=!1)=>{const{isMatch:s,match:l,output:u}=Xl.test(n,r,t,{glob:e,posix:o}),d={glob:e,state:c,regex:r,posix:o,input:n,output:u,match:l,isMatch:s};return"function"==typeof a.onResult&&a.onResult(d),!1===s?(d.isMatch=!1,!!i&&d):p(n)?("function"==typeof a.onIgnore&&a.onIgnore(d),d.isMatch=!1,!!i&&d):("function"==typeof a.onMatch&&a.onMatch(d),!i||d)};return n&&(l.state=c),l};Xl.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 a=n||{},o=a.format||(s?Jl.toPosixSlashes:null);let r=e===i,c=r&&o?o(e):e;return!1===r&&(c=o?o(e):e,r=c===i),!1!==r&&!0!==a.capture||(r=!0===a.matchBase||!0===a.basename?Xl.matchBase(e,t,n,s):t.exec(c)),{isMatch:Boolean(r),match:r,output:c}},Xl.matchBase=(e,t,n,i=Jl.isWindows(n))=>(t instanceof RegExp?t:Xl.makeRe(t,n)).test(Vl.basename(e)),Xl.isMatch=(e,t,n)=>Xl(t,n)(e),Xl.parse=(e,t)=>Array.isArray(e)?e.map((e=>Xl.parse(e,t))):Yl(e,{...t,fastpaths:!1}),Xl.scan=(e,t)=>Ql(e,t),Xl.compileRe=(e,t,n=!1,i=!1)=>{if(!0===n)return e.output;const s=t||{},a=s.contains?"":"^",o=s.contains?"":"$";let r=`${a}(?:${e.output})${o}`;e&&!0===e.negated&&(r=`^(?!${r}).*$`);const c=Xl.toRegex(r,t);return!0===i&&(c.state=e),c},Xl.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=Yl.fastpaths(e,t)),s.output||(s=Yl(e,t)),Xl.compileRe(s,t,n,i)},Xl.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/$^/}},Xl.constants=Zl;var eu=Xl,tu=al.exports;Object.defineProperty(tu,"__esModule",{value:!0});const nu=eu,iu=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 a=e.split(/[/\\]+/);return!1!==t&&""===a[a.length-1]&&a.pop(),i+a.join("/")},su={returnIndex:!1},au=(e,t,n,i)=>{const s=Array.isArray(n),a=s?n[0]:n;if(!s&&"string"!=typeof a)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(a));const o=iu(a,!1);for(let e=0;e<t.length;e++){if((0,t[e])(o))return!!i&&-1}const r=s&&[o].concat(n.slice(1));for(let t=0;t<e.length;t++){const n=e[t];if(s?n(...r):n(o))return!i||t}return!!i&&-1},ou=(e,t,n=su)=>{if(null==e)throw new TypeError("anymatch: specify first argument");const i="boolean"==typeof n?{returnIndex:n}:n,s=i.returnIndex||!1,a=(o=e,Array.isArray(o)?o:[o]);var o;const r=a.filter((e=>"string"==typeof e&&"!"===e.charAt(0))).map((e=>e.slice(1))).map((e=>nu(e,i))),c=a.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=nu(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)=>au(c,r,e,"boolean"==typeof t&&t):au(c,r,t,s)};ou.default=ou,al.exports=ou;var ru=tt(al.exports);const cu=l.PassThrough,pu=Array.prototype.slice;var lu=function(){const e=[],t=pu.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,a=!0===i.pipeError;null==i.objectMode&&(i.objectMode=!0);null==i.highWaterMark&&(i.highWaterMark=65536);const o=cu(i);function r(){for(let t=0,n=arguments.length;t<n;t++)e.push(uu(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),a&&e.removeListener("error",n),s()}function n(e){o.emit("error",e)}if(e._readableState.endEmitted)return s();e.on("merge2UnpipeEnd",t),e.on("end",t),a&&e.on("error",n),e.pipe(o,{end:!1}),e.resume()}for(let e=0;e<t.length;e++)r(t[e]);s()}function p(){n=!1,o.emit("queueDrain"),s&&o.end()}o.setMaxListeners(0),o.add=r,o.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")})),t.length&&r.apply(null,t);return o};function uu(e,t){if(Array.isArray(e))for(let n=0,i=e.length;n<i;n++)e[n]=uu(e[n],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(cu(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}var du=tt(lu),mu={},hu={},fu={};Object.defineProperty(fu,"__esModule",{value:!0}),fu.splitWhen=fu.flatten=void 0,fu.flatten=function(e){return e.reduce(((e,t)=>[].concat(e,t)),[])},fu.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 xu={};Object.defineProperty(xu,"__esModule",{value:!0}),xu.isEnoentCodeError=void 0,xu.isEnoentCodeError=function(e){return"ENOENT"===e.code};var vu={};Object.defineProperty(vu,"__esModule",{value:!0}),vu.createDirentFromStats=void 0;let gu=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)}};vu.createDirentFromStats=function(e,t){return new gu(e,t)};var bu={};Object.defineProperty(bu,"__esModule",{value:!0}),bu.convertPosixPathToPattern=bu.convertWindowsPathToPattern=bu.convertPathToPattern=bu.escapePosixPath=bu.escapeWindowsPath=bu.escape=bu.removeLeadingDotSegment=bu.makeAbsolute=bu.unixify=void 0;const yu=h,_u="win32"===x.platform(),wu=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,Eu=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,ku=/^\\\\([.?])/,Su=/\\(?![!()+@[\]{}])/g;function Tu(e){return e.replace(Eu,"\\$2")}function Ru(e){return e.replace(wu,"\\$2")}function Au(e){return Tu(e).replace(ku,"//$1").replace(Su,"/")}function Cu(e){return Ru(e)}bu.unixify=function(e){return e.replace(/\\/g,"/")},bu.makeAbsolute=function(e,t){return yu.resolve(e,t)},bu.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e},bu.escape=_u?Tu:Ru,bu.escapeWindowsPath=Tu,bu.escapePosixPath=Ru,bu.convertPathToPattern=_u?Au:Cu,bu.convertWindowsPathToPattern=Au,bu.convertPosixPathToPattern=Cu;var Ou,ju={},Pu=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},Lu={"{":"}","(":")","[":"]"},Nu=function(e){if("!"===e[0])return!0;for(var t=0,n=-2,i=-2,s=-2,a=-2,o=-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===o||o>i)return!0;if(-1===(o=e.indexOf("\\",t))||o>i)return!0}if(-1!==s&&"{"===e[t]&&"}"!==e[t+1]&&(s=e.indexOf("}",t))>t&&(-1===(o=e.indexOf("\\",t))||o>s))return!0;if(-1!==a&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(a=e.indexOf(")",t))>t&&(-1===(o=e.indexOf("\\",t))||o>a))return!0;if(-1!==n&&"("===e[t]&&"|"!==e[t+1]&&(n<t&&(n=e.indexOf("|",t)),-1!==n&&")"!==e[n+1]&&(a=e.indexOf(")",n))>n&&(-1===(o=e.indexOf("\\",n))||o>a)))return!0;if("\\"===e[t]){var r=e[t+1];t+=2;var c=Lu[r];if(c){var p=e.indexOf(c,t);-1!==p&&(t=p+1)}if("!"===e[t])return!0}else t++}return!1},Iu=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=Lu[n];if(i){var s=e.indexOf(i,t);-1!==s&&(t=s+1)}if("!"===e[t])return!0}else t++}return!1},Du=function(e,t){if("string"!=typeof e||""===e)return!1;if(Pu(e))return!0;var n=Nu;return t&&!1===t.strict&&(n=Iu),n(e)},Fu=h.posix.dirname,Mu="win32"===x.platform(),$u=/\\/g,Uu=/[\{\[].*[\}\]]$/,Bu=/(^|[^\\])([\{\[]|\([^\)]+$)/,zu=/\\([\!\*\?\|\[\]\(\)\{\}])/g,Hu={};
8
+ !function(e){var t,n,i,o=ga,a=m.extname,s=/^\s*([^;\s]*)(?:;|\s|$)/,r=/^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||!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=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=a("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 a=o[e],s=a.extensions;if(s&&s.length){t[e]=s;for(var r=0;r<s.length;r++){var c=s[r];if(n[c]){var l=i.indexOf(o[n[c]].source),p=i.indexOf(a.source);if("application/octet-stream"!==n[c]&&(l>p||l===p&&"application/"===n[c].substr(0,12)))continue}n[c]=e}}}))}(xa);var ba=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 ya=ba,_a=function(e){var t=!1;return ya((function(){t=!0})),function(n,i){t?e(n,i):ya((function(){e(n,i)}))}};var wa=function(e){Object.keys(e.jobs).forEach(Ea.bind(e)),e.jobs={}};function Ea(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var ka=_a,Sa=wa,Aa=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,ka(i)):e(n,t,ka(i));return o}(t,o,e[o],(function(e,t){o in n.jobs&&(delete n.jobs[o],e?Sa(n):n.results[o]=t,i(e,n.results))}))};var Ta=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 Ra=wa,Ca=_a,Oa=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,Ra(this),Ca(e)(null,this.results)};var ja=Aa,Pa=Ta,La=Oa,Ia=function(e,t,n){var i=Pa(e);for(;i.index<(i.keyedList||e).length;)ja(e,t,i,(function(e,t){e?n(e,t):0!==Object.keys(i.jobs).length||n(null,i.results)})),i.index++;return La.bind(i,n)};var Na={exports:{}},Da=Aa,Fa=Ta,Ma=Oa;function $a(e,t){return e<t?-1:e>t?1:0}Na.exports=function(e,t,n,i){var o=Fa(e,n);return Da(e,t,o,(function n(a,s){a?i(a,s):(o.index++,o.index<(o.keyedList||e).length?Da(e,t,o,n):i(null,o.results))})),Ma.bind(o,i)},Na.exports.ascending=$a,Na.exports.descending=function(e,t){return-1*$a(e,t)};var Ua=Na.exports,za=Ua,Ba=function(e,t,n){return za(e,t,null,n)};var Ha={parallel:Ia,serial:Ba,serialOrdered:Ua},qa=ha,Wa=d,Ga=m,Va=g,Ka=b,Ya=y.parse,Qa=c,Ja=p.Stream,Za=xa,Xa=Ha,es=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e},ts=ns;function ns(e){if(!(this instanceof ns))return new ns(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],qa.call(this),e=e||{})this[t]=e[t]}Wa.inherits(ns,qa),ns.LINE_BREAK="\r\n",ns.DEFAULT_CONTENT_TYPE="application/octet-stream",ns.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=qa.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),Wa.isArray(t))this._error(new Error("Arrays are not supported."));else{var o=this._multiPartHeader(e,t,n),a=this._multiPartFooter();i(o),i(t),i(a),this._trackLength(o,t,n)}},ns.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)+ns.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof Ja)&&(n.knownLength||this._valuesToMeasure.push(t))},ns.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)):Qa.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")},ns.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var i,o=this._getContentDisposition(t,n),a=this._getContentType(t,n),s="",r={"Content-Disposition":["form-data",'name="'+e+'"'].concat(o||[]),"Content-Type":[].concat(a||[])};for(var c in"object"==typeof n.header&&es(r,n.header),r)r.hasOwnProperty(c)&&null!=(i=r[c])&&(Array.isArray(i)||(i=[i]),i.length&&(s+=c+": "+i.join("; ")+ns.LINE_BREAK));return"--"+this.getBoundary()+ns.LINE_BREAK+s+ns.LINE_BREAK},ns.prototype._getContentDisposition=function(e,t){var n,i;return"string"==typeof t.filepath?n=Ga.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=Ga.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=Ga.basename(e.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i},ns.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=Za.lookup(e.name)),!n&&e.path&&(n=Za.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=Za.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=ns.DEFAULT_CONTENT_TYPE),n},ns.prototype._multiPartFooter=function(){return function(e){var t=ns.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},ns.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ns.LINE_BREAK},ns.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},ns.prototype.setBoundary=function(e){this._boundary=e},ns.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},ns.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(ns.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},ns.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},ns.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},ns.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},ns.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?Xa.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))},ns.prototype.submit=function(e,t){var n,i,o={method:"post"};return"string"==typeof e?(e=Ya(e),i=es({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},o)):(i=es(e,o)).port||(i.port="https:"==i.protocol?443:80),i.headers=this.getHeaders(e.headers),n="https:"==i.protocol?Ka.request(i):Va.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,a=function(e,i){return n.removeListener("error",a),n.removeListener("response",o),t.call(this,e,i)};o=a.bind(this,null),n.on("error",a),n.on("response",o)}}.bind(this)),n},ns.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},ns.prototype.toString=function(){return"[object FormData]"};var is=tt(ts);function os(e){return aa.isPlainObject(e)||aa.isArray(e)}function as(e){return aa.endsWith(e,"[]")?e.slice(0,-2):e}function ss(e,t,n){return e?e.concat(t).map((function(e,t){return e=as(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const rs=aa.toFlatObject(aa,{},null,(function(e){return/^is[A-Z]/.test(e)}));function cs(e,t,n){if(!aa.isObject(e))throw new TypeError("target must be an object");t=t||new(is||FormData);const i=(n=aa.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!aa.isUndefined(t[e])}))).metaTokens,o=n.visitor||l,a=n.dots,s=n.indexes,r=(n.Blob||"undefined"!=typeof Blob&&Blob)&&aa.isSpecCompliantForm(t);if(!aa.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(aa.isDate(e))return e.toISOString();if(!r&&aa.isBlob(e))throw new sa("Blob is not supported. Use a Buffer instead.");return aa.isArrayBuffer(e)||aa.isTypedArray(e)?r&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,n,o){let r=e;if(e&&!o&&"object"==typeof e)if(aa.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(aa.isArray(e)&&function(e){return aa.isArray(e)&&!e.some(os)}(e)||(aa.isFileList(e)||aa.endsWith(n,"[]"))&&(r=aa.toArray(e)))return n=as(n),r.forEach((function(e,i){!aa.isUndefined(e)&&null!==e&&t.append(!0===s?ss([n],i,a):null===s?n:n+"[]",c(e))})),!1;return!!os(e)||(t.append(ss(o,n,a),c(e)),!1)}const p=[],u=Object.assign(rs,{defaultVisitor:l,convertValue:c,isVisitable:os});if(!aa.isObject(e))throw new TypeError("data must be an object");return function e(n,i){if(!aa.isUndefined(n)){if(-1!==p.indexOf(n))throw Error("Circular reference detected in "+i.join("."));p.push(n),aa.forEach(n,(function(n,a){!0===(!(aa.isUndefined(n)||null===n)&&o.call(t,n,aa.isString(a)?a.trim():a,i,u))&&e(n,i?i.concat(a):[a])})),p.pop()}}(e),t}function ls(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ps(e,t){this._pairs=[],e&&cs(e,this,t)}const us=ps.prototype;function ds(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function fs(e,t,n){if(!t)return e;const i=n&&n.encode||ds;aa.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let a;if(a=o?o(t,n):aa.isURLSearchParams(t)?t.toString():new ps(t,n).toString(i),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}us.append=function(e,t){this._pairs.push([e,t])},us.toString=function(e){const t=e?function(t){return e.call(this,t,ls)}:ls;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class ms{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){aa.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var hs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},vs=y.URLSearchParams;const xs="abcdefghijklmnopqrstuvwxyz",gs="0123456789",bs={DIGIT:gs,ALPHA:xs,ALPHA_DIGIT:xs+xs.toUpperCase()+gs};var ys={isNode:!0,classes:{URLSearchParams:vs,FormData:is,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:bs,generateString:(e=16,t=bs.ALPHA_DIGIT)=>{let n="";const{length:i}=t,o=new Uint32Array(e);_.randomFillSync(o);for(let a=0;a<e;a++)n+=t[o[a]%i];return n},protocols:["http","https","file","data"]};const _s="undefined"!=typeof window&&"undefined"!=typeof document,ws="object"==typeof navigator&&navigator||void 0,Es=_s&&(!ws||["ReactNative","NativeScript","NS"].indexOf(ws.product)<0),ks="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ss=_s&&window.location.href||"http://localhost";var As={...Object.freeze({__proto__:null,hasBrowserEnv:_s,hasStandardBrowserEnv:Es,hasStandardBrowserWebWorkerEnv:ks,navigator:ws,origin:Ss}),...ys};function Ts(e){function t(e,n,i,o){let a=e[o++];if("__proto__"===a)return!0;const s=Number.isFinite(+a),r=o>=e.length;if(a=!a&&aa.isArray(i)?i.length:a,r)return aa.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!s;i[a]&&aa.isObject(i[a])||(i[a]=[]);return t(e,n,i[a],o)&&aa.isArray(i[a])&&(i[a]=function(e){const t={},n=Object.keys(e);let i;const o=n.length;let a;for(i=0;i<o;i++)a=n[i],t[a]=e[a];return t}(i[a])),!s}if(aa.isFormData(e)&&aa.isFunction(e.entries)){const n={};return aa.forEachEntry(e,((e,i)=>{t(function(e){return aa.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),i,n,0)})),n}return null}const Rs={transitional:hs,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,o=aa.isObject(e);o&&aa.isHTMLForm(e)&&(e=new FormData(e));if(aa.isFormData(e))return i?JSON.stringify(Ts(e)):e;if(aa.isArrayBuffer(e)||aa.isBuffer(e)||aa.isStream(e)||aa.isFile(e)||aa.isBlob(e)||aa.isReadableStream(e))return e;if(aa.isArrayBufferView(e))return e.buffer;if(aa.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return cs(e,new As.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,i){return As.isNode&&aa.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=aa.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return cs(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e,t,n){if(aa.isString(e))try{return(t||JSON.parse)(e),aa.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Rs.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(aa.isResponse(e)||aa.isReadableStream(e))return e;if(e&&aa.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 sa.from(e,sa.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:As.classes.FormData,Blob:As.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};aa.forEach(["delete","get","head","post","put","patch"],(e=>{Rs.headers[e]={}}));var Cs=Rs;const Os=aa.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 js=Symbol("internals");function Ps(e){return e&&String(e).trim().toLowerCase()}function Ls(e){return!1===e||null==e?e:aa.isArray(e)?e.map(Ls):String(e)}function Is(e,t,n,i,o){return aa.isFunction(i)?i.call(this,t,n):(o&&(t=n),aa.isString(t)?aa.isString(i)?-1!==t.indexOf(i):aa.isRegExp(i)?i.test(t):void 0:void 0)}class Ns{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function o(e,t,n){const o=Ps(t);if(!o)throw new Error("header name must be a non-empty string");const a=aa.findKey(i,o);(!a||void 0===i[a]||!0===n||void 0===n&&!1!==i[a])&&(i[a||t]=Ls(e))}const a=(e,t)=>aa.forEach(e,((e,n)=>o(e,n,t)));if(aa.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(aa.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((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]&&Os[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(aa.isObject(e)&&aa.isIterable(e)){let n,i,o={};for(const t of e){if(!aa.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[i=t[0]]=(n=o[i])?aa.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}a(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=Ps(e)){const n=aa.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(aa.isFunction(t))return t.call(this,e,n);if(aa.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ps(e)){const n=aa.findKey(this,e);return!(!n||void 0===this[n]||t&&!Is(0,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function o(e){if(e=Ps(e)){const o=aa.findKey(n,e);!o||t&&!Is(0,n[o],o,t)||(delete n[o],i=!0)}}return aa.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&&!Is(0,this[o],o,e,!0)||(delete this[o],i=!0)}return i}normalize(e){const t=this,n={};return aa.forEach(this,((i,o)=>{const a=aa.findKey(n,o);if(a)return t[a]=Ls(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]=Ls(i),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return aa.forEach(this,((n,i)=>{null!=n&&!1!==n&&(t[i]=e&&aa.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[js]=this[js]={accessors:{}}).accessors,n=this.prototype;function i(e){const i=Ps(e);t[i]||(!function(e,t){const n=aa.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 aa.isArray(e)?e.forEach(i):i(e),this}}Ns.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),aa.reduceDescriptors(Ns.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),aa.freezeMethods(Ns);var Ds=Ns;function Fs(e,t){const n=this||Cs,i=t||n,o=Ds.from(i.headers);let a=i.data;return aa.forEach(e,(function(e){a=e.call(n,a,o.normalize(),t?t.status:void 0)})),o.normalize(),a}function Ms(e){return!(!e||!e.__CANCEL__)}function $s(e,t,n){sa.call(this,null==e?"canceled":e,sa.ERR_CANCELED,t,n),this.name="CanceledError"}function Us(e,t,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new sa("Request failed with status code "+n.status,[sa.ERR_BAD_REQUEST,sa.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function zs(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}aa.inherits($s,sa,{__CANCEL__:!0});var Bs={},Hs=y.parse,qs={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},Ws=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function Gs(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}Bs.getProxyForUrl=function(e){var t="string"==typeof e?Hs(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=(Gs("npm_config_no_proxy")||Gs("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,a=i?parseInt(i[2]):0;return!(!a||a===t)||(/^[.*]/.test(o)?("*"===o.charAt(0)&&(o=o.slice(1)),!Ws.call(e,o)):e!==o)}))}(i=i.replace(/:\d*$/,""),o=parseInt(o)||qs[n]||0))return"";var a=Gs("npm_config_"+n+"_proxy")||Gs(n+"_proxy")||Gs("npm_config_proxy")||Gs("all_proxy");return a&&-1===a.indexOf("://")&&(a=n+"://"+a),a};var Vs,Ks,Ys,Qs,Js,Zs={exports:{}},Xs={exports:{}},er={exports:{}};function tr(){if(Ks)return Vs;Ks=1;var e=1e3,t=60*e,n=60*t,i=24*n,o=7*i,a=365.25*i;function s(e,t,n,i){var o=t>=1.5*n;return Math.round(e/n)+" "+i+(o?"s":"")}return Vs=function(r,c){c=c||{};var l=typeof r;if("string"===l&&r.length>0)return function(s){if((s=String(s)).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(s);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*a;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}}(r);if("number"===l&&isFinite(r))return c.long?function(o){var a=Math.abs(o);if(a>=i)return s(o,a,i,"day");if(a>=n)return s(o,a,n,"hour");if(a>=t)return s(o,a,t,"minute");if(a>=e)return s(o,a,e,"second");return o+" ms"}(r):function(o){var a=Math.abs(o);if(a>=i)return Math.round(o/i)+"d";if(a>=n)return Math.round(o/n)+"h";if(a>=t)return Math.round(o/t)+"m";if(a>=e)return Math.round(o/e)+"s";return o+"ms"}(r);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(r))}}function nr(){if(Qs)return Ys;return Qs=1,Ys=function(e){function t(e){let i,o,a,s=null;function r(...e){if(!r.enabled)return;const n=r,o=Number(new Date),a=o-(i||o);n.diff=a,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 a=t.formatters[o];if("function"==typeof a){const t=e[s];i=a.call(n,t),e.splice(s,1),s--}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!==s?s:(o!==t.namespaces&&(o=t.namespaces,a=t.enabled(e)),a),set:e=>{s=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,o=-1,a=0;for(;n<e.length;)if(i<t.length&&(t[i]===e[n]||"*"===t[i]))"*"===t[i]?(o=i,a=n,i++):(n++,i++);else{if(-1===o)return!1;i=o+1,a++,n=a}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=tr(),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},Ys}var ir,or,ar,sr,rr,cr,lr,pr={exports:{}};function ur(){return or?ir:(or=1,ir=(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 dr(){if(sr)return ar;sr=1;const e=v,t=ur(),n=process.env;let i;function o(o){const a=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 a=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:a;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,a)}(o);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(a)}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)),ar={supportsColor:o,stdout:o(process.stdout),stderr:o(process.stderr)}}function fr(){return rr||(rr=1,function(e,t){const n=w,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),a=` ${o};1m${i} `;n[0]=a+n[0].split("\n").join("\n"+a),n.push(o+"m+"+e.exports.humanize(this.diff)+"")}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=dr();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=nr()(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)}}(pr,pr.exports)),pr.exports}function mr(){return cr||(cr=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?Xs.exports=(Js||(Js=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=nr()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(er,er.exports)),er.exports):Xs.exports=fr()),Xs.exports}var hr,vr,xr,gr=y,br=gr.URL,yr=g,_r=b,wr=p.Writable,Er=f,kr=function(){if(!lr){try{lr=mr()("follow-redirects")}catch(e){}"function"!=typeof lr&&(lr=function(){})}lr.apply(null,arguments)};hr="undefined"!=typeof process,vr="undefined"!=typeof window&&"undefined"!=typeof document,xr=Wr(Error.captureStackTrace),hr||!vr&&xr||console.warn("The follow-redirects package should be excluded from browser builds.");var Sr=!1;try{Er(new br(""))}catch(Qh){Sr="ERR_INVALID_URL"===Qh.code}var Ar=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Tr=["abort","aborted","connect","error","socket","timeout"],Rr=Object.create(null);Tr.forEach((function(e){Rr[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}}));var Cr=Br("ERR_INVALID_URL","Invalid URL",TypeError),Or=Br("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),jr=Br("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Or),Pr=Br("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Lr=Br("ERR_STREAM_WRITE_AFTER_END","write after end"),Ir=wr.prototype.destroy||Fr;function Nr(e,t){wr.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 Or?e:new Or({cause:e}))}},this._performRequest()}function Dr(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(i){var o=i+":",a=n[o]=e[i],s=t[i]=Object.create(a);Object.defineProperties(s,{request:{value:function(e,i,a){var s;return s=e,br&&s instanceof br?e=Ur(e):qr(e)?e=Ur(Mr(e)):(a=i,i=$r(e),e={protocol:o}),Wr(i)&&(a=i,i=null),(i=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,i)).nativeProtocols=n,qr(i.host)||qr(i.hostname)||(i.hostname="::1"),Er.equal(i.protocol,o,"protocol mismatch"),kr("options",i),new Nr(i,a)},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 Fr(){}function Mr(e){var t;if(Sr)t=new br(e);else if(!qr((t=$r(gr.parse(e))).protocol))throw new Cr({input:e});return t}function $r(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Cr({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Cr({input:e.href||e});return e}function Ur(e,t){var n=t||{};for(var i of Ar)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 zr(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 Br(e,t,n){function i(n){Wr(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 Hr(e,t){for(var n of Tr)e.removeListener(n,Rr[n]);e.on("error",Fr),e.destroy(t)}function qr(e){return"string"==typeof e||e instanceof String}function Wr(e){return"function"==typeof e}Nr.prototype=Object.create(wr.prototype),Nr.prototype.abort=function(){Hr(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},Nr.prototype.destroy=function(e){return Hr(this._currentRequest,e),Ir.call(this,e),this},Nr.prototype.write=function(e,t,n){if(this._ending)throw new Lr;if(!qr(e)&&("object"!=typeof(i=e)||!("length"in i)))throw new TypeError("data should be a string, Buffer or Uint8Array");var i;Wr(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 Pr),this.abort()):n&&n()},Nr.prototype.end=function(e,t,n){if(Wr(e)?(n=e,e=t=null):Wr(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)},Nr.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},Nr.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},Nr.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"),a()}),e),i(t)}function a(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",a),n.removeListener("error",a),n.removeListener("response",a),n.removeListener("close",a),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",a),this.on("error",a),this.on("response",a),this.on("close",a),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){Nr.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(Nr.prototype,e,{get:function(){return this._currentRequest[e]}})})),Nr.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))}},Nr.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,Tr))i.on(o,Rr[o]);if(this._currentUrl=/^\//.test(this._options.path)?gr.format(this._options):this._options.path,this._isRedirect){var a=0,s=this,r=this._requestBodyBuffers;!function e(t){if(i===s._currentRequest)if(t)s.emit("error",t);else if(a<r.length){var n=r[a++];i.finished||i.write(n.data,n.encoding,e)}else s._ended&&i.end()}()}},Nr.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(Hr(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new jr;var o=this._options.beforeRedirect;o&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var a=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=[],zr(/^content-/i,this._options.headers));var s,r,c=zr(/^host$/i,this._options.headers),l=Mr(this._currentUrl),p=c||l.host,u=/^\w+:/.test(i)?this._currentUrl:gr.format(Object.assign(l,{host:p})),d=(s=i,r=u,Sr?new br(s,r):Mr(gr.resolve(r,s)));if(kr("redirecting to",d.href),this._isRedirect=!0,Ur(d,this._options),(d.protocol!==l.protocol&&"https:"!==d.protocol||d.host!==p&&!function(e,t){Er(qr(e)&&qr(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(d.host,p))&&zr(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),Wr(o)){var f={headers:e.headers,statusCode:t},m={url:u,method:a,headers:n};o(this._options,f,m),this._sanitizeOptions(this._options)}this._performRequest()},Zs.exports=Dr({http:yr,https:_r}),Zs.exports.wrap=Dr;var Gr=tt(Zs.exports);const Vr="1.9.0";function Kr(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Yr=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;const Qr=Symbol("internals");class Jr extends p.Transform{constructor(e){super({readableHighWaterMark:(e=aa.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!aa.isUndefined(t[e])))).chunkSize});const t=this[Qr]={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[Qr];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const i=this[Qr],o=i.maxRate,a=this.readableHighWaterMark,s=i.timeWindow,r=o/(1e3/s),c=!1!==i.minChunkSize?Math.max(i.minChunkSize,.01*r):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=a,f=0;if(o){const e=Date.now();(!i.ts||(f=e-i.ts)>=s)&&(i.ts=e,p=r-i.bytes,i.bytes=p<0?-p:0,f=0),p=r-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 Zr=Jr;const{asyncIterator:Xr}=Symbol,ec=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[Xr]?yield*e[Xr]():yield e},tc=As.ALPHABET.ALPHA_DIGIT+"-_",nc="function"==typeof TextEncoder?new TextEncoder:new d.TextEncoder,ic="\r\n",oc=nc.encode(ic);class ac{constructor(e,t){const{escapeName:n}=this.constructor,i=aa.isString(t);let o=`Content-Disposition: form-data; name="${n(e)}"${!i&&t.name?`; filename="${n(t.name)}"`:""}${ic}`;i?t=nc.encode(String(t).replace(/\r?\n|\r\n?/g,ic)):o+=`Content-Type: ${t.type||"application/octet-stream"}${ic}`,this.headers=nc.encode(o+ic),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;aa.isTypedArray(e)?yield e:yield*ec(e),yield oc}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class sc 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 rc=(e,t)=>aa.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 cc=(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,a=0,s=0;return t=void 0!==t?t:1e3,function(r){const c=Date.now(),l=i[s];o||(o=c),n[a]=r,i[a]=c;let p=s,u=0;for(;p!==a;)u+=n[p++],p%=e;if(a=(a+1)%e,a===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,a=1e3/t;const s=(t,a=Date.now())=>{o=a,n=null,i&&(clearTimeout(i),i=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),r=t-o;r>=a?s(e,t):(n=e,i||(i=setTimeout((()=>{i=null,s(n)}),a-r)))},()=>n&&s(n)]}((n=>{const a=n.loaded,s=n.lengthComputable?n.total:void 0,r=a-i,c=o(r);i=a;e({loaded:a,total:s,progress:s?a/s:void 0,bytes:r,rate:c||void 0,estimated:c&&s&&a<=s?(s-a)/c:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),n)},lc=(e,t)=>{const n=null!=e;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},pc=e=>(...t)=>aa.asap((()=>e(...t))),uc={flush:E.constants.Z_SYNC_FLUSH,finishFlush:E.constants.Z_SYNC_FLUSH},dc={flush:E.constants.BROTLI_OPERATION_FLUSH,finishFlush:E.constants.BROTLI_OPERATION_FLUSH},fc=aa.isFunction(E.createBrotliDecompress),{http:mc,https:hc}=Gr,vc=/https:?/,xc=As.protocols.map((e=>e+":")),gc=(e,[t,n])=>(e.on("end",n).on("error",n),t);function bc(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function yc(e,t,n){let i=t;if(!i&&!1!==i){const e=Bs.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){yc(e,t,e.href)}}const _c="undefined"!=typeof process&&"process"===aa.kindOf(process),wc=(e,t)=>(({address:e,family:t})=>{if(!aa.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(aa.isObject(e)?e:{address:e,family:t});var Ec=_c&&function(e){return t=async function(t,n,i){let{data:o,lookup:a,family:s}=e;const{responseType:r,responseEncoding:c}=e,l=e.method.toUpperCase();let f,m,h=!1;if(a){const e=rc(a,(e=>aa.isArray(e)?e:[e]));a=(t,n,i)=>{e(t,n,((e,t,o)=>{if(e)return i(e);const a=aa.isArray(t)?t.map((e=>wc(e))):[wc(t,o)];n.all?i(e,a):i(e,a[0].address,a[0].family)}))}}const v=new S,x=()=>{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 $s(null,e,m):t)}i(((e,t)=>{f=!0,t&&(h=!0,x())})),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 _=zs(e.baseURL,e.url,e.allowAbsoluteUrls),w=new URL(_,As.hasBrowserEnv?As.origin:void 0),k=w.protocol||xc[0];if("data:"===k){let i;if("GET"!==l)return Us(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{i=function(e,t,n){const i=n&&n.Blob||As.classes.Blob,o=Kr(e);if(void 0===t&&i&&(t=!0),"data"===o){e=o.length?e.slice(o.length+1):e;const n=Yr.exec(e);if(!n)throw new sa("Invalid URL",sa.ERR_INVALID_URL);const a=n[1],s=n[2],r=n[3],c=Buffer.from(decodeURIComponent(r),s?"base64":"utf8");if(t){if(!i)throw new sa("Blob is not supported",sa.ERR_NOT_SUPPORT);return new i([c],{type:a})}return c}throw new sa("Unsupported protocol "+o,sa.ERR_NOT_SUPPORT)}(e.url,"blob"===r,{Blob:e.env&&e.env.Blob})}catch(t){throw sa.from(t,sa.ERR_BAD_REQUEST,e)}return"text"===r?(i=i.toString(c),c&&"utf8"!==c||(i=aa.stripBOM(i))):"stream"===r&&(i=p.Readable.from(i)),Us(t,n,{data:i,status:200,statusText:"OK",headers:new Ds,config:e})}if(-1===xc.indexOf(k))return n(new sa("Unsupported protocol "+k,sa.ERR_BAD_REQUEST,e));const A=Ds.from(e.headers).normalize();A.set("User-Agent","axios/"+Vr,!1);const{onUploadProgress:T,onDownloadProgress:R}=e,C=e.maxRate;let O,j;if(aa.isSpecCompliantForm(o)){const e=A.getContentType(/boundary=([-_\w\d]{10,70})/i);o=((e,t,n)=>{const{tag:i="form-data-boundary",size:o=25,boundary:a=i+"-"+As.generateString(o,tc)}=n||{};if(!aa.isFormData(e))throw TypeError("FormData instance required");if(a.length<1||a.length>70)throw Error("boundary must be 10-70 characters long");const s=nc.encode("--"+a+ic),r=nc.encode("--"+a+"--"+ic);let c=r.byteLength;const l=Array.from(e.entries()).map((([e,t])=>{const n=new ac(e,t);return c+=n.size,n}));c+=s.byteLength*l.length,c=aa.toFiniteNumber(c);const p={"Content-Type":`multipart/form-data; boundary=${a}`};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 r}())})(o,(e=>{A.set(e)}),{tag:`axios-${Vr}-boundary`,boundary:e&&e[1]||void 0})}else if(aa.isFormData(o)&&aa.isFunction(o.getHeaders)){if(A.set(o.getHeaders()),!A.hasContentLength())try{const e=await d.promisify(o.getLength).call(o);Number.isFinite(e)&&e>=0&&A.setContentLength(e)}catch(e){}}else if(aa.isBlob(o)||aa.isFile(o))o.size&&A.setContentType(o.type||"application/octet-stream"),A.setContentLength(o.size||0),o=p.Readable.from(ec(o));else if(o&&!aa.isStream(o)){if(Buffer.isBuffer(o));else if(aa.isArrayBuffer(o))o=Buffer.from(new Uint8Array(o));else{if(!aa.isString(o))return n(new sa("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",sa.ERR_BAD_REQUEST,e));o=Buffer.from(o,"utf-8")}if(A.setContentLength(o.length,!1),e.maxBodyLength>-1&&o.length>e.maxBodyLength)return n(new sa("Request body larger than maxBodyLength limit",sa.ERR_BAD_REQUEST,e))}const P=aa.toFiniteNumber(A.getContentLength());let L,I;aa.isArray(C)?(O=C[0],j=C[1]):O=j=C,o&&(T||O)&&(aa.isStream(o)||(o=p.Readable.from(o,{objectMode:!1})),o=p.pipeline([o,new Zr({maxRate:aa.toFiniteNumber(O)})],aa.noop),T&&o.on("progress",gc(o,lc(P,cc(pc(T),!1,3))))),e.auth&&(L=(e.auth.username||"")+":"+(e.auth.password||"")),!L&&w.username&&(L=w.username+":"+w.password),L&&A.delete("authorization");try{I=fs(w.pathname+w.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)}A.set("Accept-Encoding","gzip, compress, deflate"+(fc?", br":""),!1);const N={path:I,method:l,headers:A.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:L,protocol:k,family:s,beforeRedirect:bc,beforeRedirects:{}};let D;!aa.isUndefined(a)&&(N.lookup=a),e.socketPath?N.socketPath=e.socketPath:(N.hostname=w.hostname.startsWith("[")?w.hostname.slice(1,-1):w.hostname,N.port=w.port,yc(N,e.proxy,k+"//"+w.hostname+(w.port?":"+w.port:"")+N.path));const F=vc.test(N.protocol);if(N.agent=F?e.httpsAgent:e.httpAgent,e.transport?D=e.transport:0===e.maxRedirects?D=F?b:g:(e.maxRedirects&&(N.maxRedirects=e.maxRedirects),e.beforeRedirect&&(N.beforeRedirects.config=e.beforeRedirect),D=F?hc:mc),e.maxBodyLength>-1?N.maxBodyLength=e.maxBodyLength:N.maxBodyLength=1/0,e.insecureHTTPParser&&(N.insecureHTTPParser=e.insecureHTTPParser),m=D.request(N,(function(i){if(m.destroyed)return;const o=[i],a=+i.headers["content-length"];if(R||j){const e=new Zr({maxRate:aa.toFiniteNumber(j)});R&&e.on("progress",gc(e,lc(a,cc(pc(R),!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(E.createUnzip(uc)),delete i.headers["content-encoding"];break;case"deflate":o.push(new sc),o.push(E.createUnzip(uc)),delete i.headers["content-encoding"];break;case"br":fc&&(o.push(E.createBrotliDecompress(dc)),delete i.headers["content-encoding"])}s=o.length>1?p.pipeline(o,aa.noop):o[0];const d=p.finished(s,(()=>{d(),x()})),f={status:i.statusCode,statusText:i.statusMessage,headers:new Ds(i.headers),config:e,request:u};if("stream"===r)f.data=s,Us(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 sa("maxContentLength size of "+e.maxContentLength+" exceeded",sa.ERR_BAD_RESPONSE,e,u)))})),s.on("aborted",(function(){if(h)return;const t=new sa("stream has been aborted",sa.ERR_BAD_RESPONSE,e,u);s.destroy(t),n(t)})),s.on("error",(function(t){m.destroyed||n(sa.from(t,null,e,u))})),s.on("end",(function(){try{let e=1===i.length?i[0]:Buffer.concat(i);"arraybuffer"!==r&&(e=e.toString(c),c&&"utf8"!==c||(e=aa.stripBOM(e))),f.data=e}catch(t){return n(sa.from(t,null,e,f.request,f))}Us(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(sa.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 sa("error trying to parse `config.timeout` to int",sa.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||hs;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new sa(t,i.clarifyTimeoutError?sa.ETIMEDOUT:sa.ECONNABORTED,e,m)),y()}))}if(aa.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 $s("Request stream has been aborted",e,m))})),o.pipe(m)}else m.end(o)},new Promise(((e,n)=>{let i,o;const a=(e,t)=>{o||(o=!0,i&&i(e,t))},s=e=>{a(e,!0),n(e)};t((t=>{a(t),e(t)}),s,(e=>i=e)).catch(s)}));var t},kc=As.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,As.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(As.origin),As.navigator&&/(msie|trident)/i.test(As.navigator.userAgent)):()=>!0,Sc=As.hasStandardBrowserEnv?{write(e,t,n,i,o,a){const s=[e+"="+encodeURIComponent(t)];aa.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),aa.isString(i)&&s.push("path="+i),aa.isString(o)&&s.push("domain="+o),!0===a&&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 Ac=e=>e instanceof Ds?{...e}:e;function Tc(e,t){t=t||{};const n={};function i(e,t,n,i){return aa.isPlainObject(e)&&aa.isPlainObject(t)?aa.merge.call({caseless:i},e,t):aa.isPlainObject(t)?aa.merge({},t):aa.isArray(t)?t.slice():t}function o(e,t,n,o){return aa.isUndefined(t)?aa.isUndefined(e)?void 0:i(void 0,e,0,o):i(e,t,0,o)}function a(e,t){if(!aa.isUndefined(t))return i(void 0,t)}function s(e,t){return aa.isUndefined(t)?aa.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function r(n,o,a){return a in t?i(n,o):a in e?i(void 0,n):void 0}const c={url:a,method:a,data:a,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:r,headers:(e,t,n)=>o(Ac(e),Ac(t),0,!0)};return aa.forEach(Object.keys(Object.assign({},e,t)),(function(i){const a=c[i]||o,s=a(e[i],t[i],i);aa.isUndefined(s)&&a!==r||(n[i]=s)})),n}var Rc=e=>{const t=Tc({},e);let n,{data:i,withXSRFToken:o,xsrfHeaderName:a,xsrfCookieName:s,headers:r,auth:c}=t;if(t.headers=r=Ds.from(r),t.url=fs(zs(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&r.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),aa.isFormData(i))if(As.hasStandardBrowserEnv||As.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(As.hasStandardBrowserEnv&&(o&&aa.isFunction(o)&&(o=o(t)),o||!1!==o&&kc(t.url))){const e=a&&s&&Sc.read(s);e&&r.set(a,e)}return t};var Cc="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const i=Rc(e);let o=i.data;const a=Ds.from(i.headers).normalize();let s,r,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 v(){if(!h)return;const i=Ds.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());Us((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=v:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(v)},h.onabort=function(){h&&(n(new sa("Request aborted",sa.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new sa("Network Error",sa.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||hs;i.timeoutErrorMessage&&(t=i.timeoutErrorMessage),n(new sa(t,o.clarifyTimeoutError?sa.ETIMEDOUT:sa.ECONNABORTED,e,h)),h=null},void 0===o&&a.setContentType(null),"setRequestHeader"in h&&aa.forEach(a.toJSON(),(function(e,t){h.setRequestHeader(t,e)})),aa.isUndefined(i.withCredentials)||(h.withCredentials=!!i.withCredentials),u&&"json"!==u&&(h.responseType=i.responseType),f&&([c,p]=cc(f,!0),h.addEventListener("progress",c)),d&&h.upload&&([r,l]=cc(d),h.upload.addEventListener("progress",r),h.upload.addEventListener("loadend",l)),(i.cancelToken||i.signal)&&(s=t=>{h&&(n(!t||t.type?new $s(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=Kr(i.url);x&&-1===As.protocols.indexOf(x)?n(new sa("Unsupported protocol "+x+":",sa.ERR_BAD_REQUEST,e)):h.send(o||null)}))};var Oc=(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 sa?t:new $s(t instanceof Error?t.message:t))}};let a=t&&setTimeout((()=>{a=null,o(new sa(`timeout ${t} of ms exceeded`,sa.ETIMEDOUT))}),t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:r}=i;return r.unsubscribe=()=>aa.asap(s),r}};const jc=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},Pc=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()}},Lc=(e,t,n,i)=>{const o=async function*(e,t){for await(const n of Pc(e))yield*jc(n,t)}(e,t);let a,s=0,r=e=>{a||(a=!0,i&&i(e))};return new ReadableStream({async pull(e){try{const{done:t,value:i}=await o.next();if(t)return r(),void e.close();let a=i.byteLength;if(n){let e=s+=a;n(e)}e.enqueue(new Uint8Array(i))}catch(e){throw r(e),e}},cancel:e=>(r(e),o.return())},{highWaterMark:2})},Ic="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Nc=Ic&&"function"==typeof ReadableStream,Dc=Ic&&("function"==typeof TextEncoder?(Fc=new TextEncoder,e=>Fc.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Fc;const Mc=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},$c=Nc&&Mc((()=>{let e=!1;const t=new Request(As.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Uc=Nc&&Mc((()=>aa.isReadableStream(new Response("").body))),zc={stream:Uc&&(e=>e.body)};var Bc;Ic&&(Bc=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!zc[e]&&(zc[e]=aa.isFunction(Bc[e])?t=>t[e]():(t,n)=>{throw new sa(`Response type '${e}' is not supported`,sa.ERR_NOT_SUPPORT,n)})})));const Hc=async(e,t)=>{const n=aa.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(aa.isBlob(e))return e.size;if(aa.isSpecCompliantForm(e)){const t=new Request(As.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return aa.isArrayBufferView(e)||aa.isArrayBuffer(e)?e.byteLength:(aa.isURLSearchParams(e)&&(e+=""),aa.isString(e)?(await Dc(e)).byteLength:void 0)})(t):n};var qc=Ic&&(async e=>{let{url:t,method:n,data:i,signal:o,cancelToken:a,timeout:s,onDownloadProgress:r,onUploadProgress:c,responseType:l,headers:p,withCredentials:u="same-origin",fetchOptions:d}=Rc(e);l=l?(l+"").toLowerCase():"text";let f,m=Oc([o,a&&a.toAbortSignal()],s);const h=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let v;try{if(c&&$c&&"get"!==n&&"head"!==n&&0!==(v=await Hc(p,i))){let e,n=new Request(t,{method:"POST",body:i,duplex:"half"});if(aa.isFormData(i)&&(e=n.headers.get("content-type"))&&p.setContentType(e),n.body){const[e,t]=lc(v,cc(pc(c)));i=Lc(n.body,65536,e,t)}}aa.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 a=await fetch(f);const s=Uc&&("stream"===l||"response"===l);if(Uc&&(r||s&&h)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=aa.toFiniteNumber(a.headers.get("content-length")),[n,i]=r&&lc(t,cc(pc(r),!0))||[];a=new Response(Lc(a.body,65536,n,(()=>{i&&i(),h&&h()})),e)}l=l||"text";let x=await zc[aa.findKey(zc,l)||"text"](a,e);return!s&&h&&h(),await new Promise(((t,n)=>{Us(t,n,{data:x,headers:Ds.from(a.headers),status:a.status,statusText:a.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 sa("Network Error",sa.ERR_NETWORK,e,f),{cause:t.cause||t});throw sa.from(t,t&&t.code,e,f)}});const Wc={http:Ec,xhr:Cc,fetch:qc};aa.forEach(Wc,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Gc=e=>`- ${e}`,Vc=e=>aa.isFunction(e)||null===e||!1===e;var Kc=e=>{e=aa.isArray(e)?e:[e];const{length:t}=e;let n,i;const o={};for(let a=0;a<t;a++){let t;if(n=e[a],i=n,!Vc(n)&&(i=Wc[(t=String(n)).toLowerCase()],void 0===i))throw new sa(`Unknown adapter '${t}'`);if(i)break;o[t||"#"+a]=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 sa("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Gc).join("\n"):" "+Gc(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function Yc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $s(null,e)}function Qc(e){Yc(e),e.headers=Ds.from(e.headers),e.data=Fs.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Kc(e.adapter||Cs.adapter)(e).then((function(t){return Yc(e),t.data=Fs.call(e,e.transformResponse,t),t.headers=Ds.from(t.headers),t}),(function(t){return Ms(t)||(Yc(e),t&&t.response&&(t.response.data=Fs.call(e,e.transformResponse,t.response),t.response.headers=Ds.from(t.response.headers))),Promise.reject(t)}))}const Jc={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Jc[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Zc={};Jc.transitional=function(e,t,n){function i(e,t){return"[Axios v1.9.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,a)=>{if(!1===e)throw new sa(i(o," has been removed"+(t?" in "+t:"")),sa.ERR_DEPRECATED);return t&&!Zc[o]&&(Zc[o]=!0,console.warn(i(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,a)}},Jc.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Xc={assertOptions:function(e,t,n){if("object"!=typeof e)throw new sa("options must be an object",sa.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const a=i[o],s=t[a];if(s){const t=e[a],n=void 0===t||s(t,a,e);if(!0!==n)throw new sa("option "+a+" must be "+n,sa.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new sa("Unknown option "+a,sa.ERR_BAD_OPTION)}},validators:Jc};const el=Xc.validators;class tl{constructor(e){this.defaults=e||{},this.interceptors={request:new ms,response:new ms}}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=Tc(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:o}=t;void 0!==n&&Xc.assertOptions(n,{silentJSONParsing:el.transitional(el.boolean),forcedJSONParsing:el.transitional(el.boolean),clarifyTimeoutError:el.transitional(el.boolean)},!1),null!=i&&(aa.isFunction(i)?t.paramsSerializer={serialize:i}:Xc.assertOptions(i,{encode:el.function,serialize:el.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Xc.assertOptions(t,{baseUrl:el.spelling("baseURL"),withXsrfToken:el.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=o&&aa.merge(o.common,o[t.method]);o&&aa.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Ds.concat(a,o);const s=[];let r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&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(!r){const e=[Qc.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=Qc.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 fs(zs((e=Tc(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}aa.forEach(["delete","get","head","options"],(function(e){tl.prototype[e]=function(t,n){return this.request(Tc(n||{},{method:e,url:t,data:(n||{}).data}))}})),aa.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,o){return this.request(Tc(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}tl.prototype[e]=t(),tl.prototype[e+"Form"]=t(!0)}));var nl=tl;class il{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 $s(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 il((function(t){e=t})),cancel:e}}}var ol=il;const al={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(al).forEach((([e,t])=>{al[t]=e}));var sl=al;const rl=function e(t){const n=new nl(t),i=vo(nl.prototype.request,n);return aa.extend(i,nl.prototype,n,{allOwnKeys:!0}),aa.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(Tc(t,n))},i}(Cs);var cl,ll,pl;rl.Axios=nl,rl.CanceledError=$s,rl.CancelToken=ol,rl.isCancel=Ms,rl.VERSION=Vr,rl.toFormData=cs,rl.AxiosError=sa,rl.Cancel=rl.CanceledError,rl.all=function(e){return Promise.all(e)},rl.spread=function(e){return function(t){return e.apply(null,t)}},rl.isAxiosError=function(e){return aa.isObject(e)&&!0===e.isAxiosError},rl.mergeConfig=Tc,rl.AxiosHeaders=Ds,rl.formToJSON=e=>Ts(aa.isHTMLForm(e)?new FormData(e):e),rl.getAdapter=Kc,rl.HttpStatusCode=sl,rl.default=rl,function(e){e.SAAS="saas",e.INTERNAL="internal",e.POC="poc"}(cl||(cl={})),function(e){e.PRODUCTION="production",e.DEVELOPMENT="development",e.TEST="test"}(ll||(ll={})),function(e){e.VSCODE="vscode",e.JETBRAINS="jetbrains"}(pl||(pl={}));const ul="https://comate.baidu.com",dl="https://comate.baidu-int.com",fl="https://comate-cop.now.baidu.com",ml="https://comate-test.now.baidu.com",hl=(()=>{try{if("ide"===process.env.IDE){const t=e.join(function(){const t="Comate";switch(A.platform()){case"win32":return e.join(T(),"AppData","Roaming",t,"User");case"darwin":return e.join(T(),"Library","Application Support",t,"User");default:return e.join(T(),".config",t,"User")}}(),"loginMode.json");return JSON.parse(n.readFileSync(t,"utf8"))}return{}}catch(e){return{}}})(),vl="uuap"===hl.loginMode;let xl="ide"===process.env.IDE&&vl?cl.INTERNAL:process.env.PLATFORM||cl.INTERNAL,gl=process.env.ENVIRONMENT||ll.PRODUCTION,bl=process.env.DISPLAY_LANGUAGE||"zh",yl=process.env.ACCEPT_LANGUAGE||"zh-CN,zh";const _l={[cl.SAAS]:{[ll.PRODUCTION]:ul,[ll.DEVELOPMENT]:ul,[ll.TEST]:fl},[cl.INTERNAL]:{[ll.PRODUCTION]:dl,[ll.DEVELOPMENT]:dl,[ll.TEST]:ml},[cl.POC]:{[ll.PRODUCTION]:ul,[ll.DEVELOPMENT]:ul,[ll.TEST]:fl}};function wl(e){xl="ide"===process.env.IDE&&vl?cl.INTERNAL:e}function El(e,t){xl="ide"===process.env.IDE&&vl?cl.INTERNAL:e,gl=t}let kl=process.env.HTTP_HOST;function Sl(e){kl=e}const Al=()=>kl||(_l?.[xl]?.[gl]??dl),Tl=e=>{"en"===e?(bl="en",yl="en-US,en"):(bl="zh",yl="zh-CN,zh")};Tl(bl),cl.SAAS;const Rl={},Cl=process.env.HTTP_PROXY_URL||"",{protocol:Ol,hostname:jl,port:Pl}=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}}(Cl),Ll=rl.create(Rl),Il=rl.create(Rl);Ll.interceptors.request.use((async e=>{const t={...e,baseURL:Al()};return t.headers["Accept-Language"]=yl,Cl&&(t.proxy={host:jl,port:Number(Pl),protocol:Ol}),t}));const Nl=e=>rl.create(e),Dl=()=>rl.CancelToken.source(),Fl=rl.CanceledError;function Ml(e={},t={},n=1){for(const i in t)t.hasOwnProperty(i)&&(n<3&&"object"==typeof t[i]&&null!=t[i]&&e.hasOwnProperty(i)&&"object"==typeof e[i]&&null!=e[i]?e[i]=Ml(e[i],t[i],n+1):e[i]=t[i]);return e}async function $l(e){try{const t=await Ll("/api/v2/api/comateplus/configSets/config/enabled",{method:"POST",headers:{"Content-Type":"application/json","X-Username":e},data:JSON.stringify({username:e})});return 200===t.status?t.data.data:[]}catch(e){return[]}}async function Ul(t){let n={};if(t&&t.length>0){const i=Ze.parse(t[0].uri).fsPath,o=e.join(i,".comate","plugin-local.json"),a=e.join(i,".comate","plugin.json");let s={},r={};try{s=JSON.parse(await so(o)||"{}")}catch{}try{r=JSON.parse(await so(a)||"{}")}catch{}n=Ml(r,s)}return n}async function zl(e,t,n){let i={};const o=t.find((t=>t.pluginName===e))?.configValues;i={enabled:o?.enabled||!0,config:o?.values};return Ml(i,n[e])}function Bl(){const e={};return e.promise=new Promise(((t,n)=>{e.resolve=t,e.reject=n})),e}const Hl=process.env.PLATFORM??"unknow-engine",ql=process.env.IDE??"unknown",Wl=["Importing JSON module","Debugger listening","SESSION_FINISH","COMATE_PLUS_INITIALIZED"],Gl="development"===process.env.NODE_ENV;class Vl{initParams;constructor(e){this.initParams=e}async logError(e,t){Gl||Wl.some((e=>t.includes(e)))||this.logUserAction({category:e,content:t},"error")}async logUserAction(e,t="event"){if(Gl)return;const n={type:t,event:e,platform:Hl,ide:ql,common:{app:`comate-${ql}`,license:this.initParams.license,username:this.initParams.username,version:this.initParams.version,ideVersion:this.initParams.ideVersion,os:{platform:A.platform(),arch:A.arch(),release:A.release()},timestamp:Date.now()}};Ll.post("/logger/comate.log",n,{headers:{"Content-Type":"application/json"}}).then((()=>{})).catch((()=>{}))}}function Kl(e){const t=e.split("\n"),n=t.pop()??"";return[t.filter((e=>""!==e)),n]}const Yl=e=>JSON.parse(e);class Ql{body;parse;cancellationToken;error=!1;errorMsg="";constructor(e,t=Yl,n){this.body=e,this.parse=t,this.cancellationToken=n}async*processSSE(){let e="";const t=new TextDecoder;try{for await(const n of this.body){const i=t.decode(n,{stream:!0});if(this.maybeCancel())return;const[o,a]=Kl(e+i);e=a;for(const e of o){if(e.startsWith(":heartbeat"))continue;const t=e.replace(/^data:/,"").trim();if(""!==t)try{const e=this.parse(t);e&&(yield e)}catch(e){return this.cancel(),this.error=!0,void(this.errorMsg=t)}}}}catch(e){if(this.maybeCancel())return;throw e}}maybeCancel(){const e=!!this.cancellationToken?.isCancellationRequested;return e&&this.cancel(),e}cancel(){this.body.destroy()}}async function Jl(e,t,n,i,o,a,s){const{knowledgeSets:r,additionalQueries:c,mergeUserKnowledge:l,queryRewrite:p,topK:u,score:d,checkPermission:f}=o||{};let m=i;r?.length&&(m=l?r.concat(m):r);const h=await Il(`${s?"":"/api/v2/api/aidevops/knowledge"}/rest/v1/retrieval${r&&!f?"/for-plugin":""}`,{method:"POST",baseURL:s||Al(),headers:{"X-Source":"COMATE","Content-Type":"application/json","Uuap-login-name":e},data:JSON.stringify({query:t,retrievalType:n,workspaces:m,additionalQueries:c,queryRewrite:p,knowledgeUUIDs:a,topK:u,score:d})}).then((e=>e.data));return 200===h.code?h.data:h}async function Zl(e,t,n,i){const o=await Il((t?"":"/api/v2/api/aidevops/knowledge")+"/rest/v1/workspaces",{baseURL:t||Al(),headers:{"X-Source":"COMATE","Uuap-login-name":e,"Cloud-login-name":n?encodeURIComponent(n):void 0,"X-Access-Token":t?"c138a4a8-64e1-451e-b193-80caba5dd0f2":void 0},params:{query:i}}).then((e=>e.data));return 200===o.code?o.data.list:o}async function Xl(e){await Il("/api/knowledge/ok",{baseURL:e||Al()})}function ep(e,t){return t?e.replace(/\{\{(\w+)\}\}/g,((e,n)=>{const i=t[n];return void 0!==i?String(i):e})):e}const tp=".comate/prompt",np=t=>e.join(t,tp),ip=(t,n)=>e.join(t,tp,`${n}.prompt`),op=(t,n)=>{const i=np(n);return e.relative(i,t)?.replace(/\.prompt$/,"")};var ap={exports:{}},sp={};const rp=m,cp="\\\\/",lp=`[^${cp}]`,pp="\\.",up="\\/",dp="[^/]",fp=`(?:${up}|$)`,mp=`(?:^|${up})`,hp=`${pp}{1,2}${fp}`,vp={DOT_LITERAL:pp,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:up,ONE_CHAR:"(?=.)",QMARK:dp,END_ANCHOR:fp,DOTS_SLASH:hp,NO_DOT:`(?!${pp})`,NO_DOTS:`(?!${mp}${hp})`,NO_DOT_SLASH:`(?!${pp}{0,1}${fp})`,NO_DOTS_SLASH:`(?!${hp})`,QMARK_NO_DOT:`[^.${up}]`,STAR:`${dp}*?`,START_ANCHOR:mp},xp={...vp,SLASH_LITERAL:`[${cp}]`,QMARK:lp,STAR:`${lp}*?`,DOTS_SLASH:`${pp}{1,2}(?:[${cp}]|$)`,NO_DOT:`(?!${pp})`,NO_DOTS:`(?!(?:^|[${cp}])${pp}{1,2}(?:[${cp}]|$))`,NO_DOT_SLASH:`(?!${pp}{0,1}(?:[${cp}]|$))`,NO_DOTS_SLASH:`(?!${pp}{1,2}(?:[${cp}]|$))`,QMARK_NO_DOT:`[^.${cp}]`,START_ANCHOR:`(?:^|[${cp}])`,END_ANCHOR:`(?:[${cp}]|$)`};var gp={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:rp.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?xp:vp};!function(e){const t=m,n="win32"===process.platform,{REGEX_BACKSLASH:i,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:s}=gp;e.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),e.hasRegexChars=e=>a.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}}(sp);const bp=sp,{CHAR_ASTERISK:yp,CHAR_AT:_p,CHAR_BACKWARD_SLASH:wp,CHAR_COMMA:Ep,CHAR_DOT:kp,CHAR_EXCLAMATION_MARK:Sp,CHAR_FORWARD_SLASH:Ap,CHAR_LEFT_CURLY_BRACE:Tp,CHAR_LEFT_PARENTHESES:Rp,CHAR_LEFT_SQUARE_BRACKET:Cp,CHAR_PLUS:Op,CHAR_QUESTION_MARK:jp,CHAR_RIGHT_CURLY_BRACE:Pp,CHAR_RIGHT_PARENTHESES:Lp,CHAR_RIGHT_SQUARE_BRACKET:Ip}=gp,Np=e=>e===Ap||e===wp,Dp=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};var Fp=(e,t)=>{const n=t||{},i=e.length-1,o=!0===n.parts||!0===n.scanToEnd,a=[],s=[],r=[];let c,l,p=e,u=-1,d=0,f=0,m=!1,h=!1,v=!1,x=!1,g=!1,b=!1,y=!1,_=!1,w=!1,E=!1,k=0,S={value:"",depth:0,isGlob:!1};const A=()=>u>=i,T=()=>(c=l,p.charCodeAt(++u));for(;u<i;){let e;if(l=T(),l!==wp){if(!0===b||l===Tp){for(k++;!0!==A()&&(l=T());)if(l!==wp)if(l!==Tp){if(!0!==b&&l===kp&&(l=T())===kp){if(m=S.isBrace=!0,v=S.isGlob=!0,E=!0,!0===o)continue;break}if(!0!==b&&l===Ep){if(m=S.isBrace=!0,v=S.isGlob=!0,E=!0,!0===o)continue;break}if(l===Pp&&(k--,0===k)){b=!1,m=S.isBrace=!0,E=!0;break}}else k++;else y=S.backslashes=!0,T();if(!0===o)continue;break}if(l!==Ap){if(!0!==n.noext){if(!0===(l===Op||l===_p||l===yp||l===jp||l===Sp)&&p.charCodeAt(u+1)===Rp){if(v=S.isGlob=!0,x=S.isExtglob=!0,E=!0,l===Sp&&u===d&&(w=!0),!0===o){for(;!0!==A()&&(l=T());)if(l!==wp){if(l===Lp){v=S.isGlob=!0,E=!0;break}}else y=S.backslashes=!0,l=T();continue}break}}if(l===yp){if(c===yp&&(g=S.isGlobstar=!0),v=S.isGlob=!0,E=!0,!0===o)continue;break}if(l===jp){if(v=S.isGlob=!0,E=!0,!0===o)continue;break}if(l===Cp){for(;!0!==A()&&(e=T());)if(e!==wp){if(e===Ip){h=S.isBracket=!0,v=S.isGlob=!0,E=!0;break}}else y=S.backslashes=!0,T();if(!0===o)continue;break}if(!0===n.nonegate||l!==Sp||u!==d){if(!0!==n.noparen&&l===Rp){if(v=S.isGlob=!0,!0===o){for(;!0!==A()&&(l=T());)if(l!==Rp){if(l===Lp){E=!0;break}}else y=S.backslashes=!0,l=T();continue}break}if(!0===v){if(E=!0,!0===o)continue;break}}else _=S.negated=!0,d++}else{if(a.push(u),s.push(S),S={value:"",depth:0,isGlob:!1},!0===E)continue;if(c===kp&&u===d+1){d+=2;continue}f=u+1}}else y=S.backslashes=!0,l=T(),l===Tp&&(b=!0)}!0===n.noext&&(x=!1,v=!1);let R=p,C="",O="";d>0&&(C=p.slice(0,d),p=p.slice(d),f-=d),R&&!0===v&&f>0?(R=p.slice(0,f),O=p.slice(f)):!0===v?(R="",O=p):R=p,R&&""!==R&&"/"!==R&&R!==p&&Np(R.charCodeAt(R.length-1))&&(R=R.slice(0,-1)),!0===n.unescape&&(O&&(O=bp.removeBackslashes(O)),R&&!0===y&&(R=bp.removeBackslashes(R)));const j={prefix:C,input:e,start:d,base:R,glob:O,isBrace:m,isBracket:h,isGlob:v,isExtglob:x,isGlobstar:g,negated:_,negatedExtglob:w};if(!0===n.tokens&&(j.maxDepth=0,Np(l)||s.push(S),j.tokens=s),!0===n.parts||!0===n.tokens){let t;for(let i=0;i<a.length;i++){const o=t?t+1:d,c=a[i],l=e.slice(o,c);n.tokens&&(0===i&&0!==d?(s[i].isPrefix=!0,s[i].value=C):s[i].value=l,Dp(s[i]),j.maxDepth+=s[i].depth),0===i&&""===l||r.push(l),t=c}if(t&&t+1<e.length){const i=e.slice(t+1);r.push(i),n.tokens&&(s[s.length-1].value=i,Dp(s[s.length-1]),j.maxDepth+=s[s.length-1].depth)}j.slashes=a,j.parts=r}return j};const Mp=gp,$p=sp,{MAX_LENGTH:Up,POSIX_REGEX_SOURCE:zp,REGEX_NON_SPECIAL_CHARS:Bp,REGEX_SPECIAL_CHARS_BACKREF:Hp,REPLACEMENTS:qp}=Mp,Wp=(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=>$p.escapeRegex(e))).join("..")}return n},Gp=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,Vp=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=qp[e]||e;const n={...t},i="number"==typeof n.maxLength?Math.min(Up,n.maxLength):Up;let o=e.length;if(o>i)throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${i}`);const a={type:"bos",value:"",output:n.prepend||""},s=[a],r=n.capture?"":"?:",c=$p.isWindows(t),l=Mp.globChars(c),p=Mp.extglobChars(l),{DOT_LITERAL:u,PLUS_LITERAL:d,SLASH_LITERAL:f,ONE_CHAR:m,DOTS_SLASH:h,NO_DOT:v,NO_DOT_SLASH:x,NO_DOTS_SLASH:g,QMARK:b,QMARK_NO_DOT:y,STAR:_,START_ANCHOR:w}=l,E=e=>`(${r}(?:(?!${w}${e.dot?h:u}).)*?)`,k=n.dot?"":v,S=n.dot?b:y;let A=!0===n.bash?E(n):_;n.capture&&(A=`(${A})`),"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=$p.removePrefix(e,T),o=e.length;const R=[],C=[],O=[];let j,P=a;const L=()=>T.index===o-1,I=T.peek=(t=1)=>e[T.index+t],N=T.advance=()=>e[++T.index]||"",D=()=>e.slice(T.index+1),F=(e="",t=0)=>{T.consumed+=e,T.index+=t},M=e=>{T.output+=null!=e.output?e.output:e.value,F(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)},U=e=>{T[e]++,O.push(e)},z=e=>{T[e]--,O.pop()},B=e=>{if("globstar"===P.type){const t=T.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||R.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=A,T.output+=P.output)}if(R.length&&"paren"!==e.type&&(R[R.length-1].inner+=e.value),(e.value||e.output)&&M(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;U("parens"),B({type:e,value:t,output:T.output?"":m}),B({type:"paren",extglob:!0,value:N(),output:o}),R.push(i)},q=e=>{let i,o=e.close+(n.capture?")":"");if("negate"===e.type){let a=A;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(a=E(n)),(a!==A||L()||/^\)+$/.test(D()))&&(o=e.close=`)$))${a}`),e.inner.includes("*")&&(i=D())&&/^\.[^\\/.]+$/.test(i)){const n=Vp(i,{...t,fastpaths:!1}).output;o=e.close=`)${n})${a})`}"bos"===e.prev.type&&(T.negatedExtglob=!0)}B({type:"paren",extglob:!0,value:j,output:o}),z("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let i=!1,o=e.replace(Hp,((e,t,n,o,a,s)=>"\\"===o?(i=!0,e):"?"===o?t?t+o+(a?b.repeat(a.length):""):0===s?S+(a?b.repeat(a.length):""):b.repeat(n.length):"."===o?u.repeat(n.length):"*"===o?t?t+o+(a?A:""):A: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=$p.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+="\\",B({type:"text",value:j});continue}const t=/^\\+/.exec(D());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){B({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=zp[n];if(i){P.value=t+i,T.backtrack=!0,N(),a.output||1!==s.indexOf(P)||(a.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,M({value:j});continue}if(1===T.quotes&&'"'!==j){j=$p.escapeRegex(j),P.value+=j,M({value:j});continue}if('"'===j){T.quotes=1===T.quotes?0:1,!0===n.keepQuotes&&B({type:"text",value:j});continue}if("("===j){U("parens"),B({type:"paren",value:j});continue}if(")"===j){if(0===T.parens&&!0===n.strictBrackets)throw new SyntaxError(Gp("opening","("));const e=R[R.length-1];if(e&&T.parens===e.parens+1){q(R.pop());continue}B({type:"paren",value:j,output:T.parens?")":"\\)"}),z("parens");continue}if("["===j){if(!0!==n.nobracket&&D().includes("]"))U("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(Gp("closing","]"));j=`\\${j}`}B({type:"bracket",value:j});continue}if("]"===j){if(!0===n.nobracket||P&&"bracket"===P.type&&1===P.value.length){B({type:"text",value:j,output:`\\${j}`});continue}if(0===T.brackets){if(!0===n.strictBrackets)throw new SyntaxError(Gp("opening","["));B({type:"text",value:j,output:`\\${j}`});continue}z("brackets");const e=P.value.slice(1);if(!0===P.posix||"^"!==e[0]||e.includes("/")||(j=`/${j}`),P.value+=j,M({value:j}),!1===n.literalBrackets||$p.hasRegexChars(e))continue;const t=$p.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=`(${r}${t}|${P.value})`,T.output+=P.value;continue}if("{"===j&&!0!==n.nobrace){U("braces");const e={type:"brace",value:j,output:"(",outputIndex:T.output.length,tokensIndex:T.tokens.length};C.push(e),B(e);continue}if("}"===j){const e=C[C.length-1];if(!0===n.nobrace||!e){B({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=Wp(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}B({type:"brace",value:j,output:t}),z("braces"),C.pop();continue}if("|"===j){R.length>0&&R[R.length-1].conditions++,B({type:"text",value:j});continue}if(","===j){let e=j;const t=C[C.length-1];t&&"braces"===O[O.length-1]&&(t.comma=!0,e="|"),B({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=a;continue}B({type:"slash",value:j,output:f});continue}if("."===j){if(T.braces>0&&"dot"===P.type){"."===P.value&&(P.output=u);const e=C[C.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){B({type:"text",value:j,output:u});continue}B({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&&!$p.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===P.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(D()))&&(t=`\\${j}`),B({type:"text",value:j,output:t});continue}if(!0!==n.dot&&("slash"===P.type||"bos"===P.type)){B({type:"qmark",value:j,output:y});continue}B({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){$();continue}}if("+"===j){if(!0!==n.noextglob&&"("===I()&&"?"!==I(2)){H("plus",j);continue}if(P&&"("===P.value||!1===n.regex){B({type:"plus",value:j,output:d});continue}if(P&&("bracket"===P.type||"paren"===P.type||"brace"===P.type)||T.parens>0){B({type:"plus",value:j});continue}B({type:"plus",value:d});continue}if("@"===j){if(!0!==n.noextglob&&"("===I()&&"?"!==I(2)){B({type:"at",extglob:!0,value:j,output:""});continue}B({type:"text",value:j});continue}if("*"!==j){"$"!==j&&"^"!==j||(j=`\\${j}`);const e=Bp.exec(D());e&&(j+=e[0],T.index+=e[0].length),B({type:"text",value:j});continue}if(P&&("globstar"===P.type||!0===P.star)){P.type="star",P.star=!0,P.value+=j,P.output=A,T.backtrack=!0,T.globstar=!0,F(j);continue}let t=D();if(!0!==n.noextglob&&/^\([^?]/.test(t)){H("star",j);continue}if("star"===P.type){if(!0===n.noglobstar){F(j);continue}const i=P.prev,o=i.prev,a="slash"===i.type||"bos"===i.type,s=o&&("star"===o.type||"globstar"===o.type);if(!0===n.bash&&(!a||t[0]&&"/"!==t[0])){B({type:"star",value:j,output:""});continue}const r=T.braces>0&&("comma"===i.type||"brace"===i.type),c=R.length&&("pipe"===i.type||"paren"===i.type);if(!a&&"paren"!==i.type&&!r&&!c){B({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),F("/**",3)}if("bos"===i.type&&L()){P.type="globstar",P.value+=j,P.output=E(n),T.output=P.output,T.globstar=!0,F(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,F(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,F(j+N()),B({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,F(j+N()),B({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,F(j);continue}const i={type:"star",value:j,output:A};!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+=g,P.output+=g):(T.output+=k,P.output+=k),"*"!==I()&&(T.output+=m,P.output+=m)),B(i)):(i.output=j,B(i)):(i.output=".*?","bos"!==P.type&&"slash"!==P.type||(i.output=k+i.output),B(i))}for(;T.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(Gp("closing","]"));T.output=$p.escapeLast(T.output,"["),z("brackets")}for(;T.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(Gp("closing",")"));T.output=$p.escapeLast(T.output,"("),z("parens")}for(;T.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(Gp("closing","}"));T.output=$p.escapeLast(T.output,"{"),z("braces")}if(!0===n.strictSlashes||"star"!==P.type&&"bracket"!==P.type||B({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};Vp.fastpaths=(e,t)=>{const n={...t},i="number"==typeof n.maxLength?Math.min(Up,n.maxLength):Up,o=e.length;if(o>i)throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${i}`);e=qp[e]||e;const a=$p.isWindows(t),{DOT_LITERAL:s,SLASH_LITERAL:r,ONE_CHAR:c,DOTS_SLASH:l,NO_DOT:p,NO_DOTS:u,NO_DOTS_SLASH:d,STAR:f,START_ANCHOR:m}=Mp.globChars(a),h=n.dot?u:p,v=n.dot?d:p,x=n.capture?"":"?:";let g=!0===n.bash?".*?":f;n.capture&&(g=`(${g})`);const b=e=>!0===e.noglobstar?g:`(${x}(?:(?!${m}${e.dot?l:s}).)*?)`,y=e=>{switch(e){case"*":return`${h}${c}${g}`;case".*":return`${s}${c}${g}`;case"*.*":return`${h}${g}${s}${c}${g}`;case"*/*":return`${h}${g}${r}${c}${v}${g}`;case"**":return h+b(n);case"**/*":return`(?:${h}${b(n)}${r})?${v}${c}${g}`;case"**/*.*":return`(?:${h}${b(n)}${r})?${v}${g}${s}${c}${g}`;case"**/.*":return`(?:${h}${b(n)}${r})?${s}${c}${g}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=y(t[1]);if(!n)return;return n+s+t[2]}}},_=$p.removePrefix(e,{negated:!1,prefix:""});let w=y(_);return w&&!0!==n.strictSlashes&&(w+=`${r}?`),w};const Kp=m,Yp=Fp,Qp=Vp,Jp=sp,Zp=gp,Xp=(e,t,n=!1)=>{if(Array.isArray(e)){const i=e.map((e=>Xp(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 a=t||{},s=Jp.isWindows(t),r=i?Xp.compileRe(e,t):Xp.makeRe(e,t,!1,!0),c=r.state;delete r.state;let l=()=>!1;if(a.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};l=Xp(a.ignore,e,n)}const p=(n,i=!1)=>{const{isMatch:o,match:p,output:u}=Xp.test(n,r,t,{glob:e,posix:s}),d={glob:e,state:c,regex:r,posix:s,input:n,output:u,match:p,isMatch:o};return"function"==typeof a.onResult&&a.onResult(d),!1===o?(d.isMatch=!1,!!i&&d):l(n)?("function"==typeof a.onIgnore&&a.onIgnore(d),d.isMatch=!1,!!i&&d):("function"==typeof a.onMatch&&a.onMatch(d),!i||d)};return n&&(p.state=c),p};Xp.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 a=n||{},s=a.format||(o?Jp.toPosixSlashes:null);let r=e===i,c=r&&s?s(e):e;return!1===r&&(c=s?s(e):e,r=c===i),!1!==r&&!0!==a.capture||(r=!0===a.matchBase||!0===a.basename?Xp.matchBase(e,t,n,o):t.exec(c)),{isMatch:Boolean(r),match:r,output:c}},Xp.matchBase=(e,t,n,i=Jp.isWindows(n))=>(t instanceof RegExp?t:Xp.makeRe(t,n)).test(Kp.basename(e)),Xp.isMatch=(e,t,n)=>Xp(t,n)(e),Xp.parse=(e,t)=>Array.isArray(e)?e.map((e=>Xp.parse(e,t))):Qp(e,{...t,fastpaths:!1}),Xp.scan=(e,t)=>Yp(e,t),Xp.compileRe=(e,t,n=!1,i=!1)=>{if(!0===n)return e.output;const o=t||{},a=o.contains?"":"^",s=o.contains?"":"$";let r=`${a}(?:${e.output})${s}`;e&&!0===e.negated&&(r=`^(?!${r}).*$`);const c=Xp.toRegex(r,t);return!0===i&&(c.state=e),c},Xp.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=Qp.fastpaths(e,t)),o.output||(o=Qp(e,t)),Xp.compileRe(o,t,n,i)},Xp.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/$^/}},Xp.constants=Zp;var eu=Xp,tu=ap.exports;Object.defineProperty(tu,"__esModule",{value:!0});const nu=eu,iu=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 a=e.split(/[/\\]+/);return!1!==t&&""===a[a.length-1]&&a.pop(),i+a.join("/")},ou={returnIndex:!1},au=(e,t,n,i)=>{const o=Array.isArray(n),a=o?n[0]:n;if(!o&&"string"!=typeof a)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(a));const s=iu(a,!1);for(let e=0;e<t.length;e++){if((0,t[e])(s))return!!i&&-1}const r=o&&[s].concat(n.slice(1));for(let t=0;t<e.length;t++){const n=e[t];if(o?n(...r):n(s))return!i||t}return!!i&&-1},su=(e,t,n=ou)=>{if(null==e)throw new TypeError("anymatch: specify first argument");const i="boolean"==typeof n?{returnIndex:n}:n,o=i.returnIndex||!1,a=(s=e,Array.isArray(s)?s:[s]);var s;const r=a.filter((e=>"string"==typeof e&&"!"===e.charAt(0))).map((e=>e.slice(1))).map((e=>nu(e,i))),c=a.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=nu(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)=>au(c,r,e,"boolean"==typeof t&&t):au(c,r,t,o)};su.default=su,ap.exports=su;var ru=tt(ap.exports);const cu=p.PassThrough,lu=Array.prototype.slice;var pu=function(){const e=[],t=lu.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,a=!0===i.pipeError;null==i.objectMode&&(i.objectMode=!0);null==i.highWaterMark&&(i.highWaterMark=65536);const s=cu(i);function r(){for(let t=0,n=arguments.length;t<n;t++)e.push(uu(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 r(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),a&&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),a&&e.on("error",n),e.pipe(s,{end:!1}),e.resume()}for(let e=0;e<t.length;e++)r(t[e]);o()}function l(){n=!1,s.emit("queueDrain"),o&&s.end()}s.setMaxListeners(0),s.add=r,s.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")})),t.length&&r.apply(null,t);return s};function uu(e,t){if(Array.isArray(e))for(let n=0,i=e.length;n<i;n++)e[n]=uu(e[n],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(cu(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}var du=tt(pu),fu={},mu={},hu={};Object.defineProperty(hu,"__esModule",{value:!0}),hu.splitWhen=hu.flatten=void 0,hu.flatten=function(e){return e.reduce(((e,t)=>[].concat(e,t)),[])},hu.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 vu={};Object.defineProperty(vu,"__esModule",{value:!0}),vu.isEnoentCodeError=void 0,vu.isEnoentCodeError=function(e){return"ENOENT"===e.code};var xu={};Object.defineProperty(xu,"__esModule",{value:!0}),xu.createDirentFromStats=void 0;let gu=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)}};xu.createDirentFromStats=function(e,t){return new gu(e,t)};var bu={};Object.defineProperty(bu,"__esModule",{value:!0}),bu.convertPosixPathToPattern=bu.convertWindowsPathToPattern=bu.convertPathToPattern=bu.escapePosixPath=bu.escapeWindowsPath=bu.escape=bu.removeLeadingDotSegment=bu.makeAbsolute=bu.unixify=void 0;const yu=m,_u="win32"===v.platform(),wu=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,Eu=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,ku=/^\\\\([.?])/,Su=/\\(?![!()+@[\]{}])/g;function Au(e){return e.replace(Eu,"\\$2")}function Tu(e){return e.replace(wu,"\\$2")}function Ru(e){return Au(e).replace(ku,"//$1").replace(Su,"/")}function Cu(e){return Tu(e)}bu.unixify=function(e){return e.replace(/\\/g,"/")},bu.makeAbsolute=function(e,t){return yu.resolve(e,t)},bu.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e},bu.escape=_u?Au:Tu,bu.escapeWindowsPath=Au,bu.escapePosixPath=Tu,bu.convertPathToPattern=_u?Ru:Cu,bu.convertWindowsPathToPattern=Ru,bu.convertPosixPathToPattern=Cu;var Ou,ju={},Pu=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},Lu={"{":"}","(":")","[":"]"},Iu=function(e){if("!"===e[0])return!0;for(var t=0,n=-2,i=-2,o=-2,a=-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!==a&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(a=e.indexOf(")",t))>t&&(-1===(s=e.indexOf("\\",t))||s>a))return!0;if(-1!==n&&"("===e[t]&&"|"!==e[t+1]&&(n<t&&(n=e.indexOf("|",t)),-1!==n&&")"!==e[n+1]&&(a=e.indexOf(")",n))>n&&(-1===(s=e.indexOf("\\",n))||s>a)))return!0;if("\\"===e[t]){var r=e[t+1];t+=2;var c=Lu[r];if(c){var l=e.indexOf(c,t);-1!==l&&(t=l+1)}if("!"===e[t])return!0}else t++}return!1},Nu=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=Lu[n];if(i){var o=e.indexOf(i,t);-1!==o&&(t=o+1)}if("!"===e[t])return!0}else t++}return!1},Du=function(e,t){if("string"!=typeof e||""===e)return!1;if(Pu(e))return!0;var n=Iu;return t&&!1===t.strict&&(n=Nu),n(e)},Fu=m.posix.dirname,Mu="win32"===v.platform(),$u=/\\/g,Uu=/[\{\[].*[\}\]]$/,zu=/(^|[^\\])([\{\[]|\([^\)]+$)/,Bu=/\\([\!\*\?\|\[\]\(\)\{\}])/g,Hu={};
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
- */(Ou=Hu).isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),Ou.find=(e,t)=>e.nodes.find((e=>e.type===t)),Ou.exceedsLimit=(e,t,n=1,i)=>!1!==i&&!(!Ou.isInteger(e)||!Ou.isInteger(t))&&(Number(t)-Number(e))/Number(n)>=i,Ou.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)},Ou.encloseBrace=e=>"brace"===e.type&&e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0),Ou.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))),Ou.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,Ou.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),Ou.flatten=(...e)=>{const t=[],n=e=>{for(let i=0;i<e.length;i++){const s=e[i];Array.isArray(s)?n(s):void 0!==s&&t.push(s)}return t};return n(e),t};const qu=Hu;var Gu=(e,t={})=>{const n=(e,i={})=>{const s=t.escapeInvalid&&qu.isInvalidBrace(i),a=!0===e.invalid&&!0===t.escapeInvalid;let o="";if(e.value)return(s||a)&&qu.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(const t of e.nodes)o+=n(t);return o};return n(e)};
14
+ */(Ou=Hu).isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),Ou.find=(e,t)=>e.nodes.find((e=>e.type===t)),Ou.exceedsLimit=(e,t,n=1,i)=>!1!==i&&!(!Ou.isInteger(e)||!Ou.isInteger(t))&&(Number(t)-Number(e))/Number(n)>=i,Ou.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)},Ou.encloseBrace=e=>"brace"===e.type&&e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0),Ou.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))),Ou.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,Ou.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),Ou.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 qu=Hu;var Wu=(e,t={})=>{const n=(e,i={})=>{const o=t.escapeInvalid&&qu.isInvalidBrace(i),a=!0===e.invalid&&!0===t.escapeInvalid;let s="";if(e.value)return(o||a)&&qu.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,{promises as i
24
24
  * Copyright (c) 2015-present, Jon Schlinkert.
25
25
  * Released under the MIT License.
26
26
  */
27
- const Wu=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))},Ku=(e,t,n)=>{if(!1===Wu(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===Wu(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 s=e+":"+t+"="+String(i.relaxZeros)+String(i.shorthand)+String(i.capture)+String(i.wrap);if(Ku.cache.hasOwnProperty(s))return Ku.cache[s].result;let a=Math.min(e,t),o=Math.max(e,t);if(1===Math.abs(a-o)){let n=e+"|"+t;return i.capture?`(${n})`:!1===i.wrap?n:`(?:${n})`}let r=id(e)||id(t),c={min:e,max:t,a:a,b:o},p=[],l=[];if(r&&(c.isPadded=r,c.maxLen=String(c.max).length),a<0){l=Qu(o<0?Math.abs(o):1,Math.abs(a),c,i),a=c.a=0}return o>=0&&(p=Qu(a,o,c,i)),c.negatives=l,c.positives=p,c.result=function(e,t,n){let i=Yu(e,t,"-",!1)||[],s=Yu(t,e,"",!1)||[],a=Yu(e,t,"-?",!0)||[];return i.concat(a).concat(s).join("|")}(l,p),!0===i.capture?c.result=`(${c.result})`:!1!==i.wrap&&p.length+l.length>1&&(c.result=`(?:${c.result})`),Ku.cache[s]=c,c.result};function Vu(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),s=i.length,a="",o=0;for(let e=0;e<s;e++){let[t,n]=i[e];t===n?a+=t:"0"!==t||"9"!==n?a+=nd(t,n):o++}return o&&(a+=!0===n.shorthand?"\\d":"[0-9]"),{pattern:a,count:[o],digits:s}}function Qu(e,t,n,i){let s,a=function(e,t){let n=1,i=1,s=Xu(e,n),a=new Set([t]);for(;e<=s&&s<=t;)a.add(s),n+=1,s=Xu(e,n);for(s=ed(t+1,i)-1;e<s&&s<=t;)a.add(s),i+=1,s=ed(t+1,i)-1;return a=[...a],a.sort(Ju),a}(e,t),o=[],r=e;for(let e=0;e<a.length;e++){let t=a[e],c=Vu(String(r),String(t),i),p="";n.isPadded||!s||s.pattern!==c.pattern?(n.isPadded&&(p=sd(t,n,i)),c.string=p+c.pattern+td(c.count),o.push(c),r=t+1,s=c):(s.count.length>1&&s.count.pop(),s.count.push(c.count[0]),s.string=s.pattern+td(s.count),r=t+1)}return o}function Yu(e,t,n,i,s){let a=[];for(let s of e){let{string:e}=s;i||Zu(t,"string",e)||a.push(n+e),i&&Zu(t,"string",e)&&a.push(n+e)}return a}function Ju(e,t){return e>t?1:t>e?-1:0}function Zu(e,t,n){return e.some((e=>e[t]===n))}function Xu(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function ed(e,t){return e-e%Math.pow(10,t)}function td(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function nd(e,t,n){return`[${e}${t-e==1?"":"-"}${t}]`}function id(e){return/^-?(0+)\d/.test(e)}function sd(e,t,n){if(!t.isPadded)return e;let i=Math.abs(t.maxLen-String(e).length),s=!1!==n.relaxZeros;switch(i){case 0:return"";case 1:return s?"0?":"0";case 2:return s?"0{0,2}":"00";default:return s?`0{0,${i}}`:`0{${i}}`}}Ku.cache={},Ku.clearCache=()=>Ku.cache={};
27
+ const Gu=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))},Vu=(e,t,n)=>{if(!1===Gu(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===Gu(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(Vu.cache.hasOwnProperty(o))return Vu.cache[o].result;let a=Math.min(e,t),s=Math.max(e,t);if(1===Math.abs(a-s)){let n=e+"|"+t;return i.capture?`(${n})`:!1===i.wrap?n:`(?:${n})`}let r=id(e)||id(t),c={min:e,max:t,a:a,b:s},l=[],p=[];if(r&&(c.isPadded=r,c.maxLen=String(c.max).length),a<0){p=Yu(s<0?Math.abs(s):1,Math.abs(a),c,i),a=c.a=0}return s>=0&&(l=Yu(a,s,c,i)),c.negatives=p,c.positives=l,c.result=function(e,t,n){let i=Qu(e,t,"-",!1)||[],o=Qu(t,e,"",!1)||[],a=Qu(e,t,"-?",!0)||[];return i.concat(a).concat(o).join("|")}(p,l),!0===i.capture?c.result=`(${c.result})`:!1!==i.wrap&&l.length+p.length>1&&(c.result=`(?:${c.result})`),Vu.cache[o]=c,c.result};function Ku(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,a="",s=0;for(let e=0;e<o;e++){let[t,n]=i[e];t===n?a+=t:"0"!==t||"9"!==n?a+=nd(t,n):s++}return s&&(a+=!0===n.shorthand?"\\d":"[0-9]"),{pattern:a,count:[s],digits:o}}function Yu(e,t,n,i){let o,a=function(e,t){let n=1,i=1,o=Xu(e,n),a=new Set([t]);for(;e<=o&&o<=t;)a.add(o),n+=1,o=Xu(e,n);for(o=ed(t+1,i)-1;e<o&&o<=t;)a.add(o),i+=1,o=ed(t+1,i)-1;return a=[...a],a.sort(Ju),a}(e,t),s=[],r=e;for(let e=0;e<a.length;e++){let t=a[e],c=Ku(String(r),String(t),i),l="";n.isPadded||!o||o.pattern!==c.pattern?(n.isPadded&&(l=od(t,n,i)),c.string=l+c.pattern+td(c.count),s.push(c),r=t+1,o=c):(o.count.length>1&&o.count.pop(),o.count.push(c.count[0]),o.string=o.pattern+td(o.count),r=t+1)}return s}function Qu(e,t,n,i,o){let a=[];for(let o of e){let{string:e}=o;i||Zu(t,"string",e)||a.push(n+e),i&&Zu(t,"string",e)&&a.push(n+e)}return a}function Ju(e,t){return e>t?1:t>e?-1:0}function Zu(e,t,n){return e.some((e=>e[t]===n))}function Xu(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function ed(e,t){return e-e%Math.pow(10,t)}function td(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function nd(e,t,n){return`[${e}${t-e==1?"":"-"}${t}]`}function id(e){return/^-?(0+)\d/.test(e)}function od(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}}`}}Vu.cache={},Vu.clearCache=()=>Vu.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 ad=d,od=Ku,rd=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),cd=e=>"number"==typeof e||"string"==typeof e&&""!==e,pd=e=>Number.isInteger(+e),ld=e=>{let t=`${e}`,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},ud=(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},dd=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return n?"-"+e:e},md=(e,t,n,i)=>{if(n)return od(e,t,{wrap:!1,...i});let s=String.fromCharCode(e);return e===t?s:`[${s}-${String.fromCharCode(t)}]`},hd=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,i=n.capture?"":"?:";return t?`(${i}${e.join("|")})`:e.join("|")}return od(e,t,n)},fd=(...e)=>new RangeError("Invalid range arguments: "+ad.inspect(...e)),xd=(e,t,n)=>{if(!0===n.strictRanges)throw fd([e,t]);return[]},vd=(e,t,n=1,i={})=>{let s=Number(e),a=Number(t);if(!Number.isInteger(s)||!Number.isInteger(a)){if(!0===i.strictRanges)throw fd([e,t]);return[]}0===s&&(s=0),0===a&&(a=0);let o=s>a,r=String(e),c=String(t),p=String(n);n=Math.max(Math.abs(n),1);let l=ld(r)||ld(c)||ld(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 md(dd(e,u),dd(t,u),!0,i);let h={negatives:[],positives:[]},f=[],x=0;for(;o?s>=a:s<=a;)!0===i.toRegex&&n>1?h[(v=s)<0?"negatives":"positives"].push(Math.abs(v)):f.push(ud(m(s,x),u,d)),s=o?s-n:s+n,x++;var v;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?"":"?:",a="",o="";return e.positives.length&&(a=e.positives.map((e=>dd(String(e),n))).join("|")),e.negatives.length&&(o=`-(${s}${e.negatives.map((e=>dd(String(e),n))).join("|")})`),i=a&&o?`${a}|${o}`:a||o,t.wrap?`(${s}${i})`:i})(h,i,u):hd(f,null,{wrap:!1,...i}):f},gd=(e,t,n,i={})=>{if(null==t&&cd(e))return[e];if(!cd(e)||!cd(t))return xd(e,t,i);if("function"==typeof n)return gd(e,t,1,{transform:n});if(rd(n))return gd(e,t,0,n);let s={...i};return!0===s.capture&&(s.wrap=!0),n=n||s.step||1,pd(n)?pd(e)&&pd(t)?vd(e,t,n,s):((e,t,n=1,i={})=>{if(!pd(e)&&e.length>1||!pd(t)&&t.length>1)return xd(e,t,i);let s=i.transform||(e=>String.fromCharCode(e)),a=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),r=a>o,c=Math.min(a,o),p=Math.max(a,o);if(i.toRegex&&1===n)return md(c,p,!1,i);let l=[],u=0;for(;r?a>=o:a<=o;)l.push(s(a,u)),a=r?a-n:a+n,u++;return!0===i.toRegex?hd(l,null,{wrap:!1,options:i}):l})(e,t,Math.max(Math.abs(n),1),s):null==n||rd(n)?gd(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,s)};const bd=gd,yd=Hu;var _d=(e,t={})=>{const n=(e,i={})=>{const s=yd.isInvalidBrace(i),a=!0===e.invalid&&!0===t.escapeInvalid,o=!0===s||!0===a,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 o?r+e.value:"(";if("close"===e.type)return o?r+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":o?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){const n=yd.reduce(e.nodes),i=bd(...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 wd=gd,Ed=Gu,kd=Hu,Sd=(e="",t="",n=!1)=>{const i=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?kd.flatten(t).map((e=>`{${e}}`)):t;for(const s of e)if(Array.isArray(s))for(const e of s)i.push(Sd(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),i.push(Array.isArray(e)?Sd(s,e,n):s+e);return kd.flatten(i)};var Td=(e,t={})=>{const n=void 0===t.rangeLimit?1e3:t.rangeLimit,i=(e,s={})=>{e.queue=[];let a=s,o=s.queue;for(;"brace"!==a.type&&"root"!==a.type&&a.parent;)a=a.parent,o=a.queue;if(e.invalid||e.dollar)return void o.push(Sd(o.pop(),Ed(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void o.push(Sd(o.pop(),["{}"]));if(e.nodes&&e.ranges>0){const i=kd.reduce(e.nodes);if(kd.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=wd(...i,t);return 0===s.length&&(s=Ed(e,t)),o.push(Sd(o.pop(),s)),void(e.nodes=[])}const r=kd.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(Sd(c.pop(),n.value)):n.nodes&&i(n,e):o.push(Sd(o.pop(),c,r)):(1===t&&c.push(""),c.push(""))}return c};return kd.flatten(i(e))};const Rd=Gu,{MAX_LENGTH:Ad,CHAR_BACKSLASH:Cd,CHAR_BACKTICK:Od,CHAR_COMMA:jd,CHAR_DOT:Pd,CHAR_LEFT_PARENTHESES:Ld,CHAR_RIGHT_PARENTHESES:Nd,CHAR_LEFT_CURLY_BRACE:Id,CHAR_RIGHT_CURLY_BRACE:Dd,CHAR_LEFT_SQUARE_BRACKET:Fd,CHAR_RIGHT_SQUARE_BRACKET:Md,CHAR_DOUBLE_QUOTE:$d,CHAR_SINGLE_QUOTE:Ud,CHAR_NO_BREAK_SPACE:Bd,CHAR_ZERO_WIDTH_NOBREAK_SPACE:zd}={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 Hd=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");const n=t||{},i="number"==typeof n.maxLength?Math.min(Ad,n.maxLength):Ad;if(e.length>i)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${i})`);const s={type:"root",input:e,nodes:[]},a=[s];let o=s,r=s,c=0;const p=e.length;let l,u=0,d=0;const m=()=>e[u++],h=e=>{if("text"===e.type&&"dot"===r.type&&(r.type="text"),!r||"text"!==r.type||"text"!==e.type)return o.nodes.push(e),e.parent=o,e.prev=r,r=e,e;r.value+=e.value};for(h({type:"bos"});u<p;)if(o=a[a.length-1],l=m(),l!==zd&&l!==Bd)if(l!==Cd)if(l!==Md)if(l!==Fd)if(l!==Ld)if(l!==Nd)if(l!==$d&&l!==Ud&&l!==Od)if(l!==Id)if(l!==Dd)if(l===jd&&d>0){if(o.ranges>0){o.ranges=0;const e=o.nodes.shift();o.nodes=[e,{type:"text",value:Rd(o)}]}h({type:"comma",value:l}),o.commas++}else if(l===Pd&&d>0&&0===o.commas){const e=o.nodes;if(0===d||0===e.length){h({type:"text",value:l});continue}if("dot"===r.type){if(o.range=[],r.value+=l,r.type="range",3!==o.nodes.length&&5!==o.nodes.length){o.invalid=!0,o.ranges=0,r.type="text";continue}o.ranges++,o.args=[];continue}if("range"===r.type){e.pop();const t=e[e.length-1];t.value+=r.value+l,r=t,o.ranges--;continue}h({type:"dot",value:l})}else h({type:"text",value:l});else{if("brace"!==o.type){h({type:"text",value:l});continue}const e="close";o=a.pop(),o.close=!0,h({type:e,value:l}),d--,o=a[a.length-1]}else{d++;const e=r.value&&"$"===r.value.slice(-1)||!0===o.dollar;o=h({type:"brace",open:!0,close:!1,dollar:e,depth:d,commas:0,ranges:0,nodes:[]}),a.push(o),h({type:"open",value:l})}else{const e=l;let n;for(!0!==t.keepQuotes&&(l="");u<p&&(n=m());)if(n!==Cd){if(n===e){!0===t.keepQuotes&&(l+=n);break}l+=n}else l+=n+m();h({type:"text",value:l})}else{if("paren"!==o.type){h({type:"text",value:l});continue}o=a.pop(),h({type:"text",value:l}),o=a[a.length-1]}else o=h({type:"paren",nodes:[]}),a.push(o),h({type:"text",value:l});else{let e;for(c++;u<p&&(e=m());)if(l+=e,e!==Fd)if(e!==Cd){if(e===Md&&(c--,0===c))break}else l+=m();else c++;h({type:"text",value:l})}else h({type:"text",value:"\\"+l});else h({type:"text",value:(t.keepEscaping?l:"")+m()});do{if(o=a.pop(),"root"!==o.type){o.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=a[a.length-1],t=e.nodes.indexOf(o);e.nodes.splice(t,1,...o.nodes)}}while(a.length>0);return h({type:"eos"}),s};const qd=Gu,Gd=_d,Wd=Td,Kd=Hd,Vd=(e,t={})=>{let n=[];if(Array.isArray(e))for(const i of e){const e=Vd.create(i,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(Vd.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};Vd.parse=(e,t={})=>Kd(e,t),Vd.stringify=(e,t={})=>qd("string"==typeof e?Vd.parse(e,t):e,t),Vd.compile=(e,t={})=>("string"==typeof e&&(e=Vd.parse(e,t)),Gd(e,t)),Vd.expand=(e,t={})=>{"string"==typeof e&&(e=Vd.parse(e,t));let n=Wd(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},Vd.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?Vd.compile(e,t):Vd.expand(e,t);const Qd=d,Yd=Vd,Jd=eu,Zd=ol,Xd=e=>""===e||"./"===e,em=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let i=new Set,s=new Set,a=new Set,o=0,r=e=>{a.add(e.output),n&&n.onResult&&n.onResult(e)};for(let a=0;a<t.length;a++){let c=Jd(String(t[a]),{...n,onResult:r},!0),p=c.state.negated||c.state.negatedExtglob;p&&o++;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=(o===t.length?[...a]:[...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};em.match=em,em.matcher=(e,t)=>Jd(e,t),em.any=em.isMatch=(e,t,n)=>Jd(t,n)(e),em.not=(e,t,n={})=>{t=[].concat(t).map(String);let i=new Set,s=[],a=new Set(em(e,t,{...n,onResult:e=>{n.onResult&&n.onResult(e),s.push(e.output)}}));for(let e of s)a.has(e)||i.add(e);return[...i]},em.contains=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Qd.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>em.contains(e,t,n)));if("string"==typeof t){if(Xd(e)||Xd(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return em.isMatch(e,t,{...n,contains:!0})},em.matchKeys=(e,t,n)=>{if(!Zd.isObject(e))throw new TypeError("Expected the first argument to be an object");let i=em(Object.keys(e),t,n),s={};for(let t of i)s[t]=e[t];return s},em.some=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=Jd(String(e),n);if(i.some((e=>t(e))))return!0}return!1},em.every=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=Jd(String(e),n);if(!i.every((e=>t(e))))return!1}return!0},em.all=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Qd.inspect(e)}"`);return[].concat(t).every((t=>Jd(t,n)(e)))},em.capture=(e,t,n)=>{let i=Zd.isWindows(n),s=Jd.makeRe(String(e),{...n,capture:!0}).exec(i?Zd.toPosixSlashes(t):t);if(s)return s.slice(1).map((e=>void 0===e?"":e))},em.makeRe=(...e)=>Jd.makeRe(...e),em.scan=(...e)=>Jd.scan(...e),em.parse=(e,t)=>{let n=[];for(let i of[].concat(e||[]))for(let e of Yd(String(i),t))n.push(Jd.parse(e,t));return n},em.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:Yd(e,t)},em.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return em.braces(e,{...t,expand:!0})};var tm=em;Object.defineProperty(ju,"__esModule",{value:!0}),ju.removeDuplicateSlashes=ju.matchAny=ju.convertPatternsToRe=ju.makeRe=ju.getPatternParts=ju.expandBraceExpansion=ju.expandPatternsWithBraceExpansion=ju.isAffectDepthOfReadingPattern=ju.endsWithSlashGlobStar=ju.hasGlobStar=ju.getBaseDirectory=ju.isPatternRelatedToParentDirectory=ju.getPatternsOutsideCurrentDirectory=ju.getPatternsInsideCurrentDirectory=ju.getPositivePatterns=ju.getNegativePatterns=ju.isPositivePattern=ju.isNegativePattern=ju.convertToNegativePattern=ju.convertToPositivePattern=ju.isDynamicPattern=ju.isStaticPattern=void 0;const nm=h,im=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&Mu&&e.indexOf("/")<0&&(e=e.replace($u,"/")),Uu.test(e)&&(e+="/"),e+="a";do{e=Fu(e)}while(Du(e)||Bu.test(e));return e.replace(zu,"$1")},sm=tm,am="**",om="\\",rm=/[*?]|^!/,cm=/\[[^[]*]/,pm=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,lm=/[!*+?@]\([^(]*\)/,um=/,|\.\./,dm=/(?!^)\/{2,}/g;function mm(e,t={}){return!hm(e,t)}function hm(e,t={}){return""!==e&&(!(!1!==t.caseSensitiveMatch&&!e.includes(om))||(!!(rm.test(e)||cm.test(e)||pm.test(e))||(!(!1===t.extglob||!lm.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 um.test(i)}(e)))))}function fm(e){return e.startsWith("!")&&"("!==e[1]}function xm(e){return!fm(e)}function vm(e){return e.startsWith("..")||e.startsWith("./..")}function gm(e){return e.endsWith("/"+am)}function bm(e){const t=sm.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort(((e,t)=>e.length-t.length)),t.filter((e=>""!==e))}function ym(e,t){return sm.makeRe(e,t)}ju.isStaticPattern=mm,ju.isDynamicPattern=hm,ju.convertToPositivePattern=function(e){return fm(e)?e.slice(1):e},ju.convertToNegativePattern=function(e){return"!"+e},ju.isNegativePattern=fm,ju.isPositivePattern=xm,ju.getNegativePatterns=function(e){return e.filter(fm)},ju.getPositivePatterns=function(e){return e.filter(xm)},ju.getPatternsInsideCurrentDirectory=function(e){return e.filter((e=>!vm(e)))},ju.getPatternsOutsideCurrentDirectory=function(e){return e.filter(vm)},ju.isPatternRelatedToParentDirectory=vm,ju.getBaseDirectory=function(e){return im(e,{flipBackslashes:!1})},ju.hasGlobStar=function(e){return e.includes(am)},ju.endsWithSlashGlobStar=gm,ju.isAffectDepthOfReadingPattern=function(e){const t=nm.basename(e);return gm(e)||mm(t)},ju.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat(bm(t))),[])},ju.expandBraceExpansion=bm,ju.getPatternParts=function(e,t){let{parts:n}=sm.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},ju.makeRe=ym,ju.convertPatternsToRe=function(e,t){return e.map((e=>ym(e,t)))},ju.matchAny=function(e,t){return t.some((t=>t.test(e)))},ju.removeDuplicateSlashes=function(e){return e.replace(dm,"/")};var _m={};Object.defineProperty(_m,"__esModule",{value:!0}),_m.merge=void 0;const wm=lu;function Em(e){e.forEach((e=>e.emit("close")))}_m.merge=function(e){const t=wm(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>Em(e))),t.once("end",(()=>Em(e))),t};var km={};Object.defineProperty(km,"__esModule",{value:!0}),km.isEmpty=km.isString=void 0,km.isString=function(e){return"string"==typeof e},km.isEmpty=function(e){return""===e},Object.defineProperty(hu,"__esModule",{value:!0}),hu.string=hu.stream=hu.pattern=hu.path=hu.fs=hu.errno=hu.array=void 0;const Sm=fu;hu.array=Sm;const Tm=xu;hu.errno=Tm;const Rm=vu;hu.fs=Rm;const Am=bu;hu.path=Am;const Cm=ju;hu.pattern=Cm;const Om=_m;hu.stream=Om;const jm=km;hu.string=jm,Object.defineProperty(mu,"__esModule",{value:!0}),mu.convertPatternGroupToTask=mu.convertPatternGroupsToTasks=mu.groupPatternsByBaseDirectory=mu.getNegativePatternsAsPositive=mu.getPositivePatterns=mu.convertPatternsToTasks=mu.generate=void 0;const Pm=hu;function Lm(e,t){let n=e;return t.braceExpansion&&(n=Pm.pattern.expandPatternsWithBraceExpansion(n)),t.baseNameMatch&&(n=n.map((e=>e.includes("/")?e:`**/${e}`))),n.map((e=>Pm.pattern.removeDuplicateSlashes(e)))}function Nm(e,t,n){const i=[],s=Pm.pattern.getPatternsOutsideCurrentDirectory(e),a=Pm.pattern.getPatternsInsideCurrentDirectory(e),o=Fm(s),r=Fm(a);return i.push(...Mm(o,t,n)),"."in r?i.push($m(".",a,t,n)):i.push(...Mm(r,t,n)),i}function Im(e){return Pm.pattern.getPositivePatterns(e)}function Dm(e,t){return Pm.pattern.getNegativePatterns(e).concat(t).map(Pm.pattern.convertToPositivePattern)}function Fm(e){return e.reduce(((e,t)=>{const n=Pm.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e}),{})}function Mm(e,t,n){return Object.keys(e).map((i=>$m(i,e[i],t,n)))}function $m(e,t,n,i){return{dynamic:i,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(Pm.pattern.convertToNegativePattern))}}mu.generate=function(e,t){const n=Lm(e,t),i=Lm(t.ignore,t),s=Im(n),a=Dm(n,i),o=s.filter((e=>Pm.pattern.isStaticPattern(e,t))),r=s.filter((e=>Pm.pattern.isDynamicPattern(e,t))),c=Nm(o,a,!1),p=Nm(r,a,!0);return c.concat(p)},mu.convertPatternsToTasks=Nm,mu.getPositivePatterns=Im,mu.getNegativePatternsAsPositive=Dm,mu.groupPatternsByBaseDirectory=Fm,mu.convertPatternGroupsToTasks=Mm,mu.convertPatternGroupToTask=$m;var Um={},Bm={},zm={},Hm={},qm={},Gm={},Wm={},Km={},Vm={};function Qm(e,t){e(t)}function Ym(e,t){e(null,t)}Object.defineProperty(Vm,"__esModule",{value:!0}),Vm.read=void 0,Vm.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 Qm(n,e):void Ym(n,s);t.markSymbolicLink&&(i.isSymbolicLink=()=>!0),Ym(n,i)})):Ym(n,s):Qm(n,i)}))};var Jm={};Object.defineProperty(Jm,"__esModule",{value:!0}),Jm.read=void 0,Jm.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 Zm={},Xm={};!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)}}(Xm),Object.defineProperty(Zm,"__esModule",{value:!0});const eh=Xm;Zm.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=eh.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(Km,"__esModule",{value:!0}),Km.statSync=Km.stat=Km.Settings=void 0;const th=Vm,nh=Jm,ih=Zm;function sh(e={}){return e instanceof ih.default?e:new ih.default(e)}
35
- /*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */let ah;Km.Settings=ih.default,Km.stat=function(e,t,n){"function"!=typeof t?th.read(e,sh(t),n):th.read(e,sh(),t)},Km.statSync=function(e,t){const n=sh(t);return nh.read(e,n)};var oh=function(e,t){let n,i,s,a=!0;Array.isArray(e)?(n=[],i=e.length):(s=Object.keys(e),n={},i=s.length);function o(e){function i(){t&&t(e,n),t=null}a?rh(i):i()}function r(e,t,s){n[e]=s,(0==--i||t)&&o(t)}i?s?s.forEach((function(t){e[t]((function(e,n){r(t,e,n)}))})):e.forEach((function(e,t){e((function(e,n){r(t,e,n)}))})):o(null);a=!1};
36
- /*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */const rh="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:et):e=>(ah||(ah=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)));var ch={};Object.defineProperty(ch,"__esModule",{value:!0}),ch.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const ph=process.versions.node.split(".");if(void 0===ph[0]||void 0===ph[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const lh=Number.parseInt(ph[0],10),uh=Number.parseInt(ph[1],10),dh=lh>10,mh=10===lh&&uh>=10;ch.IS_SUPPORT_READDIR_WITH_FILE_TYPES=dh||mh;var hh={},fh={};Object.defineProperty(fh,"__esModule",{value:!0}),fh.createDirentFromStats=void 0;class xh{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)}}fh.createDirentFromStats=function(e,t){return new xh(e,t)},Object.defineProperty(hh,"__esModule",{value:!0}),hh.fs=void 0;const vh=fh;hh.fs=vh;var gh={};Object.defineProperty(gh,"__esModule",{value:!0}),gh.joinPathSegments=void 0,gh.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t},Object.defineProperty(Wm,"__esModule",{value:!0}),Wm.readdir=Wm.readdirWithFileTypes=Wm.read=void 0;const bh=Km,yh=oh,_h=ch,wh=hh,Eh=gh;function kh(e,t,n){t.fs.readdir(e,{withFileTypes:!0},((i,s)=>{if(null!==i)return void Th(n,i);const a=s.map((n=>({dirent:n,name:n.name,path:Eh.joinPathSegments(e,n.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return void Rh(n,a);const o=a.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=wh.fs.createDirentFromStats(e.name,s),n(null,e)})):n(null,e)}}(e,t)));yh(o,((e,t)=>{null===e?Rh(n,t):Th(n,e)}))}))}function Sh(e,t,n){t.fs.readdir(e,((i,s)=>{if(null!==i)return void Th(n,i);const a=s.map((n=>{const i=Eh.joinPathSegments(e,n,t.pathSegmentSeparator);return e=>{bh.stat(i,t.fsStatSettings,((s,a)=>{if(null!==s)return void e(s);const o={name:n,path:i,dirent:wh.fs.createDirentFromStats(n,a)};t.stats&&(o.stats=a),e(null,o)}))}}));yh(a,((e,t)=>{null===e?Rh(n,t):Th(n,e)}))}))}function Th(e,t){e(t)}function Rh(e,t){e(null,t)}Wm.read=function(e,t,n){t.stats||!_h.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Sh(e,t,n):kh(e,t,n)},Wm.readdirWithFileTypes=kh,Wm.readdir=Sh;var Ah={};Object.defineProperty(Ah,"__esModule",{value:!0}),Ah.readdir=Ah.readdirWithFileTypes=Ah.read=void 0;const Ch=Km,Oh=ch,jh=hh,Ph=gh;function Lh(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((n=>{const i={dirent:n,name:n.name,path:Ph.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(i.path);i.dirent=jh.fs.createDirentFromStats(i.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return i}))}function Nh(e,t){return t.fs.readdirSync(e).map((n=>{const i=Ph.joinPathSegments(e,n,t.pathSegmentSeparator),s=Ch.statSync(i,t.fsStatSettings),a={name:n,path:i,dirent:jh.fs.createDirentFromStats(n,s)};return t.stats&&(a.stats=s),a}))}Ah.read=function(e,t){return!t.stats&&Oh.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Lh(e,t):Nh(e,t)},Ah.readdirWithFileTypes=Lh,Ah.readdir=Nh;var Ih={},Dh={};!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)}}(Dh),Object.defineProperty(Ih,"__esModule",{value:!0});const Fh=h,Mh=Km,$h=Dh;Ih.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=$h.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Fh.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new Mh.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(Gm,"__esModule",{value:!0}),Gm.Settings=Gm.scandirSync=Gm.scandir=void 0;const Uh=Wm,Bh=Ah,zh=Ih;function Hh(e={}){return e instanceof zh.default?e:new zh.default(e)}Gm.Settings=zh.default,Gm.scandir=function(e,t,n){"function"!=typeof t?Uh.read(e,Hh(t),n):Uh.read(e,Hh(),t)},Gm.scandirSync=function(e,t){const n=Hh(t);return Bh.read(e,n)};var qh={exports:{}};var Gh=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 Wh(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=Gh(Vh),s=null,a=null,o=0,r=null,c={push:function(l,u){var d=i.get();d.context=e,d.release=p,d.value=l,d.callback=u||Kh,d.errorHandler=r,o>=n||c.paused?a?(a.next=d,a=d):(s=d,a=d,c.saturated()):(o++,t.call(e,d.value,d.worked))},drain:Kh,saturated:Kh,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&&o<n;)o++,p()},running:function(){return o},resume:function(){if(!c.paused)return;if(c.paused=!1,null===s)return o++,void p();for(;s&&o<n;)o++,p()},idle:function(){return 0===o&&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||Kh,d.errorHandler=r,o>=n||c.paused?s?(d.next=s,s=d):(s=d,a=d,c.saturated()):(o++,t.call(e,d.value,d.worked))},empty:Kh,kill:function(){s=null,a=null,c.drain=Kh},killAndDrain:function(){s=null,a=null,c.drain(),c.drain=Kh},error:function(e){r=e}};return c;function p(r){r&&i.release(r);var p=s;p&&o<=n?c.paused?o--:(a===s&&(a=null),s=p.next,p.next=null,t.call(e,p.value,p.worked),null===a&&c.empty()):0==--o&&c.drain()}}function Kh(){}function Vh(){this.value=null,this.callback=Kh,this.next=null,this.release=Kh,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,n){var i=e.callback,s=e.errorHandler,a=e.value;e.value=null,e.callback=Kh,e.errorHandler&&s(t,a),i.call(e.context,t,n),e.release(e)}}qh.exports=Wh,qh.exports.promise=function(e,t,n){"function"==typeof e&&(n=t,t=e,e=null);var i=Wh(e,(function(e,n){t.call(this,e).then((function(e){n(null,e)}),n)}),n),s=i.push,a=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(Kh),t},i.unshift=function(e){var t=new Promise((function(t,n){a(e,(function(e,i){e?n(e):t(i)}))}));return t.catch(Kh),t},i.drained=function(){if(i.idle())return new Promise((function(e){e()}));var e=i.drain;return new Promise((function(t){i.drain=function(){e(),t()}}))},i};var Qh=qh.exports,Yh={};Object.defineProperty(Yh,"__esModule",{value:!0}),Yh.joinPathSegments=Yh.replacePathSegmentSeparator=Yh.isAppliedFilter=Yh.isFatalError=void 0,Yh.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},Yh.isAppliedFilter=function(e,t){return null===e||e(t)},Yh.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},Yh.joinPathSegments=function(e,t,n){return""===e?t:e.endsWith(n)?e+t:e+n+t};var Jh={};Object.defineProperty(Jh,"__esModule",{value:!0});const Zh=Yh;Jh.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=Zh.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}},Object.defineProperty(qm,"__esModule",{value:!0});const Xh=k,ef=Gm,tf=Qh,nf=Yh,sf=Jh;class af extends sf.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=ef.scandir,this._emitter=new Xh.EventEmitter,this._queue=tf(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&&nf.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=nf.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),nf.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&nf.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}qm.default=af,Object.defineProperty(Hm,"__esModule",{value:!0});const of=qm;Hm.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new of.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 rf={};Object.defineProperty(rf,"__esModule",{value:!0});const cf=l,pf=qm;rf.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new pf.default(this._root,this._settings),this._stream=new cf.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 lf={},uf={};Object.defineProperty(uf,"__esModule",{value:!0});const df=Gm,mf=Yh,hf=Jh;class ff extends hf.default{constructor(){super(...arguments),this._scandir=df.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(mf.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=mf.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),mf.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&mf.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}uf.default=ff,Object.defineProperty(lf,"__esModule",{value:!0});const xf=uf;lf.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new xf.default(this._root,this._settings)}read(){return this._reader.read()}};var vf={};Object.defineProperty(vf,"__esModule",{value:!0});const gf=h,bf=Gm;vf.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,gf.sep),this.fsScandirSettings=new bf.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(zm,"__esModule",{value:!0}),zm.Settings=zm.walkStream=zm.walkSync=zm.walk=void 0;const yf=Hm,_f=rf,wf=lf,Ef=vf;function kf(e={}){return e instanceof Ef.default?e:new Ef.default(e)}zm.Settings=Ef.default,zm.walk=function(e,t,n){"function"!=typeof t?new yf.default(e,kf(t)).read(n):new yf.default(e,kf()).read(t)},zm.walkSync=function(e,t){const n=kf(t);return new wf.default(e,n).read()},zm.walkStream=function(e,t){const n=kf(t);return new _f.default(e,n).read()};var Sf={};Object.defineProperty(Sf,"__esModule",{value:!0});const Tf=h,Rf=Km,Af=hu;Sf.default=class{constructor(e){this._settings=e,this._fsStatSettings=new Rf.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return Tf.resolve(this._settings.cwd,e)}_makeEntry(e,t){const n={name:t,path:t,dirent:Af.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!Af.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};var Cf={};Object.defineProperty(Cf,"__esModule",{value:!0});const Of=l,jf=Km,Pf=zm,Lf=Sf;class Nf extends Lf.default{constructor(){super(...arguments),this._walkStream=Pf.walkStream,this._stat=jf.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),i=new Of.PassThrough({objectMode:!0});i._write=(s,a,o)=>this._getEntry(n[s],e[s],t).then((e=>{null!==e&&t.entryFilter(e)&&i.push(e),s===n.length-1&&i.end(),o()})).catch(o);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)))}))}}Cf.default=Nf,Object.defineProperty(Bm,"__esModule",{value:!0});const If=zm,Df=Sf,Ff=Cf;class Mf extends Df.default{constructor(){super(...arguments),this._walkAsync=If.walk,this._readerStream=new Ff.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)))}))}}Bm.default=Mf;var $f={},Uf={},Bf={},zf={};Object.defineProperty(zf,"__esModule",{value:!0});const Hf=hu;zf.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 Hf.pattern.getPatternParts(e,this._micromatchOptions).map((e=>Hf.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:Hf.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return Hf.array.splitWhen(e,(e=>e.dynamic&&Hf.pattern.hasGlobStar(e.pattern)))}},Object.defineProperty(Bf,"__esModule",{value:!0});const qf=zf;class Gf extends qf.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}}Bf.default=Gf,Object.defineProperty(Uf,"__esModule",{value:!0});const Wf=hu,Kf=Bf;Uf.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 Kf.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(Wf.pattern.isAffectDepthOfReadingPattern);return Wf.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=Wf.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!Wf.pattern.matchAny(e,t)}};var Vf={};Object.defineProperty(Vf,"__esModule",{value:!0});const Qf=hu;Vf.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=Qf.pattern.convertPatternsToRe(e,this._micromatchOptions),i=Qf.pattern.convertPatternsToRe(t,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return e=>this._filter(e,n,i)}_filter(e,t,n){const i=Qf.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(),a=this._isMatchToPatterns(i,t,s)&&!this._isMatchToPatterns(i,n,s);return this._settings.unique&&a&&this._createIndexRecord(i),a}_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=Qf.path.makeAbsolute(this._settings.cwd,e);return Qf.pattern.matchAny(n,t)}_isMatchToPatterns(e,t,n){const i=Qf.pattern.matchAny(e,t);return!i&&n?Qf.pattern.matchAny(e+"/",t):i}};var Yf={};Object.defineProperty(Yf,"__esModule",{value:!0});const Jf=hu;Yf.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return Jf.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};var Zf={};Object.defineProperty(Zf,"__esModule",{value:!0});const Xf=hu;Zf.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=Xf.path.makeAbsolute(this._settings.cwd,t),t=Xf.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}},Object.defineProperty($f,"__esModule",{value:!0});const ex=h,tx=Uf,nx=Vf,ix=Yf,sx=Zf;$f.default=class{constructor(e){this._settings=e,this.errorFilter=new ix.default(this._settings),this.entryFilter=new nx.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new tx.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new sx.default(this._settings)}_getRootDirectory(e){return ex.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(Um,"__esModule",{value:!0});const ax=Bm,ox=$f;class rx extends ox.default{constructor(){super(...arguments),this._reader=new ax.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)}}Um.default=rx;var cx={};Object.defineProperty(cx,"__esModule",{value:!0});const px=l,lx=Cf,ux=$f;class dx extends ux.default{constructor(){super(...arguments),this._reader=new lx.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),i=this.api(t,e,n),s=new px.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)}}cx.default=dx;var mx={},hx={};Object.defineProperty(hx,"__esModule",{value:!0});const fx=Km,xx=zm,vx=Sf;class gx extends vx.default{constructor(){super(...arguments),this._walkSync=xx.walkSync,this._statSync=fx.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)}}hx.default=gx,Object.defineProperty(mx,"__esModule",{value:!0});const bx=hx,yx=$f;class _x extends yx.default{constructor(){super(...arguments),this._reader=new bx.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)}}mx.default=_x;var wx={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const t=c,n=x,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)}}}(wx);const Ex=mu,kx=Um,Sx=cx,Tx=mx,Rx=wx,Ax=hu;async function Cx(e,t){jx(e);const n=Ox(e,kx.default,t),i=await Promise.all(n);return Ax.array.flatten(i)}function Ox(e,t,n){const i=[].concat(e),s=new Rx.default(n),a=Ex.generate(i,s),o=new t(s);return a.map(o.read,o)}function jx(e){if(![].concat(e).every((e=>Ax.string.isString(e)&&!Ax.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){function t(e,t){jx(e);const n=Ox(e,Tx.default,t);return Ax.array.flatten(n)}function n(e,t){jx(e);const n=Ox(e,Sx.default,t);return Ax.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){jx(e);const n=[].concat(e),i=new Rx.default(t);return Ex.generate(n,i)},e.isDynamicPattern=function(e,t){jx(e);const n=new Rx.default(t);return Ax.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return jx(e),Ax.path.escape(e)},e.convertPathToPattern=function(e){return jx(e),Ax.path.convertPathToPattern(e)},(i=e.posix||(e.posix={})).escapePath=function(e){return jx(e),Ax.path.escapePosixPath(e)},i.convertPathToPattern=function(e){return jx(e),Ax.path.convertPosixPathToPattern(e)},(s=e.win32||(e.win32={})).escapePath=function(e){return jx(e),Ax.path.escapeWindowsPath(e)},s.convertPathToPattern=function(e){return jx(e),Ax.path.convertWindowsPathToPattern(e)}}(Cx||(Cx={}));var Px=tt(Cx),Lx={exports:{}},Nx={};const{promisify:Ix}=d,Dx=c;async function Fx(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await Ix(Dx[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function Mx(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return Dx[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}Nx.isFile=Fx.bind(null,"stat","isFile"),Nx.isDirectory=Fx.bind(null,"stat","isDirectory"),Nx.isSymlink=Fx.bind(null,"lstat","isSymbolicLink"),Nx.isFileSync=Mx.bind(null,"statSync","isFile"),Nx.isDirectorySync=Mx.bind(null,"statSync","isDirectory"),Nx.isSymlinkSync=Mx.bind(null,"lstatSync","isSymbolicLink");const $x=h,Ux=Nx,Bx=e=>e.length>1?`{${e.join(",")}}`:e[0],zx=(e,t)=>{const n="!"===e[0]?e.slice(1):e;return $x.isAbsolute(n)?n:$x.join(t,n)},Hx=(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=>$x.posix.join(e,((e,t)=>$x.extname(e)?`**/${e}`:`**/${e}.${Bx(t)}`)(n,t.extensions)))):t.files?t.files.map((t=>$x.posix.join(e,`**/${t}`))):t.extensions?[$x.posix.join(e,`**/*.${Bx(t.extensions)}`)]:[$x.posix.join(e,"**")]};Lx.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 Ux.isDirectory(zx(e,t.cwd))?Hx(e,t):e)));return[].concat.apply([],n)},Lx.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=>Ux.isDirectorySync(zx(e,t.cwd))?Hx(e,t):e));return[].concat.apply([],n)};var qx=tt(Lx.exports);function Gx(e){return Array.isArray(e)?e:[e]}const Wx=/^\s+$/,Kx=/(?:[^\\]|^)\\$/,Vx=/^\\!/,Qx=/^\\#/,Yx=/\r?\n/g,Jx=/^\.*\/|^\.+$/;let Zx="node-ignore";"undefined"!=typeof Symbol&&(Zx=Symbol.for("node-ignore"));const Xx=Zx,ev=/([0-z])-([0-z])/g,tv=()=>!1,nv=[[/^\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(ev,((e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:"")))(n)}${i}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],iv=Object.create(null),sv=e=>"string"==typeof e;class av{constructor(e,t,n,i){this.origin=e,this.pattern=t,this.negative=n,this.regex=i}}const ov=(e,t)=>{const n=e;let i=!1;0===e.indexOf("!")&&(i=!0,e=e.substr(1));const s=((e,t)=>{let n=iv[e];return n||(n=nv.reduce(((t,[n,i])=>t.replace(n,i.bind(e))),e),iv[e]=n),t?new RegExp(n,"i"):new RegExp(n)})(e=e.replace(Vx,"!").replace(Qx,"#"),t);return new av(n,e,i,s)},rv=(e,t)=>{throw new t(e)},cv=(e,t,n)=>{if(!sv(e))return n(`path must be a string, but got \`${t}\``,TypeError);if(!e)return n("path must not be empty",TypeError);if(cv.isNotRelative(e)){return n(`path should be a ${"`path.relative()`d"} string, but got "${t}"`,RangeError)}return!0},pv=e=>Jx.test(e);cv.isNotRelative=pv,cv.convert=e=>e;class lv{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){var i,s,a;i=this,s=Xx,a=!0,Object.defineProperty(i,s,{value:a}),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[Xx])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&sv(e)&&!Wx.test(e)&&!Kx.test(e)&&0!==e.indexOf("#"))(e)){const t=ov(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,Gx(sv(e)?(e=>e.split(Yx))(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:a}=s;if(i===a&&n!==i||a&&!n&&!i&&!t)return;s.regex.test(e)&&(n=!a,i=a)})),{ignored:n,unignored:i}}_test(e,t,n,i){const s=e&&cv.convert(e);return cv(s,e,this._allowRelativePaths?tv:rv),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 Gx(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const uv=e=>new lv(e);uv.isPathValid=e=>cv(e&&cv.convert(e),e,tv),uv.default=uv;var dv=uv;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,"/");cv.convert=e;const t=/^[a-z]:\//i;cv.isNotRelative=e=>t.test(e)||pv(e)}var mv=tt(dv);function hv(e){const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}const fv=e=>e instanceof URL?C(e):e;class xv extends O{constructor(e){super({objectMode:!0,transform(t,n,i){i(void 0,e(t)?t:void 0)}})}}const vv=e=>"!"===e[0],gv={ignore:["**/node_modules","**/flow-typed","**/coverage","**/.git"],absolute:!0,dot:!0},bv=(t,n)=>{const i=hv(e.relative(n,e.dirname(t.filePath)));return t.content.split(/\r?\n/).filter((e=>e&&!e.startsWith("#"))).map((t=>((t,n)=>vv(t)?"!"+e.posix.join(n,t.slice(1)):e.posix.join(n,t))(t,i)))},yv=(t,n)=>{const i=t.flatMap((e=>bv(e,n))),s=mv().add(i);return t=>(t=((t,n)=>{if(n=hv(n),e.isAbsolute(t)){if(hv(t).startsWith(n))return e.relative(n,t);throw new Error(`Path ${t} is not in cwd ${n}`)}return t})(t=fv(t),n),!!t&&s.ignores(hv(t)))},_v=(e,t)=>{const{cwd:i,suppressErrors:s,deep:a}=((e={})=>({cwd:fv(e.cwd)||A.cwd(),suppressErrors:Boolean(e.suppressErrors),deep:"number"==typeof e.deep?e.deep:Number.POSITIVE_INFINITY}))(t),o=Px.sync(e,{cwd:i,suppressErrors:s,deep:a,...gv}).map((e=>({filePath:e,content:n.readFileSync(e,"utf8")})));return yv(o,i)},wv=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),Ev=(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:fv(e.cwd)}),e),kv=e=>{const t=(e=>{const{ignoreFiles:t,gitignore:n}=e,i=t?wv(t):[];return n&&i.push("**/.gitignore"),i})(e);return Sv(t.length>0&&_v(t,e))},Sv=t=>{const n=new Set;return i=>{const s=i.path||i,a=e.normalize(s),o=n.has(a)||t&&t(s);return n.add(a),!o}},Tv=(e,t)=>{const n=((e,t)=>{const n=[];for(;e.length>0;){const i=e.findIndex((e=>vv(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 a=((e,t)=>({...t?{cwd:t}:{},...Array.isArray(e)?{files:e}:e}))(s,i),o=i?{cwd:i}:void 0;return n.map((e=>{let{patterns:t,options:n}=e;return t=qx.sync(t,a),n.ignore=qx.sync(n.ignore,o),{patterns:t,options:n}}))},Rv=(Av=(e,t)=>{const n=Tv(e,t),i=kv(t);return((e,t)=>du(e).pipe(new xv((e=>t(e)))))(n.map((e=>Px.stream(e.patterns,e.options))),i)},(e,t)=>Av(wv(e),Ev(t)));var Av;const Cv=[{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 Ov{static default=new Ov;entries=[];static{for(const e of Cv)Ov.default.registerLanguage(e.id,e)}registerLanguage(t,n){const i=(t=>{const{extensions:n,names:i,patterns:s,firstLine:a}=t,o=a?new RegExp(a):null,r=s?ru(s.map((e=>e.includes("/")?`**/${e}`:e))):null;return(t,s)=>!!(n&&n.includes(e.extname(t))||i&&i.includes(t)||r&&r(t)||o&&o.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 jv=10,Pv=10,Lv=5,Nv=2,Iv=20,Dv=30;function Fv(e){return e.split("/").reduce(((e,t)=>t.includes("**")?e+Nv:t.includes("*")?e+Lv:e+Pv),0)}class Mv{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,Fv(e));for(const e of this.selector.workspaceFile??[])this.globWeights.set(e,Fv(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)?jv:0}async matchActiveFilePath(e,t){if(!this.selector.activeFilePath?.length)return null;const n={cwd:e,matchBase:!0,returnIndex:!0},i=ru(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*Iv}async matchSelectedContent(e){if(!this.selector.selectedContent?.length)return null;return this.selector.selectedContent.filter((t=>e.selectedCode.includes(t))).length*Iv}async matchWorkspaceFile(e){if(!this.selector.workspaceFile?.length)return null;const t={cwd:e,gitignore:!0};for await(const e of Rv(this.selector.workspaceFile,t))return Dv;return 0}}function $v(e,t){return e.pluginName===t.pluginName&&e.capabilityName===t.capabilityName}const Uv=["Fallback","Prompt","Skill"];function Bv(e){return Uv.includes(e)}const zv=["Prompt","Skill"];function Hv(e){return zv.includes(e)}function qv(e){return["Prompt","Skill"].includes(e)}function Gv(){const e="win32"===x.platform();if(process.env.PLATFORM===cp.INTERNAL&&!e){const e="/home/opt/deck/1.0/git/2.32.0/bin:",t=`${x.homedir()}/.deck/2.0/devel/bin:`;process.env.PATH=`/opt/rh/rh-git227/root/usr/bin:${e}${t}${process.env.PATH}`}e&&(process.env.PATH=`${process.env.PATH};C:\\Program Files\\Git\\bin`)}const Wv="COMATE_PLUS_CHAT_QUERY",Kv="COMATE_PLUS_CHAT_CANCEL",Vv="COMATE_PLUS_CUSTOM_COMMAND",Qv="COMATE_PLUS_AGENT_COMMAND",Yv="COMATE_PLUS_WEBVIEW_INIT_DATA",Jv="COMATE_PLUS_DRAW_CHAT_UPDATE",Zv="COMATE_PLUS_DRAW_CHAT_APPEND",Xv="COMATE_PLUS_DRAW_CHAT_FINISH",eg="COMATE_PLUS_DRAW_CHAT_FAIL",tg="REQUEST_PERMISSION",ng="COMATE_PLUS_QUERY_SELECTOR",ig="USER_DETAIL",sg="COMATE_PLUS_INITIALIZED",ag="ENGINE_PROCESS_START_SUCCESS",og="USER_DETAIL_ERROR",rg="COMATE_PLUS_AGENT_NOTIFICATION",cg="COMATE_LSP_WORKSPACE_FOLDERS",pg="COMATE_LSP_REMOTE_CONSOLE",lg="COMATE_PLUS_SECTION_CHAT_UPDATE",ug="COMATE_PLUS_RECREATE_INDEX",dg="COMATE_PLUS_CODE_SEARCH",mg="COMATE_PLUS_ACCEPT_DIR",hg="ACTION_COMATE_SMART_APPLY",fg="kernel/chatSession/list",xg="kernel/chatSession/save",vg="kernel/chatSession/delete",gg="kernel/chatSession/find",bg="COMATE_GET_AGENT_TASKS",yg="COMATE_ADD_AGENT_TASK",_g="COMATE_SET_FOREGROUND_TASK",wg="COMATE_UPDATE_AGENT_TASK_MESSAGES",Eg="ACTION_MOCK_VIRTUAL_EDITOR_EVENT",kg="ACTION_COMPOSER",Sg="COMATE_AGENT_DEBUG_CUSTOM_ACTION",Tg="COMATE_ADD_CACHE",Rg="COMATE_GET_CACHE",Ag="kernel/promptTemplate/list",Cg="kernel/promptTemplate/create",Og="kernel/promptTemplate/update",jg="kernel/promptTemplate/delete",Pg="ENGINE_SERVICE_INITIALIZED",Lg="RULE_PANEL_ACTION_EVENT",Ng="UPDATE_RULE_PANEL_EVENT";function Ig(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Dg={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function Fg(e){Dg=e}const Mg=/[&<>"']/,$g=new RegExp(Mg.source,"g"),Ug=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Bg=new RegExp(Ug.source,"g"),zg={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Hg=e=>zg[e];function qg(e,t){if(t){if(Mg.test(e))return e.replace($g,Hg)}else if(Ug.test(e))return e.replace(Bg,Hg);return e}const Gg=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Wg(e){return e.replace(Gg,((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 Kg=/(^|[^\[])\^/g;function Vg(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(Kg,"$1"),n=n.replace(e,s),i},getRegex:()=>new RegExp(n,t)};return i}function Qg(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}const Yg={exec:()=>null};function Jg(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 Zg(e,t,n){const i=e.length;if(0===i)return"";let s=0;for(;s<i;){const a=e.charAt(i-s-1);if(a!==t||n){if(a===t||!n)break;s++}else s++}return e.slice(0,i-s)}function Xg(e,t,n,i){const s=t.href,a=t.title?qg(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){i.state.inLink=!0;const e={type:"link",raw:n,href:s,title:a,text:o,tokens:i.inlineTokens(o)};return i.state.inLink=!1,e}return{type:"image",raw:n,href:s,title:a,text:qg(o)}}class eb{options;rules;lexer;constructor(e){this.options=e||Dg}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:Zg(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=Zg(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=Zg(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 a=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let o="",r="",c=!1;for(;e;){let n=!1;if(!(t=a.exec(e)))break;if(this.rules.block.hr.test(e))break;o=t[0],e=e.substring(o.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)&&(o+=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)}}(?:\`\`\`|~~~)`),a=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(a.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(a.test(i))break;if(n.test(i))break;r+="\n"+p}u||p.trim()||(u=!0),o+=c+"\n",e=e.substring(c.length+1),i=p.slice(l)}}s.loose||(c?s.loose=!0:/\n *\n *$/.test(o)&&(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:o,task:!!m,checked:d,loose:!1,text:r,tokens:[]}),s.raw+=o}s.items[s.items.length-1].raw=o.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=Jg(t[1]),i=t[2].replace(/^\||\| *$/g,"").split("|"),s=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],a={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const e of i)/^ *-+: *$/.test(e)?a.align.push("right"):/^ *:-+: *$/.test(e)?a.align.push("center"):/^ *:-+ *$/.test(e)?a.align.push("left"):a.align.push(null);for(const e of n)a.header.push({text:e,tokens:this.lexer.inline(e)});for(const e of s)a.rows.push(Jg(e,a.header.length).map((e=>({text:e,tokens:this.lexer.inline(e)}))));return a}}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:qg(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=Zg(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)),Xg(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 Xg(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,a,o=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(a=[...s].length,i[3]||i[4]){o+=a;continue}if((i[5]||i[6])&&n%3&&!((n+a)%3)){r+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o+r);const t=[...i[0]][0].length,c=e.slice(0,n+i.index+t+a);if(Math.min(n,a)%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=qg(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=qg(t[1]),n="mailto:"+e):(e=qg(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=qg(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=qg(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]:qg(t[0]),{type:"text",raw:t[0],text:e}}}}const tb=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,nb=/(?:[*+-]|\d{1,9}[.)])/,ib=Vg(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,nb).getRegex(),sb=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,ab=/(?!\s*\])(?:\\.|[^\[\]\\])+/,ob=Vg(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",ab).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),rb=Vg(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,nb).getRegex(),cb="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",pb=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,lb=Vg("^ {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",pb).replace("tag",cb).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ub=Vg(sb).replace("hr",tb).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",cb).getRegex(),db={blockquote:Vg(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ub).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:ob,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:tb,html:lb,lheading:ib,list:rb,newline:/^(?: *(?:\n|$))+/,paragraph:ub,table:Yg,text:/^[^\n]+/},mb=Vg("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",tb).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",cb).getRegex(),hb={...db,table:mb,paragraph:Vg(sb).replace("hr",tb).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",mb).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",cb).getRegex()},fb={...db,html:Vg("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",pb).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:Yg,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Vg(sb).replace("hr",tb).replace("heading"," *#{1,6} *[^\n]").replace("lheading",ib).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},xb=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,vb=/^( {2,}|\\)\n(?!\s*$)/,gb="\\p{P}$+<=>`^|~",bb=Vg(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,gb).getRegex(),yb=Vg(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,gb).getRegex(),_b=Vg("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,gb).getRegex(),wb=Vg("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,gb).getRegex(),Eb=Vg(/\\([punct])/,"gu").replace(/punct/g,gb).getRegex(),kb=Vg(/^<(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(),Sb=Vg(pb).replace("(?:--\x3e|$)","--\x3e").getRegex(),Tb=Vg("^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",Sb).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Rb=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ab=Vg(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Rb).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Cb=Vg(/^!?\[(label)\]\[(ref)\]/).replace("label",Rb).replace("ref",ab).getRegex(),Ob=Vg(/^!?\[(ref)\](?:\[\])?/).replace("ref",ab).getRegex(),jb={_backpedal:Yg,anyPunctuation:Eb,autolink:kb,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:vb,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Yg,emStrongLDelim:yb,emStrongRDelimAst:_b,emStrongRDelimUnd:wb,escape:xb,link:Ab,nolink:Ob,punctuation:bb,reflink:Cb,reflinkSearch:Vg("reflink|nolink(?!\\()","g").replace("reflink",Cb).replace("nolink",Ob).getRegex(),tag:Tb,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Yg},Pb={...jb,link:Vg(/^!?\[(label)\]\((.*?)\)/).replace("label",Rb).getRegex(),reflink:Vg(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Rb).getRegex()},Lb={...jb,escape:Vg(xb).replace("])","~|])").getRegex(),url:Vg(/^((?: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.!#$%&'*+\/=?_`{\|}~-]+@)))/},Nb={...Lb,br:Vg(vb).replace("{2,}","*").getRegex(),text:Vg(Lb.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Ib={normal:db,gfm:hb,pedantic:fb},Db={normal:jb,gfm:Lb,breaks:Nb,pedantic:Pb};class Fb{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Dg,this.options.tokenizer=this.options.tokenizer||new eb,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:Ib.normal,inline:Db.normal};this.options.pedantic?(t.block=Ib.pedantic,t.inline=Db.pedantic):this.options.gfm&&(t.block=Ib.gfm,this.options.breaks?t.inline=Db.breaks:t.inline=Db.gfm),this.tokenizer.rules=t}static get rules(){return{block:Ib,inline:Db}}static lex(e,t){return new Fb(t).lex(e)}static lexInline(e,t){return new Fb(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,a;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],a&&"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),a=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,a,o,r,c=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(c));)e.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(c));)c=c.slice(0,a.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(o||(r=""),o=!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)),o=!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 Mb{options;constructor(e){this.options=e||Dg}code(e,t,n){const i=(t||"").match(/^\S*/)?.[0];return e=e.replace(/\n$/,"")+"\n",i?'<pre><code class="language-'+qg(i)+'">'+(n?e:qg(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:qg(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=Qg(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=Qg(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 $b{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 Ub{options;renderer;textRenderer;constructor(e){this.options=e||Dg,this.options.renderer=this.options.renderer||new Mb,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new $b}static parse(e,t){return new Ub(t).parse(e)}static parseInline(e,t){return new Ub(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,Wg(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 a="";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]});a+=this.renderer.tablerow(i)}n+=this.renderer.table(t,a);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,a=e.loose;let o="";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);a?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,a),o+=this.renderer.listitem(r,s,!!i)}n+=this.renderer.list(o,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 a=s,o=a.tokens?this.parseInline(a.tokens):a.text;for(;i+1<e.length&&"text"===e[i+1].type;)a=e[++i],o+="\n"+(a.tokens?this.parseInline(a.tokens):a.text);n+=t?this.renderer.paragraph(o):o;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 Bb{options;constructor(e){this.options=e||Dg}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}const zb=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(Fb.lex,Ub.parse);parseInline=this.#e(Fb.lexInline,Ub.parseInline);Parser=Ub;Renderer=Mb;TextRenderer=$b;Lexer=Fb;Tokenizer=eb;Hooks=Bb;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 Mb(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],a=t[i];t[i]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=a.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new eb(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],a=t[i];t[i]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new Bb;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],a=t[i];Bb.passThroughHooks.has(n)?t[i]=e=>{if(this.defaults.async)return Promise.resolve(s.call(t,e)).then((e=>a.call(t,e)));const n=s.call(t,e);return a.call(t,n)}:t[i]=(...e)=>{let n=s.apply(t,e);return!1===n&&(n=a.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 Fb.lex(e,t??this.defaults)}parser(e,t){return Ub.parse(e,t??this.defaults)}#e(e,t){return(n,i)=>{const s={...i},a={...this.defaults,...s};!0===this.defaults.async&&!1===s.async&&(a.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),a.async=!0);const o=this.#t(!!a.silent,!!a.async);if(null==n)return o(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(a.hooks&&(a.hooks.options=a),a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(n):n).then((t=>e(t,a))).then((e=>a.hooks?a.hooks.processAllTokens(e):e)).then((e=>a.walkTokens?Promise.all(this.walkTokens(e,a.walkTokens)).then((()=>e)):e)).then((e=>t(e,a))).then((e=>a.hooks?a.hooks.postprocess(e):e)).catch(o);try{a.hooks&&(n=a.hooks.preprocess(n));let i=e(n,a);a.hooks&&(i=a.hooks.processAllTokens(i)),a.walkTokens&&this.walkTokens(i,a.walkTokens);let s=t(i,a);return a.hooks&&(s=a.hooks.postprocess(s)),s}catch(e){return o(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>"+qg(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function Hb(e,t){return zb.parse(e,t)}Hb.options=Hb.setOptions=function(e){return zb.setOptions(e),Hb.defaults=zb.defaults,Fg(Hb.defaults),Hb},Hb.getDefaults=Ig,Hb.defaults=Dg,Hb.use=function(...e){return zb.use(...e),Hb.defaults=zb.defaults,Fg(Hb.defaults),Hb},Hb.walkTokens=function(e,t){return zb.walkTokens(e,t)},Hb.parseInline=zb.parseInline,Hb.Parser=Ub,Hb.parser=Ub.parse,Hb.Renderer=Mb,Hb.TextRenderer=$b,Hb.Lexer=Fb,Hb.lexer=Fb.lex,Hb.Tokenizer=eb,Hb.Hooks=Bb,Hb.parse=Hb,Hb.options,Hb.setOptions,Hb.use,Hb.walkTokens,Hb.parseInline,Ub.parse,Fb.lex;const qb=(e,t)=>{const n=e.tokens||[],i=e.raw.endsWith("\n");let s=!1;const a=n.reduce(((e,n)=>{if("text"===n.type)if(n.tokens?.length){const e=qb(n,t);s=s||e.replaced}else try{n.raw=((e,t)=>{const n=t.map((e=>f(e))),i=n.filter((e=>!t.includes(e)&&1===n.filter((t=>t===e)).length)),s=[...t,...i].sort(((e,t)=>t.length-e.length));let a=e,o=!1;for(const[e,t]of Object.entries(s))o=o||a.includes(t),a=a.replaceAll(t,`@@PLACEHOLDER_${e}@@`);if(!o)throw new Error("Input did not match any path");return a.replaceAll(/([ ]?)@@PLACEHOLDER_([0-9]+)@@([ \n]?)/g,((...e)=>{const t=Number(e[2]),n=e[3],i=s[t];return"\n"===n?` [${i}](${i})\n`:` [${i}](${i}) `})).replace(/ $/,"")})(n.raw,t),s=!0}catch(e){}else if("codespan"===n.type){const e=/^\[([^\]]+)\]\(([^)]+)\)$/.exec(n.text);if(e&&e[1]&&e[2])s=!0,n.raw=`[\`${e[1]}\`](${e[2]})`;else if(/^http(s?):\/\//.test(n.text))s=!0,n.raw=`[\`${n.text}\`](${n.text})`;else if(n.raw.includes(".")){const e=t.find((e=>e===n.text));e&&(s=!0,n.raw=`[\`${n.text}\`](${e})`)}}return e+n.raw}),"");return s?(e.raw=a,i&&(e.raw+="\n"),{replaced:s,token:e}):{replaced:s,token:e}},Gb=(e,t,n=0)=>{const i=e.items||[],s=e.raw.endsWith("\n");let a=!1;const o=i.map((e=>{const i=/^(((\d+\.)|-|[a-z]\.|\*)[ ]?)(.*)/.exec(e.raw),s=e.tokens.map((i=>{if("text"===i.type){const n=qb(e,t);a=a||n.replaced}else if("list"===i.type){const e=Gb(i,t,n+1);a=a||e.replaced}else if("codespan"===i.type){const n=qb(e,t);a=a||n.replaced}return i.raw})).join("");if(i){const o=i[1],r=qb(e,t);return a=a||r.replaced," ".repeat(n)+o+s}return s})).join("\n");return a?(e.raw=o,s&&(e.raw+="\n"),{replaced:a,token:e}):{replaced:a,token:e}},Wb=async(e,t)=>{if(!t.length)return e;const n=Hb.lexer(e);await Hb.walkTokens(n,(e=>{"paragraph"===e.type?qb(e,t):"list"===e.type&&Gb(e,t)}));const i=n.map((e=>e.raw)).join("");return i};async function Kb(e){const t=await Lp.get("/api/key/type/"+e);return t.data?.data}const Vb=e=>e.replace(/^\\t/g,"\t").replace(/\\"/g,'"').replace(/\\"/g,'"').replace(/\\\\n/g,"\\n"),Qb=e=>e.split(/\r?\n/),Yb=(e,t)=>{const n=e.indexOf((e=>{const t=/^[ ]+/.exec(e);return(t?.[0].length||0)%2==1?e.replace(/^\s/,""):e})(t));return-1===n?e.indexOf(t):n},Jb=e=>e?e.startsWith("-"):void 0,Zb=e=>e?e.startsWith("+"):void 0,Xb=e=>e.replace(/^-/,"").replace(/^\+/,""),ey=e=>e.map((e=>e.trimStart()));function ty(e,t,n){const i=Qb(e),s=(a=t.replace(/\n$/,""))?Qb(a).reduce(((e,t)=>t.startsWith("@@")&&/@@(.*)@@\s(.*)$/.exec(t)?(e.push("@@ ... @@"),e):(e.push(t),e)),[]):[];var a;let o=0;if((e=>!e.some((e=>{return Jb(e)||Zb(e)||((t=e)?t.startsWith("@@"):void 0);var t})))(s)&&s.length!==i.length)return t;for(const[e,t]of s.entries())if(!(t.startsWith("---")||t.startsWith("+++")||t.startsWith("@@")))if(Jb(t)){if(Jb(s[e+1]))continue;const a=[Vb(Xb(t))];let r=e;for(;Jb(s[r-1]);){const e=Vb(Xb(s[r-1]));a.unshift(e),r-=1}let c=-1,p=0;for(;-1===c&&p<a.length;){const e=a[0],t=i.slice(o,i.length);c=Yb(ey(t),e.trimStart()),p+=1}if(-1!==c&&(o=o+c-(p-1),i.splice(o,a.length)),n.throwErrorWhenLineCanNotMathced)throw new Error("line not found")}else if(Zb(t)){if(Zb(s[e+1]))continue;const n=[Vb(Xb(t))];let a=e;for(;Zb(s[a-1]);){const e=Vb(Xb(s[a-1]));n.unshift(e),a-=1}i.splice(o,0,...n),o+=n.length}else{const e=Vb(t),s=i.slice(o,i.length),a=Yb(ey(s),e.trimStart());if(-1!==a&&(o=o+a+1),n.throwErrorWhenLineCanNotMathced)throw new Error("line not found")}return n?.returnContentWhenDiffLineLoopFinish?i.slice(0,o).join(v):i.join(n.eol)}const ny=(e,t)=>t.reduce(((t,n,i)=>(e.trimStart()===n.trimStart()&&t.push(i),t)),[]),iy=(e,t)=>{const n=t.indexOf(e);if(-1!==n)return Math.max(0,t.slice(0,n).split(/\r?\n/).length-1);const i=t.split(/\r?\n/),s=e.split(/\r?\n/);for(const[e,t]of s.entries()){const n=ny(t,i);if(!(n.length>1))return 1===n.length?n[0]-e:-1;if(e===s.length-1)return n[0]-e}return-1},sy=e=>"string"==typeof e&&(e.startsWith("-")||e.startsWith(" ")||""===e),ay=(e,t)=>{const n=[],i=e.split(/\r?\n/);let s=null;for(let e=0;e<i.length;e++){const a=i[e];if(a.startsWith("@@")){if(s){const{oldStart:e,oldCount:t,newStart:i,newCount:a}=s,o=`@@ -${e},${t} +${i},${a} @@`;n.push(o,...s.lines)}s={oldStart:0,newStart:0,oldCount:0,newCount:0,lines:[]}}else if(s){if(a.startsWith("---")||a.startsWith("+++"))continue;if(a.startsWith("+"))s.lines.push(a);else if(sy(a)&&s){let n=1,o=a.replace(/^(-|\s)/,"");for(s.lines.push(a);"string"==typeof i[e+n]&&!i[e+n].startsWith("@@");)sy(i[e+n])&&(o+=`\n${i[e+n].replace(/^(-|\s)/,"")}`),s.lines.push(i[e+n]),n+=1;const r=iy(o,t);-1===r?s=null:(s.oldStart=r+1,s.oldCount=o.split(/\r?\n/).length,e=e+n-1)}}}if(s){const{oldStart:e,oldCount:t,newStart:i,newCount:a}=s,o=`@@ -${e},${t} +${i},${a} @@`;n.push(o,...s.lines)}return n.join("\n")};var oy={};!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,a=0;a<e.length-(n-1);a++){var o=e.substr(a,n);s.set(o,s.has(o)?s.get(o)+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}(oy);var ry=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},cy=ry,py=Object.create,ly=function(){function e(){}return function(t){if(!cy(t))return{};if(py)return py(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var uy=function(){},dy=ly,my=uy;function hy(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}hy.prototype=dy(my.prototype),hy.prototype.constructor=hy;var fy=hy;var xy=function(e,t){for(var n=-1,i=t.length,s=e.length;++n<i;)e[s+n]=t[n];return e},vy="object"==typeof et&&et&&et.Object===Object&&et,gy="object"==typeof self&&self&&self.Object===Object&&self,by=vy||gy||Function("return this")(),yy=by.Symbol,_y=yy,wy=Object.prototype,Ey=wy.hasOwnProperty,ky=wy.toString,Sy=_y?_y.toStringTag:void 0;var Ty=function(e){var t=Ey.call(e,Sy),n=e[Sy];try{e[Sy]=void 0;var i=!0}catch(e){}var s=ky.call(e);return i&&(t?e[Sy]=n:delete e[Sy]),s},Ry=Object.prototype.toString;var Ay=Ty,Cy=function(e){return Ry.call(e)},Oy=yy?yy.toStringTag:void 0;var jy=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Oy&&Oy in Object(e)?Ay(e):Cy(e)};var Py=function(e){return null!=e&&"object"==typeof e},Ly=jy,Ny=Py;var Iy=function(e){return Ny(e)&&"[object Arguments]"==Ly(e)},Dy=Py,Fy=Object.prototype,My=Fy.hasOwnProperty,$y=Fy.propertyIsEnumerable,Uy=Iy(function(){return arguments}())?Iy:function(e){return Dy(e)&&My.call(e,"callee")&&!$y.call(e,"callee")},By=Array.isArray,zy=Uy,Hy=By,qy=yy?yy.isConcatSpreadable:void 0;var Gy=xy,Wy=function(e){return Hy(e)||zy(e)||!!(qy&&e&&e[qy])};var Ky=function e(t,n,i,s,a){var o=-1,r=t.length;for(i||(i=Wy),a||(a=[]);++o<r;){var c=t[o];n>0&&i(c)?n>1?e(c,n-1,i,s,a):Gy(a,c):s||(a[a.length]=c)}return a},Vy=Ky;var Qy=function(e){return(null==e?0:e.length)?Vy(e,1):[]};var Yy=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)},Jy=Math.max;var Zy=function(e,t,n){return t=Jy(void 0===t?e.length-1:t,0),function(){for(var i=arguments,s=-1,a=Jy(i.length-t,0),o=Array(a);++s<a;)o[s]=i[t+s];s=-1;for(var r=Array(t+1);++s<t;)r[s]=i[s];return r[t]=n(o),Yy(e,this,r)}};var Xy=function(e){return function(){return e}},e_=jy,t_=ry;var n_,i_=function(e){if(!t_(e))return!1;var t=e_(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},s_=by["__core-js_shared__"],a_=(n_=/[^.]+$/.exec(s_&&s_.keys&&s_.keys.IE_PROTO||""))?"Symbol(src)_1."+n_:"";var o_=function(e){return!!a_&&a_ in e},r_=Function.prototype.toString;var c_=i_,p_=o_,l_=ry,u_=function(e){if(null!=e){try{return r_.call(e)}catch(e){}try{return e+""}catch(e){}}return""},d_=/^\[object .+?Constructor\]$/,m_=Function.prototype,h_=Object.prototype,f_=m_.toString,x_=h_.hasOwnProperty,v_=RegExp("^"+f_.call(x_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var g_=function(e){return!(!l_(e)||p_(e))&&(c_(e)?v_:d_).test(u_(e))},b_=function(e,t){return null==e?void 0:e[t]};var y_=function(e,t){var n=b_(e,t);return g_(n)?n:void 0},__=y_,w_=function(){try{var e=__(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var E_=Xy,k_=w_,S_=k_?function(e,t){return k_(e,"toString",{configurable:!0,enumerable:!1,value:E_(t),writable:!0})}:function(e){return e},T_=S_,R_=Date.now;var A_=function(e){var t=0,n=0;return function(){var i=R_(),s=16-(i-n);if(n=i,s>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(T_),C_=Qy,O_=Zy,j_=A_;var P_=function(e){return j_(O_(e,void 0,C_),e+"")},L_=y_(by,"WeakMap");var N_=L_&&new L_,I_=N_?function(e){return N_.get(e)}:function(){},D_={},F_=Object.prototype.hasOwnProperty;var M_=function(e){for(var t=e.name+"",n=D_[t],i=F_.call(D_,t)?n.length:0;i--;){var s=n[i],a=s.func;if(null==a||a==e)return s.name}return t},$_=ly,U_=uy;function B_(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}B_.prototype=$_(U_.prototype),B_.prototype.constructor=B_;var z_=B_;var H_=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t},q_=z_,G_=fy,W_=H_;var K_=z_,V_=fy,Q_=uy,Y_=By,J_=Py,Z_=function(e){if(e instanceof q_)return e.clone();var t=new G_(e.__wrapped__,e.__chain__);return t.__actions__=W_(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t},X_=Object.prototype.hasOwnProperty;function ew(e){if(J_(e)&&!Y_(e)&&!(e instanceof K_)){if(e instanceof V_)return e;if(X_.call(e,"__wrapped__"))return Z_(e)}return new V_(e)}ew.prototype=Q_.prototype,ew.prototype.constructor=ew;var tw=z_,nw=I_,iw=M_,sw=ew;var aw=function(e){var t=iw(e),n=sw[t];if("function"!=typeof n||!(t in tw.prototype))return!1;if(e===n)return!0;var i=nw(n);return!!i&&e===i[0]},ow=fy,rw=P_,cw=I_,pw=M_,lw=By,uw=aw;var dw=function(e){return rw((function(t){var n=t.length,i=n,s=ow.prototype.thru;for(e&&t.reverse();i--;){var a=t[i];if("function"!=typeof a)throw new TypeError("Expected a function");if(s&&!o&&"wrapper"==pw(a))var o=new ow([],!0)}for(i=o?i:n;++i<n;){a=t[i];var r=pw(a),c="wrapper"==r?cw(a):void 0;o=c&&uw(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?o[pw(c[0])].apply(o,c[3]):1==a.length&&uw(a)?o[r]():o.thru(a)}return function(){var e=arguments,i=e[0];if(o&&1==e.length&&lw(i))return o.plant(i).value();for(var s=0,a=n?t[s].apply(this,e):i;++s<n;)a=t[s].call(this,a);return a}}))},mw=tt(dw());const hw=e=>"string"==typeof e?e:"";const fw=e=>e.replace(/\r\n?/g,"\n").split("\n"),xw=e=>e.trim();function vw(e,t,{maxLineGap:n=4,threshold:i=.92}={}){const s=fw(e),a=fw(t),o=a.length,r=((e,t,n)=>{for(let i=0;i<t.length;i++){const s=xw(t[i]);if(!s)continue;const a=e.get(s);if(a)return a.map((e=>Math.max(0,e-n-i)))}return[0]})((e=>{const t=new Map;return e.forEach(((e,n)=>{const i=xw(e);i&&(t.has(i)||t.set(i,[]),t.get(i).push(n))})),t})(s),a,n);let c=null;for(const e of r){const i=Math.min(s.length,e+o+n);for(let a=e;a<=i-o;a++){const e=Math.min(i-a,o+n);for(let n=o;n<=e;n++){const e=s.slice(a,a+n).join("\n"),i=oy.stringSimilarity(t,e);if((!c||i>c.score)&&(c={start:a+1,end:a+n,score:i,block:e},i>=.999))return c}}}return c&&c.score>=i?c:null}class gw extends Error{message='Delimiter error for patch format!Delimiters should be one of the following:"\n<<< SEARCH <<<\n", "\n==== REPLACED_BY ====\n", "\n>>> END >>>\n"'}const bw=e=>{const t=e.indexOf("\r\n"),n=e.indexOf("\n"),i=e.indexOf("\r");return-1!==t?"\r\n":-1!==n?"\n":-1!==i?"\r":"\n"};class yw extends Error{patchIndex;patches;content;constructor(e,t,n){super(),this.patchIndex=e,this.patches=t,this.content=n}get result(){const e=this.patches[this.patchIndex].search.join("\n");if(e.length>20)return{similiarBlock:"",failedPatchIndex:this.patchIndex,patches:this.patches};const t=vw(this.content,e,{threshold:0,maxLineGap:0}),n=bw(this.content),i=t?this.content.split(/\r?\n/).slice(Math.max(0,t.start-2),t.end+2).join(n):"";return{failedPatchIndex:this.patchIndex,patches:this.patches,similiarBlock:i}}}const _w=e=>e.replace(/^(\r?\n)+/,"");function ww(e,t,n,i){return t.toString()?[...e,...t,...n].join(i):[...e,...n].join(i)}const Ew=(e,t,n)=>{try{const i=function(e){const t=[],n={context:"none",current:null};for(const i of e.split("\n"))if(/^[<=]+\s*SEARCH\s*[<=#]+$/.test(i)){if("replace"===n.context||"search"===n.context)throw new gw;n.current&&"none"===n.context&&t.push(n.current),n.context="search",n.current={search:[],replace:[]}}else if(/^[<=>]+\s*REPLACED?_BY\s*[<=>]+$/.test(i)){if("search"!==n.context)throw new gw;n.context="replace"}else if(/^[>=]+\s*END\s*[>=]+$/.test(i)){if("replace"!==n.context)throw new gw;n.context="none"}else"search"===n.context&&n.current?n.current.search.push(i):"replace"===n.context&&n.current&&n.current.replace.push(i);return n.current&&t.push(n.current),t}(t),s=bw(e);if(!i.length&&!n?.stream)return{error:new gw,patchedContent:e,patches:[]};const{streamLineCount:a,patchedContent:o,error:r}=mw(i.map(((t,a)=>o=>{if(o.error)return o;const r=_w(t.search.join(s)),c=r.split(/\r?\n/),p=t.replace,l=o.patchedContent;if(n?.stream){const e=l.indexOf(r);return{streamLineCount:l.slice(0,e).split(/\r?\n/).length-1+t.replace.length,patchedContent:l.replace(r,_w(p.join(s)))}}{const t=l.split(/\r?\n/),n=((e,t)=>{let n=Array.from(new Array(t.length)).map(((e,t)=>t)),i=0;for(;n.length;){if(n=n.filter((n=>t[n]===e[i])).map((e=>e+1)),1===n.length&&i===e.length-1)return n[0]-i-1;if(0===n.length)return-1;i+=1}return-1})(c,t);if(-1!==n){const e=n,i=e+c.length;return p.toString()?{patchedContent:ww(t.slice(0,e),p,t.slice(i),s)}:{patchedContent:ww(t.slice(0,e),[],t.slice(i),s)}}const u=function(e,t){const n=e.split(/\r?\n/),i=t.split(/\r?\n/);if(i.length<=2)return null;let s=n.map(((e,t)=>t)),a=0;for(const e of i){const t=s.filter((t=>hw(n[t])===hw(e)));if(0===t.length){if(0===a)return null;break}s=t.map((e=>e+1)),a++}const o=Math.max(...s)-a;s=n.slice(o).map(((e,t)=>o+t));let r=0;for(const e of[...i].reverse()){const t=s.filter((t=>hw(n[t])===hw(e)));if(0===t.length){if(0===r)return null;break}s=t.map((e=>e-1)),r++}const c=Math.min(...s)+r+1;return{start:o,end:c,block:n.slice(o,c).join("\n")}}(l,r);if(u){if(oy.stringSimilarity(r,u.block)>.67)return{patchedContent:ww(t.slice(0,u.start-1),p,t.slice(u.end),s)}}if(t.length<=1e3&&c.length<=20){const e=vw(l,r,{maxLineGap:4,threshold:.86});if(e)return{patchedContent:ww(t.slice(0,e.start-1),p,t.slice(e.end),s)}}return{error:new yw(a,i,e),patchedContent:o.patchedContent}}})))({patchedContent:e,streamLineCount:0});return{error:r,patchedContent:n?.stream?o.split(/\r?\n/).slice(0,a).join(s):o,patches:i}}catch(t){return{error:t,patchedContent:e,patches:[]}}},kw=".comate",Sw="rules",Tw="default.mdr";function Rw(e){const t=[...e.matchAll(/[@#]([\w/.\-\u4e00-\u9fa5]+)/g)].filter((t=>{const n=t.index??0,i=e[n-1]??"",s=e[n+t[0].length]??"";return""===i.trim()&&""===s.trim()})),n=t.map((e=>e[1].trim()));return{files:[...new Set(n)],matches:t}}var Aw;!function(e){e.EDIT="edit",e.PREVIEW="preview"}(Aw||(Aw={}));class Cw{config;static event="VIRTUAL_EDITOR_EVENT";promiseMap=new Map;customResolverMap=new Map;constructor(e){this.config=e}resolve({uuid:e,...t}){const n=this.promiseMap.get(e);if(n)return n(t),void this.promiseMap.delete(e);const i=this.customResolverMap.get(e);if(i){i(t)&&this.customResolverMap.delete(e)}}async openDocument(e){this.sendToIDE("openDocument",e)}async closeDocument(e){this.sendToIDE("closeDocument",e)}async deleteDocument(e){this.sendToIDE("deleteDocument",e)}async refreshProjectTree(){this.sendToIDE("refreshProjectTree",{})}async getActiveDocument(){const e=this.sendToIDE("getActiveDocument",{}),t=await this.withReceivePromise(e,{existed:!1,content:"",absolutePath:"",scheme:"file",selections:[]});return t.existed&&t.absolutePath?t:{existed:!1,content:"",absolutePath:"",selections:[]}}async getDocument(e){const t=this.sendToIDE("getDocument",e),n=await this.withReceivePromise(t,{existed:!1,absolutePath:e.absolutePath,content:""});return!n.existed&&o(e.absolutePath)?{existed:!0,absolutePath:e.absolutePath,content:r(e.absolutePath,"utf-8")}:n}async openVirtualDiffDocument(e){this.sendToIDE("openVirtualDiffDocument",{...e,inlineView:e.acceptable})}async closeVirtualDiffDocument(e){this.sendToIDE("closeVirtualDiffDocument",e)}async replaceVirtualDiffModifiedDocument(e){this.sendToIDE("replaceVirtualDiffModifiedDocument",e,{skipWriteLog:!0})}async getVirtualDiffDocument(e){const t=this.sendToIDE("getVirtualDiffDocument",e);return this.withReceivePromise(t,{existed:!1,content:"",absolutePath:e.absolutePath})}async saveDocumentWithReplaceContent(e){const t=this.sendToIDE("saveDocumentWithReplaceContent",e);return this.withReceivePromise(t,{})}async saveDocumentWithReplaceContentAndOpen(e){const t=this.sendToIDE("saveDocumentWithReplaceContentAndOpen",e);return this.withReceivePromise(t,{})}async executeTerminalShell(e,t){const n=this.sendToIDE("executeTerminalShell",e),i={completed:!1,output:""};return"function"==typeof t?this.withReceiveEndPromise(n,i,t,e.duration):this.withReceivePromise(n,i,e.duration)}async executeDebugCommand(e){const t=this.sendToIDE("executeDebugCommand",e);return this.withReceivePromise(t,{status:"timeout"},e.duration)}async getLatestOutputFromActiveTerminal(){const e=this.sendToIDE("getLatestOutputFromActiveTerminal",{});return this.withReceivePromise(e,{output:""},2e3)}async openUrlInEditorWebview(e){this.sendToIDE("openUrlInEditorWebview",e)}async endConversationEditSession(e){this.sendToIDE("endConversationEditSession",e)}async startConversationEditSession(e){this.sendToIDE("startConversationEditSession",e)}async getDocumentDiagnostics(e){const t=this.sendToIDE("getDocumentDiagnostics",e);return this.withReceivePromise(t,{},3e3)}sendToIDE(e,t,n){const i=Object.entries(t).filter((([e])=>!["content","modified"].includes(e)));this.config.logger.verbose(`VirtualEditor.${e}, args: ${i.map((([e,t])=>`${e}=${t}`)).join(",")}`);const s=j.randomUUID();return this.config.send(Cw.event,{action:e,payload:{...t,uuid:s}},n).catch((()=>{})),s}withReceivePromise(e,t,n=3e3){return new Promise((i=>{const s=setTimeout((()=>{i(t)}),n);this.promiseMap.set(e,(e=>{clearTimeout(s),i(e)}))}))}withReceiveEndPromise(e,t,n,i=3e3){return new Promise((s=>{const a=setTimeout((()=>{s(t),this.customResolverMap.delete(e)}),i);this.customResolverMap.set(e,(e=>!1===e.isEnd?(n(e),!1):(clearTimeout(a),s(e),!0)))}))}}const Ow={cpp:["cpp","c++","cc","cp","cxx","h","h++","hh","hpp","hxx","inc","inl","ino","ipp","ixx","re","tcc","tpp","c","cats","idc"],python:["py","cgi","fcgi","gyp","gypi","lmi","py3","pyde","pyi","pyp","pyt","pyw","rpy","smk","spec","tac","wsgi","xpy"],css:["css"],go:["go"],less:["less"],javascript:["js","_js","bones","cjs","es","es6","frag","gs","jake","javascript","jsb","jscad","jsfl","jslib","jsm","jspre","jss","jsx","mjs","njs","pac","sjs","ssjs","xsjs","xsjslib","v","veo"],ruby:["rb","builder","eye","fcgi","gemspec","god","jbuilder","mspec","pluginspec","podspec","prawn","rabl","rake","rbi","rbuild","rbw","rbx","ru","ruby","spec","thor","watchr"],java:["java","jav"],shell:["sh","bash","bats","cgi","command","env","fcgi","ksh","shin","tmux","tool","zsh","zsh-theme"],php:["php","aw","ctp","fcgi","inc","php3","php4","php5","phps","phpt","phtml"],html:["html","hta","htm","html.hl","inc","xht","xhtml"],perl:["pl","al","cgi","fcgi","perl","ph","plx","pm","psgi","t"],typescript:["ts","cts","mts","tsx"],swift:["swift"],pug:["pug"],scss:["scss"],vue:["vue"],stylus:["styl"],vhdl:["vhdl","vhd","vhf","vhi","vho","vhs","vht","vhw"],rust:["rs","rs.in"],mermaid:["mermaid","mmd"],sass:["sass"],graphql:["graphql","gql","graphqls"],san:["san"],swan:["swan","wxml","wxss"],kotlin:["kt","kts","ktm"],objectivec:["m","mm"],lua:["lua"]},jw={cpp:"cpp","c++":"cpp",cc:"cpp",cp:"cpp",cxx:"cpp",h:"cpp","h++":"cpp",hh:"cpp",hpp:"cpp",hxx:"cpp",inc:"html",inl:"cpp",ino:"cpp",ipp:"cpp",ixx:"cpp",re:"cpp",tcc:"cpp",tpp:"cpp",c:"cpp",cats:"cpp",idc:"cpp",java:"java",jav:"java",py:"python",cgi:"shell",fcgi:"shell",gyp:"python",gypi:"python",lmi:"python",py3:"python",pyde:"python",pyi:"python",pyp:"python",pyt:"python",pyw:"python",rpy:"python",smk:"python",spec:"ruby",tac:"python",wsgi:"python",xpy:"python",go:"go",php:"php",aw:"php",ctp:"php",php3:"php",php4:"php",php5:"php",phps:"php",phpt:"php",phtml:"php",js:"javascript",_js:"javascript",bones:"javascript",cjs:"javascript",es:"javascript",es6:"javascript",frag:"glsl",gs:"javascript",jake:"javascript",javascript:"javascript",jsb:"javascript",jscad:"javascript",jsfl:"javascript",jslib:"javascript",jsm:"javascript",jspre:"javascript",jss:"javascript",jsx:"javascript",mjs:"javascript",njs:"javascript",pac:"javascript",sjs:"javascript",ssjs:"javascript",xsjs:"javascript",xsjslib:"javascript",v:"javascript",veo:"javascript",pl:"perl",al:"perl",perl:"perl",ph:"perl",plx:"perl",pm:"perl",psgi:"perl",t:"perl",rb:"ruby",builder:"ruby",eye:"ruby",gemspec:"ruby",god:"ruby",jbuilder:"ruby",mspec:"ruby",pluginspec:"ruby",podspec:"ruby",prawn:"ruby",rabl:"ruby",rake:"ruby",rbi:"ruby",rbuild:"ruby",rbw:"ruby",rbx:"ruby",ru:"ruby",ruby:"ruby",thor:"ruby",watchr:"ruby",swift:"swift",sh:"shell",bash:"shell",bats:"shell",command:"shell",env:"shell",ksh:"shell",shin:"shell",tmux:"shell",tool:"shell",zsh:"shell","zsh-theme":"shell",css:"css",ts:"typescript",cts:"typescript",mts:"typescript",tsx:"typescript",less:"less",html:"html",hta:"html",htm:"html","html.hl":"html",xht:"html",xhtml:"html",m:"objectivec",mm:"objectivec",rs:"rust","rs.in":"rust",kt:"kotlin",kts:"kotlin",ktm:"kotlin",swan:"swan",wxml:"swan",wxss:"swan",san:"san",lua:"lua",vue:"vue",sass:"sass",scss:"scss",styl:"stylus",pug:"pug",vhdl:"vhdl",vhd:"vhdl",vhf:"vhdl",vhi:"vhdl",vho:"vhdl",vhs:"vhdl",vht:"vhdl",vhw:"vhdl",mermaid:"mermaid",mmd:"mermaid",graphql:"graphql",gql:"graphql",graphqls:"graphql",ada:"ada",adb:"ada",ads:"ada",agda:"agda",als:"alloy",g4:"antlr",applescript:"applescript",scpt:"applescript",a51:"assembly",asm:"assembly",nasm:"assembly",aug:"augeas",auk:"awk",awk:"awk",gawk:"awk",mawk:"awk",nawk:"awk",bat:"batchfile",cmd:"batchfile",bsv:"bluespec",cake:"csharp",cs:"csharp",cshtml:"csharp",boot:"clojure",clj:"clojure",cljc:"clojure",cljs:"clojure",cljx:"clojure",cmake:"cmake",_coffee:"coffeescript",cjsx:"coffeescript",coffee:"coffeescript",cson:"coffeescript",iced:"coffeescript",asd:"commonlisp",lisp:"commonlisp",lsp:"commonlisp",ny:"commonlisp",cu:"cuda",cuh:"cuda",dart:"dart",dockerfile:"dockerfile",ex:"elixir",exs:"elixir",elm:"elm",el:"emacslisp",emacs:"emacslisp",erl:"erlang",escript:"erlang",hrl:"erlang",yrl:"erlang",fs:"fsharp",fsi:"fsharp",fsx:"fsharp",f:"fortran",f03:"fortran",f08:"fortran",f90:"fortran",f95:"fortran",for:"fortran",fpp:"fortran",fp:"glsl",fsh:"glsl",fshader:"glsl",geom:"glsl",glsl:"glsl",glslv:"glsl",shader:"glsl",vert:"glsl",vsh:"glsl",vshader:"glsl",groovy:"groovy",gtpl:"groovy",gvy:"groovy",hs:"haskell",hsc:"haskell",idr:"idris",lidr:"idris",thy:"isabelle",jsp:"javaserverpages",json:"json",jl:"julia",hlean:"lean",lean:"lean",lagda:"literateagda",litcoffee:"literatecoffeescript",lhs:"literatehaskell",mak:"makefile",mk:"makefile",mpl:"maple",markdown:"markdown",md:"markdown",mkd:"markdown",mkdn:"markdown",ron:"markdown",ma:"mathematica",mathematica:"mathematica",mt:"mathematica",nb:"mathematica",wl:"mathematica",matlab:"matlab",eliom:"ocaml",eliomi:"ocaml",ml:"ocaml",ml4:"ocaml",mli:"ocaml",mll:"ocaml",mly:"ocaml",dfm:"pascal",lpr:"pascal",pas:"pascal",ps1:"powershell",psd1:"powershell",psm1:"powershell",prolog:"prolog",yap:"prolog",proto:"protocolbuffer",r:"r",rd:"r",rsx:"r",scrbl:"racket",rst:"restructuredtext",rmd:"rmarkdown",sas:"sas",sbt:"scala",scala:"scala",scm:"scheme",sld:"scheme",sps:"scheme",st:"smalltalk",sol:"solidity",rq:"sparql",sparql:"sparql",cql:"sql",db2:"sql",ddl:"sql",pkb:"sql",pks:"sql",plb:"sql",plsql:"sql",prc:"sql",sql:"sql",udf:"sql",stan:"stan",fun:"standardml",sml:"standardml",ado:"stata",do:"stata",doh:"stata",mata:"stata",matah:"stata",sv:"systemverilog",svh:"systemverilog",vh:"systemverilog",adp:"tcl",tcl:"tcl",tm:"tcl",csh:"tcsh",tcsh:"tcsh",bbx:"tex",bib:"tex",cbx:"tex",dtx:"tex",ins:"tex",lbx:"tex",mkii:"tex",mkiv:"tex",mkvi:"tex",sty:"tex",tex:"tex",thrift:"thrift",bas:"visualbasic",frm:"visualbasic",vb:"visualbasic",vba:"visualbasic",vbhtml:"visualbasic",vbs:"visualbasic",xsl:"xslt",xslt:"xslt",y:"yacc",yacc:"yacc",yaml:"yaml",yml:"yaml",zig:"zig",ipynb:"jupyter"},Pw="ACTION_V8_SNAP_SHOT";for(var Lw="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",Nw=new RegExp("^"+Lw+"$"),Iw="|&;()<> \\t",Dw=/^#$/,Fw="",Mw=0;Mw<4;Mw++)Fw+=(4294967296*Math.random()).toString(16);var $w=new RegExp("^"+Fw);function Uw(e,t,n){n||(n={});var i=n.escape||"\\",s=new RegExp(["("+Lw+")","("+("(\\"+i+"['\""+Iw+"]|[^\\s'\""+Iw+"])+")+"|\"((\\\\\"|[^\"])*?)\"|'((\\\\'|[^'])*?)')+"].join("|"),"g"),a=function(e,t){for(var n,i=t.lastIndex,s=[];n=t.exec(e);)s.push(n),t.lastIndex===n.index&&(t.lastIndex+=1);return t.lastIndex=i,s}(e,s);if(0===a.length)return[];t||(t={});var o=!1;return a.map((function(n){var s=n[0];if(s&&!o){if(Nw.test(s))return{op:s};var a,r=!1,c=!1,p="",l=!1;for(a=0;a<s.length;a++){var u=s.charAt(a);if(l=l||!r&&("*"===u||"?"===u),c)p+=u,c=!1;else if(r)u===r?r=!1:"'"==r?p+=u:u===i?(a+=1,p+='"'===(u=s.charAt(a))||u===i||"$"===u?u:i+u):p+="$"===u?m():u;else if('"'===u||"'"===u)r=u;else{if(Nw.test(u))return{op:s};if(Dw.test(u)){o=!0;var d={comment:e.slice(n.index+a+1)};return p.length?[p,d]:[d]}u===i?c=!0:p+="$"===u?m():u}}return l?{op:"glob",pattern:p}:p}function m(){var e,n;a+=1;var i=s.charAt(a);if("{"===i){if(a+=1,"}"===s.charAt(a))throw new Error("Bad substitution: "+s.slice(a-2,a+1));if((e=s.indexOf("}",a))<0)throw new Error("Bad substitution: "+s.slice(a));n=s.slice(a,e),a=e}else if(/[*@#?$!_-]/.test(i))n=i,a+=1;else{var o=s.slice(a);(e=o.match(/[^\w\d_]/))?(n=o.slice(0,e.index),a+=e.index-1):(n=o,a=s.length)}return function(e,t,n){var i="function"==typeof e?e(n):e[n];return void 0===i&&""!=n?i="":void 0===i&&(i="$"),"object"==typeof i?t+Fw+JSON.stringify(i)+Fw:t+i}(t,"",n)}})).reduce((function(e,t){return void 0===t?e:e.concat(t)}),[])}var Bw=function(e,t,n){var i=Uw(e,t,n);return"function"!=typeof t?i:i.reduce((function(e,t){if("object"==typeof t)return e.concat(t);var n=t.split(RegExp("("+Fw+".*?"+Fw+")","g"));return 1===n.length?e.concat(n[0]):e.concat(n.filter(Boolean).map((function(e){return $w.test(e)?JSON.parse(e.split(Fw)[1]):e})))}),[])};const zw=new Set(["if","then","else","elif","fi","for","while","until","do","done","case","esac","function","select","time","in"]);function Hw(e){const t=Bw(e),n=[];let i=!0;for(const e of t)if("object"==typeof e&&"op"in e){const t=e.op;["&&","||",";","|","|&","&","(",")"].includes(t)&&(i=!0)}else"string"==typeof e&&i&&!zw.has(e)&&(n.push(e),i=!1);return n}var qw,Gw,Ww,Kw,Vw,Qw,Yw,Jw,Zw,Xw,eE,tE,nE,iE,sE,aE,oE,rE,cE,pE,lE,uE,dE,mE,hE,fE,xE,vE,gE;!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"}(qw||(qw={})),function(e){e.NOT_SUPPORT="statusBar.not.support.text",e.ENABLE="statusBar.enable.text",e.NO_SUGGESTIONS="statusBar.nosuggestions",e.TITLE="statusBar.title"}(Gw||(Gw={})),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"}(Ww||(Ww={})),function(e){e.EMPTY_TEXT="nl2code.empty.text",e.NO_SELECTION="nl2code.no.selection.text"}(Kw||(Kw={})),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"}(Vw||(Vw={})),function(e){e.EXPLAIN_SELECTED_CODE="explain.codeActions.title",e.OPTIMIZE_SELECTED_CODE="optimize.codeActions.title",e.INLINECHAT_SELECTED_CODE="inlinechat.codeActions.title"}(Qw||(Qw={})),function(e){e.CODELENS_TITLE="chatTrial.codelens.title"}(Yw||(Yw={})),function(e){e.CODELENS_TITLE="inlinechat.codelens.title"}(Jw||(Jw={})),function(e){e.CHAT_TIPS_TITLE="chatTips.selectedCode.title",e.CHAT_TIPS_CODE_BLANK_ROW_TITLE="chatTips.blankRow.title"}(Zw||(Zw={})),function(e){e.GENERATING_TITLE="decorations.generating.title",e.LINE_COMMENT_CODE_TRIGGER_TITLE="decorations.lineComent.trigger.title"}(Xw||(Xw={})),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"}(eE||(eE={})),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"}(tE||(tE={})),function(e){e.PROMPT="split.prompt",e.CODELENS_TITLE="split.codelens.title",e.CODELENS_TOOLTIP="split.codelens.tooltip",e.GENERATE_ERROR="split.generate.error"}(nE||(nE={})),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"}(iE||(iE={})),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"}(sE||(sE={})),function(e){e.PROMPT="inlineLog.prompt",e.CODELENS_TITLE="inlineLog.codelens.title",e.CODELENS_TOOLTIP="inlineLog.codelens.tooltip",e.GENERATE_ERROR="inlineLog.generate.error"}(aE||(aE={})),function(e){e.TITLE="diff.title",e.ACCEPT="diff.accept",e.REJECT="diff.reject",e.OPEN_DUAL_SCREEN_DIFF="diff.dualScreenDiff.open"}(oE||(oE={})),function(e){e.WEBVIEW_TITLE="chat.webview.title",e.NO_INSERT_POSITION="chat.no.insertPosition.text"}(rE||(rE={})),function(e){e.PATH_ERROR="accept.path.error"}(cE||(cE={})),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"}(pE||(pE={})),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"}(lE||(lE={})),function(e){e.TOOLTIP="regexHover.tooltip",e.PROMPT="regexHover.prompt"}(uE||(uE={})),function(e){e.MAXIMUM_FILES="embeddings.maximum.files.message",e.PROGRESS="embeddings.progress.message",e.PROGRESS_TOOLTIP="embeddings.progress.tooltip.message"}(dE||(dE={})),function(e){e.TITLE="openPlatform.title.text",e.WEBVIEW_TITLE="openPlatform.webview.title"}(mE||(mE={})),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"}(hE||(hE={})),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"}(fE||(fE={})),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"}(xE||(xE={})),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"}(vE||(vE={})),function(e){e.GENERATE_ERROR="kernel.zulu.error"}(gE||(gE={}));const bE={ServerError:-32001,ParseError:-32700,InvalidRequest:-32600,MethodNotFound:-32601,InvalidParams:-32602,InternalError:-32603,RequestCancelled:-32800,DeviceFlowFailed:1001,ContextNotInitialized:1002,AbortedByServer:1003,CancelledByServer:1004,GetGitRepoIdError:1005};export{Z as ACTION_ASK_LLM,X as ACTION_ASK_LLM_STREAMING,Ie as ACTION_ASK_RAG,Ae as ACTION_BATCH_ACCEPT,Me as ACTION_BRANCH_CHANGE,P as ACTION_CHAT_QUERY,vg as ACTION_CHAT_SESSION_DELETE,gg as ACTION_CHAT_SESSION_FIND,fg as ACTION_CHAT_SESSION_LIST,xg as ACTION_CHAT_SESSION_SAVE,L as ACTION_CHAT_TASK_PROGRESS,ze as ACTION_CODE_SEARCH,yg as ACTION_COMATE_ADD_AGENT_TASK,Tg as ACTION_COMATE_ADD_CACHE,bg as ACTION_COMATE_GET_AGENT_TASKS,Rg as ACTION_COMATE_GET_CACHE,pg as ACTION_COMATE_LSP_REMOTE_CONSOLE,cg as ACTION_COMATE_LSP_WORKSPACE_FOLDERS,Qv as ACTION_COMATE_PLUS_AGENT_COMMAND,rg as ACTION_COMATE_PLUS_AGENT_NOTIFICATION,mg as ACTION_COMATE_PLUS_BATCH_ACCEPT,Kv as ACTION_COMATE_PLUS_CHAT_CANCEL,Wv as ACTION_COMATE_PLUS_CHAT_QUERY,dg as ACTION_COMATE_PLUS_CODE_SEARCH,Vv as ACTION_COMATE_PLUS_CUSTOM_COMMAND,Ee as ACTION_COMATE_PLUS_DIAGNOSTIC_SCAN,Zv as ACTION_COMATE_PLUS_DRAW_CHAT_APPEND,eg as ACTION_COMATE_PLUS_DRAW_CHAT_FAIL,Xv as ACTION_COMATE_PLUS_DRAW_CHAT_FINISH,Jv as ACTION_COMATE_PLUS_DRAW_CHAT_UPDATE,sg as ACTION_COMATE_PLUS_INITIALIZED,ng as ACTION_COMATE_PLUS_QUERY_SELECTOR,ug as ACTION_COMATE_PLUS_RECREATE_INDEX,tg as ACTION_COMATE_PLUS_REQUEST_PERMISSION,ve as ACTION_COMATE_PLUS_SA_SCAN_DIAGNOSTIC,xe as ACTION_COMATE_PLUS_SA_SCAN_INIT,lg as ACTION_COMATE_PLUS_SECTION_CHAT_UPDATE,Yv as ACTION_COMATE_PLUS_WEBVIEW_INIT_DATA,_g as ACTION_COMATE_SET_FOREGROUND_TASK,hg as ACTION_COMATE_SMART_APPLY,wg as ACTION_COMATE_UPDATE_AGENT_TASK_MESSAGES,kg as ACTION_COMPOSER,we as ACTION_CUSTOM_COMMAND,Ne as ACTION_DEBUG_TASK_PROCESS,Se as ACTION_DIAGNOSTIC_SCAN,Te as ACTION_DIAGNOSTIC_SCAN_TASK_COUNT,ke as ACTION_DIAGNOSTIC_SCAN_TASK_PROGRESS,ag as ACTION_ENGINE_PROCESS_START_SUCCESS,Pg as ACTION_ENGINE_SERVICE_INITIALIZED,De as ACTION_GENERATE_MESSAGE,Fe as ACTION_GENERATE_MESSAGE_REPORT,ie as ACTION_GET_PLUGIN_CONFIG,re as ACTION_INFORMATION_QUERY,Ke as ACTION_ISCAN_JOB_BUILD_ID,We as ACTION_ISCAN_RESULT,N as ACTION_LOG,Eg as ACTION_MOCK_VIRTUAL_EDITOR_EVENT,ae as ACTION_PLUS_MODULE_LIST_FETCH,oe as ACTION_PLUS_MODULE_LIST_RESULT,Cg as ACTION_PROMPTTEMPLATE_CREATE,jg as ACTION_PROMPTTEMPLATE_DELETE,Ag as ACTION_PROMPTTEMPLATE_LIST,Og as ACTION_PROMPTTEMPLATE_UPDATE,_e as ACTION_QUERY_SELECTOR,me as ACTION_RELEASE_SCAN_TASK,Y as ACTION_REQUEST_PERMISSION,ge as ACTION_SA_SCAN_DIAGNOSTIC,be as ACTION_SA_SCAN_DIAGNOSTIC_RESULT,fe as ACTION_SCAN_CACHE_COUNT,Ve as ACTION_SCAN_NOTIFICATION,le as ACTION_SCAN_QUERY,de as ACTION_SCAN_TASK,he as ACTION_SCAN_TASK_PROGRESS,$e as ACTION_SECUBOT,Ue as ACTION_SECUBOT_TASK_PROGRESS,K as ACTION_SESSION_FINISH,W as ACTION_SESSION_START,ye as ACTION_START_BACKGROUND_SERVICE,Ge as ACTION_START_ISCAN,He as ACTION_START_ISCAN_AND_GET_SEC_RESULT,qe as ACTION_START_ISCAN_BY_SAVE,se as ACTION_UPDATE_ENGINE_CONFIG,ig as ACTION_USER_DETAIL,og as ACTION_USER_DETAIL_ERROR,Pw as ACTION_V8_SNAP_SHOT,ue as ACTION_WILL_SCAN,Sg as AGENT_DEBUG_CUSTOM_ACTION,cE as AcceptProviderText,Le as AgentConversationStatus,je as AgentConversationType,Pe as AgentConversationTypeNames,Ce as AgentMessageStatus,hE as AutoWorkText,Fp as CanceledError,Q as Channel,rE as ChatProviderText,Zw as ChatTipsProviderText,Yw as ChatTrialProviderText,Qw as CodeSelectionActionsProviderText,fE as ComatePlusText,eE as CommentProviderText,Ww as CompletionText,Sw as DEFAULT_RULE_CONFIG_FOLDER,kw as DEFAULT_WORKSPACE_CONFIG_FOLDER,Tw as DEFAULT_WORKSPACE_RULE_FILE,Xw as DecorationsText,oE as DiffProviderText,tE as DocstringProviderText,pp as ENVIRONMENT,dE as EmbeddingsServiceText,iE as ExplainProviderText,lE as ExtensionText,ne as FunctionModel,qw as GlobalText,dp as INTERNAL_API_HOST,hp as INTERNAL_TEST_API_HOST,pe as InformationQueryType,xE as InlineChatText,Jw as InlineChatTrialProviderText,aE as InlineLogProviderText,bE as LSP_ERROR_CODE,Ov as LanguageDetector,ee as LlmType,Kp as LogUploaderProvider,Qe as MCP_SETTINGS_FILE_PATH,vE as MessageGenerateText,Kw as Nl2codeProviderText,mE as OpenPlatformText,Vw as OptimizeProviderText,cp as PLATFORM,tl as PROMPTTEMPLATE_ROOT_PATH,gw as PatchFileDelimiterError,J as PermissionType,pE as QuickFixText,Lg as RULE_PANEL_ACTION_EVENT,uE as RegexHoverText,up as SAAS_API_HOST,mp as SAAS_TEST_API_HOST,Be as SECUBOT_DEFAULT_QUERY,Yp as SSEProcessor,jw as SUFFIX_LANG_MAP,Ow as SUPPORTED_SUFFIX_CONFIG,yw as SearchReplacePatchError,V as Session,nE as SplitProviderText,Gw as StatusBarText,Re as TaskStatus,te as TextModel,Ng as UPDATE_RULE_PANEL_EVENT,sE as UnitTestProviderText,Aw as VirtualDocumentAction,Cw as VirtualEditor,Mv as VisibilitySelectorMatcher,lp as WEBVIEW_CONSUMER,Oe as WorkflowStatus,gE as ZuluText,I as allowedNativeElement,ty as applyDiff,Ew as applySearchReplaceChunk,Lp as axiosInstance,Bv as canHandleChatQuery,qv as canHandleQuerySelector,Hv as canShowToUser,Dp as createAxiosCancelTokenSource,Ip as createAxiosInstance,zp as createDeferred,us as emptyDir,ls as ensureDirectoryExist,B as extractChunkContent,Rw as extractMentionFilesFromRuleConfig,iy as findCodeChunkStartLineIndex,ay as fixUdiffLineMarker,el as formatPrompt,Tp as getApiHost,Zp as getCurrentUserKnowledgeSet,$p as getCurrentUserPluginConfigSet,Jp as getKnowledgeQueryResult,rs as getOsAppDataPath,il as getPromptTemplatePath,nl as getPromptTemplateRootPath,sl as getPromptTemplateUuidFromPath,Kb as getUserLicenseType,$v as isCapabilityMatch,M as isInteractiveContent,D as isNativeElement,U as isSectionChunk,$ as isWrappedChunk,Xp as knowledgeServiceHealthy,Up as localPluginConfig,Mp as mergePluginConfig,Hw as parseShellCommandName,Gv as patchEnvPath,Bp as pluginConfigDetail,os as readFileOrNull,ms as readJson,Ye as readPluginDescription,ds as remove,Wb as replacePathTextInMarkdown,Sp as setApiHost,Rp as setLanguage,wp as setPlatform,Ep as setPlatformAndEnvironment,hs as writeJSON};
34
+ const ad=d,sd=Vu,rd=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),cd=e=>"number"==typeof e||"string"==typeof e&&""!==e,ld=e=>Number.isInteger(+e),pd=e=>{let t=`${e}`,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},ud=(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},dd=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return n?"-"+e:e},fd=(e,t,n,i)=>{if(n)return sd(e,t,{wrap:!1,...i});let o=String.fromCharCode(e);return e===t?o:`[${o}-${String.fromCharCode(t)}]`},md=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,i=n.capture?"":"?:";return t?`(${i}${e.join("|")})`:e.join("|")}return sd(e,t,n)},hd=(...e)=>new RangeError("Invalid range arguments: "+ad.inspect(...e)),vd=(e,t,n)=>{if(!0===n.strictRanges)throw hd([e,t]);return[]},xd=(e,t,n=1,i={})=>{let o=Number(e),a=Number(t);if(!Number.isInteger(o)||!Number.isInteger(a)){if(!0===i.strictRanges)throw hd([e,t]);return[]}0===o&&(o=0),0===a&&(a=0);let s=o>a,r=String(e),c=String(t),l=String(n);n=Math.max(Math.abs(n),1);let p=pd(r)||pd(c)||pd(l),u=p?Math.max(r.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 fd(dd(e,u),dd(t,u),!0,i);let m={negatives:[],positives:[]},h=[],v=0;for(;s?o>=a:o<=a;)!0===i.toRegex&&n>1?m[(x=o)<0?"negatives":"positives"].push(Math.abs(x)):h.push(ud(f(o,v),u,d)),o=s?o-n:o+n,v++;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?"":"?:",a="",s="";return e.positives.length&&(a=e.positives.map((e=>dd(String(e),n))).join("|")),e.negatives.length&&(s=`-(${o}${e.negatives.map((e=>dd(String(e),n))).join("|")})`),i=a&&s?`${a}|${s}`:a||s,t.wrap?`(${o}${i})`:i})(m,i,u):md(h,null,{wrap:!1,...i}):h},gd=(e,t,n,i={})=>{if(null==t&&cd(e))return[e];if(!cd(e)||!cd(t))return vd(e,t,i);if("function"==typeof n)return gd(e,t,1,{transform:n});if(rd(n))return gd(e,t,0,n);let o={...i};return!0===o.capture&&(o.wrap=!0),n=n||o.step||1,ld(n)?ld(e)&&ld(t)?xd(e,t,n,o):((e,t,n=1,i={})=>{if(!ld(e)&&e.length>1||!ld(t)&&t.length>1)return vd(e,t,i);let o=i.transform||(e=>String.fromCharCode(e)),a=`${e}`.charCodeAt(0),s=`${t}`.charCodeAt(0),r=a>s,c=Math.min(a,s),l=Math.max(a,s);if(i.toRegex&&1===n)return fd(c,l,!1,i);let p=[],u=0;for(;r?a>=s:a<=s;)p.push(o(a,u)),a=r?a-n:a+n,u++;return!0===i.toRegex?md(p,null,{wrap:!1,options:i}):p})(e,t,Math.max(Math.abs(n),1),o):null==n||rd(n)?gd(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,o)};const bd=gd,yd=Hu;var _d=(e,t={})=>{const n=(e,i={})=>{const o=yd.isInvalidBrace(i),a=!0===e.invalid&&!0===t.escapeInvalid,s=!0===o||!0===a,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 s?r+e.value:"(";if("close"===e.type)return s?r+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=yd.reduce(e.nodes),i=bd(...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 wd=gd,Ed=Wu,kd=Hu,Sd=(e="",t="",n=!1)=>{const i=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?kd.flatten(t).map((e=>`{${e}}`)):t;for(const o of e)if(Array.isArray(o))for(const e of o)i.push(Sd(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),i.push(Array.isArray(e)?Sd(o,e,n):o+e);return kd.flatten(i)};var Ad=(e,t={})=>{const n=void 0===t.rangeLimit?1e3:t.rangeLimit,i=(e,o={})=>{e.queue=[];let a=o,s=o.queue;for(;"brace"!==a.type&&"root"!==a.type&&a.parent;)a=a.parent,s=a.queue;if(e.invalid||e.dollar)return void s.push(Sd(s.pop(),Ed(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void s.push(Sd(s.pop(),["{}"]));if(e.nodes&&e.ranges>0){const i=kd.reduce(e.nodes);if(kd.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=wd(...i,t);return 0===o.length&&(o=Ed(e,t)),s.push(Sd(s.pop(),o)),void(e.nodes=[])}const r=kd.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(Sd(c.pop(),n.value)):n.nodes&&i(n,e):s.push(Sd(s.pop(),c,r)):(1===t&&c.push(""),c.push(""))}return c};return kd.flatten(i(e))};const Td=Wu,{MAX_LENGTH:Rd,CHAR_BACKSLASH:Cd,CHAR_BACKTICK:Od,CHAR_COMMA:jd,CHAR_DOT:Pd,CHAR_LEFT_PARENTHESES:Ld,CHAR_RIGHT_PARENTHESES:Id,CHAR_LEFT_CURLY_BRACE:Nd,CHAR_RIGHT_CURLY_BRACE:Dd,CHAR_LEFT_SQUARE_BRACKET:Fd,CHAR_RIGHT_SQUARE_BRACKET:Md,CHAR_DOUBLE_QUOTE:$d,CHAR_SINGLE_QUOTE:Ud,CHAR_NO_BREAK_SPACE:zd,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Bd}={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 Hd=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");const n=t||{},i="number"==typeof n.maxLength?Math.min(Rd,n.maxLength):Rd;if(e.length>i)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${i})`);const o={type:"root",input:e,nodes:[]},a=[o];let s=o,r=o,c=0;const l=e.length;let p,u=0,d=0;const f=()=>e[u++],m=e=>{if("text"===e.type&&"dot"===r.type&&(r.type="text"),!r||"text"!==r.type||"text"!==e.type)return s.nodes.push(e),e.parent=s,e.prev=r,r=e,e;r.value+=e.value};for(m({type:"bos"});u<l;)if(s=a[a.length-1],p=f(),p!==Bd&&p!==zd)if(p!==Cd)if(p!==Md)if(p!==Fd)if(p!==Ld)if(p!==Id)if(p!==$d&&p!==Ud&&p!==Od)if(p!==Nd)if(p!==Dd)if(p===jd&&d>0){if(s.ranges>0){s.ranges=0;const e=s.nodes.shift();s.nodes=[e,{type:"text",value:Td(s)}]}m({type:"comma",value:p}),s.commas++}else if(p===Pd&&d>0&&0===s.commas){const e=s.nodes;if(0===d||0===e.length){m({type:"text",value:p});continue}if("dot"===r.type){if(s.range=[],r.value+=p,r.type="range",3!==s.nodes.length&&5!==s.nodes.length){s.invalid=!0,s.ranges=0,r.type="text";continue}s.ranges++,s.args=[];continue}if("range"===r.type){e.pop();const t=e[e.length-1];t.value+=r.value+p,r=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=a.pop(),s.close=!0,m({type:e,value:p}),d--,s=a[a.length-1]}else{d++;const e=r.value&&"$"===r.value.slice(-1)||!0===s.dollar;s=m({type:"brace",open:!0,close:!1,dollar:e,depth:d,commas:0,ranges:0,nodes:[]}),a.push(s),m({type:"open",value:p})}else{const e=p;let n;for(!0!==t.keepQuotes&&(p="");u<l&&(n=f());)if(n!==Cd){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=a.pop(),m({type:"text",value:p}),s=a[a.length-1]}else s=m({type:"paren",nodes:[]}),a.push(s),m({type:"text",value:p});else{let e;for(c++;u<l&&(e=f());)if(p+=e,e!==Fd)if(e!==Cd){if(e===Md&&(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=a.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=a[a.length-1],t=e.nodes.indexOf(s);e.nodes.splice(t,1,...s.nodes)}}while(a.length>0);return m({type:"eos"}),o};const qd=Wu,Wd=_d,Gd=Ad,Vd=Hd,Kd=(e,t={})=>{let n=[];if(Array.isArray(e))for(const i of e){const e=Kd.create(i,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(Kd.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};Kd.parse=(e,t={})=>Vd(e,t),Kd.stringify=(e,t={})=>qd("string"==typeof e?Kd.parse(e,t):e,t),Kd.compile=(e,t={})=>("string"==typeof e&&(e=Kd.parse(e,t)),Wd(e,t)),Kd.expand=(e,t={})=>{"string"==typeof e&&(e=Kd.parse(e,t));let n=Gd(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},Kd.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?Kd.compile(e,t):Kd.expand(e,t);const Yd=d,Qd=Kd,Jd=eu,Zd=sp,Xd=e=>""===e||"./"===e,ef=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let i=new Set,o=new Set,a=new Set,s=0,r=e=>{a.add(e.output),n&&n.onResult&&n.onResult(e)};for(let a=0;a<t.length;a++){let c=Jd(String(t[a]),{...n,onResult:r},!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?[...a]:[...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};ef.match=ef,ef.matcher=(e,t)=>Jd(e,t),ef.any=ef.isMatch=(e,t,n)=>Jd(t,n)(e),ef.not=(e,t,n={})=>{t=[].concat(t).map(String);let i=new Set,o=[],a=new Set(ef(e,t,{...n,onResult:e=>{n.onResult&&n.onResult(e),o.push(e.output)}}));for(let e of o)a.has(e)||i.add(e);return[...i]},ef.contains=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Yd.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>ef.contains(e,t,n)));if("string"==typeof t){if(Xd(e)||Xd(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return ef.isMatch(e,t,{...n,contains:!0})},ef.matchKeys=(e,t,n)=>{if(!Zd.isObject(e))throw new TypeError("Expected the first argument to be an object");let i=ef(Object.keys(e),t,n),o={};for(let t of i)o[t]=e[t];return o},ef.some=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=Jd(String(e),n);if(i.some((e=>t(e))))return!0}return!1},ef.every=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=Jd(String(e),n);if(!i.every((e=>t(e))))return!1}return!0},ef.all=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${Yd.inspect(e)}"`);return[].concat(t).every((t=>Jd(t,n)(e)))},ef.capture=(e,t,n)=>{let i=Zd.isWindows(n),o=Jd.makeRe(String(e),{...n,capture:!0}).exec(i?Zd.toPosixSlashes(t):t);if(o)return o.slice(1).map((e=>void 0===e?"":e))},ef.makeRe=(...e)=>Jd.makeRe(...e),ef.scan=(...e)=>Jd.scan(...e),ef.parse=(e,t)=>{let n=[];for(let i of[].concat(e||[]))for(let e of Qd(String(i),t))n.push(Jd.parse(e,t));return n},ef.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:Qd(e,t)},ef.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return ef.braces(e,{...t,expand:!0})};var tf=ef;Object.defineProperty(ju,"__esModule",{value:!0}),ju.removeDuplicateSlashes=ju.matchAny=ju.convertPatternsToRe=ju.makeRe=ju.getPatternParts=ju.expandBraceExpansion=ju.expandPatternsWithBraceExpansion=ju.isAffectDepthOfReadingPattern=ju.endsWithSlashGlobStar=ju.hasGlobStar=ju.getBaseDirectory=ju.isPatternRelatedToParentDirectory=ju.getPatternsOutsideCurrentDirectory=ju.getPatternsInsideCurrentDirectory=ju.getPositivePatterns=ju.getNegativePatterns=ju.isPositivePattern=ju.isNegativePattern=ju.convertToNegativePattern=ju.convertToPositivePattern=ju.isDynamicPattern=ju.isStaticPattern=void 0;const nf=m,of=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&Mu&&e.indexOf("/")<0&&(e=e.replace($u,"/")),Uu.test(e)&&(e+="/"),e+="a";do{e=Fu(e)}while(Du(e)||zu.test(e));return e.replace(Bu,"$1")},af=tf,sf="**",rf="\\",cf=/[*?]|^!/,lf=/\[[^[]*]/,pf=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,uf=/[!*+?@]\([^(]*\)/,df=/,|\.\./,ff=/(?!^)\/{2,}/g;function mf(e,t={}){return!hf(e,t)}function hf(e,t={}){return""!==e&&(!(!1!==t.caseSensitiveMatch&&!e.includes(rf))||(!!(cf.test(e)||lf.test(e)||pf.test(e))||(!(!1===t.extglob||!uf.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 df.test(i)}(e)))))}function vf(e){return e.startsWith("!")&&"("!==e[1]}function xf(e){return!vf(e)}function gf(e){return e.startsWith("..")||e.startsWith("./..")}function bf(e){return e.endsWith("/"+sf)}function yf(e){const t=af.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort(((e,t)=>e.length-t.length)),t.filter((e=>""!==e))}function _f(e,t){return af.makeRe(e,t)}ju.isStaticPattern=mf,ju.isDynamicPattern=hf,ju.convertToPositivePattern=function(e){return vf(e)?e.slice(1):e},ju.convertToNegativePattern=function(e){return"!"+e},ju.isNegativePattern=vf,ju.isPositivePattern=xf,ju.getNegativePatterns=function(e){return e.filter(vf)},ju.getPositivePatterns=function(e){return e.filter(xf)},ju.getPatternsInsideCurrentDirectory=function(e){return e.filter((e=>!gf(e)))},ju.getPatternsOutsideCurrentDirectory=function(e){return e.filter(gf)},ju.isPatternRelatedToParentDirectory=gf,ju.getBaseDirectory=function(e){return of(e,{flipBackslashes:!1})},ju.hasGlobStar=function(e){return e.includes(sf)},ju.endsWithSlashGlobStar=bf,ju.isAffectDepthOfReadingPattern=function(e){const t=nf.basename(e);return bf(e)||mf(t)},ju.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat(yf(t))),[])},ju.expandBraceExpansion=yf,ju.getPatternParts=function(e,t){let{parts:n}=af.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},ju.makeRe=_f,ju.convertPatternsToRe=function(e,t){return e.map((e=>_f(e,t)))},ju.matchAny=function(e,t){return t.some((t=>t.test(e)))},ju.removeDuplicateSlashes=function(e){return e.replace(ff,"/")};var wf={};Object.defineProperty(wf,"__esModule",{value:!0}),wf.merge=void 0;const Ef=pu;function kf(e){e.forEach((e=>e.emit("close")))}wf.merge=function(e){const t=Ef(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>kf(e))),t.once("end",(()=>kf(e))),t};var Sf={};Object.defineProperty(Sf,"__esModule",{value:!0}),Sf.isEmpty=Sf.isString=void 0,Sf.isString=function(e){return"string"==typeof e},Sf.isEmpty=function(e){return""===e},Object.defineProperty(mu,"__esModule",{value:!0}),mu.string=mu.stream=mu.pattern=mu.path=mu.fs=mu.errno=mu.array=void 0;const Af=hu;mu.array=Af;const Tf=vu;mu.errno=Tf;const Rf=xu;mu.fs=Rf;const Cf=bu;mu.path=Cf;const Of=ju;mu.pattern=Of;const jf=wf;mu.stream=jf;const Pf=Sf;mu.string=Pf,Object.defineProperty(fu,"__esModule",{value:!0}),fu.convertPatternGroupToTask=fu.convertPatternGroupsToTasks=fu.groupPatternsByBaseDirectory=fu.getNegativePatternsAsPositive=fu.getPositivePatterns=fu.convertPatternsToTasks=fu.generate=void 0;const Lf=mu;function If(e,t){let n=e;return t.braceExpansion&&(n=Lf.pattern.expandPatternsWithBraceExpansion(n)),t.baseNameMatch&&(n=n.map((e=>e.includes("/")?e:`**/${e}`))),n.map((e=>Lf.pattern.removeDuplicateSlashes(e)))}function Nf(e,t,n){const i=[],o=Lf.pattern.getPatternsOutsideCurrentDirectory(e),a=Lf.pattern.getPatternsInsideCurrentDirectory(e),s=Mf(o),r=Mf(a);return i.push(...$f(s,t,n)),"."in r?i.push(Uf(".",a,t,n)):i.push(...$f(r,t,n)),i}function Df(e){return Lf.pattern.getPositivePatterns(e)}function Ff(e,t){return Lf.pattern.getNegativePatterns(e).concat(t).map(Lf.pattern.convertToPositivePattern)}function Mf(e){return e.reduce(((e,t)=>{const n=Lf.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e}),{})}function $f(e,t,n){return Object.keys(e).map((i=>Uf(i,e[i],t,n)))}function Uf(e,t,n,i){return{dynamic:i,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(Lf.pattern.convertToNegativePattern))}}fu.generate=function(e,t){const n=If(e,t),i=If(t.ignore,t),o=Df(n),a=Ff(n,i),s=o.filter((e=>Lf.pattern.isStaticPattern(e,t))),r=o.filter((e=>Lf.pattern.isDynamicPattern(e,t))),c=Nf(s,a,!1),l=Nf(r,a,!0);return c.concat(l)},fu.convertPatternsToTasks=Nf,fu.getPositivePatterns=Df,fu.getNegativePatternsAsPositive=Ff,fu.groupPatternsByBaseDirectory=Mf,fu.convertPatternGroupsToTasks=$f,fu.convertPatternGroupToTask=Uf;var zf={},Bf={},Hf={},qf={},Wf={},Gf={},Vf={},Kf={},Yf={};function Qf(e,t){e(t)}function Jf(e,t){e(null,t)}Object.defineProperty(Yf,"__esModule",{value:!0}),Yf.read=void 0,Yf.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 Qf(n,e):void Jf(n,o);t.markSymbolicLink&&(i.isSymbolicLink=()=>!0),Jf(n,i)})):Jf(n,o):Qf(n,i)}))};var Zf={};Object.defineProperty(Zf,"__esModule",{value:!0}),Zf.read=void 0,Zf.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 Xf={},em={};!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)}}(em),Object.defineProperty(Xf,"__esModule",{value:!0});const tm=em;Xf.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=tm.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(Kf,"__esModule",{value:!0}),Kf.statSync=Kf.stat=Kf.Settings=void 0;const nm=Yf,im=Zf,om=Xf;function am(e={}){return e instanceof om.default?e:new om.default(e)}
35
+ /*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */let sm;Kf.Settings=om.default,Kf.stat=function(e,t,n){"function"!=typeof t?nm.read(e,am(t),n):nm.read(e,am(),t)},Kf.statSync=function(e,t){const n=am(t);return im.read(e,n)};var rm=function(e,t){let n,i,o,a=!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}a?cm(i):i()}function r(e,t,o){n[e]=o,(0==--i||t)&&s(t)}i?o?o.forEach((function(t){e[t]((function(e,n){r(t,e,n)}))})):e.forEach((function(e,t){e((function(e,n){r(t,e,n)}))})):s(null);a=!1};
36
+ /*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */const cm="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:et):e=>(sm||(sm=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)));var lm={};Object.defineProperty(lm,"__esModule",{value:!0}),lm.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const pm=process.versions.node.split(".");if(void 0===pm[0]||void 0===pm[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const um=Number.parseInt(pm[0],10),dm=Number.parseInt(pm[1],10),fm=um>10,mm=10===um&&dm>=10;lm.IS_SUPPORT_READDIR_WITH_FILE_TYPES=fm||mm;var hm={},vm={};Object.defineProperty(vm,"__esModule",{value:!0}),vm.createDirentFromStats=void 0;class xm{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)}}vm.createDirentFromStats=function(e,t){return new xm(e,t)},Object.defineProperty(hm,"__esModule",{value:!0}),hm.fs=void 0;const gm=vm;hm.fs=gm;var bm={};Object.defineProperty(bm,"__esModule",{value:!0}),bm.joinPathSegments=void 0,bm.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t},Object.defineProperty(Vf,"__esModule",{value:!0}),Vf.readdir=Vf.readdirWithFileTypes=Vf.read=void 0;const ym=Kf,_m=rm,wm=lm,Em=hm,km=bm;function Sm(e,t,n){t.fs.readdir(e,{withFileTypes:!0},((i,o)=>{if(null!==i)return void Tm(n,i);const a=o.map((n=>({dirent:n,name:n.name,path:km.joinPathSegments(e,n.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return void Rm(n,a);const s=a.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=Em.fs.createDirentFromStats(e.name,o),n(null,e)})):n(null,e)}}(e,t)));_m(s,((e,t)=>{null===e?Rm(n,t):Tm(n,e)}))}))}function Am(e,t,n){t.fs.readdir(e,((i,o)=>{if(null!==i)return void Tm(n,i);const a=o.map((n=>{const i=km.joinPathSegments(e,n,t.pathSegmentSeparator);return e=>{ym.stat(i,t.fsStatSettings,((o,a)=>{if(null!==o)return void e(o);const s={name:n,path:i,dirent:Em.fs.createDirentFromStats(n,a)};t.stats&&(s.stats=a),e(null,s)}))}}));_m(a,((e,t)=>{null===e?Rm(n,t):Tm(n,e)}))}))}function Tm(e,t){e(t)}function Rm(e,t){e(null,t)}Vf.read=function(e,t,n){t.stats||!wm.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Am(e,t,n):Sm(e,t,n)},Vf.readdirWithFileTypes=Sm,Vf.readdir=Am;var Cm={};Object.defineProperty(Cm,"__esModule",{value:!0}),Cm.readdir=Cm.readdirWithFileTypes=Cm.read=void 0;const Om=Kf,jm=lm,Pm=hm,Lm=bm;function Im(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((n=>{const i={dirent:n,name:n.name,path:Lm.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(i.path);i.dirent=Pm.fs.createDirentFromStats(i.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return i}))}function Nm(e,t){return t.fs.readdirSync(e).map((n=>{const i=Lm.joinPathSegments(e,n,t.pathSegmentSeparator),o=Om.statSync(i,t.fsStatSettings),a={name:n,path:i,dirent:Pm.fs.createDirentFromStats(n,o)};return t.stats&&(a.stats=o),a}))}Cm.read=function(e,t){return!t.stats&&jm.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Im(e,t):Nm(e,t)},Cm.readdirWithFileTypes=Im,Cm.readdir=Nm;var Dm={},Fm={};!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)}}(Fm),Object.defineProperty(Dm,"__esModule",{value:!0});const Mm=m,$m=Kf,Um=Fm;Dm.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=Um.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Mm.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new $m.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(Gf,"__esModule",{value:!0}),Gf.Settings=Gf.scandirSync=Gf.scandir=void 0;const zm=Vf,Bm=Cm,Hm=Dm;function qm(e={}){return e instanceof Hm.default?e:new Hm.default(e)}Gf.Settings=Hm.default,Gf.scandir=function(e,t,n){"function"!=typeof t?zm.read(e,qm(t),n):zm.read(e,qm(),t)},Gf.scandirSync=function(e,t){const n=qm(t);return Bm.read(e,n)};var Wm={exports:{}};var Gm=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 Vm(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=Gm(Ym),o=null,a=null,s=0,r=null,c={push:function(p,u){var d=i.get();d.context=e,d.release=l,d.value=p,d.callback=u||Km,d.errorHandler=r,s>=n||c.paused?a?(a.next=d,a=d):(o=d,a=d,c.saturated()):(s++,t.call(e,d.value,d.worked))},drain:Km,saturated:Km,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||Km,d.errorHandler=r,s>=n||c.paused?o?(d.next=o,o=d):(o=d,a=d,c.saturated()):(s++,t.call(e,d.value,d.worked))},empty:Km,kill:function(){o=null,a=null,c.drain=Km},killAndDrain:function(){o=null,a=null,c.drain(),c.drain=Km},error:function(e){r=e}};return c;function l(r){r&&i.release(r);var l=o;l&&s<=n?c.paused?s--:(a===o&&(a=null),o=l.next,l.next=null,t.call(e,l.value,l.worked),null===a&&c.empty()):0==--s&&c.drain()}}function Km(){}function Ym(){this.value=null,this.callback=Km,this.next=null,this.release=Km,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,n){var i=e.callback,o=e.errorHandler,a=e.value;e.value=null,e.callback=Km,e.errorHandler&&o(t,a),i.call(e.context,t,n),e.release(e)}}Wm.exports=Vm,Wm.exports.promise=function(e,t,n){"function"==typeof e&&(n=t,t=e,e=null);var i=Vm(e,(function(e,n){t.call(this,e).then((function(e){n(null,e)}),n)}),n),o=i.push,a=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(Km),t},i.unshift=function(e){var t=new Promise((function(t,n){a(e,(function(e,i){e?n(e):t(i)}))}));return t.catch(Km),t},i.drained=function(){if(i.idle())return new Promise((function(e){e()}));var e=i.drain;return new Promise((function(t){i.drain=function(){e(),t()}}))},i};var Qm=Wm.exports,Jm={};Object.defineProperty(Jm,"__esModule",{value:!0}),Jm.joinPathSegments=Jm.replacePathSegmentSeparator=Jm.isAppliedFilter=Jm.isFatalError=void 0,Jm.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},Jm.isAppliedFilter=function(e,t){return null===e||e(t)},Jm.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},Jm.joinPathSegments=function(e,t,n){return""===e?t:e.endsWith(n)?e+t:e+n+t};var Zm={};Object.defineProperty(Zm,"__esModule",{value:!0});const Xm=Jm;Zm.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=Xm.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}},Object.defineProperty(Wf,"__esModule",{value:!0});const eh=k,th=Gf,nh=Qm,ih=Jm,oh=Zm;class ah extends oh.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=th.scandir,this._emitter=new eh.EventEmitter,this._queue=nh(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&&ih.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=ih.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),ih.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&ih.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}Wf.default=ah,Object.defineProperty(qf,"__esModule",{value:!0});const sh=Wf;qf.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new sh.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 rh={};Object.defineProperty(rh,"__esModule",{value:!0});const ch=p,lh=Wf;rh.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new lh.default(this._root,this._settings),this._stream=new ch.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 ph={},uh={};Object.defineProperty(uh,"__esModule",{value:!0});const dh=Gf,fh=Jm,mh=Zm;class hh extends mh.default{constructor(){super(...arguments),this._scandir=dh.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(fh.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=fh.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),fh.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&fh.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}uh.default=hh,Object.defineProperty(ph,"__esModule",{value:!0});const vh=uh;ph.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new vh.default(this._root,this._settings)}read(){return this._reader.read()}};var xh={};Object.defineProperty(xh,"__esModule",{value:!0});const gh=m,bh=Gf;xh.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,gh.sep),this.fsScandirSettings=new bh.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(Hf,"__esModule",{value:!0}),Hf.Settings=Hf.walkStream=Hf.walkSync=Hf.walk=void 0;const yh=qf,_h=rh,wh=ph,Eh=xh;function kh(e={}){return e instanceof Eh.default?e:new Eh.default(e)}Hf.Settings=Eh.default,Hf.walk=function(e,t,n){"function"!=typeof t?new yh.default(e,kh(t)).read(n):new yh.default(e,kh()).read(t)},Hf.walkSync=function(e,t){const n=kh(t);return new wh.default(e,n).read()},Hf.walkStream=function(e,t){const n=kh(t);return new _h.default(e,n).read()};var Sh={};Object.defineProperty(Sh,"__esModule",{value:!0});const Ah=m,Th=Kf,Rh=mu;Sh.default=class{constructor(e){this._settings=e,this._fsStatSettings=new Th.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return Ah.resolve(this._settings.cwd,e)}_makeEntry(e,t){const n={name:t,path:t,dirent:Rh.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!Rh.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};var Ch={};Object.defineProperty(Ch,"__esModule",{value:!0});const Oh=p,jh=Kf,Ph=Hf,Lh=Sh;class Ih extends Lh.default{constructor(){super(...arguments),this._walkStream=Ph.walkStream,this._stat=jh.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),i=new Oh.PassThrough({objectMode:!0});i._write=(o,a,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)))}))}}Ch.default=Ih,Object.defineProperty(Bf,"__esModule",{value:!0});const Nh=Hf,Dh=Sh,Fh=Ch;class Mh extends Dh.default{constructor(){super(...arguments),this._walkAsync=Nh.walk,this._readerStream=new Fh.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)))}))}}Bf.default=Mh;var $h={},Uh={},zh={},Bh={};Object.defineProperty(Bh,"__esModule",{value:!0});const Hh=mu;Bh.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 Hh.pattern.getPatternParts(e,this._micromatchOptions).map((e=>Hh.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:Hh.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return Hh.array.splitWhen(e,(e=>e.dynamic&&Hh.pattern.hasGlobStar(e.pattern)))}},Object.defineProperty(zh,"__esModule",{value:!0});const qh=Bh;class Wh extends qh.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}}zh.default=Wh,Object.defineProperty(Uh,"__esModule",{value:!0});const Gh=mu,Vh=zh;Uh.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 Vh.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(Gh.pattern.isAffectDepthOfReadingPattern);return Gh.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=Gh.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!Gh.pattern.matchAny(e,t)}};var Kh={};Object.defineProperty(Kh,"__esModule",{value:!0});const Yh=mu;Kh.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=Yh.pattern.convertPatternsToRe(e,this._micromatchOptions),i=Yh.pattern.convertPatternsToRe(t,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return e=>this._filter(e,n,i)}_filter(e,t,n){const i=Yh.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(),a=this._isMatchToPatterns(i,t,o)&&!this._isMatchToPatterns(i,n,o);return this._settings.unique&&a&&this._createIndexRecord(i),a}_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=Yh.path.makeAbsolute(this._settings.cwd,e);return Yh.pattern.matchAny(n,t)}_isMatchToPatterns(e,t,n){const i=Yh.pattern.matchAny(e,t);return!i&&n?Yh.pattern.matchAny(e+"/",t):i}};var Qh={};Object.defineProperty(Qh,"__esModule",{value:!0});const Jh=mu;Qh.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return Jh.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};var Zh={};Object.defineProperty(Zh,"__esModule",{value:!0});const Xh=mu;Zh.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=Xh.path.makeAbsolute(this._settings.cwd,t),t=Xh.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}},Object.defineProperty($h,"__esModule",{value:!0});const ev=m,tv=Uh,nv=Kh,iv=Qh,ov=Zh;$h.default=class{constructor(e){this._settings=e,this.errorFilter=new iv.default(this._settings),this.entryFilter=new nv.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new tv.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new ov.default(this._settings)}_getRootDirectory(e){return ev.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(zf,"__esModule",{value:!0});const av=Bf,sv=$h;class rv extends sv.default{constructor(){super(...arguments),this._reader=new av.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)}}zf.default=rv;var cv={};Object.defineProperty(cv,"__esModule",{value:!0});const lv=p,pv=Ch,uv=$h;class dv extends uv.default{constructor(){super(...arguments),this._reader=new pv.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),i=this.api(t,e,n),o=new lv.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)}}cv.default=dv;var fv={},mv={};Object.defineProperty(mv,"__esModule",{value:!0});const hv=Kf,vv=Hf,xv=Sh;class gv extends xv.default{constructor(){super(...arguments),this._walkSync=vv.walkSync,this._statSync=hv.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)}}mv.default=gv,Object.defineProperty(fv,"__esModule",{value:!0});const bv=mv,yv=$h;class _v extends yv.default{constructor(){super(...arguments),this._reader=new bv.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)}}fv.default=_v;var wv={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const t=c,n=v,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)}}}(wv);const Ev=fu,kv=zf,Sv=cv,Av=fv,Tv=wv,Rv=mu;async function Cv(e,t){jv(e);const n=Ov(e,kv.default,t),i=await Promise.all(n);return Rv.array.flatten(i)}function Ov(e,t,n){const i=[].concat(e),o=new Tv.default(n),a=Ev.generate(i,o),s=new t(o);return a.map(s.read,s)}function jv(e){if(![].concat(e).every((e=>Rv.string.isString(e)&&!Rv.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){function t(e,t){jv(e);const n=Ov(e,Av.default,t);return Rv.array.flatten(n)}function n(e,t){jv(e);const n=Ov(e,Sv.default,t);return Rv.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){jv(e);const n=[].concat(e),i=new Tv.default(t);return Ev.generate(n,i)},e.isDynamicPattern=function(e,t){jv(e);const n=new Tv.default(t);return Rv.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return jv(e),Rv.path.escape(e)},e.convertPathToPattern=function(e){return jv(e),Rv.path.convertPathToPattern(e)},(i=e.posix||(e.posix={})).escapePath=function(e){return jv(e),Rv.path.escapePosixPath(e)},i.convertPathToPattern=function(e){return jv(e),Rv.path.convertPosixPathToPattern(e)},(o=e.win32||(e.win32={})).escapePath=function(e){return jv(e),Rv.path.escapeWindowsPath(e)},o.convertPathToPattern=function(e){return jv(e),Rv.path.convertWindowsPathToPattern(e)}}(Cv||(Cv={}));var Pv=tt(Cv),Lv={exports:{}},Iv={};const{promisify:Nv}=d,Dv=c;async function Fv(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await Nv(Dv[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function Mv(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return Dv[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}Iv.isFile=Fv.bind(null,"stat","isFile"),Iv.isDirectory=Fv.bind(null,"stat","isDirectory"),Iv.isSymlink=Fv.bind(null,"lstat","isSymbolicLink"),Iv.isFileSync=Mv.bind(null,"statSync","isFile"),Iv.isDirectorySync=Mv.bind(null,"statSync","isDirectory"),Iv.isSymlinkSync=Mv.bind(null,"lstatSync","isSymbolicLink");const $v=m,Uv=Iv,zv=e=>e.length>1?`{${e.join(",")}}`:e[0],Bv=(e,t)=>{const n="!"===e[0]?e.slice(1):e;return $v.isAbsolute(n)?n:$v.join(t,n)},Hv=(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=>$v.posix.join(e,((e,t)=>$v.extname(e)?`**/${e}`:`**/${e}.${zv(t)}`)(n,t.extensions)))):t.files?t.files.map((t=>$v.posix.join(e,`**/${t}`))):t.extensions?[$v.posix.join(e,`**/*.${zv(t.extensions)}`)]:[$v.posix.join(e,"**")]};Lv.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 Uv.isDirectory(Bv(e,t.cwd))?Hv(e,t):e)));return[].concat.apply([],n)},Lv.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=>Uv.isDirectorySync(Bv(e,t.cwd))?Hv(e,t):e));return[].concat.apply([],n)};var qv=tt(Lv.exports);function Wv(e){return Array.isArray(e)?e:[e]}const Gv=/^\s+$/,Vv=/(?:[^\\]|^)\\$/,Kv=/^\\!/,Yv=/^\\#/,Qv=/\r?\n/g,Jv=/^\.*\/|^\.+$/;let Zv="node-ignore";"undefined"!=typeof Symbol&&(Zv=Symbol.for("node-ignore"));const Xv=Zv,ex=/([0-z])-([0-z])/g,tx=()=>!1,nx=[[/^\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(ex,((e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:"")))(n)}${i}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],ix=Object.create(null),ox=e=>"string"==typeof e;class ax{constructor(e,t,n,i){this.origin=e,this.pattern=t,this.negative=n,this.regex=i}}const sx=(e,t)=>{const n=e;let i=!1;0===e.indexOf("!")&&(i=!0,e=e.substr(1));const o=((e,t)=>{let n=ix[e];return n||(n=nx.reduce(((t,[n,i])=>t.replace(n,i.bind(e))),e),ix[e]=n),t?new RegExp(n,"i"):new RegExp(n)})(e=e.replace(Kv,"!").replace(Yv,"#"),t);return new ax(n,e,i,o)},rx=(e,t)=>{throw new t(e)},cx=(e,t,n)=>{if(!ox(e))return n(`path must be a string, but got \`${t}\``,TypeError);if(!e)return n("path must not be empty",TypeError);if(cx.isNotRelative(e)){return n(`path should be a ${"`path.relative()`d"} string, but got "${t}"`,RangeError)}return!0},lx=e=>Jv.test(e);cx.isNotRelative=lx,cx.convert=e=>e;class px{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){var i,o,a;i=this,o=Xv,a=!0,Object.defineProperty(i,o,{value:a}),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[Xv])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&ox(e)&&!Gv.test(e)&&!Vv.test(e)&&0!==e.indexOf("#"))(e)){const t=sx(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,Wv(ox(e)?(e=>e.split(Qv))(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:a}=o;if(i===a&&n!==i||a&&!n&&!i&&!t)return;o.regex.test(e)&&(n=!a,i=a)})),{ignored:n,unignored:i}}_test(e,t,n,i){const o=e&&cx.convert(e);return cx(o,e,this._allowRelativePaths?tx:rx),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 Wv(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const ux=e=>new px(e);ux.isPathValid=e=>cx(e&&cx.convert(e),e,tx),ux.default=ux;var dx=ux;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,"/");cx.convert=e;const t=/^[a-z]:\//i;cx.isNotRelative=e=>t.test(e)||lx(e)}var fx=tt(dx);function mx(e){const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}const hx=e=>e instanceof URL?C(e):e;class vx extends O{constructor(e){super({objectMode:!0,transform(t,n,i){i(void 0,e(t)?t:void 0)}})}}const xx=e=>"!"===e[0],gx={ignore:["**/node_modules","**/flow-typed","**/coverage","**/.git"],absolute:!0,dot:!0},bx=(t,n)=>{const i=mx(e.relative(n,e.dirname(t.filePath)));return t.content.split(/\r?\n/).filter((e=>e&&!e.startsWith("#"))).map((t=>((t,n)=>xx(t)?"!"+e.posix.join(n,t.slice(1)):e.posix.join(n,t))(t,i)))},yx=(t,n)=>{const i=t.flatMap((e=>bx(e,n))),o=fx().add(i);return t=>(t=((t,n)=>{if(n=mx(n),e.isAbsolute(t)){if(mx(t).startsWith(n))return e.relative(n,t);throw new Error(`Path ${t} is not in cwd ${n}`)}return t})(t=hx(t),n),!!t&&o.ignores(mx(t)))},_x=(e,t)=>{const{cwd:i,suppressErrors:o,deep:a}=((e={})=>({cwd:hx(e.cwd)||R.cwd(),suppressErrors:Boolean(e.suppressErrors),deep:"number"==typeof e.deep?e.deep:Number.POSITIVE_INFINITY}))(t),s=Pv.sync(e,{cwd:i,suppressErrors:o,deep:a,...gx}).map((e=>({filePath:e,content:n.readFileSync(e,"utf8")})));return yx(s,i)},wx=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),Ex=(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:hx(e.cwd)}),e),kx=e=>{const t=(e=>{const{ignoreFiles:t,gitignore:n}=e,i=t?wx(t):[];return n&&i.push("**/.gitignore"),i})(e);return Sx(t.length>0&&_x(t,e))},Sx=t=>{const n=new Set;return i=>{const o=i.path||i,a=e.normalize(o),s=n.has(a)||t&&t(o);return n.add(a),!s}},Ax=(e,t)=>{const n=((e,t)=>{const n=[];for(;e.length>0;){const i=e.findIndex((e=>xx(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 a=((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=qv.sync(t,a),n.ignore=qv.sync(n.ignore,s),{patterns:t,options:n}}))},Tx=(Rx=(e,t)=>{const n=Ax(e,t),i=kx(t);return((e,t)=>du(e).pipe(new vx((e=>t(e)))))(n.map((e=>Pv.stream(e.patterns,e.options))),i)},(e,t)=>Rx(wx(e),Ex(t)));var Rx;const Cx=[{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 Ox{static default=new Ox;entries=[];static{for(const e of Cx)Ox.default.registerLanguage(e.id,e)}registerLanguage(t,n){const i=(t=>{const{extensions:n,names:i,patterns:o,firstLine:a}=t,s=a?new RegExp(a):null,r=o?ru(o.map((e=>e.includes("/")?`**/${e}`:e))):null;return(t,o)=>!!(n&&n.includes(e.extname(t))||i&&i.includes(t)||r&&r(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 jx=10,Px=10,Lx=5,Ix=2,Nx=20,Dx=30;function Fx(e){return e.split("/").reduce(((e,t)=>t.includes("**")?e+Ix:t.includes("*")?e+Lx:e+Px),0)}class Mx{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,Fx(e));for(const e of this.selector.workspaceFile??[])this.globWeights.set(e,Fx(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)?jx:0}async matchActiveFilePath(e,t){if(!this.selector.activeFilePath?.length)return null;const n={cwd:e,matchBase:!0,returnIndex:!0},i=ru(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*Nx}async matchSelectedContent(e){if(!this.selector.selectedContent?.length)return null;return this.selector.selectedContent.filter((t=>e.selectedCode.includes(t))).length*Nx}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 Dx;return 0}}function $x(e,t){return e.pluginName===t.pluginName&&e.capabilityName===t.capabilityName}const Ux=["Fallback","Prompt","Skill"];function zx(e){return Ux.includes(e)}const Bx=["Prompt","Skill"];function Hx(e){return Bx.includes(e)}function qx(e){return["Prompt","Skill"].includes(e)}function Wx(){const e="win32"===v.platform();if(process.env.PLATFORM===cl.INTERNAL&&!e){const e="/home/opt/deck/1.0/git/2.32.0/bin:",t=`${v.homedir()}/.deck/2.0/devel/bin:`;process.env.PATH=`/opt/rh/rh-git227/root/usr/bin:${e}${t}${process.env.PATH}`}e&&(process.env.PATH=`${process.env.PATH};C:\\Program Files\\Git\\bin`)}const Gx="COMATE_PLUS_CHAT_QUERY",Vx="COMATE_PLUS_CHAT_CANCEL",Kx="COMATE_PLUS_CUSTOM_COMMAND",Yx="COMATE_PLUS_AGENT_COMMAND",Qx="COMATE_PLUS_WEBVIEW_INIT_DATA",Jx="COMATE_PLUS_DRAW_CHAT_UPDATE",Zx="COMATE_PLUS_DRAW_CHAT_APPEND",Xx="COMATE_PLUS_DRAW_CHAT_FINISH",eg="COMATE_PLUS_DRAW_CHAT_FAIL",tg="REQUEST_PERMISSION",ng="COMATE_PLUS_QUERY_SELECTOR",ig="USER_DETAIL",og="COMATE_PLUS_INITIALIZED",ag="ENGINE_PROCESS_START_SUCCESS",sg="USER_DETAIL_ERROR",rg="COMATE_PLUS_AGENT_NOTIFICATION",cg="COMATE_LSP_WORKSPACE_FOLDERS",lg="COMATE_LSP_REMOTE_CONSOLE",pg="COMATE_PLUS_SECTION_CHAT_UPDATE",ug="COMATE_PLUS_RECREATE_INDEX",dg="COMATE_PLUS_CODE_SEARCH",fg="COMATE_PLUS_ACCEPT_DIR",mg="ACTION_COMATE_SMART_APPLY",hg="kernel/chatSession/list",vg="kernel/chatSession/save",xg="kernel/chatSession/delete",gg="kernel/chatSession/find",bg="COMATE_GET_AGENT_TASKS",yg="COMATE_ADD_AGENT_TASK",_g="COMATE_SET_FOREGROUND_TASK",wg="COMATE_UPDATE_AGENT_TASK_MESSAGES",Eg="ACTION_MOCK_VIRTUAL_EDITOR_EVENT",kg="ACTION_COMPOSER",Sg="COMATE_AGENT_DEBUG_CUSTOM_ACTION",Ag="COMATE_ADD_CACHE",Tg="COMATE_GET_CACHE",Rg="kernel/promptTemplate/list",Cg="kernel/promptTemplate/create",Og="kernel/promptTemplate/update",jg="kernel/promptTemplate/delete",Pg="ENGINE_SERVICE_INITIALIZED",Lg="RULE_PANEL_ACTION_EVENT",Ig="UPDATE_RULE_PANEL_EVENT";function Ng(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Dg={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function Fg(e){Dg=e}const Mg=/[&<>"']/,$g=new RegExp(Mg.source,"g"),Ug=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,zg=new RegExp(Ug.source,"g"),Bg={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Hg=e=>Bg[e];function qg(e,t){if(t){if(Mg.test(e))return e.replace($g,Hg)}else if(Ug.test(e))return e.replace(zg,Hg);return e}const Wg=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Gg(e){return e.replace(Wg,((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 Vg=/(^|[^\[])\^/g;function Kg(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(Vg,"$1"),n=n.replace(e,o),i},getRegex:()=>new RegExp(n,t)};return i}function Yg(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}const Qg={exec:()=>null};function Jg(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 Zg(e,t,n){const i=e.length;if(0===i)return"";let o=0;for(;o<i;){const a=e.charAt(i-o-1);if(a!==t||n){if(a===t||!n)break;o++}else o++}return e.slice(0,i-o)}function Xg(e,t,n,i){const o=t.href,a=t.title?qg(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:a,text:s,tokens:i.inlineTokens(s)};return i.state.inLink=!1,e}return{type:"image",raw:n,href:o,title:a,text:qg(s)}}class eb{options;rules;lexer;constructor(e){this.options=e||Dg}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:Zg(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=Zg(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=Zg(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 a=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let s="",r="",c=!1;for(;e;){let n=!1;if(!(t=a.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,r=i.trimStart()):(p=t[2].search(/[^ ]/),p=p>4?1:p,r=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)}}(?:\`\`\`|~~~)`),a=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(a.test(l))break;if(t.test(l))break;if(n.test(e))break;if(l.search(/[^ ]/)>=p||!l.trim())r+="\n"+l.slice(p);else{if(u)break;if(i.search(/[^ ]/)>=4)break;if(o.test(i))break;if(a.test(i))break;if(n.test(i))break;r+="\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(r),f&&(d="[ ] "!==f[0],r=r.replace(/^\[[ xX]\] +/,""))),o.items.push({type:"list_item",raw:s,task:!!f,checked:d,loose:!1,text:r,tokens:[]}),o.raw+=s}o.items[o.items.length-1].raw=s.trimEnd(),o.items[o.items.length-1].text=r.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=Jg(t[1]),i=t[2].replace(/^\||\| *$/g,"").split("|"),o=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],a={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const e of i)/^ *-+: *$/.test(e)?a.align.push("right"):/^ *:-+: *$/.test(e)?a.align.push("center"):/^ *:-+ *$/.test(e)?a.align.push("left"):a.align.push(null);for(const e of n)a.header.push({text:e,tokens:this.lexer.inline(e)});for(const e of o)a.rows.push(Jg(e,a.header.length).map((e=>({text:e,tokens:this.lexer.inline(e)}))));return a}}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:qg(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=Zg(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)),Xg(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 Xg(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,a,s=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(o=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!o)continue;if(a=[...o].length,i[3]||i[4]){s+=a;continue}if((i[5]||i[6])&&n%3&&!((n+a)%3)){r+=a;continue}if(s-=a,s>0)continue;a=Math.min(a,a+s+r);const t=[...i[0]][0].length,c=e.slice(0,n+i.index+t+a);if(Math.min(n,a)%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=qg(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=qg(t[1]),n="mailto:"+e):(e=qg(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=qg(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=qg(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]:qg(t[0]),{type:"text",raw:t[0],text:e}}}}const tb=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,nb=/(?:[*+-]|\d{1,9}[.)])/,ib=Kg(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,nb).getRegex(),ob=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,ab=/(?!\s*\])(?:\\.|[^\[\]\\])+/,sb=Kg(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",ab).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),rb=Kg(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,nb).getRegex(),cb="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",lb=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,pb=Kg("^ {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",lb).replace("tag",cb).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ub=Kg(ob).replace("hr",tb).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",cb).getRegex(),db={blockquote:Kg(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ub).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:sb,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:tb,html:pb,lheading:ib,list:rb,newline:/^(?: *(?:\n|$))+/,paragraph:ub,table:Qg,text:/^[^\n]+/},fb=Kg("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",tb).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",cb).getRegex(),mb={...db,table:fb,paragraph:Kg(ob).replace("hr",tb).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",fb).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",cb).getRegex()},hb={...db,html:Kg("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",lb).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:Qg,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Kg(ob).replace("hr",tb).replace("heading"," *#{1,6} *[^\n]").replace("lheading",ib).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},vb=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,xb=/^( {2,}|\\)\n(?!\s*$)/,gb="\\p{P}$+<=>`^|~",bb=Kg(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,gb).getRegex(),yb=Kg(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,gb).getRegex(),_b=Kg("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,gb).getRegex(),wb=Kg("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,gb).getRegex(),Eb=Kg(/\\([punct])/,"gu").replace(/punct/g,gb).getRegex(),kb=Kg(/^<(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(),Sb=Kg(lb).replace("(?:--\x3e|$)","--\x3e").getRegex(),Ab=Kg("^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",Sb).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Tb=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Rb=Kg(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Tb).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Cb=Kg(/^!?\[(label)\]\[(ref)\]/).replace("label",Tb).replace("ref",ab).getRegex(),Ob=Kg(/^!?\[(ref)\](?:\[\])?/).replace("ref",ab).getRegex(),jb={_backpedal:Qg,anyPunctuation:Eb,autolink:kb,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:xb,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Qg,emStrongLDelim:yb,emStrongRDelimAst:_b,emStrongRDelimUnd:wb,escape:vb,link:Rb,nolink:Ob,punctuation:bb,reflink:Cb,reflinkSearch:Kg("reflink|nolink(?!\\()","g").replace("reflink",Cb).replace("nolink",Ob).getRegex(),tag:Ab,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Qg},Pb={...jb,link:Kg(/^!?\[(label)\]\((.*?)\)/).replace("label",Tb).getRegex(),reflink:Kg(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Tb).getRegex()},Lb={...jb,escape:Kg(vb).replace("])","~|])").getRegex(),url:Kg(/^((?: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.!#$%&'*+\/=?_`{\|}~-]+@)))/},Ib={...Lb,br:Kg(xb).replace("{2,}","*").getRegex(),text:Kg(Lb.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Nb={normal:db,gfm:mb,pedantic:hb},Db={normal:jb,gfm:Lb,breaks:Ib,pedantic:Pb};class Fb{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Dg,this.options.tokenizer=this.options.tokenizer||new eb,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:Nb.normal,inline:Db.normal};this.options.pedantic?(t.block=Nb.pedantic,t.inline=Db.pedantic):this.options.gfm&&(t.block=Nb.gfm,this.options.breaks?t.inline=Db.breaks:t.inline=Db.gfm),this.tokenizer.rules=t}static get rules(){return{block:Nb,inline:Db}}static lex(e,t){return new Fb(t).lex(e)}static lexInline(e,t){return new Fb(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,a;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],a&&"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),a=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,a,s,r,c=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(c));)e.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(c=c.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(c));)c=c.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+c.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(c));)c=c.slice(0,a.index)+"++"+c.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(s||(r=""),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,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(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)&&(r=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 Mb{options;constructor(e){this.options=e||Dg}code(e,t,n){const i=(t||"").match(/^\S*/)?.[0];return e=e.replace(/\n$/,"")+"\n",i?'<pre><code class="language-'+qg(i)+'">'+(n?e:qg(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:qg(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=Yg(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=Yg(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 $b{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 Ub{options;renderer;textRenderer;constructor(e){this.options=e||Dg,this.options.renderer=this.options.renderer||new Mb,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new $b}static parse(e,t){return new Ub(t).parse(e)}static parseInline(e,t){return new Ub(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,Gg(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 a="";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]});a+=this.renderer.tablerow(i)}n+=this.renderer.table(t,a);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,a=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 r="";if(n.task){const e=this.renderer.checkbox(!!i);a?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,a),s+=this.renderer.listitem(r,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 a=o,s=a.tokens?this.parseInline(a.tokens):a.text;for(;i+1<e.length&&"text"===e[i+1].type;)a=e[++i],s+="\n"+(a.tokens?this.parseInline(a.tokens):a.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 zb{options;constructor(e){this.options=e||Dg}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}const Bb=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(Fb.lex,Ub.parse);parseInline=this.#e(Fb.lexInline,Ub.parseInline);Parser=Ub;Renderer=Mb;TextRenderer=$b;Lexer=Fb;Tokenizer=eb;Hooks=zb;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 Mb(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],a=t[i];t[i]=(...e)=>{let n=o.apply(t,e);return!1===n&&(n=a.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new eb(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],a=t[i];t[i]=(...e)=>{let n=o.apply(t,e);return!1===n&&(n=a.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new zb;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],a=t[i];zb.passThroughHooks.has(n)?t[i]=e=>{if(this.defaults.async)return Promise.resolve(o.call(t,e)).then((e=>a.call(t,e)));const n=o.call(t,e);return a.call(t,n)}:t[i]=(...e)=>{let n=o.apply(t,e);return!1===n&&(n=a.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 Fb.lex(e,t??this.defaults)}parser(e,t){return Ub.parse(e,t??this.defaults)}#e(e,t){return(n,i)=>{const o={...i},a={...this.defaults,...o};!0===this.defaults.async&&!1===o.async&&(a.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),a.async=!0);const s=this.#t(!!a.silent,!!a.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(a.hooks&&(a.hooks.options=a),a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(n):n).then((t=>e(t,a))).then((e=>a.hooks?a.hooks.processAllTokens(e):e)).then((e=>a.walkTokens?Promise.all(this.walkTokens(e,a.walkTokens)).then((()=>e)):e)).then((e=>t(e,a))).then((e=>a.hooks?a.hooks.postprocess(e):e)).catch(s);try{a.hooks&&(n=a.hooks.preprocess(n));let i=e(n,a);a.hooks&&(i=a.hooks.processAllTokens(i)),a.walkTokens&&this.walkTokens(i,a.walkTokens);let o=t(i,a);return a.hooks&&(o=a.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>"+qg(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function Hb(e,t){return Bb.parse(e,t)}Hb.options=Hb.setOptions=function(e){return Bb.setOptions(e),Hb.defaults=Bb.defaults,Fg(Hb.defaults),Hb},Hb.getDefaults=Ng,Hb.defaults=Dg,Hb.use=function(...e){return Bb.use(...e),Hb.defaults=Bb.defaults,Fg(Hb.defaults),Hb},Hb.walkTokens=function(e,t){return Bb.walkTokens(e,t)},Hb.parseInline=Bb.parseInline,Hb.Parser=Ub,Hb.parser=Ub.parse,Hb.Renderer=Mb,Hb.TextRenderer=$b,Hb.Lexer=Fb,Hb.lexer=Fb.lex,Hb.Tokenizer=eb,Hb.Hooks=zb,Hb.parse=Hb,Hb.options,Hb.setOptions,Hb.use,Hb.walkTokens,Hb.parseInline,Ub.parse,Fb.lex;const qb=(e,t)=>`[\`${e}\`](${t.replace(/\s/g,"%20")})`,Wb=(e,t)=>`[${e}](${t.replace(/\s/g,"%20")})`,Gb=(e,t)=>{const n=e.tokens||[],i=e.raw.endsWith("\n");let o=!1;const a=n.reduce(((e,n)=>{if("text"===n.type)if(n.tokens?.length){const e=Gb(n,t);o=o||e.replaced}else try{n.raw=((e,t)=>{let n=e,i=!1;for(const[e,o]of Object.entries(t))i=i||n.includes(o.path),n=n.replaceAll(o.path,`@@PLACEHOLDER_${e}@@`);if(!i)throw new Error("Input did not match any path");return n.replaceAll(/([ ]?)@@PLACEHOLDER_([0-9]+)@@([ \n]?)/g,((...e)=>{const n=Number(e[2]),i=e[3],o=t[n];return"\n"===i?" "+Wb(o.path,o.raw)+"\n":" "+Wb(o.path,o.raw)+" "})).replace(/ $/,"")})(n.raw,t),o=!0}catch(e){}else if("codespan"===n.type){const e=/^\[([^\]]+)\]\(([^)]+)\)$/.exec(n.text);if(e&&e[1]&&e[2])o=!0,n.raw=qb(e[1],e[2]);else if(/^http(s?):\/\//.test(n.text))o=!0,n.raw=qb(n.text,n.text);else if(n.raw.includes(".")){const e=t.find((e=>e.path===n.text));e&&(o=!0,n.raw=qb(n.text,e.raw))}}return e+n.raw}),"");return o?(e.raw=a,i&&(e.raw+="\n"),{replaced:o,token:e}):{replaced:o,token:e}},Vb=(e,t,n=0)=>{const i=e.items||[],o=e.raw.endsWith("\n");let a=!1;const s=i.map((e=>{const i=/^(((\d+\.)|-|[a-z]\.|\*)[ ]?)(.*)/.exec(e.raw),o=e.tokens.map((i=>{if("text"===i.type){const n=Gb(e,t);a=a||n.replaced}else if("list"===i.type){const e=Vb(i,t,n+1);a=a||e.replaced}else if("codespan"===i.type){const n=Gb(e,t);a=a||n.replaced}return i.raw})).join("");if(i){const s=i[1],r=Gb(e,t);return a=a||r.replaced," ".repeat(n)+s+o}return o})).join("\n");return a?(e.raw=s,o&&(e.raw+="\n"),{replaced:a,token:e}):{replaced:a,token:e}},Kb=async(e,t)=>{if(!t.length)return e;const n=t.map((e=>({raw:e,path:h(e)}))),i=n.filter((e=>!t.includes(e.path)&&1===n.filter((t=>t.path===e.path)).length)),o=[...t.map((e=>({raw:e,path:e}))),...i].sort(((e,t)=>t.path.length-e.path.length)),a=Hb.lexer(e);await Hb.walkTokens(a,(e=>{"paragraph"===e.type?Gb(e,o):"list"===e.type&&Vb(e,o)}));const s=a.map((e=>e.raw)).join("");return s};async function Yb(e){const t=await Ll.get("/api/key/type/"+e);return t.data?.data}const Qb=e=>e.replace(/^\\t/g,"\t").replace(/\\"/g,'"').replace(/\\"/g,'"').replace(/\\\\n/g,"\\n"),Jb=e=>e.split(/\r?\n/),Zb=(e,t)=>{const n=e.indexOf((e=>{const t=/^[ ]+/.exec(e);return(t?.[0].length||0)%2==1?e.replace(/^\s/,""):e})(t));return-1===n?e.indexOf(t):n},Xb=e=>e?e.startsWith("-"):void 0,ey=e=>e?e.startsWith("+"):void 0,ty=e=>e.replace(/^-/,"").replace(/^\+/,""),ny=e=>e.map((e=>e.trimStart()));function iy(e,t,n){const i=Jb(e),o=(a=t.replace(/\n$/,""))?Jb(a).reduce(((e,t)=>t.startsWith("@@")&&/@@(.*)@@\s(.*)$/.exec(t)?(e.push("@@ ... @@"),e):(e.push(t),e)),[]):[];var a;let s=0;if((e=>!e.some((e=>{return Xb(e)||ey(e)||((t=e)?t.startsWith("@@"):void 0);var t})))(o)&&o.length!==i.length)return t;for(const[e,t]of o.entries())if(!(t.startsWith("---")||t.startsWith("+++")||t.startsWith("@@")))if(Xb(t)){if(Xb(o[e+1]))continue;const a=[Qb(ty(t))];let r=e;for(;Xb(o[r-1]);){const e=Qb(ty(o[r-1]));a.unshift(e),r-=1}let c=-1,l=0;for(;-1===c&&l<a.length;){const e=a[0],t=i.slice(s,i.length);c=Zb(ny(t),e.trimStart()),l+=1}if(-1!==c&&(s=s+c-(l-1),i.splice(s,a.length)),n.throwErrorWhenLineCanNotMathced)throw new Error("line not found")}else if(ey(t)){if(ey(o[e+1]))continue;const n=[Qb(ty(t))];let a=e;for(;ey(o[a-1]);){const e=Qb(ty(o[a-1]));n.unshift(e),a-=1}i.splice(s,0,...n),s+=n.length}else{const e=Qb(t),o=i.slice(s,i.length),a=Zb(ny(o),e.trimStart());if(-1!==a&&(s=s+a+1),n.throwErrorWhenLineCanNotMathced)throw new Error("line not found")}return n?.returnContentWhenDiffLineLoopFinish?i.slice(0,s).join(x):i.join(n.eol)}const oy=(e,t)=>t.reduce(((t,n,i)=>(e.trimStart()===n.trimStart()&&t.push(i),t)),[]),ay=(e,t)=>{const n=t.indexOf(e);if(-1!==n)return Math.max(0,t.slice(0,n).split(/\r?\n/).length-1);const i=t.split(/\r?\n/),o=e.split(/\r?\n/);for(const[e,t]of o.entries()){const n=oy(t,i);if(!(n.length>1))return 1===n.length?n[0]-e:-1;if(e===o.length-1)return n[0]-e}return-1},sy=e=>"string"==typeof e&&(e.startsWith("-")||e.startsWith(" ")||""===e),ry=(e,t)=>{const n=[],i=e.split(/\r?\n/);let o=null;for(let e=0;e<i.length;e++){const a=i[e];if(a.startsWith("@@")){if(o){const{oldStart:e,oldCount:t,newStart:i,newCount:a}=o,s=`@@ -${e},${t} +${i},${a} @@`;n.push(s,...o.lines)}o={oldStart:0,newStart:0,oldCount:0,newCount:0,lines:[]}}else if(o){if(a.startsWith("---")||a.startsWith("+++"))continue;if(a.startsWith("+"))o.lines.push(a);else if(sy(a)&&o){let n=1,s=a.replace(/^(-|\s)/,"");for(o.lines.push(a);"string"==typeof i[e+n]&&!i[e+n].startsWith("@@");)sy(i[e+n])&&(s+=`\n${i[e+n].replace(/^(-|\s)/,"")}`),o.lines.push(i[e+n]),n+=1;const r=ay(s,t);-1===r?o=null:(o.oldStart=r+1,o.oldCount=s.split(/\r?\n/).length,e=e+n-1)}}}if(o){const{oldStart:e,oldCount:t,newStart:i,newCount:a}=o,s=`@@ -${e},${t} +${i},${a} @@`;n.push(s,...o.lines)}return n.join("\n")};var cy={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__",a="__lodash_placeholder__",s=16,r=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",r],["partialRight",c],["rearg",p]],v="[object Arguments]",x="[object Array]",g="[object Boolean]",b="[object Date]",y="[object Error]",_="[object Function]",w="[object GeneratorFunction]",E="[object Map]",k="[object Number]",S="[object Object]",A="[object Promise]",T="[object RegExp]",R="[object Set]",C="[object String]",O="[object Symbol]",j="[object WeakMap]",P="[object ArrayBuffer]",L="[object DataView]",I="[object Float32Array]",N="[object Float64Array]",D="[object Int8Array]",F="[object Int16Array]",M="[object Int32Array]",$="[object Uint8Array]",U="[object Uint8ClampedArray]",z="[object Uint16Array]",B="[object Uint32Array]",H=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,V=/[&<>"']/g,K=RegExp(G.source),Y=RegExp(V.source),Q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,X=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ee=/^\w*$/,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(ne.source),oe=/^\s+/,ae=/\s/,se=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,re=/\{\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,ve=/^\[object .+?Constructor\]$/,xe=/^0o[0-7]+$/i,ge=/^(?:0|[1-9]\d*)$/,be=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ye=/($^)/,_e=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",Ee="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ke="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",Ae="A-Z\\xc0-\\xd6\\xd8-\\xde",Te="\\ufe0e\\ufe0f",Re="\\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="['’]",Oe="["+we+"]",je="["+Re+"]",Pe="["+Ee+"]",Le="\\d+",Ie="["+ke+"]",Ne="["+Se+"]",De="[^"+we+Re+Le+ke+Se+Ae+"]",Fe="\\ud83c[\\udffb-\\udfff]",Me="[^"+we+"]",$e="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Ae+"]",Be="\\u200d",He="(?:"+Ne+"|"+De+")",qe="(?:"+ze+"|"+De+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",Ge="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ve="(?:"+Pe+"|"+Fe+")"+"?",Ke="["+Te+"]?",Ye=Ke+Ve+("(?:"+Be+"(?:"+[Me,$e,Ue].join("|")+")"+Ke+Ve+")*"),Qe="(?:"+[Ie,$e,Ue].join("|")+")"+Ye,Je="(?:"+[Me+Pe+"?",Pe,$e,Ue,Oe].join("|")+")",Ze=RegExp(Ce,"g"),Xe=RegExp(Pe,"g"),tt=RegExp(Fe+"(?="+Fe+")|"+Je+Ye,"g"),nt=RegExp([ze+"?"+Ne+"+"+We+"(?="+[je,ze,"$"].join("|")+")",qe+"+"+Ge+"(?="+[je,ze+He,"$"].join("|")+")",ze+"?"+He+"+"+We,ze+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Le,Qe].join("|"),"g"),it=RegExp("["+Be+we+Ee+Te+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["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,rt={};rt[I]=rt[N]=rt[D]=rt[F]=rt[M]=rt[$]=rt[U]=rt[z]=rt[B]=!0,rt[v]=rt[x]=rt[P]=rt[g]=rt[L]=rt[b]=rt[y]=rt[_]=rt[E]=rt[k]=rt[S]=rt[T]=rt[R]=rt[C]=rt[j]=!1;var ct={};ct[v]=ct[x]=ct[P]=ct[L]=ct[g]=ct[b]=ct[I]=ct[N]=ct[D]=ct[F]=ct[M]=ct[E]=ct[k]=ct[S]=ct[T]=ct[R]=ct[C]=ct[O]=ct[$]=ct[U]=ct[z]=ct[B]=!0,ct[y]=ct[_]=ct[j]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},pt=parseFloat,ut=parseInt,dt="object"==typeof et&&et&&et.Object===Object&&et,ft="object"==typeof self&&self&&self.Object===Object&&self,mt=dt||ft||Function("return this")(),ht=t&&!t.nodeType&&t,vt=ht&&e&&!e.nodeType&&e,xt=vt&&vt.exports===ht,gt=xt&&dt.process,bt=function(){try{var e=vt&&vt.require&&vt.require("util").types;return e||gt&&gt.binding&&gt.binding("util")}catch(e){}}(),yt=bt&&bt.isArrayBuffer,_t=bt&&bt.isDate,wt=bt&&bt.isMap,Et=bt&&bt.isRegExp,kt=bt&&bt.isSet,St=bt&&bt.isTypedArray;function At(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,a=null==e?0:e.length;++o<a;){var s=e[o];t(i,s,n(s),e)}return i}function Rt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function Ct(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ot(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,a=[];++n<i;){var s=e[n];t(s,n,e)&&(a[o++]=s)}return a}function Pt(e,t){return!!(null==e?0:e.length)&&Bt(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 Dt(e,t,n,i){var o=-1,a=null==e?0:e.length;for(i&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}function Ft(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 Mt(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 $t=Gt("length");function Ut(e,t,n){var i;return n(e,(function(e,n,o){if(t(e,n,o))return i=n,!1})),i}function zt(e,t,n,i){for(var o=e.length,a=n+(i?1:-1);i?a--:++a<o;)if(t(e[a],a,e))return a;return-1}function Bt(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):zt(e,qt,n)}function Ht(e,t,n,i){for(var o=n-1,a=e.length;++o<a;)if(i(e[o],t))return o;return-1}function qt(e){return e!=e}function Wt(e,t){var n=null==e?0:e.length;return n?Yt(e,t)/n:f}function Gt(e){return function(t){return null==t?n:t[e]}}function Vt(e){return function(t){return null==e?n:e[t]}}function Kt(e,t,n,i,o){return o(e,(function(e,o,a){n=i?(i=!1,e):t(n,e,o,a)})),n}function Yt(e,t){for(var i,o=-1,a=e.length;++o<a;){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 Jt(e){return e?e.slice(0,hn(e)+1).replace(oe,""):e}function Zt(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&&Bt(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length;n--&&Bt(t,e[n],0)>-1;);return n}var on=Vt({"À":"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"}),an=Vt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function sn(e){return"\\"+lt[e]}function rn(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 r=e[n];r!==t&&r!==a||(e[n]=a,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 rn(e)?function(e){var t=tt.lastIndex=0;for(;tt.test(e);)++t;return t}(e):$t(e)}function mn(e){return rn(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.split("")}(e)}function hn(e){for(var t=e.length;t--&&ae.test(e.charAt(t)););return t}var vn=Vt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var xn=function e(t){var ae,we=(t=null==t?mt:xn.defaults(mt.Object(),t,xn.pick(mt,at))).Array,Ee=t.Date,ke=t.Error,Se=t.Function,Ae=t.Math,Te=t.Object,Re=t.RegExp,Ce=t.String,Oe=t.TypeError,je=we.prototype,Pe=Se.prototype,Le=Te.prototype,Ie=t["__core-js_shared__"],Ne=Pe.toString,De=Le.hasOwnProperty,Fe=0,Me=(ae=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||""))?"Symbol(src)_1."+ae:"",$e=Le.toString,Ue=Ne.call(Te),ze=mt._,Be=Re("^"+Ne.call(De).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=xt?t.Buffer:n,qe=t.Symbol,We=t.Uint8Array,Ge=He?He.allocUnsafe:n,Ve=ln(Te.getPrototypeOf,Te),Ke=Te.create,Ye=Le.propertyIsEnumerable,Qe=je.splice,Je=qe?qe.isConcatSpreadable:n,et=qe?qe.iterator:n,tt=qe?qe.toStringTag:n,it=function(){try{var e=fa(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=Ae.ceil,vt=Ae.floor,gt=Te.getOwnPropertySymbols,bt=He?He.isBuffer:n,$t=t.isFinite,Vt=je.join,gn=ln(Te.keys,Te),bn=Ae.max,yn=Ae.min,_n=Ee.now,wn=t.parseInt,En=Ae.random,kn=je.reverse,Sn=fa(t,"DataView"),An=fa(t,"Map"),Tn=fa(t,"Promise"),Rn=fa(t,"Set"),Cn=fa(t,"WeakMap"),On=fa(Te,"create"),jn=Cn&&new Cn,Pn={},Ln=$a(Sn),In=$a(An),Nn=$a(Tn),Dn=$a(Rn),Fn=$a(Cn),Mn=qe?qe.prototype:n,$n=Mn?Mn.valueOf:n,Un=Mn?Mn.toString:n;function zn(e){if(nr(e)&&!Ws(e)&&!(e instanceof Wn)){if(e instanceof qn)return e;if(De.call(e,"__wrapped__"))return Ua(e)}return new qn(e)}var Bn=function(){function e(){}return function(t){if(!tr(t))return{};if(Ke)return Ke(t);e.prototype=t;var i=new e;return e.prototype=n,i}}();function Hn(){}function qn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function Wn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Gn(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 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 Yn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Kn;++t<n;)this.add(e[t])}function Qn(e){var t=this.__data__=new Vn(e);this.size=t.size}function Jn(e,t){var n=Ws(e),i=!n&&qs(e),o=!n&&!i&&Ys(e),a=!n&&!i&&!o&&pr(e),s=n||i||o||a,r=s?Qt(e.length,Ce):[],c=r.length;for(var l in e)!t&&!De.call(e,l)||s&&("length"==l||o&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ya(l,c))||r.push(l);return r}function Zn(e){var t=e.length;return t?e[Yi(0,t-1)]:n}function Xn(e,t){return Da(jo(e),ci(t,0,e.length))}function ei(e){return Da(jo(e))}function ti(e,t,i){(i!==n&&!zs(e[t],i)||i===n&&!(t in e))&&si(e,t,i)}function ni(e,t,i){var o=e[t];De.call(e,t)&&zs(o,i)&&(i!==n||t in e)||si(e,t,i)}function ii(e,t){for(var n=e.length;n--;)if(zs(e[n][0],t))return n;return-1}function oi(e,t,n,i){return fi(e,(function(e,o,a){t(i,e,n(e),a)})),i}function ai(e,t){return e&&Po(t,Pr(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 ri(e,t){for(var i=-1,o=t.length,a=we(o),s=null==e;++i<o;)a[i]=s?n:Tr(e,t[i]);return a}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,a,s){var r,c=1&t,l=2&t,p=4&t;if(i&&(r=a?i(e,o,a,s):i(e)),r!==n)return r;if(!tr(e))return e;var u=Ws(e);if(u){if(r=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&De.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return jo(e,r)}else{var d=va(e),f=d==_||d==w;if(Ys(e))return So(e,c);if(d==S||d==v||f&&!a){if(r=l||f?{}:ga(e),!c)return l?function(e,t){return Po(e,ha(e),t)}(e,function(e,t){return e&&Po(t,Lr(t),e)}(r,e)):function(e,t){return Po(e,ma(e),t)}(e,ai(r,e))}else{if(!ct[d])return a?e:{};r=function(e,t,n){var i=e.constructor;switch(t){case P:return Ao(e);case g:case b:return new i(+e);case L:return function(e,t){var n=t?Ao(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case I:case N:case D:case F:case M:case $:case U:case z:case B:return To(e,n);case E:return new i;case k:case C: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 R:return new i;case O:return o=e,$n?Te($n.call(o)):{}}var o}(e,d,c)}}s||(s=new Qn);var m=s.get(e);if(m)return m;s.set(e,r),rr(e)?e.forEach((function(n){r.add(li(n,t,i,n,e,s))})):ir(e)&&e.forEach((function(n,o){r.set(o,li(n,t,i,o,e,s))}));var h=u?n:(p?l?sa:aa:l?Lr:Pr)(e);return Rt(h||e,(function(n,o){h&&(n=e[o=n]),ni(r,o,li(n,t,i,o,e,s))})),r}function pi(e,t,i){var o=i.length;if(null==e)return!o;for(e=Te(e);o--;){var a=i[o],s=t[a],r=e[a];if(r===n&&!(a in e)||!s(r))return!1}return!0}function ui(e,t,o){if("function"!=typeof e)throw new Oe(i);return Pa((function(){e.apply(n,o)}),t)}function di(e,t,n,i){var o=-1,a=Pt,s=!0,r=e.length,c=[],l=t.length;if(!r)return c;n&&(t=It(t,Zt(n))),i?(a=Lt,s=!1):t.length>=200&&(a=en,s=!1,t=new Yn(t));e:for(;++o<r;){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 a(t,u,i)||c.push(p)}return c}zn.templateSettings={escape:Q,evaluate:J,interpolate:Z,variable:"",imports:{_:zn}},zn.prototype=Hn.prototype,zn.prototype.constructor=zn,qn.prototype=Bn(Hn.prototype),qn.prototype.constructor=qn,Wn.prototype=Bn(Hn.prototype),Wn.prototype.constructor=Wn,Gn.prototype.clear=function(){this.__data__=On?On(null):{},this.size=0},Gn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Gn.prototype.get=function(e){var t=this.__data__;if(On){var i=t[e];return i===o?n:i}return De.call(t,e)?t[e]:n},Gn.prototype.has=function(e){var t=this.__data__;return On?t[e]!==n:De.call(t,e)},Gn.prototype.set=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=On&&t===n?o:t,this},Vn.prototype.clear=function(){this.__data__=[],this.size=0},Vn.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)},Vn.prototype.get=function(e){var t=this.__data__,i=ii(t,e);return i<0?n:t[i][1]},Vn.prototype.has=function(e){return ii(this.__data__,e)>-1},Vn.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},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(An||Vn),string:new Gn}},Kn.prototype.delete=function(e){var t=ua(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return ua(this,e).get(e)},Kn.prototype.has=function(e){return ua(this,e).has(e)},Kn.prototype.set=function(e,t){var n=ua(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 Vn,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 Vn){var i=n.__data__;if(!An||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(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 vi(e,t,i){for(var o=-1,a=e.length;++o<a;){var s=e[o],r=t(s);if(null!=r&&(c===n?r==r&&!lr(r):i(r,c)))var c=r,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 gi(e,t,n,i,o){var a=-1,s=e.length;for(n||(n=ba),o||(o=[]);++a<s;){var r=e[a];t>0&&n(r)?t>1?gi(r,t-1,n,i,o):Nt(o,r):i||(o[o.length]=r)}return o}var bi=Do(),yi=Do(!0);function _i(e,t){return e&&bi(e,t,Pr)}function wi(e,t){return e&&yi(e,t,Pr)}function Ei(e,t){return jt(t,(function(t){return Zs(e[t])}))}function ki(e,t){for(var i=0,o=(t=_o(t,e)).length;null!=e&&i<o;)e=e[Ma(t[i++])];return i&&i==o?e:n}function Si(e,t,n){var i=t(e);return Ws(e)?i:Nt(i,n(e))}function Ai(e){return null==e?e===n?"[object Undefined]":"[object Null]":tt&&tt in Te(e)?function(e){var t=De.call(e,tt),i=e[tt];try{e[tt]=n;var o=!0}catch(e){}var a=$e.call(e);o&&(t?e[tt]=i:delete e[tt]);return a}(e):function(e){return $e.call(e)}(e)}function Ti(e,t){return e>t}function Ri(e,t){return null!=e&&De.call(e,t)}function Ci(e,t){return null!=e&&t in Te(e)}function Oi(e,t,i){for(var o=i?Lt:Pt,a=e[0].length,s=e.length,r=s,c=we(s),l=1/0,p=[];r--;){var u=e[r];r&&t&&(u=It(u,Zt(t))),l=yn(u.length,l),c[r]=!i&&(t||a>=120&&u.length>=120)?new Yn(r&&u):n}u=e[0];var d=-1,f=c[0];e:for(;++d<a&&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(r=s;--r;){var v=c[r];if(!(v?en(v,h):o(e[r],h,i)))continue e}f&&f.push(h),p.push(m)}}return p}function ji(e,t,i){var o=null==(e=Ca(e,t=_o(t,e)))?e:e[Ma(Ja(t))];return null==o?n:At(o,e,i)}function Pi(e){return nr(e)&&Ai(e)==v}function Li(e,t,i,o,a){return e===t||(null==e||null==t||!nr(e)&&!nr(t)?e!=e&&t!=t:function(e,t,i,o,a,s){var r=Ws(e),c=Ws(t),l=r?x:va(e),p=c?x:va(t),u=(l=l==v?S:l)==S,d=(p=p==v?S:p)==S,f=l==p;if(f&&Ys(e)){if(!Ys(t))return!1;r=!0,u=!1}if(f&&!u)return s||(s=new Qn),r||pr(e)?ia(e,t,i,o,a,s):function(e,t,n,i,o,a,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||!a(new We(e),new We(t)));case g:case b:case k:return zs(+e,+t);case y:return e.name==t.name&&e.message==t.message;case T:case C:return e==t+"";case E:var r=cn;case R:var c=1&i;if(r||(r=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=ia(r(e),r(t),i,o,a,s);return s.delete(e),p;case O:if($n)return $n.call(e)==$n.call(t)}return!1}(e,t,l,i,o,a,s);if(!(1&i)){var m=u&&De.call(e,"__wrapped__"),h=d&&De.call(t,"__wrapped__");if(m||h){var _=m?e.value():e,w=h?t.value():t;return s||(s=new Qn),a(_,w,i,o,s)}}if(!f)return!1;return s||(s=new Qn),function(e,t,i,o,a,s){var r=1&i,c=aa(e),l=c.length,p=aa(t),u=p.length;if(l!=u&&!r)return!1;var d=l;for(;d--;){var f=c[d];if(!(r?f in t:De.call(t,f)))return!1}var m=s.get(e),h=s.get(t);if(m&&h)return m==t&&h==e;var v=!0;s.set(e,t),s.set(t,e);var x=r;for(;++d<l;){var g=e[f=c[d]],b=t[f];if(o)var y=r?o(b,g,f,t,e,s):o(g,b,f,e,t,s);if(!(y===n?g===b||a(g,b,i,o,s):y)){v=!1;break}x||(x="constructor"==f)}if(v&&!x){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(v=!1)}return s.delete(e),s.delete(t),v}(e,t,i,o,a,s)}(e,t,i,o,Li,a))}function Ii(e,t,i,o){var a=i.length,s=a,r=!o;if(null==e)return!s;for(e=Te(e);a--;){var c=i[a];if(r&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var l=(c=i[a])[0],p=e[l],u=c[1];if(r&&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!(!tr(e)||(t=e,Me&&Me in t))&&(Zs(e)?Be:ve).test($a(e));var t}function Di(e){return"function"==typeof e?e:null==e?oc:"object"==typeof e?Ws(e)?Bi(e[0],e[1]):zi(e):fc(e)}function Fi(e){if(!Sa(e))return gn(e);var t=[];for(var n in Te(e))De.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Mi(e){if(!tr(e))return function(e){var t=[];if(null!=e)for(var n in Te(e))t.push(n);return t}(e);var t=Sa(e),n=[];for(var i in e)("constructor"!=i||!t&&De.call(e,i))&&n.push(i);return n}function $i(e,t){return e<t}function Ui(e,t){var n=-1,i=Vs(e)?we(e.length):[];return fi(e,(function(e,o,a){i[++n]=t(e,o,a)})),i}function zi(e){var t=da(e);return 1==t.length&&t[0][2]?Ta(t[0][0],t[0][1]):function(n){return n===e||Ii(n,e,t)}}function Bi(e,t){return wa(e)&&Aa(t)?Ta(Ma(e),t):function(i){var o=Tr(i,e);return o===n&&o===t?Rr(i,e):Li(t,o,3)}}function Hi(e,t,i,o,a){e!==t&&bi(t,(function(s,r){if(a||(a=new Qn),tr(s))!function(e,t,i,o,a,s,r){var c=Oa(e,i),l=Oa(t,i),p=r.get(l);if(p)return void ti(e,i,p);var u=s?s(c,l,i+"",e,t,r):n,d=u===n;if(d){var f=Ws(l),m=!f&&Ys(l),h=!f&&!m&&pr(l);u=l,f||m||h?Ws(c)?u=c:Ks(c)?u=jo(c):m?(d=!1,u=So(l,!0)):h?(d=!1,u=To(l,!0)):u=[]:ar(l)||qs(l)?(u=c,qs(c)?u=gr(c):tr(c)&&!Zs(c)||(u=ga(l))):d=!1}d&&(r.set(l,u),a(u,l,o,s,r),r.delete(l));ti(e,i,u)}(e,t,r,i,Hi,o,a);else{var c=o?o(Oa(e,r),s,r+"",e,t,a):n;c===n&&(c=s),ti(e,r,c)}}),Lr)}function qi(e,t){var i=e.length;if(i)return ya(t+=t<0?i:0,i)?e[t]:n}function Wi(e,t,n){t=t.length?It(t,(function(e){return Ws(e)?function(t){return ki(t,1===e.length?e[0]:e)}:e})):[oc];var i=-1;t=It(t,Zt(pa()));var o=Ui(e,(function(e,n,o){var a=It(t,(function(t){return t(e)}));return{criteria:a,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,a=t.criteria,s=o.length,r=n.length;for(;++i<s;){var c=Ro(o[i],a[i]);if(c)return i>=r?c:c*("desc"==n[i]?-1:1)}return e.index-t.index}(e,t,n)}))}function Gi(e,t,n){for(var i=-1,o=t.length,a={};++i<o;){var s=t[i],r=ki(e,s);n(r,s)&&eo(a,_o(s,e),r)}return a}function Vi(e,t,n,i){var o=i?Ht:Bt,a=-1,s=t.length,r=e;for(e===t&&(t=jo(t)),n&&(r=It(e,Zt(n)));++a<s;)for(var c=0,l=t[a],p=n?n(l):l;(c=o(r,p,c,i))>-1;)r!==e&&Qe.call(r,c,1),Qe.call(e,c,1);return e}function Ki(e,t){for(var n=e?t.length:0,i=n-1;n--;){var o=t[n];if(n==i||o!==a){var a=o;ya(o)?Qe.call(e,o,1):fo(e,o)}}return e}function Yi(e,t){return e+vt(En()*(t-e+1))}function Qi(e,t){var n="";if(!e||t<1||t>d)return n;do{t%2&&(n+=e),(t=vt(t/2))&&(e+=e)}while(t);return n}function Ji(e,t){return La(Ra(e,t,oc),e+"")}function Zi(e){return Zn(zr(e))}function Xi(e,t){var n=zr(e);return Da(n,ci(t,0,n.length))}function eo(e,t,i,o){if(!tr(e))return e;for(var a=-1,s=(t=_o(t,e)).length,r=s-1,c=e;null!=c&&++a<s;){var l=Ma(t[a]),p=i;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(a!=r){var u=c[l];(p=o?o(u,l,c):n)===n&&(p=tr(u)?u:ya(t[a+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 Da(zr(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 a=we(o);++i<o;)a[i]=e[i+t];return a}function ao(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 a=i+o>>>1,s=e[a];null!==s&&!lr(s)&&(n?s<=t:s<t)?i=a+1:o=a}return o}return ro(e,t,oc,n)}function ro(e,t,i,o){var a=0,s=null==e?0:e.length;if(0===s)return 0;for(var r=(t=i(t))!=t,c=null===t,l=lr(t),p=t===n;a<s;){var u=vt((a+s)/2),d=i(e[u]),f=d!==n,m=null===d,h=d==d,v=lr(d);if(r)var x=o||h;else x=p?h&&(o||f):c?h&&f&&(o||!m):l?h&&f&&!m&&(o||!v):!m&&!v&&(o?d<=t:d<t);x?a=u+1:s=u}return yn(s,4294967294)}function co(e,t){for(var n=-1,i=e.length,o=0,a=[];++n<i;){var s=e[n],r=t?t(s):s;if(!n||!zs(r,c)){var c=r;a[o++]=0===s?0:s}}return a}function lo(e){return"number"==typeof e?e:lr(e)?f:+e}function po(e){if("string"==typeof e)return e;if(Ws(e))return It(e,po)+"";if(lr(e))return Un?Un.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function uo(e,t,n){var i=-1,o=Pt,a=e.length,s=!0,r=[],c=r;if(n)s=!1,o=Lt;else if(a>=200){var l=t?null:Jo(e);if(l)return un(l);s=!1,o=en,c=new Yn}else c=t?[]:r;e:for(;++i<a;){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),r.push(p)}else o(c,u,n)||(c!==r&&c.push(u),r.push(p))}return r}function fo(e,t){return null==(e=Ca(e,t=_o(t,e)))||delete e[Ma(Ja(t))]}function mo(e,t,n,i){return eo(e,t,n(ki(e,t)),i)}function ho(e,t,n,i){for(var o=e.length,a=i?o:-1;(i?a--:++a<o)&&t(e[a],a,e););return n?oo(e,i?0:a,i?a+1:o):oo(e,i?a+1:0,i?o:a)}function vo(e,t){var n=e;return n instanceof Wn&&(n=n.value()),Dt(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,a=we(i);++o<i;)for(var s=e[o],r=-1;++r<i;)r!=o&&(a[o]=di(a[o]||s,e[r],t,n));return uo(gi(a,1),t,n)}function go(e,t,i){for(var o=-1,a=e.length,s=t.length,r={};++o<a;){var c=o<s?t[o]:n;i(r,e[o],c)}return r}function bo(e){return Ks(e)?e:[]}function yo(e){return"function"==typeof e?e:oc}function _o(e,t){return Ws(e)?e:wa(e,t)?[e]:Fa(br(e))}var wo=Ji;function Eo(e,t,i){var o=e.length;return i=i===n?o:i,!t&&i>=o?e:oo(e,t,i)}var ko=lt||function(e){return mt.clearTimeout(e)};function So(e,t){if(t)return e.slice();var n=e.length,i=Ge?Ge(n):new e.constructor(n);return e.copy(i),i}function Ao(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function To(e,t){var n=t?Ao(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ro(e,t){if(e!==t){var i=e!==n,o=null===e,a=e==e,s=lr(e),r=t!==n,c=null===t,l=t==t,p=lr(t);if(!c&&!p&&!s&&e>t||s&&r&&l&&!c&&!p||o&&r&&l||!i&&l||!a)return 1;if(!o&&!s&&!p&&e<t||p&&i&&a&&!o&&!s||c&&i&&a||!r&&a||!l)return-1}return 0}function Co(e,t,n,i){for(var o=-1,a=e.length,s=n.length,r=-1,c=t.length,l=bn(a-s,0),p=we(c+l),u=!i;++r<c;)p[r]=t[r];for(;++o<s;)(u||o<a)&&(p[n[o]]=e[o]);for(;l--;)p[r++]=e[o++];return p}function Oo(e,t,n,i){for(var o=-1,a=e.length,s=-1,r=n.length,c=-1,l=t.length,p=bn(a-r,0),u=we(p+l),d=!i;++o<p;)u[o]=e[o];for(var f=o;++c<l;)u[f+c]=t[c];for(;++s<r;)(d||o<a)&&(u[f+n[s]]=e[o++]);return u}function jo(e,t){var n=-1,i=e.length;for(t||(t=we(i));++n<i;)t[n]=e[n];return t}function Po(e,t,i,o){var a=!i;i||(i={});for(var s=-1,r=t.length;++s<r;){var c=t[s],l=o?o(i[c],e[c],c,i,e):n;l===n&&(l=e[c]),a?si(i,c,l):ni(i,c,l)}return i}function Lo(e,t){return function(n,i){var o=Ws(n)?Tt:oi,a=t?t():{};return o(n,e,pa(i,2),a)}}function Io(e){return Ji((function(t,i){var o=-1,a=i.length,s=a>1?i[a-1]:n,r=a>2?i[2]:n;for(s=e.length>3&&"function"==typeof s?(a--,s):n,r&&_a(i[0],i[1],r)&&(s=a<3?n:s,a=1),t=Te(t);++o<a;){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(!Vs(n))return e(n,i);for(var o=n.length,a=t?o:-1,s=Te(n);(t?a--:++a<o)&&!1!==i(s[a],a,s););return n}}function Do(e){return function(t,n,i){for(var o=-1,a=Te(t),s=i(t),r=s.length;r--;){var c=s[e?r:++o];if(!1===n(a[c],c,a))break}return t}}function Fo(e){return function(t){var i=rn(t=br(t))?mn(t):n,o=i?i[0]:t.charAt(0),a=i?Eo(i,1).join(""):t.slice(1);return o[e]()+a}}function Mo(e){return function(t){return Dt(Zr(qr(t).replace(Ze,"")),e,"")}}function $o(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=Bn(e.prototype),i=e.apply(n,t);return tr(i)?i:n}}function Uo(e){return function(t,i,o){var a=Te(t);if(!Vs(t)){var s=pa(i,3);t=Pr(t),i=function(e){return s(a[e],e,a)}}var r=e(t,i,o);return r>-1?a[s?t[r]:r]:n}}function zo(e){return oa((function(t){var o=t.length,a=o,s=qn.prototype.thru;for(e&&t.reverse();a--;){var r=t[a];if("function"!=typeof r)throw new Oe(i);if(s&&!c&&"wrapper"==ca(r))var c=new qn([],!0)}for(a=c?a:o;++a<o;){var l=ca(r=t[a]),p="wrapper"==l?ra(r):n;c=p&&Ea(p[0])&&424==p[1]&&!p[4].length&&1==p[9]?c[ca(p[0])].apply(c,p[3]):1==r.length&&Ea(r)?c[l]():c.thru(r)}return function(){var e=arguments,n=e[0];if(c&&1==e.length&&Ws(n))return c.plant(n).value();for(var i=0,a=o?t[i].apply(this,e):n;++i<o;)a=t[i].call(this,a);return a}}))}function Bo(e,t,i,o,a,s,r,c,p,u){var d=t&l,f=1&t,m=2&t,h=24&t,v=512&t,x=m?n:$o(e);return function l(){for(var g=arguments.length,b=we(g),y=g;y--;)b[y]=arguments[y];if(h)var _=la(l),w=function(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}(b,_);if(o&&(b=Co(b,o,a,h)),s&&(b=Oo(b,s,r,h)),g-=w,h&&g<u){var E=pn(b,_);return Yo(e,t,Bo,l.placeholder,i,b,E,c,p,u-g)}var k=f?i:this,S=m?k[e]:e;return g=b.length,c?b=function(e,t){var i=e.length,o=yn(t.length,i),a=jo(e);for(;o--;){var s=t[o];e[o]=ya(s,i)?a[s]:n}return e}(b,c):v&&g>1&&b.reverse(),d&&p<g&&(b.length=p),this&&this!==mt&&this instanceof l&&(S=x||$o(S)),S.apply(k,b)}}function Ho(e,t){return function(n,i){return function(e,t,n,i){return _i(e,(function(e,o,a){t(i,n(e),o,a)})),i}(n,e,t(i),{})}}function qo(e,t){return function(i,o){var a;if(i===n&&o===n)return t;if(i!==n&&(a=i),o!==n){if(a===n)return o;"string"==typeof i||"string"==typeof o?(i=po(i),o=po(o)):(i=lo(i),o=lo(o)),a=e(i,o)}return a}}function Wo(e){return oa((function(t){return t=It(t,Zt(pa())),Ji((function(n){var i=this;return e(t,(function(e){return At(e,i,n)}))}))}))}function Go(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 rn(t)?Eo(mn(o),0,e).join(""):o.slice(0,e)}function Vo(e){return function(t,i,o){return o&&"number"!=typeof o&&_a(t,i,o)&&(i=o=n),t=mr(t),i===n?(i=t,t=0):i=mr(i),function(e,t,n,i){for(var o=-1,a=bn(ht((t-e)/(n||1)),0),s=we(a);a--;)s[i?a:++o]=e,e+=n;return s}(t,i,o=o===n?t<i?1:-1:mr(o),e)}}function Ko(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=xr(t),n=xr(n)),e(t,n)}}function Yo(e,t,i,o,a,s,l,p,u,d){var f=8&t;t|=f?r:c,4&(t&=~(f?c:r))||(t&=-4);var m=[e,t,a,f?s:n,f?l:n,f?n:s,f?n:l,p,u,d],h=i.apply(n,m);return Ea(e)&&ja(h,m),h.placeholder=o,Ia(h,e,t)}function Qo(e){var t=Ae[e];return function(e,n){if(e=xr(e),(n=null==n?0:yn(hr(n),292))&&$t(e)){var i=(br(e)+"e").split("e");return+((i=(br(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var Jo=Rn&&1/un(new Rn([,-0]))[1]==u?function(e){return new Rn(e)}:lc;function Zo(e){return function(t){var n=va(t);return n==E?cn(t):n==R?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 v=2&t;if(!v&&"function"!=typeof e)throw new Oe(i);var x=u?u.length:0;if(x||(t&=-97,u=d=n),m=m===n?m:bn(hr(m),0),h=h===n?h:hr(h),x-=d?d.length:0,t&c){var g=u,b=d;u=d=n}var y=v?n:ra(e),_=[e,t,o,u,d,g,b,f,m,h];if(y&&function(e,t){var n=e[1],i=t[1],o=n|i,s=o<131,r=i==l&&8==n||i==l&&n==p&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==n;if(!s&&!r)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?Co(u,c,t[4]):c,e[4]=u?pn(e[3],a):t[4]}(c=t[5])&&(u=e[5],e[5]=u?Oo(u,c,t[6]):c,e[6]=u?pn(e[5],a):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?v?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=$o(e);return function a(){for(var s=arguments.length,r=we(s),c=s,l=la(a);c--;)r[c]=arguments[c];var p=s<3&&r[0]!==l&&r[s-1]!==l?[]:pn(r,l);return(s-=p.length)<i?Yo(e,t,Bo,a.placeholder,n,r,p,n,n,i-s):At(this&&this!==mt&&this instanceof a?o:e,this,r)}}(e,t,h):t!=r&&33!=t||d.length?Bo.apply(n,_):function(e,t,n,i){var o=1&t,a=$o(e);return function t(){for(var s=-1,r=arguments.length,c=-1,l=i.length,p=we(l+r),u=this&&this!==mt&&this instanceof t?a:e;++c<l;)p[c]=i[c];for(;r--;)p[c++]=arguments[++s];return At(u,o?n:this,p)}}(e,t,o,u);else var w=function(e,t,n){var i=1&t,o=$o(e);return function t(){return(this&&this!==mt&&this instanceof t?o:e).apply(i?n:this,arguments)}}(e,t,o);return Ia((y?to:ja)(w,_),e,t)}function ea(e,t,i,o){return e===n||zs(e,Le[i])&&!De.call(o,i)?t:e}function ta(e,t,i,o,a,s){return tr(e)&&tr(t)&&(s.set(t,e),Hi(e,t,n,ta,s),s.delete(t)),e}function na(e){return ar(e)?n:e}function ia(e,t,i,o,a,s){var r=1&i,c=e.length,l=t.length;if(c!=l&&!(r&&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],v=t[d];if(o)var x=r?o(v,h,d,t,e,s):o(h,v,d,e,t,s);if(x!==n){if(x)continue;f=!1;break}if(m){if(!Mt(t,(function(e,t){if(!en(m,t)&&(h===e||a(h,e,i,o,s)))return m.push(t)}))){f=!1;break}}else if(h!==v&&!a(h,v,i,o,s)){f=!1;break}}return s.delete(e),s.delete(t),f}function oa(e){return La(Ra(e,n,Ga),e+"")}function aa(e){return Si(e,Pr,ma)}function sa(e){return Si(e,Lr,ha)}var ra=jn?function(e){return jn.get(e)}:lc;function ca(e){for(var t=e.name+"",n=Pn[t],i=De.call(Pn,t)?n.length:0;i--;){var o=n[i],a=o.func;if(null==a||a==e)return o.name}return t}function la(e){return(De.call(zn,"placeholder")?zn:e).placeholder}function pa(){var e=zn.iteratee||ac;return e=e===ac?Di:e,arguments.length?e(arguments[0],arguments[1]):e}function ua(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 da(e){for(var t=Pr(e),n=t.length;n--;){var i=t[n],o=e[i];t[n]=[i,o,Aa(o)]}return t}function fa(e,t){var i=function(e,t){return null==e?n:e[t]}(e,t);return Ni(i)?i:n}var ma=gt?function(e){return null==e?[]:(e=Te(e),jt(gt(e),(function(t){return Ye.call(e,t)})))}:vc,ha=gt?function(e){for(var t=[];e;)Nt(t,ma(e)),e=Ve(e);return t}:vc,va=Ai;function xa(e,t,n){for(var i=-1,o=(t=_o(t,e)).length,a=!1;++i<o;){var s=Ma(t[i]);if(!(a=null!=e&&n(e,s)))break;e=e[s]}return a||++i!=o?a:!!(o=null==e?0:e.length)&&er(o)&&ya(s,o)&&(Ws(e)||qs(e))}function ga(e){return"function"!=typeof e.constructor||Sa(e)?{}:Bn(Ve(e))}function ba(e){return Ws(e)||qs(e)||!!(Je&&e&&e[Je])}function ya(e,t){var n=typeof e;return!!(t=null==t?d:t)&&("number"==n||"symbol"!=n&&ge.test(e))&&e>-1&&e%1==0&&e<t}function _a(e,t,n){if(!tr(n))return!1;var i=typeof t;return!!("number"==i?Vs(n)&&ya(t,n.length):"string"==i&&t in n)&&zs(n[t],e)}function wa(e,t){if(Ws(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!lr(e))||(ee.test(e)||!X.test(e)||null!=t&&e in Te(t))}function Ea(e){var t=ca(e),n=zn[t];if("function"!=typeof n||!(t in Wn.prototype))return!1;if(e===n)return!0;var i=ra(n);return!!i&&e===i[0]}(Sn&&va(new Sn(new ArrayBuffer(1)))!=L||An&&va(new An)!=E||Tn&&va(Tn.resolve())!=A||Rn&&va(new Rn)!=R||Cn&&va(new Cn)!=j)&&(va=function(e){var t=Ai(e),i=t==S?e.constructor:n,o=i?$a(i):"";if(o)switch(o){case Ln:return L;case In:return E;case Nn:return A;case Dn:return R;case Fn:return j}return t});var ka=Ie?Zs:xc;function Sa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Le)}function Aa(e){return e==e&&!tr(e)}function Ta(e,t){return function(i){return null!=i&&(i[e]===t&&(t!==n||e in Te(i)))}}function Ra(e,t,i){return t=bn(t===n?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=bn(n.length-t,0),s=we(a);++o<a;)s[o]=n[t+o];o=-1;for(var r=we(t+1);++o<t;)r[o]=n[o];return r[t]=i(s),At(e,this,r)}}function Ca(e,t){return t.length<2?e:ki(e,oo(t,0,-1))}function Oa(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ja=Na(to),Pa=ft||function(e,t){return mt.setTimeout(e,t)},La=Na(no);function Ia(e,t,n){var i=t+"";return La(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 Rt(h,(function(n){var i="_."+n[0];t&n[1]&&!Pt(e,i)&&e.push(i)})),e.sort()}(function(e){var t=e.match(re);return t?t[1].split(ce):[]}(i),n)))}function Na(e){var t=0,i=0;return function(){var o=_n(),a=16-(o-i);if(i=o,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Da(e,t){var i=-1,o=e.length,a=o-1;for(t=t===n?o:t;++i<t;){var s=Yi(i,a),r=e[s];e[s]=e[i],e[i]=r}return e.length=t,e}var Fa=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 Ma(e){if("string"==typeof e||lr(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function $a(e){if(null!=e){try{return Ne.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ua(e){if(e instanceof Wn)return e.clone();var t=new qn(e.__wrapped__,e.__chain__);return t.__actions__=jo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var za=Ji((function(e,t){return Ks(e)?di(e,gi(t,1,Ks,!0)):[]})),Ba=Ji((function(e,t){var i=Ja(t);return Ks(i)&&(i=n),Ks(e)?di(e,gi(t,1,Ks,!0),pa(i,2)):[]})),Ha=Ji((function(e,t){var i=Ja(t);return Ks(i)&&(i=n),Ks(e)?di(e,gi(t,1,Ks,!0),n,i):[]}));function qa(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o=null==n?0:hr(n);return o<0&&(o=bn(i+o,0)),zt(e,pa(t,3),o)}function Wa(e,t,i){var o=null==e?0:e.length;if(!o)return-1;var a=o-1;return i!==n&&(a=hr(i),a=i<0?bn(o+a,0):yn(a,o-1)),zt(e,pa(t,3),a,!0)}function Ga(e){return(null==e?0:e.length)?gi(e,1):[]}function Va(e){return e&&e.length?e[0]:n}var Ka=Ji((function(e){var t=It(e,bo);return t.length&&t[0]===e[0]?Oi(t):[]})),Ya=Ji((function(e){var t=Ja(e),i=It(e,bo);return t===Ja(i)?t=n:i.pop(),i.length&&i[0]===e[0]?Oi(i,pa(t,2)):[]})),Qa=Ji((function(e){var t=Ja(e),i=It(e,bo);return(t="function"==typeof t?t:n)&&i.pop(),i.length&&i[0]===e[0]?Oi(i,n,t):[]}));function Ja(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Za=Ji(Xa);function Xa(e,t){return e&&e.length&&t&&t.length?Vi(e,t):e}var es=oa((function(e,t){var n=null==e?0:e.length,i=ri(e,t);return Ki(e,It(t,(function(e){return ya(e,n)?+e:e})).sort(Ro)),i}));function ts(e){return null==e?e:kn.call(e)}var ns=Ji((function(e){return uo(gi(e,1,Ks,!0))})),is=Ji((function(e){var t=Ja(e);return Ks(t)&&(t=n),uo(gi(e,1,Ks,!0),pa(t,2))})),os=Ji((function(e){var t=Ja(e);return t="function"==typeof t?t:n,uo(gi(e,1,Ks,!0),n,t)}));function as(e){if(!e||!e.length)return[];var t=0;return e=jt(e,(function(e){if(Ks(e))return t=bn(e.length,t),!0})),Qt(t,(function(t){return It(e,Gt(t))}))}function ss(e,t){if(!e||!e.length)return[];var i=as(e);return null==t?i:It(i,(function(e){return At(t,n,e)}))}var rs=Ji((function(e,t){return Ks(e)?di(e,t):[]})),cs=Ji((function(e){return xo(jt(e,Ks))})),ls=Ji((function(e){var t=Ja(e);return Ks(t)&&(t=n),xo(jt(e,Ks),pa(t,2))})),ps=Ji((function(e){var t=Ja(e);return t="function"==typeof t?t:n,xo(jt(e,Ks),n,t)})),us=Ji(as);var ds=Ji((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=zn(e);return t.__chain__=!0,t}function ms(e,t){return t(e)}var hs=oa((function(e){var t=e.length,i=t?e[0]:0,o=this.__wrapped__,a=function(t){return ri(t,e)};return!(t>1||this.__actions__.length)&&o instanceof Wn&&ya(i)?((o=o.slice(i,+i+(t?1:0))).__actions__.push({func:ms,args:[a],thisArg:n}),new qn(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(a)}));var vs=Lo((function(e,t,n){De.call(e,n)?++e[n]:si(e,n,1)}));var xs=Uo(qa),gs=Uo(Wa);function bs(e,t){return(Ws(e)?Rt:fi)(e,pa(t,3))}function ys(e,t){return(Ws(e)?Ct:mi)(e,pa(t,3))}var _s=Lo((function(e,t,n){De.call(e,n)?e[n].push(t):si(e,n,[t])}));var ws=Ji((function(e,t,n){var i=-1,o="function"==typeof t,a=Vs(e)?we(e.length):[];return fi(e,(function(e){a[++i]=o?At(t,e,n):ji(e,t,n)})),a})),Es=Lo((function(e,t,n){si(e,n,t)}));function ks(e,t){return(Ws(e)?It:Ui)(e,pa(t,3))}var Ss=Lo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var As=Ji((function(e,t){if(null==e)return[];var n=t.length;return n>1&&_a(e,t[0],t[1])?t=[]:n>2&&_a(t[0],t[1],t[2])&&(t=[t[0]]),Wi(e,gi(t,1),[])})),Ts=dt||function(){return mt.Date.now()};function Rs(e,t,i){return t=i?n:t,t=e&&null==t?e.length:t,Xo(e,l,n,n,n,n,t)}function Cs(e,t){var o;if("function"!=typeof t)throw new Oe(i);return e=hr(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=n),o}}var Os=Ji((function(e,t,n){var i=1;if(n.length){var o=pn(n,la(Os));i|=r}return Xo(e,i,t,n,o)})),js=Ji((function(e,t,n){var i=3;if(n.length){var o=pn(n,la(js));i|=r}return Xo(t,i,e,n,o)}));function Ps(e,t,o){var a,s,r,c,l,p,u=0,d=!1,f=!1,m=!0;if("function"!=typeof e)throw new Oe(i);function h(t){var i=a,o=s;return a=s=n,u=t,c=e.apply(o,i)}function v(e){var i=e-p;return p===n||i>=t||i<0||f&&e-u>=r}function x(){var e=Ts();if(v(e))return g(e);l=Pa(x,function(e){var n=t-(e-p);return f?yn(n,r-(e-u)):n}(e))}function g(e){return l=n,m&&a?h(e):(a=s=n,c)}function b(){var e=Ts(),i=v(e);if(a=arguments,s=this,p=e,i){if(l===n)return function(e){return u=e,l=Pa(x,t),d?h(e):c}(p);if(f)return ko(l),l=Pa(x,t),h(p)}return l===n&&(l=Pa(x,t)),c}return t=xr(t)||0,tr(o)&&(d=!!o.leading,r=(f="maxWait"in o)?bn(xr(o.maxWait)||0,t):r,m="trailing"in o?!!o.trailing:m),b.cancel=function(){l!==n&&ko(l),u=0,a=p=s=l=n},b.flush=function(){return l===n?c:g(Ts())},b}var Ls=Ji((function(e,t){return ui(e,1,t)})),Is=Ji((function(e,t,n){return ui(e,xr(t)||0,n)}));function Ns(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Oe(i);var n=function(){var i=arguments,o=t?t.apply(this,i):i[0],a=n.cache;if(a.has(o))return a.get(o);var s=e.apply(this,i);return n.cache=a.set(o,s)||a,s};return n.cache=new(Ns.Cache||Kn),n}function Ds(e){if("function"!=typeof e)throw new Oe(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=Kn;var Fs=wo((function(e,t){var n=(t=1==t.length&&Ws(t[0])?It(t[0],Zt(pa())):It(gi(t,1),Zt(pa()))).length;return Ji((function(i){for(var o=-1,a=yn(i.length,n);++o<a;)i[o]=t[o].call(this,i[o]);return At(e,this,i)}))})),Ms=Ji((function(e,t){var i=pn(t,la(Ms));return Xo(e,r,n,t,i)})),$s=Ji((function(e,t){var i=pn(t,la($s));return Xo(e,c,n,t,i)})),Us=oa((function(e,t){return Xo(e,p,n,n,n,t)}));function zs(e,t){return e===t||e!=e&&t!=t}var Bs=Ko(Ti),Hs=Ko((function(e,t){return e>=t})),qs=Pi(function(){return arguments}())?Pi:function(e){return nr(e)&&De.call(e,"callee")&&!Ye.call(e,"callee")},Ws=we.isArray,Gs=yt?Zt(yt):function(e){return nr(e)&&Ai(e)==P};function Vs(e){return null!=e&&er(e.length)&&!Zs(e)}function Ks(e){return nr(e)&&Vs(e)}var Ys=bt||xc,Qs=_t?Zt(_t):function(e){return nr(e)&&Ai(e)==b};function Js(e){if(!nr(e))return!1;var t=Ai(e);return t==y||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ar(e)}function Zs(e){if(!tr(e))return!1;var t=Ai(e);return t==_||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xs(e){return"number"==typeof e&&e==hr(e)}function er(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}function tr(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function nr(e){return null!=e&&"object"==typeof e}var ir=wt?Zt(wt):function(e){return nr(e)&&va(e)==E};function or(e){return"number"==typeof e||nr(e)&&Ai(e)==k}function ar(e){if(!nr(e)||Ai(e)!=S)return!1;var t=Ve(e);if(null===t)return!0;var n=De.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ne.call(n)==Ue}var sr=Et?Zt(Et):function(e){return nr(e)&&Ai(e)==T};var rr=kt?Zt(kt):function(e){return nr(e)&&va(e)==R};function cr(e){return"string"==typeof e||!Ws(e)&&nr(e)&&Ai(e)==C}function lr(e){return"symbol"==typeof e||nr(e)&&Ai(e)==O}var pr=St?Zt(St):function(e){return nr(e)&&er(e.length)&&!!rt[Ai(e)]};var ur=Ko($i),dr=Ko((function(e,t){return e<=t}));function fr(e){if(!e)return[];if(Vs(e))return cr(e)?mn(e):jo(e);if(et&&e[et])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[et]());var t=va(e);return(t==E?cn:t==R?un:zr)(e)}function mr(e){return e?(e=xr(e))===u||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function hr(e){var t=mr(e),n=t%1;return t==t?n?t-n:t:0}function vr(e){return e?ci(hr(e),0,m):0}function xr(e){if("number"==typeof e)return e;if(lr(e))return f;if(tr(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=tr(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Jt(e);var n=he.test(e);return n||xe.test(e)?ut(e.slice(2),n?2:8):me.test(e)?f:+e}function gr(e){return Po(e,Lr(e))}function br(e){return null==e?"":po(e)}var yr=Io((function(e,t){if(Sa(t)||Vs(t))Po(t,Pr(t),e);else for(var n in t)De.call(t,n)&&ni(e,n,t[n])})),_r=Io((function(e,t){Po(t,Lr(t),e)})),wr=Io((function(e,t,n,i){Po(t,Lr(t),e,i)})),Er=Io((function(e,t,n,i){Po(t,Pr(t),e,i)})),kr=oa(ri);var Sr=Ji((function(e,t){e=Te(e);var i=-1,o=t.length,a=o>2?t[2]:n;for(a&&_a(t[0],t[1],a)&&(o=1);++i<o;)for(var s=t[i],r=Lr(s),c=-1,l=r.length;++c<l;){var p=r[c],u=e[p];(u===n||zs(u,Le[p])&&!De.call(e,p))&&(e[p]=s[p])}return e})),Ar=Ji((function(e){return e.push(n,ta),At(Nr,n,e)}));function Tr(e,t,i){var o=null==e?n:ki(e,t);return o===n?i:o}function Rr(e,t){return null!=e&&xa(e,t,Ci)}var Cr=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=$e.call(t)),e[t]=n}),tc(oc)),Or=Ho((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=$e.call(t)),De.call(e,t)?e[t].push(n):e[t]=[n]}),pa),jr=Ji(ji);function Pr(e){return Vs(e)?Jn(e):Fi(e)}function Lr(e){return Vs(e)?Jn(e,!0):Mi(e)}var Ir=Io((function(e,t,n){Hi(e,t,n)})),Nr=Io((function(e,t,n,i){Hi(e,t,n,i)})),Dr=oa((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,sa(e),n),i&&(n=li(n,7,na));for(var o=t.length;o--;)fo(n,t[o]);return n}));var Fr=oa((function(e,t){return null==e?{}:function(e,t){return Gi(e,t,(function(t,n){return Rr(e,n)}))}(e,t)}));function Mr(e,t){if(null==e)return{};var n=It(sa(e),(function(e){return[e]}));return t=pa(t),Gi(e,n,(function(e,n){return t(e,n[0])}))}var $r=Zo(Pr),Ur=Zo(Lr);function zr(e){return null==e?[]:Xt(e,Pr(e))}var Br=Mo((function(e,t,n){return t=t.toLowerCase(),e+(n?Hr(t):t)}));function Hr(e){return Jr(br(e).toLowerCase())}function qr(e){return(e=br(e))&&e.replace(be,on).replace(Xe,"")}var Wr=Mo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Gr=Mo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Vr=Fo("toLowerCase");var Kr=Mo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Yr=Mo((function(e,t,n){return e+(n?" ":"")+Jr(t)}));var Qr=Mo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Jr=Fo("toUpperCase");function Zr(e,t,i){return e=br(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 Xr=Ji((function(e,t){try{return At(e,n,t)}catch(e){return Js(e)?e:new ke(e)}})),ec=oa((function(e,t){return Rt(t,(function(t){t=Ma(t),si(e,t,Os(e[t],e))})),e}));function tc(e){return function(){return e}}var nc=zo(),ic=zo(!0);function oc(e){return e}function ac(e){return Di("function"==typeof e?e:li(e,1))}var sc=Ji((function(e,t){return function(n){return ji(n,e,t)}})),rc=Ji((function(e,t){return function(n){return ji(e,n,t)}}));function cc(e,t,n){var i=Pr(t),o=Ei(t,i);null!=n||tr(t)&&(o.length||!i.length)||(n=t,t=e,e=this,o=Ei(t,Pr(t)));var a=!(tr(n)&&"chain"in n&&!n.chain),s=Zs(e);return Rt(o,(function(n){var i=t[n];e[n]=i,s&&(e.prototype[n]=function(){var t=this.__chain__;if(a||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=Wo(It),uc=Wo(Ot),dc=Wo(Mt);function fc(e){return wa(e)?Gt(Ma(e)):function(e){return function(t){return ki(t,e)}}(e)}var mc=Vo(),hc=Vo(!0);function vc(){return[]}function xc(){return!1}var gc=qo((function(e,t){return e+t}),0),bc=Qo("ceil"),yc=qo((function(e,t){return e/t}),1),_c=Qo("floor");var wc,Ec=qo((function(e,t){return e*t}),1),kc=Qo("round"),Sc=qo((function(e,t){return e-t}),0);return zn.after=function(e,t){if("function"!=typeof t)throw new Oe(i);return e=hr(e),function(){if(--e<1)return t.apply(this,arguments)}},zn.ary=Rs,zn.assign=yr,zn.assignIn=_r,zn.assignInWith=wr,zn.assignWith=Er,zn.at=kr,zn.before=Cs,zn.bind=Os,zn.bindAll=ec,zn.bindKey=js,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ws(e)?e:[e]},zn.chain=fs,zn.chunk=function(e,t,i){t=(i?_a(e,t,i):t===n)?1:bn(hr(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,s=0,r=we(ht(o/t));a<o;)r[s++]=oo(e,a,a+=t);return r},zn.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,o=[];++t<n;){var a=e[t];a&&(o[i++]=a)}return o},zn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=we(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Nt(Ws(n)?jo(n):[n],gi(t,1))},zn.cond=function(e){var t=null==e?0:e.length,n=pa();return e=t?It(e,(function(e){if("function"!=typeof e[1])throw new Oe(i);return[n(e[0]),e[1]]})):[],Ji((function(n){for(var i=-1;++i<t;){var o=e[i];if(At(o[0],this,n))return At(o[1],this,n)}}))},zn.conforms=function(e){return function(e){var t=Pr(e);return function(n){return pi(n,e,t)}}(li(e,1))},zn.constant=tc,zn.countBy=vs,zn.create=function(e,t){var n=Bn(e);return null==t?n:ai(n,t)},zn.curry=function e(t,i,o){var a=Xo(t,8,n,n,n,n,n,i=o?n:i);return a.placeholder=e.placeholder,a},zn.curryRight=function e(t,i,o){var a=Xo(t,s,n,n,n,n,n,i=o?n:i);return a.placeholder=e.placeholder,a},zn.debounce=Ps,zn.defaults=Sr,zn.defaultsDeep=Ar,zn.defer=Ls,zn.delay=Is,zn.difference=za,zn.differenceBy=Ba,zn.differenceWith=Ha,zn.drop=function(e,t,i){var o=null==e?0:e.length;return o?oo(e,(t=i||t===n?1:hr(t))<0?0:t,o):[]},zn.dropRight=function(e,t,i){var o=null==e?0:e.length;return o?oo(e,0,(t=o-(t=i||t===n?1:hr(t)))<0?0:t):[]},zn.dropRightWhile=function(e,t){return e&&e.length?ho(e,pa(t,3),!0,!0):[]},zn.dropWhile=function(e,t){return e&&e.length?ho(e,pa(t,3),!0):[]},zn.fill=function(e,t,i,o){var a=null==e?0:e.length;return a?(i&&"number"!=typeof i&&_a(e,t,i)&&(i=0,o=a),function(e,t,i,o){var a=e.length;for((i=hr(i))<0&&(i=-i>a?0:a+i),(o=o===n||o>a?a:hr(o))<0&&(o+=a),o=i>o?0:vr(o);i<o;)e[i++]=t;return e}(e,t,i,o)):[]},zn.filter=function(e,t){return(Ws(e)?jt:xi)(e,pa(t,3))},zn.flatMap=function(e,t){return gi(ks(e,t),1)},zn.flatMapDeep=function(e,t){return gi(ks(e,t),u)},zn.flatMapDepth=function(e,t,i){return i=i===n?1:hr(i),gi(ks(e,t),i)},zn.flatten=Ga,zn.flattenDeep=function(e){return(null==e?0:e.length)?gi(e,u):[]},zn.flattenDepth=function(e,t){return(null==e?0:e.length)?gi(e,t=t===n?1:hr(t)):[]},zn.flip=function(e){return Xo(e,512)},zn.flow=nc,zn.flowRight=ic,zn.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},zn.functions=function(e){return null==e?[]:Ei(e,Pr(e))},zn.functionsIn=function(e){return null==e?[]:Ei(e,Lr(e))},zn.groupBy=_s,zn.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},zn.intersection=Ka,zn.intersectionBy=Ya,zn.intersectionWith=Qa,zn.invert=Cr,zn.invertBy=Or,zn.invokeMap=ws,zn.iteratee=ac,zn.keyBy=Es,zn.keys=Pr,zn.keysIn=Lr,zn.map=ks,zn.mapKeys=function(e,t){var n={};return t=pa(t,3),_i(e,(function(e,i,o){si(n,t(e,i,o),e)})),n},zn.mapValues=function(e,t){var n={};return t=pa(t,3),_i(e,(function(e,i,o){si(n,i,t(e,i,o))})),n},zn.matches=function(e){return zi(li(e,1))},zn.matchesProperty=function(e,t){return Bi(e,li(t,1))},zn.memoize=Ns,zn.merge=Ir,zn.mergeWith=Nr,zn.method=sc,zn.methodOf=rc,zn.mixin=cc,zn.negate=Ds,zn.nthArg=function(e){return e=hr(e),Ji((function(t){return qi(t,e)}))},zn.omit=Dr,zn.omitBy=function(e,t){return Mr(e,Ds(pa(t)))},zn.once=function(e){return Cs(2,e)},zn.orderBy=function(e,t,i,o){return null==e?[]:(Ws(t)||(t=null==t?[]:[t]),Ws(i=o?n:i)||(i=null==i?[]:[i]),Wi(e,t,i))},zn.over=pc,zn.overArgs=Fs,zn.overEvery=uc,zn.overSome=dc,zn.partial=Ms,zn.partialRight=$s,zn.partition=Ss,zn.pick=Fr,zn.pickBy=Mr,zn.property=fc,zn.propertyOf=function(e){return function(t){return null==e?n:ki(e,t)}},zn.pull=Za,zn.pullAll=Xa,zn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Vi(e,t,pa(n,2)):e},zn.pullAllWith=function(e,t,i){return e&&e.length&&t&&t.length?Vi(e,t,n,i):e},zn.pullAt=es,zn.range=mc,zn.rangeRight=hc,zn.rearg=Us,zn.reject=function(e,t){return(Ws(e)?jt:xi)(e,Ds(pa(t,3)))},zn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,o=[],a=e.length;for(t=pa(t,3);++i<a;){var s=e[i];t(s,i,e)&&(n.push(s),o.push(i))}return Ki(e,o),n},zn.rest=function(e,t){if("function"!=typeof e)throw new Oe(i);return Ji(e,t=t===n?t:hr(t))},zn.reverse=ts,zn.sampleSize=function(e,t,i){return t=(i?_a(e,t,i):t===n)?1:hr(t),(Ws(e)?Xn:Xi)(e,t)},zn.set=function(e,t,n){return null==e?e:eo(e,t,n)},zn.setWith=function(e,t,i,o){return o="function"==typeof o?o:n,null==e?e:eo(e,t,i,o)},zn.shuffle=function(e){return(Ws(e)?ei:io)(e)},zn.slice=function(e,t,i){var o=null==e?0:e.length;return o?(i&&"number"!=typeof i&&_a(e,t,i)?(t=0,i=o):(t=null==t?0:hr(t),i=i===n?o:hr(i)),oo(e,t,i)):[]},zn.sortBy=As,zn.sortedUniq=function(e){return e&&e.length?co(e):[]},zn.sortedUniqBy=function(e,t){return e&&e.length?co(e,pa(t,2)):[]},zn.split=function(e,t,i){return i&&"number"!=typeof i&&_a(e,t,i)&&(t=i=n),(i=i===n?m:i>>>0)?(e=br(e))&&("string"==typeof t||null!=t&&!sr(t))&&!(t=po(t))&&rn(e)?Eo(mn(e),0,i):e.split(t,i):[]},zn.spread=function(e,t){if("function"!=typeof e)throw new Oe(i);return t=null==t?0:bn(hr(t),0),Ji((function(n){var i=n[t],o=Eo(n,0,t);return i&&Nt(o,i),At(e,this,o)}))},zn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},zn.take=function(e,t,i){return e&&e.length?oo(e,0,(t=i||t===n?1:hr(t))<0?0:t):[]},zn.takeRight=function(e,t,i){var o=null==e?0:e.length;return o?oo(e,(t=o-(t=i||t===n?1:hr(t)))<0?0:t,o):[]},zn.takeRightWhile=function(e,t){return e&&e.length?ho(e,pa(t,3),!1,!0):[]},zn.takeWhile=function(e,t){return e&&e.length?ho(e,pa(t,3)):[]},zn.tap=function(e,t){return t(e),e},zn.throttle=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw new Oe(i);return tr(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),Ps(e,t,{leading:o,maxWait:t,trailing:a})},zn.thru=ms,zn.toArray=fr,zn.toPairs=$r,zn.toPairsIn=Ur,zn.toPath=function(e){return Ws(e)?It(e,Ma):lr(e)?[e]:jo(Fa(br(e)))},zn.toPlainObject=gr,zn.transform=function(e,t,n){var i=Ws(e),o=i||Ys(e)||pr(e);if(t=pa(t,4),null==n){var a=e&&e.constructor;n=o?i?new a:[]:tr(e)&&Zs(a)?Bn(Ve(e)):{}}return(o?Rt:_i)(e,(function(e,i,o){return t(n,e,i,o)})),n},zn.unary=function(e){return Rs(e,1)},zn.union=ns,zn.unionBy=is,zn.unionWith=os,zn.uniq=function(e){return e&&e.length?uo(e):[]},zn.uniqBy=function(e,t){return e&&e.length?uo(e,pa(t,2)):[]},zn.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?uo(e,n,t):[]},zn.unset=function(e,t){return null==e||fo(e,t)},zn.unzip=as,zn.unzipWith=ss,zn.update=function(e,t,n){return null==e?e:mo(e,t,yo(n))},zn.updateWith=function(e,t,i,o){return o="function"==typeof o?o:n,null==e?e:mo(e,t,yo(i),o)},zn.values=zr,zn.valuesIn=function(e){return null==e?[]:Xt(e,Lr(e))},zn.without=rs,zn.words=Zr,zn.wrap=function(e,t){return Ms(yo(t),e)},zn.xor=cs,zn.xorBy=ls,zn.xorWith=ps,zn.zip=us,zn.zipObject=function(e,t){return go(e||[],t||[],ni)},zn.zipObjectDeep=function(e,t){return go(e||[],t||[],eo)},zn.zipWith=ds,zn.entries=$r,zn.entriesIn=Ur,zn.extend=_r,zn.extendWith=wr,cc(zn,zn),zn.add=gc,zn.attempt=Xr,zn.camelCase=Br,zn.capitalize=Hr,zn.ceil=bc,zn.clamp=function(e,t,i){return i===n&&(i=t,t=n),i!==n&&(i=(i=xr(i))==i?i:0),t!==n&&(t=(t=xr(t))==t?t:0),ci(xr(e),t,i)},zn.clone=function(e){return li(e,4)},zn.cloneDeep=function(e){return li(e,5)},zn.cloneDeepWith=function(e,t){return li(e,5,t="function"==typeof t?t:n)},zn.cloneWith=function(e,t){return li(e,4,t="function"==typeof t?t:n)},zn.conformsTo=function(e,t){return null==t||pi(e,t,Pr(t))},zn.deburr=qr,zn.defaultTo=function(e,t){return null==e||e!=e?t:e},zn.divide=yc,zn.endsWith=function(e,t,i){e=br(e),t=po(t);var o=e.length,a=i=i===n?o:ci(hr(i),0,o);return(i-=t.length)>=0&&e.slice(i,a)==t},zn.eq=zs,zn.escape=function(e){return(e=br(e))&&Y.test(e)?e.replace(V,an):e},zn.escapeRegExp=function(e){return(e=br(e))&&ie.test(e)?e.replace(ne,"\\$&"):e},zn.every=function(e,t,i){var o=Ws(e)?Ot:hi;return i&&_a(e,t,i)&&(t=n),o(e,pa(t,3))},zn.find=xs,zn.findIndex=qa,zn.findKey=function(e,t){return Ut(e,pa(t,3),_i)},zn.findLast=gs,zn.findLastIndex=Wa,zn.findLastKey=function(e,t){return Ut(e,pa(t,3),wi)},zn.floor=_c,zn.forEach=bs,zn.forEachRight=ys,zn.forIn=function(e,t){return null==e?e:bi(e,pa(t,3),Lr)},zn.forInRight=function(e,t){return null==e?e:yi(e,pa(t,3),Lr)},zn.forOwn=function(e,t){return e&&_i(e,pa(t,3))},zn.forOwnRight=function(e,t){return e&&wi(e,pa(t,3))},zn.get=Tr,zn.gt=Bs,zn.gte=Hs,zn.has=function(e,t){return null!=e&&xa(e,t,Ri)},zn.hasIn=Rr,zn.head=Va,zn.identity=oc,zn.includes=function(e,t,n,i){e=Vs(e)?e:zr(e),n=n&&!i?hr(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),cr(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Bt(e,t,n)>-1},zn.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o=null==n?0:hr(n);return o<0&&(o=bn(i+o,0)),Bt(e,t,o)},zn.inRange=function(e,t,i){return t=mr(t),i===n?(i=t,t=0):i=mr(i),function(e,t,n){return e>=yn(t,n)&&e<bn(t,n)}(e=xr(e),t,i)},zn.invoke=jr,zn.isArguments=qs,zn.isArray=Ws,zn.isArrayBuffer=Gs,zn.isArrayLike=Vs,zn.isArrayLikeObject=Ks,zn.isBoolean=function(e){return!0===e||!1===e||nr(e)&&Ai(e)==g},zn.isBuffer=Ys,zn.isDate=Qs,zn.isElement=function(e){return nr(e)&&1===e.nodeType&&!ar(e)},zn.isEmpty=function(e){if(null==e)return!0;if(Vs(e)&&(Ws(e)||"string"==typeof e||"function"==typeof e.splice||Ys(e)||pr(e)||qs(e)))return!e.length;var t=va(e);if(t==E||t==R)return!e.size;if(Sa(e))return!Fi(e).length;for(var n in e)if(De.call(e,n))return!1;return!0},zn.isEqual=function(e,t){return Li(e,t)},zn.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},zn.isError=Js,zn.isFinite=function(e){return"number"==typeof e&&$t(e)},zn.isFunction=Zs,zn.isInteger=Xs,zn.isLength=er,zn.isMap=ir,zn.isMatch=function(e,t){return e===t||Ii(e,t,da(t))},zn.isMatchWith=function(e,t,i){return i="function"==typeof i?i:n,Ii(e,t,da(t),i)},zn.isNaN=function(e){return or(e)&&e!=+e},zn.isNative=function(e){if(ka(e))throw new ke("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ni(e)},zn.isNil=function(e){return null==e},zn.isNull=function(e){return null===e},zn.isNumber=or,zn.isObject=tr,zn.isObjectLike=nr,zn.isPlainObject=ar,zn.isRegExp=sr,zn.isSafeInteger=function(e){return Xs(e)&&e>=-9007199254740991&&e<=d},zn.isSet=rr,zn.isString=cr,zn.isSymbol=lr,zn.isTypedArray=pr,zn.isUndefined=function(e){return e===n},zn.isWeakMap=function(e){return nr(e)&&va(e)==j},zn.isWeakSet=function(e){return nr(e)&&"[object WeakSet]"==Ai(e)},zn.join=function(e,t){return null==e?"":Vt.call(e,t)},zn.kebabCase=Wr,zn.last=Ja,zn.lastIndexOf=function(e,t,i){var o=null==e?0:e.length;if(!o)return-1;var a=o;return i!==n&&(a=(a=hr(i))<0?bn(o+a,0):yn(a,o-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,a):zt(e,qt,a,!0)},zn.lowerCase=Gr,zn.lowerFirst=Vr,zn.lt=ur,zn.lte=dr,zn.max=function(e){return e&&e.length?vi(e,oc,Ti):n},zn.maxBy=function(e,t){return e&&e.length?vi(e,pa(t,2),Ti):n},zn.mean=function(e){return Wt(e,oc)},zn.meanBy=function(e,t){return Wt(e,pa(t,2))},zn.min=function(e){return e&&e.length?vi(e,oc,$i):n},zn.minBy=function(e,t){return e&&e.length?vi(e,pa(t,2),$i):n},zn.stubArray=vc,zn.stubFalse=xc,zn.stubObject=function(){return{}},zn.stubString=function(){return""},zn.stubTrue=function(){return!0},zn.multiply=Ec,zn.nth=function(e,t){return e&&e.length?qi(e,hr(t)):n},zn.noConflict=function(){return mt._===this&&(mt._=ze),this},zn.noop=lc,zn.now=Ts,zn.pad=function(e,t,n){e=br(e);var i=(t=hr(t))?fn(e):0;if(!t||i>=t)return e;var o=(t-i)/2;return Go(vt(o),n)+e+Go(ht(o),n)},zn.padEnd=function(e,t,n){e=br(e);var i=(t=hr(t))?fn(e):0;return t&&i<t?e+Go(t-i,n):e},zn.padStart=function(e,t,n){e=br(e);var i=(t=hr(t))?fn(e):0;return t&&i<t?Go(t-i,n)+e:e},zn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),wn(br(e).replace(oe,""),t||0)},zn.random=function(e,t,i){if(i&&"boolean"!=typeof i&&_a(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=mr(e),t===n?(t=e,e=0):t=mr(t)),e>t){var o=e;e=t,t=o}if(i||e%1||t%1){var a=En();return yn(e+a*(t-e+pt("1e-"+((a+"").length-1))),t)}return Yi(e,t)},zn.reduce=function(e,t,n){var i=Ws(e)?Dt:Kt,o=arguments.length<3;return i(e,pa(t,4),n,o,fi)},zn.reduceRight=function(e,t,n){var i=Ws(e)?Ft:Kt,o=arguments.length<3;return i(e,pa(t,4),n,o,mi)},zn.repeat=function(e,t,i){return t=(i?_a(e,t,i):t===n)?1:hr(t),Qi(br(e),t)},zn.replace=function(){var e=arguments,t=br(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zn.result=function(e,t,i){var o=-1,a=(t=_o(t,e)).length;for(a||(a=1,e=n);++o<a;){var s=null==e?n:e[Ma(t[o])];s===n&&(o=a,s=i),e=Zs(s)?s.call(e):s}return e},zn.round=kc,zn.runInContext=e,zn.sample=function(e){return(Ws(e)?Zn:Zi)(e)},zn.size=function(e){if(null==e)return 0;if(Vs(e))return cr(e)?fn(e):e.length;var t=va(e);return t==E||t==R?e.size:Fi(e).length},zn.snakeCase=Kr,zn.some=function(e,t,i){var o=Ws(e)?Mt:ao;return i&&_a(e,t,i)&&(t=n),o(e,pa(t,3))},zn.sortedIndex=function(e,t){return so(e,t)},zn.sortedIndexBy=function(e,t,n){return ro(e,t,pa(n,2))},zn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=so(e,t);if(i<n&&zs(e[i],t))return i}return-1},zn.sortedLastIndex=function(e,t){return so(e,t,!0)},zn.sortedLastIndexBy=function(e,t,n){return ro(e,t,pa(n,2),!0)},zn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=so(e,t,!0)-1;if(zs(e[n],t))return n}return-1},zn.startCase=Yr,zn.startsWith=function(e,t,n){return e=br(e),n=null==n?0:ci(hr(n),0,e.length),t=po(t),e.slice(n,n+t.length)==t},zn.subtract=Sc,zn.sum=function(e){return e&&e.length?Yt(e,oc):0},zn.sumBy=function(e,t){return e&&e.length?Yt(e,pa(t,2)):0},zn.template=function(e,t,i){var o=zn.templateSettings;i&&_a(e,t,i)&&(t=n),e=br(e),t=wr({},t,o,ea);var a,s,r=wr({},t.imports,o.imports,ea),c=Pr(r),l=Xt(r,c),p=0,u=t.interpolate||ye,d="__p += '",f=Re((t.escape||ye).source+"|"+u.source+"|"+(u===Z?de:ye).source+"|"+(t.evaluate||ye).source+"|$","g"),m="//# sourceURL="+(De.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++st+"]")+"\n";e.replace(f,(function(t,n,i,o,r,c){return i||(i=o),d+=e.slice(p,c).replace(_e,sn),n&&(a=!0,d+="' +\n__e("+n+") +\n'"),r&&(s=!0,d+="';\n"+r+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),p=c+t.length,t})),d+="';\n";var h=De.call(t,"variable")&&t.variable;if(h){if(pe.test(h))throw new ke("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(s?d.replace(H,""):d).replace(q,"$1").replace(W,"$1;"),d="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=Xr((function(){return Se(c,m+"return "+d).apply(n,l)}));if(v.source=d,Js(v))throw v;return v},zn.times=function(e,t){if((e=hr(e))<1||e>d)return[];var n=m,i=yn(e,m);t=pa(t),e-=m;for(var o=Qt(i,t);++n<e;)t(n);return o},zn.toFinite=mr,zn.toInteger=hr,zn.toLength=vr,zn.toLower=function(e){return br(e).toLowerCase()},zn.toNumber=xr,zn.toSafeInteger=function(e){return e?ci(hr(e),-9007199254740991,d):0===e?e:0},zn.toString=br,zn.toUpper=function(e){return br(e).toUpperCase()},zn.trim=function(e,t,i){if((e=br(e))&&(i||t===n))return Jt(e);if(!e||!(t=po(t)))return e;var o=mn(e),a=mn(t);return Eo(o,tn(o,a),nn(o,a)+1).join("")},zn.trimEnd=function(e,t,i){if((e=br(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("")},zn.trimStart=function(e,t,i){if((e=br(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("")},zn.truncate=function(e,t){var i=30,o="...";if(tr(t)){var a="separator"in t?t.separator:a;i="length"in t?hr(t.length):i,o="omission"in t?po(t.omission):o}var s=(e=br(e)).length;if(rn(e)){var r=mn(e);s=r.length}if(i>=s)return e;var c=i-fn(o);if(c<1)return o;var l=r?Eo(r,0,c).join(""):e.slice(0,c);if(a===n)return l+o;if(r&&(c+=l.length-c),sr(a)){if(e.slice(c).search(a)){var p,u=l;for(a.global||(a=Re(a.source,br(fe.exec(a))+"g")),a.lastIndex=0;p=a.exec(u);)var d=p.index;l=l.slice(0,d===n?c:d)}}else if(e.indexOf(po(a),c)!=c){var f=l.lastIndexOf(a);f>-1&&(l=l.slice(0,f))}return l+o},zn.unescape=function(e){return(e=br(e))&&K.test(e)?e.replace(G,vn):e},zn.uniqueId=function(e){var t=++Fe;return br(e)+t},zn.upperCase=Qr,zn.upperFirst=Jr,zn.each=bs,zn.eachRight=ys,zn.first=Va,cc(zn,(wc={},_i(zn,(function(e,t){De.call(zn.prototype,t)||(wc[t]=e)})),wc),{chain:!1}),zn.VERSION="4.17.21",Rt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),Rt(["drop","take"],(function(e,t){Wn.prototype[e]=function(i){i=i===n?1:bn(hr(i),0);var o=this.__filtered__&&!t?new Wn(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},Wn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Rt(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=1==n||3==n;Wn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:pa(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),Rt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Wn.prototype[e]=function(){return this[n](1).value()[0]}})),Rt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Wn.prototype[e]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(oc)},Wn.prototype.find=function(e){return this.filter(e).head()},Wn.prototype.findLast=function(e){return this.reverse().find(e)},Wn.prototype.invokeMap=Ji((function(e,t){return"function"==typeof e?new Wn(this):this.map((function(n){return ji(n,e,t)}))})),Wn.prototype.reject=function(e){return this.filter(Ds(pa(e)))},Wn.prototype.slice=function(e,t){e=hr(e);var i=this;return i.__filtered__&&(e>0||t<0)?new Wn(i):(e<0?i=i.takeRight(-e):e&&(i=i.drop(e)),t!==n&&(i=(t=hr(t))<0?i.dropRight(-t):i.take(t-e)),i)},Wn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Wn.prototype.toArray=function(){return this.take(m)},_i(Wn.prototype,(function(e,t){var i=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),a=zn[o?"take"+("last"==t?"Right":""):t],s=o||/^find/.test(t);a&&(zn.prototype[t]=function(){var t=this.__wrapped__,r=o?[1]:arguments,c=t instanceof Wn,l=r[0],p=c||Ws(t),u=function(e){var t=a.apply(zn,Nt([e],r));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 Wn(this);var v=e.apply(t,r);return v.__actions__.push({func:ms,args:[u],thisArg:n}),new qn(v,d)}return m&&h?e.apply(this,r):(v=this.thru(u),m?o?v.value()[0]:v.value():v)})})),Rt(["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);zn.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var o=this.value();return t.apply(Ws(o)?o:[],e)}return this[n]((function(n){return t.apply(Ws(n)?n:[],e)}))}})),_i(Wn.prototype,(function(e,t){var n=zn[t];if(n){var i=n.name+"";De.call(Pn,i)||(Pn[i]=[]),Pn[i].push({name:t,func:n})}})),Pn[Bo(n,2).name]=[{name:"wrapper",func:n}],Wn.prototype.clone=function(){var e=new Wn(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},Wn.prototype.reverse=function(){if(this.__filtered__){var e=new Wn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Wn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ws(e),i=t<0,o=n?e.length:0,a=function(e,t,n){var i=-1,o=n.length;for(;++i<o;){var a=n[i],s=a.size;switch(a.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=a.start,r=a.end,c=r-s,l=i?r:s-1,p=this.__iteratees__,u=p.length,d=0,f=yn(c,this.__takeCount__);if(!n||!i&&o==c&&f==c)return vo(e,this.__actions__);var m=[];e:for(;c--&&d<f;){for(var h=-1,v=e[l+=t];++h<u;){var x=p[h],g=x.iteratee,b=x.type,y=g(v);if(2==b)v=y;else if(!y){if(1==b)continue e;break e}}m[d++]=v}return m},zn.prototype.at=hs,zn.prototype.chain=function(){return fs(this)},zn.prototype.commit=function(){return new qn(this.value(),this.__chain__)},zn.prototype.next=function(){this.__values__===n&&(this.__values__=fr(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},zn.prototype.plant=function(e){for(var t,i=this;i instanceof Hn;){var o=Ua(i);o.__index__=0,o.__values__=n,t?a.__wrapped__=o:t=o;var a=o;i=i.__wrapped__}return a.__wrapped__=e,t},zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Wn){var t=e;return this.__actions__.length&&(t=new Wn(this)),(t=t.reverse()).__actions__.push({func:ms,args:[ts],thisArg:n}),new qn(t,this.__chain__)}return this.thru(ts)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return vo(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,et&&(zn.prototype[et]=function(){return this}),zn}();vt?((vt.exports=xn)._=xn,ht._=xn):mt._=xn}).call(et)}(cy,cy.exports);var ly=tt(cy.exports),py={};!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,a=0;a<e.length-(n-1);a++){var s=e.substr(a,n);o.set(s,o.has(s)?o.get(s)+1:1)}for(var r=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),r++)}return 2*r/(e.length+t.length-2*(n-1))},e.default=e.stringSimilarity}(py);var uy=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},dy=uy,fy=Object.create,my=function(){function e(){}return function(t){if(!dy(t))return{};if(fy)return fy(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var hy=function(){},vy=my,xy=hy;function gy(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}gy.prototype=vy(xy.prototype),gy.prototype.constructor=gy;var by=gy;var yy=function(e,t){for(var n=-1,i=t.length,o=e.length;++n<i;)e[o+n]=t[n];return e},_y="object"==typeof et&&et&&et.Object===Object&&et,wy="object"==typeof self&&self&&self.Object===Object&&self,Ey=_y||wy||Function("return this")(),ky=Ey.Symbol,Sy=ky,Ay=Object.prototype,Ty=Ay.hasOwnProperty,Ry=Ay.toString,Cy=Sy?Sy.toStringTag:void 0;var Oy=function(e){var t=Ty.call(e,Cy),n=e[Cy];try{e[Cy]=void 0;var i=!0}catch(e){}var o=Ry.call(e);return i&&(t?e[Cy]=n:delete e[Cy]),o},jy=Object.prototype.toString;var Py=Oy,Ly=function(e){return jy.call(e)},Iy=ky?ky.toStringTag:void 0;var Ny=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Iy&&Iy in Object(e)?Py(e):Ly(e)};var Dy=function(e){return null!=e&&"object"==typeof e},Fy=Ny,My=Dy;var $y=function(e){return My(e)&&"[object Arguments]"==Fy(e)},Uy=Dy,zy=Object.prototype,By=zy.hasOwnProperty,Hy=zy.propertyIsEnumerable,qy=$y(function(){return arguments}())?$y:function(e){return Uy(e)&&By.call(e,"callee")&&!Hy.call(e,"callee")},Wy=Array.isArray,Gy=qy,Vy=Wy,Ky=ky?ky.isConcatSpreadable:void 0;var Yy=yy,Qy=function(e){return Vy(e)||Gy(e)||!!(Ky&&e&&e[Ky])};var Jy=function e(t,n,i,o,a){var s=-1,r=t.length;for(i||(i=Qy),a||(a=[]);++s<r;){var c=t[s];n>0&&i(c)?n>1?e(c,n-1,i,o,a):Yy(a,c):o||(a[a.length]=c)}return a},Zy=Jy;var Xy=function(e){return(null==e?0:e.length)?Zy(e,1):[]};var e_=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)},t_=Math.max;var n_=function(e,t,n){return t=t_(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,a=t_(i.length-t,0),s=Array(a);++o<a;)s[o]=i[t+o];o=-1;for(var r=Array(t+1);++o<t;)r[o]=i[o];return r[t]=n(s),e_(e,this,r)}};var i_=function(e){return function(){return e}},o_=Ny,a_=uy;var s_,r_=function(e){if(!a_(e))return!1;var t=o_(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},c_=Ey["__core-js_shared__"],l_=(s_=/[^.]+$/.exec(c_&&c_.keys&&c_.keys.IE_PROTO||""))?"Symbol(src)_1."+s_:"";var p_=function(e){return!!l_&&l_ in e},u_=Function.prototype.toString;var d_=r_,f_=p_,m_=uy,h_=function(e){if(null!=e){try{return u_.call(e)}catch(e){}try{return e+""}catch(e){}}return""},v_=/^\[object .+?Constructor\]$/,x_=Function.prototype,g_=Object.prototype,b_=x_.toString,y_=g_.hasOwnProperty,__=RegExp("^"+b_.call(y_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var w_=function(e){return!(!m_(e)||f_(e))&&(d_(e)?__:v_).test(h_(e))},E_=function(e,t){return null==e?void 0:e[t]};var k_=function(e,t){var n=E_(e,t);return w_(n)?n:void 0},S_=k_,A_=function(){try{var e=S_(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var T_=i_,R_=A_,C_=R_?function(e,t){return R_(e,"toString",{configurable:!0,enumerable:!1,value:T_(t),writable:!0})}:function(e){return e},O_=C_,j_=Date.now;var P_=function(e){var t=0,n=0;return function(){var i=j_(),o=16-(i-n);if(n=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(O_),L_=Xy,I_=n_,N_=P_;var D_=function(e){return N_(I_(e,void 0,L_),e+"")},F_=k_(Ey,"WeakMap");var M_=F_&&new F_,$_=M_?function(e){return M_.get(e)}:function(){},U_={},z_=Object.prototype.hasOwnProperty;var B_=function(e){for(var t=e.name+"",n=U_[t],i=z_.call(U_,t)?n.length:0;i--;){var o=n[i],a=o.func;if(null==a||a==e)return o.name}return t},H_=my,q_=hy;function W_(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}W_.prototype=H_(q_.prototype),W_.prototype.constructor=W_;var G_=W_;var V_=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t},K_=G_,Y_=by,Q_=V_;var J_=G_,Z_=by,X_=hy,ew=Wy,tw=Dy,nw=function(e){if(e instanceof K_)return e.clone();var t=new Y_(e.__wrapped__,e.__chain__);return t.__actions__=Q_(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t},iw=Object.prototype.hasOwnProperty;function ow(e){if(tw(e)&&!ew(e)&&!(e instanceof J_)){if(e instanceof Z_)return e;if(iw.call(e,"__wrapped__"))return nw(e)}return new Z_(e)}ow.prototype=X_.prototype,ow.prototype.constructor=ow;var aw=G_,sw=$_,rw=B_,cw=ow;var lw=function(e){var t=rw(e),n=cw[t];if("function"!=typeof n||!(t in aw.prototype))return!1;if(e===n)return!0;var i=sw(n);return!!i&&e===i[0]},pw=by,uw=D_,dw=$_,fw=B_,mw=Wy,hw=lw;var vw=function(e){return uw((function(t){var n=t.length,i=n,o=pw.prototype.thru;for(e&&t.reverse();i--;){var a=t[i];if("function"!=typeof a)throw new TypeError("Expected a function");if(o&&!s&&"wrapper"==fw(a))var s=new pw([],!0)}for(i=s?i:n;++i<n;){a=t[i];var r=fw(a),c="wrapper"==r?dw(a):void 0;s=c&&hw(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[fw(c[0])].apply(s,c[3]):1==a.length&&hw(a)?s[r]():s.thru(a)}return function(){var e=arguments,i=e[0];if(s&&1==e.length&&mw(i))return s.plant(i).value();for(var o=0,a=n?t[o].apply(this,e):i;++o<n;)a=t[o].call(this,a);return a}}))},xw=tt(vw());const gw=e=>"string"==typeof e?e:"";const bw=e=>e.split(/\r?\n/),yw=e=>e.trim().toLowerCase();function _w(e,t,n={maxLineGap:4,threshold:.92}){const{maxLineGap:i=4,threshold:o=.92}=n,a=bw(e),s=bw(t),r=s.length,c=((e,t,n)=>{for(let i=0;i<t.length;i++){const o=yw(t[i]);if(!o&&o.length<4)continue;const a=e.get(o);if(a)return a.map((e=>e-n-i))}return[0]})((e=>{const t=new Map;return e.forEach(((e,n)=>{const i=yw(e);i&&(t.has(i)||t.set(i,[]),t.get(i).push(n))})),t})(a),s,i);let l=null;for(const e of c){const n=[...new Array(i)].map(((t,n)=>{const o=Math.max(0,e+n+1);return[...new Array(i)].map(((e,t)=>[o,o+r+t]))})).flat(),o=ly.uniqBy(n,(([e,t])=>`${e}-${t}`));for(const e of o){const[n,i]=e,o=a.slice(n,i).join("\n"),s=py.stringSimilarity(t,o);if((!l||s>l.score)&&(l={start:n,end:i,score:s,block:o},s>=.999))return l}}return l&&l.score>=o?l:null}class ww extends Error{message='Delimiter error for patch format!Delimiters should be one of the following:"\n<<< SEARCH <<<\n", "\n==== REPLACED_BY ====\n", "\n>>> END >>>\n"'}const Ew=e=>{const t=e.indexOf("\r\n"),n=e.indexOf("\n"),i=e.indexOf("\r");return-1!==t?"\r\n":-1!==n?"\n":-1!==i?"\r":"\n"};class kw extends Error{patchIndex;patches;content;result;constructor(e,t,n){super(),this.patchIndex=e,this.patches=t,this.content=n,this.result=this.getResult()}getResult(){const e=this.patches[this.patchIndex].search.join("\n"),t=_w(this.content,e,{threshold:0,maxLineGap:0}),n=Ew(this.content),i=t?this.content.split(/\r?\n/).slice(Math.max(0,t.start-2),t.end+2).join(n):"";return{failedPatchIndex:this.patchIndex,patches:this.patches,similiarBlock:i,similarity:t?.score}}}const Sw=e=>e.replace(/^(\r?\n)+/,"");function Aw(e,t,n){if(1===e.length)return t.indexOf(e[0]);const i=[];n?.caseSensitive&&i.push((e=>e.toLowerCase())),n?.trim&&i.push((e=>e.trim()));const o=ly.flow(i),a=e.map(o).join("\n"),s=t.map(o).join("\n"),r=s.indexOf(a);if(-1===r)return n?r:Aw(e,t,{caseSensitive:!0,trim:!0});return s.slice(0,r).split(/\r?\n/).length-1}function Tw(e,t,n,i){return t.toString()?[...e,...t,...n].join(i):[...e,...n].join(i)}const Rw=(e,t,n)=>{try{const i=function(e){const t=[],n={context:"none",current:null};for(const i of e.split("\n"))if(/^[<=]+\s*SEARCH\s*[<=#]+$/.test(i)){if("replace"===n.context||"search"===n.context)throw new ww;n.current&&"none"===n.context&&t.push(n.current),n.context="search",n.current={search:[],replace:[]}}else if(/^[<=>]+\s*REPLACED?_BY\s*[<=>]+$/.test(i)){if("search"!==n.context)throw new ww;n.context="replace"}else if(/^[>=]+\s*END\s*[>=]+$/.test(i)){if("replace"!==n.context)throw new ww;n.context="none"}else"search"===n.context&&n.current?n.current.search.push(i):"replace"===n.context&&n.current&&n.current.replace.push(i);return n.current&&t.push(n.current),t}(t),o=Ew(e);if(!i.length&&!n?.stream)return{error:new ww,patchedContent:e,patches:[]};const{streamLineCount:a,patchedContent:s,error:r}=xw(i.map(((t,a)=>s=>{if(s.error)return s;const r=Sw(t.search.join(o)),c=r.split(/\r?\n/),l=t.replace,p=s.patchedContent;if(n?.stream){const e=p.indexOf(r);return{streamLineCount:p.slice(0,e).split(/\r?\n/).length-1+t.replace.length,patchedContent:p.replace(r,Sw(l.join(o)))}}{const t=p.split(/\r?\n/),n=Aw(c,t);if(-1!==n){const e=n,i=e+c.length;return l.toString()?{patchedContent:Tw(t.slice(0,e),l,t.slice(i),o)}:{patchedContent:Tw(t.slice(0,e),[],t.slice(i),o)}}const u=function(e,t){const n=e.split(/\r?\n/),i=t.split(/\r?\n/);if(i.length<=2)return null;let o=n.map(((e,t)=>t)),a=0;for(const e of i){const t=o.filter((t=>gw(n[t])===gw(e)));if(0===t.length){if(0===a)return null;break}o=t.map((e=>e+1)),a++}const s=Math.max(...o)-a;o=n.slice(s).map(((e,t)=>s+t));let r=0;for(const e of[...i].reverse()){const t=o.filter((t=>gw(n[t])===gw(e)));if(0===t.length){if(0===r)return null;break}o=t.map((e=>e-1)),r++}const c=Math.min(...o)+r+1;return{start:s,end:c,block:n.slice(s,c).join("\n")}}(p,r);if(u){if(py.stringSimilarity(r,u.block)>.67)return{patchedContent:Tw(t.slice(0,u.start-1),l,t.slice(u.end),o)}}return{error:new kw(a,i,e),patchedContent:s.patchedContent}}})))({patchedContent:e,streamLineCount:0});return{error:r,patchedContent:n?.stream?s.split(/\r?\n/).slice(0,a).join(o):s,patches:i}}catch(t){return{error:t,patchedContent:e,patches:[]}}},Cw=".comate",Ow="rules",jw="default.mdr";function Pw(e){const t=[...e.matchAll(/[@#]([\w/.\-\u4e00-\u9fa5]+)/g)].filter((t=>{const n=t.index??0,i=e[n-1]??"",o=e[n+t[0].length]??"";return""===i.trim()&&""===o.trim()})),n=t.map((e=>e[1].trim()));return{files:[...new Set(n)],matches:t}}var Lw;!function(e){e.EDIT="edit",e.PREVIEW="preview"}(Lw||(Lw={}));class Iw{config;static event="VIRTUAL_EDITOR_EVENT";promiseMap=new Map;customResolverMap=new Map;constructor(e){this.config=e}resolve({uuid:e,...t}){const n=this.promiseMap.get(e);if(n)return n(t),void this.promiseMap.delete(e);const i=this.customResolverMap.get(e);if(i){i(t)&&this.customResolverMap.delete(e)}}async openDocument(e){this.sendToIDE("openDocument",e)}async closeDocument(e){this.sendToIDE("closeDocument",e)}async deleteDocument(e){this.sendToIDE("deleteDocument",e)}async refreshProjectTree(){this.sendToIDE("refreshProjectTree",{})}async getActiveDocument(){const e=this.sendToIDE("getActiveDocument",{}),t=await this.withReceivePromise(e,{existed:!1,content:"",absolutePath:"",scheme:"file",selections:[]});return t.existed&&t.absolutePath?t:{existed:!1,content:"",absolutePath:"",selections:[]}}async getDocument(e){const t=this.sendToIDE("getDocument",e),n=await this.withReceivePromise(t,{existed:!1,absolutePath:e.absolutePath,content:""});return!n.existed&&s(e.absolutePath)?{existed:!0,absolutePath:e.absolutePath,content:r(e.absolutePath,"utf-8")}:n}async openVirtualDiffDocument(e){this.sendToIDE("openVirtualDiffDocument",{...e,inlineView:e.acceptable})}async closeVirtualDiffDocument(e){this.sendToIDE("closeVirtualDiffDocument",e)}async replaceVirtualDiffModifiedDocument(e){this.sendToIDE("replaceVirtualDiffModifiedDocument",e,{skipWriteLog:!0})}async getVirtualDiffDocument(e){const t=this.sendToIDE("getVirtualDiffDocument",e);return this.withReceivePromise(t,{existed:!1,content:"",absolutePath:e.absolutePath})}async saveDocumentWithReplaceContent(e){const t=this.sendToIDE("saveDocumentWithReplaceContent",e);return this.withReceivePromise(t,{})}async saveDocumentWithReplaceContentAndOpen(e){const t=this.sendToIDE("saveDocumentWithReplaceContentAndOpen",e);return this.withReceivePromise(t,{})}async executeTerminalShell(e,t){const n=this.sendToIDE("executeTerminalShell",e),i={completed:!1,output:""};return"function"==typeof t?this.withReceiveEndPromise(n,i,t,e.duration):this.withReceivePromise(n,i,e.duration)}async executeDebugCommand(e){const t=this.sendToIDE("executeDebugCommand",e);return this.withReceivePromise(t,{status:"timeout"},e.duration)}async getLatestOutputFromActiveTerminal(){const e=this.sendToIDE("getLatestOutputFromActiveTerminal",{});return this.withReceivePromise(e,{output:""},2e3)}async openUrlInEditorWebview(e){this.sendToIDE("openUrlInEditorWebview",e)}async endConversationEditSession(e){this.sendToIDE("endConversationEditSession",e)}async startConversationEditSession(e){this.sendToIDE("startConversationEditSession",e)}async getDocumentDiagnostics(e){const t=this.sendToIDE("getDocumentDiagnostics",e);return this.withReceivePromise(t,{},3e3)}sendToIDE(e,t,n){const i=Object.entries(t).filter((([e])=>!["content","modified"].includes(e)));this.config.logger.verbose(`VirtualEditor.${e}, args: ${i.map((([e,t])=>`${e}=${t}`)).join(",")}`);const o=j.randomUUID();return this.config.send(Iw.event,{action:e,payload:{...t,uuid:o}},n).catch((()=>{})),o}withReceivePromise(e,t,n=3e3){return new Promise((i=>{const o=setTimeout((()=>{i(t)}),n);this.promiseMap.set(e,(e=>{clearTimeout(o),i(e)}))}))}withReceiveEndPromise(e,t,n,i=3e3){return new Promise((o=>{const a=setTimeout((()=>{o(t),this.customResolverMap.delete(e)}),i);this.customResolverMap.set(e,(e=>!1===e.isEnd?(n(e),!1):(clearTimeout(a),o(e),!0)))}))}}class Nw{diff(e,t,n={}){let i;"function"==typeof n?(i=n,n={}):"callback"in n&&(i=n.callback);const o=this.castInput(e,n),a=this.castInput(t,n),s=this.removeEmpty(this.tokenize(o,n)),r=this.removeEmpty(this.tokenize(a,n));return this.diffWithOptionsObj(s,r,n,i)}diffWithOptionsObj(e,t,n,i){var o;const a=e=>(e=this.postProcess(e,n),i?void setTimeout((function(){i(e)}),0):e),s=t.length,r=e.length;let c=1,l=s+r;null!=n.maxEditLength&&(l=Math.min(l,n.maxEditLength));const p=null!==(o=n.timeout)&&void 0!==o?o:1/0,u=Date.now()+p,d=[{oldPos:-1,lastComponent:void 0}];let f=this.extractCommon(d[0],t,e,0,n);if(d[0].oldPos+1>=r&&f+1>=s)return a(this.buildValues(d[0].lastComponent,t,e));let m=-1/0,h=1/0;const v=()=>{for(let i=Math.max(m,-c);i<=Math.min(h,c);i+=2){let o;const c=d[i-1],l=d[i+1];c&&(d[i-1]=void 0);let p=!1;if(l){const e=l.oldPos-i;p=l&&0<=e&&e<s}const u=c&&c.oldPos+1<r;if(p||u){if(o=!u||p&&c.oldPos<l.oldPos?this.addToPath(l,!0,!1,0,n):this.addToPath(c,!1,!0,1,n),f=this.extractCommon(o,t,e,i,n),o.oldPos+1>=r&&f+1>=s)return a(this.buildValues(o.lastComponent,t,e))||!0;d[i]=o,o.oldPos+1>=r&&(h=Math.min(h,i-1)),f+1>=s&&(m=Math.max(m,i+1))}else d[i]=void 0}c++};if(i)!function e(){setTimeout((function(){if(c>l||Date.now()>u)return i(void 0);v()||e()}),0)}();else for(;c<=l&&Date.now()<=u;){const e=v();if(e)return e}}addToPath(e,t,n,i,o){const a=e.lastComponent;return a&&!o.oneChangePerToken&&a.added===t&&a.removed===n?{oldPos:e.oldPos+i,lastComponent:{count:a.count+1,added:t,removed:n,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+i,lastComponent:{count:1,added:t,removed:n,previousComponent:a}}}extractCommon(e,t,n,i,o){const a=t.length,s=n.length;let r=e.oldPos,c=r-i,l=0;for(;c+1<a&&r+1<s&&this.equals(n[r+1],t[c+1],o);)c++,r++,l++,o.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return l&&!o.oneChangePerToken&&(e.lastComponent={count:l,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=r,c}equals(e,t,n){return n.comparator?n.comparator(e,t):e===t||!!n.ignoreCase&&e.toLowerCase()===t.toLowerCase()}removeEmpty(e){const t=[];for(let n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t}castInput(e,t){return e}tokenize(e,t){return Array.from(e)}join(e){return e.join("")}postProcess(e,t){return e}get useLongestToken(){return!1}buildValues(e,t,n){const i=[];let o;for(;e;)i.push(e),o=e.previousComponent,delete e.previousComponent,e=o;i.reverse();const a=i.length;let s=0,r=0,c=0;for(;s<a;s++){const e=i[s];if(e.removed)e.value=this.join(n.slice(c,c+e.count)),c+=e.count;else{if(!e.added&&this.useLongestToken){let i=t.slice(r,r+e.count);i=i.map((function(e,t){const i=n[c+t];return i.length>e.length?i:e})),e.value=this.join(i)}else e.value=this.join(t.slice(r,r+e.count));r+=e.count,e.added||(c+=e.count)}}return i}}const Dw=new class extends Nw{constructor(){super(...arguments),this.tokenize=Mw}equals(e,t,n){return n.ignoreWhitespace?(n.newlineIsToken&&e.includes("\n")||(e=e.trim()),n.newlineIsToken&&t.includes("\n")||(t=t.trim())):n.ignoreNewlineAtEof&&!n.newlineIsToken&&(e.endsWith("\n")&&(e=e.slice(0,-1)),t.endsWith("\n")&&(t=t.slice(0,-1))),super.equals(e,t,n)}};function Fw(e,t,n){return Dw.diff(e,t,n)}function Mw(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,"\n"));const n=[],i=e.split(/(\n|\r\n)/);i[i.length-1]||i.pop();for(let e=0;e<i.length;e++){const o=i[e];e%2&&!t.newlineIsToken?n[n.length-1]+=o:n.push(o)}return n}const $w=e=>j.createHash("sha256").update(e).digest("hex").slice(0,16);class Uw{createdTime=Date.now();histories={};generateLines={};agentEditsCache={};userEditsCache={};get data(){return{createdTime:this.createdTime,histories:this.histories,generateLines:this.generateLines}}isEmpty(e=this.data){return Object.values(e.histories).every((e=>!e.codeWrittenLineNums.length))}init(e){this.createdTime=e.createdTime,this.histories=e.histories,this.generateLines=e.generateLines}computeCodeWrittenMetric(e,t,n){let i=[...e],o=0;for(const e of t)if(e.added){const t=[...new Array(e.count)].map(((e,t)=>o+t+1));i=i.map((t=>t>o?t+e.count:t)),"agent"===n&&(i=t.concat(i).sort(((e,t)=>e-t))),o+=e.count}else if(e.removed){const t=[...new Array(e.count)].map(((e,t)=>o+t+1));i=i.filter((e=>!t.includes(e))).map((t=>t>o?t-e.count:t))}else o+=e.count;return i}agentEdit(e){for(const t of e){const e=this.histories[t.filePath]?.content||"";if(t.originalContent!==e){const n={...t,originalContent:e,modifiedContent:t.originalContent};this.userEdit([n])}const{filePath:n,originalContent:i,modifiedContent:o}=t,a=this.histories[n]?.codeWrittenLineNums||[],s=$w(i),r=$w(o);if(!this.agentEditsCache[s]?.[r]){this.generateLines[n]||(this.generateLines[n]=[]);const e=Fw(i,o);this.generateLines[n]=this.generateLines[n].concat(e.map((e=>e.added?e.value.replace(/\r?\n$/,"").split(/\r?\n/).map((e=>`+ ${e}`)):[])).flat());const t=this.computeCodeWrittenMetric(a,e,"agent");this.agentEditsCache[s]=this.agentEditsCache[s]||{},this.agentEditsCache[s][r]=t,this.userEditsCache[s]=t}const c=this.agentEditsCache[s][r];this.histories[n]={content:o,codeWrittenLineNums:c}}}userEdit(e){for(const t of e){const{filePath:e,originalContent:n,modifiedContent:i}=t,o=this.histories[e]?.codeWrittenLineNums||[],a=$w(i);if(this.userEditsCache[a]){const t=this.userEditsCache[a];this.histories[e]={content:i,codeWrittenLineNums:t}}else{const t=Fw(n,i),a=this.computeCodeWrittenMetric(o,t,"user");this.histories[e]={content:i,codeWrittenLineNums:a}}}}clear(){this.histories={},this.generateLines={},this.agentEditsCache={},this.userEditsCache={},this.createdTime=Date.now()}}const zw={cpp:["cpp","c++","cc","cp","cxx","h","h++","hh","hpp","hxx","inc","inl","ino","ipp","ixx","re","tcc","tpp","c","cats","idc"],python:["py","cgi","fcgi","gyp","gypi","lmi","py3","pyde","pyi","pyp","pyt","pyw","rpy","smk","spec","tac","wsgi","xpy"],css:["css"],go:["go"],less:["less"],javascript:["js","_js","bones","cjs","es","es6","frag","gs","jake","javascript","jsb","jscad","jsfl","jslib","jsm","jspre","jss","jsx","mjs","njs","pac","sjs","ssjs","xsjs","xsjslib","v","veo"],ruby:["rb","builder","eye","fcgi","gemspec","god","jbuilder","mspec","pluginspec","podspec","prawn","rabl","rake","rbi","rbuild","rbw","rbx","ru","ruby","spec","thor","watchr"],java:["java","jav"],shell:["sh","bash","bats","cgi","command","env","fcgi","ksh","shin","tmux","tool","zsh","zsh-theme"],php:["php","aw","ctp","fcgi","inc","php3","php4","php5","phps","phpt","phtml"],html:["html","hta","htm","html.hl","inc","xht","xhtml"],perl:["pl","al","cgi","fcgi","perl","ph","plx","pm","psgi","t"],typescript:["ts","cts","mts","tsx"],swift:["swift"],pug:["pug"],scss:["scss"],vue:["vue"],stylus:["styl"],vhdl:["vhdl","vhd","vhf","vhi","vho","vhs","vht","vhw"],rust:["rs","rs.in"],mermaid:["mermaid","mmd"],sass:["sass"],graphql:["graphql","gql","graphqls"],san:["san"],swan:["swan","wxml","wxss"],kotlin:["kt","kts","ktm"],objectivec:["m","mm"],lua:["lua"]},Bw={cpp:"cpp","c++":"cpp",cc:"cpp",cp:"cpp",cxx:"cpp",h:"cpp","h++":"cpp",hh:"cpp",hpp:"cpp",hxx:"cpp",inc:"html",inl:"cpp",ino:"cpp",ipp:"cpp",ixx:"cpp",re:"cpp",tcc:"cpp",tpp:"cpp",c:"cpp",cats:"cpp",idc:"cpp",java:"java",jav:"java",py:"python",cgi:"shell",fcgi:"shell",gyp:"python",gypi:"python",lmi:"python",py3:"python",pyde:"python",pyi:"python",pyp:"python",pyt:"python",pyw:"python",rpy:"python",smk:"python",spec:"ruby",tac:"python",wsgi:"python",xpy:"python",go:"go",php:"php",aw:"php",ctp:"php",php3:"php",php4:"php",php5:"php",phps:"php",phpt:"php",phtml:"php",js:"javascript",_js:"javascript",bones:"javascript",cjs:"javascript",es:"javascript",es6:"javascript",frag:"glsl",gs:"javascript",jake:"javascript",javascript:"javascript",jsb:"javascript",jscad:"javascript",jsfl:"javascript",jslib:"javascript",jsm:"javascript",jspre:"javascript",jss:"javascript",jsx:"javascript",mjs:"javascript",njs:"javascript",pac:"javascript",sjs:"javascript",ssjs:"javascript",xsjs:"javascript",xsjslib:"javascript",v:"javascript",veo:"javascript",pl:"perl",al:"perl",perl:"perl",ph:"perl",plx:"perl",pm:"perl",psgi:"perl",t:"perl",rb:"ruby",builder:"ruby",eye:"ruby",gemspec:"ruby",god:"ruby",jbuilder:"ruby",mspec:"ruby",pluginspec:"ruby",podspec:"ruby",prawn:"ruby",rabl:"ruby",rake:"ruby",rbi:"ruby",rbuild:"ruby",rbw:"ruby",rbx:"ruby",ru:"ruby",ruby:"ruby",thor:"ruby",watchr:"ruby",swift:"swift",sh:"shell",bash:"shell",bats:"shell",command:"shell",env:"shell",ksh:"shell",shin:"shell",tmux:"shell",tool:"shell",zsh:"shell","zsh-theme":"shell",css:"css",ts:"typescript",cts:"typescript",mts:"typescript",tsx:"typescript",less:"less",html:"html",hta:"html",htm:"html","html.hl":"html",xht:"html",xhtml:"html",m:"objectivec",mm:"objectivec",rs:"rust","rs.in":"rust",kt:"kotlin",kts:"kotlin",ktm:"kotlin",swan:"swan",wxml:"swan",wxss:"swan",san:"san",lua:"lua",vue:"vue",sass:"sass",scss:"scss",styl:"stylus",pug:"pug",vhdl:"vhdl",vhd:"vhdl",vhf:"vhdl",vhi:"vhdl",vho:"vhdl",vhs:"vhdl",vht:"vhdl",vhw:"vhdl",mermaid:"mermaid",mmd:"mermaid",graphql:"graphql",gql:"graphql",graphqls:"graphql",ada:"ada",adb:"ada",ads:"ada",agda:"agda",als:"alloy",g4:"antlr",applescript:"applescript",scpt:"applescript",a51:"assembly",asm:"assembly",nasm:"assembly",aug:"augeas",auk:"awk",awk:"awk",gawk:"awk",mawk:"awk",nawk:"awk",bat:"batchfile",cmd:"batchfile",bsv:"bluespec",cake:"csharp",cs:"csharp",cshtml:"csharp",boot:"clojure",clj:"clojure",cljc:"clojure",cljs:"clojure",cljx:"clojure",cmake:"cmake",_coffee:"coffeescript",cjsx:"coffeescript",coffee:"coffeescript",cson:"coffeescript",iced:"coffeescript",asd:"commonlisp",lisp:"commonlisp",lsp:"commonlisp",ny:"commonlisp",cu:"cuda",cuh:"cuda",dart:"dart",dockerfile:"dockerfile",ex:"elixir",exs:"elixir",elm:"elm",el:"emacslisp",emacs:"emacslisp",erl:"erlang",escript:"erlang",hrl:"erlang",yrl:"erlang",fs:"fsharp",fsi:"fsharp",fsx:"fsharp",f:"fortran",f03:"fortran",f08:"fortran",f90:"fortran",f95:"fortran",for:"fortran",fpp:"fortran",fp:"glsl",fsh:"glsl",fshader:"glsl",geom:"glsl",glsl:"glsl",glslv:"glsl",shader:"glsl",vert:"glsl",vsh:"glsl",vshader:"glsl",groovy:"groovy",gtpl:"groovy",gvy:"groovy",hs:"haskell",hsc:"haskell",idr:"idris",lidr:"idris",thy:"isabelle",jsp:"javaserverpages",json:"json",jl:"julia",hlean:"lean",lean:"lean",lagda:"literateagda",litcoffee:"literatecoffeescript",lhs:"literatehaskell",mak:"makefile",mk:"makefile",mpl:"maple",markdown:"markdown",md:"markdown",mkd:"markdown",mkdn:"markdown",ron:"markdown",ma:"mathematica",mathematica:"mathematica",mt:"mathematica",nb:"mathematica",wl:"mathematica",matlab:"matlab",eliom:"ocaml",eliomi:"ocaml",ml:"ocaml",ml4:"ocaml",mli:"ocaml",mll:"ocaml",mly:"ocaml",dfm:"pascal",lpr:"pascal",pas:"pascal",ps1:"powershell",psd1:"powershell",psm1:"powershell",prolog:"prolog",yap:"prolog",proto:"protocolbuffer",r:"r",rd:"r",rsx:"r",scrbl:"racket",rst:"restructuredtext",rmd:"rmarkdown",sas:"sas",sbt:"scala",scala:"scala",scm:"scheme",sld:"scheme",sps:"scheme",st:"smalltalk",sol:"solidity",rq:"sparql",sparql:"sparql",cql:"sql",db2:"sql",ddl:"sql",pkb:"sql",pks:"sql",plb:"sql",plsql:"sql",prc:"sql",sql:"sql",udf:"sql",stan:"stan",fun:"standardml",sml:"standardml",ado:"stata",do:"stata",doh:"stata",mata:"stata",matah:"stata",sv:"systemverilog",svh:"systemverilog",vh:"systemverilog",adp:"tcl",tcl:"tcl",tm:"tcl",csh:"tcsh",tcsh:"tcsh",bbx:"tex",bib:"tex",cbx:"tex",dtx:"tex",ins:"tex",lbx:"tex",mkii:"tex",mkiv:"tex",mkvi:"tex",sty:"tex",tex:"tex",thrift:"thrift",bas:"visualbasic",frm:"visualbasic",vb:"visualbasic",vba:"visualbasic",vbhtml:"visualbasic",vbs:"visualbasic",xsl:"xslt",xslt:"xslt",y:"yacc",yacc:"yacc",yaml:"yaml",yml:"yaml",zig:"zig",ipynb:"jupyter"},Hw="ACTION_V8_SNAP_SHOT";for(var qw="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",Ww=new RegExp("^"+qw+"$"),Gw="|&;()<> \\t",Vw=/^#$/,Kw="",Yw=0;Yw<4;Yw++)Kw+=(4294967296*Math.random()).toString(16);var Qw=new RegExp("^"+Kw);function Jw(e,t,n){n||(n={});var i=n.escape||"\\",o=new RegExp(["("+qw+")","("+("(\\"+i+"['\""+Gw+"]|[^\\s'\""+Gw+"])+")+"|\"((\\\\\"|[^\"])*?)\"|'((\\\\'|[^'])*?)')+"].join("|"),"g"),a=function(e,t){for(var n,i=t.lastIndex,o=[];n=t.exec(e);)o.push(n),t.lastIndex===n.index&&(t.lastIndex+=1);return t.lastIndex=i,o}(e,o);if(0===a.length)return[];t||(t={});var s=!1;return a.map((function(n){var o=n[0];if(o&&!s){if(Ww.test(o))return{op:o};var a,r=!1,c=!1,l="",p=!1;for(a=0;a<o.length;a++){var u=o.charAt(a);if(p=p||!r&&("*"===u||"?"===u),c)l+=u,c=!1;else if(r)u===r?r=!1:"'"==r?l+=u:u===i?(a+=1,l+='"'===(u=o.charAt(a))||u===i||"$"===u?u:i+u):l+="$"===u?f():u;else if('"'===u||"'"===u)r=u;else{if(Ww.test(u))return{op:o};if(Vw.test(u)){s=!0;var d={comment:e.slice(n.index+a+1)};return l.length?[l,d]:[d]}u===i?c=!0:l+="$"===u?f():u}}return p?{op:"glob",pattern:l}:l}function f(){var e,n;a+=1;var i=o.charAt(a);if("{"===i){if(a+=1,"}"===o.charAt(a))throw new Error("Bad substitution: "+o.slice(a-2,a+1));if((e=o.indexOf("}",a))<0)throw new Error("Bad substitution: "+o.slice(a));n=o.slice(a,e),a=e}else if(/[*@#?$!_-]/.test(i))n=i,a+=1;else{var s=o.slice(a);(e=s.match(/[^\w\d_]/))?(n=s.slice(0,e.index),a+=e.index-1):(n=s,a=o.length)}return function(e,t,n){var i="function"==typeof e?e(n):e[n];return void 0===i&&""!=n?i="":void 0===i&&(i="$"),"object"==typeof i?t+Kw+JSON.stringify(i)+Kw:t+i}(t,"",n)}})).reduce((function(e,t){return void 0===t?e:e.concat(t)}),[])}var Zw=function(e,t,n){var i=Jw(e,t,n);return"function"!=typeof t?i:i.reduce((function(e,t){if("object"==typeof t)return e.concat(t);var n=t.split(RegExp("("+Kw+".*?"+Kw+")","g"));return 1===n.length?e.concat(n[0]):e.concat(n.filter(Boolean).map((function(e){return Qw.test(e)?JSON.parse(e.split(Kw)[1]):e})))}),[])};const Xw=new Set(["if","then","else","elif","fi","for","while","until","do","done","case","esac","function","select","time","in"]);function eE(e){const t=Zw(e),n=[];let i=!0;for(const e of t)if("object"==typeof e&&"op"in e){const t=e.op;["&&","||",";","|","|&","&","(",")"].includes(t)&&(i=!0)}else"string"==typeof e&&i&&!Xw.has(e)&&(n.push(e),i=!1);return n}var tE,nE,iE,oE,aE,sE,rE,cE,lE,pE,uE,dE,fE,mE,hE,vE,xE,gE,bE,yE,_E,wE,EE,kE,SE,AE,TE,RE,CE;!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"}(tE||(tE={})),function(e){e.NOT_SUPPORT="statusBar.not.support.text",e.ENABLE="statusBar.enable.text",e.NO_SUGGESTIONS="statusBar.nosuggestions",e.TITLE="statusBar.title"}(nE||(nE={})),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"}(iE||(iE={})),function(e){e.EMPTY_TEXT="nl2code.empty.text",e.NO_SELECTION="nl2code.no.selection.text"}(oE||(oE={})),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"}(aE||(aE={})),function(e){e.EXPLAIN_SELECTED_CODE="explain.codeActions.title",e.OPTIMIZE_SELECTED_CODE="optimize.codeActions.title",e.INLINECHAT_SELECTED_CODE="inlinechat.codeActions.title"}(sE||(sE={})),function(e){e.CODELENS_TITLE="chatTrial.codelens.title"}(rE||(rE={})),function(e){e.CODELENS_TITLE="inlinechat.codelens.title"}(cE||(cE={})),function(e){e.CHAT_TIPS_TITLE="chatTips.selectedCode.title",e.CHAT_TIPS_CODE_BLANK_ROW_TITLE="chatTips.blankRow.title"}(lE||(lE={})),function(e){e.GENERATING_TITLE="decorations.generating.title",e.LINE_COMMENT_CODE_TRIGGER_TITLE="decorations.lineComent.trigger.title"}(pE||(pE={})),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"}(uE||(uE={})),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"}(dE||(dE={})),function(e){e.PROMPT="split.prompt",e.CODELENS_TITLE="split.codelens.title",e.CODELENS_TOOLTIP="split.codelens.tooltip",e.GENERATE_ERROR="split.generate.error"}(fE||(fE={})),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"}(mE||(mE={})),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"}(hE||(hE={})),function(e){e.PROMPT="inlineLog.prompt",e.CODELENS_TITLE="inlineLog.codelens.title",e.CODELENS_TOOLTIP="inlineLog.codelens.tooltip",e.GENERATE_ERROR="inlineLog.generate.error"}(vE||(vE={})),function(e){e.TITLE="diff.title",e.ACCEPT="diff.accept",e.REJECT="diff.reject",e.OPEN_DUAL_SCREEN_DIFF="diff.dualScreenDiff.open"}(xE||(xE={})),function(e){e.WEBVIEW_TITLE="chat.webview.title",e.NO_INSERT_POSITION="chat.no.insertPosition.text"}(gE||(gE={})),function(e){e.PATH_ERROR="accept.path.error"}(bE||(bE={})),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"}(yE||(yE={})),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"}(_E||(_E={})),function(e){e.TOOLTIP="regexHover.tooltip",e.PROMPT="regexHover.prompt"}(wE||(wE={})),function(e){e.MAXIMUM_FILES="embeddings.maximum.files.message",e.PROGRESS="embeddings.progress.message",e.PROGRESS_TOOLTIP="embeddings.progress.tooltip.message"}(EE||(EE={})),function(e){e.TITLE="openPlatform.title.text",e.WEBVIEW_TITLE="openPlatform.webview.title"}(kE||(kE={})),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"}(SE||(SE={})),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"}(AE||(AE={})),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"}(TE||(TE={})),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"}(RE||(RE={})),function(e){e.GENERATE_ERROR="kernel.zulu.error"}(CE||(CE={}));const OE={ServerError:-32001,ParseError:-32700,InvalidRequest:-32600,MethodNotFound:-32601,InvalidParams:-32602,InternalError:-32603,RequestCancelled:-32800,DeviceFlowFailed:1001,ContextNotInitialized:1002,AbortedByServer:1003,CancelledByServer:1004,GetGitRepoIdError:1005};export{Z as ACTION_ASK_LLM,X as ACTION_ASK_LLM_STREAMING,Ne as ACTION_ASK_RAG,Re as ACTION_BATCH_ACCEPT,Me as ACTION_BRANCH_CHANGE,P as ACTION_CHAT_QUERY,xg as ACTION_CHAT_SESSION_DELETE,gg as ACTION_CHAT_SESSION_FIND,hg as ACTION_CHAT_SESSION_LIST,vg as ACTION_CHAT_SESSION_SAVE,L as ACTION_CHAT_TASK_PROGRESS,Be as ACTION_CODE_SEARCH,yg as ACTION_COMATE_ADD_AGENT_TASK,Ag as ACTION_COMATE_ADD_CACHE,bg as ACTION_COMATE_GET_AGENT_TASKS,Tg as ACTION_COMATE_GET_CACHE,lg as ACTION_COMATE_LSP_REMOTE_CONSOLE,cg as ACTION_COMATE_LSP_WORKSPACE_FOLDERS,Yx as ACTION_COMATE_PLUS_AGENT_COMMAND,rg as ACTION_COMATE_PLUS_AGENT_NOTIFICATION,fg as ACTION_COMATE_PLUS_BATCH_ACCEPT,Vx as ACTION_COMATE_PLUS_CHAT_CANCEL,Gx as ACTION_COMATE_PLUS_CHAT_QUERY,dg as ACTION_COMATE_PLUS_CODE_SEARCH,Kx as ACTION_COMATE_PLUS_CUSTOM_COMMAND,Ee as ACTION_COMATE_PLUS_DIAGNOSTIC_SCAN,Zx as ACTION_COMATE_PLUS_DRAW_CHAT_APPEND,eg as ACTION_COMATE_PLUS_DRAW_CHAT_FAIL,Xx as ACTION_COMATE_PLUS_DRAW_CHAT_FINISH,Jx as ACTION_COMATE_PLUS_DRAW_CHAT_UPDATE,og as ACTION_COMATE_PLUS_INITIALIZED,ng as ACTION_COMATE_PLUS_QUERY_SELECTOR,ug as ACTION_COMATE_PLUS_RECREATE_INDEX,tg as ACTION_COMATE_PLUS_REQUEST_PERMISSION,xe as ACTION_COMATE_PLUS_SA_SCAN_DIAGNOSTIC,ve as ACTION_COMATE_PLUS_SA_SCAN_INIT,pg as ACTION_COMATE_PLUS_SECTION_CHAT_UPDATE,Qx as ACTION_COMATE_PLUS_WEBVIEW_INIT_DATA,_g as ACTION_COMATE_SET_FOREGROUND_TASK,mg as ACTION_COMATE_SMART_APPLY,wg as ACTION_COMATE_UPDATE_AGENT_TASK_MESSAGES,kg as ACTION_COMPOSER,we as ACTION_CUSTOM_COMMAND,Ie as ACTION_DEBUG_TASK_PROCESS,Se as ACTION_DIAGNOSTIC_SCAN,Ae as ACTION_DIAGNOSTIC_SCAN_TASK_COUNT,ke as ACTION_DIAGNOSTIC_SCAN_TASK_PROGRESS,ag as ACTION_ENGINE_PROCESS_START_SUCCESS,Pg as ACTION_ENGINE_SERVICE_INITIALIZED,De as ACTION_GENERATE_MESSAGE,Fe as ACTION_GENERATE_MESSAGE_REPORT,ie as ACTION_GET_PLUGIN_CONFIG,re as ACTION_INFORMATION_QUERY,Ve as ACTION_ISCAN_JOB_BUILD_ID,Ge as ACTION_ISCAN_RESULT,I as ACTION_LOG,Eg as ACTION_MOCK_VIRTUAL_EDITOR_EVENT,ae as ACTION_PLUS_MODULE_LIST_FETCH,se as ACTION_PLUS_MODULE_LIST_RESULT,Cg as ACTION_PROMPTTEMPLATE_CREATE,jg as ACTION_PROMPTTEMPLATE_DELETE,Rg as ACTION_PROMPTTEMPLATE_LIST,Og as ACTION_PROMPTTEMPLATE_UPDATE,_e as ACTION_QUERY_SELECTOR,fe as ACTION_RELEASE_SCAN_TASK,Q as ACTION_REQUEST_PERMISSION,ge as ACTION_SA_SCAN_DIAGNOSTIC,be as ACTION_SA_SCAN_DIAGNOSTIC_RESULT,he as ACTION_SCAN_CACHE_COUNT,Ke as ACTION_SCAN_NOTIFICATION,pe as ACTION_SCAN_QUERY,de as ACTION_SCAN_TASK,me as ACTION_SCAN_TASK_PROGRESS,$e as ACTION_SECUBOT,Ue as ACTION_SECUBOT_TASK_PROGRESS,V as ACTION_SESSION_FINISH,G as ACTION_SESSION_START,ye as ACTION_START_BACKGROUND_SERVICE,We as ACTION_START_ISCAN,He as ACTION_START_ISCAN_AND_GET_SEC_RESULT,qe as ACTION_START_ISCAN_BY_SAVE,oe as ACTION_UPDATE_ENGINE_CONFIG,ig as ACTION_USER_DETAIL,sg as ACTION_USER_DETAIL_ERROR,Hw as ACTION_V8_SNAP_SHOT,ue as ACTION_WILL_SCAN,Sg as AGENT_DEBUG_CUSTOM_ACTION,bE as AcceptProviderText,Le as AgentConversationStatus,je as AgentConversationType,Pe as AgentConversationTypeNames,Ce as AgentMessageStatus,SE as AutoWorkText,Fl as CanceledError,Y as Channel,gE as ChatProviderText,lE as ChatTipsProviderText,rE as ChatTrialProviderText,sE as CodeSelectionActionsProviderText,Uw as CodeWrittenMetric,AE as ComatePlusText,uE as CommentProviderText,iE as CompletionText,Ow as DEFAULT_RULE_CONFIG_FOLDER,Cw as DEFAULT_WORKSPACE_CONFIG_FOLDER,jw as DEFAULT_WORKSPACE_RULE_FILE,pE as DecorationsText,xE as DiffProviderText,dE as DocstringProviderText,ll as ENVIRONMENT,EE as EmbeddingsServiceText,mE as ExplainProviderText,_E as ExtensionText,ne as FunctionModel,tE as GlobalText,dl as INTERNAL_API_HOST,ml as INTERNAL_TEST_API_HOST,le as InformationQueryType,TE as InlineChatText,cE as InlineChatTrialProviderText,vE as InlineLogProviderText,OE as LSP_ERROR_CODE,Ox as LanguageDetector,ee as LlmType,Vl as LogUploaderProvider,Ye as MCP_SETTINGS_FILE_PATH,RE as MessageGenerateText,oE as Nl2codeProviderText,kE as OpenPlatformText,aE as OptimizeProviderText,cl as PLATFORM,tp as PROMPTTEMPLATE_ROOT_PATH,ww as PatchFileDelimiterError,J as PermissionType,yE as QuickFixText,Lg as RULE_PANEL_ACTION_EVENT,wE as RegexHoverText,ul as SAAS_API_HOST,fl as SAAS_TEST_API_HOST,ze as SECUBOT_DEFAULT_QUERY,Ql as SSEProcessor,Bw as SUFFIX_LANG_MAP,zw as SUPPORTED_SUFFIX_CONFIG,kw as SearchReplacePatchError,K as Session,fE as SplitProviderText,nE as StatusBarText,Te as TaskStatus,te as TextModel,Ig as UPDATE_RULE_PANEL_EVENT,hE as UnitTestProviderText,Lw as VirtualDocumentAction,Iw as VirtualEditor,Mx as VisibilitySelectorMatcher,pl as WEBVIEW_CONSUMER,Oe as WorkflowStatus,CE as ZuluText,N as allowedNativeElement,iy as applyDiff,Rw as applySearchReplaceChunk,Ll as axiosInstance,zx as canHandleChatQuery,qx as canHandleQuerySelector,Hx as canShowToUser,Dl as createAxiosCancelTokenSource,Nl as createAxiosInstance,Bl as createDeferred,uo as emptyDir,po as ensureDirectoryExist,z as extractChunkContent,Pw as extractMentionFilesFromRuleConfig,ay as findCodeChunkStartLineIndex,ry as fixUdiffLineMarker,ep as formatPrompt,Al as getApiHost,Zl as getCurrentUserKnowledgeSet,$l as getCurrentUserPluginConfigSet,Jl as getKnowledgeQueryResult,ro as getOsAppDataPath,ip as getPromptTemplatePath,np as getPromptTemplateRootPath,op as getPromptTemplateUuidFromPath,Yb as getUserLicenseType,$x as isCapabilityMatch,M as isInteractiveContent,D as isNativeElement,U as isSectionChunk,$ as isWrappedChunk,Xl as knowledgeServiceHealthy,Ul as localPluginConfig,Ml as mergePluginConfig,eE as parseShellCommandName,Wx as patchEnvPath,zl as pluginConfigDetail,so as readFileOrNull,mo as readJson,Qe as readPluginDescription,fo as remove,Kb as replacePathTextInMarkdown,Sl as setApiHost,Tl as setLanguage,wl as setPlatform,El as setPlatformAndEnvironment,ho as writeJSON};