@comate/zulu 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. package/comate-engine/node_modules/@comate/plugin-shared-internals/dist/index.d.ts +56 -25
  2. package/comate-engine/node_modules/@comate/plugin-shared-internals/dist/index.js +3 -3
  3. package/comate-engine/node_modules/@comate/preview-proxy/dist/index.js +35 -35
  4. package/comate-engine/node_modules/@comate/preview-proxy/static/comate-preview-injector.js +1 -1
  5. package/comate-engine/node_modules/better-sqlite3/node_modules/.bin/prebuild-install +4 -4
  6. package/comate-engine/node_modules/sqlite-vec-darwin-x64/README.md +1 -0
  7. package/comate-engine/node_modules/sqlite-vec-darwin-x64/package.json +1 -0
  8. package/comate-engine/node_modules/sqlite-vec-darwin-x64/vec0.dylib +0 -0
  9. package/comate-engine/node_modules/sqlite-vec-linux-arm64/README.md +1 -0
  10. package/comate-engine/node_modules/sqlite-vec-linux-arm64/package.json +1 -0
  11. package/comate-engine/node_modules/sqlite-vec-linux-arm64/vec0.so +0 -0
  12. package/comate-engine/node_modules/sqlite-vec-linux-x64/README.md +1 -0
  13. package/comate-engine/node_modules/sqlite-vec-linux-x64/package.json +1 -0
  14. package/comate-engine/node_modules/sqlite-vec-linux-x64/vec0.so +0 -0
  15. package/comate-engine/node_modules/sqlite-vec-windows-x64/README.md +1 -0
  16. package/comate-engine/node_modules/sqlite-vec-windows-x64/package.json +1 -0
  17. package/comate-engine/node_modules/sqlite-vec-windows-x64/vec0.dll +0 -0
  18. package/comate-engine/package.json +6 -0
  19. package/comate-engine/server.js +72 -72
  20. package/dist/bundle/index.js +2 -2
  21. package/package.json +1 -1
  22. package/comate-engine/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
@@ -1,4 +1,4 @@
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*as R from"node:os";import A from"node:os";import T 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 Z;!function(e){e.WorkspaceFileSystem="WorkspaceFileSystem",e.FullDiskFileSystem="FullDiskFileSystem",e.CodeSecurity="CodeSecurity",e.UserDetail="UserDetail"}(Z||(Z={}));const J="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",Re="DIAGNOSTIC_SCAN_TASK_COUNT";var Ae;!function(e){e.INIT="INIT",e.PROCESSING="PROCESSING",e.SUCCEED="SUCCEED",e.FAIL="FAIL"}(Ae||(Ae={}));const Te="ACCEPT_DIR";var Ce,Oe,je,Pe;!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.UNREADY="unready",e.READY="ready",e.RUNNING="running",e.SUCCESS="success",e.FAILED="failed",e.SKIPPED="skipped",e.CANCELLED="cancelled"}(je||(je={})),function(e){e.SecuBotConversation="SecuBotConversation",e.DebugBotConversation="DebugBotConversation",e.TestBotConversation="TestBotConversation",e.E2EBotConversation="E2EBotConversation",e.F2cBotConversation="F2cBotConversation"}(Pe||(Pe={}));const Le={[Pe.SecuBotConversation]:"安全智能体",[Pe.DebugBotConversation]:"Debug智能体",[Pe.TestBotConversation]:"单测智能体",[Pe.E2EBotConversation]:"端到端智能体",[Pe.F2cBotConversation]:"F2C智能体"};var Ie;!function(e){e.Ready="Ready",e.Running="Running",e.Failed="Failed",e.Completed="Completed",e.Cancelled="Cancelled"}(Ie||(Ie={}));const Ne="ACTION_DEBUG_TASK_PROCESS",De="ACTION_ASK_RAG",Fe="ACTION_GENERATE_MESSAGE",Me="ACTION_GENERATE_MESSAGE_REPORT",$e="ACTION_BRANCH_CHANGE",Ue="ACTION_SECUBOT",ze="ACTION_SECUBOT_TASK_PROGRESS",Be="为我的代码库扫描可能的安全漏洞",He="CODE_SEARCH";var qe,We;!function(e){e.REPO_KEY="REPO_KEY",e.REPO_VECTOR="REPO_VECTOR",e.REPO_REGEX="REPO_REGEX",e.FOLDER_KEY="FOLDER_KEY",e.FOLDER_VECTOR="FOLDER_VECTOR",e.FOLDER_REGEX="FOLDER_REGEX",e.FOLDER_READ="FOLDER_READ",e.FILE_READ="FILE_READ",e.CURRENT_FILE_READ="CURRENT_FILE_READ",e.ARCHITECTURE_READ="ARCHITECTURE_READ"}(qe||(qe={})),function(e){e.REPO="REPO",e.FOLDER="FOLDER",e.FILE="FILE",e.CURRENT_FILE="CURRENT_FILE"}(We||(We={}));const Ge="START_ISCAN_AND_GET_SEC_RESULT",Ve="START_ISCAN_BY_SAVE",Ke="START_ISCAN",Ye="ISCAN_RESULT",Qe="ISCAN_JOB_BUILD_ID",Ze="SCAN_NOTIFICATION",Je=".comate/mcp.json";async function Xe(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 et;(()=>{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={}))})(),et=i})();const{URI:tt,Utils:nt}=et;var it="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ot(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var at={},st={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})}},rt=l,ct=process.cwd,lt=null,pt=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return lt||(lt=ct.call(process)),lt};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var ut=process.chdir;process.chdir=function(e){lt=null,ut.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,ut)}var dt=function(e){rt.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,n,i){e.open(t,rt.O_WRONLY|rt.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,rt.O_WRONLY|rt.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){rt.hasOwnProperty("O_SYMLINK")&&e.futimes?(e.lutimes=function(t,n,i,o){e.open(t,rt.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,rt.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"===pt&&(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 ft=p.Stream,mt=function(e){return{ReadStream:function t(n,i){if(!(this instanceof t))return new t(n,i);ft.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);ft.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 ht=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var t={__proto__:vt(e)};else t=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t},vt=Object.getPrototypeOf||function(e){return e.__proto__};var xt,gt,bt=c,yt=dt,_t=mt,wt=ht,Et=d;function kt(e,t){Object.defineProperty(e,xt,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(xt=Symbol.for("graceful-fs.queue"),gt=Symbol.for("graceful-fs.previous")):(xt="___graceful-fs.queue",gt="___graceful-fs.previous");var St=function(){};if(Et.debuglog?St=Et.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(St=function(){var e=Et.format.apply(Et,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!bt[xt]){var Rt=it[xt]||[];kt(bt,Rt),bt.close=function(e){function t(t,n){return e.call(bt,t,(function(e){e||jt(),"function"==typeof n&&n.apply(this,arguments)}))}return Object.defineProperty(t,gt,{value:e}),t}(bt.close),bt.closeSync=function(e){function t(t){e.apply(bt,arguments),jt()}return Object.defineProperty(t,gt,{value:e}),t}(bt.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){St(bt[xt]),f.equal(bt[xt].length,0)}))}it[xt]||kt(it,bt[xt]);var At,Tt=Ct(wt(bt));function Ct(e){yt(e),e.gracefulify=Ct,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):Ot([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):Ot([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):Ot([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):Ot([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)):Ot([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=_t(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):Ot([e,[t,n,i,o],s,a||Date.now(),Date.now()])}))}(e,t,n,i)}return e.open=h,e}function Ot(e){St("ENQUEUE",e[0].name,e[1]),bt[xt].push(e),Pt()}function jt(){for(var e=Date.now(),t=0;t<bt[xt].length;++t)bt[xt][t].length>2&&(bt[xt][t][3]=e,bt[xt][t][4]=e);Pt()}function Pt(){if(clearTimeout(At),At=void 0,0!==bt[xt].length){var e=bt[xt].shift(),t=e[0],n=e[1],i=e[2],o=e[3],a=e[4];if(void 0===o)St("RETRY",t.name,n),t.apply(null,n);else if(Date.now()-o>=6e4){St("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)?(St("RETRY",t.name,n),t.apply(null,n.concat([o]))):bt[xt].push(e)}void 0===At&&(At=setTimeout(Pt,0))}}process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!bt.__patched&&(Tt=Ct(bt),bt.__patched=!0),function(e){const t=st.fromCallback,n=Tt,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")}(at);var Lt={},It={};const Nt=m;It.checkPath=function(e){if("win32"===process.platform){if(/[<>:"|?*]/.test(e.replace(Nt.parse(e).root,""))){const t=new Error(`Path contains invalid characters: ${e}`);throw t.code="EINVAL",t}}};const Dt=at,{checkPath:Ft}=It,Mt=e=>"number"==typeof e?e:{mode:511,...e}.mode;Lt.makeDir=async(e,t)=>(Ft(e),Dt.mkdir(e,{mode:Mt(t),recursive:!0})),Lt.makeDirSync=(e,t)=>(Ft(e),Dt.mkdirSync(e,{mode:Mt(t),recursive:!0}));const $t=st.fromPromise,{makeDir:Ut,makeDirSync:zt}=Lt,Bt=$t(Ut);var Ht={mkdirs:Bt,mkdirsSync:zt,mkdirp:Bt,mkdirpSync:zt,ensureDir:Bt,ensureDirSync:zt};const qt=st.fromPromise,Wt=at;var Gt={pathExists:qt((function(e){return Wt.access(e).then((()=>!0)).catch((()=>!1))})),pathExistsSync:Wt.existsSync};const Vt=at;var Kt={utimesMillis:(0,st.fromPromise)((async function(e,t,n){const i=await Vt.open(e,"r+");let o=null;try{await Vt.futimes(i,t,n)}finally{try{await Vt.close(i)}catch(e){o=e}}if(o)throw o})),utimesMillisSync:function(e,t,n){const i=Vt.openSync(e,"r+");return Vt.futimesSync(i,t,n),Vt.closeSync(i)}};const Yt=at,Qt=m,Zt=st.fromPromise;function Jt(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function Xt(e,t){const n=Qt.resolve(e).split(Qt.sep).filter((e=>e)),i=Qt.resolve(t).split(Qt.sep).filter((e=>e));return n.every(((e,t)=>i[t]===e))}function en(e,t,n){return`Cannot ${n} '${e}' to a subdirectory of itself, '${t}'.`}var tn={checkPaths:Zt((async function(e,t,n,i){const{srcStat:o,destStat:a}=await function(e,t,n){const i=n.dereference?e=>Yt.stat(e,{bigint:!0}):e=>Yt.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(Jt(o,a)){const i=Qt.basename(e),s=Qt.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()&&Xt(e,t))throw new Error(en(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=>Yt.statSync(e,{bigint:!0}):e=>Yt.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(Jt(o,a)){const i=Qt.basename(e),s=Qt.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()&&Xt(e,t))throw new Error(en(e,t,n));return{srcStat:o,destStat:a}},checkParentPaths:Zt((async function e(t,n,i,o){const a=Qt.resolve(Qt.dirname(t)),s=Qt.resolve(Qt.dirname(i));if(s===a||s===Qt.parse(s).root)return;let r;try{r=await Yt.stat(s,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(Jt(n,r))throw new Error(en(t,i,o));return e(t,n,s,o)})),checkParentPathsSync:function e(t,n,i,o){const a=Qt.resolve(Qt.dirname(t)),s=Qt.resolve(Qt.dirname(i));if(s===a||s===Qt.parse(s).root)return;let r;try{r=Yt.statSync(s,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(Jt(n,r))throw new Error(en(t,i,o));return e(t,n,s,o)},isSrcSubdir:Xt,areIdentical:Jt};const nn=at,on=m,{mkdirs:an}=Ht,{pathExists:sn}=Gt,{utimesMillis:rn}=Kt,cn=tn;async function ln(e,t,n){return!n.filter||n.filter(e,t)}async function pn(e,t,n,i){const o=i.dereference?nn.stat:nn.lstat,a=await o(t);if(a.isDirectory())return async function(e,t,n,i,o){t||await nn.mkdir(i);const a=await nn.readdir(n);await Promise.all(a.map((async e=>{const t=on.join(n,e),a=on.join(i,e);if(!await ln(t,a,o))return;const{destStat:s}=await cn.checkPaths(t,a,"copy",o);return pn(s,t,a,o)}))),t||await nn.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 un(e,n,i,o);if(o.overwrite)return await nn.unlink(i),un(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 nn.readlink(t);i.dereference&&(o=on.resolve(process.cwd(),o));if(!e)return nn.symlink(o,n);let a=null;try{a=await nn.readlink(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return nn.symlink(o,n);throw e}i.dereference&&(a=on.resolve(process.cwd(),a));if(cn.isSrcSubdir(o,a))throw new Error(`Cannot copy '${o}' to a subdirectory of itself, '${a}'.`);if(cn.isSrcSubdir(a,o))throw new Error(`Cannot overwrite '${a}' with '${o}'.`);return await nn.unlink(n),nn.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 un(e,t,n,i){if(await nn.copyFile(t,n),i.preserveTimestamps){0==(128&e.mode)&&await function(e,t){return nn.chmod(e,128|t)}(n,e.mode);const i=await nn.stat(t);await rn(n,i.atime,i.mtime)}return nn.chmod(n,e.mode)}var dn=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 cn.checkPaths(e,t,"copy",n);if(await cn.checkParentPaths(e,i,t,"copy"),!await ln(e,t,n))return;const a=on.dirname(t);await sn(a)||await an(a),await pn(o,e,t,n)};const fn=Tt,mn=m,hn=Ht.mkdirsSync,vn=Kt.utimesMillisSync,xn=tn;function gn(e,t,n,i){const o=(i.dereference?fn.statSync:fn.lstatSync)(t);if(o.isDirectory())return function(e,t,n,i,o){return t?_n(n,i,o):function(e,t,n,i){return fn.mkdirSync(n),_n(t,n,i),yn(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 fn.unlinkSync(n),bn(e,t,n,i);if(i.errorOnExist)throw new Error(`'${n}' already exists`)}(e,n,i,o):bn(e,n,i,o)}(o,e,t,n,i);if(o.isSymbolicLink())return function(e,t,n,i){let o=fn.readlinkSync(t);i.dereference&&(o=mn.resolve(process.cwd(),o));if(e){let e;try{e=fn.readlinkSync(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return fn.symlinkSync(o,n);throw e}if(i.dereference&&(e=mn.resolve(process.cwd(),e)),xn.isSrcSubdir(o,e))throw new Error(`Cannot copy '${o}' to a subdirectory of itself, '${e}'.`);if(xn.isSrcSubdir(e,o))throw new Error(`Cannot overwrite '${e}' with '${o}'.`);return function(e,t){return fn.unlinkSync(t),fn.symlinkSync(e,t)}(o,n)}return fn.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 bn(e,t,n,i){return fn.copyFileSync(t,n),i.preserveTimestamps&&function(e,t,n){(function(e){return 0==(128&e)})(e)&&function(e,t){yn(e,128|t)}(n,e);(function(e,t){const n=fn.statSync(e);vn(t,n.atime,n.mtime)})(t,n)}(e.mode,t,n),yn(n,e.mode)}function yn(e,t){return fn.chmodSync(e,t)}function _n(e,t,n){fn.readdirSync(e).forEach((i=>function(e,t,n,i){const o=mn.join(t,e),a=mn.join(n,e);if(i.filter&&!i.filter(o,a))return;const{destStat:s}=xn.checkPathsSync(o,a,"copy",i);return gn(s,o,a,i)}(i,e,t,n)))}var wn=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}=xn.checkPathsSync(e,t,"copy",n);if(xn.checkParentPathsSync(e,i,t,"copy"),n.filter&&!n.filter(e,t))return;const a=mn.dirname(t);return fn.existsSync(a)||hn(a),gn(o,e,t,n)};var En={copy:(0,st.fromPromise)(dn),copySync:wn};const kn=Tt;var Sn={remove:(0,st.fromCallback)((function(e,t){kn.rm(e,{recursive:!0,force:!0},t)})),removeSync:function(e){kn.rmSync(e,{recursive:!0,force:!0})}};const Rn=st.fromPromise,An=at,Tn=m,Cn=Ht,On=Sn,jn=Rn((async function(e){let t;try{t=await An.readdir(e)}catch{return Cn.mkdirs(e)}return Promise.all(t.map((t=>On.remove(Tn.join(e,t)))))}));function Pn(e){let t;try{t=An.readdirSync(e)}catch{return Cn.mkdirsSync(e)}t.forEach((t=>{t=Tn.join(e,t),On.removeSync(t)}))}var Ln={emptyDirSync:Pn,emptydirSync:Pn,emptyDir:jn,emptydir:jn};const In=st.fromPromise,Nn=m,Dn=at,Fn=Ht;var Mn={createFile:In((async function(e){let t;try{t=await Dn.stat(e)}catch{}if(t&&t.isFile())return;const n=Nn.dirname(e);let i=null;try{i=await Dn.stat(n)}catch(t){if("ENOENT"===t.code)return await Fn.mkdirs(n),void await Dn.writeFile(e,"");throw t}i.isDirectory()?await Dn.writeFile(e,""):await Dn.readdir(n)})),createFileSync:function(e){let t;try{t=Dn.statSync(e)}catch{}if(t&&t.isFile())return;const n=Nn.dirname(e);try{Dn.statSync(n).isDirectory()||Dn.readdirSync(n)}catch(e){if(!e||"ENOENT"!==e.code)throw e;Fn.mkdirsSync(n)}Dn.writeFileSync(e,"")}};const $n=st.fromPromise,Un=m,zn=at,Bn=Ht,{pathExists:Hn}=Gt,{areIdentical:qn}=tn;var Wn={createLink:$n((async function(e,t){let n,i;try{n=await zn.lstat(t)}catch{}try{i=await zn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}if(n&&qn(i,n))return;const o=Un.dirname(t);await Hn(o)||await Bn.mkdirs(o),await zn.link(e,t)})),createLinkSync:function(e,t){let n;try{n=zn.lstatSync(t)}catch{}try{const t=zn.lstatSync(e);if(n&&qn(t,n))return}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}const i=Un.dirname(t);return zn.existsSync(i)||Bn.mkdirsSync(i),zn.linkSync(e,t)}};const Gn=m,Vn=at,{pathExists:Kn}=Gt;var Yn={symlinkPaths:(0,st.fromPromise)((async function(e,t){if(Gn.isAbsolute(e)){try{await Vn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:e}}const n=Gn.dirname(t),i=Gn.join(n,e);if(await Kn(i))return{toCwd:i,toDst:e};try{await Vn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:Gn.relative(n,e)}})),symlinkPathsSync:function(e,t){if(Gn.isAbsolute(e)){if(!Vn.existsSync(e))throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}const n=Gn.dirname(t),i=Gn.join(n,e);if(Vn.existsSync(i))return{toCwd:i,toDst:e};if(!Vn.existsSync(e))throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:Gn.relative(n,e)}}};const Qn=at;var Zn={symlinkType:(0,st.fromPromise)((async function(e,t){if(t)return t;let n;try{n=await Qn.lstat(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"})),symlinkTypeSync:function(e,t){if(t)return t;let n;try{n=Qn.lstatSync(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"}};const Jn=st.fromPromise,Xn=m,ei=at,{mkdirs:ti,mkdirsSync:ni}=Ht,{symlinkPaths:ii,symlinkPathsSync:oi}=Yn,{symlinkType:ai,symlinkTypeSync:si}=Zn,{pathExists:ri}=Gt,{areIdentical:ci}=tn;var li={createSymlink:Jn((async function(e,t,n){let i;try{i=await ei.lstat(t)}catch{}if(i&&i.isSymbolicLink()){const[n,i]=await Promise.all([ei.stat(e),ei.stat(t)]);if(ci(n,i))return}const o=await ii(e,t);e=o.toDst;const a=await ai(o.toCwd,n),s=Xn.dirname(t);return await ri(s)||await ti(s),ei.symlink(e,t,a)})),createSymlinkSync:function(e,t,n){let i;try{i=ei.lstatSync(t)}catch{}if(i&&i.isSymbolicLink()){const n=ei.statSync(e),i=ei.statSync(t);if(ci(n,i))return}const o=oi(e,t);e=o.toDst,n=si(o.toCwd,n);const a=Xn.dirname(t);return ei.existsSync(a)||ni(a),ei.symlinkSync(e,t,n)}};const{createFile:pi,createFileSync:ui}=Mn,{createLink:di,createLinkSync:fi}=Wn,{createSymlink:mi,createSymlinkSync:hi}=li;var vi={createFile:pi,createFileSync:ui,ensureFile:pi,ensureFileSync:ui,createLink:di,createLinkSync:fi,ensureLink:di,ensureLinkSync:fi,createSymlink:mi,createSymlinkSync:hi,ensureSymlink:mi,ensureSymlinkSync:hi};var xi={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 gi;try{gi=Tt}catch(uy){gi=c}const bi=st,{stringify:yi,stripBom:_i}=xi;const wi=bi.fromPromise((async function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||gi,i=!("throws"in t)||t.throws;let o,a=await bi.fromCallback(n.readFile)(e,t);a=_i(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 Ei=bi.fromPromise((async function(e,t,n={}){const i=n.fs||gi,o=yi(t,n);await bi.fromCallback(i.writeFile)(e,o,n)}));const ki={readFile:wi,readFileSync:function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||gi,i=!("throws"in t)||t.throws;try{let i=n.readFileSync(e,t);return i=_i(i),JSON.parse(i,t.reviver)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}},writeFile:Ei,writeFileSync:function(e,t,n={}){const i=n.fs||gi,o=yi(t,n);return i.writeFileSync(e,o,n)}};var Si={readJson:ki.readFile,readJsonSync:ki.readFileSync,writeJson:ki.writeFile,writeJsonSync:ki.writeFileSync};const Ri=st.fromPromise,Ai=at,Ti=m,Ci=Ht,Oi=Gt.pathExists;var ji={outputFile:Ri((async function(e,t,n="utf-8"){const i=Ti.dirname(e);return await Oi(i)||await Ci.mkdirs(i),Ai.writeFile(e,t,n)})),outputFileSync:function(e,...t){const n=Ti.dirname(e);Ai.existsSync(n)||Ci.mkdirsSync(n),Ai.writeFileSync(e,...t)}};const{stringify:Pi}=xi,{outputFile:Li}=ji;var Ii=async function(e,t,n={}){const i=Pi(t,n);await Li(e,i,n)};const{stringify:Ni}=xi,{outputFileSync:Di}=ji;var Fi=function(e,t,n){const i=Ni(t,n);Di(e,i,n)};const Mi=st.fromPromise,$i=Si;$i.outputJson=Mi(Ii),$i.outputJsonSync=Fi,$i.outputJSON=$i.outputJson,$i.outputJSONSync=$i.outputJsonSync,$i.writeJSON=$i.writeJson,$i.writeJSONSync=$i.writeJsonSync,$i.readJSON=$i.readJson,$i.readJSONSync=$i.readJsonSync;var Ui=$i;const zi=at,Bi=m,{copy:Hi}=En,{remove:qi}=Sn,{mkdirp:Wi}=Ht,{pathExists:Gi}=Gt,Vi=tn;var Ki=async function(e,t,n={}){const i=n.overwrite||n.clobber||!1,{srcStat:o,isChangingCase:a=!1}=await Vi.checkPaths(e,t,"move",n);await Vi.checkParentPaths(e,o,t,"move");const s=Bi.dirname(t);return Bi.parse(s).root!==s&&await Wi(s),async function(e,t,n,i){if(!i)if(n)await qi(t);else if(await Gi(t))throw new Error("dest already exists.");try{await zi.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 Hi(e,t,i),qi(e)}(e,t,n)}}(e,t,i,a)};const Yi=Tt,Qi=m,Zi=En.copySync,Ji=Sn.removeSync,Xi=Ht.mkdirpSync,eo=tn;function to(e,t,n){try{Yi.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 Zi(e,t,i),Ji(e)}(e,t,n)}}var no=function(e,t,n){const i=(n=n||{}).overwrite||n.clobber||!1,{srcStat:o,isChangingCase:a=!1}=eo.checkPathsSync(e,t,"move",n);return eo.checkParentPathsSync(e,o,t,"move"),function(e){const t=Qi.dirname(e);return Qi.parse(t).root===t}(t)||Xi(Qi.dirname(t)),function(e,t,n,i){if(i)return to(e,t,n);if(n)return Ji(t),to(e,t,n);if(Yi.existsSync(t))throw new Error("dest already exists.");return to(e,t,n)}(e,t,i,a)};var io={move:(0,st.fromPromise)(Ki),moveSync:no},oo=ot({...at,...En,...Ln,...vi,...Ui,...Ht,...io,...ji,...Gt,...Sn}),ao=m,so=v;function ro(){return"homedir"in so?so.homedir():"win32"===(this.__platform||process.platform)?ao.resolve(process.env.USERPROFILE):ao.resolve(process.env.HOME)}var co=ot({__platform:process.platform,data:function(){switch(this.__platform||process.platform){case"win32":return ao.resolve(process.env.APPDATA);case"darwin":return ao.resolve(ao.join(ro.call(this),"Library/Application Support/"));default:return process.env.XDG_CONFIG_HOME?ao.resolve(process.env.XDG_CONFIG_HOME):ao.resolve(ao.join(ro.call(this),".config/"))}},desktop:function(){return ao.join(ro.call(this),"Desktop")},home:ro,tmp:function(){return"win32"===(this.__platform||process.platform)?ao.resolve(process.env.TEMP):ao.resolve("/tmp")}});async function lo(e){try{return await i.readFile(e,"utf8")}catch(e){return""}}function po(){try{return co.data()}catch(e){throw Error(`Failed to get ospath data: ${e.message}`)}}const uo=e=>"number"==typeof e?e:{mode:511,...e}.mode;const fo=(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:uo(n)},i)}catch(e){o(e)}}));async function mo(e){try{return await new Promise((t=>o(e,t)))||await fo(e,{recursive:!0}),!0}catch(e){return!1}}const ho=oo.emptyDir,vo=oo.remove,xo=oo.readJSON,go=oo.writeJSON;function bo(e,t){return function(){return e.apply(t,arguments)}}const{toString:yo}=Object.prototype,{getPrototypeOf:_o}=Object,{iterator:wo,toStringTag:Eo}=Symbol,ko=(So=Object.create(null),e=>{const t=yo.call(e);return So[t]||(So[t]=t.slice(8,-1).toLowerCase())});var So;const Ro=e=>(e=e.toLowerCase(),t=>ko(t)===e),Ao=e=>t=>typeof t===e,{isArray:To}=Array,Co=Ao("undefined");const Oo=Ro("ArrayBuffer");const jo=Ao("string"),Po=Ao("function"),Lo=Ao("number"),Io=e=>null!==e&&"object"==typeof e,No=e=>{if("object"!==ko(e))return!1;const t=_o(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Eo in e||wo in e)},Do=Ro("Date"),Fo=Ro("File"),Mo=Ro("Blob"),$o=Ro("FileList"),Uo=Ro("URLSearchParams"),[zo,Bo,Ho,qo]=["ReadableStream","Request","Response","Headers"].map(Ro);function Wo(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,o;if("object"!=typeof e&&(e=[e]),To(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 Go(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 Vo="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Ko=e=>!Co(e)&&e!==Vo;const Yo=(Qo="undefined"!=typeof Uint8Array&&_o(Uint8Array),e=>Qo&&e instanceof Qo);var Qo;const Zo=Ro("HTMLFormElement"),Jo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Xo=Ro("RegExp"),ea=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Wo(n,((n,o)=>{let a;!1!==(a=t(n,o,e))&&(i[o]=a||n)})),Object.defineProperties(e,i)};const ta=Ro("AsyncFunction"),na=(ia="function"==typeof setImmediate,oa=Po(Vo.postMessage),ia?setImmediate:oa?(aa=`axios@${Math.random()}`,sa=[],Vo.addEventListener("message",(({source:e,data:t})=>{e===Vo&&t===aa&&sa.length&&sa.shift()()}),!1),e=>{sa.push(e),Vo.postMessage(aa,"*")}):e=>setTimeout(e));var ia,oa,aa,sa;const ra="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Vo):"undefined"!=typeof process&&process.nextTick||na;var ca={isArray:To,isArrayBuffer:Oo,isBuffer:function(e){return null!==e&&!Co(e)&&null!==e.constructor&&!Co(e.constructor)&&Po(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Po(e.append)&&("formdata"===(t=ko(e))||"object"===t&&Po(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Oo(e.buffer),t},isString:jo,isNumber:Lo,isBoolean:e=>!0===e||!1===e,isObject:Io,isPlainObject:No,isReadableStream:zo,isRequest:Bo,isResponse:Ho,isHeaders:qo,isUndefined:Co,isDate:Do,isFile:Fo,isBlob:Mo,isRegExp:Xo,isFunction:Po,isStream:e=>Io(e)&&Po(e.pipe),isURLSearchParams:Uo,isTypedArray:Yo,isFileList:$o,forEach:Wo,merge:function e(){const{caseless:t}=Ko(this)&&this||{},n={},i=(i,o)=>{const a=t&&Go(n,o)||o;No(n[a])&&No(i)?n[a]=e(n[a],i):No(i)?n[a]=e({},i):To(i)?n[a]=i.slice():n[a]=i};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Wo(arguments[e],i);return n},extend:(e,t,n,{allOwnKeys:i}={})=>(Wo(t,((t,i)=>{n&&Po(t)?e[i]=bo(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&&_o(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:ko,kindOfTest:Ro,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(To(e))return e;let t=e.length;if(!Lo(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[wo]).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:Zo,hasOwnProperty:Jo,hasOwnProp:Jo,reduceDescriptors:ea,freezeMethods:e=>{ea(e,((t,n)=>{if(Po(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=e[n];Po(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 To(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:Go,global:Vo,isContextDefined:Ko,isSpecCompliantForm:function(e){return!!(e&&Po(e.append)&&"FormData"===e[Eo]&&e[wo])},toJSONObject:e=>{const t=new Array(10),n=(e,i)=>{if(Io(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[i]=e;const o=To(e)?[]:{};return Wo(e,((e,t)=>{const a=n(e,i+1);!Co(a)&&(o[t]=a)})),t[i]=void 0,o}}return e};return n(e,0)},isAsyncFn:ta,isThenable:e=>e&&(Io(e)||Po(e))&&Po(e.then)&&Po(e.catch),setImmediate:na,asap:ra,isIterable:e=>null!=e&&Po(e[wo])};function la(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)}ca.inherits(la,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:ca.toJSONObject(this.config),code:this.code,status:this.status}}});const pa=la.prototype,ua={};["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=>{ua[e]={value:e}})),Object.defineProperties(la,ua),Object.defineProperty(pa,"isAxiosError",{value:!0}),la.from=(e,t,n,i,o,a)=>{const s=Object.create(pa);return ca.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),la.call(s,e.message,t,n,i,o),s.cause=e,s.name=e.name,a&&Object.assign(s,a),s};var da=p.Stream,fa=ma;function ma(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}d.inherits(ma,da),ma.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(ma.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),ma.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},ma.prototype.resume=function(){this._released||this.release(),this.source.resume()},ma.prototype.pause=function(){this.source.pause()},ma.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},ma.prototype.pipe=function(){var e=da.prototype.pipe.apply(this,arguments);return this.resume(),e},ma.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))},ma.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 ha=d,va=p.Stream,xa=fa,ga=ba;function ba(){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}ha.inherits(ba,va),ba.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},ba.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},ba.prototype.append=function(e){if(ba.isStreamLike(e)){if(!(e instanceof xa)){var t=xa.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},ba.prototype.pipe=function(e,t){return va.prototype.pipe.call(this,e,t),this.resume(),e},ba.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}}},ba.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){ba.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},ba.prototype._pipeNext=function(e){if(this._currentStream=e,ba.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},ba.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},ba.prototype.write=function(e){this.emit("data",e)},ba.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},ba.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")},ba.prototype.end=function(){this._reset(),this.emit("end")},ba.prototype.destroy=function(){this._reset(),this.emit("close")},ba.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},ba.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},ba.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)},ba.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var ya={},_a={"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*as R from"node:os";import A from"node:os";import T 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 Z;!function(e){e.WorkspaceFileSystem="WorkspaceFileSystem",e.FullDiskFileSystem="FullDiskFileSystem",e.CodeSecurity="CodeSecurity",e.UserDetail="UserDetail"}(Z||(Z={}));const J="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",Re="DIAGNOSTIC_SCAN_TASK_COUNT";var Ae;!function(e){e.INIT="INIT",e.PROCESSING="PROCESSING",e.SUCCEED="SUCCEED",e.FAIL="FAIL"}(Ae||(Ae={}));const Te="ACCEPT_DIR";var Ce,Oe,je,Pe;!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.UNREADY="unready",e.READY="ready",e.RUNNING="running",e.SUCCESS="success",e.FAILED="failed",e.SKIPPED="skipped",e.CANCELLED="cancelled"}(je||(je={})),function(e){e.SecuBotConversation="SecuBotConversation",e.DebugBotConversation="DebugBotConversation",e.TestBotConversation="TestBotConversation",e.E2EBotConversation="E2EBotConversation",e.F2cBotConversation="F2cBotConversation"}(Pe||(Pe={}));const Le={[Pe.SecuBotConversation]:"安全智能体",[Pe.DebugBotConversation]:"Debug智能体",[Pe.TestBotConversation]:"单测智能体",[Pe.E2EBotConversation]:"端到端智能体",[Pe.F2cBotConversation]:"F2C智能体"};var Ie;!function(e){e.Ready="Ready",e.Running="Running",e.Failed="Failed",e.Completed="Completed",e.Cancelled="Cancelled"}(Ie||(Ie={}));const Ne="ACTION_DEBUG_TASK_PROCESS",De="ACTION_ASK_RAG",Fe="ACTION_GENERATE_MESSAGE",Me="ACTION_GENERATE_MESSAGE_REPORT",$e="ACTION_BRANCH_CHANGE",Ue="ACTION_SECUBOT",ze="ACTION_SECUBOT_TASK_PROGRESS",Be="为我的代码库扫描可能的安全漏洞",He="CODE_SEARCH";var qe,We;!function(e){e.REPO_KEY="REPO_KEY",e.REPO_VECTOR="REPO_VECTOR",e.REPO_REGEX="REPO_REGEX",e.FOLDER_KEY="FOLDER_KEY",e.FOLDER_VECTOR="FOLDER_VECTOR",e.FOLDER_REGEX="FOLDER_REGEX",e.FOLDER_READ="FOLDER_READ",e.FILE_READ="FILE_READ",e.CURRENT_FILE_READ="CURRENT_FILE_READ",e.ARCHITECTURE_READ="ARCHITECTURE_READ"}(qe||(qe={})),function(e){e.REPO="REPO",e.FOLDER="FOLDER",e.FILE="FILE",e.CURRENT_FILE="CURRENT_FILE"}(We||(We={}));const Ge="START_ISCAN_AND_GET_SEC_RESULT",Ve="START_ISCAN_BY_SAVE",Ke="START_ISCAN",Ye="ISCAN_RESULT",Qe="ISCAN_JOB_BUILD_ID",Ze="SCAN_NOTIFICATION",Je=".comate/mcp.json";async function Xe(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 et;(()=>{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={}))})(),et=i})();const{URI:tt,Utils:nt}=et;var it="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ot(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var at={},st={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})}},rt=l,ct=process.cwd,lt=null,pt=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return lt||(lt=ct.call(process)),lt};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var ut=process.chdir;process.chdir=function(e){lt=null,ut.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,ut)}var dt=function(e){rt.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,n,i){e.open(t,rt.O_WRONLY|rt.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,rt.O_WRONLY|rt.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){rt.hasOwnProperty("O_SYMLINK")&&e.futimes?(e.lutimes=function(t,n,i,o){e.open(t,rt.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,rt.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"===pt&&(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 ft=p.Stream,mt=function(e){return{ReadStream:function t(n,i){if(!(this instanceof t))return new t(n,i);ft.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);ft.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 ht=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var t={__proto__:vt(e)};else t=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t},vt=Object.getPrototypeOf||function(e){return e.__proto__};var xt,gt,bt=c,yt=dt,_t=mt,wt=ht,Et=d;function kt(e,t){Object.defineProperty(e,xt,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(xt=Symbol.for("graceful-fs.queue"),gt=Symbol.for("graceful-fs.previous")):(xt="___graceful-fs.queue",gt="___graceful-fs.previous");var St=function(){};if(Et.debuglog?St=Et.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(St=function(){var e=Et.format.apply(Et,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!bt[xt]){var Rt=it[xt]||[];kt(bt,Rt),bt.close=function(e){function t(t,n){return e.call(bt,t,(function(e){e||jt(),"function"==typeof n&&n.apply(this,arguments)}))}return Object.defineProperty(t,gt,{value:e}),t}(bt.close),bt.closeSync=function(e){function t(t){e.apply(bt,arguments),jt()}return Object.defineProperty(t,gt,{value:e}),t}(bt.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){St(bt[xt]),f.equal(bt[xt].length,0)}))}it[xt]||kt(it,bt[xt]);var At,Tt=Ct(wt(bt));function Ct(e){yt(e),e.gracefulify=Ct,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):Ot([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):Ot([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):Ot([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):Ot([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)):Ot([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=_t(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):Ot([e,[t,n,i,o],s,a||Date.now(),Date.now()])}))}(e,t,n,i)}return e.open=h,e}function Ot(e){St("ENQUEUE",e[0].name,e[1]),bt[xt].push(e),Pt()}function jt(){for(var e=Date.now(),t=0;t<bt[xt].length;++t)bt[xt][t].length>2&&(bt[xt][t][3]=e,bt[xt][t][4]=e);Pt()}function Pt(){if(clearTimeout(At),At=void 0,0!==bt[xt].length){var e=bt[xt].shift(),t=e[0],n=e[1],i=e[2],o=e[3],a=e[4];if(void 0===o)St("RETRY",t.name,n),t.apply(null,n);else if(Date.now()-o>=6e4){St("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)?(St("RETRY",t.name,n),t.apply(null,n.concat([o]))):bt[xt].push(e)}void 0===At&&(At=setTimeout(Pt,0))}}process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!bt.__patched&&(Tt=Ct(bt),bt.__patched=!0),function(e){const t=st.fromCallback,n=Tt,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")}(at);var Lt={},It={};const Nt=m;It.checkPath=function(e){if("win32"===process.platform){if(/[<>:"|?*]/.test(e.replace(Nt.parse(e).root,""))){const t=new Error(`Path contains invalid characters: ${e}`);throw t.code="EINVAL",t}}};const Dt=at,{checkPath:Ft}=It,Mt=e=>"number"==typeof e?e:{mode:511,...e}.mode;Lt.makeDir=async(e,t)=>(Ft(e),Dt.mkdir(e,{mode:Mt(t),recursive:!0})),Lt.makeDirSync=(e,t)=>(Ft(e),Dt.mkdirSync(e,{mode:Mt(t),recursive:!0}));const $t=st.fromPromise,{makeDir:Ut,makeDirSync:zt}=Lt,Bt=$t(Ut);var Ht={mkdirs:Bt,mkdirsSync:zt,mkdirp:Bt,mkdirpSync:zt,ensureDir:Bt,ensureDirSync:zt};const qt=st.fromPromise,Wt=at;var Gt={pathExists:qt((function(e){return Wt.access(e).then((()=>!0)).catch((()=>!1))})),pathExistsSync:Wt.existsSync};const Vt=at;var Kt={utimesMillis:(0,st.fromPromise)((async function(e,t,n){const i=await Vt.open(e,"r+");let o=null;try{await Vt.futimes(i,t,n)}finally{try{await Vt.close(i)}catch(e){o=e}}if(o)throw o})),utimesMillisSync:function(e,t,n){const i=Vt.openSync(e,"r+");return Vt.futimesSync(i,t,n),Vt.closeSync(i)}};const Yt=at,Qt=m,Zt=st.fromPromise;function Jt(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function Xt(e,t){const n=Qt.resolve(e).split(Qt.sep).filter((e=>e)),i=Qt.resolve(t).split(Qt.sep).filter((e=>e));return n.every(((e,t)=>i[t]===e))}function en(e,t,n){return`Cannot ${n} '${e}' to a subdirectory of itself, '${t}'.`}var tn={checkPaths:Zt((async function(e,t,n,i){const{srcStat:o,destStat:a}=await function(e,t,n){const i=n.dereference?e=>Yt.stat(e,{bigint:!0}):e=>Yt.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(Jt(o,a)){const i=Qt.basename(e),s=Qt.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()&&Xt(e,t))throw new Error(en(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=>Yt.statSync(e,{bigint:!0}):e=>Yt.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(Jt(o,a)){const i=Qt.basename(e),s=Qt.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()&&Xt(e,t))throw new Error(en(e,t,n));return{srcStat:o,destStat:a}},checkParentPaths:Zt((async function e(t,n,i,o){const a=Qt.resolve(Qt.dirname(t)),s=Qt.resolve(Qt.dirname(i));if(s===a||s===Qt.parse(s).root)return;let r;try{r=await Yt.stat(s,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(Jt(n,r))throw new Error(en(t,i,o));return e(t,n,s,o)})),checkParentPathsSync:function e(t,n,i,o){const a=Qt.resolve(Qt.dirname(t)),s=Qt.resolve(Qt.dirname(i));if(s===a||s===Qt.parse(s).root)return;let r;try{r=Yt.statSync(s,{bigint:!0})}catch(e){if("ENOENT"===e.code)return;throw e}if(Jt(n,r))throw new Error(en(t,i,o));return e(t,n,s,o)},isSrcSubdir:Xt,areIdentical:Jt};const nn=at,on=m,{mkdirs:an}=Ht,{pathExists:sn}=Gt,{utimesMillis:rn}=Kt,cn=tn;async function ln(e,t,n){return!n.filter||n.filter(e,t)}async function pn(e,t,n,i){const o=i.dereference?nn.stat:nn.lstat,a=await o(t);if(a.isDirectory())return async function(e,t,n,i,o){t||await nn.mkdir(i);const a=await nn.readdir(n);await Promise.all(a.map((async e=>{const t=on.join(n,e),a=on.join(i,e);if(!await ln(t,a,o))return;const{destStat:s}=await cn.checkPaths(t,a,"copy",o);return pn(s,t,a,o)}))),t||await nn.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 un(e,n,i,o);if(o.overwrite)return await nn.unlink(i),un(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 nn.readlink(t);i.dereference&&(o=on.resolve(process.cwd(),o));if(!e)return nn.symlink(o,n);let a=null;try{a=await nn.readlink(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return nn.symlink(o,n);throw e}i.dereference&&(a=on.resolve(process.cwd(),a));if(cn.isSrcSubdir(o,a))throw new Error(`Cannot copy '${o}' to a subdirectory of itself, '${a}'.`);if(cn.isSrcSubdir(a,o))throw new Error(`Cannot overwrite '${a}' with '${o}'.`);return await nn.unlink(n),nn.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 un(e,t,n,i){if(await nn.copyFile(t,n),i.preserveTimestamps){0==(128&e.mode)&&await function(e,t){return nn.chmod(e,128|t)}(n,e.mode);const i=await nn.stat(t);await rn(n,i.atime,i.mtime)}return nn.chmod(n,e.mode)}var dn=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 cn.checkPaths(e,t,"copy",n);if(await cn.checkParentPaths(e,i,t,"copy"),!await ln(e,t,n))return;const a=on.dirname(t);await sn(a)||await an(a),await pn(o,e,t,n)};const fn=Tt,mn=m,hn=Ht.mkdirsSync,vn=Kt.utimesMillisSync,xn=tn;function gn(e,t,n,i){const o=(i.dereference?fn.statSync:fn.lstatSync)(t);if(o.isDirectory())return function(e,t,n,i,o){return t?_n(n,i,o):function(e,t,n,i){return fn.mkdirSync(n),_n(t,n,i),yn(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 fn.unlinkSync(n),bn(e,t,n,i);if(i.errorOnExist)throw new Error(`'${n}' already exists`)}(e,n,i,o):bn(e,n,i,o)}(o,e,t,n,i);if(o.isSymbolicLink())return function(e,t,n,i){let o=fn.readlinkSync(t);i.dereference&&(o=mn.resolve(process.cwd(),o));if(e){let e;try{e=fn.readlinkSync(n)}catch(e){if("EINVAL"===e.code||"UNKNOWN"===e.code)return fn.symlinkSync(o,n);throw e}if(i.dereference&&(e=mn.resolve(process.cwd(),e)),xn.isSrcSubdir(o,e))throw new Error(`Cannot copy '${o}' to a subdirectory of itself, '${e}'.`);if(xn.isSrcSubdir(e,o))throw new Error(`Cannot overwrite '${e}' with '${o}'.`);return function(e,t){return fn.unlinkSync(t),fn.symlinkSync(e,t)}(o,n)}return fn.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 bn(e,t,n,i){return fn.copyFileSync(t,n),i.preserveTimestamps&&function(e,t,n){(function(e){return 0==(128&e)})(e)&&function(e,t){yn(e,128|t)}(n,e);(function(e,t){const n=fn.statSync(e);vn(t,n.atime,n.mtime)})(t,n)}(e.mode,t,n),yn(n,e.mode)}function yn(e,t){return fn.chmodSync(e,t)}function _n(e,t,n){fn.readdirSync(e).forEach((i=>function(e,t,n,i){const o=mn.join(t,e),a=mn.join(n,e);if(i.filter&&!i.filter(o,a))return;const{destStat:s}=xn.checkPathsSync(o,a,"copy",i);return gn(s,o,a,i)}(i,e,t,n)))}var wn=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}=xn.checkPathsSync(e,t,"copy",n);if(xn.checkParentPathsSync(e,i,t,"copy"),n.filter&&!n.filter(e,t))return;const a=mn.dirname(t);return fn.existsSync(a)||hn(a),gn(o,e,t,n)};var En={copy:(0,st.fromPromise)(dn),copySync:wn};const kn=Tt;var Sn={remove:(0,st.fromCallback)((function(e,t){kn.rm(e,{recursive:!0,force:!0},t)})),removeSync:function(e){kn.rmSync(e,{recursive:!0,force:!0})}};const Rn=st.fromPromise,An=at,Tn=m,Cn=Ht,On=Sn,jn=Rn((async function(e){let t;try{t=await An.readdir(e)}catch{return Cn.mkdirs(e)}return Promise.all(t.map((t=>On.remove(Tn.join(e,t)))))}));function Pn(e){let t;try{t=An.readdirSync(e)}catch{return Cn.mkdirsSync(e)}t.forEach((t=>{t=Tn.join(e,t),On.removeSync(t)}))}var Ln={emptyDirSync:Pn,emptydirSync:Pn,emptyDir:jn,emptydir:jn};const In=st.fromPromise,Nn=m,Dn=at,Fn=Ht;var Mn={createFile:In((async function(e){let t;try{t=await Dn.stat(e)}catch{}if(t&&t.isFile())return;const n=Nn.dirname(e);let i=null;try{i=await Dn.stat(n)}catch(t){if("ENOENT"===t.code)return await Fn.mkdirs(n),void await Dn.writeFile(e,"");throw t}i.isDirectory()?await Dn.writeFile(e,""):await Dn.readdir(n)})),createFileSync:function(e){let t;try{t=Dn.statSync(e)}catch{}if(t&&t.isFile())return;const n=Nn.dirname(e);try{Dn.statSync(n).isDirectory()||Dn.readdirSync(n)}catch(e){if(!e||"ENOENT"!==e.code)throw e;Fn.mkdirsSync(n)}Dn.writeFileSync(e,"")}};const $n=st.fromPromise,Un=m,zn=at,Bn=Ht,{pathExists:Hn}=Gt,{areIdentical:qn}=tn;var Wn={createLink:$n((async function(e,t){let n,i;try{n=await zn.lstat(t)}catch{}try{i=await zn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}if(n&&qn(i,n))return;const o=Un.dirname(t);await Hn(o)||await Bn.mkdirs(o),await zn.link(e,t)})),createLinkSync:function(e,t){let n;try{n=zn.lstatSync(t)}catch{}try{const t=zn.lstatSync(e);if(n&&qn(t,n))return}catch(e){throw e.message=e.message.replace("lstat","ensureLink"),e}const i=Un.dirname(t);return zn.existsSync(i)||Bn.mkdirsSync(i),zn.linkSync(e,t)}};const Gn=m,Vn=at,{pathExists:Kn}=Gt;var Yn={symlinkPaths:(0,st.fromPromise)((async function(e,t){if(Gn.isAbsolute(e)){try{await Vn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:e}}const n=Gn.dirname(t),i=Gn.join(n,e);if(await Kn(i))return{toCwd:i,toDst:e};try{await Vn.lstat(e)}catch(e){throw e.message=e.message.replace("lstat","ensureSymlink"),e}return{toCwd:e,toDst:Gn.relative(n,e)}})),symlinkPathsSync:function(e,t){if(Gn.isAbsolute(e)){if(!Vn.existsSync(e))throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}const n=Gn.dirname(t),i=Gn.join(n,e);if(Vn.existsSync(i))return{toCwd:i,toDst:e};if(!Vn.existsSync(e))throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:Gn.relative(n,e)}}};const Qn=at;var Zn={symlinkType:(0,st.fromPromise)((async function(e,t){if(t)return t;let n;try{n=await Qn.lstat(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"})),symlinkTypeSync:function(e,t){if(t)return t;let n;try{n=Qn.lstatSync(e)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"}};const Jn=st.fromPromise,Xn=m,ei=at,{mkdirs:ti,mkdirsSync:ni}=Ht,{symlinkPaths:ii,symlinkPathsSync:oi}=Yn,{symlinkType:ai,symlinkTypeSync:si}=Zn,{pathExists:ri}=Gt,{areIdentical:ci}=tn;var li={createSymlink:Jn((async function(e,t,n){let i;try{i=await ei.lstat(t)}catch{}if(i&&i.isSymbolicLink()){const[n,i]=await Promise.all([ei.stat(e),ei.stat(t)]);if(ci(n,i))return}const o=await ii(e,t);e=o.toDst;const a=await ai(o.toCwd,n),s=Xn.dirname(t);return await ri(s)||await ti(s),ei.symlink(e,t,a)})),createSymlinkSync:function(e,t,n){let i;try{i=ei.lstatSync(t)}catch{}if(i&&i.isSymbolicLink()){const n=ei.statSync(e),i=ei.statSync(t);if(ci(n,i))return}const o=oi(e,t);e=o.toDst,n=si(o.toCwd,n);const a=Xn.dirname(t);return ei.existsSync(a)||ni(a),ei.symlinkSync(e,t,n)}};const{createFile:pi,createFileSync:ui}=Mn,{createLink:di,createLinkSync:fi}=Wn,{createSymlink:mi,createSymlinkSync:hi}=li;var vi={createFile:pi,createFileSync:ui,ensureFile:pi,ensureFileSync:ui,createLink:di,createLinkSync:fi,ensureLink:di,ensureLinkSync:fi,createSymlink:mi,createSymlinkSync:hi,ensureSymlink:mi,ensureSymlinkSync:hi};var xi={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 gi;try{gi=Tt}catch(fy){gi=c}const bi=st,{stringify:yi,stripBom:_i}=xi;const wi=bi.fromPromise((async function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||gi,i=!("throws"in t)||t.throws;let o,a=await bi.fromCallback(n.readFile)(e,t);a=_i(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 Ei=bi.fromPromise((async function(e,t,n={}){const i=n.fs||gi,o=yi(t,n);await bi.fromCallback(i.writeFile)(e,o,n)}));const ki={readFile:wi,readFileSync:function(e,t={}){"string"==typeof t&&(t={encoding:t});const n=t.fs||gi,i=!("throws"in t)||t.throws;try{let i=n.readFileSync(e,t);return i=_i(i),JSON.parse(i,t.reviver)}catch(t){if(i)throw t.message=`${e}: ${t.message}`,t;return null}},writeFile:Ei,writeFileSync:function(e,t,n={}){const i=n.fs||gi,o=yi(t,n);return i.writeFileSync(e,o,n)}};var Si={readJson:ki.readFile,readJsonSync:ki.readFileSync,writeJson:ki.writeFile,writeJsonSync:ki.writeFileSync};const Ri=st.fromPromise,Ai=at,Ti=m,Ci=Ht,Oi=Gt.pathExists;var ji={outputFile:Ri((async function(e,t,n="utf-8"){const i=Ti.dirname(e);return await Oi(i)||await Ci.mkdirs(i),Ai.writeFile(e,t,n)})),outputFileSync:function(e,...t){const n=Ti.dirname(e);Ai.existsSync(n)||Ci.mkdirsSync(n),Ai.writeFileSync(e,...t)}};const{stringify:Pi}=xi,{outputFile:Li}=ji;var Ii=async function(e,t,n={}){const i=Pi(t,n);await Li(e,i,n)};const{stringify:Ni}=xi,{outputFileSync:Di}=ji;var Fi=function(e,t,n){const i=Ni(t,n);Di(e,i,n)};const Mi=st.fromPromise,$i=Si;$i.outputJson=Mi(Ii),$i.outputJsonSync=Fi,$i.outputJSON=$i.outputJson,$i.outputJSONSync=$i.outputJsonSync,$i.writeJSON=$i.writeJson,$i.writeJSONSync=$i.writeJsonSync,$i.readJSON=$i.readJson,$i.readJSONSync=$i.readJsonSync;var Ui=$i;const zi=at,Bi=m,{copy:Hi}=En,{remove:qi}=Sn,{mkdirp:Wi}=Ht,{pathExists:Gi}=Gt,Vi=tn;var Ki=async function(e,t,n={}){const i=n.overwrite||n.clobber||!1,{srcStat:o,isChangingCase:a=!1}=await Vi.checkPaths(e,t,"move",n);await Vi.checkParentPaths(e,o,t,"move");const s=Bi.dirname(t);return Bi.parse(s).root!==s&&await Wi(s),async function(e,t,n,i){if(!i)if(n)await qi(t);else if(await Gi(t))throw new Error("dest already exists.");try{await zi.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 Hi(e,t,i),qi(e)}(e,t,n)}}(e,t,i,a)};const Yi=Tt,Qi=m,Zi=En.copySync,Ji=Sn.removeSync,Xi=Ht.mkdirpSync,eo=tn;function to(e,t,n){try{Yi.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 Zi(e,t,i),Ji(e)}(e,t,n)}}var no=function(e,t,n){const i=(n=n||{}).overwrite||n.clobber||!1,{srcStat:o,isChangingCase:a=!1}=eo.checkPathsSync(e,t,"move",n);return eo.checkParentPathsSync(e,o,t,"move"),function(e){const t=Qi.dirname(e);return Qi.parse(t).root===t}(t)||Xi(Qi.dirname(t)),function(e,t,n,i){if(i)return to(e,t,n);if(n)return Ji(t),to(e,t,n);if(Yi.existsSync(t))throw new Error("dest already exists.");return to(e,t,n)}(e,t,i,a)};var io={move:(0,st.fromPromise)(Ki),moveSync:no},oo=ot({...at,...En,...Ln,...vi,...Ui,...Ht,...io,...ji,...Gt,...Sn}),ao=m,so=v;function ro(){return"homedir"in so?so.homedir():"win32"===(this.__platform||process.platform)?ao.resolve(process.env.USERPROFILE):ao.resolve(process.env.HOME)}var co=ot({__platform:process.platform,data:function(){switch(this.__platform||process.platform){case"win32":return ao.resolve(process.env.APPDATA);case"darwin":return ao.resolve(ao.join(ro.call(this),"Library/Application Support/"));default:return process.env.XDG_CONFIG_HOME?ao.resolve(process.env.XDG_CONFIG_HOME):ao.resolve(ao.join(ro.call(this),".config/"))}},desktop:function(){return ao.join(ro.call(this),"Desktop")},home:ro,tmp:function(){return"win32"===(this.__platform||process.platform)?ao.resolve(process.env.TEMP):ao.resolve("/tmp")}});async function lo(e){try{return await i.readFile(e,"utf8")}catch(e){return""}}function po(){try{return co.data()}catch(e){throw Error(`Failed to get ospath data: ${e.message}`)}}const uo=e=>"number"==typeof e?e:{mode:511,...e}.mode;const fo=(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:uo(n)},i)}catch(e){o(e)}}));async function mo(e){try{return await new Promise((t=>o(e,t)))||await fo(e,{recursive:!0}),!0}catch(e){return!1}}const ho=oo.emptyDir,vo=oo.remove,xo=oo.readJSON,go=oo.writeJSON;function bo(e,t){return function(){return e.apply(t,arguments)}}const{toString:yo}=Object.prototype,{getPrototypeOf:_o}=Object,{iterator:wo,toStringTag:Eo}=Symbol,ko=(So=Object.create(null),e=>{const t=yo.call(e);return So[t]||(So[t]=t.slice(8,-1).toLowerCase())});var So;const Ro=e=>(e=e.toLowerCase(),t=>ko(t)===e),Ao=e=>t=>typeof t===e,{isArray:To}=Array,Co=Ao("undefined");const Oo=Ro("ArrayBuffer");const jo=Ao("string"),Po=Ao("function"),Lo=Ao("number"),Io=e=>null!==e&&"object"==typeof e,No=e=>{if("object"!==ko(e))return!1;const t=_o(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Eo in e||wo in e)},Do=Ro("Date"),Fo=Ro("File"),Mo=Ro("Blob"),$o=Ro("FileList"),Uo=Ro("URLSearchParams"),[zo,Bo,Ho,qo]=["ReadableStream","Request","Response","Headers"].map(Ro);function Wo(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,o;if("object"!=typeof e&&(e=[e]),To(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 Go(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 Vo="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Ko=e=>!Co(e)&&e!==Vo;const Yo=(Qo="undefined"!=typeof Uint8Array&&_o(Uint8Array),e=>Qo&&e instanceof Qo);var Qo;const Zo=Ro("HTMLFormElement"),Jo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Xo=Ro("RegExp"),ea=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Wo(n,((n,o)=>{let a;!1!==(a=t(n,o,e))&&(i[o]=a||n)})),Object.defineProperties(e,i)};const ta=Ro("AsyncFunction"),na=(ia="function"==typeof setImmediate,oa=Po(Vo.postMessage),ia?setImmediate:oa?(aa=`axios@${Math.random()}`,sa=[],Vo.addEventListener("message",(({source:e,data:t})=>{e===Vo&&t===aa&&sa.length&&sa.shift()()}),!1),e=>{sa.push(e),Vo.postMessage(aa,"*")}):e=>setTimeout(e));var ia,oa,aa,sa;const ra="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Vo):"undefined"!=typeof process&&process.nextTick||na;var ca={isArray:To,isArrayBuffer:Oo,isBuffer:function(e){return null!==e&&!Co(e)&&null!==e.constructor&&!Co(e.constructor)&&Po(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Po(e.append)&&("formdata"===(t=ko(e))||"object"===t&&Po(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Oo(e.buffer),t},isString:jo,isNumber:Lo,isBoolean:e=>!0===e||!1===e,isObject:Io,isPlainObject:No,isReadableStream:zo,isRequest:Bo,isResponse:Ho,isHeaders:qo,isUndefined:Co,isDate:Do,isFile:Fo,isBlob:Mo,isRegExp:Xo,isFunction:Po,isStream:e=>Io(e)&&Po(e.pipe),isURLSearchParams:Uo,isTypedArray:Yo,isFileList:$o,forEach:Wo,merge:function e(){const{caseless:t}=Ko(this)&&this||{},n={},i=(i,o)=>{const a=t&&Go(n,o)||o;No(n[a])&&No(i)?n[a]=e(n[a],i):No(i)?n[a]=e({},i):To(i)?n[a]=i.slice():n[a]=i};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Wo(arguments[e],i);return n},extend:(e,t,n,{allOwnKeys:i}={})=>(Wo(t,((t,i)=>{n&&Po(t)?e[i]=bo(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&&_o(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:ko,kindOfTest:Ro,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(To(e))return e;let t=e.length;if(!Lo(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[wo]).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:Zo,hasOwnProperty:Jo,hasOwnProp:Jo,reduceDescriptors:ea,freezeMethods:e=>{ea(e,((t,n)=>{if(Po(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=e[n];Po(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 To(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:Go,global:Vo,isContextDefined:Ko,isSpecCompliantForm:function(e){return!!(e&&Po(e.append)&&"FormData"===e[Eo]&&e[wo])},toJSONObject:e=>{const t=new Array(10),n=(e,i)=>{if(Io(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[i]=e;const o=To(e)?[]:{};return Wo(e,((e,t)=>{const a=n(e,i+1);!Co(a)&&(o[t]=a)})),t[i]=void 0,o}}return e};return n(e,0)},isAsyncFn:ta,isThenable:e=>e&&(Io(e)||Po(e))&&Po(e.then)&&Po(e.catch),setImmediate:na,asap:ra,isIterable:e=>null!=e&&Po(e[wo])};function la(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)}ca.inherits(la,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:ca.toJSONObject(this.config),code:this.code,status:this.status}}});const pa=la.prototype,ua={};["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=>{ua[e]={value:e}})),Object.defineProperties(la,ua),Object.defineProperty(pa,"isAxiosError",{value:!0}),la.from=(e,t,n,i,o,a)=>{const s=Object.create(pa);return ca.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),la.call(s,e.message,t,n,i,o),s.cause=e,s.name=e.name,a&&Object.assign(s,a),s};var da=p.Stream,fa=ma;function ma(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}d.inherits(ma,da),ma.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(ma.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),ma.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},ma.prototype.resume=function(){this._released||this.release(),this.source.resume()},ma.prototype.pause=function(){this.source.pause()},ma.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},ma.prototype.pipe=function(){var e=da.prototype.pipe.apply(this,arguments);return this.resume(),e},ma.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))},ma.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 ha=d,va=p.Stream,xa=fa,ga=ba;function ba(){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}ha.inherits(ba,va),ba.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},ba.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},ba.prototype.append=function(e){if(ba.isStreamLike(e)){if(!(e instanceof xa)){var t=xa.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},ba.prototype.pipe=function(e,t){return va.prototype.pipe.call(this,e,t),this.resume(),e},ba.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}}},ba.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){ba.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},ba.prototype._pipeNext=function(e){if(this._currentStream=e,ba.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},ba.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},ba.prototype.write=function(e){this.emit("data",e)},ba.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},ba.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")},ba.prototype.end=function(){this._reset(),this.emit("end")},ba.prototype.destroy=function(){this._reset(),this.emit("close")},ba.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},ba.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},ba.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)},ba.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var ya={},_a={"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
@@ -33,7 +33,7 @@ const Vu=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.
33
33
  */
34
34
  const sd=d,rd=Ku,cd=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),ld=e=>"number"==typeof e||"string"==typeof e&&""!==e,pd=e=>Number.isInteger(+e),ud=e=>{let t=`${e}`,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},dd=(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},fd=(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 rd(e,t,{wrap:!1,...i});let o=String.fromCharCode(e);return e===t?o:`[${o}-${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 rd(e,t,n)},vd=(...e)=>new RangeError("Invalid range arguments: "+sd.inspect(...e)),xd=(e,t,n)=>{if(!0===n.strictRanges)throw vd([e,t]);return[]},gd=(e,t,n=1,i={})=>{let o=Number(e),a=Number(t);if(!Number.isInteger(o)||!Number.isInteger(a)){if(!0===i.strictRanges)throw vd([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=ud(r)||ud(c)||ud(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 md(fd(e,u),fd(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(dd(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=>fd(String(e),n))).join("|")),e.negatives.length&&(s=`-(${o}${e.negatives.map((e=>fd(String(e),n))).join("|")})`),i=a&&s?`${a}|${s}`:a||s,t.wrap?`(${o}${i})`:i})(m,i,u):hd(h,null,{wrap:!1,...i}):h},bd=(e,t,n,i={})=>{if(null==t&&ld(e))return[e];if(!ld(e)||!ld(t))return xd(e,t,i);if("function"==typeof n)return bd(e,t,1,{transform:n});if(cd(n))return bd(e,t,0,n);let o={...i};return!0===o.capture&&(o.wrap=!0),n=n||o.step||1,pd(n)?pd(e)&&pd(t)?gd(e,t,n,o):((e,t,n=1,i={})=>{if(!pd(e)&&e.length>1||!pd(t)&&t.length>1)return xd(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 md(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?hd(p,null,{wrap:!1,options:i}):p})(e,t,Math.max(Math.abs(n),1),o):null==n||cd(n)?bd(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,o)};const yd=bd,_d=qu;var wd=(e,t={})=>{const n=(e,i={})=>{const o=_d.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=_d.reduce(e.nodes),i=yd(...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 Ed=bd,kd=Gu,Sd=qu,Rd=(e="",t="",n=!1)=>{const i=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?Sd.flatten(t).map((e=>`{${e}}`)):t;for(const o of e)if(Array.isArray(o))for(const e of o)i.push(Rd(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),i.push(Array.isArray(e)?Rd(o,e,n):o+e);return Sd.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(Rd(s.pop(),kd(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void s.push(Rd(s.pop(),["{}"]));if(e.nodes&&e.ranges>0){const i=Sd.reduce(e.nodes);if(Sd.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=Ed(...i,t);return 0===o.length&&(o=kd(e,t)),s.push(Rd(s.pop(),o)),void(e.nodes=[])}const r=Sd.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(Rd(c.pop(),n.value)):n.nodes&&i(n,e):s.push(Rd(s.pop(),c,r)):(1===t&&c.push(""),c.push(""))}return c};return Sd.flatten(i(e))};const Td=Gu,{MAX_LENGTH:Cd,CHAR_BACKSLASH:Od,CHAR_BACKTICK:jd,CHAR_COMMA:Pd,CHAR_DOT:Ld,CHAR_LEFT_PARENTHESES:Id,CHAR_RIGHT_PARENTHESES:Nd,CHAR_LEFT_CURLY_BRACE:Dd,CHAR_RIGHT_CURLY_BRACE:Fd,CHAR_LEFT_SQUARE_BRACKET:Md,CHAR_RIGHT_SQUARE_BRACKET:$d,CHAR_DOUBLE_QUOTE:Ud,CHAR_SINGLE_QUOTE:zd,CHAR_NO_BREAK_SPACE:Bd,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Hd}={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 qd=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");const n=t||{},i="number"==typeof n.maxLength?Math.min(Cd,n.maxLength):Cd;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!==Hd&&p!==Bd)if(p!==Od)if(p!==$d)if(p!==Md)if(p!==Id)if(p!==Nd)if(p!==Ud&&p!==zd&&p!==jd)if(p!==Dd)if(p!==Fd)if(p===Pd&&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===Ld&&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!==Od){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!==Md)if(e!==Od){if(e===$d&&(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 Wd=Gu,Gd=wd,Vd=Ad,Kd=qd,Yd=(e,t={})=>{let n=[];if(Array.isArray(e))for(const i of e){const e=Yd.create(i,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(Yd.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};Yd.parse=(e,t={})=>Kd(e,t),Yd.stringify=(e,t={})=>Wd("string"==typeof e?Yd.parse(e,t):e,t),Yd.compile=(e,t={})=>("string"==typeof e&&(e=Yd.parse(e,t)),Gd(e,t)),Yd.expand=(e,t={})=>{"string"==typeof e&&(e=Yd.parse(e,t));let n=Vd(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},Yd.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?Yd.compile(e,t):Yd.expand(e,t);const Qd=d,Zd=Yd,Jd=tu,Xd=rp,ef=e=>""===e||"./"===e,tf=(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};tf.match=tf,tf.matcher=(e,t)=>Jd(e,t),tf.any=tf.isMatch=(e,t,n)=>Jd(t,n)(e),tf.not=(e,t,n={})=>{t=[].concat(t).map(String);let i=new Set,o=[],a=new Set(tf(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]},tf.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=>tf.contains(e,t,n)));if("string"==typeof t){if(ef(e)||ef(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return tf.isMatch(e,t,{...n,contains:!0})},tf.matchKeys=(e,t,n)=>{if(!Xd.isObject(e))throw new TypeError("Expected the first argument to be an object");let i=tf(Object.keys(e),t,n),o={};for(let t of i)o[t]=e[t];return o},tf.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},tf.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},tf.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)))},tf.capture=(e,t,n)=>{let i=Xd.isWindows(n),o=Jd.makeRe(String(e),{...n,capture:!0}).exec(i?Xd.toPosixSlashes(t):t);if(o)return o.slice(1).map((e=>void 0===e?"":e))},tf.makeRe=(...e)=>Jd.makeRe(...e),tf.scan=(...e)=>Jd.scan(...e),tf.parse=(e,t)=>{let n=[];for(let i of[].concat(e||[]))for(let e of Zd(String(i),t))n.push(Jd.parse(e,t));return n},tf.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:Zd(e,t)},tf.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return tf.braces(e,{...t,expand:!0})};var nf=tf;Object.defineProperty(Pu,"__esModule",{value:!0}),Pu.removeDuplicateSlashes=Pu.matchAny=Pu.convertPatternsToRe=Pu.makeRe=Pu.getPatternParts=Pu.expandBraceExpansion=Pu.expandPatternsWithBraceExpansion=Pu.isAffectDepthOfReadingPattern=Pu.endsWithSlashGlobStar=Pu.hasGlobStar=Pu.getBaseDirectory=Pu.isPatternRelatedToParentDirectory=Pu.getPatternsOutsideCurrentDirectory=Pu.getPatternsInsideCurrentDirectory=Pu.getPositivePatterns=Pu.getNegativePatterns=Pu.isPositivePattern=Pu.isNegativePattern=Pu.convertToNegativePattern=Pu.convertToPositivePattern=Pu.isDynamicPattern=Pu.isStaticPattern=void 0;const of=m,af=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&$u&&e.indexOf("/")<0&&(e=e.replace(Uu,"/")),zu.test(e)&&(e+="/"),e+="a";do{e=Mu(e)}while(Fu(e)||Bu.test(e));return e.replace(Hu,"$1")},sf=nf,rf="**",cf="\\",lf=/[*?]|^!/,pf=/\[[^[]*]/,uf=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,df=/[!*+?@]\([^(]*\)/,ff=/,|\.\./,mf=/(?!^)\/{2,}/g;function hf(e,t={}){return!vf(e,t)}function vf(e,t={}){return""!==e&&(!(!1!==t.caseSensitiveMatch&&!e.includes(cf))||(!!(lf.test(e)||pf.test(e)||uf.test(e))||(!(!1===t.extglob||!df.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 ff.test(i)}(e)))))}function xf(e){return e.startsWith("!")&&"("!==e[1]}function gf(e){return!xf(e)}function bf(e){return e.startsWith("..")||e.startsWith("./..")}function yf(e){return e.endsWith("/"+rf)}function _f(e){const t=sf.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort(((e,t)=>e.length-t.length)),t.filter((e=>""!==e))}function wf(e,t){return sf.makeRe(e,t)}Pu.isStaticPattern=hf,Pu.isDynamicPattern=vf,Pu.convertToPositivePattern=function(e){return xf(e)?e.slice(1):e},Pu.convertToNegativePattern=function(e){return"!"+e},Pu.isNegativePattern=xf,Pu.isPositivePattern=gf,Pu.getNegativePatterns=function(e){return e.filter(xf)},Pu.getPositivePatterns=function(e){return e.filter(gf)},Pu.getPatternsInsideCurrentDirectory=function(e){return e.filter((e=>!bf(e)))},Pu.getPatternsOutsideCurrentDirectory=function(e){return e.filter(bf)},Pu.isPatternRelatedToParentDirectory=bf,Pu.getBaseDirectory=function(e){return af(e,{flipBackslashes:!1})},Pu.hasGlobStar=function(e){return e.includes(rf)},Pu.endsWithSlashGlobStar=yf,Pu.isAffectDepthOfReadingPattern=function(e){const t=of.basename(e);return yf(e)||hf(t)},Pu.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat(_f(t))),[])},Pu.expandBraceExpansion=_f,Pu.getPatternParts=function(e,t){let{parts:n}=sf.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},Pu.makeRe=wf,Pu.convertPatternsToRe=function(e,t){return e.map((e=>wf(e,t)))},Pu.matchAny=function(e,t){return t.some((t=>t.test(e)))},Pu.removeDuplicateSlashes=function(e){return e.replace(mf,"/")};var Ef={};Object.defineProperty(Ef,"__esModule",{value:!0}),Ef.merge=void 0;const kf=uu;function Sf(e){e.forEach((e=>e.emit("close")))}Ef.merge=function(e){const t=kf(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>Sf(e))),t.once("end",(()=>Sf(e))),t};var Rf={};Object.defineProperty(Rf,"__esModule",{value:!0}),Rf.isEmpty=Rf.isString=void 0,Rf.isString=function(e){return"string"==typeof e},Rf.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 Af=vu;hu.array=Af;const Tf=xu;hu.errno=Tf;const Cf=gu;hu.fs=Cf;const Of=yu;hu.path=Of;const jf=Pu;hu.pattern=jf;const Pf=Ef;hu.stream=Pf;const Lf=Rf;hu.string=Lf,Object.defineProperty(mu,"__esModule",{value:!0}),mu.convertPatternGroupToTask=mu.convertPatternGroupsToTasks=mu.groupPatternsByBaseDirectory=mu.getNegativePatternsAsPositive=mu.getPositivePatterns=mu.convertPatternsToTasks=mu.generate=void 0;const If=hu;function Nf(e,t){let n=e;return t.braceExpansion&&(n=If.pattern.expandPatternsWithBraceExpansion(n)),t.baseNameMatch&&(n=n.map((e=>e.includes("/")?e:`**/${e}`))),n.map((e=>If.pattern.removeDuplicateSlashes(e)))}function Df(e,t,n){const i=[],o=If.pattern.getPatternsOutsideCurrentDirectory(e),a=If.pattern.getPatternsInsideCurrentDirectory(e),s=$f(o),r=$f(a);return i.push(...Uf(s,t,n)),"."in r?i.push(zf(".",a,t,n)):i.push(...Uf(r,t,n)),i}function Ff(e){return If.pattern.getPositivePatterns(e)}function Mf(e,t){return If.pattern.getNegativePatterns(e).concat(t).map(If.pattern.convertToPositivePattern)}function $f(e){return e.reduce(((e,t)=>{const n=If.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e}),{})}function Uf(e,t,n){return Object.keys(e).map((i=>zf(i,e[i],t,n)))}function zf(e,t,n,i){return{dynamic:i,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(If.pattern.convertToNegativePattern))}}mu.generate=function(e,t){const n=Nf(e,t),i=Nf(t.ignore,t),o=Ff(n),a=Mf(n,i),s=o.filter((e=>If.pattern.isStaticPattern(e,t))),r=o.filter((e=>If.pattern.isDynamicPattern(e,t))),c=Df(s,a,!1),l=Df(r,a,!0);return c.concat(l)},mu.convertPatternsToTasks=Df,mu.getPositivePatterns=Ff,mu.getNegativePatternsAsPositive=Mf,mu.groupPatternsByBaseDirectory=$f,mu.convertPatternGroupsToTasks=Uf,mu.convertPatternGroupToTask=zf;var Bf={},Hf={},qf={},Wf={},Gf={},Vf={},Kf={},Yf={},Qf={};function Zf(e,t){e(t)}function Jf(e,t){e(null,t)}Object.defineProperty(Qf,"__esModule",{value:!0}),Qf.read=void 0,Qf.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 Zf(n,e):void Jf(n,o);t.markSymbolicLink&&(i.isSymbolicLink=()=>!0),Jf(n,i)})):Jf(n,o):Zf(n,i)}))};var Xf={};Object.defineProperty(Xf,"__esModule",{value:!0}),Xf.read=void 0,Xf.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 em={},tm={};!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)}}(tm),Object.defineProperty(em,"__esModule",{value:!0});const nm=tm;em.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=nm.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(Yf,"__esModule",{value:!0}),Yf.statSync=Yf.stat=Yf.Settings=void 0;const im=Qf,om=Xf,am=em;function sm(e={}){return e instanceof am.default?e:new am.default(e)}
35
35
  /*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */let rm;Yf.Settings=am.default,Yf.stat=function(e,t,n){"function"!=typeof t?im.read(e,sm(t),n):im.read(e,sm(),t)},Yf.statSync=function(e,t){const n=sm(t);return om.read(e,n)};var cm=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?lm(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 lm="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:it):e=>(rm||(rm=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)));var pm={};Object.defineProperty(pm,"__esModule",{value:!0}),pm.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const um=process.versions.node.split(".");if(void 0===um[0]||void 0===um[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const dm=Number.parseInt(um[0],10),fm=Number.parseInt(um[1],10),mm=dm>10,hm=10===dm&&fm>=10;pm.IS_SUPPORT_READDIR_WITH_FILE_TYPES=mm||hm;var vm={},xm={};Object.defineProperty(xm,"__esModule",{value:!0}),xm.createDirentFromStats=void 0;class gm{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)}}xm.createDirentFromStats=function(e,t){return new gm(e,t)},Object.defineProperty(vm,"__esModule",{value:!0}),vm.fs=void 0;const bm=xm;vm.fs=bm;var ym={};Object.defineProperty(ym,"__esModule",{value:!0}),ym.joinPathSegments=void 0,ym.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t},Object.defineProperty(Kf,"__esModule",{value:!0}),Kf.readdir=Kf.readdirWithFileTypes=Kf.read=void 0;const _m=Yf,wm=cm,Em=pm,km=vm,Sm=ym;function Rm(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:Sm.joinPathSegments(e,n.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return void Cm(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=km.fs.createDirentFromStats(e.name,o),n(null,e)})):n(null,e)}}(e,t)));wm(s,((e,t)=>{null===e?Cm(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=Sm.joinPathSegments(e,n,t.pathSegmentSeparator);return e=>{_m.stat(i,t.fsStatSettings,((o,a)=>{if(null!==o)return void e(o);const s={name:n,path:i,dirent:km.fs.createDirentFromStats(n,a)};t.stats&&(s.stats=a),e(null,s)}))}}));wm(a,((e,t)=>{null===e?Cm(n,t):Tm(n,e)}))}))}function Tm(e,t){e(t)}function Cm(e,t){e(null,t)}Kf.read=function(e,t,n){t.stats||!Em.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Am(e,t,n):Rm(e,t,n)},Kf.readdirWithFileTypes=Rm,Kf.readdir=Am;var Om={};Object.defineProperty(Om,"__esModule",{value:!0}),Om.readdir=Om.readdirWithFileTypes=Om.read=void 0;const jm=Yf,Pm=pm,Lm=vm,Im=ym;function Nm(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((n=>{const i={dirent:n,name:n.name,path:Im.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(i.path);i.dirent=Lm.fs.createDirentFromStats(i.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return i}))}function Dm(e,t){return t.fs.readdirSync(e).map((n=>{const i=Im.joinPathSegments(e,n,t.pathSegmentSeparator),o=jm.statSync(i,t.fsStatSettings),a={name:n,path:i,dirent:Lm.fs.createDirentFromStats(n,o)};return t.stats&&(a.stats=o),a}))}Om.read=function(e,t){return!t.stats&&Pm.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Nm(e,t):Dm(e,t)},Om.readdirWithFileTypes=Nm,Om.readdir=Dm;var Fm={},Mm={};!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)}}(Mm),Object.defineProperty(Fm,"__esModule",{value:!0});const $m=m,Um=Yf,zm=Mm;Fm.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=zm.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,$m.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new Um.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(Vf,"__esModule",{value:!0}),Vf.Settings=Vf.scandirSync=Vf.scandir=void 0;const Bm=Kf,Hm=Om,qm=Fm;function Wm(e={}){return e instanceof qm.default?e:new qm.default(e)}Vf.Settings=qm.default,Vf.scandir=function(e,t,n){"function"!=typeof t?Bm.read(e,Wm(t),n):Bm.read(e,Wm(),t)},Vf.scandirSync=function(e,t){const n=Wm(t);return Hm.read(e,n)};var Gm={exports:{}};var Vm=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 Km(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=Vm(Qm),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||Ym,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:Ym,saturated:Ym,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||Ym,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:Ym,kill:function(){o=null,a=null,c.drain=Ym},killAndDrain:function(){o=null,a=null,c.drain(),c.drain=Ym},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 Ym(){}function Qm(){this.value=null,this.callback=Ym,this.next=null,this.release=Ym,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=Ym,e.errorHandler&&o(t,a),i.call(e.context,t,n),e.release(e)}}Gm.exports=Km,Gm.exports.promise=function(e,t,n){"function"==typeof e&&(n=t,t=e,e=null);var i=Km(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(Ym),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(Ym),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 Zm=Gm.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 Xm={};Object.defineProperty(Xm,"__esModule",{value:!0});const eh=Jm;Xm.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=eh.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}},Object.defineProperty(Gf,"__esModule",{value:!0});const th=k,nh=Vf,ih=Zm,oh=Jm,ah=Xm;class sh extends ah.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=nh.scandir,this._emitter=new th.EventEmitter,this._queue=ih(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&&oh.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=oh.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),oh.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&oh.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}Gf.default=sh,Object.defineProperty(Wf,"__esModule",{value:!0});const rh=Gf;Wf.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new rh.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 ch={};Object.defineProperty(ch,"__esModule",{value:!0});const lh=p,ph=Gf;ch.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new ph.default(this._root,this._settings),this._stream=new lh.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 uh={},dh={};Object.defineProperty(dh,"__esModule",{value:!0});const fh=Vf,mh=Jm,hh=Xm;class vh extends hh.default{constructor(){super(...arguments),this._scandir=fh.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(mh.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=mh.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),mh.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&mh.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}dh.default=vh,Object.defineProperty(uh,"__esModule",{value:!0});const xh=dh;uh.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new xh.default(this._root,this._settings)}read(){return this._reader.read()}};var gh={};Object.defineProperty(gh,"__esModule",{value:!0});const bh=m,yh=Vf;gh.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,bh.sep),this.fsScandirSettings=new yh.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(qf,"__esModule",{value:!0}),qf.Settings=qf.walkStream=qf.walkSync=qf.walk=void 0;const _h=Wf,wh=ch,Eh=uh,kh=gh;function Sh(e={}){return e instanceof kh.default?e:new kh.default(e)}qf.Settings=kh.default,qf.walk=function(e,t,n){"function"!=typeof t?new _h.default(e,Sh(t)).read(n):new _h.default(e,Sh()).read(t)},qf.walkSync=function(e,t){const n=Sh(t);return new Eh.default(e,n).read()},qf.walkStream=function(e,t){const n=Sh(t);return new wh.default(e,n).read()};var Rh={};Object.defineProperty(Rh,"__esModule",{value:!0});const Ah=m,Th=Yf,Ch=hu;Rh.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:Ch.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!Ch.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};var Oh={};Object.defineProperty(Oh,"__esModule",{value:!0});const jh=p,Ph=Yf,Lh=qf,Ih=Rh;class Nh extends Ih.default{constructor(){super(...arguments),this._walkStream=Lh.walkStream,this._stat=Ph.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),i=new jh.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)))}))}}Oh.default=Nh,Object.defineProperty(Hf,"__esModule",{value:!0});const Dh=qf,Fh=Rh,Mh=Oh;class $h extends Fh.default{constructor(){super(...arguments),this._walkAsync=Dh.walk,this._readerStream=new Mh.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)))}))}}Hf.default=$h;var Uh={},zh={},Bh={},Hh={};Object.defineProperty(Hh,"__esModule",{value:!0});const qh=hu;Hh.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 qh.pattern.getPatternParts(e,this._micromatchOptions).map((e=>qh.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:qh.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return qh.array.splitWhen(e,(e=>e.dynamic&&qh.pattern.hasGlobStar(e.pattern)))}},Object.defineProperty(Bh,"__esModule",{value:!0});const Wh=Hh;class Gh extends Wh.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}}Bh.default=Gh,Object.defineProperty(zh,"__esModule",{value:!0});const Vh=hu,Kh=Bh;zh.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 Kh.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(Vh.pattern.isAffectDepthOfReadingPattern);return Vh.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=Vh.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!Vh.pattern.matchAny(e,t)}};var Yh={};Object.defineProperty(Yh,"__esModule",{value:!0});const Qh=hu;Yh.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=Qh.pattern.convertPatternsToRe(e,this._micromatchOptions),i=Qh.pattern.convertPatternsToRe(t,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return e=>this._filter(e,n,i)}_filter(e,t,n){const i=Qh.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=Qh.path.makeAbsolute(this._settings.cwd,e);return Qh.pattern.matchAny(n,t)}_isMatchToPatterns(e,t,n){const i=Qh.pattern.matchAny(e,t);return!i&&n?Qh.pattern.matchAny(e+"/",t):i}};var Zh={};Object.defineProperty(Zh,"__esModule",{value:!0});const Jh=hu;Zh.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return Jh.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};var Xh={};Object.defineProperty(Xh,"__esModule",{value:!0});const ev=hu;Xh.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=ev.path.makeAbsolute(this._settings.cwd,t),t=ev.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}},Object.defineProperty(Uh,"__esModule",{value:!0});const tv=m,nv=zh,iv=Yh,ov=Zh,av=Xh;Uh.default=class{constructor(e){this._settings=e,this.errorFilter=new ov.default(this._settings),this.entryFilter=new iv.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new nv.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new av.default(this._settings)}_getRootDirectory(e){return tv.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(Bf,"__esModule",{value:!0});const sv=Hf,rv=Uh;class cv extends rv.default{constructor(){super(...arguments),this._reader=new sv.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)}}Bf.default=cv;var lv={};Object.defineProperty(lv,"__esModule",{value:!0});const pv=p,uv=Oh,dv=Uh;class fv extends dv.default{constructor(){super(...arguments),this._reader=new uv.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),i=this.api(t,e,n),o=new pv.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)}}lv.default=fv;var mv={},hv={};Object.defineProperty(hv,"__esModule",{value:!0});const vv=Yf,xv=qf,gv=Rh;class bv extends gv.default{constructor(){super(...arguments),this._walkSync=xv.walkSync,this._statSync=vv.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)}}hv.default=bv,Object.defineProperty(mv,"__esModule",{value:!0});const yv=hv,_v=Uh;class wv extends _v.default{constructor(){super(...arguments),this._reader=new yv.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)}}mv.default=wv;var Ev={};!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)}}}(Ev);const kv=mu,Sv=Bf,Rv=lv,Av=mv,Tv=Ev,Cv=hu;async function Ov(e,t){Pv(e);const n=jv(e,Sv.default,t),i=await Promise.all(n);return Cv.array.flatten(i)}function jv(e,t,n){const i=[].concat(e),o=new Tv.default(n),a=kv.generate(i,o),s=new t(o);return a.map(s.read,s)}function Pv(e){if(![].concat(e).every((e=>Cv.string.isString(e)&&!Cv.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){function t(e,t){Pv(e);const n=jv(e,Av.default,t);return Cv.array.flatten(n)}function n(e,t){Pv(e);const n=jv(e,Rv.default,t);return Cv.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){Pv(e);const n=[].concat(e),i=new Tv.default(t);return kv.generate(n,i)},e.isDynamicPattern=function(e,t){Pv(e);const n=new Tv.default(t);return Cv.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return Pv(e),Cv.path.escape(e)},e.convertPathToPattern=function(e){return Pv(e),Cv.path.convertPathToPattern(e)},(i=e.posix||(e.posix={})).escapePath=function(e){return Pv(e),Cv.path.escapePosixPath(e)},i.convertPathToPattern=function(e){return Pv(e),Cv.path.convertPosixPathToPattern(e)},(o=e.win32||(e.win32={})).escapePath=function(e){return Pv(e),Cv.path.escapeWindowsPath(e)},o.convertPathToPattern=function(e){return Pv(e),Cv.path.convertWindowsPathToPattern(e)}}(Ov||(Ov={}));var Lv=ot(Ov),Iv={exports:{}},Nv={};const{promisify:Dv}=d,Fv=c;async function Mv(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await Dv(Fv[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function $v(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return Fv[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}Nv.isFile=Mv.bind(null,"stat","isFile"),Nv.isDirectory=Mv.bind(null,"stat","isDirectory"),Nv.isSymlink=Mv.bind(null,"lstat","isSymbolicLink"),Nv.isFileSync=$v.bind(null,"statSync","isFile"),Nv.isDirectorySync=$v.bind(null,"statSync","isDirectory"),Nv.isSymlinkSync=$v.bind(null,"lstatSync","isSymbolicLink");const Uv=m,zv=Nv,Bv=e=>e.length>1?`{${e.join(",")}}`:e[0],Hv=(e,t)=>{const n="!"===e[0]?e.slice(1):e;return Uv.isAbsolute(n)?n:Uv.join(t,n)},qv=(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=>Uv.posix.join(e,((e,t)=>Uv.extname(e)?`**/${e}`:`**/${e}.${Bv(t)}`)(n,t.extensions)))):t.files?t.files.map((t=>Uv.posix.join(e,`**/${t}`))):t.extensions?[Uv.posix.join(e,`**/*.${Bv(t.extensions)}`)]:[Uv.posix.join(e,"**")]};Iv.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 zv.isDirectory(Hv(e,t.cwd))?qv(e,t):e)));return[].concat.apply([],n)},Iv.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=>zv.isDirectorySync(Hv(e,t.cwd))?qv(e,t):e));return[].concat.apply([],n)};var Wv=ot(Iv.exports);function Gv(e){return Array.isArray(e)?e:[e]}const Vv=/^\s+$/,Kv=/(?:[^\\]|^)\\$/,Yv=/^\\!/,Qv=/^\\#/,Zv=/\r?\n/g,Jv=/^\.*\/|^\.+$/;let Xv="node-ignore";"undefined"!=typeof Symbol&&(Xv=Symbol.for("node-ignore"));const ex=Xv,tx=/([0-z])-([0-z])/g,nx=()=>!1,ix=[[/^\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(tx,((e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:"")))(n)}${i}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],ox=Object.create(null),ax=e=>"string"==typeof e;class sx{constructor(e,t,n,i){this.origin=e,this.pattern=t,this.negative=n,this.regex=i}}const rx=(e,t)=>{const n=e;let i=!1;0===e.indexOf("!")&&(i=!0,e=e.substr(1));const o=((e,t)=>{let n=ox[e];return n||(n=ix.reduce(((t,[n,i])=>t.replace(n,i.bind(e))),e),ox[e]=n),t?new RegExp(n,"i"):new RegExp(n)})(e=e.replace(Yv,"!").replace(Qv,"#"),t);return new sx(n,e,i,o)},cx=(e,t)=>{throw new t(e)},lx=(e,t,n)=>{if(!ax(e))return n(`path must be a string, but got \`${t}\``,TypeError);if(!e)return n("path must not be empty",TypeError);if(lx.isNotRelative(e)){return n(`path should be a ${"`path.relative()`d"} string, but got "${t}"`,RangeError)}return!0},px=e=>Jv.test(e);lx.isNotRelative=px,lx.convert=e=>e;class ux{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){var i,o,a;i=this,o=ex,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[ex])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&ax(e)&&!Vv.test(e)&&!Kv.test(e)&&0!==e.indexOf("#"))(e)){const t=rx(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,Gv(ax(e)?(e=>e.split(Zv))(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&&lx.convert(e);return lx(o,e,this._allowRelativePaths?nx:cx),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 Gv(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const dx=e=>new ux(e);dx.isPathValid=e=>lx(e&&lx.convert(e),e,nx),dx.default=dx;var fx=dx;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,"/");lx.convert=e;const t=/^[a-z]:\//i;lx.isNotRelative=e=>t.test(e)||px(e)}var mx=ot(fx);function hx(e){const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}const vx=e=>e instanceof URL?C(e):e;class xx extends O{constructor(e){super({objectMode:!0,transform(t,n,i){i(void 0,e(t)?t:void 0)}})}}const gx=e=>"!"===e[0],bx={ignore:["**/node_modules","**/flow-typed","**/coverage","**/.git"],absolute:!0,dot:!0},yx=(t,n)=>{const i=hx(e.relative(n,e.dirname(t.filePath)));return t.content.split(/\r?\n/).filter((e=>e&&!e.startsWith("#"))).map((t=>((t,n)=>gx(t)?"!"+e.posix.join(n,t.slice(1)):e.posix.join(n,t))(t,i)))},_x=(t,n)=>{const i=t.flatMap((e=>yx(e,n))),o=mx().add(i);return t=>(t=((t,n)=>{if(n=hx(n),e.isAbsolute(t)){if(hx(t).startsWith(n))return e.relative(n,t);throw new Error(`Path ${t} is not in cwd ${n}`)}return t})(t=vx(t),n),!!t&&o.ignores(hx(t)))},wx=(e,t)=>{const{cwd:i,suppressErrors:o,deep:a}=((e={})=>({cwd:vx(e.cwd)||T.cwd(),suppressErrors:Boolean(e.suppressErrors),deep:"number"==typeof e.deep?e.deep:Number.POSITIVE_INFINITY}))(t),s=Lv.sync(e,{cwd:i,suppressErrors:o,deep:a,...bx}).map((e=>({filePath:e,content:n.readFileSync(e,"utf8")})));return _x(s,i)},Ex=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),kx=(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:vx(e.cwd)}),e),Sx=e=>{const t=(e=>{const{ignoreFiles:t,gitignore:n}=e,i=t?Ex(t):[];return n&&i.push("**/.gitignore"),i})(e);return Rx(t.length>0&&wx(t,e))},Rx=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=>gx(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=Wv.sync(t,a),n.ignore=Wv.sync(n.ignore,s),{patterns:t,options:n}}))},Tx=(Cx=(e,t)=>{const n=Ax(e,t),i=Sx(t);return((e,t)=>fu(e).pipe(new xx((e=>t(e)))))(n.map((e=>Lv.stream(e.patterns,e.options))),i)},(e,t)=>Cx(Ex(e),kx(t)));var Cx;const Ox=[{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 jx{static default=new jx;entries=[];static{for(const e of Ox)jx.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?cu(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 Px=10,Lx=10,Ix=5,Nx=2,Dx=20,Fx=30;function Mx(e){return e.split("/").reduce(((e,t)=>t.includes("**")?e+Nx:t.includes("*")?e+Ix:e+Lx),0)}class $x{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,Mx(e));for(const e of this.selector.workspaceFile??[])this.globWeights.set(e,Mx(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)?Px:0}async matchActiveFilePath(e,t){if(!this.selector.activeFilePath?.length)return null;const n={cwd:e,matchBase:!0,returnIndex:!0},i=cu(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*Dx}async matchSelectedContent(e){if(!this.selector.selectedContent?.length)return null;return this.selector.selectedContent.filter((t=>e.selectedCode.includes(t))).length*Dx}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 Fx;return 0}}function Ux(e,t){return e.pluginName===t.pluginName&&e.capabilityName===t.capabilityName}const zx=["Fallback","Prompt","Skill"];function Bx(e){return zx.includes(e)}const Hx=["Prompt","Skill"];function qx(e){return Hx.includes(e)}function Wx(e){return["Prompt","Skill"].includes(e)}function Gx(){const e="win32"===v.platform();if(process.env.PLATFORM===ul.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 Vx="COMATE_PLUS_CHAT_QUERY",Kx="COMATE_PLUS_CHAT_CANCEL",Yx="COMATE_PLUS_CUSTOM_COMMAND",Qx="COMATE_PLUS_AGENT_COMMAND",Zx="COMATE_PLUS_WEBVIEW_INIT_DATA",Jx="COMATE_PLUS_DRAW_CHAT_UPDATE",Xx="COMATE_PLUS_DRAW_CHAT_APPEND",eg="COMATE_PLUS_DRAW_CHAT_FINISH",tg="COMATE_PLUS_DRAW_CHAT_FAIL",ng="REQUEST_PERMISSION",ig="COMATE_PLUS_QUERY_SELECTOR",og="USER_DETAIL",ag="COMATE_PLUS_INITIALIZED",sg="ENGINE_PROCESS_START_SUCCESS",rg="USER_DETAIL_ERROR",cg="COMATE_PLUS_AGENT_NOTIFICATION",lg="COMATE_LSP_WORKSPACE_FOLDERS",pg="COMATE_LSP_REMOTE_CONSOLE",ug="COMATE_PLUS_SECTION_CHAT_UPDATE",dg="COMATE_PLUS_RECREATE_INDEX",fg="COMATE_PLUS_CODE_SEARCH",mg="COMATE_PLUS_ACCEPT_DIR",hg="ACTION_COMATE_SMART_APPLY",vg="ACTION_COMATE_SMART_APPLY_CANCEL",xg="kernel/chatSession/list",gg="kernel/chatSession/save",bg="kernel/chatSession/delete",yg="kernel/chatSession/find",_g="COMATE_GET_AGENT_TASKS",wg="COMATE_ADD_AGENT_TASK",Eg="COMATE_SET_FOREGROUND_TASK",kg="COMATE_UPDATE_AGENT_TASK_MESSAGES",Sg="ACTION_MOCK_VIRTUAL_EDITOR_EVENT",Rg="ACTION_COMPOSER",Ag="COMATE_AGENT_DEBUG_CUSTOM_ACTION",Tg="COMATE_ADD_CACHE",Cg="COMATE_GET_CACHE",Og="kernel/promptTemplate/list",jg="kernel/promptTemplate/create",Pg="kernel/promptTemplate/update",Lg="kernel/promptTemplate/delete",Ig="ENGINE_SERVICE_INITIALIZED",Ng="RULE_PANEL_ACTION_EVENT",Dg="UPDATE_RULE_PANEL_EVENT";function Fg(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Mg={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function $g(e){Mg=e}const Ug=/[&<>"']/,zg=new RegExp(Ug.source,"g"),Bg=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Hg=new RegExp(Bg.source,"g"),qg={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Wg=e=>qg[e];function Gg(e,t){if(t){if(Ug.test(e))return e.replace(zg,Wg)}else if(Bg.test(e))return e.replace(Hg,Wg);return e}const Vg=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Kg(e){return e.replace(Vg,((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 Yg=/(^|[^\[])\^/g;function Qg(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(Yg,"$1"),n=n.replace(e,o),i},getRegex:()=>new RegExp(n,t)};return i}function Zg(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}const Jg={exec:()=>null};function Xg(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 eb(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 tb(e,t,n,i){const o=t.href,a=t.title?Gg(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:Gg(s)}}class nb{options;rules;lexer;constructor(e){this.options=e||Mg}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:eb(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=eb(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=eb(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=Xg(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(Xg(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:Gg(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=eb(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)),tb(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 tb(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=Gg(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=Gg(t[1]),n="mailto:"+e):(e=Gg(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=Gg(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=Gg(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]:Gg(t[0]),{type:"text",raw:t[0],text:e}}}}const ib=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ob=/(?:[*+-]|\d{1,9}[.)])/,ab=Qg(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,ob).getRegex(),sb=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,rb=/(?!\s*\])(?:\\.|[^\[\]\\])+/,cb=Qg(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",rb).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),lb=Qg(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ob).getRegex(),pb="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",ub=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,db=Qg("^ {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",ub).replace("tag",pb).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),fb=Qg(sb).replace("hr",ib).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",pb).getRegex(),mb={blockquote:Qg(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",fb).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:cb,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:ib,html:db,lheading:ab,list:lb,newline:/^(?: *(?:\n|$))+/,paragraph:fb,table:Jg,text:/^[^\n]+/},hb=Qg("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",ib).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",pb).getRegex(),vb={...mb,table:hb,paragraph:Qg(sb).replace("hr",ib).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",hb).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",pb).getRegex()},xb={...mb,html:Qg("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",ub).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:Jg,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Qg(sb).replace("hr",ib).replace("heading"," *#{1,6} *[^\n]").replace("lheading",ab).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},gb=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,bb=/^( {2,}|\\)\n(?!\s*$)/,yb="\\p{P}$+<=>`^|~",_b=Qg(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,yb).getRegex(),wb=Qg(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,yb).getRegex(),Eb=Qg("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,yb).getRegex(),kb=Qg("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,yb).getRegex(),Sb=Qg(/\\([punct])/,"gu").replace(/punct/g,yb).getRegex(),Rb=Qg(/^<(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(),Ab=Qg(ub).replace("(?:--\x3e|$)","--\x3e").getRegex(),Tb=Qg("^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",Ab).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Cb=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ob=Qg(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Cb).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),jb=Qg(/^!?\[(label)\]\[(ref)\]/).replace("label",Cb).replace("ref",rb).getRegex(),Pb=Qg(/^!?\[(ref)\](?:\[\])?/).replace("ref",rb).getRegex(),Lb={_backpedal:Jg,anyPunctuation:Sb,autolink:Rb,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:bb,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Jg,emStrongLDelim:wb,emStrongRDelimAst:Eb,emStrongRDelimUnd:kb,escape:gb,link:Ob,nolink:Pb,punctuation:_b,reflink:jb,reflinkSearch:Qg("reflink|nolink(?!\\()","g").replace("reflink",jb).replace("nolink",Pb).getRegex(),tag:Tb,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Jg},Ib={...Lb,link:Qg(/^!?\[(label)\]\((.*?)\)/).replace("label",Cb).getRegex(),reflink:Qg(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Cb).getRegex()},Nb={...Lb,escape:Qg(gb).replace("])","~|])").getRegex(),url:Qg(/^((?: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.!#$%&'*+\/=?_`{\|}~-]+@)))/},Db={...Nb,br:Qg(bb).replace("{2,}","*").getRegex(),text:Qg(Nb.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Fb={normal:mb,gfm:vb,pedantic:xb},Mb={normal:Lb,gfm:Nb,breaks:Db,pedantic:Ib};class $b{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Mg,this.options.tokenizer=this.options.tokenizer||new nb,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:Fb.normal,inline:Mb.normal};this.options.pedantic?(t.block=Fb.pedantic,t.inline=Mb.pedantic):this.options.gfm&&(t.block=Fb.gfm,this.options.breaks?t.inline=Mb.breaks:t.inline=Mb.gfm),this.tokenizer.rules=t}static get rules(){return{block:Fb,inline:Mb}}static lex(e,t){return new $b(t).lex(e)}static lexInline(e,t){return new $b(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 Ub{options;constructor(e){this.options=e||Mg}code(e,t,n){const i=(t||"").match(/^\S*/)?.[0];return e=e.replace(/\n$/,"")+"\n",i?'<pre><code class="language-'+Gg(i)+'">'+(n?e:Gg(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:Gg(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=Zg(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=Zg(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 zb{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 Bb{options;renderer;textRenderer;constructor(e){this.options=e||Mg,this.options.renderer=this.options.renderer||new Ub,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new zb}static parse(e,t){return new Bb(t).parse(e)}static parseInline(e,t){return new Bb(t).parseInline(e)}parse(e,t=!0){let n="";for(let i=0;i<e.length;i++){const o=e[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[o.type]){const e=o,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}switch(o.type){case"space":continue;case"hr":n+=this.renderer.hr();continue;case"heading":{const e=o;n+=this.renderer.heading(this.parseInline(e.tokens),e.depth,Kg(this.parseInline(e.tokens,this.textRenderer)));continue}case"code":{const e=o;n+=this.renderer.code(e.text,e.lang,!!e.escaped);continue}case"table":{const e=o;let t="",i="";for(let t=0;t<e.header.length;t++)i+=this.renderer.tablecell(this.parseInline(e.header[t].tokens),{header:!0,align:e.align[t]});t+=this.renderer.tablerow(i);let 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 Hb{options;constructor(e){this.options=e||Mg}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}const qb=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($b.lex,Bb.parse);parseInline=this.#e($b.lexInline,Bb.parseInline);Parser=Bb;Renderer=Ub;TextRenderer=zb;Lexer=$b;Tokenizer=nb;Hooks=Hb;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 Ub(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 nb(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 Hb;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];Hb.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 $b.lex(e,t??this.defaults)}parser(e,t){return Bb.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>"+Gg(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function Wb(e,t){return qb.parse(e,t)}Wb.options=Wb.setOptions=function(e){return qb.setOptions(e),Wb.defaults=qb.defaults,$g(Wb.defaults),Wb},Wb.getDefaults=Fg,Wb.defaults=Mg,Wb.use=function(...e){return qb.use(...e),Wb.defaults=qb.defaults,$g(Wb.defaults),Wb},Wb.walkTokens=function(e,t){return qb.walkTokens(e,t)},Wb.parseInline=qb.parseInline,Wb.Parser=Bb,Wb.parser=Bb.parse,Wb.Renderer=Ub,Wb.TextRenderer=zb,Wb.Lexer=$b,Wb.lexer=$b.lex,Wb.Tokenizer=nb,Wb.Hooks=Hb,Wb.parse=Wb,Wb.options,Wb.setOptions,Wb.use,Wb.walkTokens,Wb.parseInline,Bb.parse,$b.lex;const Gb=(e,t)=>`[\`${e}\`](${t.replace(/\s/g,"%20")})`,Vb=(e,t)=>`[${e}](${t.replace(/\s/g,"%20")})`,Kb=(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=Kb(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?" "+Vb(o.path,o.raw)+"\n":" "+Vb(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=Gb(e[1],e[2]);else if(/^http(s?):\/\//.test(n.text))o=!0,n.raw=Gb(n.text,n.text);else if(n.raw.includes(".")){const e=t.find((e=>e.path===n.text));e&&(o=!0,n.raw=Gb(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}},Yb=(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=Kb(e,t);a=a||n.replaced}else if("list"===i.type){const e=Yb(i,t,n+1);a=a||e.replaced}else if("codespan"===i.type){const n=Kb(e,t);a=a||n.replaced}return i.raw})).join("");if(i){const s=i[1],r=Kb(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}},Qb=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=Wb.lexer(e);await Wb.walkTokens(a,(e=>{"paragraph"===e.type?Kb(e,o):"list"===e.type&&Yb(e,o)}));const s=a.map((e=>e.raw)).join("");return s};async function Zb(e){const t=await Il.get("/api/key/type/"+e);return t.data?.data}const Jb=e=>e.replace(/^\\t/g,"\t").replace(/\\"/g,'"').replace(/\\"/g,'"').replace(/\\\\n/g,"\\n"),Xb=e=>e.split(/\r?\n/),ey=(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},ty=e=>e?e.startsWith("-"):void 0,ny=e=>e?e.startsWith("+"):void 0,iy=e=>e.replace(/^-/,"").replace(/^\+/,""),oy=e=>e.map((e=>e.trimStart()));function ay(e,t,n){const i=Xb(e),o=(a=t.replace(/\n$/,""))?Xb(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 ty(e)||ny(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(ty(t)){if(ty(o[e+1]))continue;const a=[Jb(iy(t))];let r=e;for(;ty(o[r-1]);){const e=Jb(iy(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=ey(oy(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(ny(t)){if(ny(o[e+1]))continue;const n=[Jb(iy(t))];let a=e;for(;ny(o[a-1]);){const e=Jb(iy(o[a-1]));n.unshift(e),a-=1}i.splice(s,0,...n),s+=n.length}else{const e=Jb(t),o=i.slice(s,i.length),a=ey(oy(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 sy=(e,t)=>t.reduce(((t,n,i)=>(e.trimStart()===n.trimStart()&&t.push(i),t)),[]),ry=(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=sy(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},cy=e=>"string"==typeof e&&(e.startsWith("-")||e.startsWith(" ")||""===e),ly=(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(cy(a)&&o){let n=1,s=a.replace(/^(-|\s)/,"");for(o.lines.push(a);"string"==typeof i[e+n]&&!i[e+n].startsWith("@@");)cy(i[e+n])&&(s+=`\n${i[e+n].replace(/^(-|\s)/,"")}`),o.lines.push(i[e+n]),n+=1;const r=ry(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 py={exports:{}};
36
+ /*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */const lm="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:it):e=>(rm||(rm=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)));var pm={};Object.defineProperty(pm,"__esModule",{value:!0}),pm.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const um=process.versions.node.split(".");if(void 0===um[0]||void 0===um[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const dm=Number.parseInt(um[0],10),fm=Number.parseInt(um[1],10),mm=dm>10,hm=10===dm&&fm>=10;pm.IS_SUPPORT_READDIR_WITH_FILE_TYPES=mm||hm;var vm={},xm={};Object.defineProperty(xm,"__esModule",{value:!0}),xm.createDirentFromStats=void 0;class gm{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)}}xm.createDirentFromStats=function(e,t){return new gm(e,t)},Object.defineProperty(vm,"__esModule",{value:!0}),vm.fs=void 0;const bm=xm;vm.fs=bm;var ym={};Object.defineProperty(ym,"__esModule",{value:!0}),ym.joinPathSegments=void 0,ym.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t},Object.defineProperty(Kf,"__esModule",{value:!0}),Kf.readdir=Kf.readdirWithFileTypes=Kf.read=void 0;const _m=Yf,wm=cm,Em=pm,km=vm,Sm=ym;function Rm(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:Sm.joinPathSegments(e,n.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return void Cm(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=km.fs.createDirentFromStats(e.name,o),n(null,e)})):n(null,e)}}(e,t)));wm(s,((e,t)=>{null===e?Cm(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=Sm.joinPathSegments(e,n,t.pathSegmentSeparator);return e=>{_m.stat(i,t.fsStatSettings,((o,a)=>{if(null!==o)return void e(o);const s={name:n,path:i,dirent:km.fs.createDirentFromStats(n,a)};t.stats&&(s.stats=a),e(null,s)}))}}));wm(a,((e,t)=>{null===e?Cm(n,t):Tm(n,e)}))}))}function Tm(e,t){e(t)}function Cm(e,t){e(null,t)}Kf.read=function(e,t,n){t.stats||!Em.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Am(e,t,n):Rm(e,t,n)},Kf.readdirWithFileTypes=Rm,Kf.readdir=Am;var Om={};Object.defineProperty(Om,"__esModule",{value:!0}),Om.readdir=Om.readdirWithFileTypes=Om.read=void 0;const jm=Yf,Pm=pm,Lm=vm,Im=ym;function Nm(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((n=>{const i={dirent:n,name:n.name,path:Im.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(i.path);i.dirent=Lm.fs.createDirentFromStats(i.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return i}))}function Dm(e,t){return t.fs.readdirSync(e).map((n=>{const i=Im.joinPathSegments(e,n,t.pathSegmentSeparator),o=jm.statSync(i,t.fsStatSettings),a={name:n,path:i,dirent:Lm.fs.createDirentFromStats(n,o)};return t.stats&&(a.stats=o),a}))}Om.read=function(e,t){return!t.stats&&Pm.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Nm(e,t):Dm(e,t)},Om.readdirWithFileTypes=Nm,Om.readdir=Dm;var Fm={},Mm={};!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)}}(Mm),Object.defineProperty(Fm,"__esModule",{value:!0});const $m=m,Um=Yf,zm=Mm;Fm.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=zm.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,$m.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new Um.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},Object.defineProperty(Vf,"__esModule",{value:!0}),Vf.Settings=Vf.scandirSync=Vf.scandir=void 0;const Bm=Kf,Hm=Om,qm=Fm;function Wm(e={}){return e instanceof qm.default?e:new qm.default(e)}Vf.Settings=qm.default,Vf.scandir=function(e,t,n){"function"!=typeof t?Bm.read(e,Wm(t),n):Bm.read(e,Wm(),t)},Vf.scandirSync=function(e,t){const n=Wm(t);return Hm.read(e,n)};var Gm={exports:{}};var Vm=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 Km(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=Vm(Qm),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||Ym,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:Ym,saturated:Ym,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||Ym,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:Ym,kill:function(){o=null,a=null,c.drain=Ym},killAndDrain:function(){o=null,a=null,c.drain(),c.drain=Ym},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 Ym(){}function Qm(){this.value=null,this.callback=Ym,this.next=null,this.release=Ym,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=Ym,e.errorHandler&&o(t,a),i.call(e.context,t,n),e.release(e)}}Gm.exports=Km,Gm.exports.promise=function(e,t,n){"function"==typeof e&&(n=t,t=e,e=null);var i=Km(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(Ym),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(Ym),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 Zm=Gm.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 Xm={};Object.defineProperty(Xm,"__esModule",{value:!0});const eh=Jm;Xm.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=eh.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}},Object.defineProperty(Gf,"__esModule",{value:!0});const th=k,nh=Vf,ih=Zm,oh=Jm,ah=Xm;class sh extends ah.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=nh.scandir,this._emitter=new th.EventEmitter,this._queue=ih(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&&oh.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=oh.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),oh.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&oh.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}Gf.default=sh,Object.defineProperty(Wf,"__esModule",{value:!0});const rh=Gf;Wf.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new rh.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 ch={};Object.defineProperty(ch,"__esModule",{value:!0});const lh=p,ph=Gf;ch.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new ph.default(this._root,this._settings),this._stream=new lh.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 uh={},dh={};Object.defineProperty(dh,"__esModule",{value:!0});const fh=Vf,mh=Jm,hh=Xm;class vh extends hh.default{constructor(){super(...arguments),this._scandir=fh.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(mh.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=mh.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),mh.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&mh.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}dh.default=vh,Object.defineProperty(uh,"__esModule",{value:!0});const xh=dh;uh.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new xh.default(this._root,this._settings)}read(){return this._reader.read()}};var gh={};Object.defineProperty(gh,"__esModule",{value:!0});const bh=m,yh=Vf;gh.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,bh.sep),this.fsScandirSettings=new yh.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(qf,"__esModule",{value:!0}),qf.Settings=qf.walkStream=qf.walkSync=qf.walk=void 0;const _h=Wf,wh=ch,Eh=uh,kh=gh;function Sh(e={}){return e instanceof kh.default?e:new kh.default(e)}qf.Settings=kh.default,qf.walk=function(e,t,n){"function"!=typeof t?new _h.default(e,Sh(t)).read(n):new _h.default(e,Sh()).read(t)},qf.walkSync=function(e,t){const n=Sh(t);return new Eh.default(e,n).read()},qf.walkStream=function(e,t){const n=Sh(t);return new wh.default(e,n).read()};var Rh={};Object.defineProperty(Rh,"__esModule",{value:!0});const Ah=m,Th=Yf,Ch=hu;Rh.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:Ch.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!Ch.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};var Oh={};Object.defineProperty(Oh,"__esModule",{value:!0});const jh=p,Ph=Yf,Lh=qf,Ih=Rh;class Nh extends Ih.default{constructor(){super(...arguments),this._walkStream=Lh.walkStream,this._stat=Ph.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),i=new jh.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)))}))}}Oh.default=Nh,Object.defineProperty(Hf,"__esModule",{value:!0});const Dh=qf,Fh=Rh,Mh=Oh;class $h extends Fh.default{constructor(){super(...arguments),this._walkAsync=Dh.walk,this._readerStream=new Mh.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)))}))}}Hf.default=$h;var Uh={},zh={},Bh={},Hh={};Object.defineProperty(Hh,"__esModule",{value:!0});const qh=hu;Hh.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 qh.pattern.getPatternParts(e,this._micromatchOptions).map((e=>qh.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:qh.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return qh.array.splitWhen(e,(e=>e.dynamic&&qh.pattern.hasGlobStar(e.pattern)))}},Object.defineProperty(Bh,"__esModule",{value:!0});const Wh=Hh;class Gh extends Wh.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}}Bh.default=Gh,Object.defineProperty(zh,"__esModule",{value:!0});const Vh=hu,Kh=Bh;zh.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 Kh.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(Vh.pattern.isAffectDepthOfReadingPattern);return Vh.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=Vh.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!Vh.pattern.matchAny(e,t)}};var Yh={};Object.defineProperty(Yh,"__esModule",{value:!0});const Qh=hu;Yh.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=Qh.pattern.convertPatternsToRe(e,this._micromatchOptions),i=Qh.pattern.convertPatternsToRe(t,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return e=>this._filter(e,n,i)}_filter(e,t,n){const i=Qh.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=Qh.path.makeAbsolute(this._settings.cwd,e);return Qh.pattern.matchAny(n,t)}_isMatchToPatterns(e,t,n){const i=Qh.pattern.matchAny(e,t);return!i&&n?Qh.pattern.matchAny(e+"/",t):i}};var Zh={};Object.defineProperty(Zh,"__esModule",{value:!0});const Jh=hu;Zh.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return Jh.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};var Xh={};Object.defineProperty(Xh,"__esModule",{value:!0});const ev=hu;Xh.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=ev.path.makeAbsolute(this._settings.cwd,t),t=ev.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}},Object.defineProperty(Uh,"__esModule",{value:!0});const tv=m,nv=zh,iv=Yh,ov=Zh,av=Xh;Uh.default=class{constructor(e){this._settings=e,this.errorFilter=new ov.default(this._settings),this.entryFilter=new iv.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new nv.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new av.default(this._settings)}_getRootDirectory(e){return tv.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(Bf,"__esModule",{value:!0});const sv=Hf,rv=Uh;class cv extends rv.default{constructor(){super(...arguments),this._reader=new sv.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)}}Bf.default=cv;var lv={};Object.defineProperty(lv,"__esModule",{value:!0});const pv=p,uv=Oh,dv=Uh;class fv extends dv.default{constructor(){super(...arguments),this._reader=new uv.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),i=this.api(t,e,n),o=new pv.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)}}lv.default=fv;var mv={},hv={};Object.defineProperty(hv,"__esModule",{value:!0});const vv=Yf,xv=qf,gv=Rh;class bv extends gv.default{constructor(){super(...arguments),this._walkSync=xv.walkSync,this._statSync=vv.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)}}hv.default=bv,Object.defineProperty(mv,"__esModule",{value:!0});const yv=hv,_v=Uh;class wv extends _v.default{constructor(){super(...arguments),this._reader=new yv.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)}}mv.default=wv;var Ev={};!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)}}}(Ev);const kv=mu,Sv=Bf,Rv=lv,Av=mv,Tv=Ev,Cv=hu;async function Ov(e,t){Pv(e);const n=jv(e,Sv.default,t),i=await Promise.all(n);return Cv.array.flatten(i)}function jv(e,t,n){const i=[].concat(e),o=new Tv.default(n),a=kv.generate(i,o),s=new t(o);return a.map(s.read,s)}function Pv(e){if(![].concat(e).every((e=>Cv.string.isString(e)&&!Cv.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){function t(e,t){Pv(e);const n=jv(e,Av.default,t);return Cv.array.flatten(n)}function n(e,t){Pv(e);const n=jv(e,Rv.default,t);return Cv.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){Pv(e);const n=[].concat(e),i=new Tv.default(t);return kv.generate(n,i)},e.isDynamicPattern=function(e,t){Pv(e);const n=new Tv.default(t);return Cv.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return Pv(e),Cv.path.escape(e)},e.convertPathToPattern=function(e){return Pv(e),Cv.path.convertPathToPattern(e)},(i=e.posix||(e.posix={})).escapePath=function(e){return Pv(e),Cv.path.escapePosixPath(e)},i.convertPathToPattern=function(e){return Pv(e),Cv.path.convertPosixPathToPattern(e)},(o=e.win32||(e.win32={})).escapePath=function(e){return Pv(e),Cv.path.escapeWindowsPath(e)},o.convertPathToPattern=function(e){return Pv(e),Cv.path.convertWindowsPathToPattern(e)}}(Ov||(Ov={}));var Lv=ot(Ov),Iv={exports:{}},Nv={};const{promisify:Dv}=d,Fv=c;async function Mv(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await Dv(Fv[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function $v(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return Fv[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}Nv.isFile=Mv.bind(null,"stat","isFile"),Nv.isDirectory=Mv.bind(null,"stat","isDirectory"),Nv.isSymlink=Mv.bind(null,"lstat","isSymbolicLink"),Nv.isFileSync=$v.bind(null,"statSync","isFile"),Nv.isDirectorySync=$v.bind(null,"statSync","isDirectory"),Nv.isSymlinkSync=$v.bind(null,"lstatSync","isSymbolicLink");const Uv=m,zv=Nv,Bv=e=>e.length>1?`{${e.join(",")}}`:e[0],Hv=(e,t)=>{const n="!"===e[0]?e.slice(1):e;return Uv.isAbsolute(n)?n:Uv.join(t,n)},qv=(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=>Uv.posix.join(e,((e,t)=>Uv.extname(e)?`**/${e}`:`**/${e}.${Bv(t)}`)(n,t.extensions)))):t.files?t.files.map((t=>Uv.posix.join(e,`**/${t}`))):t.extensions?[Uv.posix.join(e,`**/*.${Bv(t.extensions)}`)]:[Uv.posix.join(e,"**")]};Iv.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 zv.isDirectory(Hv(e,t.cwd))?qv(e,t):e)));return[].concat.apply([],n)},Iv.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=>zv.isDirectorySync(Hv(e,t.cwd))?qv(e,t):e));return[].concat.apply([],n)};var Wv=ot(Iv.exports);function Gv(e){return Array.isArray(e)?e:[e]}const Vv=/^\s+$/,Kv=/(?:[^\\]|^)\\$/,Yv=/^\\!/,Qv=/^\\#/,Zv=/\r?\n/g,Jv=/^\.*\/|^\.+$/;let Xv="node-ignore";"undefined"!=typeof Symbol&&(Xv=Symbol.for("node-ignore"));const ex=Xv,tx=/([0-z])-([0-z])/g,nx=()=>!1,ix=[[/^\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(tx,((e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:"")))(n)}${i}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],ox=Object.create(null),ax=e=>"string"==typeof e;class sx{constructor(e,t,n,i){this.origin=e,this.pattern=t,this.negative=n,this.regex=i}}const rx=(e,t)=>{const n=e;let i=!1;0===e.indexOf("!")&&(i=!0,e=e.substr(1));const o=((e,t)=>{let n=ox[e];return n||(n=ix.reduce(((t,[n,i])=>t.replace(n,i.bind(e))),e),ox[e]=n),t?new RegExp(n,"i"):new RegExp(n)})(e=e.replace(Yv,"!").replace(Qv,"#"),t);return new sx(n,e,i,o)},cx=(e,t)=>{throw new t(e)},lx=(e,t,n)=>{if(!ax(e))return n(`path must be a string, but got \`${t}\``,TypeError);if(!e)return n("path must not be empty",TypeError);if(lx.isNotRelative(e)){return n(`path should be a ${"`path.relative()`d"} string, but got "${t}"`,RangeError)}return!0},px=e=>Jv.test(e);lx.isNotRelative=px,lx.convert=e=>e;class ux{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){var i,o,a;i=this,o=ex,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[ex])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&ax(e)&&!Vv.test(e)&&!Kv.test(e)&&0!==e.indexOf("#"))(e)){const t=rx(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,Gv(ax(e)?(e=>e.split(Zv))(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&&lx.convert(e);return lx(o,e,this._allowRelativePaths?nx:cx),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 Gv(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const dx=e=>new ux(e);dx.isPathValid=e=>lx(e&&lx.convert(e),e,nx),dx.default=dx;var fx=dx;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,"/");lx.convert=e;const t=/^[a-z]:\//i;lx.isNotRelative=e=>t.test(e)||px(e)}var mx=ot(fx);function hx(e){const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}const vx=e=>e instanceof URL?C(e):e;class xx extends O{constructor(e){super({objectMode:!0,transform(t,n,i){i(void 0,e(t)?t:void 0)}})}}const gx=e=>"!"===e[0],bx={ignore:["**/node_modules","**/flow-typed","**/coverage","**/.git"],absolute:!0,dot:!0},yx=(t,n)=>{const i=hx(e.relative(n,e.dirname(t.filePath)));return t.content.split(/\r?\n/).filter((e=>e&&!e.startsWith("#"))).map((t=>((t,n)=>gx(t)?"!"+e.posix.join(n,t.slice(1)):e.posix.join(n,t))(t,i)))},_x=(t,n)=>{const i=t.flatMap((e=>yx(e,n))),o=mx().add(i);return t=>(t=((t,n)=>{if(n=hx(n),e.isAbsolute(t)){if(hx(t).startsWith(n))return e.relative(n,t);throw new Error(`Path ${t} is not in cwd ${n}`)}return t})(t=vx(t),n),!!t&&o.ignores(hx(t)))},wx=(e,t)=>{const{cwd:i,suppressErrors:o,deep:a}=((e={})=>({cwd:vx(e.cwd)||T.cwd(),suppressErrors:Boolean(e.suppressErrors),deep:"number"==typeof e.deep?e.deep:Number.POSITIVE_INFINITY}))(t),s=Lv.sync(e,{cwd:i,suppressErrors:o,deep:a,...bx}).map((e=>({filePath:e,content:n.readFileSync(e,"utf8")})));return _x(s,i)},Ex=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),kx=(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:vx(e.cwd)}),e),Sx=e=>{const t=(e=>{const{ignoreFiles:t,gitignore:n}=e,i=t?Ex(t):[];return n&&i.push("**/.gitignore"),i})(e);return Rx(t.length>0&&wx(t,e))},Rx=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=>gx(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=Wv.sync(t,a),n.ignore=Wv.sync(n.ignore,s),{patterns:t,options:n}}))},Tx=(Cx=(e,t)=>{const n=Ax(e,t),i=Sx(t);return((e,t)=>fu(e).pipe(new xx((e=>t(e)))))(n.map((e=>Lv.stream(e.patterns,e.options))),i)},(e,t)=>Cx(Ex(e),kx(t)));var Cx;const Ox=[{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 jx{static default=new jx;entries=[];static{for(const e of Ox)jx.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?cu(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 Px=10,Lx=10,Ix=5,Nx=2,Dx=20,Fx=30;function Mx(e){return e.split("/").reduce(((e,t)=>t.includes("**")?e+Nx:t.includes("*")?e+Ix:e+Lx),0)}class $x{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,Mx(e));for(const e of this.selector.workspaceFile??[])this.globWeights.set(e,Mx(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)?Px:0}async matchActiveFilePath(e,t){if(!this.selector.activeFilePath?.length)return null;const n={cwd:e,matchBase:!0,returnIndex:!0},i=cu(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*Dx}async matchSelectedContent(e){if(!this.selector.selectedContent?.length)return null;return this.selector.selectedContent.filter((t=>e.selectedCode.includes(t))).length*Dx}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 Fx;return 0}}function Ux(e,t){return e.pluginName===t.pluginName&&e.capabilityName===t.capabilityName}const zx=["Fallback","Prompt","Skill"];function Bx(e){return zx.includes(e)}const Hx=["Prompt","Skill"];function qx(e){return Hx.includes(e)}function Wx(e){return["Prompt","Skill"].includes(e)}function Gx(){const e="win32"===v.platform();if(process.env.PLATFORM===ul.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 Vx="COMATE_PLUS_CHAT_QUERY",Kx="COMATE_PLUS_CHAT_CANCEL",Yx="COMATE_PLUS_CUSTOM_COMMAND",Qx="COMATE_PLUS_AGENT_COMMAND",Zx="COMATE_PLUS_WEBVIEW_INIT_DATA",Jx="COMATE_PLUS_DRAW_CHAT_UPDATE",Xx="COMATE_PLUS_DRAW_CHAT_APPEND",eg="COMATE_PLUS_DRAW_CHAT_FINISH",tg="COMATE_PLUS_DRAW_CHAT_FAIL",ng="REQUEST_PERMISSION",ig="COMATE_PLUS_QUERY_SELECTOR",og="USER_DETAIL",ag="COMATE_PLUS_INITIALIZED",sg="ENGINE_PROCESS_START_SUCCESS",rg="USER_DETAIL_ERROR",cg="COMATE_PLUS_AGENT_NOTIFICATION",lg="COMATE_LSP_WORKSPACE_FOLDERS",pg="COMATE_LSP_REMOTE_CONSOLE",ug="COMATE_PLUS_SECTION_CHAT_UPDATE",dg="COMATE_PLUS_RECREATE_INDEX",fg="COMATE_PLUS_CODE_SEARCH",mg="COMATE_PLUS_ACCEPT_DIR",hg="ACTION_COMATE_SMART_APPLY",vg="ACTION_COMATE_SMART_APPLY_CANCEL",xg="kernel/chatSession/list",gg="kernel/chatSession/save",bg="kernel/chatSession/delete",yg="kernel/chatSession/find",_g="COMATE_GET_AGENT_TASKS",wg="COMATE_ADD_AGENT_TASK",Eg="COMATE_SET_FOREGROUND_TASK",kg="COMATE_UPDATE_AGENT_TASK_MESSAGES",Sg="ACTION_MOCK_VIRTUAL_EDITOR_EVENT",Rg="ACTION_COMPOSER",Ag="COMATE_AGENT_DEBUG_CUSTOM_ACTION",Tg="COMATE_ADD_CACHE",Cg="COMATE_GET_CACHE",Og="kernel/promptTemplate/list",jg="kernel/promptTemplate/create",Pg="kernel/promptTemplate/update",Lg="kernel/promptTemplate/delete",Ig="ENGINE_SERVICE_INITIALIZED",Ng="RULE_PANEL_ACTION_EVENT",Dg="UPDATE_RULE_PANEL_EVENT";function Fg(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Mg={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function $g(e){Mg=e}const Ug=/[&<>"']/,zg=new RegExp(Ug.source,"g"),Bg=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Hg=new RegExp(Bg.source,"g"),qg={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Wg=e=>qg[e];function Gg(e,t){if(t){if(Ug.test(e))return e.replace(zg,Wg)}else if(Bg.test(e))return e.replace(Hg,Wg);return e}const Vg=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Kg(e){return e.replace(Vg,((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 Yg=/(^|[^\[])\^/g;function Qg(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(Yg,"$1"),n=n.replace(e,o),i},getRegex:()=>new RegExp(n,t)};return i}function Zg(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}const Jg={exec:()=>null};function Xg(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 eb(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 tb(e,t,n,i){const o=t.href,a=t.title?Gg(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:Gg(s)}}class nb{options;rules;lexer;constructor(e){this.options=e||Mg}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:eb(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=eb(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=eb(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=Xg(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(Xg(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:Gg(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=eb(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)),tb(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 tb(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=Gg(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=Gg(t[1]),n="mailto:"+e):(e=Gg(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=Gg(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=Gg(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]:Gg(t[0]),{type:"text",raw:t[0],text:e}}}}const ib=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ob=/(?:[*+-]|\d{1,9}[.)])/,ab=Qg(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,ob).getRegex(),sb=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,rb=/(?!\s*\])(?:\\.|[^\[\]\\])+/,cb=Qg(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",rb).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),lb=Qg(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ob).getRegex(),pb="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",ub=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,db=Qg("^ {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",ub).replace("tag",pb).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),fb=Qg(sb).replace("hr",ib).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",pb).getRegex(),mb={blockquote:Qg(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",fb).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:cb,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:ib,html:db,lheading:ab,list:lb,newline:/^(?: *(?:\n|$))+/,paragraph:fb,table:Jg,text:/^[^\n]+/},hb=Qg("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",ib).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",pb).getRegex(),vb={...mb,table:hb,paragraph:Qg(sb).replace("hr",ib).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",hb).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",pb).getRegex()},xb={...mb,html:Qg("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",ub).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:Jg,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Qg(sb).replace("hr",ib).replace("heading"," *#{1,6} *[^\n]").replace("lheading",ab).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},gb=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,bb=/^( {2,}|\\)\n(?!\s*$)/,yb="\\p{P}$+<=>`^|~",_b=Qg(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,yb).getRegex(),wb=Qg(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,yb).getRegex(),Eb=Qg("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,yb).getRegex(),kb=Qg("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,yb).getRegex(),Sb=Qg(/\\([punct])/,"gu").replace(/punct/g,yb).getRegex(),Rb=Qg(/^<(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(),Ab=Qg(ub).replace("(?:--\x3e|$)","--\x3e").getRegex(),Tb=Qg("^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",Ab).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Cb=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ob=Qg(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Cb).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),jb=Qg(/^!?\[(label)\]\[(ref)\]/).replace("label",Cb).replace("ref",rb).getRegex(),Pb=Qg(/^!?\[(ref)\](?:\[\])?/).replace("ref",rb).getRegex(),Lb={_backpedal:Jg,anyPunctuation:Sb,autolink:Rb,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:bb,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Jg,emStrongLDelim:wb,emStrongRDelimAst:Eb,emStrongRDelimUnd:kb,escape:gb,link:Ob,nolink:Pb,punctuation:_b,reflink:jb,reflinkSearch:Qg("reflink|nolink(?!\\()","g").replace("reflink",jb).replace("nolink",Pb).getRegex(),tag:Tb,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Jg},Ib={...Lb,link:Qg(/^!?\[(label)\]\((.*?)\)/).replace("label",Cb).getRegex(),reflink:Qg(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Cb).getRegex()},Nb={...Lb,escape:Qg(gb).replace("])","~|])").getRegex(),url:Qg(/^((?: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.!#$%&'*+\/=?_`{\|}~-]+@)))/},Db={...Nb,br:Qg(bb).replace("{2,}","*").getRegex(),text:Qg(Nb.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Fb={normal:mb,gfm:vb,pedantic:xb},Mb={normal:Lb,gfm:Nb,breaks:Db,pedantic:Ib};class $b{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Mg,this.options.tokenizer=this.options.tokenizer||new nb,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:Fb.normal,inline:Mb.normal};this.options.pedantic?(t.block=Fb.pedantic,t.inline=Mb.pedantic):this.options.gfm&&(t.block=Fb.gfm,this.options.breaks?t.inline=Mb.breaks:t.inline=Mb.gfm),this.tokenizer.rules=t}static get rules(){return{block:Fb,inline:Mb}}static lex(e,t){return new $b(t).lex(e)}static lexInline(e,t){return new $b(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 Ub{options;constructor(e){this.options=e||Mg}code(e,t,n){const i=(t||"").match(/^\S*/)?.[0];return e=e.replace(/\n$/,"")+"\n",i?'<pre><code class="language-'+Gg(i)+'">'+(n?e:Gg(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:Gg(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=Zg(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=Zg(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 zb{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 Bb{options;renderer;textRenderer;constructor(e){this.options=e||Mg,this.options.renderer=this.options.renderer||new Ub,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new zb}static parse(e,t){return new Bb(t).parse(e)}static parseInline(e,t){return new Bb(t).parseInline(e)}parse(e,t=!0){let n="";for(let i=0;i<e.length;i++){const o=e[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[o.type]){const e=o,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}switch(o.type){case"space":continue;case"hr":n+=this.renderer.hr();continue;case"heading":{const e=o;n+=this.renderer.heading(this.parseInline(e.tokens),e.depth,Kg(this.parseInline(e.tokens,this.textRenderer)));continue}case"code":{const e=o;n+=this.renderer.code(e.text,e.lang,!!e.escaped);continue}case"table":{const e=o;let t="",i="";for(let t=0;t<e.header.length;t++)i+=this.renderer.tablecell(this.parseInline(e.header[t].tokens),{header:!0,align:e.align[t]});t+=this.renderer.tablerow(i);let 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 Hb{options;constructor(e){this.options=e||Mg}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}const qb=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($b.lex,Bb.parse);parseInline=this.#e($b.lexInline,Bb.parseInline);Parser=Bb;Renderer=Ub;TextRenderer=zb;Lexer=$b;Tokenizer=nb;Hooks=Hb;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 Ub(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 nb(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 Hb;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];Hb.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 $b.lex(e,t??this.defaults)}parser(e,t){return Bb.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>"+Gg(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function Wb(e,t){return qb.parse(e,t)}Wb.options=Wb.setOptions=function(e){return qb.setOptions(e),Wb.defaults=qb.defaults,$g(Wb.defaults),Wb},Wb.getDefaults=Fg,Wb.defaults=Mg,Wb.use=function(...e){return qb.use(...e),Wb.defaults=qb.defaults,$g(Wb.defaults),Wb},Wb.walkTokens=function(e,t){return qb.walkTokens(e,t)},Wb.parseInline=qb.parseInline,Wb.Parser=Bb,Wb.parser=Bb.parse,Wb.Renderer=Ub,Wb.TextRenderer=zb,Wb.Lexer=$b,Wb.lexer=$b.lex,Wb.Tokenizer=nb,Wb.Hooks=Hb,Wb.parse=Wb,Wb.options,Wb.setOptions,Wb.use,Wb.walkTokens,Wb.parseInline,Bb.parse,$b.lex;const Gb=(e,t)=>`[\`${e}\`](${t.replace(/\s/g,"%20")})`,Vb=(e,t)=>`[${e}](${t.replace(/\s/g,"%20")})`,Kb=(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=Kb(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?" "+Vb(o.path,o.raw)+"\n":" "+Vb(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=Gb(e[1],e[2]);else if(/^http(s?):\/\//.test(n.text))o=!0,n.raw=Gb(n.text,n.text);else if(n.raw.includes(".")){const e=t.find((e=>e.path===n.text));e&&(o=!0,n.raw=Gb(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}},Yb=(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=Kb(e,t);a=a||n.replaced}else if("list"===i.type){const e=Yb(i,t,n+1);a=a||e.replaced}else if("codespan"===i.type){const n=Kb(e,t);a=a||n.replaced}return i.raw})).join("");if(i){const s=i[1],r=Kb(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}},Qb=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=Wb.lexer(e);await Wb.walkTokens(a,(e=>{"paragraph"===e.type?Kb(e,o):"list"===e.type&&Yb(e,o)}));const s=a.map((e=>e.raw)).join("");return s},Zb=e=>"string"!=typeof e?"":e.replace(/^(\[[✓-]\]\s?)?((\d+\.?)+\s?)?/,""),Jb=(e,t)=>{if(!e)return[];const n=Wb.lexer(e.replace(/^\n/,""));if("list"!==n[0].type)return[];function i(e,n=0){return Array.isArray(e?.items)&&n!==t?e.items.reduce(((e,t)=>{const o=t.tokens.find((e=>"text"===e.type)),a=o?.text||"",s=Zb(a),r=t.tokens.find((e=>"list"===e.type)),c={title:s,children:i(r,n+1)},l=!!t.checked||a.startsWith("[✓]");return l&&(c.completed=l),e.push(c),e}),[]):[]}const o=n.filter((e=>"list"===e.type));return o.map((e=>i(e))).flat()};async function Xb(e){const t=await Il.get("/api/key/type/"+e);return t.data?.data}const ey=e=>e.replace(/^\\t/g,"\t").replace(/\\"/g,'"').replace(/\\"/g,'"').replace(/\\\\n/g,"\\n"),ty=e=>e.split(/\r?\n/),ny=(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},iy=e=>e?e.startsWith("-"):void 0,oy=e=>e?e.startsWith("+"):void 0,ay=e=>e.replace(/^-/,"").replace(/^\+/,""),sy=e=>e.map((e=>e.trimStart()));function ry(e,t,n){const i=ty(e),o=(a=t.replace(/\n$/,""))?ty(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 iy(e)||oy(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(iy(t)){if(iy(o[e+1]))continue;const a=[ey(ay(t))];let r=e;for(;iy(o[r-1]);){const e=ey(ay(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=ny(sy(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(oy(t)){if(oy(o[e+1]))continue;const n=[ey(ay(t))];let a=e;for(;oy(o[a-1]);){const e=ey(ay(o[a-1]));n.unshift(e),a-=1}i.splice(s,0,...n),s+=n.length}else{const e=ey(t),o=i.slice(s,i.length),a=ny(sy(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 cy=(e,t)=>t.reduce(((t,n,i)=>(e.trimStart()===n.trimStart()&&t.push(i),t)),[]),ly=(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=cy(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},py=e=>"string"==typeof e&&(e.startsWith("-")||e.startsWith(" ")||""===e),uy=(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(py(a)&&o){let n=1,s=a.replace(/^(-|\s)/,"");for(o.lines.push(a);"string"==typeof i[e+n]&&!i[e+n].startsWith("@@");)py(i[e+n])&&(s+=`\n${i[e+n].replace(/^(-|\s)/,"")}`),o.lines.push(i[e+n]),n+=1;const r=ly(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 dy={exports:{}};
37
37
  /**
38
38
  * @license
39
39
  * Lodash <https://lodash.com/>
@@ -41,4 +41,4 @@ const sd=d,rd=Ku,cd=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),ld=e=>"nu
41
41
  * Released under MIT license <https://lodash.com/license>
42
42
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
43
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]",R="[object Promise]",A="[object RegExp]",T="[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,Z=/<%([\s\S]+?)%>/g,J=/<%=([\s\S]+?)%>/g,X=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ee=/^\w*$/,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(ne.source),oe=/^\s+/,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",Re="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Te="\\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="["+Te+"]",Pe="["+Ee+"]",Le="\\d+",Ie="["+ke+"]",Ne="["+Se+"]",De="[^"+we+Te+Le+ke+Se+Re+"]",Fe="\\ud83c[\\udffb-\\udfff]",Me="[^"+we+"]",$e="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Re+"]",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="["+Ae+"]?",Ye=Ke+Ve+("(?:"+Be+"(?:"+[Me,$e,Ue].join("|")+")"+Ke+Ve+")*"),Qe="(?:"+[Ie,$e,Ue].join("|")+")"+Ye,Ze="(?:"+[Me+Pe+"?",Pe,$e,Ue,Oe].join("|")+")",Je=RegExp(Ce,"g"),Xe=RegExp(Pe,"g"),et=RegExp(Fe+"(?="+Fe+")|"+Ze+Ye,"g"),tt=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"),nt=RegExp("["+Be+we+Ee+Ae+"]"),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[A]=rt[T]=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[A]=ct[T]=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 it&&it&&it.Object===Object&&it,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 Rt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function At(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 Tt(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 Zt(e){return e?e.slice(0,hn(e)+1).replace(oe,""):e}function Jt(e){return function(t){return e(t)}}function Xt(e,t){return It(t,(function(t){return e[t]}))}function en(e,t){return e.has(t)}function tn(e,t){for(var n=-1,i=e.length;++n<i&&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 nt.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=et.lastIndex=0;for(;et.test(e);)++t;return t}(e):$t(e)}function mn(e){return rn(e)?function(e){return e.match(et)||[]}(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,Re=t.Math,Ae=t.Object,Te=t.RegExp,Ce=t.String,Oe=t.TypeError,je=we.prototype,Pe=Se.prototype,Le=Ae.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(Ae),ze=mt._,Be=Te("^"+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(Ae.getPrototypeOf,Ae),Ke=Ae.create,Ye=Le.propertyIsEnumerable,Qe=je.splice,Ze=qe?qe.isConcatSpreadable:n,et=qe?qe.iterator:n,nt=qe?qe.toStringTag:n,it=function(){try{var e=fa(Ae,"defineProperty");return e({},"",{}),e}catch(e){}}(),lt=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,dt=Ee&&Ee.now!==mt.Date.now&&Ee.now,ft=t.setTimeout!==mt.setTimeout&&t.setTimeout,ht=Re.ceil,vt=Re.floor,gt=Ae.getOwnPropertySymbols,bt=He?He.isBuffer:n,$t=t.isFinite,Vt=je.join,gn=ln(Ae.keys,Ae),bn=Re.max,yn=Re.min,_n=Ee.now,wn=t.parseInt,En=Re.random,kn=je.reverse,Sn=fa(t,"DataView"),Rn=fa(t,"Map"),An=fa(t,"Promise"),Tn=fa(t,"Set"),Cn=fa(t,"WeakMap"),On=fa(Ae,"create"),jn=Cn&&new Cn,Pn={},Ln=$a(Sn),In=$a(Rn),Nn=$a(An),Dn=$a(Tn),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 Zn(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 Jn(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:Ar(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 Ro(e);case g:case b:return new i(+e);case L:return function(e,t){var n=t?Ro(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case I:case N:case D:case F:case M:case $:case U:case z:case B:return Ao(e,n);case E:return new i;case k:case C:return new i(e);case A:return function(e){var t=new e.constructor(e.source,fe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case T:return new i;case O:return o=e,$n?Ae($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 Tt(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=Ae(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,Jt(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:Z,interpolate:J,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(Rn||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(!Rn||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 Js(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 Ri(e){return null==e?e===n?"[object Undefined]":"[object Null]":nt&&nt in Ae(e)?function(e){var t=De.call(e,nt),i=e[nt];try{e[nt]=n;var o=!0}catch(e){}var a=$e.call(e);o&&(t?e[nt]=i:delete e[nt]);return a}(e):function(e){return $e.call(e)}(e)}function Ai(e,t){return e>t}function Ti(e,t){return null!=e&&De.call(e,t)}function Ci(e,t){return null!=e&&t in Ae(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,Jt(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(Za(t))];return null==o?n:Rt(o,e,i)}function Pi(e){return nr(e)&&Ri(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 A:case C:return e==t+"";case E:var r=cn;case T: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=Ae(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))&&(Js(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 Ae(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 Ae(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]?Aa(t[0][0],t[0][1]):function(n){return n===e||Ii(n,e,t)}}function Bi(e,t){return wa(e)&&Ra(t)?Aa(Ma(e),t):function(i){var o=Ar(i,e);return o===n&&o===t?Tr(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=Ao(l,!0)):u=[]:ar(l)||qs(l)?(u=c,qs(c)?u=gr(c):tr(c)&&!Js(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,Jt(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=To(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,Jt(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 Zi(e,t){return La(Ta(e,t,oc),e+"")}function Ji(e){return Jn(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:Zo(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(Za(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=Zi;function Eo(e,t,i){var o=e.length;return i=i===n?o:i,!t&&i>=o?e:oo(e,t,i)}var 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 Ro(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function Ao(e,t){var n=t?Ro(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function To(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)?At:oi,a=t?t():{};return o(n,e,pa(i,2),a)}}function Io(e){return Zi((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=Ae(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=Ae(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=Ae(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(Jr(qr(t).replace(Je,"")),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=Ae(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,Jt(pa())),Zi((function(n){var i=this;return e(t,(function(e){return Rt(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=Re[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 Zo=Tn&&1/un(new Tn([,-0]))[1]==u?function(e){return new Tn(e)}:lc;function Jo(e){return function(t){var n=va(t);return n==E?cn(t):n==T?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):Rt(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 Rt(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(Ta(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,Ra(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=Ae(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=Ri;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)||!!(Ze&&e&&e[Ze])}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 Ae(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||Rn&&va(new Rn)!=E||An&&va(An.resolve())!=R||Tn&&va(new Tn)!=T||Cn&&va(new Cn)!=j)&&(va=function(e){var t=Ri(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 R;case Dn:return T;case Fn:return j}return t});var ka=Ie?Js:xc;function Sa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Le)}function Ra(e){return e==e&&!tr(e)}function Aa(e,t){return function(i){return null!=i&&(i[e]===t&&(t!==n||e in Ae(i)))}}function Ta(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),Rt(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 Tt(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=Zi((function(e,t){return Ks(e)?di(e,gi(t,1,Ks,!0)):[]})),Ba=Zi((function(e,t){var i=Za(t);return Ks(i)&&(i=n),Ks(e)?di(e,gi(t,1,Ks,!0),pa(i,2)):[]})),Ha=Zi((function(e,t){var i=Za(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=Zi((function(e){var t=It(e,bo);return t.length&&t[0]===e[0]?Oi(t):[]})),Ya=Zi((function(e){var t=Za(e),i=It(e,bo);return t===Za(i)?t=n:i.pop(),i.length&&i[0]===e[0]?Oi(i,pa(t,2)):[]})),Qa=Zi((function(e){var t=Za(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 Za(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Ja=Zi(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(To)),i}));function ts(e){return null==e?e:kn.call(e)}var ns=Zi((function(e){return uo(gi(e,1,Ks,!0))})),is=Zi((function(e){var t=Za(e);return Ks(t)&&(t=n),uo(gi(e,1,Ks,!0),pa(t,2))})),os=Zi((function(e){var t=Za(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 Rt(t,n,e)}))}var rs=Zi((function(e,t){return Ks(e)?di(e,t):[]})),cs=Zi((function(e){return xo(jt(e,Ks))})),ls=Zi((function(e){var t=Za(e);return Ks(t)&&(t=n),xo(jt(e,Ks),pa(t,2))})),ps=Zi((function(e){var t=Za(e);return t="function"==typeof t?t:n,xo(jt(e,Ks),n,t)})),us=Zi(as);var ds=Zi((function(e){var t=e.length,i=t>1?e[t-1]:n;return i="function"==typeof i?(e.pop(),i):n,ss(e,i)}));function fs(e){var t=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)?Tt: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=Zi((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?Rt(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 Rs=Zi((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),[])})),As=dt||function(){return mt.Date.now()};function Ts(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=Zi((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=Zi((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=As();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=As(),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(As())},b}var Ls=Zi((function(e,t){return ui(e,1,t)})),Is=Zi((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],Jt(pa())):It(gi(t,1),Jt(pa()))).length;return Zi((function(i){for(var o=-1,a=yn(i.length,n);++o<a;)i[o]=t[o].call(this,i[o]);return Rt(e,this,i)}))})),Ms=Zi((function(e,t){var i=pn(t,la(Ms));return Xo(e,r,n,t,i)})),$s=Zi((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(Ai),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?Jt(yt):function(e){return nr(e)&&Ri(e)==P};function Vs(e){return null!=e&&er(e.length)&&!Js(e)}function Ks(e){return nr(e)&&Vs(e)}var Ys=bt||xc,Qs=_t?Jt(_t):function(e){return nr(e)&&Ri(e)==b};function Zs(e){if(!nr(e))return!1;var t=Ri(e);return t==y||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ar(e)}function Js(e){if(!tr(e))return!1;var t=Ri(e);return t==_||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xs(e){return"number"==typeof e&&e==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?Jt(wt):function(e){return nr(e)&&va(e)==E};function or(e){return"number"==typeof e||nr(e)&&Ri(e)==k}function ar(e){if(!nr(e)||Ri(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?Jt(Et):function(e){return nr(e)&&Ri(e)==A};var rr=kt?Jt(kt):function(e){return nr(e)&&va(e)==T};function cr(e){return"string"==typeof e||!Ws(e)&&nr(e)&&Ri(e)==C}function lr(e){return"symbol"==typeof e||nr(e)&&Ri(e)==O}var pr=St?Jt(St):function(e){return nr(e)&&er(e.length)&&!!rt[Ri(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==T?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=Zt(e);var n=he.test(e);return n||xe.test(e)?ut(e.slice(2),n?2:8):me.test(e)?f:+e}function 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=Zi((function(e,t){e=Ae(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})),Rr=Zi((function(e){return e.push(n,ta),Rt(Nr,n,e)}));function Ar(e,t,i){var o=null==e?n:ki(e,t);return o===n?i:o}function Tr(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=Zi(ji);function Pr(e){return Vs(e)?Zn(e):Fi(e)}function Lr(e){return Vs(e)?Zn(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 Tr(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=Jo(Pr),Ur=Jo(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 Zr(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?" ":"")+Zr(t)}));var Qr=Mo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Zr=Fo("toUpperCase");function Jr(e,t,i){return e=br(e),(t=i?n:t)===n?function(e){return ot.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(le)||[]}(e):e.match(t)||[]}var Xr=Zi((function(e,t){try{return Rt(e,n,t)}catch(e){return Zs(e)?e:new ke(e)}})),ec=oa((function(e,t){return Tt(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=Zi((function(e,t){return function(n){return ji(n,e,t)}})),rc=Zi((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=Js(e);return Tt(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=Ts,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]]})):[],Zi((function(n){for(var i=-1;++i<t;){var o=e[i];if(Rt(o[0],this,n))return Rt(o[1],this,n)}}))},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=Rr,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),Zi((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=Ja,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 Zi(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=Rs,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),Zi((function(n){var i=n[t],o=Eo(n,0,t);return i&&Nt(o,i),Rt(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)&&Js(a)?Bn(Ve(e)):{}}return(o?Tt:_i)(e,(function(e,i,o){return t(n,e,i,o)})),n},zn.unary=function(e){return Ts(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=Jr,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=Ar,zn.gt=Bs,zn.gte=Hs,zn.has=function(e,t){return null!=e&&xa(e,t,Ti)},zn.hasIn=Tr,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)&&Ri(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==T)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=Zs,zn.isFinite=function(e){return"number"==typeof e&&$t(e)},zn.isFunction=Js,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]"==Ri(e)},zn.join=function(e,t){return null==e?"":Vt.call(e,t)},zn.kebabCase=Wr,zn.last=Za,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,Ai):n},zn.maxBy=function(e,t){return e&&e.length?vi(e,pa(t,2),Ai):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=As,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=Js(s)?s.call(e):s}return e},zn.round=kc,zn.runInContext=e,zn.sample=function(e){return(Ws(e)?Jn:Ji)(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==T?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=Te((t.escape||ye).source+"|"+u.source+"|"+(u===J?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,Zs(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 Zt(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=Te(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=Zr,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",Tt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),Tt(["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()}})),Tt(["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}})),Tt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Wn.prototype[e]=function(){return this[n](1).value()[0]}})),Tt(["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=Zi((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)})})),Tt(["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(it)}(py,py.exports);var uy=ot(py.exports),dy={};!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}(dy);var fy=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},my=fy,hy=Object.create,vy=function(){function e(){}return function(t){if(!my(t))return{};if(hy)return hy(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var xy=function(){},gy=vy,by=xy;function yy(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}yy.prototype=gy(by.prototype),yy.prototype.constructor=yy;var _y=yy;var wy=function(e,t){for(var n=-1,i=t.length,o=e.length;++n<i;)e[o+n]=t[n];return e},Ey="object"==typeof it&&it&&it.Object===Object&&it,ky="object"==typeof self&&self&&self.Object===Object&&self,Sy=Ey||ky||Function("return this")(),Ry=Sy.Symbol,Ay=Ry,Ty=Object.prototype,Cy=Ty.hasOwnProperty,Oy=Ty.toString,jy=Ay?Ay.toStringTag:void 0;var Py=function(e){var t=Cy.call(e,jy),n=e[jy];try{e[jy]=void 0;var i=!0}catch(e){}var o=Oy.call(e);return i&&(t?e[jy]=n:delete e[jy]),o},Ly=Object.prototype.toString;var Iy=Py,Ny=function(e){return Ly.call(e)},Dy=Ry?Ry.toStringTag:void 0;var Fy=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Dy&&Dy in Object(e)?Iy(e):Ny(e)};var My=function(e){return null!=e&&"object"==typeof e},$y=Fy,Uy=My;var zy=function(e){return Uy(e)&&"[object Arguments]"==$y(e)},By=My,Hy=Object.prototype,qy=Hy.hasOwnProperty,Wy=Hy.propertyIsEnumerable,Gy=zy(function(){return arguments}())?zy:function(e){return By(e)&&qy.call(e,"callee")&&!Wy.call(e,"callee")},Vy=Array.isArray,Ky=Gy,Yy=Vy,Qy=Ry?Ry.isConcatSpreadable:void 0;var Zy=wy,Jy=function(e){return Yy(e)||Ky(e)||!!(Qy&&e&&e[Qy])};var Xy=function e(t,n,i,o,a){var s=-1,r=t.length;for(i||(i=Jy),a||(a=[]);++s<r;){var c=t[s];n>0&&i(c)?n>1?e(c,n-1,i,o,a):Zy(a,c):o||(a[a.length]=c)}return a},e_=Xy;var t_=function(e){return(null==e?0:e.length)?e_(e,1):[]};var n_=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)},i_=Math.max;var o_=function(e,t,n){return t=i_(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,a=i_(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),n_(e,this,r)}};var a_=function(e){return function(){return e}},s_=Fy,r_=fy;var c_,l_=function(e){if(!r_(e))return!1;var t=s_(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},p_=Sy["__core-js_shared__"],u_=(c_=/[^.]+$/.exec(p_&&p_.keys&&p_.keys.IE_PROTO||""))?"Symbol(src)_1."+c_:"";var d_=function(e){return!!u_&&u_ in e},f_=Function.prototype.toString;var m_=l_,h_=d_,v_=fy,x_=function(e){if(null!=e){try{return f_.call(e)}catch(e){}try{return e+""}catch(e){}}return""},g_=/^\[object .+?Constructor\]$/,b_=Function.prototype,y_=Object.prototype,__=b_.toString,w_=y_.hasOwnProperty,E_=RegExp("^"+__.call(w_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var k_=function(e){return!(!v_(e)||h_(e))&&(m_(e)?E_:g_).test(x_(e))},S_=function(e,t){return null==e?void 0:e[t]};var R_=function(e,t){var n=S_(e,t);return k_(n)?n:void 0},A_=R_,T_=function(){try{var e=A_(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var C_=a_,O_=T_,j_=O_?function(e,t){return O_(e,"toString",{configurable:!0,enumerable:!1,value:C_(t),writable:!0})}:function(e){return e},P_=j_,L_=Date.now;var I_=function(e){var t=0,n=0;return function(){var i=L_(),o=16-(i-n);if(n=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(P_),N_=t_,D_=o_,F_=I_;var M_=function(e){return F_(D_(e,void 0,N_),e+"")},$_=R_(Sy,"WeakMap");var U_=$_&&new $_,z_=U_?function(e){return U_.get(e)}:function(){},B_={},H_=Object.prototype.hasOwnProperty;var q_=function(e){for(var t=e.name+"",n=B_[t],i=H_.call(B_,t)?n.length:0;i--;){var o=n[i],a=o.func;if(null==a||a==e)return o.name}return t},W_=vy,G_=xy;function V_(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}V_.prototype=W_(G_.prototype),V_.prototype.constructor=V_;var K_=V_;var Y_=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t},Q_=K_,Z_=_y,J_=Y_;var X_=K_,ew=_y,tw=xy,nw=Vy,iw=My,ow=function(e){if(e instanceof Q_)return e.clone();var t=new Z_(e.__wrapped__,e.__chain__);return t.__actions__=J_(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t},aw=Object.prototype.hasOwnProperty;function sw(e){if(iw(e)&&!nw(e)&&!(e instanceof X_)){if(e instanceof ew)return e;if(aw.call(e,"__wrapped__"))return ow(e)}return new ew(e)}sw.prototype=tw.prototype,sw.prototype.constructor=sw;var rw=K_,cw=z_,lw=q_,pw=sw;var uw=function(e){var t=lw(e),n=pw[t];if("function"!=typeof n||!(t in rw.prototype))return!1;if(e===n)return!0;var i=cw(n);return!!i&&e===i[0]},dw=_y,fw=M_,mw=z_,hw=q_,vw=Vy,xw=uw;var gw=function(e){return fw((function(t){var n=t.length,i=n,o=dw.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"==hw(a))var s=new dw([],!0)}for(i=s?i:n;++i<n;){a=t[i];var r=hw(a),c="wrapper"==r?mw(a):void 0;s=c&&xw(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[hw(c[0])].apply(s,c[3]):1==a.length&&xw(a)?s[r]():s.thru(a)}return function(){var e=arguments,i=e[0];if(s&&1==e.length&&vw(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}}))},bw=ot(gw());const yw=e=>"string"==typeof e?e:"";const _w=e=>e.split(/\r?\n/),ww=e=>e.trim().toLowerCase();function Ew(e,t,n={maxLineGap:4,threshold:.92}){const{maxLineGap:i=4,threshold:o=.92}=n,a=_w(e),s=_w(t),r=s.length,c=((e,t,n)=>{for(let i=0;i<t.length;i++){const o=ww(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=ww(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=uy.uniqBy(n,(([e,t])=>`${e}-${t}`));for(const e of o){const[n,i]=e,o=a.slice(n,i).join("\n"),s=dy.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 kw extends Error{constructor(e){super(`Delimiter error for patch format!${e}. Delimiters should be one of the following:"\n<<< SEARCH <<<\n", "\n==== REPLACED_BY ====\n", "\n>>> END >>>\n"`)}}const Sw=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 Rw 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=Ew(this.content,e,{threshold:0,maxLineGap:0}),n=Sw(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 Aw=e=>e.replace(/^(\r?\n)+/,"");function Tw(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=uy.flow(i),a=e.map(o).join("\n"),s=t.map(o).join("\n"),r=s.indexOf(a);if(-1===r)return n?r:Tw(e,t,{caseSensitive:!0,trim:!0});return s.slice(0,r).split(/\r?\n/).length-1}function Cw(e,t,n,i){return t.toString()?[...e,...t,...n].join(i):[...e,...n].join(i)}const Ow=(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)throw new kw("Invalid delimiter order: SEARCH delimiter after REPLACED_BY");if("search"===n.context)throw new kw("Duplicate SEARCH delimiter without REPLACED_BY and END");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 kw("REPLACED_BY delimiter must follow SEARCH delimiter");n.context="replace"}else if(/^[>=]+\s*END\s*[>=]+$/.test(i)){if("replace"!==n.context)throw new kw("END delimiter must follow REPLACED_BY delimiter");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=Sw(e);if(!i.length&&!n?.stream)return{error:new kw("No patch blocks found in input string"),patchedContent:e,patches:[]};const{streamLineCount:a,patchedContent:s,error:r}=bw(i.map(((t,a)=>s=>{if(s.error)return s;const r=Aw(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,Aw(l.join(o)))}}{if(""===t.search.toString())return{patchedContent:`${t.replace.join(o)}${o}${p}`};const n=p.split(/\r?\n/),u=Tw(c,n);if(-1!==u){const e=u,t=e+c.length;return l.toString()?{patchedContent:Cw(n.slice(0,e),l,n.slice(t),o)}:{patchedContent:Cw(n.slice(0,e),[],n.slice(t),o)}}const d=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=>yw(n[t])===yw(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=>yw(n[t])===yw(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(d){if(dy.stringSimilarity(r,d.block)>.67)return{patchedContent:Cw(n.slice(0,d.start-1),l,n.slice(d.end),o)}}return{error:new Rw(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:[]}}},jw=".comate",Pw="rules",Lw="default.mdr";function Iw(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 Nw;!function(e){e.EDIT="edit",e.PREVIEW="preview"}(Nw||(Nw={}));class Dw{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)}async stopTerminalShellCommand(e){const t=this.sendToIDE("stopTerminalShellCommand",e);return this.withReceivePromise(t,{})}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(Dw.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 Fw{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 Mw=new class extends Fw{constructor(){super(...arguments),this.tokenize=$w}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 $w(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 Uw=e=>e.replace(/\s|\t/g,"").replace(/[;|,]$/,"").toLowerCase();const zw=new class extends Fw{constructor(){super(),this.tokenize=$w}equals(e,t,n){const i=super.equals(e,t,n);return!i&&e.length>12&&t.length>12?((e,t)=>Uw(e)===Uw(t))(e,t):i}};function Bw(e,t,n){return n?.ignoreWhiteSpace?zw.diff(e,t,{}):function(e,t,n){return Mw.diff(e,t,n)}(e,t)}const Hw=e=>j.createHash("sha256").update(e).digest("hex").slice(0,16);class qw{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,t){for(const n of e){const e=this.histories[n.filePath]?.content||"";if(n.originalContent!==e){const i={...n,originalContent:e,modifiedContent:n.originalContent};this.userEdit([i],t)}const{filePath:i,originalContent:o,modifiedContent:a}=n,s=this.histories[i]?.codeWrittenLineNums||[],r=Hw(o),c=Hw(a);if(!this.agentEditsCache[r]?.[c]){this.generateLines[i]||(this.generateLines[i]=[]);const e=Bw(o,a);this.generateLines[i]=this.generateLines[i].concat(e.map((e=>e.added?e.value.replace(/\r?\n$/,"").split(/\r?\n/).map((e=>`+ ${e}`)):[])).flat());const t=this.computeCodeWrittenMetric(s,e,"agent");this.agentEditsCache[r]=this.agentEditsCache[r]||{},this.agentEditsCache[r][c]=t,this.userEditsCache[r]=t}const l=this.agentEditsCache[r][c];this.histories[i]={content:a,codeWrittenLineNums:l}}}userEdit(e,t){for(const n of e){const{filePath:e,originalContent:i,modifiedContent:o}=n,a=this.histories[e]?.codeWrittenLineNums||[],s=Hw(o);if(this.userEditsCache[s]){const t=this.userEditsCache[s];this.histories[e]={content:o,codeWrittenLineNums:t}}else{const n=Bw(i,o,t),s=this.computeCodeWrittenMetric(a,n,"user");this.histories[e]={content:o,codeWrittenLineNums:s}}}}clear(){this.histories={},this.generateLines={},this.agentEditsCache={},this.userEditsCache={},this.createdTime=Date.now()}}const Ww={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"]},Gw={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"},Vw="ACTION_V8_SNAP_SHOT";for(var Kw="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",Yw=new RegExp("^"+Kw+"$"),Qw="|&;()<> \\t",Zw=/^#$/,Jw="",Xw=0;Xw<4;Xw++)Jw+=(4294967296*Math.random()).toString(16);var eE=new RegExp("^"+Jw);function tE(e,t,n){n||(n={});var i=n.escape||"\\",o=new RegExp(["("+Kw+")","("+("(\\"+i+"['\""+Qw+"]|[^\\s'\""+Qw+"])+")+"|\"((\\\\\"|[^\"])*?)\"|'((\\\\'|[^'])*?)')+"].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(Yw.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(Yw.test(u))return{op:o};if(Zw.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+Jw+JSON.stringify(i)+Jw:t+i}(t,"",n)}})).reduce((function(e,t){return void 0===t?e:e.concat(t)}),[])}var nE=function(e,t,n){var i=tE(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("("+Jw+".*?"+Jw+")","g"));return 1===n.length?e.concat(n[0]):e.concat(n.filter(Boolean).map((function(e){return eE.test(e)?JSON.parse(e.split(Jw)[1]):e})))}),[])};const iE=new Set(["if","then","else","elif","fi","for","while","until","do","done","case","esac","function","select","time","in"]);function oE(e){const t=nE(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&&!iE.has(e)&&(n.push(e),i=!1);return n}const aE=(e,t)=>e.length>t?e.substring(0,t)+" ...":e;function sE(){try{const e=R.userInfo(),t=aE(e.username??"",100);return`${t} ${aE(R.hostname(),100)} (${function(){const e=R.type();switch(e){case"Windows_NT":return"Windows";case"Darwin":return"Mac OS";case"Linux":return"Linux";default:return e}}()} ${R.arch()} ${R.release()})`}catch(e){return""}}var rE,cE,lE,pE,uE,dE,fE,mE,hE,vE,xE,gE,bE,yE,_E,wE,EE,kE,SE,RE,AE,TE,CE,OE,jE,PE,LE,IE,NE;!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"}(rE||(rE={})),function(e){e.NOT_SUPPORT="statusBar.not.support.text",e.ENABLE="statusBar.enable.text",e.NO_SUGGESTIONS="statusBar.nosuggestions",e.TITLE="statusBar.title"}(cE||(cE={})),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"}(lE||(lE={})),function(e){e.EMPTY_TEXT="nl2code.empty.text",e.NO_SELECTION="nl2code.no.selection.text"}(pE||(pE={})),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"}(uE||(uE={})),function(e){e.EXPLAIN_SELECTED_CODE="explain.codeActions.title",e.OPTIMIZE_SELECTED_CODE="optimize.codeActions.title",e.INLINECHAT_SELECTED_CODE="inlinechat.codeActions.title"}(dE||(dE={})),function(e){e.CODELENS_TITLE="chatTrial.codelens.title"}(fE||(fE={})),function(e){e.CODELENS_TITLE="inlinechat.codelens.title"}(mE||(mE={})),function(e){e.CHAT_TIPS_TITLE="chatTips.selectedCode.title",e.CHAT_TIPS_CODE_BLANK_ROW_TITLE="chatTips.blankRow.title"}(hE||(hE={})),function(e){e.GENERATING_TITLE="decorations.generating.title",e.LINE_COMMENT_CODE_TRIGGER_TITLE="decorations.lineComent.trigger.title"}(vE||(vE={})),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"}(xE||(xE={})),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"}(gE||(gE={})),function(e){e.PROMPT="split.prompt",e.CODELENS_TITLE="split.codelens.title",e.CODELENS_TOOLTIP="split.codelens.tooltip",e.GENERATE_ERROR="split.generate.error"}(bE||(bE={})),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"}(yE||(yE={})),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"}(_E||(_E={})),function(e){e.PROMPT="inlineLog.prompt",e.CODELENS_TITLE="inlineLog.codelens.title",e.CODELENS_TOOLTIP="inlineLog.codelens.tooltip",e.GENERATE_ERROR="inlineLog.generate.error"}(wE||(wE={})),function(e){e.TITLE="diff.title",e.ACCEPT="diff.accept",e.REJECT="diff.reject",e.OPEN_DUAL_SCREEN_DIFF="diff.dualScreenDiff.open"}(EE||(EE={})),function(e){e.WEBVIEW_TITLE="chat.webview.title",e.NO_INSERT_POSITION="chat.no.insertPosition.text"}(kE||(kE={})),function(e){e.PATH_ERROR="accept.path.error"}(SE||(SE={})),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"}(RE||(RE={})),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"}(AE||(AE={})),function(e){e.TOOLTIP="regexHover.tooltip",e.PROMPT="regexHover.prompt"}(TE||(TE={})),function(e){e.MAXIMUM_FILES="embeddings.maximum.files.message",e.PROGRESS="embeddings.progress.message",e.PROGRESS_TOOLTIP="embeddings.progress.tooltip.message"}(CE||(CE={})),function(e){e.TITLE="openPlatform.title.text",e.WEBVIEW_TITLE="openPlatform.webview.title"}(OE||(OE={})),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"}(jE||(jE={})),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"}(PE||(PE={})),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"}(LE||(LE={})),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"}(IE||(IE={})),function(e){e.GENERATE_ERROR="kernel.zulu.error"}(NE||(NE={}));const DE={ServerError:-32001,ParseError:-32700,InvalidRequest:-32600,MethodNotFound:-32601,InvalidParams:-32602,InternalError:-32603,RequestCancelled:-32800,DeviceFlowFailed:1001,ContextNotInitialized:1002,AbortedByServer:1003,CancelledByServer:1004,GetGitRepoIdError:1005},FE=0;export{J as ACTION_ASK_LLM,X as ACTION_ASK_LLM_STREAMING,De as ACTION_ASK_RAG,Te as ACTION_BATCH_ACCEPT,$e as ACTION_BRANCH_CHANGE,P as ACTION_CHAT_QUERY,bg as ACTION_CHAT_SESSION_DELETE,yg as ACTION_CHAT_SESSION_FIND,xg as ACTION_CHAT_SESSION_LIST,gg as ACTION_CHAT_SESSION_SAVE,L as ACTION_CHAT_TASK_PROGRESS,He as ACTION_CODE_SEARCH,wg as ACTION_COMATE_ADD_AGENT_TASK,Tg as ACTION_COMATE_ADD_CACHE,_g as ACTION_COMATE_GET_AGENT_TASKS,Cg as ACTION_COMATE_GET_CACHE,pg as ACTION_COMATE_LSP_REMOTE_CONSOLE,lg as ACTION_COMATE_LSP_WORKSPACE_FOLDERS,Qx as ACTION_COMATE_PLUS_AGENT_COMMAND,cg as ACTION_COMATE_PLUS_AGENT_NOTIFICATION,mg as ACTION_COMATE_PLUS_BATCH_ACCEPT,Kx as ACTION_COMATE_PLUS_CHAT_CANCEL,Vx as ACTION_COMATE_PLUS_CHAT_QUERY,fg as ACTION_COMATE_PLUS_CODE_SEARCH,Yx as ACTION_COMATE_PLUS_CUSTOM_COMMAND,Ee as ACTION_COMATE_PLUS_DIAGNOSTIC_SCAN,Xx as ACTION_COMATE_PLUS_DRAW_CHAT_APPEND,tg as ACTION_COMATE_PLUS_DRAW_CHAT_FAIL,eg as ACTION_COMATE_PLUS_DRAW_CHAT_FINISH,Jx as ACTION_COMATE_PLUS_DRAW_CHAT_UPDATE,ag as ACTION_COMATE_PLUS_INITIALIZED,ig as ACTION_COMATE_PLUS_QUERY_SELECTOR,dg as ACTION_COMATE_PLUS_RECREATE_INDEX,ng as ACTION_COMATE_PLUS_REQUEST_PERMISSION,xe as ACTION_COMATE_PLUS_SA_SCAN_DIAGNOSTIC,ve as ACTION_COMATE_PLUS_SA_SCAN_INIT,ug as ACTION_COMATE_PLUS_SECTION_CHAT_UPDATE,Zx as ACTION_COMATE_PLUS_WEBVIEW_INIT_DATA,Eg as ACTION_COMATE_SET_FOREGROUND_TASK,hg as ACTION_COMATE_SMART_APPLY,vg as ACTION_COMATE_SMART_APPLY_CANCEL,kg as ACTION_COMATE_UPDATE_AGENT_TASK_MESSAGES,Rg as ACTION_COMPOSER,we as ACTION_CUSTOM_COMMAND,Ne as ACTION_DEBUG_TASK_PROCESS,Se as ACTION_DIAGNOSTIC_SCAN,Re as ACTION_DIAGNOSTIC_SCAN_TASK_COUNT,ke as ACTION_DIAGNOSTIC_SCAN_TASK_PROGRESS,sg as ACTION_ENGINE_PROCESS_START_SUCCESS,Ig as ACTION_ENGINE_SERVICE_INITIALIZED,Fe as ACTION_GENERATE_MESSAGE,Me as ACTION_GENERATE_MESSAGE_REPORT,ie as ACTION_GET_PLUGIN_CONFIG,re as ACTION_INFORMATION_QUERY,Qe as ACTION_ISCAN_JOB_BUILD_ID,Ye as ACTION_ISCAN_RESULT,I as ACTION_LOG,Sg as ACTION_MOCK_VIRTUAL_EDITOR_EVENT,ae as ACTION_PLUS_MODULE_LIST_FETCH,se as ACTION_PLUS_MODULE_LIST_RESULT,jg as ACTION_PROMPTTEMPLATE_CREATE,Lg as ACTION_PROMPTTEMPLATE_DELETE,Og as ACTION_PROMPTTEMPLATE_LIST,Pg 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,Ze as ACTION_SCAN_NOTIFICATION,pe as ACTION_SCAN_QUERY,de as ACTION_SCAN_TASK,me as ACTION_SCAN_TASK_PROGRESS,Ue as ACTION_SECUBOT,ze as ACTION_SECUBOT_TASK_PROGRESS,V as ACTION_SESSION_FINISH,G as ACTION_SESSION_START,ye as ACTION_START_BACKGROUND_SERVICE,Ke as ACTION_START_ISCAN,Ge as ACTION_START_ISCAN_AND_GET_SEC_RESULT,Ve as ACTION_START_ISCAN_BY_SAVE,oe as ACTION_UPDATE_ENGINE_CONFIG,og as ACTION_USER_DETAIL,rg as ACTION_USER_DETAIL_ERROR,Vw as ACTION_V8_SNAP_SHOT,ue as ACTION_WILL_SCAN,Ag as AGENT_DEBUG_CUSTOM_ACTION,SE as AcceptProviderText,Ie as AgentConversationStatus,Pe as AgentConversationType,Le as AgentConversationTypeNames,Ce as AgentMessageStatus,jE as AutoWorkText,Ml as CanceledError,Y as Channel,kE as ChatProviderText,hE as ChatTipsProviderText,fE as ChatTrialProviderText,dE as CodeSelectionActionsProviderText,qw as CodeWrittenMetric,PE as ComatePlusText,je as CommandExecutionStatus,xE as CommentProviderText,lE as CompletionText,Pw as DEFAULT_RULE_CONFIG_FOLDER,jw as DEFAULT_WORKSPACE_CONFIG_FOLDER,Lw as DEFAULT_WORKSPACE_RULE_FILE,vE as DecorationsText,EE as DiffProviderText,gE as DocstringProviderText,dl as ENVIRONMENT,CE as EmbeddingsServiceText,yE as ExplainProviderText,AE as ExtensionText,ne as FunctionModel,rE as GlobalText,hl as INTERNAL_API_HOST,xl as INTERNAL_TEST_API_HOST,le as InformationQueryType,LE as InlineChatText,mE as InlineChatTrialProviderText,wE as InlineLogProviderText,We as IntentStrategyContextType,qe as IntentStrategyRule,DE as LSP_ERROR_CODE,jx as LanguageDetector,ee as LlmType,Kl as LogUploaderProvider,Je as MCP_SETTINGS_FILE_PATH,IE as MessageGenerateText,pE as Nl2codeProviderText,OE as OpenPlatformText,uE as OptimizeProviderText,ul as PLATFORM,np as PROMPTTEMPLATE_ROOT_PATH,kw as PatchFileDelimiterError,Z as PermissionType,RE as QuickFixText,Ng as RULE_PANEL_ACTION_EVENT,TE as RegexHoverText,ml as SAAS_API_HOST,vl as SAAS_TEST_API_HOST,Be as SECUBOT_DEFAULT_QUERY,Zl as SSEProcessor,FE as SUCCESS_CODE,Gw as SUFFIX_LANG_MAP,Ww as SUPPORTED_SUFFIX_CONFIG,Rw as SearchReplacePatchError,K as Session,bE as SplitProviderText,cE as StatusBarText,Ae as TaskStatus,te as TextModel,Dg as UPDATE_RULE_PANEL_EVENT,_E as UnitTestProviderText,Nw as VirtualDocumentAction,Dw as VirtualEditor,$x as VisibilitySelectorMatcher,fl as WEBVIEW_CONSUMER,Oe as WorkflowStatus,NE as ZuluText,N as allowedNativeElement,ay as applyDiff,Ow as applySearchReplaceChunk,Il as axiosInstance,Bx as canHandleChatQuery,Wx as canHandleQuerySelector,qx as canShowToUser,Fl as createAxiosCancelTokenSource,Dl as createAxiosInstance,Hl as createDeferred,ho as emptyDir,mo as ensureDirectoryExist,z as extractChunkContent,Iw as extractMentionFilesFromRuleConfig,ry as findCodeChunkStartLineIndex,ly as fixUdiffLineMarker,tp as formatPrompt,Al as getApiHost,Xl as getCurrentUserKnowledgeSet,Ul as getCurrentUserPluginConfigSet,sE as getDeviceDisplayName,Jl as getKnowledgeQueryResult,po as getOsAppDataPath,op as getPromptTemplatePath,ip as getPromptTemplateRootPath,ap as getPromptTemplateUuidFromPath,Zb as getUserLicenseType,Ux as isCapabilityMatch,M as isInteractiveContent,D as isNativeElement,U as isSectionChunk,$ as isWrappedChunk,ep as knowledgeServiceHealthy,zl as localPluginConfig,$l as mergePluginConfig,oE as parseShellCommandName,Gx as patchEnvPath,Bl as pluginConfigDetail,lo as readFileOrNull,xo as readJson,Xe as readPluginDescription,vo as remove,Qb as replacePathTextInMarkdown,Rl as setApiHost,Tl as setLanguage,El as setPlatform,kl as setPlatformAndEnvironment,go as writeJSON};
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]",R="[object Promise]",A="[object RegExp]",T="[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,Z=/<%([\s\S]+?)%>/g,J=/<%=([\s\S]+?)%>/g,X=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ee=/^\w*$/,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(ne.source),oe=/^\s+/,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",Re="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Te="\\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="["+Te+"]",Pe="["+Ee+"]",Le="\\d+",Ie="["+ke+"]",Ne="["+Se+"]",De="[^"+we+Te+Le+ke+Se+Re+"]",Fe="\\ud83c[\\udffb-\\udfff]",Me="[^"+we+"]",$e="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Re+"]",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="["+Ae+"]?",Ye=Ke+Ve+("(?:"+Be+"(?:"+[Me,$e,Ue].join("|")+")"+Ke+Ve+")*"),Qe="(?:"+[Ie,$e,Ue].join("|")+")"+Ye,Ze="(?:"+[Me+Pe+"?",Pe,$e,Ue,Oe].join("|")+")",Je=RegExp(Ce,"g"),Xe=RegExp(Pe,"g"),et=RegExp(Fe+"(?="+Fe+")|"+Ze+Ye,"g"),tt=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"),nt=RegExp("["+Be+we+Ee+Ae+"]"),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[A]=rt[T]=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[A]=ct[T]=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 it&&it&&it.Object===Object&&it,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 Rt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function At(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 Tt(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 Zt(e){return e?e.slice(0,hn(e)+1).replace(oe,""):e}function Jt(e){return function(t){return e(t)}}function Xt(e,t){return It(t,(function(t){return e[t]}))}function en(e,t){return e.has(t)}function tn(e,t){for(var n=-1,i=e.length;++n<i&&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 nt.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=et.lastIndex=0;for(;et.test(e);)++t;return t}(e):$t(e)}function mn(e){return rn(e)?function(e){return e.match(et)||[]}(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,Re=t.Math,Ae=t.Object,Te=t.RegExp,Ce=t.String,Oe=t.TypeError,je=we.prototype,Pe=Se.prototype,Le=Ae.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(Ae),ze=mt._,Be=Te("^"+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(Ae.getPrototypeOf,Ae),Ke=Ae.create,Ye=Le.propertyIsEnumerable,Qe=je.splice,Ze=qe?qe.isConcatSpreadable:n,et=qe?qe.iterator:n,nt=qe?qe.toStringTag:n,it=function(){try{var e=fa(Ae,"defineProperty");return e({},"",{}),e}catch(e){}}(),lt=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,dt=Ee&&Ee.now!==mt.Date.now&&Ee.now,ft=t.setTimeout!==mt.setTimeout&&t.setTimeout,ht=Re.ceil,vt=Re.floor,gt=Ae.getOwnPropertySymbols,bt=He?He.isBuffer:n,$t=t.isFinite,Vt=je.join,gn=ln(Ae.keys,Ae),bn=Re.max,yn=Re.min,_n=Ee.now,wn=t.parseInt,En=Re.random,kn=je.reverse,Sn=fa(t,"DataView"),Rn=fa(t,"Map"),An=fa(t,"Promise"),Tn=fa(t,"Set"),Cn=fa(t,"WeakMap"),On=fa(Ae,"create"),jn=Cn&&new Cn,Pn={},Ln=$a(Sn),In=$a(Rn),Nn=$a(An),Dn=$a(Tn),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 Zn(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 Jn(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:Ar(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 Ro(e);case g:case b:return new i(+e);case L:return function(e,t){var n=t?Ro(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case I:case N:case D:case F:case M:case $:case U:case z:case B:return Ao(e,n);case E:return new i;case k:case C:return new i(e);case A:return function(e){var t=new e.constructor(e.source,fe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case T:return new i;case O:return o=e,$n?Ae($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 Tt(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=Ae(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,Jt(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:Z,interpolate:J,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(Rn||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(!Rn||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 Js(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 Ri(e){return null==e?e===n?"[object Undefined]":"[object Null]":nt&&nt in Ae(e)?function(e){var t=De.call(e,nt),i=e[nt];try{e[nt]=n;var o=!0}catch(e){}var a=$e.call(e);o&&(t?e[nt]=i:delete e[nt]);return a}(e):function(e){return $e.call(e)}(e)}function Ai(e,t){return e>t}function Ti(e,t){return null!=e&&De.call(e,t)}function Ci(e,t){return null!=e&&t in Ae(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,Jt(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(Za(t))];return null==o?n:Rt(o,e,i)}function Pi(e){return nr(e)&&Ri(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 A:case C:return e==t+"";case E:var r=cn;case T: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=Ae(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))&&(Js(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 Ae(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 Ae(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]?Aa(t[0][0],t[0][1]):function(n){return n===e||Ii(n,e,t)}}function Bi(e,t){return wa(e)&&Ra(t)?Aa(Ma(e),t):function(i){var o=Ar(i,e);return o===n&&o===t?Tr(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=Ao(l,!0)):u=[]:ar(l)||qs(l)?(u=c,qs(c)?u=gr(c):tr(c)&&!Js(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,Jt(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=To(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,Jt(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 Zi(e,t){return La(Ta(e,t,oc),e+"")}function Ji(e){return Jn(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:Zo(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(Za(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=Zi;function Eo(e,t,i){var o=e.length;return i=i===n?o:i,!t&&i>=o?e:oo(e,t,i)}var 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 Ro(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function Ao(e,t){var n=t?Ro(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function To(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)?At:oi,a=t?t():{};return o(n,e,pa(i,2),a)}}function Io(e){return Zi((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=Ae(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=Ae(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=Ae(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(Jr(qr(t).replace(Je,"")),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=Ae(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,Jt(pa())),Zi((function(n){var i=this;return e(t,(function(e){return Rt(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=Re[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 Zo=Tn&&1/un(new Tn([,-0]))[1]==u?function(e){return new Tn(e)}:lc;function Jo(e){return function(t){var n=va(t);return n==E?cn(t):n==T?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):Rt(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 Rt(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(Ta(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,Ra(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=Ae(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=Ri;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)||!!(Ze&&e&&e[Ze])}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 Ae(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||Rn&&va(new Rn)!=E||An&&va(An.resolve())!=R||Tn&&va(new Tn)!=T||Cn&&va(new Cn)!=j)&&(va=function(e){var t=Ri(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 R;case Dn:return T;case Fn:return j}return t});var ka=Ie?Js:xc;function Sa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Le)}function Ra(e){return e==e&&!tr(e)}function Aa(e,t){return function(i){return null!=i&&(i[e]===t&&(t!==n||e in Ae(i)))}}function Ta(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),Rt(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 Tt(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=Zi((function(e,t){return Ks(e)?di(e,gi(t,1,Ks,!0)):[]})),Ba=Zi((function(e,t){var i=Za(t);return Ks(i)&&(i=n),Ks(e)?di(e,gi(t,1,Ks,!0),pa(i,2)):[]})),Ha=Zi((function(e,t){var i=Za(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=Zi((function(e){var t=It(e,bo);return t.length&&t[0]===e[0]?Oi(t):[]})),Ya=Zi((function(e){var t=Za(e),i=It(e,bo);return t===Za(i)?t=n:i.pop(),i.length&&i[0]===e[0]?Oi(i,pa(t,2)):[]})),Qa=Zi((function(e){var t=Za(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 Za(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Ja=Zi(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(To)),i}));function ts(e){return null==e?e:kn.call(e)}var ns=Zi((function(e){return uo(gi(e,1,Ks,!0))})),is=Zi((function(e){var t=Za(e);return Ks(t)&&(t=n),uo(gi(e,1,Ks,!0),pa(t,2))})),os=Zi((function(e){var t=Za(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 Rt(t,n,e)}))}var rs=Zi((function(e,t){return Ks(e)?di(e,t):[]})),cs=Zi((function(e){return xo(jt(e,Ks))})),ls=Zi((function(e){var t=Za(e);return Ks(t)&&(t=n),xo(jt(e,Ks),pa(t,2))})),ps=Zi((function(e){var t=Za(e);return t="function"==typeof t?t:n,xo(jt(e,Ks),n,t)})),us=Zi(as);var ds=Zi((function(e){var t=e.length,i=t>1?e[t-1]:n;return i="function"==typeof i?(e.pop(),i):n,ss(e,i)}));function fs(e){var t=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)?Tt: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=Zi((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?Rt(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 Rs=Zi((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),[])})),As=dt||function(){return mt.Date.now()};function Ts(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=Zi((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=Zi((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=As();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=As(),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(As())},b}var Ls=Zi((function(e,t){return ui(e,1,t)})),Is=Zi((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],Jt(pa())):It(gi(t,1),Jt(pa()))).length;return Zi((function(i){for(var o=-1,a=yn(i.length,n);++o<a;)i[o]=t[o].call(this,i[o]);return Rt(e,this,i)}))})),Ms=Zi((function(e,t){var i=pn(t,la(Ms));return Xo(e,r,n,t,i)})),$s=Zi((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(Ai),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?Jt(yt):function(e){return nr(e)&&Ri(e)==P};function Vs(e){return null!=e&&er(e.length)&&!Js(e)}function Ks(e){return nr(e)&&Vs(e)}var Ys=bt||xc,Qs=_t?Jt(_t):function(e){return nr(e)&&Ri(e)==b};function Zs(e){if(!nr(e))return!1;var t=Ri(e);return t==y||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ar(e)}function Js(e){if(!tr(e))return!1;var t=Ri(e);return t==_||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xs(e){return"number"==typeof e&&e==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?Jt(wt):function(e){return nr(e)&&va(e)==E};function or(e){return"number"==typeof e||nr(e)&&Ri(e)==k}function ar(e){if(!nr(e)||Ri(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?Jt(Et):function(e){return nr(e)&&Ri(e)==A};var rr=kt?Jt(kt):function(e){return nr(e)&&va(e)==T};function cr(e){return"string"==typeof e||!Ws(e)&&nr(e)&&Ri(e)==C}function lr(e){return"symbol"==typeof e||nr(e)&&Ri(e)==O}var pr=St?Jt(St):function(e){return nr(e)&&er(e.length)&&!!rt[Ri(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==T?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=Zt(e);var n=he.test(e);return n||xe.test(e)?ut(e.slice(2),n?2:8):me.test(e)?f:+e}function 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=Zi((function(e,t){e=Ae(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})),Rr=Zi((function(e){return e.push(n,ta),Rt(Nr,n,e)}));function Ar(e,t,i){var o=null==e?n:ki(e,t);return o===n?i:o}function Tr(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=Zi(ji);function Pr(e){return Vs(e)?Zn(e):Fi(e)}function Lr(e){return Vs(e)?Zn(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 Tr(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=Jo(Pr),Ur=Jo(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 Zr(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?" ":"")+Zr(t)}));var Qr=Mo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Zr=Fo("toUpperCase");function Jr(e,t,i){return e=br(e),(t=i?n:t)===n?function(e){return ot.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(le)||[]}(e):e.match(t)||[]}var Xr=Zi((function(e,t){try{return Rt(e,n,t)}catch(e){return Zs(e)?e:new ke(e)}})),ec=oa((function(e,t){return Tt(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=Zi((function(e,t){return function(n){return ji(n,e,t)}})),rc=Zi((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=Js(e);return Tt(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=Ts,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]]})):[],Zi((function(n){for(var i=-1;++i<t;){var o=e[i];if(Rt(o[0],this,n))return Rt(o[1],this,n)}}))},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=Rr,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),Zi((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=Ja,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 Zi(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=Rs,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),Zi((function(n){var i=n[t],o=Eo(n,0,t);return i&&Nt(o,i),Rt(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)&&Js(a)?Bn(Ve(e)):{}}return(o?Tt:_i)(e,(function(e,i,o){return t(n,e,i,o)})),n},zn.unary=function(e){return Ts(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=Jr,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=Ar,zn.gt=Bs,zn.gte=Hs,zn.has=function(e,t){return null!=e&&xa(e,t,Ti)},zn.hasIn=Tr,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)&&Ri(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==T)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=Zs,zn.isFinite=function(e){return"number"==typeof e&&$t(e)},zn.isFunction=Js,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]"==Ri(e)},zn.join=function(e,t){return null==e?"":Vt.call(e,t)},zn.kebabCase=Wr,zn.last=Za,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,Ai):n},zn.maxBy=function(e,t){return e&&e.length?vi(e,pa(t,2),Ai):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=As,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=Js(s)?s.call(e):s}return e},zn.round=kc,zn.runInContext=e,zn.sample=function(e){return(Ws(e)?Jn:Ji)(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==T?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=Te((t.escape||ye).source+"|"+u.source+"|"+(u===J?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,Zs(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 Zt(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=Te(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=Zr,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",Tt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),Tt(["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()}})),Tt(["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}})),Tt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Wn.prototype[e]=function(){return this[n](1).value()[0]}})),Tt(["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=Zi((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)})})),Tt(["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(it)}(dy,dy.exports);var fy=ot(dy.exports),my={};!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}(my);var hy=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},vy=hy,xy=Object.create,gy=function(){function e(){}return function(t){if(!vy(t))return{};if(xy)return xy(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var by=function(){},yy=gy,_y=by;function wy(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}wy.prototype=yy(_y.prototype),wy.prototype.constructor=wy;var Ey=wy;var ky=function(e,t){for(var n=-1,i=t.length,o=e.length;++n<i;)e[o+n]=t[n];return e},Sy="object"==typeof it&&it&&it.Object===Object&&it,Ry="object"==typeof self&&self&&self.Object===Object&&self,Ay=Sy||Ry||Function("return this")(),Ty=Ay.Symbol,Cy=Ty,Oy=Object.prototype,jy=Oy.hasOwnProperty,Py=Oy.toString,Ly=Cy?Cy.toStringTag:void 0;var Iy=function(e){var t=jy.call(e,Ly),n=e[Ly];try{e[Ly]=void 0;var i=!0}catch(e){}var o=Py.call(e);return i&&(t?e[Ly]=n:delete e[Ly]),o},Ny=Object.prototype.toString;var Dy=Iy,Fy=function(e){return Ny.call(e)},My=Ty?Ty.toStringTag:void 0;var $y=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":My&&My in Object(e)?Dy(e):Fy(e)};var Uy=function(e){return null!=e&&"object"==typeof e},zy=$y,By=Uy;var Hy=function(e){return By(e)&&"[object Arguments]"==zy(e)},qy=Uy,Wy=Object.prototype,Gy=Wy.hasOwnProperty,Vy=Wy.propertyIsEnumerable,Ky=Hy(function(){return arguments}())?Hy:function(e){return qy(e)&&Gy.call(e,"callee")&&!Vy.call(e,"callee")},Yy=Array.isArray,Qy=Ky,Zy=Yy,Jy=Ty?Ty.isConcatSpreadable:void 0;var Xy=ky,e_=function(e){return Zy(e)||Qy(e)||!!(Jy&&e&&e[Jy])};var t_=function e(t,n,i,o,a){var s=-1,r=t.length;for(i||(i=e_),a||(a=[]);++s<r;){var c=t[s];n>0&&i(c)?n>1?e(c,n-1,i,o,a):Xy(a,c):o||(a[a.length]=c)}return a},n_=t_;var i_=function(e){return(null==e?0:e.length)?n_(e,1):[]};var o_=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)},a_=Math.max;var s_=function(e,t,n){return t=a_(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,a=a_(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),o_(e,this,r)}};var r_=function(e){return function(){return e}},c_=$y,l_=hy;var p_,u_=function(e){if(!l_(e))return!1;var t=c_(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},d_=Ay["__core-js_shared__"],f_=(p_=/[^.]+$/.exec(d_&&d_.keys&&d_.keys.IE_PROTO||""))?"Symbol(src)_1."+p_:"";var m_=function(e){return!!f_&&f_ in e},h_=Function.prototype.toString;var v_=u_,x_=m_,g_=hy,b_=function(e){if(null!=e){try{return h_.call(e)}catch(e){}try{return e+""}catch(e){}}return""},y_=/^\[object .+?Constructor\]$/,__=Function.prototype,w_=Object.prototype,E_=__.toString,k_=w_.hasOwnProperty,S_=RegExp("^"+E_.call(k_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var R_=function(e){return!(!g_(e)||x_(e))&&(v_(e)?S_:y_).test(b_(e))},A_=function(e,t){return null==e?void 0:e[t]};var T_=function(e,t){var n=A_(e,t);return R_(n)?n:void 0},C_=T_,O_=function(){try{var e=C_(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var j_=r_,P_=O_,L_=P_?function(e,t){return P_(e,"toString",{configurable:!0,enumerable:!1,value:j_(t),writable:!0})}:function(e){return e},I_=L_,N_=Date.now;var D_=function(e){var t=0,n=0;return function(){var i=N_(),o=16-(i-n);if(n=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(I_),F_=i_,M_=s_,$_=D_;var U_=function(e){return $_(M_(e,void 0,F_),e+"")},z_=T_(Ay,"WeakMap");var B_=z_&&new z_,H_=B_?function(e){return B_.get(e)}:function(){},q_={},W_=Object.prototype.hasOwnProperty;var G_=function(e){for(var t=e.name+"",n=q_[t],i=W_.call(q_,t)?n.length:0;i--;){var o=n[i],a=o.func;if(null==a||a==e)return o.name}return t},V_=gy,K_=by;function Y_(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}Y_.prototype=V_(K_.prototype),Y_.prototype.constructor=Y_;var Q_=Y_;var Z_=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t},J_=Q_,X_=Ey,ew=Z_;var tw=Q_,nw=Ey,iw=by,ow=Yy,aw=Uy,sw=function(e){if(e instanceof J_)return e.clone();var t=new X_(e.__wrapped__,e.__chain__);return t.__actions__=ew(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t},rw=Object.prototype.hasOwnProperty;function cw(e){if(aw(e)&&!ow(e)&&!(e instanceof tw)){if(e instanceof nw)return e;if(rw.call(e,"__wrapped__"))return sw(e)}return new nw(e)}cw.prototype=iw.prototype,cw.prototype.constructor=cw;var lw=Q_,pw=H_,uw=G_,dw=cw;var fw=function(e){var t=uw(e),n=dw[t];if("function"!=typeof n||!(t in lw.prototype))return!1;if(e===n)return!0;var i=pw(n);return!!i&&e===i[0]},mw=Ey,hw=U_,vw=H_,xw=G_,gw=Yy,bw=fw;var yw=function(e){return hw((function(t){var n=t.length,i=n,o=mw.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"==xw(a))var s=new mw([],!0)}for(i=s?i:n;++i<n;){a=t[i];var r=xw(a),c="wrapper"==r?vw(a):void 0;s=c&&bw(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[xw(c[0])].apply(s,c[3]):1==a.length&&bw(a)?s[r]():s.thru(a)}return function(){var e=arguments,i=e[0];if(s&&1==e.length&&gw(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}}))},_w=ot(yw());const ww=e=>"string"==typeof e?e:"";const Ew=e=>e.split(/\r?\n/),kw=e=>e.trim().toLowerCase();function Sw(e,t,n={maxLineGap:4,threshold:.92}){const{maxLineGap:i=4,threshold:o=.92}=n,a=Ew(e),s=Ew(t),r=s.length,c=((e,t,n)=>{for(let i=0;i<t.length;i++){const o=kw(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=kw(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=fy.uniqBy(n,(([e,t])=>`${e}-${t}`));for(const e of o){const[n,i]=e,o=a.slice(n,i).join("\n"),s=my.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 Rw extends Error{constructor(e){super(`Delimiter error for patch format!${e}. Delimiters should be one of the following:"\n<<< SEARCH <<<\n", "\n==== REPLACED_BY ====\n", "\n>>> END >>>\n"`)}}const Aw=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 Tw 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=Sw(this.content,e,{threshold:0,maxLineGap:0}),n=Aw(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 Cw=e=>e.replace(/^(\r?\n)+/,"");function Ow(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=fy.flow(i),a=e.map(o).join("\n"),s=t.map(o).join("\n"),r=s.indexOf(a);if(-1===r)return n?r:Ow(e,t,{caseSensitive:!0,trim:!0});return s.slice(0,r).split(/\r?\n/).length-1}function jw(e,t,n,i){return t.toString()?[...e,...t,...n].join(i):[...e,...n].join(i)}const Pw=(e,t,n)=>{try{const i=function(e){const t=[],n={context:"none",current:null},i=e.includes("REPLACED_BY")?/^\s*[<=>]+\s*REPLACED?_BY\s*[<=>]+\s*$/:/^\s*=+\s*$/;for(const o of e.split("\n"))if(/^\s*[<=]+\s*SEARCH\s*[<=#]*\s*$/.test(o)){if("replace"===n.context)throw new Rw("Invalid delimiter order: SEARCH delimiter after REPLACED_BY");if("search"===n.context)throw new Rw("Duplicate SEARCH delimiter without REPLACED_BY and END");n.current&&"none"===n.context&&t.push(n.current),n.context="search",n.current={search:[],replace:[]}}else if(i.test(o)){if("search"!==n.context)throw new Rw("REPLACED_BY delimiter must follow SEARCH delimiter");n.context="replace"}else if(/^\s*[>=]+\s*END\s*[>=]*\s*$/.test(o)){if("replace"!==n.context)throw new Rw("END delimiter must follow REPLACED_BY delimiter");n.context="none"}else"search"===n.context&&n.current?n.current.search.push(o):"replace"===n.context&&n.current&&n.current.replace.push(o);return n.current&&t.push(n.current),t}(t),o=Aw(e);if(!i.length&&!n?.stream)return{error:new Rw("No patch blocks found in input string"),patchedContent:e,patches:[]};const{streamLineCount:a,patchedContent:s,error:r}=_w(i.map(((t,a)=>s=>{if(s.error)return s;const r=Cw(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,Cw(l.join(o)))}}{if(""===t.search.toString())return{patchedContent:`${t.replace.join(o)}${o}${p}`};const n=p.split(/\r?\n/),u=Ow(c,n);if(-1!==u){const e=u,t=e+c.length;return l.toString()?{patchedContent:jw(n.slice(0,e),l,n.slice(t),o)}:{patchedContent:jw(n.slice(0,e),[],n.slice(t),o)}}const d=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=>ww(n[t])===ww(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=>ww(n[t])===ww(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(d){if(my.stringSimilarity(r,d.block)>.67)return{patchedContent:jw(n.slice(0,d.start-1),l,n.slice(d.end),o)}}return{error:new Tw(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:[]}}},Lw=".comate",Iw="rules",Nw="default.mdr";function Dw(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 Fw;!function(e){e.EDIT="edit",e.PREVIEW="preview"}(Fw||(Fw={}));class Mw{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)}async stopTerminalShellCommand(e){const t=this.sendToIDE("stopTerminalShellCommand",e);return this.withReceivePromise(t,{})}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(Mw.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 $w{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 Uw=new class extends $w{constructor(){super(...arguments),this.tokenize=zw}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 zw(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 Bw=e=>e.replace(/\s|\t/g,"").replace(/[;|,]$/,"").toLowerCase();const Hw=new class extends $w{constructor(){super(),this.tokenize=zw}equals(e,t,n){const i=super.equals(e,t,n);return!i&&e.length>12&&t.length>12?((e,t)=>Bw(e)===Bw(t))(e,t):i}};function qw(e,t,n){return n?.ignoreWhiteSpace?Hw.diff(e,t,{}):function(e,t,n){return Uw.diff(e,t,n)}(e,t)}const Ww=e=>j.createHash("sha256").update(e).digest("hex").slice(0,16);class Gw{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,t){for(const n of e){const e=this.histories[n.filePath]?.content||"";if(n.originalContent!==e){const i={...n,originalContent:e,modifiedContent:n.originalContent};this.userEdit([i],t)}const{filePath:i,originalContent:o,modifiedContent:a}=n,s=this.histories[i]?.codeWrittenLineNums||[],r=Ww(o),c=Ww(a);if(!this.agentEditsCache[r]?.[c]){this.generateLines[i]||(this.generateLines[i]=[]);const e=qw(o,a);this.generateLines[i]=this.generateLines[i].concat(e.map((e=>e.added?e.value.replace(/\r?\n$/,"").split(/\r?\n/).map((e=>`+ ${e}`)):[])).flat());const t=this.computeCodeWrittenMetric(s,e,"agent");this.agentEditsCache[r]=this.agentEditsCache[r]||{},this.agentEditsCache[r][c]=t,this.userEditsCache[r]=t}const l=this.agentEditsCache[r][c];this.histories[i]={content:a,codeWrittenLineNums:l}}}userEdit(e,t){for(const n of e){const{filePath:e,originalContent:i,modifiedContent:o}=n,a=this.histories[e]?.codeWrittenLineNums||[],s=Ww(o);if(this.userEditsCache[s]){const t=this.userEditsCache[s];this.histories[e]={content:o,codeWrittenLineNums:t}}else{const n=qw(i,o,t),s=this.computeCodeWrittenMetric(a,n,"user");this.histories[e]={content:o,codeWrittenLineNums:s}}}}clear(){this.histories={},this.generateLines={},this.agentEditsCache={},this.userEditsCache={},this.createdTime=Date.now()}}const Vw={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"]},Kw={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"},Yw="ACTION_V8_SNAP_SHOT";for(var Qw="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",Zw=new RegExp("^"+Qw+"$"),Jw="|&;()<> \\t",Xw=/^#$/,eE="",tE=0;tE<4;tE++)eE+=(4294967296*Math.random()).toString(16);var nE=new RegExp("^"+eE);function iE(e,t,n){n||(n={});var i=n.escape||"\\",o=new RegExp(["("+Qw+")","("+("(\\"+i+"['\""+Jw+"]|[^\\s'\""+Jw+"])+")+"|\"((\\\\\"|[^\"])*?)\"|'((\\\\'|[^'])*?)')+"].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(Zw.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(Zw.test(u))return{op:o};if(Xw.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+eE+JSON.stringify(i)+eE:t+i}(t,"",n)}})).reduce((function(e,t){return void 0===t?e:e.concat(t)}),[])}var oE=function(e,t,n){var i=iE(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("("+eE+".*?"+eE+")","g"));return 1===n.length?e.concat(n[0]):e.concat(n.filter(Boolean).map((function(e){return nE.test(e)?JSON.parse(e.split(eE)[1]):e})))}),[])};const aE=new Set(["if","then","else","elif","fi","for","while","until","do","done","case","esac","function","select","time","in"]);function sE(e){const t=oE(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&&!aE.has(e)&&(n.push(e),i=!1);return n}const rE=(e,t)=>e.length>t?e.substring(0,t)+" ...":e;function cE(){try{const e=R.userInfo(),t=rE(e.username??"",100);return`${t} ${rE(R.hostname(),100)} (${function(){const e=R.type();switch(e){case"Windows_NT":return"Windows";case"Darwin":return"Mac OS";case"Linux":return"Linux";default:return e}}()} ${R.arch()} ${R.release()})`}catch(e){return""}}var lE,pE,uE,dE,fE,mE,hE,vE,xE,gE,bE,yE,_E,wE,EE,kE,SE,RE,AE,TE,CE,OE,jE,PE,LE,IE,NE,DE,FE;!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"}(lE||(lE={})),function(e){e.NOT_SUPPORT="statusBar.not.support.text",e.ENABLE="statusBar.enable.text",e.NO_SUGGESTIONS="statusBar.nosuggestions",e.TITLE="statusBar.title"}(pE||(pE={})),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"}(uE||(uE={})),function(e){e.EMPTY_TEXT="nl2code.empty.text",e.NO_SELECTION="nl2code.no.selection.text"}(dE||(dE={})),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"}(fE||(fE={})),function(e){e.EXPLAIN_SELECTED_CODE="explain.codeActions.title",e.OPTIMIZE_SELECTED_CODE="optimize.codeActions.title",e.INLINECHAT_SELECTED_CODE="inlinechat.codeActions.title"}(mE||(mE={})),function(e){e.CODELENS_TITLE="chatTrial.codelens.title"}(hE||(hE={})),function(e){e.CODELENS_TITLE="inlinechat.codelens.title"}(vE||(vE={})),function(e){e.CHAT_TIPS_TITLE="chatTips.selectedCode.title",e.CHAT_TIPS_CODE_BLANK_ROW_TITLE="chatTips.blankRow.title"}(xE||(xE={})),function(e){e.GENERATING_TITLE="decorations.generating.title",e.LINE_COMMENT_CODE_TRIGGER_TITLE="decorations.lineComent.trigger.title"}(gE||(gE={})),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"}(bE||(bE={})),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"}(yE||(yE={})),function(e){e.PROMPT="split.prompt",e.CODELENS_TITLE="split.codelens.title",e.CODELENS_TOOLTIP="split.codelens.tooltip",e.GENERATE_ERROR="split.generate.error"}(_E||(_E={})),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"}(wE||(wE={})),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"}(EE||(EE={})),function(e){e.PROMPT="inlineLog.prompt",e.CODELENS_TITLE="inlineLog.codelens.title",e.CODELENS_TOOLTIP="inlineLog.codelens.tooltip",e.GENERATE_ERROR="inlineLog.generate.error"}(kE||(kE={})),function(e){e.TITLE="diff.title",e.ACCEPT="diff.accept",e.REJECT="diff.reject",e.OPEN_DUAL_SCREEN_DIFF="diff.dualScreenDiff.open"}(SE||(SE={})),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"}(AE||(AE={})),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"}(TE||(TE={})),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"}(CE||(CE={})),function(e){e.TOOLTIP="regexHover.tooltip",e.PROMPT="regexHover.prompt"}(OE||(OE={})),function(e){e.MAXIMUM_FILES="embeddings.maximum.files.message",e.PROGRESS="embeddings.progress.message",e.PROGRESS_TOOLTIP="embeddings.progress.tooltip.message"}(jE||(jE={})),function(e){e.TITLE="openPlatform.title.text",e.WEBVIEW_TITLE="openPlatform.webview.title"}(PE||(PE={})),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"}(LE||(LE={})),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"}(IE||(IE={})),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"}(NE||(NE={})),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"}(DE||(DE={})),function(e){e.GENERATE_ERROR="kernel.zulu.error"}(FE||(FE={}));const ME={ServerError:-32001,ParseError:-32700,InvalidRequest:-32600,MethodNotFound:-32601,InvalidParams:-32602,InternalError:-32603,RequestCancelled:-32800,DeviceFlowFailed:1001,ContextNotInitialized:1002,AbortedByServer:1003,CancelledByServer:1004,GetGitRepoIdError:1005},$E=0;export{J as ACTION_ASK_LLM,X as ACTION_ASK_LLM_STREAMING,De as ACTION_ASK_RAG,Te as ACTION_BATCH_ACCEPT,$e as ACTION_BRANCH_CHANGE,P as ACTION_CHAT_QUERY,bg as ACTION_CHAT_SESSION_DELETE,yg as ACTION_CHAT_SESSION_FIND,xg as ACTION_CHAT_SESSION_LIST,gg as ACTION_CHAT_SESSION_SAVE,L as ACTION_CHAT_TASK_PROGRESS,He as ACTION_CODE_SEARCH,wg as ACTION_COMATE_ADD_AGENT_TASK,Tg as ACTION_COMATE_ADD_CACHE,_g as ACTION_COMATE_GET_AGENT_TASKS,Cg as ACTION_COMATE_GET_CACHE,pg as ACTION_COMATE_LSP_REMOTE_CONSOLE,lg as ACTION_COMATE_LSP_WORKSPACE_FOLDERS,Qx as ACTION_COMATE_PLUS_AGENT_COMMAND,cg as ACTION_COMATE_PLUS_AGENT_NOTIFICATION,mg as ACTION_COMATE_PLUS_BATCH_ACCEPT,Kx as ACTION_COMATE_PLUS_CHAT_CANCEL,Vx as ACTION_COMATE_PLUS_CHAT_QUERY,fg as ACTION_COMATE_PLUS_CODE_SEARCH,Yx as ACTION_COMATE_PLUS_CUSTOM_COMMAND,Ee as ACTION_COMATE_PLUS_DIAGNOSTIC_SCAN,Xx as ACTION_COMATE_PLUS_DRAW_CHAT_APPEND,tg as ACTION_COMATE_PLUS_DRAW_CHAT_FAIL,eg as ACTION_COMATE_PLUS_DRAW_CHAT_FINISH,Jx as ACTION_COMATE_PLUS_DRAW_CHAT_UPDATE,ag as ACTION_COMATE_PLUS_INITIALIZED,ig as ACTION_COMATE_PLUS_QUERY_SELECTOR,dg as ACTION_COMATE_PLUS_RECREATE_INDEX,ng as ACTION_COMATE_PLUS_REQUEST_PERMISSION,xe as ACTION_COMATE_PLUS_SA_SCAN_DIAGNOSTIC,ve as ACTION_COMATE_PLUS_SA_SCAN_INIT,ug as ACTION_COMATE_PLUS_SECTION_CHAT_UPDATE,Zx as ACTION_COMATE_PLUS_WEBVIEW_INIT_DATA,Eg as ACTION_COMATE_SET_FOREGROUND_TASK,hg as ACTION_COMATE_SMART_APPLY,vg as ACTION_COMATE_SMART_APPLY_CANCEL,kg as ACTION_COMATE_UPDATE_AGENT_TASK_MESSAGES,Rg as ACTION_COMPOSER,we as ACTION_CUSTOM_COMMAND,Ne as ACTION_DEBUG_TASK_PROCESS,Se as ACTION_DIAGNOSTIC_SCAN,Re as ACTION_DIAGNOSTIC_SCAN_TASK_COUNT,ke as ACTION_DIAGNOSTIC_SCAN_TASK_PROGRESS,sg as ACTION_ENGINE_PROCESS_START_SUCCESS,Ig as ACTION_ENGINE_SERVICE_INITIALIZED,Fe as ACTION_GENERATE_MESSAGE,Me as ACTION_GENERATE_MESSAGE_REPORT,ie as ACTION_GET_PLUGIN_CONFIG,re as ACTION_INFORMATION_QUERY,Qe as ACTION_ISCAN_JOB_BUILD_ID,Ye as ACTION_ISCAN_RESULT,I as ACTION_LOG,Sg as ACTION_MOCK_VIRTUAL_EDITOR_EVENT,ae as ACTION_PLUS_MODULE_LIST_FETCH,se as ACTION_PLUS_MODULE_LIST_RESULT,jg as ACTION_PROMPTTEMPLATE_CREATE,Lg as ACTION_PROMPTTEMPLATE_DELETE,Og as ACTION_PROMPTTEMPLATE_LIST,Pg 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,Ze as ACTION_SCAN_NOTIFICATION,pe as ACTION_SCAN_QUERY,de as ACTION_SCAN_TASK,me as ACTION_SCAN_TASK_PROGRESS,Ue as ACTION_SECUBOT,ze as ACTION_SECUBOT_TASK_PROGRESS,V as ACTION_SESSION_FINISH,G as ACTION_SESSION_START,ye as ACTION_START_BACKGROUND_SERVICE,Ke as ACTION_START_ISCAN,Ge as ACTION_START_ISCAN_AND_GET_SEC_RESULT,Ve as ACTION_START_ISCAN_BY_SAVE,oe as ACTION_UPDATE_ENGINE_CONFIG,og as ACTION_USER_DETAIL,rg as ACTION_USER_DETAIL_ERROR,Yw as ACTION_V8_SNAP_SHOT,ue as ACTION_WILL_SCAN,Ag as AGENT_DEBUG_CUSTOM_ACTION,AE as AcceptProviderText,Ie as AgentConversationStatus,Pe as AgentConversationType,Le as AgentConversationTypeNames,Ce as AgentMessageStatus,LE as AutoWorkText,Ml as CanceledError,Y as Channel,RE as ChatProviderText,xE as ChatTipsProviderText,hE as ChatTrialProviderText,mE as CodeSelectionActionsProviderText,Gw as CodeWrittenMetric,IE as ComatePlusText,je as CommandExecutionStatus,bE as CommentProviderText,uE as CompletionText,Iw as DEFAULT_RULE_CONFIG_FOLDER,Lw as DEFAULT_WORKSPACE_CONFIG_FOLDER,Nw as DEFAULT_WORKSPACE_RULE_FILE,gE as DecorationsText,SE as DiffProviderText,yE as DocstringProviderText,dl as ENVIRONMENT,jE as EmbeddingsServiceText,wE as ExplainProviderText,CE as ExtensionText,ne as FunctionModel,lE as GlobalText,hl as INTERNAL_API_HOST,xl as INTERNAL_TEST_API_HOST,le as InformationQueryType,NE as InlineChatText,vE as InlineChatTrialProviderText,kE as InlineLogProviderText,We as IntentStrategyContextType,qe as IntentStrategyRule,ME as LSP_ERROR_CODE,jx as LanguageDetector,ee as LlmType,Kl as LogUploaderProvider,Je as MCP_SETTINGS_FILE_PATH,DE as MessageGenerateText,dE as Nl2codeProviderText,PE as OpenPlatformText,fE as OptimizeProviderText,ul as PLATFORM,np as PROMPTTEMPLATE_ROOT_PATH,Rw as PatchFileDelimiterError,Z as PermissionType,TE as QuickFixText,Ng as RULE_PANEL_ACTION_EVENT,OE as RegexHoverText,ml as SAAS_API_HOST,vl as SAAS_TEST_API_HOST,Be as SECUBOT_DEFAULT_QUERY,Zl as SSEProcessor,$E as SUCCESS_CODE,Kw as SUFFIX_LANG_MAP,Vw as SUPPORTED_SUFFIX_CONFIG,Tw as SearchReplacePatchError,K as Session,_E as SplitProviderText,pE as StatusBarText,Ae as TaskStatus,te as TextModel,Dg as UPDATE_RULE_PANEL_EVENT,EE as UnitTestProviderText,Fw as VirtualDocumentAction,Mw as VirtualEditor,$x as VisibilitySelectorMatcher,fl as WEBVIEW_CONSUMER,Oe as WorkflowStatus,FE as ZuluText,N as allowedNativeElement,ry as applyDiff,Pw as applySearchReplaceChunk,Il as axiosInstance,Bx as canHandleChatQuery,Wx as canHandleQuerySelector,qx as canShowToUser,Fl as createAxiosCancelTokenSource,Dl as createAxiosInstance,Hl as createDeferred,ho as emptyDir,mo as ensureDirectoryExist,z as extractChunkContent,Jb as extractListFromMarkdown,Dw as extractMentionFilesFromRuleConfig,ly as findCodeChunkStartLineIndex,uy as fixUdiffLineMarker,tp as formatPrompt,Al as getApiHost,Xl as getCurrentUserKnowledgeSet,Ul as getCurrentUserPluginConfigSet,cE as getDeviceDisplayName,Jl as getKnowledgeQueryResult,po as getOsAppDataPath,op as getPromptTemplatePath,ip as getPromptTemplateRootPath,ap as getPromptTemplateUuidFromPath,Xb as getUserLicenseType,Ux as isCapabilityMatch,M as isInteractiveContent,D as isNativeElement,U as isSectionChunk,$ as isWrappedChunk,ep as knowledgeServiceHealthy,zl as localPluginConfig,$l as mergePluginConfig,sE as parseShellCommandName,Gx as patchEnvPath,Bl as pluginConfigDetail,lo as readFileOrNull,xo as readJson,Xe as readPluginDescription,vo as remove,Qb as replacePathTextInMarkdown,Rl as setApiHost,Tl as setLanguage,El as setPlatform,kl as setPlatformAndEnvironment,Zb as trimIllegalMarkdownTodo,go as writeJSON};