@squidcloud/cli 1.0.219 → 1.0.220
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
/*! For license information please see index.js.LICENSE.txt */
|
3
|
-
(()=>{var e={4764:e=>{"use strict";e.exports=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}},7007:(e,t,i)=>{"use strict";e=i.nmd(e);const n=(e,t)=>(...i)=>`[${e(...i)+t}m`,a=(e,t)=>(...i)=>{const n=e(...i);return`[${38+t};5;${n}m`},s=(e,t)=>(...i)=>{const n=e(...i);return`[${38+t};2;${n[0]};${n[1]};${n[2]}m`},o=e=>e,r=(e,t,i)=>[e,t,i],c=(e,t,i)=>{Object.defineProperty(e,t,{get:()=>{const n=i();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})};let u;const l=(e,t,n,a)=>{void 0===u&&(u=i(8666));const s=a?10:0,o={};for(const[i,a]of Object.entries(u)){const r="ansi16"===i?"ansi":i;i===t?o[r]=e(n,s):"object"==typeof a&&(o[r]=e(a[t],s))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(const[i,n]of Object.entries(t)){for(const[i,a]of Object.entries(n))t[i]={open:`[${a[0]}m`,close:`[${a[1]}m`},n[i]=t[i],e.set(a[0],a[1]);Object.defineProperty(t,i,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="[39m",t.bgColor.close="[49m",c(t.color,"ansi",(()=>l(n,"ansi16",o,!1))),c(t.color,"ansi256",(()=>l(a,"ansi256",o,!1))),c(t.color,"ansi16m",(()=>l(s,"rgb",r,!1))),c(t.bgColor,"ansi",(()=>l(n,"ansi16",o,!0))),c(t.bgColor,"ansi256",(()=>l(a,"ansi256",o,!0))),c(t.bgColor,"ansi16m",(()=>l(s,"rgb",r,!0))),t}})},5036:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),a(i(4077),t)},6373:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callValueAssertion=t.assertRecord=t.assertArray=t.assertObject=t.getErrorMessage=t.getAssertionErrorFromProvider=t.fail=t.truthy=t.assertTruthy=void 0;const n=i(4665),a=i(1333);function s(e,t){e||o(t)}function o(e){const t=r(e);if("object"==typeof t)throw t;throw new Error(t||"Assertion error")}function r(e){return void 0===e?"":"string"==typeof e?e:e()}function c(e){const t=r(e);return"string"==typeof t?t:t.message||"<no error message>"}function u(e,t,i=void 0,n={}){const a=()=>c(i),o=e=>{const t=a();return 0===t.length?e:`${t} ${e}`};s("object"==typeof e,(()=>o("is not an object: "+typeof e))),s(void 0!==e,(()=>o("is not defined"))),s(null!==e,(()=>o("is null"))),s(!Array.isArray(e),(()=>o("is an array.")));const r=Object.entries(t);if(n.failOnUnknownFields){const t=n.allowedUnknownFieldNames||[];for(const i in e)s(t.includes(i)||r.some((([e])=>i===e)),o(`property can't be checked: ${i}`))}let l;for(const[t,i]of r){s("function"==typeof i||"object"==typeof i&&null!==i,(()=>`${a()}.${t} assertion is not an object or a function: ${typeof i}`));const n=e[t],o=()=>`${a()}.${t}`;if("object"==typeof i)s(!Array.isArray(n),(()=>`${a()}.${o()} use arrayAssertion() to create a ValueAssertion for an array`)),u(n,i,o);else if(s("function"==typeof i,(()=>`${a()}.${o()} assertion is not a function`)),"$o"===t)l=i;else{const e=i(n,o);s(void 0===e,`Assertion function must assert (void) but it returns a value: ${e}. Wrap with $u()?`)}}l&&l(e,i)}function l(e,t,i){t(e,i)}function p(e){return(t="with-space-separator")=>{const i=c(e);return i?`${i}${"with-space-separator"===t?" ":""}`:""}}function d(e,t,i){"object"==typeof t?(s(!Array.isArray(e),(()=>`${i}: use arrayAssertion() to create a ValueAssertion for an array`)),u(e,t,i)):l(e,t,i)}t.assertTruthy=s,t.truthy=function(e,t){return s(e,t),e},t.fail=o,t.getAssertionErrorFromProvider=r,t.getErrorMessage=c,t.assertObject=u,t.assertArray=function(e,t,i={},a=void 0){var o,r;const c=p(a);s(Array.isArray(e),(()=>`${c()}value is not an array: ${e}`));const u=null!==(o=i.minLength)&&void 0!==o?o:0,l=null!==(r=i.maxLength)&&void 0!==r?r:1/0;s(e.length>=u,(()=>`${c()}array length < minLength. Array length: ${e.length}, minLength: ${u}`)),s(e.length<=l,(()=>`${c()}array length > maxLength. Array length: ${e.length}, maxLength: ${l}`)),i.uniqueByIdentity&&s((0,n.checkArrayHasUniqueElements)(e,i.uniqueByIdentity),(()=>`${c()}array contains non-unique elements`));let f=0;const h=()=>`${c("no-space-separator")}[${f}]`;for(;f<e.length;f++)d(e[f],t,h)},t.assertRecord=function(e,t,i={},n=void 0){const o=p(n);s("object"==typeof e,(()=>`${o()}value is not an object: ${(0,a.formatValue)(e)}`)),s(null!==e,(()=>`${o()}value is null`)),s(!Array.isArray(e),(()=>`${o()}the value is not a record, but is an array`));for(const[n,r]of Object.entries(e)){const e=()=>`${o("no-space-separator")}['${n}']`;i.keyAssertion&&d(n,i.keyAssertion,(()=>`${e()}, key assertion failed:`)),d(r,t,e);const{keyField:c}=i;if(c){s("object"==typeof r&&null!==r,(()=>`${e()} is not an object: ${(0,a.formatValue)(r)}`));const t=r[c];s(t===n,(()=>`${e()} key value does not match object field '${c}' value: ${(0,a.formatValue)(t)}`))}}i.$o&&i.$o(e,n)},t.callValueAssertion=l},8596:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringAssertion=t.nullOr=t.undefinedOr=t.valueOr=t.$u=t.$a=t.recordAssertion=t.arrayAssertion=t.objectAssertion=void 0;const n=i(6373),a=i(1333);function s(e,t){return(0,n.assertTruthy)("function"==typeof e,`"check" is not a function: ${e}`),(i,a=void 0)=>(0,n.assertTruthy)(e(i),(()=>{let e=(0,n.getErrorMessage)(a)||"Check is failed";return e.endsWith(":")||(e+=":"),`${e} ${(0,n.getErrorMessage)(t)||("object"==typeof i?"[object]":`'${i}'`)}`}))}function o(e,t){return(i,a=void 0)=>{i!==e&&("object"==typeof t?(0,n.assertObject)(i,t,a):(0,n.callValueAssertion)(i,t,a))}}t.objectAssertion=function(e,t=void 0){return i=>(0,n.assertObject)(i,e,t)},t.arrayAssertion=function(e,t={}){const{minLength:i,maxLength:a}=t;return(0,n.assertTruthy)((null!=i?i:0)<=(null!=a?a:1/0),`minLength must be < maxLength! minLength ${i}, maxLength: ${a}`),(0,n.assertTruthy)((null!=i?i:0)>=0,`minLength must be a positive number: ${i}`),(0,n.assertTruthy)((null!=a?a:0)>=0,`maxLength must be a positive number: ${a}`),(i,a=void 0)=>{(0,n.assertArray)(i,e,t,a)}},t.recordAssertion=function(e,t={}){return(i,a=void 0)=>{(0,n.assertRecord)(i,e,t,a)}},t.$a=s,t.$u=function(e,t){return s(e,t)},t.valueOr=o,t.undefinedOr=function(e){return o(void 0,e)},t.nullOr=function(e){return o(null,e)},t.stringAssertion=e=>(t,i=void 0)=>{var s,o;(0,a.assertString)(t,i),(0,n.assertTruthy)(t.length>=(null!==(s=e.minLength)&&void 0!==s?s:0),`${(0,n.getErrorMessage)(i)} length is too small: ${t.length} < ${e.minLength}`),(0,n.assertTruthy)(t.length<=(null!==(o=e.maxLength)&&void 0!==o?o:1/0),`${(0,n.getErrorMessage)(i)} length is too large ${t.length} > ${e.maxLength}`)}},1333:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNonNullable=t.assertDate=t.assertEmail=t.assertHexString=t.assertUuid=t.assertBoolean=t.assertNumber=t.assertString=t.formatError=t.formatValue=void 0;const n=i(6373),a=i(4665);function s(e){return void 0===e?"<undefined>":"symbol"==typeof e?e.toString():null===e?"<null>":`<${typeof e}:${e}>`}function o(e,t,i){const a=(0,n.getAssertionErrorFromProvider)(e);if("object"==typeof a)throw a;return`${a?`${a}: `:""}${t} ${s(i)}`}t.formatValue=s,t.formatError=o,t.assertString=(e,t=void 0)=>{(0,n.assertTruthy)((0,a.isString)(e),(()=>o(t,"Not a string",e)))},t.assertNumber=(e,t=void 0)=>{(0,n.assertTruthy)((0,a.isNumber)(e),(()=>o(t,"Not a number",e)))},t.assertBoolean=(e,t=void 0)=>{(0,n.assertTruthy)((0,a.isBoolean)(e),(()=>o(t,"Not a boolean",e)))},t.assertUuid=(e,t=void 0)=>{(0,n.assertTruthy)((0,a.isUuid)(e),(()=>o(t,"Invalid uuid",e)))},t.assertHexString=(e,t=void 0)=>{(0,n.assertTruthy)((0,a.isHexString)(e),(()=>o(t,"Invalid hex string",e)))},t.assertEmail=(e,t=void 0)=>{(0,n.assertTruthy)((0,a.isEmail)(e),(()=>o(t,"Invalid email",e)))},t.assertDate=(e,t=void 0)=>{(0,n.assertTruthy)(e instanceof Date,(()=>o(t,"Invalid Date",e)))},t.assertNonNullable=function(e,t){(0,n.assertTruthy)((0,a.isNonNullable)(e),(()=>o(t,"Value is "+(void 0===e?"undefined":"null"),e)))}},4665:(e,t)=>{"use strict";function i(e){return"string"==typeof e}function n(e,t,i){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!i(e[n],t[n]))return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.isNonNullable=t.isHexString=t.isUuid=t.isEmail=t.checkArraysHasEqualElementsByComparator=t.checkArraysHaveEqualElements=t.checkArrayHasUniqueElements=t.isDate=t.isNumber=t.isString=t.isBoolean=void 0,t.isBoolean=function(e){return"boolean"==typeof e},t.isString=i,t.isNumber=function(e){return"number"==typeof e},t.isDate=function(e){return e instanceof Date},t.checkArrayHasUniqueElements=function(e,t){if(e.length<=1)return!0;const i=new Set;for(const n of e){const e=t(n);if(i.has(e))return!1;i.add(e)}return!0},t.checkArraysHaveEqualElements=function(e,t){return n(e,t,((e,t)=>e===t))},t.checkArraysHasEqualElementsByComparator=n;const a=/^[-!#$%&'*+/\d=?A-Z^_a-z{|}~](\.?[-!#$%&'*+/\d=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z\d])*\.[a-zA-Z](-?[a-zA-Z\d])+$/,s=/^(?!\.)((?!.*\.{2})[a-zA-Z0-9\u0080-\u00FF\u0100-\u017F\u0180-\u024F\u0250-\u02AF\u0300-\u036F\u0370-\u03FF\u0400-\u04FF\u0500-\u052F\u0530-\u058F\u0590-\u05FF\u0600-\u06FF\u0700-\u074F\u0750-\u077F\u0780-\u07BF\u07C0-\u07FF\u0900-\u097F\u0980-\u09FF\u0A00-\u0A7F\u0A80-\u0AFF\u0B00-\u0B7F\u0B80-\u0BFF\u0C00-\u0C7F\u0C80-\u0CFF\u0D00-\u0D7F\u0D80-\u0DFF\u0E00-\u0E7F\u0E80-\u0EFF\u0F00-\u0FFF\u1000-\u109F\u10A0-\u10FF\u1100-\u11FF\u1200-\u137F\u1380-\u139F\u13A0-\u13FF\u1400-\u167F\u1680-\u169F\u16A0-\u16FF\u1700-\u171F\u1720-\u173F\u1740-\u175F\u1760-\u177F\u1780-\u17FF\u1800-\u18AF\u1900-\u194F\u1950-\u197F\u1980-\u19DF\u19E0-\u19FF\u1A00-\u1A1F\u1B00-\u1B7F\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u1E00-\u1EFF\u1F00-\u1FFF\u20D0-\u20FF\u2100-\u214F\u2C00-\u2C5F\u2C60-\u2C7F\u2C80-\u2CFF\u2D00-\u2D2F\u2D30-\u2D7F\u2D80-\u2DDF\u2F00-\u2FDF\u2FF0-\u2FFF\u3040-\u309F\u30A0-\u30FF\u3100-\u312F\u3130-\u318F\u3190-\u319F\u31C0-\u31EF\u31F0-\u31FF\u3200-\u32FF\u3300-\u33FF\u3400-\u4DBF\u4DC0-\u4DFF\u4E00-\u9FFF\uA000-\uA48F\uA490-\uA4CF\uA700-\uA71F\uA800-\uA82F\uA840-\uA87F\uAC00-\uD7AF\uF900-\uFAFF.!#$%&'*+-/=?^_`{|}~\-\d]+)@(?!\.)([a-zA-Z0-9\u0080-\u00FF\u0100-\u017F\u0180-\u024F\u0250-\u02AF\u0300-\u036F\u0370-\u03FF\u0400-\u04FF\u0500-\u052F\u0530-\u058F\u0590-\u05FF\u0600-\u06FF\u0700-\u074F\u0750-\u077F\u0780-\u07BF\u07C0-\u07FF\u0900-\u097F\u0980-\u09FF\u0A00-\u0A7F\u0A80-\u0AFF\u0B00-\u0B7F\u0B80-\u0BFF\u0C00-\u0C7F\u0C80-\u0CFF\u0D00-\u0D7F\u0D80-\u0DFF\u0E00-\u0E7F\u0E80-\u0EFF\u0F00-\u0FFF\u1000-\u109F\u10A0-\u10FF\u1100-\u11FF\u1200-\u137F\u1380-\u139F\u13A0-\u13FF\u1400-\u167F\u1680-\u169F\u16A0-\u16FF\u1700-\u171F\u1720-\u173F\u1740-\u175F\u1760-\u177F\u1780-\u17FF\u1800-\u18AF\u1900-\u194F\u1950-\u197F\u1980-\u19DF\u19E0-\u19FF\u1A00-\u1A1F\u1B00-\u1B7F\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u1E00-\u1EFF\u1F00-\u1FFF\u20D0-\u20FF\u2100-\u214F\u2C00-\u2C5F\u2C60-\u2C7F\u2C80-\u2CFF\u2D00-\u2D2F\u2D30-\u2D7F\u2D80-\u2DDF\u2F00-\u2FDF\u2FF0-\u2FFF\u3040-\u309F\u30A0-\u30FF\u3100-\u312F\u3130-\u318F\u3190-\u319F\u31C0-\u31EF\u31F0-\u31FF\u3200-\u32FF\u3300-\u33FF\u3400-\u4DBF\u4DC0-\u4DFF\u4E00-\u9FFF\uA000-\uA48F\uA490-\uA4CF\uA700-\uA71F\uA800-\uA82F\uA840-\uA87F\uAC00-\uD7AF\uF900-\uFAFF\-.\d]+)((\.([a-zA-Z\u0080-\u00FF\u0100-\u017F\u0180-\u024F\u0250-\u02AF\u0300-\u036F\u0370-\u03FF\u0400-\u04FF\u0500-\u052F\u0530-\u058F\u0590-\u05FF\u0600-\u06FF\u0700-\u074F\u0750-\u077F\u0780-\u07BF\u07C0-\u07FF\u0900-\u097F\u0980-\u09FF\u0A00-\u0A7F\u0A80-\u0AFF\u0B00-\u0B7F\u0B80-\u0BFF\u0C00-\u0C7F\u0C80-\u0CFF\u0D00-\u0D7F\u0D80-\u0DFF\u0E00-\u0E7F\u0E80-\u0EFF\u0F00-\u0FFF\u1000-\u109F\u10A0-\u10FF\u1100-\u11FF\u1200-\u137F\u1380-\u139F\u13A0-\u13FF\u1400-\u167F\u1680-\u169F\u16A0-\u16FF\u1700-\u171F\u1720-\u173F\u1740-\u175F\u1760-\u177F\u1780-\u17FF\u1800-\u18AF\u1900-\u194F\u1950-\u197F\u1980-\u19DF\u19E0-\u19FF\u1A00-\u1A1F\u1B00-\u1B7F\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u1E00-\u1EFF\u1F00-\u1FFF\u20D0-\u20FF\u2100-\u214F\u2C00-\u2C5F\u2C60-\u2C7F\u2C80-\u2CFF\u2D00-\u2D2F\u2D30-\u2D7F\u2D80-\u2DDF\u2F00-\u2FDF\u2FF0-\u2FFF\u3040-\u309F\u30A0-\u30FF\u3100-\u312F\u3130-\u318F\u3190-\u319F\u31C0-\u31EF\u31F0-\u31FF\u3200-\u32FF\u3300-\u33FF\u3400-\u4DBF\u4DC0-\u4DFF\u4E00-\u9FFF\uA000-\uA48F\uA490-\uA4CF\uA700-\uA71F\uA800-\uA82F\uA840-\uA87F\uAC00-\uD7AF\uF900-\uFAFF]){2,63})+)$/i;t.isEmail=function(e,t={allowInternationalDomains:!1}){if(!i(e)||0===e.length||e.length>254)return!1;if(!(t.allowInternationalDomains?s:a).test(e))return!1;const n=e.split("@");return!(n[0].length>64||n[1].split(".").some((e=>e.length>63)))};const o=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;t.isUuid=function(e){return i(e)&&o.test(e)};const r=/^[0-9a-fA-F]*$/;t.isHexString=function(e){return i(e)&&r.test(e)},t.isNonNullable=function(e){return null!=e}},8630:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateRecord=t.validateArray=t.validateObject=t.tryCatch=void 0;const n=i(6373);function a(e){try{e()}catch(e){return e instanceof Error&&e.message||`${e}`}}t.tryCatch=a,t.validateObject=function(e,t,i=void 0,s={}){return a((()=>(0,n.assertObject)(e,t,i,s)))},t.validateArray=function(e,t,i={},s=void 0){return a((()=>(0,n.assertArray)(e,t,i,s)))},t.validateRecord=function(e,t,i={},s=void 0){return a((()=>(0,n.assertRecord)(e,t,i,s)))}},4077:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),a(i(6373),t),a(i(8596),t),a(i(1333),t),a(i(4665),t),a(i(8630),t)},6797:(e,t,i)=>{"use strict";e.exports=i(5349)},5349:e=>{"use strict";var t=function(e){if(e=e||{},this.Promise=e.Promise||Promise,this.queues=Object.create(null),this.domainReentrant=e.domainReentrant||!1,this.domainReentrant){if("undefined"==typeof process||void 0===process.domain)throw new Error("Domain-reentrant locks require `process.domain` to exist. Please flip `opts.domainReentrant = false`, use a NodeJS version that still implements Domain, or install a browser polyfill.");this.domains=Object.create(null)}this.timeout=e.timeout||t.DEFAULT_TIMEOUT,this.maxOccupationTime=e.maxOccupationTime||t.DEFAULT_MAX_OCCUPATION_TIME,this.maxExecutionTime=e.maxExecutionTime||t.DEFAULT_MAX_EXECUTION_TIME,e.maxPending===1/0||Number.isInteger(e.maxPending)&&e.maxPending>=0?this.maxPending=e.maxPending:this.maxPending=t.DEFAULT_MAX_PENDING};t.DEFAULT_TIMEOUT=0,t.DEFAULT_MAX_OCCUPATION_TIME=0,t.DEFAULT_MAX_EXECUTION_TIME=0,t.DEFAULT_MAX_PENDING=1e3,t.prototype.acquire=function(e,t,i,n){if(Array.isArray(e))return this._acquireBatch(e,t,i,n);if("function"!=typeof t)throw new Error("You must pass a function to execute");var a=null,s=null,o=null;"function"!=typeof i&&(n=i,i=null,o=new this.Promise((function(e,t){a=e,s=t}))),n=n||{};var r=!1,c=null,u=null,l=null,p=this,d=function(t,n,c){u&&(clearTimeout(u),u=null),l&&(clearTimeout(l),l=null),t&&(p.queues[e]&&0===p.queues[e].length&&delete p.queues[e],p.domainReentrant&&delete p.domains[e]),r||(o?n?s(n):a(c):"function"==typeof i&&i(n,c),r=!0),t&&p.queues[e]&&p.queues[e].length>0&&p.queues[e].shift()()},f=function(i){if(r)return d(i);c&&(clearTimeout(c),c=null),p.domainReentrant&&i&&(p.domains[e]=process.domain);var a=n.maxExecutionTime||p.maxExecutionTime;if(a&&(l=setTimeout((function(){p.queues[e]&&d(i,new Error("Maximum execution time is exceeded "+e))}),a)),1===t.length){var s=!1;try{t((function(e,t){s||(s=!0,d(i,e,t))}))}catch(e){s||(s=!0,d(i,e))}}else p._promiseTry((function(){return t()})).then((function(e){d(i,void 0,e)}),(function(e){d(i,e)}))};p.domainReentrant&&process.domain&&(f=process.domain.bind(f));var h=n.maxPending||p.maxPending;if(p.queues[e])if(p.domainReentrant&&process.domain&&process.domain===p.domains[e])f(!1);else if(p.queues[e].length>=h)d(!1,new Error("Too many pending tasks in queue "+e));else{var m=function(){f(!0)};n.skipQueue?p.queues[e].unshift(m):p.queues[e].push(m);var g=n.timeout||p.timeout;g&&(c=setTimeout((function(){c=null,d(!1,new Error("async-lock timed out in queue "+e))}),g))}else p.queues[e]=[],f(!0);var b=n.maxOccupationTime||p.maxOccupationTime;return b&&(u=setTimeout((function(){p.queues[e]&&d(!1,new Error("Maximum occupation time is exceeded in queue "+e))}),b)),o||void 0},t.prototype._acquireBatch=function(e,t,i,n){"function"!=typeof i&&(n=i,i=null);var a=this,s=e.reduceRight((function(e,t){return function(e,t){return function(i){a.acquire(e,t,i,n)}}(t,e)}),t);if("function"!=typeof i)return new this.Promise((function(e,t){1===s.length?s((function(i,n){i?t(i):e(n)})):e(s())}));s(i)},t.prototype.isBusy=function(e){return e?!!this.queues[e]:Object.keys(this.queues).length>0},t.prototype._promiseTry=function(e){try{return this.Promise.resolve(e())}catch(e){return this.Promise.reject(e)}},e.exports=t},8909:(e,t,i)=>{e.exports={parallel:i(5946),serial:i(6893),serialOrdered:i(8424)}},9407:e=>{function t(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}e.exports=function(e){Object.keys(e.jobs).forEach(t.bind(e)),e.jobs={}}},7797:(e,t,i)=>{var n=i(4457);e.exports=function(e){var t=!1;return n((function(){t=!0})),function(i,a){t?e(i,a):n((function(){e(i,a)}))}}},4457:e=>{e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},4407:(e,t,i)=>{var n=i(7797),a=i(9407);e.exports=function(e,t,i,s){var o=i.keyedList?i.keyedList[i.index]:i.index;i.jobs[o]=function(e,t,i,a){return 2==e.length?e(i,n(a)):e(i,t,n(a))}(t,o,e[o],(function(e,t){o in i.jobs&&(delete i.jobs[o],e?a(i):i.results[o]=t,s(e,i.results))}))}},264:e=>{e.exports=function(e,t){var i=!Array.isArray(e),n={index:0,keyedList:i||t?Object.keys(e):null,jobs:{},results:i?{}:[],size:i?Object.keys(e).length:e.length};return t&&n.keyedList.sort(i?t:function(i,n){return t(e[i],e[n])}),n}},9712:(e,t,i)=>{var n=i(9407),a=i(7797);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,n(this),a(e)(null,this.results))}},5946:(e,t,i)=>{var n=i(4407),a=i(264),s=i(9712);e.exports=function(e,t,i){for(var o=a(e);o.index<(o.keyedList||e).length;)n(e,t,o,(function(e,t){e?i(e,t):0!==Object.keys(o.jobs).length||i(null,o.results)})),o.index++;return s.bind(o,i)}},6893:(e,t,i)=>{var n=i(8424);e.exports=function(e,t,i){return n(e,t,null,i)}},8424:(e,t,i)=>{var n=i(4407),a=i(264),s=i(9712);function o(e,t){return e<t?-1:e>t?1:0}e.exports=function(e,t,i,o){var r=a(e,i);return n(e,t,r,(function i(a,s){a?o(a,s):(r.index++,r.index<(r.keyedList||e).length?n(e,t,r,i):o(null,r.results))})),s.bind(r,o)},e.exports.ascending=o,e.exports.descending=function(e,t){return-1*o(e,t)}},663:e=>{"use strict";function t(e,t,i){return t=t instanceof RegExp?t:new RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),e.replace(t,i)}var i={clean:function(e){if("string"!=typeof e)throw new Error("Expected a string, received: "+e);return e=t(e,"./","/"),e=t(e,"..","."),e=t(e," ","-"),e=t(e,/^[~^:?*\\\-]/g,""),e=t(e,/[~^:?*\\]/g,"-"),e=t(e,/[~^:?*\\\-]$/g,""),e=t(e,"@{","-"),e=t(e,/\.$/g,""),e=t(e,/\/$/g,""),t(e,/\.lock$/g,"")}};e.exports=i},7951:(e,t,i)=>{const n=i(2880),a={};for(const e of Object.keys(n))a[n[e]]=e;const s={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=s;for(const e of Object.keys(s)){if(!("channels"in s[e]))throw new Error("missing channels property: "+e);if(!("labels"in s[e]))throw new Error("missing channel labels property: "+e);if(s[e].labels.length!==s[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:i}=s[e];delete s[e].channels,delete s[e].labels,Object.defineProperty(s[e],"channels",{value:t}),Object.defineProperty(s[e],"labels",{value:i})}s.rgb.hsl=function(e){const t=e[0]/255,i=e[1]/255,n=e[2]/255,a=Math.min(t,i,n),s=Math.max(t,i,n),o=s-a;let r,c;s===a?r=0:t===s?r=(i-n)/o:i===s?r=2+(n-t)/o:n===s&&(r=4+(t-i)/o),r=Math.min(60*r,360),r<0&&(r+=360);const u=(a+s)/2;return c=s===a?0:u<=.5?o/(s+a):o/(2-s-a),[r,100*c,100*u]},s.rgb.hsv=function(e){let t,i,n,a,s;const o=e[0]/255,r=e[1]/255,c=e[2]/255,u=Math.max(o,r,c),l=u-Math.min(o,r,c),p=function(e){return(u-e)/6/l+.5};return 0===l?(a=0,s=0):(s=l/u,t=p(o),i=p(r),n=p(c),o===u?a=n-i:r===u?a=1/3+t-n:c===u&&(a=2/3+i-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*s,100*u]},s.rgb.hwb=function(e){const t=e[0],i=e[1];let n=e[2];const a=s.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(i,n));return n=1-1/255*Math.max(t,Math.max(i,n)),[a,100*o,100*n]},s.rgb.cmyk=function(e){const t=e[0]/255,i=e[1]/255,n=e[2]/255,a=Math.min(1-t,1-i,1-n);return[100*((1-t-a)/(1-a)||0),100*((1-i-a)/(1-a)||0),100*((1-n-a)/(1-a)||0),100*a]},s.rgb.keyword=function(e){const t=a[e];if(t)return t;let i,s=1/0;for(const t of Object.keys(n)){const a=(r=n[t],((o=e)[0]-r[0])**2+(o[1]-r[1])**2+(o[2]-r[2])**2);a<s&&(s=a,i=t)}var o,r;return i},s.keyword.rgb=function(e){return n[e]},s.rgb.xyz=function(e){let t=e[0]/255,i=e[1]/255,n=e[2]/255;return t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,[100*(.4124*t+.3576*i+.1805*n),100*(.2126*t+.7152*i+.0722*n),100*(.0193*t+.1192*i+.9505*n)]},s.rgb.lab=function(e){const t=s.rgb.xyz(e);let i=t[0],n=t[1],a=t[2];return i/=95.047,n/=100,a/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,[116*n-16,500*(i-n),200*(n-a)]},s.hsl.rgb=function(e){const t=e[0]/360,i=e[1]/100,n=e[2]/100;let a,s,o;if(0===i)return o=255*n,[o,o,o];a=n<.5?n*(1+i):n+i-n*i;const r=2*n-a,c=[0,0,0];for(let e=0;e<3;e++)s=t+1/3*-(e-1),s<0&&s++,s>1&&s--,o=6*s<1?r+6*(a-r)*s:2*s<1?a:3*s<2?r+(a-r)*(2/3-s)*6:r,c[e]=255*o;return c},s.hsl.hsv=function(e){const t=e[0];let i=e[1]/100,n=e[2]/100,a=i;const s=Math.max(n,.01);return n*=2,i*=n<=1?n:2-n,a*=s<=1?s:2-s,[t,100*(0===n?2*a/(s+a):2*i/(n+i)),(n+i)/2*100]},s.hsv.rgb=function(e){const t=e[0]/60,i=e[1]/100;let n=e[2]/100;const a=Math.floor(t)%6,s=t-Math.floor(t),o=255*n*(1-i),r=255*n*(1-i*s),c=255*n*(1-i*(1-s));switch(n*=255,a){case 0:return[n,c,o];case 1:return[r,n,o];case 2:return[o,n,c];case 3:return[o,r,n];case 4:return[c,o,n];case 5:return[n,o,r]}},s.hsv.hsl=function(e){const t=e[0],i=e[1]/100,n=e[2]/100,a=Math.max(n,.01);let s,o;o=(2-i)*n;const r=(2-i)*a;return s=i*a,s/=r<=1?r:2-r,s=s||0,o/=2,[t,100*s,100*o]},s.hwb.rgb=function(e){const t=e[0]/360;let i=e[1]/100,n=e[2]/100;const a=i+n;let s;a>1&&(i/=a,n/=a);const o=Math.floor(6*t),r=1-n;s=6*t-o,1&o&&(s=1-s);const c=i+s*(r-i);let u,l,p;switch(o){default:case 6:case 0:u=r,l=c,p=i;break;case 1:u=c,l=r,p=i;break;case 2:u=i,l=r,p=c;break;case 3:u=i,l=c,p=r;break;case 4:u=c,l=i,p=r;break;case 5:u=r,l=i,p=c}return[255*u,255*l,255*p]},s.cmyk.rgb=function(e){const t=e[0]/100,i=e[1]/100,n=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))]},s.xyz.rgb=function(e){const t=e[0]/100,i=e[1]/100,n=e[2]/100;let a,s,o;return a=3.2406*t+-1.5372*i+-.4986*n,s=-.9689*t+1.8758*i+.0415*n,o=.0557*t+-.204*i+1.057*n,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[255*a,255*s,255*o]},s.xyz.lab=function(e){let t=e[0],i=e[1],n=e[2];return t/=95.047,i/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,[116*i-16,500*(t-i),200*(i-n)]},s.lab.xyz=function(e){let t,i,n;i=(e[0]+16)/116,t=e[1]/500+i,n=i-e[2]/200;const a=i**3,s=t**3,o=n**3;return i=a>.008856?a:(i-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,t*=95.047,i*=100,n*=108.883,[t,i,n]},s.lab.lch=function(e){const t=e[0],i=e[1],n=e[2];let a;return a=360*Math.atan2(n,i)/2/Math.PI,a<0&&(a+=360),[t,Math.sqrt(i*i+n*n),a]},s.lch.lab=function(e){const t=e[0],i=e[1],n=e[2]/360*2*Math.PI;return[t,i*Math.cos(n),i*Math.sin(n)]},s.rgb.ansi16=function(e,t=null){const[i,n,a]=e;let o=null===t?s.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),0===o)return 30;let r=30+(Math.round(a/255)<<2|Math.round(n/255)<<1|Math.round(i/255));return 2===o&&(r+=60),r},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){const t=e[0],i=e[1],n=e[2];return t===i&&i===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},s.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const i=.5*(1+~~(e>50));return[(1&t)*i*255,(t>>1&1)*i*255,(t>>2&1)*i*255]},s.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},s.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},s.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let i=t[0];3===t[0].length&&(i=i.split("").map((e=>e+e)).join(""));const n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},s.rgb.hcg=function(e){const t=e[0]/255,i=e[1]/255,n=e[2]/255,a=Math.max(Math.max(t,i),n),s=Math.min(Math.min(t,i),n),o=a-s;let r,c;return r=o<1?s/(1-o):0,c=o<=0?0:a===t?(i-n)/o%6:a===i?2+(n-t)/o:4+(t-i)/o,c/=6,c%=1,[360*c,100*o,100*r]},s.hsl.hcg=function(e){const t=e[1]/100,i=e[2]/100,n=i<.5?2*t*i:2*t*(1-i);let a=0;return n<1&&(a=(i-.5*n)/(1-n)),[e[0],100*n,100*a]},s.hsv.hcg=function(e){const t=e[1]/100,i=e[2]/100,n=t*i;let a=0;return n<1&&(a=(i-n)/(1-n)),[e[0],100*n,100*a]},s.hcg.rgb=function(e){const t=e[0]/360,i=e[1]/100,n=e[2]/100;if(0===i)return[255*n,255*n,255*n];const a=[0,0,0],s=t%1*6,o=s%1,r=1-o;let c=0;switch(Math.floor(s)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=r,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=r,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=r}return c=(1-i)*n,[255*(i*a[0]+c),255*(i*a[1]+c),255*(i*a[2]+c)]},s.hcg.hsv=function(e){const t=e[1]/100,i=t+e[2]/100*(1-t);let n=0;return i>0&&(n=t/i),[e[0],100*n,100*i]},s.hcg.hsl=function(e){const t=e[1]/100,i=e[2]/100*(1-t)+.5*t;let n=0;return i>0&&i<.5?n=t/(2*i):i>=.5&&i<1&&(n=t/(2*(1-i))),[e[0],100*n,100*i]},s.hcg.hwb=function(e){const t=e[1]/100,i=t+e[2]/100*(1-t);return[e[0],100*(i-t),100*(1-i)]},s.hwb.hcg=function(e){const t=e[1]/100,i=1-e[2]/100,n=i-t;let a=0;return n<1&&(a=(i-n)/(1-n)),[e[0],100*n,100*a]},s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},s.gray.hsl=function(e){return[0,0,e[0]]},s.gray.hsv=s.gray.hsl,s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(i.length)+i},s.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},8666:(e,t,i)=>{const n=i(7951),a=i(1247),s={};Object.keys(n).forEach((e=>{s[e]={},Object.defineProperty(s[e],"channels",{value:n[e].channels}),Object.defineProperty(s[e],"labels",{value:n[e].labels});const t=a(e);Object.keys(t).forEach((i=>{const n=t[i];s[e][i]=function(e){const t=function(...t){const i=t[0];if(null==i)return i;i.length>1&&(t=i);const n=e(t);if("object"==typeof n)for(let e=n.length,t=0;t<e;t++)n[t]=Math.round(n[t]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(n),s[e][i].raw=function(e){const t=function(...t){const i=t[0];return null==i?i:(i.length>1&&(t=i),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))})),e.exports=s},1247:(e,t,i)=>{const n=i(7951);function a(e,t){return function(i){return t(e(i))}}function s(e,t){const i=[t[e].parent,e];let s=n[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)i.unshift(t[o].parent),s=a(n[t[o].parent][o],s),o=t[o].parent;return s.conversion=i,s}e.exports=function(e){const t=function(e){const t=function(){const e={},t=Object.keys(n);for(let i=t.length,n=0;n<i;n++)e[t[n]]={distance:-1,parent:null};return e}(),i=[e];for(t[e].distance=0;i.length;){const e=i.pop(),a=Object.keys(n[e]);for(let n=a.length,s=0;s<n;s++){const n=a[s],o=t[n];-1===o.distance&&(o.distance=t[e].distance+1,o.parent=e,i.unshift(n))}}return t}(e),i={},a=Object.keys(t);for(let e=a.length,n=0;n<e;n++){const e=a[n];null!==t[e].parent&&(i[e]=s(e,t))}return i}},2880:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},5645:(e,t,i)=>{var n=i(9023),a=i(2203).Stream,s=i(4145);function o(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}e.exports=o,n.inherits(o,a),o.create=function(e){var t=new this;for(var i in e=e||{})t[i]=e[i];return t},o.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},o.prototype.append=function(e){if(o.isStreamLike(e)){if(!(e instanceof s)){var t=s.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},o.prototype.pipe=function(e,t){return a.prototype.pipe.call(this,e,t),this.resume(),e},o.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},o.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){o.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},o.prototype._pipeNext=function(e){if(this._currentStream=e,o.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},o.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},o.prototype.write=function(e){this.emit("data",e)},o.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},o.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},o.prototype.end=function(){this._reset(),this.emit("end")},o.prototype.destroy=function(){this._reset(),this.emit("close")},o.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},o.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},o.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},o.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},338:(e,t)=>{var i;i=function(e){e.version="1.2.2";var t=function(){for(var e=0,t=new Array(256),i=0;256!=i;++i)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=i)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[i]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}(),i=function(e){var t=0,i=0,n=0,a="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)a[n]=e[n];for(n=0;256!=n;++n)for(i=e[n],t=256+n;t<4096;t+=256)i=a[t]=i>>>8^e[255&i];var s=[];for(n=1;16!=n;++n)s[n-1]="undefined"!=typeof Int32Array?a.subarray(256*n,256*n+256):a.slice(256*n,256*n+256);return s}(t),n=i[0],a=i[1],s=i[2],o=i[3],r=i[4],c=i[5],u=i[6],l=i[7],p=i[8],d=i[9],f=i[10],h=i[11],m=i[12],g=i[13],b=i[14];e.table=t,e.bstr=function(e,i){for(var n=~i,a=0,s=e.length;a<s;)n=n>>>8^t[255&(n^e.charCodeAt(a++))];return~n},e.buf=function(e,i){for(var v=~i,x=e.length-15,y=0;y<x;)v=b[e[y++]^255&v]^g[e[y++]^v>>8&255]^m[e[y++]^v>>16&255]^h[e[y++]^v>>>24]^f[e[y++]]^d[e[y++]]^p[e[y++]]^l[e[y++]]^u[e[y++]]^c[e[y++]]^r[e[y++]]^o[e[y++]]^s[e[y++]]^a[e[y++]]^n[e[y++]]^t[e[y++]];for(x+=15;y<x;)v=v>>>8^t[255&(v^e[y++])];return~v},e.str=function(e,i){for(var n=~i,a=0,s=e.length,o=0,r=0;a<s;)(o=e.charCodeAt(a++))<128?n=n>>>8^t[255&(n^o)]:o<2048?n=(n=n>>>8^t[255&(n^(192|o>>6&31))])>>>8^t[255&(n^(128|63&o))]:o>=55296&&o<57344?(o=64+(1023&o),r=1023&e.charCodeAt(a++),n=(n=(n=(n=n>>>8^t[255&(n^(240|o>>8&7))])>>>8^t[255&(n^(128|o>>2&63))])>>>8^t[255&(n^(128|r>>6&15|(3&o)<<4))])>>>8^t[255&(n^(128|63&r))]):n=(n=(n=n>>>8^t[255&(n^(224|o>>12&15))])>>>8^t[255&(n^(128|o>>6&63))])>>>8^t[255&(n^(128|63&o))];return~n}},"undefined"==typeof DO_NOT_EXPORT_CRC?i(t):i({})},7989:(e,t,i)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const i="color: "+this.color;t.splice(1,0,i,"color: inherit");let n=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(a=n))})),t.splice(a,0,i)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=i(1236)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1236:(e,t,i)=>{e.exports=function(e){function t(e){let i,a,s,o=null;function r(...e){if(!r.enabled)return;const n=r,a=Number(new Date),s=a-(i||a);n.diff=s,n.prev=i,n.curr=a,i=a,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((i,a)=>{if("%%"===i)return"%";o++;const s=t.formatters[a];if("function"==typeof s){const t=e[o];i=s.call(n,t),e.splice(o,1),o--}return i})),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return r.namespace=e,r.useColors=t.useColors(),r.color=t.selectColor(e),r.extend=n,r.destroy=t.destroy,Object.defineProperty(r,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(a!==t.namespaces&&(a=t.namespaces,s=t.enabled(e)),s),set:e=>{o=e}}),"function"==typeof t.init&&t.init(r),r}function n(e,i){const n=t(this.namespace+(void 0===i?":":i)+e);return n.log=this.log,n}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let i;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),a=n.length;for(i=0;i<a;i++)n[i]&&("-"===(e=n[i].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let i,n;for(i=0,n=t.skips.length;i<n;i++)if(t.skips[i].test(e))return!1;for(i=0,n=t.names.length;i<n;i++)if(t.names[i].test(e))return!0;return!1},t.humanize=i(6301),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((i=>{t[i]=e[i]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let i=0;for(let t=0;t<e.length;t++)i=(i<<5)-i+e.charCodeAt(t),i|=0;return t.colors[Math.abs(i)%t.colors.length]},t.enable(t.load()),t}},9221:(e,t,i)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=i(7989):e.exports=i(6221)},6221:(e,t,i)=>{const n=i(2018),a=i(9023);t.init=function(e){e.inspectOpts={};const i=Object.keys(t.inspectOpts);for(let n=0;n<i.length;n++)e.inspectOpts[i[n]]=t.inspectOpts[i[n]]},t.log=function(...e){return process.stderr.write(a.format(...e)+"\n")},t.formatArgs=function(i){const{namespace:n,useColors:a}=this;if(a){const t=this.color,a="[3"+(t<8?t:"8;5;"+t),s=` ${a};1m${n} [0m`;i[0]=s+i[0].split("\n").join("\n"+s),i.push(a+"m+"+e.exports.humanize(this.diff)+"[0m")}else i[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+n+" "+i[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)},t.destroy=a.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=i(459);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const i=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[i]=n,e}),{}),e.exports=i(1236)(t);const{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts)}},2686:(e,t,i)=>{"use strict";const{Transform:n,PassThrough:a}=i(2203),s=i(3106),o=i(6265);e.exports=e=>{const t=(e.headers["content-encoding"]||"").toLowerCase();if(!["gzip","deflate","br"].includes(t))return e;const i="br"===t;if(i&&"function"!=typeof s.createBrotliDecompress)return e.destroy(new Error("Brotli is not supported on Node.js < 12")),e;let r=!0;const c=new n({transform(e,t,i){r=!1,i(null,e)},flush(e){e()}}),u=new a({autoDestroy:!1,destroy(t,i){e.destroy(),i(t)}}),l=i?s.createBrotliDecompress():s.createUnzip();return l.once("error",(t=>{!r||e.readable?u.destroy(t):u.end()})),o(e,u),e.pipe(c).pipe(l).pipe(u),u}},6265:e=>{"use strict";const t=["aborted","complete","headers","httpVersion","httpVersionMinor","httpVersionMajor","method","rawHeaders","rawTrailers","setTimeout","socket","statusCode","statusMessage","trailers","url"];e.exports=(e,i)=>{if(i._readableState.autoDestroy)throw new Error("The second stream must have the `autoDestroy` option set to `false`");const n=new Set(Object.keys(e).concat(t)),a={};for(const t of n)t in i||(a[t]={get(){const i=e[t];return"function"==typeof i?i.bind(e):i},set(i){e[t]=i},enumerable:!0,configurable:!1});return Object.defineProperties(i,a),e.once("aborted",(()=>{i.destroy(),i.emit("aborted")})),e.once("close",(()=>{e.complete&&i.readable?i.once("end",(()=>{i.emit("close")})):i.emit("close")})),i}},4145:(e,t,i)=>{var n=i(2203).Stream,a=i(9023);function s(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=s,a.inherits(s,n),s.create=function(e,t){var i=new this;for(var n in t=t||{})i[n]=t[n];i.source=e;var a=e.emit;return e.emit=function(){return i._handleEmit(arguments),a.apply(e,arguments)},e.on("error",(function(){})),i.pauseStream&&e.pause(),i},Object.defineProperty(s.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),s.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},s.prototype.resume=function(){this._released||this.release(),this.source.resume()},s.prototype.pause=function(){this.source.pause()},s.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},s.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);return this.resume(),e},s.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))},s.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))}}},5275:(e,t,i)=>{var n=i(4880);function a(e,t){for(var i=[],a=e.length,s=t.length,o=function(e,t){var i=new n(e,t);i.compose();for(var a,s,o=i.getses(),r=e.length-1,c=t.length-1,u=o.length-1;u>=0;--u)o[u].t===i.SES_COMMON?(s?(s.chain={file1index:r,file2index:c,chain:null},s=s.chain):s=a={file1index:r,file2index:c,chain:null},r--,c--):o[u].t===i.SES_DELETE?r--:o[u].t===i.SES_ADD&&c--;var l={file1index:-1,file2index:-1,chain:null};return s?(s.chain=l,a):l}(e,t);null!==o;o=o.chain){var r=a-o.file1index-1,c=s-o.file2index-1;a=o.file1index,s=o.file2index,(r||c)&&i.push({file1:[a+1,r],file2:[s+1,c]})}return i.reverse(),i}e.exports=function(e,t,i){var n=[],s=[e,t,i],o=function(e,t,i){var n,s=a(t,e),o=a(t,i),r=[];function c(e,t){r.push([e.file1[0],t,e.file1[1],e.file2[0],e.file2[1]])}for(n=0;n<s.length;n++)c(s[n],0);for(n=0;n<o.length;n++)c(o[n],2);r.sort((function(e,t){return e[0]-t[0]}));var u=[],l=0;function p(e){e>l&&(u.push([1,l,e-l]),l=e)}for(var d=0;d<r.length;d++){for(var f=d,h=r[d],m=h[0],g=m+h[2];d<r.length-1;){var b=r[d+1],v=b[0];if(v>g)break;g=Math.max(g,v+b[2]),d++}if(p(m),f==d)h[4]>0&&u.push([h[1],h[3],h[4]]);else{var x={0:[e.length,-1,t.length,-1],2:[i.length,-1,t.length,-1]};for(n=f;n<=d;n++){var y=x[(h=r[n])[1]],w=h[0],D=w+h[2],_=h[3],E=_+h[4];y[0]=Math.min(_,y[0]),y[1]=Math.max(E,y[1]),y[2]=Math.min(w,y[2]),y[3]=Math.max(D,y[3])}var F=x[0][0]+(m-x[0][2]),k=x[0][1]+(g-x[0][3]),C=x[2][0]+(m-x[2][2]),j=x[2][1]+(g-x[2][3]);u.push([-1,F,k-F,m,g-m,C,j-C])}l=g}return p(t.length),u}(e,t,i),r=[];function c(){r.length&&n.push({ok:r}),r=[]}function u(e){for(var t=0;t<e.length;t++)r.push(e[t])}function l(t){if(t[2]!=t[6])return!0;for(var n=t[1],a=t[5],s=0;s<t[2];s++)if(e[s+n]!=i[s+a])return!0;return!1}for(var p=0;p<o.length;p++){var d=o[p],f=d[0];-1==f?l(d)?(c(),n.push({conflict:{a:e.slice(d[1],d[1]+d[2]),aIndex:d[1],o:t.slice(d[3],d[3]+d[4]),oIndex:d[3],b:i.slice(d[5],d[5]+d[6]),bIndex:d[5]}})):u(s[0].slice(d[1],d[1]+d[2])):u(s[f].slice(d[1],d[1]+d[2]))}return c(),n}},4880:e=>{e.exports=function(e,t){var i,n,a=e,s=t,o=a.length,r=s.length,c=!1,u=null,l=o+1,p=[],d=[],f=[],h="",m=function(e,t,i){return{x:e,y:t,k:i}},g=function(e,t){return{elem:e,t}},b=function(e,t,i){var n,c,u;for(n=t>i?p[e-1+l]:p[e+1+l],c=(u=Math.max(t,i))-e;c<o&&u<r&&a[c]===s[u];)++c,++u;return p[e+l]=d.length,d[d.length]=new m(c,u,n),u};return o>=r&&(i=a,n=o,a=s,s=i,o=r,r=n,c=!0,l=o+1),{SES_DELETE:-1,SES_COMMON:0,SES_ADD:1,editdistance:function(){return u},getlcs:function(){return h},getses:function(){return f},compose:function(){var e,t,i,n,v,x,y,w;for(e=r-o,t=o+r+3,i={},y=0;y<t;++y)i[y]=-1,p[y]=-1;n=-1;do{for(w=-++n;w<=e-1;++w)i[w+l]=b(w,i[w-1+l]+1,i[w+1+l]);for(w=e+n;w>=e+1;--w)i[w+l]=b(w,i[w-1+l]+1,i[w+1+l]);i[e+l]=b(e,i[e-1+l]+1,i[e+1+l])}while(i[e+l]!==r);for(u=e+2*n,v=p[e+l],x=[];-1!==v;)x[x.length]=new m(d[v].x,d[v].y,null),v=d[v].k;!function(e){var t,i,n;for(t=i=0,n=e.length-1;n>=0;--n)for(;t<e[n].x||i<e[n].y;)e[n].y-e[n].x>i-t?(f[f.length]=new g(s[i],c?-1:1),++i):e[n].y-e[n].x<i-t?(f[f.length]=new g(a[t],c?1:-1),++t):(f[f.length]=new g(a[t],0),h+=a[t],++t,++i)}(x)}}}},9650:(e,t,i)=>{const n=i(9896),a=i(6928),s=i(857),o=i(6982),r=i(2108).version,c=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;function u(e){console.log(`[dotenv@${r}][DEBUG] ${e}`)}function l(e){return e&&e.DOTENV_KEY&&e.DOTENV_KEY.length>0?e.DOTENV_KEY:process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0?process.env.DOTENV_KEY:""}function p(e,t){let i;try{i=new URL(t)}catch(e){if("ERR_INVALID_URL"===e.code)throw new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenv.org/vault/.env.vault?environment=development");throw e}const n=i.password;if(!n)throw new Error("INVALID_DOTENV_KEY: Missing key part");const a=i.searchParams.get("environment");if(!a)throw new Error("INVALID_DOTENV_KEY: Missing environment part");const s=`DOTENV_VAULT_${a.toUpperCase()}`,o=e.parsed[s];if(!o)throw new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${s} in your .env.vault file.`);return{ciphertext:o,key:n}}function d(e){let t=a.resolve(process.cwd(),".env");return e&&e.path&&e.path.length>0&&(t=e.path),t.endsWith(".vault")?t:`${t}.vault`}const f={configDotenv:function(e){let t=a.resolve(process.cwd(),".env"),i="utf8";const o=Boolean(e&&e.debug);var r;e&&(null!=e.path&&(t="~"===(r=e.path)[0]?a.join(s.homedir(),r.slice(1)):r),null!=e.encoding&&(i=e.encoding));try{const a=f.parse(n.readFileSync(t,{encoding:i}));let s=process.env;return e&&null!=e.processEnv&&(s=e.processEnv),f.populate(s,a,e),{parsed:a}}catch(e){return o&&u(`Failed to load ${t} ${e.message}`),{error:e}}},_configVault:function(e){console.log(`[dotenv@${r}][INFO] Loading env from encrypted .env.vault`);const t=f._parseVault(e);let i=process.env;return e&&null!=e.processEnv&&(i=e.processEnv),f.populate(i,t,e),{parsed:t}},_parseVault:function(e){const t=d(e),i=f.configDotenv({path:t});if(!i.parsed)throw new Error(`MISSING_DATA: Cannot parse ${t} for an unknown reason`);const n=l(e).split(","),a=n.length;let s;for(let e=0;e<a;e++)try{const t=p(i,n[e].trim());s=f.decrypt(t.ciphertext,t.key);break}catch(t){if(e+1>=a)throw t}return f.parse(s)},config:function(e){const t=d(e);return 0===l(e).length?f.configDotenv(e):n.existsSync(t)?f._configVault(e):(i=`You set DOTENV_KEY but you are missing a .env.vault file at ${t}. Did you forget to build it?`,console.log(`[dotenv@${r}][WARN] ${i}`),f.configDotenv(e));var i},decrypt:function(e,t){const i=Buffer.from(t.slice(-64),"hex");let n=Buffer.from(e,"base64");const a=n.slice(0,12),s=n.slice(-16);n=n.slice(12,-16);try{const e=o.createDecipheriv("aes-256-gcm",i,a);return e.setAuthTag(s),`${e.update(n)}${e.final()}`}catch(e){const t=e instanceof RangeError,i="Invalid key length"===e.message,n="Unsupported state or unable to authenticate data"===e.message;if(t||i)throw new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");if(n)throw new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw console.error("Error: ",e.code),console.error("Error: ",e.message),e}},parse:function(e){const t={};let i,n=e.toString();for(n=n.replace(/\r\n?/gm,"\n");null!=(i=c.exec(n));){const e=i[1];let n=i[2]||"";n=n.trim();const a=n[0];n=n.replace(/^(['"`])([\s\S]*)\1$/gm,"$2"),'"'===a&&(n=n.replace(/\\n/g,"\n"),n=n.replace(/\\r/g,"\r")),t[e]=n}return t},populate:function(e,t,i={}){const n=Boolean(i&&i.debug),a=Boolean(i&&i.override);if("object"!=typeof t)throw new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");for(const i of Object.keys(t))Object.prototype.hasOwnProperty.call(e,i)?(!0===a&&(e[i]=t[i]),n&&u(!0===a?`"${i}" is already defined and WAS overwritten`:`"${i}" is already defined and was NOT overwritten`)):e[i]=t[i]}};e.exports.configDotenv=f.configDotenv,e.exports._configVault=f._configVault,e.exports._parseVault=f._parseVault,e.exports.config=f.config,e.exports.decrypt=f.decrypt,e.exports.parse=f.parse,e.exports.populate=f.populate,e.exports=f},5895:e=>{"use strict";e.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}},7829:(e,t,i)=>{const{dirname:n,resolve:a}=i(6928),{readdirSync:s,statSync:o}=i(9896);e.exports=function(e,t){let i,r=a(".",e);for(o(r).isDirectory()||(r=n(r));;){if(i=t(r,s(r)),i)return a(r,i);if(r=n(i=r),i===r)break}}},1615:(e,t,i)=>{var n;e.exports=function(){if(!n){try{n=i(9221)("follow-redirects")}catch(e){}"function"!=typeof n&&(n=function(){})}n.apply(null,arguments)}},3520:(e,t,i)=>{var n=i(7016),a=n.URL,s=i(8611),o=i(5692),r=i(2203).Writable,c=i(2613),u=i(1615),l=!1;try{c(new a)}catch(e){l="ERR_INVALID_URL"===e.code}var p=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],d=["abort","aborted","connect","error","socket","timeout"],f=Object.create(null);d.forEach((function(e){f[e]=function(t,i,n){this._redirectable.emit(e,t,i,n)}}));var h=C("ERR_INVALID_URL","Invalid URL",TypeError),m=C("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),g=C("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",m),b=C("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),v=C("ERR_STREAM_WRITE_AFTER_END","write after end"),x=r.prototype.destroy||D;function y(e,t){r.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var i=this;this._onNativeResponse=function(e){try{i._processResponse(e)}catch(e){i.emit("error",e instanceof m?e:new m({cause:e}))}},this._performRequest()}function w(e){var t={maxRedirects:21,maxBodyLength:10485760},i={};return Object.keys(e).forEach((function(n){var s=n+":",o=i[s]=e[n],r=t[n]=Object.create(o);Object.defineProperties(r,{request:{value:function(e,n,o){return a&&e instanceof a?e=F(e):O(e)?e=F(_(e)):(o=n,n=E(e),e={protocol:s}),A(n)&&(o=n,n=null),(n=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,n)).nativeProtocols=i,O(n.host)||O(n.hostname)||(n.hostname="::1"),c.equal(n.protocol,s,"protocol mismatch"),u("options",n),new y(n,o)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,i){var n=r.request(e,t,i);return n.end(),n},configurable:!0,enumerable:!0,writable:!0}})})),t}function D(){}function _(e){var t;if(l)t=new a(e);else if(!O((t=E(n.parse(e))).protocol))throw new h({input:e});return t}function E(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new h({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new h({input:e.href||e});return e}function F(e,t){var i=t||{};for(var n of p)i[n]=e[n];return i.hostname.startsWith("[")&&(i.hostname=i.hostname.slice(1,-1)),""!==i.port&&(i.port=Number(i.port)),i.path=i.search?i.pathname+i.search:i.pathname,i}function k(e,t){var i;for(var n in t)e.test(n)&&(i=t[n],delete t[n]);return null==i?void 0:String(i).trim()}function C(e,t,i){function n(i){Error.captureStackTrace(this,this.constructor),Object.assign(this,i||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return n.prototype=new(i||Error),Object.defineProperties(n.prototype,{constructor:{value:n,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),n}function j(e,t){for(var i of d)e.removeListener(i,f[i]);e.on("error",D),e.destroy(t)}function O(e){return"string"==typeof e||e instanceof String}function A(e){return"function"==typeof e}y.prototype=Object.create(r.prototype),y.prototype.abort=function(){j(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},y.prototype.destroy=function(e){return j(this._currentRequest,e),x.call(this,e),this},y.prototype.write=function(e,t,i){if(this._ending)throw new v;if(!(O(e)||"object"==typeof(n=e)&&"length"in n))throw new TypeError("data should be a string, Buffer or Uint8Array");var n;A(t)&&(i=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,i)):(this.emit("error",new b),this.abort()):i&&i()},y.prototype.end=function(e,t,i){if(A(e)?(i=e,e=t=null):A(t)&&(i=t,t=null),e){var n=this,a=this._currentRequest;this.write(e,t,(function(){n._ended=!0,a.end(null,null,i)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,i)},y.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},y.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},y.prototype.setTimeout=function(e,t){var i=this;function n(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function a(t){i._timeout&&clearTimeout(i._timeout),i._timeout=setTimeout((function(){i.emit("timeout"),s()}),e),n(t)}function s(){i._timeout&&(clearTimeout(i._timeout),i._timeout=null),i.removeListener("abort",s),i.removeListener("error",s),i.removeListener("response",s),i.removeListener("close",s),t&&i.removeListener("timeout",t),i.socket||i._currentRequest.removeListener("socket",a)}return t&&this.on("timeout",t),this.socket?a(this.socket):this._currentRequest.once("socket",a),this.on("socket",n),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){y.prototype[e]=function(t,i){return this._currentRequest[e](t,i)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(y.prototype,e,{get:function(){return this._currentRequest[e]}})})),y.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},y.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var i=e.slice(0,-1);this._options.agent=this._options.agents[i]}var a=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var s of(a._redirectable=this,d))a.on(s,f[s]);if(this._currentUrl=/^\//.test(this._options.path)?n.format(this._options):this._options.path,this._isRedirect){var o=0,r=this,c=this._requestBodyBuffers;!function e(t){if(a===r._currentRequest)if(t)r.emit("error",t);else if(o<c.length){var i=c[o++];a.finished||a.write(i.data,i.encoding,e)}else r._ended&&a.end()}()}},y.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var i,s=e.headers.location;if(!s||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(j(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new g;var o=this._options.beforeRedirect;o&&(i=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var r=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],k(/^content-/i,this._options.headers));var p,d,f=k(/^host$/i,this._options.headers),h=_(this._currentUrl),m=f||h.host,b=/^\w+:/.test(s)?this._currentUrl:n.format(Object.assign(h,{host:m})),v=(p=s,d=b,l?new a(p,d):_(n.resolve(d,p)));if(u("redirecting to",v.href),this._isRedirect=!0,F(v,this._options),(v.protocol!==h.protocol&&"https:"!==v.protocol||v.host!==m&&!function(e,t){c(O(e)&&O(t));var i=e.length-t.length-1;return i>0&&"."===e[i]&&e.endsWith(t)}(v.host,m))&&k(/^(?:authorization|cookie)$/i,this._options.headers),A(o)){var x={headers:e.headers,statusCode:t},y={url:b,method:r,headers:i};o(this._options,x,y),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=w({http:s,https:o}),e.exports.wrap=w},2925:(e,t,i)=>{var n=i(5645),a=i(9023),s=i(6928),o=i(8611),r=i(5692),c=i(7016).parse,u=i(9896),l=i(2203).Stream,p=i(9613),d=i(8909),f=i(6686);function h(e){if(!(this instanceof h))return new h(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],n.call(this),e=e||{})this[t]=e[t]}e.exports=h,a.inherits(h,n),h.LINE_BREAK="\r\n",h.DEFAULT_CONTENT_TYPE="application/octet-stream",h.prototype.append=function(e,t,i){"string"==typeof(i=i||{})&&(i={filename:i});var s=n.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),a.isArray(t))this._error(new Error("Arrays are not supported."));else{var o=this._multiPartHeader(e,t,i),r=this._multiPartFooter();s(o),s(t),s(r),this._trackLength(o,t,i)}},h.prototype._trackLength=function(e,t,i){var n=0;null!=i.knownLength?n+=+i.knownLength:Buffer.isBuffer(t)?n=t.length:"string"==typeof t&&(n=Buffer.byteLength(t)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+h.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof l)&&(i.knownLength||this._valuesToMeasure.push(t))},h.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):u.stat(e.path,(function(i,n){var a;i?t(i):(a=n.size-(e.start?e.start:0),t(null,a))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(i){e.pause(),t(null,+i.headers["content-length"])})),e.resume()):t("Unknown stream")},h.prototype._multiPartHeader=function(e,t,i){if("string"==typeof i.header)return i.header;var n,a=this._getContentDisposition(t,i),s=this._getContentType(t,i),o="",r={"Content-Disposition":["form-data",'name="'+e+'"'].concat(a||[]),"Content-Type":[].concat(s||[])};for(var c in"object"==typeof i.header&&f(r,i.header),r)r.hasOwnProperty(c)&&null!=(n=r[c])&&(Array.isArray(n)||(n=[n]),n.length&&(o+=c+": "+n.join("; ")+h.LINE_BREAK));return"--"+this.getBoundary()+h.LINE_BREAK+o+h.LINE_BREAK},h.prototype._getContentDisposition=function(e,t){var i,n;return"string"==typeof t.filepath?i=s.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?i=s.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(i=s.basename(e.client._httpMessage.path||"")),i&&(n='filename="'+i+'"'),n},h.prototype._getContentType=function(e,t){var i=t.contentType;return!i&&e.name&&(i=p.lookup(e.name)),!i&&e.path&&(i=p.lookup(e.path)),!i&&e.readable&&e.hasOwnProperty("httpVersion")&&(i=e.headers["content-type"]),i||!t.filepath&&!t.filename||(i=p.lookup(t.filepath||t.filename)),i||"object"!=typeof e||(i=h.DEFAULT_CONTENT_TYPE),i},h.prototype._multiPartFooter=function(){return function(e){var t=h.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},h.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+h.LINE_BREAK},h.prototype.getHeaders=function(e){var t,i={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(i[t.toLowerCase()]=e[t]);return i},h.prototype.setBoundary=function(e){this._boundary=e},h.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},h.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),i=0,n=this._streams.length;i<n;i++)"function"!=typeof this._streams[i]&&(e=Buffer.isBuffer(this._streams[i])?Buffer.concat([e,this._streams[i]]):Buffer.concat([e,Buffer.from(this._streams[i])]),"string"==typeof this._streams[i]&&this._streams[i].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(h.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},h.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},h.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},h.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},h.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?d.parallel(this._valuesToMeasure,this._lengthRetriever,(function(i,n){i?e(i):(n.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},h.prototype.submit=function(e,t){var i,n,a={method:"post"};return"string"==typeof e?(e=c(e),n=f({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},a)):(n=f(e,a)).port||(n.port="https:"==n.protocol?443:80),n.headers=this.getHeaders(e.headers),i="https:"==n.protocol?r.request(n):o.request(n),this.getLength(function(e,n){if(e&&"Unknown stream"!==e)this._error(e);else if(n&&i.setHeader("Content-Length",n),this.pipe(i),t){var a,s=function(e,n){return i.removeListener("error",s),i.removeListener("response",a),t.call(this,e,n)};a=s.bind(this,null),i.on("error",s),i.on("response",a)}}.bind(this)),i},h.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},h.prototype.toString=function(){return"[object FormData]"}},6686:e=>{e.exports=function(e,t){return Object.keys(t).forEach((function(i){e[i]=e[i]||t[i]})),e}},2838:e=>{"use strict";e.exports=function(e){if(void 0===e&&(e=2),e>=Error.stackTraceLimit)throw new TypeError("getCallerFile(position) requires position be less then Error.stackTraceLimit but position was: `"+e+"` and Error.stackTraceLimit was: `"+Error.stackTraceLimit+"`");var t=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var i=(new Error).stack;if(Error.prepareStackTrace=t,null!==i&&"object"==typeof i)return i[e]?i[e].getFileName():void 0}},5704:e=>{"use strict";e.exports=(e,t=process.argv)=>{const i=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(i+e),a=t.indexOf("--");return-1!==n&&(-1===a||n<a)}},1203:e=>{function t(e){return Array.isArray(e)?e:[e]}const i=/^\s+$/,n=/(?:[^\\]|^)\\$/,a=/^\\!/,s=/^\\#/,o=/\r?\n/g,r=/^\.*\/|^\.+$/;let c="node-ignore";"undefined"!=typeof Symbol&&(c=Symbol.for("node-ignore"));const u=c,l=/([0-z])-([0-z])/g,p=()=>!1,d=[[/^\uFEFF/,()=>""],[/\\?\s+$/,e=>0===e.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,i)=>t+6<i.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,i)=>t+i.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,i,n,a)=>"\\"===t?`\\[${i}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(n)}${a}`:"]"===a&&n.length%2==0?`[${(e=>e.replace(l,((e,t,i)=>t.charCodeAt(0)<=i.charCodeAt(0)?e:"")))(i)}${n}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>(t?`${t}[^/]+`:"[^/]*")+"(?=$|\\/$)"]],f=Object.create(null),h=e=>"string"==typeof e;class m{constructor(e,t,i,n){this.origin=e,this.pattern=t,this.negative=i,this.regex=n}}const g=(e,t)=>{throw new t(e)},b=(e,t,i)=>h(e)?e?!b.isNotRelative(e)||i(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):i("path must not be empty",TypeError):i(`path must be a string, but got \`${t}\``,TypeError),v=e=>r.test(e);b.isNotRelative=v,b.convert=e=>e;class x{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:i=!1}={}){var n;n=u,Object.defineProperty(this,n,{value:true}),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=i,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[u])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&h(e)&&!i.test(e)&&!n.test(e)&&0!==e.indexOf("#"))(e)){const t=((e,t)=>{const i=e;let n=!1;0===e.indexOf("!")&&(n=!0,e=e.substr(1));const o=((e,t)=>{let i=f[e];return i||(i=d.reduce(((t,i)=>t.replace(i[0],i[1].bind(e))),e),f[e]=i),t?new RegExp(i,"i"):new RegExp(i)})(e=e.replace(a,"!").replace(s,"#"),t);return new m(i,e,n,o)})(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,t(h(e)?(e=>e.split(o))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let i=!1,n=!1;return this._rules.forEach((a=>{const{negative:s}=a;n===s&&i!==n||s&&!i&&!n&&!t||a.regex.test(e)&&(i=!s,n=s)})),{ignored:i,unignored:n}}_test(e,t,i,n){const a=e&&b.convert(e);return b(a,e,this._allowRelativePaths?p:g),this._t(a,t,i,n)}_t(e,t,i,n){if(e in t)return t[e];if(n||(n=e.split("/")),n.pop(),!n.length)return t[e]=this._testOne(e,i);const a=this._t(n.join("/")+"/",t,i,n);return t[e]=a.ignored?a:this._testOne(e,i)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return t(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const y=e=>new x(e);if(y.isPathValid=e=>b(e&&b.convert(e),e,p),y.default=y,e.exports=y,"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,"/");b.convert=e;const t=/^[a-z]:\//i;b.isNotRelative=e=>t.test(e)||v(e)}},9293:(e,t,i)=>{try{var n=i(9023);if("function"!=typeof n.inherits)throw"";e.exports=n.inherits}catch(t){e.exports=i(198)}},198:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}},1664:e=>{"use strict";const t=e=>!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141);e.exports=t,e.exports.default=t},9388:e=>{"use strict";const t=(e,t)=>function(...i){return new(0,t.promiseModule)(((n,a)=>{t.multiArgs?i.push(((...e)=>{t.errorFirst?e[0]?a(e):(e.shift(),n(e)):n(e)})):t.errorFirst?i.push(((e,t)=>{e?a(e):n(t)})):i.push(n),e.apply(this,i)}))};e.exports=(e,i)=>{i=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},i);const n=typeof e;if(null===e||"object"!==n&&"function"!==n)throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null===e?"null":n}\``);const a=e=>{const t=t=>"string"==typeof t?e===t:t.test(e);return i.include?i.include.some(t):!i.exclude.some(t)};let s;s="function"===n?function(...n){return i.excludeMain?e(...n):t(e,i).apply(this,n)}:Object.create(Object.getPrototypeOf(e));for(const n in e){const o=e[n];s[n]="function"==typeof o&&a(n)?t(o,i):o}return s}},9370:(e,t,i)=>{e.exports=i(8761)},9613:(e,t,i)=>{"use strict";var n,a,s,o=i(9370),r=i(6928).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,u=/^text\//i;function l(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),i=t&&o[t[1].toLowerCase()];return i&&i.charset?i.charset:!(!t||!u.test(t[1]))&&"UTF-8"}t.charset=l,t.charsets={lookup:l},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var i=-1===e.indexOf("/")?t.lookup(e):e;if(!i)return!1;if(-1===i.indexOf("charset")){var n=t.charset(i);n&&(i+="; charset="+n.toLowerCase())}return i},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var i=c.exec(e),n=i&&t.extensions[i[1].toLowerCase()];return!(!n||!n.length)&&n[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var i=r("x."+e).toLowerCase().substr(1);return i&&t.types[i]||!1},t.types=Object.create(null),n=t.extensions,a=t.types,s=["nginx","apache",void 0,"iana"],Object.keys(o).forEach((function(e){var t=o[e],i=t.extensions;if(i&&i.length){n[e]=i;for(var r=0;r<i.length;r++){var c=i[r];if(a[c]){var u=s.indexOf(o[a[c]].source),l=s.indexOf(t.source);if("application/octet-stream"!==a[c]&&(u>l||u===l&&"application/"===a[c].substr(0,12)))continue}a[c]=e}}}))},6301:e=>{var t=1e3,i=60*t,n=60*i,a=24*n;function s(e,t,i,n){var a=t>=1.5*i;return Math.round(e/i)+" "+n+(a?"s":"")}e.exports=function(e,o){o=o||{};var r,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(s){var o=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return 6048e5*o;case"days":case"day":case"d":return o*a;case"hours":case"hour":case"hrs":case"hr":case"h":return o*n;case"minutes":case"minute":case"mins":case"min":case"m":return o*i;case"seconds":case"second":case"secs":case"sec":case"s":return o*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(e);if("number"===u&&isFinite(e))return o.long?(r=e,(c=Math.abs(r))>=a?s(r,c,a,"day"):c>=n?s(r,c,n,"hour"):c>=i?s(r,c,i,"minute"):c>=t?s(r,c,t,"second"):r+" ms"):function(e){var s=Math.abs(e);return s>=a?Math.round(e/a)+"d":s>=n?Math.round(e/n)+"h":s>=i?Math.round(e/i)+"m":s>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9819:(e,t,i)=>{var n=i(1591);function a(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function s(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},i=e.name||"Function wrapped with `once`";return t.onceError=i+" shouldn't be called more than once",t.called=!1,t}e.exports=n(a),e.exports.strict=n(s),a.proto=a((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return a(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return s(this)},configurable:!0})}))},3048:(e,t,i)=>{"use strict";var n={};(0,i(2937).assign)(n,i(6579),i(399),i(8717)),e.exports=n},6579:(e,t,i)=>{"use strict";var n=i(1679),a=i(2937),s=i(6832),o=i(8990),r=i(9222),c=Object.prototype.toString,u=0,l=-1,p=0,d=8;function f(e){if(!(this instanceof f))return new f(e);this.options=a.assign({level:l,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:p,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new r,this.strm.avail_out=0;var i=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(i!==u)throw new Error(o[i]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var h;if(h="string"==typeof t.dictionary?s.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(i=n.deflateSetDictionary(this.strm,h))!==u)throw new Error(o[i]);this._dict_set=!0}}function h(e,t){var i=new f(t);if(i.push(e,!0),i.err)throw i.msg||o[i.err];return i.result}f.prototype.push=function(e,t){var i,o,r=this.strm,l=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?r.input=s.string2buf(e):"[object ArrayBuffer]"===c.call(e)?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new a.Buf8(l),r.next_out=0,r.avail_out=l),1!==(i=n.deflate(r,o))&&i!==u)return this.onEnd(i),this.ended=!0,!1;0!==r.avail_out&&(0!==r.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(s.buf2binstring(a.shrinkBuf(r.output,r.next_out))):this.onData(a.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||0===r.avail_out)&&1!==i);return 4===o?(i=n.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===u):2!==o||(this.onEnd(u),r.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===u&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=f,t.deflate=h,t.deflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},t.gzip=function(e,t){return(t=t||{}).gzip=!0,h(e,t)}},399:(e,t,i)=>{"use strict";var n=i(5347),a=i(2937),s=i(6832),o=i(8717),r=i(8990),c=i(9222),u=i(6738),l=Object.prototype.toString;function p(e){if(!(this instanceof p))return new p(e);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var i=n.inflateInit2(this.strm,t.windowBits);if(i!==o.Z_OK)throw new Error(r[i]);if(this.header=new u,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=s.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(i=n.inflateSetDictionary(this.strm,t.dictionary))!==o.Z_OK))throw new Error(r[i])}function d(e,t){var i=new p(t);if(i.push(e,!0),i.err)throw i.msg||r[i.err];return i.result}p.prototype.push=function(e,t){var i,r,c,u,p,d=this.strm,f=this.options.chunkSize,h=this.options.dictionary,m=!1;if(this.ended)return!1;r=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?d.input=s.binstring2buf(e):"[object ArrayBuffer]"===l.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new a.Buf8(f),d.next_out=0,d.avail_out=f),(i=n.inflate(d,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&h&&(i=n.inflateSetDictionary(this.strm,h)),i===o.Z_BUF_ERROR&&!0===m&&(i=o.Z_OK,m=!1),i!==o.Z_STREAM_END&&i!==o.Z_OK)return this.onEnd(i),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&i!==o.Z_STREAM_END&&(0!==d.avail_in||r!==o.Z_FINISH&&r!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(c=s.utf8border(d.output,d.next_out),u=d.next_out-c,p=s.buf2string(d.output,c),d.next_out=u,d.avail_out=f-u,u&&a.arraySet(d.output,d.output,c,u,0),this.onData(p)):this.onData(a.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(m=!0)}while((d.avail_in>0||0===d.avail_out)&&i!==o.Z_STREAM_END);return i===o.Z_STREAM_END&&(r=o.Z_FINISH),r===o.Z_FINISH?(i=n.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===o.Z_OK):r!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),d.avail_out=0,!0)},p.prototype.onData=function(e){this.chunks.push(e)},p.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=p,t.inflate=d,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},t.ungzip=d},2937:(e,t)=>{"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var i=t.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var a in i)n(i,a)&&(e[a]=i[a])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var a={arraySet:function(e,t,i,n,a){if(t.subarray&&e.subarray)e.set(t.subarray(i,i+n),a);else for(var s=0;s<n;s++)e[a+s]=t[i+s]},flattenChunks:function(e){var t,i,n,a,s,o;for(n=0,t=0,i=e.length;t<i;t++)n+=e[t].length;for(o=new Uint8Array(n),a=0,t=0,i=e.length;t<i;t++)s=e[t],o.set(s,a),a+=s.length;return o}},s={arraySet:function(e,t,i,n,a){for(var s=0;s<n;s++)e[a+s]=t[i+s]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,a)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,s))},t.setTyped(i)},6832:(e,t,i)=>{"use strict";var n=i(2937),a=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(e){a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){s=!1}for(var o=new n.Buf8(256),r=0;r<256;r++)o[r]=r>=252?6:r>=248?5:r>=240?4:r>=224?3:r>=192?2:1;function c(e,t){if(t<65534&&(e.subarray&&s||!e.subarray&&a))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var i="",o=0;o<t;o++)i+=String.fromCharCode(e[o]);return i}o[254]=o[254]=1,t.string2buf=function(e){var t,i,a,s,o,r=e.length,c=0;for(s=0;s<r;s++)55296==(64512&(i=e.charCodeAt(s)))&&s+1<r&&56320==(64512&(a=e.charCodeAt(s+1)))&&(i=65536+(i-55296<<10)+(a-56320),s++),c+=i<128?1:i<2048?2:i<65536?3:4;for(t=new n.Buf8(c),o=0,s=0;o<c;s++)55296==(64512&(i=e.charCodeAt(s)))&&s+1<r&&56320==(64512&(a=e.charCodeAt(s+1)))&&(i=65536+(i-55296<<10)+(a-56320),s++),i<128?t[o++]=i:i<2048?(t[o++]=192|i>>>6,t[o++]=128|63&i):i<65536?(t[o++]=224|i>>>12,t[o++]=128|i>>>6&63,t[o++]=128|63&i):(t[o++]=240|i>>>18,t[o++]=128|i>>>12&63,t[o++]=128|i>>>6&63,t[o++]=128|63&i);return t},t.buf2binstring=function(e){return c(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),i=0,a=t.length;i<a;i++)t[i]=e.charCodeAt(i);return t},t.buf2string=function(e,t){var i,n,a,s,r=t||e.length,u=new Array(2*r);for(n=0,i=0;i<r;)if((a=e[i++])<128)u[n++]=a;else if((s=o[a])>4)u[n++]=65533,i+=s-1;else{for(a&=2===s?31:3===s?15:7;s>1&&i<r;)a=a<<6|63&e[i++],s--;s>1?u[n++]=65533:a<65536?u[n++]=a:(a-=65536,u[n++]=55296|a>>10&1023,u[n++]=56320|1023&a)}return c(u,n)},t.utf8border=function(e,t){var i;for((t=t||e.length)>e.length&&(t=e.length),i=t-1;i>=0&&128==(192&e[i]);)i--;return i<0||0===i?t:i+o[e[i]]>t?i:t}},1697:e=>{"use strict";e.exports=function(e,t,i,n){for(var a=65535&e,s=e>>>16&65535,o=0;0!==i;){i-=o=i>2e3?2e3:i;do{s=s+(a=a+t[n++]|0)|0}while(--o);a%=65521,s%=65521}return a|s<<16}},8717:e=>{"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},731:e=>{"use strict";var t=function(){for(var e,t=[],i=0;i<256;i++){e=i;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[i]=e}return t}();e.exports=function(e,i,n,a){var s=t,o=a+n;e^=-1;for(var r=a;r<o;r++)e=e>>>8^s[255&(e^i[r])];return~e}},1679:(e,t,i)=>{"use strict";var n,a=i(2937),s=i(5805),o=i(1697),r=i(731),c=i(8990),u=0,l=0,p=-2,d=2,f=8,h=286,m=30,g=19,b=2*h+1,v=15,x=3,y=258,w=y+x+1,D=42,_=103,E=113,F=666;function k(e,t){return e.msg=c[t],t}function C(e){return(e<<1)-(e>4?9:0)}function j(e){for(var t=e.length;--t>=0;)e[t]=0}function O(e){var t=e.state,i=t.pending;i>e.avail_out&&(i=e.avail_out),0!==i&&(a.arraySet(e.output,t.pending_buf,t.pending_out,i,e.next_out),e.next_out+=i,t.pending_out+=i,e.total_out+=i,e.avail_out-=i,t.pending-=i,0===t.pending&&(t.pending_out=0))}function A(e,t){s._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,O(e.strm)}function S(e,t){e.pending_buf[e.pending++]=t}function B(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function R(e,t){var i,n,a=e.max_chain_length,s=e.strstart,o=e.prev_length,r=e.nice_match,c=e.strstart>e.w_size-w?e.strstart-(e.w_size-w):0,u=e.window,l=e.w_mask,p=e.prev,d=e.strstart+y,f=u[s+o-1],h=u[s+o];e.prev_length>=e.good_match&&(a>>=2),r>e.lookahead&&(r=e.lookahead);do{if(u[(i=t)+o]===h&&u[i+o-1]===f&&u[i]===u[s]&&u[++i]===u[s+1]){s+=2,i++;do{}while(u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&s<d);if(n=y-(d-s),s=d-y,n>o){if(e.match_start=t,o=n,n>=r)break;f=u[s+o-1],h=u[s+o]}}}while((t=p[t&l])>c&&0!=--a);return o<=e.lookahead?o:e.lookahead}function $(e){var t,i,n,s,c,u,l,p,d,f,h=e.w_size;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-w)){a.arraySet(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=i=e.hash_size;do{n=e.head[--t],e.head[t]=n>=h?n-h:0}while(--i);t=i=h;do{n=e.prev[--t],e.prev[t]=n>=h?n-h:0}while(--i);s+=h}if(0===e.strm.avail_in)break;if(u=e.strm,l=e.window,p=e.strstart+e.lookahead,d=s,f=void 0,(f=u.avail_in)>d&&(f=d),i=0===f?0:(u.avail_in-=f,a.arraySet(l,u.input,u.next_in,f,p),1===u.state.wrap?u.adler=o(u.adler,l,f,p):2===u.state.wrap&&(u.adler=r(u.adler,l,f,p)),u.next_in+=f,u.total_in+=f,f),e.lookahead+=i,e.lookahead+e.insert>=x)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+x-1])&e.hash_mask,e.prev[c&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=c,c++,e.insert--,!(e.lookahead+e.insert<x)););}while(e.lookahead<w&&0!==e.strm.avail_in)}function P(e,t){for(var i,n;;){if(e.lookahead<w){if($(e),e.lookahead<w&&t===u)return 1;if(0===e.lookahead)break}if(i=0,e.lookahead>=x&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==i&&e.strstart-i<=e.w_size-w&&(e.match_length=R(e,i)),e.match_length>=x)if(n=s._tr_tally(e,e.strstart-e.match_start,e.match_length-x),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=x){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<x-1?e.strstart:x-1,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}function T(e,t){for(var i,n,a;;){if(e.lookahead<w){if($(e),e.lookahead<w&&t===u)return 1;if(0===e.lookahead)break}if(i=0,e.lookahead>=x&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=x-1,0!==i&&e.prev_length<e.max_lazy_match&&e.strstart-i<=e.w_size-w&&(e.match_length=R(e,i),e.match_length<=5&&(1===e.strategy||e.match_length===x&&e.strstart-e.match_start>4096)&&(e.match_length=x-1)),e.prev_length>=x&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-x,n=s._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-x),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=a&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=x-1,e.strstart++,n&&(A(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=s._tr_tally(e,0,e.window[e.strstart-1]))&&A(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=s._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<x-1?e.strstart:x-1,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}function I(e,t,i,n,a){this.good_length=e,this.max_lazy=t,this.nice_length=i,this.max_chain=n,this.func=a}function M(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=f,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new a.Buf16(2*b),this.dyn_dtree=new a.Buf16(2*(2*m+1)),this.bl_tree=new a.Buf16(2*(2*g+1)),j(this.dyn_ltree),j(this.dyn_dtree),j(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(v+1),this.heap=new a.Buf16(2*h+1),j(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*h+1),j(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function z(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=d,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?D:E,e.adler=2===t.wrap?0:1,t.last_flush=u,s._tr_init(t),l):k(e,p)}function N(e){var t,i=z(e);return i===l&&((t=e.state).window_size=2*t.w_size,j(t.head),t.max_lazy_match=n[t.level].max_lazy,t.good_match=n[t.level].good_length,t.nice_match=n[t.level].nice_length,t.max_chain_length=n[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=x-1,t.match_available=0,t.ins_h=0),i}function U(e,t,i,n,s,o){if(!e)return p;var r=1;if(-1===t&&(t=6),n<0?(r=0,n=-n):n>15&&(r=2,n-=16),s<1||s>9||i!==f||n<8||n>15||t<0||t>9||o<0||o>4)return k(e,p);8===n&&(n=9);var c=new M;return e.state=c,c.strm=e,c.wrap=r,c.gzhead=null,c.w_bits=n,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=s+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+x-1)/x),c.window=new a.Buf8(2*c.w_size),c.head=new a.Buf16(c.hash_size),c.prev=new a.Buf16(c.w_size),c.lit_bufsize=1<<s+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new a.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=i,N(e)}n=[new I(0,0,0,0,(function(e,t){var i=65535;for(i>e.pending_buf_size-5&&(i=e.pending_buf_size-5);;){if(e.lookahead<=1){if($(e),0===e.lookahead&&t===u)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+i;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,A(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-w&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(A(e,!1),e.strm.avail_out),1)})),new I(4,4,8,4,P),new I(4,5,16,8,P),new I(4,6,32,32,P),new I(4,4,16,16,T),new I(8,16,32,32,T),new I(8,16,128,128,T),new I(8,32,128,256,T),new I(32,128,258,1024,T),new I(32,258,258,4096,T)],t.deflateInit=function(e,t){return U(e,t,f,15,8,0)},t.deflateInit2=U,t.deflateReset=N,t.deflateResetKeep=z,t.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?p:(e.state.gzhead=t,l):p},t.deflate=function(e,t){var i,a,o,c;if(!e||!e.state||t>5||t<0)return e?k(e,p):p;if(a=e.state,!e.output||!e.input&&0!==e.avail_in||a.status===F&&4!==t)return k(e,0===e.avail_out?-5:p);if(a.strm=e,i=a.last_flush,a.last_flush=t,a.status===D)if(2===a.wrap)e.adler=0,S(a,31),S(a,139),S(a,8),a.gzhead?(S(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),S(a,255&a.gzhead.time),S(a,a.gzhead.time>>8&255),S(a,a.gzhead.time>>16&255),S(a,a.gzhead.time>>24&255),S(a,9===a.level?2:a.strategy>=2||a.level<2?4:0),S(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(S(a,255&a.gzhead.extra.length),S(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(e.adler=r(e.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69):(S(a,0),S(a,0),S(a,0),S(a,0),S(a,0),S(a,9===a.level?2:a.strategy>=2||a.level<2?4:0),S(a,3),a.status=E);else{var d=f+(a.w_bits-8<<4)<<8;d|=(a.strategy>=2||a.level<2?0:a.level<6?1:6===a.level?2:3)<<6,0!==a.strstart&&(d|=32),d+=31-d%31,a.status=E,B(a,d),0!==a.strstart&&(B(a,e.adler>>>16),B(a,65535&e.adler)),e.adler=1}if(69===a.status)if(a.gzhead.extra){for(o=a.pending;a.gzindex<(65535&a.gzhead.extra.length)&&(a.pending!==a.pending_buf_size||(a.gzhead.hcrc&&a.pending>o&&(e.adler=r(e.adler,a.pending_buf,a.pending-o,o)),O(e),o=a.pending,a.pending!==a.pending_buf_size));)S(a,255&a.gzhead.extra[a.gzindex]),a.gzindex++;a.gzhead.hcrc&&a.pending>o&&(e.adler=r(e.adler,a.pending_buf,a.pending-o,o)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=73)}else a.status=73;if(73===a.status)if(a.gzhead.name){o=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>o&&(e.adler=r(e.adler,a.pending_buf,a.pending-o,o)),O(e),o=a.pending,a.pending===a.pending_buf_size)){c=1;break}c=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,S(a,c)}while(0!==c);a.gzhead.hcrc&&a.pending>o&&(e.adler=r(e.adler,a.pending_buf,a.pending-o,o)),0===c&&(a.gzindex=0,a.status=91)}else a.status=91;if(91===a.status)if(a.gzhead.comment){o=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>o&&(e.adler=r(e.adler,a.pending_buf,a.pending-o,o)),O(e),o=a.pending,a.pending===a.pending_buf_size)){c=1;break}c=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,S(a,c)}while(0!==c);a.gzhead.hcrc&&a.pending>o&&(e.adler=r(e.adler,a.pending_buf,a.pending-o,o)),0===c&&(a.status=_)}else a.status=_;if(a.status===_&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&O(e),a.pending+2<=a.pending_buf_size&&(S(a,255&e.adler),S(a,e.adler>>8&255),e.adler=0,a.status=E)):a.status=E),0!==a.pending){if(O(e),0===e.avail_out)return a.last_flush=-1,l}else if(0===e.avail_in&&C(t)<=C(i)&&4!==t)return k(e,-5);if(a.status===F&&0!==e.avail_in)return k(e,-5);if(0!==e.avail_in||0!==a.lookahead||t!==u&&a.status!==F){var h=2===a.strategy?function(e,t){for(var i;;){if(0===e.lookahead&&($(e),0===e.lookahead)){if(t===u)return 1;break}if(e.match_length=0,i=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,i&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}(a,t):3===a.strategy?function(e,t){for(var i,n,a,o,r=e.window;;){if(e.lookahead<=y){if($(e),e.lookahead<=y&&t===u)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=x&&e.strstart>0&&(n=r[a=e.strstart-1])===r[++a]&&n===r[++a]&&n===r[++a]){o=e.strstart+y;do{}while(n===r[++a]&&n===r[++a]&&n===r[++a]&&n===r[++a]&&n===r[++a]&&n===r[++a]&&n===r[++a]&&n===r[++a]&&a<o);e.match_length=y-(o-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=x?(i=s._tr_tally(e,1,e.match_length-x),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(i=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),i&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}(a,t):n[a.level].func(a,t);if(3!==h&&4!==h||(a.status=F),1===h||3===h)return 0===e.avail_out&&(a.last_flush=-1),l;if(2===h&&(1===t?s._tr_align(a):5!==t&&(s._tr_stored_block(a,0,0,!1),3===t&&(j(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),O(e),0===e.avail_out))return a.last_flush=-1,l}return 4!==t?l:a.wrap<=0?1:(2===a.wrap?(S(a,255&e.adler),S(a,e.adler>>8&255),S(a,e.adler>>16&255),S(a,e.adler>>24&255),S(a,255&e.total_in),S(a,e.total_in>>8&255),S(a,e.total_in>>16&255),S(a,e.total_in>>24&255)):(B(a,e.adler>>>16),B(a,65535&e.adler)),O(e),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?l:1)},t.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==D&&69!==t&&73!==t&&91!==t&&t!==_&&t!==E&&t!==F?k(e,p):(e.state=null,t===E?k(e,-3):l):p},t.deflateSetDictionary=function(e,t){var i,n,s,r,c,u,d,f,h=t.length;if(!e||!e.state)return p;if(2===(r=(i=e.state).wrap)||1===r&&i.status!==D||i.lookahead)return p;for(1===r&&(e.adler=o(e.adler,t,h,0)),i.wrap=0,h>=i.w_size&&(0===r&&(j(i.head),i.strstart=0,i.block_start=0,i.insert=0),f=new a.Buf8(i.w_size),a.arraySet(f,t,h-i.w_size,i.w_size,0),t=f,h=i.w_size),c=e.avail_in,u=e.next_in,d=e.input,e.avail_in=h,e.next_in=0,e.input=t,$(i);i.lookahead>=x;){n=i.strstart,s=i.lookahead-(x-1);do{i.ins_h=(i.ins_h<<i.hash_shift^i.window[n+x-1])&i.hash_mask,i.prev[n&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=n,n++}while(--s);i.strstart=n,i.lookahead=x-1,$(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=x-1,i.match_available=0,e.next_in=u,e.input=d,e.avail_in=c,i.wrap=r,l},t.deflateInfo="pako deflate (from Nodeca project)"},6738:e=>{"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},8353:e=>{"use strict";e.exports=function(e,t){var i,n,a,s,o,r,c,u,l,p,d,f,h,m,g,b,v,x,y,w,D,_,E,F,k;i=e.state,n=e.next_in,F=e.input,a=n+(e.avail_in-5),s=e.next_out,k=e.output,o=s-(t-e.avail_out),r=s+(e.avail_out-257),c=i.dmax,u=i.wsize,l=i.whave,p=i.wnext,d=i.window,f=i.hold,h=i.bits,m=i.lencode,g=i.distcode,b=(1<<i.lenbits)-1,v=(1<<i.distbits)-1;e:do{h<15&&(f+=F[n++]<<h,h+=8,f+=F[n++]<<h,h+=8),x=m[f&b];t:for(;;){if(f>>>=y=x>>>24,h-=y,0==(y=x>>>16&255))k[s++]=65535&x;else{if(!(16&y)){if(64&y){if(32&y){i.mode=12;break e}e.msg="invalid literal/length code",i.mode=30;break e}x=m[(65535&x)+(f&(1<<y)-1)];continue t}for(w=65535&x,(y&=15)&&(h<y&&(f+=F[n++]<<h,h+=8),w+=f&(1<<y)-1,f>>>=y,h-=y),h<15&&(f+=F[n++]<<h,h+=8,f+=F[n++]<<h,h+=8),x=g[f&v];;){if(f>>>=y=x>>>24,h-=y,16&(y=x>>>16&255)){if(D=65535&x,h<(y&=15)&&(f+=F[n++]<<h,(h+=8)<y&&(f+=F[n++]<<h,h+=8)),(D+=f&(1<<y)-1)>c){e.msg="invalid distance too far back",i.mode=30;break e}if(f>>>=y,h-=y,D>(y=s-o)){if((y=D-y)>l&&i.sane){e.msg="invalid distance too far back",i.mode=30;break e}if(_=0,E=d,0===p){if(_+=u-y,y<w){w-=y;do{k[s++]=d[_++]}while(--y);_=s-D,E=k}}else if(p<y){if(_+=u+p-y,(y-=p)<w){w-=y;do{k[s++]=d[_++]}while(--y);if(_=0,p<w){w-=y=p;do{k[s++]=d[_++]}while(--y);_=s-D,E=k}}}else if(_+=p-y,y<w){w-=y;do{k[s++]=d[_++]}while(--y);_=s-D,E=k}for(;w>2;)k[s++]=E[_++],k[s++]=E[_++],k[s++]=E[_++],w-=3;w&&(k[s++]=E[_++],w>1&&(k[s++]=E[_++]))}else{_=s-D;do{k[s++]=k[_++],k[s++]=k[_++],k[s++]=k[_++],w-=3}while(w>2);w&&(k[s++]=k[_++],w>1&&(k[s++]=k[_++]))}break}if(64&y){e.msg="invalid distance code",i.mode=30;break e}x=g[(65535&x)+(f&(1<<y)-1)]}}break}}while(n<a&&s<r);n-=w=h>>3,f&=(1<<(h-=w<<3))-1,e.next_in=n,e.next_out=s,e.avail_in=n<a?a-n+5:5-(n-a),e.avail_out=s<r?r-s+257:257-(s-r),i.hold=f,i.bits=h}},5347:(e,t,i)=>{"use strict";var n=i(2937),a=i(1697),s=i(731),o=i(8353),r=i(274),c=0,u=-2,l=1,p=12,d=30,f=852,h=592;function m(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=l,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(f),t.distcode=t.distdyn=new n.Buf32(h),t.sane=1,t.back=-1,c):u}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,b(e)):u}function x(e,t){var i,n;return e&&e.state?(n=e.state,t<0?(i=0,t=-t):(i=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?u:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=i,n.wbits=t,v(e))):u}function y(e,t){var i,n;return e?(n=new g,e.state=n,n.window=null,(i=x(e,t))!==c&&(e.state=null),i):u}var w,D,_=!0;function E(e){if(_){var t;for(w=new n.Buf32(512),D=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(r(1,e.lens,0,288,w,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;r(2,e.lens,0,32,D,0,e.work,{bits:5}),_=!1}e.lencode=w,e.lenbits=9,e.distcode=D,e.distbits=5}function F(e,t,i,a){var s,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),a>=o.wsize?(n.arraySet(o.window,t,i-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((s=o.wsize-o.wnext)>a&&(s=a),n.arraySet(o.window,t,i-a,s,o.wnext),(a-=s)?(n.arraySet(o.window,t,i-a,a,0),o.wnext=a,o.whave=o.wsize):(o.wnext+=s,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=s))),0}t.inflateReset=v,t.inflateReset2=x,t.inflateResetKeep=b,t.inflateInit=function(e){return y(e,15)},t.inflateInit2=y,t.inflate=function(e,t){var i,f,h,g,b,v,x,y,w,D,_,k,C,j,O,A,S,B,R,$,P,T,I,M,z=0,N=new n.Buf8(4),U=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return u;(i=e.state).mode===p&&(i.mode=13),b=e.next_out,h=e.output,x=e.avail_out,g=e.next_in,f=e.input,v=e.avail_in,y=i.hold,w=i.bits,D=v,_=x,T=c;e:for(;;)switch(i.mode){case l:if(0===i.wrap){i.mode=13;break}for(;w<16;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(2&i.wrap&&35615===y){i.check=0,N[0]=255&y,N[1]=y>>>8&255,i.check=s(i.check,N,2,0),y=0,w=0,i.mode=2;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&y)<<8)+(y>>8))%31){e.msg="incorrect header check",i.mode=d;break}if(8!=(15&y)){e.msg="unknown compression method",i.mode=d;break}if(w-=4,P=8+(15&(y>>>=4)),0===i.wbits)i.wbits=P;else if(P>i.wbits){e.msg="invalid window size",i.mode=d;break}i.dmax=1<<P,e.adler=i.check=1,i.mode=512&y?10:p,y=0,w=0;break;case 2:for(;w<16;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(i.flags=y,8!=(255&i.flags)){e.msg="unknown compression method",i.mode=d;break}if(57344&i.flags){e.msg="unknown header flags set",i.mode=d;break}i.head&&(i.head.text=y>>8&1),512&i.flags&&(N[0]=255&y,N[1]=y>>>8&255,i.check=s(i.check,N,2,0)),y=0,w=0,i.mode=3;case 3:for(;w<32;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}i.head&&(i.head.time=y),512&i.flags&&(N[0]=255&y,N[1]=y>>>8&255,N[2]=y>>>16&255,N[3]=y>>>24&255,i.check=s(i.check,N,4,0)),y=0,w=0,i.mode=4;case 4:for(;w<16;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}i.head&&(i.head.xflags=255&y,i.head.os=y>>8),512&i.flags&&(N[0]=255&y,N[1]=y>>>8&255,i.check=s(i.check,N,2,0)),y=0,w=0,i.mode=5;case 5:if(1024&i.flags){for(;w<16;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}i.length=y,i.head&&(i.head.extra_len=y),512&i.flags&&(N[0]=255&y,N[1]=y>>>8&255,i.check=s(i.check,N,2,0)),y=0,w=0}else i.head&&(i.head.extra=null);i.mode=6;case 6:if(1024&i.flags&&((k=i.length)>v&&(k=v),k&&(i.head&&(P=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),n.arraySet(i.head.extra,f,g,k,P)),512&i.flags&&(i.check=s(i.check,f,k,g)),v-=k,g+=k,i.length-=k),i.length))break e;i.length=0,i.mode=7;case 7:if(2048&i.flags){if(0===v)break e;k=0;do{P=f[g+k++],i.head&&P&&i.length<65536&&(i.head.name+=String.fromCharCode(P))}while(P&&k<v);if(512&i.flags&&(i.check=s(i.check,f,k,g)),v-=k,g+=k,P)break e}else i.head&&(i.head.name=null);i.length=0,i.mode=8;case 8:if(4096&i.flags){if(0===v)break e;k=0;do{P=f[g+k++],i.head&&P&&i.length<65536&&(i.head.comment+=String.fromCharCode(P))}while(P&&k<v);if(512&i.flags&&(i.check=s(i.check,f,k,g)),v-=k,g+=k,P)break e}else i.head&&(i.head.comment=null);i.mode=9;case 9:if(512&i.flags){for(;w<16;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(y!==(65535&i.check)){e.msg="header crc mismatch",i.mode=d;break}y=0,w=0}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=!0),e.adler=i.check=0,i.mode=p;break;case 10:for(;w<32;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}e.adler=i.check=m(y),y=0,w=0,i.mode=11;case 11:if(0===i.havedict)return e.next_out=b,e.avail_out=x,e.next_in=g,e.avail_in=v,i.hold=y,i.bits=w,2;e.adler=i.check=1,i.mode=p;case p:if(5===t||6===t)break e;case 13:if(i.last){y>>>=7&w,w-=7&w,i.mode=27;break}for(;w<3;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}switch(i.last=1&y,w-=1,3&(y>>>=1)){case 0:i.mode=14;break;case 1:if(E(i),i.mode=20,6===t){y>>>=2,w-=2;break e}break;case 2:i.mode=17;break;case 3:e.msg="invalid block type",i.mode=d}y>>>=2,w-=2;break;case 14:for(y>>>=7&w,w-=7&w;w<32;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if((65535&y)!=(y>>>16^65535)){e.msg="invalid stored block lengths",i.mode=d;break}if(i.length=65535&y,y=0,w=0,i.mode=15,6===t)break e;case 15:i.mode=16;case 16:if(k=i.length){if(k>v&&(k=v),k>x&&(k=x),0===k)break e;n.arraySet(h,f,g,k,b),v-=k,g+=k,x-=k,b+=k,i.length-=k;break}i.mode=p;break;case 17:for(;w<14;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(i.nlen=257+(31&y),y>>>=5,w-=5,i.ndist=1+(31&y),y>>>=5,w-=5,i.ncode=4+(15&y),y>>>=4,w-=4,i.nlen>286||i.ndist>30){e.msg="too many length or distance symbols",i.mode=d;break}i.have=0,i.mode=18;case 18:for(;i.have<i.ncode;){for(;w<3;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}i.lens[U[i.have++]]=7&y,y>>>=3,w-=3}for(;i.have<19;)i.lens[U[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,I={bits:i.lenbits},T=r(0,i.lens,0,19,i.lencode,0,i.work,I),i.lenbits=I.bits,T){e.msg="invalid code lengths set",i.mode=d;break}i.have=0,i.mode=19;case 19:for(;i.have<i.nlen+i.ndist;){for(;A=(z=i.lencode[y&(1<<i.lenbits)-1])>>>16&255,S=65535&z,!((O=z>>>24)<=w);){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(S<16)y>>>=O,w-=O,i.lens[i.have++]=S;else{if(16===S){for(M=O+2;w<M;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(y>>>=O,w-=O,0===i.have){e.msg="invalid bit length repeat",i.mode=d;break}P=i.lens[i.have-1],k=3+(3&y),y>>>=2,w-=2}else if(17===S){for(M=O+3;w<M;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}w-=O,P=0,k=3+(7&(y>>>=O)),y>>>=3,w-=3}else{for(M=O+7;w<M;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}w-=O,P=0,k=11+(127&(y>>>=O)),y>>>=7,w-=7}if(i.have+k>i.nlen+i.ndist){e.msg="invalid bit length repeat",i.mode=d;break}for(;k--;)i.lens[i.have++]=P}}if(i.mode===d)break;if(0===i.lens[256]){e.msg="invalid code -- missing end-of-block",i.mode=d;break}if(i.lenbits=9,I={bits:i.lenbits},T=r(1,i.lens,0,i.nlen,i.lencode,0,i.work,I),i.lenbits=I.bits,T){e.msg="invalid literal/lengths set",i.mode=d;break}if(i.distbits=6,i.distcode=i.distdyn,I={bits:i.distbits},T=r(2,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,I),i.distbits=I.bits,T){e.msg="invalid distances set",i.mode=d;break}if(i.mode=20,6===t)break e;case 20:i.mode=21;case 21:if(v>=6&&x>=258){e.next_out=b,e.avail_out=x,e.next_in=g,e.avail_in=v,i.hold=y,i.bits=w,o(e,_),b=e.next_out,h=e.output,x=e.avail_out,g=e.next_in,f=e.input,v=e.avail_in,y=i.hold,w=i.bits,i.mode===p&&(i.back=-1);break}for(i.back=0;A=(z=i.lencode[y&(1<<i.lenbits)-1])>>>16&255,S=65535&z,!((O=z>>>24)<=w);){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(A&&!(240&A)){for(B=O,R=A,$=S;A=(z=i.lencode[$+((y&(1<<B+R)-1)>>B)])>>>16&255,S=65535&z,!(B+(O=z>>>24)<=w);){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}y>>>=B,w-=B,i.back+=B}if(y>>>=O,w-=O,i.back+=O,i.length=S,0===A){i.mode=26;break}if(32&A){i.back=-1,i.mode=p;break}if(64&A){e.msg="invalid literal/length code",i.mode=d;break}i.extra=15&A,i.mode=22;case 22:if(i.extra){for(M=i.extra;w<M;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}i.length+=y&(1<<i.extra)-1,y>>>=i.extra,w-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=23;case 23:for(;A=(z=i.distcode[y&(1<<i.distbits)-1])>>>16&255,S=65535&z,!((O=z>>>24)<=w);){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(!(240&A)){for(B=O,R=A,$=S;A=(z=i.distcode[$+((y&(1<<B+R)-1)>>B)])>>>16&255,S=65535&z,!(B+(O=z>>>24)<=w);){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}y>>>=B,w-=B,i.back+=B}if(y>>>=O,w-=O,i.back+=O,64&A){e.msg="invalid distance code",i.mode=d;break}i.offset=S,i.extra=15&A,i.mode=24;case 24:if(i.extra){for(M=i.extra;w<M;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}i.offset+=y&(1<<i.extra)-1,y>>>=i.extra,w-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){e.msg="invalid distance too far back",i.mode=d;break}i.mode=25;case 25:if(0===x)break e;if(k=_-x,i.offset>k){if((k=i.offset-k)>i.whave&&i.sane){e.msg="invalid distance too far back",i.mode=d;break}k>i.wnext?(k-=i.wnext,C=i.wsize-k):C=i.wnext-k,k>i.length&&(k=i.length),j=i.window}else j=h,C=b-i.offset,k=i.length;k>x&&(k=x),x-=k,i.length-=k;do{h[b++]=j[C++]}while(--k);0===i.length&&(i.mode=21);break;case 26:if(0===x)break e;h[b++]=i.length,x--,i.mode=21;break;case 27:if(i.wrap){for(;w<32;){if(0===v)break e;v--,y|=f[g++]<<w,w+=8}if(_-=x,e.total_out+=_,i.total+=_,_&&(e.adler=i.check=i.flags?s(i.check,h,_,b-_):a(i.check,h,_,b-_)),_=x,(i.flags?y:m(y))!==i.check){e.msg="incorrect data check",i.mode=d;break}y=0,w=0}i.mode=28;case 28:if(i.wrap&&i.flags){for(;w<32;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(y!==(4294967295&i.total)){e.msg="incorrect length check",i.mode=d;break}y=0,w=0}i.mode=29;case 29:T=1;break e;case d:T=-3;break e;case 31:return-4;default:return u}return e.next_out=b,e.avail_out=x,e.next_in=g,e.avail_in=v,i.hold=y,i.bits=w,(i.wsize||_!==e.avail_out&&i.mode<d&&(i.mode<27||4!==t))&&F(e,e.output,e.next_out,_-e.avail_out)?(i.mode=31,-4):(D-=e.avail_in,_-=e.avail_out,e.total_in+=D,e.total_out+=_,i.total+=_,i.wrap&&_&&(e.adler=i.check=i.flags?s(i.check,h,_,e.next_out-_):a(i.check,h,_,e.next_out-_)),e.data_type=i.bits+(i.last?64:0)+(i.mode===p?128:0)+(20===i.mode||15===i.mode?256:0),(0===D&&0===_||4===t)&&T===c&&(T=-5),T)},t.inflateEnd=function(e){if(!e||!e.state)return u;var t=e.state;return t.window&&(t.window=null),e.state=null,c},t.inflateGetHeader=function(e,t){var i;return e&&e.state&&2&(i=e.state).wrap?(i.head=t,t.done=!1,c):u},t.inflateSetDictionary=function(e,t){var i,n=t.length;return e&&e.state?0!==(i=e.state).wrap&&11!==i.mode?u:11===i.mode&&a(1,t,n,0)!==i.check?-3:F(e,t,n,n)?(i.mode=31,-4):(i.havedict=1,c):u},t.inflateInfo="pako inflate (from Nodeca project)"},274:(e,t,i)=>{"use strict";var n=i(2937),a=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],r=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(e,t,i,c,u,l,p,d){var f,h,m,g,b,v,x,y,w,D=d.bits,_=0,E=0,F=0,k=0,C=0,j=0,O=0,A=0,S=0,B=0,R=null,$=0,P=new n.Buf16(16),T=new n.Buf16(16),I=null,M=0;for(_=0;_<=15;_++)P[_]=0;for(E=0;E<c;E++)P[t[i+E]]++;for(C=D,k=15;k>=1&&0===P[k];k--);if(C>k&&(C=k),0===k)return u[l++]=20971520,u[l++]=20971520,d.bits=1,0;for(F=1;F<k&&0===P[F];F++);for(C<F&&(C=F),A=1,_=1;_<=15;_++)if(A<<=1,(A-=P[_])<0)return-1;if(A>0&&(0===e||1!==k))return-1;for(T[1]=0,_=1;_<15;_++)T[_+1]=T[_]+P[_];for(E=0;E<c;E++)0!==t[i+E]&&(p[T[t[i+E]]++]=E);if(0===e?(R=I=p,v=19):1===e?(R=a,$-=257,I=s,M-=257,v=256):(R=o,I=r,v=-1),B=0,E=0,_=F,b=l,j=C,O=0,m=-1,g=(S=1<<C)-1,1===e&&S>852||2===e&&S>592)return 1;for(;;){x=_-O,p[E]<v?(y=0,w=p[E]):p[E]>v?(y=I[M+p[E]],w=R[$+p[E]]):(y=96,w=0),f=1<<_-O,F=h=1<<j;do{u[b+(B>>O)+(h-=f)]=x<<24|y<<16|w}while(0!==h);for(f=1<<_-1;B&f;)f>>=1;if(0!==f?(B&=f-1,B+=f):B=0,E++,0==--P[_]){if(_===k)break;_=t[i+p[E]]}if(_>C&&(B&g)!==m){for(0===O&&(O=C),b+=F,A=1<<(j=_-O);j+O<k&&!((A-=P[j+O])<=0);)j++,A<<=1;if(S+=1<<j,1===e&&S>852||2===e&&S>592)return 1;u[m=B&g]=C<<24|j<<16|b-l}}return 0!==B&&(u[b+B]=_-O<<24|64<<16),d.bits=C,0}},8990:e=>{"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},5805:(e,t,i)=>{"use strict";var n=i(2937);function a(e){for(var t=e.length;--t>=0;)e[t]=0}var s=256,o=286,r=30,c=15,u=16,l=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],p=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],f=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],h=new Array(576);a(h);var m=new Array(60);a(m);var g=new Array(512);a(g);var b=new Array(256);a(b);var v=new Array(29);a(v);var x,y,w,D=new Array(r);function _(e,t,i,n,a){this.static_tree=e,this.extra_bits=t,this.extra_base=i,this.elems=n,this.max_length=a,this.has_stree=e&&e.length}function E(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function F(e){return e<256?g[e]:g[256+(e>>>7)]}function k(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function C(e,t,i){e.bi_valid>u-i?(e.bi_buf|=t<<e.bi_valid&65535,k(e,e.bi_buf),e.bi_buf=t>>u-e.bi_valid,e.bi_valid+=i-u):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=i)}function j(e,t,i){C(e,i[2*t],i[2*t+1])}function O(e,t){var i=0;do{i|=1&e,e>>>=1,i<<=1}while(--t>0);return i>>>1}function A(e,t,i){var n,a,s=new Array(c+1),o=0;for(n=1;n<=c;n++)s[n]=o=o+i[n-1]<<1;for(a=0;a<=t;a++){var r=e[2*a+1];0!==r&&(e[2*a]=O(s[r]++,r))}}function S(e){var t;for(t=0;t<o;t++)e.dyn_ltree[2*t]=0;for(t=0;t<r;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function B(e){e.bi_valid>8?k(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function R(e,t,i,n){var a=2*t,s=2*i;return e[a]<e[s]||e[a]===e[s]&&n[t]<=n[i]}function $(e,t,i){for(var n=e.heap[i],a=i<<1;a<=e.heap_len&&(a<e.heap_len&&R(t,e.heap[a+1],e.heap[a],e.depth)&&a++,!R(t,n,e.heap[a],e.depth));)e.heap[i]=e.heap[a],i=a,a<<=1;e.heap[i]=n}function P(e,t,i){var n,a,o,r,c=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*c]<<8|e.pending_buf[e.d_buf+2*c+1],a=e.pending_buf[e.l_buf+c],c++,0===n?j(e,a,t):(j(e,(o=b[a])+s+1,t),0!==(r=l[o])&&C(e,a-=v[o],r),j(e,o=F(--n),i),0!==(r=p[o])&&C(e,n-=D[o],r))}while(c<e.last_lit);j(e,256,t)}function T(e,t){var i,n,a,s=t.dyn_tree,o=t.stat_desc.static_tree,r=t.stat_desc.has_stree,u=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,i=0;i<u;i++)0!==s[2*i]?(e.heap[++e.heap_len]=l=i,e.depth[i]=0):s[2*i+1]=0;for(;e.heap_len<2;)s[2*(a=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[a]=0,e.opt_len--,r&&(e.static_len-=o[2*a+1]);for(t.max_code=l,i=e.heap_len>>1;i>=1;i--)$(e,s,i);a=u;do{i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],$(e,s,1),n=e.heap[1],e.heap[--e.heap_max]=i,e.heap[--e.heap_max]=n,s[2*a]=s[2*i]+s[2*n],e.depth[a]=(e.depth[i]>=e.depth[n]?e.depth[i]:e.depth[n])+1,s[2*i+1]=s[2*n+1]=a,e.heap[1]=a++,$(e,s,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var i,n,a,s,o,r,u=t.dyn_tree,l=t.max_code,p=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,m=t.stat_desc.max_length,g=0;for(s=0;s<=c;s++)e.bl_count[s]=0;for(u[2*e.heap[e.heap_max]+1]=0,i=e.heap_max+1;i<573;i++)(s=u[2*u[2*(n=e.heap[i])+1]+1]+1)>m&&(s=m,g++),u[2*n+1]=s,n>l||(e.bl_count[s]++,o=0,n>=h&&(o=f[n-h]),r=u[2*n],e.opt_len+=r*(s+o),d&&(e.static_len+=r*(p[2*n+1]+o)));if(0!==g){do{for(s=m-1;0===e.bl_count[s];)s--;e.bl_count[s]--,e.bl_count[s+1]+=2,e.bl_count[m]--,g-=2}while(g>0);for(s=m;0!==s;s--)for(n=e.bl_count[s];0!==n;)(a=e.heap[--i])>l||(u[2*a+1]!==s&&(e.opt_len+=(s-u[2*a+1])*u[2*a],u[2*a+1]=s),n--)}}(e,t),A(s,l,e.bl_count)}function I(e,t,i){var n,a,s=-1,o=t[1],r=0,c=7,u=4;for(0===o&&(c=138,u=3),t[2*(i+1)+1]=65535,n=0;n<=i;n++)a=o,o=t[2*(n+1)+1],++r<c&&a===o||(r<u?e.bl_tree[2*a]+=r:0!==a?(a!==s&&e.bl_tree[2*a]++,e.bl_tree[32]++):r<=10?e.bl_tree[34]++:e.bl_tree[36]++,r=0,s=a,0===o?(c=138,u=3):a===o?(c=6,u=3):(c=7,u=4))}function M(e,t,i){var n,a,s=-1,o=t[1],r=0,c=7,u=4;for(0===o&&(c=138,u=3),n=0;n<=i;n++)if(a=o,o=t[2*(n+1)+1],!(++r<c&&a===o)){if(r<u)do{j(e,a,e.bl_tree)}while(0!=--r);else 0!==a?(a!==s&&(j(e,a,e.bl_tree),r--),j(e,16,e.bl_tree),C(e,r-3,2)):r<=10?(j(e,17,e.bl_tree),C(e,r-3,3)):(j(e,18,e.bl_tree),C(e,r-11,7));r=0,s=a,0===o?(c=138,u=3):a===o?(c=6,u=3):(c=7,u=4)}}a(D);var z=!1;function N(e,t,i,a){C(e,0+(a?1:0),3),function(e,t,i,a){B(e),k(e,i),k(e,~i),n.arraySet(e.pending_buf,e.window,t,i,e.pending),e.pending+=i}(e,t,i)}t._tr_init=function(e){z||(function(){var e,t,i,n,a,s=new Array(c+1);for(i=0,n=0;n<28;n++)for(v[n]=i,e=0;e<1<<l[n];e++)b[i++]=n;for(b[i-1]=n,a=0,n=0;n<16;n++)for(D[n]=a,e=0;e<1<<p[n];e++)g[a++]=n;for(a>>=7;n<r;n++)for(D[n]=a<<7,e=0;e<1<<p[n]-7;e++)g[256+a++]=n;for(t=0;t<=c;t++)s[t]=0;for(e=0;e<=143;)h[2*e+1]=8,e++,s[8]++;for(;e<=255;)h[2*e+1]=9,e++,s[9]++;for(;e<=279;)h[2*e+1]=7,e++,s[7]++;for(;e<=287;)h[2*e+1]=8,e++,s[8]++;for(A(h,287,s),e=0;e<r;e++)m[2*e+1]=5,m[2*e]=O(e,5);x=new _(h,l,257,o,c),y=new _(m,p,0,r,c),w=new _(new Array(0),d,0,19,7)}(),z=!0),e.l_desc=new E(e.dyn_ltree,x),e.d_desc=new E(e.dyn_dtree,y),e.bl_desc=new E(e.bl_tree,w),e.bi_buf=0,e.bi_valid=0,S(e)},t._tr_stored_block=N,t._tr_flush_block=function(e,t,i,n){var a,o,r=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,i=4093624447;for(t=0;t<=31;t++,i>>>=1)if(1&i&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<s;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),T(e,e.l_desc),T(e,e.d_desc),r=function(e){var t;for(I(e,e.dyn_ltree,e.l_desc.max_code),I(e,e.dyn_dtree,e.d_desc.max_code),T(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*f[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),a=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=a&&(a=o)):a=o=i+5,i+4<=a&&-1!==t?N(e,t,i,n):4===e.strategy||o===a?(C(e,2+(n?1:0),3),P(e,h,m)):(C(e,4+(n?1:0),3),function(e,t,i,n){var a;for(C(e,t-257,5),C(e,i-1,5),C(e,n-4,4),a=0;a<n;a++)C(e,e.bl_tree[2*f[a]+1],3);M(e,e.dyn_ltree,t-1),M(e,e.dyn_dtree,i-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,r+1),P(e,e.dyn_ltree,e.dyn_dtree)),S(e),n&&B(e)},t._tr_tally=function(e,t,i){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&i,e.last_lit++,0===t?e.dyn_ltree[2*i]++:(e.matches++,t--,e.dyn_ltree[2*(b[i]+s+1)]++,e.dyn_dtree[2*F(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){C(e,2,3),j(e,256,h),function(e){16===e.bi_valid?(k(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},9222:e=>{"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},1420:(e,t,i)=>{"use strict";var n=i(7016).parse,a={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},s=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function o(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=function(e){var t="string"==typeof e?n(e):e||{},i=t.protocol,r=t.host,c=t.port;if("string"!=typeof r||!r||"string"!=typeof i)return"";if(i=i.split(":",1)[0],!function(e,t){var i=(o("npm_config_no_proxy")||o("no_proxy")).toLowerCase();return!i||"*"!==i&&i.split(/[,\s]/).every((function(i){if(!i)return!0;var n=i.match(/^(.+):(\d+)$/),a=n?n[1]:i,o=n?parseInt(n[2]):0;return!(!o||o===t)||(/^[.*]/.test(a)?("*"===a.charAt(0)&&(a=a.slice(1)),!s.call(e,a)):e!==a)}))}(r=r.replace(/:\d*$/,""),c=parseInt(c)||a[i]||0))return"";var u=o("npm_config_"+i+"_proxy")||o(i+"_proxy")||o("npm_config_proxy")||o("all_proxy");return u&&-1===u.indexOf("://")&&(u=i+"://"+u),u}},9386:(e,t,i)=>{"use strict";var n=i(9896),a=i(6928).join,s=i(6928).resolve,o=i(6928).dirname,r={extensions:["js","json","coffee"],recurse:!0,rename:function(e){return e},visit:function(e){return e}};e.exports=function e(t,i,c){var u={};for(var l in i&&!c&&"string"!=typeof i&&(c=i,i=null),c=c||{},r)void 0===c[l]&&(c[l]=r[l]);return i=i?s(o(t.filename),i):o(t.filename),n.readdirSync(i).forEach((function(s){var o,r,l,p=a(i,s);n.statSync(p).isDirectory()&&c.recurse?(o=e(t,p,c),Object.keys(o).length&&(u[c.rename(s,p,s)]=o)):p!==t.filename&&function(e,t,i){return new RegExp("\\.("+i.extensions.join("|")+")$","i").test(t)&&!(i.include&&i.include instanceof RegExp&&!i.include.test(e))&&!(i.include&&"function"==typeof i.include&&!i.include(e,t))&&!(i.exclude&&i.exclude instanceof RegExp&&i.exclude.test(e))&&!(i.exclude&&"function"==typeof i.exclude&&i.exclude(e,t))}(p,s,c)&&(r=s.substring(0,s.lastIndexOf(".")),l=t.require(p),u[c.rename(r,p,s)]=c.visit(l,p,s)||l)})),u},e.exports.defaults=r},1817:(e,t,i)=>{var n=i(181),a=n.Buffer;function s(e,t){for(var i in e)t[i]=e[i]}function o(e,t,i){return a(e,t,i)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=o),o.prototype=Object.create(a.prototype),s(a,o),o.from=function(e,t,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return a(e,t,i)},o.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=a(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},1308:(e,t,i)=>{var n=i(1817).Buffer;function a(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}a.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=n.from(e,t));for(var i=this._block,a=this._blockSize,s=e.length,o=this._len,r=0;r<s;){for(var c=o%a,u=Math.min(s-r,a-c),l=0;l<u;l++)i[c+l]=e[r+l];r+=u,(o+=u)%a==0&&this._update(i)}return this._len+=s,this},a.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i<=4294967295)this._block.writeUInt32BE(i,this._blockSize-4);else{var n=(4294967295&i)>>>0,a=(i-n)/4294967296;this._block.writeUInt32BE(a,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var s=this._hash();return e?s.toString(e):s},a.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=a},525:(e,t,i)=>{var n=i(9293),a=i(1308),s=i(1817).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],r=new Array(80);function c(){this.init(),this._w=r,a.call(this,64,56)}function u(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function p(e,t,i,n){return 0===e?t&i|~t&n:2===e?t&i|t&n|i&n:t^i^n}n(c,a),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,i=this._w,n=0|this._a,a=0|this._b,s=0|this._c,r=0|this._d,c=0|this._e,d=0;d<16;++d)i[d]=e.readInt32BE(4*d);for(;d<80;++d)i[d]=(t=i[d-3]^i[d-8]^i[d-14]^i[d-16])<<1|t>>>31;for(var f=0;f<80;++f){var h=~~(f/20),m=u(n)+p(h,a,s,r)+c+i[f]+o[h]|0;c=r,r=s,s=l(a),a=n,n=m}this._a=n+this._a|0,this._b=a+this._b|0,this._c=s+this._c|0,this._d=r+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},230:e=>{e.exports=function(e,t){var i=[];e.on("data",(function(e){i.push(e)})),e.once("end",(function(){t&&t(null,Buffer.concat(i)),t=null})),e.once("error",(function(e){t&&t(e),t=null}))}},5090:(e,t,i)=>{e.exports=p;const n=i(230),a=i(2686),s=i(8611),o=i(5692),r=i(9819),c=i(3480),u=i(7016),l=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;function p(e,t){if(e=Object.assign({maxRedirects:10},"string"==typeof e?{url:e}:e),t=r(t),e.url){const{hostname:t,port:i,protocol:n,auth:a,path:s}=u.parse(e.url);delete e.url,t||i||n||a?Object.assign(e,{hostname:t,port:i,protocol:n,auth:a,path:s}):e.path=s}const i={"accept-encoding":"gzip, deflate"};let n;e.headers&&Object.keys(e.headers).forEach((t=>i[t.toLowerCase()]=e.headers[t])),e.headers=i,e.body?n=e.json&&!l(e.body)?JSON.stringify(e.body):e.body:e.form&&(n="string"==typeof e.form?e.form:c.stringify(e.form),e.headers["content-type"]="application/x-www-form-urlencoded"),n&&(e.method||(e.method="POST"),l(n)||(e.headers["content-length"]=Buffer.byteLength(n)),e.json&&!e.form&&(e.headers["content-type"]="application/json")),delete e.body,delete e.form,e.json&&(e.headers.accept="application/json"),e.method&&(e.method=e.method.toUpperCase());const d=e.hostname,f=("https:"===e.protocol?o:s).request(e,(i=>{if(!1!==e.followRedirects&&i.statusCode>=300&&i.statusCode<400&&i.headers.location){e.url=i.headers.location,delete e.headers.host,i.resume();const n=u.parse(e.url).hostname;return null!==n&&n!==d&&(delete e.headers.cookie,delete e.headers.authorization),"POST"===e.method&&[301,302].includes(i.statusCode)&&(e.method="GET",delete e.headers["content-length"],delete e.headers["content-type"]),0==e.maxRedirects--?t(new Error("too many redirects")):p(e,t)}const n="function"==typeof a&&"HEAD"!==e.method;t(null,n?a(i):i)}));return f.on("timeout",(()=>{f.abort(),t(new Error("Request timed out"))})),f.on("error",t),l(n)?n.on("error",t).pipe(f):f.end(n),f}p.concat=(e,t)=>p(e,((i,a)=>{if(i)return t(i);n(a,((i,n)=>{if(i)return t(i);if(e.json)try{n=JSON.parse(n.toString())}catch(i){return t(i,a,n)}t(null,a,n)}))})),["get","post","put","patch","head","delete"].forEach((e=>{p[e]=(t,i)=>("string"==typeof t&&(t={url:t}),p(Object.assign({method:e.toUpperCase()},t),i))}))},4813:(e,t,i)=>{"use strict";const n=i(8395),a=i(1664),s=i(5895),o=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=n(e)).length)return 0;e=e.replace(s()," ");let t=0;for(let i=0;i<e.length;i++){const n=e.codePointAt(i);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&i++,t+=a(n)?2:1)}return t};e.exports=o,e.exports.default=o},8395:(e,t,i)=>{"use strict";const n=i(4764);e.exports=e=>"string"==typeof e?e.replace(n(),""):e},459:(e,t,i)=>{"use strict";const n=i(857),a=i(2018),s=i(5704),{env:o}=process;let r;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function u(e,t){if(0===r)return 0;if(s("color=16m")||s("color=full")||s("color=truecolor"))return 3;if(s("color=256"))return 2;if(e&&!t&&void 0===r)return 0;const i=r||0;if("dumb"===o.TERM)return i;if("win32"===process.platform){const e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in o))||"codeship"===o.CI_NAME?1:i;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:i}s("no-color")||s("no-colors")||s("color=false")||s("color=never")?r=0:(s("color")||s("colors")||s("color=true")||s("color=always"))&&(r=1),"FORCE_COLOR"in o&&(r="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(u(e,e&&e.isTTY))},stdout:c(u(!0,a.isatty(1))),stderr:c(u(!0,a.isatty(2)))}},8705:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t},o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const c=r(i(2925)),u=s(i(9896)),l=i(9896),p=i(722),d=i(8251),f=i(5699),h=s(i(1943)),m=s(i(3559)),g=i(866),b=i(3443),v=i(7580);t.default=function(e,t,i,n,a,s,r,x,y,w){return o(this,void 0,void 0,(function*(){var D;s||r||x||(console.log("Building code bundle..."),yield(0,f.runInShell)("npm run build"));const _=new c.default,E=(0,b.appIdWithEnvironmentId)(t,w);_.append("appId",E),_.append("file",(0,l.createReadStream)(i));const F=(0,v.getConsoleAppRegionByStage)(e),k=s?(0,g.getApplicationUrl)(F,E,"application/updateApplicationCode"):(0,g.getApplicationUrl)(F,p.environment.consoleAppId,"webhooks/updateApplicationCode");console.log(`Deploying code bundle for appId '${t}' to the '${w}' environment...`),a&&console.log("Deploying bundle to:",k);try{const e=_.getHeaders();n&&(e.Authorization=`ApiKey ${n}`),y&&(e["x-squid-secret"]=y);const t=yield function(e){return o(this,void 0,void 0,(function*(){const t=u.existsSync("tsoa.json")?"tsoa.json":"node_modules/@squidcloud/local-backend/dist/local-backend/tsoa.json";try{yield Promise.all([(0,f.runInShell)(`npx tsoa spec -c ${t}`,!1),(0,f.runInShell)(`npx tsoa routes -c ${t}`,!1)])}catch(t){if(e){const e=t;console.error("Unable to generate OpenAPI spec and controllers",e.errorMessage||t),e.combinedOutput&&(0,f.printCombinedOutput)(e.combinedOutput)}return}try{return{openApiSpecStr:yield h.readFile("dist/swagger.json",{encoding:"utf8"}),openApiControllersStr:yield h.readFile("dist/routes.ts",{encoding:"utf8"})}}catch(e){console.error("Unable to deploy OpenAPI spec and controllers",e)}}))}(a);t&&(_.append("openApiSpecStr",t.openApiSpecStr),_.append("openApiControllersStr",t.openApiControllersStr)),yield m.default.post(k,_,{headers:e}),console.log("Code deployed")}catch(e){if(!e)return;let t="";"object"==typeof e&&"message"in e&&(t+=e.message),(0,m.isAxiosError)(e)&&(null===(D=e.response)||void 0===D?void 0:D.data)&&(t+=(t?" -- ":"")+e.response.data),a&&console.error("VERBOSE: error deploying bundle:",e),(0,d.exitWithError)("Unable to deploy bundle:",t||e)}}))}},722:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.environment=void 0,t.environment={consoleAppId:"console",region:"local"}},6568:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),parseInt(process.version.split(".")[0].slice(1))<18&&(console.error(`Error: Squid requires Node.js version 18 or higher. You are using version ${process.version}.`),process.exit(1)),i(4291)},1838:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t},o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const c=s(i(1943)),u=r(i(6928));t.default=function(){return o(this,arguments,void 0,(function*(e="./",t,i,n,a,s){const o=`SQUID_APP_ID=${t}\nSQUID_REGION=${s}\nSQUID_API_KEY=${i}\nSQUID_ENVIRONMENT_ID=${n}\nSQUID_DEVELOPER_ID=${a}\n`;yield c.writeFile(u.default.resolve(e,".env"),o),console.log("Created .env file")}))}},3436:function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const a=i(2689),s=i(97),o=i(5699),r=i(3066);t.default=function(e,t,i,c,u,l,p){return n(this,void 0,void 0,(function*(){const n=[new s.SchematicOption("name",e),new s.SchematicOption("app-id",t),new s.SchematicOption("api-key",i),new s.SchematicOption("environment-id",c),new s.SchematicOption("squid-developer-id",u),new s.SchematicOption("region",l),new s.SchematicOption("author","")];yield a.SchematicRunner.execute("application",n),console.log("Installing dependencies..."),yield(0,o.runInShell)("npm install",!0,e),yield(0,r.reportLocalBackendInitialized)(t,i,p),console.log("Local backend initialized")}))}},4291:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t},o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const c=r(i(1771)),u=r(i(8705)),l=r(i(6928)),p=r(i(3436)),d=i(8251),f=s(i(8330)),h=r(i(496)),m=s(i(9650)),g=r(i(1838)),b=s(i(9896)),v=r(i(4328)),x=i(8058);function y(e,t){e.option("appId",{type:"string",demandOption:t,describe:"The application ID (Can be retrieved from the Squid Cloud Console)"})}function w(e,t){e.option("apiKey",{type:"string",demandOption:t,describe:"The application API key (Can be retrieved from the Squid Cloud Console)"})}function D(e,t){e.option("environmentId",{type:"string",demandOption:t,describe:"The environment to use Squid with (Can be retrieved from the Squid Cloud Console)"})}function _(e,t){e.option("squidDeveloperId",{type:"string",demandOption:t,describe:"The developer ID to use Squid with (Can be retrieved in the profile dropdown in the Squid Cloud Console)"})}function E(e,t){e.option("region",{type:"string",demandOption:t,describe:"The squid region use Squid with (Can be retrieved from the Squid Cloud Console)"})}function F(e,t){if(process.env[e])return process.env[e];let i=`Missing environment variable: ${e}.`;t&&(i+=` You can also specify it using ${t}`),i+="\nTo learn more about deployment environment variables, visit https://docs.squid.cloud/docs/development-tools/environments#environment-variables",(0,d.exitWithError)(i)}function k(e){e.option("stage",{type:"string",hidden:!0,default:"prod",choices:x.STAGES})}(0,c.default)(process.argv.slice(2)).strict(!0).demandCommand(1).scriptName("squid").version(f.version).option("verbose",{alias:"v",type:"boolean",description:"Run in verbose mode"}),function(e){e.command("start","Starts the local development server",(()=>{}),(()=>o(this,void 0,void 0,(function*(){yield(0,h.default)()}))))}(c.default),c.default.command(["deploy [path]","upload [path]"],"Builds and deploys your backend code to the Squid server",(e=>{e.positional("path",{type:"string",description:"The path to the bundle file (e.g. dist/bundle.zip)"}),e.count("direct").alias("d","direct"),k(e),y(e,!1),w(e,!1),D(e,!1),function(e){e.option("internalApiKey",{type:"string",demandOption:!1})}(e),e.option("skipBuild",{type:"boolean",description:"Skip the build step",default:!1})}),(e=>{const t=!!e.path,i=e.path||"dist/bundle.zip",n=function(e){const t=e.replace("dist/bundle.zip","");return b.existsSync(l.default.join(t,".env"))?t:b.existsSync(l.default.join(__dirname,".env"))?__dirname:process.cwd()}(i);!function(e){m.config({path:l.default.resolve(e||"./",".env")})}(n);const a=function(e){return e||F("SQUID_APP_ID","--appId")}(e.appId),s=e.direct?void 0:function(e){return e||F("SQUID_API_KEY","--apiKey")}(e.apiKey),o=function(e){return e||F("SQUID_ENVIRONMENT_ID","--environmentId")}(e.environmentId),r=e.direct?function(e){if(e)return e;const t=process.env.SQUID_INTERNAL_API_KEY;if(t)return t;(0,d.exitWithError)("Squid internal API key was not provided when using -d")}(e.internalApiKey):void 0;e.direct||s||(0,d.exitWithError)("Must provide an API key");const c=e.stage;(0,u.default)(c,a,i,s,!!e.verbose,e.direct,t,!!e.skipBuild,r,o).then()})),function(e){e.command("init-env [path]","Creates a .env file in your Squid project directory",(e=>{e.positional("path",{type:"string"}),y(e,!0),w(e,!0),D(e,!0),_(e,!0),E(e,!0)}),(e=>o(this,void 0,void 0,(function*(){yield(0,g.default)(e.path,e.appId,e.apiKey,e.environmentId,e.squidDeveloperId,e.region)}))))}(c.default),function(e){e.command("init [path]","Creates a new Squid backend project",(e=>{e.positional("path",{type:"string"}).demandOption("path"),k(e),y(e,!0),w(e,!0),D(e,!0),_(e,!0),E(e,!0)}),(e=>o(this,void 0,void 0,(function*(){yield(0,p.default)(e.path,e.appId,e.apiKey,e.environmentId,e.squidDeveloperId,e.region,e.stage),yield(0,g.default)(e.path,e.appId,e.apiKey,e.environmentId,e.squidDeveloperId,e.region)}))))}(c.default),function(e){e.command("init-sample [path]","Initializes a Squid sample project",(e=>{e.positional("path",{type:"string"}).demandOption("path"),y(e,!1),w(e,!1),D(e,!1),_(e,!1),E(e,!1),function(e,t){e.option("template",{type:"string",demandOption:!0,describe:"The template to use for the project. https://github.com/squid-cloud-samples for available templates.",default:"archer-lite"})}(e)}),(e=>o(this,void 0,void 0,(function*(){yield(0,v.default)(e.path,e.appId,e.apiKey,e.environmentId,e.squidDeveloperId,e.region,e.template)}))))}(c.default),c.default.parse()},4328:function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=a(i(1943)),o=a(i(1554)),r=a(i(9208)),c=a(i(3559)),u=i(5699),l=a(i(6928)),p=i(3066),d=i(8251);t.default=function(e,t,i,a,f,h){return n(this,arguments,void 0,(function*(e,t,i,n,a,f,h="starter"){var m;const g=`https://github.com/squid-cloud-samples/${h}`;try{yield s.default.stat(l.default.resolve(e)),(0,d.exitWithError)(`Project already exists: ${e}`)}catch(e){}200!==(yield c.default.head(g,{validateStatus:()=>!0})).status&&(0,d.exitWithError)(`Sample repository not found: ${g}`),console.log(`Cloning ${g}...`),yield o.default.clone({fs:s.default,http:r.default,dir:e,url:g}),console.log("Installing dependencies...");let b=!1;try{yield s.default.stat(l.default.resolve(e,"package.json")),b=!0}catch(e){}if(b&&(yield(0,u.runInShell)("npm install",!0,l.default.resolve(e))),yield(0,u.runInShell)("npm install",!0,l.default.resolve(e,"backend")),yield(0,u.runInShell)("npm install",!0,l.default.resolve(e,"frontend")),t&&f&&i&&n&&a){const o=`SQUID_APP_ID=${t}\nSQUID_REGION=${f}\nSQUID_API_KEY=${i}\nSQUID_ENVIRONMENT_ID=${n}\nSQUID_DEVELOPER_ID=${a}\n`;yield s.default.writeFile(l.default.resolve(e,"backend",".env"),o),(null===(m=JSON.parse((yield s.default.readFile(l.default.resolve(e,"frontend","package.json"))).toString()).scripts)||void 0===m?void 0:m["setup-env"])&&(yield(0,u.runInShell)("npm run setup-env",!0,l.default.resolve(e,"frontend"))),yield(0,p.reportLocalBackendInitialized)(t,i,"prod")}}))}},496:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t},o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const c=i(5699),u=r(i(7459)),l=s(i(1943)),p=i(5036),d=i(8251);t.default=function(){return o(this,void 0,void 0,(function*(){try{const e=yield l.readFile("package.json","utf8"),t=JSON.parse(e);(0,p.assertTruthy)(t.scripts["start-squid"],"NO_START_SQUID_SCRIPT")}catch(e){(0,d.exitWithError)("Please make sure you are running this command in your Squid project directory")}const e=u.default.hex("#188FFF");console.log(e("Please note:"),'to debug your application, you need to run the "start-squid" npm script in your IDE in debug mode'),console.log(e("Running:"),"npm run start-squid"),yield(0,c.runInShell)("npm run start-squid")}))}},4395:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeToKebabOrSnakeCase=void 0,t.normalizeToKebabOrSnakeCase=function(e){return e.replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase().replace(/\s/g,"-")}},8251:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.exitWithError=void 0;const o=s(i(932));t.exitWithError=function(...e){console.error(...e),o.exit(1)}},3066:function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.reportLocalBackendInitialized=void 0;const s=i(722),o=a(i(3559)),r=i(866),c=i(6334),u=i(7580);t.reportLocalBackendInitialized=function(e,t,i){return n(this,void 0,void 0,(function*(){const n=(0,u.getConsoleAppRegionByStage)(i),a=`${(0,r.getApplicationUrl)(n,s.environment.consoleAppId,"webhooks/reportLocalBackendInitialized")}`;try{const i={Authorization:`ApiKey ${t}`};yield o.default.post(a,{appId:e},{headers:i})}catch(e){console.warn("Warning: Failed to report backend initialization to the Squid Cloud Console."),c.DebugLogger.debug("Warning: unable to report backend initialization to squid",e)}}))}},97:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SchematicOption=void 0;const n=i(4395);t.SchematicOption=class{constructor(e,t){this.paramName=e,this.value=t}get normalizedName(){return(0,n.normalizeToKebabOrSnakeCase)(this.paramName)}toCommandString(){return`--${this.normalizedName}="${this.value}"`}}},2689:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t},o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.SchematicRunner=void 0;const r=i(5317),c=s(i(9896)),u=s(i(6928)),l=s(i(932)),p=i(8251),d=i(7022);class f{static findClosestSchematicsBinary(){return o(this,void 0,void 0,(function*(){const e=[__dirname,l.cwd()];return yield this.findClosestFile(e,"node_modules/@angular-devkit/schematics-cli/bin/schematics.js")}))}static findClosestFile(e,t){return o(this,void 0,void 0,(function*(){for(const i of e){let e=t;for(let t=0;t<5;t++){const t=u.resolve(i,e);if(yield f.checkIfFileExists(t))return t;e=`../${e}`}}(0,p.exitWithError)("'schematics' binary path could not be found!")}))}static checkIfFileExists(e){return o(this,void 0,void 0,(function*(){try{return yield c.promises.stat(e),!0}catch(t){if("ENOENT"===(null==t?void 0:t.code))return!1;(0,p.exitWithError)(`Cannot check if file exists: ${e}`,(0,d.getMessageFromError)(t))}}))}static execute(e,t,i){return o(this,void 0,void 0,(function*(){let n=this.buildCommandLine(e,t);n=i?n.concat(` ${i}`):n,yield this.run(n)}))}static run(e){return o(this,arguments,void 0,(function*(e,t=!1,i=l.cwd()){const n=[e],a={cwd:i,stdio:t?"pipe":"inherit",shell:!0};return new Promise(((i,s)=>o(this,void 0,void 0,(function*(){const o=(0,r.spawn)("node",[`"${yield f.findClosestSchematicsBinary()}"`,...n],a);t&&(o.stdout||(0,p.exitWithError)("child.stdout is null"),o.stdout.on("data",(e=>i(e.toString().replace(/\r\n|\n/,""))))),o.on("close",(t=>{0===t?i(null):(console.error(`node ${e} failed`),s())}))}))))}))}static buildCommandLine(e,t){return`@squidcloud/schematics:${e}${this.buildOptions(t)}`}static buildOptions(e){return e.reduce(((e,t)=>e.concat(` ${t.toCommandString()}`)),"")}}t.SchematicRunner=f},5699:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printCombinedOutput=t.runInShell=void 0;const n=i(5317);function a(e){for(const t of e)"error"===t.level?o(t.message):s(t.message)}function s(e){process.stdout.write(e)}function o(e){process.stderr.write(e)}t.runInShell=function(e,t=!0,i=process.cwd()){return new Promise(((r,c)=>{const u=(0,n.spawn)(e,{cwd:i,shell:!0,stdio:"pipe"}),l=[];u.stdout.on("data",(e=>{const i=e.toString();l.push({level:"info",message:i}),t&&s(i)})),u.stderr.on("data",(e=>{const i=e.toString();l.push({level:"error",message:i}),t&&o(i)})),u.on("error",(e=>{c(e)})),u.on("exit",(e=>{if(0===e)r({combinedOutput:l});else{const i=`The command exited with code ${e}`;t&&a(l),c({errorMessage:i,combinedOutput:l})}}))}))},t.printCombinedOutput=a},3443:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.omitSquidDevId=t.verifyWithSquidDevId=t.validateEnvironment=t.appIdWithEnvironmentIdAndDevId=t.appIdWithEnvironmentId=t.parseAppId=void 0;const n=i(5036);function a(e){const[t,i,a,s]=e.split("-");return(0,n.assertTruthy)(!s,"Invalid appId: "+e),{appId:t,environmentId:null!=i?i:"prod",squidDeveloperId:a}}function s(e,t){return`${a(e).appId}${t&&"prod"!==t?`-${t}`:""}`}t.parseAppId=a,t.appIdWithEnvironmentId=s,t.appIdWithEnvironmentIdAndDevId=function(e,t,i){return`${s(e,t)}${i?`-${i}`:""}`},t.validateEnvironment=function(e){const t=a(e);return(0,n.assertTruthy)("prod"!==t.environmentId||!t.squidDeveloperId,"Cannot use developer ID in production"),t},t.verifyWithSquidDevId=function(e){const t=a(e);(0,n.assertTruthy)(t.squidDeveloperId,"Must provide squid developer ID")},t.omitSquidDevId=function(e){const t=a(e);return s(t.appId,t.environmentId)}},7580:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getConsoleAppRegionByStage=void 0,t.getConsoleAppRegionByStage=function(e){switch(e){case"local":return"local";case"dev":return"us-east-1.aws-dev";case"prod":return"us-east-1.aws";case"sandbox":return"us-east-1.aws.sandbox"}}},8058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.STAGES=void 0,t.STAGES=["local","dev","prod","sandbox"]},7022:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageFromError=void 0,t.getMessageFromError=function(e,t){return e instanceof Error?e.message:null!=t?t:`${e}`}},6334:(e,t)=>{"use strict";function i(){if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;if("undefined"!=typeof self)return self;throw new Error("Unable to locate global object")}function n(){const e=i();return e&&e.SQUID_DEBUG_ENABLED}Object.defineProperty(t,"__esModule",{value:!0}),t.DebugLogger=t.disableDebugLogs=t.enableDebugLogs=t.isDebugEnabled=t.getGlobal=void 0,t.getGlobal=i,t.isDebugEnabled=n,t.enableDebugLogs=function(){i().SQUID_DEBUG_ENABLED=!0},t.disableDebugLogs=function(){i().SQUID_DEBUG_ENABLED=!1};class a{static log(...e){a.info(...e)}static info(...e){console.log(`%c[${a.getTimestampString()}] INFO`,"color:green",...e)}static warn(...e){console.warn(`%c[${a.getTimestampString()}] WARN`,"color:yellow",...e)}static error(...e){console.error(`%c[${a.getTimestampString()}] ERROR`,"color:red",...e)}static debug(...e){n()&&console.log(`%c[${a.getTimestampString()}] DEBUG`,"color:cyan",...e)}static getTimestampString(){const e=new Date;return`${e.toLocaleTimeString()}.${e.getMilliseconds()}`}}t.DebugLogger=a},866:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getApplicationHttpHeaders=t.getApplicationUrl=void 0;const i=["query","aiData","api","backend-function","webhooks","ws","quota","named-query","native-query","application-kotlin","openapi","secret","queue","mutation","application","storage","internalCodeExecutor"];function n(e){return/^local/.test(e)}t.getApplicationUrl=function(e,t,a){const s=new URL("https://squid.cloud");s.host=`${t}.${e}.${s.host}`;const o=a.replace(/^\//g,"").split("/")[0]||"";n(e)&&(s.protocol="http",s.port=i.includes(o)?"8001":"8000",function(e){return/android$/.test(e)}(e)?s.host="10.0.2.2":function(e){return/ios$/.test(e)}(e)&&(s.host="localhost"));const r=s.toString();a=a.startsWith("/")?a.slice(1):a;const c=r.replace(/\/$/g,"");return a.length?`${c}/${a}`:c},t.getApplicationHttpHeaders=function(e,t){const i={};return n(e)&&(i["x-squid-appid"]=t),i}},9359:(e,t,i)=>{"use strict";const n=i(4813),a=i(8395),s=i(7007),o=new Set(["",""]),r="]8;;",c=e=>`${o.values().next().value}[${e}m`,u=e=>`${o.values().next().value}${r}${e}`,l=(e,t,i)=>{const s=[...t];let c=!1,u=!1,l=n(a(e[e.length-1]));for(const[t,a]of s.entries()){const p=n(a);l+p<=i?e[e.length-1]+=a:(e.push(a),l=0),o.has(a)&&(c=!0,u=s.slice(t+1).join("").startsWith(r)),c?u?""===a&&(c=!1,u=!1):"m"===a&&(c=!1):(l+=p,l===i&&t<s.length-1&&(e.push(""),l=0))}!l&&e[e.length-1].length>0&&e.length>1&&(e[e.length-2]+=e.pop())},p=e=>{const t=e.split(" ");let i=t.length;for(;i>0&&!(n(t[i-1])>0);)i--;return i===t.length?e:t.slice(0,i).join(" ")+t.slice(i).join("")};e.exports=(e,t,i)=>String(e).normalize().replace(/\r\n/g,"\n").split("\n").map((e=>((e,t,i={})=>{if(!1!==i.trim&&""===e.trim())return"";let a,d,f="";const h=(e=>e.split(" ").map((e=>n(e))))(e);let m=[""];for(const[a,s]of e.split(" ").entries()){!1!==i.trim&&(m[m.length-1]=m[m.length-1].trimStart());let e=n(m[m.length-1]);if(0!==a&&(e>=t&&(!1===i.wordWrap||!1===i.trim)&&(m.push(""),e=0),(e>0||!1===i.trim)&&(m[m.length-1]+=" ",e++)),i.hard&&h[a]>t){const i=t-e,n=1+Math.floor((h[a]-i-1)/t);Math.floor((h[a]-1)/t)<n&&m.push(""),l(m,s,t)}else{if(e+h[a]>t&&e>0&&h[a]>0){if(!1===i.wordWrap&&e<t){l(m,s,t);continue}m.push("")}e+h[a]>t&&!1===i.wordWrap?l(m,s,t):m[m.length-1]+=s}}!1!==i.trim&&(m=m.map(p));const g=[...m.join("\n")];for(const[e,t]of g.entries()){if(f+=t,o.has(t)){const{groups:t}=new RegExp(`(?:\\[(?<code>\\d+)m|\\${r}(?<uri>.*))`).exec(g.slice(e).join(""))||{groups:{}};if(void 0!==t.code){const e=Number.parseFloat(t.code);a=39===e?void 0:e}else void 0!==t.uri&&(d=0===t.uri.length?void 0:t.uri)}const i=s.codes.get(Number(a));"\n"===g[e+1]?(d&&(f+=u("")),a&&i&&(f+=c(i))):"\n"===t&&(a&&i&&(f+=c(a)),d&&(f+=u(d)))}return f})(e,t,i))).join("\n")},1591:e=>{e.exports=function e(t,i){if(t&&i)return e(t)(i);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach((function(e){n[e]=t[e]})),n;function n(){for(var e=new Array(arguments.length),i=0;i<e.length;i++)e[i]=arguments[i];var n=t.apply(this,e),a=e[e.length-1];return"function"==typeof n&&n!==a&&Object.keys(a).forEach((function(e){n[e]=a[e]})),n}}},8953:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=8953,e.exports=t},7315:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=7315,e.exports=t},5600:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=5600,e.exports=t},2613:e=>{"use strict";e.exports=require("assert")},181:e=>{"use strict";e.exports=require("buffer")},5317:e=>{"use strict";e.exports=require("child_process")},6982:e=>{"use strict";e.exports=require("crypto")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},1943:e=>{"use strict";e.exports=require("fs/promises")},8611:e=>{"use strict";e.exports=require("http")},5692:e=>{"use strict";e.exports=require("https")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},932:e=>{"use strict";e.exports=require("process")},3480:e=>{"use strict";e.exports=require("querystring")},2203:e=>{"use strict";e.exports=require("stream")},2018:e=>{"use strict";e.exports=require("tty")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},3106:e=>{"use strict";e.exports=require("zlib")},3559:(e,t,i)=>{"use strict";const n=i(2925),a=i(7016),s=i(1420),o=i(8611),r=i(5692),c=i(9023),u=i(3520),l=i(3106),p=i(2203),d=i(4434);function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const h=f(n),m=f(a),g=f(o),b=f(r),v=f(c),x=f(u),y=f(l),w=f(p),D=f(d);function _(e,t){return function(){return e.apply(t,arguments)}}const{toString:E}=Object.prototype,{getPrototypeOf:F}=Object,k=(C=Object.create(null),e=>{const t=E.call(e);return C[t]||(C[t]=t.slice(8,-1).toLowerCase())});var C;const j=e=>(e=e.toLowerCase(),t=>k(t)===e),O=e=>t=>typeof t===e,{isArray:A}=Array,S=O("undefined"),B=j("ArrayBuffer"),R=O("string"),$=O("function"),P=O("number"),T=e=>null!==e&&"object"==typeof e,I=e=>{if("object"!==k(e))return!1;const t=F(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},M=j("Date"),z=j("File"),N=j("Blob"),U=j("FileList"),L=j("URLSearchParams");function q(e,t,{allOwnKeys:i=!1}={}){if(null==e)return;let n,a;if("object"!=typeof e&&(e=[e]),A(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{const a=i?Object.getOwnPropertyNames(e):Object.keys(e),s=a.length;let o;for(n=0;n<s;n++)o=a[n],t.call(null,e[o],o,e)}}function H(e,t){t=t.toLowerCase();const i=Object.keys(e);let n,a=i.length;for(;a-- >0;)if(n=i[a],t===n.toLowerCase())return n;return null}const W="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,G=e=>!S(e)&&e!==W,V=(K="undefined"!=typeof Uint8Array&&F(Uint8Array),e=>K&&e instanceof K);var K;const Y=j("HTMLFormElement"),Z=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),J=j("RegExp"),Q=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),n={};q(i,((i,a)=>{let s;!1!==(s=t(i,a,e))&&(n[a]=s||i)})),Object.defineProperties(e,n)},X="abcdefghijklmnopqrstuvwxyz",ee="0123456789",te={DIGIT:ee,ALPHA:X,ALPHA_DIGIT:X+X.toUpperCase()+ee},ie=j("AsyncFunction"),ne={isArray:A,isArrayBuffer:B,isBuffer:function(e){return null!==e&&!S(e)&&null!==e.constructor&&!S(e.constructor)&&$(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||$(e.append)&&("formdata"===(t=k(e))||"object"===t&&$(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&B(e.buffer),t},isString:R,isNumber:P,isBoolean:e=>!0===e||!1===e,isObject:T,isPlainObject:I,isUndefined:S,isDate:M,isFile:z,isBlob:N,isRegExp:J,isFunction:$,isStream:e=>T(e)&&$(e.pipe),isURLSearchParams:L,isTypedArray:V,isFileList:U,forEach:q,merge:function e(){const{caseless:t}=G(this)&&this||{},i={},n=(n,a)=>{const s=t&&H(i,a)||a;I(i[s])&&I(n)?i[s]=e(i[s],n):I(n)?i[s]=e({},n):A(n)?i[s]=n.slice():i[s]=n};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&q(arguments[e],n);return i},extend:(e,t,i,{allOwnKeys:n}={})=>(q(t,((t,n)=>{i&&$(t)?e[n]=_(t,i):e[n]=t}),{allOwnKeys:n}),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,i,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},toFlatObject:(e,t,i,n)=>{let a,s,o;const r={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),s=a.length;s-- >0;)o=a[s],n&&!n(o,e,t)||r[o]||(t[o]=e[o],r[o]=!0);e=!1!==i&&F(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},kindOf:k,kindOfTest:j,endsWith:(e,t,i)=>{e=String(e),(void 0===i||i>e.length)&&(i=e.length),i-=t.length;const n=e.indexOf(t,i);return-1!==n&&n===i},toArray:e=>{if(!e)return null;if(A(e))return e;let t=e.length;if(!P(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},forEachEntry:(e,t)=>{const i=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=i.next())&&!n.done;){const i=n.value;t.call(e,i[0],i[1])}},matchAll:(e,t)=>{let i;const n=[];for(;null!==(i=e.exec(t));)n.push(i);return n},isHTMLForm:Y,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:Q,freezeMethods:e=>{Q(e,((t,i)=>{if($(e)&&-1!==["arguments","caller","callee"].indexOf(i))return!1;const n=e[i];$(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")}))}))},toObjectSet:(e,t)=>{const i={},n=e=>{e.forEach((e=>{i[e]=!0}))};return A(e)?n(e):n(String(e).split(t)),i},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,i){return t.toUpperCase()+i})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:H,global:W,isContextDefined:G,ALPHABET:te,generateString:(e=16,t=te.ALPHA_DIGIT)=>{let i="";const{length:n}=t;for(;e--;)i+=t[Math.random()*n|0];return i},isSpecCompliantForm:function(e){return!!(e&&$(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),i=(e,n)=>{if(T(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;const a=A(e)?[]:{};return q(e,((e,t)=>{const s=i(e,n+1);!S(s)&&(a[t]=s)})),t[n]=void 0,a}}return e};return i(e,0)},isAsyncFn:ie,isThenable:e=>e&&(T(e)||$(e))&&$(e.then)&&$(e.catch)};function ae(e,t,i,n,a){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),i&&(this.config=i),n&&(this.request=n),a&&(this.response=a)}ne.inherits(ae,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:ne.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const se=ae.prototype,oe={};function re(e){return ne.isPlainObject(e)||ne.isArray(e)}function ce(e){return ne.endsWith(e,"[]")?e.slice(0,-2):e}function ue(e,t,i){return e?e.concat(t).map((function(e,t){return e=ce(e),!i&&t?"["+e+"]":e})).join(i?".":""):t}["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=>{oe[e]={value:e}})),Object.defineProperties(ae,oe),Object.defineProperty(se,"isAxiosError",{value:!0}),ae.from=(e,t,i,n,a,s)=>{const o=Object.create(se);return ne.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),ae.call(o,e.message,t,i,n,a),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const le=ne.toFlatObject(ne,{},null,(function(e){return/^is[A-Z]/.test(e)}));function pe(e,t,i){if(!ne.isObject(e))throw new TypeError("target must be an object");t=t||new(h.default||FormData);const n=(i=ne.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ne.isUndefined(t[e])}))).metaTokens,a=i.visitor||u,s=i.dots,o=i.indexes,r=(i.Blob||"undefined"!=typeof Blob&&Blob)&&ne.isSpecCompliantForm(t);if(!ne.isFunction(a))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(ne.isDate(e))return e.toISOString();if(!r&&ne.isBlob(e))throw new ae("Blob is not supported. Use a Buffer instead.");return ne.isArrayBuffer(e)||ne.isTypedArray(e)?r&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,i,a){let r=e;if(e&&!a&&"object"==typeof e)if(ne.endsWith(i,"{}"))i=n?i:i.slice(0,-2),e=JSON.stringify(e);else if(ne.isArray(e)&&function(e){return ne.isArray(e)&&!e.some(re)}(e)||(ne.isFileList(e)||ne.endsWith(i,"[]"))&&(r=ne.toArray(e)))return i=ce(i),r.forEach((function(e,n){!ne.isUndefined(e)&&null!==e&&t.append(!0===o?ue([i],n,s):null===o?i:i+"[]",c(e))})),!1;return!!re(e)||(t.append(ue(a,i,s),c(e)),!1)}const l=[],p=Object.assign(le,{defaultVisitor:u,convertValue:c,isVisitable:re});if(!ne.isObject(e))throw new TypeError("data must be an object");return function e(i,n){if(!ne.isUndefined(i)){if(-1!==l.indexOf(i))throw Error("Circular reference detected in "+n.join("."));l.push(i),ne.forEach(i,(function(i,s){!0===(!(ne.isUndefined(i)||null===i)&&a.call(t,i,ne.isString(s)?s.trim():s,n,p))&&e(i,n?n.concat(s):[s])})),l.pop()}}(e),t}function de(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function fe(e,t){this._pairs=[],e&&pe(e,this,t)}const he=fe.prototype;function me(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ge(e,t,i){if(!t)return e;const n=i&&i.encode||me,a=i&&i.serialize;let s;if(s=a?a(t,i):ne.isURLSearchParams(t)?t.toString():new fe(t,i).toString(n),s){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}he.append=function(e,t){this._pairs.push([e,t])},he.toString=function(e){const t=e?function(t){return e.call(this,t,de)}:de;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const be=class{constructor(){this.handlers=[]}use(e,t,i){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ne.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ve={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xe={isNode:!0,classes:{URLSearchParams:m.default.URLSearchParams,FormData:h.default,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]},ye="undefined"!=typeof window&&"undefined"!=typeof document,we=(De="undefined"!=typeof navigator&&navigator.product,ye&&["ReactNative","NativeScript","NS"].indexOf(De)<0);var De;const _e="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ee={...Object.freeze({__proto__:null,hasBrowserEnv:ye,hasStandardBrowserWebWorkerEnv:_e,hasStandardBrowserEnv:we}),...xe};function Fe(e){function t(e,i,n,a){let s=e[a++];if("__proto__"===s)return!0;const o=Number.isFinite(+s),r=a>=e.length;return s=!s&&ne.isArray(n)?n.length:s,r?(ne.hasOwnProp(n,s)?n[s]=[n[s],i]:n[s]=i,!o):(n[s]&&ne.isObject(n[s])||(n[s]=[]),t(e,i,n[s],a)&&ne.isArray(n[s])&&(n[s]=function(e){const t={},i=Object.keys(e);let n;const a=i.length;let s;for(n=0;n<a;n++)s=i[n],t[s]=e[s];return t}(n[s])),!o)}if(ne.isFormData(e)&&ne.isFunction(e.entries)){const i={};return ne.forEachEntry(e,((e,n)=>{t(function(e){return ne.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,i,0)})),i}return null}const ke={transitional:ve,adapter:["xhr","http"],transformRequest:[function(e,t){const i=t.getContentType()||"",n=i.indexOf("application/json")>-1,a=ne.isObject(e);if(a&&ne.isHTMLForm(e)&&(e=new FormData(e)),ne.isFormData(e))return n?JSON.stringify(Fe(e)):e;if(ne.isArrayBuffer(e)||ne.isBuffer(e)||ne.isStream(e)||ne.isFile(e)||ne.isBlob(e))return e;if(ne.isArrayBufferView(e))return e.buffer;if(ne.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(a){if(i.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return pe(e,new Ee.classes.URLSearchParams,Object.assign({visitor:function(e,t,i,n){return Ee.isNode&&ne.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((s=ne.isFileList(e))||i.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return pe(s?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||n?(t.setContentType("application/json",!1),function(e,t,i){if(ne.isString(e))try{return(0,JSON.parse)(e),ne.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ke.transitional,i=t&&t.forcedJSONParsing,n="json"===this.responseType;if(e&&ne.isString(e)&&(i&&!this.responseType||n)){const i=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw ae.from(e,ae.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ee.classes.FormData,Blob:Ee.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ne.forEach(["delete","get","head","post","put","patch"],(e=>{ke.headers[e]={}}));const Ce=ke,je=ne.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Oe=Symbol("internals");function Ae(e){return e&&String(e).trim().toLowerCase()}function Se(e){return!1===e||null==e?e:ne.isArray(e)?e.map(Se):String(e)}function Be(e,t,i,n,a){return ne.isFunction(n)?n.call(this,t,i):(a&&(t=i),ne.isString(t)?ne.isString(n)?-1!==t.indexOf(n):ne.isRegExp(n)?n.test(t):void 0:void 0)}class Re{constructor(e){e&&this.set(e)}set(e,t,i){const n=this;function a(e,t,i){const a=Ae(t);if(!a)throw new Error("header name must be a non-empty string");const s=ne.findKey(n,a);(!s||void 0===n[s]||!0===i||void 0===i&&!1!==n[s])&&(n[s||t]=Se(e))}const s=(e,t)=>ne.forEach(e,((e,i)=>a(e,i,t)));return ne.isPlainObject(e)||e instanceof this.constructor?s(e,t):ne.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?s((e=>{const t={};let i,n,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),i=e.substring(0,a).trim().toLowerCase(),n=e.substring(a+1).trim(),!i||t[i]&&je[i]||("set-cookie"===i?t[i]?t[i].push(n):t[i]=[n]:t[i]=t[i]?t[i]+", "+n:n)})),t})(e),t):null!=e&&a(t,e,i),this}get(e,t){if(e=Ae(e)){const i=ne.findKey(this,e);if(i){const e=this[i];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=i.exec(e);)t[n[1]]=n[2];return t}(e);if(ne.isFunction(t))return t.call(this,e,i);if(ne.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ae(e)){const i=ne.findKey(this,e);return!(!i||void 0===this[i]||t&&!Be(0,this[i],i,t))}return!1}delete(e,t){const i=this;let n=!1;function a(e){if(e=Ae(e)){const a=ne.findKey(i,e);!a||t&&!Be(0,i[a],a,t)||(delete i[a],n=!0)}}return ne.isArray(e)?e.forEach(a):a(e),n}clear(e){const t=Object.keys(this);let i=t.length,n=!1;for(;i--;){const a=t[i];e&&!Be(0,this[a],a,e,!0)||(delete this[a],n=!0)}return n}normalize(e){const t=this,i={};return ne.forEach(this,((n,a)=>{const s=ne.findKey(i,a);if(s)return t[s]=Se(n),void delete t[a];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,i)=>t.toUpperCase()+i))}(a):String(a).trim();o!==a&&delete t[a],t[o]=Se(n),i[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ne.forEach(this,((i,n)=>{null!=i&&!1!==i&&(t[n]=e&&ne.isArray(i)?i.join(", "):i)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const i=new this(e);return t.forEach((e=>i.set(e))),i}static accessor(e){const t=(this[Oe]=this[Oe]={accessors:{}}).accessors,i=this.prototype;function n(e){const n=Ae(e);t[n]||(function(e,t){const i=ne.toCamelCase(" "+t);["get","set","has"].forEach((n=>{Object.defineProperty(e,n+i,{value:function(e,i,a){return this[n].call(this,t,e,i,a)},configurable:!0})}))}(i,e),t[n]=!0)}return ne.isArray(e)?e.forEach(n):n(e),this}}Re.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ne.reduceDescriptors(Re.prototype,(({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[i]=e}}})),ne.freezeMethods(Re);const $e=Re;function Pe(e,t){const i=this||Ce,n=t||i,a=$e.from(n.headers);let s=n.data;return ne.forEach(e,(function(e){s=e.call(i,s,a.normalize(),t?t.status:void 0)})),a.normalize(),s}function Te(e){return!(!e||!e.__CANCEL__)}function Ie(e,t,i){ae.call(this,null==e?"canceled":e,ae.ERR_CANCELED,t,i),this.name="CanceledError"}function Me(e,t,i){const n=i.config.validateStatus;i.status&&n&&!n(i.status)?t(new ae("Request failed with status code "+i.status,[ae.ERR_BAD_REQUEST,ae.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):e(i)}function ze(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}ne.inherits(Ie,ae,{__CANCEL__:!0});const Ne="1.6.7";function Ue(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Le=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function qe(e,t){e=e||10;const i=new Array(e),n=new Array(e);let a,s=0,o=0;return t=void 0!==t?t:1e3,function(r){const c=Date.now(),u=n[o];a||(a=c),i[s]=r,n[s]=c;let l=o,p=0;for(;l!==s;)p+=i[l++],l%=e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-a<t)return;const d=u&&c-u;return d?Math.round(1e3*p/d):void 0}}const He=Symbol("internals");class We extends w.default.Transform{constructor(e){super({readableHighWaterMark:(e=ne.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!ne.isUndefined(t[e])))).chunkSize});const t=this,i=this[He]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},n=qe(i.ticksRate*e.samplesCount,i.timeWindow);this.on("newListener",(e=>{"progress"===e&&(i.isCaptured||(i.isCaptured=!0))}));let a=0;i.updateProgress=function(e,t){let i=0;const n=1e3/t;let a=null;return function(t,s){const o=Date.now();if(t||o-i>n)return a&&(clearTimeout(a),a=null),i=o,e.apply(null,s);a||(a=setTimeout((()=>(a=null,i=Date.now(),e.apply(null,s))),n-(o-i)))}}((function(){const e=i.length,s=i.bytesSeen,o=s-a;if(!o||t.destroyed)return;const r=n(o);a=s,process.nextTick((()=>{t.emit("progress",{loaded:s,total:e,progress:e?s/e:void 0,bytes:o,rate:r||void 0,estimated:r&&e&&s<=e?(e-s)/r:void 0})}))}),i.ticksRate);const s=()=>{i.updateProgress(!0)};this.once("end",s),this.once("error",s)}_read(e){const t=this[He];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,i){const n=this,a=this[He],s=a.maxRate,o=this.readableHighWaterMark,r=a.timeWindow,c=s/(1e3/r),u=!1!==a.minChunkSize?Math.max(a.minChunkSize,.01*c):0,l=(e,t)=>{const i=Buffer.byteLength(e);let l,p=null,d=o,f=0;if(s){const e=Date.now();(!a.ts||(f=e-a.ts)>=r)&&(a.ts=e,l=c-a.bytes,a.bytes=l<0?-l:0,f=0),l=c-a.bytes}if(s){if(l<=0)return setTimeout((()=>{t(null,e)}),r-f);l<d&&(d=l)}d&&i>d&&i-d>u&&(p=e.subarray(d),e=e.subarray(0,d)),function(e,t){const i=Buffer.byteLength(e);a.bytesSeen+=i,a.bytes+=i,a.isCaptured&&a.updateProgress(),n.push(e)?process.nextTick(t):a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(t)}}(e,p?()=>{process.nextTick(t,null,p)}:t)};l(e,(function e(t,n){if(t)return i(t);n?l(n,e):i(null)}))}setLength(e){return this[He].length=+e,this}}const Ge=We,{asyncIterator:Ve}=Symbol,Ke=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[Ve]?yield*e[Ve]():yield e},Ye=ne.ALPHABET.ALPHA_DIGIT+"-_",Ze=new c.TextEncoder,Je="\r\n",Qe=Ze.encode(Je);class Xe{constructor(e,t){const{escapeName:i}=this.constructor,n=ne.isString(t);let a=`Content-Disposition: form-data; name="${i(e)}"${!n&&t.name?`; filename="${i(t.name)}"`:""}${Je}`;n?t=Ze.encode(String(t).replace(/\r?\n|\r\n?/g,Je)):a+=`Content-Type: ${t.type||"application/octet-stream"}${Je}`,this.headers=Ze.encode(a+Je),this.contentLength=n?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;ne.isTypedArray(e)?yield e:yield*Ke(e),yield Qe}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class et extends w.default.Transform{__transform(e,t,i){this.push(e),i()}_transform(e,t,i){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,i)}}const tt=et,it=(e,t)=>ne.isAsyncFn(e)?function(...i){const n=i.pop();e.apply(this,i).then((e=>{try{t?n(null,...t(e)):n(null,e)}catch(e){n(e)}}),n)}:e,nt={flush:y.default.constants.Z_SYNC_FLUSH,finishFlush:y.default.constants.Z_SYNC_FLUSH},at={flush:y.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:y.default.constants.BROTLI_OPERATION_FLUSH},st=ne.isFunction(y.default.createBrotliDecompress),{http:ot,https:rt}=x.default,ct=/https:?/,ut=Ee.protocols.map((e=>e+":"));function lt(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function pt(e,t,i){let n=t;if(!n&&!1!==n){const e=s.getProxyForUrl(i);e&&(n=new URL(e))}if(n){if(n.username&&(n.auth=(n.username||"")+":"+(n.password||"")),n.auth){(n.auth.username||n.auth.password)&&(n.auth=(n.auth.username||"")+":"+(n.auth.password||""));const t=Buffer.from(n.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=n.hostname||n.host;e.hostname=t,e.host=t,e.port=n.port,e.path=i,n.protocol&&(e.protocol=n.protocol.includes(":")?n.protocol:`${n.protocol}:`)}e.beforeRedirects.proxy=function(e){pt(e,t,e.href)}}const dt="undefined"!=typeof process&&"process"===ne.kindOf(process),ft=(e,t)=>(({address:e,family:t})=>{if(!ne.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(ne.isObject(e)?e:{address:e,family:t}),ht=dt&&function(e){return t=async function(t,i,n){let{data:a,lookup:s,family:o}=e;const{responseType:r,responseEncoding:c}=e,u=e.method.toUpperCase();let l,d,f=!1;if(s){const e=it(s,(e=>ne.isArray(e)?e:[e]));s=(t,i,n)=>{e(t,i,((e,t,a)=>{if(e)return n(e);const s=ne.isArray(t)?t.map((e=>ft(e))):[ft(t,a)];i.all?n(e,s):n(e,s[0].address,s[0].family)}))}}const h=new D.default,m=()=>{e.cancelToken&&e.cancelToken.unsubscribe(x),e.signal&&e.signal.removeEventListener("abort",x),h.removeAllListeners()};function x(t){h.emit("abort",!t||t.type?new Ie(null,e,d):t)}n(((e,t)=>{l=!0,t&&(f=!0,m())})),h.once("abort",i),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(x),e.signal&&(e.signal.aborted?x():e.signal.addEventListener("abort",x)));const _=ze(e.baseURL,e.url),E=new URL(_,"http://localhost"),F=E.protocol||ut[0];if("data:"===F){let n;if("GET"!==u)return Me(t,i,{status:405,statusText:"method not allowed",headers:{},config:e});try{n=function(e,t,i){const n=i&&i.Blob||Ee.classes.Blob,a=Ue(e);if(void 0===t&&n&&(t=!0),"data"===a){e=a.length?e.slice(a.length+1):e;const i=Le.exec(e);if(!i)throw new ae("Invalid URL",ae.ERR_INVALID_URL);const s=i[1],o=i[2],r=i[3],c=Buffer.from(decodeURIComponent(r),o?"base64":"utf8");if(t){if(!n)throw new ae("Blob is not supported",ae.ERR_NOT_SUPPORT);return new n([c],{type:s})}return c}throw new ae("Unsupported protocol "+a,ae.ERR_NOT_SUPPORT)}(e.url,"blob"===r,{Blob:e.env&&e.env.Blob})}catch(t){throw ae.from(t,ae.ERR_BAD_REQUEST,e)}return"text"===r?(n=n.toString(c),c&&"utf8"!==c||(n=ne.stripBOM(n))):"stream"===r&&(n=w.default.Readable.from(n)),Me(t,i,{data:n,status:200,statusText:"OK",headers:new $e,config:e})}if(-1===ut.indexOf(F))return i(new ae("Unsupported protocol "+F,ae.ERR_BAD_REQUEST,e));const k=$e.from(e.headers).normalize();k.set("User-Agent","axios/"+Ne,!1);const C=e.onDownloadProgress,j=e.onUploadProgress,O=e.maxRate;let A,S;if(ne.isSpecCompliantForm(a)){const e=k.getContentType(/boundary=([-_\w\d]{10,70})/i);a=((e,t,i)=>{const{tag:n="form-data-boundary",size:a=25,boundary:s=n+"-"+ne.generateString(a,Ye)}=i||{};if(!ne.isFormData(e))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 10-70 characters long");const o=Ze.encode("--"+s+Je),r=Ze.encode("--"+s+"--"+Je+Je);let c=r.byteLength;const u=Array.from(e.entries()).map((([e,t])=>{const i=new Xe(e,t);return c+=i.size,i}));c+=o.byteLength*u.length,c=ne.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${s}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),p.Readable.from(async function*(){for(const e of u)yield o,yield*e.encode();yield r}())})(a,(e=>{k.set(e)}),{tag:`axios-${Ne}-boundary`,boundary:e&&e[1]||void 0})}else if(ne.isFormData(a)&&ne.isFunction(a.getHeaders)){if(k.set(a.getHeaders()),!k.hasContentLength())try{const e=await v.default.promisify(a.getLength).call(a);Number.isFinite(e)&&e>=0&&k.setContentLength(e)}catch(e){}}else if(ne.isBlob(a))a.size&&k.setContentType(a.type||"application/octet-stream"),k.setContentLength(a.size||0),a=w.default.Readable.from(Ke(a));else if(a&&!ne.isStream(a)){if(Buffer.isBuffer(a));else if(ne.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else{if(!ne.isString(a))return i(new ae("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",ae.ERR_BAD_REQUEST,e));a=Buffer.from(a,"utf-8")}if(k.setContentLength(a.length,!1),e.maxBodyLength>-1&&a.length>e.maxBodyLength)return i(new ae("Request body larger than maxBodyLength limit",ae.ERR_BAD_REQUEST,e))}const B=ne.toFiniteNumber(k.getContentLength());let R,$;ne.isArray(O)?(A=O[0],S=O[1]):A=S=O,a&&(j||A)&&(ne.isStream(a)||(a=w.default.Readable.from(a,{objectMode:!1})),a=w.default.pipeline([a,new Ge({length:B,maxRate:ne.toFiniteNumber(A)})],ne.noop),j&&a.on("progress",(e=>{j(Object.assign(e,{upload:!0}))}))),e.auth&&(R=(e.auth.username||"")+":"+(e.auth.password||"")),!R&&E.username&&(R=E.username+":"+E.password),R&&k.delete("authorization");try{$=ge(E.pathname+E.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const n=new Error(t.message);return n.config=e,n.url=e.url,n.exists=!0,i(n)}k.set("Accept-Encoding","gzip, compress, deflate"+(st?", br":""),!1);const P={path:$,method:u,headers:k.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:R,protocol:F,family:o,beforeRedirect:lt,beforeRedirects:{}};let T;!ne.isUndefined(s)&&(P.lookup=s),e.socketPath?P.socketPath=e.socketPath:(P.hostname=E.hostname,P.port=E.port,pt(P,e.proxy,F+"//"+E.hostname+(E.port?":"+E.port:"")+P.path));const I=ct.test(P.protocol);if(P.agent=I?e.httpsAgent:e.httpAgent,e.transport?T=e.transport:0===e.maxRedirects?T=I?b.default:g.default:(e.maxRedirects&&(P.maxRedirects=e.maxRedirects),e.beforeRedirect&&(P.beforeRedirects.config=e.beforeRedirect),T=I?rt:ot),e.maxBodyLength>-1?P.maxBodyLength=e.maxBodyLength:P.maxBodyLength=1/0,e.insecureHTTPParser&&(P.insecureHTTPParser=e.insecureHTTPParser),d=T.request(P,(function(n){if(d.destroyed)return;const a=[n],s=+n.headers["content-length"];if(C){const e=new Ge({length:ne.toFiniteNumber(s),maxRate:ne.toFiniteNumber(S)});C&&e.on("progress",(e=>{C(Object.assign(e,{download:!0}))})),a.push(e)}let o=n;const l=n.req||d;if(!1!==e.decompress&&n.headers["content-encoding"])switch("HEAD"!==u&&204!==n.statusCode||delete n.headers["content-encoding"],(n.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":a.push(y.default.createUnzip(nt)),delete n.headers["content-encoding"];break;case"deflate":a.push(new tt),a.push(y.default.createUnzip(nt)),delete n.headers["content-encoding"];break;case"br":st&&(a.push(y.default.createBrotliDecompress(at)),delete n.headers["content-encoding"])}o=a.length>1?w.default.pipeline(a,ne.noop):a[0];const p=w.default.finished(o,(()=>{p(),m()})),g={status:n.statusCode,statusText:n.statusMessage,headers:new $e(n.headers),config:e,request:l};if("stream"===r)g.data=o,Me(t,i,g);else{const n=[];let a=0;o.on("data",(function(t){n.push(t),a+=t.length,e.maxContentLength>-1&&a>e.maxContentLength&&(f=!0,o.destroy(),i(new ae("maxContentLength size of "+e.maxContentLength+" exceeded",ae.ERR_BAD_RESPONSE,e,l)))})),o.on("aborted",(function(){if(f)return;const t=new ae("maxContentLength size of "+e.maxContentLength+" exceeded",ae.ERR_BAD_RESPONSE,e,l);o.destroy(t),i(t)})),o.on("error",(function(t){d.destroyed||i(ae.from(t,null,e,l))})),o.on("end",(function(){try{let e=1===n.length?n[0]:Buffer.concat(n);"arraybuffer"!==r&&(e=e.toString(c),c&&"utf8"!==c||(e=ne.stripBOM(e))),g.data=e}catch(t){return i(ae.from(t,null,e,g.request,g))}Me(t,i,g)}))}h.once("abort",(e=>{o.destroyed||(o.emit("error",e),o.destroy())}))})),h.once("abort",(e=>{i(e),d.destroy(e)})),d.on("error",(function(t){i(ae.from(t,null,e,d))})),d.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void i(new ae("error trying to parse `config.timeout` to int",ae.ERR_BAD_OPTION_VALUE,e,d));d.setTimeout(t,(function(){if(l)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||ve;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),i(new ae(t,n.clarifyTimeoutError?ae.ETIMEDOUT:ae.ECONNABORTED,e,d)),x()}))}if(ne.isStream(a)){let t=!1,i=!1;a.on("end",(()=>{t=!0})),a.once("error",(e=>{i=!0,d.destroy(e)})),a.on("close",(()=>{t||i||x(new Ie("Request stream has been aborted",e,d))})),a.pipe(d)}else d.end(a)},new Promise(((e,i)=>{let n,a;const s=(e,t)=>{a||(a=!0,n&&n(e,t))},o=e=>{s(e,!0),i(e)};t((t=>{s(t),e(t)}),o,(e=>n=e)).catch(o)}));var t},mt=Ee.hasStandardBrowserEnv?{write(e,t,i,n,a,s){const o=[e+"="+encodeURIComponent(t)];ne.isNumber(i)&&o.push("expires="+new Date(i).toGMTString()),ne.isString(n)&&o.push("path="+n),ne.isString(a)&&o.push("domain="+a),!0===s&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}},gt=Ee.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let i;function n(i){let n=i;return e&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return i=n(window.location.href),function(e){const t=ne.isString(e)?n(e):e;return t.protocol===i.protocol&&t.host===i.host}}():function(){return!0};function bt(e,t){let i=0;const n=qe(50,250);return a=>{const s=a.loaded,o=a.lengthComputable?a.total:void 0,r=s-i,c=n(r);i=s;const u={loaded:s,total:o,progress:o?s/o:void 0,bytes:r,rate:c||void 0,estimated:c&&o&&s<=o?(o-s)/c:void 0,event:a};u[t?"download":"upload"]=!0,e(u)}}const vt={http:ht,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,i){let n=e.data;const a=$e.from(e.headers).normalize();let s,o,{responseType:r,withXSRFToken:c}=e;function u(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}if(ne.isFormData(n))if(Ee.hasStandardBrowserEnv||Ee.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if(!1!==(o=a.getContentType())){const[e,...t]=o?o.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",i=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(t+":"+i))}const p=ze(e.baseURL,e.url);function d(){if(!l)return;const n=$e.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());Me((function(e){t(e),u()}),(function(e){i(e),u()}),{data:r&&"text"!==r&&"json"!==r?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:n,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),ge(p,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(d)},l.onabort=function(){l&&(i(new ae("Request aborted",ae.ECONNABORTED,e,l)),l=null)},l.onerror=function(){i(new ae("Network Error",ae.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||ve;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),i(new ae(t,n.clarifyTimeoutError?ae.ETIMEDOUT:ae.ECONNABORTED,e,l)),l=null},Ee.hasStandardBrowserEnv&&(c&&ne.isFunction(c)&&(c=c(e)),c||!1!==c&>(p))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&mt.read(e.xsrfCookieName);t&&a.set(e.xsrfHeaderName,t)}void 0===n&&a.setContentType(null),"setRequestHeader"in l&&ne.forEach(a.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),ne.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),r&&"json"!==r&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",bt(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",bt(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=t=>{l&&(i(!t||t.type?new Ie(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const f=Ue(p);f&&-1===Ee.protocols.indexOf(f)?i(new ae("Unsupported protocol "+f+":",ae.ERR_BAD_REQUEST,e)):l.send(n||null)}))}};ne.forEach(vt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const xt=e=>`- ${e}`,yt=e=>ne.isFunction(e)||null===e||!1===e,wt=e=>{e=ne.isArray(e)?e:[e];const{length:t}=e;let i,n;const a={};for(let s=0;s<t;s++){let t;if(i=e[s],n=i,!yt(i)&&(n=vt[(t=String(i)).toLowerCase()],void 0===n))throw new ae(`Unknown adapter '${t}'`);if(n)break;a[t||"#"+s]=n}if(!n){const e=Object.entries(a).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new ae("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(xt).join("\n"):" "+xt(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function Dt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ie(null,e)}function _t(e){return Dt(e),e.headers=$e.from(e.headers),e.data=Pe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),wt(e.adapter||Ce.adapter)(e).then((function(t){return Dt(e),t.data=Pe.call(e,e.transformResponse,t),t.headers=$e.from(t.headers),t}),(function(t){return Te(t)||(Dt(e),t&&t.response&&(t.response.data=Pe.call(e,e.transformResponse,t.response),t.response.headers=$e.from(t.response.headers))),Promise.reject(t)}))}const Et=e=>e instanceof $e?e.toJSON():e;function Ft(e,t){t=t||{};const i={};function n(e,t,i){return ne.isPlainObject(e)&&ne.isPlainObject(t)?ne.merge.call({caseless:i},e,t):ne.isPlainObject(t)?ne.merge({},t):ne.isArray(t)?t.slice():t}function a(e,t,i){return ne.isUndefined(t)?ne.isUndefined(e)?void 0:n(void 0,e,i):n(e,t,i)}function s(e,t){if(!ne.isUndefined(t))return n(void 0,t)}function o(e,t){return ne.isUndefined(t)?ne.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function r(i,a,s){return s in t?n(i,a):s in e?n(void 0,i):void 0}const c={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:r,headers:(e,t)=>a(Et(e),Et(t),!0)};return ne.forEach(Object.keys(Object.assign({},e,t)),(function(n){const s=c[n]||a,o=s(e[n],t[n],n);ne.isUndefined(o)&&s!==r||(i[n]=o)})),i}const kt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{kt[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}}));const Ct={};kt.transitional=function(e,t,i){function n(e,t){return"[Axios v1.6.7] Transitional option '"+e+"'"+t+(i?". "+i:"")}return(i,a,s)=>{if(!1===e)throw new ae(n(a," has been removed"+(t?" in "+t:"")),ae.ERR_DEPRECATED);return t&&!Ct[a]&&(Ct[a]=!0,console.warn(n(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(i,a,s)}};const jt={assertOptions:function(e,t,i){if("object"!=typeof e)throw new ae("options must be an object",ae.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const s=n[a],o=t[s];if(o){const t=e[s],i=void 0===t||o(t,s,e);if(!0!==i)throw new ae("option "+s+" must be "+i,ae.ERR_BAD_OPTION_VALUE)}else if(!0!==i)throw new ae("Unknown option "+s,ae.ERR_BAD_OPTION)}},validators:kt},Ot=jt.validators;class At{constructor(e){this.defaults=e,this.interceptors={request:new be,response:new be}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const i=t.stack?t.stack.replace(/^.+\n/,""):"";e.stack?i&&!String(e.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+i):e.stack=i}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ft(this.defaults,t);const{transitional:i,paramsSerializer:n,headers:a}=t;void 0!==i&&jt.assertOptions(i,{silentJSONParsing:Ot.transitional(Ot.boolean),forcedJSONParsing:Ot.transitional(Ot.boolean),clarifyTimeoutError:Ot.transitional(Ot.boolean)},!1),null!=n&&(ne.isFunction(n)?t.paramsSerializer={serialize:n}:jt.assertOptions(n,{encode:Ot.function,serialize:Ot.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=a&&ne.merge(a.common,a[t.method]);a&&ne.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=$e.concat(s,a);const o=[];let r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,p=0;if(!r){const e=[_t.bind(this),void 0];for(e.unshift.apply(e,o),e.push.apply(e,c),l=e.length,u=Promise.resolve(t);p<l;)u=u.then(e[p++],e[p++]);return u}l=o.length;let d=t;for(p=0;p<l;){const e=o[p++],t=o[p++];try{d=e(d)}catch(e){t.call(this,e);break}}try{u=_t.call(this,d)}catch(e){return Promise.reject(e)}for(p=0,l=c.length;p<l;)u=u.then(c[p++],c[p++]);return u}getUri(e){return ge(ze((e=Ft(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}ne.forEach(["delete","get","head","options"],(function(e){At.prototype[e]=function(t,i){return this.request(Ft(i||{},{method:e,url:t,data:(i||{}).data}))}})),ne.forEach(["post","put","patch"],(function(e){function t(t){return function(i,n,a){return this.request(Ft(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:i,data:n}))}}At.prototype[e]=t(),At.prototype[e+"Form"]=t(!0)}));const St=At;class Bt{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const i=this;this.promise.then((e=>{if(!i._listeners)return;let t=i._listeners.length;for(;t-- >0;)i._listeners[t](e);i._listeners=null})),this.promise.then=e=>{let t;const n=new Promise((e=>{i.subscribe(e),t=e})).then(e);return n.cancel=function(){i.unsubscribe(t)},n},e((function(e,n,a){i.reason||(i.reason=new Ie(e,n,a),t(i.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new Bt((function(t){e=t})),cancel:e}}}const Rt=Bt,$t={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($t).forEach((([e,t])=>{$t[t]=e}));const Pt=$t,Tt=function e(t){const i=new St(t),n=_(St.prototype.request,i);return ne.extend(n,St.prototype,i,{allOwnKeys:!0}),ne.extend(n,i,null,{allOwnKeys:!0}),n.create=function(i){return e(Ft(t,i))},n}(Ce);Tt.Axios=St,Tt.CanceledError=Ie,Tt.CancelToken=Rt,Tt.isCancel=Te,Tt.VERSION=Ne,Tt.toFormData=pe,Tt.AxiosError=ae,Tt.Cancel=Tt.CanceledError,Tt.all=function(e){return Promise.all(e)},Tt.spread=function(e){return function(t){return e.apply(null,t)}},Tt.isAxiosError=function(e){return ne.isObject(e)&&!0===e.isAxiosError},Tt.mergeConfig=Ft,Tt.AxiosHeaders=$e,Tt.formToJSON=e=>Fe(ne.isHTMLForm(e)?new FormData(e):e),Tt.getAdapter=wt,Tt.HttpStatusCode=Pt,Tt.default=Tt,e.exports=Tt},164:(e,t,i)=>{"use strict";const n={right:function(e,t){e=e.trim();const i=o.stringWidth(e);return i<t?" ".repeat(t-i)+e:e},center:function(e,t){e=e.trim();const i=o.stringWidth(e);return i>=t?e:" ".repeat(t-i>>1)+e}};class a{constructor(e){var t;this.width=e.width,this.wrap=null===(t=e.wrap)||void 0===t||t,this.rows=[]}span(...e){this.div(...e).span=!0}resetOutput(){this.rows=[]}div(...e){if(0===e.length&&this.div(""),this.wrap&&this.shouldApplyLayoutDSL(...e)&&"string"==typeof e[0])return this.applyLayoutDSL(e[0]);const t=e.map((e=>"string"==typeof e?this.colFromString(e):e));return this.rows.push(t),t}shouldApplyLayoutDSL(...e){return 1===e.length&&"string"==typeof e[0]&&/[\t\n]/.test(e[0])}applyLayoutDSL(e){const t=e.split("\n").map((e=>e.split("\t")));let i=0;return t.forEach((e=>{e.length>1&&o.stringWidth(e[0])>i&&(i=Math.min(Math.floor(.5*this.width),o.stringWidth(e[0])))})),t.forEach((e=>{this.div(...e.map(((t,n)=>({text:t.trim(),padding:this.measurePadding(t),width:0===n&&e.length>1?i:void 0}))))})),this.rows[this.rows.length-1]}colFromString(e){return{text:e,padding:this.measurePadding(e)}}measurePadding(e){const t=o.stripAnsi(e);return[0,t.match(/\s*$/)[0].length,0,t.match(/^\s*/)[0].length]}toString(){const e=[];return this.rows.forEach((t=>{this.rowToString(t,e)})),e.filter((e=>!e.hidden)).map((e=>e.text)).join("\n")}rowToString(e,t){return this.rasterize(e).forEach(((i,a)=>{let r="";i.forEach(((i,c)=>{const{width:u}=e[c],l=this.negatePadding(e[c]);let p=i;l>o.stringWidth(i)&&(p+=" ".repeat(l-o.stringWidth(i))),e[c].align&&"left"!==e[c].align&&this.wrap&&(p=(0,n[e[c].align])(p,l),o.stringWidth(p)<l&&(p+=" ".repeat((u||0)-o.stringWidth(p)-1)));const d=e[c].padding||[0,0,0,0];d[3]&&(r+=" ".repeat(d[3])),r+=s(e[c],p,"| "),r+=p,r+=s(e[c],p," |"),d[1]&&(r+=" ".repeat(d[1])),0===a&&t.length>0&&(r=this.renderInline(r,t[t.length-1]))})),t.push({text:r.replace(/ +$/,""),span:e.span})})),t}renderInline(e,t){const i=e.match(/^ */),n=i?i[0].length:0,a=t.text,s=o.stringWidth(a.trimRight());return t.span?this.wrap?n<s?e:(t.hidden=!0,a.trimRight()+" ".repeat(n-s)+e.trimLeft()):(t.hidden=!0,a+e):e}rasterize(e){const t=[],i=this.columnWidths(e);let n;return e.forEach(((e,a)=>{e.width=i[a],n=this.wrap?o.wrap(e.text,this.negatePadding(e),{hard:!0}).split("\n"):e.text.split("\n"),e.border&&(n.unshift("."+"-".repeat(this.negatePadding(e)+2)+"."),n.push("'"+"-".repeat(this.negatePadding(e)+2)+"'")),e.padding&&(n.unshift(...new Array(e.padding[0]||0).fill("")),n.push(...new Array(e.padding[2]||0).fill(""))),n.forEach(((e,i)=>{t[i]||t.push([]);const n=t[i];for(let e=0;e<a;e++)void 0===n[e]&&n.push("");n.push(e)}))})),t}negatePadding(e){let t=e.width||0;return e.padding&&(t-=(e.padding[3]||0)+(e.padding[1]||0)),e.border&&(t-=4),t}columnWidths(e){if(!this.wrap)return e.map((e=>e.width||o.stringWidth(e.text)));let t=e.length,i=this.width;const n=e.map((e=>{if(e.width)return t--,i-=e.width,e.width})),a=t?Math.floor(i/t):0;return n.map(((t,i)=>void 0===t?Math.max(a,function(e){const t=e.padding||[],i=1+(t[3]||0)+(t[1]||0);return e.border?i+4:i}(e[i])):t))}}function s(e,t,i){return e.border?/[.']-+[.']/.test(t)?"":0!==t.trim().length?i:" ":""}let o;const r=i(4813),c=i(8395),u=i(9359);e.exports=function(e){return function(e,t){return o=t,new a({width:(null==e?void 0:e.width)||("object"==typeof process&&process.stdout&&process.stdout.columns?process.stdout.columns:80),wrap:null==e?void 0:e.wrap})}(e,{stringWidth:r,stripAnsi:c,wrap:u})}},9668:(e,t,i)=>{"use strict";var n=i(9896),a=i(9023),s=i(6928);let o;class r{constructor(e){e=e||{},this.directory=e.directory||"./locales",this.updateFiles="boolean"!=typeof e.updateFiles||e.updateFiles,this.locale=e.locale||"en",this.fallbackToLanguage="boolean"!=typeof e.fallbackToLanguage||e.fallbackToLanguage,this.cache=Object.create(null),this.writeQueue=[]}__(...e){if("string"!=typeof arguments[0])return this._taggedLiteral(arguments[0],...arguments);const t=e.shift();let i=function(){};return"function"==typeof e[e.length-1]&&(i=e.pop()),i=i||function(){},this.cache[this.locale]||this._readLocaleFile(),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]=t,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:i})):i(),o.format.apply(o.format,[this.cache[this.locale][t]||t].concat(e))}__n(){const e=Array.prototype.slice.call(arguments),t=e.shift(),i=e.shift(),n=e.shift();let a=function(){};"function"==typeof e[e.length-1]&&(a=e.pop()),this.cache[this.locale]||this._readLocaleFile();let s=1===n?t:i;this.cache[this.locale][t]&&(s=this.cache[this.locale][t][1===n?"one":"other"]),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]={one:t,other:i},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:a})):a();const r=[s];return~s.indexOf("%d")&&r.push(n),o.format.apply(o.format,r.concat(e))}setLocale(e){this.locale=e}getLocale(){return this.locale}updateLocale(e){this.cache[this.locale]||this._readLocaleFile();for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this.cache[this.locale][t]=e[t])}_taggedLiteral(e,...t){let i="";return e.forEach((function(e,n){const a=t[n+1];i+=e,void 0!==a&&(i+="%s")})),this.__.apply(this,[i].concat([].slice.call(t,1)))}_enqueueWrite(e){this.writeQueue.push(e),1===this.writeQueue.length&&this._processWriteQueue()}_processWriteQueue(){const e=this,t=this.writeQueue[0],i=t.directory,n=t.locale,a=t.cb,s=this._resolveLocaleFile(i,n),r=JSON.stringify(this.cache[n],null,2);o.fs.writeFile(s,r,"utf-8",(function(t){e.writeQueue.shift(),e.writeQueue.length>0&&e._processWriteQueue(),a(t)}))}_readLocaleFile(){let e={};const t=this._resolveLocaleFile(this.directory,this.locale);try{o.fs.readFileSync&&(e=JSON.parse(o.fs.readFileSync(t,"utf-8")))}catch(i){if(i instanceof SyntaxError&&(i.message="syntax error in "+t),"ENOENT"!==i.code)throw i;e={}}this.cache[this.locale]=e}_resolveLocaleFile(e,t){let i=o.resolve(e,"./",t+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(i)&&~t.lastIndexOf("_")){const n=o.resolve(e,"./",t.split("_")[0]+".json");this._fileExistsSync(n)&&(i=n)}return i}_fileExistsSync(e){return o.exists(e)}}var c={fs:{readFileSync:n.readFileSync,writeFile:n.writeFile},format:a.format,resolve:s.resolve,exists:e=>{try{return n.statSync(e).isFile()}catch(e){return!1}}};e.exports=e=>function(e,t){o=t;const i=new r(e);return{__:i.__.bind(i),__n:i.__n.bind(i),setLocale:i.setLocale.bind(i),getLocale:i.getLocale.bind(i),updateLocale:i.updateLocale.bind(i),locale:i.locale}}(e,c)},7058:(e,t,i)=>{"use strict";var n,a=i(9023),s=i(6928);function o(e){if(e!==e.toLowerCase()&&e!==e.toUpperCase()||(e=e.toLowerCase()),-1===e.indexOf("-")&&-1===e.indexOf("_"))return e;{let t="",i=!1;const n=e.match(/^-+/);for(let a=n?n[0].length:0;a<e.length;a++){let n=e.charAt(a);i&&(i=!1,n=n.toUpperCase()),0===a||"-"!==n&&"_"!==n?"-"!==n&&"_"!==n&&(t+=n):i=!0}return t}}function r(e,t){const i=e.toLowerCase();t=t||"-";let n="";for(let a=0;a<e.length;a++){const s=i.charAt(a),o=e.charAt(a);n+=s!==o&&a>0?`${t}${i.charAt(a)}`:o}return n}function c(e){return null!=e&&("number"==typeof e||!!/^0x[0-9a-f]+$/i.test(e)||!/^0[^.]/.test(e)&&/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e))}let u;function l(e){return void 0!==e?e+1:1}function p(e){return"__proto__"===e?"___proto___":e}var d,f,h;i(9896),function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array"}(n||(n={}));const m=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):12,g=null!==(f=null===(d=null===process||void 0===process?void 0:process.versions)||void 0===d?void 0:d.node)&&void 0!==f?f:null===(h=null===process||void 0===process?void 0:process.version)||void 0===h?void 0:h.slice(1);if(g&&Number(g.match(/^([^.]+)/)[1])<m)throw Error(`yargs parser supports a minimum Node.js version of ${m}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);const b=process?process.env:{},v=new class{constructor(e){u=e}parse(e,t){const i=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},t),a=function(e){if(Array.isArray(e))return e.map((e=>"string"!=typeof e?e+"":e));e=e.trim();let t=0,i=null,n=null,a=null;const s=[];for(let o=0;o<e.length;o++)i=n,n=e.charAt(o)," "!==n||a?(n===a?a=null:"'"!==n&&'"'!==n||a||(a=n),s[t]||(s[t]=""),s[t]+=n):" "!==i&&t++;return s}(e),s="string"==typeof e,d=function(e){const t=[],i=Object.create(null);let n=!0;for(Object.keys(e).forEach((function(i){t.push([].concat(e[i],i))}));n;){n=!1;for(let e=0;e<t.length;e++)for(let i=e+1;i<t.length;i++)if(t[e].filter((function(e){return-1!==t[i].indexOf(e)})).length){t[e]=t[e].concat(t[i]),t.splice(i,1),n=!0;break}}return t.forEach((function(e){e=e.filter((function(e,t,i){return i.indexOf(e)===t}));const t=e.pop();void 0!==t&&"string"==typeof t&&(i[t]=e)})),i}(Object.assign(Object.create(null),i.alias)),f=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},i.configuration),h=Object.assign(Object.create(null),i.default),m=i.configObjects||[],g=i.envPrefix,b=f["populate--"],v=b?"--":"_",x=Object.create(null),y=Object.create(null),w=i.__||u.format,D={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},_=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,E=new RegExp("^--"+f["negation-prefix"]+"(.+)");[].concat(i.array||[]).filter(Boolean).forEach((function(e){const t="object"==typeof e?e.key:e,i=Object.keys(e).map((function(e){return{boolean:"bools",string:"strings",number:"numbers"}[e]})).filter(Boolean).pop();i&&(D[i][t]=!0),D.arrays[t]=!0,D.keys.push(t)})),[].concat(i.boolean||[]).filter(Boolean).forEach((function(e){D.bools[e]=!0,D.keys.push(e)})),[].concat(i.string||[]).filter(Boolean).forEach((function(e){D.strings[e]=!0,D.keys.push(e)})),[].concat(i.number||[]).filter(Boolean).forEach((function(e){D.numbers[e]=!0,D.keys.push(e)})),[].concat(i.count||[]).filter(Boolean).forEach((function(e){D.counts[e]=!0,D.keys.push(e)})),[].concat(i.normalize||[]).filter(Boolean).forEach((function(e){D.normalize[e]=!0,D.keys.push(e)})),"object"==typeof i.narg&&Object.entries(i.narg).forEach((([e,t])=>{"number"==typeof t&&(D.nargs[e]=t,D.keys.push(e))})),"object"==typeof i.coerce&&Object.entries(i.coerce).forEach((([e,t])=>{"function"==typeof t&&(D.coercions[e]=t,D.keys.push(e))})),void 0!==i.config&&(Array.isArray(i.config)||"string"==typeof i.config?[].concat(i.config).filter(Boolean).forEach((function(e){D.configs[e]=!0})):"object"==typeof i.config&&Object.entries(i.config).forEach((([e,t])=>{"boolean"!=typeof t&&"function"!=typeof t||(D.configs[e]=t)}))),function(...e){e.forEach((function(e){Object.keys(e||{}).forEach((function(e){D.aliases[e]||(D.aliases[e]=[].concat(d[e]||[]),D.aliases[e].concat(e).forEach((function(t){if(/-/.test(t)&&f["camel-case-expansion"]){const i=o(t);i!==e&&-1===D.aliases[e].indexOf(i)&&(D.aliases[e].push(i),x[i]=!0)}})),D.aliases[e].concat(e).forEach((function(t){if(t.length>1&&/[A-Z]/.test(t)&&f["camel-case-expansion"]){const i=r(t,"-");i!==e&&-1===D.aliases[e].indexOf(i)&&(D.aliases[e].push(i),x[i]=!0)}})),D.aliases[e].forEach((function(t){D.aliases[t]=[e].concat(D.aliases[e].filter((function(e){return t!==e})))})))}))}))}(i.key,d,i.default,D.arrays),Object.keys(h).forEach((function(e){(D.aliases[e]||[]).forEach((function(t){h[t]=h[e]}))}));let F=null;Object.keys(D.counts).find((e=>U(e,D.arrays)?(F=Error(w("Invalid configuration: %s, opts.count excludes opts.array.",e)),!0):!!U(e,D.nargs)&&(F=Error(w("Invalid configuration: %s, opts.count excludes opts.narg.",e)),!0)));let k=[];const C=Object.assign(Object.create(null),{_:[]}),j={};for(let e=0;e<a.length;e++){const t=a[e],i=t.replace(/^-{3,}/,"---");let n,s,o,r,c,u;if("--"!==t&&/^-/.test(t)&&q(t))O(t);else{if(i.match(/^---+(=|$)/)){O(t);continue}if(t.match(/^--.+=/)||!f["short-option-groups"]&&t.match(/^-.+=/))r=t.match(/^--?([^=]+)=([\s\S]*)$/),null!==r&&Array.isArray(r)&&r.length>=3&&(U(r[1],D.arrays)?e=S(e,r[1],a,r[2]):!1!==U(r[1],D.nargs)?e=A(e,r[1],a,r[2]):B(r[1],r[2],!0));else if(t.match(E)&&f["boolean-negation"])r=t.match(E),null!==r&&Array.isArray(r)&&r.length>=2&&(s=r[1],B(s,!!U(s,D.arrays)&&[!1]));else if(t.match(/^--.+/)||!f["short-option-groups"]&&t.match(/^-[^-]+/))r=t.match(/^--?(.+)/),null!==r&&Array.isArray(r)&&r.length>=2&&(s=r[1],U(s,D.arrays)?e=S(e,s,a):!1!==U(s,D.nargs)?e=A(e,s,a):(c=a[e+1],void 0===c||c.match(/^-/)&&!c.match(_)||U(s,D.bools)||U(s,D.counts)?/^(true|false)$/.test(c)?(B(s,c),e++):B(s,H(s)):(B(s,c),e++)));else if(t.match(/^-.\..+=/))r=t.match(/^-([^=]+)=([\s\S]*)$/),null!==r&&Array.isArray(r)&&r.length>=3&&B(r[1],r[2]);else if(t.match(/^-.\..+/)&&!t.match(_))c=a[e+1],r=t.match(/^-(.\..+)/),null!==r&&Array.isArray(r)&&r.length>=2&&(s=r[1],void 0===c||c.match(/^-/)||U(s,D.bools)||U(s,D.counts)?B(s,H(s)):(B(s,c),e++));else if(t.match(/^-[^-]+/)&&!t.match(_)){o=t.slice(1,-1).split(""),n=!1;for(let i=0;i<o.length;i++){if(c=t.slice(i+2),o[i+1]&&"="===o[i+1]){u=t.slice(i+3),s=o[i],U(s,D.arrays)?e=S(e,s,a,u):!1!==U(s,D.nargs)?e=A(e,s,a,u):B(s,u),n=!0;break}if("-"!==c){if(/[A-Za-z]/.test(o[i])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(c)&&!1===U(c,D.bools)){B(o[i],c),n=!0;break}if(o[i+1]&&o[i+1].match(/\W/)){B(o[i],c),n=!0;break}B(o[i],H(o[i]))}else B(o[i],c)}s=t.slice(-1)[0],n||"-"===s||(U(s,D.arrays)?e=S(e,s,a):!1!==U(s,D.nargs)?e=A(e,s,a):(c=a[e+1],void 0===c||/^(-|--)[^-]/.test(c)&&!c.match(_)||U(s,D.bools)||U(s,D.counts)?/^(true|false)$/.test(c)?(B(s,c),e++):B(s,H(s)):(B(s,c),e++)))}else if(t.match(/^-[0-9]$/)&&t.match(_)&&U(t.slice(1),D.bools))s=t.slice(1),B(s,H(s));else{if("--"===t){k=a.slice(e+1);break}if(f["halt-at-non-option"]){k=a.slice(e);break}O(t)}}}function O(e){const t=P("_",e);"string"!=typeof t&&"number"!=typeof t||C._.push(t)}function A(e,t,i,n){let a,s=U(t,D.nargs);if(s="number"!=typeof s||isNaN(s)?1:s,0===s)return W(n)||(F=Error(w("Argument unexpected for: %s",t))),B(t,H(t)),e;let o=W(n)?0:1;if(f["nargs-eats-options"])i.length-(e+1)+o<s&&(F=Error(w("Not enough arguments following: %s",t))),o=s;else{for(a=e+1;a<i.length&&(!i[a].match(/^-[^0-9]/)||i[a].match(_)||q(i[a]));a++)o++;o<s&&(F=Error(w("Not enough arguments following: %s",t)))}let r=Math.min(o,s);for(!W(n)&&r>0&&(B(t,n),r--),a=e+1;a<r+e+1;a++)B(t,i[a]);return e+r}function S(e,t,i,n){let a=[],o=n||i[e+1];const r=U(t,D.nargs);if(U(t,D.bools)&&!/^(true|false)$/.test(o))a.push(!0);else if(W(o)||W(n)&&/^-/.test(o)&&!_.test(o)&&!q(o)){if(void 0!==h[t]){const e=h[t];a=Array.isArray(e)?e:[e]}}else{W(n)||a.push($(t,n,!0));for(let n=e+1;n<i.length&&!(!f["greedy-arrays"]&&a.length>0||r&&"number"==typeof r&&a.length>=r)&&(o=i[n],!/^-/.test(o)||_.test(o)||q(o));n++)e=n,a.push($(t,o,s))}return"number"==typeof r&&(r&&a.length<r||isNaN(r)&&0===a.length)&&(F=Error(w("Not enough arguments following: %s",t))),B(t,a),e}function B(e,t,i=s){if(/-/.test(e)&&f["camel-case-expansion"]){const t=e.split(".").map((function(e){return o(e)})).join(".");R(e,t)}const n=$(e,t,i),a=e.split(".");N(C,a,n),D.aliases[e]&&D.aliases[e].forEach((function(e){const t=e.split(".");N(C,t,n)})),a.length>1&&f["dot-notation"]&&(D.aliases[a[0]]||[]).forEach((function(t){let i=t.split(".");const s=[].concat(a);s.shift(),i=i.concat(s),(D.aliases[e]||[]).includes(i.join("."))||N(C,i,n)})),U(e,D.normalize)&&!U(e,D.arrays)&&[e].concat(D.aliases[e]||[]).forEach((function(e){Object.defineProperty(j,e,{enumerable:!0,get:()=>t,set(e){t="string"==typeof e?u.normalize(e):e}})}))}function R(e,t){D.aliases[e]&&D.aliases[e].length||(D.aliases[e]=[t],x[t]=!0),D.aliases[t]&&D.aliases[t].length||R(t,e)}function $(e,t,i){i&&(t=function(e){return"string"!=typeof e||"'"!==e[0]&&'"'!==e[0]||e[e.length-1]!==e[0]?e:e.substring(1,e.length-1)}(t)),(U(e,D.bools)||U(e,D.counts))&&"string"==typeof t&&(t="true"===t);let n=Array.isArray(t)?t.map((function(t){return P(e,t)})):P(e,t);return U(e,D.counts)&&(W(n)||"boolean"==typeof n)&&(n=l()),U(e,D.normalize)&&U(e,D.arrays)&&(n=Array.isArray(t)?t.map((e=>u.normalize(e))):u.normalize(t)),n}function P(e,t){return f["parse-positional-numbers"]||"_"!==e?(U(e,D.strings)||U(e,D.bools)||Array.isArray(t)||(c(t)&&f["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${t}`)))||!W(t)&&U(e,D.numbers))&&(t=Number(t)),t):t}function T(e,t){Object.keys(e).forEach((function(i){const n=e[i],a=t?t+"."+i:i;"object"==typeof n&&null!==n&&!Array.isArray(n)&&f["dot-notation"]?T(n,a):(!z(C,a.split("."))||U(a,D.arrays)&&f["combine-arrays"])&&B(a,n)}))}function I(e,t){if(void 0===g)return;const i="string"==typeof g?g:"",n=u.env();Object.keys(n).forEach((function(a){if(""===i||0===a.lastIndexOf(i,0)){const s=a.split("__").map((function(e,t){return 0===t&&(e=e.substring(i.length)),o(e)}));(t&&D.configs[s.join(".")]||!t)&&!z(e,s)&&B(s.join("."),n[a])}}))}function M(e,t,i,n=!1){Object.keys(i).forEach((function(a){z(e,a.split("."))||(N(e,a.split("."),i[a]),n&&(y[a]=!0),(t[a]||[]).forEach((function(t){z(e,t.split("."))||N(e,t.split("."),i[a])})))}))}function z(e,t){let i=e;f["dot-notation"]||(t=[t.join(".")]),t.slice(0,-1).forEach((function(e){i=i[e]||{}}));const n=t[t.length-1];return"object"==typeof i&&n in i}function N(e,t,i){let n=e;f["dot-notation"]||(t=[t.join(".")]),t.slice(0,-1).forEach((function(e){e=p(e),"object"==typeof n&&void 0===n[e]&&(n[e]={}),"object"!=typeof n[e]||Array.isArray(n[e])?(Array.isArray(n[e])?n[e].push({}):n[e]=[n[e],{}],n=n[e][n[e].length-1]):n=n[e]}));const a=p(t[t.length-1]),s=U(t.join("."),D.arrays),o=Array.isArray(i);let r=f["duplicate-arguments-array"];!r&&U(a,D.nargs)&&(r=!0,(!W(n[a])&&1===D.nargs[a]||Array.isArray(n[a])&&n[a].length===D.nargs[a])&&(n[a]=void 0)),i===l()?n[a]=l(n[a]):Array.isArray(n[a])?r&&s&&o?n[a]=f["flatten-duplicate-arrays"]?n[a].concat(i):(Array.isArray(n[a][0])?n[a]:[n[a]]).concat([i]):r||Boolean(s)!==Boolean(o)?n[a]=n[a].concat([i]):n[a]=i:void 0===n[a]&&s?n[a]=o?i:[i]:!r||void 0===n[a]||U(a,D.counts)||U(a,D.bools)?n[a]=i:n[a]=[n[a],i]}function U(e,t){const i=[].concat(D.aliases[e]||[],e),n=Object.keys(t),a=i.find((e=>n.includes(e)));return!!a&&t[a]}function L(e){const t=Object.keys(D);return[].concat(t.map((e=>D[e]))).some((function(t){return Array.isArray(t)?t.includes(e):t[e]}))}function q(e){return f["unknown-options-as-args"]&&function(e){return!(e=e.replace(/^-{3,}/,"--")).match(_)&&(!function(e){if(e.match(_)||!e.match(/^-[^-]+/))return!1;let t,i=!0;const n=e.slice(1).split("");for(let a=0;a<n.length;a++){if(t=e.slice(a+2),!L(n[a])){i=!1;break}if(n[a+1]&&"="===n[a+1]||"-"===t||/[A-Za-z]/.test(n[a])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(t)||n[a+1]&&n[a+1].match(/\W/))break}return i}(e)&&!function(e,...t){return[].concat(...t).some((function(t){const i=e.match(t);return i&&L(i[1])}))}(e,/^-+([^=]+?)=[\s\S]*$/,E,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/))}(e)}function H(e){return U(e,D.bools)||U(e,D.counts)||!(`${e}`in h)?(t=function(e){let t=n.BOOLEAN;return U(e,D.strings)?t=n.STRING:U(e,D.numbers)?t=n.NUMBER:U(e,D.bools)?t=n.BOOLEAN:U(e,D.arrays)&&(t=n.ARRAY),t}(e),{[n.BOOLEAN]:!0,[n.STRING]:"",[n.NUMBER]:void 0,[n.ARRAY]:[]}[t]):h[e];var t}function W(e){return void 0===e}return I(C,!0),I(C,!1),function(e){const t=Object.create(null);M(t,D.aliases,h),Object.keys(D.configs).forEach((function(i){const n=e[i]||t[i];if(n)try{let e=null;const t=u.resolve(u.cwd(),n),a=D.configs[i];if("function"==typeof a){try{e=a(t)}catch(t){e=t}if(e instanceof Error)return void(F=e)}else e=u.require(t);T(e)}catch(t){"PermissionDenied"===t.name?F=t:e[i]&&(F=Error(w("Invalid JSON config file: %s",n)))}}))}(C),void 0!==m&&m.forEach((function(e){T(e)})),M(C,D.aliases,h,!0),function(e){let t;const i=new Set;Object.keys(e).forEach((function(n){if(!i.has(n)&&(t=U(n,D.coercions),"function"==typeof t))try{const a=P(n,t(e[n]));[].concat(D.aliases[n]||[],n).forEach((t=>{i.add(t),e[t]=a}))}catch(e){F=e}}))}(C),f["set-placeholder-key"]&&function(e){D.keys.forEach((t=>{~t.indexOf(".")||void 0===e[t]&&(e[t]=void 0)}))}(C),Object.keys(D.counts).forEach((function(e){z(C,e.split("."))||B(e,0)})),b&&k.length&&(C[v]=[]),k.forEach((function(e){C[v].push(e)})),f["camel-case-expansion"]&&f["strip-dashed"]&&Object.keys(C).filter((e=>"--"!==e&&e.includes("-"))).forEach((e=>{delete C[e]})),f["strip-aliased"]&&[].concat(...Object.keys(d).map((e=>d[e]))).forEach((e=>{f["camel-case-expansion"]&&e.includes("-")&&delete C[e.split(".").map((e=>o(e))).join(".")],delete C[e]})),{aliases:Object.assign({},D.aliases),argv:Object.assign(j,C),configuration:f,defaulted:Object.assign({},y),error:F,newAliases:Object.assign({},x)}}}({cwd:process.cwd,env:()=>b,format:a.format,normalize:s.normalize,resolve:s.resolve,require:e=>i(8953)(e)}),x=function(e,t){return v.parse(e.slice(),t).argv};x.detailed=function(e,t){return v.parse(e.slice(),t)},x.camelCase=o,x.decamelize=r,x.looksLikeNumber=c,e.exports=x},5338:(e,t,i)=>{"use strict";var n=i(2613);class a extends Error{constructor(e){super(e||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,a)}}let s,o=[];function r(e,t,n,u){s=u;let l={};if(Object.prototype.hasOwnProperty.call(e,"extends")){if("string"!=typeof e.extends)return l;const c=/\.json|\..*rc$/.test(e.extends);let u=null;if(c)u=function(e,t){return s.path.resolve(e,t)}(t,e.extends);else try{u=i(7315).resolve(e.extends)}catch(t){return e}!function(e){if(o.indexOf(e)>-1)throw new a(`Circular extended configurations: '${e}'.`)}(u),o.push(u),l=c?JSON.parse(s.readFileSync(u,"utf8")):i(7315)(e.extends),delete e.extends,l=r(l,s.path.dirname(u),n,s)}return o=[],n?c(l,e):Object.assign({},l,e)}function c(e,t){const i={};function n(e){return e&&"object"==typeof e&&!Array.isArray(e)}Object.assign(i,e);for(const a of Object.keys(t))n(t[a])&&n(i[a])?i[a]=c(e[a],t[a]):i[a]=t[a];return i}function u(e){const t=e.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),i=/\.*[\][<>]/g,n=t.shift();if(!n)throw new Error(`No command found in: ${e}`);const a={cmd:n.replace(i,""),demanded:[],optional:[]};return t.forEach(((e,n)=>{let s=!1;e=e.replace(/\s/g,""),/\.+[\]>]/.test(e)&&n===t.length-1&&(s=!0),/^\[/.test(e)?a.optional.push({cmd:e.replace(i,"").split("|"),variadic:s}):a.demanded.push({cmd:e.replace(i,"").split("|"),variadic:s})})),a}const l=["first","second","third","fourth","fifth","sixth"];function p(e,t,i){try{let n=0;const[s,o,r]="object"==typeof e?[{demanded:[],optional:[]},e,t]:[u(`cmd ${e}`),t,i],c=[].slice.call(o);for(;c.length&&void 0===c[c.length-1];)c.pop();const l=r||c.length;if(l<s.demanded.length)throw new a(`Not enough arguments provided. Expected ${s.demanded.length} but received ${c.length}.`);const p=s.demanded.length+s.optional.length;if(l>p)throw new a(`Too many arguments provided. Expected max ${p} but received ${l}.`);s.demanded.forEach((e=>{const t=d(c.shift());0===e.cmd.filter((e=>e===t||"*"===e)).length&&f(t,e.cmd,n),n+=1})),s.optional.forEach((e=>{if(0===c.length)return;const t=d(c.shift());0===e.cmd.filter((e=>e===t||"*"===e)).length&&f(t,e.cmd,n),n+=1}))}catch(e){console.warn(e.stack)}}function d(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function f(e,t,i){throw new a(`Invalid ${l[i]||"manyith"} argument. Expected ${t.join(" or ")} but received ${e}.`)}function h(e){return!!e&&!!e.then&&"function"==typeof e.then}function m(e,t,i,n){i.assert.notStrictEqual(e,t,n)}function g(e,t){t.assert.strictEqual(typeof e,"string")}function b(e){return Object.keys(e)}function v(e={},t=(()=>!0)){const i={};return b(e).forEach((n=>{t(n,e[n])&&(i[n]=e[n])})),i}function x(){return process.versions.electron&&!process.defaultApp?0:1}function y(){return process.argv[x()]}var w=Object.freeze({__proto__:null,hideBin:function(e){return e.slice(x()+1)},getProcessArgvBin:y});function D(e,t,i,n){if("a"===i&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)}function _(e,t,i,n,a){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?a.call(e,i):a?a.value=i:t.set(e,i),i}class E{constructor(e){this.globalMiddleware=[],this.frozens=[],this.yargs=e}addMiddleware(e,t,i=!0,n=!1){if(p("<array|function> [boolean] [boolean] [boolean]",[e,t,i],arguments.length),Array.isArray(e)){for(let n=0;n<e.length;n++){if("function"!=typeof e[n])throw Error("middleware must be a function");const a=e[n];a.applyBeforeValidation=t,a.global=i}Array.prototype.push.apply(this.globalMiddleware,e)}else if("function"==typeof e){const a=e;a.applyBeforeValidation=t,a.global=i,a.mutates=n,this.globalMiddleware.push(e)}return this.yargs}addCoerceMiddleware(e,t){const i=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter((e=>{const n=[...i[t]||[],t];return!e.option||!n.includes(e.option)})),e.option=t,this.addMiddleware(e,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){const e=this.frozens.pop();void 0!==e&&(this.globalMiddleware=e)}reset(){this.globalMiddleware=this.globalMiddleware.filter((e=>e.global))}}function F(e,t,i,n){return i.reduce(((e,i)=>{if(i.applyBeforeValidation!==n)return e;if(i.mutates){if(i.applied)return e;i.applied=!0}if(h(e))return e.then((e=>Promise.all([e,i(e,t)]))).then((([e,t])=>Object.assign(e,t)));{const n=i(e,t);return h(n)?n.then((t=>Object.assign(e,t))):Object.assign(e,n)}}),e)}function k(e,t,i=(e=>{throw e})){try{const i="function"==typeof e?e():e;return h(i)?i.then((e=>t(e))):t(i)}catch(e){return i(e)}}const C=/(^\*)|(^\$0)/;class j{constructor(e,t,i,n){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=n,this.usage=e,this.globalMiddleware=i,this.validation=t}addDirectory(e,t,i,n){"boolean"!=typeof(n=n||{}).recurse&&(n.recurse=!1),Array.isArray(n.extensions)||(n.extensions=["js"]);const a="function"==typeof n.visit?n.visit:e=>e;n.visit=(e,t,i)=>{const n=a(e,t,i);if(n){if(this.requireCache.has(t))return n;this.requireCache.add(t),this.addHandler(n)}return n},this.shim.requireDirectory({require:t,filename:i},e,n)}addHandler(e,t,i,n,a,s){let o=[];const r=function(e){return e?e.map((e=>(e.applyBeforeValidation=!1,e))):[]}(a);if(n=n||(()=>{}),Array.isArray(e))if(function(e){return e.every((e=>"string"==typeof e))}(e))[e,...o]=e;else for(const t of e)this.addHandler(t);else{if(function(e){return"object"==typeof e&&!Array.isArray(e)}(e)){let t=Array.isArray(e.command)||"string"==typeof e.command?e.command:this.moduleName(e);return e.aliases&&(t=[].concat(t).concat(e.aliases)),void this.addHandler(t,this.extractDesc(e),e.builder,e.handler,e.middlewares,e.deprecated)}if(O(i))return void this.addHandler([e].concat(o),t,i.builder,i.handler,i.middlewares,i.deprecated)}if("string"==typeof e){const a=u(e);o=o.map((e=>u(e).cmd));let c=!1;const l=[a.cmd].concat(o).filter((e=>!C.test(e)||(c=!0,!1)));0===l.length&&c&&l.push("$0"),c&&(a.cmd=l[0],o=l.slice(1),e=e.replace(C,a.cmd)),o.forEach((e=>{this.aliasMap[e]=a.cmd})),!1!==t&&this.usage.command(e,t,c,o,s),this.handlers[a.cmd]={original:e,description:t,handler:n,builder:i||{},middlewares:r,deprecated:s,demanded:a.demanded,optional:a.optional},c&&(this.defaultCommand=this.handlers[a.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(e,t,i,n,a,s){const o=this.handlers[e]||this.handlers[this.aliasMap[e]]||this.defaultCommand,r=t.getInternalMethods().getContext(),c=r.commands.slice(),u=!e;e&&(r.commands.push(e),r.fullCommands.push(o.original));const l=this.applyBuilderUpdateUsageAndParse(u,o,t,i.aliases,c,n,a,s);return h(l)?l.then((e=>this.applyMiddlewareAndGetResult(u,o,e.innerArgv,r,a,e.aliases,t))):this.applyMiddlewareAndGetResult(u,o,l.innerArgv,r,a,l.aliases,t)}applyBuilderUpdateUsageAndParse(e,t,i,n,a,s,o,r){const c=t.builder;let u=i;if(A(c)){i.getInternalMethods().getUsageInstance().freeze();const l=c(i.getInternalMethods().reset(n),r);if(h(l))return l.then((n=>{var r;return u=(r=n)&&"function"==typeof r.getInternalMethods?n:i,this.parseAndUpdateUsage(e,t,u,a,s,o)}))}else(function(e){return"object"==typeof e})(c)&&(i.getInternalMethods().getUsageInstance().freeze(),u=i.getInternalMethods().reset(n),Object.keys(t.builder).forEach((e=>{u.option(e,c[e])})));return this.parseAndUpdateUsage(e,t,u,a,s,o)}parseAndUpdateUsage(e,t,i,n,a,s){e&&i.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(i)&&i.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(n,t),t.description);const o=i.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,a,s);return h(o)?o.then((e=>({aliases:i.parsed.aliases,innerArgv:e}))):{aliases:i.parsed.aliases,innerArgv:o}}shouldUpdateUsage(e){return!e.getInternalMethods().getUsageInstance().getUsageDisabled()&&0===e.getInternalMethods().getUsageInstance().getUsage().length}usageFromParentCommandsCommandHandler(e,t){const i=C.test(t.original)?t.original.replace(C,"").trim():t.original,n=e.filter((e=>!C.test(e)));return n.push(i),`$0 ${n.join(" ")}`}handleValidationAndGetResult(e,t,i,n,a,s,o,r){if(!s.getInternalMethods().getHasOutput()){const t=s.getInternalMethods().runValidation(a,r,s.parsed.error,e);i=k(i,(e=>(t(e),e)))}if(t.handler&&!s.getInternalMethods().getHasOutput()){s.getInternalMethods().setHasOutput();const n=!!s.getOptions().configuration["populate--"];s.getInternalMethods().postProcess(i,n,!1,!1),i=k(i=F(i,s,o,!1),(e=>{const i=t.handler(e);return h(i)?i.then((()=>e)):e})),e||s.getInternalMethods().getUsageInstance().cacheHelpMessage(),h(i)&&!s.getInternalMethods().hasParseCallback()&&i.catch((e=>{try{s.getInternalMethods().getUsageInstance().fail(null,e)}catch(e){}}))}return e||(n.commands.pop(),n.fullCommands.pop()),i}applyMiddlewareAndGetResult(e,t,i,n,a,s,o){let r={};if(a)return i;o.getInternalMethods().getHasOutput()||(r=this.populatePositionals(t,i,n,o));const c=this.globalMiddleware.getMiddleware().slice(0).concat(t.middlewares),u=F(i,o,c,!0);return h(u)?u.then((i=>this.handleValidationAndGetResult(e,t,i,n,s,o,c,r))):this.handleValidationAndGetResult(e,t,u,n,s,o,c,r)}populatePositionals(e,t,i,n){t._=t._.slice(i.commands.length);const a=e.demanded.slice(0),s=e.optional.slice(0),o={};for(this.validation.positionalCount(a.length,t._.length);a.length;){const e=a.shift();this.populatePositional(e,t,o)}for(;s.length;){const e=s.shift();this.populatePositional(e,t,o)}return t._=i.commands.concat(t._.map((e=>""+e))),this.postProcessPositionals(t,o,this.cmdToParseOptions(e.original),n),o}populatePositional(e,t,i){const n=e.cmd[0];e.variadic?i[n]=t._.splice(0).map(String):t._.length&&(i[n]=[String(t._.shift())])}cmdToParseOptions(e){const t={array:[],default:{},alias:{},demand:{}},i=u(e);return i.demanded.forEach((e=>{const[i,...n]=e.cmd;e.variadic&&(t.array.push(i),t.default[i]=[]),t.alias[i]=n,t.demand[i]=!0})),i.optional.forEach((e=>{const[i,...n]=e.cmd;e.variadic&&(t.array.push(i),t.default[i]=[]),t.alias[i]=n})),t}postProcessPositionals(e,t,i,n){const a=Object.assign({},n.getOptions());a.default=Object.assign(i.default,a.default);for(const e of Object.keys(i.alias))a.alias[e]=(a.alias[e]||[]).concat(i.alias[e]);a.array=a.array.concat(i.array),a.config={};const s=[];if(Object.keys(t).forEach((e=>{t[e].map((t=>{a.configuration["unknown-options-as-args"]&&(a.key[e]=!0),s.push(`--${e}`),s.push(t)}))})),!s.length)return;const o=Object.assign({},a.configuration,{"populate--":!1}),r=this.shim.Parser.detailed(s,Object.assign({},a,{configuration:o}));if(r.error)n.getInternalMethods().getUsageInstance().fail(r.error.message,r.error);else{const i=Object.keys(t);Object.keys(t).forEach((e=>{i.push(...r.aliases[e])})),Object.keys(r.argv).forEach((a=>{i.includes(a)&&(t[a]||(t[a]=r.argv[a]),!this.isInConfigs(n,a)&&!this.isDefaulted(n,a)&&Object.prototype.hasOwnProperty.call(e,a)&&Object.prototype.hasOwnProperty.call(r.argv,a)&&(Array.isArray(e[a])||Array.isArray(r.argv[a]))?e[a]=[].concat(e[a],r.argv[a]):e[a]=r.argv[a])}))}}isDefaulted(e,t){const{default:i}=e.getOptions();return Object.prototype.hasOwnProperty.call(i,t)||Object.prototype.hasOwnProperty.call(i,this.shim.Parser.camelCase(t))}isInConfigs(e,t){const{configObjects:i}=e.getOptions();return i.some((e=>Object.prototype.hasOwnProperty.call(e,t)))||i.some((e=>Object.prototype.hasOwnProperty.call(e,this.shim.Parser.camelCase(t))))}runDefaultBuilderOn(e){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(e)){const t=C.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");e.getInternalMethods().getUsageInstance().usage(t,this.defaultCommand.description)}const t=this.defaultCommand.builder;if(A(t))return t(e,!0);O(t)||Object.keys(t).forEach((i=>{e.option(i,t[i])}))}moduleName(e){const t=function(e){for(let t,n=0,a=Object.keys(i.c);n<a.length;n++)if(t=i.c[a[n]],t.exports===e)return t;return null}(e);if(!t)throw new Error(`No command name given for module: ${this.shim.inspect(e)}`);return this.commandFromFilename(t.filename)}commandFromFilename(e){return this.shim.path.basename(e,this.shim.path.extname(e))}extractDesc({describe:e,description:t,desc:i}){for(const n of[e,t,i]){if("string"==typeof n||!1===n)return n;m(n,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){const e=this.frozens.pop();m(e,void 0,this.shim),({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand}=e)}reset(){return this.handlers={},this.aliasMap={},this.defaultCommand=void 0,this.requireCache=new Set,this}}function O(e){return"object"==typeof e&&!!e.builder&&"function"==typeof e.handler}function A(e){return"function"==typeof e}function S(e){"undefined"!=typeof process&&[process.stdout,process.stderr].forEach((t=>{const i=t;i._handle&&i.isTTY&&"function"==typeof i._handle.setBlocking&&i._handle.setBlocking(e)}))}function B(e){return"boolean"==typeof e}function R(e,t){const i=t.y18n.__,n={},s=[];n.failFn=function(e){s.push(e)};let o=null,r=null,c=!0;n.showHelpOnFail=function(t=!0,i){const[a,s]="string"==typeof t?[!0,t]:[t,i];return e.getInternalMethods().isGlobalContext()&&(r=s),o=s,c=a,n};let u=!1;n.fail=function(t,i){const l=e.getInternalMethods().getLoggerInstance();if(!s.length){if(e.getExitProcess()&&S(!0),!u){u=!0,c&&(e.showHelp("error"),l.error()),(t||i)&&l.error(t||i);const n=o||r;n&&((t||i)&&l.error(""),l.error(n))}if(i=i||new a(t),e.getExitProcess())return e.exit(1);if(e.getInternalMethods().hasParseCallback())return e.exit(1,i);throw i}for(let e=s.length-1;e>=0;--e){const a=s[e];if(B(a)){if(i)throw i;if(t)throw Error(t)}else a(t,i,n)}};let l=[],p=!1;n.usage=(e,t)=>null===e?(p=!0,l=[],n):(p=!1,l.push([e,t||""]),n),n.getUsage=()=>l,n.getUsageDisabled=()=>p,n.getPositionalGroupName=()=>i("Positionals:");let d=[];n.example=(e,t)=>{d.push([e,t||""])};let f=[];n.command=function(e,t,i,n,a=!1){i&&(f=f.map((e=>(e[2]=!1,e)))),f.push([e,t||"",i,n,a])},n.getCommands=()=>f;let h={};n.describe=function(e,t){Array.isArray(e)?e.forEach((e=>{n.describe(e,t)})):"object"==typeof e?Object.keys(e).forEach((t=>{n.describe(t,e[t])})):h[e]=t},n.getDescriptions=()=>h;let m=[];n.epilog=e=>{m.push(e)};let g,b=!1;n.wrap=e=>{b=!0,g=e},n.getWrap=()=>t.getEnv("YARGS_DISABLE_WRAP")?null:(b||(g=t.process.stdColumns?Math.min(80,t.process.stdColumns):80,b=!0),g);const x="__yargsString__:";function y(e,i,n){let a=0;return Array.isArray(e)||(e=Object.values(e).map((e=>[e]))),e.forEach((e=>{a=Math.max(t.stringWidth(n?`${n} ${T(e[0])}`:T(e[0]))+P(e[0]),a)})),i&&(a=Math.min(a,parseInt((.5*i).toString(),10))),a}let w;function D(t){return e.getOptions().hiddenOptions.indexOf(t)<0||e.parsed.argv[e.getOptions().showHiddenOpt]}function _(e,t){let n=`[${i("default:")} `;if(void 0===e&&!t)return null;if(t)n+=t;else switch(typeof e){case"string":n+=`"${e}"`;break;case"object":n+=JSON.stringify(e);break;default:n+=e}return`${n}]`}n.deferY18nLookup=e=>x+e,n.help=function(){if(w)return w;!function(){const t=e.getDemandedOptions(),i=e.getOptions();(Object.keys(i.alias)||[]).forEach((a=>{i.alias[a].forEach((s=>{h[s]&&n.describe(a,h[s]),s in t&&e.demandOption(a,t[s]),i.boolean.includes(s)&&e.boolean(a),i.count.includes(s)&&e.count(a),i.string.includes(s)&&e.string(a),i.normalize.includes(s)&&e.normalize(a),i.array.includes(s)&&e.array(a),i.number.includes(s)&&e.number(a)}))}))}();const a=e.customScriptName?e.$0:t.path.basename(e.$0),s=e.getDemandedOptions(),o=e.getDemandedCommands(),r=e.getDeprecatedOptions(),c=e.getGroups(),u=e.getOptions();let g=[];g=g.concat(Object.keys(h)),g=g.concat(Object.keys(s)),g=g.concat(Object.keys(o)),g=g.concat(Object.keys(u.default)),g=g.filter(D),g=Object.keys(g.reduce(((e,t)=>("_"!==t&&(e[t]=!0),e)),{}));const b=n.getWrap(),v=t.cliui({width:b,wrap:!!b});if(!p)if(l.length)l.forEach((e=>{v.div({text:`${e[0].replace(/\$0/g,a)}`}),e[1]&&v.div({text:`${e[1]}`,padding:[1,0,0,0]})})),v.div();else if(f.length){let e=null;e=o._?`${a} <${i("command")}>\n`:`${a} [${i("command")}]\n`,v.div(`${e}`)}if(f.length>1||1===f.length&&!f[0][2]){v.div(i("Commands:"));const t=e.getInternalMethods().getContext(),n=t.commands.length?`${t.commands.join(" ")} `:"";!0===e.getInternalMethods().getParserConfiguration()["sort-commands"]&&(f=f.sort(((e,t)=>e[0].localeCompare(t[0]))));const s=a?`${a} `:"";f.forEach((e=>{const t=`${s}${n}${e[0].replace(/^\$0 ?/,"")}`;v.span({text:t,padding:[0,2,0,2],width:y(f,b,`${a}${n}`)+4},{text:e[1]});const o=[];e[2]&&o.push(`[${i("default")}]`),e[3]&&e[3].length&&o.push(`[${i("aliases:")} ${e[3].join(", ")}]`),e[4]&&("string"==typeof e[4]?o.push(`[${i("deprecated: %s",e[4])}]`):o.push(`[${i("deprecated")}]`)),o.length?v.div({text:o.join(" "),padding:[0,0,0,2],align:"right"}):v.div()})),v.div()}const E=(Object.keys(u.alias)||[]).concat(Object.keys(e.parsed.newAliases)||[]);g=g.filter((t=>!e.parsed.newAliases[t]&&E.every((e=>-1===(u.alias[e]||[]).indexOf(t)))));const F=i("Options:");c[F]||(c[F]=[]),function(e,t,i,n){let a=[],s=null;Object.keys(i).forEach((e=>{a=a.concat(i[e])})),e.forEach((e=>{s=[e].concat(t[e]),s.some((e=>-1!==a.indexOf(e)))||i[n].push(e)}))}(g,u.alias,c,F);const k=e=>/^--/.test(T(e)),C=Object.keys(c).filter((e=>c[e].length>0)).map((e=>({groupName:e,normalizedKeys:c[e].filter(D).map((e=>{if(E.includes(e))return e;for(let t,i=0;void 0!==(t=E[i]);i++)if((u.alias[t]||[]).includes(e))return t;return e}))}))).filter((({normalizedKeys:e})=>e.length>0)).map((({groupName:e,normalizedKeys:t})=>{const i=t.reduce(((t,i)=>(t[i]=[i].concat(u.alias[i]||[]).map((t=>e===n.getPositionalGroupName()?t:(/^[0-9]$/.test(t)?u.boolean.includes(i)?"-":"--":t.length>1?"--":"-")+t)).sort(((e,t)=>k(e)===k(t)?0:k(e)?1:-1)).join(", "),t)),{});return{groupName:e,normalizedKeys:t,switches:i}}));if(C.filter((({groupName:e})=>e!==n.getPositionalGroupName())).some((({normalizedKeys:e,switches:t})=>!e.every((e=>k(t[e])))))&&C.filter((({groupName:e})=>e!==n.getPositionalGroupName())).forEach((({normalizedKeys:e,switches:t})=>{e.forEach((e=>{var i;k(t[e])&&(t[e]=$(i=t[e])?{text:i.text,indentation:i.indentation+4}:{text:i,indentation:4})}))})),C.forEach((({groupName:t,normalizedKeys:a,switches:o})=>{v.div(t),a.forEach((t=>{const a=o[t];let c=h[t]||"",l=null;c.includes(x)&&(c=i(c.substring(16))),u.boolean.includes(t)&&(l=`[${i("boolean")}]`),u.count.includes(t)&&(l=`[${i("count")}]`),u.string.includes(t)&&(l=`[${i("string")}]`),u.normalize.includes(t)&&(l=`[${i("string")}]`),u.array.includes(t)&&(l=`[${i("array")}]`),u.number.includes(t)&&(l=`[${i("number")}]`);const p=[t in r?(d=r[t],"string"==typeof d?`[${i("deprecated: %s",d)}]`:`[${i("deprecated")}]`):null,l,t in s?`[${i("required")}]`:null,u.choices&&u.choices[t]?`[${i("choices:")} ${n.stringifiedValues(u.choices[t])}]`:null,_(u.default[t],u.defaultDescription[t])].filter(Boolean).join(" ");var d;v.span({text:T(a),padding:[0,2,0,2+P(a)],width:y(o,b)+4},c);const f=!0===e.getInternalMethods().getUsageConfiguration()["hide-types"];p&&!f?v.div({text:p,padding:[0,0,0,2],align:"right"}):v.div()})),v.div()})),d.length&&(v.div(i("Examples:")),d.forEach((e=>{e[0]=e[0].replace(/\$0/g,a)})),d.forEach((e=>{""===e[1]?v.div({text:e[0],padding:[0,2,0,2]}):v.div({text:e[0],padding:[0,2,0,2],width:y(d,b)+4},{text:e[1]})})),v.div()),m.length>0){const e=m.map((e=>e.replace(/\$0/g,a))).join("\n");v.div(`${e}\n`)}return v.toString().replace(/\s*$/,"")},n.cacheHelpMessage=function(){w=this.help()},n.clearCachedHelpMessage=function(){w=void 0},n.hasCachedHelpMessage=function(){return!!w},n.showHelp=t=>{const i=e.getInternalMethods().getLoggerInstance();t||(t="error"),("function"==typeof t?t:i[t])(n.help())},n.functionDescription=e=>["(",e.name?t.Parser.decamelize(e.name,"-"):i("generated-value"),")"].join(""),n.stringifiedValues=function(e,t){let i="";const n=t||", ",a=[].concat(e);return e&&a.length?(a.forEach((e=>{i.length&&(i+=n),i+=JSON.stringify(e)})),i):i};let E=null;n.version=e=>{E=e},n.showVersion=t=>{const i=e.getInternalMethods().getLoggerInstance();t||(t="error"),("function"==typeof t?t:i[t])(E)},n.reset=function(e){return o=null,u=!1,l=[],p=!1,m=[],d=[],f=[],h=v(h,(t=>!e[t])),n};const F=[];return n.freeze=function(){F.push({failMessage:o,failureOutput:u,usages:l,usageDisabled:p,epilogs:m,examples:d,commands:f,descriptions:h})},n.unfreeze=function(e=!1){const t=F.pop();t&&(e?(h={...t.descriptions,...h},f=[...t.commands,...f],l=[...t.usages,...l],d=[...t.examples,...d],m=[...t.epilogs,...m]):({failMessage:o,failureOutput:u,usages:l,usageDisabled:p,epilogs:m,examples:d,commands:f,descriptions:h}=t))},n}function $(e){return"object"==typeof e}function P(e){return $(e)?e.indentation:0}function T(e){return $(e)?e.text:e}class I{constructor(e,t,i,n){var a,s,o;this.yargs=e,this.usage=t,this.command=i,this.shim=n,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=null!==(o=(null===(a=this.shim.getEnv("SHELL"))||void 0===a?void 0:a.includes("zsh"))||(null===(s=this.shim.getEnv("ZSH_NAME"))||void 0===s?void 0:s.includes("zsh")))&&void 0!==o&&o}defaultCompletion(e,t,i,n){const a=this.command.getCommandHandlers();for(let t=0,i=e.length;t<i;++t)if(a[e[t]]&&a[e[t]].builder){const i=a[e[t]].builder;if(A(i)){this.indexAfterLastReset=t+1;const e=this.yargs.getInternalMethods().reset();return i(e,!0),e.argv}}const s=[];this.commandCompletions(s,e,i),this.optionCompletions(s,e,t,i),this.choicesFromOptionsCompletions(s,e,t,i),this.choicesFromPositionalsCompletions(s,e,t,i),n(null,s)}commandCompletions(e,t,i){const n=this.yargs.getInternalMethods().getContext().commands;i.match(/^-/)||n[n.length-1]===i||this.previousArgHasChoices(t)||this.usage.getCommands().forEach((i=>{const n=u(i[0]).cmd;if(-1===t.indexOf(n))if(this.zshShell){const t=i[1]||"";e.push(n.replace(/:/g,"\\:")+":"+t)}else e.push(n)}))}optionCompletions(e,t,i,n){if((n.match(/^-/)||""===n&&0===e.length)&&!this.previousArgHasChoices(t)){const i=this.yargs.getOptions(),a=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(i.key).forEach((s=>{const o=!!i.configuration["boolean-negation"]&&i.boolean.includes(s);a.includes(s)||i.hiddenOptions.includes(s)||this.argsContainKey(t,s,o)||this.completeOptionKey(s,e,n,o&&!!i.default[s])}))}}choicesFromOptionsCompletions(e,t,i,n){if(this.previousArgHasChoices(t)){const i=this.getPreviousArgChoices(t);i&&i.length>0&&e.push(...i.map((e=>e.replace(/:/g,"\\:"))))}}choicesFromPositionalsCompletions(e,t,i,n){if(""===n&&e.length>0&&this.previousArgHasChoices(t))return;const a=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],s=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),o=a[i._.length-s-1];if(!o)return;const r=this.yargs.getOptions().choices[o]||[];for(const t of r)t.startsWith(n)&&e.push(t.replace(/:/g,"\\:"))}getPreviousArgChoices(e){if(e.length<1)return;let t=e[e.length-1],i="";if(!t.startsWith("-")&&e.length>1&&(i=t,t=e[e.length-2]),!t.startsWith("-"))return;const n=t.replace(/^-+/,""),a=this.yargs.getOptions(),s=[n,...this.yargs.getAliases()[n]||[]];let o;for(const e of s)if(Object.prototype.hasOwnProperty.call(a.key,e)&&Array.isArray(a.choices[e])){o=a.choices[e];break}return o?o.filter((e=>!i||e.startsWith(i))):void 0}previousArgHasChoices(e){const t=this.getPreviousArgChoices(e);return void 0!==t&&t.length>0}argsContainKey(e,t,i){const n=t=>-1!==e.indexOf((/^[^0-9]$/.test(t)?"-":"--")+t);if(n(t))return!0;if(i&&n(`no-${t}`))return!0;if(this.aliases)for(const e of this.aliases[t])if(n(e))return!0;return!1}completeOptionKey(e,t,i,n){var a,s,o,r;let c=e;if(this.zshShell){const t=this.usage.getDescriptions(),i=null===(s=null===(a=null==this?void 0:this.aliases)||void 0===a?void 0:a[e])||void 0===s?void 0:s.find((e=>{const i=t[e];return"string"==typeof i&&i.length>0})),n=i?t[i]:void 0,u=null!==(r=null!==(o=t[e])&&void 0!==o?o:n)&&void 0!==r?r:"";c=`${e.replace(/:/g,"\\:")}:${u.replace("__yargsString__:","").replace(/(\r\n|\n|\r)/gm," ")}`}const u=!/^--/.test(i)&&(e=>/^[^0-9]$/.test(e))(e)?"-":"--";t.push(u+c),n&&t.push(u+"no-"+c)}customCompletion(e,t,i,n){if(m(this.customCompletionFunction,null,this.shim),this.customCompletionFunction.length<3){const e=this.customCompletionFunction(i,t);return h(e)?e.then((e=>{this.shim.process.nextTick((()=>{n(null,e)}))})).catch((e=>{this.shim.process.nextTick((()=>{n(e,void 0)}))})):n(null,e)}return function(e){return e.length>3}(this.customCompletionFunction)?this.customCompletionFunction(i,t,((a=n)=>this.defaultCompletion(e,t,i,a)),(e=>{n(null,e)})):this.customCompletionFunction(i,t,(e=>{n(null,e)}))}getCompletion(e,t){const i=e.length?e[e.length-1]:"",n=this.yargs.parse(e,!0),a=this.customCompletionFunction?n=>this.customCompletion(e,n,i,t):n=>this.defaultCompletion(e,n,i,t);return h(n)?n.then(a):a(n)}generateCompletionScript(e,t){let i=this.zshShell?'#compdef {{app_name}}\n###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.zshrc\n# or {{app_path}} {{completion_command}} >> ~/.zprofile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local reply\n local si=$IFS\n IFS=$\'\n\' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" {{app_path}} --get-yargs-completions "${words[@]}"))\n IFS=$si\n _describe \'values\' reply\n}\ncompdef _{{app_name}}_yargs_completions {{app_name}}\n###-end-{{app_name}}-completions-###\n':'###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.bashrc\n# or {{app_path}} {{completion_command}} >> ~/.bash_profile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local cur_word args type_list\n\n cur_word="${COMP_WORDS[COMP_CWORD]}"\n args=("${COMP_WORDS[@]}")\n\n # ask yargs to generate completions.\n type_list=$({{app_path}} --get-yargs-completions "${args[@]}")\n\n COMPREPLY=( $(compgen -W "${type_list}" -- ${cur_word}) )\n\n # if no match was found, fall back to filename completion\n if [ ${#COMPREPLY[@]} -eq 0 ]; then\n COMPREPLY=()\n fi\n\n return 0\n}\ncomplete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name}}\n###-end-{{app_name}}-completions-###\n';const n=this.shim.path.basename(e);return e.match(/\.js$/)&&(e=`./${e}`),i=i.replace(/{{app_name}}/g,n),i=i.replace(/{{completion_command}}/g,t),i.replace(/{{app_path}}/g,e)}registerFunction(e){this.customCompletionFunction=e}setParsed(e){this.aliases=e.aliases}}function M(e,t){if(0===e.length)return t.length;if(0===t.length)return e.length;const i=[];let n,a;for(n=0;n<=t.length;n++)i[n]=[n];for(a=0;a<=e.length;a++)i[0][a]=a;for(n=1;n<=t.length;n++)for(a=1;a<=e.length;a++)t.charAt(n-1)===e.charAt(a-1)?i[n][a]=i[n-1][a-1]:n>1&&a>1&&t.charAt(n-2)===e.charAt(a-1)&&t.charAt(n-1)===e.charAt(a-2)?i[n][a]=i[n-2][a-2]+1:i[n][a]=Math.min(i[n-1][a-1]+1,Math.min(i[n][a-1]+1,i[n-1][a]+1));return i[t.length][e.length]}const z=["$0","--","_"];var N,U,L,q,H,W,G,V,K,Y,Z,J,Q,X,ee,te,ie,ne,ae,se,oe,re,ce,ue,le,pe,de,fe,he,me,ge,be,ve,xe,ye;const we=Symbol("copyDoubleDash"),De=Symbol("copyDoubleDash"),_e=Symbol("deleteFromParserHintObject"),Ee=Symbol("emitWarning"),Fe=Symbol("freeze"),ke=Symbol("getDollarZero"),Ce=Symbol("getParserConfiguration"),je=Symbol("getUsageConfiguration"),Oe=Symbol("guessLocale"),Ae=Symbol("guessVersion"),Se=Symbol("parsePositionalNumbers"),Be=Symbol("pkgUp"),Re=Symbol("populateParserHintArray"),$e=Symbol("populateParserHintSingleValueDictionary"),Pe=Symbol("populateParserHintArrayDictionary"),Te=Symbol("populateParserHintDictionary"),Ie=Symbol("sanitizeKey"),Me=Symbol("setKey"),ze=Symbol("unfreeze"),Ne=Symbol("validateAsync"),Ue=Symbol("getCommandInstance"),Le=Symbol("getContext"),qe=Symbol("getHasOutput"),He=Symbol("getLoggerInstance"),We=Symbol("getParseContext"),Ge=Symbol("getUsageInstance"),Ve=Symbol("getValidationInstance"),Ke=Symbol("hasParseCallback"),Ye=Symbol("isGlobalContext"),Ze=Symbol("postProcess"),Je=Symbol("rebase"),Qe=Symbol("reset"),Xe=Symbol("runYargsParserAndExecuteCommands"),et=Symbol("runValidation"),tt=Symbol("setHasOutput"),it=Symbol("kTrackManuallySetKeys");class nt{constructor(e=[],t,i,n){this.customScriptName=!1,this.parsed=!1,N.set(this,void 0),U.set(this,void 0),L.set(this,{commands:[],fullCommands:[]}),q.set(this,null),H.set(this,null),W.set(this,"show-hidden"),G.set(this,null),V.set(this,!0),K.set(this,{}),Y.set(this,!0),Z.set(this,[]),J.set(this,void 0),Q.set(this,{}),X.set(this,!1),ee.set(this,null),te.set(this,!0),ie.set(this,void 0),ne.set(this,""),ae.set(this,void 0),se.set(this,void 0),oe.set(this,{}),re.set(this,null),ce.set(this,null),ue.set(this,{}),le.set(this,{}),pe.set(this,void 0),de.set(this,!1),fe.set(this,void 0),he.set(this,!1),me.set(this,!1),ge.set(this,!1),be.set(this,void 0),ve.set(this,{}),xe.set(this,null),ye.set(this,void 0),_(this,fe,n,"f"),_(this,pe,e,"f"),_(this,U,t,"f"),_(this,se,i,"f"),_(this,J,new E(this),"f"),this.$0=this[ke](),this[Qe](),_(this,N,D(this,N,"f"),"f"),_(this,be,D(this,be,"f"),"f"),_(this,ye,D(this,ye,"f"),"f"),_(this,ae,D(this,ae,"f"),"f"),D(this,ae,"f").showHiddenOpt=D(this,W,"f"),_(this,ie,this[De](),"f")}addHelpOpt(e,t){return p("[string|boolean] [string]",[e,t],arguments.length),D(this,ee,"f")&&(this[_e](D(this,ee,"f")),_(this,ee,null,"f")),!1===e&&void 0===t||(_(this,ee,"string"==typeof e?e:"help","f"),this.boolean(D(this,ee,"f")),this.describe(D(this,ee,"f"),t||D(this,be,"f").deferY18nLookup("Show help"))),this}help(e,t){return this.addHelpOpt(e,t)}addShowHiddenOpt(e,t){if(p("[string|boolean] [string]",[e,t],arguments.length),!1===e&&void 0===t)return this;const i="string"==typeof e?e:D(this,W,"f");return this.boolean(i),this.describe(i,t||D(this,be,"f").deferY18nLookup("Show hidden options")),D(this,ae,"f").showHiddenOpt=i,this}showHidden(e,t){return this.addShowHiddenOpt(e,t)}alias(e,t){return p("<object|string|array> [string|array]",[e,t],arguments.length),this[Pe](this.alias.bind(this),"alias",e,t),this}array(e){return p("<array|string>",[e],arguments.length),this[Re]("array",e),this[it](e),this}boolean(e){return p("<array|string>",[e],arguments.length),this[Re]("boolean",e),this[it](e),this}check(e,t){return p("<function> [boolean]",[e,t],arguments.length),this.middleware(((t,i)=>k((()=>e(t,i.getOptions())),(i=>(i?("string"==typeof i||i instanceof Error)&&D(this,be,"f").fail(i.toString(),i):D(this,be,"f").fail(D(this,fe,"f").y18n.__("Argument check failed: %s",e.toString())),t)),(e=>(D(this,be,"f").fail(e.message?e.message:e.toString(),e),t)))),!1,t),this}choices(e,t){return p("<object|string|array> [string|array]",[e,t],arguments.length),this[Pe](this.choices.bind(this),"choices",e,t),this}coerce(e,t){if(p("<object|string|array> [function]",[e,t],arguments.length),Array.isArray(e)){if(!t)throw new a("coerce callback must be provided");for(const i of e)this.coerce(i,t);return this}if("object"==typeof e){for(const t of Object.keys(e))this.coerce(t,e[t]);return this}if(!t)throw new a("coerce callback must be provided");return D(this,ae,"f").key[e]=!0,D(this,J,"f").addCoerceMiddleware(((i,n)=>{let s;return Object.prototype.hasOwnProperty.call(i,e)?k((()=>(s=n.getAliases(),t(i[e]))),(t=>{i[e]=t;const a=n.getInternalMethods().getParserConfiguration()["strip-aliased"];if(s[e]&&!0!==a)for(const n of s[e])i[n]=t;return i}),(e=>{throw new a(e.message)})):i}),e),this}conflicts(e,t){return p("<string|object> [string|array]",[e,t],arguments.length),D(this,ye,"f").conflicts(e,t),this}config(e="config",t,i){return p("[object|string] [string|function] [function]",[e,t,i],arguments.length),"object"!=typeof e||Array.isArray(e)?("function"==typeof t&&(i=t,t=void 0),this.describe(e,t||D(this,be,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(e)?e:[e]).forEach((e=>{D(this,ae,"f").config[e]=i||!0})),this):(e=r(e,D(this,U,"f"),this[Ce]()["deep-merge-config"]||!1,D(this,fe,"f")),D(this,ae,"f").configObjects=(D(this,ae,"f").configObjects||[]).concat(e),this)}completion(e,t,i){return p("[string] [string|boolean|function] [function]",[e,t,i],arguments.length),"function"==typeof t&&(i=t,t=void 0),_(this,H,e||D(this,H,"f")||"completion","f"),t||!1===t||(t="generate completion script"),this.command(D(this,H,"f"),t),i&&D(this,q,"f").registerFunction(i),this}command(e,t,i,n,a,s){return p("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[e,t,i,n,a,s],arguments.length),D(this,N,"f").addHandler(e,t,i,n,a,s),this}commands(e,t,i,n,a,s){return this.command(e,t,i,n,a,s)}commandDir(e,t){p("<string> [object]",[e,t],arguments.length);const i=D(this,se,"f")||D(this,fe,"f").require;return D(this,N,"f").addDirectory(e,i,D(this,fe,"f").getCallerFile(),t),this}count(e){return p("<array|string>",[e],arguments.length),this[Re]("count",e),this[it](e),this}default(e,t,i){return p("<object|string|array> [*] [string]",[e,t,i],arguments.length),i&&(g(e,D(this,fe,"f")),D(this,ae,"f").defaultDescription[e]=i),"function"==typeof t&&(g(e,D(this,fe,"f")),D(this,ae,"f").defaultDescription[e]||(D(this,ae,"f").defaultDescription[e]=D(this,be,"f").functionDescription(t)),t=t.call()),this[$e](this.default.bind(this),"default",e,t),this}defaults(e,t,i){return this.default(e,t,i)}demandCommand(e=1,t,i,n){return p("[number] [number|string] [string|null|undefined] [string|null|undefined]",[e,t,i,n],arguments.length),"number"!=typeof t&&(i=t,t=1/0),this.global("_",!1),D(this,ae,"f").demandedCommands._={min:e,max:t,minMsg:i,maxMsg:n},this}demand(e,t,i){return Array.isArray(t)?(t.forEach((e=>{m(i,!0,D(this,fe,"f")),this.demandOption(e,i)})),t=1/0):"number"!=typeof t&&(i=t,t=1/0),"number"==typeof e?(m(i,!0,D(this,fe,"f")),this.demandCommand(e,t,i,i)):Array.isArray(e)?e.forEach((e=>{m(i,!0,D(this,fe,"f")),this.demandOption(e,i)})):"string"==typeof i?this.demandOption(e,i):!0!==i&&void 0!==i||this.demandOption(e),this}demandOption(e,t){return p("<object|string|array> [string]",[e,t],arguments.length),this[$e](this.demandOption.bind(this),"demandedOptions",e,t),this}deprecateOption(e,t){return p("<string> [string|boolean]",[e,t],arguments.length),D(this,ae,"f").deprecatedOptions[e]=t,this}describe(e,t){return p("<object|string|array> [string]",[e,t],arguments.length),this[Me](e,!0),D(this,be,"f").describe(e,t),this}detectLocale(e){return p("<boolean>",[e],arguments.length),_(this,V,e,"f"),this}env(e){return p("[string|boolean]",[e],arguments.length),!1===e?delete D(this,ae,"f").envPrefix:D(this,ae,"f").envPrefix=e||"",this}epilogue(e){return p("<string>",[e],arguments.length),D(this,be,"f").epilog(e),this}epilog(e){return this.epilogue(e)}example(e,t){return p("<string|array> [string]",[e,t],arguments.length),Array.isArray(e)?e.forEach((e=>this.example(...e))):D(this,be,"f").example(e,t),this}exit(e,t){_(this,X,!0,"f"),_(this,G,t,"f"),D(this,Y,"f")&&D(this,fe,"f").process.exit(e)}exitProcess(e=!0){return p("[boolean]",[e],arguments.length),_(this,Y,e,"f"),this}fail(e){if(p("<function|boolean>",[e],arguments.length),"boolean"==typeof e&&!1!==e)throw new a("Invalid first argument. Expected function or boolean 'false'");return D(this,be,"f").failFn(e),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(e,t){return p("<array> [function]",[e,t],arguments.length),t?D(this,q,"f").getCompletion(e,t):new Promise(((t,i)=>{D(this,q,"f").getCompletion(e,((e,n)=>{e?i(e):t(n)}))}))}getDemandedOptions(){return p([],0),D(this,ae,"f").demandedOptions}getDemandedCommands(){return p([],0),D(this,ae,"f").demandedCommands}getDeprecatedOptions(){return p([],0),D(this,ae,"f").deprecatedOptions}getDetectLocale(){return D(this,V,"f")}getExitProcess(){return D(this,Y,"f")}getGroups(){return Object.assign({},D(this,Q,"f"),D(this,le,"f"))}getHelp(){if(_(this,X,!0,"f"),!D(this,be,"f").hasCachedHelpMessage()){if(!this.parsed){const e=this[Xe](D(this,pe,"f"),void 0,void 0,0,!0);if(h(e))return e.then((()=>D(this,be,"f").help()))}const e=D(this,N,"f").runDefaultBuilderOn(this);if(h(e))return e.then((()=>D(this,be,"f").help()))}return Promise.resolve(D(this,be,"f").help())}getOptions(){return D(this,ae,"f")}getStrict(){return D(this,he,"f")}getStrictCommands(){return D(this,me,"f")}getStrictOptions(){return D(this,ge,"f")}global(e,t){return p("<string|array> [boolean]",[e,t],arguments.length),e=[].concat(e),!1!==t?D(this,ae,"f").local=D(this,ae,"f").local.filter((t=>-1===e.indexOf(t))):e.forEach((e=>{D(this,ae,"f").local.includes(e)||D(this,ae,"f").local.push(e)})),this}group(e,t){p("<string|array> <string>",[e,t],arguments.length);const i=D(this,le,"f")[t]||D(this,Q,"f")[t];D(this,le,"f")[t]&&delete D(this,le,"f")[t];const n={};return D(this,Q,"f")[t]=(i||[]).concat(e).filter((e=>!n[e]&&(n[e]=!0))),this}hide(e){return p("<string>",[e],arguments.length),D(this,ae,"f").hiddenOptions.push(e),this}implies(e,t){return p("<string|object> [number|string|array]",[e,t],arguments.length),D(this,ye,"f").implies(e,t),this}locale(e){return p("[string]",[e],arguments.length),void 0===e?(this[Oe](),D(this,fe,"f").y18n.getLocale()):(_(this,V,!1,"f"),D(this,fe,"f").y18n.setLocale(e),this)}middleware(e,t,i){return D(this,J,"f").addMiddleware(e,!!t,i)}nargs(e,t){return p("<string|object|array> [number]",[e,t],arguments.length),this[$e](this.nargs.bind(this),"narg",e,t),this}normalize(e){return p("<array|string>",[e],arguments.length),this[Re]("normalize",e),this}number(e){return p("<array|string>",[e],arguments.length),this[Re]("number",e),this[it](e),this}option(e,t){if(p("<string|object> [object]",[e,t],arguments.length),"object"==typeof e)Object.keys(e).forEach((t=>{this.options(t,e[t])}));else{"object"!=typeof t&&(t={}),this[it](e),!D(this,xe,"f")||"version"!==e&&"version"!==(null==t?void 0:t.alias)||this[Ee](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join("\n"),void 0,"versionWarning"),D(this,ae,"f").key[e]=!0,t.alias&&this.alias(e,t.alias);const i=t.deprecate||t.deprecated;i&&this.deprecateOption(e,i);const n=t.demand||t.required||t.require;n&&this.demand(e,n),t.demandOption&&this.demandOption(e,"string"==typeof t.demandOption?t.demandOption:void 0),t.conflicts&&this.conflicts(e,t.conflicts),"default"in t&&this.default(e,t.default),void 0!==t.implies&&this.implies(e,t.implies),void 0!==t.nargs&&this.nargs(e,t.nargs),t.config&&this.config(e,t.configParser),t.normalize&&this.normalize(e),t.choices&&this.choices(e,t.choices),t.coerce&&this.coerce(e,t.coerce),t.group&&this.group(e,t.group),(t.boolean||"boolean"===t.type)&&(this.boolean(e),t.alias&&this.boolean(t.alias)),(t.array||"array"===t.type)&&(this.array(e),t.alias&&this.array(t.alias)),(t.number||"number"===t.type)&&(this.number(e),t.alias&&this.number(t.alias)),(t.string||"string"===t.type)&&(this.string(e),t.alias&&this.string(t.alias)),(t.count||"count"===t.type)&&this.count(e),"boolean"==typeof t.global&&this.global(e,t.global),t.defaultDescription&&(D(this,ae,"f").defaultDescription[e]=t.defaultDescription),t.skipValidation&&this.skipValidation(e);const a=t.describe||t.description||t.desc,s=D(this,be,"f").getDescriptions();Object.prototype.hasOwnProperty.call(s,e)&&"string"!=typeof a||this.describe(e,a),t.hidden&&this.hide(e),t.requiresArg&&this.requiresArg(e)}return this}options(e,t){return this.option(e,t)}parse(e,t,i){p("[string|array] [function|boolean|object] [function]",[e,t,i],arguments.length),this[Fe](),void 0===e&&(e=D(this,pe,"f")),"object"==typeof t&&(_(this,ce,t,"f"),t=i),"function"==typeof t&&(_(this,re,t,"f"),t=!1),t||_(this,pe,e,"f"),D(this,re,"f")&&_(this,Y,!1,"f");const n=this[Xe](e,!!t),a=this.parsed;return D(this,q,"f").setParsed(this.parsed),h(n)?n.then((e=>(D(this,re,"f")&&D(this,re,"f").call(this,D(this,G,"f"),e,D(this,ne,"f")),e))).catch((e=>{throw D(this,re,"f")&&D(this,re,"f")(e,this.parsed.argv,D(this,ne,"f")),e})).finally((()=>{this[ze](),this.parsed=a})):(D(this,re,"f")&&D(this,re,"f").call(this,D(this,G,"f"),n,D(this,ne,"f")),this[ze](),this.parsed=a,n)}parseAsync(e,t,i){const n=this.parse(e,t,i);return h(n)?n:Promise.resolve(n)}parseSync(e,t,i){const n=this.parse(e,t,i);if(h(n))throw new a(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return n}parserConfiguration(e){return p("<object>",[e],arguments.length),_(this,oe,e,"f"),this}pkgConf(e,t){p("<string> [string]",[e,t],arguments.length);let i=null;const n=this[Be](t||D(this,U,"f"));return n[e]&&"object"==typeof n[e]&&(i=r(n[e],t||D(this,U,"f"),this[Ce]()["deep-merge-config"]||!1,D(this,fe,"f")),D(this,ae,"f").configObjects=(D(this,ae,"f").configObjects||[]).concat(i)),this}positional(e,t){p("<string> <object>",[e,t],arguments.length);const i=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];t=v(t,((e,t)=>!("type"===e&&!["string","number","boolean"].includes(t))&&i.includes(e)));const n=D(this,L,"f").fullCommands[D(this,L,"f").fullCommands.length-1],a=n?D(this,N,"f").cmdToParseOptions(n):{array:[],alias:{},default:{},demand:{}};return b(a).forEach((i=>{const n=a[i];Array.isArray(n)?-1!==n.indexOf(e)&&(t[i]=!0):n[e]&&!(i in t)&&(t[i]=n[e])})),this.group(e,D(this,be,"f").getPositionalGroupName()),this.option(e,t)}recommendCommands(e=!0){return p("[boolean]",[e],arguments.length),_(this,de,e,"f"),this}required(e,t,i){return this.demand(e,t,i)}require(e,t,i){return this.demand(e,t,i)}requiresArg(e){return p("<array|string|object> [number]",[e],arguments.length),"string"==typeof e&&D(this,ae,"f").narg[e]||this[$e](this.requiresArg.bind(this),"narg",e,NaN),this}showCompletionScript(e,t){return p("[string] [string]",[e,t],arguments.length),e=e||this.$0,D(this,ie,"f").log(D(this,q,"f").generateCompletionScript(e,t||D(this,H,"f")||"completion")),this}showHelp(e){if(p("[string|function]",[e],arguments.length),_(this,X,!0,"f"),!D(this,be,"f").hasCachedHelpMessage()){if(!this.parsed){const t=this[Xe](D(this,pe,"f"),void 0,void 0,0,!0);if(h(t))return t.then((()=>{D(this,be,"f").showHelp(e)})),this}const t=D(this,N,"f").runDefaultBuilderOn(this);if(h(t))return t.then((()=>{D(this,be,"f").showHelp(e)})),this}return D(this,be,"f").showHelp(e),this}scriptName(e){return this.customScriptName=!0,this.$0=e,this}showHelpOnFail(e,t){return p("[boolean|string] [string]",[e,t],arguments.length),D(this,be,"f").showHelpOnFail(e,t),this}showVersion(e){return p("[string|function]",[e],arguments.length),D(this,be,"f").showVersion(e),this}skipValidation(e){return p("<array|string>",[e],arguments.length),this[Re]("skipValidation",e),this}strict(e){return p("[boolean]",[e],arguments.length),_(this,he,!1!==e,"f"),this}strictCommands(e){return p("[boolean]",[e],arguments.length),_(this,me,!1!==e,"f"),this}strictOptions(e){return p("[boolean]",[e],arguments.length),_(this,ge,!1!==e,"f"),this}string(e){return p("<array|string>",[e],arguments.length),this[Re]("string",e),this[it](e),this}terminalWidth(){return p([],0),D(this,fe,"f").process.stdColumns}updateLocale(e){return this.updateStrings(e)}updateStrings(e){return p("<object>",[e],arguments.length),_(this,V,!1,"f"),D(this,fe,"f").y18n.updateLocale(e),this}usage(e,t,i,n){if(p("<string|null|undefined> [string|boolean] [function|object] [function]",[e,t,i,n],arguments.length),void 0!==t){if(m(e,null,D(this,fe,"f")),(e||"").match(/^\$0( |$)/))return this.command(e,t,i,n);throw new a(".usage() description must start with $0 if being used as alias for .command()")}return D(this,be,"f").usage(e),this}usageConfiguration(e){return p("<object>",[e],arguments.length),_(this,ve,e,"f"),this}version(e,t,i){const n="version";if(p("[boolean|string] [string] [string]",[e,t,i],arguments.length),D(this,xe,"f")&&(this[_e](D(this,xe,"f")),D(this,be,"f").version(void 0),_(this,xe,null,"f")),0===arguments.length)i=this[Ae](),e=n;else if(1===arguments.length){if(!1===e)return this;i=e,e=n}else 2===arguments.length&&(i=t,t=void 0);return _(this,xe,"string"==typeof e?e:n,"f"),t=t||D(this,be,"f").deferY18nLookup("Show version number"),D(this,be,"f").version(i||void 0),this.boolean(D(this,xe,"f")),this.describe(D(this,xe,"f"),t),this}wrap(e){return p("<number|null|undefined>",[e],arguments.length),D(this,be,"f").wrap(e),this}[(N=new WeakMap,U=new WeakMap,L=new WeakMap,q=new WeakMap,H=new WeakMap,W=new WeakMap,G=new WeakMap,V=new WeakMap,K=new WeakMap,Y=new WeakMap,Z=new WeakMap,J=new WeakMap,Q=new WeakMap,X=new WeakMap,ee=new WeakMap,te=new WeakMap,ie=new WeakMap,ne=new WeakMap,ae=new WeakMap,se=new WeakMap,oe=new WeakMap,re=new WeakMap,ce=new WeakMap,ue=new WeakMap,le=new WeakMap,pe=new WeakMap,de=new WeakMap,fe=new WeakMap,he=new WeakMap,me=new WeakMap,ge=new WeakMap,be=new WeakMap,ve=new WeakMap,xe=new WeakMap,ye=new WeakMap,we)](e){if(!e._||!e["--"])return e;e._.push.apply(e._,e["--"]);try{delete e["--"]}catch(e){}return e}[De](){return{log:(...e)=>{this[Ke]()||console.log(...e),_(this,X,!0,"f"),D(this,ne,"f").length&&_(this,ne,D(this,ne,"f")+"\n","f"),_(this,ne,D(this,ne,"f")+e.join(" "),"f")},error:(...e)=>{this[Ke]()||console.error(...e),_(this,X,!0,"f"),D(this,ne,"f").length&&_(this,ne,D(this,ne,"f")+"\n","f"),_(this,ne,D(this,ne,"f")+e.join(" "),"f")}}}[_e](e){b(D(this,ae,"f")).forEach((t=>{if("configObjects"===t)return;const i=D(this,ae,"f")[t];Array.isArray(i)?i.includes(e)&&i.splice(i.indexOf(e),1):"object"==typeof i&&delete i[e]})),delete D(this,be,"f").getDescriptions()[e]}[Ee](e,t,i){D(this,K,"f")[i]||(D(this,fe,"f").process.emitWarning(e,t),D(this,K,"f")[i]=!0)}[Fe](){D(this,Z,"f").push({options:D(this,ae,"f"),configObjects:D(this,ae,"f").configObjects.slice(0),exitProcess:D(this,Y,"f"),groups:D(this,Q,"f"),strict:D(this,he,"f"),strictCommands:D(this,me,"f"),strictOptions:D(this,ge,"f"),completionCommand:D(this,H,"f"),output:D(this,ne,"f"),exitError:D(this,G,"f"),hasOutput:D(this,X,"f"),parsed:this.parsed,parseFn:D(this,re,"f"),parseContext:D(this,ce,"f")}),D(this,be,"f").freeze(),D(this,ye,"f").freeze(),D(this,N,"f").freeze(),D(this,J,"f").freeze()}[ke](){let e,t="";return e=/\b(node|iojs|electron)(\.exe)?$/.test(D(this,fe,"f").process.argv()[0])?D(this,fe,"f").process.argv().slice(1,2):D(this,fe,"f").process.argv().slice(0,1),t=e.map((e=>{const t=this[Je](D(this,U,"f"),e);return e.match(/^(\/|([a-zA-Z]:)?\\)/)&&t.length<e.length?t:e})).join(" ").trim(),D(this,fe,"f").getEnv("_")&&D(this,fe,"f").getProcessArgvBin()===D(this,fe,"f").getEnv("_")&&(t=D(this,fe,"f").getEnv("_").replace(`${D(this,fe,"f").path.dirname(D(this,fe,"f").process.execPath())}/`,"")),t}[Ce](){return D(this,oe,"f")}[je](){return D(this,ve,"f")}[Oe](){if(!D(this,V,"f"))return;const e=D(this,fe,"f").getEnv("LC_ALL")||D(this,fe,"f").getEnv("LC_MESSAGES")||D(this,fe,"f").getEnv("LANG")||D(this,fe,"f").getEnv("LANGUAGE")||"en_US";this.locale(e.replace(/[.:].*/,""))}[Ae](){return this[Be]().version||"unknown"}[Se](e){const t=e["--"]?e["--"]:e._;for(let e,i=0;void 0!==(e=t[i]);i++)D(this,fe,"f").Parser.looksLikeNumber(e)&&Number.isSafeInteger(Math.floor(parseFloat(`${e}`)))&&(t[i]=Number(e));return e}[Be](e){const t=e||"*";if(D(this,ue,"f")[t])return D(this,ue,"f")[t];let i={};try{let t=e||D(this,fe,"f").mainFilename;!e&&D(this,fe,"f").path.extname(t)&&(t=D(this,fe,"f").path.dirname(t));const n=D(this,fe,"f").findUp(t,((e,t)=>t.includes("package.json")?"package.json":void 0));m(n,void 0,D(this,fe,"f")),i=JSON.parse(D(this,fe,"f").readFileSync(n,"utf8"))}catch(e){}return D(this,ue,"f")[t]=i||{},D(this,ue,"f")[t]}[Re](e,t){(t=[].concat(t)).forEach((t=>{t=this[Ie](t),D(this,ae,"f")[e].push(t)}))}[$e](e,t,i,n){this[Te](e,t,i,n,((e,t,i)=>{D(this,ae,"f")[e][t]=i}))}[Pe](e,t,i,n){this[Te](e,t,i,n,((e,t,i)=>{D(this,ae,"f")[e][t]=(D(this,ae,"f")[e][t]||[]).concat(i)}))}[Te](e,t,i,n,a){if(Array.isArray(i))i.forEach((t=>{e(t,n)}));else if((e=>"object"==typeof e)(i))for(const t of b(i))e(t,i[t]);else a(t,this[Ie](i),n)}[Ie](e){return"__proto__"===e?"___proto___":e}[Me](e,t){return this[$e](this[Me].bind(this),"key",e,t),this}[ze](){var e,t,i,n,a,s,o,r,c,u,l,p;const d=D(this,Z,"f").pop();let f;m(d,void 0,D(this,fe,"f")),e=this,t=this,i=this,n=this,a=this,s=this,o=this,r=this,c=this,u=this,l=this,p=this,({options:{set value(t){_(e,ae,t,"f")}}.value,configObjects:f,exitProcess:{set value(e){_(t,Y,e,"f")}}.value,groups:{set value(e){_(i,Q,e,"f")}}.value,output:{set value(e){_(n,ne,e,"f")}}.value,exitError:{set value(e){_(a,G,e,"f")}}.value,hasOutput:{set value(e){_(s,X,e,"f")}}.value,parsed:this.parsed,strict:{set value(e){_(o,he,e,"f")}}.value,strictCommands:{set value(e){_(r,me,e,"f")}}.value,strictOptions:{set value(e){_(c,ge,e,"f")}}.value,completionCommand:{set value(e){_(u,H,e,"f")}}.value,parseFn:{set value(e){_(l,re,e,"f")}}.value,parseContext:{set value(e){_(p,ce,e,"f")}}.value}=d),D(this,ae,"f").configObjects=f,D(this,be,"f").unfreeze(),D(this,ye,"f").unfreeze(),D(this,N,"f").unfreeze(),D(this,J,"f").unfreeze()}[Ne](e,t){return k(t,(t=>(e(t),t)))}getInternalMethods(){return{getCommandInstance:this[Ue].bind(this),getContext:this[Le].bind(this),getHasOutput:this[qe].bind(this),getLoggerInstance:this[He].bind(this),getParseContext:this[We].bind(this),getParserConfiguration:this[Ce].bind(this),getUsageConfiguration:this[je].bind(this),getUsageInstance:this[Ge].bind(this),getValidationInstance:this[Ve].bind(this),hasParseCallback:this[Ke].bind(this),isGlobalContext:this[Ye].bind(this),postProcess:this[Ze].bind(this),reset:this[Qe].bind(this),runValidation:this[et].bind(this),runYargsParserAndExecuteCommands:this[Xe].bind(this),setHasOutput:this[tt].bind(this)}}[Ue](){return D(this,N,"f")}[Le](){return D(this,L,"f")}[qe](){return D(this,X,"f")}[He](){return D(this,ie,"f")}[We](){return D(this,ce,"f")||{}}[Ge](){return D(this,be,"f")}[Ve](){return D(this,ye,"f")}[Ke](){return!!D(this,re,"f")}[Ye](){return D(this,te,"f")}[Ze](e,t,i,n){return i||h(e)||(t||(e=this[we](e)),(this[Ce]()["parse-positional-numbers"]||void 0===this[Ce]()["parse-positional-numbers"])&&(e=this[Se](e)),n&&(e=F(e,this,D(this,J,"f").getMiddleware(),!1))),e}[Qe](e={}){_(this,ae,D(this,ae,"f")||{},"f");const t={};t.local=D(this,ae,"f").local||[],t.configObjects=D(this,ae,"f").configObjects||[];const i={};return t.local.forEach((t=>{i[t]=!0,(e[t]||[]).forEach((e=>{i[e]=!0}))})),Object.assign(D(this,le,"f"),Object.keys(D(this,Q,"f")).reduce(((e,t)=>{const n=D(this,Q,"f")[t].filter((e=>!(e in i)));return n.length>0&&(e[t]=n),e}),{})),_(this,Q,{},"f"),["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"].forEach((e=>{t[e]=(D(this,ae,"f")[e]||[]).filter((e=>!i[e]))})),["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"].forEach((e=>{t[e]=v(D(this,ae,"f")[e],(e=>!i[e]))})),t.envPrefix=D(this,ae,"f").envPrefix,_(this,ae,t,"f"),_(this,be,D(this,be,"f")?D(this,be,"f").reset(i):R(this,D(this,fe,"f")),"f"),_(this,ye,D(this,ye,"f")?D(this,ye,"f").reset(i):function(e,t,i){const n=i.y18n.__,a=i.y18n.__n,s={nonOptionCount:function(i){const n=e.getDemandedCommands(),s=i._.length+(i["--"]?i["--"].length:0)-e.getInternalMethods().getContext().commands.length;n._&&(s<n._.min||s>n._.max)&&(s<n._.min?void 0!==n._.minMsg?t.fail(n._.minMsg?n._.minMsg.replace(/\$0/g,s.toString()).replace(/\$1/,n._.min.toString()):null):t.fail(a("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",s,s.toString(),n._.min.toString())):s>n._.max&&(void 0!==n._.maxMsg?t.fail(n._.maxMsg?n._.maxMsg.replace(/\$0/g,s.toString()).replace(/\$1/,n._.max.toString()):null):t.fail(a("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",s,s.toString(),n._.max.toString()))))},positionalCount:function(e,i){i<e&&t.fail(a("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",i,i+"",e+""))},requiredArguments:function(e,i){let n=null;for(const t of Object.keys(i))Object.prototype.hasOwnProperty.call(e,t)&&void 0!==e[t]||(n=n||{},n[t]=i[t]);if(n){const e=[];for(const t of Object.keys(n)){const i=n[t];i&&e.indexOf(i)<0&&e.push(i)}const i=e.length?`\n${e.join("\n")}`:"";t.fail(a("Missing required argument: %s","Missing required arguments: %s",Object.keys(n).length,Object.keys(n).join(", ")+i))}},unknownArguments:function(i,n,o,r,c=!0){var u;const l=e.getInternalMethods().getCommandInstance().getCommands(),p=[],d=e.getInternalMethods().getContext();if(Object.keys(i).forEach((t=>{z.includes(t)||Object.prototype.hasOwnProperty.call(o,t)||Object.prototype.hasOwnProperty.call(e.getInternalMethods().getParseContext(),t)||s.isValidAndSomeAliasIsNotNew(t,n)||p.push(t)})),c&&(d.commands.length>0||l.length>0||r)&&i._.slice(d.commands.length).forEach((e=>{l.includes(""+e)||p.push(""+e)})),c){const t=(null===(u=e.getDemandedCommands()._)||void 0===u?void 0:u.max)||0,n=d.commands.length+t;n<i._.length&&i._.slice(n).forEach((e=>{e=String(e),d.commands.includes(e)||p.includes(e)||p.push(e)}))}p.length&&t.fail(a("Unknown argument: %s","Unknown arguments: %s",p.length,p.map((e=>e.trim()?e:`"${e}"`)).join(", ")))},unknownCommands:function(i){const n=e.getInternalMethods().getCommandInstance().getCommands(),s=[],o=e.getInternalMethods().getContext();return(o.commands.length>0||n.length>0)&&i._.slice(o.commands.length).forEach((e=>{n.includes(""+e)||s.push(""+e)})),s.length>0&&(t.fail(a("Unknown command: %s","Unknown commands: %s",s.length,s.join(", "))),!0)},isValidAndSomeAliasIsNotNew:function(t,i){if(!Object.prototype.hasOwnProperty.call(i,t))return!1;const n=e.parsed.newAliases;return[t,...i[t]].some((e=>!Object.prototype.hasOwnProperty.call(n,e)||!n[t]))},limitedChoices:function(i){const a=e.getOptions(),s={};if(!Object.keys(a.choices).length)return;Object.keys(i).forEach((e=>{-1===z.indexOf(e)&&Object.prototype.hasOwnProperty.call(a.choices,e)&&[].concat(i[e]).forEach((t=>{-1===a.choices[e].indexOf(t)&&void 0!==t&&(s[e]=(s[e]||[]).concat(t))}))}));const o=Object.keys(s);if(!o.length)return;let r=n("Invalid values:");o.forEach((e=>{r+=`\n ${n("Argument: %s, Given: %s, Choices: %s",e,t.stringifiedValues(s[e]),t.stringifiedValues(a.choices[e]))}`})),t.fail(r)}};let o={};function r(e,t){const i=Number(t);return"number"==typeof(t=isNaN(i)?t:i)?t=e._.length>=t:t.match(/^--no-.+/)?(t=t.match(/^--no-(.+)/)[1],t=!Object.prototype.hasOwnProperty.call(e,t)):t=Object.prototype.hasOwnProperty.call(e,t),t}s.implies=function(t,n){p("<string|object> [array|number|string]",[t,n],arguments.length),"object"==typeof t?Object.keys(t).forEach((e=>{s.implies(e,t[e])})):(e.global(t),o[t]||(o[t]=[]),Array.isArray(n)?n.forEach((e=>s.implies(t,e))):(m(n,void 0,i),o[t].push(n)))},s.getImplied=function(){return o},s.implications=function(e){const i=[];if(Object.keys(o).forEach((t=>{const n=t;(o[t]||[]).forEach((t=>{let a=n;const s=t;a=r(e,a),t=r(e,t),a&&!t&&i.push(` ${n} -> ${s}`)}))})),i.length){let e=`${n("Implications failed:")}\n`;i.forEach((t=>{e+=t})),t.fail(e)}};let c={};s.conflicts=function(t,i){p("<string|object> [array|string]",[t,i],arguments.length),"object"==typeof t?Object.keys(t).forEach((e=>{s.conflicts(e,t[e])})):(e.global(t),c[t]||(c[t]=[]),Array.isArray(i)?i.forEach((e=>s.conflicts(t,e))):c[t].push(i))},s.getConflicting=()=>c,s.conflicting=function(a){Object.keys(a).forEach((e=>{c[e]&&c[e].forEach((i=>{i&&void 0!==a[e]&&void 0!==a[i]&&t.fail(n("Arguments %s and %s are mutually exclusive",e,i))}))})),e.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(c).forEach((e=>{c[e].forEach((s=>{s&&void 0!==a[i.Parser.camelCase(e)]&&void 0!==a[i.Parser.camelCase(s)]&&t.fail(n("Arguments %s and %s are mutually exclusive",e,s))}))}))},s.recommendCommands=function(e,i){i=i.sort(((e,t)=>t.length-e.length));let a=null,s=1/0;for(let t,n=0;void 0!==(t=i[n]);n++){const i=M(e,t);i<=3&&i<s&&(s=i,a=t)}a&&t.fail(n("Did you mean %s?",a))},s.reset=function(e){return o=v(o,(t=>!e[t])),c=v(c,(t=>!e[t])),s};const u=[];return s.freeze=function(){u.push({implied:o,conflicting:c})},s.unfreeze=function(){const e=u.pop();m(e,void 0,i),({implied:o,conflicting:c}=e)},s}(this,D(this,be,"f"),D(this,fe,"f")),"f"),_(this,N,D(this,N,"f")?D(this,N,"f").reset():function(e,t,i,n){return new j(e,t,i,n)}(D(this,be,"f"),D(this,ye,"f"),D(this,J,"f"),D(this,fe,"f")),"f"),D(this,q,"f")||_(this,q,function(e,t,i,n){return new I(e,t,i,n)}(this,D(this,be,"f"),D(this,N,"f"),D(this,fe,"f")),"f"),D(this,J,"f").reset(),_(this,H,null,"f"),_(this,ne,"","f"),_(this,G,null,"f"),_(this,X,!1,"f"),this.parsed=!1,this}[Je](e,t){return D(this,fe,"f").path.relative(e,t)}[Xe](e,t,i,n=0,s=!1){let o=!!i||s;e=e||D(this,pe,"f"),D(this,ae,"f").__=D(this,fe,"f").y18n.__,D(this,ae,"f").configuration=this[Ce]();const r=!!D(this,ae,"f").configuration["populate--"],c=Object.assign({},D(this,ae,"f").configuration,{"populate--":!0}),u=D(this,fe,"f").Parser.detailed(e,Object.assign({},D(this,ae,"f"),{configuration:{"parse-positional-numbers":!1,...c}})),l=Object.assign(u.argv,D(this,ce,"f"));let p;const d=u.aliases;let f=!1,m=!1;Object.keys(l).forEach((e=>{e===D(this,ee,"f")&&l[e]?f=!0:e===D(this,xe,"f")&&l[e]&&(m=!0)})),l.$0=this.$0,this.parsed=u,0===n&&D(this,be,"f").clearCachedHelpMessage();try{if(this[Oe](),t)return this[Ze](l,r,!!i,!1);D(this,ee,"f")&&[D(this,ee,"f")].concat(d[D(this,ee,"f")]||[]).filter((e=>e.length>1)).includes(""+l._[l._.length-1])&&(l._.pop(),f=!0),_(this,te,!1,"f");const c=D(this,N,"f").getCommands(),g=D(this,q,"f").completionKey in l,b=f||g||s;if(l._.length){if(c.length){let e;for(let t,a=n||0;void 0!==l._[a];a++){if(t=String(l._[a]),c.includes(t)&&t!==D(this,H,"f")){const e=D(this,N,"f").runCommand(t,this,u,a+1,s,f||m||s);return this[Ze](e,r,!!i,!1)}if(!e&&t!==D(this,H,"f")){e=t;break}}!D(this,N,"f").hasDefaultCommand()&&D(this,de,"f")&&e&&!b&&D(this,ye,"f").recommendCommands(e,c)}D(this,H,"f")&&l._.includes(D(this,H,"f"))&&!g&&(D(this,Y,"f")&&S(!0),this.showCompletionScript(),this.exit(0))}if(D(this,N,"f").hasDefaultCommand()&&!b){const e=D(this,N,"f").runCommand(null,this,u,0,s,f||m||s);return this[Ze](e,r,!!i,!1)}if(g){D(this,Y,"f")&&S(!0);const t=(e=[].concat(e)).slice(e.indexOf(`--${D(this,q,"f").completionKey}`)+1);return D(this,q,"f").getCompletion(t,((e,t)=>{if(e)throw new a(e.message);(t||[]).forEach((e=>{D(this,ie,"f").log(e)})),this.exit(0)})),this[Ze](l,!r,!!i,!1)}if(D(this,X,"f")||(f?(D(this,Y,"f")&&S(!0),o=!0,this.showHelp("log"),this.exit(0)):m&&(D(this,Y,"f")&&S(!0),o=!0,D(this,be,"f").showVersion("log"),this.exit(0))),!o&&D(this,ae,"f").skipValidation.length>0&&(o=Object.keys(l).some((e=>D(this,ae,"f").skipValidation.indexOf(e)>=0&&!0===l[e]))),!o){if(u.error)throw new a(u.error.message);if(!g){const e=this[et](d,{},u.error);i||(p=F(l,this,D(this,J,"f").getMiddleware(),!0)),p=this[Ne](e,null!=p?p:l),h(p)&&!i&&(p=p.then((()=>F(l,this,D(this,J,"f").getMiddleware(),!1))))}}}catch(e){if(!(e instanceof a))throw e;D(this,be,"f").fail(e.message,e)}return this[Ze](null!=p?p:l,r,!!i,!0)}[et](e,t,i,n){const s={...this.getDemandedOptions()};return o=>{if(i)throw new a(i.message);D(this,ye,"f").nonOptionCount(o),D(this,ye,"f").requiredArguments(o,s);let r=!1;D(this,me,"f")&&(r=D(this,ye,"f").unknownCommands(o)),D(this,he,"f")&&!r?D(this,ye,"f").unknownArguments(o,e,t,!!n):D(this,ge,"f")&&D(this,ye,"f").unknownArguments(o,e,{},!1,!1),D(this,ye,"f").limitedChoices(o),D(this,ye,"f").implications(o),D(this,ye,"f").conflicting(o)}}[tt](){_(this,X,!0,"f")}[it](e){if("string"==typeof e)D(this,ae,"f").key[e]=!0;else for(const t of e)D(this,ae,"f").key[t]=!0}}var at,st;const{readFileSync:ot}=i(9896),{inspect:rt}=i(9023),{resolve:ct}=i(6928),ut=i(9668),lt=i(7058);var pt,dt={assert:{notStrictEqual:n.notStrictEqual,strictEqual:n.strictEqual},cliui:i(164),findUp:i(7829),getEnv:e=>process.env[e],getCallerFile:i(2838),getProcessArgvBin:y,inspect:rt,mainFilename:null!==(st=null===(at=void 0===i(7315)?void 0:i.c[i.s])||void 0===at?void 0:at.filename)&&void 0!==st?st:process.cwd(),Parser:lt,path:i(6928),process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(e,t)=>process.emitWarning(e,t),execPath:()=>process.execPath,exit:e=>{process.exit(e)},nextTick:process.nextTick,stdColumns:void 0!==process.stdout.columns?process.stdout.columns:null},readFileSync:ot,require:i(7315),requireDirectory:i(9386),stringWidth:i(4813),y18n:ut({directory:ct(__dirname,"../locales"),updateFiles:!1})};const ft=(null===(pt=null===process||void 0===process?void 0:process.env)||void 0===pt?void 0:pt.YARGS_MIN_NODE_VERSION)?Number(process.env.YARGS_MIN_NODE_VERSION):12;if(process&&process.version&&Number(process.version.match(/v([^.]+)/)[1])<ft)throw Error(`yargs supports a minimum Node.js version of ${ft}. Read our version support policy: https://github.com/yargs/yargs#supported-nodejs-versions`);const ht=i(7058);var mt,gt={applyExtends:r,cjsPlatformShim:dt,Yargs:(mt=dt,(e=[],t=mt.process.cwd(),i)=>{const n=new nt(e,t,i,mt);return Object.defineProperty(n,"argv",{get:()=>n.parse(),enumerable:!0}),n.help(),n.version(),n}),argsert:p,isPromise:h,objFilter:v,parseCommand:u,Parser:ht,processArgv:w,YError:a};e.exports=gt},1771:(e,t,i)=>{"use strict";const{Yargs:n,processArgv:a}=i(5338);function s(e,t){const a=n(e,t,i(5600));var r;return r=a,[...Object.keys(r),...Object.getOwnPropertyNames(r.constructor.prototype)].forEach((e=>{"argv"===e?o(s,e,function(e,t){const i=Object.getOwnPropertyDescriptor(e,t);if(void 0!==i)return i.get}(r,e)):"function"==typeof r[e]?s[e]=r[e].bind(r):(o(s,"$0",(()=>r.$0)),o(s,"parsed",(()=>r.parsed)))})),a}function o(e,t,i){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:i})}s(a.hideBin(process.argv)),e.exports=s},7459:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Chalk:()=>j,backgroundColorNames:()=>u,backgroundColors:()=>u,chalkStderr:()=>M,colorNames:()=>l,colors:()=>l,default:()=>z,foregroundColorNames:()=>c,foregroundColors:()=>c,modifierNames:()=>r,modifiers:()=>r,supportsColor:()=>w,supportsColorStderr:()=>D});const n=(e=0)=>t=>`[${t+e}m`,a=(e=0)=>t=>`[${38+e};5;${t}m`,s=(e=0)=>(t,i,n)=>`[${38+e};2;${t};${i};${n}m`,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},r=Object.keys(o.modifier),c=Object.keys(o.color),u=Object.keys(o.bgColor),l=[...c,...u],p=function(){const e=new Map;for(const[t,i]of Object.entries(o)){for(const[t,n]of Object.entries(i))o[t]={open:`[${n[0]}m`,close:`[${n[1]}m`},i[t]=o[t],e.set(n[0],n[1]);Object.defineProperty(o,t,{value:i,enumerable:!1})}return Object.defineProperty(o,"codes",{value:e,enumerable:!1}),o.color.close="[39m",o.bgColor.close="[49m",o.color.ansi=n(),o.color.ansi256=a(),o.color.ansi16m=s(),o.bgColor.ansi=n(10),o.bgColor.ansi256=a(10),o.bgColor.ansi16m=s(10),Object.defineProperties(o,{rgbToAnsi256:{value:(e,t,i)=>e===t&&t===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(i/255*5),enumerable:!1},hexToRgb:{value(e){const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[i]=t;3===i.length&&(i=[...i].map((e=>e+e)).join(""));const n=Number.parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},enumerable:!1},hexToAnsi256:{value:e=>o.rgbToAnsi256(...o.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return e-8+90;let t,i,n;if(e>=232)t=(10*(e-232)+8)/255,i=t,n=t;else{const a=(e-=16)%36;t=Math.floor(e/36)/5,i=Math.floor(a/6)/5,n=a%6/5}const a=2*Math.max(t,i,n);if(0===a)return 30;let s=30+(Math.round(n)<<2|Math.round(i)<<1|Math.round(t));return 2===a&&(s+=60),s},enumerable:!1},rgbToAnsi:{value:(e,t,i)=>o.ansi256ToAnsi(o.rgbToAnsi256(e,t,i)),enumerable:!1},hexToAnsi:{value:e=>o.ansi256ToAnsi(o.hexToAnsi256(e)),enumerable:!1}}),o}(),d=require("node:process"),f=require("node:os"),h=require("node:tty");function m(e,t=(globalThis.Deno?globalThis.Deno.args:d.argv)){const i=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(i+e),a=t.indexOf("--");return-1!==n&&(-1===a||n<a)}const{env:g}=d;let b;function v(e,t={}){return 0!==(i=function(e,{streamIsTTY:t,sniffFlags:i=!0}={}){const n=function(){if("FORCE_COLOR"in g)return"true"===g.FORCE_COLOR?1:"false"===g.FORCE_COLOR?0:0===g.FORCE_COLOR.length?1:Math.min(Number.parseInt(g.FORCE_COLOR,10),3)}();void 0!==n&&(b=n);const a=i?b:n;if(0===a)return 0;if(i){if(m("color=16m")||m("color=full")||m("color=truecolor"))return 3;if(m("color=256"))return 2}if("TF_BUILD"in g&&"AGENT_NAME"in g)return 1;if(e&&!t&&void 0===a)return 0;const s=a||0;if("dumb"===g.TERM)return s;if("win32"===d.platform){const e=f.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in g)return"GITHUB_ACTIONS"in g||"GITEA_ACTIONS"in g?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((e=>e in g))||"codeship"===g.CI_NAME?1:s;if("TEAMCITY_VERSION"in g)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(g.TEAMCITY_VERSION)?1:0;if("truecolor"===g.COLORTERM)return 3;if("xterm-kitty"===g.TERM)return 3;if("TERM_PROGRAM"in g){const e=Number.parseInt((g.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(g.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(g.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(g.TERM)||"COLORTERM"in g?1:s}(e,{streamIsTTY:e&&e.isTTY,...t}))&&{level:i,hasBasic:!0,has256:i>=2,has16m:i>=3};var i}m("no-color")||m("no-colors")||m("color=false")||m("color=never")?b=0:(m("color")||m("colors")||m("color=true")||m("color=always"))&&(b=1);const x={stdout:v({isTTY:h.isatty(1)}),stderr:v({isTTY:h.isatty(2)})};function y(e,t,i){let n=e.indexOf(t);if(-1===n)return e;const a=t.length;let s=0,o="";do{o+=e.slice(s,n)+t+i,s=n+a,n=e.indexOf(t,s)}while(-1!==n);return o+=e.slice(s),o}const{stdout:w,stderr:D}=x,_=Symbol("GENERATOR"),E=Symbol("STYLER"),F=Symbol("IS_EMPTY"),k=["ansi","ansi","ansi256","ansi16m"],C=Object.create(null);class j{constructor(e){return O(e)}}const O=e=>{const t=(...e)=>e.join(" ");return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const i=w?w.level:0;e.level=void 0===t.level?i:t.level})(t,e),Object.setPrototypeOf(t,A.prototype),t};function A(e){return O(e)}Object.setPrototypeOf(A.prototype,Function.prototype);for(const[e,t]of Object.entries(p))C[e]={get(){const i=P(this,$(t.open,t.close,this[E]),this[F]);return Object.defineProperty(this,e,{value:i}),i}};C.visible={get(){const e=P(this,this[E],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const S=(e,t,i,...n)=>"rgb"===e?"ansi16m"===t?p[i].ansi16m(...n):"ansi256"===t?p[i].ansi256(p.rgbToAnsi256(...n)):p[i].ansi(p.rgbToAnsi(...n)):"hex"===e?S("rgb",t,i,...p.hexToRgb(...n)):p[i][e](...n),B=["rgb","hex","ansi256"];for(const e of B)C[e]={get(){const{level:t}=this;return function(...i){const n=$(S(e,k[t],"color",...i),p.color.close,this[E]);return P(this,n,this[F])}}},C["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...i){const n=$(S(e,k[t],"bgColor",...i),p.bgColor.close,this[E]);return P(this,n,this[F])}}};const R=Object.defineProperties((()=>{}),{...C,level:{enumerable:!0,get(){return this[_].level},set(e){this[_].level=e}}}),$=(e,t,i)=>{let n,a;return void 0===i?(n=e,a=t):(n=i.openAll+e,a=t+i.closeAll),{open:e,close:t,openAll:n,closeAll:a,parent:i}},P=(e,t,i)=>{const n=(...e)=>T(n,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(n,R),n[_]=e,n[E]=t,n[F]=i,n},T=(e,t)=>{if(e.level<=0||!t)return e[F]?"":t;let i=e[E];if(void 0===i)return t;const{openAll:n,closeAll:a}=i;if(t.includes(""))for(;void 0!==i;)t=y(t,i.close,i.open),i=i.parent;const s=t.indexOf("\n");return-1!==s&&(t=function(e,t,i,n){let a=0,s="";do{const o="\r"===e[n-1];s+=e.slice(a,o?n-1:n)+t+(o?"\r\n":"\n")+i,a=n+1,n=e.indexOf("\n",a)}while(-1!==n);return s+=e.slice(a),s}(t,a,n,s)),n+t+a};Object.defineProperties(A.prototype,C);const I=A(),M=A({level:D?D.level:0}),z=I},9208:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o,request:()=>s});var n=i(5090);async function a(e,t){const i=function(e){return e[Symbol.asyncIterator]?e[Symbol.asyncIterator]():e[Symbol.iterator]?e[Symbol.iterator]():e.next?e:function(e){let t=[e];return{next:()=>Promise.resolve({done:0===t.length,value:t.pop()}),return:()=>(t=[],{}),[Symbol.asyncIterator](){return this}}}(e)}(e);for(;;){const{value:e,done:n}=await i.next();if(e&&await t(e),n)break}i.return&&i.return()}async function s({onProgress:e,url:t,method:i="GET",headers:s={},agent:o,body:r}){return r&&Array.isArray(r)?r=Buffer.from(await async function(e){let t=0;const i=[];await a(e,(e=>{i.push(e),t+=e.byteLength}));const n=new Uint8Array(t);let s=0;for(const e of i)n.set(e,s),s+=e.byteLength;return n}(r)):r&&(r=function(e){const{PassThrough:t}=require("readable-stream"),i=new t;return setTimeout((async()=>{await a(e,(e=>i.write(e))),i.end()}),1),i}(r)),new Promise(((e,a)=>{n({url:t,method:i,headers:s,agent:o,body:r},((t,i)=>{if(t)return a(t);try{const t=function(e){const t=Object.getOwnPropertyDescriptor(e,Symbol.asyncIterator);if(t&&t.enumerable)return e;let i=!1;const n=[];let a={};return e.on("data",(e=>{n.push(e),a.resolve&&(a.resolve({value:n.shift(),done:!1}),a={})})),e.on("error",(e=>{a.reject&&(a.reject(e),a={})})),e.on("end",(()=>{i=!0,a.resolve&&(a.resolve({done:!0}),a={})})),{next:()=>new Promise(((e,t)=>0===n.length&&i?e({done:!0}):n.length>0?e({value:n.shift(),done:!1}):void(0!==n.length||i||(a={resolve:e,reject:t})))),return(){e.removeAllListeners(),e.destroy&&e.destroy()},[Symbol.asyncIterator](){return this}}}(i);e({url:i.url,method:i.method,statusCode:i.statusCode,statusMessage:i.statusMessage,body:t,headers:i.headers})}catch(e){a(e)}}))}))}const o={request:s}},1554:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Errors:()=>tt,STAGE:()=>P,TREE:()=>pt,WORKDIR:()=>ft,abortMerge:()=>kt,add:()=>Bt,addNote:()=>qt,addRemote:()=>Wt,annotatedTag:()=>Gt,branch:()=>Vt,checkout:()=>Zt,clone:()=>Fi,commit:()=>ki,currentBranch:()=>Ci,default:()=>Qn,deleteBranch:()=>ji,deleteRef:()=>Oi,deleteRemote:()=>Ai,deleteTag:()=>Si,expandOid:()=>Bi,expandRef:()=>Ri,fastForward:()=>zi,fetch:()=>Ni,findMergeBase:()=>Ui,findRoot:()=>qi,getConfig:()=>Hi,getConfigAll:()=>Wi,getRemoteInfo:()=>Gi,getRemoteInfo2:()=>Ki,hashBlob:()=>Yi,indexPack:()=>Zi,init:()=>Ji,isDescendent:()=>Xi,isIgnored:()=>en,listBranches:()=>tn,listFiles:()=>sn,listNotes:()=>on,listRemotes:()=>rn,listServerRefs:()=>cn,listTags:()=>un,log:()=>gn,merge:()=>bn,packObjects:()=>yn,pull:()=>wn,push:()=>_n,readBlob:()=>kn,readCommit:()=>Cn,readNote:()=>jn,readObject:()=>On,readTag:()=>An,readTree:()=>Sn,remove:()=>Bn,removeNote:()=>Rn,renameBranch:()=>$n,resetIndex:()=>Tn,resolveRef:()=>In,setConfig:()=>Mn,status:()=>zn,statusMatrix:()=>Un,tag:()=>Ln,updateIndex:()=>qn,version:()=>Hn,walk:()=>Wn,writeBlob:()=>Gn,writeCommit:()=>Vn,writeObject:()=>Kn,writeRef:()=>Yn,writeTag:()=>Zn,writeTree:()=>Jn});var n=i(6797),a=i(525),s=i(338),o=i(3048),r=i(9388),c=i(1203),u=i(663),l=i(5275);class p extends Error{constructor(e){super(e),this.caller=""}toJSON(){return{code:this.code,data:this.data,caller:this.caller,message:this.message,stack:this.stack}}fromJSON(e){const t=new p(e.message);return t.code=e.code,t.data=e.data,t.caller=e.caller,t.stack=e.stack,t}get isIsomorphicGitError(){return!0}}class d extends p{constructor(e){super(`Modifying the index is not possible because you have unmerged files: ${e.toString}. Fix them up in the work tree, and then use 'git add/rm as appropriate to mark resolution and make a commit.`),this.code=this.name=d.code,this.data={filepaths:e}}}d.code="UnmergedPathsError";class f extends p{constructor(e){super(`An internal error caused this command to fail. Please file a bug report at https://github.com/isomorphic-git/isomorphic-git/issues with this error message: ${e}`),this.code=this.name=f.code,this.data={message:e}}}f.code="InternalError";class h extends p{constructor(e){super(`The filepath "${e}" contains unsafe character sequences`),this.code=this.name=h.code,this.data={filepath:e}}}h.code="UnsafeFilepathError";class m{constructor(e){this.buffer=e,this._start=0}eof(){return this._start>=this.buffer.length}tell(){return this._start}seek(e){this._start=e}slice(e){const t=this.buffer.slice(this._start,this._start+e);return this._start+=e,t}toString(e,t){const i=this.buffer.toString(e,this._start,this._start+t);return this._start+=t,i}write(e,t,i){const n=this.buffer.write(e,this._start,t,i);return this._start+=t,n}copy(e,t,i){const n=e.copy(this.buffer,this._start,t,i);return this._start+=n,n}readUInt8(){const e=this.buffer.readUInt8(this._start);return this._start+=1,e}writeUInt8(e){const t=this.buffer.writeUInt8(e,this._start);return this._start+=1,t}readUInt16BE(){const e=this.buffer.readUInt16BE(this._start);return this._start+=2,e}writeUInt16BE(e){const t=this.buffer.writeUInt16BE(e,this._start);return this._start+=2,t}readUInt32BE(){const e=this.buffer.readUInt32BE(this._start);return this._start+=4,e}writeUInt32BE(e){const t=this.buffer.writeUInt32BE(e,this._start);return this._start+=4,t}}function g(e,t){return-(e<t)||+(e>t)}function b(e,t){return g(e.path,t.path)}function v(e){let t=e>0?e>>12:0;4!==t&&8!==t&&10!==t&&14!==t&&(t=8);let i=511&e;return i=73&i?493:420,8!==t&&(i=0),(t<<12)+i}const x=2**32;function y(e,t,i,n){if(void 0!==e&&void 0!==t)return[e,t];void 0===i&&(i=n.valueOf());const a=Math.floor(i/1e3);return[a,1e6*(i-1e3*a)]}function w(e){const[t,i]=y(e.ctimeSeconds,e.ctimeNanoseconds,e.ctimeMs,e.ctime),[n,a]=y(e.mtimeSeconds,e.mtimeNanoseconds,e.mtimeMs,e.mtime);return{ctimeSeconds:t%x,ctimeNanoseconds:i%x,mtimeSeconds:n%x,mtimeNanoseconds:a%x,dev:e.dev%x,ino:e.ino%x,mode:v(e.mode%x),uid:e.uid%x,gid:e.gid%x,size:e.size>-1?e.size%x:0}}let D=null;async function _(e){return null===D&&(D=await async function(){try{if("da39a3ee5e6b4b0d3255bfef95601890afd80709"===await E(new Uint8Array([])))return!0}catch(e){}return!1}()),D?E(e):function(e){return(new a).update(e).digest("hex")}(e)}async function E(e){return function(e){let t="";for(const i of new Uint8Array(e))i<16&&(t+="0"),t+=i.toString(16);return t}(await crypto.subtle.digest("SHA-1",e))}class F{constructor(e,t){this._dirty=!1,this._unmergedPaths=t||new Set,this._entries=e||new Map}_addEntry(e){if(0===e.flags.stage)e.stages=[e],this._entries.set(e.path,e),this._unmergedPaths.delete(e.path);else{let t=this._entries.get(e.path);t||(this._entries.set(e.path,e),t=e),t.stages[e.flags.stage]=e,this._unmergedPaths.add(e.path)}}static async from(e){if(Buffer.isBuffer(e))return F.fromBuffer(e);if(null===e)return new F(null);throw new f("invalid type passed to GitIndex.from")}static async fromBuffer(e){if(0===e.length)throw new f("Index file is empty (.git/index)");const t=new F,i=new m(e),n=i.toString("utf8",4);if("DIRC"!==n)throw new f(`Invalid dircache magic file number: ${n}`);const a=await _(e.slice(0,-20)),s=e.slice(-20).toString("hex");if(s!==a)throw new f(`Invalid checksum in GitIndex buffer: expected ${s} but saw ${a}`);const o=i.readUInt32BE();if(2!==o)throw new f(`Unsupported dircache version: ${o}`);const r=i.readUInt32BE();let c=0;for(;!i.eof()&&c<r;){const n={};n.ctimeSeconds=i.readUInt32BE(),n.ctimeNanoseconds=i.readUInt32BE(),n.mtimeSeconds=i.readUInt32BE(),n.mtimeNanoseconds=i.readUInt32BE(),n.dev=i.readUInt32BE(),n.ino=i.readUInt32BE(),n.mode=i.readUInt32BE(),n.uid=i.readUInt32BE(),n.gid=i.readUInt32BE(),n.size=i.readUInt32BE(),n.oid=i.slice(20).toString("hex");const a=i.readUInt16BE();n.flags=(u=a,{assumeValid:Boolean(32768&u),extended:Boolean(16384&u),stage:(12288&u)>>12,nameLength:4095&u});const s=e.indexOf(0,i.tell()+1)-i.tell();if(s<1)throw new f(`Got a path length of: ${s}`);if(n.path=i.toString("utf8",s),n.path.includes("..\\")||n.path.includes("../"))throw new h(n.path);let o=8-(i.tell()-12)%8;for(0===o&&(o=8);o--;){const e=i.readUInt8();if(0!==e)throw new f(`Expected 1-8 null characters but got '${e}' after ${n.path}`);if(i.eof())throw new f("Unexpected end of file")}n.stages=[],t._addEntry(n),c++}var u;return t}get unmergedPaths(){return[...this._unmergedPaths]}get entries(){return[...this._entries.values()].sort(b)}get entriesMap(){return this._entries}get entriesFlat(){return[...this.entries].flatMap((e=>e.stages.length>1?e.stages.filter((e=>e)):e))}*[Symbol.iterator](){for(const e of this.entries)yield e}insert({filepath:e,stats:t,oid:i,stage:n=0}){t||(t={ctimeSeconds:0,ctimeNanoseconds:0,mtimeSeconds:0,mtimeNanoseconds:0,dev:0,ino:0,mode:0,uid:0,gid:0,size:0}),t=w(t);const a=Buffer.from(e),s={ctimeSeconds:t.ctimeSeconds,ctimeNanoseconds:t.ctimeNanoseconds,mtimeSeconds:t.mtimeSeconds,mtimeNanoseconds:t.mtimeNanoseconds,dev:t.dev,ino:t.ino,mode:t.mode||33188,uid:t.uid,gid:t.gid,size:t.size,path:e,oid:i,flags:{assumeValid:!1,extended:!1,stage:n,nameLength:a.length<4095?a.length:4095},stages:[]};this._addEntry(s),this._dirty=!0}delete({filepath:e}){if(this._entries.has(e))this._entries.delete(e);else for(const t of this._entries.keys())t.startsWith(e+"/")&&this._entries.delete(t);this._unmergedPaths.has(e)&&this._unmergedPaths.delete(e),this._dirty=!0}clear(){this._entries.clear(),this._dirty=!0}has({filepath:e}){return this._entries.has(e)}render(){return this.entries.map((e=>`${e.mode.toString(8)} ${e.oid} ${e.path}`)).join("\n")}static async _entryToBuffer(e){const t=Buffer.from(e.path),i=8*Math.ceil((62+t.length+1)/8),n=Buffer.alloc(i),a=new m(n),s=w(e);return a.writeUInt32BE(s.ctimeSeconds),a.writeUInt32BE(s.ctimeNanoseconds),a.writeUInt32BE(s.mtimeSeconds),a.writeUInt32BE(s.mtimeNanoseconds),a.writeUInt32BE(s.dev),a.writeUInt32BE(s.ino),a.writeUInt32BE(s.mode),a.writeUInt32BE(s.uid),a.writeUInt32BE(s.gid),a.writeUInt32BE(s.size),a.write(e.oid,20,"hex"),a.writeUInt16BE(function(e){const t=e.flags;return t.extended=!1,t.nameLength=Math.min(Buffer.from(e.path).length,4095),(t.assumeValid?32768:0)+(t.extended?16384:0)+((3&t.stage)<<12)+(4095&t.nameLength)}(e)),a.write(e.path,t.length,"utf8"),n}async toObject(){const e=Buffer.alloc(12),t=new m(e);t.write("DIRC",4,"utf8"),t.writeUInt32BE(2),t.writeUInt32BE(this.entriesFlat.length);let i=[];for(const e of this.entries)if(i.push(F._entryToBuffer(e)),e.stages.length>1)for(const t of e.stages)t&&t!==e&&i.push(F._entryToBuffer(t));i=await Promise.all(i);const n=Buffer.concat(i),a=Buffer.concat([e,n]),s=await _(a);return Buffer.concat([a,Buffer.from(s,"hex")])}}function k(e,t){const i=w(e),n=w(t);return i.mode!==n.mode||i.mtimeSeconds!==n.mtimeSeconds||i.ctimeSeconds!==n.ctimeSeconds||i.uid!==n.uid||i.gid!==n.gid||i.ino!==n.ino||i.size!==n.size}let C=null;const j=Symbol("IndexCache");class O{static async acquire({fs:e,gitdir:t,cache:i,allowUnmerged:a=!0},s){i[j]||(i[j]={map:new Map,stats:new Map});const o=`${t}/index`;let r;null===C&&(C=new n({maxPending:1/0}));let c=[];return await C.acquire(o,(async()=>{await async function(e,t,i){const n=i.stats.get(t);if(void 0===n)return!0;const a=await e.lstat(t);return null!==n&&null!==a&&k(n,a)}(e,o,i[j])&&await async function(e,t,i){const n=await e.lstat(t),a=await e.read(t),s=await F.from(a);i.map.set(t,s),i.stats.set(t,n)}(e,o,i[j]);const t=i[j].map.get(o);if(c=t.unmergedPaths,c.length&&!a)throw new d(c);if(r=await s(t),t._dirty){const n=await t.toObject();await e.write(o,n),i[j].stats.set(o,await e.lstat(o)),t._dirty=!1}})),r}}function A(e){const t=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"));return t>-1&&(e=e.slice(t+1)),e}function S(e){const t=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"));return-1===t?".":0===t?"/":e.slice(0,t)}function B(e){const t=new Map,i=function(e){if(!t.has(e)){const n={type:"tree",fullpath:e,basename:A(e),metadata:{},children:[]};t.set(e,n),n.parent=i(S(e)),n.parent&&n.parent!==n&&n.parent.children.push(n)}return t.get(e)},n=function(e,n){if(!t.has(e)){const a={type:"blob",fullpath:e,basename:A(e),metadata:n,parent:i(S(e)),children:[]};a.parent&&a.parent.children.push(a),t.set(e,a)}return t.get(e)};i(".");for(const t of e)n(t.path,t);return t}class R{constructor({fs:e,gitdir:t,cache:i}){this.treePromise=O.acquire({fs:e,gitdir:t,cache:i},(async function(e){return B(e.entries)}));const n=this;this.ConstructEntry=class{constructor(e){this._fullpath=e,this._type=!1,this._mode=!1,this._stat=!1,this._oid=!1}async type(){return n.type(this)}async mode(){return n.mode(this)}async stat(){return n.stat(this)}async content(){return n.content(this)}async oid(){return n.oid(this)}}}async readdir(e){const t=e._fullpath,i=(await this.treePromise).get(t);if(!i)return null;if("blob"===i.type)return null;if("tree"!==i.type)throw new Error(`ENOTDIR: not a directory, scandir '${t}'`);const n=i.children.map((e=>e.fullpath));return n.sort(g),n}async type(e){return!1===e._type&&await e.stat(),e._type}async mode(e){return!1===e._mode&&await e.stat(),e._mode}async stat(e){if(!1===e._stat){const t=(await this.treePromise).get(e._fullpath);if(!t)throw new Error(`ENOENT: no such file or directory, lstat '${e._fullpath}'`);const i="tree"===t.type?{}:w(t.metadata);e._type="tree"===t.type?"tree":function(e){switch(e){case 16384:return"tree";case 33188:case 33261:case 40960:return"blob";case 57344:return"commit"}throw new f(`Unexpected GitTree entry mode: ${e.toString(8)}`)}(i.mode),e._mode=i.mode,"tree"===t.type?e._stat=void 0:e._stat=i}return e._stat}async content(e){}async oid(e){if(!1===e._oid){const t=(await this.treePromise).get(e._fullpath);e._oid=t.metadata.oid}return e._oid}}const $=Symbol("GitWalkSymbol");function P(){const e=Object.create(null);return Object.defineProperty(e,$,{value:function({fs:e,gitdir:t,cache:i}){return new R({fs:e,gitdir:t,cache:i})}}),Object.freeze(e),e}class T extends p{constructor(e){super(`Could not find ${e}.`),this.code=this.name=T.code,this.data={what:e}}}T.code="NotFoundError";class I extends p{constructor(e,t,i,n){super(`Object ${e} ${n?`at ${n}`:""}was anticipated to be a ${i} but it is a ${t}.`),this.code=this.name=I.code,this.data={oid:e,actual:t,expected:i,filepath:n}}}I.code="ObjectTypeError";class M extends p{constructor(e){super(`Expected a 40-char hex object id but saw "${e}".`),this.code=this.name=M.code,this.data={value:e}}}M.code="InvalidOidError";class z extends p{constructor(e){super(`Could not find a fetch refspec for remote "${e}". Make sure the config file has an entry like the following:\n[remote "${e}"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n`),this.code=this.name=z.code,this.data={remote:e}}}z.code="NoRefspecError";class N{constructor(e){if(this.refs=new Map,this.parsedConfig=[],e){let t=null;this.parsedConfig=e.trim().split("\n").map((e=>{if(/^\s*#/.test(e))return{line:e,comment:!0};const i=e.indexOf(" ");if(e.startsWith("^")){const i=e.slice(1);return this.refs.set(t+"^{}",i),{line:e,ref:t,peeled:i}}{const n=e.slice(0,i);return t=e.slice(i+1),this.refs.set(t,n),{line:e,ref:t,oid:n}}}))}return this}static from(e){return new N(e)}delete(e){this.parsedConfig=this.parsedConfig.filter((t=>t.ref!==e)),this.refs.delete(e)}toString(){return this.parsedConfig.map((({line:e})=>e)).join("\n")+"\n"}}class U{constructor({remotePath:e,localPath:t,force:i,matchPrefix:n}){Object.assign(this,{remotePath:e,localPath:t,force:i,matchPrefix:n})}static from(e){const[t,i,n,a,s]=e.match(/^(\+?)(.*?)(\*?):(.*?)(\*?)$/).slice(1),o="+"===t,r="*"===n;if(r!==("*"===s))throw new f("Invalid refspec");return new U({remotePath:i,localPath:a,force:o,matchPrefix:r})}translate(e){if(this.matchPrefix){if(e.startsWith(this.remotePath))return this.localPath+e.replace(this.remotePath,"")}else if(e===this.remotePath)return this.localPath;return null}reverseTranslate(e){if(this.matchPrefix){if(e.startsWith(this.localPath))return this.remotePath+e.replace(this.localPath,"")}else if(e===this.localPath)return this.remotePath;return null}}class L{constructor(e=[]){this.rules=e}static from(e){const t=[];for(const i of e)t.push(U.from(i));return new L(t)}add(e){const t=U.from(e);this.rules.push(t)}translate(e){const t=[];for(const i of this.rules)for(const n of e){const e=i.translate(n);e&&t.push([n,e])}return t}translateOne(e){let t=null;for(const i of this.rules){const n=i.translate(e);n&&(t=n)}return t}localNamespaces(){return this.rules.filter((e=>e.matchPrefix)).map((e=>e.localPath.replace(/\/$/,"")))}}function q(e,t){const i=e.replace(/\^\{\}$/,""),n=t.replace(/\^\{\}$/,""),a=-(i<n)||+(i>n);return 0===a?e.endsWith("^{}")?1:-1:a}const H=new Map;function W(e){let t=H.get(e);return t||(t=function(e){return"/."===(e=e.split("/./").join("/").replace(/\/{2,}/g,"/"))?"/":"./"===e?".":(e.startsWith("./")&&(e=e.slice(2)),e.endsWith("/.")&&(e=e.slice(0,-2)),e.length>1&&e.endsWith("/")&&(e=e.slice(0,-1)),""===e?".":e)}(e),H.set(e,t)),t}function G(...e){return W(e.map(W).join("/"))}const V=e=>{if("true"===(e=e.trim().toLowerCase())||"yes"===e||"on"===e)return!0;if("false"===e||"no"===e||"off"===e)return!1;throw Error(`Expected 'true', 'false', 'yes', 'no', 'on', or 'off', but got ${e}`)},K={core:{filemode:V,bare:V,logallrefupdates:V,symlinks:V,ignorecase:V,bigFileThreshold:e=>{e=e.toLowerCase();let t=parseInt(e);return e.endsWith("k")&&(t*=1024),e.endsWith("m")&&(t*=1048576),e.endsWith("g")&&(t*=1073741824),t}}},Y=/^\[([A-Za-z0-9-.]+)(?: "(.*)")?\]$/,Z=/^[A-Za-z0-9-.]+$/,J=/^([A-Za-z][A-Za-z-]*)(?: *= *(.*))?$/,Q=/^[A-Za-z][A-Za-z-]*$/,X=/^(.*?)( *[#;].*)$/,ee=e=>(e.match(/(?:^|[^\\])"/g)||[]).length%2!=0,te=e=>e.split("").reduce(((e,t,i,n)=>{const a='"'===t&&"\\"!==n[i-1],s="\\"===t&&'"'===n[i+1];return a||s?e:e+t}),""),ie=e=>null!=e?e.toLowerCase():null,ne=(e,t,i)=>[ie(e),t,ie(i)].filter((e=>null!=e)).join("."),ae=e=>{const t=e.split("."),i=t.shift(),n=t.pop(),a=t.length?t.join("."):void 0;return{section:i,subsection:a,name:n,path:ne(i,a,n),sectionPath:ne(i,a,null)}};class se{constructor(e){let t=null,i=null;this.parsedConfig=e.split("\n").map((e=>{let n=null,a=null;const s=e.trim(),o=(e=>{const t=Y.exec(e);if(null!=t){const[e,i]=t.slice(1);return[e,i]}return null})(s),r=null!=o;if(r)[t,i]=o;else{const e=(e=>{const t=J.exec(e);if(null!=t){const[e,i="true"]=t.slice(1),n=(e=>{const t=X.exec(e);if(null==t)return e;const[i,n]=t.slice(1);return ee(i)&&ee(n)?`${i}${n}`:i})(i);return[e,te(n)]}return null})(s);null!=e&&([n,a]=e)}const c=ne(t,i,n);return{line:e,isSection:r,section:t,subsection:i,name:n,value:a,path:c}}))}static from(e){return new se(e)}async get(e,t=!1){const i=ae(e).path,n=this.parsedConfig.filter((e=>e.path===i)).map((({section:e,name:t,value:i})=>{const n=K[e]&&K[e][t];return n?n(i):i}));return t?n:n.pop()}async getall(e){return this.get(e,!0)}async getSubsections(e){return this.parsedConfig.filter((t=>t.section===e&&t.isSection)).map((e=>e.subsection))}async deleteSection(e,t){this.parsedConfig=this.parsedConfig.filter((i=>!(i.section===e&&i.subsection===t)))}async append(e,t){return this.set(e,t,!0)}async set(e,t,i=!1){const{section:n,subsection:a,name:s,path:o,sectionPath:r}=ae(e),c=(u=this.parsedConfig,l=e=>e.path===o,u.reduce(((e,t,i)=>l(t)?i:e),-1));var u,l;if(null==t)-1!==c&&this.parsedConfig.splice(c,1);else if(-1!==c){const e=this.parsedConfig[c],n=Object.assign({},e,{name:s,value:t,modified:!0});i?this.parsedConfig.splice(c+1,0,n):this.parsedConfig[c]=n}else{const e=this.parsedConfig.findIndex((e=>e.path===r)),i={section:n,subsection:a,name:s,value:t,modified:!0,path:o};if(Z.test(n)&&Q.test(s))if(e>=0)this.parsedConfig.splice(e+1,0,i);else{const e={section:n,subsection:a,modified:!0,path:r};this.parsedConfig.push(e,i)}}}toString(){return this.parsedConfig.map((({line:e,section:t,subsection:i,name:n,value:a,modified:s=!1})=>s?null!=n&&null!=a?"string"==typeof a&&/[#;]/.test(a)?`\t${n} = "${a}"`:`\t${n} = ${a}`:null!=i?`[${t} "${i}"]`:`[${t}]`:e)).join("\n")}}class oe{static async get({fs:e,gitdir:t}){const i=await e.read(`${t}/config`,{encoding:"utf8"});return se.from(i)}static async save({fs:e,gitdir:t,config:i}){await e.write(`${t}/config`,i.toString(),{encoding:"utf8"})}}const re=e=>[`${e}`,`refs/${e}`,`refs/tags/${e}`,`refs/heads/${e}`,`refs/remotes/${e}`,`refs/remotes/${e}/HEAD`],ce=["config","description","index","shallow","commondir"];let ue;async function le(e,t){return void 0===ue&&(ue=new n),ue.acquire(e,t)}class pe{static async updateRemoteRefs({fs:e,gitdir:t,remote:i,refs:n,symrefs:a,tags:s,refspecs:o,prune:r=!1,pruneTags:c=!1}){for(const e of n.values())if(!e.match(/[0-9a-f]{40}/))throw new M(e);const u=await oe.get({fs:e,gitdir:t});if(!o){if(0===(o=await u.getall(`remote.${i}.fetch`)).length)throw new z(i);o.unshift(`+HEAD:refs/remotes/${i}/HEAD`)}const l=L.from(o),p=new Map;if(c){const i=await pe.listRefs({fs:e,gitdir:t,filepath:"refs/tags"});await pe.deleteRefs({fs:e,gitdir:t,refs:i.map((e=>`refs/tags/${e}`))})}if(s)for(const i of n.keys())if(i.startsWith("refs/tags")&&!i.endsWith("^{}")&&!await pe.exists({fs:e,gitdir:t,ref:i})){const e=n.get(i);p.set(i,e)}const d=l.translate([...n.keys()]);for(const[e,t]of d){const i=n.get(e);p.set(t,i)}const f=l.translate([...a.keys()]);for(const[e,t]of f){const i=a.get(e),n=l.translateOne(i);n&&p.set(t,`ref: ${n}`)}const h=[];if(r){for(const i of l.localNamespaces()){const n=(await pe.listRefs({fs:e,gitdir:t,filepath:i})).map((e=>`${i}/${e}`));for(const e of n)p.has(e)||h.push(e)}h.length>0&&await pe.deleteRefs({fs:e,gitdir:t,refs:h})}for(const[i,n]of p)await le(i,(async()=>e.write(G(t,i),`${n.trim()}\n`,"utf8")));return{pruned:h}}static async writeRef({fs:e,gitdir:t,ref:i,value:n}){if(!n.match(/[0-9a-f]{40}/))throw new M(n);await le(i,(async()=>e.write(G(t,i),`${n.trim()}\n`,"utf8")))}static async writeSymbolicRef({fs:e,gitdir:t,ref:i,value:n}){await le(i,(async()=>e.write(G(t,i),`ref: ${n.trim()}\n`,"utf8")))}static async deleteRef({fs:e,gitdir:t,ref:i}){return pe.deleteRefs({fs:e,gitdir:t,refs:[i]})}static async deleteRefs({fs:e,gitdir:t,refs:i}){await Promise.all(i.map((i=>e.rm(G(t,i)))));let n=await le("packed-refs",(async()=>e.read(`${t}/packed-refs`,{encoding:"utf8"})));const a=N.from(n),s=a.refs.size;for(const e of i)a.refs.has(e)&&a.delete(e);a.refs.size<s&&(n=a.toString(),await le("packed-refs",(async()=>e.write(`${t}/packed-refs`,n,{encoding:"utf8"}))))}static async resolve({fs:e,gitdir:t,ref:i,depth:n}){if(void 0!==n&&-1==--n)return i;if(i.startsWith("ref: "))return i=i.slice(5),pe.resolve({fs:e,gitdir:t,ref:i,depth:n});if(40===i.length&&/[0-9a-f]{40}/.test(i))return i;const a=await pe.packedRefs({fs:e,gitdir:t}),s=re(i).filter((e=>!ce.includes(e)));for(const i of s){const s=await le(i,(async()=>await e.read(`${t}/${i}`,{encoding:"utf8"})||a.get(i)));if(s)return pe.resolve({fs:e,gitdir:t,ref:s.trim(),depth:n})}throw new T(i)}static async exists({fs:e,gitdir:t,ref:i}){try{return await pe.expand({fs:e,gitdir:t,ref:i}),!0}catch(e){return!1}}static async expand({fs:e,gitdir:t,ref:i}){if(40===i.length&&/[0-9a-f]{40}/.test(i))return i;const n=await pe.packedRefs({fs:e,gitdir:t}),a=re(i);for(const i of a){if(await le(i,(async()=>e.exists(`${t}/${i}`))))return i;if(n.has(i))return i}throw new T(i)}static async expandAgainstMap({ref:e,map:t}){const i=re(e);for(const e of i)if(await t.has(e))return e;throw new T(e)}static resolveAgainstMap({ref:e,fullref:t=e,depth:i,map:n}){if(void 0!==i&&-1==--i)return{fullref:t,oid:e};if(e.startsWith("ref: "))return e=e.slice(5),pe.resolveAgainstMap({ref:e,fullref:t,depth:i,map:n});if(40===e.length&&/[0-9a-f]{40}/.test(e))return{fullref:t,oid:e};const a=re(e);for(const e of a){const t=n.get(e);if(t)return pe.resolveAgainstMap({ref:t.trim(),fullref:e,depth:i,map:n})}throw new T(e)}static async packedRefs({fs:e,gitdir:t}){const i=await le("packed-refs",(async()=>e.read(`${t}/packed-refs`,{encoding:"utf8"})));return N.from(i).refs}static async listRefs({fs:e,gitdir:t,filepath:i}){const n=pe.packedRefs({fs:e,gitdir:t});let a=null;try{a=await e.readdirDeep(`${t}/${i}`),a=a.map((e=>e.replace(`${t}/${i}/`,"")))}catch(e){a=[]}for(let e of(await n).keys())e.startsWith(i)&&(e=e.replace(i+"/",""),a.includes(e)||a.push(e));return a.sort(q),a}static async listBranches({fs:e,gitdir:t,remote:i}){return i?pe.listRefs({fs:e,gitdir:t,filepath:`refs/remotes/${i}`}):pe.listRefs({fs:e,gitdir:t,filepath:"refs/heads"})}static async listTags({fs:e,gitdir:t}){return(await pe.listRefs({fs:e,gitdir:t,filepath:"refs/tags"})).filter((e=>!e.endsWith("^{}")))}}function de(e,t){return g(fe(e),fe(t))}function fe(e){return"040000"===e.mode?e.path+"/":e.path}function he(e){switch(e){case"040000":return"tree";case"100644":case"100755":case"120000":return"blob";case"160000":return"commit"}throw new f(`Unexpected GitTree entry mode: ${e}`)}function me(e){return!e.oid&&e.sha&&(e.oid=e.sha),e.mode=function(e){if("number"==typeof e&&(e=e.toString(8)),e.match(/^0?4.*/))return"040000";if(e.match(/^1006.*/))return"100644";if(e.match(/^1007.*/))return"100755";if(e.match(/^120.*/))return"120000";if(e.match(/^160.*/))return"160000";throw new f(`Could not understand file mode: ${e}`)}(e.mode),e.type||(e.type=he(e.mode)),e}class ge{constructor(e){if(Buffer.isBuffer(e))this._entries=function(e){const t=[];let i=0;for(;i<e.length;){const n=e.indexOf(32,i);if(-1===n)throw new f(`GitTree: Error parsing buffer at byte location ${i}: Could not find the next space character.`);const a=e.indexOf(0,i);if(-1===a)throw new f(`GitTree: Error parsing buffer at byte location ${i}: Could not find the next null character.`);let s=e.slice(i,n).toString("utf8");"40000"===s&&(s="040000");const o=he(s),r=e.slice(n+1,a).toString("utf8");if(r.includes("\\")||r.includes("/"))throw new h(r);const c=e.slice(a+1,a+21).toString("hex");i=a+21,t.push({mode:s,path:r,oid:c,type:o})}return t}(e);else{if(!Array.isArray(e))throw new f("invalid type passed to GitTree constructor");this._entries=e.map(me)}this._entries.sort(b)}static from(e){return new ge(e)}render(){return this._entries.map((e=>`${e.mode} ${e.type} ${e.oid} ${e.path}`)).join("\n")}toObject(){const e=[...this._entries];return e.sort(de),Buffer.concat(e.map((e=>{const t=Buffer.from(e.mode.replace(/^0/,"")),i=Buffer.from(" "),n=Buffer.from(e.path,"utf8"),a=Buffer.from([0]),s=Buffer.from(e.oid,"hex");return Buffer.concat([t,i,n,a,s])})))}entries(){return this._entries}*[Symbol.iterator](){for(const e of this._entries)yield e}}class be{static wrap({type:e,object:t}){return Buffer.concat([Buffer.from(`${e} ${t.byteLength.toString()}\0`),Buffer.from(t)])}static unwrap(e){const t=e.indexOf(32),i=e.indexOf(0),n=e.slice(0,t).toString("utf8"),a=e.slice(t+1,i).toString("utf8"),s=e.length-(i+1);if(parseInt(a)!==s)throw new f(`Length mismatch: expected ${a} bytes but got ${s} instead.`);return{type:n,object:Buffer.from(e.slice(i+1))}}}function ve(e){let t=0,i=0,n=null;do{n=e.readUInt8(),t|=(127&n)<<i,i+=7}while(128&n);return t}function xe(e,t,i){let n=0,a=0;for(;i--;)1&t&&(n|=e.readUInt8()<<a),t>>=1,a+=8;return n}function ye(e,t){const i=e.readUInt8();if(128&i){const n=xe(e,15&i,4);let a=xe(e,(112&i)>>4,3);return 0===a&&(a=65536),t.slice(n,n+a)}return e.slice(i)}function we(e){return e[Symbol.asyncIterator]?e[Symbol.asyncIterator]():e[Symbol.iterator]?e[Symbol.iterator]():e.next?e:function(e){let t=[e];return{next:()=>Promise.resolve({done:0===t.length,value:t.pop()}),return:()=>(t=[],{}),[Symbol.asyncIterator](){return this}}}(e)}class De{constructor(e){this.stream=we(e),this.buffer=null,this.cursor=0,this.undoCursor=0,this.started=!1,this._ended=!1,this._discardedBytes=0}eof(){return this._ended&&this.cursor===this.buffer.length}tell(){return this._discardedBytes+this.cursor}async byte(){if(!this.eof()&&(this.started||await this._init(),this.cursor!==this.buffer.length||(await this._loadnext(),!this._ended)))return this._moveCursor(1),this.buffer[this.undoCursor]}async chunk(){if(!this.eof()&&(this.started||await this._init(),this.cursor!==this.buffer.length||(await this._loadnext(),!this._ended)))return this._moveCursor(this.buffer.length),this.buffer.slice(this.undoCursor,this.cursor)}async read(e){if(!this.eof())return this.started||await this._init(),this.cursor+e>this.buffer.length&&(this._trim(),await this._accumulate(e)),this._moveCursor(e),this.buffer.slice(this.undoCursor,this.cursor)}async skip(e){this.eof()||(this.started||await this._init(),this.cursor+e>this.buffer.length&&(this._trim(),await this._accumulate(e)),this._moveCursor(e))}async undo(){this.cursor=this.undoCursor}async _next(){this.started=!0;let{done:e,value:t}=await this.stream.next();return e&&(this._ended=!0,!t)?Buffer.alloc(0):(t&&(t=Buffer.from(t)),t)}_trim(){this.buffer=this.buffer.slice(this.undoCursor),this.cursor-=this.undoCursor,this._discardedBytes+=this.undoCursor,this.undoCursor=0}_moveCursor(e){this.undoCursor=this.cursor,this.cursor+=e,this.cursor>this.buffer.length&&(this.cursor=this.buffer.length)}async _accumulate(e){if(this._ended)return;const t=[this.buffer];for(;this.cursor+e>_e(t);){const e=await this._next();if(this._ended)break;t.push(e)}this.buffer=Buffer.concat(t)}async _loadnext(){this._discardedBytes+=this.buffer.length,this.undoCursor=0,this.cursor=0,this.buffer=await this._next()}async _init(){this.buffer=await this._next()}}function _e(e){return e.reduce(((e,t)=>e+t.length),0)}async function Ee(e){let t=await e.byte();const i=t>>4&7;let n,a,s=15&t;if(128&t){let i=4;do{t=await e.byte(),s|=(127&t)<<i,i+=7}while(128&t)}if(6===i){let i=0;n=0;const s=[];do{t=await e.byte(),n|=(127&t)<<i,i+=7,s.push(t)}while(128&t);a=Buffer.from(s)}return 7===i&&(a=await e.read(20)),{type:i,length:s,ofs:n,reference:a}}let Fe=!1;async function ke(e){return null===Fe&&(Fe=function(){try{if(new DecompressionStream("deflate"))return!0}catch(e){}return!1}()),Fe?async function(e){const t=new DecompressionStream("deflate"),i=new Blob([e]).stream().pipeThrough(t);return new Uint8Array(await new Response(i).arrayBuffer())}(e):o.inflate(e)}class Ce{constructor(e){Object.assign(this,e),this.offsetCache={}}static async fromIdx({idx:e,getExternalRefDelta:t}){const i=new m(e);if("ff744f63"!==i.slice(4).toString("hex"))return;const n=i.readUInt32BE();if(2!==n)throw new f(`Unable to read version ${n} packfile IDX. (Only version 2 supported)`);if(e.byteLength>2147483648)throw new f("To keep implementation simple, I haven't implemented the layer 5 feature needed to support packfiles > 2GB in size.");i.seek(i.tell()+1020);const a=i.readUInt32BE(),s=[];for(let e=0;e<a;e++){const t=i.slice(20).toString("hex");s[e]=t}i.seek(i.tell()+4*a);const o=new Map;for(let e=0;e<a;e++)o.set(s[e],i.readUInt32BE());const r=i.slice(20).toString("hex");return new Ce({hashes:s,crcs:{},offsets:o,packfileSha:r,getExternalRefDelta:t})}static async fromPack({pack:e,getExternalRefDelta:t,onProgress:i}){const n={1:"commit",2:"tree",3:"blob",4:"tag",6:"ofs-delta",7:"ref-delta"},a={},r=e.slice(-20).toString("hex"),c=[],u={},l=new Map;let p=null,d=null;await async function(e,t){const i=new De(e);let n=await i.read(4);if(n=n.toString("utf8"),"PACK"!==n)throw new f(`Invalid PACK header '${n}'`);let a=await i.read(4);if(a=a.readUInt32BE(0),2!==a)throw new f(`Invalid packfile version: ${a}`);let s=await i.read(4);if(s=s.readUInt32BE(0),!(s<1))for(;!i.eof()&&s--;){const e=i.tell(),{type:n,length:a,ofs:r,reference:c}=await Ee(i),u=new o.Inflate;for(;!u.result;){const o=await i.chunk();if(!o)break;if(u.push(o,!1),u.err)throw new f(`Pako error: ${u.msg}`);if(u.result){if(u.result.length!==a)throw new f("Inflated object size is different from that stated in packfile.");await i.undo(),await i.read(o.length-u.strm.avail_in);const l=i.tell();await t({data:u.result,type:n,num:s,offset:e,end:l,reference:c,ofs:r})}}}}([e],(async({data:e,type:t,reference:s,offset:o,num:r})=>{null===p&&(p=r);const c=Math.floor(100*(p-r)/p);c!==d&&i&&await i({phase:"Receiving objects",loaded:p-r,total:p}),d=c,(["commit","tree","blob","tag"].includes(t=n[t])||"ofs-delta"===t||"ref-delta"===t)&&(a[o]={type:t,offset:o})}));const h=Object.keys(a).map(Number);for(const[t,i]of h.entries()){const n=t+1===h.length?e.byteLength-20:h[t+1],o=a[i],r=s.buf(e.slice(i,n))>>>0;o.end=n,o.crc=r}const m=new Ce({pack:Promise.resolve(e),packfileSha:r,crcs:u,hashes:c,offsets:l,getExternalRefDelta:t});d=null;let g=0;const b=[0,0,0,0,0,0,0,0,0,0,0,0];for(let e in a){e=Number(e);const t=Math.floor(100*g/p);t!==d&&i&&await i({phase:"Resolving deltas",loaded:g,total:p}),g++,d=t;const n=a[e];if(!n.oid)try{m.readDepth=0,m.externalReadDepth=0;const{type:t,object:i}=await m.readSlice({start:e});b[m.readDepth]+=1;const a=await _(be.wrap({type:t,object:i}));n.oid=a,c.push(a),l.set(a,e),u[a]=n.crc}catch(e){continue}}return c.sort(),m}async toBuffer(){const e=[],t=(t,i)=>{e.push(Buffer.from(t,i))};t("ff744f63","hex"),t("00000002","hex");const i=new m(Buffer.alloc(1024));for(let e=0;e<256;e++){let t=0;for(const i of this.hashes)parseInt(i.slice(0,2),16)<=e&&t++;i.writeUInt32BE(t)}e.push(i.buffer);for(const e of this.hashes)t(e,"hex");const n=new m(Buffer.alloc(4*this.hashes.length));for(const e of this.hashes)n.writeUInt32BE(this.crcs[e]);e.push(n.buffer);const a=new m(Buffer.alloc(4*this.hashes.length));for(const e of this.hashes)a.writeUInt32BE(this.offsets.get(e));e.push(a.buffer),t(this.packfileSha,"hex");const s=Buffer.concat(e),o=await _(s),r=Buffer.alloc(20);return r.write(o,"hex"),Buffer.concat([s,r])}async load({pack:e}){this.pack=e}async unload(){this.pack=null}async read({oid:e}){if(!this.offsets.get(e)){if(this.getExternalRefDelta)return this.externalReadDepth++,this.getExternalRefDelta(e);throw new f(`Could not read object ${e} from packfile`)}const t=this.offsets.get(e);return this.readSlice({start:t})}async readSlice({start:e}){if(this.offsetCache[e])return Object.assign({},this.offsetCache[e]);if(this.readDepth++,!this.pack)throw new f("Tried to read from a GitPackIndex with no packfile loaded into memory");const t=(await this.pack).slice(e),i=new m(t),n=i.readUInt8(),a=112&n;let s={16:"commit",32:"tree",48:"blob",64:"tag",96:"ofs_delta",112:"ref_delta"}[a];if(void 0===s)throw new f("Unrecognized type: 0b"+a.toString(2));const o=15&n;let r=o;128&n&&(r=function(e,t){let i=t,n=4,a=null;do{a=e.readUInt8(),i|=(127&a)<<n,n+=7}while(128&a);return i}(i,o));let c=null,u=null;if("ofs_delta"===s){const t=function(e){const t=[];let i=0,n=0;do{i=e.readUInt8();const a=127&i;t.push(a),n=128&i}while(n);return t.reduce(((e,t)=>e+1<<7|t),-1)}(i),n=e-t;({object:c,type:s}=await this.readSlice({start:n}))}if("ref_delta"===s){const e=i.slice(20).toString("hex");({object:c,type:s}=await this.read({oid:e}))}const l=t.slice(i.tell());if(u=Buffer.from(await ke(l)),u.byteLength!==r)throw new f(`Packfile told us object would have length ${r} but it had length ${u.byteLength}`);return c&&(u=Buffer.from(function(e,t){const i=new m(e),n=ve(i);if(n!==t.byteLength)throw new f(`applyDelta expected source buffer to be ${n} bytes but the provided buffer was ${t.length} bytes`);const a=ve(i);let s;const o=ye(i,t);if(o.byteLength===a)s=o;else{s=Buffer.alloc(a);const e=new m(s);for(e.copy(o);!i.eof();)e.copy(ye(i,t));const n=e.tell();if(a!==n)throw new f(`applyDelta expected target buffer to be ${a} bytes but the resulting buffer was ${n} bytes`)}return s}(u,c))),this.readDepth>3&&(this.offsetCache[e]={type:s,object:u}),{type:s,format:"content",object:u}}}const je=Symbol("PackfileCache");function Oe({fs:e,cache:t,filename:i,getExternalRefDelta:n,emitter:a,emitterPrefix:s}){t[je]||(t[je]=new Map);let o=t[je].get(i);return o||(o=async function({fs:e,filename:t,getExternalRefDelta:i,emitter:n,emitterPrefix:a}){const s=await e.read(t);return Ce.fromIdx({idx:s,getExternalRefDelta:i})}({fs:e,filename:i,getExternalRefDelta:n,emitter:a,emitterPrefix:s}),t[je].set(i,o)),o}async function Ae({fs:e,cache:t,gitdir:i,oid:n,format:a="content"}){let s;if("4b825dc642cb6eb9a060e54bf8d69288fbee4904"===n&&(s={format:"wrapped",object:Buffer.from("tree 0\0")}),s||(s=await async function({fs:e,gitdir:t,oid:i}){const n=`objects/${i.slice(0,2)}/${i.slice(2)}`,a=await e.read(`${t}/${n}`);return a?{object:a,format:"deflated",source:n}:null}({fs:e,gitdir:i,oid:n})),s||(s=await async function({fs:e,cache:t,gitdir:i,oid:n,format:a="content",getExternalRefDelta:s}){let o=await e.readdir(G(i,"objects/pack"));o=o.filter((e=>e.endsWith(".idx")));for(const a of o){const o=`${i}/objects/pack/${a}`,r=await Oe({fs:e,cache:t,filename:o,getExternalRefDelta:s});if(r.error)throw new f(r.error);if(r.offsets.has(n)){if(!r.pack){const t=o.replace(/idx$/,"pack");r.pack=e.read(t)}const t=await r.read({oid:n,getExternalRefDelta:s});return t.format="content",t.source=`objects/pack/${a.replace(/idx$/,"pack")}`,t}}return null}({fs:e,cache:t,gitdir:i,oid:n,getExternalRefDelta:n=>Ae({fs:e,cache:t,gitdir:i,oid:n})})),!s)throw new T(n);if("deflated"===a)return s;if("deflated"===s.format&&(s.object=Buffer.from(await ke(s.object)),s.format="wrapped"),"wrapped"===s.format){if("wrapped"===a&&"wrapped"===s.format)return s;const e=await _(s.object);if(e!==n)throw new f(`SHA check failed! Expected ${n}, computed ${e}`);const{object:t,type:i}=be.unwrap(s.object);s.type=i,s.object=t,s.format="content"}if("content"===s.format)return"content"===a?s:void 0;throw new f(`invalid format "${s.format}"`)}class Se extends p{constructor(e,t,i=!0){super(`Failed to create ${e} at ${t} because it already exists.${i?` (Hint: use 'force: true' parameter to overwrite existing ${e}.)`:""}`),this.code=this.name=Se.code,this.data={noun:e,where:t,canForce:i}}}Se.code="AlreadyExistsError";class Be extends p{constructor(e,t,i){super(`Found multiple ${e} matching "${t}" (${i.join(", ")}). Use a longer abbreviation length to disambiguate them.`),this.code=this.name=Be.code,this.data={nouns:e,short:t,matches:i}}}Be.code="AmbiguousError";class Re extends p{constructor(e){super(`Your local changes to the following files would be overwritten by checkout: ${e.join(", ")}`),this.code=this.name=Re.code,this.data={filepaths:e}}}Re.code="CheckoutConflictError";class $e extends p{constructor(e,t){super(`Failed to checkout "${e}" because commit ${t} is not available locally. Do a git fetch to make the branch available locally.`),this.code=this.name=$e.code,this.data={ref:e,oid:t}}}$e.code="CommitNotFetchedError";class Pe extends p{constructor(){super("Empty response from git server."),this.code=this.name=Pe.code,this.data={}}}Pe.code="EmptyServerResponseError";class Te extends p{constructor(){super("A simple fast-forward merge was not possible."),this.code=this.name=Te.code,this.data={}}}Te.code="FastForwardError";class Ie extends p{constructor(e,t){super(`One or more branches were not updated: ${e}`),this.code=this.name=Ie.code,this.data={prettyDetails:e,result:t}}}Ie.code="GitPushError";class Me extends p{constructor(e,t,i){super(`HTTP Error: ${e} ${t}`),this.code=this.name=Me.code,this.data={statusCode:e,statusMessage:t,response:i}}}Me.code="HttpError";class ze extends p{constructor(e){let t="invalid filepath";"leading-slash"===e||"trailing-slash"===e?t='"filepath" parameter should not include leading or trailing directory separators because these can cause problems on some platforms.':"directory"===e&&(t='"filepath" should not be a directory.'),super(t),this.code=this.name=ze.code,this.data={reason:e}}}ze.code="InvalidFilepathError";class Ne extends p{constructor(e,t){super(`"${e}" would be an invalid git reference. (Hint: a valid alternative would be "${t}".)`),this.code=this.name=Ne.code,this.data={ref:e,suggestion:t}}}Ne.code="InvalidRefNameError";class Ue extends p{constructor(e){super(`Maximum search depth of ${e} exceeded.`),this.code=this.name=Ue.code,this.data={depth:e}}}Ue.code="MaxDepthError";class Le extends p{constructor(){super("Merges with conflicts are not supported yet."),this.code=this.name=Le.code,this.data={}}}Le.code="MergeNotSupportedError";class qe extends p{constructor(e,t,i,n){super(`Automatic merge failed with one or more merge conflicts in the following files: ${e.toString()}. Fix conflicts then commit the result.`),this.code=this.name=qe.code,this.data={filepaths:e,bothModified:t,deleteByUs:i,deleteByTheirs:n}}}qe.code="MergeConflictError";class He extends p{constructor(e){super(`No name was provided for ${e} in the argument or in the .git/config file.`),this.code=this.name=He.code,this.data={role:e}}}He.code="MissingNameError";class We extends p{constructor(e){super(`The function requires a "${e}" parameter but none was provided.`),this.code=this.name=We.code,this.data={parameter:e}}}We.code="MissingParameterError";class Ge extends p{constructor(e){super('There are multiple errors that were thrown by the method. Please refer to the "errors" property to see more'),this.code=this.name=Ge.code,this.data={errors:e},this.errors=e}}Ge.code="MultipleGitError";class Ve extends p{constructor(e,t){super(`Expected "${e}" but received "${t}".`),this.code=this.name=Ve.code,this.data={expected:e,actual:t}}}Ve.code="ParseError";class Ke extends p{constructor(e){let t="";"not-fast-forward"===e?t=" because it was not a simple fast-forward":"tag-exists"===e&&(t=" because tag already exists"),super(`Push rejected${t}. Use "force: true" to override.`),this.code=this.name=Ke.code,this.data={reason:e}}}Ke.code="PushRejectedError";class Ye extends p{constructor(e,t){super(`Remote does not support the "${e}" so the "${t}" parameter cannot be used.`),this.code=this.name=Ye.code,this.data={capability:e,parameter:t}}}Ye.code="RemoteCapabilityError";class Ze extends p{constructor(e,t){super(`Remote did not reply using the "smart" HTTP protocol. Expected "001e# service=git-upload-pack" but received: ${e}`),this.code=this.name=Ze.code,this.data={preview:e,response:t}}}Ze.code="SmartHttpError";class Je extends p{constructor(e,t,i){super(`Git remote "${e}" uses an unrecognized transport protocol: "${t}"`),this.code=this.name=Je.code,this.data={url:e,transport:t,suggestion:i}}}Je.code="UnknownTransportError";class Qe extends p{constructor(e){super(`Cannot parse remote URL: "${e}"`),this.code=this.name=Qe.code,this.data={url:e}}}Qe.code="UrlParseError";class Xe extends p{constructor(){super("The operation was canceled."),this.code=this.name=Xe.code,this.data={}}}Xe.code="UserCanceledError";class et extends p{constructor(e){super(`Could not merge index: Entry for '${e}' is not up to date. Either reset the index entry to HEAD, or stage your unstaged changes.`),this.code=this.name=et.code,this.data={filepath:e}}}et.code="IndexResetError";var tt=Object.freeze({__proto__:null,AlreadyExistsError:Se,AmbiguousError:Be,CheckoutConflictError:Re,CommitNotFetchedError:$e,EmptyServerResponseError:Pe,FastForwardError:Te,GitPushError:Ie,HttpError:Me,InternalError:f,InvalidFilepathError:ze,InvalidOidError:M,InvalidRefNameError:Ne,MaxDepthError:Ue,MergeNotSupportedError:Le,MergeConflictError:qe,MissingNameError:He,MissingParameterError:We,MultipleGitError:Ge,NoRefspecError:z,NotFoundError:T,ObjectTypeError:I,ParseError:Ve,PushRejectedError:Ke,RemoteCapabilityError:Ye,SmartHttpError:Ze,UnknownTransportError:Je,UnsafeFilepathError:h,UrlParseError:Qe,UserCanceledError:Xe,UnmergedPathsError:d,IndexResetError:et});function it({name:e,email:t,timestamp:i,timezoneOffset:n}){return`${e} <${t}> ${i} ${n=function(e){const t=function(e){return Math.sign(e)||(Object.is(e,-0)?-1:1)}(0===(i=e)?i:-i);var i;e=Math.abs(e);const n=Math.floor(e/60);e-=60*n;let a=String(n),s=String(e);return a.length<2&&(a="0"+a),s.length<2&&(s="0"+s),(-1===t?"-":"+")+a+s}(n)}`}function nt(e){return(e=(e=e.replace(/\r/g,"")).replace(/^\n+/,"")).replace(/\n+$/,"")+"\n"}function at(e){const[,t,i,n,a]=e.match(/^(.*) <(.*)> (.*) (.*)$/);return{name:t,email:i,timestamp:Number(n),timezoneOffset:st(a)}}function st(e){let[,t,i,n]=e.match(/(\+|-)(\d\d)(\d\d)/);return n=("+"===t?1:-1)*(60*Number(i)+Number(n)),0===(a=n)?a:-a;var a}class ot{constructor(e){if("string"==typeof e)this._tag=e;else if(Buffer.isBuffer(e))this._tag=e.toString("utf8");else{if("object"!=typeof e)throw new f("invalid type passed to GitAnnotatedTag constructor");this._tag=ot.render(e)}}static from(e){return new ot(e)}static render(e){return`object ${e.object}\ntype ${e.type}\ntag ${e.tag}\ntagger ${it(e.tagger)}\n\n${e.message}\n${e.gpgsig?e.gpgsig:""}`}justHeaders(){return this._tag.slice(0,this._tag.indexOf("\n\n"))}message(){const e=this.withoutSignature();return e.slice(e.indexOf("\n\n")+2)}parse(){return Object.assign(this.headers(),{message:this.message(),gpgsig:this.gpgsig()})}render(){return this._tag}headers(){const e=this.justHeaders().split("\n"),t=[];for(const i of e)" "===i[0]?t[t.length-1]+="\n"+i.slice(1):t.push(i);const i={};for(const e of t){const t=e.slice(0,e.indexOf(" ")),n=e.slice(e.indexOf(" ")+1);Array.isArray(i[t])?i[t].push(n):i[t]=n}return i.tagger&&(i.tagger=at(i.tagger)),i.committer&&(i.committer=at(i.committer)),i}withoutSignature(){const e=nt(this._tag);return-1===e.indexOf("\n-----BEGIN PGP SIGNATURE-----")?e:e.slice(0,e.lastIndexOf("\n-----BEGIN PGP SIGNATURE-----"))}gpgsig(){if(-1!==this._tag.indexOf("\n-----BEGIN PGP SIGNATURE-----"))return nt(this._tag.slice(this._tag.indexOf("-----BEGIN PGP SIGNATURE-----"),this._tag.indexOf("-----END PGP SIGNATURE-----")+27))}payload(){return this.withoutSignature()+"\n"}toObject(){return Buffer.from(this._tag,"utf8")}static async sign(e,t,i){const n=e.payload();let{signature:a}=await t({payload:n,secretKey:i});a=nt(a);const s=n+a;return ot.from(s)}}function rt(e){return e.trim().split("\n").map((e=>" "+e)).join("\n")+"\n"}class ct{constructor(e){if("string"==typeof e)this._commit=e;else if(Buffer.isBuffer(e))this._commit=e.toString("utf8");else{if("object"!=typeof e)throw new f("invalid type passed to GitCommit constructor");this._commit=ct.render(e)}}static fromPayloadSignature({payload:e,signature:t}){const i=ct.justHeaders(e),n=ct.justMessage(e),a=nt(i+"\ngpgsig"+rt(t)+"\n"+n);return new ct(a)}static from(e){return new ct(e)}toObject(){return Buffer.from(this._commit,"utf8")}headers(){return this.parseHeaders()}message(){return ct.justMessage(this._commit)}parse(){return Object.assign({message:this.message()},this.headers())}static justMessage(e){return nt(e.slice(e.indexOf("\n\n")+2))}static justHeaders(e){return e.slice(0,e.indexOf("\n\n"))}parseHeaders(){const e=ct.justHeaders(this._commit).split("\n"),t=[];for(const i of e)" "===i[0]?t[t.length-1]+="\n"+i.slice(1):t.push(i);const i={parent:[]};for(const e of t){const t=e.slice(0,e.indexOf(" ")),n=e.slice(e.indexOf(" ")+1);Array.isArray(i[t])?i[t].push(n):i[t]=n}return i.author&&(i.author=at(i.author)),i.committer&&(i.committer=at(i.committer)),i}static renderHeaders(e){let t="";if(e.tree?t+=`tree ${e.tree}\n`:t+="tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904\n",e.parent){if(void 0===e.parent.length)throw new f("commit 'parent' property should be an array");for(const i of e.parent)t+=`parent ${i}\n`}return t+=`author ${it(e.author)}\n`,t+=`committer ${it(e.committer||e.author)}\n`,e.gpgsig&&(t+="gpgsig"+rt(e.gpgsig)),t}static render(e){return ct.renderHeaders(e)+"\n"+nt(e.message)}render(){return this._commit}withoutSignature(){const e=nt(this._commit);return-1===e.indexOf("\ngpgsig")?e:nt(e.slice(0,e.indexOf("\ngpgsig"))+"\n"+e.slice(e.indexOf("-----END PGP SIGNATURE-----\n")+28))}isolateSignature(){return this._commit.slice(this._commit.indexOf("-----BEGIN PGP SIGNATURE-----"),this._commit.indexOf("-----END PGP SIGNATURE-----")+27).split("\n").map((e=>e.replace(/^ /,""))).join("\n")}static async sign(e,t,i){const n=e.withoutSignature(),a=ct.justMessage(e._commit);let{signature:s}=await t({payload:n,secretKey:i});s=nt(s);const o=ct.justHeaders(e._commit)+"\ngpgsig"+rt(s)+"\n"+a;return ct.from(o)}}async function ut({fs:e,cache:t,gitdir:i,oid:n}){if("4b825dc642cb6eb9a060e54bf8d69288fbee4904"===n)return{tree:ge.from([]),oid:n};const{type:a,object:s}=await Ae({fs:e,cache:t,gitdir:i,oid:n});if("tag"===a)return ut({fs:e,cache:t,gitdir:i,oid:n=ot.from(s).parse().object});if("commit"===a)return ut({fs:e,cache:t,gitdir:i,oid:n=ct.from(s).parse().tree});if("tree"!==a)throw new I(n,a,"tree");return{tree:ge.from(s),oid:n}}class lt{constructor({fs:e,gitdir:t,ref:i,cache:n}){this.fs=e,this.cache=n,this.gitdir=t,this.mapPromise=(async()=>{const n=new Map;let a;try{a=await pe.resolve({fs:e,gitdir:t,ref:i})}catch(e){e instanceof T&&(a="4b825dc642cb6eb9a060e54bf8d69288fbee4904")}const s=await ut({fs:e,cache:this.cache,gitdir:t,oid:a});return s.type="tree",s.mode="40000",n.set(".",s),n})();const a=this;this.ConstructEntry=class{constructor(e){this._fullpath=e,this._type=!1,this._mode=!1,this._stat=!1,this._content=!1,this._oid=!1}async type(){return a.type(this)}async mode(){return a.mode(this)}async stat(){return a.stat(this)}async content(){return a.content(this)}async oid(){return a.oid(this)}}}async readdir(e){const t=e._fullpath,{fs:i,cache:n,gitdir:a}=this,s=await this.mapPromise,o=s.get(t);if(!o)throw new Error(`No obj for ${t}`);const r=o.oid;if(!r)throw new Error(`No oid for obj ${JSON.stringify(o)}`);if("tree"!==o.type)return null;const{type:c,object:u}=await Ae({fs:i,cache:n,gitdir:a,oid:r});if(c!==o.type)throw new I(r,c,o.type);const l=ge.from(u);for(const e of l)s.set(G(t,e.path),e);return l.entries().map((e=>G(t,e.path)))}async type(e){if(!1===e._type){const t=await this.mapPromise,{type:i}=t.get(e._fullpath);e._type=i}return e._type}async mode(e){if(!1===e._mode){const t=await this.mapPromise,{mode:i}=t.get(e._fullpath);e._mode=v(parseInt(i,8))}return e._mode}async stat(e){}async content(e){if(!1===e._content){const t=await this.mapPromise,{fs:i,cache:n,gitdir:a}=this,s=t.get(e._fullpath).oid,{type:o,object:r}=await Ae({fs:i,cache:n,gitdir:a,oid:s});e._content="blob"!==o?void 0:new Uint8Array(r)}return e._content}async oid(e){if(!1===e._oid){const t=(await this.mapPromise).get(e._fullpath);e._oid=t.oid}return e._oid}}function pt({ref:e="HEAD"}={}){const t=Object.create(null);return Object.defineProperty(t,$,{value:function({fs:t,gitdir:i,cache:n}){return new lt({fs:t,gitdir:i,ref:e,cache:n})}}),Object.freeze(t),t}class dt{constructor({fs:e,dir:t,gitdir:i,cache:n}){this.fs=e,this.cache=n,this.dir=t,this.gitdir=i;const a=this;this.ConstructEntry=class{constructor(e){this._fullpath=e,this._type=!1,this._mode=!1,this._stat=!1,this._content=!1,this._oid=!1}async type(){return a.type(this)}async mode(){return a.mode(this)}async stat(){return a.stat(this)}async content(){return a.content(this)}async oid(){return a.oid(this)}}}async readdir(e){const t=e._fullpath,{fs:i,dir:n}=this,a=await i.readdir(G(n,t));return null===a?null:a.map((e=>G(t,e)))}async type(e){return!1===e._type&&await e.stat(),e._type}async mode(e){return!1===e._mode&&await e.stat(),e._mode}async stat(e){if(!1===e._stat){const{fs:t,dir:i}=this;let n=await t.lstat(`${i}/${e._fullpath}`);if(!n)throw new Error(`ENOENT: no such file or directory, lstat '${e._fullpath}'`);let a=n.isDirectory()?"tree":"blob";"blob"!==a||n.isFile()||n.isSymbolicLink()||(a="special"),e._type=a,n=w(n),e._mode=n.mode,-1===n.size&&e._actualSize&&(n.size=e._actualSize),e._stat=n}return e._stat}async content(e){if(!1===e._content){const{fs:t,dir:i}=this;if("tree"===await e.type())e._content=void 0;else{const n=await t.read(`${i}/${e._fullpath}`);e._actualSize=n.length,e._stat&&-1===e._stat.size&&(e._stat.size=e._actualSize),e._content=new Uint8Array(n)}}return e._content}async oid(e){if(!1===e._oid){const{fs:t,gitdir:i,cache:n}=this;let a;await O.acquire({fs:t,gitdir:i,cache:n},(async function(t){const i=t.entriesMap.get(e._fullpath),n=await e.stat();!i||k(n,i)?void 0===await e.content()?a=void 0:(a=await _(be.wrap({type:"blob",object:await e.content()})),i&&a===i.oid&&n.mode===i.mode&&k(n,i)&&t.insert({filepath:e._fullpath,stats:n,oid:a})):a=i.oid})),e._oid=a}return e._oid}}function ft(){const e=Object.create(null);return Object.defineProperty(e,$,{value:function({fs:e,dir:t,gitdir:i,cache:n}){return new dt({fs:e,dir:t,gitdir:i,cache:n})}}),Object.freeze(e),e}const ht=void 0===Array.prototype.flat?e=>e.reduce(((e,t)=>e.concat(t)),[]):e=>e.flat();class mt{constructor(){this.value=null}consider(e){null!=e&&(null===this.value||e<this.value)&&(this.value=e)}reset(){this.value=null}}function*gt(e){const t=new mt;let i;const n=[],a=e.length;for(let i=0;i<a;i++)n[i]=e[i].next().value,void 0!==n[i]&&t.consider(n[i]);if(null!==t.value)for(;;){const s=[];i=t.value,t.reset();for(let o=0;o<a;o++)void 0!==n[o]&&n[o]===i?(s[o]=n[o],n[o]=e[o].next().value):s[o]=null,void 0!==n[o]&&t.consider(n[o]);if(yield s,null===t.value)return}}async function bt({fs:e,cache:t,dir:i,gitdir:n,trees:a,map:s=(async(e,t)=>t),reduce:o=(async(e,t)=>{const i=ht(t);return void 0!==e&&i.unshift(e),i}),iterate:r=((e,t)=>Promise.all([...t].map(e)))}){const c=a.map((a=>a[$]({fs:e,dir:i,gitdir:n,cache:t}))),u=new Array(c.length).fill("."),l=function(e,t){const i=t-0;return Array.from({length:i},((e,t)=>0+t))}(0,c.length),p=async e=>{const{entries:t,children:i}=await(async e=>{l.map((t=>{e[t]=e[t]&&new c[t].ConstructEntry(e[t])}));const t=await Promise.all(l.map((t=>e[t]?c[t].readdir(e[t]):[]))),i=t.map((e=>null===e?[]:e)).map((e=>e[Symbol.iterator]()));return{entries:e,children:gt(i)}})(e),n=t.find((e=>e&&e._fullpath))._fullpath,a=await s(n,t);if(null!==a){let e=await r(p,i);return e=e.filter((e=>void 0!==e)),o(a,e)}};return p(u)}async function vt(e,t){const i=await e.readdir(t);null==i?await e.rm(t):i.length?await Promise.all(i.map((i=>{const n=G(t,i);return e.lstat(n).then((t=>{if(t)return t.isDirectory()?vt(e,n):e.rm(n)}))}))).then((()=>e.rmdir(t))):await e.rmdir(t)}function xt(e){return"function"==typeof e}function yt(e){return function(e){return e&&"object"==typeof e}(t=(e=>{try{return e.readFile().catch((e=>e))}catch(e){return e}})(e))&&xt(t.then)&&xt(t.catch);var t}const wt=["readFile","writeFile","mkdir","rmdir","unlink","stat","lstat","readdir","readlink","symlink"];function Dt(e,t){if(yt(t))for(const i of wt)e[`_${i}`]=t[i].bind(t);else for(const i of wt)e[`_${i}`]=r(t[i].bind(t));yt(t)?t.rm?e._rm=t.rm.bind(t):t.rmdir.length>1?e._rm=t.rmdir.bind(t):e._rm=vt.bind(null,e):t.rm?e._rm=r(t.rm.bind(t)):t.rmdir.length>2?e._rm=r(t.rmdir.bind(t)):e._rm=vt.bind(null,e)}class _t{constructor(e){if(void 0!==e._original_unwrapped_fs)return e;const t=Object.getOwnPropertyDescriptor(e,"promises");t&&t.enumerable?Dt(this,e.promises):Dt(this,e),this._original_unwrapped_fs=e}async exists(e,t={}){try{return await this._stat(e),!0}catch(e){if("ENOENT"===e.code||"ENOTDIR"===e.code)return!1;throw console.log('Unhandled error in "FileSystem.exists()" function',e),e}}async read(e,t={}){try{let i=await this._readFile(e,t);return"string"!=typeof i&&(i=Buffer.from(i)),i}catch(e){return null}}async write(e,t,i={}){try{return void await this._writeFile(e,t,i)}catch(n){await this.mkdir(S(e)),await this._writeFile(e,t,i)}}async mkdir(e,t=!1){try{return void await this._mkdir(e)}catch(i){if(null===i)return;if("EEXIST"===i.code)return;if(t)throw i;if("ENOENT"===i.code){const t=S(e);if("."===t||"/"===t||t===e)throw i;await this.mkdir(t),await this.mkdir(e,!0)}}}async rm(e){try{await this._unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}async rmdir(e,t){try{t&&t.recursive?await this._rm(e,t):await this._rmdir(e)}catch(e){if("ENOENT"!==e.code)throw e}}async readdir(e){try{const t=await this._readdir(e);return t.sort(g),t}catch(e){return"ENOTDIR"===e.code?null:[]}}async readdirDeep(e){const t=await this._readdir(e);return(await Promise.all(t.map((async t=>{const i=e+"/"+t;return(await this._stat(i)).isDirectory()?this.readdirDeep(i):i})))).reduce(((e,t)=>e.concat(t)),[])}async lstat(e){try{return await this._lstat(e)}catch(e){if("ENOENT"===e.code)return null;throw e}}async readlink(e,t={encoding:"buffer"}){try{const i=await this._readlink(e,t);return Buffer.isBuffer(i)?i:Buffer.from(i)}catch(e){if("ENOENT"===e.code)return null;throw e}}async writelink(e,t){return this._symlink(t.toString("utf8"),e)}}function Et(e,t){if(void 0===t)throw new We(e)}async function Ft(e,t){return!(!e&&!t||(!e||t)&&(e||!t)&&("tree"===await e.type()&&"tree"===await t.type()||await e.type()===await t.type()&&await e.mode()===await t.mode()&&await e.oid()===await t.oid()))}async function kt({fs:e,dir:t,gitdir:i=G(t,".git"),commit:n="HEAD",cache:a={}}){try{Et("fs",e),Et("dir",t),Et("gitdir",i);const s=new _t(e),o=[pt({ref:n}),ft(),P()];let r=[];await O.acquire({fs:s,gitdir:i,cache:a},(async function(e){r=e.unmergedPaths}));const c=await bt({fs:s,cache:a,dir:t,gitdir:i,trees:o,map:async function(e,[t,i,n]){const a=!await Ft(i,n),s=r.includes(e),o=!await Ft(n,t);if(a||s)return t?{path:e,mode:await t.mode(),oid:await t.oid(),type:await t.type(),content:await t.content()}:void 0;if(o)return!1;throw new et(e)}});await O.acquire({fs:s,gitdir:i,cache:a},(async function(e){for(const i of c)if(!1!==i)if(i){if("blob"===i.type){const n=(new TextDecoder).decode(i.content);await s.write(`${t}/${i.path}`,n,{mode:i.mode}),e.insert({filepath:i.path,oid:i.oid,stage:0})}}else await s.rmdir(`${t}/${i.path}`,{recursive:!0}),e.delete({filepath:i.path})}))}catch(e){throw e.caller="git.abortMerge",e}}class Ct{static async isIgnored({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n}){if(".git"===A(n))return!0;if("."===n)return!1;let a="";const s=G(i,"info","exclude");await e.exists(s)&&(a=await e.read(s,"utf8"));const o=[{gitignore:G(t,".gitignore"),filepath:n}],r=n.split("/").filter(Boolean);for(let e=1;e<r.length;e++){const i=r.slice(0,e).join("/"),n=r.slice(e).join("/");o.push({gitignore:G(t,i,".gitignore"),filepath:n})}let u=!1;for(const t of o){let i;try{i=await e.read(t.gitignore,"utf8")}catch(e){if("NOENT"===e.code)continue}const n=c().add(a);n.add(i);const s=S(t.filepath);if("."!==s&&n.ignores(s))return!0;u=u?!n.test(t.filepath).unignored:n.test(t.filepath).ignored}return u}}let jt=null;async function Ot(e){return null===jt&&(jt=function(){try{return new CompressionStream("deflate").writable.close(),new Blob([]).stream().cancel(),!0}catch(e){return!1}}()),jt?async function(e){const t=new CompressionStream("deflate"),i=new Blob([e]).stream().pipeThrough(t);return new Uint8Array(await new Response(i).arrayBuffer())}(e):o.deflate(e)}async function At({fs:e,gitdir:t,type:i,object:n,format:a="content",oid:s,dryRun:o=!1}){return"deflated"!==a&&("wrapped"!==a&&(n=be.wrap({type:i,object:n})),s=await _(n),n=Buffer.from(await Ot(n))),o||await async function({fs:e,gitdir:t,object:i,format:n,oid:a}){if("deflated"!==n)throw new f("GitObjectStoreLoose expects objects to write to be in deflated format");const s=`${t}/objects/${a.slice(0,2)}/${a.slice(2)}`;await e.exists(s)||await e.write(s,i)}({fs:e,gitdir:t,object:n,format:"deflated",oid:s}),s}function St(e){let t;for(;~(t=e.indexOf(92));)e[t]=47;return e}async function Bt({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n,cache:a={},force:s=!1,parallel:o=!0}){try{Et("fs",e),Et("dir",t),Et("gitdir",i),Et("filepath",n);const r=new _t(e);await O.acquire({fs:r,gitdir:i,cache:a},(async e=>Rt({dir:t,gitdir:i,fs:r,filepath:n,index:e,force:s,parallel:o})))}catch(e){throw e.caller="git.add",e}}async function Rt({dir:e,gitdir:t,fs:i,filepath:n,index:a,force:s,parallel:o}){const r=(n=Array.isArray(n)?n:[n]).map((async n=>{if(!s&&await Ct.isIgnored({fs:i,dir:e,gitdir:t,filepath:n}))return;const r=await i.lstat(G(e,n));if(!r)throw new T(n);if(r.isDirectory()){const r=await i.readdir(G(e,n));if(o){const c=r.map((r=>Rt({dir:e,gitdir:t,fs:i,filepath:[G(n,r)],index:a,force:s,parallel:o})));await Promise.all(c)}else for(const c of r)await Rt({dir:e,gitdir:t,fs:i,filepath:[G(n,c)],index:a,force:s,parallel:o})}else{const s=r.isSymbolicLink()?await i.readlink(G(e,n)).then(St):await i.read(G(e,n));if(null===s)throw new T(n);const o=await At({fs:i,gitdir:t,type:"blob",object:s});a.insert({filepath:n,stats:r,oid:o})}})),c=await Promise.allSettled(r),u=c.filter((e=>"rejected"===e.status)).map((e=>e.reason));if(u.length>1)throw new Ge(u);if(1===u.length)throw u[0];return c.filter((e=>"fulfilled"===e.status&&e.value)).map((e=>e.value))}async function $t({fs:e,cache:t,onSign:i,gitdir:n,message:a,author:s,committer:o,signingKey:r,dryRun:c=!1,noUpdateBranch:u=!1,ref:l,parent:p,tree:d}){return l||(l=await pe.resolve({fs:e,gitdir:n,ref:"HEAD",depth:2})),O.acquire({fs:e,gitdir:n,cache:t,allowUnmerged:!1},(async function(t){const f=B(t.entries).get(".");if(d||(d=await Pt({fs:e,gitdir:n,inode:f,dryRun:c})),p)p=await Promise.all(p.map((t=>pe.resolve({fs:e,gitdir:n,ref:t}))));else try{p=[await pe.resolve({fs:e,gitdir:n,ref:l})]}catch(e){p=[]}let h=ct.from({tree:d,parent:p,author:s,committer:o,message:a});r&&(h=await ct.sign(h,i,r));const m=await At({fs:e,gitdir:n,type:"commit",object:h.toObject(),dryRun:c});return u||c||await pe.writeRef({fs:e,gitdir:n,ref:l,value:m}),m}))}async function Pt({fs:e,gitdir:t,inode:i,dryRun:n}){const a=i.children;for(const i of a)"tree"===i.type&&(i.metadata.mode="040000",i.metadata.oid=await Pt({fs:e,gitdir:t,inode:i,dryRun:n}));const s=a.map((e=>({mode:e.metadata.mode,path:e.basename,oid:e.metadata.oid,type:e.type}))),o=ge.from(s);return await At({fs:e,gitdir:t,type:"tree",object:o.toObject(),dryRun:n})}async function Tt({fs:e,cache:t,gitdir:i,oid:n,filepath:a}){if(a.startsWith("/"))throw new ze("leading-slash");if(a.endsWith("/"))throw new ze("trailing-slash");const s=n,o=await ut({fs:e,cache:t,gitdir:i,oid:n}),r=o.tree;if(""===a)n=o.oid;else{const o=a.split("/");n=await It({fs:e,cache:t,gitdir:i,tree:r,pathArray:o,oid:s,filepath:a})}return n}async function It({fs:e,cache:t,gitdir:i,tree:n,pathArray:a,oid:s,filepath:o}){const r=a.shift();for(const c of n)if(c.path===r){if(0===a.length)return c.oid;{const{type:r,object:u}=await Ae({fs:e,cache:t,gitdir:i,oid:c.oid});if("tree"!==r)throw new I(s,r,"tree",o);return It({fs:e,cache:t,gitdir:i,tree:n=ge.from(u),pathArray:a,oid:s,filepath:o})}}throw new T(`file or directory found at "${s}:${o}"`)}async function Mt({fs:e,cache:t,gitdir:i,oid:n,filepath:a}){void 0!==a&&(n=await Tt({fs:e,cache:t,gitdir:i,oid:n,filepath:a}));const{tree:s,oid:o}=await ut({fs:e,cache:t,gitdir:i,oid:n});return{oid:o,tree:s.entries()}}async function zt({fs:e,gitdir:t,tree:i}){const n=ge.from(i).toObject();return await At({fs:e,gitdir:t,type:"tree",object:n,format:"content"})}async function Nt({fs:e,gitdir:t,path:i}){return(await oe.get({fs:e,gitdir:t})).get(i)}async function Ut({fs:e,gitdir:t,author:i={}}){let{name:n,email:a,timestamp:s,timezoneOffset:o}=i;if(n=n||await Nt({fs:e,gitdir:t,path:"user.name"}),a=a||await Nt({fs:e,gitdir:t,path:"user.email"})||"",void 0!==n)return s=null!=s?s:Math.floor(Date.now()/1e3),o=null!=o?o:new Date(1e3*s).getTimezoneOffset(),{name:n,email:a,timestamp:s,timezoneOffset:o}}async function Lt({fs:e,gitdir:t,author:i,committer:n}){return n=Object.assign({},n||i),i&&(n.timestamp=n.timestamp||i.timestamp,n.timezoneOffset=n.timezoneOffset||i.timezoneOffset),await Ut({fs:e,gitdir:t,author:n})}async function qt({fs:e,onSign:t,dir:i,gitdir:n=G(i,".git"),ref:a="refs/notes/commits",oid:s,note:o,force:r,author:c,committer:u,signingKey:l,cache:p={}}){try{Et("fs",e),Et("gitdir",n),Et("oid",s),Et("note",o),l&&Et("onSign",t);const i=new _t(e),d=await Ut({fs:i,gitdir:n,author:c});if(!d)throw new He("author");const f=await Lt({fs:i,gitdir:n,author:d,committer:u});if(!f)throw new He("committer");return await async function({fs:e,cache:t,onSign:i,gitdir:n,ref:a,oid:s,note:o,force:r,author:c,committer:u,signingKey:l}){let p;try{p=await pe.resolve({gitdir:n,fs:e,ref:a})}catch(e){if(!(e instanceof T))throw e}let d=(await Mt({fs:e,cache:t,gitdir:n,oid:p||"4b825dc642cb6eb9a060e54bf8d69288fbee4904"})).tree;if(r)d=d.filter((e=>e.path!==s));else for(const e of d)if(e.path===s)throw new Se("note",s);"string"==typeof o&&(o=Buffer.from(o,"utf8"));const f=await At({fs:e,gitdir:n,type:"blob",object:o,format:"content"});d.push({mode:"100644",path:s,oid:f,type:"blob"});const h=await zt({fs:e,gitdir:n,tree:d});return await $t({fs:e,cache:t,onSign:i,gitdir:n,ref:a,tree:h,parent:p&&[p],message:"Note added by 'isomorphic-git addNote'\n",author:c,committer:u,signingKey:l})}({fs:new _t(i),cache:p,onSign:t,gitdir:n,ref:a,oid:s,note:o,force:r,author:d,committer:f,signingKey:l})}catch(e){throw e.caller="git.addNote",e}}async function Ht({fs:e,gitdir:t,remote:i,url:n,force:a}){if(i!==u.clean(i))throw new Ne(i,u.clean(i));const s=await oe.get({fs:e,gitdir:t});if(!a&&(await s.getSubsections("remote")).includes(i)&&n!==await s.get(`remote.${i}.url`))throw new Se("remote",i);await s.set(`remote.${i}.url`,n),await s.set(`remote.${i}.fetch`,`+refs/heads/*:refs/remotes/${i}/*`),await oe.save({fs:e,gitdir:t,config:s})}async function Wt({fs:e,dir:t,gitdir:i=G(t,".git"),remote:n,url:a,force:s=!1}){try{return Et("fs",e),Et("gitdir",i),Et("remote",n),Et("url",a),await Ht({fs:new _t(e),gitdir:i,remote:n,url:a,force:s})}catch(e){throw e.caller="git.addRemote",e}}async function Gt({fs:e,onSign:t,dir:i,gitdir:n=G(i,".git"),ref:a,tagger:s,message:o=a,gpgsig:r,object:c,signingKey:u,force:l=!1,cache:p={}}){try{Et("fs",e),Et("gitdir",n),Et("ref",a),u&&Et("onSign",t);const i=new _t(e),d=await Ut({fs:i,gitdir:n,author:s});if(!d)throw new He("tagger");return await async function({fs:e,cache:t,onSign:i,gitdir:n,ref:a,tagger:s,message:o=a,gpgsig:r,object:c,signingKey:u,force:l=!1}){if(a=a.startsWith("refs/tags/")?a:`refs/tags/${a}`,!l&&await pe.exists({fs:e,gitdir:n,ref:a}))throw new Se("tag",a);const p=await pe.resolve({fs:e,gitdir:n,ref:c||"HEAD"}),{type:d}=await Ae({fs:e,cache:t,gitdir:n,oid:p});let f=ot.from({object:p,type:d,tag:a.replace("refs/tags/",""),tagger:s,message:o,gpgsig:r});u&&(f=await ot.sign(f,i,u));const h=await At({fs:e,gitdir:n,type:"tag",object:f.toObject()});await pe.writeRef({fs:e,gitdir:n,ref:a,value:h})}({fs:i,cache:p,onSign:t,gitdir:n,ref:a,tagger:d,message:o,gpgsig:r,object:c,signingKey:u,force:l})}catch(e){throw e.caller="git.annotatedTag",e}}async function Vt({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n,object:a,checkout:s=!1,force:o=!1}){try{return Et("fs",e),Et("gitdir",i),Et("ref",n),await async function({fs:e,gitdir:t,ref:i,object:n,checkout:a=!1,force:s=!1}){if(i!==u.clean(i))throw new Ne(i,u.clean(i));const o=`refs/heads/${i}`;if(!s&&await pe.exists({fs:e,gitdir:t,ref:o}))throw new Se("branch",i,!1);let r;try{r=await pe.resolve({fs:e,gitdir:t,ref:n||"HEAD"})}catch(e){}r&&await pe.writeRef({fs:e,gitdir:t,ref:o,value:r}),a&&await pe.writeSymbolicRef({fs:e,gitdir:t,ref:"HEAD",value:o})}({fs:new _t(e),gitdir:i,ref:n,object:a,checkout:s,force:o})}catch(e){throw e.caller="git.branch",e}}const Kt=(e,t)=>"."===e||null==t||0===t.length||"."===t||(t.length>=e.length?t.startsWith(e):e.startsWith(t));async function Yt({fs:e,cache:t,onProgress:i,dir:n,gitdir:a,remote:s,ref:o,filepaths:r,noCheckout:c,noUpdateHead:u,dryRun:l,force:p,track:d=!0}){let h;try{h=await pe.resolve({fs:e,gitdir:a,ref:o})}catch(t){if("HEAD"===o)throw t;const i=`${s}/${o}`;if(h=await pe.resolve({fs:e,gitdir:a,ref:i}),d){const t=await oe.get({fs:e,gitdir:a});await t.set(`branch.${o}.remote`,s),await t.set(`branch.${o}.merge`,`refs/heads/${o}`),await oe.save({fs:e,gitdir:a,config:t})}await pe.writeRef({fs:e,gitdir:a,ref:`refs/heads/${o}`,value:h})}if(!c){let s;try{s=await async function({fs:e,cache:t,onProgress:i,dir:n,gitdir:a,ref:s,force:o,filepaths:r}){let c=0;return bt({fs:e,cache:t,dir:n,gitdir:a,trees:[pt({ref:s}),ft(),P()],map:async function(e,[t,n,a]){if("."!==e){if(r&&!r.some((t=>Kt(e,t))))return null;switch(i&&await i({phase:"Analyzing workdir",loaded:++c}),[!!a,!!t,!!n].map(Number).join("")){case"000":return;case"001":return o&&r&&r.includes(e)?["delete",e]:void 0;case"010":switch(await t.type()){case"tree":return["mkdir",e];case"blob":return["create",e,await t.oid(),await t.mode()];case"commit":return["mkdir-index",e,await t.oid(),await t.mode()];default:return["error",`new entry Unhandled type ${await t.type()}`]}case"011":switch(`${await t.type()}-${await n.type()}`){case"tree-tree":case"commit-tree":return;case"tree-blob":case"blob-tree":case"commit-blob":return["conflict",e];case"blob-blob":return await t.oid()!==await n.oid()?o?["update",e,await t.oid(),await t.mode(),await t.mode()!==await n.mode()]:["conflict",e]:await t.mode()!==await n.mode()?o?["update",e,await t.oid(),await t.mode(),!0]:["conflict",e]:["create-index",e,await t.oid(),await t.mode()];default:return["error",`new entry Unhandled type ${t.type}`]}case"100":return["delete-index",e];case"101":switch(await a.type()){case"tree":return["rmdir",e];case"blob":return await a.oid()!==await n.oid()?o?["delete",e]:["conflict",e]:["delete",e];case"commit":return["rmdir-index",e];default:return["error",`delete entry Unhandled type ${await a.type()}`]}case"110":case"111":switch(`${await a.type()}-${await t.type()}`){case"tree-tree":return;case"blob-blob":if(await a.oid()===await t.oid()&&await a.mode()===await t.mode()&&!o)return;if(n){if(await n.oid()!==await a.oid()&&await n.oid()!==await t.oid())return o?["update",e,await t.oid(),await t.mode(),await t.mode()!==await n.mode()]:["conflict",e]}else if(o)return["update",e,await t.oid(),await t.mode(),await t.mode()!==await a.mode()];return await t.mode()!==await a.mode()?["update",e,await t.oid(),await t.mode(),!0]:await t.oid()!==await a.oid()?["update",e,await t.oid(),await t.mode(),!1]:void 0;case"tree-blob":return["update-dir-to-blob",e,await t.oid()];case"blob-tree":return["update-blob-to-tree",e];case"commit-commit":return["mkdir-index",e,await t.oid(),await t.mode()];default:return["error",`update entry Unhandled type ${await a.type()}-${await t.type()}`]}}}},reduce:async function(e,t){return t=ht(t),e?e&&"rmdir"===e[0]?(t.push(e),t):(t.unshift(e),t):t}})}({fs:e,cache:t,onProgress:i,dir:n,gitdir:a,ref:o,force:p,filepaths:r})}catch(e){throw e instanceof T&&e.data.what===h?new $e(o,h):e}const c=s.filter((([e])=>"conflict"===e)).map((([e,t])=>t));if(c.length>0)throw new Re(c);const u=s.filter((([e])=>"error"===e)).map((([e,t])=>t));if(u.length>0)throw new f(u.join(", "));if(l)return;let d=0;const m=s.length;await O.acquire({fs:e,gitdir:a,cache:t},(async function(t){await Promise.all(s.filter((([e])=>"delete"===e||"delete-index"===e)).map((async function([a,s]){const o=`${n}/${s}`;"delete"===a&&await e.rm(o),t.delete({filepath:s}),i&&await i({phase:"Updating workdir",loaded:++d,total:m})})))})),await O.acquire({fs:e,gitdir:a,cache:t},(async function(t){for(const[a,o]of s)if("rmdir"===a||"rmdir-index"===a){const s=`${n}/${o}`;try{"rmdir-index"===a&&t.delete({filepath:o}),await e.rmdir(s),i&&await i({phase:"Updating workdir",loaded:++d,total:m})}catch(e){if("ENOTEMPTY"!==e.code)throw e;console.log(`Did not delete ${o} because directory is not empty`)}}})),await Promise.all(s.filter((([e])=>"mkdir"===e||"mkdir-index"===e)).map((async function([t,a]){const s=`${n}/${a}`;await e.mkdir(s),i&&await i({phase:"Updating workdir",loaded:++d,total:m})}))),await O.acquire({fs:e,gitdir:a,cache:t},(async function(o){await Promise.all(s.filter((([e])=>"create"===e||"create-index"===e||"update"===e||"mkdir-index"===e)).map((async function([s,r,c,u,l]){const p=`${n}/${r}`;try{if("create-index"!==s&&"mkdir-index"!==s){const{object:i}=await Ae({fs:e,cache:t,gitdir:a,oid:c});if(l&&await e.rm(p),33188===u)await e.write(p,i);else if(33261===u)await e.write(p,i,{mode:511});else{if(40960!==u)throw new f(`Invalid mode 0o${u.toString(8)} detected in blob ${c}`);await e.writelink(p,i)}}const n=await e.lstat(p);33261===u&&(n.mode=493),"mkdir-index"===s&&(n.mode=57344),o.insert({filepath:r,stats:n,oid:c}),i&&await i({phase:"Updating workdir",loaded:++d,total:m})}catch(e){console.log(e)}})))}))}if(!u){const t=await pe.expand({fs:e,gitdir:a,ref:o});t.startsWith("refs/heads")?await pe.writeSymbolicRef({fs:e,gitdir:a,ref:"HEAD",value:t}):await pe.writeRef({fs:e,gitdir:a,ref:"HEAD",value:h})}}async function Zt({fs:e,onProgress:t,dir:i,gitdir:n=G(i,".git"),remote:a="origin",ref:s,filepaths:o,noCheckout:r=!1,noUpdateHead:c=void 0===s,dryRun:u=!1,force:l=!1,track:p=!0,cache:d={}}){try{Et("fs",e),Et("dir",i),Et("gitdir",n);const f=s||"HEAD";return await Yt({fs:new _t(e),cache:d,onProgress:t,dir:i,gitdir:n,remote:a,ref:f,filepaths:o,noCheckout:r,noUpdateHead:c,dryRun:u,force:l,track:p})}catch(e){throw e.caller="git.checkout",e}}const Jt=new RegExp("^refs/(heads/|tags/|remotes/)?(.*)");function Qt(e){const t=Jt.exec(e);return t?"remotes/"===t[1]&&e.endsWith("/HEAD")?t[2].slice(0,-5):t[2]:e}async function Xt({fs:e,gitdir:t,fullname:i=!1,test:n=!1}){const a=await pe.resolve({fs:e,gitdir:t,ref:"HEAD",depth:2});if(n)try{await pe.resolve({fs:e,gitdir:t,ref:a})}catch(e){return}if(a.startsWith("refs/"))return i?a:Qt(a)}function ei({username:e="",password:t=""}){return`Basic ${Buffer.from(`${e}:${t}`).toString("base64")}`}async function ti(e,t){const i=we(e);for(;;){const{value:e,done:n}=await i.next();if(e&&await t(e),n)break}i.return&&i.return()}async function ii(e){let t=0;const i=[];await ti(e,(e=>{i.push(e),t+=e.byteLength}));const n=new Uint8Array(t);let a=0;for(const e of i)n.set(e,a),a+=e.byteLength;return n}function ni(e){let t=e.match(/^https?:\/\/([^/]+)@/);if(null==t)return{url:e,auth:{}};t=t[1];const[i,n]=t.split(":");return{url:e=e.replace(`${t}@`,""),auth:{username:i,password:n}}}function ai(e,t){const i=t.toString(16);return"0".repeat(e-i.length)+i}class si{static flush(){return Buffer.from("0000","utf8")}static delim(){return Buffer.from("0001","utf8")}static encode(e){"string"==typeof e&&(e=Buffer.from(e));const t=ai(4,e.length+4);return Buffer.concat([Buffer.from(t,"utf8"),e])}static streamReader(e){const t=new De(e);return async function(){try{let e=await t.read(4);if(null==e)return!0;if(e=parseInt(e.toString("utf8"),16),0===e)return null;if(1===e)return null;const i=await t.read(e-4);return null==i||i}catch(t){return e.error=t,!0}}}}async function oi(e){const t={};let i;for(;i=await e(),!0!==i;){if(null===i)continue;i=i.toString("utf8").replace(/\n$/,"");const e=i.indexOf("=");if(e>-1){const n=i.slice(0,e),a=i.slice(e+1);t[n]=a}else t[i]=!0}return{protocolVersion:2,capabilities2:t}}async function ri(e,{service:t}){const i=new Set,n=new Map,a=new Map,s=si.streamReader(e);let o=await s();for(;null===o;)o=await s();if(!0===o)throw new Pe;if(o.includes("version 2"))return oi(s);if(o.toString("utf8").replace(/\n$/,"")!==`# service=${t}`)throw new Ve(`# service=${t}\\n`,o.toString("utf8"));let r=await s();for(;null===r;)r=await s();if(!0===r)return{capabilities:i,refs:n,symrefs:a};if(r=r.toString("utf8"),r.includes("version 2"))return oi(s);const[c,u]=ci(r,"\0","\\x00");if(u.split(" ").map((e=>i.add(e))),"0000000000000000000000000000000000000000 capabilities^{}"!==c){const[e,t]=ci(c," "," ");for(n.set(t,e);;){const e=await s();if(!0===e)break;if(null!==e){const[t,i]=ci(e.toString("utf8")," "," ");n.set(i,t)}}}for(const e of i)if(e.startsWith("symref=")){const t=e.match(/symref=([^:]+):(.*)/);3===t.length&&a.set(t[1],t[2])}return{protocolVersion:1,capabilities:i,refs:n,symrefs:a}}function ci(e,t,i){const n=e.trim().split(t);if(2!==n.length)throw new Ve(`Two strings separated by '${i}'`,e.toString("utf8"));return n}const ui=(e,t)=>e.endsWith("?")?`${e}${t}`:`${e}/${t.replace(/^https?:\/\//,"")}`,li=(e,t)=>{(t.username||t.password)&&(e.Authorization=ei(t)),t.headers&&Object.assign(e,t.headers)},pi=async e=>{try{const t=Buffer.from(await ii(e.body)),i=t.toString("utf8");return{preview:i.length<256?i:i.slice(0,256)+"...",response:i,data:t}}catch(e){return{}}};class di{static async capabilities(){return["discover","connect"]}static async discover({http:e,onProgress:t,onAuth:i,onAuthSuccess:n,onAuthFailure:a,corsProxy:s,service:o,url:r,headers:c,protocolVersion:u}){let{url:l,auth:p}=ni(r);const d=s?ui(s,l):l;let f,h;(p.username||p.password)&&(c.Authorization=ei(p)),2===u&&(c["Git-Protocol"]="version=2");let m=!1;do{if(f=await e.request({onProgress:t,method:"GET",url:`${d}/info/refs?service=${o}`,headers:c}),h=!1,401===f.statusCode||203===f.statusCode){const e=m?a:i;if(e){if(p=await e(l,{...p,headers:{...c}}),p&&p.cancel)throw new Xe;p&&(li(c,p),m=!0,h=!0)}}else 200===f.statusCode&&m&&n&&await n(l,p)}while(h);if(200!==f.statusCode){const{response:e}=await pi(f);throw new Me(f.statusCode,f.statusMessage,e)}if(f.headers["content-type"]===`application/x-${o}-advertisement`){const e=await ri(f.body,{service:o});return e.auth=p,e}{const{preview:e,response:t,data:i}=await pi(f);try{const e=await ri([i],{service:o});return e.auth=p,e}catch(i){throw new Ze(e,t)}}}static async connect({http:e,onProgress:t,corsProxy:i,service:n,url:a,auth:s,body:o,headers:r}){const c=ni(a);c&&(a=c.url),i&&(a=ui(i,a)),r["content-type"]=`application/x-${n}-request`,r.accept=`application/x-${n}-result`,li(r,s);const u=await e.request({onProgress:t,method:"POST",url:`${a}/${n}`,body:o,headers:r});if(200!==u.statusCode){const{response:e}=pi(u);throw new Me(u.statusCode,u.statusMessage,e)}return u}}class fi{static getRemoteHelperFor({url:e}){const t=new Map;t.set("http",di),t.set("https",di);const i=function({url:e}){if(e.startsWith("git@"))return{transport:"ssh",address:e};const t=e.match(/(\w+)(:\/\/|::)(.*)/);return null!==t?"://"===t[2]?{transport:t[1],address:t[0]}:"::"===t[2]?{transport:t[1],address:t[3]}:void 0:void 0}({url:e});if(!i)throw new Qe(e);if(t.has(i.transport))return t.get(i.transport);throw new Je(e,i.transport,"ssh"===i.transport?function(e){return(e=e.replace(/^git@([^:]+):/,"https://$1/")).replace(/^ssh:\/\//,"https://")}(e):void 0)}}let hi=null;class mi{static async read({fs:e,gitdir:t}){null===hi&&(hi=new n);const i=G(t,"shallow"),a=new Set;return await hi.acquire(i,(async function(){const t=await e.read(i,{encoding:"utf8"});return null===t||""===t.trim()?a:void t.trim().split("\n").map((e=>a.add(e)))})),a}static async write({fs:e,gitdir:t,oids:i}){null===hi&&(hi=new n);const a=G(t,"shallow");if(i.size>0){const t=[...i].join("\n")+"\n";await hi.acquire(a,(async function(){await e.write(a,t,{encoding:"utf8"})}))}else await hi.acquire(a,(async function(){await e.rm(a)}))}}async function gi({fs:e,cache:t,gitdir:i,oid:n,format:a="content"}){let s=await async function({fs:e,gitdir:t,oid:i}){const n=`objects/${i.slice(0,2)}/${i.slice(2)}`;return e.exists(`${t}/${n}`)}({fs:e,gitdir:i,oid:n});return s||(s=await async function({fs:e,cache:t,gitdir:i,oid:n,getExternalRefDelta:a}){let s=await e.readdir(G(i,"objects/pack"));s=s.filter((e=>e.endsWith(".idx")));for(const o of s){const s=`${i}/objects/pack/${o}`,r=await Oe({fs:e,cache:t,filename:s,getExternalRefDelta:a});if(r.error)throw new f(r.error);if(r.offsets.has(n))return!0}return!1}({fs:e,cache:t,gitdir:i,oid:n,getExternalRefDelta:n=>Ae({fs:e,cache:t,gitdir:i,oid:n})})),s}function bi(e,t){const i=e.map((e=>e.split("=",1)[0]));return t.filter((e=>{const t=e.split("=",1)[0];return i.includes(t)}))}const vi={name:"isomorphic-git",version:"1.25.7",agent:"git/isomorphic-git@1.25.7"};class xi{constructor(){this._queue=[]}write(e){if(this._ended)throw Error("You cannot write to a FIFO that has already been ended!");if(this._waiting){const t=this._waiting;this._waiting=null,t({value:e})}else this._queue.push(e)}end(){if(this._ended=!0,this._waiting){const e=this._waiting;this._waiting=null,e({done:!0})}}destroy(e){this.error=e,this.end()}async next(){if(this._queue.length>0)return{value:this._queue.shift()};if(this._ended)return{done:!0};if(this._waiting)throw Error("You cannot call read until the previous call to read has returned!");return new Promise((e=>{this._waiting=e}))}}function yi(e){const t=e.indexOf("\r"),i=e.indexOf("\n");return-1===t&&-1===i?-1:-1===t?i+1:-1===i?t+1:i===t+1?i+1:Math.min(t,i)+1}function wi(e){const t=new xi;let i="";return(async()=>{await ti(e,(e=>{for(e=e.toString("utf8"),i+=e;;){const e=yi(i);if(-1===e)break;t.write(i.slice(0,e)),i=i.slice(e)}})),i.length>0&&t.write(i),t.end()})(),t}class Di{static demux(e){const t=si.streamReader(e),i=new xi,n=new xi,a=new xi,s=async function(){const o=await t();if(null===o)return s();if(!0===o)return i.end(),a.end(),void(e.error?n.destroy(e.error):n.end());switch(o[0]){case 1:n.write(o.slice(1));break;case 2:a.write(o.slice(1));break;case 3:{const e=o.slice(1);return a.write(e),i.end(),a.end(),void n.destroy(new Error(e.toString("utf8")))}default:i.write(o)}s()};return s(),{packetlines:i,packfile:n,progress:a}}}async function _i({fs:e,cache:t,http:i,onProgress:n,onMessage:a,onAuth:s,onAuthSuccess:o,onAuthFailure:r,gitdir:c,ref:u,remoteRef:l,remote:p,url:d,corsProxy:f,depth:h=null,since:m=null,exclude:g=[],relative:b=!1,tags:v=!1,singleBranch:x=!1,headers:y={},prune:w=!1,pruneTags:D=!1}){const _=u||await Xt({fs:e,gitdir:c,test:!0}),E=await oe.get({fs:e,gitdir:c}),F=p||_&&await E.get(`branch.${_}.remote`)||"origin",k=d||await E.get(`remote.${F}.url`);if(void 0===k)throw new We("remote OR url");const C=l||_&&await E.get(`branch.${_}.merge`)||u||"HEAD";void 0===f&&(f=await E.get("http.corsProxy"));const j=fi.getRemoteHelperFor({url:k}),O=await j.discover({http:i,onAuth:s,onAuthSuccess:o,onAuthFailure:r,corsProxy:f,service:"git-upload-pack",url:k,headers:y,protocolVersion:1}),A=O.auth,S=O.refs;if(0===S.size)return{defaultBranch:null,fetchHead:null,fetchHeadDescription:null};if(null!==h&&!O.capabilities.has("shallow"))throw new Ye("shallow","depth");if(null!==m&&!O.capabilities.has("deepen-since"))throw new Ye("deepen-since","since");if(g.length>0&&!O.capabilities.has("deepen-not"))throw new Ye("deepen-not","exclude");if(!0===b&&!O.capabilities.has("deepen-relative"))throw new Ye("deepen-relative","relative");const{oid:B,fullref:R}=pe.resolveAgainstMap({ref:C,map:S});for(const e of S.keys())e===R||"HEAD"===e||e.startsWith("refs/heads/")||v&&e.startsWith("refs/tags/")||S.delete(e);const $=bi([...O.capabilities],["multi_ack_detailed","no-done","side-band-64k","ofs-delta",`agent=${vi.agent}`]);b&&$.push("deepen-relative");const P=x?[B]:S.values(),T=x?[_]:await pe.listRefs({fs:e,gitdir:c,filepath:"refs"});let I=[];for(let i of T)try{i=await pe.expand({fs:e,gitdir:c,ref:i});const n=await pe.resolve({fs:e,gitdir:c,ref:i});await gi({fs:e,cache:t,gitdir:c,oid:n})&&I.push(n)}catch(e){}I=[...new Set(I)];const z=await mi.read({fs:e,gitdir:c}),N=function({capabilities:e=[],wants:t=[],haves:i=[],shallows:n=[],depth:a=null,since:s=null,exclude:o=[]}){const r=[];t=[...new Set(t)];let c=` ${e.join(" ")}`;for(const e of t)r.push(si.encode(`want ${e}${c}\n`)),c="";for(const e of n)r.push(si.encode(`shallow ${e}\n`));null!==a&&r.push(si.encode(`deepen ${a}\n`)),null!==s&&r.push(si.encode(`deepen-since ${Math.floor(s.valueOf()/1e3)}\n`));for(const e of o)r.push(si.encode(`deepen-not ${e}\n`));r.push(si.flush());for(const e of i)r.push(si.encode(`have ${e}\n`));return r.push(si.encode("done\n")),r}({capabilities:$,wants:P,haves:I,shallows:O.capabilities.has("shallow")?[...z]:[],depth:h,since:m,exclude:g}),U=Buffer.from(await ii(N)),L=await j.connect({http:i,onProgress:n,corsProxy:f,service:"git-upload-pack",url:k,auth:A,body:[U],headers:y}),q=await async function(e){const{packetlines:t,packfile:i,progress:n}=Di.demux(e),a=[],s=[],o=[];let r=!1,c=!1;return new Promise(((u,l)=>{ti(t,(t=>{const p=t.toString("utf8").trim();if(p.startsWith("shallow")){const e=p.slice(-41).trim();40!==e.length&&l(new M(e)),a.push(e)}else if(p.startsWith("unshallow")){const e=p.slice(-41).trim();40!==e.length&&l(new M(e)),s.push(e)}else if(p.startsWith("ACK")){const[,e,t]=p.split(" ");o.push({oid:e,status:t}),t||(c=!0)}else p.startsWith("NAK")?(r=!0,c=!0):(c=!0,r=!0);c&&(e.error?l(e.error):u({shallows:a,unshallows:s,acks:o,nak:r,packfile:i,progress:n}))})).finally((()=>{c||(e.error?l(e.error):u({shallows:a,unshallows:s,acks:o,nak:r,packfile:i,progress:n}))}))}))}(L.body);L.headers&&(q.headers=L.headers);for(const i of q.shallows)if(!z.has(i))try{const{object:n}=await Ae({fs:e,cache:t,gitdir:c,oid:i}),a=new ct(n),s=await Promise.all(a.headers().parent.map((i=>gi({fs:e,cache:t,gitdir:c,oid:i}))));0===s.length||s.every((e=>e))||z.add(i)}catch(e){z.add(i)}for(const e of q.unshallows)z.delete(e);if(await mi.write({fs:e,gitdir:c,oids:z}),x){const t=new Map([[R,B]]),i=new Map;let n=10,a=R;for(;n--;){const e=O.symrefs.get(a);if(void 0===e)break;i.set(a,e),a=e}const s=S.get(a);s&&t.set(a,s);const{pruned:o}=await pe.updateRemoteRefs({fs:e,gitdir:c,remote:F,refs:t,symrefs:i,tags:v,prune:w});w&&(q.pruned=o)}else{const{pruned:t}=await pe.updateRemoteRefs({fs:e,gitdir:c,remote:F,refs:S,symrefs:O.symrefs,tags:v,prune:w,pruneTags:D});w&&(q.pruned=t)}if(q.HEAD=O.symrefs.get("HEAD"),void 0===q.HEAD){const{oid:e}=pe.resolveAgainstMap({ref:"HEAD",map:S});for(const[t,i]of S.entries())if("HEAD"!==t&&i===e){q.HEAD=t;break}}const H=R.startsWith("refs/tags")?"tag":"branch";q.FETCH_HEAD={oid:B,description:`${H} '${Qt(R)}' of ${k}`},(n||a)&&ti(wi(q.progress),(async e=>{if(a&&await a(e),n){const t=e.match(/([^:]*).*\((\d+?)\/(\d+?)\)/);t&&await n({phase:t[1].trim(),loaded:parseInt(t[2],10),total:parseInt(t[3],10)})}}));const W=Buffer.from(await ii(q.packfile));if(L.body.error)throw L.body.error;const V=W.slice(-20).toString("hex"),K={defaultBranch:q.HEAD,fetchHead:q.FETCH_HEAD.oid,fetchHeadDescription:q.FETCH_HEAD.description};if(q.headers&&(K.headers=q.headers),w&&(K.pruned=q.pruned),""!==V&&"5041434b0000000200000000"!==W.slice(0,12).toString("hex")){K.packfile=`objects/pack/pack-${V}.pack`;const i=G(c,K.packfile);await e.write(i,W);const a=i=>Ae({fs:e,cache:t,gitdir:c,oid:i}),s=await Ce.fromPack({pack:W,getExternalRefDelta:a,onProgress:n});await e.write(i.replace(/\.pack$/,".idx"),await s.toBuffer())}return K}async function Ei({fs:e,bare:t=!1,dir:i,gitdir:n=(t?i:G(i,".git")),defaultBranch:a="master"}){if(await e.exists(n+"/config"))return;let s=["hooks","info","objects/info","objects/pack","refs/heads","refs/tags"];s=s.map((e=>n+"/"+e));for(const t of s)await e.mkdir(t);await e.write(n+"/config",`[core]\n\trepositoryformatversion = 0\n\tfilemode = false\n\tbare = ${t}\n`+(t?"":"\tlogallrefupdates = true\n")+"\tsymlinks = false\n\tignorecase = true\n"),await e.write(n+"/HEAD",`ref: refs/heads/${a}\n`)}async function Fi({fs:e,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c=G(r,".git"),url:u,corsProxy:l,ref:p,remote:d="origin",depth:f,since:h,exclude:m=[],relative:g=!1,singleBranch:b=!1,noCheckout:v=!1,noTags:x=!1,headers:y={},cache:w={}}){try{return Et("fs",e),Et("http",t),Et("gitdir",c),v||Et("dir",r),Et("url",u),await async function({fs:e,cache:t,http:i,onProgress:n,onMessage:a,onAuth:s,onAuthSuccess:o,onAuthFailure:r,dir:c,gitdir:u,url:l,corsProxy:p,ref:d,remote:f,depth:h,since:m,exclude:g,relative:b,singleBranch:v,noCheckout:x,noTags:y,headers:w}){try{if(await Ei({fs:e,gitdir:u}),await Ht({fs:e,gitdir:u,remote:f,url:l,force:!1}),p){const t=await oe.get({fs:e,gitdir:u});await t.set("http.corsProxy",p),await oe.save({fs:e,gitdir:u,config:t})}const{defaultBranch:D,fetchHead:_}=await _i({fs:e,cache:t,http:i,onProgress:n,onMessage:a,onAuth:s,onAuthSuccess:o,onAuthFailure:r,gitdir:u,ref:d,remote:f,corsProxy:p,depth:h,since:m,exclude:g,relative:b,singleBranch:v,headers:w,tags:!y});if(null===_)return;d=(d=d||D).replace("refs/heads/",""),await Yt({fs:e,cache:t,onProgress:n,dir:c,gitdir:u,ref:d,remote:f,noCheckout:x})}catch(t){throw await e.rmdir(u,{recursive:!0,maxRetries:10}).catch((()=>{})),t}}({fs:new _t(e),cache:w,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c,url:u,corsProxy:l,ref:p,remote:d,depth:f,since:h,exclude:m,relative:g,singleBranch:b,noCheckout:v,noTags:x,headers:y})}catch(e){throw e.caller="git.clone",e}}async function ki({fs:e,onSign:t,dir:i,gitdir:n=G(i,".git"),message:a,author:s,committer:o,signingKey:r,dryRun:c=!1,noUpdateBranch:u=!1,ref:l,parent:p,tree:d,cache:f={}}){try{Et("fs",e),Et("message",a),r&&Et("onSign",t);const i=new _t(e),h=await Ut({fs:i,gitdir:n,author:s});if(!h)throw new He("author");const m=await Lt({fs:i,gitdir:n,author:h,committer:o});if(!m)throw new He("committer");return await $t({fs:i,cache:f,onSign:t,gitdir:n,message:a,author:h,committer:m,signingKey:r,dryRun:c,noUpdateBranch:u,ref:l,parent:p,tree:d})}catch(e){throw e.caller="git.commit",e}}async function Ci({fs:e,dir:t,gitdir:i=G(t,".git"),fullname:n=!1,test:a=!1}){try{return Et("fs",e),Et("gitdir",i),await Xt({fs:new _t(e),gitdir:i,fullname:n,test:a})}catch(e){throw e.caller="git.currentBranch",e}}async function ji({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n}){try{return Et("fs",e),Et("ref",n),await async function({fs:e,gitdir:t,ref:i}){if(i=i.startsWith("refs/heads/")?i:`refs/heads/${i}`,!await pe.exists({fs:e,gitdir:t,ref:i}))throw new T(i);const n=await pe.expand({fs:e,gitdir:t,ref:i});if(n===await Xt({fs:e,gitdir:t,fullname:!0})){const i=await pe.resolve({fs:e,gitdir:t,ref:n});await pe.writeRef({fs:e,gitdir:t,ref:"HEAD",value:i})}await pe.deleteRef({fs:e,gitdir:t,ref:n})}({fs:new _t(e),gitdir:i,ref:n})}catch(e){throw e.caller="git.deleteBranch",e}}async function Oi({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n}){try{Et("fs",e),Et("ref",n),await pe.deleteRef({fs:new _t(e),gitdir:i,ref:n})}catch(e){throw e.caller="git.deleteRef",e}}async function Ai({fs:e,dir:t,gitdir:i=G(t,".git"),remote:n}){try{return Et("fs",e),Et("remote",n),await async function({fs:e,gitdir:t,remote:i}){const n=await oe.get({fs:e,gitdir:t});await n.deleteSection("remote",i),await oe.save({fs:e,gitdir:t,config:n})}({fs:new _t(e),gitdir:i,remote:n})}catch(e){throw e.caller="git.deleteRemote",e}}async function Si({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n}){try{return Et("fs",e),Et("ref",n),await async function({fs:e,gitdir:t,ref:i}){i=i.startsWith("refs/tags/")?i:`refs/tags/${i}`,await pe.deleteRef({fs:e,gitdir:t,ref:i})}({fs:new _t(e),gitdir:i,ref:n})}catch(e){throw e.caller="git.deleteTag",e}}async function Bi({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,cache:a={}}){try{return Et("fs",e),Et("gitdir",i),Et("oid",n),await async function({fs:e,cache:t,gitdir:i,oid:n}){const a=await async function({fs:e,gitdir:t,oid:i}){const n=i.slice(0,2);return(await e.readdir(`${t}/objects/${n}`)).map((e=>`${n}${e}`)).filter((e=>e.startsWith(i)))}({fs:e,gitdir:i,oid:n}),s=await async function({fs:e,cache:t,gitdir:i,oid:n,getExternalRefDelta:a}){const s=[];let o=await e.readdir(G(i,"objects/pack"));o=o.filter((e=>e.endsWith(".idx")));for(const r of o){const o=`${i}/objects/pack/${r}`,c=await Oe({fs:e,cache:t,filename:o,getExternalRefDelta:a});if(c.error)throw new f(c.error);for(const e of c.offsets.keys())e.startsWith(n)&&s.push(e)}return s}({fs:e,cache:t,gitdir:i,oid:n,getExternalRefDelta:n=>Ae({fs:e,cache:t,gitdir:i,oid:n})});for(const e of s)-1===a.indexOf(e)&&a.push(e);if(1===a.length)return a[0];if(a.length>1)throw new Be("oids",n,a);throw new T(`an object matching "${n}"`)}({fs:new _t(e),cache:a,gitdir:i,oid:n})}catch(e){throw e.caller="git.expandOid",e}}async function Ri({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n}){try{return Et("fs",e),Et("gitdir",i),Et("ref",n),await pe.expand({fs:new _t(e),gitdir:i,ref:n})}catch(e){throw e.caller="git.expandRef",e}}async function $i({fs:e,cache:t,gitdir:i,oids:n}){const a={},s=n.length;let o=n.map(((e,t)=>({index:t,oid:e})));for(;o.length;){const n=new Set;for(const{oid:e,index:t}of o)a[e]||(a[e]=new Set),a[e].add(t),a[e].size===s&&n.add(e);if(n.size>0)return[...n];const r=new Map;for(const{oid:n,index:s}of o)try{const{object:o}=await Ae({fs:e,cache:t,gitdir:i,oid:n}),c=ct.from(o),{parent:u}=c.parseHeaders();for(const e of u)a[e]&&a[e].has(s)||r.set(e+":"+s,{oid:e,index:s})}catch(e){}o=Array.from(r.values())}return[]}const Pi=/^.*(\r?\n|$)/gm;function Ti({branches:e,contents:t}){const i=e[1],n=e[2],a=t[0],s=t[1],o=t[2],r=s.match(Pi),c=a.match(Pi),u=o.match(Pi),p=l(r,c,u);let d="",f=!0;for(const e of p)e.ok&&(d+=e.ok.join("")),e.conflict&&(f=!1,d+=`${"<".repeat(7)} ${i}\n`,d+=e.conflict.a.join(""),d+=`${"=".repeat(7)}\n`,d+=e.conflict.b.join(""),d+=`${">".repeat(7)} ${n}\n`);return{cleanMerge:f,mergedText:d}}async function Ii({fs:e,cache:t,dir:i,gitdir:n,ours:a,theirs:s,fastForward:o=!0,fastForwardOnly:r=!1,dryRun:c=!1,noUpdateBranch:u=!1,abortOnConflict:l=!0,message:p,author:d,committer:f,signingKey:h,onSign:m,mergeDriver:g}){void 0===a&&(a=await Xt({fs:e,gitdir:n,fullname:!0})),a=await pe.expand({fs:e,gitdir:n,ref:a}),s=await pe.expand({fs:e,gitdir:n,ref:s});const b=await pe.resolve({fs:e,gitdir:n,ref:a}),v=await pe.resolve({fs:e,gitdir:n,ref:s}),x=await $i({fs:e,cache:t,gitdir:n,oids:[b,v]});if(1!==x.length)throw new Le;const y=x[0];if(y===v)return{oid:b,alreadyMerged:!0};if(o&&y===b)return c||u||await pe.writeRef({fs:e,gitdir:n,ref:a,value:v}),{oid:v,fastForward:!0};{if(r)throw new Te;const o=await O.acquire({fs:e,gitdir:n,cache:t,allowUnmerged:!1},(async o=>async function({fs:e,cache:t,dir:i,gitdir:n=G(i,".git"),index:a,ourOid:s,baseOid:o,theirOid:r,ourName:c="ours",baseName:u="base",theirName:l="theirs",dryRun:p=!1,abortOnConflict:d=!0,mergeDriver:f}){const h=pt({ref:s}),m=pt({ref:o}),g=pt({ref:r}),b=[],v=[],x=[],y=[],w=await bt({fs:e,cache:t,dir:i,gitdir:n,trees:[h,m,g],map:async function(t,[i,s,o]){const r=A(t);switch(`${await Ft(i,s)}-${await Ft(o,s)}`){case"false-false":return{mode:await s.mode(),path:r,oid:await s.oid(),type:await s.type()};case"false-true":return o?{mode:await o.mode(),path:r,oid:await o.oid(),type:await o.type()}:void 0;case"true-false":return i?{mode:await i.mode(),path:r,oid:await i.oid(),type:await i.type()}:void 0;case"true-true":if(i&&s&&o&&"blob"===await i.type()&&"blob"===await s.type()&&"blob"===await o.type())return async function({fs:e,gitdir:t,path:i,ours:n,base:a,theirs:s,ourName:o,theirName:r,baseName:c,dryRun:u,mergeDriver:l=Ti}){const p="blob",d=await a.mode()===await n.mode()?await s.mode():await n.mode();if(await n.oid()===await s.oid())return{cleanMerge:!0,mergeResult:{mode:d,path:i,oid:await n.oid(),type:p}};if(await n.oid()===await a.oid())return{cleanMerge:!0,mergeResult:{mode:d,path:i,oid:await s.oid(),type:p}};if(await s.oid()===await a.oid())return{cleanMerge:!0,mergeResult:{mode:d,path:i,oid:await n.oid(),type:p}};const f=Buffer.from(await n.content()).toString("utf8"),h=Buffer.from(await a.content()).toString("utf8"),m=Buffer.from(await s.content()).toString("utf8"),{mergedText:g,cleanMerge:b}=await l({branches:[c,o,r],contents:[h,f,m],path:i});return{cleanMerge:b,mergeResult:{mode:d,path:i,oid:await At({fs:e,gitdir:t,type:"blob",object:Buffer.from(g,"utf8"),dryRun:u}),type:p}}}({fs:e,gitdir:n,path:r,ours:i,base:s,theirs:o,ourName:c,baseName:u,theirName:l,mergeDriver:f}).then((async e=>{if(e.cleanMerge)d||a.insert({filepath:t,oid:e.mergeResult.oid,stage:0});else if(b.push(t),v.push(t),!d){const e=await s.oid(),n=await i.oid(),r=await o.oid();a.delete({filepath:t}),a.insert({filepath:t,oid:e,stage:1}),a.insert({filepath:t,oid:n,stage:2}),a.insert({filepath:t,oid:r,stage:3})}return e.mergeResult}));if(s&&!i&&o&&"blob"===await s.type()&&"blob"===await o.type()){if(b.push(t),x.push(t),!d){const e=await s.oid(),i=await o.oid();a.delete({filepath:t}),a.insert({filepath:t,oid:e,stage:1}),a.insert({filepath:t,oid:i,stage:3})}return{mode:await o.mode(),oid:await o.oid(),type:"blob",path:r}}if(s&&i&&!o&&"blob"===await s.type()&&"blob"===await i.type()){if(b.push(t),y.push(t),!d){const e=await s.oid(),n=await i.oid();a.delete({filepath:t}),a.insert({filepath:t,oid:e,stage:1}),a.insert({filepath:t,oid:n,stage:2})}return{mode:await i.mode(),oid:await i.oid(),type:"blob",path:r}}if(s&&!i&&!o&&"blob"===await s.type())return;throw new Le}},reduce:0===b.length||i&&!d?async(t,i)=>{const a=i.filter(Boolean);if(t&&(!t||"tree"!==t.type||0!==a.length)){if(a.length>0){const i=new ge(a).toObject(),s=await At({fs:e,gitdir:n,type:"tree",object:i,dryRun:p});t.oid=s}return t}}:void 0});return 0!==b.length?(i&&!d&&await bt({fs:e,cache:t,dir:i,gitdir:n,trees:[pt({ref:w.oid})],map:async function(t,[n]){const a=`${i}/${t}`;if("blob"===await n.type()){const t=await n.mode(),i=(new TextDecoder).decode(await n.content());await e.write(a,i,{mode:t})}return!0}}),new qe(b,v,x,y)):w.oid}({fs:e,cache:t,dir:i,gitdir:n,index:o,ourOid:b,theirOid:v,baseOid:y,ourName:Qt(a),baseName:"base",theirName:Qt(s),dryRun:c,abortOnConflict:l,mergeDriver:g})));if(o instanceof qe)throw o;return p||(p=`Merge branch '${Qt(s)}' into ${Qt(a)}`),{oid:await $t({fs:e,cache:t,gitdir:n,message:p,ref:a,tree:o,parent:[b,v],author:d,committer:f,signingKey:h,onSign:m,dryRun:c,noUpdateBranch:u}),tree:o,mergeCommit:!0}}}async function Mi({fs:e,cache:t,http:i,onProgress:n,onMessage:a,onAuth:s,onAuthSuccess:o,onAuthFailure:r,dir:c,gitdir:u,ref:l,url:p,remote:d,remoteRef:f,prune:h,pruneTags:m,fastForward:g,fastForwardOnly:b,corsProxy:v,singleBranch:x,headers:y,author:w,committer:D,signingKey:_}){try{if(!l){const t=await Xt({fs:e,gitdir:u});if(!t)throw new We("ref");l=t}const{fetchHead:E,fetchHeadDescription:F}=await _i({fs:e,cache:t,http:i,onProgress:n,onMessage:a,onAuth:s,onAuthSuccess:o,onAuthFailure:r,gitdir:u,corsProxy:v,ref:l,url:p,remote:d,remoteRef:f,singleBranch:x,headers:y,prune:h,pruneTags:m});await Ii({fs:e,cache:t,gitdir:u,ours:l,theirs:E,fastForward:g,fastForwardOnly:b,message:`Merge ${F}`,author:w,committer:D,signingKey:_,dryRun:!1,noUpdateBranch:!1}),await Yt({fs:e,cache:t,onProgress:n,dir:c,gitdir:u,ref:l,remote:d,noCheckout:!1})}catch(e){throw e.caller="git.pull",e}}async function zi({fs:e,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c=G(r,".git"),ref:u,url:l,remote:p,remoteRef:d,corsProxy:f,singleBranch:h,headers:m={},cache:g={}}){try{Et("fs",e),Et("http",t),Et("gitdir",c);const b={name:"",email:"",timestamp:Date.now(),timezoneOffset:0};return await Mi({fs:new _t(e),cache:g,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c,ref:u,url:l,remote:p,remoteRef:d,fastForwardOnly:!0,corsProxy:f,singleBranch:h,headers:m,author:b,committer:b})}catch(e){throw e.caller="git.fastForward",e}}async function Ni({fs:e,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c=G(r,".git"),ref:u,remote:l,remoteRef:p,url:d,corsProxy:f,depth:h=null,since:m=null,exclude:g=[],relative:b=!1,tags:v=!1,singleBranch:x=!1,headers:y={},prune:w=!1,pruneTags:D=!1,cache:_={}}){try{return Et("fs",e),Et("http",t),Et("gitdir",c),await _i({fs:new _t(e),cache:_,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,gitdir:c,ref:u,remote:l,remoteRef:p,url:d,corsProxy:f,depth:h,since:m,exclude:g,relative:b,tags:v,singleBranch:x,headers:y,prune:w,pruneTags:D})}catch(e){throw e.caller="git.fetch",e}}async function Ui({fs:e,dir:t,gitdir:i=G(t,".git"),oids:n,cache:a={}}){try{return Et("fs",e),Et("gitdir",i),Et("oids",n),await $i({fs:new _t(e),cache:a,gitdir:i,oids:n})}catch(e){throw e.caller="git.findMergeBase",e}}async function Li({fs:e,filepath:t}){if(await e.exists(G(t,".git")))return t;{const i=S(t);if(i===t)throw new T(`git root for ${t}`);return Li({fs:e,filepath:i})}}async function qi({fs:e,filepath:t}){try{return Et("fs",e),Et("filepath",t),await Li({fs:new _t(e),filepath:t})}catch(e){throw e.caller="git.findRoot",e}}async function Hi({fs:e,dir:t,gitdir:i=G(t,".git"),path:n}){try{return Et("fs",e),Et("gitdir",i),Et("path",n),await Nt({fs:new _t(e),gitdir:i,path:n})}catch(e){throw e.caller="git.getConfig",e}}async function Wi({fs:e,dir:t,gitdir:i=G(t,".git"),path:n}){try{return Et("fs",e),Et("gitdir",i),Et("path",n),await async function({fs:e,gitdir:t,path:i}){return(await oe.get({fs:e,gitdir:t})).getall(i)}({fs:new _t(e),gitdir:i,path:n})}catch(e){throw e.caller="git.getConfigAll",e}}async function Gi({http:e,onAuth:t,onAuthSuccess:i,onAuthFailure:n,corsProxy:a,url:s,headers:o={},forPush:r=!1}){try{Et("http",e),Et("url",s);const c=fi.getRemoteHelperFor({url:s}),u=await c.discover({http:e,onAuth:t,onAuthSuccess:i,onAuthFailure:n,corsProxy:a,service:r?"git-receive-pack":"git-upload-pack",url:s,headers:o,protocolVersion:1}),l={capabilities:[...u.capabilities]};for(const[e,t]of u.refs){const i=e.split("/"),n=i.pop();let a=l;for(const e of i)a[e]=a[e]||{},a=a[e];a[n]=t}for(const[e,t]of u.symrefs){const i=e.split("/"),n=i.pop();let a=l;for(const e of i)a[e]=a[e]||{},a=a[e];a[n]=t}return l}catch(e){throw e.caller="git.getRemoteInfo",e}}function Vi(e,t,i,n){const a=[];for(const[s,o]of e.refs){if(t&&!s.startsWith(t))continue;if(s.endsWith("^{}")){if(n){const e=s.replace("^{}",""),t=a[a.length-1],i=t.ref===e?t:a.find((t=>t.ref===e));if(void 0===i)throw new Error("I did not expect this to happen");i.peeled=o}continue}const r={ref:s,oid:o};i&&e.symrefs.has(s)&&(r.target=e.symrefs.get(s)),a.push(r)}return a}async function Ki({http:e,onAuth:t,onAuthSuccess:i,onAuthFailure:n,corsProxy:a,url:s,headers:o={},forPush:r=!1,protocolVersion:c=2}){try{Et("http",e),Et("url",s);const u=fi.getRemoteHelperFor({url:s}),l=await u.discover({http:e,onAuth:t,onAuthSuccess:i,onAuthFailure:n,corsProxy:a,service:r?"git-receive-pack":"git-upload-pack",url:s,headers:o,protocolVersion:c});if(2===l.protocolVersion)return{protocolVersion:l.protocolVersion,capabilities:l.capabilities2};const p={};for(const e of l.capabilities){const[t,i]=e.split("=");p[t]=i||!0}return{protocolVersion:1,capabilities:p,refs:Vi(l,void 0,!0,!0)}}catch(e){throw e.caller="git.getRemoteInfo2",e}}async function Yi({object:e}){try{Et("object",e),e="string"==typeof e?Buffer.from(e,"utf8"):Buffer.from(e);const t="blob",{oid:i,object:n}=await async function({type:e,object:t,format:i="content",oid:n}){return"deflated"!==i&&("wrapped"!==i&&(t=be.wrap({type:e,object:t})),n=await _(t)),{oid:n,object:t}}({type:"blob",format:"content",object:e});return{oid:i,type:t,object:new Uint8Array(n),format:"wrapped"}}catch(e){throw e.caller="git.hashBlob",e}}async function Zi({fs:e,onProgress:t,dir:i,gitdir:n=G(i,".git"),filepath:a,cache:s={}}){try{return Et("fs",e),Et("dir",i),Et("gitdir",i),Et("filepath",a),await async function({fs:e,cache:t,onProgress:i,dir:n,gitdir:a,filepath:s}){try{s=G(n,s);const o=await e.read(s),r=i=>Ae({fs:e,cache:t,gitdir:a,oid:i}),c=await Ce.fromPack({pack:o,getExternalRefDelta:r,onProgress:i});return await e.write(s.replace(/\.pack$/,".idx"),await c.toBuffer()),{oids:[...c.hashes]}}catch(e){throw e.caller="git.indexPack",e}}({fs:new _t(e),cache:s,onProgress:t,dir:i,gitdir:n,filepath:a})}catch(e){throw e.caller="git.indexPack",e}}async function Ji({fs:e,bare:t=!1,dir:i,gitdir:n=(t?i:G(i,".git")),defaultBranch:a="master"}){try{return Et("fs",e),Et("gitdir",n),t||Et("dir",i),await Ei({fs:new _t(e),bare:t,dir:i,gitdir:n,defaultBranch:a})}catch(e){throw e.caller="git.init",e}}async function Qi({fs:e,cache:t,gitdir:i,oid:n,ancestor:a,depth:s}){const o=await mi.read({fs:e,gitdir:i});if(!n)throw new We("oid");if(!a)throw new We("ancestor");if(n===a)return!1;const r=[n],c=new Set;let u=0;for(;r.length;){if(u++===s)throw new Ue(s);const n=r.shift(),{type:l,object:p}=await Ae({fs:e,cache:t,gitdir:i,oid:n});if("commit"!==l)throw new I(n,l,"commit");const d=ct.from(p).parse();for(const e of d.parent)if(e===a)return!0;if(!o.has(n))for(const e of d.parent)c.has(e)||(r.push(e),c.add(e))}return!1}async function Xi({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,ancestor:a,depth:s=-1,cache:o={}}){try{return Et("fs",e),Et("gitdir",i),Et("oid",n),Et("ancestor",a),await Qi({fs:new _t(e),cache:o,gitdir:i,oid:n,ancestor:a,depth:s})}catch(e){throw e.caller="git.isDescendent",e}}async function en({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n}){try{return Et("fs",e),Et("dir",t),Et("gitdir",i),Et("filepath",n),Ct.isIgnored({fs:new _t(e),dir:t,gitdir:i,filepath:n})}catch(e){throw e.caller="git.isIgnored",e}}async function tn({fs:e,dir:t,gitdir:i=G(t,".git"),remote:n}){try{return Et("fs",e),Et("gitdir",i),pe.listBranches({fs:new _t(e),gitdir:i,remote:n})}catch(e){throw e.caller="git.listBranches",e}}async function nn({fs:e,gitdir:t,ref:i,cache:n}){if(i){const a=await pe.resolve({gitdir:t,fs:e,ref:i}),s=[];return await an({fs:e,cache:n,gitdir:t,oid:a,filenames:s,prefix:""}),s}return O.acquire({fs:e,gitdir:t,cache:n},(async function(e){return e.entries.map((e=>e.path))}))}async function an({fs:e,cache:t,gitdir:i,oid:n,filenames:a,prefix:s}){const{tree:o}=await Mt({fs:e,cache:t,gitdir:i,oid:n});for(const n of o)"tree"===n.type?await an({fs:e,cache:t,gitdir:i,oid:n.oid,filenames:a,prefix:G(s,n.path)}):a.push(G(s,n.path))}async function sn({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n,cache:a={}}){try{return Et("fs",e),Et("gitdir",i),await nn({fs:new _t(e),cache:a,gitdir:i,ref:n})}catch(e){throw e.caller="git.listFiles",e}}async function on({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n="refs/notes/commits",cache:a={}}){try{return Et("fs",e),Et("gitdir",i),Et("ref",n),await async function({fs:e,cache:t,gitdir:i,ref:n}){let a;try{a=await pe.resolve({gitdir:i,fs:e,ref:n})}catch(e){if(e instanceof T)return[]}return(await Mt({fs:e,cache:t,gitdir:i,oid:a})).tree.map((e=>({target:e.path,note:e.oid})))}({fs:new _t(e),cache:a,gitdir:i,ref:n})}catch(e){throw e.caller="git.listNotes",e}}async function rn({fs:e,dir:t,gitdir:i=G(t,".git")}){try{return Et("fs",e),Et("gitdir",i),await async function({fs:e,gitdir:t}){const i=await oe.get({fs:e,gitdir:t}),n=await i.getSubsections("remote");return Promise.all(n.map((async e=>({remote:e,url:await i.get(`remote.${e}.url`)}))))}({fs:new _t(e),gitdir:i})}catch(e){throw e.caller="git.listRemotes",e}}async function cn({http:e,onAuth:t,onAuthSuccess:i,onAuthFailure:n,corsProxy:a,url:s,headers:o={},forPush:r=!1,protocolVersion:c=2,prefix:u,symrefs:l,peelTags:p}){try{Et("http",e),Et("url",s);const d=await di.discover({http:e,onAuth:t,onAuthSuccess:i,onAuthFailure:n,corsProxy:a,service:r?"git-receive-pack":"git-upload-pack",url:s,headers:o,protocolVersion:c});if(1===d.protocolVersion)return Vi(d,u,l,p);const f=await async function({prefix:e,symrefs:t,peelTags:i}){const n=[];return n.push(si.encode("command=ls-refs\n")),n.push(si.encode(`agent=${vi.agent}\n`)),(i||t||e)&&n.push(si.delim()),i&&n.push(si.encode("peel")),t&&n.push(si.encode("symrefs")),e&&n.push(si.encode(`ref-prefix ${e}`)),n.push(si.flush()),n}({prefix:u,symrefs:l,peelTags:p});return async function(e){const t=si.streamReader(e),i=[];let n;for(;n=await t(),!0!==n;){if(null===n)continue;n=n.toString("utf8").replace(/\n$/,"");const[e,t,...a]=n.split(" "),s={ref:t,oid:e};for(const e of a){const[t,i]=e.split(":");"symref-target"===t?s.target=i:"peeled"===t&&(s.peeled=i)}i.push(s)}return i}((await di.connect({http:e,auth:d.auth,headers:o,corsProxy:a,service:r?"git-receive-pack":"git-upload-pack",url:s,body:f})).body)}catch(e){throw e.caller="git.listServerRefs",e}}async function un({fs:e,dir:t,gitdir:i=G(t,".git")}){try{return Et("fs",e),Et("gitdir",i),pe.listTags({fs:new _t(e),gitdir:i})}catch(e){throw e.caller="git.listTags",e}}async function ln({fs:e,cache:t,gitdir:i,oid:n}){const{type:a,object:s}=await Ae({fs:e,cache:t,gitdir:i,oid:n});if("tag"===a)return ln({fs:e,cache:t,gitdir:i,oid:n=ot.from(s).parse().object});if("commit"!==a)throw new I(n,a,"commit");return{commit:ct.from(s),oid:n}}async function pn({fs:e,cache:t,gitdir:i,oid:n}){const{commit:a,oid:s}=await ln({fs:e,cache:t,gitdir:i,oid:n});return{oid:s,commit:a.parse(),payload:a.withoutSignature()}}function dn(e,t){return e.committer.timestamp-t.committer.timestamp}const fn="e69de29bb2d1d6434b8b29ae775ad8c2e48c5391";async function hn({fs:e,cache:t,gitdir:i,oid:n,fileId:a}){if(a===fn)return;const s=n;let o;const r=await ut({fs:e,cache:t,gitdir:i,oid:n}),c=r.tree;return a===r.oid?o=r.path:(o=await mn({fs:e,cache:t,gitdir:i,tree:c,fileId:a,oid:s}),Array.isArray(o)&&(0===o.length?o=void 0:1===o.length&&(o=o[0]))),o}async function mn({fs:e,cache:t,gitdir:i,tree:n,fileId:a,oid:s,filepaths:o=[],parentPath:r=""}){const c=n.entries().map((function(n){let c;return n.oid===a?(c=G(r,n.path),o.push(c)):"tree"===n.type&&(c=Ae({fs:e,cache:t,gitdir:i,oid:n.oid}).then((function({object:c}){return mn({fs:e,cache:t,gitdir:i,tree:ge.from(c),fileId:a,oid:s,filepaths:o,parentPath:G(r,n.path)})}))),c}));return await Promise.all(c),o}async function gn({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n,ref:a="HEAD",depth:s,since:o,force:r,follow:c,cache:u={}}){try{return Et("fs",e),Et("gitdir",i),Et("ref",a),await async function({fs:e,cache:t,gitdir:i,filepath:n,ref:a,depth:s,since:o,force:r,follow:c}){const u=void 0===o?void 0:Math.floor(o.valueOf()/1e3),l=[],p=await mi.read({fs:e,gitdir:i}),d=await pe.resolve({fs:e,gitdir:i,ref:a}),f=[await pn({fs:e,cache:t,gitdir:i,oid:d})];let h,m,g;function b(e){g&&n&&l.push(e)}for(;f.length>0;){const a=f.pop();if(void 0!==u&&a.commit.committer.timestamp<=u)break;if(n){let s;try{s=await Tt({fs:e,cache:t,gitdir:i,oid:a.commit.tree,filepath:n}),m&&h!==s&&l.push(m),h=s,m=a,g=!0}catch(s){if(!(s instanceof T))throw s;{let o=c&&h;if(o&&(o=await hn({fs:e,cache:t,gitdir:i,oid:a.commit.tree,fileId:h}),o))if(Array.isArray(o)){if(m){const a=await hn({fs:e,cache:t,gitdir:i,oid:m.commit.tree,fileId:h});if(Array.isArray(a)){if(o=o.filter((e=>-1===a.indexOf(e))),1!==o.length){o=!1,m&&l.push(m);break}o=o[0],n=o,m&&l.push(m)}}}else n=o,m&&l.push(m);if(!o){if(g&&h&&(l.push(m),!r))break;if(!r&&!c)throw s}m=a,g=!1}}}else l.push(a);if(void 0!==s&&l.length===s){b(a);break}if(!p.has(a.oid))for(const n of a.commit.parent){const a=await pn({fs:e,cache:t,gitdir:i,oid:n});f.map((e=>e.oid)).includes(a.oid)||f.push(a)}0===f.length&&b(a),f.sort(((e,t)=>dn(e.commit,t.commit)))}return l}({fs:new _t(e),cache:u,gitdir:i,filepath:n,ref:a,depth:s,since:o,force:r,follow:c})}catch(e){throw e.caller="git.log",e}}async function bn({fs:e,onSign:t,dir:i,gitdir:n=G(i,".git"),ours:a,theirs:s,fastForward:o=!0,fastForwardOnly:r=!1,dryRun:c=!1,noUpdateBranch:u=!1,abortOnConflict:l=!0,message:p,author:d,committer:f,signingKey:h,cache:m={},mergeDriver:g}){try{Et("fs",e),h&&Et("onSign",t);const b=new _t(e),v=await Ut({fs:b,gitdir:n,author:d});if(!(v||r&&o))throw new He("author");const x=await Lt({fs:b,gitdir:n,author:v,committer:f});if(!(x||r&&o))throw new He("committer");return await Ii({fs:b,cache:m,dir:i,gitdir:n,ours:a,theirs:s,fastForward:o,fastForwardOnly:r,dryRun:c,noUpdateBranch:u,abortOnConflict:l,message:p,author:v,committer:x,signingKey:h,onSign:t,mergeDriver:g})}catch(e){throw e.caller="git.merge",e}}const vn={commit:16,tree:32,blob:48,tag:64,ofs_delta:96,ref_delta:112};async function xn({fs:e,cache:t,dir:i,gitdir:n=G(i,".git"),oids:s}){const o=new a,r=[];function c(e,t){const i=Buffer.from(e,t);r.push(i),o.update(i)}async function u({stype:e,object:t}){const i=vn[e];let n=t.length,a=n>15?128:0;const s=15&n;n>>>=4;let o=(a|i|s).toString(16);for(c(o,"hex");a;)a=n>127?128:0,o=a|127&n,c(ai(2,o),"hex"),n>>>=7;c(Buffer.from(await Ot(t)))}c("PACK"),c("00000002","hex"),c(ai(8,s.length),"hex");for(const i of s){const{type:a,object:s}=await Ae({fs:e,cache:t,gitdir:n,oid:i});await u({write:c,object:s,stype:a})}const l=o.digest();return r.push(l),r}async function yn({fs:e,dir:t,gitdir:i=G(t,".git"),oids:n,write:a=!1,cache:s={}}){try{return Et("fs",e),Et("gitdir",i),Et("oids",n),await async function({fs:e,cache:t,gitdir:i,oids:n,write:a}){const s=await xn({fs:e,cache:t,gitdir:i,oids:n}),o=Buffer.from(await ii(s)),r=`pack-${o.slice(-20).toString("hex")}.pack`;return a?(await e.write(G(i,`objects/pack/${r}`),o),{filename:r}):{filename:r,packfile:new Uint8Array(o)}}({fs:new _t(e),cache:s,gitdir:i,oids:n,write:a})}catch(e){throw e.caller="git.packObjects",e}}async function wn({fs:e,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c=G(r,".git"),ref:u,url:l,remote:p,remoteRef:d,prune:f=!1,pruneTags:h=!1,fastForward:m=!0,fastForwardOnly:g=!1,corsProxy:b,singleBranch:v,headers:x={},author:y,committer:w,signingKey:D,cache:_={}}){try{Et("fs",e),Et("gitdir",c);const E=new _t(e),F=await Ut({fs:E,gitdir:c,author:y});if(!F)throw new He("author");const k=await Lt({fs:E,gitdir:c,author:F,committer:w});if(!k)throw new He("committer");return await Mi({fs:E,cache:_,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c,ref:u,url:l,remote:p,remoteRef:d,fastForward:m,fastForwardOnly:g,corsProxy:b,singleBranch:v,headers:x,author:F,committer:k,signingKey:D,prune:f,pruneTags:h})}catch(e){throw e.caller="git.pull",e}}async function Dn({fs:e,cache:t,dir:i,gitdir:n=G(i,".git"),oids:a}){const s=new Set;async function o(i){if(s.has(i))return;s.add(i);const{type:a,object:r}=await Ae({fs:e,cache:t,gitdir:n,oid:i});if("tag"===a){const e=ot.from(r).headers().object;await o(e)}else if("commit"===a){const e=ct.from(r).headers().tree;await o(e)}else if("tree"===a){const e=ge.from(r);for(const t of e)"blob"===t.type&&s.add(t.oid),"tree"===t.type&&await o(t.oid)}}for(const e of a)await o(e);return s}async function _n({fs:e,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c=G(r,".git"),ref:u,remoteRef:l,remote:p="origin",url:d,force:f=!1,delete:h=!1,corsProxy:m,headers:g={},cache:b={}}){try{return Et("fs",e),Et("http",t),Et("gitdir",c),await async function({fs:e,cache:t,http:i,onProgress:n,onMessage:a,onAuth:s,onAuthSuccess:o,onAuthFailure:r,gitdir:c,ref:u,remoteRef:l,remote:p,url:d,force:f=!1,delete:h=!1,corsProxy:m,headers:g={}}){const b=u||await Xt({fs:e,gitdir:c});if(void 0===b)throw new We("ref");const v=await oe.get({fs:e,gitdir:c});p=p||await v.get(`branch.${b}.pushRemote`)||await v.get("remote.pushDefault")||await v.get(`branch.${b}.remote`)||"origin";const x=d||await v.get(`remote.${p}.pushurl`)||await v.get(`remote.${p}.url`);if(void 0===x)throw new We("remote OR url");const y=l||await v.get(`branch.${b}.merge`);if(void 0===x)throw new We("remoteRef");void 0===m&&(m=await v.get("http.corsProxy"));const w=await pe.expand({fs:e,gitdir:c,ref:b}),D=h?"0000000000000000000000000000000000000000":await pe.resolve({fs:e,gitdir:c,ref:w}),_=fi.getRemoteHelperFor({url:x}),E=await _.discover({http:i,onAuth:s,onAuthSuccess:o,onAuthFailure:r,corsProxy:m,service:"git-receive-pack",url:x,headers:g,protocolVersion:1}),F=E.auth;let k;if(y)try{k=await pe.expandAgainstMap({ref:y,map:E.refs})}catch(e){if(!(e instanceof T))throw e;k=y.startsWith("refs/")?y:`refs/heads/${y}`}else k=w;const C=E.refs.get(k)||"0000000000000000000000000000000000000000",j=!E.capabilities.has("no-thin");let O=new Set;if(!h){const i=[...E.refs.values()];let n=new Set;if("0000000000000000000000000000000000000000"!==C){const a=await $i({fs:e,cache:t,gitdir:c,oids:[D,C]});for(const e of a)i.push(e);j&&(n=await Dn({fs:e,cache:t,gitdir:c,oids:a}))}if(!i.includes(D)){const n=await async function({fs:e,cache:t,dir:i,gitdir:n=G(i,".git"),start:a,finish:s}){const o=await mi.read({fs:e,gitdir:n}),r=new Set,c=new Set;for(const t of a)r.add(await pe.resolve({fs:e,gitdir:n,ref:t}));for(const t of s)try{const i=await pe.resolve({fs:e,gitdir:n,ref:t});c.add(i)}catch(e){}const u=new Set;async function l(i){u.add(i);const{type:a,object:s}=await Ae({fs:e,cache:t,gitdir:n,oid:i});if("tag"===a)return l(ot.from(s).headers().object);if("commit"!==a)throw new I(i,a,"commit");if(!o.has(i)){const e=ct.from(s).headers().parent;for(i of e)c.has(i)||u.has(i)||await l(i)}}for(const e of r)await l(e);return u}({fs:e,cache:t,gitdir:c,start:[D],finish:i});O=await Dn({fs:e,cache:t,gitdir:c,oids:n})}if(j){try{const i=await pe.resolve({fs:e,gitdir:c,ref:`refs/remotes/${p}/HEAD`,depth:2}),{oid:a}=await pe.resolveAgainstMap({ref:i.replace(`refs/remotes/${p}/`,""),fullref:i,map:E.refs}),s=[a];for(const i of await Dn({fs:e,cache:t,gitdir:c,oids:s}))n.add(i)}catch(e){}for(const e of n)O.delete(e)}if(D===C&&(f=!0),!f){if(w.startsWith("refs/tags")&&"0000000000000000000000000000000000000000"!==C)throw new Ke("tag-exists");if("0000000000000000000000000000000000000000"!==D&&"0000000000000000000000000000000000000000"!==C&&!await Qi({fs:e,cache:t,gitdir:c,oid:D,ancestor:C,depth:-1}))throw new Ke("not-fast-forward")}}const A=bi([...E.capabilities],["report-status","side-band-64k",`agent=${vi.agent}`]),S=await async function({capabilities:e=[],triplets:t=[]}){const i=[];let n=`\0 ${e.join(" ")}`;for(const e of t)i.push(si.encode(`${e.oldoid} ${e.oid} ${e.fullRef}${n}\n`)),n="";return i.push(si.flush()),i}({capabilities:A,triplets:[{oldoid:C,oid:D,fullRef:k}]}),B=h?[]:await xn({fs:e,cache:t,gitdir:c,oids:[...O]}),R=await _.connect({http:i,onProgress:n,corsProxy:m,service:"git-receive-pack",url:x,auth:F,headers:g,body:[...S,...B]}),{packfile:$,progress:P}=await Di.demux(R.body);a&&ti(wi(P),(async e=>{await a(e)}));const M=await async function(e){const t={};let i="";const n=si.streamReader(e);let a=await n();for(;!0!==a;)null!==a&&(i+=a.toString("utf8")+"\n"),a=await n();const s=i.toString("utf8").split("\n");if(a=s.shift(),!a.startsWith("unpack "))throw new Ve('unpack ok" or "unpack [error message]',a);t.ok="unpack ok"===a,t.ok||(t.error=a.slice(7)),t.refs={};for(const e of s){if(""===e.trim())continue;const i=e.slice(0,2),n=e.slice(3);let a=n.indexOf(" ");-1===a&&(a=n.length);const s=n.slice(0,a),o=n.slice(a+1);t.refs[s]={ok:"ok"===i,error:o}}return t}($);if(R.headers&&(M.headers=R.headers),p&&M.ok&&M.refs[k].ok){const t=`refs/remotes/${p}/${k.replace("refs/heads","")}`;h?await pe.deleteRef({fs:e,gitdir:c,ref:t}):await pe.writeRef({fs:e,gitdir:c,ref:t,value:D})}if(M.ok&&Object.values(M.refs).every((e=>e.ok)))return M;{const e=Object.entries(M.refs).filter((([e,t])=>!t.ok)).map((([e,t])=>`\n - ${e}: ${t.error}`)).join("");throw new Ie(e,M)}}({fs:new _t(e),cache:b,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,gitdir:c,ref:u,remoteRef:l,remote:p,url:d,force:f,delete:h,corsProxy:m,headers:g})}catch(e){throw e.caller="git.push",e}}async function En({fs:e,cache:t,gitdir:i,oid:n}){const{type:a,object:s}=await Ae({fs:e,cache:t,gitdir:i,oid:n});if("tag"===a)return En({fs:e,cache:t,gitdir:i,oid:n=ot.from(s).parse().object});if("blob"!==a)throw new I(n,a,"blob");return{oid:n,blob:new Uint8Array(s)}}async function Fn({fs:e,cache:t,gitdir:i,oid:n,filepath:a}){return void 0!==a&&(n=await Tt({fs:e,cache:t,gitdir:i,oid:n,filepath:a})),await En({fs:e,cache:t,gitdir:i,oid:n})}async function kn({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,filepath:a,cache:s={}}){try{return Et("fs",e),Et("gitdir",i),Et("oid",n),await Fn({fs:new _t(e),cache:s,gitdir:i,oid:n,filepath:a})}catch(e){throw e.caller="git.readBlob",e}}async function Cn({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,cache:a={}}){try{return Et("fs",e),Et("gitdir",i),Et("oid",n),await pn({fs:new _t(e),cache:a,gitdir:i,oid:n})}catch(e){throw e.caller="git.readCommit",e}}async function jn({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n="refs/notes/commits",oid:a,cache:s={}}){try{return Et("fs",e),Et("gitdir",i),Et("ref",n),Et("oid",a),await async function({fs:e,cache:t,gitdir:i,ref:n="refs/notes/commits",oid:a}){const s=await pe.resolve({gitdir:i,fs:e,ref:n}),{blob:o}=await Fn({fs:e,cache:t,gitdir:i,oid:s,filepath:a});return o}({fs:new _t(e),cache:s,gitdir:i,ref:n,oid:a})}catch(e){throw e.caller="git.readNote",e}}async function On({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,format:a="parsed",filepath:s,encoding:o,cache:r={}}){try{Et("fs",e),Et("gitdir",i),Et("oid",n);const t=new _t(e);void 0!==s&&(n=await Tt({fs:t,cache:r,gitdir:i,oid:n,filepath:s}));const c="parsed"===a?"content":a,u=await Ae({fs:t,cache:r,gitdir:i,oid:n,format:c});if(u.oid=n,"parsed"===a)switch(u.format="parsed",u.type){case"commit":u.object=ct.from(u.object).parse();break;case"tree":u.object=ge.from(u.object).entries();break;case"blob":o?u.object=u.object.toString(o):(u.object=new Uint8Array(u.object),u.format="content");break;case"tag":u.object=ot.from(u.object).parse();break;default:throw new I(u.oid,u.type,"blob|commit|tag|tree")}else"deflated"!==u.format&&"wrapped"!==u.format||(u.type=u.format);return u}catch(e){throw e.caller="git.readObject",e}}async function An({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,cache:a={}}){try{return Et("fs",e),Et("gitdir",i),Et("oid",n),await async function({fs:e,cache:t,gitdir:i,oid:n}){const{type:a,object:s}=await Ae({fs:e,cache:t,gitdir:i,oid:n,format:"content"});if("tag"!==a)throw new I(n,a,"tag");const o=ot.from(s);return{oid:n,tag:o.parse(),payload:o.payload()}}({fs:new _t(e),cache:a,gitdir:i,oid:n})}catch(e){throw e.caller="git.readTag",e}}async function Sn({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,filepath:a,cache:s={}}){try{return Et("fs",e),Et("gitdir",i),Et("oid",n),await Mt({fs:new _t(e),cache:s,gitdir:i,oid:n,filepath:a})}catch(e){throw e.caller="git.readTree",e}}async function Bn({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n,cache:a={}}){try{Et("fs",e),Et("gitdir",i),Et("filepath",n),await O.acquire({fs:new _t(e),gitdir:i,cache:a},(async function(e){e.delete({filepath:n})}))}catch(e){throw e.caller="git.remove",e}}async function Rn({fs:e,onSign:t,dir:i,gitdir:n=G(i,".git"),ref:a="refs/notes/commits",oid:s,author:o,committer:r,signingKey:c,cache:u={}}){try{Et("fs",e),Et("gitdir",n),Et("oid",s);const i=new _t(e),l=await Ut({fs:i,gitdir:n,author:o});if(!l)throw new He("author");const p=await Lt({fs:i,gitdir:n,author:l,committer:r});if(!p)throw new He("committer");return await async function({fs:e,cache:t,onSign:i,gitdir:n,ref:a="refs/notes/commits",oid:s,author:o,committer:r,signingKey:c}){let u;try{u=await pe.resolve({gitdir:n,fs:e,ref:a})}catch(e){if(!(e instanceof T))throw e}let l=(await Mt({fs:e,gitdir:n,oid:u||"4b825dc642cb6eb9a060e54bf8d69288fbee4904"})).tree;l=l.filter((e=>e.path!==s));const p=await zt({fs:e,gitdir:n,tree:l});return await $t({fs:e,cache:t,onSign:i,gitdir:n,ref:a,tree:p,parent:u&&[u],message:"Note removed by 'isomorphic-git removeNote'\n",author:o,committer:r,signingKey:c})}({fs:i,cache:u,onSign:t,gitdir:n,ref:a,oid:s,author:l,committer:p,signingKey:c})}catch(e){throw e.caller="git.removeNote",e}}async function $n({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n,oldref:a,checkout:s=!1}){try{return Et("fs",e),Et("gitdir",i),Et("ref",n),Et("oldref",a),await async function({fs:e,gitdir:t,oldref:i,ref:n,checkout:a=!1}){if(n!==u.clean(n))throw new Ne(n,u.clean(n));if(i!==u.clean(i))throw new Ne(i,u.clean(i));const s=`refs/heads/${i}`,o=`refs/heads/${n}`;if(await pe.exists({fs:e,gitdir:t,ref:o}))throw new Se("branch",n,!1);const r=await pe.resolve({fs:e,gitdir:t,ref:s,depth:1});await pe.writeRef({fs:e,gitdir:t,ref:o,value:r}),await pe.deleteRef({fs:e,gitdir:t,ref:s});const c=await Xt({fs:e,gitdir:t,fullname:!0});(a||c===s)&&await pe.writeSymbolicRef({fs:e,gitdir:t,ref:"HEAD",value:o})}({fs:new _t(e),gitdir:i,ref:n,oldref:a,checkout:s})}catch(e){throw e.caller="git.renameBranch",e}}async function Pn({gitdir:e,type:t,object:i}){return _(be.wrap({type:t,object:i}))}async function Tn({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n,ref:a,cache:s={}}){try{Et("fs",e),Et("gitdir",i),Et("filepath",n);const o=new _t(e);let r,c;try{r=await pe.resolve({fs:o,gitdir:i,ref:a||"HEAD"})}catch(e){if(a)throw e}if(r)try{r=await Tt({fs:o,cache:s,gitdir:i,oid:r,filepath:n})}catch(e){r=null}let u={ctime:new Date(0),mtime:new Date(0),dev:0,ino:0,mode:0,uid:0,gid:0,size:0};const l=t&&await o.read(G(t,n));l&&(c=await Pn({gitdir:i,type:"blob",object:l}),r===c&&(u=await o.lstat(G(t,n)))),await O.acquire({fs:o,gitdir:i,cache:s},(async function(e){e.delete({filepath:n}),r&&e.insert({filepath:n,stats:u,oid:r})}))}catch(e){throw e.caller="git.reset",e}}async function In({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n,depth:a}){try{return Et("fs",e),Et("gitdir",i),Et("ref",n),await pe.resolve({fs:new _t(e),gitdir:i,ref:n,depth:a})}catch(e){throw e.caller="git.resolveRef",e}}async function Mn({fs:e,dir:t,gitdir:i=G(t,".git"),path:n,value:a,append:s=!1}){try{Et("fs",e),Et("gitdir",i),Et("path",n);const t=new _t(e),o=await oe.get({fs:t,gitdir:i});s?await o.append(n,a):await o.set(n,a),await oe.save({fs:t,gitdir:i,config:o})}catch(e){throw e.caller="git.setConfig",e}}async function zn({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n,cache:a={}}){try{Et("fs",e),Et("gitdir",i),Et("filepath",n);const s=new _t(e);if(await Ct.isIgnored({fs:s,gitdir:i,dir:t,filepath:n}))return"ignored";const o=await async function({fs:e,cache:t,gitdir:i}){let n;try{n=await pe.resolve({fs:e,gitdir:i,ref:"HEAD"})}catch(e){if(e instanceof T)return[]}const{tree:a}=await Mt({fs:e,cache:t,gitdir:i,oid:n});return a}({fs:s,cache:a,gitdir:i}),r=await Nn({fs:s,cache:a,gitdir:i,tree:o,path:n}),c=await O.acquire({fs:s,gitdir:i,cache:a},(async function(e){for(const t of e)if(t.path===n)return t;return null})),u=await s.lstat(G(t,n)),l=null!==r,p=null!==c,d=null!==u,f=async()=>{if(p&&!k(c,u))return c.oid;{const e=await s.read(G(t,n)),o=await Pn({gitdir:i,type:"blob",object:e});return p&&c.oid===o&&-1!==u.size&&O.acquire({fs:s,gitdir:i,cache:a},(async function(e){e.insert({filepath:n,stats:u,oid:o})})),o}};if(!l&&!d&&!p)return"absent";if(!l&&!d&&p)return"*absent";if(!l&&d&&!p)return"*added";if(!l&&d&&p)return await f()===c.oid?"added":"*added";if(l&&!d&&!p)return"deleted";if(l&&!d&&p)return c.oid,"*deleted";if(l&&d&&!p)return await f()===r?"*undeleted":"*undeletemodified";if(l&&d&&p){const e=await f();return e===r?e===c.oid?"unmodified":"*unmodified":e===c.oid?"modified":"*modified"}}catch(e){throw e.caller="git.status",e}}async function Nn({fs:e,cache:t,gitdir:i,tree:n,path:a}){"string"==typeof a&&(a=a.split("/"));const s=a.shift();for(const o of n)if(o.path===s){if(0===a.length)return o.oid;const{type:n,object:s}=await Ae({fs:e,cache:t,gitdir:i,oid:o.oid});if("tree"===n)return Nn({fs:e,cache:t,gitdir:i,tree:ge.from(s),path:a});if("blob"===n)throw new I(o.oid,n,"blob",a.join("/"))}return null}async function Un({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n="HEAD",filepaths:a=["."],filter:s,cache:o={},ignored:r=!1}){try{Et("fs",e),Et("gitdir",i),Et("ref",n);const c=new _t(e);return await bt({fs:c,cache:o,dir:t,gitdir:i,trees:[pt({ref:n}),ft(),P()],map:async function(e,[i,n,o]){if(!i&&!o&&n&&!r&&await Ct.isIgnored({fs:c,dir:t,filepath:e}))return null;if(!a.some((t=>Kt(e,t))))return null;if(s&&!s(e))return;const[u,l,p]=await Promise.all([i&&i.type(),n&&n.type(),o&&o.type()]),d=[u,l,p].includes("blob");if(("tree"===u||"special"===u)&&!d)return;if("commit"===u)return null;if(("tree"===l||"special"===l)&&!d)return;if("commit"===p)return null;if(("tree"===p||"special"===p)&&!d)return;const f="blob"===u?await i.oid():void 0,h="blob"===p?await o.oid():void 0;let m;"blob"!==u&&"blob"===l&&"blob"!==p?m="42":"blob"===l&&(m=await n.oid());const g=[void 0,f,m,h],b=g.map((e=>g.indexOf(e)));return b.shift(),[e,...b]}})}catch(e){throw e.caller="git.statusMatrix",e}}async function Ln({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n,object:a,force:s=!1}){try{Et("fs",e),Et("gitdir",i),Et("ref",n);const t=new _t(e);if(void 0===n)throw new We("ref");n=n.startsWith("refs/tags/")?n:`refs/tags/${n}`;const o=await pe.resolve({fs:t,gitdir:i,ref:a||"HEAD"});if(!s&&await pe.exists({fs:t,gitdir:i,ref:n}))throw new Se("tag",n);await pe.writeRef({fs:t,gitdir:i,ref:n,value:o})}catch(e){throw e.caller="git.tag",e}}async function qn({fs:e,dir:t,gitdir:i=G(t,".git"),cache:n={},filepath:a,oid:s,mode:o,add:r,remove:c,force:u}){try{Et("fs",e),Et("gitdir",i),Et("filepath",a);const l=new _t(e);if(c)return await O.acquire({fs:l,gitdir:i,cache:n},(async function(e){let i;if(u||(i=await l.lstat(G(t,a)),!i))e.has({filepath:a})&&e.delete({filepath:a});else if(i.isDirectory())throw new ze("directory")}));let p;if(!s){if(p=await l.lstat(G(t,a)),!p)throw new T(`file at "${a}" on disk and "remove" not set`);if(p.isDirectory())throw new ze("directory")}return await O.acquire({fs:l,gitdir:i,cache:n},(async function(e){if(!r&&!e.has({filepath:a}))throw new T(`file at "${a}" in index and "add" not set`);let n={ctime:new Date(0),mtime:new Date(0),dev:0,ino:0,mode:o,uid:0,gid:0,size:0};if(!s){n=p;const e=n.isSymbolicLink()?await l.readlink(G(t,a)):await l.read(G(t,a));s=await At({fs:l,gitdir:i,type:"blob",format:"content",object:e})}return e.insert({filepath:a,oid:s,stats:n}),s}))}catch(e){throw e.caller="git.updateIndex",e}}function Hn(){try{return vi.version}catch(e){throw e.caller="git.version",e}}async function Wn({fs:e,dir:t,gitdir:i=G(t,".git"),trees:n,map:a,reduce:s,iterate:o,cache:r={}}){try{return Et("fs",e),Et("gitdir",i),Et("trees",n),await bt({fs:new _t(e),cache:r,dir:t,gitdir:i,trees:n,map:a,reduce:s,iterate:o})}catch(e){throw e.caller="git.walk",e}}async function Gn({fs:e,dir:t,gitdir:i=G(t,".git"),blob:n}){try{return Et("fs",e),Et("gitdir",i),Et("blob",n),await At({fs:new _t(e),gitdir:i,type:"blob",object:n,format:"content"})}catch(e){throw e.caller="git.writeBlob",e}}async function Vn({fs:e,dir:t,gitdir:i=G(t,".git"),commit:n}){try{return Et("fs",e),Et("gitdir",i),Et("commit",n),await async function({fs:e,gitdir:t,commit:i}){const n=ct.from(i).toObject();return await At({fs:e,gitdir:t,type:"commit",object:n,format:"content"})}({fs:new _t(e),gitdir:i,commit:n})}catch(e){throw e.caller="git.writeCommit",e}}async function Kn({fs:e,dir:t,gitdir:i=G(t,".git"),type:n,object:a,format:s="parsed",oid:o,encoding:r}){try{const t=new _t(e);if("parsed"===s){switch(n){case"commit":a=ct.from(a).toObject();break;case"tree":a=ge.from(a).toObject();break;case"blob":a=Buffer.from(a,r);break;case"tag":a=ot.from(a).toObject();break;default:throw new I(o||"",n,"blob|commit|tag|tree")}s="content"}return await At({fs:t,gitdir:i,type:n,object:a,oid:o,format:s})}catch(e){throw e.caller="git.writeObject",e}}async function Yn({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n,value:a,force:s=!1,symbolic:o=!1}){try{Et("fs",e),Et("gitdir",i),Et("ref",n),Et("value",a);const t=new _t(e);if(n!==u.clean(n))throw new Ne(n,u.clean(n));if(!s&&await pe.exists({fs:t,gitdir:i,ref:n}))throw new Se("ref",n);o?await pe.writeSymbolicRef({fs:t,gitdir:i,ref:n,value:a}):(a=await pe.resolve({fs:t,gitdir:i,ref:a}),await pe.writeRef({fs:t,gitdir:i,ref:n,value:a}))}catch(e){throw e.caller="git.writeRef",e}}async function Zn({fs:e,dir:t,gitdir:i=G(t,".git"),tag:n}){try{return Et("fs",e),Et("gitdir",i),Et("tag",n),await async function({fs:e,gitdir:t,tag:i}){const n=ot.from(i).toObject();return await At({fs:e,gitdir:t,type:"tag",object:n,format:"content"})}({fs:new _t(e),gitdir:i,tag:n})}catch(e){throw e.caller="git.writeTag",e}}async function Jn({fs:e,dir:t,gitdir:i=G(t,".git"),tree:n}){try{return Et("fs",e),Et("gitdir",i),Et("tree",n),await zt({fs:new _t(e),gitdir:i,tree:n})}catch(e){throw e.caller="git.writeTree",e}}const Qn={Errors:tt,STAGE:P,TREE:pt,WORKDIR:ft,add:Bt,abortMerge:kt,addNote:qt,addRemote:Wt,annotatedTag:Gt,branch:Vt,checkout:Zt,clone:Fi,commit:ki,getConfig:Hi,getConfigAll:Wi,setConfig:Mn,currentBranch:Ci,deleteBranch:ji,deleteRef:Oi,deleteRemote:Ai,deleteTag:Si,expandOid:Bi,expandRef:Ri,fastForward:zi,fetch:Ni,findMergeBase:Ui,findRoot:qi,getRemoteInfo:Gi,getRemoteInfo2:Ki,hashBlob:Yi,indexPack:Zi,init:Ji,isDescendent:Xi,isIgnored:en,listBranches:tn,listFiles:sn,listNotes:on,listRemotes:rn,listServerRefs:cn,listTags:un,log:gn,merge:bn,packObjects:yn,pull:wn,push:_n,readBlob:kn,readCommit:Cn,readNote:jn,readObject:On,readTag:An,readTree:Sn,remove:Bn,removeNote:Rn,renameBranch:$n,resetIndex:Tn,updateIndex:qn,resolveRef:In,status:zn,statusMatrix:Un,tag:Ln,version:Hn,walk:Wn,writeBlob:Gn,writeCommit:Vn,writeObject:Kn,writeRef:Yn,writeTag:Zn,writeTree:Jn}},8330:e=>{"use strict";e.exports=JSON.parse('{"name":"@squidcloud/cli","version":"1.0.219","description":"The Squid Cloud CLI","main":"dist/index.js","scripts":{"start":"node dist/index.js","start-ts":"ts-node -r tsconfig-paths/register src/index.ts","prebuild":"rimraf dist","build":"webpack --mode=production","build:dev":"webpack --mode=development","build:prod":"webpack --mode=production","lint":"eslint . --ext .ts","link":"npm run build && chmod 755 dist/index.js && npm link","watch":"webpack --watch","deploy":"npm run build && npm uninstall -g @squidcloud/cli && npm install -g .","publish:public":"npm run build && npm publish --access public"},"files":["dist/**/*"],"bin":{"squid":"dist/index.js"},"keywords":[],"author":"","license":"ISC","engines":{"node":">=18.0.0"},"dependencies":{"axios":"^1.6.7","@squidcloud/schematics":"^1.0.219","@angular-devkit/schematics-cli":"^17.3.5","isomorphic-git":"^1.25.7"}}')},2108:e=>{"use strict";e.exports=JSON.parse('{"name":"dotenv","version":"16.3.1","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","lint-readme":"standard-markdown","pretest":"npm run lint && npm run dts-check","test":"tap tests/*.js --100 -Rspec","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"funding":"https://github.com/motdotla/dotenv?sponsor=1","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@definitelytyped/dtslint":"^0.0.133","@types/node":"^18.11.3","decache":"^4.6.1","sinon":"^14.0.1","standard":"^17.0.0","standard-markdown":"^7.1.0","standard-version":"^9.5.0","tap":"^16.3.0","tar":"^6.1.11","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')},8761:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"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":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"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":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"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":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"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":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"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":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"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":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"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":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"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":true},"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":false,"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":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"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":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"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":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"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":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"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":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"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":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"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":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"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":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"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":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"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":false,"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":true,"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":true},"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":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"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":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"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":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"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":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"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":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"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":true,"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":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"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":true},"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":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"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":true,"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":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"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":true},"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":true},"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":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"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":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"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":false},"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":false},"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":false},"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":true},"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":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"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":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"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":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"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":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"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":false},"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":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"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":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"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":true},"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":true},"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":true,"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":false,"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":true,"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":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"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":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"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":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"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":false,"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":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"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":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"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":true},"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":false,"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":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"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":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"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":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"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":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"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":true},"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":true},"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":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"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":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"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":true,"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":true},"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":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"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":true},"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":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"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":true,"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":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"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":true,"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":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"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":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"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":true,"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":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"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":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"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":true},"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":true,"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":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"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":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"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":false,"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":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"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":false},"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":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"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":true,"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":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"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":false},"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":true,"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":false,"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":false,"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":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"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":true,"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":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"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":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"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":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"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":false,"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":false,"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":false},"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":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"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":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"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":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"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":false,"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":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"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":false},"image/png":{"source":"iana","compressible":false,"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":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"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":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"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":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"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":false},"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":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"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":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"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":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"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":true},"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":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"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":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"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":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"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":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"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":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"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":true,"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":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"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":true,"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":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"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":true,"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":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"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":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"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":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"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":false,"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":true},"x-shader/x-vertex":{"compressible":true}}')}},t={};function i(n){var a=t[n];if(void 0!==a)return a.exports;var s=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.loaded=!0,s.exports}i.c=t,i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n=i(i.s=6568),a=exports;for(var s in n)a[s]=n[s];n.__esModule&&Object.defineProperty(a,"__esModule",{value:!0})})();
|
3
|
+
(()=>{var e={4764:e=>{"use strict";e.exports=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}},7007:(e,t,i)=>{"use strict";e=i.nmd(e);const n=(e,t)=>(...i)=>`[${e(...i)+t}m`,a=(e,t)=>(...i)=>{const n=e(...i);return`[${38+t};5;${n}m`},s=(e,t)=>(...i)=>{const n=e(...i);return`[${38+t};2;${n[0]};${n[1]};${n[2]}m`},o=e=>e,r=(e,t,i)=>[e,t,i],c=(e,t,i)=>{Object.defineProperty(e,t,{get:()=>{const n=i();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})};let u;const l=(e,t,n,a)=>{void 0===u&&(u=i(8666));const s=a?10:0,o={};for(const[i,a]of Object.entries(u)){const r="ansi16"===i?"ansi":i;i===t?o[r]=e(n,s):"object"==typeof a&&(o[r]=e(a[t],s))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(const[i,n]of Object.entries(t)){for(const[i,a]of Object.entries(n))t[i]={open:`[${a[0]}m`,close:`[${a[1]}m`},n[i]=t[i],e.set(a[0],a[1]);Object.defineProperty(t,i,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="[39m",t.bgColor.close="[49m",c(t.color,"ansi",(()=>l(n,"ansi16",o,!1))),c(t.color,"ansi256",(()=>l(a,"ansi256",o,!1))),c(t.color,"ansi16m",(()=>l(s,"rgb",r,!1))),c(t.bgColor,"ansi",(()=>l(n,"ansi16",o,!0))),c(t.bgColor,"ansi256",(()=>l(a,"ansi256",o,!0))),c(t.bgColor,"ansi16m",(()=>l(s,"rgb",r,!0))),t}})},5036:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),a(i(4077),t)},6373:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callValueAssertion=t.assertRecord=t.assertArray=t.assertObject=t.getErrorMessage=t.getAssertionErrorFromProvider=t.fail=t.truthy=t.assertTruthy=void 0;const n=i(4665),a=i(1333);function s(e,t){e||o(t)}function o(e){const t=r(e);if("object"==typeof t)throw t;throw new Error(t||"Assertion error")}function r(e){return void 0===e?"":"string"==typeof e?e:e()}function c(e){const t=r(e);return"string"==typeof t?t:t.message||"<no error message>"}function u(e,t,i=void 0,n={}){const a=()=>c(i),o=e=>{const t=a();return 0===t.length?e:`${t} ${e}`};s("object"==typeof e,(()=>o("is not an object: "+typeof e))),s(void 0!==e,(()=>o("is not defined"))),s(null!==e,(()=>o("is null"))),s(!Array.isArray(e),(()=>o("is an array.")));const r=Object.entries(t);if(n.failOnUnknownFields){const t=n.allowedUnknownFieldNames||[];for(const i in e)s(t.includes(i)||r.some((([e])=>i===e)),o(`property can't be checked: ${i}`))}let l;for(const[t,i]of r){s("function"==typeof i||"object"==typeof i&&null!==i,(()=>`${a()}.${t} assertion is not an object or a function: ${typeof i}`));const n=e[t],o=()=>`${a()}.${t}`;if("object"==typeof i)s(!Array.isArray(n),(()=>`${a()}.${o()} use arrayAssertion() to create a ValueAssertion for an array`)),u(n,i,o);else if(s("function"==typeof i,(()=>`${a()}.${o()} assertion is not a function`)),"$o"===t)l=i;else{const e=i(n,o);s(void 0===e,`Assertion function must assert (void) but it returns a value: ${e}. Wrap with $u()?`)}}l&&l(e,i)}function l(e,t,i){t(e,i)}function p(e){return(t="with-space-separator")=>{const i=c(e);return i?`${i}${"with-space-separator"===t?" ":""}`:""}}function d(e,t,i){"object"==typeof t?(s(!Array.isArray(e),(()=>`${i}: use arrayAssertion() to create a ValueAssertion for an array`)),u(e,t,i)):l(e,t,i)}t.assertTruthy=s,t.truthy=function(e,t){return s(e,t),e},t.fail=o,t.getAssertionErrorFromProvider=r,t.getErrorMessage=c,t.assertObject=u,t.assertArray=function(e,t,i={},a=void 0){var o,r;const c=p(a);s(Array.isArray(e),(()=>`${c()}value is not an array: ${e}`));const u=null!==(o=i.minLength)&&void 0!==o?o:0,l=null!==(r=i.maxLength)&&void 0!==r?r:1/0;s(e.length>=u,(()=>`${c()}array length < minLength. Array length: ${e.length}, minLength: ${u}`)),s(e.length<=l,(()=>`${c()}array length > maxLength. Array length: ${e.length}, maxLength: ${l}`)),i.uniqueByIdentity&&s((0,n.checkArrayHasUniqueElements)(e,i.uniqueByIdentity),(()=>`${c()}array contains non-unique elements`));let f=0;const h=()=>`${c("no-space-separator")}[${f}]`;for(;f<e.length;f++)d(e[f],t,h)},t.assertRecord=function(e,t,i={},n=void 0){const o=p(n);s("object"==typeof e,(()=>`${o()}value is not an object: ${(0,a.formatValue)(e)}`)),s(null!==e,(()=>`${o()}value is null`)),s(!Array.isArray(e),(()=>`${o()}the value is not a record, but is an array`));for(const[n,r]of Object.entries(e)){const e=()=>`${o("no-space-separator")}['${n}']`;i.keyAssertion&&d(n,i.keyAssertion,(()=>`${e()}, key assertion failed:`)),d(r,t,e);const{keyField:c}=i;if(c){s("object"==typeof r&&null!==r,(()=>`${e()} is not an object: ${(0,a.formatValue)(r)}`));const t=r[c];s(t===n,(()=>`${e()} key value does not match object field '${c}' value: ${(0,a.formatValue)(t)}`))}}i.$o&&i.$o(e,n)},t.callValueAssertion=l},8596:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringAssertion=t.nullOr=t.undefinedOr=t.valueOr=t.$u=t.$a=t.recordAssertion=t.arrayAssertion=t.objectAssertion=void 0;const n=i(6373),a=i(1333);function s(e,t){return(0,n.assertTruthy)("function"==typeof e,`"check" is not a function: ${e}`),(i,a=void 0)=>(0,n.assertTruthy)(e(i),(()=>{let e=(0,n.getErrorMessage)(a)||"Check is failed";return e.endsWith(":")||(e+=":"),`${e} ${(0,n.getErrorMessage)(t)||("object"==typeof i?"[object]":`'${i}'`)}`}))}function o(e,t){return(i,a=void 0)=>{i!==e&&("object"==typeof t?(0,n.assertObject)(i,t,a):(0,n.callValueAssertion)(i,t,a))}}t.objectAssertion=function(e,t=void 0){return i=>(0,n.assertObject)(i,e,t)},t.arrayAssertion=function(e,t={}){const{minLength:i,maxLength:a}=t;return(0,n.assertTruthy)((null!=i?i:0)<=(null!=a?a:1/0),`minLength must be < maxLength! minLength ${i}, maxLength: ${a}`),(0,n.assertTruthy)((null!=i?i:0)>=0,`minLength must be a positive number: ${i}`),(0,n.assertTruthy)((null!=a?a:0)>=0,`maxLength must be a positive number: ${a}`),(i,a=void 0)=>{(0,n.assertArray)(i,e,t,a)}},t.recordAssertion=function(e,t={}){return(i,a=void 0)=>{(0,n.assertRecord)(i,e,t,a)}},t.$a=s,t.$u=function(e,t){return s(e,t)},t.valueOr=o,t.undefinedOr=function(e){return o(void 0,e)},t.nullOr=function(e){return o(null,e)},t.stringAssertion=e=>(t,i=void 0)=>{var s,o;(0,a.assertString)(t,i),(0,n.assertTruthy)(t.length>=(null!==(s=e.minLength)&&void 0!==s?s:0),`${(0,n.getErrorMessage)(i)} length is too small: ${t.length} < ${e.minLength}`),(0,n.assertTruthy)(t.length<=(null!==(o=e.maxLength)&&void 0!==o?o:1/0),`${(0,n.getErrorMessage)(i)} length is too large ${t.length} > ${e.maxLength}`)}},1333:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNonNullable=t.assertDate=t.assertEmail=t.assertHexString=t.assertUuid=t.assertBoolean=t.assertNumber=t.assertString=t.formatError=t.formatValue=void 0;const n=i(6373),a=i(4665);function s(e){return void 0===e?"<undefined>":"symbol"==typeof e?e.toString():null===e?"<null>":`<${typeof e}:${e}>`}function o(e,t,i){const a=(0,n.getAssertionErrorFromProvider)(e);if("object"==typeof a)throw a;return`${a?`${a}: `:""}${t} ${s(i)}`}t.formatValue=s,t.formatError=o,t.assertString=(e,t=void 0)=>{(0,n.assertTruthy)((0,a.isString)(e),(()=>o(t,"Not a string",e)))},t.assertNumber=(e,t=void 0)=>{(0,n.assertTruthy)((0,a.isNumber)(e),(()=>o(t,"Not a number",e)))},t.assertBoolean=(e,t=void 0)=>{(0,n.assertTruthy)((0,a.isBoolean)(e),(()=>o(t,"Not a boolean",e)))},t.assertUuid=(e,t=void 0)=>{(0,n.assertTruthy)((0,a.isUuid)(e),(()=>o(t,"Invalid uuid",e)))},t.assertHexString=(e,t=void 0)=>{(0,n.assertTruthy)((0,a.isHexString)(e),(()=>o(t,"Invalid hex string",e)))},t.assertEmail=(e,t=void 0)=>{(0,n.assertTruthy)((0,a.isEmail)(e),(()=>o(t,"Invalid email",e)))},t.assertDate=(e,t=void 0)=>{(0,n.assertTruthy)(e instanceof Date,(()=>o(t,"Invalid Date",e)))},t.assertNonNullable=function(e,t){(0,n.assertTruthy)((0,a.isNonNullable)(e),(()=>o(t,"Value is "+(void 0===e?"undefined":"null"),e)))}},4665:(e,t)=>{"use strict";function i(e){return"string"==typeof e}function n(e,t,i){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!i(e[n],t[n]))return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.isNonNullable=t.isHexString=t.isUuid=t.isEmail=t.checkArraysHasEqualElementsByComparator=t.checkArraysHaveEqualElements=t.checkArrayHasUniqueElements=t.isDate=t.isNumber=t.isString=t.isBoolean=void 0,t.isBoolean=function(e){return"boolean"==typeof e},t.isString=i,t.isNumber=function(e){return"number"==typeof e},t.isDate=function(e){return e instanceof Date},t.checkArrayHasUniqueElements=function(e,t){if(e.length<=1)return!0;const i=new Set;for(const n of e){const e=t(n);if(i.has(e))return!1;i.add(e)}return!0},t.checkArraysHaveEqualElements=function(e,t){return n(e,t,((e,t)=>e===t))},t.checkArraysHasEqualElementsByComparator=n;const a=/^[-!#$%&'*+/\d=?A-Z^_a-z{|}~](\.?[-!#$%&'*+/\d=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z\d])*\.[a-zA-Z](-?[a-zA-Z\d])+$/,s=/^(?!\.)((?!.*\.{2})[a-zA-Z0-9\u0080-\u00FF\u0100-\u017F\u0180-\u024F\u0250-\u02AF\u0300-\u036F\u0370-\u03FF\u0400-\u04FF\u0500-\u052F\u0530-\u058F\u0590-\u05FF\u0600-\u06FF\u0700-\u074F\u0750-\u077F\u0780-\u07BF\u07C0-\u07FF\u0900-\u097F\u0980-\u09FF\u0A00-\u0A7F\u0A80-\u0AFF\u0B00-\u0B7F\u0B80-\u0BFF\u0C00-\u0C7F\u0C80-\u0CFF\u0D00-\u0D7F\u0D80-\u0DFF\u0E00-\u0E7F\u0E80-\u0EFF\u0F00-\u0FFF\u1000-\u109F\u10A0-\u10FF\u1100-\u11FF\u1200-\u137F\u1380-\u139F\u13A0-\u13FF\u1400-\u167F\u1680-\u169F\u16A0-\u16FF\u1700-\u171F\u1720-\u173F\u1740-\u175F\u1760-\u177F\u1780-\u17FF\u1800-\u18AF\u1900-\u194F\u1950-\u197F\u1980-\u19DF\u19E0-\u19FF\u1A00-\u1A1F\u1B00-\u1B7F\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u1E00-\u1EFF\u1F00-\u1FFF\u20D0-\u20FF\u2100-\u214F\u2C00-\u2C5F\u2C60-\u2C7F\u2C80-\u2CFF\u2D00-\u2D2F\u2D30-\u2D7F\u2D80-\u2DDF\u2F00-\u2FDF\u2FF0-\u2FFF\u3040-\u309F\u30A0-\u30FF\u3100-\u312F\u3130-\u318F\u3190-\u319F\u31C0-\u31EF\u31F0-\u31FF\u3200-\u32FF\u3300-\u33FF\u3400-\u4DBF\u4DC0-\u4DFF\u4E00-\u9FFF\uA000-\uA48F\uA490-\uA4CF\uA700-\uA71F\uA800-\uA82F\uA840-\uA87F\uAC00-\uD7AF\uF900-\uFAFF.!#$%&'*+-/=?^_`{|}~\-\d]+)@(?!\.)([a-zA-Z0-9\u0080-\u00FF\u0100-\u017F\u0180-\u024F\u0250-\u02AF\u0300-\u036F\u0370-\u03FF\u0400-\u04FF\u0500-\u052F\u0530-\u058F\u0590-\u05FF\u0600-\u06FF\u0700-\u074F\u0750-\u077F\u0780-\u07BF\u07C0-\u07FF\u0900-\u097F\u0980-\u09FF\u0A00-\u0A7F\u0A80-\u0AFF\u0B00-\u0B7F\u0B80-\u0BFF\u0C00-\u0C7F\u0C80-\u0CFF\u0D00-\u0D7F\u0D80-\u0DFF\u0E00-\u0E7F\u0E80-\u0EFF\u0F00-\u0FFF\u1000-\u109F\u10A0-\u10FF\u1100-\u11FF\u1200-\u137F\u1380-\u139F\u13A0-\u13FF\u1400-\u167F\u1680-\u169F\u16A0-\u16FF\u1700-\u171F\u1720-\u173F\u1740-\u175F\u1760-\u177F\u1780-\u17FF\u1800-\u18AF\u1900-\u194F\u1950-\u197F\u1980-\u19DF\u19E0-\u19FF\u1A00-\u1A1F\u1B00-\u1B7F\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u1E00-\u1EFF\u1F00-\u1FFF\u20D0-\u20FF\u2100-\u214F\u2C00-\u2C5F\u2C60-\u2C7F\u2C80-\u2CFF\u2D00-\u2D2F\u2D30-\u2D7F\u2D80-\u2DDF\u2F00-\u2FDF\u2FF0-\u2FFF\u3040-\u309F\u30A0-\u30FF\u3100-\u312F\u3130-\u318F\u3190-\u319F\u31C0-\u31EF\u31F0-\u31FF\u3200-\u32FF\u3300-\u33FF\u3400-\u4DBF\u4DC0-\u4DFF\u4E00-\u9FFF\uA000-\uA48F\uA490-\uA4CF\uA700-\uA71F\uA800-\uA82F\uA840-\uA87F\uAC00-\uD7AF\uF900-\uFAFF\-.\d]+)((\.([a-zA-Z\u0080-\u00FF\u0100-\u017F\u0180-\u024F\u0250-\u02AF\u0300-\u036F\u0370-\u03FF\u0400-\u04FF\u0500-\u052F\u0530-\u058F\u0590-\u05FF\u0600-\u06FF\u0700-\u074F\u0750-\u077F\u0780-\u07BF\u07C0-\u07FF\u0900-\u097F\u0980-\u09FF\u0A00-\u0A7F\u0A80-\u0AFF\u0B00-\u0B7F\u0B80-\u0BFF\u0C00-\u0C7F\u0C80-\u0CFF\u0D00-\u0D7F\u0D80-\u0DFF\u0E00-\u0E7F\u0E80-\u0EFF\u0F00-\u0FFF\u1000-\u109F\u10A0-\u10FF\u1100-\u11FF\u1200-\u137F\u1380-\u139F\u13A0-\u13FF\u1400-\u167F\u1680-\u169F\u16A0-\u16FF\u1700-\u171F\u1720-\u173F\u1740-\u175F\u1760-\u177F\u1780-\u17FF\u1800-\u18AF\u1900-\u194F\u1950-\u197F\u1980-\u19DF\u19E0-\u19FF\u1A00-\u1A1F\u1B00-\u1B7F\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u1E00-\u1EFF\u1F00-\u1FFF\u20D0-\u20FF\u2100-\u214F\u2C00-\u2C5F\u2C60-\u2C7F\u2C80-\u2CFF\u2D00-\u2D2F\u2D30-\u2D7F\u2D80-\u2DDF\u2F00-\u2FDF\u2FF0-\u2FFF\u3040-\u309F\u30A0-\u30FF\u3100-\u312F\u3130-\u318F\u3190-\u319F\u31C0-\u31EF\u31F0-\u31FF\u3200-\u32FF\u3300-\u33FF\u3400-\u4DBF\u4DC0-\u4DFF\u4E00-\u9FFF\uA000-\uA48F\uA490-\uA4CF\uA700-\uA71F\uA800-\uA82F\uA840-\uA87F\uAC00-\uD7AF\uF900-\uFAFF]){2,63})+)$/i;t.isEmail=function(e,t={allowInternationalDomains:!1}){if(!i(e)||0===e.length||e.length>254)return!1;if(!(t.allowInternationalDomains?s:a).test(e))return!1;const n=e.split("@");return!(n[0].length>64||n[1].split(".").some((e=>e.length>63)))};const o=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;t.isUuid=function(e){return i(e)&&o.test(e)};const r=/^[0-9a-fA-F]*$/;t.isHexString=function(e){return i(e)&&r.test(e)},t.isNonNullable=function(e){return null!=e}},8630:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateRecord=t.validateArray=t.validateObject=t.tryCatch=void 0;const n=i(6373);function a(e){try{e()}catch(e){return e instanceof Error&&e.message||`${e}`}}t.tryCatch=a,t.validateObject=function(e,t,i=void 0,s={}){return a((()=>(0,n.assertObject)(e,t,i,s)))},t.validateArray=function(e,t,i={},s=void 0){return a((()=>(0,n.assertArray)(e,t,i,s)))},t.validateRecord=function(e,t,i={},s=void 0){return a((()=>(0,n.assertRecord)(e,t,i,s)))}},4077:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),a(i(6373),t),a(i(8596),t),a(i(1333),t),a(i(4665),t),a(i(8630),t)},6797:(e,t,i)=>{"use strict";e.exports=i(5349)},5349:e=>{"use strict";var t=function(e){if(e=e||{},this.Promise=e.Promise||Promise,this.queues=Object.create(null),this.domainReentrant=e.domainReentrant||!1,this.domainReentrant){if("undefined"==typeof process||void 0===process.domain)throw new Error("Domain-reentrant locks require `process.domain` to exist. Please flip `opts.domainReentrant = false`, use a NodeJS version that still implements Domain, or install a browser polyfill.");this.domains=Object.create(null)}this.timeout=e.timeout||t.DEFAULT_TIMEOUT,this.maxOccupationTime=e.maxOccupationTime||t.DEFAULT_MAX_OCCUPATION_TIME,this.maxExecutionTime=e.maxExecutionTime||t.DEFAULT_MAX_EXECUTION_TIME,e.maxPending===1/0||Number.isInteger(e.maxPending)&&e.maxPending>=0?this.maxPending=e.maxPending:this.maxPending=t.DEFAULT_MAX_PENDING};t.DEFAULT_TIMEOUT=0,t.DEFAULT_MAX_OCCUPATION_TIME=0,t.DEFAULT_MAX_EXECUTION_TIME=0,t.DEFAULT_MAX_PENDING=1e3,t.prototype.acquire=function(e,t,i,n){if(Array.isArray(e))return this._acquireBatch(e,t,i,n);if("function"!=typeof t)throw new Error("You must pass a function to execute");var a=null,s=null,o=null;"function"!=typeof i&&(n=i,i=null,o=new this.Promise((function(e,t){a=e,s=t}))),n=n||{};var r=!1,c=null,u=null,l=null,p=this,d=function(t,n,c){u&&(clearTimeout(u),u=null),l&&(clearTimeout(l),l=null),t&&(p.queues[e]&&0===p.queues[e].length&&delete p.queues[e],p.domainReentrant&&delete p.domains[e]),r||(o?n?s(n):a(c):"function"==typeof i&&i(n,c),r=!0),t&&p.queues[e]&&p.queues[e].length>0&&p.queues[e].shift()()},f=function(i){if(r)return d(i);c&&(clearTimeout(c),c=null),p.domainReentrant&&i&&(p.domains[e]=process.domain);var a=n.maxExecutionTime||p.maxExecutionTime;if(a&&(l=setTimeout((function(){p.queues[e]&&d(i,new Error("Maximum execution time is exceeded "+e))}),a)),1===t.length){var s=!1;try{t((function(e,t){s||(s=!0,d(i,e,t))}))}catch(e){s||(s=!0,d(i,e))}}else p._promiseTry((function(){return t()})).then((function(e){d(i,void 0,e)}),(function(e){d(i,e)}))};p.domainReentrant&&process.domain&&(f=process.domain.bind(f));var h=n.maxPending||p.maxPending;if(p.queues[e])if(p.domainReentrant&&process.domain&&process.domain===p.domains[e])f(!1);else if(p.queues[e].length>=h)d(!1,new Error("Too many pending tasks in queue "+e));else{var m=function(){f(!0)};n.skipQueue?p.queues[e].unshift(m):p.queues[e].push(m);var g=n.timeout||p.timeout;g&&(c=setTimeout((function(){c=null,d(!1,new Error("async-lock timed out in queue "+e))}),g))}else p.queues[e]=[],f(!0);var b=n.maxOccupationTime||p.maxOccupationTime;return b&&(u=setTimeout((function(){p.queues[e]&&d(!1,new Error("Maximum occupation time is exceeded in queue "+e))}),b)),o||void 0},t.prototype._acquireBatch=function(e,t,i,n){"function"!=typeof i&&(n=i,i=null);var a=this,s=e.reduceRight((function(e,t){return function(e,t){return function(i){a.acquire(e,t,i,n)}}(t,e)}),t);if("function"!=typeof i)return new this.Promise((function(e,t){1===s.length?s((function(i,n){i?t(i):e(n)})):e(s())}));s(i)},t.prototype.isBusy=function(e){return e?!!this.queues[e]:Object.keys(this.queues).length>0},t.prototype._promiseTry=function(e){try{return this.Promise.resolve(e())}catch(e){return this.Promise.reject(e)}},e.exports=t},8909:(e,t,i)=>{e.exports={parallel:i(5946),serial:i(6893),serialOrdered:i(8424)}},9407:e=>{function t(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}e.exports=function(e){Object.keys(e.jobs).forEach(t.bind(e)),e.jobs={}}},7797:(e,t,i)=>{var n=i(4457);e.exports=function(e){var t=!1;return n((function(){t=!0})),function(i,a){t?e(i,a):n((function(){e(i,a)}))}}},4457:e=>{e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},4407:(e,t,i)=>{var n=i(7797),a=i(9407);e.exports=function(e,t,i,s){var o=i.keyedList?i.keyedList[i.index]:i.index;i.jobs[o]=function(e,t,i,a){return 2==e.length?e(i,n(a)):e(i,t,n(a))}(t,o,e[o],(function(e,t){o in i.jobs&&(delete i.jobs[o],e?a(i):i.results[o]=t,s(e,i.results))}))}},264:e=>{e.exports=function(e,t){var i=!Array.isArray(e),n={index:0,keyedList:i||t?Object.keys(e):null,jobs:{},results:i?{}:[],size:i?Object.keys(e).length:e.length};return t&&n.keyedList.sort(i?t:function(i,n){return t(e[i],e[n])}),n}},9712:(e,t,i)=>{var n=i(9407),a=i(7797);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,n(this),a(e)(null,this.results))}},5946:(e,t,i)=>{var n=i(4407),a=i(264),s=i(9712);e.exports=function(e,t,i){for(var o=a(e);o.index<(o.keyedList||e).length;)n(e,t,o,(function(e,t){e?i(e,t):0!==Object.keys(o.jobs).length||i(null,o.results)})),o.index++;return s.bind(o,i)}},6893:(e,t,i)=>{var n=i(8424);e.exports=function(e,t,i){return n(e,t,null,i)}},8424:(e,t,i)=>{var n=i(4407),a=i(264),s=i(9712);function o(e,t){return e<t?-1:e>t?1:0}e.exports=function(e,t,i,o){var r=a(e,i);return n(e,t,r,(function i(a,s){a?o(a,s):(r.index++,r.index<(r.keyedList||e).length?n(e,t,r,i):o(null,r.results))})),s.bind(r,o)},e.exports.ascending=o,e.exports.descending=function(e,t){return-1*o(e,t)}},663:e=>{"use strict";function t(e,t,i){return t=t instanceof RegExp?t:new RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),e.replace(t,i)}var i={clean:function(e){if("string"!=typeof e)throw new Error("Expected a string, received: "+e);return e=t(e,"./","/"),e=t(e,"..","."),e=t(e," ","-"),e=t(e,/^[~^:?*\\\-]/g,""),e=t(e,/[~^:?*\\]/g,"-"),e=t(e,/[~^:?*\\\-]$/g,""),e=t(e,"@{","-"),e=t(e,/\.$/g,""),e=t(e,/\/$/g,""),t(e,/\.lock$/g,"")}};e.exports=i},7951:(e,t,i)=>{const n=i(2880),a={};for(const e of Object.keys(n))a[n[e]]=e;const s={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=s;for(const e of Object.keys(s)){if(!("channels"in s[e]))throw new Error("missing channels property: "+e);if(!("labels"in s[e]))throw new Error("missing channel labels property: "+e);if(s[e].labels.length!==s[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:i}=s[e];delete s[e].channels,delete s[e].labels,Object.defineProperty(s[e],"channels",{value:t}),Object.defineProperty(s[e],"labels",{value:i})}s.rgb.hsl=function(e){const t=e[0]/255,i=e[1]/255,n=e[2]/255,a=Math.min(t,i,n),s=Math.max(t,i,n),o=s-a;let r,c;s===a?r=0:t===s?r=(i-n)/o:i===s?r=2+(n-t)/o:n===s&&(r=4+(t-i)/o),r=Math.min(60*r,360),r<0&&(r+=360);const u=(a+s)/2;return c=s===a?0:u<=.5?o/(s+a):o/(2-s-a),[r,100*c,100*u]},s.rgb.hsv=function(e){let t,i,n,a,s;const o=e[0]/255,r=e[1]/255,c=e[2]/255,u=Math.max(o,r,c),l=u-Math.min(o,r,c),p=function(e){return(u-e)/6/l+.5};return 0===l?(a=0,s=0):(s=l/u,t=p(o),i=p(r),n=p(c),o===u?a=n-i:r===u?a=1/3+t-n:c===u&&(a=2/3+i-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*s,100*u]},s.rgb.hwb=function(e){const t=e[0],i=e[1];let n=e[2];const a=s.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(i,n));return n=1-1/255*Math.max(t,Math.max(i,n)),[a,100*o,100*n]},s.rgb.cmyk=function(e){const t=e[0]/255,i=e[1]/255,n=e[2]/255,a=Math.min(1-t,1-i,1-n);return[100*((1-t-a)/(1-a)||0),100*((1-i-a)/(1-a)||0),100*((1-n-a)/(1-a)||0),100*a]},s.rgb.keyword=function(e){const t=a[e];if(t)return t;let i,s=1/0;for(const t of Object.keys(n)){const a=(r=n[t],((o=e)[0]-r[0])**2+(o[1]-r[1])**2+(o[2]-r[2])**2);a<s&&(s=a,i=t)}var o,r;return i},s.keyword.rgb=function(e){return n[e]},s.rgb.xyz=function(e){let t=e[0]/255,i=e[1]/255,n=e[2]/255;return t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,[100*(.4124*t+.3576*i+.1805*n),100*(.2126*t+.7152*i+.0722*n),100*(.0193*t+.1192*i+.9505*n)]},s.rgb.lab=function(e){const t=s.rgb.xyz(e);let i=t[0],n=t[1],a=t[2];return i/=95.047,n/=100,a/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,[116*n-16,500*(i-n),200*(n-a)]},s.hsl.rgb=function(e){const t=e[0]/360,i=e[1]/100,n=e[2]/100;let a,s,o;if(0===i)return o=255*n,[o,o,o];a=n<.5?n*(1+i):n+i-n*i;const r=2*n-a,c=[0,0,0];for(let e=0;e<3;e++)s=t+1/3*-(e-1),s<0&&s++,s>1&&s--,o=6*s<1?r+6*(a-r)*s:2*s<1?a:3*s<2?r+(a-r)*(2/3-s)*6:r,c[e]=255*o;return c},s.hsl.hsv=function(e){const t=e[0];let i=e[1]/100,n=e[2]/100,a=i;const s=Math.max(n,.01);return n*=2,i*=n<=1?n:2-n,a*=s<=1?s:2-s,[t,100*(0===n?2*a/(s+a):2*i/(n+i)),(n+i)/2*100]},s.hsv.rgb=function(e){const t=e[0]/60,i=e[1]/100;let n=e[2]/100;const a=Math.floor(t)%6,s=t-Math.floor(t),o=255*n*(1-i),r=255*n*(1-i*s),c=255*n*(1-i*(1-s));switch(n*=255,a){case 0:return[n,c,o];case 1:return[r,n,o];case 2:return[o,n,c];case 3:return[o,r,n];case 4:return[c,o,n];case 5:return[n,o,r]}},s.hsv.hsl=function(e){const t=e[0],i=e[1]/100,n=e[2]/100,a=Math.max(n,.01);let s,o;o=(2-i)*n;const r=(2-i)*a;return s=i*a,s/=r<=1?r:2-r,s=s||0,o/=2,[t,100*s,100*o]},s.hwb.rgb=function(e){const t=e[0]/360;let i=e[1]/100,n=e[2]/100;const a=i+n;let s;a>1&&(i/=a,n/=a);const o=Math.floor(6*t),r=1-n;s=6*t-o,1&o&&(s=1-s);const c=i+s*(r-i);let u,l,p;switch(o){default:case 6:case 0:u=r,l=c,p=i;break;case 1:u=c,l=r,p=i;break;case 2:u=i,l=r,p=c;break;case 3:u=i,l=c,p=r;break;case 4:u=c,l=i,p=r;break;case 5:u=r,l=i,p=c}return[255*u,255*l,255*p]},s.cmyk.rgb=function(e){const t=e[0]/100,i=e[1]/100,n=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))]},s.xyz.rgb=function(e){const t=e[0]/100,i=e[1]/100,n=e[2]/100;let a,s,o;return a=3.2406*t+-1.5372*i+-.4986*n,s=-.9689*t+1.8758*i+.0415*n,o=.0557*t+-.204*i+1.057*n,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[255*a,255*s,255*o]},s.xyz.lab=function(e){let t=e[0],i=e[1],n=e[2];return t/=95.047,i/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,[116*i-16,500*(t-i),200*(i-n)]},s.lab.xyz=function(e){let t,i,n;i=(e[0]+16)/116,t=e[1]/500+i,n=i-e[2]/200;const a=i**3,s=t**3,o=n**3;return i=a>.008856?a:(i-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,t*=95.047,i*=100,n*=108.883,[t,i,n]},s.lab.lch=function(e){const t=e[0],i=e[1],n=e[2];let a;return a=360*Math.atan2(n,i)/2/Math.PI,a<0&&(a+=360),[t,Math.sqrt(i*i+n*n),a]},s.lch.lab=function(e){const t=e[0],i=e[1],n=e[2]/360*2*Math.PI;return[t,i*Math.cos(n),i*Math.sin(n)]},s.rgb.ansi16=function(e,t=null){const[i,n,a]=e;let o=null===t?s.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),0===o)return 30;let r=30+(Math.round(a/255)<<2|Math.round(n/255)<<1|Math.round(i/255));return 2===o&&(r+=60),r},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){const t=e[0],i=e[1],n=e[2];return t===i&&i===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},s.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const i=.5*(1+~~(e>50));return[(1&t)*i*255,(t>>1&1)*i*255,(t>>2&1)*i*255]},s.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},s.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},s.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let i=t[0];3===t[0].length&&(i=i.split("").map((e=>e+e)).join(""));const n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},s.rgb.hcg=function(e){const t=e[0]/255,i=e[1]/255,n=e[2]/255,a=Math.max(Math.max(t,i),n),s=Math.min(Math.min(t,i),n),o=a-s;let r,c;return r=o<1?s/(1-o):0,c=o<=0?0:a===t?(i-n)/o%6:a===i?2+(n-t)/o:4+(t-i)/o,c/=6,c%=1,[360*c,100*o,100*r]},s.hsl.hcg=function(e){const t=e[1]/100,i=e[2]/100,n=i<.5?2*t*i:2*t*(1-i);let a=0;return n<1&&(a=(i-.5*n)/(1-n)),[e[0],100*n,100*a]},s.hsv.hcg=function(e){const t=e[1]/100,i=e[2]/100,n=t*i;let a=0;return n<1&&(a=(i-n)/(1-n)),[e[0],100*n,100*a]},s.hcg.rgb=function(e){const t=e[0]/360,i=e[1]/100,n=e[2]/100;if(0===i)return[255*n,255*n,255*n];const a=[0,0,0],s=t%1*6,o=s%1,r=1-o;let c=0;switch(Math.floor(s)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=r,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=r,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=r}return c=(1-i)*n,[255*(i*a[0]+c),255*(i*a[1]+c),255*(i*a[2]+c)]},s.hcg.hsv=function(e){const t=e[1]/100,i=t+e[2]/100*(1-t);let n=0;return i>0&&(n=t/i),[e[0],100*n,100*i]},s.hcg.hsl=function(e){const t=e[1]/100,i=e[2]/100*(1-t)+.5*t;let n=0;return i>0&&i<.5?n=t/(2*i):i>=.5&&i<1&&(n=t/(2*(1-i))),[e[0],100*n,100*i]},s.hcg.hwb=function(e){const t=e[1]/100,i=t+e[2]/100*(1-t);return[e[0],100*(i-t),100*(1-i)]},s.hwb.hcg=function(e){const t=e[1]/100,i=1-e[2]/100,n=i-t;let a=0;return n<1&&(a=(i-n)/(1-n)),[e[0],100*n,100*a]},s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},s.gray.hsl=function(e){return[0,0,e[0]]},s.gray.hsv=s.gray.hsl,s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(i.length)+i},s.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},8666:(e,t,i)=>{const n=i(7951),a=i(1247),s={};Object.keys(n).forEach((e=>{s[e]={},Object.defineProperty(s[e],"channels",{value:n[e].channels}),Object.defineProperty(s[e],"labels",{value:n[e].labels});const t=a(e);Object.keys(t).forEach((i=>{const n=t[i];s[e][i]=function(e){const t=function(...t){const i=t[0];if(null==i)return i;i.length>1&&(t=i);const n=e(t);if("object"==typeof n)for(let e=n.length,t=0;t<e;t++)n[t]=Math.round(n[t]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(n),s[e][i].raw=function(e){const t=function(...t){const i=t[0];return null==i?i:(i.length>1&&(t=i),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))})),e.exports=s},1247:(e,t,i)=>{const n=i(7951);function a(e,t){return function(i){return t(e(i))}}function s(e,t){const i=[t[e].parent,e];let s=n[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)i.unshift(t[o].parent),s=a(n[t[o].parent][o],s),o=t[o].parent;return s.conversion=i,s}e.exports=function(e){const t=function(e){const t=function(){const e={},t=Object.keys(n);for(let i=t.length,n=0;n<i;n++)e[t[n]]={distance:-1,parent:null};return e}(),i=[e];for(t[e].distance=0;i.length;){const e=i.pop(),a=Object.keys(n[e]);for(let n=a.length,s=0;s<n;s++){const n=a[s],o=t[n];-1===o.distance&&(o.distance=t[e].distance+1,o.parent=e,i.unshift(n))}}return t}(e),i={},a=Object.keys(t);for(let e=a.length,n=0;n<e;n++){const e=a[n];null!==t[e].parent&&(i[e]=s(e,t))}return i}},2880:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},5645:(e,t,i)=>{var n=i(9023),a=i(2203).Stream,s=i(4145);function o(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}e.exports=o,n.inherits(o,a),o.create=function(e){var t=new this;for(var i in e=e||{})t[i]=e[i];return t},o.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},o.prototype.append=function(e){if(o.isStreamLike(e)){if(!(e instanceof s)){var t=s.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},o.prototype.pipe=function(e,t){return a.prototype.pipe.call(this,e,t),this.resume(),e},o.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},o.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){o.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},o.prototype._pipeNext=function(e){if(this._currentStream=e,o.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},o.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},o.prototype.write=function(e){this.emit("data",e)},o.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},o.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},o.prototype.end=function(){this._reset(),this.emit("end")},o.prototype.destroy=function(){this._reset(),this.emit("close")},o.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},o.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},o.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},o.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},338:(e,t)=>{var i;i=function(e){e.version="1.2.2";var t=function(){for(var e=0,t=new Array(256),i=0;256!=i;++i)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=i)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[i]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}(),i=function(e){var t=0,i=0,n=0,a="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)a[n]=e[n];for(n=0;256!=n;++n)for(i=e[n],t=256+n;t<4096;t+=256)i=a[t]=i>>>8^e[255&i];var s=[];for(n=1;16!=n;++n)s[n-1]="undefined"!=typeof Int32Array?a.subarray(256*n,256*n+256):a.slice(256*n,256*n+256);return s}(t),n=i[0],a=i[1],s=i[2],o=i[3],r=i[4],c=i[5],u=i[6],l=i[7],p=i[8],d=i[9],f=i[10],h=i[11],m=i[12],g=i[13],b=i[14];e.table=t,e.bstr=function(e,i){for(var n=~i,a=0,s=e.length;a<s;)n=n>>>8^t[255&(n^e.charCodeAt(a++))];return~n},e.buf=function(e,i){for(var v=~i,x=e.length-15,y=0;y<x;)v=b[e[y++]^255&v]^g[e[y++]^v>>8&255]^m[e[y++]^v>>16&255]^h[e[y++]^v>>>24]^f[e[y++]]^d[e[y++]]^p[e[y++]]^l[e[y++]]^u[e[y++]]^c[e[y++]]^r[e[y++]]^o[e[y++]]^s[e[y++]]^a[e[y++]]^n[e[y++]]^t[e[y++]];for(x+=15;y<x;)v=v>>>8^t[255&(v^e[y++])];return~v},e.str=function(e,i){for(var n=~i,a=0,s=e.length,o=0,r=0;a<s;)(o=e.charCodeAt(a++))<128?n=n>>>8^t[255&(n^o)]:o<2048?n=(n=n>>>8^t[255&(n^(192|o>>6&31))])>>>8^t[255&(n^(128|63&o))]:o>=55296&&o<57344?(o=64+(1023&o),r=1023&e.charCodeAt(a++),n=(n=(n=(n=n>>>8^t[255&(n^(240|o>>8&7))])>>>8^t[255&(n^(128|o>>2&63))])>>>8^t[255&(n^(128|r>>6&15|(3&o)<<4))])>>>8^t[255&(n^(128|63&r))]):n=(n=(n=n>>>8^t[255&(n^(224|o>>12&15))])>>>8^t[255&(n^(128|o>>6&63))])>>>8^t[255&(n^(128|63&o))];return~n}},"undefined"==typeof DO_NOT_EXPORT_CRC?i(t):i({})},7989:(e,t,i)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const i="color: "+this.color;t.splice(1,0,i,"color: inherit");let n=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(a=n))})),t.splice(a,0,i)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=i(1236)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1236:(e,t,i)=>{e.exports=function(e){function t(e){let i,a,s,o=null;function r(...e){if(!r.enabled)return;const n=r,a=Number(new Date),s=a-(i||a);n.diff=s,n.prev=i,n.curr=a,i=a,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((i,a)=>{if("%%"===i)return"%";o++;const s=t.formatters[a];if("function"==typeof s){const t=e[o];i=s.call(n,t),e.splice(o,1),o--}return i})),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return r.namespace=e,r.useColors=t.useColors(),r.color=t.selectColor(e),r.extend=n,r.destroy=t.destroy,Object.defineProperty(r,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(a!==t.namespaces&&(a=t.namespaces,s=t.enabled(e)),s),set:e=>{o=e}}),"function"==typeof t.init&&t.init(r),r}function n(e,i){const n=t(this.namespace+(void 0===i?":":i)+e);return n.log=this.log,n}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let i;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),a=n.length;for(i=0;i<a;i++)n[i]&&("-"===(e=n[i].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let i,n;for(i=0,n=t.skips.length;i<n;i++)if(t.skips[i].test(e))return!1;for(i=0,n=t.names.length;i<n;i++)if(t.names[i].test(e))return!0;return!1},t.humanize=i(6301),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((i=>{t[i]=e[i]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let i=0;for(let t=0;t<e.length;t++)i=(i<<5)-i+e.charCodeAt(t),i|=0;return t.colors[Math.abs(i)%t.colors.length]},t.enable(t.load()),t}},9221:(e,t,i)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=i(7989):e.exports=i(6221)},6221:(e,t,i)=>{const n=i(2018),a=i(9023);t.init=function(e){e.inspectOpts={};const i=Object.keys(t.inspectOpts);for(let n=0;n<i.length;n++)e.inspectOpts[i[n]]=t.inspectOpts[i[n]]},t.log=function(...e){return process.stderr.write(a.format(...e)+"\n")},t.formatArgs=function(i){const{namespace:n,useColors:a}=this;if(a){const t=this.color,a="[3"+(t<8?t:"8;5;"+t),s=` ${a};1m${n} [0m`;i[0]=s+i[0].split("\n").join("\n"+s),i.push(a+"m+"+e.exports.humanize(this.diff)+"[0m")}else i[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+n+" "+i[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)},t.destroy=a.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=i(459);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const i=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[i]=n,e}),{}),e.exports=i(1236)(t);const{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts)}},2686:(e,t,i)=>{"use strict";const{Transform:n,PassThrough:a}=i(2203),s=i(3106),o=i(6265);e.exports=e=>{const t=(e.headers["content-encoding"]||"").toLowerCase();if(!["gzip","deflate","br"].includes(t))return e;const i="br"===t;if(i&&"function"!=typeof s.createBrotliDecompress)return e.destroy(new Error("Brotli is not supported on Node.js < 12")),e;let r=!0;const c=new n({transform(e,t,i){r=!1,i(null,e)},flush(e){e()}}),u=new a({autoDestroy:!1,destroy(t,i){e.destroy(),i(t)}}),l=i?s.createBrotliDecompress():s.createUnzip();return l.once("error",(t=>{!r||e.readable?u.destroy(t):u.end()})),o(e,u),e.pipe(c).pipe(l).pipe(u),u}},6265:e=>{"use strict";const t=["aborted","complete","headers","httpVersion","httpVersionMinor","httpVersionMajor","method","rawHeaders","rawTrailers","setTimeout","socket","statusCode","statusMessage","trailers","url"];e.exports=(e,i)=>{if(i._readableState.autoDestroy)throw new Error("The second stream must have the `autoDestroy` option set to `false`");const n=new Set(Object.keys(e).concat(t)),a={};for(const t of n)t in i||(a[t]={get(){const i=e[t];return"function"==typeof i?i.bind(e):i},set(i){e[t]=i},enumerable:!0,configurable:!1});return Object.defineProperties(i,a),e.once("aborted",(()=>{i.destroy(),i.emit("aborted")})),e.once("close",(()=>{e.complete&&i.readable?i.once("end",(()=>{i.emit("close")})):i.emit("close")})),i}},4145:(e,t,i)=>{var n=i(2203).Stream,a=i(9023);function s(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=s,a.inherits(s,n),s.create=function(e,t){var i=new this;for(var n in t=t||{})i[n]=t[n];i.source=e;var a=e.emit;return e.emit=function(){return i._handleEmit(arguments),a.apply(e,arguments)},e.on("error",(function(){})),i.pauseStream&&e.pause(),i},Object.defineProperty(s.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),s.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},s.prototype.resume=function(){this._released||this.release(),this.source.resume()},s.prototype.pause=function(){this.source.pause()},s.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},s.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);return this.resume(),e},s.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))},s.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))}}},5275:(e,t,i)=>{var n=i(4880);function a(e,t){for(var i=[],a=e.length,s=t.length,o=function(e,t){var i=new n(e,t);i.compose();for(var a,s,o=i.getses(),r=e.length-1,c=t.length-1,u=o.length-1;u>=0;--u)o[u].t===i.SES_COMMON?(s?(s.chain={file1index:r,file2index:c,chain:null},s=s.chain):s=a={file1index:r,file2index:c,chain:null},r--,c--):o[u].t===i.SES_DELETE?r--:o[u].t===i.SES_ADD&&c--;var l={file1index:-1,file2index:-1,chain:null};return s?(s.chain=l,a):l}(e,t);null!==o;o=o.chain){var r=a-o.file1index-1,c=s-o.file2index-1;a=o.file1index,s=o.file2index,(r||c)&&i.push({file1:[a+1,r],file2:[s+1,c]})}return i.reverse(),i}e.exports=function(e,t,i){var n=[],s=[e,t,i],o=function(e,t,i){var n,s=a(t,e),o=a(t,i),r=[];function c(e,t){r.push([e.file1[0],t,e.file1[1],e.file2[0],e.file2[1]])}for(n=0;n<s.length;n++)c(s[n],0);for(n=0;n<o.length;n++)c(o[n],2);r.sort((function(e,t){return e[0]-t[0]}));var u=[],l=0;function p(e){e>l&&(u.push([1,l,e-l]),l=e)}for(var d=0;d<r.length;d++){for(var f=d,h=r[d],m=h[0],g=m+h[2];d<r.length-1;){var b=r[d+1],v=b[0];if(v>g)break;g=Math.max(g,v+b[2]),d++}if(p(m),f==d)h[4]>0&&u.push([h[1],h[3],h[4]]);else{var x={0:[e.length,-1,t.length,-1],2:[i.length,-1,t.length,-1]};for(n=f;n<=d;n++){var y=x[(h=r[n])[1]],w=h[0],D=w+h[2],_=h[3],E=_+h[4];y[0]=Math.min(_,y[0]),y[1]=Math.max(E,y[1]),y[2]=Math.min(w,y[2]),y[3]=Math.max(D,y[3])}var F=x[0][0]+(m-x[0][2]),k=x[0][1]+(g-x[0][3]),C=x[2][0]+(m-x[2][2]),j=x[2][1]+(g-x[2][3]);u.push([-1,F,k-F,m,g-m,C,j-C])}l=g}return p(t.length),u}(e,t,i),r=[];function c(){r.length&&n.push({ok:r}),r=[]}function u(e){for(var t=0;t<e.length;t++)r.push(e[t])}function l(t){if(t[2]!=t[6])return!0;for(var n=t[1],a=t[5],s=0;s<t[2];s++)if(e[s+n]!=i[s+a])return!0;return!1}for(var p=0;p<o.length;p++){var d=o[p],f=d[0];-1==f?l(d)?(c(),n.push({conflict:{a:e.slice(d[1],d[1]+d[2]),aIndex:d[1],o:t.slice(d[3],d[3]+d[4]),oIndex:d[3],b:i.slice(d[5],d[5]+d[6]),bIndex:d[5]}})):u(s[0].slice(d[1],d[1]+d[2])):u(s[f].slice(d[1],d[1]+d[2]))}return c(),n}},4880:e=>{e.exports=function(e,t){var i,n,a=e,s=t,o=a.length,r=s.length,c=!1,u=null,l=o+1,p=[],d=[],f=[],h="",m=function(e,t,i){return{x:e,y:t,k:i}},g=function(e,t){return{elem:e,t}},b=function(e,t,i){var n,c,u;for(n=t>i?p[e-1+l]:p[e+1+l],c=(u=Math.max(t,i))-e;c<o&&u<r&&a[c]===s[u];)++c,++u;return p[e+l]=d.length,d[d.length]=new m(c,u,n),u};return o>=r&&(i=a,n=o,a=s,s=i,o=r,r=n,c=!0,l=o+1),{SES_DELETE:-1,SES_COMMON:0,SES_ADD:1,editdistance:function(){return u},getlcs:function(){return h},getses:function(){return f},compose:function(){var e,t,i,n,v,x,y,w;for(e=r-o,t=o+r+3,i={},y=0;y<t;++y)i[y]=-1,p[y]=-1;n=-1;do{for(w=-++n;w<=e-1;++w)i[w+l]=b(w,i[w-1+l]+1,i[w+1+l]);for(w=e+n;w>=e+1;--w)i[w+l]=b(w,i[w-1+l]+1,i[w+1+l]);i[e+l]=b(e,i[e-1+l]+1,i[e+1+l])}while(i[e+l]!==r);for(u=e+2*n,v=p[e+l],x=[];-1!==v;)x[x.length]=new m(d[v].x,d[v].y,null),v=d[v].k;!function(e){var t,i,n;for(t=i=0,n=e.length-1;n>=0;--n)for(;t<e[n].x||i<e[n].y;)e[n].y-e[n].x>i-t?(f[f.length]=new g(s[i],c?-1:1),++i):e[n].y-e[n].x<i-t?(f[f.length]=new g(a[t],c?1:-1),++t):(f[f.length]=new g(a[t],0),h+=a[t],++t,++i)}(x)}}}},9650:(e,t,i)=>{const n=i(9896),a=i(6928),s=i(857),o=i(6982),r=i(2108).version,c=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;function u(e){console.log(`[dotenv@${r}][DEBUG] ${e}`)}function l(e){return e&&e.DOTENV_KEY&&e.DOTENV_KEY.length>0?e.DOTENV_KEY:process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0?process.env.DOTENV_KEY:""}function p(e,t){let i;try{i=new URL(t)}catch(e){if("ERR_INVALID_URL"===e.code)throw new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenv.org/vault/.env.vault?environment=development");throw e}const n=i.password;if(!n)throw new Error("INVALID_DOTENV_KEY: Missing key part");const a=i.searchParams.get("environment");if(!a)throw new Error("INVALID_DOTENV_KEY: Missing environment part");const s=`DOTENV_VAULT_${a.toUpperCase()}`,o=e.parsed[s];if(!o)throw new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${s} in your .env.vault file.`);return{ciphertext:o,key:n}}function d(e){let t=a.resolve(process.cwd(),".env");return e&&e.path&&e.path.length>0&&(t=e.path),t.endsWith(".vault")?t:`${t}.vault`}const f={configDotenv:function(e){let t=a.resolve(process.cwd(),".env"),i="utf8";const o=Boolean(e&&e.debug);var r;e&&(null!=e.path&&(t="~"===(r=e.path)[0]?a.join(s.homedir(),r.slice(1)):r),null!=e.encoding&&(i=e.encoding));try{const a=f.parse(n.readFileSync(t,{encoding:i}));let s=process.env;return e&&null!=e.processEnv&&(s=e.processEnv),f.populate(s,a,e),{parsed:a}}catch(e){return o&&u(`Failed to load ${t} ${e.message}`),{error:e}}},_configVault:function(e){console.log(`[dotenv@${r}][INFO] Loading env from encrypted .env.vault`);const t=f._parseVault(e);let i=process.env;return e&&null!=e.processEnv&&(i=e.processEnv),f.populate(i,t,e),{parsed:t}},_parseVault:function(e){const t=d(e),i=f.configDotenv({path:t});if(!i.parsed)throw new Error(`MISSING_DATA: Cannot parse ${t} for an unknown reason`);const n=l(e).split(","),a=n.length;let s;for(let e=0;e<a;e++)try{const t=p(i,n[e].trim());s=f.decrypt(t.ciphertext,t.key);break}catch(t){if(e+1>=a)throw t}return f.parse(s)},config:function(e){const t=d(e);return 0===l(e).length?f.configDotenv(e):n.existsSync(t)?f._configVault(e):(i=`You set DOTENV_KEY but you are missing a .env.vault file at ${t}. Did you forget to build it?`,console.log(`[dotenv@${r}][WARN] ${i}`),f.configDotenv(e));var i},decrypt:function(e,t){const i=Buffer.from(t.slice(-64),"hex");let n=Buffer.from(e,"base64");const a=n.slice(0,12),s=n.slice(-16);n=n.slice(12,-16);try{const e=o.createDecipheriv("aes-256-gcm",i,a);return e.setAuthTag(s),`${e.update(n)}${e.final()}`}catch(e){const t=e instanceof RangeError,i="Invalid key length"===e.message,n="Unsupported state or unable to authenticate data"===e.message;if(t||i)throw new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");if(n)throw new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw console.error("Error: ",e.code),console.error("Error: ",e.message),e}},parse:function(e){const t={};let i,n=e.toString();for(n=n.replace(/\r\n?/gm,"\n");null!=(i=c.exec(n));){const e=i[1];let n=i[2]||"";n=n.trim();const a=n[0];n=n.replace(/^(['"`])([\s\S]*)\1$/gm,"$2"),'"'===a&&(n=n.replace(/\\n/g,"\n"),n=n.replace(/\\r/g,"\r")),t[e]=n}return t},populate:function(e,t,i={}){const n=Boolean(i&&i.debug),a=Boolean(i&&i.override);if("object"!=typeof t)throw new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");for(const i of Object.keys(t))Object.prototype.hasOwnProperty.call(e,i)?(!0===a&&(e[i]=t[i]),n&&u(!0===a?`"${i}" is already defined and WAS overwritten`:`"${i}" is already defined and was NOT overwritten`)):e[i]=t[i]}};e.exports.configDotenv=f.configDotenv,e.exports._configVault=f._configVault,e.exports._parseVault=f._parseVault,e.exports.config=f.config,e.exports.decrypt=f.decrypt,e.exports.parse=f.parse,e.exports.populate=f.populate,e.exports=f},5895:e=>{"use strict";e.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}},7829:(e,t,i)=>{const{dirname:n,resolve:a}=i(6928),{readdirSync:s,statSync:o}=i(9896);e.exports=function(e,t){let i,r=a(".",e);for(o(r).isDirectory()||(r=n(r));;){if(i=t(r,s(r)),i)return a(r,i);if(r=n(i=r),i===r)break}}},1615:(e,t,i)=>{var n;e.exports=function(){if(!n){try{n=i(9221)("follow-redirects")}catch(e){}"function"!=typeof n&&(n=function(){})}n.apply(null,arguments)}},3520:(e,t,i)=>{var n=i(7016),a=n.URL,s=i(8611),o=i(5692),r=i(2203).Writable,c=i(2613),u=i(1615),l=!1;try{c(new a)}catch(e){l="ERR_INVALID_URL"===e.code}var p=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],d=["abort","aborted","connect","error","socket","timeout"],f=Object.create(null);d.forEach((function(e){f[e]=function(t,i,n){this._redirectable.emit(e,t,i,n)}}));var h=C("ERR_INVALID_URL","Invalid URL",TypeError),m=C("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),g=C("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",m),b=C("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),v=C("ERR_STREAM_WRITE_AFTER_END","write after end"),x=r.prototype.destroy||D;function y(e,t){r.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var i=this;this._onNativeResponse=function(e){try{i._processResponse(e)}catch(e){i.emit("error",e instanceof m?e:new m({cause:e}))}},this._performRequest()}function w(e){var t={maxRedirects:21,maxBodyLength:10485760},i={};return Object.keys(e).forEach((function(n){var s=n+":",o=i[s]=e[n],r=t[n]=Object.create(o);Object.defineProperties(r,{request:{value:function(e,n,o){return a&&e instanceof a?e=F(e):O(e)?e=F(_(e)):(o=n,n=E(e),e={protocol:s}),A(n)&&(o=n,n=null),(n=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,n)).nativeProtocols=i,O(n.host)||O(n.hostname)||(n.hostname="::1"),c.equal(n.protocol,s,"protocol mismatch"),u("options",n),new y(n,o)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,i){var n=r.request(e,t,i);return n.end(),n},configurable:!0,enumerable:!0,writable:!0}})})),t}function D(){}function _(e){var t;if(l)t=new a(e);else if(!O((t=E(n.parse(e))).protocol))throw new h({input:e});return t}function E(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new h({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new h({input:e.href||e});return e}function F(e,t){var i=t||{};for(var n of p)i[n]=e[n];return i.hostname.startsWith("[")&&(i.hostname=i.hostname.slice(1,-1)),""!==i.port&&(i.port=Number(i.port)),i.path=i.search?i.pathname+i.search:i.pathname,i}function k(e,t){var i;for(var n in t)e.test(n)&&(i=t[n],delete t[n]);return null==i?void 0:String(i).trim()}function C(e,t,i){function n(i){Error.captureStackTrace(this,this.constructor),Object.assign(this,i||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return n.prototype=new(i||Error),Object.defineProperties(n.prototype,{constructor:{value:n,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),n}function j(e,t){for(var i of d)e.removeListener(i,f[i]);e.on("error",D),e.destroy(t)}function O(e){return"string"==typeof e||e instanceof String}function A(e){return"function"==typeof e}y.prototype=Object.create(r.prototype),y.prototype.abort=function(){j(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},y.prototype.destroy=function(e){return j(this._currentRequest,e),x.call(this,e),this},y.prototype.write=function(e,t,i){if(this._ending)throw new v;if(!(O(e)||"object"==typeof(n=e)&&"length"in n))throw new TypeError("data should be a string, Buffer or Uint8Array");var n;A(t)&&(i=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,i)):(this.emit("error",new b),this.abort()):i&&i()},y.prototype.end=function(e,t,i){if(A(e)?(i=e,e=t=null):A(t)&&(i=t,t=null),e){var n=this,a=this._currentRequest;this.write(e,t,(function(){n._ended=!0,a.end(null,null,i)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,i)},y.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},y.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},y.prototype.setTimeout=function(e,t){var i=this;function n(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function a(t){i._timeout&&clearTimeout(i._timeout),i._timeout=setTimeout((function(){i.emit("timeout"),s()}),e),n(t)}function s(){i._timeout&&(clearTimeout(i._timeout),i._timeout=null),i.removeListener("abort",s),i.removeListener("error",s),i.removeListener("response",s),i.removeListener("close",s),t&&i.removeListener("timeout",t),i.socket||i._currentRequest.removeListener("socket",a)}return t&&this.on("timeout",t),this.socket?a(this.socket):this._currentRequest.once("socket",a),this.on("socket",n),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){y.prototype[e]=function(t,i){return this._currentRequest[e](t,i)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(y.prototype,e,{get:function(){return this._currentRequest[e]}})})),y.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},y.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var i=e.slice(0,-1);this._options.agent=this._options.agents[i]}var a=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var s of(a._redirectable=this,d))a.on(s,f[s]);if(this._currentUrl=/^\//.test(this._options.path)?n.format(this._options):this._options.path,this._isRedirect){var o=0,r=this,c=this._requestBodyBuffers;!function e(t){if(a===r._currentRequest)if(t)r.emit("error",t);else if(o<c.length){var i=c[o++];a.finished||a.write(i.data,i.encoding,e)}else r._ended&&a.end()}()}},y.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var i,s=e.headers.location;if(!s||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(j(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new g;var o=this._options.beforeRedirect;o&&(i=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var r=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],k(/^content-/i,this._options.headers));var p,d,f=k(/^host$/i,this._options.headers),h=_(this._currentUrl),m=f||h.host,b=/^\w+:/.test(s)?this._currentUrl:n.format(Object.assign(h,{host:m})),v=(p=s,d=b,l?new a(p,d):_(n.resolve(d,p)));if(u("redirecting to",v.href),this._isRedirect=!0,F(v,this._options),(v.protocol!==h.protocol&&"https:"!==v.protocol||v.host!==m&&!function(e,t){c(O(e)&&O(t));var i=e.length-t.length-1;return i>0&&"."===e[i]&&e.endsWith(t)}(v.host,m))&&k(/^(?:authorization|cookie)$/i,this._options.headers),A(o)){var x={headers:e.headers,statusCode:t},y={url:b,method:r,headers:i};o(this._options,x,y),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=w({http:s,https:o}),e.exports.wrap=w},2925:(e,t,i)=>{var n=i(5645),a=i(9023),s=i(6928),o=i(8611),r=i(5692),c=i(7016).parse,u=i(9896),l=i(2203).Stream,p=i(9613),d=i(8909),f=i(6686);function h(e){if(!(this instanceof h))return new h(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],n.call(this),e=e||{})this[t]=e[t]}e.exports=h,a.inherits(h,n),h.LINE_BREAK="\r\n",h.DEFAULT_CONTENT_TYPE="application/octet-stream",h.prototype.append=function(e,t,i){"string"==typeof(i=i||{})&&(i={filename:i});var s=n.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),a.isArray(t))this._error(new Error("Arrays are not supported."));else{var o=this._multiPartHeader(e,t,i),r=this._multiPartFooter();s(o),s(t),s(r),this._trackLength(o,t,i)}},h.prototype._trackLength=function(e,t,i){var n=0;null!=i.knownLength?n+=+i.knownLength:Buffer.isBuffer(t)?n=t.length:"string"==typeof t&&(n=Buffer.byteLength(t)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+h.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof l)&&(i.knownLength||this._valuesToMeasure.push(t))},h.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):u.stat(e.path,(function(i,n){var a;i?t(i):(a=n.size-(e.start?e.start:0),t(null,a))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(i){e.pause(),t(null,+i.headers["content-length"])})),e.resume()):t("Unknown stream")},h.prototype._multiPartHeader=function(e,t,i){if("string"==typeof i.header)return i.header;var n,a=this._getContentDisposition(t,i),s=this._getContentType(t,i),o="",r={"Content-Disposition":["form-data",'name="'+e+'"'].concat(a||[]),"Content-Type":[].concat(s||[])};for(var c in"object"==typeof i.header&&f(r,i.header),r)r.hasOwnProperty(c)&&null!=(n=r[c])&&(Array.isArray(n)||(n=[n]),n.length&&(o+=c+": "+n.join("; ")+h.LINE_BREAK));return"--"+this.getBoundary()+h.LINE_BREAK+o+h.LINE_BREAK},h.prototype._getContentDisposition=function(e,t){var i,n;return"string"==typeof t.filepath?i=s.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?i=s.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(i=s.basename(e.client._httpMessage.path||"")),i&&(n='filename="'+i+'"'),n},h.prototype._getContentType=function(e,t){var i=t.contentType;return!i&&e.name&&(i=p.lookup(e.name)),!i&&e.path&&(i=p.lookup(e.path)),!i&&e.readable&&e.hasOwnProperty("httpVersion")&&(i=e.headers["content-type"]),i||!t.filepath&&!t.filename||(i=p.lookup(t.filepath||t.filename)),i||"object"!=typeof e||(i=h.DEFAULT_CONTENT_TYPE),i},h.prototype._multiPartFooter=function(){return function(e){var t=h.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},h.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+h.LINE_BREAK},h.prototype.getHeaders=function(e){var t,i={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(i[t.toLowerCase()]=e[t]);return i},h.prototype.setBoundary=function(e){this._boundary=e},h.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},h.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),i=0,n=this._streams.length;i<n;i++)"function"!=typeof this._streams[i]&&(e=Buffer.isBuffer(this._streams[i])?Buffer.concat([e,this._streams[i]]):Buffer.concat([e,Buffer.from(this._streams[i])]),"string"==typeof this._streams[i]&&this._streams[i].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(h.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},h.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},h.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},h.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},h.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?d.parallel(this._valuesToMeasure,this._lengthRetriever,(function(i,n){i?e(i):(n.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},h.prototype.submit=function(e,t){var i,n,a={method:"post"};return"string"==typeof e?(e=c(e),n=f({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},a)):(n=f(e,a)).port||(n.port="https:"==n.protocol?443:80),n.headers=this.getHeaders(e.headers),i="https:"==n.protocol?r.request(n):o.request(n),this.getLength(function(e,n){if(e&&"Unknown stream"!==e)this._error(e);else if(n&&i.setHeader("Content-Length",n),this.pipe(i),t){var a,s=function(e,n){return i.removeListener("error",s),i.removeListener("response",a),t.call(this,e,n)};a=s.bind(this,null),i.on("error",s),i.on("response",a)}}.bind(this)),i},h.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},h.prototype.toString=function(){return"[object FormData]"}},6686:e=>{e.exports=function(e,t){return Object.keys(t).forEach((function(i){e[i]=e[i]||t[i]})),e}},2838:e=>{"use strict";e.exports=function(e){if(void 0===e&&(e=2),e>=Error.stackTraceLimit)throw new TypeError("getCallerFile(position) requires position be less then Error.stackTraceLimit but position was: `"+e+"` and Error.stackTraceLimit was: `"+Error.stackTraceLimit+"`");var t=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var i=(new Error).stack;if(Error.prepareStackTrace=t,null!==i&&"object"==typeof i)return i[e]?i[e].getFileName():void 0}},5704:e=>{"use strict";e.exports=(e,t=process.argv)=>{const i=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(i+e),a=t.indexOf("--");return-1!==n&&(-1===a||n<a)}},1203:e=>{function t(e){return Array.isArray(e)?e:[e]}const i=/^\s+$/,n=/(?:[^\\]|^)\\$/,a=/^\\!/,s=/^\\#/,o=/\r?\n/g,r=/^\.*\/|^\.+$/;let c="node-ignore";"undefined"!=typeof Symbol&&(c=Symbol.for("node-ignore"));const u=c,l=/([0-z])-([0-z])/g,p=()=>!1,d=[[/^\uFEFF/,()=>""],[/\\?\s+$/,e=>0===e.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,i)=>t+6<i.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,i)=>t+i.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,i,n,a)=>"\\"===t?`\\[${i}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(n)}${a}`:"]"===a&&n.length%2==0?`[${(e=>e.replace(l,((e,t,i)=>t.charCodeAt(0)<=i.charCodeAt(0)?e:"")))(i)}${n}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>(t?`${t}[^/]+`:"[^/]*")+"(?=$|\\/$)"]],f=Object.create(null),h=e=>"string"==typeof e;class m{constructor(e,t,i,n){this.origin=e,this.pattern=t,this.negative=i,this.regex=n}}const g=(e,t)=>{throw new t(e)},b=(e,t,i)=>h(e)?e?!b.isNotRelative(e)||i(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):i("path must not be empty",TypeError):i(`path must be a string, but got \`${t}\``,TypeError),v=e=>r.test(e);b.isNotRelative=v,b.convert=e=>e;class x{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:i=!1}={}){var n;n=u,Object.defineProperty(this,n,{value:true}),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=i,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[u])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&h(e)&&!i.test(e)&&!n.test(e)&&0!==e.indexOf("#"))(e)){const t=((e,t)=>{const i=e;let n=!1;0===e.indexOf("!")&&(n=!0,e=e.substr(1));const o=((e,t)=>{let i=f[e];return i||(i=d.reduce(((t,i)=>t.replace(i[0],i[1].bind(e))),e),f[e]=i),t?new RegExp(i,"i"):new RegExp(i)})(e=e.replace(a,"!").replace(s,"#"),t);return new m(i,e,n,o)})(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,t(h(e)?(e=>e.split(o))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let i=!1,n=!1;return this._rules.forEach((a=>{const{negative:s}=a;n===s&&i!==n||s&&!i&&!n&&!t||a.regex.test(e)&&(i=!s,n=s)})),{ignored:i,unignored:n}}_test(e,t,i,n){const a=e&&b.convert(e);return b(a,e,this._allowRelativePaths?p:g),this._t(a,t,i,n)}_t(e,t,i,n){if(e in t)return t[e];if(n||(n=e.split("/")),n.pop(),!n.length)return t[e]=this._testOne(e,i);const a=this._t(n.join("/")+"/",t,i,n);return t[e]=a.ignored?a:this._testOne(e,i)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return t(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const y=e=>new x(e);if(y.isPathValid=e=>b(e&&b.convert(e),e,p),y.default=y,e.exports=y,"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,"/");b.convert=e;const t=/^[a-z]:\//i;b.isNotRelative=e=>t.test(e)||v(e)}},9293:(e,t,i)=>{try{var n=i(9023);if("function"!=typeof n.inherits)throw"";e.exports=n.inherits}catch(t){e.exports=i(198)}},198:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}},1664:e=>{"use strict";const t=e=>!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141);e.exports=t,e.exports.default=t},9388:e=>{"use strict";const t=(e,t)=>function(...i){return new(0,t.promiseModule)(((n,a)=>{t.multiArgs?i.push(((...e)=>{t.errorFirst?e[0]?a(e):(e.shift(),n(e)):n(e)})):t.errorFirst?i.push(((e,t)=>{e?a(e):n(t)})):i.push(n),e.apply(this,i)}))};e.exports=(e,i)=>{i=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},i);const n=typeof e;if(null===e||"object"!==n&&"function"!==n)throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null===e?"null":n}\``);const a=e=>{const t=t=>"string"==typeof t?e===t:t.test(e);return i.include?i.include.some(t):!i.exclude.some(t)};let s;s="function"===n?function(...n){return i.excludeMain?e(...n):t(e,i).apply(this,n)}:Object.create(Object.getPrototypeOf(e));for(const n in e){const o=e[n];s[n]="function"==typeof o&&a(n)?t(o,i):o}return s}},9370:(e,t,i)=>{e.exports=i(8761)},9613:(e,t,i)=>{"use strict";var n,a,s,o=i(9370),r=i(6928).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,u=/^text\//i;function l(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),i=t&&o[t[1].toLowerCase()];return i&&i.charset?i.charset:!(!t||!u.test(t[1]))&&"UTF-8"}t.charset=l,t.charsets={lookup:l},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var i=-1===e.indexOf("/")?t.lookup(e):e;if(!i)return!1;if(-1===i.indexOf("charset")){var n=t.charset(i);n&&(i+="; charset="+n.toLowerCase())}return i},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var i=c.exec(e),n=i&&t.extensions[i[1].toLowerCase()];return!(!n||!n.length)&&n[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var i=r("x."+e).toLowerCase().substr(1);return i&&t.types[i]||!1},t.types=Object.create(null),n=t.extensions,a=t.types,s=["nginx","apache",void 0,"iana"],Object.keys(o).forEach((function(e){var t=o[e],i=t.extensions;if(i&&i.length){n[e]=i;for(var r=0;r<i.length;r++){var c=i[r];if(a[c]){var u=s.indexOf(o[a[c]].source),l=s.indexOf(t.source);if("application/octet-stream"!==a[c]&&(u>l||u===l&&"application/"===a[c].substr(0,12)))continue}a[c]=e}}}))},6301:e=>{var t=1e3,i=60*t,n=60*i,a=24*n;function s(e,t,i,n){var a=t>=1.5*i;return Math.round(e/i)+" "+n+(a?"s":"")}e.exports=function(e,o){o=o||{};var r,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(s){var o=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return 6048e5*o;case"days":case"day":case"d":return o*a;case"hours":case"hour":case"hrs":case"hr":case"h":return o*n;case"minutes":case"minute":case"mins":case"min":case"m":return o*i;case"seconds":case"second":case"secs":case"sec":case"s":return o*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(e);if("number"===u&&isFinite(e))return o.long?(r=e,(c=Math.abs(r))>=a?s(r,c,a,"day"):c>=n?s(r,c,n,"hour"):c>=i?s(r,c,i,"minute"):c>=t?s(r,c,t,"second"):r+" ms"):function(e){var s=Math.abs(e);return s>=a?Math.round(e/a)+"d":s>=n?Math.round(e/n)+"h":s>=i?Math.round(e/i)+"m":s>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9819:(e,t,i)=>{var n=i(1591);function a(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function s(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},i=e.name||"Function wrapped with `once`";return t.onceError=i+" shouldn't be called more than once",t.called=!1,t}e.exports=n(a),e.exports.strict=n(s),a.proto=a((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return a(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return s(this)},configurable:!0})}))},3048:(e,t,i)=>{"use strict";var n={};(0,i(2937).assign)(n,i(6579),i(399),i(8717)),e.exports=n},6579:(e,t,i)=>{"use strict";var n=i(1679),a=i(2937),s=i(6832),o=i(8990),r=i(9222),c=Object.prototype.toString,u=0,l=-1,p=0,d=8;function f(e){if(!(this instanceof f))return new f(e);this.options=a.assign({level:l,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:p,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new r,this.strm.avail_out=0;var i=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(i!==u)throw new Error(o[i]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var h;if(h="string"==typeof t.dictionary?s.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(i=n.deflateSetDictionary(this.strm,h))!==u)throw new Error(o[i]);this._dict_set=!0}}function h(e,t){var i=new f(t);if(i.push(e,!0),i.err)throw i.msg||o[i.err];return i.result}f.prototype.push=function(e,t){var i,o,r=this.strm,l=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?r.input=s.string2buf(e):"[object ArrayBuffer]"===c.call(e)?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new a.Buf8(l),r.next_out=0,r.avail_out=l),1!==(i=n.deflate(r,o))&&i!==u)return this.onEnd(i),this.ended=!0,!1;0!==r.avail_out&&(0!==r.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(s.buf2binstring(a.shrinkBuf(r.output,r.next_out))):this.onData(a.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||0===r.avail_out)&&1!==i);return 4===o?(i=n.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===u):2!==o||(this.onEnd(u),r.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===u&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=f,t.deflate=h,t.deflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},t.gzip=function(e,t){return(t=t||{}).gzip=!0,h(e,t)}},399:(e,t,i)=>{"use strict";var n=i(5347),a=i(2937),s=i(6832),o=i(8717),r=i(8990),c=i(9222),u=i(6738),l=Object.prototype.toString;function p(e){if(!(this instanceof p))return new p(e);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var i=n.inflateInit2(this.strm,t.windowBits);if(i!==o.Z_OK)throw new Error(r[i]);if(this.header=new u,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=s.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(i=n.inflateSetDictionary(this.strm,t.dictionary))!==o.Z_OK))throw new Error(r[i])}function d(e,t){var i=new p(t);if(i.push(e,!0),i.err)throw i.msg||r[i.err];return i.result}p.prototype.push=function(e,t){var i,r,c,u,p,d=this.strm,f=this.options.chunkSize,h=this.options.dictionary,m=!1;if(this.ended)return!1;r=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?d.input=s.binstring2buf(e):"[object ArrayBuffer]"===l.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new a.Buf8(f),d.next_out=0,d.avail_out=f),(i=n.inflate(d,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&h&&(i=n.inflateSetDictionary(this.strm,h)),i===o.Z_BUF_ERROR&&!0===m&&(i=o.Z_OK,m=!1),i!==o.Z_STREAM_END&&i!==o.Z_OK)return this.onEnd(i),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&i!==o.Z_STREAM_END&&(0!==d.avail_in||r!==o.Z_FINISH&&r!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(c=s.utf8border(d.output,d.next_out),u=d.next_out-c,p=s.buf2string(d.output,c),d.next_out=u,d.avail_out=f-u,u&&a.arraySet(d.output,d.output,c,u,0),this.onData(p)):this.onData(a.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(m=!0)}while((d.avail_in>0||0===d.avail_out)&&i!==o.Z_STREAM_END);return i===o.Z_STREAM_END&&(r=o.Z_FINISH),r===o.Z_FINISH?(i=n.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===o.Z_OK):r!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),d.avail_out=0,!0)},p.prototype.onData=function(e){this.chunks.push(e)},p.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=p,t.inflate=d,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},t.ungzip=d},2937:(e,t)=>{"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var i=t.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var a in i)n(i,a)&&(e[a]=i[a])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var a={arraySet:function(e,t,i,n,a){if(t.subarray&&e.subarray)e.set(t.subarray(i,i+n),a);else for(var s=0;s<n;s++)e[a+s]=t[i+s]},flattenChunks:function(e){var t,i,n,a,s,o;for(n=0,t=0,i=e.length;t<i;t++)n+=e[t].length;for(o=new Uint8Array(n),a=0,t=0,i=e.length;t<i;t++)s=e[t],o.set(s,a),a+=s.length;return o}},s={arraySet:function(e,t,i,n,a){for(var s=0;s<n;s++)e[a+s]=t[i+s]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,a)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,s))},t.setTyped(i)},6832:(e,t,i)=>{"use strict";var n=i(2937),a=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(e){a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){s=!1}for(var o=new n.Buf8(256),r=0;r<256;r++)o[r]=r>=252?6:r>=248?5:r>=240?4:r>=224?3:r>=192?2:1;function c(e,t){if(t<65534&&(e.subarray&&s||!e.subarray&&a))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var i="",o=0;o<t;o++)i+=String.fromCharCode(e[o]);return i}o[254]=o[254]=1,t.string2buf=function(e){var t,i,a,s,o,r=e.length,c=0;for(s=0;s<r;s++)55296==(64512&(i=e.charCodeAt(s)))&&s+1<r&&56320==(64512&(a=e.charCodeAt(s+1)))&&(i=65536+(i-55296<<10)+(a-56320),s++),c+=i<128?1:i<2048?2:i<65536?3:4;for(t=new n.Buf8(c),o=0,s=0;o<c;s++)55296==(64512&(i=e.charCodeAt(s)))&&s+1<r&&56320==(64512&(a=e.charCodeAt(s+1)))&&(i=65536+(i-55296<<10)+(a-56320),s++),i<128?t[o++]=i:i<2048?(t[o++]=192|i>>>6,t[o++]=128|63&i):i<65536?(t[o++]=224|i>>>12,t[o++]=128|i>>>6&63,t[o++]=128|63&i):(t[o++]=240|i>>>18,t[o++]=128|i>>>12&63,t[o++]=128|i>>>6&63,t[o++]=128|63&i);return t},t.buf2binstring=function(e){return c(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),i=0,a=t.length;i<a;i++)t[i]=e.charCodeAt(i);return t},t.buf2string=function(e,t){var i,n,a,s,r=t||e.length,u=new Array(2*r);for(n=0,i=0;i<r;)if((a=e[i++])<128)u[n++]=a;else if((s=o[a])>4)u[n++]=65533,i+=s-1;else{for(a&=2===s?31:3===s?15:7;s>1&&i<r;)a=a<<6|63&e[i++],s--;s>1?u[n++]=65533:a<65536?u[n++]=a:(a-=65536,u[n++]=55296|a>>10&1023,u[n++]=56320|1023&a)}return c(u,n)},t.utf8border=function(e,t){var i;for((t=t||e.length)>e.length&&(t=e.length),i=t-1;i>=0&&128==(192&e[i]);)i--;return i<0||0===i?t:i+o[e[i]]>t?i:t}},1697:e=>{"use strict";e.exports=function(e,t,i,n){for(var a=65535&e,s=e>>>16&65535,o=0;0!==i;){i-=o=i>2e3?2e3:i;do{s=s+(a=a+t[n++]|0)|0}while(--o);a%=65521,s%=65521}return a|s<<16}},8717:e=>{"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},731:e=>{"use strict";var t=function(){for(var e,t=[],i=0;i<256;i++){e=i;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[i]=e}return t}();e.exports=function(e,i,n,a){var s=t,o=a+n;e^=-1;for(var r=a;r<o;r++)e=e>>>8^s[255&(e^i[r])];return~e}},1679:(e,t,i)=>{"use strict";var n,a=i(2937),s=i(5805),o=i(1697),r=i(731),c=i(8990),u=0,l=0,p=-2,d=2,f=8,h=286,m=30,g=19,b=2*h+1,v=15,x=3,y=258,w=y+x+1,D=42,_=103,E=113,F=666;function k(e,t){return e.msg=c[t],t}function C(e){return(e<<1)-(e>4?9:0)}function j(e){for(var t=e.length;--t>=0;)e[t]=0}function O(e){var t=e.state,i=t.pending;i>e.avail_out&&(i=e.avail_out),0!==i&&(a.arraySet(e.output,t.pending_buf,t.pending_out,i,e.next_out),e.next_out+=i,t.pending_out+=i,e.total_out+=i,e.avail_out-=i,t.pending-=i,0===t.pending&&(t.pending_out=0))}function A(e,t){s._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,O(e.strm)}function S(e,t){e.pending_buf[e.pending++]=t}function B(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function R(e,t){var i,n,a=e.max_chain_length,s=e.strstart,o=e.prev_length,r=e.nice_match,c=e.strstart>e.w_size-w?e.strstart-(e.w_size-w):0,u=e.window,l=e.w_mask,p=e.prev,d=e.strstart+y,f=u[s+o-1],h=u[s+o];e.prev_length>=e.good_match&&(a>>=2),r>e.lookahead&&(r=e.lookahead);do{if(u[(i=t)+o]===h&&u[i+o-1]===f&&u[i]===u[s]&&u[++i]===u[s+1]){s+=2,i++;do{}while(u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&u[++s]===u[++i]&&s<d);if(n=y-(d-s),s=d-y,n>o){if(e.match_start=t,o=n,n>=r)break;f=u[s+o-1],h=u[s+o]}}}while((t=p[t&l])>c&&0!=--a);return o<=e.lookahead?o:e.lookahead}function $(e){var t,i,n,s,c,u,l,p,d,f,h=e.w_size;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-w)){a.arraySet(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=i=e.hash_size;do{n=e.head[--t],e.head[t]=n>=h?n-h:0}while(--i);t=i=h;do{n=e.prev[--t],e.prev[t]=n>=h?n-h:0}while(--i);s+=h}if(0===e.strm.avail_in)break;if(u=e.strm,l=e.window,p=e.strstart+e.lookahead,d=s,f=void 0,(f=u.avail_in)>d&&(f=d),i=0===f?0:(u.avail_in-=f,a.arraySet(l,u.input,u.next_in,f,p),1===u.state.wrap?u.adler=o(u.adler,l,f,p):2===u.state.wrap&&(u.adler=r(u.adler,l,f,p)),u.next_in+=f,u.total_in+=f,f),e.lookahead+=i,e.lookahead+e.insert>=x)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+x-1])&e.hash_mask,e.prev[c&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=c,c++,e.insert--,!(e.lookahead+e.insert<x)););}while(e.lookahead<w&&0!==e.strm.avail_in)}function P(e,t){for(var i,n;;){if(e.lookahead<w){if($(e),e.lookahead<w&&t===u)return 1;if(0===e.lookahead)break}if(i=0,e.lookahead>=x&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==i&&e.strstart-i<=e.w_size-w&&(e.match_length=R(e,i)),e.match_length>=x)if(n=s._tr_tally(e,e.strstart-e.match_start,e.match_length-x),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=x){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<x-1?e.strstart:x-1,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}function T(e,t){for(var i,n,a;;){if(e.lookahead<w){if($(e),e.lookahead<w&&t===u)return 1;if(0===e.lookahead)break}if(i=0,e.lookahead>=x&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=x-1,0!==i&&e.prev_length<e.max_lazy_match&&e.strstart-i<=e.w_size-w&&(e.match_length=R(e,i),e.match_length<=5&&(1===e.strategy||e.match_length===x&&e.strstart-e.match_start>4096)&&(e.match_length=x-1)),e.prev_length>=x&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-x,n=s._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-x),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=a&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=x-1,e.strstart++,n&&(A(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=s._tr_tally(e,0,e.window[e.strstart-1]))&&A(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=s._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<x-1?e.strstart:x-1,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}function I(e,t,i,n,a){this.good_length=e,this.max_lazy=t,this.nice_length=i,this.max_chain=n,this.func=a}function M(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=f,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new a.Buf16(2*b),this.dyn_dtree=new a.Buf16(2*(2*m+1)),this.bl_tree=new a.Buf16(2*(2*g+1)),j(this.dyn_ltree),j(this.dyn_dtree),j(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(v+1),this.heap=new a.Buf16(2*h+1),j(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*h+1),j(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function z(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=d,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?D:E,e.adler=2===t.wrap?0:1,t.last_flush=u,s._tr_init(t),l):k(e,p)}function N(e){var t,i=z(e);return i===l&&((t=e.state).window_size=2*t.w_size,j(t.head),t.max_lazy_match=n[t.level].max_lazy,t.good_match=n[t.level].good_length,t.nice_match=n[t.level].nice_length,t.max_chain_length=n[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=x-1,t.match_available=0,t.ins_h=0),i}function U(e,t,i,n,s,o){if(!e)return p;var r=1;if(-1===t&&(t=6),n<0?(r=0,n=-n):n>15&&(r=2,n-=16),s<1||s>9||i!==f||n<8||n>15||t<0||t>9||o<0||o>4)return k(e,p);8===n&&(n=9);var c=new M;return e.state=c,c.strm=e,c.wrap=r,c.gzhead=null,c.w_bits=n,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=s+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+x-1)/x),c.window=new a.Buf8(2*c.w_size),c.head=new a.Buf16(c.hash_size),c.prev=new a.Buf16(c.w_size),c.lit_bufsize=1<<s+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new a.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=i,N(e)}n=[new I(0,0,0,0,(function(e,t){var i=65535;for(i>e.pending_buf_size-5&&(i=e.pending_buf_size-5);;){if(e.lookahead<=1){if($(e),0===e.lookahead&&t===u)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+i;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,A(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-w&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(A(e,!1),e.strm.avail_out),1)})),new I(4,4,8,4,P),new I(4,5,16,8,P),new I(4,6,32,32,P),new I(4,4,16,16,T),new I(8,16,32,32,T),new I(8,16,128,128,T),new I(8,32,128,256,T),new I(32,128,258,1024,T),new I(32,258,258,4096,T)],t.deflateInit=function(e,t){return U(e,t,f,15,8,0)},t.deflateInit2=U,t.deflateReset=N,t.deflateResetKeep=z,t.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?p:(e.state.gzhead=t,l):p},t.deflate=function(e,t){var i,a,o,c;if(!e||!e.state||t>5||t<0)return e?k(e,p):p;if(a=e.state,!e.output||!e.input&&0!==e.avail_in||a.status===F&&4!==t)return k(e,0===e.avail_out?-5:p);if(a.strm=e,i=a.last_flush,a.last_flush=t,a.status===D)if(2===a.wrap)e.adler=0,S(a,31),S(a,139),S(a,8),a.gzhead?(S(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),S(a,255&a.gzhead.time),S(a,a.gzhead.time>>8&255),S(a,a.gzhead.time>>16&255),S(a,a.gzhead.time>>24&255),S(a,9===a.level?2:a.strategy>=2||a.level<2?4:0),S(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(S(a,255&a.gzhead.extra.length),S(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(e.adler=r(e.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69):(S(a,0),S(a,0),S(a,0),S(a,0),S(a,0),S(a,9===a.level?2:a.strategy>=2||a.level<2?4:0),S(a,3),a.status=E);else{var d=f+(a.w_bits-8<<4)<<8;d|=(a.strategy>=2||a.level<2?0:a.level<6?1:6===a.level?2:3)<<6,0!==a.strstart&&(d|=32),d+=31-d%31,a.status=E,B(a,d),0!==a.strstart&&(B(a,e.adler>>>16),B(a,65535&e.adler)),e.adler=1}if(69===a.status)if(a.gzhead.extra){for(o=a.pending;a.gzindex<(65535&a.gzhead.extra.length)&&(a.pending!==a.pending_buf_size||(a.gzhead.hcrc&&a.pending>o&&(e.adler=r(e.adler,a.pending_buf,a.pending-o,o)),O(e),o=a.pending,a.pending!==a.pending_buf_size));)S(a,255&a.gzhead.extra[a.gzindex]),a.gzindex++;a.gzhead.hcrc&&a.pending>o&&(e.adler=r(e.adler,a.pending_buf,a.pending-o,o)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=73)}else a.status=73;if(73===a.status)if(a.gzhead.name){o=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>o&&(e.adler=r(e.adler,a.pending_buf,a.pending-o,o)),O(e),o=a.pending,a.pending===a.pending_buf_size)){c=1;break}c=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,S(a,c)}while(0!==c);a.gzhead.hcrc&&a.pending>o&&(e.adler=r(e.adler,a.pending_buf,a.pending-o,o)),0===c&&(a.gzindex=0,a.status=91)}else a.status=91;if(91===a.status)if(a.gzhead.comment){o=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>o&&(e.adler=r(e.adler,a.pending_buf,a.pending-o,o)),O(e),o=a.pending,a.pending===a.pending_buf_size)){c=1;break}c=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,S(a,c)}while(0!==c);a.gzhead.hcrc&&a.pending>o&&(e.adler=r(e.adler,a.pending_buf,a.pending-o,o)),0===c&&(a.status=_)}else a.status=_;if(a.status===_&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&O(e),a.pending+2<=a.pending_buf_size&&(S(a,255&e.adler),S(a,e.adler>>8&255),e.adler=0,a.status=E)):a.status=E),0!==a.pending){if(O(e),0===e.avail_out)return a.last_flush=-1,l}else if(0===e.avail_in&&C(t)<=C(i)&&4!==t)return k(e,-5);if(a.status===F&&0!==e.avail_in)return k(e,-5);if(0!==e.avail_in||0!==a.lookahead||t!==u&&a.status!==F){var h=2===a.strategy?function(e,t){for(var i;;){if(0===e.lookahead&&($(e),0===e.lookahead)){if(t===u)return 1;break}if(e.match_length=0,i=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,i&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}(a,t):3===a.strategy?function(e,t){for(var i,n,a,o,r=e.window;;){if(e.lookahead<=y){if($(e),e.lookahead<=y&&t===u)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=x&&e.strstart>0&&(n=r[a=e.strstart-1])===r[++a]&&n===r[++a]&&n===r[++a]){o=e.strstart+y;do{}while(n===r[++a]&&n===r[++a]&&n===r[++a]&&n===r[++a]&&n===r[++a]&&n===r[++a]&&n===r[++a]&&n===r[++a]&&a<o);e.match_length=y-(o-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=x?(i=s._tr_tally(e,1,e.match_length-x),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(i=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),i&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}(a,t):n[a.level].func(a,t);if(3!==h&&4!==h||(a.status=F),1===h||3===h)return 0===e.avail_out&&(a.last_flush=-1),l;if(2===h&&(1===t?s._tr_align(a):5!==t&&(s._tr_stored_block(a,0,0,!1),3===t&&(j(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),O(e),0===e.avail_out))return a.last_flush=-1,l}return 4!==t?l:a.wrap<=0?1:(2===a.wrap?(S(a,255&e.adler),S(a,e.adler>>8&255),S(a,e.adler>>16&255),S(a,e.adler>>24&255),S(a,255&e.total_in),S(a,e.total_in>>8&255),S(a,e.total_in>>16&255),S(a,e.total_in>>24&255)):(B(a,e.adler>>>16),B(a,65535&e.adler)),O(e),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?l:1)},t.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==D&&69!==t&&73!==t&&91!==t&&t!==_&&t!==E&&t!==F?k(e,p):(e.state=null,t===E?k(e,-3):l):p},t.deflateSetDictionary=function(e,t){var i,n,s,r,c,u,d,f,h=t.length;if(!e||!e.state)return p;if(2===(r=(i=e.state).wrap)||1===r&&i.status!==D||i.lookahead)return p;for(1===r&&(e.adler=o(e.adler,t,h,0)),i.wrap=0,h>=i.w_size&&(0===r&&(j(i.head),i.strstart=0,i.block_start=0,i.insert=0),f=new a.Buf8(i.w_size),a.arraySet(f,t,h-i.w_size,i.w_size,0),t=f,h=i.w_size),c=e.avail_in,u=e.next_in,d=e.input,e.avail_in=h,e.next_in=0,e.input=t,$(i);i.lookahead>=x;){n=i.strstart,s=i.lookahead-(x-1);do{i.ins_h=(i.ins_h<<i.hash_shift^i.window[n+x-1])&i.hash_mask,i.prev[n&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=n,n++}while(--s);i.strstart=n,i.lookahead=x-1,$(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=x-1,i.match_available=0,e.next_in=u,e.input=d,e.avail_in=c,i.wrap=r,l},t.deflateInfo="pako deflate (from Nodeca project)"},6738:e=>{"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},8353:e=>{"use strict";e.exports=function(e,t){var i,n,a,s,o,r,c,u,l,p,d,f,h,m,g,b,v,x,y,w,D,_,E,F,k;i=e.state,n=e.next_in,F=e.input,a=n+(e.avail_in-5),s=e.next_out,k=e.output,o=s-(t-e.avail_out),r=s+(e.avail_out-257),c=i.dmax,u=i.wsize,l=i.whave,p=i.wnext,d=i.window,f=i.hold,h=i.bits,m=i.lencode,g=i.distcode,b=(1<<i.lenbits)-1,v=(1<<i.distbits)-1;e:do{h<15&&(f+=F[n++]<<h,h+=8,f+=F[n++]<<h,h+=8),x=m[f&b];t:for(;;){if(f>>>=y=x>>>24,h-=y,0==(y=x>>>16&255))k[s++]=65535&x;else{if(!(16&y)){if(64&y){if(32&y){i.mode=12;break e}e.msg="invalid literal/length code",i.mode=30;break e}x=m[(65535&x)+(f&(1<<y)-1)];continue t}for(w=65535&x,(y&=15)&&(h<y&&(f+=F[n++]<<h,h+=8),w+=f&(1<<y)-1,f>>>=y,h-=y),h<15&&(f+=F[n++]<<h,h+=8,f+=F[n++]<<h,h+=8),x=g[f&v];;){if(f>>>=y=x>>>24,h-=y,16&(y=x>>>16&255)){if(D=65535&x,h<(y&=15)&&(f+=F[n++]<<h,(h+=8)<y&&(f+=F[n++]<<h,h+=8)),(D+=f&(1<<y)-1)>c){e.msg="invalid distance too far back",i.mode=30;break e}if(f>>>=y,h-=y,D>(y=s-o)){if((y=D-y)>l&&i.sane){e.msg="invalid distance too far back",i.mode=30;break e}if(_=0,E=d,0===p){if(_+=u-y,y<w){w-=y;do{k[s++]=d[_++]}while(--y);_=s-D,E=k}}else if(p<y){if(_+=u+p-y,(y-=p)<w){w-=y;do{k[s++]=d[_++]}while(--y);if(_=0,p<w){w-=y=p;do{k[s++]=d[_++]}while(--y);_=s-D,E=k}}}else if(_+=p-y,y<w){w-=y;do{k[s++]=d[_++]}while(--y);_=s-D,E=k}for(;w>2;)k[s++]=E[_++],k[s++]=E[_++],k[s++]=E[_++],w-=3;w&&(k[s++]=E[_++],w>1&&(k[s++]=E[_++]))}else{_=s-D;do{k[s++]=k[_++],k[s++]=k[_++],k[s++]=k[_++],w-=3}while(w>2);w&&(k[s++]=k[_++],w>1&&(k[s++]=k[_++]))}break}if(64&y){e.msg="invalid distance code",i.mode=30;break e}x=g[(65535&x)+(f&(1<<y)-1)]}}break}}while(n<a&&s<r);n-=w=h>>3,f&=(1<<(h-=w<<3))-1,e.next_in=n,e.next_out=s,e.avail_in=n<a?a-n+5:5-(n-a),e.avail_out=s<r?r-s+257:257-(s-r),i.hold=f,i.bits=h}},5347:(e,t,i)=>{"use strict";var n=i(2937),a=i(1697),s=i(731),o=i(8353),r=i(274),c=0,u=-2,l=1,p=12,d=30,f=852,h=592;function m(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=l,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(f),t.distcode=t.distdyn=new n.Buf32(h),t.sane=1,t.back=-1,c):u}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,b(e)):u}function x(e,t){var i,n;return e&&e.state?(n=e.state,t<0?(i=0,t=-t):(i=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?u:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=i,n.wbits=t,v(e))):u}function y(e,t){var i,n;return e?(n=new g,e.state=n,n.window=null,(i=x(e,t))!==c&&(e.state=null),i):u}var w,D,_=!0;function E(e){if(_){var t;for(w=new n.Buf32(512),D=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(r(1,e.lens,0,288,w,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;r(2,e.lens,0,32,D,0,e.work,{bits:5}),_=!1}e.lencode=w,e.lenbits=9,e.distcode=D,e.distbits=5}function F(e,t,i,a){var s,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),a>=o.wsize?(n.arraySet(o.window,t,i-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((s=o.wsize-o.wnext)>a&&(s=a),n.arraySet(o.window,t,i-a,s,o.wnext),(a-=s)?(n.arraySet(o.window,t,i-a,a,0),o.wnext=a,o.whave=o.wsize):(o.wnext+=s,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=s))),0}t.inflateReset=v,t.inflateReset2=x,t.inflateResetKeep=b,t.inflateInit=function(e){return y(e,15)},t.inflateInit2=y,t.inflate=function(e,t){var i,f,h,g,b,v,x,y,w,D,_,k,C,j,O,A,S,B,R,$,P,T,I,M,z=0,N=new n.Buf8(4),U=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return u;(i=e.state).mode===p&&(i.mode=13),b=e.next_out,h=e.output,x=e.avail_out,g=e.next_in,f=e.input,v=e.avail_in,y=i.hold,w=i.bits,D=v,_=x,T=c;e:for(;;)switch(i.mode){case l:if(0===i.wrap){i.mode=13;break}for(;w<16;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(2&i.wrap&&35615===y){i.check=0,N[0]=255&y,N[1]=y>>>8&255,i.check=s(i.check,N,2,0),y=0,w=0,i.mode=2;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&y)<<8)+(y>>8))%31){e.msg="incorrect header check",i.mode=d;break}if(8!=(15&y)){e.msg="unknown compression method",i.mode=d;break}if(w-=4,P=8+(15&(y>>>=4)),0===i.wbits)i.wbits=P;else if(P>i.wbits){e.msg="invalid window size",i.mode=d;break}i.dmax=1<<P,e.adler=i.check=1,i.mode=512&y?10:p,y=0,w=0;break;case 2:for(;w<16;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(i.flags=y,8!=(255&i.flags)){e.msg="unknown compression method",i.mode=d;break}if(57344&i.flags){e.msg="unknown header flags set",i.mode=d;break}i.head&&(i.head.text=y>>8&1),512&i.flags&&(N[0]=255&y,N[1]=y>>>8&255,i.check=s(i.check,N,2,0)),y=0,w=0,i.mode=3;case 3:for(;w<32;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}i.head&&(i.head.time=y),512&i.flags&&(N[0]=255&y,N[1]=y>>>8&255,N[2]=y>>>16&255,N[3]=y>>>24&255,i.check=s(i.check,N,4,0)),y=0,w=0,i.mode=4;case 4:for(;w<16;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}i.head&&(i.head.xflags=255&y,i.head.os=y>>8),512&i.flags&&(N[0]=255&y,N[1]=y>>>8&255,i.check=s(i.check,N,2,0)),y=0,w=0,i.mode=5;case 5:if(1024&i.flags){for(;w<16;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}i.length=y,i.head&&(i.head.extra_len=y),512&i.flags&&(N[0]=255&y,N[1]=y>>>8&255,i.check=s(i.check,N,2,0)),y=0,w=0}else i.head&&(i.head.extra=null);i.mode=6;case 6:if(1024&i.flags&&((k=i.length)>v&&(k=v),k&&(i.head&&(P=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),n.arraySet(i.head.extra,f,g,k,P)),512&i.flags&&(i.check=s(i.check,f,k,g)),v-=k,g+=k,i.length-=k),i.length))break e;i.length=0,i.mode=7;case 7:if(2048&i.flags){if(0===v)break e;k=0;do{P=f[g+k++],i.head&&P&&i.length<65536&&(i.head.name+=String.fromCharCode(P))}while(P&&k<v);if(512&i.flags&&(i.check=s(i.check,f,k,g)),v-=k,g+=k,P)break e}else i.head&&(i.head.name=null);i.length=0,i.mode=8;case 8:if(4096&i.flags){if(0===v)break e;k=0;do{P=f[g+k++],i.head&&P&&i.length<65536&&(i.head.comment+=String.fromCharCode(P))}while(P&&k<v);if(512&i.flags&&(i.check=s(i.check,f,k,g)),v-=k,g+=k,P)break e}else i.head&&(i.head.comment=null);i.mode=9;case 9:if(512&i.flags){for(;w<16;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(y!==(65535&i.check)){e.msg="header crc mismatch",i.mode=d;break}y=0,w=0}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=!0),e.adler=i.check=0,i.mode=p;break;case 10:for(;w<32;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}e.adler=i.check=m(y),y=0,w=0,i.mode=11;case 11:if(0===i.havedict)return e.next_out=b,e.avail_out=x,e.next_in=g,e.avail_in=v,i.hold=y,i.bits=w,2;e.adler=i.check=1,i.mode=p;case p:if(5===t||6===t)break e;case 13:if(i.last){y>>>=7&w,w-=7&w,i.mode=27;break}for(;w<3;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}switch(i.last=1&y,w-=1,3&(y>>>=1)){case 0:i.mode=14;break;case 1:if(E(i),i.mode=20,6===t){y>>>=2,w-=2;break e}break;case 2:i.mode=17;break;case 3:e.msg="invalid block type",i.mode=d}y>>>=2,w-=2;break;case 14:for(y>>>=7&w,w-=7&w;w<32;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if((65535&y)!=(y>>>16^65535)){e.msg="invalid stored block lengths",i.mode=d;break}if(i.length=65535&y,y=0,w=0,i.mode=15,6===t)break e;case 15:i.mode=16;case 16:if(k=i.length){if(k>v&&(k=v),k>x&&(k=x),0===k)break e;n.arraySet(h,f,g,k,b),v-=k,g+=k,x-=k,b+=k,i.length-=k;break}i.mode=p;break;case 17:for(;w<14;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(i.nlen=257+(31&y),y>>>=5,w-=5,i.ndist=1+(31&y),y>>>=5,w-=5,i.ncode=4+(15&y),y>>>=4,w-=4,i.nlen>286||i.ndist>30){e.msg="too many length or distance symbols",i.mode=d;break}i.have=0,i.mode=18;case 18:for(;i.have<i.ncode;){for(;w<3;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}i.lens[U[i.have++]]=7&y,y>>>=3,w-=3}for(;i.have<19;)i.lens[U[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,I={bits:i.lenbits},T=r(0,i.lens,0,19,i.lencode,0,i.work,I),i.lenbits=I.bits,T){e.msg="invalid code lengths set",i.mode=d;break}i.have=0,i.mode=19;case 19:for(;i.have<i.nlen+i.ndist;){for(;A=(z=i.lencode[y&(1<<i.lenbits)-1])>>>16&255,S=65535&z,!((O=z>>>24)<=w);){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(S<16)y>>>=O,w-=O,i.lens[i.have++]=S;else{if(16===S){for(M=O+2;w<M;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(y>>>=O,w-=O,0===i.have){e.msg="invalid bit length repeat",i.mode=d;break}P=i.lens[i.have-1],k=3+(3&y),y>>>=2,w-=2}else if(17===S){for(M=O+3;w<M;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}w-=O,P=0,k=3+(7&(y>>>=O)),y>>>=3,w-=3}else{for(M=O+7;w<M;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}w-=O,P=0,k=11+(127&(y>>>=O)),y>>>=7,w-=7}if(i.have+k>i.nlen+i.ndist){e.msg="invalid bit length repeat",i.mode=d;break}for(;k--;)i.lens[i.have++]=P}}if(i.mode===d)break;if(0===i.lens[256]){e.msg="invalid code -- missing end-of-block",i.mode=d;break}if(i.lenbits=9,I={bits:i.lenbits},T=r(1,i.lens,0,i.nlen,i.lencode,0,i.work,I),i.lenbits=I.bits,T){e.msg="invalid literal/lengths set",i.mode=d;break}if(i.distbits=6,i.distcode=i.distdyn,I={bits:i.distbits},T=r(2,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,I),i.distbits=I.bits,T){e.msg="invalid distances set",i.mode=d;break}if(i.mode=20,6===t)break e;case 20:i.mode=21;case 21:if(v>=6&&x>=258){e.next_out=b,e.avail_out=x,e.next_in=g,e.avail_in=v,i.hold=y,i.bits=w,o(e,_),b=e.next_out,h=e.output,x=e.avail_out,g=e.next_in,f=e.input,v=e.avail_in,y=i.hold,w=i.bits,i.mode===p&&(i.back=-1);break}for(i.back=0;A=(z=i.lencode[y&(1<<i.lenbits)-1])>>>16&255,S=65535&z,!((O=z>>>24)<=w);){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(A&&!(240&A)){for(B=O,R=A,$=S;A=(z=i.lencode[$+((y&(1<<B+R)-1)>>B)])>>>16&255,S=65535&z,!(B+(O=z>>>24)<=w);){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}y>>>=B,w-=B,i.back+=B}if(y>>>=O,w-=O,i.back+=O,i.length=S,0===A){i.mode=26;break}if(32&A){i.back=-1,i.mode=p;break}if(64&A){e.msg="invalid literal/length code",i.mode=d;break}i.extra=15&A,i.mode=22;case 22:if(i.extra){for(M=i.extra;w<M;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}i.length+=y&(1<<i.extra)-1,y>>>=i.extra,w-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=23;case 23:for(;A=(z=i.distcode[y&(1<<i.distbits)-1])>>>16&255,S=65535&z,!((O=z>>>24)<=w);){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(!(240&A)){for(B=O,R=A,$=S;A=(z=i.distcode[$+((y&(1<<B+R)-1)>>B)])>>>16&255,S=65535&z,!(B+(O=z>>>24)<=w);){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}y>>>=B,w-=B,i.back+=B}if(y>>>=O,w-=O,i.back+=O,64&A){e.msg="invalid distance code",i.mode=d;break}i.offset=S,i.extra=15&A,i.mode=24;case 24:if(i.extra){for(M=i.extra;w<M;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}i.offset+=y&(1<<i.extra)-1,y>>>=i.extra,w-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){e.msg="invalid distance too far back",i.mode=d;break}i.mode=25;case 25:if(0===x)break e;if(k=_-x,i.offset>k){if((k=i.offset-k)>i.whave&&i.sane){e.msg="invalid distance too far back",i.mode=d;break}k>i.wnext?(k-=i.wnext,C=i.wsize-k):C=i.wnext-k,k>i.length&&(k=i.length),j=i.window}else j=h,C=b-i.offset,k=i.length;k>x&&(k=x),x-=k,i.length-=k;do{h[b++]=j[C++]}while(--k);0===i.length&&(i.mode=21);break;case 26:if(0===x)break e;h[b++]=i.length,x--,i.mode=21;break;case 27:if(i.wrap){for(;w<32;){if(0===v)break e;v--,y|=f[g++]<<w,w+=8}if(_-=x,e.total_out+=_,i.total+=_,_&&(e.adler=i.check=i.flags?s(i.check,h,_,b-_):a(i.check,h,_,b-_)),_=x,(i.flags?y:m(y))!==i.check){e.msg="incorrect data check",i.mode=d;break}y=0,w=0}i.mode=28;case 28:if(i.wrap&&i.flags){for(;w<32;){if(0===v)break e;v--,y+=f[g++]<<w,w+=8}if(y!==(4294967295&i.total)){e.msg="incorrect length check",i.mode=d;break}y=0,w=0}i.mode=29;case 29:T=1;break e;case d:T=-3;break e;case 31:return-4;default:return u}return e.next_out=b,e.avail_out=x,e.next_in=g,e.avail_in=v,i.hold=y,i.bits=w,(i.wsize||_!==e.avail_out&&i.mode<d&&(i.mode<27||4!==t))&&F(e,e.output,e.next_out,_-e.avail_out)?(i.mode=31,-4):(D-=e.avail_in,_-=e.avail_out,e.total_in+=D,e.total_out+=_,i.total+=_,i.wrap&&_&&(e.adler=i.check=i.flags?s(i.check,h,_,e.next_out-_):a(i.check,h,_,e.next_out-_)),e.data_type=i.bits+(i.last?64:0)+(i.mode===p?128:0)+(20===i.mode||15===i.mode?256:0),(0===D&&0===_||4===t)&&T===c&&(T=-5),T)},t.inflateEnd=function(e){if(!e||!e.state)return u;var t=e.state;return t.window&&(t.window=null),e.state=null,c},t.inflateGetHeader=function(e,t){var i;return e&&e.state&&2&(i=e.state).wrap?(i.head=t,t.done=!1,c):u},t.inflateSetDictionary=function(e,t){var i,n=t.length;return e&&e.state?0!==(i=e.state).wrap&&11!==i.mode?u:11===i.mode&&a(1,t,n,0)!==i.check?-3:F(e,t,n,n)?(i.mode=31,-4):(i.havedict=1,c):u},t.inflateInfo="pako inflate (from Nodeca project)"},274:(e,t,i)=>{"use strict";var n=i(2937),a=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],r=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(e,t,i,c,u,l,p,d){var f,h,m,g,b,v,x,y,w,D=d.bits,_=0,E=0,F=0,k=0,C=0,j=0,O=0,A=0,S=0,B=0,R=null,$=0,P=new n.Buf16(16),T=new n.Buf16(16),I=null,M=0;for(_=0;_<=15;_++)P[_]=0;for(E=0;E<c;E++)P[t[i+E]]++;for(C=D,k=15;k>=1&&0===P[k];k--);if(C>k&&(C=k),0===k)return u[l++]=20971520,u[l++]=20971520,d.bits=1,0;for(F=1;F<k&&0===P[F];F++);for(C<F&&(C=F),A=1,_=1;_<=15;_++)if(A<<=1,(A-=P[_])<0)return-1;if(A>0&&(0===e||1!==k))return-1;for(T[1]=0,_=1;_<15;_++)T[_+1]=T[_]+P[_];for(E=0;E<c;E++)0!==t[i+E]&&(p[T[t[i+E]]++]=E);if(0===e?(R=I=p,v=19):1===e?(R=a,$-=257,I=s,M-=257,v=256):(R=o,I=r,v=-1),B=0,E=0,_=F,b=l,j=C,O=0,m=-1,g=(S=1<<C)-1,1===e&&S>852||2===e&&S>592)return 1;for(;;){x=_-O,p[E]<v?(y=0,w=p[E]):p[E]>v?(y=I[M+p[E]],w=R[$+p[E]]):(y=96,w=0),f=1<<_-O,F=h=1<<j;do{u[b+(B>>O)+(h-=f)]=x<<24|y<<16|w}while(0!==h);for(f=1<<_-1;B&f;)f>>=1;if(0!==f?(B&=f-1,B+=f):B=0,E++,0==--P[_]){if(_===k)break;_=t[i+p[E]]}if(_>C&&(B&g)!==m){for(0===O&&(O=C),b+=F,A=1<<(j=_-O);j+O<k&&!((A-=P[j+O])<=0);)j++,A<<=1;if(S+=1<<j,1===e&&S>852||2===e&&S>592)return 1;u[m=B&g]=C<<24|j<<16|b-l}}return 0!==B&&(u[b+B]=_-O<<24|64<<16),d.bits=C,0}},8990:e=>{"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},5805:(e,t,i)=>{"use strict";var n=i(2937);function a(e){for(var t=e.length;--t>=0;)e[t]=0}var s=256,o=286,r=30,c=15,u=16,l=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],p=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],f=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],h=new Array(576);a(h);var m=new Array(60);a(m);var g=new Array(512);a(g);var b=new Array(256);a(b);var v=new Array(29);a(v);var x,y,w,D=new Array(r);function _(e,t,i,n,a){this.static_tree=e,this.extra_bits=t,this.extra_base=i,this.elems=n,this.max_length=a,this.has_stree=e&&e.length}function E(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function F(e){return e<256?g[e]:g[256+(e>>>7)]}function k(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function C(e,t,i){e.bi_valid>u-i?(e.bi_buf|=t<<e.bi_valid&65535,k(e,e.bi_buf),e.bi_buf=t>>u-e.bi_valid,e.bi_valid+=i-u):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=i)}function j(e,t,i){C(e,i[2*t],i[2*t+1])}function O(e,t){var i=0;do{i|=1&e,e>>>=1,i<<=1}while(--t>0);return i>>>1}function A(e,t,i){var n,a,s=new Array(c+1),o=0;for(n=1;n<=c;n++)s[n]=o=o+i[n-1]<<1;for(a=0;a<=t;a++){var r=e[2*a+1];0!==r&&(e[2*a]=O(s[r]++,r))}}function S(e){var t;for(t=0;t<o;t++)e.dyn_ltree[2*t]=0;for(t=0;t<r;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function B(e){e.bi_valid>8?k(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function R(e,t,i,n){var a=2*t,s=2*i;return e[a]<e[s]||e[a]===e[s]&&n[t]<=n[i]}function $(e,t,i){for(var n=e.heap[i],a=i<<1;a<=e.heap_len&&(a<e.heap_len&&R(t,e.heap[a+1],e.heap[a],e.depth)&&a++,!R(t,n,e.heap[a],e.depth));)e.heap[i]=e.heap[a],i=a,a<<=1;e.heap[i]=n}function P(e,t,i){var n,a,o,r,c=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*c]<<8|e.pending_buf[e.d_buf+2*c+1],a=e.pending_buf[e.l_buf+c],c++,0===n?j(e,a,t):(j(e,(o=b[a])+s+1,t),0!==(r=l[o])&&C(e,a-=v[o],r),j(e,o=F(--n),i),0!==(r=p[o])&&C(e,n-=D[o],r))}while(c<e.last_lit);j(e,256,t)}function T(e,t){var i,n,a,s=t.dyn_tree,o=t.stat_desc.static_tree,r=t.stat_desc.has_stree,u=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,i=0;i<u;i++)0!==s[2*i]?(e.heap[++e.heap_len]=l=i,e.depth[i]=0):s[2*i+1]=0;for(;e.heap_len<2;)s[2*(a=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[a]=0,e.opt_len--,r&&(e.static_len-=o[2*a+1]);for(t.max_code=l,i=e.heap_len>>1;i>=1;i--)$(e,s,i);a=u;do{i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],$(e,s,1),n=e.heap[1],e.heap[--e.heap_max]=i,e.heap[--e.heap_max]=n,s[2*a]=s[2*i]+s[2*n],e.depth[a]=(e.depth[i]>=e.depth[n]?e.depth[i]:e.depth[n])+1,s[2*i+1]=s[2*n+1]=a,e.heap[1]=a++,$(e,s,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var i,n,a,s,o,r,u=t.dyn_tree,l=t.max_code,p=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,m=t.stat_desc.max_length,g=0;for(s=0;s<=c;s++)e.bl_count[s]=0;for(u[2*e.heap[e.heap_max]+1]=0,i=e.heap_max+1;i<573;i++)(s=u[2*u[2*(n=e.heap[i])+1]+1]+1)>m&&(s=m,g++),u[2*n+1]=s,n>l||(e.bl_count[s]++,o=0,n>=h&&(o=f[n-h]),r=u[2*n],e.opt_len+=r*(s+o),d&&(e.static_len+=r*(p[2*n+1]+o)));if(0!==g){do{for(s=m-1;0===e.bl_count[s];)s--;e.bl_count[s]--,e.bl_count[s+1]+=2,e.bl_count[m]--,g-=2}while(g>0);for(s=m;0!==s;s--)for(n=e.bl_count[s];0!==n;)(a=e.heap[--i])>l||(u[2*a+1]!==s&&(e.opt_len+=(s-u[2*a+1])*u[2*a],u[2*a+1]=s),n--)}}(e,t),A(s,l,e.bl_count)}function I(e,t,i){var n,a,s=-1,o=t[1],r=0,c=7,u=4;for(0===o&&(c=138,u=3),t[2*(i+1)+1]=65535,n=0;n<=i;n++)a=o,o=t[2*(n+1)+1],++r<c&&a===o||(r<u?e.bl_tree[2*a]+=r:0!==a?(a!==s&&e.bl_tree[2*a]++,e.bl_tree[32]++):r<=10?e.bl_tree[34]++:e.bl_tree[36]++,r=0,s=a,0===o?(c=138,u=3):a===o?(c=6,u=3):(c=7,u=4))}function M(e,t,i){var n,a,s=-1,o=t[1],r=0,c=7,u=4;for(0===o&&(c=138,u=3),n=0;n<=i;n++)if(a=o,o=t[2*(n+1)+1],!(++r<c&&a===o)){if(r<u)do{j(e,a,e.bl_tree)}while(0!=--r);else 0!==a?(a!==s&&(j(e,a,e.bl_tree),r--),j(e,16,e.bl_tree),C(e,r-3,2)):r<=10?(j(e,17,e.bl_tree),C(e,r-3,3)):(j(e,18,e.bl_tree),C(e,r-11,7));r=0,s=a,0===o?(c=138,u=3):a===o?(c=6,u=3):(c=7,u=4)}}a(D);var z=!1;function N(e,t,i,a){C(e,0+(a?1:0),3),function(e,t,i,a){B(e),k(e,i),k(e,~i),n.arraySet(e.pending_buf,e.window,t,i,e.pending),e.pending+=i}(e,t,i)}t._tr_init=function(e){z||(function(){var e,t,i,n,a,s=new Array(c+1);for(i=0,n=0;n<28;n++)for(v[n]=i,e=0;e<1<<l[n];e++)b[i++]=n;for(b[i-1]=n,a=0,n=0;n<16;n++)for(D[n]=a,e=0;e<1<<p[n];e++)g[a++]=n;for(a>>=7;n<r;n++)for(D[n]=a<<7,e=0;e<1<<p[n]-7;e++)g[256+a++]=n;for(t=0;t<=c;t++)s[t]=0;for(e=0;e<=143;)h[2*e+1]=8,e++,s[8]++;for(;e<=255;)h[2*e+1]=9,e++,s[9]++;for(;e<=279;)h[2*e+1]=7,e++,s[7]++;for(;e<=287;)h[2*e+1]=8,e++,s[8]++;for(A(h,287,s),e=0;e<r;e++)m[2*e+1]=5,m[2*e]=O(e,5);x=new _(h,l,257,o,c),y=new _(m,p,0,r,c),w=new _(new Array(0),d,0,19,7)}(),z=!0),e.l_desc=new E(e.dyn_ltree,x),e.d_desc=new E(e.dyn_dtree,y),e.bl_desc=new E(e.bl_tree,w),e.bi_buf=0,e.bi_valid=0,S(e)},t._tr_stored_block=N,t._tr_flush_block=function(e,t,i,n){var a,o,r=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,i=4093624447;for(t=0;t<=31;t++,i>>>=1)if(1&i&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<s;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),T(e,e.l_desc),T(e,e.d_desc),r=function(e){var t;for(I(e,e.dyn_ltree,e.l_desc.max_code),I(e,e.dyn_dtree,e.d_desc.max_code),T(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*f[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),a=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=a&&(a=o)):a=o=i+5,i+4<=a&&-1!==t?N(e,t,i,n):4===e.strategy||o===a?(C(e,2+(n?1:0),3),P(e,h,m)):(C(e,4+(n?1:0),3),function(e,t,i,n){var a;for(C(e,t-257,5),C(e,i-1,5),C(e,n-4,4),a=0;a<n;a++)C(e,e.bl_tree[2*f[a]+1],3);M(e,e.dyn_ltree,t-1),M(e,e.dyn_dtree,i-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,r+1),P(e,e.dyn_ltree,e.dyn_dtree)),S(e),n&&B(e)},t._tr_tally=function(e,t,i){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&i,e.last_lit++,0===t?e.dyn_ltree[2*i]++:(e.matches++,t--,e.dyn_ltree[2*(b[i]+s+1)]++,e.dyn_dtree[2*F(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){C(e,2,3),j(e,256,h),function(e){16===e.bi_valid?(k(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},9222:e=>{"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},1420:(e,t,i)=>{"use strict";var n=i(7016).parse,a={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},s=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function o(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=function(e){var t="string"==typeof e?n(e):e||{},i=t.protocol,r=t.host,c=t.port;if("string"!=typeof r||!r||"string"!=typeof i)return"";if(i=i.split(":",1)[0],!function(e,t){var i=(o("npm_config_no_proxy")||o("no_proxy")).toLowerCase();return!i||"*"!==i&&i.split(/[,\s]/).every((function(i){if(!i)return!0;var n=i.match(/^(.+):(\d+)$/),a=n?n[1]:i,o=n?parseInt(n[2]):0;return!(!o||o===t)||(/^[.*]/.test(a)?("*"===a.charAt(0)&&(a=a.slice(1)),!s.call(e,a)):e!==a)}))}(r=r.replace(/:\d*$/,""),c=parseInt(c)||a[i]||0))return"";var u=o("npm_config_"+i+"_proxy")||o(i+"_proxy")||o("npm_config_proxy")||o("all_proxy");return u&&-1===u.indexOf("://")&&(u=i+"://"+u),u}},9386:(e,t,i)=>{"use strict";var n=i(9896),a=i(6928).join,s=i(6928).resolve,o=i(6928).dirname,r={extensions:["js","json","coffee"],recurse:!0,rename:function(e){return e},visit:function(e){return e}};e.exports=function e(t,i,c){var u={};for(var l in i&&!c&&"string"!=typeof i&&(c=i,i=null),c=c||{},r)void 0===c[l]&&(c[l]=r[l]);return i=i?s(o(t.filename),i):o(t.filename),n.readdirSync(i).forEach((function(s){var o,r,l,p=a(i,s);n.statSync(p).isDirectory()&&c.recurse?(o=e(t,p,c),Object.keys(o).length&&(u[c.rename(s,p,s)]=o)):p!==t.filename&&function(e,t,i){return new RegExp("\\.("+i.extensions.join("|")+")$","i").test(t)&&!(i.include&&i.include instanceof RegExp&&!i.include.test(e))&&!(i.include&&"function"==typeof i.include&&!i.include(e,t))&&!(i.exclude&&i.exclude instanceof RegExp&&i.exclude.test(e))&&!(i.exclude&&"function"==typeof i.exclude&&i.exclude(e,t))}(p,s,c)&&(r=s.substring(0,s.lastIndexOf(".")),l=t.require(p),u[c.rename(r,p,s)]=c.visit(l,p,s)||l)})),u},e.exports.defaults=r},1817:(e,t,i)=>{var n=i(181),a=n.Buffer;function s(e,t){for(var i in e)t[i]=e[i]}function o(e,t,i){return a(e,t,i)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=o),o.prototype=Object.create(a.prototype),s(a,o),o.from=function(e,t,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return a(e,t,i)},o.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=a(e);return void 0!==t?"string"==typeof i?n.fill(t,i):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},1308:(e,t,i)=>{var n=i(1817).Buffer;function a(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}a.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=n.from(e,t));for(var i=this._block,a=this._blockSize,s=e.length,o=this._len,r=0;r<s;){for(var c=o%a,u=Math.min(s-r,a-c),l=0;l<u;l++)i[c+l]=e[r+l];r+=u,(o+=u)%a==0&&this._update(i)}return this._len+=s,this},a.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i<=4294967295)this._block.writeUInt32BE(i,this._blockSize-4);else{var n=(4294967295&i)>>>0,a=(i-n)/4294967296;this._block.writeUInt32BE(a,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var s=this._hash();return e?s.toString(e):s},a.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=a},525:(e,t,i)=>{var n=i(9293),a=i(1308),s=i(1817).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],r=new Array(80);function c(){this.init(),this._w=r,a.call(this,64,56)}function u(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function p(e,t,i,n){return 0===e?t&i|~t&n:2===e?t&i|t&n|i&n:t^i^n}n(c,a),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,i=this._w,n=0|this._a,a=0|this._b,s=0|this._c,r=0|this._d,c=0|this._e,d=0;d<16;++d)i[d]=e.readInt32BE(4*d);for(;d<80;++d)i[d]=(t=i[d-3]^i[d-8]^i[d-14]^i[d-16])<<1|t>>>31;for(var f=0;f<80;++f){var h=~~(f/20),m=u(n)+p(h,a,s,r)+c+i[f]+o[h]|0;c=r,r=s,s=l(a),a=n,n=m}this._a=n+this._a|0,this._b=a+this._b|0,this._c=s+this._c|0,this._d=r+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},230:e=>{e.exports=function(e,t){var i=[];e.on("data",(function(e){i.push(e)})),e.once("end",(function(){t&&t(null,Buffer.concat(i)),t=null})),e.once("error",(function(e){t&&t(e),t=null}))}},5090:(e,t,i)=>{e.exports=p;const n=i(230),a=i(2686),s=i(8611),o=i(5692),r=i(9819),c=i(3480),u=i(7016),l=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;function p(e,t){if(e=Object.assign({maxRedirects:10},"string"==typeof e?{url:e}:e),t=r(t),e.url){const{hostname:t,port:i,protocol:n,auth:a,path:s}=u.parse(e.url);delete e.url,t||i||n||a?Object.assign(e,{hostname:t,port:i,protocol:n,auth:a,path:s}):e.path=s}const i={"accept-encoding":"gzip, deflate"};let n;e.headers&&Object.keys(e.headers).forEach((t=>i[t.toLowerCase()]=e.headers[t])),e.headers=i,e.body?n=e.json&&!l(e.body)?JSON.stringify(e.body):e.body:e.form&&(n="string"==typeof e.form?e.form:c.stringify(e.form),e.headers["content-type"]="application/x-www-form-urlencoded"),n&&(e.method||(e.method="POST"),l(n)||(e.headers["content-length"]=Buffer.byteLength(n)),e.json&&!e.form&&(e.headers["content-type"]="application/json")),delete e.body,delete e.form,e.json&&(e.headers.accept="application/json"),e.method&&(e.method=e.method.toUpperCase());const d=e.hostname,f=("https:"===e.protocol?o:s).request(e,(i=>{if(!1!==e.followRedirects&&i.statusCode>=300&&i.statusCode<400&&i.headers.location){e.url=i.headers.location,delete e.headers.host,i.resume();const n=u.parse(e.url).hostname;return null!==n&&n!==d&&(delete e.headers.cookie,delete e.headers.authorization),"POST"===e.method&&[301,302].includes(i.statusCode)&&(e.method="GET",delete e.headers["content-length"],delete e.headers["content-type"]),0==e.maxRedirects--?t(new Error("too many redirects")):p(e,t)}const n="function"==typeof a&&"HEAD"!==e.method;t(null,n?a(i):i)}));return f.on("timeout",(()=>{f.abort(),t(new Error("Request timed out"))})),f.on("error",t),l(n)?n.on("error",t).pipe(f):f.end(n),f}p.concat=(e,t)=>p(e,((i,a)=>{if(i)return t(i);n(a,((i,n)=>{if(i)return t(i);if(e.json)try{n=JSON.parse(n.toString())}catch(i){return t(i,a,n)}t(null,a,n)}))})),["get","post","put","patch","head","delete"].forEach((e=>{p[e]=(t,i)=>("string"==typeof t&&(t={url:t}),p(Object.assign({method:e.toUpperCase()},t),i))}))},4813:(e,t,i)=>{"use strict";const n=i(8395),a=i(1664),s=i(5895),o=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=n(e)).length)return 0;e=e.replace(s()," ");let t=0;for(let i=0;i<e.length;i++){const n=e.codePointAt(i);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&i++,t+=a(n)?2:1)}return t};e.exports=o,e.exports.default=o},8395:(e,t,i)=>{"use strict";const n=i(4764);e.exports=e=>"string"==typeof e?e.replace(n(),""):e},459:(e,t,i)=>{"use strict";const n=i(857),a=i(2018),s=i(5704),{env:o}=process;let r;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function u(e,t){if(0===r)return 0;if(s("color=16m")||s("color=full")||s("color=truecolor"))return 3;if(s("color=256"))return 2;if(e&&!t&&void 0===r)return 0;const i=r||0;if("dumb"===o.TERM)return i;if("win32"===process.platform){const e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in o))||"codeship"===o.CI_NAME?1:i;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:i}s("no-color")||s("no-colors")||s("color=false")||s("color=never")?r=0:(s("color")||s("colors")||s("color=true")||s("color=always"))&&(r=1),"FORCE_COLOR"in o&&(r="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(u(e,e&&e.isTTY))},stdout:c(u(!0,a.isatty(1))),stderr:c(u(!0,a.isatty(2)))}},8705:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t},o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const c=r(i(2925)),u=s(i(9896)),l=i(9896),p=i(722),d=i(8251),f=i(5699),h=s(i(1943)),m=s(i(3559)),g=i(866),b=i(3443),v=i(7580);t.default=function(e,t,i,n,a,s,r,x,y,w){return o(this,void 0,void 0,(function*(){var D;s||r||x||(console.log("Building code bundle..."),yield(0,f.runInShell)("npm run build"));const _=new c.default,E=(0,b.appIdWithEnvironmentId)(t,w);_.append("appId",E),_.append("file",(0,l.createReadStream)(i));const F=(0,v.getConsoleAppRegionByStage)(e),k=s?(0,g.getApplicationUrl)(F,E,"application/updateApplicationCode"):(0,g.getApplicationUrl)(F,p.environment.consoleAppId,"webhooks/updateApplicationCode");console.log(`Deploying code bundle for appId '${t}' to the '${w}' environment...`),a&&console.log("Deploying bundle to:",k);try{const e=_.getHeaders();n&&(e.Authorization=`ApiKey ${n}`),y&&(e["x-squid-secret"]=y);const t=yield function(e){return o(this,void 0,void 0,(function*(){const t=u.existsSync("tsoa.json")?"tsoa.json":"node_modules/@squidcloud/local-backend/dist/local-backend/tsoa.json";try{yield Promise.all([(0,f.runInShell)(`npx tsoa spec -c ${t}`,!1),(0,f.runInShell)(`npx tsoa routes -c ${t}`,!1)])}catch(t){if(e){const e=t;console.error("Unable to generate OpenAPI spec and controllers",e.errorMessage||t),e.combinedOutput&&(0,f.printCombinedOutput)(e.combinedOutput)}return}try{return{openApiSpecStr:yield h.readFile("dist/swagger.json",{encoding:"utf8"}),openApiControllersStr:yield h.readFile("dist/routes.ts",{encoding:"utf8"})}}catch(e){console.error("Unable to deploy OpenAPI spec and controllers",e)}}))}(a);t&&(_.append("openApiSpecStr",t.openApiSpecStr),_.append("openApiControllersStr",t.openApiControllersStr)),yield m.default.post(k,_,{headers:e}),console.log("Code deployed")}catch(e){if(!e)return;let t="";"object"==typeof e&&"message"in e&&(t+=e.message),(0,m.isAxiosError)(e)&&(null===(D=e.response)||void 0===D?void 0:D.data)&&(t+=(t?" -- ":"")+e.response.data),a&&console.error("VERBOSE: error deploying bundle:",e),(0,d.exitWithError)("Unable to deploy bundle:",t||e)}}))}},722:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.environment=void 0,t.environment={consoleAppId:"console",region:"local"}},6568:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),parseInt(process.version.split(".")[0].slice(1))<18&&(console.error(`Error: Squid requires Node.js version 18 or higher. You are using version ${process.version}.`),process.exit(1)),i(4291)},1838:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t},o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const c=s(i(1943)),u=r(i(6928));t.default=function(){return o(this,arguments,void 0,(function*(e="./",t,i,n,a,s){const o=`SQUID_APP_ID=${t}\nSQUID_REGION=${s}\nSQUID_API_KEY=${i}\nSQUID_ENVIRONMENT_ID=${n}\nSQUID_DEVELOPER_ID=${a}\n`;yield c.writeFile(u.default.resolve(e,".env"),o),console.log("Created .env file")}))}},3436:function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const a=i(2689),s=i(97),o=i(5699),r=i(3066);t.default=function(e,t,i,c,u,l,p){return n(this,void 0,void 0,(function*(){const n=[new s.SchematicOption("name",e),new s.SchematicOption("app-id",t),new s.SchematicOption("api-key",i),new s.SchematicOption("environment-id",c),new s.SchematicOption("squid-developer-id",u),new s.SchematicOption("region",l),new s.SchematicOption("author","")];yield a.SchematicRunner.execute("application",n),console.log("Installing dependencies..."),yield(0,o.runInShell)("npm install",!0,e),yield(0,r.reportLocalBackendInitialized)(t,i,p),console.log("Local backend initialized")}))}},4291:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t},o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const c=r(i(1771)),u=r(i(8705)),l=r(i(6928)),p=r(i(3436)),d=i(8251),f=s(i(8330)),h=r(i(496)),m=s(i(9650)),g=r(i(1838)),b=s(i(9896)),v=r(i(4328)),x=i(8058);function y(e,t){e.option("appId",{type:"string",demandOption:t,describe:"The application ID (Can be retrieved from the Squid Cloud Console)"})}function w(e,t){e.option("apiKey",{type:"string",demandOption:t,describe:"The application API key (Can be retrieved from the Squid Cloud Console)"})}function D(e,t){e.option("environmentId",{type:"string",demandOption:t,describe:"The environment to use Squid with (Can be retrieved from the Squid Cloud Console)"})}function _(e,t){e.option("squidDeveloperId",{type:"string",demandOption:t,describe:"The developer ID to use Squid with (Can be retrieved in the profile dropdown in the Squid Cloud Console)"})}function E(e,t){e.option("region",{type:"string",demandOption:t,describe:"The squid region use Squid with (Can be retrieved from the Squid Cloud Console)"})}function F(e,t){if(process.env[e])return process.env[e];let i=`Missing environment variable: ${e}.`;t&&(i+=` You can also specify it using ${t}`),i+="\nTo learn more about deployment environment variables, visit https://docs.squid.cloud/docs/development-tools/environments#environment-variables",(0,d.exitWithError)(i)}function k(e){e.option("stage",{type:"string",hidden:!0,default:"prod",choices:x.STAGES})}(0,c.default)(process.argv.slice(2)).strict(!0).demandCommand(1).scriptName("squid").version(f.version).option("verbose",{alias:"v",type:"boolean",description:"Run in verbose mode"}),function(e){e.command("start","Starts the local development server",(()=>{}),(()=>o(this,void 0,void 0,(function*(){yield(0,h.default)()}))))}(c.default),c.default.command(["deploy [path]","upload [path]"],"Builds and deploys your backend code to the Squid server",(e=>{e.positional("path",{type:"string",description:"The path to the bundle file (e.g. dist/bundle.zip)"}),e.count("direct").alias("d","direct"),k(e),y(e,!1),w(e,!1),D(e,!1),function(e){e.option("internalApiKey",{type:"string",demandOption:!1})}(e),e.option("skipBuild",{type:"boolean",description:"Skip the build step",default:!1})}),(e=>{const t=!!e.path,i=e.path||"dist/bundle.zip",n=function(e){const t=e.replace("dist/bundle.zip","");return b.existsSync(l.default.join(t,".env"))?t:b.existsSync(l.default.join(__dirname,".env"))?__dirname:process.cwd()}(i);!function(e){m.config({path:l.default.resolve(e||"./",".env")})}(n);const a=function(e){return e||F("SQUID_APP_ID","--appId")}(e.appId),s=e.direct?void 0:function(e){return e||F("SQUID_API_KEY","--apiKey")}(e.apiKey),o=function(e){return e||F("SQUID_ENVIRONMENT_ID","--environmentId")}(e.environmentId),r=e.direct?function(e){if(e)return e;const t=process.env.SQUID_INTERNAL_API_KEY;if(t)return t;(0,d.exitWithError)("Squid internal API key was not provided when using -d")}(e.internalApiKey):void 0;e.direct||s||(0,d.exitWithError)("Must provide an API key");const c=e.stage;(0,u.default)(c,a,i,s,!!e.verbose,e.direct,t,!!e.skipBuild,r,o).then()})),function(e){e.command("init-env [path]","Creates a .env file in your Squid project directory",(e=>{e.positional("path",{type:"string"}),y(e,!0),w(e,!0),D(e,!0),_(e,!0),E(e,!0)}),(e=>o(this,void 0,void 0,(function*(){yield(0,g.default)(e.path,e.appId,e.apiKey,e.environmentId,e.squidDeveloperId,e.region)}))))}(c.default),function(e){e.command("init [path]","Creates a new Squid backend project",(e=>{e.positional("path",{type:"string"}).demandOption("path"),k(e),y(e,!0),w(e,!0),D(e,!0),_(e,!0),E(e,!0)}),(e=>o(this,void 0,void 0,(function*(){yield(0,p.default)(e.path,e.appId,e.apiKey,e.environmentId,e.squidDeveloperId,e.region,e.stage),yield(0,g.default)(e.path,e.appId,e.apiKey,e.environmentId,e.squidDeveloperId,e.region)}))))}(c.default),function(e){e.command("init-sample [path]","Initializes a Squid sample project",(e=>{e.positional("path",{type:"string"}).demandOption("path"),y(e,!1),w(e,!1),D(e,!1),_(e,!1),E(e,!1),function(e,t){e.option("template",{type:"string",demandOption:!0,describe:"The template to use for the project. https://github.com/squid-cloud-samples for available templates.",default:"archer-lite"})}(e)}),(e=>o(this,void 0,void 0,(function*(){yield(0,v.default)(e.path,e.appId,e.apiKey,e.environmentId,e.squidDeveloperId,e.region,e.template)}))))}(c.default),c.default.parse()},4328:function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=a(i(1943)),o=a(i(1554)),r=a(i(9208)),c=a(i(3559)),u=i(5699),l=a(i(6928)),p=i(3066),d=i(8251);t.default=function(e,t,i,a,f,h){return n(this,arguments,void 0,(function*(e,t,i,n,a,f,h="starter"){var m;const g=`https://github.com/squid-cloud-samples/${h}`;try{yield s.default.stat(l.default.resolve(e)),(0,d.exitWithError)(`Project already exists: ${e}`)}catch(e){}200!==(yield c.default.head(g,{validateStatus:()=>!0})).status&&(0,d.exitWithError)(`Sample repository not found: ${g}`),console.log(`Cloning ${g}...`),yield o.default.clone({fs:s.default,http:r.default,dir:e,url:g}),console.log("Installing dependencies...");let b=!1;try{yield s.default.stat(l.default.resolve(e,"package.json")),b=!0}catch(e){}if(b&&(yield(0,u.runInShell)("npm install",!0,l.default.resolve(e))),yield(0,u.runInShell)("npm install",!0,l.default.resolve(e,"backend")),yield(0,u.runInShell)("npm install",!0,l.default.resolve(e,"frontend")),t&&f&&i&&n&&a){const o=`SQUID_APP_ID=${t}\nSQUID_REGION=${f}\nSQUID_API_KEY=${i}\nSQUID_ENVIRONMENT_ID=${n}\nSQUID_DEVELOPER_ID=${a}\n`;yield s.default.writeFile(l.default.resolve(e,"backend",".env"),o),(null===(m=JSON.parse((yield s.default.readFile(l.default.resolve(e,"frontend","package.json"))).toString()).scripts)||void 0===m?void 0:m["setup-env"])&&(yield(0,u.runInShell)("npm run setup-env",!0,l.default.resolve(e,"frontend"))),yield(0,p.reportLocalBackendInitialized)(t,i,"prod")}}))}},496:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t},o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const c=i(5699),u=r(i(7459)),l=s(i(1943)),p=i(5036),d=i(8251);t.default=function(){return o(this,void 0,void 0,(function*(){try{const e=yield l.readFile("package.json","utf8"),t=JSON.parse(e);(0,p.assertTruthy)(t.scripts["start-squid"],"NO_START_SQUID_SCRIPT")}catch(e){(0,d.exitWithError)("Please make sure you are running this command in your Squid project directory")}const e=u.default.hex("#188FFF");console.log(e("Please note:"),'to debug your application, you need to run the "start-squid" npm script in your IDE in debug mode'),console.log(e("Running:"),"npm run start-squid"),yield(0,c.runInShell)("npm run start-squid")}))}},4395:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeToKebabOrSnakeCase=void 0,t.normalizeToKebabOrSnakeCase=function(e){return e.replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase().replace(/\s/g,"-")}},8251:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.exitWithError=void 0;const o=s(i(932));t.exitWithError=function(...e){console.error(...e),o.exit(1)}},3066:function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.reportLocalBackendInitialized=void 0;const s=i(722),o=a(i(3559)),r=i(866),c=i(6334),u=i(7580);t.reportLocalBackendInitialized=function(e,t,i){return n(this,void 0,void 0,(function*(){const n=(0,u.getConsoleAppRegionByStage)(i),a=`${(0,r.getApplicationUrl)(n,s.environment.consoleAppId,"webhooks/reportLocalBackendInitialized")}`;try{const i={Authorization:`ApiKey ${t}`};yield o.default.post(a,{appId:e},{headers:i})}catch(e){console.warn("Warning: Failed to report backend initialization to the Squid Cloud Console."),c.DebugLogger.debug("Warning: unable to report backend initialization to squid",e)}}))}},97:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SchematicOption=void 0;const n=i(4395);t.SchematicOption=class{constructor(e,t){this.paramName=e,this.value=t}get normalizedName(){return(0,n.normalizeToKebabOrSnakeCase)(this.paramName)}toCommandString(){return`--${this.normalizedName}="${this.value}"`}}},2689:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var a=Object.getOwnPropertyDescriptor(t,i);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,a)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return a(t,e),t},o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(a,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function r(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,r)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.SchematicRunner=void 0;const r=i(5317),c=s(i(9896)),u=s(i(6928)),l=s(i(932)),p=i(8251),d=i(7022);class f{static findClosestSchematicsBinary(){return o(this,void 0,void 0,(function*(){const e=[__dirname,l.cwd()];return yield this.findClosestFile(e,"node_modules/@angular-devkit/schematics-cli/bin/schematics.js")}))}static findClosestFile(e,t){return o(this,void 0,void 0,(function*(){for(const i of e){let e=t;for(let t=0;t<5;t++){const t=u.resolve(i,e);if(yield f.checkIfFileExists(t))return t;e=`../${e}`}}(0,p.exitWithError)("'schematics' binary path could not be found!")}))}static checkIfFileExists(e){return o(this,void 0,void 0,(function*(){try{return yield c.promises.stat(e),!0}catch(t){if("ENOENT"===(null==t?void 0:t.code))return!1;(0,p.exitWithError)(`Cannot check if file exists: ${e}`,(0,d.getMessageFromError)(t))}}))}static execute(e,t,i){return o(this,void 0,void 0,(function*(){let n=this.buildCommandLine(e,t);n=i?n.concat(` ${i}`):n,yield this.run(n)}))}static run(e){return o(this,arguments,void 0,(function*(e,t=!1,i=l.cwd()){const n=[e],a={cwd:i,stdio:t?"pipe":"inherit",shell:!0};return new Promise(((i,s)=>o(this,void 0,void 0,(function*(){const o=(0,r.spawn)("node",[`"${yield f.findClosestSchematicsBinary()}"`,...n],a);t&&(o.stdout||(0,p.exitWithError)("child.stdout is null"),o.stdout.on("data",(e=>i(e.toString().replace(/\r\n|\n/,""))))),o.on("close",(t=>{0===t?i(null):(console.error(`node ${e} failed`),s())}))}))))}))}static buildCommandLine(e,t){return`@squidcloud/schematics:${e}${this.buildOptions(t)}`}static buildOptions(e){return e.reduce(((e,t)=>e.concat(` ${t.toCommandString()}`)),"")}}t.SchematicRunner=f},5699:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printCombinedOutput=t.runInShell=void 0;const n=i(5317);function a(e){for(const t of e)"error"===t.level?o(t.message):s(t.message)}function s(e){process.stdout.write(e)}function o(e){process.stderr.write(e)}t.runInShell=function(e,t=!0,i=process.cwd()){return new Promise(((r,c)=>{const u=(0,n.spawn)(e,{cwd:i,shell:!0,stdio:"pipe"}),l=[];u.stdout.on("data",(e=>{const i=e.toString();l.push({level:"info",message:i}),t&&s(i)})),u.stderr.on("data",(e=>{const i=e.toString();l.push({level:"error",message:i}),t&&o(i)})),u.on("error",(e=>{c(e)})),u.on("exit",(e=>{if(0===e)r({combinedOutput:l});else{const i=`The command exited with code ${e}`;t&&a(l),c({errorMessage:i,combinedOutput:l})}}))}))},t.printCombinedOutput=a},3443:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.omitSquidDevId=t.verifyWithSquidDevId=t.validateEnvironment=t.appIdWithEnvironmentIdAndDevId=t.appIdWithEnvironmentId=t.parseAppId=void 0;const n=i(5036);function a(e){const[t,i,a,s]=e.split("-");return(0,n.assertTruthy)(!s,"Invalid appId: "+e),{appId:t,environmentId:null!=i?i:"prod",squidDeveloperId:a}}function s(e,t){return`${a(e).appId}${t&&"prod"!==t?`-${t}`:""}`}t.parseAppId=a,t.appIdWithEnvironmentId=s,t.appIdWithEnvironmentIdAndDevId=function(e,t,i){return`${s(e,t)}${i?`-${i}`:""}`},t.validateEnvironment=function(e){const t=a(e);return(0,n.assertTruthy)("prod"!==t.environmentId||!t.squidDeveloperId,"Cannot use developer ID in production"),t},t.verifyWithSquidDevId=function(e){const t=a(e);(0,n.assertTruthy)(t.squidDeveloperId,"Must provide squid developer ID")},t.omitSquidDevId=function(e){const t=a(e);return s(t.appId,t.environmentId)}},7580:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getConsoleAppRegionByStage=void 0,t.getConsoleAppRegionByStage=function(e){switch(e){case"local":return"local";case"dev":return"us-east-1.aws-dev";case"prod":return"us-east-1.aws";case"sandbox":return"us-east-1.aws.sandbox"}}},8058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.STAGES=void 0,t.STAGES=["local","dev","prod","sandbox"]},7022:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageFromError=void 0,t.getMessageFromError=function(e,t){return e instanceof Error?e.message:null!=t?t:`${e}`}},6334:(e,t)=>{"use strict";function i(){if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;if("undefined"!=typeof self)return self;throw new Error("Unable to locate global object")}function n(){const e=i();return e&&e.SQUID_DEBUG_ENABLED}Object.defineProperty(t,"__esModule",{value:!0}),t.DebugLogger=t.disableDebugLogs=t.enableDebugLogs=t.isDebugEnabled=t.getGlobal=void 0,t.getGlobal=i,t.isDebugEnabled=n,t.enableDebugLogs=function(){i().SQUID_DEBUG_ENABLED=!0},t.disableDebugLogs=function(){i().SQUID_DEBUG_ENABLED=!1};class a{static log(...e){a.info(...e)}static info(...e){console.log(`%c[${a.getTimestampString()}] INFO`,"color:green",...e)}static warn(...e){console.warn(`%c[${a.getTimestampString()}] WARN`,"color:yellow",...e)}static error(...e){console.error(`%c[${a.getTimestampString()}] ERROR`,"color:red",...e)}static debug(...e){n()&&console.log(`%c[${a.getTimestampString()}] DEBUG`,"color:cyan",...e)}static getTimestampString(){const e=new Date;return`${e.toLocaleTimeString()}.${e.getMilliseconds()}`}}t.DebugLogger=a},866:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getApplicationHttpHeaders=t.getApplicationUrl=void 0;const i=["query","aiData","api","backend-function","webhooks","ws","quota","named-query","native-query","application-kotlin","openapi","secret","queue","mutation","application","storage","internalCodeExecutor"];function n(e){return/^local/.test(e)}t.getApplicationUrl=function(e,t,a){const s=new URL("https://squid.cloud");s.host=`${t}.${e}.${s.host}`;const o=a.replace(/^\//g,"").split("/")[0]||"";n(e)&&(s.protocol="http",s.port=i.includes(o)?"8001":"8000",function(e){return/android$/.test(e)}(e)?s.host="10.0.2.2":function(e){return/ios$/.test(e)}(e)&&(s.host="localhost"));const r=s.toString();a=a.startsWith("/")?a.slice(1):a;const c=r.replace(/\/$/g,"");return a.length?`${c}/${a}`:c},t.getApplicationHttpHeaders=function(e,t){const i={};return n(e)&&(i["x-squid-appid"]=t),i}},9359:(e,t,i)=>{"use strict";const n=i(4813),a=i(8395),s=i(7007),o=new Set(["",""]),r="]8;;",c=e=>`${o.values().next().value}[${e}m`,u=e=>`${o.values().next().value}${r}${e}`,l=(e,t,i)=>{const s=[...t];let c=!1,u=!1,l=n(a(e[e.length-1]));for(const[t,a]of s.entries()){const p=n(a);l+p<=i?e[e.length-1]+=a:(e.push(a),l=0),o.has(a)&&(c=!0,u=s.slice(t+1).join("").startsWith(r)),c?u?""===a&&(c=!1,u=!1):"m"===a&&(c=!1):(l+=p,l===i&&t<s.length-1&&(e.push(""),l=0))}!l&&e[e.length-1].length>0&&e.length>1&&(e[e.length-2]+=e.pop())},p=e=>{const t=e.split(" ");let i=t.length;for(;i>0&&!(n(t[i-1])>0);)i--;return i===t.length?e:t.slice(0,i).join(" ")+t.slice(i).join("")};e.exports=(e,t,i)=>String(e).normalize().replace(/\r\n/g,"\n").split("\n").map((e=>((e,t,i={})=>{if(!1!==i.trim&&""===e.trim())return"";let a,d,f="";const h=(e=>e.split(" ").map((e=>n(e))))(e);let m=[""];for(const[a,s]of e.split(" ").entries()){!1!==i.trim&&(m[m.length-1]=m[m.length-1].trimStart());let e=n(m[m.length-1]);if(0!==a&&(e>=t&&(!1===i.wordWrap||!1===i.trim)&&(m.push(""),e=0),(e>0||!1===i.trim)&&(m[m.length-1]+=" ",e++)),i.hard&&h[a]>t){const i=t-e,n=1+Math.floor((h[a]-i-1)/t);Math.floor((h[a]-1)/t)<n&&m.push(""),l(m,s,t)}else{if(e+h[a]>t&&e>0&&h[a]>0){if(!1===i.wordWrap&&e<t){l(m,s,t);continue}m.push("")}e+h[a]>t&&!1===i.wordWrap?l(m,s,t):m[m.length-1]+=s}}!1!==i.trim&&(m=m.map(p));const g=[...m.join("\n")];for(const[e,t]of g.entries()){if(f+=t,o.has(t)){const{groups:t}=new RegExp(`(?:\\[(?<code>\\d+)m|\\${r}(?<uri>.*))`).exec(g.slice(e).join(""))||{groups:{}};if(void 0!==t.code){const e=Number.parseFloat(t.code);a=39===e?void 0:e}else void 0!==t.uri&&(d=0===t.uri.length?void 0:t.uri)}const i=s.codes.get(Number(a));"\n"===g[e+1]?(d&&(f+=u("")),a&&i&&(f+=c(i))):"\n"===t&&(a&&i&&(f+=c(a)),d&&(f+=u(d)))}return f})(e,t,i))).join("\n")},1591:e=>{e.exports=function e(t,i){if(t&&i)return e(t)(i);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach((function(e){n[e]=t[e]})),n;function n(){for(var e=new Array(arguments.length),i=0;i<e.length;i++)e[i]=arguments[i];var n=t.apply(this,e),a=e[e.length-1];return"function"==typeof n&&n!==a&&Object.keys(a).forEach((function(e){n[e]=a[e]})),n}}},8953:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=8953,e.exports=t},7315:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=7315,e.exports=t},5600:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=5600,e.exports=t},2613:e=>{"use strict";e.exports=require("assert")},181:e=>{"use strict";e.exports=require("buffer")},5317:e=>{"use strict";e.exports=require("child_process")},6982:e=>{"use strict";e.exports=require("crypto")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},1943:e=>{"use strict";e.exports=require("fs/promises")},8611:e=>{"use strict";e.exports=require("http")},5692:e=>{"use strict";e.exports=require("https")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},932:e=>{"use strict";e.exports=require("process")},3480:e=>{"use strict";e.exports=require("querystring")},2203:e=>{"use strict";e.exports=require("stream")},2018:e=>{"use strict";e.exports=require("tty")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},3106:e=>{"use strict";e.exports=require("zlib")},3559:(e,t,i)=>{"use strict";const n=i(2925),a=i(7016),s=i(1420),o=i(8611),r=i(5692),c=i(9023),u=i(3520),l=i(3106),p=i(2203),d=i(4434);function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const h=f(n),m=f(a),g=f(o),b=f(r),v=f(c),x=f(u),y=f(l),w=f(p),D=f(d);function _(e,t){return function(){return e.apply(t,arguments)}}const{toString:E}=Object.prototype,{getPrototypeOf:F}=Object,k=(C=Object.create(null),e=>{const t=E.call(e);return C[t]||(C[t]=t.slice(8,-1).toLowerCase())});var C;const j=e=>(e=e.toLowerCase(),t=>k(t)===e),O=e=>t=>typeof t===e,{isArray:A}=Array,S=O("undefined"),B=j("ArrayBuffer"),R=O("string"),$=O("function"),P=O("number"),T=e=>null!==e&&"object"==typeof e,I=e=>{if("object"!==k(e))return!1;const t=F(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},M=j("Date"),z=j("File"),N=j("Blob"),U=j("FileList"),L=j("URLSearchParams");function q(e,t,{allOwnKeys:i=!1}={}){if(null==e)return;let n,a;if("object"!=typeof e&&(e=[e]),A(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{const a=i?Object.getOwnPropertyNames(e):Object.keys(e),s=a.length;let o;for(n=0;n<s;n++)o=a[n],t.call(null,e[o],o,e)}}function H(e,t){t=t.toLowerCase();const i=Object.keys(e);let n,a=i.length;for(;a-- >0;)if(n=i[a],t===n.toLowerCase())return n;return null}const W="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,G=e=>!S(e)&&e!==W,V=(K="undefined"!=typeof Uint8Array&&F(Uint8Array),e=>K&&e instanceof K);var K;const Y=j("HTMLFormElement"),Z=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),J=j("RegExp"),Q=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),n={};q(i,((i,a)=>{let s;!1!==(s=t(i,a,e))&&(n[a]=s||i)})),Object.defineProperties(e,n)},X="abcdefghijklmnopqrstuvwxyz",ee="0123456789",te={DIGIT:ee,ALPHA:X,ALPHA_DIGIT:X+X.toUpperCase()+ee},ie=j("AsyncFunction"),ne={isArray:A,isArrayBuffer:B,isBuffer:function(e){return null!==e&&!S(e)&&null!==e.constructor&&!S(e.constructor)&&$(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||$(e.append)&&("formdata"===(t=k(e))||"object"===t&&$(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&B(e.buffer),t},isString:R,isNumber:P,isBoolean:e=>!0===e||!1===e,isObject:T,isPlainObject:I,isUndefined:S,isDate:M,isFile:z,isBlob:N,isRegExp:J,isFunction:$,isStream:e=>T(e)&&$(e.pipe),isURLSearchParams:L,isTypedArray:V,isFileList:U,forEach:q,merge:function e(){const{caseless:t}=G(this)&&this||{},i={},n=(n,a)=>{const s=t&&H(i,a)||a;I(i[s])&&I(n)?i[s]=e(i[s],n):I(n)?i[s]=e({},n):A(n)?i[s]=n.slice():i[s]=n};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&q(arguments[e],n);return i},extend:(e,t,i,{allOwnKeys:n}={})=>(q(t,((t,n)=>{i&&$(t)?e[n]=_(t,i):e[n]=t}),{allOwnKeys:n}),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,i,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},toFlatObject:(e,t,i,n)=>{let a,s,o;const r={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),s=a.length;s-- >0;)o=a[s],n&&!n(o,e,t)||r[o]||(t[o]=e[o],r[o]=!0);e=!1!==i&&F(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},kindOf:k,kindOfTest:j,endsWith:(e,t,i)=>{e=String(e),(void 0===i||i>e.length)&&(i=e.length),i-=t.length;const n=e.indexOf(t,i);return-1!==n&&n===i},toArray:e=>{if(!e)return null;if(A(e))return e;let t=e.length;if(!P(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},forEachEntry:(e,t)=>{const i=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=i.next())&&!n.done;){const i=n.value;t.call(e,i[0],i[1])}},matchAll:(e,t)=>{let i;const n=[];for(;null!==(i=e.exec(t));)n.push(i);return n},isHTMLForm:Y,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:Q,freezeMethods:e=>{Q(e,((t,i)=>{if($(e)&&-1!==["arguments","caller","callee"].indexOf(i))return!1;const n=e[i];$(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")}))}))},toObjectSet:(e,t)=>{const i={},n=e=>{e.forEach((e=>{i[e]=!0}))};return A(e)?n(e):n(String(e).split(t)),i},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,i){return t.toUpperCase()+i})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:H,global:W,isContextDefined:G,ALPHABET:te,generateString:(e=16,t=te.ALPHA_DIGIT)=>{let i="";const{length:n}=t;for(;e--;)i+=t[Math.random()*n|0];return i},isSpecCompliantForm:function(e){return!!(e&&$(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),i=(e,n)=>{if(T(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;const a=A(e)?[]:{};return q(e,((e,t)=>{const s=i(e,n+1);!S(s)&&(a[t]=s)})),t[n]=void 0,a}}return e};return i(e,0)},isAsyncFn:ie,isThenable:e=>e&&(T(e)||$(e))&&$(e.then)&&$(e.catch)};function ae(e,t,i,n,a){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),i&&(this.config=i),n&&(this.request=n),a&&(this.response=a)}ne.inherits(ae,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:ne.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const se=ae.prototype,oe={};function re(e){return ne.isPlainObject(e)||ne.isArray(e)}function ce(e){return ne.endsWith(e,"[]")?e.slice(0,-2):e}function ue(e,t,i){return e?e.concat(t).map((function(e,t){return e=ce(e),!i&&t?"["+e+"]":e})).join(i?".":""):t}["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=>{oe[e]={value:e}})),Object.defineProperties(ae,oe),Object.defineProperty(se,"isAxiosError",{value:!0}),ae.from=(e,t,i,n,a,s)=>{const o=Object.create(se);return ne.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),ae.call(o,e.message,t,i,n,a),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const le=ne.toFlatObject(ne,{},null,(function(e){return/^is[A-Z]/.test(e)}));function pe(e,t,i){if(!ne.isObject(e))throw new TypeError("target must be an object");t=t||new(h.default||FormData);const n=(i=ne.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ne.isUndefined(t[e])}))).metaTokens,a=i.visitor||u,s=i.dots,o=i.indexes,r=(i.Blob||"undefined"!=typeof Blob&&Blob)&&ne.isSpecCompliantForm(t);if(!ne.isFunction(a))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(ne.isDate(e))return e.toISOString();if(!r&&ne.isBlob(e))throw new ae("Blob is not supported. Use a Buffer instead.");return ne.isArrayBuffer(e)||ne.isTypedArray(e)?r&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,i,a){let r=e;if(e&&!a&&"object"==typeof e)if(ne.endsWith(i,"{}"))i=n?i:i.slice(0,-2),e=JSON.stringify(e);else if(ne.isArray(e)&&function(e){return ne.isArray(e)&&!e.some(re)}(e)||(ne.isFileList(e)||ne.endsWith(i,"[]"))&&(r=ne.toArray(e)))return i=ce(i),r.forEach((function(e,n){!ne.isUndefined(e)&&null!==e&&t.append(!0===o?ue([i],n,s):null===o?i:i+"[]",c(e))})),!1;return!!re(e)||(t.append(ue(a,i,s),c(e)),!1)}const l=[],p=Object.assign(le,{defaultVisitor:u,convertValue:c,isVisitable:re});if(!ne.isObject(e))throw new TypeError("data must be an object");return function e(i,n){if(!ne.isUndefined(i)){if(-1!==l.indexOf(i))throw Error("Circular reference detected in "+n.join("."));l.push(i),ne.forEach(i,(function(i,s){!0===(!(ne.isUndefined(i)||null===i)&&a.call(t,i,ne.isString(s)?s.trim():s,n,p))&&e(i,n?n.concat(s):[s])})),l.pop()}}(e),t}function de(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function fe(e,t){this._pairs=[],e&&pe(e,this,t)}const he=fe.prototype;function me(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ge(e,t,i){if(!t)return e;const n=i&&i.encode||me,a=i&&i.serialize;let s;if(s=a?a(t,i):ne.isURLSearchParams(t)?t.toString():new fe(t,i).toString(n),s){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}he.append=function(e,t){this._pairs.push([e,t])},he.toString=function(e){const t=e?function(t){return e.call(this,t,de)}:de;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const be=class{constructor(){this.handlers=[]}use(e,t,i){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ne.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ve={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xe={isNode:!0,classes:{URLSearchParams:m.default.URLSearchParams,FormData:h.default,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]},ye="undefined"!=typeof window&&"undefined"!=typeof document,we=(De="undefined"!=typeof navigator&&navigator.product,ye&&["ReactNative","NativeScript","NS"].indexOf(De)<0);var De;const _e="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ee={...Object.freeze({__proto__:null,hasBrowserEnv:ye,hasStandardBrowserWebWorkerEnv:_e,hasStandardBrowserEnv:we}),...xe};function Fe(e){function t(e,i,n,a){let s=e[a++];if("__proto__"===s)return!0;const o=Number.isFinite(+s),r=a>=e.length;return s=!s&&ne.isArray(n)?n.length:s,r?(ne.hasOwnProp(n,s)?n[s]=[n[s],i]:n[s]=i,!o):(n[s]&&ne.isObject(n[s])||(n[s]=[]),t(e,i,n[s],a)&&ne.isArray(n[s])&&(n[s]=function(e){const t={},i=Object.keys(e);let n;const a=i.length;let s;for(n=0;n<a;n++)s=i[n],t[s]=e[s];return t}(n[s])),!o)}if(ne.isFormData(e)&&ne.isFunction(e.entries)){const i={};return ne.forEachEntry(e,((e,n)=>{t(function(e){return ne.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,i,0)})),i}return null}const ke={transitional:ve,adapter:["xhr","http"],transformRequest:[function(e,t){const i=t.getContentType()||"",n=i.indexOf("application/json")>-1,a=ne.isObject(e);if(a&&ne.isHTMLForm(e)&&(e=new FormData(e)),ne.isFormData(e))return n?JSON.stringify(Fe(e)):e;if(ne.isArrayBuffer(e)||ne.isBuffer(e)||ne.isStream(e)||ne.isFile(e)||ne.isBlob(e))return e;if(ne.isArrayBufferView(e))return e.buffer;if(ne.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(a){if(i.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return pe(e,new Ee.classes.URLSearchParams,Object.assign({visitor:function(e,t,i,n){return Ee.isNode&&ne.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((s=ne.isFileList(e))||i.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return pe(s?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||n?(t.setContentType("application/json",!1),function(e,t,i){if(ne.isString(e))try{return(0,JSON.parse)(e),ne.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ke.transitional,i=t&&t.forcedJSONParsing,n="json"===this.responseType;if(e&&ne.isString(e)&&(i&&!this.responseType||n)){const i=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw ae.from(e,ae.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ee.classes.FormData,Blob:Ee.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ne.forEach(["delete","get","head","post","put","patch"],(e=>{ke.headers[e]={}}));const Ce=ke,je=ne.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Oe=Symbol("internals");function Ae(e){return e&&String(e).trim().toLowerCase()}function Se(e){return!1===e||null==e?e:ne.isArray(e)?e.map(Se):String(e)}function Be(e,t,i,n,a){return ne.isFunction(n)?n.call(this,t,i):(a&&(t=i),ne.isString(t)?ne.isString(n)?-1!==t.indexOf(n):ne.isRegExp(n)?n.test(t):void 0:void 0)}class Re{constructor(e){e&&this.set(e)}set(e,t,i){const n=this;function a(e,t,i){const a=Ae(t);if(!a)throw new Error("header name must be a non-empty string");const s=ne.findKey(n,a);(!s||void 0===n[s]||!0===i||void 0===i&&!1!==n[s])&&(n[s||t]=Se(e))}const s=(e,t)=>ne.forEach(e,((e,i)=>a(e,i,t)));return ne.isPlainObject(e)||e instanceof this.constructor?s(e,t):ne.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?s((e=>{const t={};let i,n,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),i=e.substring(0,a).trim().toLowerCase(),n=e.substring(a+1).trim(),!i||t[i]&&je[i]||("set-cookie"===i?t[i]?t[i].push(n):t[i]=[n]:t[i]=t[i]?t[i]+", "+n:n)})),t})(e),t):null!=e&&a(t,e,i),this}get(e,t){if(e=Ae(e)){const i=ne.findKey(this,e);if(i){const e=this[i];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=i.exec(e);)t[n[1]]=n[2];return t}(e);if(ne.isFunction(t))return t.call(this,e,i);if(ne.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ae(e)){const i=ne.findKey(this,e);return!(!i||void 0===this[i]||t&&!Be(0,this[i],i,t))}return!1}delete(e,t){const i=this;let n=!1;function a(e){if(e=Ae(e)){const a=ne.findKey(i,e);!a||t&&!Be(0,i[a],a,t)||(delete i[a],n=!0)}}return ne.isArray(e)?e.forEach(a):a(e),n}clear(e){const t=Object.keys(this);let i=t.length,n=!1;for(;i--;){const a=t[i];e&&!Be(0,this[a],a,e,!0)||(delete this[a],n=!0)}return n}normalize(e){const t=this,i={};return ne.forEach(this,((n,a)=>{const s=ne.findKey(i,a);if(s)return t[s]=Se(n),void delete t[a];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,i)=>t.toUpperCase()+i))}(a):String(a).trim();o!==a&&delete t[a],t[o]=Se(n),i[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ne.forEach(this,((i,n)=>{null!=i&&!1!==i&&(t[n]=e&&ne.isArray(i)?i.join(", "):i)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const i=new this(e);return t.forEach((e=>i.set(e))),i}static accessor(e){const t=(this[Oe]=this[Oe]={accessors:{}}).accessors,i=this.prototype;function n(e){const n=Ae(e);t[n]||(function(e,t){const i=ne.toCamelCase(" "+t);["get","set","has"].forEach((n=>{Object.defineProperty(e,n+i,{value:function(e,i,a){return this[n].call(this,t,e,i,a)},configurable:!0})}))}(i,e),t[n]=!0)}return ne.isArray(e)?e.forEach(n):n(e),this}}Re.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ne.reduceDescriptors(Re.prototype,(({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[i]=e}}})),ne.freezeMethods(Re);const $e=Re;function Pe(e,t){const i=this||Ce,n=t||i,a=$e.from(n.headers);let s=n.data;return ne.forEach(e,(function(e){s=e.call(i,s,a.normalize(),t?t.status:void 0)})),a.normalize(),s}function Te(e){return!(!e||!e.__CANCEL__)}function Ie(e,t,i){ae.call(this,null==e?"canceled":e,ae.ERR_CANCELED,t,i),this.name="CanceledError"}function Me(e,t,i){const n=i.config.validateStatus;i.status&&n&&!n(i.status)?t(new ae("Request failed with status code "+i.status,[ae.ERR_BAD_REQUEST,ae.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):e(i)}function ze(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}ne.inherits(Ie,ae,{__CANCEL__:!0});const Ne="1.6.7";function Ue(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Le=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function qe(e,t){e=e||10;const i=new Array(e),n=new Array(e);let a,s=0,o=0;return t=void 0!==t?t:1e3,function(r){const c=Date.now(),u=n[o];a||(a=c),i[s]=r,n[s]=c;let l=o,p=0;for(;l!==s;)p+=i[l++],l%=e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-a<t)return;const d=u&&c-u;return d?Math.round(1e3*p/d):void 0}}const He=Symbol("internals");class We extends w.default.Transform{constructor(e){super({readableHighWaterMark:(e=ne.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!ne.isUndefined(t[e])))).chunkSize});const t=this,i=this[He]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},n=qe(i.ticksRate*e.samplesCount,i.timeWindow);this.on("newListener",(e=>{"progress"===e&&(i.isCaptured||(i.isCaptured=!0))}));let a=0;i.updateProgress=function(e,t){let i=0;const n=1e3/t;let a=null;return function(t,s){const o=Date.now();if(t||o-i>n)return a&&(clearTimeout(a),a=null),i=o,e.apply(null,s);a||(a=setTimeout((()=>(a=null,i=Date.now(),e.apply(null,s))),n-(o-i)))}}((function(){const e=i.length,s=i.bytesSeen,o=s-a;if(!o||t.destroyed)return;const r=n(o);a=s,process.nextTick((()=>{t.emit("progress",{loaded:s,total:e,progress:e?s/e:void 0,bytes:o,rate:r||void 0,estimated:r&&e&&s<=e?(e-s)/r:void 0})}))}),i.ticksRate);const s=()=>{i.updateProgress(!0)};this.once("end",s),this.once("error",s)}_read(e){const t=this[He];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,i){const n=this,a=this[He],s=a.maxRate,o=this.readableHighWaterMark,r=a.timeWindow,c=s/(1e3/r),u=!1!==a.minChunkSize?Math.max(a.minChunkSize,.01*c):0,l=(e,t)=>{const i=Buffer.byteLength(e);let l,p=null,d=o,f=0;if(s){const e=Date.now();(!a.ts||(f=e-a.ts)>=r)&&(a.ts=e,l=c-a.bytes,a.bytes=l<0?-l:0,f=0),l=c-a.bytes}if(s){if(l<=0)return setTimeout((()=>{t(null,e)}),r-f);l<d&&(d=l)}d&&i>d&&i-d>u&&(p=e.subarray(d),e=e.subarray(0,d)),function(e,t){const i=Buffer.byteLength(e);a.bytesSeen+=i,a.bytes+=i,a.isCaptured&&a.updateProgress(),n.push(e)?process.nextTick(t):a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(t)}}(e,p?()=>{process.nextTick(t,null,p)}:t)};l(e,(function e(t,n){if(t)return i(t);n?l(n,e):i(null)}))}setLength(e){return this[He].length=+e,this}}const Ge=We,{asyncIterator:Ve}=Symbol,Ke=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[Ve]?yield*e[Ve]():yield e},Ye=ne.ALPHABET.ALPHA_DIGIT+"-_",Ze=new c.TextEncoder,Je="\r\n",Qe=Ze.encode(Je);class Xe{constructor(e,t){const{escapeName:i}=this.constructor,n=ne.isString(t);let a=`Content-Disposition: form-data; name="${i(e)}"${!n&&t.name?`; filename="${i(t.name)}"`:""}${Je}`;n?t=Ze.encode(String(t).replace(/\r?\n|\r\n?/g,Je)):a+=`Content-Type: ${t.type||"application/octet-stream"}${Je}`,this.headers=Ze.encode(a+Je),this.contentLength=n?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;ne.isTypedArray(e)?yield e:yield*Ke(e),yield Qe}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class et extends w.default.Transform{__transform(e,t,i){this.push(e),i()}_transform(e,t,i){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,i)}}const tt=et,it=(e,t)=>ne.isAsyncFn(e)?function(...i){const n=i.pop();e.apply(this,i).then((e=>{try{t?n(null,...t(e)):n(null,e)}catch(e){n(e)}}),n)}:e,nt={flush:y.default.constants.Z_SYNC_FLUSH,finishFlush:y.default.constants.Z_SYNC_FLUSH},at={flush:y.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:y.default.constants.BROTLI_OPERATION_FLUSH},st=ne.isFunction(y.default.createBrotliDecompress),{http:ot,https:rt}=x.default,ct=/https:?/,ut=Ee.protocols.map((e=>e+":"));function lt(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function pt(e,t,i){let n=t;if(!n&&!1!==n){const e=s.getProxyForUrl(i);e&&(n=new URL(e))}if(n){if(n.username&&(n.auth=(n.username||"")+":"+(n.password||"")),n.auth){(n.auth.username||n.auth.password)&&(n.auth=(n.auth.username||"")+":"+(n.auth.password||""));const t=Buffer.from(n.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=n.hostname||n.host;e.hostname=t,e.host=t,e.port=n.port,e.path=i,n.protocol&&(e.protocol=n.protocol.includes(":")?n.protocol:`${n.protocol}:`)}e.beforeRedirects.proxy=function(e){pt(e,t,e.href)}}const dt="undefined"!=typeof process&&"process"===ne.kindOf(process),ft=(e,t)=>(({address:e,family:t})=>{if(!ne.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(ne.isObject(e)?e:{address:e,family:t}),ht=dt&&function(e){return t=async function(t,i,n){let{data:a,lookup:s,family:o}=e;const{responseType:r,responseEncoding:c}=e,u=e.method.toUpperCase();let l,d,f=!1;if(s){const e=it(s,(e=>ne.isArray(e)?e:[e]));s=(t,i,n)=>{e(t,i,((e,t,a)=>{if(e)return n(e);const s=ne.isArray(t)?t.map((e=>ft(e))):[ft(t,a)];i.all?n(e,s):n(e,s[0].address,s[0].family)}))}}const h=new D.default,m=()=>{e.cancelToken&&e.cancelToken.unsubscribe(x),e.signal&&e.signal.removeEventListener("abort",x),h.removeAllListeners()};function x(t){h.emit("abort",!t||t.type?new Ie(null,e,d):t)}n(((e,t)=>{l=!0,t&&(f=!0,m())})),h.once("abort",i),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(x),e.signal&&(e.signal.aborted?x():e.signal.addEventListener("abort",x)));const _=ze(e.baseURL,e.url),E=new URL(_,"http://localhost"),F=E.protocol||ut[0];if("data:"===F){let n;if("GET"!==u)return Me(t,i,{status:405,statusText:"method not allowed",headers:{},config:e});try{n=function(e,t,i){const n=i&&i.Blob||Ee.classes.Blob,a=Ue(e);if(void 0===t&&n&&(t=!0),"data"===a){e=a.length?e.slice(a.length+1):e;const i=Le.exec(e);if(!i)throw new ae("Invalid URL",ae.ERR_INVALID_URL);const s=i[1],o=i[2],r=i[3],c=Buffer.from(decodeURIComponent(r),o?"base64":"utf8");if(t){if(!n)throw new ae("Blob is not supported",ae.ERR_NOT_SUPPORT);return new n([c],{type:s})}return c}throw new ae("Unsupported protocol "+a,ae.ERR_NOT_SUPPORT)}(e.url,"blob"===r,{Blob:e.env&&e.env.Blob})}catch(t){throw ae.from(t,ae.ERR_BAD_REQUEST,e)}return"text"===r?(n=n.toString(c),c&&"utf8"!==c||(n=ne.stripBOM(n))):"stream"===r&&(n=w.default.Readable.from(n)),Me(t,i,{data:n,status:200,statusText:"OK",headers:new $e,config:e})}if(-1===ut.indexOf(F))return i(new ae("Unsupported protocol "+F,ae.ERR_BAD_REQUEST,e));const k=$e.from(e.headers).normalize();k.set("User-Agent","axios/"+Ne,!1);const C=e.onDownloadProgress,j=e.onUploadProgress,O=e.maxRate;let A,S;if(ne.isSpecCompliantForm(a)){const e=k.getContentType(/boundary=([-_\w\d]{10,70})/i);a=((e,t,i)=>{const{tag:n="form-data-boundary",size:a=25,boundary:s=n+"-"+ne.generateString(a,Ye)}=i||{};if(!ne.isFormData(e))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 10-70 characters long");const o=Ze.encode("--"+s+Je),r=Ze.encode("--"+s+"--"+Je+Je);let c=r.byteLength;const u=Array.from(e.entries()).map((([e,t])=>{const i=new Xe(e,t);return c+=i.size,i}));c+=o.byteLength*u.length,c=ne.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${s}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),p.Readable.from(async function*(){for(const e of u)yield o,yield*e.encode();yield r}())})(a,(e=>{k.set(e)}),{tag:`axios-${Ne}-boundary`,boundary:e&&e[1]||void 0})}else if(ne.isFormData(a)&&ne.isFunction(a.getHeaders)){if(k.set(a.getHeaders()),!k.hasContentLength())try{const e=await v.default.promisify(a.getLength).call(a);Number.isFinite(e)&&e>=0&&k.setContentLength(e)}catch(e){}}else if(ne.isBlob(a))a.size&&k.setContentType(a.type||"application/octet-stream"),k.setContentLength(a.size||0),a=w.default.Readable.from(Ke(a));else if(a&&!ne.isStream(a)){if(Buffer.isBuffer(a));else if(ne.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else{if(!ne.isString(a))return i(new ae("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",ae.ERR_BAD_REQUEST,e));a=Buffer.from(a,"utf-8")}if(k.setContentLength(a.length,!1),e.maxBodyLength>-1&&a.length>e.maxBodyLength)return i(new ae("Request body larger than maxBodyLength limit",ae.ERR_BAD_REQUEST,e))}const B=ne.toFiniteNumber(k.getContentLength());let R,$;ne.isArray(O)?(A=O[0],S=O[1]):A=S=O,a&&(j||A)&&(ne.isStream(a)||(a=w.default.Readable.from(a,{objectMode:!1})),a=w.default.pipeline([a,new Ge({length:B,maxRate:ne.toFiniteNumber(A)})],ne.noop),j&&a.on("progress",(e=>{j(Object.assign(e,{upload:!0}))}))),e.auth&&(R=(e.auth.username||"")+":"+(e.auth.password||"")),!R&&E.username&&(R=E.username+":"+E.password),R&&k.delete("authorization");try{$=ge(E.pathname+E.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const n=new Error(t.message);return n.config=e,n.url=e.url,n.exists=!0,i(n)}k.set("Accept-Encoding","gzip, compress, deflate"+(st?", br":""),!1);const P={path:$,method:u,headers:k.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:R,protocol:F,family:o,beforeRedirect:lt,beforeRedirects:{}};let T;!ne.isUndefined(s)&&(P.lookup=s),e.socketPath?P.socketPath=e.socketPath:(P.hostname=E.hostname,P.port=E.port,pt(P,e.proxy,F+"//"+E.hostname+(E.port?":"+E.port:"")+P.path));const I=ct.test(P.protocol);if(P.agent=I?e.httpsAgent:e.httpAgent,e.transport?T=e.transport:0===e.maxRedirects?T=I?b.default:g.default:(e.maxRedirects&&(P.maxRedirects=e.maxRedirects),e.beforeRedirect&&(P.beforeRedirects.config=e.beforeRedirect),T=I?rt:ot),e.maxBodyLength>-1?P.maxBodyLength=e.maxBodyLength:P.maxBodyLength=1/0,e.insecureHTTPParser&&(P.insecureHTTPParser=e.insecureHTTPParser),d=T.request(P,(function(n){if(d.destroyed)return;const a=[n],s=+n.headers["content-length"];if(C){const e=new Ge({length:ne.toFiniteNumber(s),maxRate:ne.toFiniteNumber(S)});C&&e.on("progress",(e=>{C(Object.assign(e,{download:!0}))})),a.push(e)}let o=n;const l=n.req||d;if(!1!==e.decompress&&n.headers["content-encoding"])switch("HEAD"!==u&&204!==n.statusCode||delete n.headers["content-encoding"],(n.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":a.push(y.default.createUnzip(nt)),delete n.headers["content-encoding"];break;case"deflate":a.push(new tt),a.push(y.default.createUnzip(nt)),delete n.headers["content-encoding"];break;case"br":st&&(a.push(y.default.createBrotliDecompress(at)),delete n.headers["content-encoding"])}o=a.length>1?w.default.pipeline(a,ne.noop):a[0];const p=w.default.finished(o,(()=>{p(),m()})),g={status:n.statusCode,statusText:n.statusMessage,headers:new $e(n.headers),config:e,request:l};if("stream"===r)g.data=o,Me(t,i,g);else{const n=[];let a=0;o.on("data",(function(t){n.push(t),a+=t.length,e.maxContentLength>-1&&a>e.maxContentLength&&(f=!0,o.destroy(),i(new ae("maxContentLength size of "+e.maxContentLength+" exceeded",ae.ERR_BAD_RESPONSE,e,l)))})),o.on("aborted",(function(){if(f)return;const t=new ae("maxContentLength size of "+e.maxContentLength+" exceeded",ae.ERR_BAD_RESPONSE,e,l);o.destroy(t),i(t)})),o.on("error",(function(t){d.destroyed||i(ae.from(t,null,e,l))})),o.on("end",(function(){try{let e=1===n.length?n[0]:Buffer.concat(n);"arraybuffer"!==r&&(e=e.toString(c),c&&"utf8"!==c||(e=ne.stripBOM(e))),g.data=e}catch(t){return i(ae.from(t,null,e,g.request,g))}Me(t,i,g)}))}h.once("abort",(e=>{o.destroyed||(o.emit("error",e),o.destroy())}))})),h.once("abort",(e=>{i(e),d.destroy(e)})),d.on("error",(function(t){i(ae.from(t,null,e,d))})),d.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void i(new ae("error trying to parse `config.timeout` to int",ae.ERR_BAD_OPTION_VALUE,e,d));d.setTimeout(t,(function(){if(l)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||ve;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),i(new ae(t,n.clarifyTimeoutError?ae.ETIMEDOUT:ae.ECONNABORTED,e,d)),x()}))}if(ne.isStream(a)){let t=!1,i=!1;a.on("end",(()=>{t=!0})),a.once("error",(e=>{i=!0,d.destroy(e)})),a.on("close",(()=>{t||i||x(new Ie("Request stream has been aborted",e,d))})),a.pipe(d)}else d.end(a)},new Promise(((e,i)=>{let n,a;const s=(e,t)=>{a||(a=!0,n&&n(e,t))},o=e=>{s(e,!0),i(e)};t((t=>{s(t),e(t)}),o,(e=>n=e)).catch(o)}));var t},mt=Ee.hasStandardBrowserEnv?{write(e,t,i,n,a,s){const o=[e+"="+encodeURIComponent(t)];ne.isNumber(i)&&o.push("expires="+new Date(i).toGMTString()),ne.isString(n)&&o.push("path="+n),ne.isString(a)&&o.push("domain="+a),!0===s&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}},gt=Ee.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let i;function n(i){let n=i;return e&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return i=n(window.location.href),function(e){const t=ne.isString(e)?n(e):e;return t.protocol===i.protocol&&t.host===i.host}}():function(){return!0};function bt(e,t){let i=0;const n=qe(50,250);return a=>{const s=a.loaded,o=a.lengthComputable?a.total:void 0,r=s-i,c=n(r);i=s;const u={loaded:s,total:o,progress:o?s/o:void 0,bytes:r,rate:c||void 0,estimated:c&&o&&s<=o?(o-s)/c:void 0,event:a};u[t?"download":"upload"]=!0,e(u)}}const vt={http:ht,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,i){let n=e.data;const a=$e.from(e.headers).normalize();let s,o,{responseType:r,withXSRFToken:c}=e;function u(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}if(ne.isFormData(n))if(Ee.hasStandardBrowserEnv||Ee.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if(!1!==(o=a.getContentType())){const[e,...t]=o?o.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",i=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(t+":"+i))}const p=ze(e.baseURL,e.url);function d(){if(!l)return;const n=$e.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());Me((function(e){t(e),u()}),(function(e){i(e),u()}),{data:r&&"text"!==r&&"json"!==r?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:n,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),ge(p,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(d)},l.onabort=function(){l&&(i(new ae("Request aborted",ae.ECONNABORTED,e,l)),l=null)},l.onerror=function(){i(new ae("Network Error",ae.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||ve;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),i(new ae(t,n.clarifyTimeoutError?ae.ETIMEDOUT:ae.ECONNABORTED,e,l)),l=null},Ee.hasStandardBrowserEnv&&(c&&ne.isFunction(c)&&(c=c(e)),c||!1!==c&>(p))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&mt.read(e.xsrfCookieName);t&&a.set(e.xsrfHeaderName,t)}void 0===n&&a.setContentType(null),"setRequestHeader"in l&&ne.forEach(a.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),ne.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),r&&"json"!==r&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",bt(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",bt(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=t=>{l&&(i(!t||t.type?new Ie(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const f=Ue(p);f&&-1===Ee.protocols.indexOf(f)?i(new ae("Unsupported protocol "+f+":",ae.ERR_BAD_REQUEST,e)):l.send(n||null)}))}};ne.forEach(vt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const xt=e=>`- ${e}`,yt=e=>ne.isFunction(e)||null===e||!1===e,wt=e=>{e=ne.isArray(e)?e:[e];const{length:t}=e;let i,n;const a={};for(let s=0;s<t;s++){let t;if(i=e[s],n=i,!yt(i)&&(n=vt[(t=String(i)).toLowerCase()],void 0===n))throw new ae(`Unknown adapter '${t}'`);if(n)break;a[t||"#"+s]=n}if(!n){const e=Object.entries(a).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new ae("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(xt).join("\n"):" "+xt(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function Dt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ie(null,e)}function _t(e){return Dt(e),e.headers=$e.from(e.headers),e.data=Pe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),wt(e.adapter||Ce.adapter)(e).then((function(t){return Dt(e),t.data=Pe.call(e,e.transformResponse,t),t.headers=$e.from(t.headers),t}),(function(t){return Te(t)||(Dt(e),t&&t.response&&(t.response.data=Pe.call(e,e.transformResponse,t.response),t.response.headers=$e.from(t.response.headers))),Promise.reject(t)}))}const Et=e=>e instanceof $e?e.toJSON():e;function Ft(e,t){t=t||{};const i={};function n(e,t,i){return ne.isPlainObject(e)&&ne.isPlainObject(t)?ne.merge.call({caseless:i},e,t):ne.isPlainObject(t)?ne.merge({},t):ne.isArray(t)?t.slice():t}function a(e,t,i){return ne.isUndefined(t)?ne.isUndefined(e)?void 0:n(void 0,e,i):n(e,t,i)}function s(e,t){if(!ne.isUndefined(t))return n(void 0,t)}function o(e,t){return ne.isUndefined(t)?ne.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function r(i,a,s){return s in t?n(i,a):s in e?n(void 0,i):void 0}const c={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:r,headers:(e,t)=>a(Et(e),Et(t),!0)};return ne.forEach(Object.keys(Object.assign({},e,t)),(function(n){const s=c[n]||a,o=s(e[n],t[n],n);ne.isUndefined(o)&&s!==r||(i[n]=o)})),i}const kt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{kt[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}}));const Ct={};kt.transitional=function(e,t,i){function n(e,t){return"[Axios v1.6.7] Transitional option '"+e+"'"+t+(i?". "+i:"")}return(i,a,s)=>{if(!1===e)throw new ae(n(a," has been removed"+(t?" in "+t:"")),ae.ERR_DEPRECATED);return t&&!Ct[a]&&(Ct[a]=!0,console.warn(n(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(i,a,s)}};const jt={assertOptions:function(e,t,i){if("object"!=typeof e)throw new ae("options must be an object",ae.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const s=n[a],o=t[s];if(o){const t=e[s],i=void 0===t||o(t,s,e);if(!0!==i)throw new ae("option "+s+" must be "+i,ae.ERR_BAD_OPTION_VALUE)}else if(!0!==i)throw new ae("Unknown option "+s,ae.ERR_BAD_OPTION)}},validators:kt},Ot=jt.validators;class At{constructor(e){this.defaults=e,this.interceptors={request:new be,response:new be}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const i=t.stack?t.stack.replace(/^.+\n/,""):"";e.stack?i&&!String(e.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+i):e.stack=i}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ft(this.defaults,t);const{transitional:i,paramsSerializer:n,headers:a}=t;void 0!==i&&jt.assertOptions(i,{silentJSONParsing:Ot.transitional(Ot.boolean),forcedJSONParsing:Ot.transitional(Ot.boolean),clarifyTimeoutError:Ot.transitional(Ot.boolean)},!1),null!=n&&(ne.isFunction(n)?t.paramsSerializer={serialize:n}:jt.assertOptions(n,{encode:Ot.function,serialize:Ot.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=a&&ne.merge(a.common,a[t.method]);a&&ne.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=$e.concat(s,a);const o=[];let r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,p=0;if(!r){const e=[_t.bind(this),void 0];for(e.unshift.apply(e,o),e.push.apply(e,c),l=e.length,u=Promise.resolve(t);p<l;)u=u.then(e[p++],e[p++]);return u}l=o.length;let d=t;for(p=0;p<l;){const e=o[p++],t=o[p++];try{d=e(d)}catch(e){t.call(this,e);break}}try{u=_t.call(this,d)}catch(e){return Promise.reject(e)}for(p=0,l=c.length;p<l;)u=u.then(c[p++],c[p++]);return u}getUri(e){return ge(ze((e=Ft(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}ne.forEach(["delete","get","head","options"],(function(e){At.prototype[e]=function(t,i){return this.request(Ft(i||{},{method:e,url:t,data:(i||{}).data}))}})),ne.forEach(["post","put","patch"],(function(e){function t(t){return function(i,n,a){return this.request(Ft(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:i,data:n}))}}At.prototype[e]=t(),At.prototype[e+"Form"]=t(!0)}));const St=At;class Bt{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const i=this;this.promise.then((e=>{if(!i._listeners)return;let t=i._listeners.length;for(;t-- >0;)i._listeners[t](e);i._listeners=null})),this.promise.then=e=>{let t;const n=new Promise((e=>{i.subscribe(e),t=e})).then(e);return n.cancel=function(){i.unsubscribe(t)},n},e((function(e,n,a){i.reason||(i.reason=new Ie(e,n,a),t(i.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new Bt((function(t){e=t})),cancel:e}}}const Rt=Bt,$t={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($t).forEach((([e,t])=>{$t[t]=e}));const Pt=$t,Tt=function e(t){const i=new St(t),n=_(St.prototype.request,i);return ne.extend(n,St.prototype,i,{allOwnKeys:!0}),ne.extend(n,i,null,{allOwnKeys:!0}),n.create=function(i){return e(Ft(t,i))},n}(Ce);Tt.Axios=St,Tt.CanceledError=Ie,Tt.CancelToken=Rt,Tt.isCancel=Te,Tt.VERSION=Ne,Tt.toFormData=pe,Tt.AxiosError=ae,Tt.Cancel=Tt.CanceledError,Tt.all=function(e){return Promise.all(e)},Tt.spread=function(e){return function(t){return e.apply(null,t)}},Tt.isAxiosError=function(e){return ne.isObject(e)&&!0===e.isAxiosError},Tt.mergeConfig=Ft,Tt.AxiosHeaders=$e,Tt.formToJSON=e=>Fe(ne.isHTMLForm(e)?new FormData(e):e),Tt.getAdapter=wt,Tt.HttpStatusCode=Pt,Tt.default=Tt,e.exports=Tt},164:(e,t,i)=>{"use strict";const n={right:function(e,t){e=e.trim();const i=o.stringWidth(e);return i<t?" ".repeat(t-i)+e:e},center:function(e,t){e=e.trim();const i=o.stringWidth(e);return i>=t?e:" ".repeat(t-i>>1)+e}};class a{constructor(e){var t;this.width=e.width,this.wrap=null===(t=e.wrap)||void 0===t||t,this.rows=[]}span(...e){this.div(...e).span=!0}resetOutput(){this.rows=[]}div(...e){if(0===e.length&&this.div(""),this.wrap&&this.shouldApplyLayoutDSL(...e)&&"string"==typeof e[0])return this.applyLayoutDSL(e[0]);const t=e.map((e=>"string"==typeof e?this.colFromString(e):e));return this.rows.push(t),t}shouldApplyLayoutDSL(...e){return 1===e.length&&"string"==typeof e[0]&&/[\t\n]/.test(e[0])}applyLayoutDSL(e){const t=e.split("\n").map((e=>e.split("\t")));let i=0;return t.forEach((e=>{e.length>1&&o.stringWidth(e[0])>i&&(i=Math.min(Math.floor(.5*this.width),o.stringWidth(e[0])))})),t.forEach((e=>{this.div(...e.map(((t,n)=>({text:t.trim(),padding:this.measurePadding(t),width:0===n&&e.length>1?i:void 0}))))})),this.rows[this.rows.length-1]}colFromString(e){return{text:e,padding:this.measurePadding(e)}}measurePadding(e){const t=o.stripAnsi(e);return[0,t.match(/\s*$/)[0].length,0,t.match(/^\s*/)[0].length]}toString(){const e=[];return this.rows.forEach((t=>{this.rowToString(t,e)})),e.filter((e=>!e.hidden)).map((e=>e.text)).join("\n")}rowToString(e,t){return this.rasterize(e).forEach(((i,a)=>{let r="";i.forEach(((i,c)=>{const{width:u}=e[c],l=this.negatePadding(e[c]);let p=i;l>o.stringWidth(i)&&(p+=" ".repeat(l-o.stringWidth(i))),e[c].align&&"left"!==e[c].align&&this.wrap&&(p=(0,n[e[c].align])(p,l),o.stringWidth(p)<l&&(p+=" ".repeat((u||0)-o.stringWidth(p)-1)));const d=e[c].padding||[0,0,0,0];d[3]&&(r+=" ".repeat(d[3])),r+=s(e[c],p,"| "),r+=p,r+=s(e[c],p," |"),d[1]&&(r+=" ".repeat(d[1])),0===a&&t.length>0&&(r=this.renderInline(r,t[t.length-1]))})),t.push({text:r.replace(/ +$/,""),span:e.span})})),t}renderInline(e,t){const i=e.match(/^ */),n=i?i[0].length:0,a=t.text,s=o.stringWidth(a.trimRight());return t.span?this.wrap?n<s?e:(t.hidden=!0,a.trimRight()+" ".repeat(n-s)+e.trimLeft()):(t.hidden=!0,a+e):e}rasterize(e){const t=[],i=this.columnWidths(e);let n;return e.forEach(((e,a)=>{e.width=i[a],n=this.wrap?o.wrap(e.text,this.negatePadding(e),{hard:!0}).split("\n"):e.text.split("\n"),e.border&&(n.unshift("."+"-".repeat(this.negatePadding(e)+2)+"."),n.push("'"+"-".repeat(this.negatePadding(e)+2)+"'")),e.padding&&(n.unshift(...new Array(e.padding[0]||0).fill("")),n.push(...new Array(e.padding[2]||0).fill(""))),n.forEach(((e,i)=>{t[i]||t.push([]);const n=t[i];for(let e=0;e<a;e++)void 0===n[e]&&n.push("");n.push(e)}))})),t}negatePadding(e){let t=e.width||0;return e.padding&&(t-=(e.padding[3]||0)+(e.padding[1]||0)),e.border&&(t-=4),t}columnWidths(e){if(!this.wrap)return e.map((e=>e.width||o.stringWidth(e.text)));let t=e.length,i=this.width;const n=e.map((e=>{if(e.width)return t--,i-=e.width,e.width})),a=t?Math.floor(i/t):0;return n.map(((t,i)=>void 0===t?Math.max(a,function(e){const t=e.padding||[],i=1+(t[3]||0)+(t[1]||0);return e.border?i+4:i}(e[i])):t))}}function s(e,t,i){return e.border?/[.']-+[.']/.test(t)?"":0!==t.trim().length?i:" ":""}let o;const r=i(4813),c=i(8395),u=i(9359);e.exports=function(e){return function(e,t){return o=t,new a({width:(null==e?void 0:e.width)||("object"==typeof process&&process.stdout&&process.stdout.columns?process.stdout.columns:80),wrap:null==e?void 0:e.wrap})}(e,{stringWidth:r,stripAnsi:c,wrap:u})}},9668:(e,t,i)=>{"use strict";var n=i(9896),a=i(9023),s=i(6928);let o;class r{constructor(e){e=e||{},this.directory=e.directory||"./locales",this.updateFiles="boolean"!=typeof e.updateFiles||e.updateFiles,this.locale=e.locale||"en",this.fallbackToLanguage="boolean"!=typeof e.fallbackToLanguage||e.fallbackToLanguage,this.cache=Object.create(null),this.writeQueue=[]}__(...e){if("string"!=typeof arguments[0])return this._taggedLiteral(arguments[0],...arguments);const t=e.shift();let i=function(){};return"function"==typeof e[e.length-1]&&(i=e.pop()),i=i||function(){},this.cache[this.locale]||this._readLocaleFile(),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]=t,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:i})):i(),o.format.apply(o.format,[this.cache[this.locale][t]||t].concat(e))}__n(){const e=Array.prototype.slice.call(arguments),t=e.shift(),i=e.shift(),n=e.shift();let a=function(){};"function"==typeof e[e.length-1]&&(a=e.pop()),this.cache[this.locale]||this._readLocaleFile();let s=1===n?t:i;this.cache[this.locale][t]&&(s=this.cache[this.locale][t][1===n?"one":"other"]),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]={one:t,other:i},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:a})):a();const r=[s];return~s.indexOf("%d")&&r.push(n),o.format.apply(o.format,r.concat(e))}setLocale(e){this.locale=e}getLocale(){return this.locale}updateLocale(e){this.cache[this.locale]||this._readLocaleFile();for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this.cache[this.locale][t]=e[t])}_taggedLiteral(e,...t){let i="";return e.forEach((function(e,n){const a=t[n+1];i+=e,void 0!==a&&(i+="%s")})),this.__.apply(this,[i].concat([].slice.call(t,1)))}_enqueueWrite(e){this.writeQueue.push(e),1===this.writeQueue.length&&this._processWriteQueue()}_processWriteQueue(){const e=this,t=this.writeQueue[0],i=t.directory,n=t.locale,a=t.cb,s=this._resolveLocaleFile(i,n),r=JSON.stringify(this.cache[n],null,2);o.fs.writeFile(s,r,"utf-8",(function(t){e.writeQueue.shift(),e.writeQueue.length>0&&e._processWriteQueue(),a(t)}))}_readLocaleFile(){let e={};const t=this._resolveLocaleFile(this.directory,this.locale);try{o.fs.readFileSync&&(e=JSON.parse(o.fs.readFileSync(t,"utf-8")))}catch(i){if(i instanceof SyntaxError&&(i.message="syntax error in "+t),"ENOENT"!==i.code)throw i;e={}}this.cache[this.locale]=e}_resolveLocaleFile(e,t){let i=o.resolve(e,"./",t+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(i)&&~t.lastIndexOf("_")){const n=o.resolve(e,"./",t.split("_")[0]+".json");this._fileExistsSync(n)&&(i=n)}return i}_fileExistsSync(e){return o.exists(e)}}var c={fs:{readFileSync:n.readFileSync,writeFile:n.writeFile},format:a.format,resolve:s.resolve,exists:e=>{try{return n.statSync(e).isFile()}catch(e){return!1}}};e.exports=e=>function(e,t){o=t;const i=new r(e);return{__:i.__.bind(i),__n:i.__n.bind(i),setLocale:i.setLocale.bind(i),getLocale:i.getLocale.bind(i),updateLocale:i.updateLocale.bind(i),locale:i.locale}}(e,c)},7058:(e,t,i)=>{"use strict";var n,a=i(9023),s=i(6928);function o(e){if(e!==e.toLowerCase()&&e!==e.toUpperCase()||(e=e.toLowerCase()),-1===e.indexOf("-")&&-1===e.indexOf("_"))return e;{let t="",i=!1;const n=e.match(/^-+/);for(let a=n?n[0].length:0;a<e.length;a++){let n=e.charAt(a);i&&(i=!1,n=n.toUpperCase()),0===a||"-"!==n&&"_"!==n?"-"!==n&&"_"!==n&&(t+=n):i=!0}return t}}function r(e,t){const i=e.toLowerCase();t=t||"-";let n="";for(let a=0;a<e.length;a++){const s=i.charAt(a),o=e.charAt(a);n+=s!==o&&a>0?`${t}${i.charAt(a)}`:o}return n}function c(e){return null!=e&&("number"==typeof e||!!/^0x[0-9a-f]+$/i.test(e)||!/^0[^.]/.test(e)&&/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e))}let u;function l(e){return void 0!==e?e+1:1}function p(e){return"__proto__"===e?"___proto___":e}var d,f,h;i(9896),function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array"}(n||(n={}));const m=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):12,g=null!==(f=null===(d=null===process||void 0===process?void 0:process.versions)||void 0===d?void 0:d.node)&&void 0!==f?f:null===(h=null===process||void 0===process?void 0:process.version)||void 0===h?void 0:h.slice(1);if(g&&Number(g.match(/^([^.]+)/)[1])<m)throw Error(`yargs parser supports a minimum Node.js version of ${m}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);const b=process?process.env:{},v=new class{constructor(e){u=e}parse(e,t){const i=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},t),a=function(e){if(Array.isArray(e))return e.map((e=>"string"!=typeof e?e+"":e));e=e.trim();let t=0,i=null,n=null,a=null;const s=[];for(let o=0;o<e.length;o++)i=n,n=e.charAt(o)," "!==n||a?(n===a?a=null:"'"!==n&&'"'!==n||a||(a=n),s[t]||(s[t]=""),s[t]+=n):" "!==i&&t++;return s}(e),s="string"==typeof e,d=function(e){const t=[],i=Object.create(null);let n=!0;for(Object.keys(e).forEach((function(i){t.push([].concat(e[i],i))}));n;){n=!1;for(let e=0;e<t.length;e++)for(let i=e+1;i<t.length;i++)if(t[e].filter((function(e){return-1!==t[i].indexOf(e)})).length){t[e]=t[e].concat(t[i]),t.splice(i,1),n=!0;break}}return t.forEach((function(e){e=e.filter((function(e,t,i){return i.indexOf(e)===t}));const t=e.pop();void 0!==t&&"string"==typeof t&&(i[t]=e)})),i}(Object.assign(Object.create(null),i.alias)),f=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},i.configuration),h=Object.assign(Object.create(null),i.default),m=i.configObjects||[],g=i.envPrefix,b=f["populate--"],v=b?"--":"_",x=Object.create(null),y=Object.create(null),w=i.__||u.format,D={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},_=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,E=new RegExp("^--"+f["negation-prefix"]+"(.+)");[].concat(i.array||[]).filter(Boolean).forEach((function(e){const t="object"==typeof e?e.key:e,i=Object.keys(e).map((function(e){return{boolean:"bools",string:"strings",number:"numbers"}[e]})).filter(Boolean).pop();i&&(D[i][t]=!0),D.arrays[t]=!0,D.keys.push(t)})),[].concat(i.boolean||[]).filter(Boolean).forEach((function(e){D.bools[e]=!0,D.keys.push(e)})),[].concat(i.string||[]).filter(Boolean).forEach((function(e){D.strings[e]=!0,D.keys.push(e)})),[].concat(i.number||[]).filter(Boolean).forEach((function(e){D.numbers[e]=!0,D.keys.push(e)})),[].concat(i.count||[]).filter(Boolean).forEach((function(e){D.counts[e]=!0,D.keys.push(e)})),[].concat(i.normalize||[]).filter(Boolean).forEach((function(e){D.normalize[e]=!0,D.keys.push(e)})),"object"==typeof i.narg&&Object.entries(i.narg).forEach((([e,t])=>{"number"==typeof t&&(D.nargs[e]=t,D.keys.push(e))})),"object"==typeof i.coerce&&Object.entries(i.coerce).forEach((([e,t])=>{"function"==typeof t&&(D.coercions[e]=t,D.keys.push(e))})),void 0!==i.config&&(Array.isArray(i.config)||"string"==typeof i.config?[].concat(i.config).filter(Boolean).forEach((function(e){D.configs[e]=!0})):"object"==typeof i.config&&Object.entries(i.config).forEach((([e,t])=>{"boolean"!=typeof t&&"function"!=typeof t||(D.configs[e]=t)}))),function(...e){e.forEach((function(e){Object.keys(e||{}).forEach((function(e){D.aliases[e]||(D.aliases[e]=[].concat(d[e]||[]),D.aliases[e].concat(e).forEach((function(t){if(/-/.test(t)&&f["camel-case-expansion"]){const i=o(t);i!==e&&-1===D.aliases[e].indexOf(i)&&(D.aliases[e].push(i),x[i]=!0)}})),D.aliases[e].concat(e).forEach((function(t){if(t.length>1&&/[A-Z]/.test(t)&&f["camel-case-expansion"]){const i=r(t,"-");i!==e&&-1===D.aliases[e].indexOf(i)&&(D.aliases[e].push(i),x[i]=!0)}})),D.aliases[e].forEach((function(t){D.aliases[t]=[e].concat(D.aliases[e].filter((function(e){return t!==e})))})))}))}))}(i.key,d,i.default,D.arrays),Object.keys(h).forEach((function(e){(D.aliases[e]||[]).forEach((function(t){h[t]=h[e]}))}));let F=null;Object.keys(D.counts).find((e=>U(e,D.arrays)?(F=Error(w("Invalid configuration: %s, opts.count excludes opts.array.",e)),!0):!!U(e,D.nargs)&&(F=Error(w("Invalid configuration: %s, opts.count excludes opts.narg.",e)),!0)));let k=[];const C=Object.assign(Object.create(null),{_:[]}),j={};for(let e=0;e<a.length;e++){const t=a[e],i=t.replace(/^-{3,}/,"---");let n,s,o,r,c,u;if("--"!==t&&/^-/.test(t)&&q(t))O(t);else{if(i.match(/^---+(=|$)/)){O(t);continue}if(t.match(/^--.+=/)||!f["short-option-groups"]&&t.match(/^-.+=/))r=t.match(/^--?([^=]+)=([\s\S]*)$/),null!==r&&Array.isArray(r)&&r.length>=3&&(U(r[1],D.arrays)?e=S(e,r[1],a,r[2]):!1!==U(r[1],D.nargs)?e=A(e,r[1],a,r[2]):B(r[1],r[2],!0));else if(t.match(E)&&f["boolean-negation"])r=t.match(E),null!==r&&Array.isArray(r)&&r.length>=2&&(s=r[1],B(s,!!U(s,D.arrays)&&[!1]));else if(t.match(/^--.+/)||!f["short-option-groups"]&&t.match(/^-[^-]+/))r=t.match(/^--?(.+)/),null!==r&&Array.isArray(r)&&r.length>=2&&(s=r[1],U(s,D.arrays)?e=S(e,s,a):!1!==U(s,D.nargs)?e=A(e,s,a):(c=a[e+1],void 0===c||c.match(/^-/)&&!c.match(_)||U(s,D.bools)||U(s,D.counts)?/^(true|false)$/.test(c)?(B(s,c),e++):B(s,H(s)):(B(s,c),e++)));else if(t.match(/^-.\..+=/))r=t.match(/^-([^=]+)=([\s\S]*)$/),null!==r&&Array.isArray(r)&&r.length>=3&&B(r[1],r[2]);else if(t.match(/^-.\..+/)&&!t.match(_))c=a[e+1],r=t.match(/^-(.\..+)/),null!==r&&Array.isArray(r)&&r.length>=2&&(s=r[1],void 0===c||c.match(/^-/)||U(s,D.bools)||U(s,D.counts)?B(s,H(s)):(B(s,c),e++));else if(t.match(/^-[^-]+/)&&!t.match(_)){o=t.slice(1,-1).split(""),n=!1;for(let i=0;i<o.length;i++){if(c=t.slice(i+2),o[i+1]&&"="===o[i+1]){u=t.slice(i+3),s=o[i],U(s,D.arrays)?e=S(e,s,a,u):!1!==U(s,D.nargs)?e=A(e,s,a,u):B(s,u),n=!0;break}if("-"!==c){if(/[A-Za-z]/.test(o[i])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(c)&&!1===U(c,D.bools)){B(o[i],c),n=!0;break}if(o[i+1]&&o[i+1].match(/\W/)){B(o[i],c),n=!0;break}B(o[i],H(o[i]))}else B(o[i],c)}s=t.slice(-1)[0],n||"-"===s||(U(s,D.arrays)?e=S(e,s,a):!1!==U(s,D.nargs)?e=A(e,s,a):(c=a[e+1],void 0===c||/^(-|--)[^-]/.test(c)&&!c.match(_)||U(s,D.bools)||U(s,D.counts)?/^(true|false)$/.test(c)?(B(s,c),e++):B(s,H(s)):(B(s,c),e++)))}else if(t.match(/^-[0-9]$/)&&t.match(_)&&U(t.slice(1),D.bools))s=t.slice(1),B(s,H(s));else{if("--"===t){k=a.slice(e+1);break}if(f["halt-at-non-option"]){k=a.slice(e);break}O(t)}}}function O(e){const t=P("_",e);"string"!=typeof t&&"number"!=typeof t||C._.push(t)}function A(e,t,i,n){let a,s=U(t,D.nargs);if(s="number"!=typeof s||isNaN(s)?1:s,0===s)return W(n)||(F=Error(w("Argument unexpected for: %s",t))),B(t,H(t)),e;let o=W(n)?0:1;if(f["nargs-eats-options"])i.length-(e+1)+o<s&&(F=Error(w("Not enough arguments following: %s",t))),o=s;else{for(a=e+1;a<i.length&&(!i[a].match(/^-[^0-9]/)||i[a].match(_)||q(i[a]));a++)o++;o<s&&(F=Error(w("Not enough arguments following: %s",t)))}let r=Math.min(o,s);for(!W(n)&&r>0&&(B(t,n),r--),a=e+1;a<r+e+1;a++)B(t,i[a]);return e+r}function S(e,t,i,n){let a=[],o=n||i[e+1];const r=U(t,D.nargs);if(U(t,D.bools)&&!/^(true|false)$/.test(o))a.push(!0);else if(W(o)||W(n)&&/^-/.test(o)&&!_.test(o)&&!q(o)){if(void 0!==h[t]){const e=h[t];a=Array.isArray(e)?e:[e]}}else{W(n)||a.push($(t,n,!0));for(let n=e+1;n<i.length&&!(!f["greedy-arrays"]&&a.length>0||r&&"number"==typeof r&&a.length>=r)&&(o=i[n],!/^-/.test(o)||_.test(o)||q(o));n++)e=n,a.push($(t,o,s))}return"number"==typeof r&&(r&&a.length<r||isNaN(r)&&0===a.length)&&(F=Error(w("Not enough arguments following: %s",t))),B(t,a),e}function B(e,t,i=s){if(/-/.test(e)&&f["camel-case-expansion"]){const t=e.split(".").map((function(e){return o(e)})).join(".");R(e,t)}const n=$(e,t,i),a=e.split(".");N(C,a,n),D.aliases[e]&&D.aliases[e].forEach((function(e){const t=e.split(".");N(C,t,n)})),a.length>1&&f["dot-notation"]&&(D.aliases[a[0]]||[]).forEach((function(t){let i=t.split(".");const s=[].concat(a);s.shift(),i=i.concat(s),(D.aliases[e]||[]).includes(i.join("."))||N(C,i,n)})),U(e,D.normalize)&&!U(e,D.arrays)&&[e].concat(D.aliases[e]||[]).forEach((function(e){Object.defineProperty(j,e,{enumerable:!0,get:()=>t,set(e){t="string"==typeof e?u.normalize(e):e}})}))}function R(e,t){D.aliases[e]&&D.aliases[e].length||(D.aliases[e]=[t],x[t]=!0),D.aliases[t]&&D.aliases[t].length||R(t,e)}function $(e,t,i){i&&(t=function(e){return"string"!=typeof e||"'"!==e[0]&&'"'!==e[0]||e[e.length-1]!==e[0]?e:e.substring(1,e.length-1)}(t)),(U(e,D.bools)||U(e,D.counts))&&"string"==typeof t&&(t="true"===t);let n=Array.isArray(t)?t.map((function(t){return P(e,t)})):P(e,t);return U(e,D.counts)&&(W(n)||"boolean"==typeof n)&&(n=l()),U(e,D.normalize)&&U(e,D.arrays)&&(n=Array.isArray(t)?t.map((e=>u.normalize(e))):u.normalize(t)),n}function P(e,t){return f["parse-positional-numbers"]||"_"!==e?(U(e,D.strings)||U(e,D.bools)||Array.isArray(t)||(c(t)&&f["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${t}`)))||!W(t)&&U(e,D.numbers))&&(t=Number(t)),t):t}function T(e,t){Object.keys(e).forEach((function(i){const n=e[i],a=t?t+"."+i:i;"object"==typeof n&&null!==n&&!Array.isArray(n)&&f["dot-notation"]?T(n,a):(!z(C,a.split("."))||U(a,D.arrays)&&f["combine-arrays"])&&B(a,n)}))}function I(e,t){if(void 0===g)return;const i="string"==typeof g?g:"",n=u.env();Object.keys(n).forEach((function(a){if(""===i||0===a.lastIndexOf(i,0)){const s=a.split("__").map((function(e,t){return 0===t&&(e=e.substring(i.length)),o(e)}));(t&&D.configs[s.join(".")]||!t)&&!z(e,s)&&B(s.join("."),n[a])}}))}function M(e,t,i,n=!1){Object.keys(i).forEach((function(a){z(e,a.split("."))||(N(e,a.split("."),i[a]),n&&(y[a]=!0),(t[a]||[]).forEach((function(t){z(e,t.split("."))||N(e,t.split("."),i[a])})))}))}function z(e,t){let i=e;f["dot-notation"]||(t=[t.join(".")]),t.slice(0,-1).forEach((function(e){i=i[e]||{}}));const n=t[t.length-1];return"object"==typeof i&&n in i}function N(e,t,i){let n=e;f["dot-notation"]||(t=[t.join(".")]),t.slice(0,-1).forEach((function(e){e=p(e),"object"==typeof n&&void 0===n[e]&&(n[e]={}),"object"!=typeof n[e]||Array.isArray(n[e])?(Array.isArray(n[e])?n[e].push({}):n[e]=[n[e],{}],n=n[e][n[e].length-1]):n=n[e]}));const a=p(t[t.length-1]),s=U(t.join("."),D.arrays),o=Array.isArray(i);let r=f["duplicate-arguments-array"];!r&&U(a,D.nargs)&&(r=!0,(!W(n[a])&&1===D.nargs[a]||Array.isArray(n[a])&&n[a].length===D.nargs[a])&&(n[a]=void 0)),i===l()?n[a]=l(n[a]):Array.isArray(n[a])?r&&s&&o?n[a]=f["flatten-duplicate-arrays"]?n[a].concat(i):(Array.isArray(n[a][0])?n[a]:[n[a]]).concat([i]):r||Boolean(s)!==Boolean(o)?n[a]=n[a].concat([i]):n[a]=i:void 0===n[a]&&s?n[a]=o?i:[i]:!r||void 0===n[a]||U(a,D.counts)||U(a,D.bools)?n[a]=i:n[a]=[n[a],i]}function U(e,t){const i=[].concat(D.aliases[e]||[],e),n=Object.keys(t),a=i.find((e=>n.includes(e)));return!!a&&t[a]}function L(e){const t=Object.keys(D);return[].concat(t.map((e=>D[e]))).some((function(t){return Array.isArray(t)?t.includes(e):t[e]}))}function q(e){return f["unknown-options-as-args"]&&function(e){return!(e=e.replace(/^-{3,}/,"--")).match(_)&&(!function(e){if(e.match(_)||!e.match(/^-[^-]+/))return!1;let t,i=!0;const n=e.slice(1).split("");for(let a=0;a<n.length;a++){if(t=e.slice(a+2),!L(n[a])){i=!1;break}if(n[a+1]&&"="===n[a+1]||"-"===t||/[A-Za-z]/.test(n[a])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(t)||n[a+1]&&n[a+1].match(/\W/))break}return i}(e)&&!function(e,...t){return[].concat(...t).some((function(t){const i=e.match(t);return i&&L(i[1])}))}(e,/^-+([^=]+?)=[\s\S]*$/,E,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/))}(e)}function H(e){return U(e,D.bools)||U(e,D.counts)||!(`${e}`in h)?(t=function(e){let t=n.BOOLEAN;return U(e,D.strings)?t=n.STRING:U(e,D.numbers)?t=n.NUMBER:U(e,D.bools)?t=n.BOOLEAN:U(e,D.arrays)&&(t=n.ARRAY),t}(e),{[n.BOOLEAN]:!0,[n.STRING]:"",[n.NUMBER]:void 0,[n.ARRAY]:[]}[t]):h[e];var t}function W(e){return void 0===e}return I(C,!0),I(C,!1),function(e){const t=Object.create(null);M(t,D.aliases,h),Object.keys(D.configs).forEach((function(i){const n=e[i]||t[i];if(n)try{let e=null;const t=u.resolve(u.cwd(),n),a=D.configs[i];if("function"==typeof a){try{e=a(t)}catch(t){e=t}if(e instanceof Error)return void(F=e)}else e=u.require(t);T(e)}catch(t){"PermissionDenied"===t.name?F=t:e[i]&&(F=Error(w("Invalid JSON config file: %s",n)))}}))}(C),void 0!==m&&m.forEach((function(e){T(e)})),M(C,D.aliases,h,!0),function(e){let t;const i=new Set;Object.keys(e).forEach((function(n){if(!i.has(n)&&(t=U(n,D.coercions),"function"==typeof t))try{const a=P(n,t(e[n]));[].concat(D.aliases[n]||[],n).forEach((t=>{i.add(t),e[t]=a}))}catch(e){F=e}}))}(C),f["set-placeholder-key"]&&function(e){D.keys.forEach((t=>{~t.indexOf(".")||void 0===e[t]&&(e[t]=void 0)}))}(C),Object.keys(D.counts).forEach((function(e){z(C,e.split("."))||B(e,0)})),b&&k.length&&(C[v]=[]),k.forEach((function(e){C[v].push(e)})),f["camel-case-expansion"]&&f["strip-dashed"]&&Object.keys(C).filter((e=>"--"!==e&&e.includes("-"))).forEach((e=>{delete C[e]})),f["strip-aliased"]&&[].concat(...Object.keys(d).map((e=>d[e]))).forEach((e=>{f["camel-case-expansion"]&&e.includes("-")&&delete C[e.split(".").map((e=>o(e))).join(".")],delete C[e]})),{aliases:Object.assign({},D.aliases),argv:Object.assign(j,C),configuration:f,defaulted:Object.assign({},y),error:F,newAliases:Object.assign({},x)}}}({cwd:process.cwd,env:()=>b,format:a.format,normalize:s.normalize,resolve:s.resolve,require:e=>i(8953)(e)}),x=function(e,t){return v.parse(e.slice(),t).argv};x.detailed=function(e,t){return v.parse(e.slice(),t)},x.camelCase=o,x.decamelize=r,x.looksLikeNumber=c,e.exports=x},5338:(e,t,i)=>{"use strict";var n=i(2613);class a extends Error{constructor(e){super(e||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,a)}}let s,o=[];function r(e,t,n,u){s=u;let l={};if(Object.prototype.hasOwnProperty.call(e,"extends")){if("string"!=typeof e.extends)return l;const c=/\.json|\..*rc$/.test(e.extends);let u=null;if(c)u=function(e,t){return s.path.resolve(e,t)}(t,e.extends);else try{u=i(7315).resolve(e.extends)}catch(t){return e}!function(e){if(o.indexOf(e)>-1)throw new a(`Circular extended configurations: '${e}'.`)}(u),o.push(u),l=c?JSON.parse(s.readFileSync(u,"utf8")):i(7315)(e.extends),delete e.extends,l=r(l,s.path.dirname(u),n,s)}return o=[],n?c(l,e):Object.assign({},l,e)}function c(e,t){const i={};function n(e){return e&&"object"==typeof e&&!Array.isArray(e)}Object.assign(i,e);for(const a of Object.keys(t))n(t[a])&&n(i[a])?i[a]=c(e[a],t[a]):i[a]=t[a];return i}function u(e){const t=e.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),i=/\.*[\][<>]/g,n=t.shift();if(!n)throw new Error(`No command found in: ${e}`);const a={cmd:n.replace(i,""),demanded:[],optional:[]};return t.forEach(((e,n)=>{let s=!1;e=e.replace(/\s/g,""),/\.+[\]>]/.test(e)&&n===t.length-1&&(s=!0),/^\[/.test(e)?a.optional.push({cmd:e.replace(i,"").split("|"),variadic:s}):a.demanded.push({cmd:e.replace(i,"").split("|"),variadic:s})})),a}const l=["first","second","third","fourth","fifth","sixth"];function p(e,t,i){try{let n=0;const[s,o,r]="object"==typeof e?[{demanded:[],optional:[]},e,t]:[u(`cmd ${e}`),t,i],c=[].slice.call(o);for(;c.length&&void 0===c[c.length-1];)c.pop();const l=r||c.length;if(l<s.demanded.length)throw new a(`Not enough arguments provided. Expected ${s.demanded.length} but received ${c.length}.`);const p=s.demanded.length+s.optional.length;if(l>p)throw new a(`Too many arguments provided. Expected max ${p} but received ${l}.`);s.demanded.forEach((e=>{const t=d(c.shift());0===e.cmd.filter((e=>e===t||"*"===e)).length&&f(t,e.cmd,n),n+=1})),s.optional.forEach((e=>{if(0===c.length)return;const t=d(c.shift());0===e.cmd.filter((e=>e===t||"*"===e)).length&&f(t,e.cmd,n),n+=1}))}catch(e){console.warn(e.stack)}}function d(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function f(e,t,i){throw new a(`Invalid ${l[i]||"manyith"} argument. Expected ${t.join(" or ")} but received ${e}.`)}function h(e){return!!e&&!!e.then&&"function"==typeof e.then}function m(e,t,i,n){i.assert.notStrictEqual(e,t,n)}function g(e,t){t.assert.strictEqual(typeof e,"string")}function b(e){return Object.keys(e)}function v(e={},t=(()=>!0)){const i={};return b(e).forEach((n=>{t(n,e[n])&&(i[n]=e[n])})),i}function x(){return process.versions.electron&&!process.defaultApp?0:1}function y(){return process.argv[x()]}var w=Object.freeze({__proto__:null,hideBin:function(e){return e.slice(x()+1)},getProcessArgvBin:y});function D(e,t,i,n){if("a"===i&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)}function _(e,t,i,n,a){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?a.call(e,i):a?a.value=i:t.set(e,i),i}class E{constructor(e){this.globalMiddleware=[],this.frozens=[],this.yargs=e}addMiddleware(e,t,i=!0,n=!1){if(p("<array|function> [boolean] [boolean] [boolean]",[e,t,i],arguments.length),Array.isArray(e)){for(let n=0;n<e.length;n++){if("function"!=typeof e[n])throw Error("middleware must be a function");const a=e[n];a.applyBeforeValidation=t,a.global=i}Array.prototype.push.apply(this.globalMiddleware,e)}else if("function"==typeof e){const a=e;a.applyBeforeValidation=t,a.global=i,a.mutates=n,this.globalMiddleware.push(e)}return this.yargs}addCoerceMiddleware(e,t){const i=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter((e=>{const n=[...i[t]||[],t];return!e.option||!n.includes(e.option)})),e.option=t,this.addMiddleware(e,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){const e=this.frozens.pop();void 0!==e&&(this.globalMiddleware=e)}reset(){this.globalMiddleware=this.globalMiddleware.filter((e=>e.global))}}function F(e,t,i,n){return i.reduce(((e,i)=>{if(i.applyBeforeValidation!==n)return e;if(i.mutates){if(i.applied)return e;i.applied=!0}if(h(e))return e.then((e=>Promise.all([e,i(e,t)]))).then((([e,t])=>Object.assign(e,t)));{const n=i(e,t);return h(n)?n.then((t=>Object.assign(e,t))):Object.assign(e,n)}}),e)}function k(e,t,i=(e=>{throw e})){try{const i="function"==typeof e?e():e;return h(i)?i.then((e=>t(e))):t(i)}catch(e){return i(e)}}const C=/(^\*)|(^\$0)/;class j{constructor(e,t,i,n){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=n,this.usage=e,this.globalMiddleware=i,this.validation=t}addDirectory(e,t,i,n){"boolean"!=typeof(n=n||{}).recurse&&(n.recurse=!1),Array.isArray(n.extensions)||(n.extensions=["js"]);const a="function"==typeof n.visit?n.visit:e=>e;n.visit=(e,t,i)=>{const n=a(e,t,i);if(n){if(this.requireCache.has(t))return n;this.requireCache.add(t),this.addHandler(n)}return n},this.shim.requireDirectory({require:t,filename:i},e,n)}addHandler(e,t,i,n,a,s){let o=[];const r=function(e){return e?e.map((e=>(e.applyBeforeValidation=!1,e))):[]}(a);if(n=n||(()=>{}),Array.isArray(e))if(function(e){return e.every((e=>"string"==typeof e))}(e))[e,...o]=e;else for(const t of e)this.addHandler(t);else{if(function(e){return"object"==typeof e&&!Array.isArray(e)}(e)){let t=Array.isArray(e.command)||"string"==typeof e.command?e.command:this.moduleName(e);return e.aliases&&(t=[].concat(t).concat(e.aliases)),void this.addHandler(t,this.extractDesc(e),e.builder,e.handler,e.middlewares,e.deprecated)}if(O(i))return void this.addHandler([e].concat(o),t,i.builder,i.handler,i.middlewares,i.deprecated)}if("string"==typeof e){const a=u(e);o=o.map((e=>u(e).cmd));let c=!1;const l=[a.cmd].concat(o).filter((e=>!C.test(e)||(c=!0,!1)));0===l.length&&c&&l.push("$0"),c&&(a.cmd=l[0],o=l.slice(1),e=e.replace(C,a.cmd)),o.forEach((e=>{this.aliasMap[e]=a.cmd})),!1!==t&&this.usage.command(e,t,c,o,s),this.handlers[a.cmd]={original:e,description:t,handler:n,builder:i||{},middlewares:r,deprecated:s,demanded:a.demanded,optional:a.optional},c&&(this.defaultCommand=this.handlers[a.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(e,t,i,n,a,s){const o=this.handlers[e]||this.handlers[this.aliasMap[e]]||this.defaultCommand,r=t.getInternalMethods().getContext(),c=r.commands.slice(),u=!e;e&&(r.commands.push(e),r.fullCommands.push(o.original));const l=this.applyBuilderUpdateUsageAndParse(u,o,t,i.aliases,c,n,a,s);return h(l)?l.then((e=>this.applyMiddlewareAndGetResult(u,o,e.innerArgv,r,a,e.aliases,t))):this.applyMiddlewareAndGetResult(u,o,l.innerArgv,r,a,l.aliases,t)}applyBuilderUpdateUsageAndParse(e,t,i,n,a,s,o,r){const c=t.builder;let u=i;if(A(c)){i.getInternalMethods().getUsageInstance().freeze();const l=c(i.getInternalMethods().reset(n),r);if(h(l))return l.then((n=>{var r;return u=(r=n)&&"function"==typeof r.getInternalMethods?n:i,this.parseAndUpdateUsage(e,t,u,a,s,o)}))}else(function(e){return"object"==typeof e})(c)&&(i.getInternalMethods().getUsageInstance().freeze(),u=i.getInternalMethods().reset(n),Object.keys(t.builder).forEach((e=>{u.option(e,c[e])})));return this.parseAndUpdateUsage(e,t,u,a,s,o)}parseAndUpdateUsage(e,t,i,n,a,s){e&&i.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(i)&&i.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(n,t),t.description);const o=i.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,a,s);return h(o)?o.then((e=>({aliases:i.parsed.aliases,innerArgv:e}))):{aliases:i.parsed.aliases,innerArgv:o}}shouldUpdateUsage(e){return!e.getInternalMethods().getUsageInstance().getUsageDisabled()&&0===e.getInternalMethods().getUsageInstance().getUsage().length}usageFromParentCommandsCommandHandler(e,t){const i=C.test(t.original)?t.original.replace(C,"").trim():t.original,n=e.filter((e=>!C.test(e)));return n.push(i),`$0 ${n.join(" ")}`}handleValidationAndGetResult(e,t,i,n,a,s,o,r){if(!s.getInternalMethods().getHasOutput()){const t=s.getInternalMethods().runValidation(a,r,s.parsed.error,e);i=k(i,(e=>(t(e),e)))}if(t.handler&&!s.getInternalMethods().getHasOutput()){s.getInternalMethods().setHasOutput();const n=!!s.getOptions().configuration["populate--"];s.getInternalMethods().postProcess(i,n,!1,!1),i=k(i=F(i,s,o,!1),(e=>{const i=t.handler(e);return h(i)?i.then((()=>e)):e})),e||s.getInternalMethods().getUsageInstance().cacheHelpMessage(),h(i)&&!s.getInternalMethods().hasParseCallback()&&i.catch((e=>{try{s.getInternalMethods().getUsageInstance().fail(null,e)}catch(e){}}))}return e||(n.commands.pop(),n.fullCommands.pop()),i}applyMiddlewareAndGetResult(e,t,i,n,a,s,o){let r={};if(a)return i;o.getInternalMethods().getHasOutput()||(r=this.populatePositionals(t,i,n,o));const c=this.globalMiddleware.getMiddleware().slice(0).concat(t.middlewares),u=F(i,o,c,!0);return h(u)?u.then((i=>this.handleValidationAndGetResult(e,t,i,n,s,o,c,r))):this.handleValidationAndGetResult(e,t,u,n,s,o,c,r)}populatePositionals(e,t,i,n){t._=t._.slice(i.commands.length);const a=e.demanded.slice(0),s=e.optional.slice(0),o={};for(this.validation.positionalCount(a.length,t._.length);a.length;){const e=a.shift();this.populatePositional(e,t,o)}for(;s.length;){const e=s.shift();this.populatePositional(e,t,o)}return t._=i.commands.concat(t._.map((e=>""+e))),this.postProcessPositionals(t,o,this.cmdToParseOptions(e.original),n),o}populatePositional(e,t,i){const n=e.cmd[0];e.variadic?i[n]=t._.splice(0).map(String):t._.length&&(i[n]=[String(t._.shift())])}cmdToParseOptions(e){const t={array:[],default:{},alias:{},demand:{}},i=u(e);return i.demanded.forEach((e=>{const[i,...n]=e.cmd;e.variadic&&(t.array.push(i),t.default[i]=[]),t.alias[i]=n,t.demand[i]=!0})),i.optional.forEach((e=>{const[i,...n]=e.cmd;e.variadic&&(t.array.push(i),t.default[i]=[]),t.alias[i]=n})),t}postProcessPositionals(e,t,i,n){const a=Object.assign({},n.getOptions());a.default=Object.assign(i.default,a.default);for(const e of Object.keys(i.alias))a.alias[e]=(a.alias[e]||[]).concat(i.alias[e]);a.array=a.array.concat(i.array),a.config={};const s=[];if(Object.keys(t).forEach((e=>{t[e].map((t=>{a.configuration["unknown-options-as-args"]&&(a.key[e]=!0),s.push(`--${e}`),s.push(t)}))})),!s.length)return;const o=Object.assign({},a.configuration,{"populate--":!1}),r=this.shim.Parser.detailed(s,Object.assign({},a,{configuration:o}));if(r.error)n.getInternalMethods().getUsageInstance().fail(r.error.message,r.error);else{const i=Object.keys(t);Object.keys(t).forEach((e=>{i.push(...r.aliases[e])})),Object.keys(r.argv).forEach((a=>{i.includes(a)&&(t[a]||(t[a]=r.argv[a]),!this.isInConfigs(n,a)&&!this.isDefaulted(n,a)&&Object.prototype.hasOwnProperty.call(e,a)&&Object.prototype.hasOwnProperty.call(r.argv,a)&&(Array.isArray(e[a])||Array.isArray(r.argv[a]))?e[a]=[].concat(e[a],r.argv[a]):e[a]=r.argv[a])}))}}isDefaulted(e,t){const{default:i}=e.getOptions();return Object.prototype.hasOwnProperty.call(i,t)||Object.prototype.hasOwnProperty.call(i,this.shim.Parser.camelCase(t))}isInConfigs(e,t){const{configObjects:i}=e.getOptions();return i.some((e=>Object.prototype.hasOwnProperty.call(e,t)))||i.some((e=>Object.prototype.hasOwnProperty.call(e,this.shim.Parser.camelCase(t))))}runDefaultBuilderOn(e){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(e)){const t=C.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");e.getInternalMethods().getUsageInstance().usage(t,this.defaultCommand.description)}const t=this.defaultCommand.builder;if(A(t))return t(e,!0);O(t)||Object.keys(t).forEach((i=>{e.option(i,t[i])}))}moduleName(e){const t=function(e){for(let t,n=0,a=Object.keys(i.c);n<a.length;n++)if(t=i.c[a[n]],t.exports===e)return t;return null}(e);if(!t)throw new Error(`No command name given for module: ${this.shim.inspect(e)}`);return this.commandFromFilename(t.filename)}commandFromFilename(e){return this.shim.path.basename(e,this.shim.path.extname(e))}extractDesc({describe:e,description:t,desc:i}){for(const n of[e,t,i]){if("string"==typeof n||!1===n)return n;m(n,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){const e=this.frozens.pop();m(e,void 0,this.shim),({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand}=e)}reset(){return this.handlers={},this.aliasMap={},this.defaultCommand=void 0,this.requireCache=new Set,this}}function O(e){return"object"==typeof e&&!!e.builder&&"function"==typeof e.handler}function A(e){return"function"==typeof e}function S(e){"undefined"!=typeof process&&[process.stdout,process.stderr].forEach((t=>{const i=t;i._handle&&i.isTTY&&"function"==typeof i._handle.setBlocking&&i._handle.setBlocking(e)}))}function B(e){return"boolean"==typeof e}function R(e,t){const i=t.y18n.__,n={},s=[];n.failFn=function(e){s.push(e)};let o=null,r=null,c=!0;n.showHelpOnFail=function(t=!0,i){const[a,s]="string"==typeof t?[!0,t]:[t,i];return e.getInternalMethods().isGlobalContext()&&(r=s),o=s,c=a,n};let u=!1;n.fail=function(t,i){const l=e.getInternalMethods().getLoggerInstance();if(!s.length){if(e.getExitProcess()&&S(!0),!u){u=!0,c&&(e.showHelp("error"),l.error()),(t||i)&&l.error(t||i);const n=o||r;n&&((t||i)&&l.error(""),l.error(n))}if(i=i||new a(t),e.getExitProcess())return e.exit(1);if(e.getInternalMethods().hasParseCallback())return e.exit(1,i);throw i}for(let e=s.length-1;e>=0;--e){const a=s[e];if(B(a)){if(i)throw i;if(t)throw Error(t)}else a(t,i,n)}};let l=[],p=!1;n.usage=(e,t)=>null===e?(p=!0,l=[],n):(p=!1,l.push([e,t||""]),n),n.getUsage=()=>l,n.getUsageDisabled=()=>p,n.getPositionalGroupName=()=>i("Positionals:");let d=[];n.example=(e,t)=>{d.push([e,t||""])};let f=[];n.command=function(e,t,i,n,a=!1){i&&(f=f.map((e=>(e[2]=!1,e)))),f.push([e,t||"",i,n,a])},n.getCommands=()=>f;let h={};n.describe=function(e,t){Array.isArray(e)?e.forEach((e=>{n.describe(e,t)})):"object"==typeof e?Object.keys(e).forEach((t=>{n.describe(t,e[t])})):h[e]=t},n.getDescriptions=()=>h;let m=[];n.epilog=e=>{m.push(e)};let g,b=!1;n.wrap=e=>{b=!0,g=e},n.getWrap=()=>t.getEnv("YARGS_DISABLE_WRAP")?null:(b||(g=t.process.stdColumns?Math.min(80,t.process.stdColumns):80,b=!0),g);const x="__yargsString__:";function y(e,i,n){let a=0;return Array.isArray(e)||(e=Object.values(e).map((e=>[e]))),e.forEach((e=>{a=Math.max(t.stringWidth(n?`${n} ${T(e[0])}`:T(e[0]))+P(e[0]),a)})),i&&(a=Math.min(a,parseInt((.5*i).toString(),10))),a}let w;function D(t){return e.getOptions().hiddenOptions.indexOf(t)<0||e.parsed.argv[e.getOptions().showHiddenOpt]}function _(e,t){let n=`[${i("default:")} `;if(void 0===e&&!t)return null;if(t)n+=t;else switch(typeof e){case"string":n+=`"${e}"`;break;case"object":n+=JSON.stringify(e);break;default:n+=e}return`${n}]`}n.deferY18nLookup=e=>x+e,n.help=function(){if(w)return w;!function(){const t=e.getDemandedOptions(),i=e.getOptions();(Object.keys(i.alias)||[]).forEach((a=>{i.alias[a].forEach((s=>{h[s]&&n.describe(a,h[s]),s in t&&e.demandOption(a,t[s]),i.boolean.includes(s)&&e.boolean(a),i.count.includes(s)&&e.count(a),i.string.includes(s)&&e.string(a),i.normalize.includes(s)&&e.normalize(a),i.array.includes(s)&&e.array(a),i.number.includes(s)&&e.number(a)}))}))}();const a=e.customScriptName?e.$0:t.path.basename(e.$0),s=e.getDemandedOptions(),o=e.getDemandedCommands(),r=e.getDeprecatedOptions(),c=e.getGroups(),u=e.getOptions();let g=[];g=g.concat(Object.keys(h)),g=g.concat(Object.keys(s)),g=g.concat(Object.keys(o)),g=g.concat(Object.keys(u.default)),g=g.filter(D),g=Object.keys(g.reduce(((e,t)=>("_"!==t&&(e[t]=!0),e)),{}));const b=n.getWrap(),v=t.cliui({width:b,wrap:!!b});if(!p)if(l.length)l.forEach((e=>{v.div({text:`${e[0].replace(/\$0/g,a)}`}),e[1]&&v.div({text:`${e[1]}`,padding:[1,0,0,0]})})),v.div();else if(f.length){let e=null;e=o._?`${a} <${i("command")}>\n`:`${a} [${i("command")}]\n`,v.div(`${e}`)}if(f.length>1||1===f.length&&!f[0][2]){v.div(i("Commands:"));const t=e.getInternalMethods().getContext(),n=t.commands.length?`${t.commands.join(" ")} `:"";!0===e.getInternalMethods().getParserConfiguration()["sort-commands"]&&(f=f.sort(((e,t)=>e[0].localeCompare(t[0]))));const s=a?`${a} `:"";f.forEach((e=>{const t=`${s}${n}${e[0].replace(/^\$0 ?/,"")}`;v.span({text:t,padding:[0,2,0,2],width:y(f,b,`${a}${n}`)+4},{text:e[1]});const o=[];e[2]&&o.push(`[${i("default")}]`),e[3]&&e[3].length&&o.push(`[${i("aliases:")} ${e[3].join(", ")}]`),e[4]&&("string"==typeof e[4]?o.push(`[${i("deprecated: %s",e[4])}]`):o.push(`[${i("deprecated")}]`)),o.length?v.div({text:o.join(" "),padding:[0,0,0,2],align:"right"}):v.div()})),v.div()}const E=(Object.keys(u.alias)||[]).concat(Object.keys(e.parsed.newAliases)||[]);g=g.filter((t=>!e.parsed.newAliases[t]&&E.every((e=>-1===(u.alias[e]||[]).indexOf(t)))));const F=i("Options:");c[F]||(c[F]=[]),function(e,t,i,n){let a=[],s=null;Object.keys(i).forEach((e=>{a=a.concat(i[e])})),e.forEach((e=>{s=[e].concat(t[e]),s.some((e=>-1!==a.indexOf(e)))||i[n].push(e)}))}(g,u.alias,c,F);const k=e=>/^--/.test(T(e)),C=Object.keys(c).filter((e=>c[e].length>0)).map((e=>({groupName:e,normalizedKeys:c[e].filter(D).map((e=>{if(E.includes(e))return e;for(let t,i=0;void 0!==(t=E[i]);i++)if((u.alias[t]||[]).includes(e))return t;return e}))}))).filter((({normalizedKeys:e})=>e.length>0)).map((({groupName:e,normalizedKeys:t})=>{const i=t.reduce(((t,i)=>(t[i]=[i].concat(u.alias[i]||[]).map((t=>e===n.getPositionalGroupName()?t:(/^[0-9]$/.test(t)?u.boolean.includes(i)?"-":"--":t.length>1?"--":"-")+t)).sort(((e,t)=>k(e)===k(t)?0:k(e)?1:-1)).join(", "),t)),{});return{groupName:e,normalizedKeys:t,switches:i}}));if(C.filter((({groupName:e})=>e!==n.getPositionalGroupName())).some((({normalizedKeys:e,switches:t})=>!e.every((e=>k(t[e])))))&&C.filter((({groupName:e})=>e!==n.getPositionalGroupName())).forEach((({normalizedKeys:e,switches:t})=>{e.forEach((e=>{var i;k(t[e])&&(t[e]=$(i=t[e])?{text:i.text,indentation:i.indentation+4}:{text:i,indentation:4})}))})),C.forEach((({groupName:t,normalizedKeys:a,switches:o})=>{v.div(t),a.forEach((t=>{const a=o[t];let c=h[t]||"",l=null;c.includes(x)&&(c=i(c.substring(16))),u.boolean.includes(t)&&(l=`[${i("boolean")}]`),u.count.includes(t)&&(l=`[${i("count")}]`),u.string.includes(t)&&(l=`[${i("string")}]`),u.normalize.includes(t)&&(l=`[${i("string")}]`),u.array.includes(t)&&(l=`[${i("array")}]`),u.number.includes(t)&&(l=`[${i("number")}]`);const p=[t in r?(d=r[t],"string"==typeof d?`[${i("deprecated: %s",d)}]`:`[${i("deprecated")}]`):null,l,t in s?`[${i("required")}]`:null,u.choices&&u.choices[t]?`[${i("choices:")} ${n.stringifiedValues(u.choices[t])}]`:null,_(u.default[t],u.defaultDescription[t])].filter(Boolean).join(" ");var d;v.span({text:T(a),padding:[0,2,0,2+P(a)],width:y(o,b)+4},c);const f=!0===e.getInternalMethods().getUsageConfiguration()["hide-types"];p&&!f?v.div({text:p,padding:[0,0,0,2],align:"right"}):v.div()})),v.div()})),d.length&&(v.div(i("Examples:")),d.forEach((e=>{e[0]=e[0].replace(/\$0/g,a)})),d.forEach((e=>{""===e[1]?v.div({text:e[0],padding:[0,2,0,2]}):v.div({text:e[0],padding:[0,2,0,2],width:y(d,b)+4},{text:e[1]})})),v.div()),m.length>0){const e=m.map((e=>e.replace(/\$0/g,a))).join("\n");v.div(`${e}\n`)}return v.toString().replace(/\s*$/,"")},n.cacheHelpMessage=function(){w=this.help()},n.clearCachedHelpMessage=function(){w=void 0},n.hasCachedHelpMessage=function(){return!!w},n.showHelp=t=>{const i=e.getInternalMethods().getLoggerInstance();t||(t="error"),("function"==typeof t?t:i[t])(n.help())},n.functionDescription=e=>["(",e.name?t.Parser.decamelize(e.name,"-"):i("generated-value"),")"].join(""),n.stringifiedValues=function(e,t){let i="";const n=t||", ",a=[].concat(e);return e&&a.length?(a.forEach((e=>{i.length&&(i+=n),i+=JSON.stringify(e)})),i):i};let E=null;n.version=e=>{E=e},n.showVersion=t=>{const i=e.getInternalMethods().getLoggerInstance();t||(t="error"),("function"==typeof t?t:i[t])(E)},n.reset=function(e){return o=null,u=!1,l=[],p=!1,m=[],d=[],f=[],h=v(h,(t=>!e[t])),n};const F=[];return n.freeze=function(){F.push({failMessage:o,failureOutput:u,usages:l,usageDisabled:p,epilogs:m,examples:d,commands:f,descriptions:h})},n.unfreeze=function(e=!1){const t=F.pop();t&&(e?(h={...t.descriptions,...h},f=[...t.commands,...f],l=[...t.usages,...l],d=[...t.examples,...d],m=[...t.epilogs,...m]):({failMessage:o,failureOutput:u,usages:l,usageDisabled:p,epilogs:m,examples:d,commands:f,descriptions:h}=t))},n}function $(e){return"object"==typeof e}function P(e){return $(e)?e.indentation:0}function T(e){return $(e)?e.text:e}class I{constructor(e,t,i,n){var a,s,o;this.yargs=e,this.usage=t,this.command=i,this.shim=n,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=null!==(o=(null===(a=this.shim.getEnv("SHELL"))||void 0===a?void 0:a.includes("zsh"))||(null===(s=this.shim.getEnv("ZSH_NAME"))||void 0===s?void 0:s.includes("zsh")))&&void 0!==o&&o}defaultCompletion(e,t,i,n){const a=this.command.getCommandHandlers();for(let t=0,i=e.length;t<i;++t)if(a[e[t]]&&a[e[t]].builder){const i=a[e[t]].builder;if(A(i)){this.indexAfterLastReset=t+1;const e=this.yargs.getInternalMethods().reset();return i(e,!0),e.argv}}const s=[];this.commandCompletions(s,e,i),this.optionCompletions(s,e,t,i),this.choicesFromOptionsCompletions(s,e,t,i),this.choicesFromPositionalsCompletions(s,e,t,i),n(null,s)}commandCompletions(e,t,i){const n=this.yargs.getInternalMethods().getContext().commands;i.match(/^-/)||n[n.length-1]===i||this.previousArgHasChoices(t)||this.usage.getCommands().forEach((i=>{const n=u(i[0]).cmd;if(-1===t.indexOf(n))if(this.zshShell){const t=i[1]||"";e.push(n.replace(/:/g,"\\:")+":"+t)}else e.push(n)}))}optionCompletions(e,t,i,n){if((n.match(/^-/)||""===n&&0===e.length)&&!this.previousArgHasChoices(t)){const i=this.yargs.getOptions(),a=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(i.key).forEach((s=>{const o=!!i.configuration["boolean-negation"]&&i.boolean.includes(s);a.includes(s)||i.hiddenOptions.includes(s)||this.argsContainKey(t,s,o)||this.completeOptionKey(s,e,n,o&&!!i.default[s])}))}}choicesFromOptionsCompletions(e,t,i,n){if(this.previousArgHasChoices(t)){const i=this.getPreviousArgChoices(t);i&&i.length>0&&e.push(...i.map((e=>e.replace(/:/g,"\\:"))))}}choicesFromPositionalsCompletions(e,t,i,n){if(""===n&&e.length>0&&this.previousArgHasChoices(t))return;const a=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],s=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),o=a[i._.length-s-1];if(!o)return;const r=this.yargs.getOptions().choices[o]||[];for(const t of r)t.startsWith(n)&&e.push(t.replace(/:/g,"\\:"))}getPreviousArgChoices(e){if(e.length<1)return;let t=e[e.length-1],i="";if(!t.startsWith("-")&&e.length>1&&(i=t,t=e[e.length-2]),!t.startsWith("-"))return;const n=t.replace(/^-+/,""),a=this.yargs.getOptions(),s=[n,...this.yargs.getAliases()[n]||[]];let o;for(const e of s)if(Object.prototype.hasOwnProperty.call(a.key,e)&&Array.isArray(a.choices[e])){o=a.choices[e];break}return o?o.filter((e=>!i||e.startsWith(i))):void 0}previousArgHasChoices(e){const t=this.getPreviousArgChoices(e);return void 0!==t&&t.length>0}argsContainKey(e,t,i){const n=t=>-1!==e.indexOf((/^[^0-9]$/.test(t)?"-":"--")+t);if(n(t))return!0;if(i&&n(`no-${t}`))return!0;if(this.aliases)for(const e of this.aliases[t])if(n(e))return!0;return!1}completeOptionKey(e,t,i,n){var a,s,o,r;let c=e;if(this.zshShell){const t=this.usage.getDescriptions(),i=null===(s=null===(a=null==this?void 0:this.aliases)||void 0===a?void 0:a[e])||void 0===s?void 0:s.find((e=>{const i=t[e];return"string"==typeof i&&i.length>0})),n=i?t[i]:void 0,u=null!==(r=null!==(o=t[e])&&void 0!==o?o:n)&&void 0!==r?r:"";c=`${e.replace(/:/g,"\\:")}:${u.replace("__yargsString__:","").replace(/(\r\n|\n|\r)/gm," ")}`}const u=!/^--/.test(i)&&(e=>/^[^0-9]$/.test(e))(e)?"-":"--";t.push(u+c),n&&t.push(u+"no-"+c)}customCompletion(e,t,i,n){if(m(this.customCompletionFunction,null,this.shim),this.customCompletionFunction.length<3){const e=this.customCompletionFunction(i,t);return h(e)?e.then((e=>{this.shim.process.nextTick((()=>{n(null,e)}))})).catch((e=>{this.shim.process.nextTick((()=>{n(e,void 0)}))})):n(null,e)}return function(e){return e.length>3}(this.customCompletionFunction)?this.customCompletionFunction(i,t,((a=n)=>this.defaultCompletion(e,t,i,a)),(e=>{n(null,e)})):this.customCompletionFunction(i,t,(e=>{n(null,e)}))}getCompletion(e,t){const i=e.length?e[e.length-1]:"",n=this.yargs.parse(e,!0),a=this.customCompletionFunction?n=>this.customCompletion(e,n,i,t):n=>this.defaultCompletion(e,n,i,t);return h(n)?n.then(a):a(n)}generateCompletionScript(e,t){let i=this.zshShell?'#compdef {{app_name}}\n###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.zshrc\n# or {{app_path}} {{completion_command}} >> ~/.zprofile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local reply\n local si=$IFS\n IFS=$\'\n\' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" {{app_path}} --get-yargs-completions "${words[@]}"))\n IFS=$si\n _describe \'values\' reply\n}\ncompdef _{{app_name}}_yargs_completions {{app_name}}\n###-end-{{app_name}}-completions-###\n':'###-begin-{{app_name}}-completions-###\n#\n# yargs command completion script\n#\n# Installation: {{app_path}} {{completion_command}} >> ~/.bashrc\n# or {{app_path}} {{completion_command}} >> ~/.bash_profile on OSX.\n#\n_{{app_name}}_yargs_completions()\n{\n local cur_word args type_list\n\n cur_word="${COMP_WORDS[COMP_CWORD]}"\n args=("${COMP_WORDS[@]}")\n\n # ask yargs to generate completions.\n type_list=$({{app_path}} --get-yargs-completions "${args[@]}")\n\n COMPREPLY=( $(compgen -W "${type_list}" -- ${cur_word}) )\n\n # if no match was found, fall back to filename completion\n if [ ${#COMPREPLY[@]} -eq 0 ]; then\n COMPREPLY=()\n fi\n\n return 0\n}\ncomplete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name}}\n###-end-{{app_name}}-completions-###\n';const n=this.shim.path.basename(e);return e.match(/\.js$/)&&(e=`./${e}`),i=i.replace(/{{app_name}}/g,n),i=i.replace(/{{completion_command}}/g,t),i.replace(/{{app_path}}/g,e)}registerFunction(e){this.customCompletionFunction=e}setParsed(e){this.aliases=e.aliases}}function M(e,t){if(0===e.length)return t.length;if(0===t.length)return e.length;const i=[];let n,a;for(n=0;n<=t.length;n++)i[n]=[n];for(a=0;a<=e.length;a++)i[0][a]=a;for(n=1;n<=t.length;n++)for(a=1;a<=e.length;a++)t.charAt(n-1)===e.charAt(a-1)?i[n][a]=i[n-1][a-1]:n>1&&a>1&&t.charAt(n-2)===e.charAt(a-1)&&t.charAt(n-1)===e.charAt(a-2)?i[n][a]=i[n-2][a-2]+1:i[n][a]=Math.min(i[n-1][a-1]+1,Math.min(i[n][a-1]+1,i[n-1][a]+1));return i[t.length][e.length]}const z=["$0","--","_"];var N,U,L,q,H,W,G,V,K,Y,Z,J,Q,X,ee,te,ie,ne,ae,se,oe,re,ce,ue,le,pe,de,fe,he,me,ge,be,ve,xe,ye;const we=Symbol("copyDoubleDash"),De=Symbol("copyDoubleDash"),_e=Symbol("deleteFromParserHintObject"),Ee=Symbol("emitWarning"),Fe=Symbol("freeze"),ke=Symbol("getDollarZero"),Ce=Symbol("getParserConfiguration"),je=Symbol("getUsageConfiguration"),Oe=Symbol("guessLocale"),Ae=Symbol("guessVersion"),Se=Symbol("parsePositionalNumbers"),Be=Symbol("pkgUp"),Re=Symbol("populateParserHintArray"),$e=Symbol("populateParserHintSingleValueDictionary"),Pe=Symbol("populateParserHintArrayDictionary"),Te=Symbol("populateParserHintDictionary"),Ie=Symbol("sanitizeKey"),Me=Symbol("setKey"),ze=Symbol("unfreeze"),Ne=Symbol("validateAsync"),Ue=Symbol("getCommandInstance"),Le=Symbol("getContext"),qe=Symbol("getHasOutput"),He=Symbol("getLoggerInstance"),We=Symbol("getParseContext"),Ge=Symbol("getUsageInstance"),Ve=Symbol("getValidationInstance"),Ke=Symbol("hasParseCallback"),Ye=Symbol("isGlobalContext"),Ze=Symbol("postProcess"),Je=Symbol("rebase"),Qe=Symbol("reset"),Xe=Symbol("runYargsParserAndExecuteCommands"),et=Symbol("runValidation"),tt=Symbol("setHasOutput"),it=Symbol("kTrackManuallySetKeys");class nt{constructor(e=[],t,i,n){this.customScriptName=!1,this.parsed=!1,N.set(this,void 0),U.set(this,void 0),L.set(this,{commands:[],fullCommands:[]}),q.set(this,null),H.set(this,null),W.set(this,"show-hidden"),G.set(this,null),V.set(this,!0),K.set(this,{}),Y.set(this,!0),Z.set(this,[]),J.set(this,void 0),Q.set(this,{}),X.set(this,!1),ee.set(this,null),te.set(this,!0),ie.set(this,void 0),ne.set(this,""),ae.set(this,void 0),se.set(this,void 0),oe.set(this,{}),re.set(this,null),ce.set(this,null),ue.set(this,{}),le.set(this,{}),pe.set(this,void 0),de.set(this,!1),fe.set(this,void 0),he.set(this,!1),me.set(this,!1),ge.set(this,!1),be.set(this,void 0),ve.set(this,{}),xe.set(this,null),ye.set(this,void 0),_(this,fe,n,"f"),_(this,pe,e,"f"),_(this,U,t,"f"),_(this,se,i,"f"),_(this,J,new E(this),"f"),this.$0=this[ke](),this[Qe](),_(this,N,D(this,N,"f"),"f"),_(this,be,D(this,be,"f"),"f"),_(this,ye,D(this,ye,"f"),"f"),_(this,ae,D(this,ae,"f"),"f"),D(this,ae,"f").showHiddenOpt=D(this,W,"f"),_(this,ie,this[De](),"f")}addHelpOpt(e,t){return p("[string|boolean] [string]",[e,t],arguments.length),D(this,ee,"f")&&(this[_e](D(this,ee,"f")),_(this,ee,null,"f")),!1===e&&void 0===t||(_(this,ee,"string"==typeof e?e:"help","f"),this.boolean(D(this,ee,"f")),this.describe(D(this,ee,"f"),t||D(this,be,"f").deferY18nLookup("Show help"))),this}help(e,t){return this.addHelpOpt(e,t)}addShowHiddenOpt(e,t){if(p("[string|boolean] [string]",[e,t],arguments.length),!1===e&&void 0===t)return this;const i="string"==typeof e?e:D(this,W,"f");return this.boolean(i),this.describe(i,t||D(this,be,"f").deferY18nLookup("Show hidden options")),D(this,ae,"f").showHiddenOpt=i,this}showHidden(e,t){return this.addShowHiddenOpt(e,t)}alias(e,t){return p("<object|string|array> [string|array]",[e,t],arguments.length),this[Pe](this.alias.bind(this),"alias",e,t),this}array(e){return p("<array|string>",[e],arguments.length),this[Re]("array",e),this[it](e),this}boolean(e){return p("<array|string>",[e],arguments.length),this[Re]("boolean",e),this[it](e),this}check(e,t){return p("<function> [boolean]",[e,t],arguments.length),this.middleware(((t,i)=>k((()=>e(t,i.getOptions())),(i=>(i?("string"==typeof i||i instanceof Error)&&D(this,be,"f").fail(i.toString(),i):D(this,be,"f").fail(D(this,fe,"f").y18n.__("Argument check failed: %s",e.toString())),t)),(e=>(D(this,be,"f").fail(e.message?e.message:e.toString(),e),t)))),!1,t),this}choices(e,t){return p("<object|string|array> [string|array]",[e,t],arguments.length),this[Pe](this.choices.bind(this),"choices",e,t),this}coerce(e,t){if(p("<object|string|array> [function]",[e,t],arguments.length),Array.isArray(e)){if(!t)throw new a("coerce callback must be provided");for(const i of e)this.coerce(i,t);return this}if("object"==typeof e){for(const t of Object.keys(e))this.coerce(t,e[t]);return this}if(!t)throw new a("coerce callback must be provided");return D(this,ae,"f").key[e]=!0,D(this,J,"f").addCoerceMiddleware(((i,n)=>{let s;return Object.prototype.hasOwnProperty.call(i,e)?k((()=>(s=n.getAliases(),t(i[e]))),(t=>{i[e]=t;const a=n.getInternalMethods().getParserConfiguration()["strip-aliased"];if(s[e]&&!0!==a)for(const n of s[e])i[n]=t;return i}),(e=>{throw new a(e.message)})):i}),e),this}conflicts(e,t){return p("<string|object> [string|array]",[e,t],arguments.length),D(this,ye,"f").conflicts(e,t),this}config(e="config",t,i){return p("[object|string] [string|function] [function]",[e,t,i],arguments.length),"object"!=typeof e||Array.isArray(e)?("function"==typeof t&&(i=t,t=void 0),this.describe(e,t||D(this,be,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(e)?e:[e]).forEach((e=>{D(this,ae,"f").config[e]=i||!0})),this):(e=r(e,D(this,U,"f"),this[Ce]()["deep-merge-config"]||!1,D(this,fe,"f")),D(this,ae,"f").configObjects=(D(this,ae,"f").configObjects||[]).concat(e),this)}completion(e,t,i){return p("[string] [string|boolean|function] [function]",[e,t,i],arguments.length),"function"==typeof t&&(i=t,t=void 0),_(this,H,e||D(this,H,"f")||"completion","f"),t||!1===t||(t="generate completion script"),this.command(D(this,H,"f"),t),i&&D(this,q,"f").registerFunction(i),this}command(e,t,i,n,a,s){return p("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[e,t,i,n,a,s],arguments.length),D(this,N,"f").addHandler(e,t,i,n,a,s),this}commands(e,t,i,n,a,s){return this.command(e,t,i,n,a,s)}commandDir(e,t){p("<string> [object]",[e,t],arguments.length);const i=D(this,se,"f")||D(this,fe,"f").require;return D(this,N,"f").addDirectory(e,i,D(this,fe,"f").getCallerFile(),t),this}count(e){return p("<array|string>",[e],arguments.length),this[Re]("count",e),this[it](e),this}default(e,t,i){return p("<object|string|array> [*] [string]",[e,t,i],arguments.length),i&&(g(e,D(this,fe,"f")),D(this,ae,"f").defaultDescription[e]=i),"function"==typeof t&&(g(e,D(this,fe,"f")),D(this,ae,"f").defaultDescription[e]||(D(this,ae,"f").defaultDescription[e]=D(this,be,"f").functionDescription(t)),t=t.call()),this[$e](this.default.bind(this),"default",e,t),this}defaults(e,t,i){return this.default(e,t,i)}demandCommand(e=1,t,i,n){return p("[number] [number|string] [string|null|undefined] [string|null|undefined]",[e,t,i,n],arguments.length),"number"!=typeof t&&(i=t,t=1/0),this.global("_",!1),D(this,ae,"f").demandedCommands._={min:e,max:t,minMsg:i,maxMsg:n},this}demand(e,t,i){return Array.isArray(t)?(t.forEach((e=>{m(i,!0,D(this,fe,"f")),this.demandOption(e,i)})),t=1/0):"number"!=typeof t&&(i=t,t=1/0),"number"==typeof e?(m(i,!0,D(this,fe,"f")),this.demandCommand(e,t,i,i)):Array.isArray(e)?e.forEach((e=>{m(i,!0,D(this,fe,"f")),this.demandOption(e,i)})):"string"==typeof i?this.demandOption(e,i):!0!==i&&void 0!==i||this.demandOption(e),this}demandOption(e,t){return p("<object|string|array> [string]",[e,t],arguments.length),this[$e](this.demandOption.bind(this),"demandedOptions",e,t),this}deprecateOption(e,t){return p("<string> [string|boolean]",[e,t],arguments.length),D(this,ae,"f").deprecatedOptions[e]=t,this}describe(e,t){return p("<object|string|array> [string]",[e,t],arguments.length),this[Me](e,!0),D(this,be,"f").describe(e,t),this}detectLocale(e){return p("<boolean>",[e],arguments.length),_(this,V,e,"f"),this}env(e){return p("[string|boolean]",[e],arguments.length),!1===e?delete D(this,ae,"f").envPrefix:D(this,ae,"f").envPrefix=e||"",this}epilogue(e){return p("<string>",[e],arguments.length),D(this,be,"f").epilog(e),this}epilog(e){return this.epilogue(e)}example(e,t){return p("<string|array> [string]",[e,t],arguments.length),Array.isArray(e)?e.forEach((e=>this.example(...e))):D(this,be,"f").example(e,t),this}exit(e,t){_(this,X,!0,"f"),_(this,G,t,"f"),D(this,Y,"f")&&D(this,fe,"f").process.exit(e)}exitProcess(e=!0){return p("[boolean]",[e],arguments.length),_(this,Y,e,"f"),this}fail(e){if(p("<function|boolean>",[e],arguments.length),"boolean"==typeof e&&!1!==e)throw new a("Invalid first argument. Expected function or boolean 'false'");return D(this,be,"f").failFn(e),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(e,t){return p("<array> [function]",[e,t],arguments.length),t?D(this,q,"f").getCompletion(e,t):new Promise(((t,i)=>{D(this,q,"f").getCompletion(e,((e,n)=>{e?i(e):t(n)}))}))}getDemandedOptions(){return p([],0),D(this,ae,"f").demandedOptions}getDemandedCommands(){return p([],0),D(this,ae,"f").demandedCommands}getDeprecatedOptions(){return p([],0),D(this,ae,"f").deprecatedOptions}getDetectLocale(){return D(this,V,"f")}getExitProcess(){return D(this,Y,"f")}getGroups(){return Object.assign({},D(this,Q,"f"),D(this,le,"f"))}getHelp(){if(_(this,X,!0,"f"),!D(this,be,"f").hasCachedHelpMessage()){if(!this.parsed){const e=this[Xe](D(this,pe,"f"),void 0,void 0,0,!0);if(h(e))return e.then((()=>D(this,be,"f").help()))}const e=D(this,N,"f").runDefaultBuilderOn(this);if(h(e))return e.then((()=>D(this,be,"f").help()))}return Promise.resolve(D(this,be,"f").help())}getOptions(){return D(this,ae,"f")}getStrict(){return D(this,he,"f")}getStrictCommands(){return D(this,me,"f")}getStrictOptions(){return D(this,ge,"f")}global(e,t){return p("<string|array> [boolean]",[e,t],arguments.length),e=[].concat(e),!1!==t?D(this,ae,"f").local=D(this,ae,"f").local.filter((t=>-1===e.indexOf(t))):e.forEach((e=>{D(this,ae,"f").local.includes(e)||D(this,ae,"f").local.push(e)})),this}group(e,t){p("<string|array> <string>",[e,t],arguments.length);const i=D(this,le,"f")[t]||D(this,Q,"f")[t];D(this,le,"f")[t]&&delete D(this,le,"f")[t];const n={};return D(this,Q,"f")[t]=(i||[]).concat(e).filter((e=>!n[e]&&(n[e]=!0))),this}hide(e){return p("<string>",[e],arguments.length),D(this,ae,"f").hiddenOptions.push(e),this}implies(e,t){return p("<string|object> [number|string|array]",[e,t],arguments.length),D(this,ye,"f").implies(e,t),this}locale(e){return p("[string]",[e],arguments.length),void 0===e?(this[Oe](),D(this,fe,"f").y18n.getLocale()):(_(this,V,!1,"f"),D(this,fe,"f").y18n.setLocale(e),this)}middleware(e,t,i){return D(this,J,"f").addMiddleware(e,!!t,i)}nargs(e,t){return p("<string|object|array> [number]",[e,t],arguments.length),this[$e](this.nargs.bind(this),"narg",e,t),this}normalize(e){return p("<array|string>",[e],arguments.length),this[Re]("normalize",e),this}number(e){return p("<array|string>",[e],arguments.length),this[Re]("number",e),this[it](e),this}option(e,t){if(p("<string|object> [object]",[e,t],arguments.length),"object"==typeof e)Object.keys(e).forEach((t=>{this.options(t,e[t])}));else{"object"!=typeof t&&(t={}),this[it](e),!D(this,xe,"f")||"version"!==e&&"version"!==(null==t?void 0:t.alias)||this[Ee](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join("\n"),void 0,"versionWarning"),D(this,ae,"f").key[e]=!0,t.alias&&this.alias(e,t.alias);const i=t.deprecate||t.deprecated;i&&this.deprecateOption(e,i);const n=t.demand||t.required||t.require;n&&this.demand(e,n),t.demandOption&&this.demandOption(e,"string"==typeof t.demandOption?t.demandOption:void 0),t.conflicts&&this.conflicts(e,t.conflicts),"default"in t&&this.default(e,t.default),void 0!==t.implies&&this.implies(e,t.implies),void 0!==t.nargs&&this.nargs(e,t.nargs),t.config&&this.config(e,t.configParser),t.normalize&&this.normalize(e),t.choices&&this.choices(e,t.choices),t.coerce&&this.coerce(e,t.coerce),t.group&&this.group(e,t.group),(t.boolean||"boolean"===t.type)&&(this.boolean(e),t.alias&&this.boolean(t.alias)),(t.array||"array"===t.type)&&(this.array(e),t.alias&&this.array(t.alias)),(t.number||"number"===t.type)&&(this.number(e),t.alias&&this.number(t.alias)),(t.string||"string"===t.type)&&(this.string(e),t.alias&&this.string(t.alias)),(t.count||"count"===t.type)&&this.count(e),"boolean"==typeof t.global&&this.global(e,t.global),t.defaultDescription&&(D(this,ae,"f").defaultDescription[e]=t.defaultDescription),t.skipValidation&&this.skipValidation(e);const a=t.describe||t.description||t.desc,s=D(this,be,"f").getDescriptions();Object.prototype.hasOwnProperty.call(s,e)&&"string"!=typeof a||this.describe(e,a),t.hidden&&this.hide(e),t.requiresArg&&this.requiresArg(e)}return this}options(e,t){return this.option(e,t)}parse(e,t,i){p("[string|array] [function|boolean|object] [function]",[e,t,i],arguments.length),this[Fe](),void 0===e&&(e=D(this,pe,"f")),"object"==typeof t&&(_(this,ce,t,"f"),t=i),"function"==typeof t&&(_(this,re,t,"f"),t=!1),t||_(this,pe,e,"f"),D(this,re,"f")&&_(this,Y,!1,"f");const n=this[Xe](e,!!t),a=this.parsed;return D(this,q,"f").setParsed(this.parsed),h(n)?n.then((e=>(D(this,re,"f")&&D(this,re,"f").call(this,D(this,G,"f"),e,D(this,ne,"f")),e))).catch((e=>{throw D(this,re,"f")&&D(this,re,"f")(e,this.parsed.argv,D(this,ne,"f")),e})).finally((()=>{this[ze](),this.parsed=a})):(D(this,re,"f")&&D(this,re,"f").call(this,D(this,G,"f"),n,D(this,ne,"f")),this[ze](),this.parsed=a,n)}parseAsync(e,t,i){const n=this.parse(e,t,i);return h(n)?n:Promise.resolve(n)}parseSync(e,t,i){const n=this.parse(e,t,i);if(h(n))throw new a(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return n}parserConfiguration(e){return p("<object>",[e],arguments.length),_(this,oe,e,"f"),this}pkgConf(e,t){p("<string> [string]",[e,t],arguments.length);let i=null;const n=this[Be](t||D(this,U,"f"));return n[e]&&"object"==typeof n[e]&&(i=r(n[e],t||D(this,U,"f"),this[Ce]()["deep-merge-config"]||!1,D(this,fe,"f")),D(this,ae,"f").configObjects=(D(this,ae,"f").configObjects||[]).concat(i)),this}positional(e,t){p("<string> <object>",[e,t],arguments.length);const i=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];t=v(t,((e,t)=>!("type"===e&&!["string","number","boolean"].includes(t))&&i.includes(e)));const n=D(this,L,"f").fullCommands[D(this,L,"f").fullCommands.length-1],a=n?D(this,N,"f").cmdToParseOptions(n):{array:[],alias:{},default:{},demand:{}};return b(a).forEach((i=>{const n=a[i];Array.isArray(n)?-1!==n.indexOf(e)&&(t[i]=!0):n[e]&&!(i in t)&&(t[i]=n[e])})),this.group(e,D(this,be,"f").getPositionalGroupName()),this.option(e,t)}recommendCommands(e=!0){return p("[boolean]",[e],arguments.length),_(this,de,e,"f"),this}required(e,t,i){return this.demand(e,t,i)}require(e,t,i){return this.demand(e,t,i)}requiresArg(e){return p("<array|string|object> [number]",[e],arguments.length),"string"==typeof e&&D(this,ae,"f").narg[e]||this[$e](this.requiresArg.bind(this),"narg",e,NaN),this}showCompletionScript(e,t){return p("[string] [string]",[e,t],arguments.length),e=e||this.$0,D(this,ie,"f").log(D(this,q,"f").generateCompletionScript(e,t||D(this,H,"f")||"completion")),this}showHelp(e){if(p("[string|function]",[e],arguments.length),_(this,X,!0,"f"),!D(this,be,"f").hasCachedHelpMessage()){if(!this.parsed){const t=this[Xe](D(this,pe,"f"),void 0,void 0,0,!0);if(h(t))return t.then((()=>{D(this,be,"f").showHelp(e)})),this}const t=D(this,N,"f").runDefaultBuilderOn(this);if(h(t))return t.then((()=>{D(this,be,"f").showHelp(e)})),this}return D(this,be,"f").showHelp(e),this}scriptName(e){return this.customScriptName=!0,this.$0=e,this}showHelpOnFail(e,t){return p("[boolean|string] [string]",[e,t],arguments.length),D(this,be,"f").showHelpOnFail(e,t),this}showVersion(e){return p("[string|function]",[e],arguments.length),D(this,be,"f").showVersion(e),this}skipValidation(e){return p("<array|string>",[e],arguments.length),this[Re]("skipValidation",e),this}strict(e){return p("[boolean]",[e],arguments.length),_(this,he,!1!==e,"f"),this}strictCommands(e){return p("[boolean]",[e],arguments.length),_(this,me,!1!==e,"f"),this}strictOptions(e){return p("[boolean]",[e],arguments.length),_(this,ge,!1!==e,"f"),this}string(e){return p("<array|string>",[e],arguments.length),this[Re]("string",e),this[it](e),this}terminalWidth(){return p([],0),D(this,fe,"f").process.stdColumns}updateLocale(e){return this.updateStrings(e)}updateStrings(e){return p("<object>",[e],arguments.length),_(this,V,!1,"f"),D(this,fe,"f").y18n.updateLocale(e),this}usage(e,t,i,n){if(p("<string|null|undefined> [string|boolean] [function|object] [function]",[e,t,i,n],arguments.length),void 0!==t){if(m(e,null,D(this,fe,"f")),(e||"").match(/^\$0( |$)/))return this.command(e,t,i,n);throw new a(".usage() description must start with $0 if being used as alias for .command()")}return D(this,be,"f").usage(e),this}usageConfiguration(e){return p("<object>",[e],arguments.length),_(this,ve,e,"f"),this}version(e,t,i){const n="version";if(p("[boolean|string] [string] [string]",[e,t,i],arguments.length),D(this,xe,"f")&&(this[_e](D(this,xe,"f")),D(this,be,"f").version(void 0),_(this,xe,null,"f")),0===arguments.length)i=this[Ae](),e=n;else if(1===arguments.length){if(!1===e)return this;i=e,e=n}else 2===arguments.length&&(i=t,t=void 0);return _(this,xe,"string"==typeof e?e:n,"f"),t=t||D(this,be,"f").deferY18nLookup("Show version number"),D(this,be,"f").version(i||void 0),this.boolean(D(this,xe,"f")),this.describe(D(this,xe,"f"),t),this}wrap(e){return p("<number|null|undefined>",[e],arguments.length),D(this,be,"f").wrap(e),this}[(N=new WeakMap,U=new WeakMap,L=new WeakMap,q=new WeakMap,H=new WeakMap,W=new WeakMap,G=new WeakMap,V=new WeakMap,K=new WeakMap,Y=new WeakMap,Z=new WeakMap,J=new WeakMap,Q=new WeakMap,X=new WeakMap,ee=new WeakMap,te=new WeakMap,ie=new WeakMap,ne=new WeakMap,ae=new WeakMap,se=new WeakMap,oe=new WeakMap,re=new WeakMap,ce=new WeakMap,ue=new WeakMap,le=new WeakMap,pe=new WeakMap,de=new WeakMap,fe=new WeakMap,he=new WeakMap,me=new WeakMap,ge=new WeakMap,be=new WeakMap,ve=new WeakMap,xe=new WeakMap,ye=new WeakMap,we)](e){if(!e._||!e["--"])return e;e._.push.apply(e._,e["--"]);try{delete e["--"]}catch(e){}return e}[De](){return{log:(...e)=>{this[Ke]()||console.log(...e),_(this,X,!0,"f"),D(this,ne,"f").length&&_(this,ne,D(this,ne,"f")+"\n","f"),_(this,ne,D(this,ne,"f")+e.join(" "),"f")},error:(...e)=>{this[Ke]()||console.error(...e),_(this,X,!0,"f"),D(this,ne,"f").length&&_(this,ne,D(this,ne,"f")+"\n","f"),_(this,ne,D(this,ne,"f")+e.join(" "),"f")}}}[_e](e){b(D(this,ae,"f")).forEach((t=>{if("configObjects"===t)return;const i=D(this,ae,"f")[t];Array.isArray(i)?i.includes(e)&&i.splice(i.indexOf(e),1):"object"==typeof i&&delete i[e]})),delete D(this,be,"f").getDescriptions()[e]}[Ee](e,t,i){D(this,K,"f")[i]||(D(this,fe,"f").process.emitWarning(e,t),D(this,K,"f")[i]=!0)}[Fe](){D(this,Z,"f").push({options:D(this,ae,"f"),configObjects:D(this,ae,"f").configObjects.slice(0),exitProcess:D(this,Y,"f"),groups:D(this,Q,"f"),strict:D(this,he,"f"),strictCommands:D(this,me,"f"),strictOptions:D(this,ge,"f"),completionCommand:D(this,H,"f"),output:D(this,ne,"f"),exitError:D(this,G,"f"),hasOutput:D(this,X,"f"),parsed:this.parsed,parseFn:D(this,re,"f"),parseContext:D(this,ce,"f")}),D(this,be,"f").freeze(),D(this,ye,"f").freeze(),D(this,N,"f").freeze(),D(this,J,"f").freeze()}[ke](){let e,t="";return e=/\b(node|iojs|electron)(\.exe)?$/.test(D(this,fe,"f").process.argv()[0])?D(this,fe,"f").process.argv().slice(1,2):D(this,fe,"f").process.argv().slice(0,1),t=e.map((e=>{const t=this[Je](D(this,U,"f"),e);return e.match(/^(\/|([a-zA-Z]:)?\\)/)&&t.length<e.length?t:e})).join(" ").trim(),D(this,fe,"f").getEnv("_")&&D(this,fe,"f").getProcessArgvBin()===D(this,fe,"f").getEnv("_")&&(t=D(this,fe,"f").getEnv("_").replace(`${D(this,fe,"f").path.dirname(D(this,fe,"f").process.execPath())}/`,"")),t}[Ce](){return D(this,oe,"f")}[je](){return D(this,ve,"f")}[Oe](){if(!D(this,V,"f"))return;const e=D(this,fe,"f").getEnv("LC_ALL")||D(this,fe,"f").getEnv("LC_MESSAGES")||D(this,fe,"f").getEnv("LANG")||D(this,fe,"f").getEnv("LANGUAGE")||"en_US";this.locale(e.replace(/[.:].*/,""))}[Ae](){return this[Be]().version||"unknown"}[Se](e){const t=e["--"]?e["--"]:e._;for(let e,i=0;void 0!==(e=t[i]);i++)D(this,fe,"f").Parser.looksLikeNumber(e)&&Number.isSafeInteger(Math.floor(parseFloat(`${e}`)))&&(t[i]=Number(e));return e}[Be](e){const t=e||"*";if(D(this,ue,"f")[t])return D(this,ue,"f")[t];let i={};try{let t=e||D(this,fe,"f").mainFilename;!e&&D(this,fe,"f").path.extname(t)&&(t=D(this,fe,"f").path.dirname(t));const n=D(this,fe,"f").findUp(t,((e,t)=>t.includes("package.json")?"package.json":void 0));m(n,void 0,D(this,fe,"f")),i=JSON.parse(D(this,fe,"f").readFileSync(n,"utf8"))}catch(e){}return D(this,ue,"f")[t]=i||{},D(this,ue,"f")[t]}[Re](e,t){(t=[].concat(t)).forEach((t=>{t=this[Ie](t),D(this,ae,"f")[e].push(t)}))}[$e](e,t,i,n){this[Te](e,t,i,n,((e,t,i)=>{D(this,ae,"f")[e][t]=i}))}[Pe](e,t,i,n){this[Te](e,t,i,n,((e,t,i)=>{D(this,ae,"f")[e][t]=(D(this,ae,"f")[e][t]||[]).concat(i)}))}[Te](e,t,i,n,a){if(Array.isArray(i))i.forEach((t=>{e(t,n)}));else if((e=>"object"==typeof e)(i))for(const t of b(i))e(t,i[t]);else a(t,this[Ie](i),n)}[Ie](e){return"__proto__"===e?"___proto___":e}[Me](e,t){return this[$e](this[Me].bind(this),"key",e,t),this}[ze](){var e,t,i,n,a,s,o,r,c,u,l,p;const d=D(this,Z,"f").pop();let f;m(d,void 0,D(this,fe,"f")),e=this,t=this,i=this,n=this,a=this,s=this,o=this,r=this,c=this,u=this,l=this,p=this,({options:{set value(t){_(e,ae,t,"f")}}.value,configObjects:f,exitProcess:{set value(e){_(t,Y,e,"f")}}.value,groups:{set value(e){_(i,Q,e,"f")}}.value,output:{set value(e){_(n,ne,e,"f")}}.value,exitError:{set value(e){_(a,G,e,"f")}}.value,hasOutput:{set value(e){_(s,X,e,"f")}}.value,parsed:this.parsed,strict:{set value(e){_(o,he,e,"f")}}.value,strictCommands:{set value(e){_(r,me,e,"f")}}.value,strictOptions:{set value(e){_(c,ge,e,"f")}}.value,completionCommand:{set value(e){_(u,H,e,"f")}}.value,parseFn:{set value(e){_(l,re,e,"f")}}.value,parseContext:{set value(e){_(p,ce,e,"f")}}.value}=d),D(this,ae,"f").configObjects=f,D(this,be,"f").unfreeze(),D(this,ye,"f").unfreeze(),D(this,N,"f").unfreeze(),D(this,J,"f").unfreeze()}[Ne](e,t){return k(t,(t=>(e(t),t)))}getInternalMethods(){return{getCommandInstance:this[Ue].bind(this),getContext:this[Le].bind(this),getHasOutput:this[qe].bind(this),getLoggerInstance:this[He].bind(this),getParseContext:this[We].bind(this),getParserConfiguration:this[Ce].bind(this),getUsageConfiguration:this[je].bind(this),getUsageInstance:this[Ge].bind(this),getValidationInstance:this[Ve].bind(this),hasParseCallback:this[Ke].bind(this),isGlobalContext:this[Ye].bind(this),postProcess:this[Ze].bind(this),reset:this[Qe].bind(this),runValidation:this[et].bind(this),runYargsParserAndExecuteCommands:this[Xe].bind(this),setHasOutput:this[tt].bind(this)}}[Ue](){return D(this,N,"f")}[Le](){return D(this,L,"f")}[qe](){return D(this,X,"f")}[He](){return D(this,ie,"f")}[We](){return D(this,ce,"f")||{}}[Ge](){return D(this,be,"f")}[Ve](){return D(this,ye,"f")}[Ke](){return!!D(this,re,"f")}[Ye](){return D(this,te,"f")}[Ze](e,t,i,n){return i||h(e)||(t||(e=this[we](e)),(this[Ce]()["parse-positional-numbers"]||void 0===this[Ce]()["parse-positional-numbers"])&&(e=this[Se](e)),n&&(e=F(e,this,D(this,J,"f").getMiddleware(),!1))),e}[Qe](e={}){_(this,ae,D(this,ae,"f")||{},"f");const t={};t.local=D(this,ae,"f").local||[],t.configObjects=D(this,ae,"f").configObjects||[];const i={};return t.local.forEach((t=>{i[t]=!0,(e[t]||[]).forEach((e=>{i[e]=!0}))})),Object.assign(D(this,le,"f"),Object.keys(D(this,Q,"f")).reduce(((e,t)=>{const n=D(this,Q,"f")[t].filter((e=>!(e in i)));return n.length>0&&(e[t]=n),e}),{})),_(this,Q,{},"f"),["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"].forEach((e=>{t[e]=(D(this,ae,"f")[e]||[]).filter((e=>!i[e]))})),["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"].forEach((e=>{t[e]=v(D(this,ae,"f")[e],(e=>!i[e]))})),t.envPrefix=D(this,ae,"f").envPrefix,_(this,ae,t,"f"),_(this,be,D(this,be,"f")?D(this,be,"f").reset(i):R(this,D(this,fe,"f")),"f"),_(this,ye,D(this,ye,"f")?D(this,ye,"f").reset(i):function(e,t,i){const n=i.y18n.__,a=i.y18n.__n,s={nonOptionCount:function(i){const n=e.getDemandedCommands(),s=i._.length+(i["--"]?i["--"].length:0)-e.getInternalMethods().getContext().commands.length;n._&&(s<n._.min||s>n._.max)&&(s<n._.min?void 0!==n._.minMsg?t.fail(n._.minMsg?n._.minMsg.replace(/\$0/g,s.toString()).replace(/\$1/,n._.min.toString()):null):t.fail(a("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",s,s.toString(),n._.min.toString())):s>n._.max&&(void 0!==n._.maxMsg?t.fail(n._.maxMsg?n._.maxMsg.replace(/\$0/g,s.toString()).replace(/\$1/,n._.max.toString()):null):t.fail(a("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",s,s.toString(),n._.max.toString()))))},positionalCount:function(e,i){i<e&&t.fail(a("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",i,i+"",e+""))},requiredArguments:function(e,i){let n=null;for(const t of Object.keys(i))Object.prototype.hasOwnProperty.call(e,t)&&void 0!==e[t]||(n=n||{},n[t]=i[t]);if(n){const e=[];for(const t of Object.keys(n)){const i=n[t];i&&e.indexOf(i)<0&&e.push(i)}const i=e.length?`\n${e.join("\n")}`:"";t.fail(a("Missing required argument: %s","Missing required arguments: %s",Object.keys(n).length,Object.keys(n).join(", ")+i))}},unknownArguments:function(i,n,o,r,c=!0){var u;const l=e.getInternalMethods().getCommandInstance().getCommands(),p=[],d=e.getInternalMethods().getContext();if(Object.keys(i).forEach((t=>{z.includes(t)||Object.prototype.hasOwnProperty.call(o,t)||Object.prototype.hasOwnProperty.call(e.getInternalMethods().getParseContext(),t)||s.isValidAndSomeAliasIsNotNew(t,n)||p.push(t)})),c&&(d.commands.length>0||l.length>0||r)&&i._.slice(d.commands.length).forEach((e=>{l.includes(""+e)||p.push(""+e)})),c){const t=(null===(u=e.getDemandedCommands()._)||void 0===u?void 0:u.max)||0,n=d.commands.length+t;n<i._.length&&i._.slice(n).forEach((e=>{e=String(e),d.commands.includes(e)||p.includes(e)||p.push(e)}))}p.length&&t.fail(a("Unknown argument: %s","Unknown arguments: %s",p.length,p.map((e=>e.trim()?e:`"${e}"`)).join(", ")))},unknownCommands:function(i){const n=e.getInternalMethods().getCommandInstance().getCommands(),s=[],o=e.getInternalMethods().getContext();return(o.commands.length>0||n.length>0)&&i._.slice(o.commands.length).forEach((e=>{n.includes(""+e)||s.push(""+e)})),s.length>0&&(t.fail(a("Unknown command: %s","Unknown commands: %s",s.length,s.join(", "))),!0)},isValidAndSomeAliasIsNotNew:function(t,i){if(!Object.prototype.hasOwnProperty.call(i,t))return!1;const n=e.parsed.newAliases;return[t,...i[t]].some((e=>!Object.prototype.hasOwnProperty.call(n,e)||!n[t]))},limitedChoices:function(i){const a=e.getOptions(),s={};if(!Object.keys(a.choices).length)return;Object.keys(i).forEach((e=>{-1===z.indexOf(e)&&Object.prototype.hasOwnProperty.call(a.choices,e)&&[].concat(i[e]).forEach((t=>{-1===a.choices[e].indexOf(t)&&void 0!==t&&(s[e]=(s[e]||[]).concat(t))}))}));const o=Object.keys(s);if(!o.length)return;let r=n("Invalid values:");o.forEach((e=>{r+=`\n ${n("Argument: %s, Given: %s, Choices: %s",e,t.stringifiedValues(s[e]),t.stringifiedValues(a.choices[e]))}`})),t.fail(r)}};let o={};function r(e,t){const i=Number(t);return"number"==typeof(t=isNaN(i)?t:i)?t=e._.length>=t:t.match(/^--no-.+/)?(t=t.match(/^--no-(.+)/)[1],t=!Object.prototype.hasOwnProperty.call(e,t)):t=Object.prototype.hasOwnProperty.call(e,t),t}s.implies=function(t,n){p("<string|object> [array|number|string]",[t,n],arguments.length),"object"==typeof t?Object.keys(t).forEach((e=>{s.implies(e,t[e])})):(e.global(t),o[t]||(o[t]=[]),Array.isArray(n)?n.forEach((e=>s.implies(t,e))):(m(n,void 0,i),o[t].push(n)))},s.getImplied=function(){return o},s.implications=function(e){const i=[];if(Object.keys(o).forEach((t=>{const n=t;(o[t]||[]).forEach((t=>{let a=n;const s=t;a=r(e,a),t=r(e,t),a&&!t&&i.push(` ${n} -> ${s}`)}))})),i.length){let e=`${n("Implications failed:")}\n`;i.forEach((t=>{e+=t})),t.fail(e)}};let c={};s.conflicts=function(t,i){p("<string|object> [array|string]",[t,i],arguments.length),"object"==typeof t?Object.keys(t).forEach((e=>{s.conflicts(e,t[e])})):(e.global(t),c[t]||(c[t]=[]),Array.isArray(i)?i.forEach((e=>s.conflicts(t,e))):c[t].push(i))},s.getConflicting=()=>c,s.conflicting=function(a){Object.keys(a).forEach((e=>{c[e]&&c[e].forEach((i=>{i&&void 0!==a[e]&&void 0!==a[i]&&t.fail(n("Arguments %s and %s are mutually exclusive",e,i))}))})),e.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(c).forEach((e=>{c[e].forEach((s=>{s&&void 0!==a[i.Parser.camelCase(e)]&&void 0!==a[i.Parser.camelCase(s)]&&t.fail(n("Arguments %s and %s are mutually exclusive",e,s))}))}))},s.recommendCommands=function(e,i){i=i.sort(((e,t)=>t.length-e.length));let a=null,s=1/0;for(let t,n=0;void 0!==(t=i[n]);n++){const i=M(e,t);i<=3&&i<s&&(s=i,a=t)}a&&t.fail(n("Did you mean %s?",a))},s.reset=function(e){return o=v(o,(t=>!e[t])),c=v(c,(t=>!e[t])),s};const u=[];return s.freeze=function(){u.push({implied:o,conflicting:c})},s.unfreeze=function(){const e=u.pop();m(e,void 0,i),({implied:o,conflicting:c}=e)},s}(this,D(this,be,"f"),D(this,fe,"f")),"f"),_(this,N,D(this,N,"f")?D(this,N,"f").reset():function(e,t,i,n){return new j(e,t,i,n)}(D(this,be,"f"),D(this,ye,"f"),D(this,J,"f"),D(this,fe,"f")),"f"),D(this,q,"f")||_(this,q,function(e,t,i,n){return new I(e,t,i,n)}(this,D(this,be,"f"),D(this,N,"f"),D(this,fe,"f")),"f"),D(this,J,"f").reset(),_(this,H,null,"f"),_(this,ne,"","f"),_(this,G,null,"f"),_(this,X,!1,"f"),this.parsed=!1,this}[Je](e,t){return D(this,fe,"f").path.relative(e,t)}[Xe](e,t,i,n=0,s=!1){let o=!!i||s;e=e||D(this,pe,"f"),D(this,ae,"f").__=D(this,fe,"f").y18n.__,D(this,ae,"f").configuration=this[Ce]();const r=!!D(this,ae,"f").configuration["populate--"],c=Object.assign({},D(this,ae,"f").configuration,{"populate--":!0}),u=D(this,fe,"f").Parser.detailed(e,Object.assign({},D(this,ae,"f"),{configuration:{"parse-positional-numbers":!1,...c}})),l=Object.assign(u.argv,D(this,ce,"f"));let p;const d=u.aliases;let f=!1,m=!1;Object.keys(l).forEach((e=>{e===D(this,ee,"f")&&l[e]?f=!0:e===D(this,xe,"f")&&l[e]&&(m=!0)})),l.$0=this.$0,this.parsed=u,0===n&&D(this,be,"f").clearCachedHelpMessage();try{if(this[Oe](),t)return this[Ze](l,r,!!i,!1);D(this,ee,"f")&&[D(this,ee,"f")].concat(d[D(this,ee,"f")]||[]).filter((e=>e.length>1)).includes(""+l._[l._.length-1])&&(l._.pop(),f=!0),_(this,te,!1,"f");const c=D(this,N,"f").getCommands(),g=D(this,q,"f").completionKey in l,b=f||g||s;if(l._.length){if(c.length){let e;for(let t,a=n||0;void 0!==l._[a];a++){if(t=String(l._[a]),c.includes(t)&&t!==D(this,H,"f")){const e=D(this,N,"f").runCommand(t,this,u,a+1,s,f||m||s);return this[Ze](e,r,!!i,!1)}if(!e&&t!==D(this,H,"f")){e=t;break}}!D(this,N,"f").hasDefaultCommand()&&D(this,de,"f")&&e&&!b&&D(this,ye,"f").recommendCommands(e,c)}D(this,H,"f")&&l._.includes(D(this,H,"f"))&&!g&&(D(this,Y,"f")&&S(!0),this.showCompletionScript(),this.exit(0))}if(D(this,N,"f").hasDefaultCommand()&&!b){const e=D(this,N,"f").runCommand(null,this,u,0,s,f||m||s);return this[Ze](e,r,!!i,!1)}if(g){D(this,Y,"f")&&S(!0);const t=(e=[].concat(e)).slice(e.indexOf(`--${D(this,q,"f").completionKey}`)+1);return D(this,q,"f").getCompletion(t,((e,t)=>{if(e)throw new a(e.message);(t||[]).forEach((e=>{D(this,ie,"f").log(e)})),this.exit(0)})),this[Ze](l,!r,!!i,!1)}if(D(this,X,"f")||(f?(D(this,Y,"f")&&S(!0),o=!0,this.showHelp("log"),this.exit(0)):m&&(D(this,Y,"f")&&S(!0),o=!0,D(this,be,"f").showVersion("log"),this.exit(0))),!o&&D(this,ae,"f").skipValidation.length>0&&(o=Object.keys(l).some((e=>D(this,ae,"f").skipValidation.indexOf(e)>=0&&!0===l[e]))),!o){if(u.error)throw new a(u.error.message);if(!g){const e=this[et](d,{},u.error);i||(p=F(l,this,D(this,J,"f").getMiddleware(),!0)),p=this[Ne](e,null!=p?p:l),h(p)&&!i&&(p=p.then((()=>F(l,this,D(this,J,"f").getMiddleware(),!1))))}}}catch(e){if(!(e instanceof a))throw e;D(this,be,"f").fail(e.message,e)}return this[Ze](null!=p?p:l,r,!!i,!0)}[et](e,t,i,n){const s={...this.getDemandedOptions()};return o=>{if(i)throw new a(i.message);D(this,ye,"f").nonOptionCount(o),D(this,ye,"f").requiredArguments(o,s);let r=!1;D(this,me,"f")&&(r=D(this,ye,"f").unknownCommands(o)),D(this,he,"f")&&!r?D(this,ye,"f").unknownArguments(o,e,t,!!n):D(this,ge,"f")&&D(this,ye,"f").unknownArguments(o,e,{},!1,!1),D(this,ye,"f").limitedChoices(o),D(this,ye,"f").implications(o),D(this,ye,"f").conflicting(o)}}[tt](){_(this,X,!0,"f")}[it](e){if("string"==typeof e)D(this,ae,"f").key[e]=!0;else for(const t of e)D(this,ae,"f").key[t]=!0}}var at,st;const{readFileSync:ot}=i(9896),{inspect:rt}=i(9023),{resolve:ct}=i(6928),ut=i(9668),lt=i(7058);var pt,dt={assert:{notStrictEqual:n.notStrictEqual,strictEqual:n.strictEqual},cliui:i(164),findUp:i(7829),getEnv:e=>process.env[e],getCallerFile:i(2838),getProcessArgvBin:y,inspect:rt,mainFilename:null!==(st=null===(at=void 0===i(7315)?void 0:i.c[i.s])||void 0===at?void 0:at.filename)&&void 0!==st?st:process.cwd(),Parser:lt,path:i(6928),process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(e,t)=>process.emitWarning(e,t),execPath:()=>process.execPath,exit:e=>{process.exit(e)},nextTick:process.nextTick,stdColumns:void 0!==process.stdout.columns?process.stdout.columns:null},readFileSync:ot,require:i(7315),requireDirectory:i(9386),stringWidth:i(4813),y18n:ut({directory:ct(__dirname,"../locales"),updateFiles:!1})};const ft=(null===(pt=null===process||void 0===process?void 0:process.env)||void 0===pt?void 0:pt.YARGS_MIN_NODE_VERSION)?Number(process.env.YARGS_MIN_NODE_VERSION):12;if(process&&process.version&&Number(process.version.match(/v([^.]+)/)[1])<ft)throw Error(`yargs supports a minimum Node.js version of ${ft}. Read our version support policy: https://github.com/yargs/yargs#supported-nodejs-versions`);const ht=i(7058);var mt,gt={applyExtends:r,cjsPlatformShim:dt,Yargs:(mt=dt,(e=[],t=mt.process.cwd(),i)=>{const n=new nt(e,t,i,mt);return Object.defineProperty(n,"argv",{get:()=>n.parse(),enumerable:!0}),n.help(),n.version(),n}),argsert:p,isPromise:h,objFilter:v,parseCommand:u,Parser:ht,processArgv:w,YError:a};e.exports=gt},1771:(e,t,i)=>{"use strict";const{Yargs:n,processArgv:a}=i(5338);function s(e,t){const a=n(e,t,i(5600));var r;return r=a,[...Object.keys(r),...Object.getOwnPropertyNames(r.constructor.prototype)].forEach((e=>{"argv"===e?o(s,e,function(e,t){const i=Object.getOwnPropertyDescriptor(e,t);if(void 0!==i)return i.get}(r,e)):"function"==typeof r[e]?s[e]=r[e].bind(r):(o(s,"$0",(()=>r.$0)),o(s,"parsed",(()=>r.parsed)))})),a}function o(e,t,i){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:i})}s(a.hideBin(process.argv)),e.exports=s},7459:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Chalk:()=>j,backgroundColorNames:()=>u,backgroundColors:()=>u,chalkStderr:()=>M,colorNames:()=>l,colors:()=>l,default:()=>z,foregroundColorNames:()=>c,foregroundColors:()=>c,modifierNames:()=>r,modifiers:()=>r,supportsColor:()=>w,supportsColorStderr:()=>D});const n=(e=0)=>t=>`[${t+e}m`,a=(e=0)=>t=>`[${38+e};5;${t}m`,s=(e=0)=>(t,i,n)=>`[${38+e};2;${t};${i};${n}m`,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},r=Object.keys(o.modifier),c=Object.keys(o.color),u=Object.keys(o.bgColor),l=[...c,...u],p=function(){const e=new Map;for(const[t,i]of Object.entries(o)){for(const[t,n]of Object.entries(i))o[t]={open:`[${n[0]}m`,close:`[${n[1]}m`},i[t]=o[t],e.set(n[0],n[1]);Object.defineProperty(o,t,{value:i,enumerable:!1})}return Object.defineProperty(o,"codes",{value:e,enumerable:!1}),o.color.close="[39m",o.bgColor.close="[49m",o.color.ansi=n(),o.color.ansi256=a(),o.color.ansi16m=s(),o.bgColor.ansi=n(10),o.bgColor.ansi256=a(10),o.bgColor.ansi16m=s(10),Object.defineProperties(o,{rgbToAnsi256:{value:(e,t,i)=>e===t&&t===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(i/255*5),enumerable:!1},hexToRgb:{value(e){const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[i]=t;3===i.length&&(i=[...i].map((e=>e+e)).join(""));const n=Number.parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},enumerable:!1},hexToAnsi256:{value:e=>o.rgbToAnsi256(...o.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return e-8+90;let t,i,n;if(e>=232)t=(10*(e-232)+8)/255,i=t,n=t;else{const a=(e-=16)%36;t=Math.floor(e/36)/5,i=Math.floor(a/6)/5,n=a%6/5}const a=2*Math.max(t,i,n);if(0===a)return 30;let s=30+(Math.round(n)<<2|Math.round(i)<<1|Math.round(t));return 2===a&&(s+=60),s},enumerable:!1},rgbToAnsi:{value:(e,t,i)=>o.ansi256ToAnsi(o.rgbToAnsi256(e,t,i)),enumerable:!1},hexToAnsi:{value:e=>o.ansi256ToAnsi(o.hexToAnsi256(e)),enumerable:!1}}),o}(),d=require("node:process"),f=require("node:os"),h=require("node:tty");function m(e,t=(globalThis.Deno?globalThis.Deno.args:d.argv)){const i=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(i+e),a=t.indexOf("--");return-1!==n&&(-1===a||n<a)}const{env:g}=d;let b;function v(e,t={}){return 0!==(i=function(e,{streamIsTTY:t,sniffFlags:i=!0}={}){const n=function(){if("FORCE_COLOR"in g)return"true"===g.FORCE_COLOR?1:"false"===g.FORCE_COLOR?0:0===g.FORCE_COLOR.length?1:Math.min(Number.parseInt(g.FORCE_COLOR,10),3)}();void 0!==n&&(b=n);const a=i?b:n;if(0===a)return 0;if(i){if(m("color=16m")||m("color=full")||m("color=truecolor"))return 3;if(m("color=256"))return 2}if("TF_BUILD"in g&&"AGENT_NAME"in g)return 1;if(e&&!t&&void 0===a)return 0;const s=a||0;if("dumb"===g.TERM)return s;if("win32"===d.platform){const e=f.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in g)return"GITHUB_ACTIONS"in g||"GITEA_ACTIONS"in g?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((e=>e in g))||"codeship"===g.CI_NAME?1:s;if("TEAMCITY_VERSION"in g)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(g.TEAMCITY_VERSION)?1:0;if("truecolor"===g.COLORTERM)return 3;if("xterm-kitty"===g.TERM)return 3;if("TERM_PROGRAM"in g){const e=Number.parseInt((g.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(g.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(g.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(g.TERM)||"COLORTERM"in g?1:s}(e,{streamIsTTY:e&&e.isTTY,...t}))&&{level:i,hasBasic:!0,has256:i>=2,has16m:i>=3};var i}m("no-color")||m("no-colors")||m("color=false")||m("color=never")?b=0:(m("color")||m("colors")||m("color=true")||m("color=always"))&&(b=1);const x={stdout:v({isTTY:h.isatty(1)}),stderr:v({isTTY:h.isatty(2)})};function y(e,t,i){let n=e.indexOf(t);if(-1===n)return e;const a=t.length;let s=0,o="";do{o+=e.slice(s,n)+t+i,s=n+a,n=e.indexOf(t,s)}while(-1!==n);return o+=e.slice(s),o}const{stdout:w,stderr:D}=x,_=Symbol("GENERATOR"),E=Symbol("STYLER"),F=Symbol("IS_EMPTY"),k=["ansi","ansi","ansi256","ansi16m"],C=Object.create(null);class j{constructor(e){return O(e)}}const O=e=>{const t=(...e)=>e.join(" ");return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const i=w?w.level:0;e.level=void 0===t.level?i:t.level})(t,e),Object.setPrototypeOf(t,A.prototype),t};function A(e){return O(e)}Object.setPrototypeOf(A.prototype,Function.prototype);for(const[e,t]of Object.entries(p))C[e]={get(){const i=P(this,$(t.open,t.close,this[E]),this[F]);return Object.defineProperty(this,e,{value:i}),i}};C.visible={get(){const e=P(this,this[E],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const S=(e,t,i,...n)=>"rgb"===e?"ansi16m"===t?p[i].ansi16m(...n):"ansi256"===t?p[i].ansi256(p.rgbToAnsi256(...n)):p[i].ansi(p.rgbToAnsi(...n)):"hex"===e?S("rgb",t,i,...p.hexToRgb(...n)):p[i][e](...n),B=["rgb","hex","ansi256"];for(const e of B)C[e]={get(){const{level:t}=this;return function(...i){const n=$(S(e,k[t],"color",...i),p.color.close,this[E]);return P(this,n,this[F])}}},C["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...i){const n=$(S(e,k[t],"bgColor",...i),p.bgColor.close,this[E]);return P(this,n,this[F])}}};const R=Object.defineProperties((()=>{}),{...C,level:{enumerable:!0,get(){return this[_].level},set(e){this[_].level=e}}}),$=(e,t,i)=>{let n,a;return void 0===i?(n=e,a=t):(n=i.openAll+e,a=t+i.closeAll),{open:e,close:t,openAll:n,closeAll:a,parent:i}},P=(e,t,i)=>{const n=(...e)=>T(n,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(n,R),n[_]=e,n[E]=t,n[F]=i,n},T=(e,t)=>{if(e.level<=0||!t)return e[F]?"":t;let i=e[E];if(void 0===i)return t;const{openAll:n,closeAll:a}=i;if(t.includes(""))for(;void 0!==i;)t=y(t,i.close,i.open),i=i.parent;const s=t.indexOf("\n");return-1!==s&&(t=function(e,t,i,n){let a=0,s="";do{const o="\r"===e[n-1];s+=e.slice(a,o?n-1:n)+t+(o?"\r\n":"\n")+i,a=n+1,n=e.indexOf("\n",a)}while(-1!==n);return s+=e.slice(a),s}(t,a,n,s)),n+t+a};Object.defineProperties(A.prototype,C);const I=A(),M=A({level:D?D.level:0}),z=I},9208:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>o,request:()=>s});var n=i(5090);async function a(e,t){const i=function(e){return e[Symbol.asyncIterator]?e[Symbol.asyncIterator]():e[Symbol.iterator]?e[Symbol.iterator]():e.next?e:function(e){let t=[e];return{next:()=>Promise.resolve({done:0===t.length,value:t.pop()}),return:()=>(t=[],{}),[Symbol.asyncIterator](){return this}}}(e)}(e);for(;;){const{value:e,done:n}=await i.next();if(e&&await t(e),n)break}i.return&&i.return()}async function s({onProgress:e,url:t,method:i="GET",headers:s={},agent:o,body:r}){return r&&Array.isArray(r)?r=Buffer.from(await async function(e){let t=0;const i=[];await a(e,(e=>{i.push(e),t+=e.byteLength}));const n=new Uint8Array(t);let s=0;for(const e of i)n.set(e,s),s+=e.byteLength;return n}(r)):r&&(r=function(e){const{PassThrough:t}=require("readable-stream"),i=new t;return setTimeout((async()=>{await a(e,(e=>i.write(e))),i.end()}),1),i}(r)),new Promise(((e,a)=>{n({url:t,method:i,headers:s,agent:o,body:r},((t,i)=>{if(t)return a(t);try{const t=function(e){const t=Object.getOwnPropertyDescriptor(e,Symbol.asyncIterator);if(t&&t.enumerable)return e;let i=!1;const n=[];let a={};return e.on("data",(e=>{n.push(e),a.resolve&&(a.resolve({value:n.shift(),done:!1}),a={})})),e.on("error",(e=>{a.reject&&(a.reject(e),a={})})),e.on("end",(()=>{i=!0,a.resolve&&(a.resolve({done:!0}),a={})})),{next:()=>new Promise(((e,t)=>0===n.length&&i?e({done:!0}):n.length>0?e({value:n.shift(),done:!1}):void(0!==n.length||i||(a={resolve:e,reject:t})))),return(){e.removeAllListeners(),e.destroy&&e.destroy()},[Symbol.asyncIterator](){return this}}}(i);e({url:i.url,method:i.method,statusCode:i.statusCode,statusMessage:i.statusMessage,body:t,headers:i.headers})}catch(e){a(e)}}))}))}const o={request:s}},1554:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Errors:()=>tt,STAGE:()=>P,TREE:()=>pt,WORKDIR:()=>ft,abortMerge:()=>kt,add:()=>Bt,addNote:()=>qt,addRemote:()=>Wt,annotatedTag:()=>Gt,branch:()=>Vt,checkout:()=>Zt,clone:()=>Fi,commit:()=>ki,currentBranch:()=>Ci,default:()=>Qn,deleteBranch:()=>ji,deleteRef:()=>Oi,deleteRemote:()=>Ai,deleteTag:()=>Si,expandOid:()=>Bi,expandRef:()=>Ri,fastForward:()=>zi,fetch:()=>Ni,findMergeBase:()=>Ui,findRoot:()=>qi,getConfig:()=>Hi,getConfigAll:()=>Wi,getRemoteInfo:()=>Gi,getRemoteInfo2:()=>Ki,hashBlob:()=>Yi,indexPack:()=>Zi,init:()=>Ji,isDescendent:()=>Xi,isIgnored:()=>en,listBranches:()=>tn,listFiles:()=>sn,listNotes:()=>on,listRemotes:()=>rn,listServerRefs:()=>cn,listTags:()=>un,log:()=>gn,merge:()=>bn,packObjects:()=>yn,pull:()=>wn,push:()=>_n,readBlob:()=>kn,readCommit:()=>Cn,readNote:()=>jn,readObject:()=>On,readTag:()=>An,readTree:()=>Sn,remove:()=>Bn,removeNote:()=>Rn,renameBranch:()=>$n,resetIndex:()=>Tn,resolveRef:()=>In,setConfig:()=>Mn,status:()=>zn,statusMatrix:()=>Un,tag:()=>Ln,updateIndex:()=>qn,version:()=>Hn,walk:()=>Wn,writeBlob:()=>Gn,writeCommit:()=>Vn,writeObject:()=>Kn,writeRef:()=>Yn,writeTag:()=>Zn,writeTree:()=>Jn});var n=i(6797),a=i(525),s=i(338),o=i(3048),r=i(9388),c=i(1203),u=i(663),l=i(5275);class p extends Error{constructor(e){super(e),this.caller=""}toJSON(){return{code:this.code,data:this.data,caller:this.caller,message:this.message,stack:this.stack}}fromJSON(e){const t=new p(e.message);return t.code=e.code,t.data=e.data,t.caller=e.caller,t.stack=e.stack,t}get isIsomorphicGitError(){return!0}}class d extends p{constructor(e){super(`Modifying the index is not possible because you have unmerged files: ${e.toString}. Fix them up in the work tree, and then use 'git add/rm as appropriate to mark resolution and make a commit.`),this.code=this.name=d.code,this.data={filepaths:e}}}d.code="UnmergedPathsError";class f extends p{constructor(e){super(`An internal error caused this command to fail. Please file a bug report at https://github.com/isomorphic-git/isomorphic-git/issues with this error message: ${e}`),this.code=this.name=f.code,this.data={message:e}}}f.code="InternalError";class h extends p{constructor(e){super(`The filepath "${e}" contains unsafe character sequences`),this.code=this.name=h.code,this.data={filepath:e}}}h.code="UnsafeFilepathError";class m{constructor(e){this.buffer=e,this._start=0}eof(){return this._start>=this.buffer.length}tell(){return this._start}seek(e){this._start=e}slice(e){const t=this.buffer.slice(this._start,this._start+e);return this._start+=e,t}toString(e,t){const i=this.buffer.toString(e,this._start,this._start+t);return this._start+=t,i}write(e,t,i){const n=this.buffer.write(e,this._start,t,i);return this._start+=t,n}copy(e,t,i){const n=e.copy(this.buffer,this._start,t,i);return this._start+=n,n}readUInt8(){const e=this.buffer.readUInt8(this._start);return this._start+=1,e}writeUInt8(e){const t=this.buffer.writeUInt8(e,this._start);return this._start+=1,t}readUInt16BE(){const e=this.buffer.readUInt16BE(this._start);return this._start+=2,e}writeUInt16BE(e){const t=this.buffer.writeUInt16BE(e,this._start);return this._start+=2,t}readUInt32BE(){const e=this.buffer.readUInt32BE(this._start);return this._start+=4,e}writeUInt32BE(e){const t=this.buffer.writeUInt32BE(e,this._start);return this._start+=4,t}}function g(e,t){return-(e<t)||+(e>t)}function b(e,t){return g(e.path,t.path)}function v(e){let t=e>0?e>>12:0;4!==t&&8!==t&&10!==t&&14!==t&&(t=8);let i=511&e;return i=73&i?493:420,8!==t&&(i=0),(t<<12)+i}const x=2**32;function y(e,t,i,n){if(void 0!==e&&void 0!==t)return[e,t];void 0===i&&(i=n.valueOf());const a=Math.floor(i/1e3);return[a,1e6*(i-1e3*a)]}function w(e){const[t,i]=y(e.ctimeSeconds,e.ctimeNanoseconds,e.ctimeMs,e.ctime),[n,a]=y(e.mtimeSeconds,e.mtimeNanoseconds,e.mtimeMs,e.mtime);return{ctimeSeconds:t%x,ctimeNanoseconds:i%x,mtimeSeconds:n%x,mtimeNanoseconds:a%x,dev:e.dev%x,ino:e.ino%x,mode:v(e.mode%x),uid:e.uid%x,gid:e.gid%x,size:e.size>-1?e.size%x:0}}let D=null;async function _(e){return null===D&&(D=await async function(){try{if("da39a3ee5e6b4b0d3255bfef95601890afd80709"===await E(new Uint8Array([])))return!0}catch(e){}return!1}()),D?E(e):function(e){return(new a).update(e).digest("hex")}(e)}async function E(e){return function(e){let t="";for(const i of new Uint8Array(e))i<16&&(t+="0"),t+=i.toString(16);return t}(await crypto.subtle.digest("SHA-1",e))}class F{constructor(e,t){this._dirty=!1,this._unmergedPaths=t||new Set,this._entries=e||new Map}_addEntry(e){if(0===e.flags.stage)e.stages=[e],this._entries.set(e.path,e),this._unmergedPaths.delete(e.path);else{let t=this._entries.get(e.path);t||(this._entries.set(e.path,e),t=e),t.stages[e.flags.stage]=e,this._unmergedPaths.add(e.path)}}static async from(e){if(Buffer.isBuffer(e))return F.fromBuffer(e);if(null===e)return new F(null);throw new f("invalid type passed to GitIndex.from")}static async fromBuffer(e){if(0===e.length)throw new f("Index file is empty (.git/index)");const t=new F,i=new m(e),n=i.toString("utf8",4);if("DIRC"!==n)throw new f(`Invalid dircache magic file number: ${n}`);const a=await _(e.slice(0,-20)),s=e.slice(-20).toString("hex");if(s!==a)throw new f(`Invalid checksum in GitIndex buffer: expected ${s} but saw ${a}`);const o=i.readUInt32BE();if(2!==o)throw new f(`Unsupported dircache version: ${o}`);const r=i.readUInt32BE();let c=0;for(;!i.eof()&&c<r;){const n={};n.ctimeSeconds=i.readUInt32BE(),n.ctimeNanoseconds=i.readUInt32BE(),n.mtimeSeconds=i.readUInt32BE(),n.mtimeNanoseconds=i.readUInt32BE(),n.dev=i.readUInt32BE(),n.ino=i.readUInt32BE(),n.mode=i.readUInt32BE(),n.uid=i.readUInt32BE(),n.gid=i.readUInt32BE(),n.size=i.readUInt32BE(),n.oid=i.slice(20).toString("hex");const a=i.readUInt16BE();n.flags=(u=a,{assumeValid:Boolean(32768&u),extended:Boolean(16384&u),stage:(12288&u)>>12,nameLength:4095&u});const s=e.indexOf(0,i.tell()+1)-i.tell();if(s<1)throw new f(`Got a path length of: ${s}`);if(n.path=i.toString("utf8",s),n.path.includes("..\\")||n.path.includes("../"))throw new h(n.path);let o=8-(i.tell()-12)%8;for(0===o&&(o=8);o--;){const e=i.readUInt8();if(0!==e)throw new f(`Expected 1-8 null characters but got '${e}' after ${n.path}`);if(i.eof())throw new f("Unexpected end of file")}n.stages=[],t._addEntry(n),c++}var u;return t}get unmergedPaths(){return[...this._unmergedPaths]}get entries(){return[...this._entries.values()].sort(b)}get entriesMap(){return this._entries}get entriesFlat(){return[...this.entries].flatMap((e=>e.stages.length>1?e.stages.filter((e=>e)):e))}*[Symbol.iterator](){for(const e of this.entries)yield e}insert({filepath:e,stats:t,oid:i,stage:n=0}){t||(t={ctimeSeconds:0,ctimeNanoseconds:0,mtimeSeconds:0,mtimeNanoseconds:0,dev:0,ino:0,mode:0,uid:0,gid:0,size:0}),t=w(t);const a=Buffer.from(e),s={ctimeSeconds:t.ctimeSeconds,ctimeNanoseconds:t.ctimeNanoseconds,mtimeSeconds:t.mtimeSeconds,mtimeNanoseconds:t.mtimeNanoseconds,dev:t.dev,ino:t.ino,mode:t.mode||33188,uid:t.uid,gid:t.gid,size:t.size,path:e,oid:i,flags:{assumeValid:!1,extended:!1,stage:n,nameLength:a.length<4095?a.length:4095},stages:[]};this._addEntry(s),this._dirty=!0}delete({filepath:e}){if(this._entries.has(e))this._entries.delete(e);else for(const t of this._entries.keys())t.startsWith(e+"/")&&this._entries.delete(t);this._unmergedPaths.has(e)&&this._unmergedPaths.delete(e),this._dirty=!0}clear(){this._entries.clear(),this._dirty=!0}has({filepath:e}){return this._entries.has(e)}render(){return this.entries.map((e=>`${e.mode.toString(8)} ${e.oid} ${e.path}`)).join("\n")}static async _entryToBuffer(e){const t=Buffer.from(e.path),i=8*Math.ceil((62+t.length+1)/8),n=Buffer.alloc(i),a=new m(n),s=w(e);return a.writeUInt32BE(s.ctimeSeconds),a.writeUInt32BE(s.ctimeNanoseconds),a.writeUInt32BE(s.mtimeSeconds),a.writeUInt32BE(s.mtimeNanoseconds),a.writeUInt32BE(s.dev),a.writeUInt32BE(s.ino),a.writeUInt32BE(s.mode),a.writeUInt32BE(s.uid),a.writeUInt32BE(s.gid),a.writeUInt32BE(s.size),a.write(e.oid,20,"hex"),a.writeUInt16BE(function(e){const t=e.flags;return t.extended=!1,t.nameLength=Math.min(Buffer.from(e.path).length,4095),(t.assumeValid?32768:0)+(t.extended?16384:0)+((3&t.stage)<<12)+(4095&t.nameLength)}(e)),a.write(e.path,t.length,"utf8"),n}async toObject(){const e=Buffer.alloc(12),t=new m(e);t.write("DIRC",4,"utf8"),t.writeUInt32BE(2),t.writeUInt32BE(this.entriesFlat.length);let i=[];for(const e of this.entries)if(i.push(F._entryToBuffer(e)),e.stages.length>1)for(const t of e.stages)t&&t!==e&&i.push(F._entryToBuffer(t));i=await Promise.all(i);const n=Buffer.concat(i),a=Buffer.concat([e,n]),s=await _(a);return Buffer.concat([a,Buffer.from(s,"hex")])}}function k(e,t){const i=w(e),n=w(t);return i.mode!==n.mode||i.mtimeSeconds!==n.mtimeSeconds||i.ctimeSeconds!==n.ctimeSeconds||i.uid!==n.uid||i.gid!==n.gid||i.ino!==n.ino||i.size!==n.size}let C=null;const j=Symbol("IndexCache");class O{static async acquire({fs:e,gitdir:t,cache:i,allowUnmerged:a=!0},s){i[j]||(i[j]={map:new Map,stats:new Map});const o=`${t}/index`;let r;null===C&&(C=new n({maxPending:1/0}));let c=[];return await C.acquire(o,(async()=>{await async function(e,t,i){const n=i.stats.get(t);if(void 0===n)return!0;const a=await e.lstat(t);return null!==n&&null!==a&&k(n,a)}(e,o,i[j])&&await async function(e,t,i){const n=await e.lstat(t),a=await e.read(t),s=await F.from(a);i.map.set(t,s),i.stats.set(t,n)}(e,o,i[j]);const t=i[j].map.get(o);if(c=t.unmergedPaths,c.length&&!a)throw new d(c);if(r=await s(t),t._dirty){const n=await t.toObject();await e.write(o,n),i[j].stats.set(o,await e.lstat(o)),t._dirty=!1}})),r}}function A(e){const t=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"));return t>-1&&(e=e.slice(t+1)),e}function S(e){const t=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"));return-1===t?".":0===t?"/":e.slice(0,t)}function B(e){const t=new Map,i=function(e){if(!t.has(e)){const n={type:"tree",fullpath:e,basename:A(e),metadata:{},children:[]};t.set(e,n),n.parent=i(S(e)),n.parent&&n.parent!==n&&n.parent.children.push(n)}return t.get(e)},n=function(e,n){if(!t.has(e)){const a={type:"blob",fullpath:e,basename:A(e),metadata:n,parent:i(S(e)),children:[]};a.parent&&a.parent.children.push(a),t.set(e,a)}return t.get(e)};i(".");for(const t of e)n(t.path,t);return t}class R{constructor({fs:e,gitdir:t,cache:i}){this.treePromise=O.acquire({fs:e,gitdir:t,cache:i},(async function(e){return B(e.entries)}));const n=this;this.ConstructEntry=class{constructor(e){this._fullpath=e,this._type=!1,this._mode=!1,this._stat=!1,this._oid=!1}async type(){return n.type(this)}async mode(){return n.mode(this)}async stat(){return n.stat(this)}async content(){return n.content(this)}async oid(){return n.oid(this)}}}async readdir(e){const t=e._fullpath,i=(await this.treePromise).get(t);if(!i)return null;if("blob"===i.type)return null;if("tree"!==i.type)throw new Error(`ENOTDIR: not a directory, scandir '${t}'`);const n=i.children.map((e=>e.fullpath));return n.sort(g),n}async type(e){return!1===e._type&&await e.stat(),e._type}async mode(e){return!1===e._mode&&await e.stat(),e._mode}async stat(e){if(!1===e._stat){const t=(await this.treePromise).get(e._fullpath);if(!t)throw new Error(`ENOENT: no such file or directory, lstat '${e._fullpath}'`);const i="tree"===t.type?{}:w(t.metadata);e._type="tree"===t.type?"tree":function(e){switch(e){case 16384:return"tree";case 33188:case 33261:case 40960:return"blob";case 57344:return"commit"}throw new f(`Unexpected GitTree entry mode: ${e.toString(8)}`)}(i.mode),e._mode=i.mode,"tree"===t.type?e._stat=void 0:e._stat=i}return e._stat}async content(e){}async oid(e){if(!1===e._oid){const t=(await this.treePromise).get(e._fullpath);e._oid=t.metadata.oid}return e._oid}}const $=Symbol("GitWalkSymbol");function P(){const e=Object.create(null);return Object.defineProperty(e,$,{value:function({fs:e,gitdir:t,cache:i}){return new R({fs:e,gitdir:t,cache:i})}}),Object.freeze(e),e}class T extends p{constructor(e){super(`Could not find ${e}.`),this.code=this.name=T.code,this.data={what:e}}}T.code="NotFoundError";class I extends p{constructor(e,t,i,n){super(`Object ${e} ${n?`at ${n}`:""}was anticipated to be a ${i} but it is a ${t}.`),this.code=this.name=I.code,this.data={oid:e,actual:t,expected:i,filepath:n}}}I.code="ObjectTypeError";class M extends p{constructor(e){super(`Expected a 40-char hex object id but saw "${e}".`),this.code=this.name=M.code,this.data={value:e}}}M.code="InvalidOidError";class z extends p{constructor(e){super(`Could not find a fetch refspec for remote "${e}". Make sure the config file has an entry like the following:\n[remote "${e}"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n`),this.code=this.name=z.code,this.data={remote:e}}}z.code="NoRefspecError";class N{constructor(e){if(this.refs=new Map,this.parsedConfig=[],e){let t=null;this.parsedConfig=e.trim().split("\n").map((e=>{if(/^\s*#/.test(e))return{line:e,comment:!0};const i=e.indexOf(" ");if(e.startsWith("^")){const i=e.slice(1);return this.refs.set(t+"^{}",i),{line:e,ref:t,peeled:i}}{const n=e.slice(0,i);return t=e.slice(i+1),this.refs.set(t,n),{line:e,ref:t,oid:n}}}))}return this}static from(e){return new N(e)}delete(e){this.parsedConfig=this.parsedConfig.filter((t=>t.ref!==e)),this.refs.delete(e)}toString(){return this.parsedConfig.map((({line:e})=>e)).join("\n")+"\n"}}class U{constructor({remotePath:e,localPath:t,force:i,matchPrefix:n}){Object.assign(this,{remotePath:e,localPath:t,force:i,matchPrefix:n})}static from(e){const[t,i,n,a,s]=e.match(/^(\+?)(.*?)(\*?):(.*?)(\*?)$/).slice(1),o="+"===t,r="*"===n;if(r!==("*"===s))throw new f("Invalid refspec");return new U({remotePath:i,localPath:a,force:o,matchPrefix:r})}translate(e){if(this.matchPrefix){if(e.startsWith(this.remotePath))return this.localPath+e.replace(this.remotePath,"")}else if(e===this.remotePath)return this.localPath;return null}reverseTranslate(e){if(this.matchPrefix){if(e.startsWith(this.localPath))return this.remotePath+e.replace(this.localPath,"")}else if(e===this.localPath)return this.remotePath;return null}}class L{constructor(e=[]){this.rules=e}static from(e){const t=[];for(const i of e)t.push(U.from(i));return new L(t)}add(e){const t=U.from(e);this.rules.push(t)}translate(e){const t=[];for(const i of this.rules)for(const n of e){const e=i.translate(n);e&&t.push([n,e])}return t}translateOne(e){let t=null;for(const i of this.rules){const n=i.translate(e);n&&(t=n)}return t}localNamespaces(){return this.rules.filter((e=>e.matchPrefix)).map((e=>e.localPath.replace(/\/$/,"")))}}function q(e,t){const i=e.replace(/\^\{\}$/,""),n=t.replace(/\^\{\}$/,""),a=-(i<n)||+(i>n);return 0===a?e.endsWith("^{}")?1:-1:a}const H=new Map;function W(e){let t=H.get(e);return t||(t=function(e){return"/."===(e=e.split("/./").join("/").replace(/\/{2,}/g,"/"))?"/":"./"===e?".":(e.startsWith("./")&&(e=e.slice(2)),e.endsWith("/.")&&(e=e.slice(0,-2)),e.length>1&&e.endsWith("/")&&(e=e.slice(0,-1)),""===e?".":e)}(e),H.set(e,t)),t}function G(...e){return W(e.map(W).join("/"))}const V=e=>{if("true"===(e=e.trim().toLowerCase())||"yes"===e||"on"===e)return!0;if("false"===e||"no"===e||"off"===e)return!1;throw Error(`Expected 'true', 'false', 'yes', 'no', 'on', or 'off', but got ${e}`)},K={core:{filemode:V,bare:V,logallrefupdates:V,symlinks:V,ignorecase:V,bigFileThreshold:e=>{e=e.toLowerCase();let t=parseInt(e);return e.endsWith("k")&&(t*=1024),e.endsWith("m")&&(t*=1048576),e.endsWith("g")&&(t*=1073741824),t}}},Y=/^\[([A-Za-z0-9-.]+)(?: "(.*)")?\]$/,Z=/^[A-Za-z0-9-.]+$/,J=/^([A-Za-z][A-Za-z-]*)(?: *= *(.*))?$/,Q=/^[A-Za-z][A-Za-z-]*$/,X=/^(.*?)( *[#;].*)$/,ee=e=>(e.match(/(?:^|[^\\])"/g)||[]).length%2!=0,te=e=>e.split("").reduce(((e,t,i,n)=>{const a='"'===t&&"\\"!==n[i-1],s="\\"===t&&'"'===n[i+1];return a||s?e:e+t}),""),ie=e=>null!=e?e.toLowerCase():null,ne=(e,t,i)=>[ie(e),t,ie(i)].filter((e=>null!=e)).join("."),ae=e=>{const t=e.split("."),i=t.shift(),n=t.pop(),a=t.length?t.join("."):void 0;return{section:i,subsection:a,name:n,path:ne(i,a,n),sectionPath:ne(i,a,null)}};class se{constructor(e){let t=null,i=null;this.parsedConfig=e.split("\n").map((e=>{let n=null,a=null;const s=e.trim(),o=(e=>{const t=Y.exec(e);if(null!=t){const[e,i]=t.slice(1);return[e,i]}return null})(s),r=null!=o;if(r)[t,i]=o;else{const e=(e=>{const t=J.exec(e);if(null!=t){const[e,i="true"]=t.slice(1),n=(e=>{const t=X.exec(e);if(null==t)return e;const[i,n]=t.slice(1);return ee(i)&&ee(n)?`${i}${n}`:i})(i);return[e,te(n)]}return null})(s);null!=e&&([n,a]=e)}const c=ne(t,i,n);return{line:e,isSection:r,section:t,subsection:i,name:n,value:a,path:c}}))}static from(e){return new se(e)}async get(e,t=!1){const i=ae(e).path,n=this.parsedConfig.filter((e=>e.path===i)).map((({section:e,name:t,value:i})=>{const n=K[e]&&K[e][t];return n?n(i):i}));return t?n:n.pop()}async getall(e){return this.get(e,!0)}async getSubsections(e){return this.parsedConfig.filter((t=>t.section===e&&t.isSection)).map((e=>e.subsection))}async deleteSection(e,t){this.parsedConfig=this.parsedConfig.filter((i=>!(i.section===e&&i.subsection===t)))}async append(e,t){return this.set(e,t,!0)}async set(e,t,i=!1){const{section:n,subsection:a,name:s,path:o,sectionPath:r}=ae(e),c=(u=this.parsedConfig,l=e=>e.path===o,u.reduce(((e,t,i)=>l(t)?i:e),-1));var u,l;if(null==t)-1!==c&&this.parsedConfig.splice(c,1);else if(-1!==c){const e=this.parsedConfig[c],n=Object.assign({},e,{name:s,value:t,modified:!0});i?this.parsedConfig.splice(c+1,0,n):this.parsedConfig[c]=n}else{const e=this.parsedConfig.findIndex((e=>e.path===r)),i={section:n,subsection:a,name:s,value:t,modified:!0,path:o};if(Z.test(n)&&Q.test(s))if(e>=0)this.parsedConfig.splice(e+1,0,i);else{const e={section:n,subsection:a,modified:!0,path:r};this.parsedConfig.push(e,i)}}}toString(){return this.parsedConfig.map((({line:e,section:t,subsection:i,name:n,value:a,modified:s=!1})=>s?null!=n&&null!=a?"string"==typeof a&&/[#;]/.test(a)?`\t${n} = "${a}"`:`\t${n} = ${a}`:null!=i?`[${t} "${i}"]`:`[${t}]`:e)).join("\n")}}class oe{static async get({fs:e,gitdir:t}){const i=await e.read(`${t}/config`,{encoding:"utf8"});return se.from(i)}static async save({fs:e,gitdir:t,config:i}){await e.write(`${t}/config`,i.toString(),{encoding:"utf8"})}}const re=e=>[`${e}`,`refs/${e}`,`refs/tags/${e}`,`refs/heads/${e}`,`refs/remotes/${e}`,`refs/remotes/${e}/HEAD`],ce=["config","description","index","shallow","commondir"];let ue;async function le(e,t){return void 0===ue&&(ue=new n),ue.acquire(e,t)}class pe{static async updateRemoteRefs({fs:e,gitdir:t,remote:i,refs:n,symrefs:a,tags:s,refspecs:o,prune:r=!1,pruneTags:c=!1}){for(const e of n.values())if(!e.match(/[0-9a-f]{40}/))throw new M(e);const u=await oe.get({fs:e,gitdir:t});if(!o){if(0===(o=await u.getall(`remote.${i}.fetch`)).length)throw new z(i);o.unshift(`+HEAD:refs/remotes/${i}/HEAD`)}const l=L.from(o),p=new Map;if(c){const i=await pe.listRefs({fs:e,gitdir:t,filepath:"refs/tags"});await pe.deleteRefs({fs:e,gitdir:t,refs:i.map((e=>`refs/tags/${e}`))})}if(s)for(const i of n.keys())if(i.startsWith("refs/tags")&&!i.endsWith("^{}")&&!await pe.exists({fs:e,gitdir:t,ref:i})){const e=n.get(i);p.set(i,e)}const d=l.translate([...n.keys()]);for(const[e,t]of d){const i=n.get(e);p.set(t,i)}const f=l.translate([...a.keys()]);for(const[e,t]of f){const i=a.get(e),n=l.translateOne(i);n&&p.set(t,`ref: ${n}`)}const h=[];if(r){for(const i of l.localNamespaces()){const n=(await pe.listRefs({fs:e,gitdir:t,filepath:i})).map((e=>`${i}/${e}`));for(const e of n)p.has(e)||h.push(e)}h.length>0&&await pe.deleteRefs({fs:e,gitdir:t,refs:h})}for(const[i,n]of p)await le(i,(async()=>e.write(G(t,i),`${n.trim()}\n`,"utf8")));return{pruned:h}}static async writeRef({fs:e,gitdir:t,ref:i,value:n}){if(!n.match(/[0-9a-f]{40}/))throw new M(n);await le(i,(async()=>e.write(G(t,i),`${n.trim()}\n`,"utf8")))}static async writeSymbolicRef({fs:e,gitdir:t,ref:i,value:n}){await le(i,(async()=>e.write(G(t,i),`ref: ${n.trim()}\n`,"utf8")))}static async deleteRef({fs:e,gitdir:t,ref:i}){return pe.deleteRefs({fs:e,gitdir:t,refs:[i]})}static async deleteRefs({fs:e,gitdir:t,refs:i}){await Promise.all(i.map((i=>e.rm(G(t,i)))));let n=await le("packed-refs",(async()=>e.read(`${t}/packed-refs`,{encoding:"utf8"})));const a=N.from(n),s=a.refs.size;for(const e of i)a.refs.has(e)&&a.delete(e);a.refs.size<s&&(n=a.toString(),await le("packed-refs",(async()=>e.write(`${t}/packed-refs`,n,{encoding:"utf8"}))))}static async resolve({fs:e,gitdir:t,ref:i,depth:n}){if(void 0!==n&&-1==--n)return i;if(i.startsWith("ref: "))return i=i.slice(5),pe.resolve({fs:e,gitdir:t,ref:i,depth:n});if(40===i.length&&/[0-9a-f]{40}/.test(i))return i;const a=await pe.packedRefs({fs:e,gitdir:t}),s=re(i).filter((e=>!ce.includes(e)));for(const i of s){const s=await le(i,(async()=>await e.read(`${t}/${i}`,{encoding:"utf8"})||a.get(i)));if(s)return pe.resolve({fs:e,gitdir:t,ref:s.trim(),depth:n})}throw new T(i)}static async exists({fs:e,gitdir:t,ref:i}){try{return await pe.expand({fs:e,gitdir:t,ref:i}),!0}catch(e){return!1}}static async expand({fs:e,gitdir:t,ref:i}){if(40===i.length&&/[0-9a-f]{40}/.test(i))return i;const n=await pe.packedRefs({fs:e,gitdir:t}),a=re(i);for(const i of a){if(await le(i,(async()=>e.exists(`${t}/${i}`))))return i;if(n.has(i))return i}throw new T(i)}static async expandAgainstMap({ref:e,map:t}){const i=re(e);for(const e of i)if(await t.has(e))return e;throw new T(e)}static resolveAgainstMap({ref:e,fullref:t=e,depth:i,map:n}){if(void 0!==i&&-1==--i)return{fullref:t,oid:e};if(e.startsWith("ref: "))return e=e.slice(5),pe.resolveAgainstMap({ref:e,fullref:t,depth:i,map:n});if(40===e.length&&/[0-9a-f]{40}/.test(e))return{fullref:t,oid:e};const a=re(e);for(const e of a){const t=n.get(e);if(t)return pe.resolveAgainstMap({ref:t.trim(),fullref:e,depth:i,map:n})}throw new T(e)}static async packedRefs({fs:e,gitdir:t}){const i=await le("packed-refs",(async()=>e.read(`${t}/packed-refs`,{encoding:"utf8"})));return N.from(i).refs}static async listRefs({fs:e,gitdir:t,filepath:i}){const n=pe.packedRefs({fs:e,gitdir:t});let a=null;try{a=await e.readdirDeep(`${t}/${i}`),a=a.map((e=>e.replace(`${t}/${i}/`,"")))}catch(e){a=[]}for(let e of(await n).keys())e.startsWith(i)&&(e=e.replace(i+"/",""),a.includes(e)||a.push(e));return a.sort(q),a}static async listBranches({fs:e,gitdir:t,remote:i}){return i?pe.listRefs({fs:e,gitdir:t,filepath:`refs/remotes/${i}`}):pe.listRefs({fs:e,gitdir:t,filepath:"refs/heads"})}static async listTags({fs:e,gitdir:t}){return(await pe.listRefs({fs:e,gitdir:t,filepath:"refs/tags"})).filter((e=>!e.endsWith("^{}")))}}function de(e,t){return g(fe(e),fe(t))}function fe(e){return"040000"===e.mode?e.path+"/":e.path}function he(e){switch(e){case"040000":return"tree";case"100644":case"100755":case"120000":return"blob";case"160000":return"commit"}throw new f(`Unexpected GitTree entry mode: ${e}`)}function me(e){return!e.oid&&e.sha&&(e.oid=e.sha),e.mode=function(e){if("number"==typeof e&&(e=e.toString(8)),e.match(/^0?4.*/))return"040000";if(e.match(/^1006.*/))return"100644";if(e.match(/^1007.*/))return"100755";if(e.match(/^120.*/))return"120000";if(e.match(/^160.*/))return"160000";throw new f(`Could not understand file mode: ${e}`)}(e.mode),e.type||(e.type=he(e.mode)),e}class ge{constructor(e){if(Buffer.isBuffer(e))this._entries=function(e){const t=[];let i=0;for(;i<e.length;){const n=e.indexOf(32,i);if(-1===n)throw new f(`GitTree: Error parsing buffer at byte location ${i}: Could not find the next space character.`);const a=e.indexOf(0,i);if(-1===a)throw new f(`GitTree: Error parsing buffer at byte location ${i}: Could not find the next null character.`);let s=e.slice(i,n).toString("utf8");"40000"===s&&(s="040000");const o=he(s),r=e.slice(n+1,a).toString("utf8");if(r.includes("\\")||r.includes("/"))throw new h(r);const c=e.slice(a+1,a+21).toString("hex");i=a+21,t.push({mode:s,path:r,oid:c,type:o})}return t}(e);else{if(!Array.isArray(e))throw new f("invalid type passed to GitTree constructor");this._entries=e.map(me)}this._entries.sort(b)}static from(e){return new ge(e)}render(){return this._entries.map((e=>`${e.mode} ${e.type} ${e.oid} ${e.path}`)).join("\n")}toObject(){const e=[...this._entries];return e.sort(de),Buffer.concat(e.map((e=>{const t=Buffer.from(e.mode.replace(/^0/,"")),i=Buffer.from(" "),n=Buffer.from(e.path,"utf8"),a=Buffer.from([0]),s=Buffer.from(e.oid,"hex");return Buffer.concat([t,i,n,a,s])})))}entries(){return this._entries}*[Symbol.iterator](){for(const e of this._entries)yield e}}class be{static wrap({type:e,object:t}){return Buffer.concat([Buffer.from(`${e} ${t.byteLength.toString()}\0`),Buffer.from(t)])}static unwrap(e){const t=e.indexOf(32),i=e.indexOf(0),n=e.slice(0,t).toString("utf8"),a=e.slice(t+1,i).toString("utf8"),s=e.length-(i+1);if(parseInt(a)!==s)throw new f(`Length mismatch: expected ${a} bytes but got ${s} instead.`);return{type:n,object:Buffer.from(e.slice(i+1))}}}function ve(e){let t=0,i=0,n=null;do{n=e.readUInt8(),t|=(127&n)<<i,i+=7}while(128&n);return t}function xe(e,t,i){let n=0,a=0;for(;i--;)1&t&&(n|=e.readUInt8()<<a),t>>=1,a+=8;return n}function ye(e,t){const i=e.readUInt8();if(128&i){const n=xe(e,15&i,4);let a=xe(e,(112&i)>>4,3);return 0===a&&(a=65536),t.slice(n,n+a)}return e.slice(i)}function we(e){return e[Symbol.asyncIterator]?e[Symbol.asyncIterator]():e[Symbol.iterator]?e[Symbol.iterator]():e.next?e:function(e){let t=[e];return{next:()=>Promise.resolve({done:0===t.length,value:t.pop()}),return:()=>(t=[],{}),[Symbol.asyncIterator](){return this}}}(e)}class De{constructor(e){this.stream=we(e),this.buffer=null,this.cursor=0,this.undoCursor=0,this.started=!1,this._ended=!1,this._discardedBytes=0}eof(){return this._ended&&this.cursor===this.buffer.length}tell(){return this._discardedBytes+this.cursor}async byte(){if(!this.eof()&&(this.started||await this._init(),this.cursor!==this.buffer.length||(await this._loadnext(),!this._ended)))return this._moveCursor(1),this.buffer[this.undoCursor]}async chunk(){if(!this.eof()&&(this.started||await this._init(),this.cursor!==this.buffer.length||(await this._loadnext(),!this._ended)))return this._moveCursor(this.buffer.length),this.buffer.slice(this.undoCursor,this.cursor)}async read(e){if(!this.eof())return this.started||await this._init(),this.cursor+e>this.buffer.length&&(this._trim(),await this._accumulate(e)),this._moveCursor(e),this.buffer.slice(this.undoCursor,this.cursor)}async skip(e){this.eof()||(this.started||await this._init(),this.cursor+e>this.buffer.length&&(this._trim(),await this._accumulate(e)),this._moveCursor(e))}async undo(){this.cursor=this.undoCursor}async _next(){this.started=!0;let{done:e,value:t}=await this.stream.next();return e&&(this._ended=!0,!t)?Buffer.alloc(0):(t&&(t=Buffer.from(t)),t)}_trim(){this.buffer=this.buffer.slice(this.undoCursor),this.cursor-=this.undoCursor,this._discardedBytes+=this.undoCursor,this.undoCursor=0}_moveCursor(e){this.undoCursor=this.cursor,this.cursor+=e,this.cursor>this.buffer.length&&(this.cursor=this.buffer.length)}async _accumulate(e){if(this._ended)return;const t=[this.buffer];for(;this.cursor+e>_e(t);){const e=await this._next();if(this._ended)break;t.push(e)}this.buffer=Buffer.concat(t)}async _loadnext(){this._discardedBytes+=this.buffer.length,this.undoCursor=0,this.cursor=0,this.buffer=await this._next()}async _init(){this.buffer=await this._next()}}function _e(e){return e.reduce(((e,t)=>e+t.length),0)}async function Ee(e){let t=await e.byte();const i=t>>4&7;let n,a,s=15&t;if(128&t){let i=4;do{t=await e.byte(),s|=(127&t)<<i,i+=7}while(128&t)}if(6===i){let i=0;n=0;const s=[];do{t=await e.byte(),n|=(127&t)<<i,i+=7,s.push(t)}while(128&t);a=Buffer.from(s)}return 7===i&&(a=await e.read(20)),{type:i,length:s,ofs:n,reference:a}}let Fe=!1;async function ke(e){return null===Fe&&(Fe=function(){try{if(new DecompressionStream("deflate"))return!0}catch(e){}return!1}()),Fe?async function(e){const t=new DecompressionStream("deflate"),i=new Blob([e]).stream().pipeThrough(t);return new Uint8Array(await new Response(i).arrayBuffer())}(e):o.inflate(e)}class Ce{constructor(e){Object.assign(this,e),this.offsetCache={}}static async fromIdx({idx:e,getExternalRefDelta:t}){const i=new m(e);if("ff744f63"!==i.slice(4).toString("hex"))return;const n=i.readUInt32BE();if(2!==n)throw new f(`Unable to read version ${n} packfile IDX. (Only version 2 supported)`);if(e.byteLength>2147483648)throw new f("To keep implementation simple, I haven't implemented the layer 5 feature needed to support packfiles > 2GB in size.");i.seek(i.tell()+1020);const a=i.readUInt32BE(),s=[];for(let e=0;e<a;e++){const t=i.slice(20).toString("hex");s[e]=t}i.seek(i.tell()+4*a);const o=new Map;for(let e=0;e<a;e++)o.set(s[e],i.readUInt32BE());const r=i.slice(20).toString("hex");return new Ce({hashes:s,crcs:{},offsets:o,packfileSha:r,getExternalRefDelta:t})}static async fromPack({pack:e,getExternalRefDelta:t,onProgress:i}){const n={1:"commit",2:"tree",3:"blob",4:"tag",6:"ofs-delta",7:"ref-delta"},a={},r=e.slice(-20).toString("hex"),c=[],u={},l=new Map;let p=null,d=null;await async function(e,t){const i=new De(e);let n=await i.read(4);if(n=n.toString("utf8"),"PACK"!==n)throw new f(`Invalid PACK header '${n}'`);let a=await i.read(4);if(a=a.readUInt32BE(0),2!==a)throw new f(`Invalid packfile version: ${a}`);let s=await i.read(4);if(s=s.readUInt32BE(0),!(s<1))for(;!i.eof()&&s--;){const e=i.tell(),{type:n,length:a,ofs:r,reference:c}=await Ee(i),u=new o.Inflate;for(;!u.result;){const o=await i.chunk();if(!o)break;if(u.push(o,!1),u.err)throw new f(`Pako error: ${u.msg}`);if(u.result){if(u.result.length!==a)throw new f("Inflated object size is different from that stated in packfile.");await i.undo(),await i.read(o.length-u.strm.avail_in);const l=i.tell();await t({data:u.result,type:n,num:s,offset:e,end:l,reference:c,ofs:r})}}}}([e],(async({data:e,type:t,reference:s,offset:o,num:r})=>{null===p&&(p=r);const c=Math.floor(100*(p-r)/p);c!==d&&i&&await i({phase:"Receiving objects",loaded:p-r,total:p}),d=c,(["commit","tree","blob","tag"].includes(t=n[t])||"ofs-delta"===t||"ref-delta"===t)&&(a[o]={type:t,offset:o})}));const h=Object.keys(a).map(Number);for(const[t,i]of h.entries()){const n=t+1===h.length?e.byteLength-20:h[t+1],o=a[i],r=s.buf(e.slice(i,n))>>>0;o.end=n,o.crc=r}const m=new Ce({pack:Promise.resolve(e),packfileSha:r,crcs:u,hashes:c,offsets:l,getExternalRefDelta:t});d=null;let g=0;const b=[0,0,0,0,0,0,0,0,0,0,0,0];for(let e in a){e=Number(e);const t=Math.floor(100*g/p);t!==d&&i&&await i({phase:"Resolving deltas",loaded:g,total:p}),g++,d=t;const n=a[e];if(!n.oid)try{m.readDepth=0,m.externalReadDepth=0;const{type:t,object:i}=await m.readSlice({start:e});b[m.readDepth]+=1;const a=await _(be.wrap({type:t,object:i}));n.oid=a,c.push(a),l.set(a,e),u[a]=n.crc}catch(e){continue}}return c.sort(),m}async toBuffer(){const e=[],t=(t,i)=>{e.push(Buffer.from(t,i))};t("ff744f63","hex"),t("00000002","hex");const i=new m(Buffer.alloc(1024));for(let e=0;e<256;e++){let t=0;for(const i of this.hashes)parseInt(i.slice(0,2),16)<=e&&t++;i.writeUInt32BE(t)}e.push(i.buffer);for(const e of this.hashes)t(e,"hex");const n=new m(Buffer.alloc(4*this.hashes.length));for(const e of this.hashes)n.writeUInt32BE(this.crcs[e]);e.push(n.buffer);const a=new m(Buffer.alloc(4*this.hashes.length));for(const e of this.hashes)a.writeUInt32BE(this.offsets.get(e));e.push(a.buffer),t(this.packfileSha,"hex");const s=Buffer.concat(e),o=await _(s),r=Buffer.alloc(20);return r.write(o,"hex"),Buffer.concat([s,r])}async load({pack:e}){this.pack=e}async unload(){this.pack=null}async read({oid:e}){if(!this.offsets.get(e)){if(this.getExternalRefDelta)return this.externalReadDepth++,this.getExternalRefDelta(e);throw new f(`Could not read object ${e} from packfile`)}const t=this.offsets.get(e);return this.readSlice({start:t})}async readSlice({start:e}){if(this.offsetCache[e])return Object.assign({},this.offsetCache[e]);if(this.readDepth++,!this.pack)throw new f("Tried to read from a GitPackIndex with no packfile loaded into memory");const t=(await this.pack).slice(e),i=new m(t),n=i.readUInt8(),a=112&n;let s={16:"commit",32:"tree",48:"blob",64:"tag",96:"ofs_delta",112:"ref_delta"}[a];if(void 0===s)throw new f("Unrecognized type: 0b"+a.toString(2));const o=15&n;let r=o;128&n&&(r=function(e,t){let i=t,n=4,a=null;do{a=e.readUInt8(),i|=(127&a)<<n,n+=7}while(128&a);return i}(i,o));let c=null,u=null;if("ofs_delta"===s){const t=function(e){const t=[];let i=0,n=0;do{i=e.readUInt8();const a=127&i;t.push(a),n=128&i}while(n);return t.reduce(((e,t)=>e+1<<7|t),-1)}(i),n=e-t;({object:c,type:s}=await this.readSlice({start:n}))}if("ref_delta"===s){const e=i.slice(20).toString("hex");({object:c,type:s}=await this.read({oid:e}))}const l=t.slice(i.tell());if(u=Buffer.from(await ke(l)),u.byteLength!==r)throw new f(`Packfile told us object would have length ${r} but it had length ${u.byteLength}`);return c&&(u=Buffer.from(function(e,t){const i=new m(e),n=ve(i);if(n!==t.byteLength)throw new f(`applyDelta expected source buffer to be ${n} bytes but the provided buffer was ${t.length} bytes`);const a=ve(i);let s;const o=ye(i,t);if(o.byteLength===a)s=o;else{s=Buffer.alloc(a);const e=new m(s);for(e.copy(o);!i.eof();)e.copy(ye(i,t));const n=e.tell();if(a!==n)throw new f(`applyDelta expected target buffer to be ${a} bytes but the resulting buffer was ${n} bytes`)}return s}(u,c))),this.readDepth>3&&(this.offsetCache[e]={type:s,object:u}),{type:s,format:"content",object:u}}}const je=Symbol("PackfileCache");function Oe({fs:e,cache:t,filename:i,getExternalRefDelta:n,emitter:a,emitterPrefix:s}){t[je]||(t[je]=new Map);let o=t[je].get(i);return o||(o=async function({fs:e,filename:t,getExternalRefDelta:i,emitter:n,emitterPrefix:a}){const s=await e.read(t);return Ce.fromIdx({idx:s,getExternalRefDelta:i})}({fs:e,filename:i,getExternalRefDelta:n,emitter:a,emitterPrefix:s}),t[je].set(i,o)),o}async function Ae({fs:e,cache:t,gitdir:i,oid:n,format:a="content"}){let s;if("4b825dc642cb6eb9a060e54bf8d69288fbee4904"===n&&(s={format:"wrapped",object:Buffer.from("tree 0\0")}),s||(s=await async function({fs:e,gitdir:t,oid:i}){const n=`objects/${i.slice(0,2)}/${i.slice(2)}`,a=await e.read(`${t}/${n}`);return a?{object:a,format:"deflated",source:n}:null}({fs:e,gitdir:i,oid:n})),s||(s=await async function({fs:e,cache:t,gitdir:i,oid:n,format:a="content",getExternalRefDelta:s}){let o=await e.readdir(G(i,"objects/pack"));o=o.filter((e=>e.endsWith(".idx")));for(const a of o){const o=`${i}/objects/pack/${a}`,r=await Oe({fs:e,cache:t,filename:o,getExternalRefDelta:s});if(r.error)throw new f(r.error);if(r.offsets.has(n)){if(!r.pack){const t=o.replace(/idx$/,"pack");r.pack=e.read(t)}const t=await r.read({oid:n,getExternalRefDelta:s});return t.format="content",t.source=`objects/pack/${a.replace(/idx$/,"pack")}`,t}}return null}({fs:e,cache:t,gitdir:i,oid:n,getExternalRefDelta:n=>Ae({fs:e,cache:t,gitdir:i,oid:n})})),!s)throw new T(n);if("deflated"===a)return s;if("deflated"===s.format&&(s.object=Buffer.from(await ke(s.object)),s.format="wrapped"),"wrapped"===s.format){if("wrapped"===a&&"wrapped"===s.format)return s;const e=await _(s.object);if(e!==n)throw new f(`SHA check failed! Expected ${n}, computed ${e}`);const{object:t,type:i}=be.unwrap(s.object);s.type=i,s.object=t,s.format="content"}if("content"===s.format)return"content"===a?s:void 0;throw new f(`invalid format "${s.format}"`)}class Se extends p{constructor(e,t,i=!0){super(`Failed to create ${e} at ${t} because it already exists.${i?` (Hint: use 'force: true' parameter to overwrite existing ${e}.)`:""}`),this.code=this.name=Se.code,this.data={noun:e,where:t,canForce:i}}}Se.code="AlreadyExistsError";class Be extends p{constructor(e,t,i){super(`Found multiple ${e} matching "${t}" (${i.join(", ")}). Use a longer abbreviation length to disambiguate them.`),this.code=this.name=Be.code,this.data={nouns:e,short:t,matches:i}}}Be.code="AmbiguousError";class Re extends p{constructor(e){super(`Your local changes to the following files would be overwritten by checkout: ${e.join(", ")}`),this.code=this.name=Re.code,this.data={filepaths:e}}}Re.code="CheckoutConflictError";class $e extends p{constructor(e,t){super(`Failed to checkout "${e}" because commit ${t} is not available locally. Do a git fetch to make the branch available locally.`),this.code=this.name=$e.code,this.data={ref:e,oid:t}}}$e.code="CommitNotFetchedError";class Pe extends p{constructor(){super("Empty response from git server."),this.code=this.name=Pe.code,this.data={}}}Pe.code="EmptyServerResponseError";class Te extends p{constructor(){super("A simple fast-forward merge was not possible."),this.code=this.name=Te.code,this.data={}}}Te.code="FastForwardError";class Ie extends p{constructor(e,t){super(`One or more branches were not updated: ${e}`),this.code=this.name=Ie.code,this.data={prettyDetails:e,result:t}}}Ie.code="GitPushError";class Me extends p{constructor(e,t,i){super(`HTTP Error: ${e} ${t}`),this.code=this.name=Me.code,this.data={statusCode:e,statusMessage:t,response:i}}}Me.code="HttpError";class ze extends p{constructor(e){let t="invalid filepath";"leading-slash"===e||"trailing-slash"===e?t='"filepath" parameter should not include leading or trailing directory separators because these can cause problems on some platforms.':"directory"===e&&(t='"filepath" should not be a directory.'),super(t),this.code=this.name=ze.code,this.data={reason:e}}}ze.code="InvalidFilepathError";class Ne extends p{constructor(e,t){super(`"${e}" would be an invalid git reference. (Hint: a valid alternative would be "${t}".)`),this.code=this.name=Ne.code,this.data={ref:e,suggestion:t}}}Ne.code="InvalidRefNameError";class Ue extends p{constructor(e){super(`Maximum search depth of ${e} exceeded.`),this.code=this.name=Ue.code,this.data={depth:e}}}Ue.code="MaxDepthError";class Le extends p{constructor(){super("Merges with conflicts are not supported yet."),this.code=this.name=Le.code,this.data={}}}Le.code="MergeNotSupportedError";class qe extends p{constructor(e,t,i,n){super(`Automatic merge failed with one or more merge conflicts in the following files: ${e.toString()}. Fix conflicts then commit the result.`),this.code=this.name=qe.code,this.data={filepaths:e,bothModified:t,deleteByUs:i,deleteByTheirs:n}}}qe.code="MergeConflictError";class He extends p{constructor(e){super(`No name was provided for ${e} in the argument or in the .git/config file.`),this.code=this.name=He.code,this.data={role:e}}}He.code="MissingNameError";class We extends p{constructor(e){super(`The function requires a "${e}" parameter but none was provided.`),this.code=this.name=We.code,this.data={parameter:e}}}We.code="MissingParameterError";class Ge extends p{constructor(e){super('There are multiple errors that were thrown by the method. Please refer to the "errors" property to see more'),this.code=this.name=Ge.code,this.data={errors:e},this.errors=e}}Ge.code="MultipleGitError";class Ve extends p{constructor(e,t){super(`Expected "${e}" but received "${t}".`),this.code=this.name=Ve.code,this.data={expected:e,actual:t}}}Ve.code="ParseError";class Ke extends p{constructor(e){let t="";"not-fast-forward"===e?t=" because it was not a simple fast-forward":"tag-exists"===e&&(t=" because tag already exists"),super(`Push rejected${t}. Use "force: true" to override.`),this.code=this.name=Ke.code,this.data={reason:e}}}Ke.code="PushRejectedError";class Ye extends p{constructor(e,t){super(`Remote does not support the "${e}" so the "${t}" parameter cannot be used.`),this.code=this.name=Ye.code,this.data={capability:e,parameter:t}}}Ye.code="RemoteCapabilityError";class Ze extends p{constructor(e,t){super(`Remote did not reply using the "smart" HTTP protocol. Expected "001e# service=git-upload-pack" but received: ${e}`),this.code=this.name=Ze.code,this.data={preview:e,response:t}}}Ze.code="SmartHttpError";class Je extends p{constructor(e,t,i){super(`Git remote "${e}" uses an unrecognized transport protocol: "${t}"`),this.code=this.name=Je.code,this.data={url:e,transport:t,suggestion:i}}}Je.code="UnknownTransportError";class Qe extends p{constructor(e){super(`Cannot parse remote URL: "${e}"`),this.code=this.name=Qe.code,this.data={url:e}}}Qe.code="UrlParseError";class Xe extends p{constructor(){super("The operation was canceled."),this.code=this.name=Xe.code,this.data={}}}Xe.code="UserCanceledError";class et extends p{constructor(e){super(`Could not merge index: Entry for '${e}' is not up to date. Either reset the index entry to HEAD, or stage your unstaged changes.`),this.code=this.name=et.code,this.data={filepath:e}}}et.code="IndexResetError";var tt=Object.freeze({__proto__:null,AlreadyExistsError:Se,AmbiguousError:Be,CheckoutConflictError:Re,CommitNotFetchedError:$e,EmptyServerResponseError:Pe,FastForwardError:Te,GitPushError:Ie,HttpError:Me,InternalError:f,InvalidFilepathError:ze,InvalidOidError:M,InvalidRefNameError:Ne,MaxDepthError:Ue,MergeNotSupportedError:Le,MergeConflictError:qe,MissingNameError:He,MissingParameterError:We,MultipleGitError:Ge,NoRefspecError:z,NotFoundError:T,ObjectTypeError:I,ParseError:Ve,PushRejectedError:Ke,RemoteCapabilityError:Ye,SmartHttpError:Ze,UnknownTransportError:Je,UnsafeFilepathError:h,UrlParseError:Qe,UserCanceledError:Xe,UnmergedPathsError:d,IndexResetError:et});function it({name:e,email:t,timestamp:i,timezoneOffset:n}){return`${e} <${t}> ${i} ${n=function(e){const t=function(e){return Math.sign(e)||(Object.is(e,-0)?-1:1)}(0===(i=e)?i:-i);var i;e=Math.abs(e);const n=Math.floor(e/60);e-=60*n;let a=String(n),s=String(e);return a.length<2&&(a="0"+a),s.length<2&&(s="0"+s),(-1===t?"-":"+")+a+s}(n)}`}function nt(e){return(e=(e=e.replace(/\r/g,"")).replace(/^\n+/,"")).replace(/\n+$/,"")+"\n"}function at(e){const[,t,i,n,a]=e.match(/^(.*) <(.*)> (.*) (.*)$/);return{name:t,email:i,timestamp:Number(n),timezoneOffset:st(a)}}function st(e){let[,t,i,n]=e.match(/(\+|-)(\d\d)(\d\d)/);return n=("+"===t?1:-1)*(60*Number(i)+Number(n)),0===(a=n)?a:-a;var a}class ot{constructor(e){if("string"==typeof e)this._tag=e;else if(Buffer.isBuffer(e))this._tag=e.toString("utf8");else{if("object"!=typeof e)throw new f("invalid type passed to GitAnnotatedTag constructor");this._tag=ot.render(e)}}static from(e){return new ot(e)}static render(e){return`object ${e.object}\ntype ${e.type}\ntag ${e.tag}\ntagger ${it(e.tagger)}\n\n${e.message}\n${e.gpgsig?e.gpgsig:""}`}justHeaders(){return this._tag.slice(0,this._tag.indexOf("\n\n"))}message(){const e=this.withoutSignature();return e.slice(e.indexOf("\n\n")+2)}parse(){return Object.assign(this.headers(),{message:this.message(),gpgsig:this.gpgsig()})}render(){return this._tag}headers(){const e=this.justHeaders().split("\n"),t=[];for(const i of e)" "===i[0]?t[t.length-1]+="\n"+i.slice(1):t.push(i);const i={};for(const e of t){const t=e.slice(0,e.indexOf(" ")),n=e.slice(e.indexOf(" ")+1);Array.isArray(i[t])?i[t].push(n):i[t]=n}return i.tagger&&(i.tagger=at(i.tagger)),i.committer&&(i.committer=at(i.committer)),i}withoutSignature(){const e=nt(this._tag);return-1===e.indexOf("\n-----BEGIN PGP SIGNATURE-----")?e:e.slice(0,e.lastIndexOf("\n-----BEGIN PGP SIGNATURE-----"))}gpgsig(){if(-1!==this._tag.indexOf("\n-----BEGIN PGP SIGNATURE-----"))return nt(this._tag.slice(this._tag.indexOf("-----BEGIN PGP SIGNATURE-----"),this._tag.indexOf("-----END PGP SIGNATURE-----")+27))}payload(){return this.withoutSignature()+"\n"}toObject(){return Buffer.from(this._tag,"utf8")}static async sign(e,t,i){const n=e.payload();let{signature:a}=await t({payload:n,secretKey:i});a=nt(a);const s=n+a;return ot.from(s)}}function rt(e){return e.trim().split("\n").map((e=>" "+e)).join("\n")+"\n"}class ct{constructor(e){if("string"==typeof e)this._commit=e;else if(Buffer.isBuffer(e))this._commit=e.toString("utf8");else{if("object"!=typeof e)throw new f("invalid type passed to GitCommit constructor");this._commit=ct.render(e)}}static fromPayloadSignature({payload:e,signature:t}){const i=ct.justHeaders(e),n=ct.justMessage(e),a=nt(i+"\ngpgsig"+rt(t)+"\n"+n);return new ct(a)}static from(e){return new ct(e)}toObject(){return Buffer.from(this._commit,"utf8")}headers(){return this.parseHeaders()}message(){return ct.justMessage(this._commit)}parse(){return Object.assign({message:this.message()},this.headers())}static justMessage(e){return nt(e.slice(e.indexOf("\n\n")+2))}static justHeaders(e){return e.slice(0,e.indexOf("\n\n"))}parseHeaders(){const e=ct.justHeaders(this._commit).split("\n"),t=[];for(const i of e)" "===i[0]?t[t.length-1]+="\n"+i.slice(1):t.push(i);const i={parent:[]};for(const e of t){const t=e.slice(0,e.indexOf(" ")),n=e.slice(e.indexOf(" ")+1);Array.isArray(i[t])?i[t].push(n):i[t]=n}return i.author&&(i.author=at(i.author)),i.committer&&(i.committer=at(i.committer)),i}static renderHeaders(e){let t="";if(e.tree?t+=`tree ${e.tree}\n`:t+="tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904\n",e.parent){if(void 0===e.parent.length)throw new f("commit 'parent' property should be an array");for(const i of e.parent)t+=`parent ${i}\n`}return t+=`author ${it(e.author)}\n`,t+=`committer ${it(e.committer||e.author)}\n`,e.gpgsig&&(t+="gpgsig"+rt(e.gpgsig)),t}static render(e){return ct.renderHeaders(e)+"\n"+nt(e.message)}render(){return this._commit}withoutSignature(){const e=nt(this._commit);return-1===e.indexOf("\ngpgsig")?e:nt(e.slice(0,e.indexOf("\ngpgsig"))+"\n"+e.slice(e.indexOf("-----END PGP SIGNATURE-----\n")+28))}isolateSignature(){return this._commit.slice(this._commit.indexOf("-----BEGIN PGP SIGNATURE-----"),this._commit.indexOf("-----END PGP SIGNATURE-----")+27).split("\n").map((e=>e.replace(/^ /,""))).join("\n")}static async sign(e,t,i){const n=e.withoutSignature(),a=ct.justMessage(e._commit);let{signature:s}=await t({payload:n,secretKey:i});s=nt(s);const o=ct.justHeaders(e._commit)+"\ngpgsig"+rt(s)+"\n"+a;return ct.from(o)}}async function ut({fs:e,cache:t,gitdir:i,oid:n}){if("4b825dc642cb6eb9a060e54bf8d69288fbee4904"===n)return{tree:ge.from([]),oid:n};const{type:a,object:s}=await Ae({fs:e,cache:t,gitdir:i,oid:n});if("tag"===a)return ut({fs:e,cache:t,gitdir:i,oid:n=ot.from(s).parse().object});if("commit"===a)return ut({fs:e,cache:t,gitdir:i,oid:n=ct.from(s).parse().tree});if("tree"!==a)throw new I(n,a,"tree");return{tree:ge.from(s),oid:n}}class lt{constructor({fs:e,gitdir:t,ref:i,cache:n}){this.fs=e,this.cache=n,this.gitdir=t,this.mapPromise=(async()=>{const n=new Map;let a;try{a=await pe.resolve({fs:e,gitdir:t,ref:i})}catch(e){e instanceof T&&(a="4b825dc642cb6eb9a060e54bf8d69288fbee4904")}const s=await ut({fs:e,cache:this.cache,gitdir:t,oid:a});return s.type="tree",s.mode="40000",n.set(".",s),n})();const a=this;this.ConstructEntry=class{constructor(e){this._fullpath=e,this._type=!1,this._mode=!1,this._stat=!1,this._content=!1,this._oid=!1}async type(){return a.type(this)}async mode(){return a.mode(this)}async stat(){return a.stat(this)}async content(){return a.content(this)}async oid(){return a.oid(this)}}}async readdir(e){const t=e._fullpath,{fs:i,cache:n,gitdir:a}=this,s=await this.mapPromise,o=s.get(t);if(!o)throw new Error(`No obj for ${t}`);const r=o.oid;if(!r)throw new Error(`No oid for obj ${JSON.stringify(o)}`);if("tree"!==o.type)return null;const{type:c,object:u}=await Ae({fs:i,cache:n,gitdir:a,oid:r});if(c!==o.type)throw new I(r,c,o.type);const l=ge.from(u);for(const e of l)s.set(G(t,e.path),e);return l.entries().map((e=>G(t,e.path)))}async type(e){if(!1===e._type){const t=await this.mapPromise,{type:i}=t.get(e._fullpath);e._type=i}return e._type}async mode(e){if(!1===e._mode){const t=await this.mapPromise,{mode:i}=t.get(e._fullpath);e._mode=v(parseInt(i,8))}return e._mode}async stat(e){}async content(e){if(!1===e._content){const t=await this.mapPromise,{fs:i,cache:n,gitdir:a}=this,s=t.get(e._fullpath).oid,{type:o,object:r}=await Ae({fs:i,cache:n,gitdir:a,oid:s});e._content="blob"!==o?void 0:new Uint8Array(r)}return e._content}async oid(e){if(!1===e._oid){const t=(await this.mapPromise).get(e._fullpath);e._oid=t.oid}return e._oid}}function pt({ref:e="HEAD"}={}){const t=Object.create(null);return Object.defineProperty(t,$,{value:function({fs:t,gitdir:i,cache:n}){return new lt({fs:t,gitdir:i,ref:e,cache:n})}}),Object.freeze(t),t}class dt{constructor({fs:e,dir:t,gitdir:i,cache:n}){this.fs=e,this.cache=n,this.dir=t,this.gitdir=i;const a=this;this.ConstructEntry=class{constructor(e){this._fullpath=e,this._type=!1,this._mode=!1,this._stat=!1,this._content=!1,this._oid=!1}async type(){return a.type(this)}async mode(){return a.mode(this)}async stat(){return a.stat(this)}async content(){return a.content(this)}async oid(){return a.oid(this)}}}async readdir(e){const t=e._fullpath,{fs:i,dir:n}=this,a=await i.readdir(G(n,t));return null===a?null:a.map((e=>G(t,e)))}async type(e){return!1===e._type&&await e.stat(),e._type}async mode(e){return!1===e._mode&&await e.stat(),e._mode}async stat(e){if(!1===e._stat){const{fs:t,dir:i}=this;let n=await t.lstat(`${i}/${e._fullpath}`);if(!n)throw new Error(`ENOENT: no such file or directory, lstat '${e._fullpath}'`);let a=n.isDirectory()?"tree":"blob";"blob"!==a||n.isFile()||n.isSymbolicLink()||(a="special"),e._type=a,n=w(n),e._mode=n.mode,-1===n.size&&e._actualSize&&(n.size=e._actualSize),e._stat=n}return e._stat}async content(e){if(!1===e._content){const{fs:t,dir:i}=this;if("tree"===await e.type())e._content=void 0;else{const n=await t.read(`${i}/${e._fullpath}`);e._actualSize=n.length,e._stat&&-1===e._stat.size&&(e._stat.size=e._actualSize),e._content=new Uint8Array(n)}}return e._content}async oid(e){if(!1===e._oid){const{fs:t,gitdir:i,cache:n}=this;let a;await O.acquire({fs:t,gitdir:i,cache:n},(async function(t){const i=t.entriesMap.get(e._fullpath),n=await e.stat();!i||k(n,i)?void 0===await e.content()?a=void 0:(a=await _(be.wrap({type:"blob",object:await e.content()})),i&&a===i.oid&&n.mode===i.mode&&k(n,i)&&t.insert({filepath:e._fullpath,stats:n,oid:a})):a=i.oid})),e._oid=a}return e._oid}}function ft(){const e=Object.create(null);return Object.defineProperty(e,$,{value:function({fs:e,dir:t,gitdir:i,cache:n}){return new dt({fs:e,dir:t,gitdir:i,cache:n})}}),Object.freeze(e),e}const ht=void 0===Array.prototype.flat?e=>e.reduce(((e,t)=>e.concat(t)),[]):e=>e.flat();class mt{constructor(){this.value=null}consider(e){null!=e&&(null===this.value||e<this.value)&&(this.value=e)}reset(){this.value=null}}function*gt(e){const t=new mt;let i;const n=[],a=e.length;for(let i=0;i<a;i++)n[i]=e[i].next().value,void 0!==n[i]&&t.consider(n[i]);if(null!==t.value)for(;;){const s=[];i=t.value,t.reset();for(let o=0;o<a;o++)void 0!==n[o]&&n[o]===i?(s[o]=n[o],n[o]=e[o].next().value):s[o]=null,void 0!==n[o]&&t.consider(n[o]);if(yield s,null===t.value)return}}async function bt({fs:e,cache:t,dir:i,gitdir:n,trees:a,map:s=(async(e,t)=>t),reduce:o=(async(e,t)=>{const i=ht(t);return void 0!==e&&i.unshift(e),i}),iterate:r=((e,t)=>Promise.all([...t].map(e)))}){const c=a.map((a=>a[$]({fs:e,dir:i,gitdir:n,cache:t}))),u=new Array(c.length).fill("."),l=function(e,t){const i=t-0;return Array.from({length:i},((e,t)=>0+t))}(0,c.length),p=async e=>{const{entries:t,children:i}=await(async e=>{l.map((t=>{e[t]=e[t]&&new c[t].ConstructEntry(e[t])}));const t=await Promise.all(l.map((t=>e[t]?c[t].readdir(e[t]):[]))),i=t.map((e=>null===e?[]:e)).map((e=>e[Symbol.iterator]()));return{entries:e,children:gt(i)}})(e),n=t.find((e=>e&&e._fullpath))._fullpath,a=await s(n,t);if(null!==a){let e=await r(p,i);return e=e.filter((e=>void 0!==e)),o(a,e)}};return p(u)}async function vt(e,t){const i=await e.readdir(t);null==i?await e.rm(t):i.length?await Promise.all(i.map((i=>{const n=G(t,i);return e.lstat(n).then((t=>{if(t)return t.isDirectory()?vt(e,n):e.rm(n)}))}))).then((()=>e.rmdir(t))):await e.rmdir(t)}function xt(e){return"function"==typeof e}function yt(e){return function(e){return e&&"object"==typeof e}(t=(e=>{try{return e.readFile().catch((e=>e))}catch(e){return e}})(e))&&xt(t.then)&&xt(t.catch);var t}const wt=["readFile","writeFile","mkdir","rmdir","unlink","stat","lstat","readdir","readlink","symlink"];function Dt(e,t){if(yt(t))for(const i of wt)e[`_${i}`]=t[i].bind(t);else for(const i of wt)e[`_${i}`]=r(t[i].bind(t));yt(t)?t.rm?e._rm=t.rm.bind(t):t.rmdir.length>1?e._rm=t.rmdir.bind(t):e._rm=vt.bind(null,e):t.rm?e._rm=r(t.rm.bind(t)):t.rmdir.length>2?e._rm=r(t.rmdir.bind(t)):e._rm=vt.bind(null,e)}class _t{constructor(e){if(void 0!==e._original_unwrapped_fs)return e;const t=Object.getOwnPropertyDescriptor(e,"promises");t&&t.enumerable?Dt(this,e.promises):Dt(this,e),this._original_unwrapped_fs=e}async exists(e,t={}){try{return await this._stat(e),!0}catch(e){if("ENOENT"===e.code||"ENOTDIR"===e.code)return!1;throw console.log('Unhandled error in "FileSystem.exists()" function',e),e}}async read(e,t={}){try{let i=await this._readFile(e,t);return"string"!=typeof i&&(i=Buffer.from(i)),i}catch(e){return null}}async write(e,t,i={}){try{return void await this._writeFile(e,t,i)}catch(n){await this.mkdir(S(e)),await this._writeFile(e,t,i)}}async mkdir(e,t=!1){try{return void await this._mkdir(e)}catch(i){if(null===i)return;if("EEXIST"===i.code)return;if(t)throw i;if("ENOENT"===i.code){const t=S(e);if("."===t||"/"===t||t===e)throw i;await this.mkdir(t),await this.mkdir(e,!0)}}}async rm(e){try{await this._unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}async rmdir(e,t){try{t&&t.recursive?await this._rm(e,t):await this._rmdir(e)}catch(e){if("ENOENT"!==e.code)throw e}}async readdir(e){try{const t=await this._readdir(e);return t.sort(g),t}catch(e){return"ENOTDIR"===e.code?null:[]}}async readdirDeep(e){const t=await this._readdir(e);return(await Promise.all(t.map((async t=>{const i=e+"/"+t;return(await this._stat(i)).isDirectory()?this.readdirDeep(i):i})))).reduce(((e,t)=>e.concat(t)),[])}async lstat(e){try{return await this._lstat(e)}catch(e){if("ENOENT"===e.code)return null;throw e}}async readlink(e,t={encoding:"buffer"}){try{const i=await this._readlink(e,t);return Buffer.isBuffer(i)?i:Buffer.from(i)}catch(e){if("ENOENT"===e.code)return null;throw e}}async writelink(e,t){return this._symlink(t.toString("utf8"),e)}}function Et(e,t){if(void 0===t)throw new We(e)}async function Ft(e,t){return!(!e&&!t||(!e||t)&&(e||!t)&&("tree"===await e.type()&&"tree"===await t.type()||await e.type()===await t.type()&&await e.mode()===await t.mode()&&await e.oid()===await t.oid()))}async function kt({fs:e,dir:t,gitdir:i=G(t,".git"),commit:n="HEAD",cache:a={}}){try{Et("fs",e),Et("dir",t),Et("gitdir",i);const s=new _t(e),o=[pt({ref:n}),ft(),P()];let r=[];await O.acquire({fs:s,gitdir:i,cache:a},(async function(e){r=e.unmergedPaths}));const c=await bt({fs:s,cache:a,dir:t,gitdir:i,trees:o,map:async function(e,[t,i,n]){const a=!await Ft(i,n),s=r.includes(e),o=!await Ft(n,t);if(a||s)return t?{path:e,mode:await t.mode(),oid:await t.oid(),type:await t.type(),content:await t.content()}:void 0;if(o)return!1;throw new et(e)}});await O.acquire({fs:s,gitdir:i,cache:a},(async function(e){for(const i of c)if(!1!==i)if(i){if("blob"===i.type){const n=(new TextDecoder).decode(i.content);await s.write(`${t}/${i.path}`,n,{mode:i.mode}),e.insert({filepath:i.path,oid:i.oid,stage:0})}}else await s.rmdir(`${t}/${i.path}`,{recursive:!0}),e.delete({filepath:i.path})}))}catch(e){throw e.caller="git.abortMerge",e}}class Ct{static async isIgnored({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n}){if(".git"===A(n))return!0;if("."===n)return!1;let a="";const s=G(i,"info","exclude");await e.exists(s)&&(a=await e.read(s,"utf8"));const o=[{gitignore:G(t,".gitignore"),filepath:n}],r=n.split("/").filter(Boolean);for(let e=1;e<r.length;e++){const i=r.slice(0,e).join("/"),n=r.slice(e).join("/");o.push({gitignore:G(t,i,".gitignore"),filepath:n})}let u=!1;for(const t of o){let i;try{i=await e.read(t.gitignore,"utf8")}catch(e){if("NOENT"===e.code)continue}const n=c().add(a);n.add(i);const s=S(t.filepath);if("."!==s&&n.ignores(s))return!0;u=u?!n.test(t.filepath).unignored:n.test(t.filepath).ignored}return u}}let jt=null;async function Ot(e){return null===jt&&(jt=function(){try{return new CompressionStream("deflate").writable.close(),new Blob([]).stream().cancel(),!0}catch(e){return!1}}()),jt?async function(e){const t=new CompressionStream("deflate"),i=new Blob([e]).stream().pipeThrough(t);return new Uint8Array(await new Response(i).arrayBuffer())}(e):o.deflate(e)}async function At({fs:e,gitdir:t,type:i,object:n,format:a="content",oid:s,dryRun:o=!1}){return"deflated"!==a&&("wrapped"!==a&&(n=be.wrap({type:i,object:n})),s=await _(n),n=Buffer.from(await Ot(n))),o||await async function({fs:e,gitdir:t,object:i,format:n,oid:a}){if("deflated"!==n)throw new f("GitObjectStoreLoose expects objects to write to be in deflated format");const s=`${t}/objects/${a.slice(0,2)}/${a.slice(2)}`;await e.exists(s)||await e.write(s,i)}({fs:e,gitdir:t,object:n,format:"deflated",oid:s}),s}function St(e){let t;for(;~(t=e.indexOf(92));)e[t]=47;return e}async function Bt({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n,cache:a={},force:s=!1,parallel:o=!0}){try{Et("fs",e),Et("dir",t),Et("gitdir",i),Et("filepath",n);const r=new _t(e);await O.acquire({fs:r,gitdir:i,cache:a},(async e=>Rt({dir:t,gitdir:i,fs:r,filepath:n,index:e,force:s,parallel:o})))}catch(e){throw e.caller="git.add",e}}async function Rt({dir:e,gitdir:t,fs:i,filepath:n,index:a,force:s,parallel:o}){const r=(n=Array.isArray(n)?n:[n]).map((async n=>{if(!s&&await Ct.isIgnored({fs:i,dir:e,gitdir:t,filepath:n}))return;const r=await i.lstat(G(e,n));if(!r)throw new T(n);if(r.isDirectory()){const r=await i.readdir(G(e,n));if(o){const c=r.map((r=>Rt({dir:e,gitdir:t,fs:i,filepath:[G(n,r)],index:a,force:s,parallel:o})));await Promise.all(c)}else for(const c of r)await Rt({dir:e,gitdir:t,fs:i,filepath:[G(n,c)],index:a,force:s,parallel:o})}else{const s=r.isSymbolicLink()?await i.readlink(G(e,n)).then(St):await i.read(G(e,n));if(null===s)throw new T(n);const o=await At({fs:i,gitdir:t,type:"blob",object:s});a.insert({filepath:n,stats:r,oid:o})}})),c=await Promise.allSettled(r),u=c.filter((e=>"rejected"===e.status)).map((e=>e.reason));if(u.length>1)throw new Ge(u);if(1===u.length)throw u[0];return c.filter((e=>"fulfilled"===e.status&&e.value)).map((e=>e.value))}async function $t({fs:e,cache:t,onSign:i,gitdir:n,message:a,author:s,committer:o,signingKey:r,dryRun:c=!1,noUpdateBranch:u=!1,ref:l,parent:p,tree:d}){return l||(l=await pe.resolve({fs:e,gitdir:n,ref:"HEAD",depth:2})),O.acquire({fs:e,gitdir:n,cache:t,allowUnmerged:!1},(async function(t){const f=B(t.entries).get(".");if(d||(d=await Pt({fs:e,gitdir:n,inode:f,dryRun:c})),p)p=await Promise.all(p.map((t=>pe.resolve({fs:e,gitdir:n,ref:t}))));else try{p=[await pe.resolve({fs:e,gitdir:n,ref:l})]}catch(e){p=[]}let h=ct.from({tree:d,parent:p,author:s,committer:o,message:a});r&&(h=await ct.sign(h,i,r));const m=await At({fs:e,gitdir:n,type:"commit",object:h.toObject(),dryRun:c});return u||c||await pe.writeRef({fs:e,gitdir:n,ref:l,value:m}),m}))}async function Pt({fs:e,gitdir:t,inode:i,dryRun:n}){const a=i.children;for(const i of a)"tree"===i.type&&(i.metadata.mode="040000",i.metadata.oid=await Pt({fs:e,gitdir:t,inode:i,dryRun:n}));const s=a.map((e=>({mode:e.metadata.mode,path:e.basename,oid:e.metadata.oid,type:e.type}))),o=ge.from(s);return await At({fs:e,gitdir:t,type:"tree",object:o.toObject(),dryRun:n})}async function Tt({fs:e,cache:t,gitdir:i,oid:n,filepath:a}){if(a.startsWith("/"))throw new ze("leading-slash");if(a.endsWith("/"))throw new ze("trailing-slash");const s=n,o=await ut({fs:e,cache:t,gitdir:i,oid:n}),r=o.tree;if(""===a)n=o.oid;else{const o=a.split("/");n=await It({fs:e,cache:t,gitdir:i,tree:r,pathArray:o,oid:s,filepath:a})}return n}async function It({fs:e,cache:t,gitdir:i,tree:n,pathArray:a,oid:s,filepath:o}){const r=a.shift();for(const c of n)if(c.path===r){if(0===a.length)return c.oid;{const{type:r,object:u}=await Ae({fs:e,cache:t,gitdir:i,oid:c.oid});if("tree"!==r)throw new I(s,r,"tree",o);return It({fs:e,cache:t,gitdir:i,tree:n=ge.from(u),pathArray:a,oid:s,filepath:o})}}throw new T(`file or directory found at "${s}:${o}"`)}async function Mt({fs:e,cache:t,gitdir:i,oid:n,filepath:a}){void 0!==a&&(n=await Tt({fs:e,cache:t,gitdir:i,oid:n,filepath:a}));const{tree:s,oid:o}=await ut({fs:e,cache:t,gitdir:i,oid:n});return{oid:o,tree:s.entries()}}async function zt({fs:e,gitdir:t,tree:i}){const n=ge.from(i).toObject();return await At({fs:e,gitdir:t,type:"tree",object:n,format:"content"})}async function Nt({fs:e,gitdir:t,path:i}){return(await oe.get({fs:e,gitdir:t})).get(i)}async function Ut({fs:e,gitdir:t,author:i={}}){let{name:n,email:a,timestamp:s,timezoneOffset:o}=i;if(n=n||await Nt({fs:e,gitdir:t,path:"user.name"}),a=a||await Nt({fs:e,gitdir:t,path:"user.email"})||"",void 0!==n)return s=null!=s?s:Math.floor(Date.now()/1e3),o=null!=o?o:new Date(1e3*s).getTimezoneOffset(),{name:n,email:a,timestamp:s,timezoneOffset:o}}async function Lt({fs:e,gitdir:t,author:i,committer:n}){return n=Object.assign({},n||i),i&&(n.timestamp=n.timestamp||i.timestamp,n.timezoneOffset=n.timezoneOffset||i.timezoneOffset),await Ut({fs:e,gitdir:t,author:n})}async function qt({fs:e,onSign:t,dir:i,gitdir:n=G(i,".git"),ref:a="refs/notes/commits",oid:s,note:o,force:r,author:c,committer:u,signingKey:l,cache:p={}}){try{Et("fs",e),Et("gitdir",n),Et("oid",s),Et("note",o),l&&Et("onSign",t);const i=new _t(e),d=await Ut({fs:i,gitdir:n,author:c});if(!d)throw new He("author");const f=await Lt({fs:i,gitdir:n,author:d,committer:u});if(!f)throw new He("committer");return await async function({fs:e,cache:t,onSign:i,gitdir:n,ref:a,oid:s,note:o,force:r,author:c,committer:u,signingKey:l}){let p;try{p=await pe.resolve({gitdir:n,fs:e,ref:a})}catch(e){if(!(e instanceof T))throw e}let d=(await Mt({fs:e,cache:t,gitdir:n,oid:p||"4b825dc642cb6eb9a060e54bf8d69288fbee4904"})).tree;if(r)d=d.filter((e=>e.path!==s));else for(const e of d)if(e.path===s)throw new Se("note",s);"string"==typeof o&&(o=Buffer.from(o,"utf8"));const f=await At({fs:e,gitdir:n,type:"blob",object:o,format:"content"});d.push({mode:"100644",path:s,oid:f,type:"blob"});const h=await zt({fs:e,gitdir:n,tree:d});return await $t({fs:e,cache:t,onSign:i,gitdir:n,ref:a,tree:h,parent:p&&[p],message:"Note added by 'isomorphic-git addNote'\n",author:c,committer:u,signingKey:l})}({fs:new _t(i),cache:p,onSign:t,gitdir:n,ref:a,oid:s,note:o,force:r,author:d,committer:f,signingKey:l})}catch(e){throw e.caller="git.addNote",e}}async function Ht({fs:e,gitdir:t,remote:i,url:n,force:a}){if(i!==u.clean(i))throw new Ne(i,u.clean(i));const s=await oe.get({fs:e,gitdir:t});if(!a&&(await s.getSubsections("remote")).includes(i)&&n!==await s.get(`remote.${i}.url`))throw new Se("remote",i);await s.set(`remote.${i}.url`,n),await s.set(`remote.${i}.fetch`,`+refs/heads/*:refs/remotes/${i}/*`),await oe.save({fs:e,gitdir:t,config:s})}async function Wt({fs:e,dir:t,gitdir:i=G(t,".git"),remote:n,url:a,force:s=!1}){try{return Et("fs",e),Et("gitdir",i),Et("remote",n),Et("url",a),await Ht({fs:new _t(e),gitdir:i,remote:n,url:a,force:s})}catch(e){throw e.caller="git.addRemote",e}}async function Gt({fs:e,onSign:t,dir:i,gitdir:n=G(i,".git"),ref:a,tagger:s,message:o=a,gpgsig:r,object:c,signingKey:u,force:l=!1,cache:p={}}){try{Et("fs",e),Et("gitdir",n),Et("ref",a),u&&Et("onSign",t);const i=new _t(e),d=await Ut({fs:i,gitdir:n,author:s});if(!d)throw new He("tagger");return await async function({fs:e,cache:t,onSign:i,gitdir:n,ref:a,tagger:s,message:o=a,gpgsig:r,object:c,signingKey:u,force:l=!1}){if(a=a.startsWith("refs/tags/")?a:`refs/tags/${a}`,!l&&await pe.exists({fs:e,gitdir:n,ref:a}))throw new Se("tag",a);const p=await pe.resolve({fs:e,gitdir:n,ref:c||"HEAD"}),{type:d}=await Ae({fs:e,cache:t,gitdir:n,oid:p});let f=ot.from({object:p,type:d,tag:a.replace("refs/tags/",""),tagger:s,message:o,gpgsig:r});u&&(f=await ot.sign(f,i,u));const h=await At({fs:e,gitdir:n,type:"tag",object:f.toObject()});await pe.writeRef({fs:e,gitdir:n,ref:a,value:h})}({fs:i,cache:p,onSign:t,gitdir:n,ref:a,tagger:d,message:o,gpgsig:r,object:c,signingKey:u,force:l})}catch(e){throw e.caller="git.annotatedTag",e}}async function Vt({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n,object:a,checkout:s=!1,force:o=!1}){try{return Et("fs",e),Et("gitdir",i),Et("ref",n),await async function({fs:e,gitdir:t,ref:i,object:n,checkout:a=!1,force:s=!1}){if(i!==u.clean(i))throw new Ne(i,u.clean(i));const o=`refs/heads/${i}`;if(!s&&await pe.exists({fs:e,gitdir:t,ref:o}))throw new Se("branch",i,!1);let r;try{r=await pe.resolve({fs:e,gitdir:t,ref:n||"HEAD"})}catch(e){}r&&await pe.writeRef({fs:e,gitdir:t,ref:o,value:r}),a&&await pe.writeSymbolicRef({fs:e,gitdir:t,ref:"HEAD",value:o})}({fs:new _t(e),gitdir:i,ref:n,object:a,checkout:s,force:o})}catch(e){throw e.caller="git.branch",e}}const Kt=(e,t)=>"."===e||null==t||0===t.length||"."===t||(t.length>=e.length?t.startsWith(e):e.startsWith(t));async function Yt({fs:e,cache:t,onProgress:i,dir:n,gitdir:a,remote:s,ref:o,filepaths:r,noCheckout:c,noUpdateHead:u,dryRun:l,force:p,track:d=!0}){let h;try{h=await pe.resolve({fs:e,gitdir:a,ref:o})}catch(t){if("HEAD"===o)throw t;const i=`${s}/${o}`;if(h=await pe.resolve({fs:e,gitdir:a,ref:i}),d){const t=await oe.get({fs:e,gitdir:a});await t.set(`branch.${o}.remote`,s),await t.set(`branch.${o}.merge`,`refs/heads/${o}`),await oe.save({fs:e,gitdir:a,config:t})}await pe.writeRef({fs:e,gitdir:a,ref:`refs/heads/${o}`,value:h})}if(!c){let s;try{s=await async function({fs:e,cache:t,onProgress:i,dir:n,gitdir:a,ref:s,force:o,filepaths:r}){let c=0;return bt({fs:e,cache:t,dir:n,gitdir:a,trees:[pt({ref:s}),ft(),P()],map:async function(e,[t,n,a]){if("."!==e){if(r&&!r.some((t=>Kt(e,t))))return null;switch(i&&await i({phase:"Analyzing workdir",loaded:++c}),[!!a,!!t,!!n].map(Number).join("")){case"000":return;case"001":return o&&r&&r.includes(e)?["delete",e]:void 0;case"010":switch(await t.type()){case"tree":return["mkdir",e];case"blob":return["create",e,await t.oid(),await t.mode()];case"commit":return["mkdir-index",e,await t.oid(),await t.mode()];default:return["error",`new entry Unhandled type ${await t.type()}`]}case"011":switch(`${await t.type()}-${await n.type()}`){case"tree-tree":case"commit-tree":return;case"tree-blob":case"blob-tree":case"commit-blob":return["conflict",e];case"blob-blob":return await t.oid()!==await n.oid()?o?["update",e,await t.oid(),await t.mode(),await t.mode()!==await n.mode()]:["conflict",e]:await t.mode()!==await n.mode()?o?["update",e,await t.oid(),await t.mode(),!0]:["conflict",e]:["create-index",e,await t.oid(),await t.mode()];default:return["error",`new entry Unhandled type ${t.type}`]}case"100":return["delete-index",e];case"101":switch(await a.type()){case"tree":return["rmdir",e];case"blob":return await a.oid()!==await n.oid()?o?["delete",e]:["conflict",e]:["delete",e];case"commit":return["rmdir-index",e];default:return["error",`delete entry Unhandled type ${await a.type()}`]}case"110":case"111":switch(`${await a.type()}-${await t.type()}`){case"tree-tree":return;case"blob-blob":if(await a.oid()===await t.oid()&&await a.mode()===await t.mode()&&!o)return;if(n){if(await n.oid()!==await a.oid()&&await n.oid()!==await t.oid())return o?["update",e,await t.oid(),await t.mode(),await t.mode()!==await n.mode()]:["conflict",e]}else if(o)return["update",e,await t.oid(),await t.mode(),await t.mode()!==await a.mode()];return await t.mode()!==await a.mode()?["update",e,await t.oid(),await t.mode(),!0]:await t.oid()!==await a.oid()?["update",e,await t.oid(),await t.mode(),!1]:void 0;case"tree-blob":return["update-dir-to-blob",e,await t.oid()];case"blob-tree":return["update-blob-to-tree",e];case"commit-commit":return["mkdir-index",e,await t.oid(),await t.mode()];default:return["error",`update entry Unhandled type ${await a.type()}-${await t.type()}`]}}}},reduce:async function(e,t){return t=ht(t),e?e&&"rmdir"===e[0]?(t.push(e),t):(t.unshift(e),t):t}})}({fs:e,cache:t,onProgress:i,dir:n,gitdir:a,ref:o,force:p,filepaths:r})}catch(e){throw e instanceof T&&e.data.what===h?new $e(o,h):e}const c=s.filter((([e])=>"conflict"===e)).map((([e,t])=>t));if(c.length>0)throw new Re(c);const u=s.filter((([e])=>"error"===e)).map((([e,t])=>t));if(u.length>0)throw new f(u.join(", "));if(l)return;let d=0;const m=s.length;await O.acquire({fs:e,gitdir:a,cache:t},(async function(t){await Promise.all(s.filter((([e])=>"delete"===e||"delete-index"===e)).map((async function([a,s]){const o=`${n}/${s}`;"delete"===a&&await e.rm(o),t.delete({filepath:s}),i&&await i({phase:"Updating workdir",loaded:++d,total:m})})))})),await O.acquire({fs:e,gitdir:a,cache:t},(async function(t){for(const[a,o]of s)if("rmdir"===a||"rmdir-index"===a){const s=`${n}/${o}`;try{"rmdir-index"===a&&t.delete({filepath:o}),await e.rmdir(s),i&&await i({phase:"Updating workdir",loaded:++d,total:m})}catch(e){if("ENOTEMPTY"!==e.code)throw e;console.log(`Did not delete ${o} because directory is not empty`)}}})),await Promise.all(s.filter((([e])=>"mkdir"===e||"mkdir-index"===e)).map((async function([t,a]){const s=`${n}/${a}`;await e.mkdir(s),i&&await i({phase:"Updating workdir",loaded:++d,total:m})}))),await O.acquire({fs:e,gitdir:a,cache:t},(async function(o){await Promise.all(s.filter((([e])=>"create"===e||"create-index"===e||"update"===e||"mkdir-index"===e)).map((async function([s,r,c,u,l]){const p=`${n}/${r}`;try{if("create-index"!==s&&"mkdir-index"!==s){const{object:i}=await Ae({fs:e,cache:t,gitdir:a,oid:c});if(l&&await e.rm(p),33188===u)await e.write(p,i);else if(33261===u)await e.write(p,i,{mode:511});else{if(40960!==u)throw new f(`Invalid mode 0o${u.toString(8)} detected in blob ${c}`);await e.writelink(p,i)}}const n=await e.lstat(p);33261===u&&(n.mode=493),"mkdir-index"===s&&(n.mode=57344),o.insert({filepath:r,stats:n,oid:c}),i&&await i({phase:"Updating workdir",loaded:++d,total:m})}catch(e){console.log(e)}})))}))}if(!u){const t=await pe.expand({fs:e,gitdir:a,ref:o});t.startsWith("refs/heads")?await pe.writeSymbolicRef({fs:e,gitdir:a,ref:"HEAD",value:t}):await pe.writeRef({fs:e,gitdir:a,ref:"HEAD",value:h})}}async function Zt({fs:e,onProgress:t,dir:i,gitdir:n=G(i,".git"),remote:a="origin",ref:s,filepaths:o,noCheckout:r=!1,noUpdateHead:c=void 0===s,dryRun:u=!1,force:l=!1,track:p=!0,cache:d={}}){try{Et("fs",e),Et("dir",i),Et("gitdir",n);const f=s||"HEAD";return await Yt({fs:new _t(e),cache:d,onProgress:t,dir:i,gitdir:n,remote:a,ref:f,filepaths:o,noCheckout:r,noUpdateHead:c,dryRun:u,force:l,track:p})}catch(e){throw e.caller="git.checkout",e}}const Jt=new RegExp("^refs/(heads/|tags/|remotes/)?(.*)");function Qt(e){const t=Jt.exec(e);return t?"remotes/"===t[1]&&e.endsWith("/HEAD")?t[2].slice(0,-5):t[2]:e}async function Xt({fs:e,gitdir:t,fullname:i=!1,test:n=!1}){const a=await pe.resolve({fs:e,gitdir:t,ref:"HEAD",depth:2});if(n)try{await pe.resolve({fs:e,gitdir:t,ref:a})}catch(e){return}if(a.startsWith("refs/"))return i?a:Qt(a)}function ei({username:e="",password:t=""}){return`Basic ${Buffer.from(`${e}:${t}`).toString("base64")}`}async function ti(e,t){const i=we(e);for(;;){const{value:e,done:n}=await i.next();if(e&&await t(e),n)break}i.return&&i.return()}async function ii(e){let t=0;const i=[];await ti(e,(e=>{i.push(e),t+=e.byteLength}));const n=new Uint8Array(t);let a=0;for(const e of i)n.set(e,a),a+=e.byteLength;return n}function ni(e){let t=e.match(/^https?:\/\/([^/]+)@/);if(null==t)return{url:e,auth:{}};t=t[1];const[i,n]=t.split(":");return{url:e=e.replace(`${t}@`,""),auth:{username:i,password:n}}}function ai(e,t){const i=t.toString(16);return"0".repeat(e-i.length)+i}class si{static flush(){return Buffer.from("0000","utf8")}static delim(){return Buffer.from("0001","utf8")}static encode(e){"string"==typeof e&&(e=Buffer.from(e));const t=ai(4,e.length+4);return Buffer.concat([Buffer.from(t,"utf8"),e])}static streamReader(e){const t=new De(e);return async function(){try{let e=await t.read(4);if(null==e)return!0;if(e=parseInt(e.toString("utf8"),16),0===e)return null;if(1===e)return null;const i=await t.read(e-4);return null==i||i}catch(t){return e.error=t,!0}}}}async function oi(e){const t={};let i;for(;i=await e(),!0!==i;){if(null===i)continue;i=i.toString("utf8").replace(/\n$/,"");const e=i.indexOf("=");if(e>-1){const n=i.slice(0,e),a=i.slice(e+1);t[n]=a}else t[i]=!0}return{protocolVersion:2,capabilities2:t}}async function ri(e,{service:t}){const i=new Set,n=new Map,a=new Map,s=si.streamReader(e);let o=await s();for(;null===o;)o=await s();if(!0===o)throw new Pe;if(o.includes("version 2"))return oi(s);if(o.toString("utf8").replace(/\n$/,"")!==`# service=${t}`)throw new Ve(`# service=${t}\\n`,o.toString("utf8"));let r=await s();for(;null===r;)r=await s();if(!0===r)return{capabilities:i,refs:n,symrefs:a};if(r=r.toString("utf8"),r.includes("version 2"))return oi(s);const[c,u]=ci(r,"\0","\\x00");if(u.split(" ").map((e=>i.add(e))),"0000000000000000000000000000000000000000 capabilities^{}"!==c){const[e,t]=ci(c," "," ");for(n.set(t,e);;){const e=await s();if(!0===e)break;if(null!==e){const[t,i]=ci(e.toString("utf8")," "," ");n.set(i,t)}}}for(const e of i)if(e.startsWith("symref=")){const t=e.match(/symref=([^:]+):(.*)/);3===t.length&&a.set(t[1],t[2])}return{protocolVersion:1,capabilities:i,refs:n,symrefs:a}}function ci(e,t,i){const n=e.trim().split(t);if(2!==n.length)throw new Ve(`Two strings separated by '${i}'`,e.toString("utf8"));return n}const ui=(e,t)=>e.endsWith("?")?`${e}${t}`:`${e}/${t.replace(/^https?:\/\//,"")}`,li=(e,t)=>{(t.username||t.password)&&(e.Authorization=ei(t)),t.headers&&Object.assign(e,t.headers)},pi=async e=>{try{const t=Buffer.from(await ii(e.body)),i=t.toString("utf8");return{preview:i.length<256?i:i.slice(0,256)+"...",response:i,data:t}}catch(e){return{}}};class di{static async capabilities(){return["discover","connect"]}static async discover({http:e,onProgress:t,onAuth:i,onAuthSuccess:n,onAuthFailure:a,corsProxy:s,service:o,url:r,headers:c,protocolVersion:u}){let{url:l,auth:p}=ni(r);const d=s?ui(s,l):l;let f,h;(p.username||p.password)&&(c.Authorization=ei(p)),2===u&&(c["Git-Protocol"]="version=2");let m=!1;do{if(f=await e.request({onProgress:t,method:"GET",url:`${d}/info/refs?service=${o}`,headers:c}),h=!1,401===f.statusCode||203===f.statusCode){const e=m?a:i;if(e){if(p=await e(l,{...p,headers:{...c}}),p&&p.cancel)throw new Xe;p&&(li(c,p),m=!0,h=!0)}}else 200===f.statusCode&&m&&n&&await n(l,p)}while(h);if(200!==f.statusCode){const{response:e}=await pi(f);throw new Me(f.statusCode,f.statusMessage,e)}if(f.headers["content-type"]===`application/x-${o}-advertisement`){const e=await ri(f.body,{service:o});return e.auth=p,e}{const{preview:e,response:t,data:i}=await pi(f);try{const e=await ri([i],{service:o});return e.auth=p,e}catch(i){throw new Ze(e,t)}}}static async connect({http:e,onProgress:t,corsProxy:i,service:n,url:a,auth:s,body:o,headers:r}){const c=ni(a);c&&(a=c.url),i&&(a=ui(i,a)),r["content-type"]=`application/x-${n}-request`,r.accept=`application/x-${n}-result`,li(r,s);const u=await e.request({onProgress:t,method:"POST",url:`${a}/${n}`,body:o,headers:r});if(200!==u.statusCode){const{response:e}=pi(u);throw new Me(u.statusCode,u.statusMessage,e)}return u}}class fi{static getRemoteHelperFor({url:e}){const t=new Map;t.set("http",di),t.set("https",di);const i=function({url:e}){if(e.startsWith("git@"))return{transport:"ssh",address:e};const t=e.match(/(\w+)(:\/\/|::)(.*)/);return null!==t?"://"===t[2]?{transport:t[1],address:t[0]}:"::"===t[2]?{transport:t[1],address:t[3]}:void 0:void 0}({url:e});if(!i)throw new Qe(e);if(t.has(i.transport))return t.get(i.transport);throw new Je(e,i.transport,"ssh"===i.transport?function(e){return(e=e.replace(/^git@([^:]+):/,"https://$1/")).replace(/^ssh:\/\//,"https://")}(e):void 0)}}let hi=null;class mi{static async read({fs:e,gitdir:t}){null===hi&&(hi=new n);const i=G(t,"shallow"),a=new Set;return await hi.acquire(i,(async function(){const t=await e.read(i,{encoding:"utf8"});return null===t||""===t.trim()?a:void t.trim().split("\n").map((e=>a.add(e)))})),a}static async write({fs:e,gitdir:t,oids:i}){null===hi&&(hi=new n);const a=G(t,"shallow");if(i.size>0){const t=[...i].join("\n")+"\n";await hi.acquire(a,(async function(){await e.write(a,t,{encoding:"utf8"})}))}else await hi.acquire(a,(async function(){await e.rm(a)}))}}async function gi({fs:e,cache:t,gitdir:i,oid:n,format:a="content"}){let s=await async function({fs:e,gitdir:t,oid:i}){const n=`objects/${i.slice(0,2)}/${i.slice(2)}`;return e.exists(`${t}/${n}`)}({fs:e,gitdir:i,oid:n});return s||(s=await async function({fs:e,cache:t,gitdir:i,oid:n,getExternalRefDelta:a}){let s=await e.readdir(G(i,"objects/pack"));s=s.filter((e=>e.endsWith(".idx")));for(const o of s){const s=`${i}/objects/pack/${o}`,r=await Oe({fs:e,cache:t,filename:s,getExternalRefDelta:a});if(r.error)throw new f(r.error);if(r.offsets.has(n))return!0}return!1}({fs:e,cache:t,gitdir:i,oid:n,getExternalRefDelta:n=>Ae({fs:e,cache:t,gitdir:i,oid:n})})),s}function bi(e,t){const i=e.map((e=>e.split("=",1)[0]));return t.filter((e=>{const t=e.split("=",1)[0];return i.includes(t)}))}const vi={name:"isomorphic-git",version:"1.25.7",agent:"git/isomorphic-git@1.25.7"};class xi{constructor(){this._queue=[]}write(e){if(this._ended)throw Error("You cannot write to a FIFO that has already been ended!");if(this._waiting){const t=this._waiting;this._waiting=null,t({value:e})}else this._queue.push(e)}end(){if(this._ended=!0,this._waiting){const e=this._waiting;this._waiting=null,e({done:!0})}}destroy(e){this.error=e,this.end()}async next(){if(this._queue.length>0)return{value:this._queue.shift()};if(this._ended)return{done:!0};if(this._waiting)throw Error("You cannot call read until the previous call to read has returned!");return new Promise((e=>{this._waiting=e}))}}function yi(e){const t=e.indexOf("\r"),i=e.indexOf("\n");return-1===t&&-1===i?-1:-1===t?i+1:-1===i?t+1:i===t+1?i+1:Math.min(t,i)+1}function wi(e){const t=new xi;let i="";return(async()=>{await ti(e,(e=>{for(e=e.toString("utf8"),i+=e;;){const e=yi(i);if(-1===e)break;t.write(i.slice(0,e)),i=i.slice(e)}})),i.length>0&&t.write(i),t.end()})(),t}class Di{static demux(e){const t=si.streamReader(e),i=new xi,n=new xi,a=new xi,s=async function(){const o=await t();if(null===o)return s();if(!0===o)return i.end(),a.end(),void(e.error?n.destroy(e.error):n.end());switch(o[0]){case 1:n.write(o.slice(1));break;case 2:a.write(o.slice(1));break;case 3:{const e=o.slice(1);return a.write(e),i.end(),a.end(),void n.destroy(new Error(e.toString("utf8")))}default:i.write(o)}s()};return s(),{packetlines:i,packfile:n,progress:a}}}async function _i({fs:e,cache:t,http:i,onProgress:n,onMessage:a,onAuth:s,onAuthSuccess:o,onAuthFailure:r,gitdir:c,ref:u,remoteRef:l,remote:p,url:d,corsProxy:f,depth:h=null,since:m=null,exclude:g=[],relative:b=!1,tags:v=!1,singleBranch:x=!1,headers:y={},prune:w=!1,pruneTags:D=!1}){const _=u||await Xt({fs:e,gitdir:c,test:!0}),E=await oe.get({fs:e,gitdir:c}),F=p||_&&await E.get(`branch.${_}.remote`)||"origin",k=d||await E.get(`remote.${F}.url`);if(void 0===k)throw new We("remote OR url");const C=l||_&&await E.get(`branch.${_}.merge`)||u||"HEAD";void 0===f&&(f=await E.get("http.corsProxy"));const j=fi.getRemoteHelperFor({url:k}),O=await j.discover({http:i,onAuth:s,onAuthSuccess:o,onAuthFailure:r,corsProxy:f,service:"git-upload-pack",url:k,headers:y,protocolVersion:1}),A=O.auth,S=O.refs;if(0===S.size)return{defaultBranch:null,fetchHead:null,fetchHeadDescription:null};if(null!==h&&!O.capabilities.has("shallow"))throw new Ye("shallow","depth");if(null!==m&&!O.capabilities.has("deepen-since"))throw new Ye("deepen-since","since");if(g.length>0&&!O.capabilities.has("deepen-not"))throw new Ye("deepen-not","exclude");if(!0===b&&!O.capabilities.has("deepen-relative"))throw new Ye("deepen-relative","relative");const{oid:B,fullref:R}=pe.resolveAgainstMap({ref:C,map:S});for(const e of S.keys())e===R||"HEAD"===e||e.startsWith("refs/heads/")||v&&e.startsWith("refs/tags/")||S.delete(e);const $=bi([...O.capabilities],["multi_ack_detailed","no-done","side-band-64k","ofs-delta",`agent=${vi.agent}`]);b&&$.push("deepen-relative");const P=x?[B]:S.values(),T=x?[_]:await pe.listRefs({fs:e,gitdir:c,filepath:"refs"});let I=[];for(let i of T)try{i=await pe.expand({fs:e,gitdir:c,ref:i});const n=await pe.resolve({fs:e,gitdir:c,ref:i});await gi({fs:e,cache:t,gitdir:c,oid:n})&&I.push(n)}catch(e){}I=[...new Set(I)];const z=await mi.read({fs:e,gitdir:c}),N=function({capabilities:e=[],wants:t=[],haves:i=[],shallows:n=[],depth:a=null,since:s=null,exclude:o=[]}){const r=[];t=[...new Set(t)];let c=` ${e.join(" ")}`;for(const e of t)r.push(si.encode(`want ${e}${c}\n`)),c="";for(const e of n)r.push(si.encode(`shallow ${e}\n`));null!==a&&r.push(si.encode(`deepen ${a}\n`)),null!==s&&r.push(si.encode(`deepen-since ${Math.floor(s.valueOf()/1e3)}\n`));for(const e of o)r.push(si.encode(`deepen-not ${e}\n`));r.push(si.flush());for(const e of i)r.push(si.encode(`have ${e}\n`));return r.push(si.encode("done\n")),r}({capabilities:$,wants:P,haves:I,shallows:O.capabilities.has("shallow")?[...z]:[],depth:h,since:m,exclude:g}),U=Buffer.from(await ii(N)),L=await j.connect({http:i,onProgress:n,corsProxy:f,service:"git-upload-pack",url:k,auth:A,body:[U],headers:y}),q=await async function(e){const{packetlines:t,packfile:i,progress:n}=Di.demux(e),a=[],s=[],o=[];let r=!1,c=!1;return new Promise(((u,l)=>{ti(t,(t=>{const p=t.toString("utf8").trim();if(p.startsWith("shallow")){const e=p.slice(-41).trim();40!==e.length&&l(new M(e)),a.push(e)}else if(p.startsWith("unshallow")){const e=p.slice(-41).trim();40!==e.length&&l(new M(e)),s.push(e)}else if(p.startsWith("ACK")){const[,e,t]=p.split(" ");o.push({oid:e,status:t}),t||(c=!0)}else p.startsWith("NAK")?(r=!0,c=!0):(c=!0,r=!0);c&&(e.error?l(e.error):u({shallows:a,unshallows:s,acks:o,nak:r,packfile:i,progress:n}))})).finally((()=>{c||(e.error?l(e.error):u({shallows:a,unshallows:s,acks:o,nak:r,packfile:i,progress:n}))}))}))}(L.body);L.headers&&(q.headers=L.headers);for(const i of q.shallows)if(!z.has(i))try{const{object:n}=await Ae({fs:e,cache:t,gitdir:c,oid:i}),a=new ct(n),s=await Promise.all(a.headers().parent.map((i=>gi({fs:e,cache:t,gitdir:c,oid:i}))));0===s.length||s.every((e=>e))||z.add(i)}catch(e){z.add(i)}for(const e of q.unshallows)z.delete(e);if(await mi.write({fs:e,gitdir:c,oids:z}),x){const t=new Map([[R,B]]),i=new Map;let n=10,a=R;for(;n--;){const e=O.symrefs.get(a);if(void 0===e)break;i.set(a,e),a=e}const s=S.get(a);s&&t.set(a,s);const{pruned:o}=await pe.updateRemoteRefs({fs:e,gitdir:c,remote:F,refs:t,symrefs:i,tags:v,prune:w});w&&(q.pruned=o)}else{const{pruned:t}=await pe.updateRemoteRefs({fs:e,gitdir:c,remote:F,refs:S,symrefs:O.symrefs,tags:v,prune:w,pruneTags:D});w&&(q.pruned=t)}if(q.HEAD=O.symrefs.get("HEAD"),void 0===q.HEAD){const{oid:e}=pe.resolveAgainstMap({ref:"HEAD",map:S});for(const[t,i]of S.entries())if("HEAD"!==t&&i===e){q.HEAD=t;break}}const H=R.startsWith("refs/tags")?"tag":"branch";q.FETCH_HEAD={oid:B,description:`${H} '${Qt(R)}' of ${k}`},(n||a)&&ti(wi(q.progress),(async e=>{if(a&&await a(e),n){const t=e.match(/([^:]*).*\((\d+?)\/(\d+?)\)/);t&&await n({phase:t[1].trim(),loaded:parseInt(t[2],10),total:parseInt(t[3],10)})}}));const W=Buffer.from(await ii(q.packfile));if(L.body.error)throw L.body.error;const V=W.slice(-20).toString("hex"),K={defaultBranch:q.HEAD,fetchHead:q.FETCH_HEAD.oid,fetchHeadDescription:q.FETCH_HEAD.description};if(q.headers&&(K.headers=q.headers),w&&(K.pruned=q.pruned),""!==V&&"5041434b0000000200000000"!==W.slice(0,12).toString("hex")){K.packfile=`objects/pack/pack-${V}.pack`;const i=G(c,K.packfile);await e.write(i,W);const a=i=>Ae({fs:e,cache:t,gitdir:c,oid:i}),s=await Ce.fromPack({pack:W,getExternalRefDelta:a,onProgress:n});await e.write(i.replace(/\.pack$/,".idx"),await s.toBuffer())}return K}async function Ei({fs:e,bare:t=!1,dir:i,gitdir:n=(t?i:G(i,".git")),defaultBranch:a="master"}){if(await e.exists(n+"/config"))return;let s=["hooks","info","objects/info","objects/pack","refs/heads","refs/tags"];s=s.map((e=>n+"/"+e));for(const t of s)await e.mkdir(t);await e.write(n+"/config",`[core]\n\trepositoryformatversion = 0\n\tfilemode = false\n\tbare = ${t}\n`+(t?"":"\tlogallrefupdates = true\n")+"\tsymlinks = false\n\tignorecase = true\n"),await e.write(n+"/HEAD",`ref: refs/heads/${a}\n`)}async function Fi({fs:e,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c=G(r,".git"),url:u,corsProxy:l,ref:p,remote:d="origin",depth:f,since:h,exclude:m=[],relative:g=!1,singleBranch:b=!1,noCheckout:v=!1,noTags:x=!1,headers:y={},cache:w={}}){try{return Et("fs",e),Et("http",t),Et("gitdir",c),v||Et("dir",r),Et("url",u),await async function({fs:e,cache:t,http:i,onProgress:n,onMessage:a,onAuth:s,onAuthSuccess:o,onAuthFailure:r,dir:c,gitdir:u,url:l,corsProxy:p,ref:d,remote:f,depth:h,since:m,exclude:g,relative:b,singleBranch:v,noCheckout:x,noTags:y,headers:w}){try{if(await Ei({fs:e,gitdir:u}),await Ht({fs:e,gitdir:u,remote:f,url:l,force:!1}),p){const t=await oe.get({fs:e,gitdir:u});await t.set("http.corsProxy",p),await oe.save({fs:e,gitdir:u,config:t})}const{defaultBranch:D,fetchHead:_}=await _i({fs:e,cache:t,http:i,onProgress:n,onMessage:a,onAuth:s,onAuthSuccess:o,onAuthFailure:r,gitdir:u,ref:d,remote:f,corsProxy:p,depth:h,since:m,exclude:g,relative:b,singleBranch:v,headers:w,tags:!y});if(null===_)return;d=(d=d||D).replace("refs/heads/",""),await Yt({fs:e,cache:t,onProgress:n,dir:c,gitdir:u,ref:d,remote:f,noCheckout:x})}catch(t){throw await e.rmdir(u,{recursive:!0,maxRetries:10}).catch((()=>{})),t}}({fs:new _t(e),cache:w,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c,url:u,corsProxy:l,ref:p,remote:d,depth:f,since:h,exclude:m,relative:g,singleBranch:b,noCheckout:v,noTags:x,headers:y})}catch(e){throw e.caller="git.clone",e}}async function ki({fs:e,onSign:t,dir:i,gitdir:n=G(i,".git"),message:a,author:s,committer:o,signingKey:r,dryRun:c=!1,noUpdateBranch:u=!1,ref:l,parent:p,tree:d,cache:f={}}){try{Et("fs",e),Et("message",a),r&&Et("onSign",t);const i=new _t(e),h=await Ut({fs:i,gitdir:n,author:s});if(!h)throw new He("author");const m=await Lt({fs:i,gitdir:n,author:h,committer:o});if(!m)throw new He("committer");return await $t({fs:i,cache:f,onSign:t,gitdir:n,message:a,author:h,committer:m,signingKey:r,dryRun:c,noUpdateBranch:u,ref:l,parent:p,tree:d})}catch(e){throw e.caller="git.commit",e}}async function Ci({fs:e,dir:t,gitdir:i=G(t,".git"),fullname:n=!1,test:a=!1}){try{return Et("fs",e),Et("gitdir",i),await Xt({fs:new _t(e),gitdir:i,fullname:n,test:a})}catch(e){throw e.caller="git.currentBranch",e}}async function ji({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n}){try{return Et("fs",e),Et("ref",n),await async function({fs:e,gitdir:t,ref:i}){if(i=i.startsWith("refs/heads/")?i:`refs/heads/${i}`,!await pe.exists({fs:e,gitdir:t,ref:i}))throw new T(i);const n=await pe.expand({fs:e,gitdir:t,ref:i});if(n===await Xt({fs:e,gitdir:t,fullname:!0})){const i=await pe.resolve({fs:e,gitdir:t,ref:n});await pe.writeRef({fs:e,gitdir:t,ref:"HEAD",value:i})}await pe.deleteRef({fs:e,gitdir:t,ref:n})}({fs:new _t(e),gitdir:i,ref:n})}catch(e){throw e.caller="git.deleteBranch",e}}async function Oi({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n}){try{Et("fs",e),Et("ref",n),await pe.deleteRef({fs:new _t(e),gitdir:i,ref:n})}catch(e){throw e.caller="git.deleteRef",e}}async function Ai({fs:e,dir:t,gitdir:i=G(t,".git"),remote:n}){try{return Et("fs",e),Et("remote",n),await async function({fs:e,gitdir:t,remote:i}){const n=await oe.get({fs:e,gitdir:t});await n.deleteSection("remote",i),await oe.save({fs:e,gitdir:t,config:n})}({fs:new _t(e),gitdir:i,remote:n})}catch(e){throw e.caller="git.deleteRemote",e}}async function Si({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n}){try{return Et("fs",e),Et("ref",n),await async function({fs:e,gitdir:t,ref:i}){i=i.startsWith("refs/tags/")?i:`refs/tags/${i}`,await pe.deleteRef({fs:e,gitdir:t,ref:i})}({fs:new _t(e),gitdir:i,ref:n})}catch(e){throw e.caller="git.deleteTag",e}}async function Bi({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,cache:a={}}){try{return Et("fs",e),Et("gitdir",i),Et("oid",n),await async function({fs:e,cache:t,gitdir:i,oid:n}){const a=await async function({fs:e,gitdir:t,oid:i}){const n=i.slice(0,2);return(await e.readdir(`${t}/objects/${n}`)).map((e=>`${n}${e}`)).filter((e=>e.startsWith(i)))}({fs:e,gitdir:i,oid:n}),s=await async function({fs:e,cache:t,gitdir:i,oid:n,getExternalRefDelta:a}){const s=[];let o=await e.readdir(G(i,"objects/pack"));o=o.filter((e=>e.endsWith(".idx")));for(const r of o){const o=`${i}/objects/pack/${r}`,c=await Oe({fs:e,cache:t,filename:o,getExternalRefDelta:a});if(c.error)throw new f(c.error);for(const e of c.offsets.keys())e.startsWith(n)&&s.push(e)}return s}({fs:e,cache:t,gitdir:i,oid:n,getExternalRefDelta:n=>Ae({fs:e,cache:t,gitdir:i,oid:n})});for(const e of s)-1===a.indexOf(e)&&a.push(e);if(1===a.length)return a[0];if(a.length>1)throw new Be("oids",n,a);throw new T(`an object matching "${n}"`)}({fs:new _t(e),cache:a,gitdir:i,oid:n})}catch(e){throw e.caller="git.expandOid",e}}async function Ri({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n}){try{return Et("fs",e),Et("gitdir",i),Et("ref",n),await pe.expand({fs:new _t(e),gitdir:i,ref:n})}catch(e){throw e.caller="git.expandRef",e}}async function $i({fs:e,cache:t,gitdir:i,oids:n}){const a={},s=n.length;let o=n.map(((e,t)=>({index:t,oid:e})));for(;o.length;){const n=new Set;for(const{oid:e,index:t}of o)a[e]||(a[e]=new Set),a[e].add(t),a[e].size===s&&n.add(e);if(n.size>0)return[...n];const r=new Map;for(const{oid:n,index:s}of o)try{const{object:o}=await Ae({fs:e,cache:t,gitdir:i,oid:n}),c=ct.from(o),{parent:u}=c.parseHeaders();for(const e of u)a[e]&&a[e].has(s)||r.set(e+":"+s,{oid:e,index:s})}catch(e){}o=Array.from(r.values())}return[]}const Pi=/^.*(\r?\n|$)/gm;function Ti({branches:e,contents:t}){const i=e[1],n=e[2],a=t[0],s=t[1],o=t[2],r=s.match(Pi),c=a.match(Pi),u=o.match(Pi),p=l(r,c,u);let d="",f=!0;for(const e of p)e.ok&&(d+=e.ok.join("")),e.conflict&&(f=!1,d+=`${"<".repeat(7)} ${i}\n`,d+=e.conflict.a.join(""),d+=`${"=".repeat(7)}\n`,d+=e.conflict.b.join(""),d+=`${">".repeat(7)} ${n}\n`);return{cleanMerge:f,mergedText:d}}async function Ii({fs:e,cache:t,dir:i,gitdir:n,ours:a,theirs:s,fastForward:o=!0,fastForwardOnly:r=!1,dryRun:c=!1,noUpdateBranch:u=!1,abortOnConflict:l=!0,message:p,author:d,committer:f,signingKey:h,onSign:m,mergeDriver:g}){void 0===a&&(a=await Xt({fs:e,gitdir:n,fullname:!0})),a=await pe.expand({fs:e,gitdir:n,ref:a}),s=await pe.expand({fs:e,gitdir:n,ref:s});const b=await pe.resolve({fs:e,gitdir:n,ref:a}),v=await pe.resolve({fs:e,gitdir:n,ref:s}),x=await $i({fs:e,cache:t,gitdir:n,oids:[b,v]});if(1!==x.length)throw new Le;const y=x[0];if(y===v)return{oid:b,alreadyMerged:!0};if(o&&y===b)return c||u||await pe.writeRef({fs:e,gitdir:n,ref:a,value:v}),{oid:v,fastForward:!0};{if(r)throw new Te;const o=await O.acquire({fs:e,gitdir:n,cache:t,allowUnmerged:!1},(async o=>async function({fs:e,cache:t,dir:i,gitdir:n=G(i,".git"),index:a,ourOid:s,baseOid:o,theirOid:r,ourName:c="ours",baseName:u="base",theirName:l="theirs",dryRun:p=!1,abortOnConflict:d=!0,mergeDriver:f}){const h=pt({ref:s}),m=pt({ref:o}),g=pt({ref:r}),b=[],v=[],x=[],y=[],w=await bt({fs:e,cache:t,dir:i,gitdir:n,trees:[h,m,g],map:async function(t,[i,s,o]){const r=A(t);switch(`${await Ft(i,s)}-${await Ft(o,s)}`){case"false-false":return{mode:await s.mode(),path:r,oid:await s.oid(),type:await s.type()};case"false-true":return o?{mode:await o.mode(),path:r,oid:await o.oid(),type:await o.type()}:void 0;case"true-false":return i?{mode:await i.mode(),path:r,oid:await i.oid(),type:await i.type()}:void 0;case"true-true":if(i&&s&&o&&"blob"===await i.type()&&"blob"===await s.type()&&"blob"===await o.type())return async function({fs:e,gitdir:t,path:i,ours:n,base:a,theirs:s,ourName:o,theirName:r,baseName:c,dryRun:u,mergeDriver:l=Ti}){const p="blob",d=await a.mode()===await n.mode()?await s.mode():await n.mode();if(await n.oid()===await s.oid())return{cleanMerge:!0,mergeResult:{mode:d,path:i,oid:await n.oid(),type:p}};if(await n.oid()===await a.oid())return{cleanMerge:!0,mergeResult:{mode:d,path:i,oid:await s.oid(),type:p}};if(await s.oid()===await a.oid())return{cleanMerge:!0,mergeResult:{mode:d,path:i,oid:await n.oid(),type:p}};const f=Buffer.from(await n.content()).toString("utf8"),h=Buffer.from(await a.content()).toString("utf8"),m=Buffer.from(await s.content()).toString("utf8"),{mergedText:g,cleanMerge:b}=await l({branches:[c,o,r],contents:[h,f,m],path:i});return{cleanMerge:b,mergeResult:{mode:d,path:i,oid:await At({fs:e,gitdir:t,type:"blob",object:Buffer.from(g,"utf8"),dryRun:u}),type:p}}}({fs:e,gitdir:n,path:r,ours:i,base:s,theirs:o,ourName:c,baseName:u,theirName:l,mergeDriver:f}).then((async e=>{if(e.cleanMerge)d||a.insert({filepath:t,oid:e.mergeResult.oid,stage:0});else if(b.push(t),v.push(t),!d){const e=await s.oid(),n=await i.oid(),r=await o.oid();a.delete({filepath:t}),a.insert({filepath:t,oid:e,stage:1}),a.insert({filepath:t,oid:n,stage:2}),a.insert({filepath:t,oid:r,stage:3})}return e.mergeResult}));if(s&&!i&&o&&"blob"===await s.type()&&"blob"===await o.type()){if(b.push(t),x.push(t),!d){const e=await s.oid(),i=await o.oid();a.delete({filepath:t}),a.insert({filepath:t,oid:e,stage:1}),a.insert({filepath:t,oid:i,stage:3})}return{mode:await o.mode(),oid:await o.oid(),type:"blob",path:r}}if(s&&i&&!o&&"blob"===await s.type()&&"blob"===await i.type()){if(b.push(t),y.push(t),!d){const e=await s.oid(),n=await i.oid();a.delete({filepath:t}),a.insert({filepath:t,oid:e,stage:1}),a.insert({filepath:t,oid:n,stage:2})}return{mode:await i.mode(),oid:await i.oid(),type:"blob",path:r}}if(s&&!i&&!o&&"blob"===await s.type())return;throw new Le}},reduce:0===b.length||i&&!d?async(t,i)=>{const a=i.filter(Boolean);if(t&&(!t||"tree"!==t.type||0!==a.length)){if(a.length>0){const i=new ge(a).toObject(),s=await At({fs:e,gitdir:n,type:"tree",object:i,dryRun:p});t.oid=s}return t}}:void 0});return 0!==b.length?(i&&!d&&await bt({fs:e,cache:t,dir:i,gitdir:n,trees:[pt({ref:w.oid})],map:async function(t,[n]){const a=`${i}/${t}`;if("blob"===await n.type()){const t=await n.mode(),i=(new TextDecoder).decode(await n.content());await e.write(a,i,{mode:t})}return!0}}),new qe(b,v,x,y)):w.oid}({fs:e,cache:t,dir:i,gitdir:n,index:o,ourOid:b,theirOid:v,baseOid:y,ourName:Qt(a),baseName:"base",theirName:Qt(s),dryRun:c,abortOnConflict:l,mergeDriver:g})));if(o instanceof qe)throw o;return p||(p=`Merge branch '${Qt(s)}' into ${Qt(a)}`),{oid:await $t({fs:e,cache:t,gitdir:n,message:p,ref:a,tree:o,parent:[b,v],author:d,committer:f,signingKey:h,onSign:m,dryRun:c,noUpdateBranch:u}),tree:o,mergeCommit:!0}}}async function Mi({fs:e,cache:t,http:i,onProgress:n,onMessage:a,onAuth:s,onAuthSuccess:o,onAuthFailure:r,dir:c,gitdir:u,ref:l,url:p,remote:d,remoteRef:f,prune:h,pruneTags:m,fastForward:g,fastForwardOnly:b,corsProxy:v,singleBranch:x,headers:y,author:w,committer:D,signingKey:_}){try{if(!l){const t=await Xt({fs:e,gitdir:u});if(!t)throw new We("ref");l=t}const{fetchHead:E,fetchHeadDescription:F}=await _i({fs:e,cache:t,http:i,onProgress:n,onMessage:a,onAuth:s,onAuthSuccess:o,onAuthFailure:r,gitdir:u,corsProxy:v,ref:l,url:p,remote:d,remoteRef:f,singleBranch:x,headers:y,prune:h,pruneTags:m});await Ii({fs:e,cache:t,gitdir:u,ours:l,theirs:E,fastForward:g,fastForwardOnly:b,message:`Merge ${F}`,author:w,committer:D,signingKey:_,dryRun:!1,noUpdateBranch:!1}),await Yt({fs:e,cache:t,onProgress:n,dir:c,gitdir:u,ref:l,remote:d,noCheckout:!1})}catch(e){throw e.caller="git.pull",e}}async function zi({fs:e,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c=G(r,".git"),ref:u,url:l,remote:p,remoteRef:d,corsProxy:f,singleBranch:h,headers:m={},cache:g={}}){try{Et("fs",e),Et("http",t),Et("gitdir",c);const b={name:"",email:"",timestamp:Date.now(),timezoneOffset:0};return await Mi({fs:new _t(e),cache:g,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c,ref:u,url:l,remote:p,remoteRef:d,fastForwardOnly:!0,corsProxy:f,singleBranch:h,headers:m,author:b,committer:b})}catch(e){throw e.caller="git.fastForward",e}}async function Ni({fs:e,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c=G(r,".git"),ref:u,remote:l,remoteRef:p,url:d,corsProxy:f,depth:h=null,since:m=null,exclude:g=[],relative:b=!1,tags:v=!1,singleBranch:x=!1,headers:y={},prune:w=!1,pruneTags:D=!1,cache:_={}}){try{return Et("fs",e),Et("http",t),Et("gitdir",c),await _i({fs:new _t(e),cache:_,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,gitdir:c,ref:u,remote:l,remoteRef:p,url:d,corsProxy:f,depth:h,since:m,exclude:g,relative:b,tags:v,singleBranch:x,headers:y,prune:w,pruneTags:D})}catch(e){throw e.caller="git.fetch",e}}async function Ui({fs:e,dir:t,gitdir:i=G(t,".git"),oids:n,cache:a={}}){try{return Et("fs",e),Et("gitdir",i),Et("oids",n),await $i({fs:new _t(e),cache:a,gitdir:i,oids:n})}catch(e){throw e.caller="git.findMergeBase",e}}async function Li({fs:e,filepath:t}){if(await e.exists(G(t,".git")))return t;{const i=S(t);if(i===t)throw new T(`git root for ${t}`);return Li({fs:e,filepath:i})}}async function qi({fs:e,filepath:t}){try{return Et("fs",e),Et("filepath",t),await Li({fs:new _t(e),filepath:t})}catch(e){throw e.caller="git.findRoot",e}}async function Hi({fs:e,dir:t,gitdir:i=G(t,".git"),path:n}){try{return Et("fs",e),Et("gitdir",i),Et("path",n),await Nt({fs:new _t(e),gitdir:i,path:n})}catch(e){throw e.caller="git.getConfig",e}}async function Wi({fs:e,dir:t,gitdir:i=G(t,".git"),path:n}){try{return Et("fs",e),Et("gitdir",i),Et("path",n),await async function({fs:e,gitdir:t,path:i}){return(await oe.get({fs:e,gitdir:t})).getall(i)}({fs:new _t(e),gitdir:i,path:n})}catch(e){throw e.caller="git.getConfigAll",e}}async function Gi({http:e,onAuth:t,onAuthSuccess:i,onAuthFailure:n,corsProxy:a,url:s,headers:o={},forPush:r=!1}){try{Et("http",e),Et("url",s);const c=fi.getRemoteHelperFor({url:s}),u=await c.discover({http:e,onAuth:t,onAuthSuccess:i,onAuthFailure:n,corsProxy:a,service:r?"git-receive-pack":"git-upload-pack",url:s,headers:o,protocolVersion:1}),l={capabilities:[...u.capabilities]};for(const[e,t]of u.refs){const i=e.split("/"),n=i.pop();let a=l;for(const e of i)a[e]=a[e]||{},a=a[e];a[n]=t}for(const[e,t]of u.symrefs){const i=e.split("/"),n=i.pop();let a=l;for(const e of i)a[e]=a[e]||{},a=a[e];a[n]=t}return l}catch(e){throw e.caller="git.getRemoteInfo",e}}function Vi(e,t,i,n){const a=[];for(const[s,o]of e.refs){if(t&&!s.startsWith(t))continue;if(s.endsWith("^{}")){if(n){const e=s.replace("^{}",""),t=a[a.length-1],i=t.ref===e?t:a.find((t=>t.ref===e));if(void 0===i)throw new Error("I did not expect this to happen");i.peeled=o}continue}const r={ref:s,oid:o};i&&e.symrefs.has(s)&&(r.target=e.symrefs.get(s)),a.push(r)}return a}async function Ki({http:e,onAuth:t,onAuthSuccess:i,onAuthFailure:n,corsProxy:a,url:s,headers:o={},forPush:r=!1,protocolVersion:c=2}){try{Et("http",e),Et("url",s);const u=fi.getRemoteHelperFor({url:s}),l=await u.discover({http:e,onAuth:t,onAuthSuccess:i,onAuthFailure:n,corsProxy:a,service:r?"git-receive-pack":"git-upload-pack",url:s,headers:o,protocolVersion:c});if(2===l.protocolVersion)return{protocolVersion:l.protocolVersion,capabilities:l.capabilities2};const p={};for(const e of l.capabilities){const[t,i]=e.split("=");p[t]=i||!0}return{protocolVersion:1,capabilities:p,refs:Vi(l,void 0,!0,!0)}}catch(e){throw e.caller="git.getRemoteInfo2",e}}async function Yi({object:e}){try{Et("object",e),e="string"==typeof e?Buffer.from(e,"utf8"):Buffer.from(e);const t="blob",{oid:i,object:n}=await async function({type:e,object:t,format:i="content",oid:n}){return"deflated"!==i&&("wrapped"!==i&&(t=be.wrap({type:e,object:t})),n=await _(t)),{oid:n,object:t}}({type:"blob",format:"content",object:e});return{oid:i,type:t,object:new Uint8Array(n),format:"wrapped"}}catch(e){throw e.caller="git.hashBlob",e}}async function Zi({fs:e,onProgress:t,dir:i,gitdir:n=G(i,".git"),filepath:a,cache:s={}}){try{return Et("fs",e),Et("dir",i),Et("gitdir",i),Et("filepath",a),await async function({fs:e,cache:t,onProgress:i,dir:n,gitdir:a,filepath:s}){try{s=G(n,s);const o=await e.read(s),r=i=>Ae({fs:e,cache:t,gitdir:a,oid:i}),c=await Ce.fromPack({pack:o,getExternalRefDelta:r,onProgress:i});return await e.write(s.replace(/\.pack$/,".idx"),await c.toBuffer()),{oids:[...c.hashes]}}catch(e){throw e.caller="git.indexPack",e}}({fs:new _t(e),cache:s,onProgress:t,dir:i,gitdir:n,filepath:a})}catch(e){throw e.caller="git.indexPack",e}}async function Ji({fs:e,bare:t=!1,dir:i,gitdir:n=(t?i:G(i,".git")),defaultBranch:a="master"}){try{return Et("fs",e),Et("gitdir",n),t||Et("dir",i),await Ei({fs:new _t(e),bare:t,dir:i,gitdir:n,defaultBranch:a})}catch(e){throw e.caller="git.init",e}}async function Qi({fs:e,cache:t,gitdir:i,oid:n,ancestor:a,depth:s}){const o=await mi.read({fs:e,gitdir:i});if(!n)throw new We("oid");if(!a)throw new We("ancestor");if(n===a)return!1;const r=[n],c=new Set;let u=0;for(;r.length;){if(u++===s)throw new Ue(s);const n=r.shift(),{type:l,object:p}=await Ae({fs:e,cache:t,gitdir:i,oid:n});if("commit"!==l)throw new I(n,l,"commit");const d=ct.from(p).parse();for(const e of d.parent)if(e===a)return!0;if(!o.has(n))for(const e of d.parent)c.has(e)||(r.push(e),c.add(e))}return!1}async function Xi({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,ancestor:a,depth:s=-1,cache:o={}}){try{return Et("fs",e),Et("gitdir",i),Et("oid",n),Et("ancestor",a),await Qi({fs:new _t(e),cache:o,gitdir:i,oid:n,ancestor:a,depth:s})}catch(e){throw e.caller="git.isDescendent",e}}async function en({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n}){try{return Et("fs",e),Et("dir",t),Et("gitdir",i),Et("filepath",n),Ct.isIgnored({fs:new _t(e),dir:t,gitdir:i,filepath:n})}catch(e){throw e.caller="git.isIgnored",e}}async function tn({fs:e,dir:t,gitdir:i=G(t,".git"),remote:n}){try{return Et("fs",e),Et("gitdir",i),pe.listBranches({fs:new _t(e),gitdir:i,remote:n})}catch(e){throw e.caller="git.listBranches",e}}async function nn({fs:e,gitdir:t,ref:i,cache:n}){if(i){const a=await pe.resolve({gitdir:t,fs:e,ref:i}),s=[];return await an({fs:e,cache:n,gitdir:t,oid:a,filenames:s,prefix:""}),s}return O.acquire({fs:e,gitdir:t,cache:n},(async function(e){return e.entries.map((e=>e.path))}))}async function an({fs:e,cache:t,gitdir:i,oid:n,filenames:a,prefix:s}){const{tree:o}=await Mt({fs:e,cache:t,gitdir:i,oid:n});for(const n of o)"tree"===n.type?await an({fs:e,cache:t,gitdir:i,oid:n.oid,filenames:a,prefix:G(s,n.path)}):a.push(G(s,n.path))}async function sn({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n,cache:a={}}){try{return Et("fs",e),Et("gitdir",i),await nn({fs:new _t(e),cache:a,gitdir:i,ref:n})}catch(e){throw e.caller="git.listFiles",e}}async function on({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n="refs/notes/commits",cache:a={}}){try{return Et("fs",e),Et("gitdir",i),Et("ref",n),await async function({fs:e,cache:t,gitdir:i,ref:n}){let a;try{a=await pe.resolve({gitdir:i,fs:e,ref:n})}catch(e){if(e instanceof T)return[]}return(await Mt({fs:e,cache:t,gitdir:i,oid:a})).tree.map((e=>({target:e.path,note:e.oid})))}({fs:new _t(e),cache:a,gitdir:i,ref:n})}catch(e){throw e.caller="git.listNotes",e}}async function rn({fs:e,dir:t,gitdir:i=G(t,".git")}){try{return Et("fs",e),Et("gitdir",i),await async function({fs:e,gitdir:t}){const i=await oe.get({fs:e,gitdir:t}),n=await i.getSubsections("remote");return Promise.all(n.map((async e=>({remote:e,url:await i.get(`remote.${e}.url`)}))))}({fs:new _t(e),gitdir:i})}catch(e){throw e.caller="git.listRemotes",e}}async function cn({http:e,onAuth:t,onAuthSuccess:i,onAuthFailure:n,corsProxy:a,url:s,headers:o={},forPush:r=!1,protocolVersion:c=2,prefix:u,symrefs:l,peelTags:p}){try{Et("http",e),Et("url",s);const d=await di.discover({http:e,onAuth:t,onAuthSuccess:i,onAuthFailure:n,corsProxy:a,service:r?"git-receive-pack":"git-upload-pack",url:s,headers:o,protocolVersion:c});if(1===d.protocolVersion)return Vi(d,u,l,p);const f=await async function({prefix:e,symrefs:t,peelTags:i}){const n=[];return n.push(si.encode("command=ls-refs\n")),n.push(si.encode(`agent=${vi.agent}\n`)),(i||t||e)&&n.push(si.delim()),i&&n.push(si.encode("peel")),t&&n.push(si.encode("symrefs")),e&&n.push(si.encode(`ref-prefix ${e}`)),n.push(si.flush()),n}({prefix:u,symrefs:l,peelTags:p});return async function(e){const t=si.streamReader(e),i=[];let n;for(;n=await t(),!0!==n;){if(null===n)continue;n=n.toString("utf8").replace(/\n$/,"");const[e,t,...a]=n.split(" "),s={ref:t,oid:e};for(const e of a){const[t,i]=e.split(":");"symref-target"===t?s.target=i:"peeled"===t&&(s.peeled=i)}i.push(s)}return i}((await di.connect({http:e,auth:d.auth,headers:o,corsProxy:a,service:r?"git-receive-pack":"git-upload-pack",url:s,body:f})).body)}catch(e){throw e.caller="git.listServerRefs",e}}async function un({fs:e,dir:t,gitdir:i=G(t,".git")}){try{return Et("fs",e),Et("gitdir",i),pe.listTags({fs:new _t(e),gitdir:i})}catch(e){throw e.caller="git.listTags",e}}async function ln({fs:e,cache:t,gitdir:i,oid:n}){const{type:a,object:s}=await Ae({fs:e,cache:t,gitdir:i,oid:n});if("tag"===a)return ln({fs:e,cache:t,gitdir:i,oid:n=ot.from(s).parse().object});if("commit"!==a)throw new I(n,a,"commit");return{commit:ct.from(s),oid:n}}async function pn({fs:e,cache:t,gitdir:i,oid:n}){const{commit:a,oid:s}=await ln({fs:e,cache:t,gitdir:i,oid:n});return{oid:s,commit:a.parse(),payload:a.withoutSignature()}}function dn(e,t){return e.committer.timestamp-t.committer.timestamp}const fn="e69de29bb2d1d6434b8b29ae775ad8c2e48c5391";async function hn({fs:e,cache:t,gitdir:i,oid:n,fileId:a}){if(a===fn)return;const s=n;let o;const r=await ut({fs:e,cache:t,gitdir:i,oid:n}),c=r.tree;return a===r.oid?o=r.path:(o=await mn({fs:e,cache:t,gitdir:i,tree:c,fileId:a,oid:s}),Array.isArray(o)&&(0===o.length?o=void 0:1===o.length&&(o=o[0]))),o}async function mn({fs:e,cache:t,gitdir:i,tree:n,fileId:a,oid:s,filepaths:o=[],parentPath:r=""}){const c=n.entries().map((function(n){let c;return n.oid===a?(c=G(r,n.path),o.push(c)):"tree"===n.type&&(c=Ae({fs:e,cache:t,gitdir:i,oid:n.oid}).then((function({object:c}){return mn({fs:e,cache:t,gitdir:i,tree:ge.from(c),fileId:a,oid:s,filepaths:o,parentPath:G(r,n.path)})}))),c}));return await Promise.all(c),o}async function gn({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n,ref:a="HEAD",depth:s,since:o,force:r,follow:c,cache:u={}}){try{return Et("fs",e),Et("gitdir",i),Et("ref",a),await async function({fs:e,cache:t,gitdir:i,filepath:n,ref:a,depth:s,since:o,force:r,follow:c}){const u=void 0===o?void 0:Math.floor(o.valueOf()/1e3),l=[],p=await mi.read({fs:e,gitdir:i}),d=await pe.resolve({fs:e,gitdir:i,ref:a}),f=[await pn({fs:e,cache:t,gitdir:i,oid:d})];let h,m,g;function b(e){g&&n&&l.push(e)}for(;f.length>0;){const a=f.pop();if(void 0!==u&&a.commit.committer.timestamp<=u)break;if(n){let s;try{s=await Tt({fs:e,cache:t,gitdir:i,oid:a.commit.tree,filepath:n}),m&&h!==s&&l.push(m),h=s,m=a,g=!0}catch(s){if(!(s instanceof T))throw s;{let o=c&&h;if(o&&(o=await hn({fs:e,cache:t,gitdir:i,oid:a.commit.tree,fileId:h}),o))if(Array.isArray(o)){if(m){const a=await hn({fs:e,cache:t,gitdir:i,oid:m.commit.tree,fileId:h});if(Array.isArray(a)){if(o=o.filter((e=>-1===a.indexOf(e))),1!==o.length){o=!1,m&&l.push(m);break}o=o[0],n=o,m&&l.push(m)}}}else n=o,m&&l.push(m);if(!o){if(g&&h&&(l.push(m),!r))break;if(!r&&!c)throw s}m=a,g=!1}}}else l.push(a);if(void 0!==s&&l.length===s){b(a);break}if(!p.has(a.oid))for(const n of a.commit.parent){const a=await pn({fs:e,cache:t,gitdir:i,oid:n});f.map((e=>e.oid)).includes(a.oid)||f.push(a)}0===f.length&&b(a),f.sort(((e,t)=>dn(e.commit,t.commit)))}return l}({fs:new _t(e),cache:u,gitdir:i,filepath:n,ref:a,depth:s,since:o,force:r,follow:c})}catch(e){throw e.caller="git.log",e}}async function bn({fs:e,onSign:t,dir:i,gitdir:n=G(i,".git"),ours:a,theirs:s,fastForward:o=!0,fastForwardOnly:r=!1,dryRun:c=!1,noUpdateBranch:u=!1,abortOnConflict:l=!0,message:p,author:d,committer:f,signingKey:h,cache:m={},mergeDriver:g}){try{Et("fs",e),h&&Et("onSign",t);const b=new _t(e),v=await Ut({fs:b,gitdir:n,author:d});if(!(v||r&&o))throw new He("author");const x=await Lt({fs:b,gitdir:n,author:v,committer:f});if(!(x||r&&o))throw new He("committer");return await Ii({fs:b,cache:m,dir:i,gitdir:n,ours:a,theirs:s,fastForward:o,fastForwardOnly:r,dryRun:c,noUpdateBranch:u,abortOnConflict:l,message:p,author:v,committer:x,signingKey:h,onSign:t,mergeDriver:g})}catch(e){throw e.caller="git.merge",e}}const vn={commit:16,tree:32,blob:48,tag:64,ofs_delta:96,ref_delta:112};async function xn({fs:e,cache:t,dir:i,gitdir:n=G(i,".git"),oids:s}){const o=new a,r=[];function c(e,t){const i=Buffer.from(e,t);r.push(i),o.update(i)}async function u({stype:e,object:t}){const i=vn[e];let n=t.length,a=n>15?128:0;const s=15&n;n>>>=4;let o=(a|i|s).toString(16);for(c(o,"hex");a;)a=n>127?128:0,o=a|127&n,c(ai(2,o),"hex"),n>>>=7;c(Buffer.from(await Ot(t)))}c("PACK"),c("00000002","hex"),c(ai(8,s.length),"hex");for(const i of s){const{type:a,object:s}=await Ae({fs:e,cache:t,gitdir:n,oid:i});await u({write:c,object:s,stype:a})}const l=o.digest();return r.push(l),r}async function yn({fs:e,dir:t,gitdir:i=G(t,".git"),oids:n,write:a=!1,cache:s={}}){try{return Et("fs",e),Et("gitdir",i),Et("oids",n),await async function({fs:e,cache:t,gitdir:i,oids:n,write:a}){const s=await xn({fs:e,cache:t,gitdir:i,oids:n}),o=Buffer.from(await ii(s)),r=`pack-${o.slice(-20).toString("hex")}.pack`;return a?(await e.write(G(i,`objects/pack/${r}`),o),{filename:r}):{filename:r,packfile:new Uint8Array(o)}}({fs:new _t(e),cache:s,gitdir:i,oids:n,write:a})}catch(e){throw e.caller="git.packObjects",e}}async function wn({fs:e,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c=G(r,".git"),ref:u,url:l,remote:p,remoteRef:d,prune:f=!1,pruneTags:h=!1,fastForward:m=!0,fastForwardOnly:g=!1,corsProxy:b,singleBranch:v,headers:x={},author:y,committer:w,signingKey:D,cache:_={}}){try{Et("fs",e),Et("gitdir",c);const E=new _t(e),F=await Ut({fs:E,gitdir:c,author:y});if(!F)throw new He("author");const k=await Lt({fs:E,gitdir:c,author:F,committer:w});if(!k)throw new He("committer");return await Mi({fs:E,cache:_,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c,ref:u,url:l,remote:p,remoteRef:d,fastForward:m,fastForwardOnly:g,corsProxy:b,singleBranch:v,headers:x,author:F,committer:k,signingKey:D,prune:f,pruneTags:h})}catch(e){throw e.caller="git.pull",e}}async function Dn({fs:e,cache:t,dir:i,gitdir:n=G(i,".git"),oids:a}){const s=new Set;async function o(i){if(s.has(i))return;s.add(i);const{type:a,object:r}=await Ae({fs:e,cache:t,gitdir:n,oid:i});if("tag"===a){const e=ot.from(r).headers().object;await o(e)}else if("commit"===a){const e=ct.from(r).headers().tree;await o(e)}else if("tree"===a){const e=ge.from(r);for(const t of e)"blob"===t.type&&s.add(t.oid),"tree"===t.type&&await o(t.oid)}}for(const e of a)await o(e);return s}async function _n({fs:e,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,dir:r,gitdir:c=G(r,".git"),ref:u,remoteRef:l,remote:p="origin",url:d,force:f=!1,delete:h=!1,corsProxy:m,headers:g={},cache:b={}}){try{return Et("fs",e),Et("http",t),Et("gitdir",c),await async function({fs:e,cache:t,http:i,onProgress:n,onMessage:a,onAuth:s,onAuthSuccess:o,onAuthFailure:r,gitdir:c,ref:u,remoteRef:l,remote:p,url:d,force:f=!1,delete:h=!1,corsProxy:m,headers:g={}}){const b=u||await Xt({fs:e,gitdir:c});if(void 0===b)throw new We("ref");const v=await oe.get({fs:e,gitdir:c});p=p||await v.get(`branch.${b}.pushRemote`)||await v.get("remote.pushDefault")||await v.get(`branch.${b}.remote`)||"origin";const x=d||await v.get(`remote.${p}.pushurl`)||await v.get(`remote.${p}.url`);if(void 0===x)throw new We("remote OR url");const y=l||await v.get(`branch.${b}.merge`);if(void 0===x)throw new We("remoteRef");void 0===m&&(m=await v.get("http.corsProxy"));const w=await pe.expand({fs:e,gitdir:c,ref:b}),D=h?"0000000000000000000000000000000000000000":await pe.resolve({fs:e,gitdir:c,ref:w}),_=fi.getRemoteHelperFor({url:x}),E=await _.discover({http:i,onAuth:s,onAuthSuccess:o,onAuthFailure:r,corsProxy:m,service:"git-receive-pack",url:x,headers:g,protocolVersion:1}),F=E.auth;let k;if(y)try{k=await pe.expandAgainstMap({ref:y,map:E.refs})}catch(e){if(!(e instanceof T))throw e;k=y.startsWith("refs/")?y:`refs/heads/${y}`}else k=w;const C=E.refs.get(k)||"0000000000000000000000000000000000000000",j=!E.capabilities.has("no-thin");let O=new Set;if(!h){const i=[...E.refs.values()];let n=new Set;if("0000000000000000000000000000000000000000"!==C){const a=await $i({fs:e,cache:t,gitdir:c,oids:[D,C]});for(const e of a)i.push(e);j&&(n=await Dn({fs:e,cache:t,gitdir:c,oids:a}))}if(!i.includes(D)){const n=await async function({fs:e,cache:t,dir:i,gitdir:n=G(i,".git"),start:a,finish:s}){const o=await mi.read({fs:e,gitdir:n}),r=new Set,c=new Set;for(const t of a)r.add(await pe.resolve({fs:e,gitdir:n,ref:t}));for(const t of s)try{const i=await pe.resolve({fs:e,gitdir:n,ref:t});c.add(i)}catch(e){}const u=new Set;async function l(i){u.add(i);const{type:a,object:s}=await Ae({fs:e,cache:t,gitdir:n,oid:i});if("tag"===a)return l(ot.from(s).headers().object);if("commit"!==a)throw new I(i,a,"commit");if(!o.has(i)){const e=ct.from(s).headers().parent;for(i of e)c.has(i)||u.has(i)||await l(i)}}for(const e of r)await l(e);return u}({fs:e,cache:t,gitdir:c,start:[D],finish:i});O=await Dn({fs:e,cache:t,gitdir:c,oids:n})}if(j){try{const i=await pe.resolve({fs:e,gitdir:c,ref:`refs/remotes/${p}/HEAD`,depth:2}),{oid:a}=await pe.resolveAgainstMap({ref:i.replace(`refs/remotes/${p}/`,""),fullref:i,map:E.refs}),s=[a];for(const i of await Dn({fs:e,cache:t,gitdir:c,oids:s}))n.add(i)}catch(e){}for(const e of n)O.delete(e)}if(D===C&&(f=!0),!f){if(w.startsWith("refs/tags")&&"0000000000000000000000000000000000000000"!==C)throw new Ke("tag-exists");if("0000000000000000000000000000000000000000"!==D&&"0000000000000000000000000000000000000000"!==C&&!await Qi({fs:e,cache:t,gitdir:c,oid:D,ancestor:C,depth:-1}))throw new Ke("not-fast-forward")}}const A=bi([...E.capabilities],["report-status","side-band-64k",`agent=${vi.agent}`]),S=await async function({capabilities:e=[],triplets:t=[]}){const i=[];let n=`\0 ${e.join(" ")}`;for(const e of t)i.push(si.encode(`${e.oldoid} ${e.oid} ${e.fullRef}${n}\n`)),n="";return i.push(si.flush()),i}({capabilities:A,triplets:[{oldoid:C,oid:D,fullRef:k}]}),B=h?[]:await xn({fs:e,cache:t,gitdir:c,oids:[...O]}),R=await _.connect({http:i,onProgress:n,corsProxy:m,service:"git-receive-pack",url:x,auth:F,headers:g,body:[...S,...B]}),{packfile:$,progress:P}=await Di.demux(R.body);a&&ti(wi(P),(async e=>{await a(e)}));const M=await async function(e){const t={};let i="";const n=si.streamReader(e);let a=await n();for(;!0!==a;)null!==a&&(i+=a.toString("utf8")+"\n"),a=await n();const s=i.toString("utf8").split("\n");if(a=s.shift(),!a.startsWith("unpack "))throw new Ve('unpack ok" or "unpack [error message]',a);t.ok="unpack ok"===a,t.ok||(t.error=a.slice(7)),t.refs={};for(const e of s){if(""===e.trim())continue;const i=e.slice(0,2),n=e.slice(3);let a=n.indexOf(" ");-1===a&&(a=n.length);const s=n.slice(0,a),o=n.slice(a+1);t.refs[s]={ok:"ok"===i,error:o}}return t}($);if(R.headers&&(M.headers=R.headers),p&&M.ok&&M.refs[k].ok){const t=`refs/remotes/${p}/${k.replace("refs/heads","")}`;h?await pe.deleteRef({fs:e,gitdir:c,ref:t}):await pe.writeRef({fs:e,gitdir:c,ref:t,value:D})}if(M.ok&&Object.values(M.refs).every((e=>e.ok)))return M;{const e=Object.entries(M.refs).filter((([e,t])=>!t.ok)).map((([e,t])=>`\n - ${e}: ${t.error}`)).join("");throw new Ie(e,M)}}({fs:new _t(e),cache:b,http:t,onProgress:i,onMessage:n,onAuth:a,onAuthSuccess:s,onAuthFailure:o,gitdir:c,ref:u,remoteRef:l,remote:p,url:d,force:f,delete:h,corsProxy:m,headers:g})}catch(e){throw e.caller="git.push",e}}async function En({fs:e,cache:t,gitdir:i,oid:n}){const{type:a,object:s}=await Ae({fs:e,cache:t,gitdir:i,oid:n});if("tag"===a)return En({fs:e,cache:t,gitdir:i,oid:n=ot.from(s).parse().object});if("blob"!==a)throw new I(n,a,"blob");return{oid:n,blob:new Uint8Array(s)}}async function Fn({fs:e,cache:t,gitdir:i,oid:n,filepath:a}){return void 0!==a&&(n=await Tt({fs:e,cache:t,gitdir:i,oid:n,filepath:a})),await En({fs:e,cache:t,gitdir:i,oid:n})}async function kn({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,filepath:a,cache:s={}}){try{return Et("fs",e),Et("gitdir",i),Et("oid",n),await Fn({fs:new _t(e),cache:s,gitdir:i,oid:n,filepath:a})}catch(e){throw e.caller="git.readBlob",e}}async function Cn({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,cache:a={}}){try{return Et("fs",e),Et("gitdir",i),Et("oid",n),await pn({fs:new _t(e),cache:a,gitdir:i,oid:n})}catch(e){throw e.caller="git.readCommit",e}}async function jn({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n="refs/notes/commits",oid:a,cache:s={}}){try{return Et("fs",e),Et("gitdir",i),Et("ref",n),Et("oid",a),await async function({fs:e,cache:t,gitdir:i,ref:n="refs/notes/commits",oid:a}){const s=await pe.resolve({gitdir:i,fs:e,ref:n}),{blob:o}=await Fn({fs:e,cache:t,gitdir:i,oid:s,filepath:a});return o}({fs:new _t(e),cache:s,gitdir:i,ref:n,oid:a})}catch(e){throw e.caller="git.readNote",e}}async function On({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,format:a="parsed",filepath:s,encoding:o,cache:r={}}){try{Et("fs",e),Et("gitdir",i),Et("oid",n);const t=new _t(e);void 0!==s&&(n=await Tt({fs:t,cache:r,gitdir:i,oid:n,filepath:s}));const c="parsed"===a?"content":a,u=await Ae({fs:t,cache:r,gitdir:i,oid:n,format:c});if(u.oid=n,"parsed"===a)switch(u.format="parsed",u.type){case"commit":u.object=ct.from(u.object).parse();break;case"tree":u.object=ge.from(u.object).entries();break;case"blob":o?u.object=u.object.toString(o):(u.object=new Uint8Array(u.object),u.format="content");break;case"tag":u.object=ot.from(u.object).parse();break;default:throw new I(u.oid,u.type,"blob|commit|tag|tree")}else"deflated"!==u.format&&"wrapped"!==u.format||(u.type=u.format);return u}catch(e){throw e.caller="git.readObject",e}}async function An({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,cache:a={}}){try{return Et("fs",e),Et("gitdir",i),Et("oid",n),await async function({fs:e,cache:t,gitdir:i,oid:n}){const{type:a,object:s}=await Ae({fs:e,cache:t,gitdir:i,oid:n,format:"content"});if("tag"!==a)throw new I(n,a,"tag");const o=ot.from(s);return{oid:n,tag:o.parse(),payload:o.payload()}}({fs:new _t(e),cache:a,gitdir:i,oid:n})}catch(e){throw e.caller="git.readTag",e}}async function Sn({fs:e,dir:t,gitdir:i=G(t,".git"),oid:n,filepath:a,cache:s={}}){try{return Et("fs",e),Et("gitdir",i),Et("oid",n),await Mt({fs:new _t(e),cache:s,gitdir:i,oid:n,filepath:a})}catch(e){throw e.caller="git.readTree",e}}async function Bn({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n,cache:a={}}){try{Et("fs",e),Et("gitdir",i),Et("filepath",n),await O.acquire({fs:new _t(e),gitdir:i,cache:a},(async function(e){e.delete({filepath:n})}))}catch(e){throw e.caller="git.remove",e}}async function Rn({fs:e,onSign:t,dir:i,gitdir:n=G(i,".git"),ref:a="refs/notes/commits",oid:s,author:o,committer:r,signingKey:c,cache:u={}}){try{Et("fs",e),Et("gitdir",n),Et("oid",s);const i=new _t(e),l=await Ut({fs:i,gitdir:n,author:o});if(!l)throw new He("author");const p=await Lt({fs:i,gitdir:n,author:l,committer:r});if(!p)throw new He("committer");return await async function({fs:e,cache:t,onSign:i,gitdir:n,ref:a="refs/notes/commits",oid:s,author:o,committer:r,signingKey:c}){let u;try{u=await pe.resolve({gitdir:n,fs:e,ref:a})}catch(e){if(!(e instanceof T))throw e}let l=(await Mt({fs:e,gitdir:n,oid:u||"4b825dc642cb6eb9a060e54bf8d69288fbee4904"})).tree;l=l.filter((e=>e.path!==s));const p=await zt({fs:e,gitdir:n,tree:l});return await $t({fs:e,cache:t,onSign:i,gitdir:n,ref:a,tree:p,parent:u&&[u],message:"Note removed by 'isomorphic-git removeNote'\n",author:o,committer:r,signingKey:c})}({fs:i,cache:u,onSign:t,gitdir:n,ref:a,oid:s,author:l,committer:p,signingKey:c})}catch(e){throw e.caller="git.removeNote",e}}async function $n({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n,oldref:a,checkout:s=!1}){try{return Et("fs",e),Et("gitdir",i),Et("ref",n),Et("oldref",a),await async function({fs:e,gitdir:t,oldref:i,ref:n,checkout:a=!1}){if(n!==u.clean(n))throw new Ne(n,u.clean(n));if(i!==u.clean(i))throw new Ne(i,u.clean(i));const s=`refs/heads/${i}`,o=`refs/heads/${n}`;if(await pe.exists({fs:e,gitdir:t,ref:o}))throw new Se("branch",n,!1);const r=await pe.resolve({fs:e,gitdir:t,ref:s,depth:1});await pe.writeRef({fs:e,gitdir:t,ref:o,value:r}),await pe.deleteRef({fs:e,gitdir:t,ref:s});const c=await Xt({fs:e,gitdir:t,fullname:!0});(a||c===s)&&await pe.writeSymbolicRef({fs:e,gitdir:t,ref:"HEAD",value:o})}({fs:new _t(e),gitdir:i,ref:n,oldref:a,checkout:s})}catch(e){throw e.caller="git.renameBranch",e}}async function Pn({gitdir:e,type:t,object:i}){return _(be.wrap({type:t,object:i}))}async function Tn({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n,ref:a,cache:s={}}){try{Et("fs",e),Et("gitdir",i),Et("filepath",n);const o=new _t(e);let r,c;try{r=await pe.resolve({fs:o,gitdir:i,ref:a||"HEAD"})}catch(e){if(a)throw e}if(r)try{r=await Tt({fs:o,cache:s,gitdir:i,oid:r,filepath:n})}catch(e){r=null}let u={ctime:new Date(0),mtime:new Date(0),dev:0,ino:0,mode:0,uid:0,gid:0,size:0};const l=t&&await o.read(G(t,n));l&&(c=await Pn({gitdir:i,type:"blob",object:l}),r===c&&(u=await o.lstat(G(t,n)))),await O.acquire({fs:o,gitdir:i,cache:s},(async function(e){e.delete({filepath:n}),r&&e.insert({filepath:n,stats:u,oid:r})}))}catch(e){throw e.caller="git.reset",e}}async function In({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n,depth:a}){try{return Et("fs",e),Et("gitdir",i),Et("ref",n),await pe.resolve({fs:new _t(e),gitdir:i,ref:n,depth:a})}catch(e){throw e.caller="git.resolveRef",e}}async function Mn({fs:e,dir:t,gitdir:i=G(t,".git"),path:n,value:a,append:s=!1}){try{Et("fs",e),Et("gitdir",i),Et("path",n);const t=new _t(e),o=await oe.get({fs:t,gitdir:i});s?await o.append(n,a):await o.set(n,a),await oe.save({fs:t,gitdir:i,config:o})}catch(e){throw e.caller="git.setConfig",e}}async function zn({fs:e,dir:t,gitdir:i=G(t,".git"),filepath:n,cache:a={}}){try{Et("fs",e),Et("gitdir",i),Et("filepath",n);const s=new _t(e);if(await Ct.isIgnored({fs:s,gitdir:i,dir:t,filepath:n}))return"ignored";const o=await async function({fs:e,cache:t,gitdir:i}){let n;try{n=await pe.resolve({fs:e,gitdir:i,ref:"HEAD"})}catch(e){if(e instanceof T)return[]}const{tree:a}=await Mt({fs:e,cache:t,gitdir:i,oid:n});return a}({fs:s,cache:a,gitdir:i}),r=await Nn({fs:s,cache:a,gitdir:i,tree:o,path:n}),c=await O.acquire({fs:s,gitdir:i,cache:a},(async function(e){for(const t of e)if(t.path===n)return t;return null})),u=await s.lstat(G(t,n)),l=null!==r,p=null!==c,d=null!==u,f=async()=>{if(p&&!k(c,u))return c.oid;{const e=await s.read(G(t,n)),o=await Pn({gitdir:i,type:"blob",object:e});return p&&c.oid===o&&-1!==u.size&&O.acquire({fs:s,gitdir:i,cache:a},(async function(e){e.insert({filepath:n,stats:u,oid:o})})),o}};if(!l&&!d&&!p)return"absent";if(!l&&!d&&p)return"*absent";if(!l&&d&&!p)return"*added";if(!l&&d&&p)return await f()===c.oid?"added":"*added";if(l&&!d&&!p)return"deleted";if(l&&!d&&p)return c.oid,"*deleted";if(l&&d&&!p)return await f()===r?"*undeleted":"*undeletemodified";if(l&&d&&p){const e=await f();return e===r?e===c.oid?"unmodified":"*unmodified":e===c.oid?"modified":"*modified"}}catch(e){throw e.caller="git.status",e}}async function Nn({fs:e,cache:t,gitdir:i,tree:n,path:a}){"string"==typeof a&&(a=a.split("/"));const s=a.shift();for(const o of n)if(o.path===s){if(0===a.length)return o.oid;const{type:n,object:s}=await Ae({fs:e,cache:t,gitdir:i,oid:o.oid});if("tree"===n)return Nn({fs:e,cache:t,gitdir:i,tree:ge.from(s),path:a});if("blob"===n)throw new I(o.oid,n,"blob",a.join("/"))}return null}async function Un({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n="HEAD",filepaths:a=["."],filter:s,cache:o={},ignored:r=!1}){try{Et("fs",e),Et("gitdir",i),Et("ref",n);const c=new _t(e);return await bt({fs:c,cache:o,dir:t,gitdir:i,trees:[pt({ref:n}),ft(),P()],map:async function(e,[i,n,o]){if(!i&&!o&&n&&!r&&await Ct.isIgnored({fs:c,dir:t,filepath:e}))return null;if(!a.some((t=>Kt(e,t))))return null;if(s&&!s(e))return;const[u,l,p]=await Promise.all([i&&i.type(),n&&n.type(),o&&o.type()]),d=[u,l,p].includes("blob");if(("tree"===u||"special"===u)&&!d)return;if("commit"===u)return null;if(("tree"===l||"special"===l)&&!d)return;if("commit"===p)return null;if(("tree"===p||"special"===p)&&!d)return;const f="blob"===u?await i.oid():void 0,h="blob"===p?await o.oid():void 0;let m;"blob"!==u&&"blob"===l&&"blob"!==p?m="42":"blob"===l&&(m=await n.oid());const g=[void 0,f,m,h],b=g.map((e=>g.indexOf(e)));return b.shift(),[e,...b]}})}catch(e){throw e.caller="git.statusMatrix",e}}async function Ln({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n,object:a,force:s=!1}){try{Et("fs",e),Et("gitdir",i),Et("ref",n);const t=new _t(e);if(void 0===n)throw new We("ref");n=n.startsWith("refs/tags/")?n:`refs/tags/${n}`;const o=await pe.resolve({fs:t,gitdir:i,ref:a||"HEAD"});if(!s&&await pe.exists({fs:t,gitdir:i,ref:n}))throw new Se("tag",n);await pe.writeRef({fs:t,gitdir:i,ref:n,value:o})}catch(e){throw e.caller="git.tag",e}}async function qn({fs:e,dir:t,gitdir:i=G(t,".git"),cache:n={},filepath:a,oid:s,mode:o,add:r,remove:c,force:u}){try{Et("fs",e),Et("gitdir",i),Et("filepath",a);const l=new _t(e);if(c)return await O.acquire({fs:l,gitdir:i,cache:n},(async function(e){let i;if(u||(i=await l.lstat(G(t,a)),!i))e.has({filepath:a})&&e.delete({filepath:a});else if(i.isDirectory())throw new ze("directory")}));let p;if(!s){if(p=await l.lstat(G(t,a)),!p)throw new T(`file at "${a}" on disk and "remove" not set`);if(p.isDirectory())throw new ze("directory")}return await O.acquire({fs:l,gitdir:i,cache:n},(async function(e){if(!r&&!e.has({filepath:a}))throw new T(`file at "${a}" in index and "add" not set`);let n={ctime:new Date(0),mtime:new Date(0),dev:0,ino:0,mode:o,uid:0,gid:0,size:0};if(!s){n=p;const e=n.isSymbolicLink()?await l.readlink(G(t,a)):await l.read(G(t,a));s=await At({fs:l,gitdir:i,type:"blob",format:"content",object:e})}return e.insert({filepath:a,oid:s,stats:n}),s}))}catch(e){throw e.caller="git.updateIndex",e}}function Hn(){try{return vi.version}catch(e){throw e.caller="git.version",e}}async function Wn({fs:e,dir:t,gitdir:i=G(t,".git"),trees:n,map:a,reduce:s,iterate:o,cache:r={}}){try{return Et("fs",e),Et("gitdir",i),Et("trees",n),await bt({fs:new _t(e),cache:r,dir:t,gitdir:i,trees:n,map:a,reduce:s,iterate:o})}catch(e){throw e.caller="git.walk",e}}async function Gn({fs:e,dir:t,gitdir:i=G(t,".git"),blob:n}){try{return Et("fs",e),Et("gitdir",i),Et("blob",n),await At({fs:new _t(e),gitdir:i,type:"blob",object:n,format:"content"})}catch(e){throw e.caller="git.writeBlob",e}}async function Vn({fs:e,dir:t,gitdir:i=G(t,".git"),commit:n}){try{return Et("fs",e),Et("gitdir",i),Et("commit",n),await async function({fs:e,gitdir:t,commit:i}){const n=ct.from(i).toObject();return await At({fs:e,gitdir:t,type:"commit",object:n,format:"content"})}({fs:new _t(e),gitdir:i,commit:n})}catch(e){throw e.caller="git.writeCommit",e}}async function Kn({fs:e,dir:t,gitdir:i=G(t,".git"),type:n,object:a,format:s="parsed",oid:o,encoding:r}){try{const t=new _t(e);if("parsed"===s){switch(n){case"commit":a=ct.from(a).toObject();break;case"tree":a=ge.from(a).toObject();break;case"blob":a=Buffer.from(a,r);break;case"tag":a=ot.from(a).toObject();break;default:throw new I(o||"",n,"blob|commit|tag|tree")}s="content"}return await At({fs:t,gitdir:i,type:n,object:a,oid:o,format:s})}catch(e){throw e.caller="git.writeObject",e}}async function Yn({fs:e,dir:t,gitdir:i=G(t,".git"),ref:n,value:a,force:s=!1,symbolic:o=!1}){try{Et("fs",e),Et("gitdir",i),Et("ref",n),Et("value",a);const t=new _t(e);if(n!==u.clean(n))throw new Ne(n,u.clean(n));if(!s&&await pe.exists({fs:t,gitdir:i,ref:n}))throw new Se("ref",n);o?await pe.writeSymbolicRef({fs:t,gitdir:i,ref:n,value:a}):(a=await pe.resolve({fs:t,gitdir:i,ref:a}),await pe.writeRef({fs:t,gitdir:i,ref:n,value:a}))}catch(e){throw e.caller="git.writeRef",e}}async function Zn({fs:e,dir:t,gitdir:i=G(t,".git"),tag:n}){try{return Et("fs",e),Et("gitdir",i),Et("tag",n),await async function({fs:e,gitdir:t,tag:i}){const n=ot.from(i).toObject();return await At({fs:e,gitdir:t,type:"tag",object:n,format:"content"})}({fs:new _t(e),gitdir:i,tag:n})}catch(e){throw e.caller="git.writeTag",e}}async function Jn({fs:e,dir:t,gitdir:i=G(t,".git"),tree:n}){try{return Et("fs",e),Et("gitdir",i),Et("tree",n),await zt({fs:new _t(e),gitdir:i,tree:n})}catch(e){throw e.caller="git.writeTree",e}}const Qn={Errors:tt,STAGE:P,TREE:pt,WORKDIR:ft,add:Bt,abortMerge:kt,addNote:qt,addRemote:Wt,annotatedTag:Gt,branch:Vt,checkout:Zt,clone:Fi,commit:ki,getConfig:Hi,getConfigAll:Wi,setConfig:Mn,currentBranch:Ci,deleteBranch:ji,deleteRef:Oi,deleteRemote:Ai,deleteTag:Si,expandOid:Bi,expandRef:Ri,fastForward:zi,fetch:Ni,findMergeBase:Ui,findRoot:qi,getRemoteInfo:Gi,getRemoteInfo2:Ki,hashBlob:Yi,indexPack:Zi,init:Ji,isDescendent:Xi,isIgnored:en,listBranches:tn,listFiles:sn,listNotes:on,listRemotes:rn,listServerRefs:cn,listTags:un,log:gn,merge:bn,packObjects:yn,pull:wn,push:_n,readBlob:kn,readCommit:Cn,readNote:jn,readObject:On,readTag:An,readTree:Sn,remove:Bn,removeNote:Rn,renameBranch:$n,resetIndex:Tn,updateIndex:qn,resolveRef:In,status:zn,statusMatrix:Un,tag:Ln,version:Hn,walk:Wn,writeBlob:Gn,writeCommit:Vn,writeObject:Kn,writeRef:Yn,writeTag:Zn,writeTree:Jn}},8330:e=>{"use strict";e.exports=JSON.parse('{"name":"@squidcloud/cli","version":"1.0.220","description":"The Squid Cloud CLI","main":"dist/index.js","scripts":{"start":"node dist/index.js","start-ts":"ts-node -r tsconfig-paths/register src/index.ts","prebuild":"rimraf dist","build":"webpack --mode=production","build:dev":"webpack --mode=development","build:prod":"webpack --mode=production","lint":"eslint . --ext .ts","link":"npm run build && chmod 755 dist/index.js && npm link","watch":"webpack --watch","deploy":"npm run build && npm uninstall -g @squidcloud/cli && npm install -g .","publish:public":"npm run build && npm publish --access public"},"files":["dist/**/*"],"bin":{"squid":"dist/index.js"},"keywords":[],"author":"","license":"ISC","engines":{"node":">=18.0.0"},"dependencies":{"axios":"^1.6.7","@squidcloud/schematics":"^1.0.220","@angular-devkit/schematics-cli":"^17.3.5","isomorphic-git":"^1.25.7"}}')},2108:e=>{"use strict";e.exports=JSON.parse('{"name":"dotenv","version":"16.3.1","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","lint-readme":"standard-markdown","pretest":"npm run lint && npm run dts-check","test":"tap tests/*.js --100 -Rspec","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"funding":"https://github.com/motdotla/dotenv?sponsor=1","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@definitelytyped/dtslint":"^0.0.133","@types/node":"^18.11.3","decache":"^4.6.1","sinon":"^14.0.1","standard":"^17.0.0","standard-markdown":"^7.1.0","standard-version":"^9.5.0","tap":"^16.3.0","tar":"^6.1.11","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')},8761:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"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":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"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":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"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":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"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":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"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":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"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":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"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":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"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":true},"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":false,"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":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"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":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"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":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"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":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"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":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"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":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"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":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"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":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"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":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"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":false,"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":true,"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":true},"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":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"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":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"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":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"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":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"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":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"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":true,"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":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"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":true},"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":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"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":true,"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":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"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":true},"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":true},"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":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"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":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"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":false},"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":false},"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":false},"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":true},"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":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"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":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"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":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"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":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"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":false},"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":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"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":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"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":true},"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":true},"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":true,"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":false,"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":true,"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":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"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":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"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":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"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":false,"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":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"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":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"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":true},"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":false,"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":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"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":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"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":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"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":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"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":true},"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":true},"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":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"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":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"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":true,"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":true},"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":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"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":true},"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":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"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":true,"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":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"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":true,"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":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"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":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"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":true,"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":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"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":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"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":true},"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":true,"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":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"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":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"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":false,"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":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"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":false},"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":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"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":true,"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":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"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":false},"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":true,"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":false,"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":false,"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":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"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":true,"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":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"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":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"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":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"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":false,"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":false,"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":false},"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":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"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":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"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":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"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":false,"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":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"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":false},"image/png":{"source":"iana","compressible":false,"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":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"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":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"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":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"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":false},"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":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"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":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"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":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"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":true},"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":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"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":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"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":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"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":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"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":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"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":true,"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":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"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":true,"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":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"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":true,"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":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"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":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"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":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"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":false,"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":true},"x-shader/x-vertex":{"compressible":true}}')}},t={};function i(n){var a=t[n];if(void 0!==a)return a.exports;var s=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.loaded=!0,s.exports}i.c=t,i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n=i(i.s=6568),a=exports;for(var s in n)a[s]=n[s];n.__esModule&&Object.defineProperty(a,"__esModule",{value:!0})})();
|