@appshell/cli 1.0.0-alpha.69 → 1.0.0-alpha.70
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/main.js +1 -1
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
|| ${a} === "boolean" || ${o} === null`).assign(c,s._`[${o}]`)}}r.else(),h(e),r.endIf(),r.if(s._`${c} !== undefined`,(()=>{r.assign(o,c),function({gen:e,parentData:t,parentDataProperty:n},r){e.if(s._`${t} !== undefined`,(()=>e.assign(s._`${t}[${n}]`,r)))}(e,c)}))}(e,t,a):h(e)}))}return u};const l=new Set(["string","number","integer","boolean","null"]);function p(e,t,n,r=c.Correct){const o=r===c.Correct?s.operators.EQ:s.operators.NEQ;let i;switch(e){case"null":return s._`${t} ${o} null`;case"array":i=s._`Array.isArray(${t})`;break;case"object":i=s._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":i=a(s._`!(${t} % 1) && !isNaN(${t})`);break;case"number":i=a();break;default:return s._`typeof ${t} ${o} ${e}`}return r===c.Correct?i:(0,s.not)(i);function a(e=s.nil){return(0,s.and)(s._`typeof ${t} == "number"`,e,n?s._`isFinite(${t})`:s.nil)}}function f(e,t,n,r){if(1===e.length)return p(e[0],t,n,r);let o;const i=(0,a.toHash)(e);if(i.array&&i.object){const e=s._`typeof ${t} != "object"`;o=i.null?e:s._`!${t} || ${e}`,delete i.null,delete i.array,delete i.object}else o=s.nil;i.number&&delete i.integer;for(const e in i)o=(0,s.and)(o,p(e,t,n,r));return o}t.checkDataType=p,t.checkDataTypes=f;const d={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?s._`{type: ${e}}`:s._`{type: ${t}}`};function h(e){const t=function(e){const{gen:t,data:n,schema:r}=e,o=(0,a.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:o,schemaValue:o,parentSchema:r,params:{},it:e}}(e);(0,i.reportError)(t,d)}t.reportTypeError=h},138(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const r=n(5441),o=n(2911);function i(e,t,n){const{gen:i,compositeRule:s,data:a,opts:c}=e;if(void 0===n)return;const u=r._`${a}${(0,r.getProperty)(t)}`;if(s)return void(0,o.checkStrictMode)(e,`default is ignored for: ${u}`);let l=r._`${u} === undefined`;"empty"===c.useDefaults&&(l=r._`${l} || ${u} === null || ${u} === ""`),i.if(l,r._`${u} = ${(0,r.stringify)(n)}`)}t.assignDefaults=function(e,t){const{properties:n,items:r}=e.schema;if("object"===t&&n)for(const t in n)i(e,t,n[t].default);else"array"===t&&Array.isArray(r)&&r.forEach(((t,n)=>i(e,n,t.default)))}},7046(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const r=n(6939),o=n(6700),i=n(1835),s=n(6700),a=n(138),c=n(5469),u=n(2955),l=n(5441),p=n(9963),f=n(5295),d=n(2911),h=n(232);function m({gen:e,validateName:t,schema:n,schemaEnv:r,opts:o},i){o.code.es5?e.func(t,l._`${p.default.data}, ${p.default.valCxt}`,r.$async,(()=>{e.code(l._`"use strict"; ${y(n,o)}`),function(e,t){e.if(p.default.valCxt,(()=>{e.var(p.default.instancePath,l._`${p.default.valCxt}.${p.default.instancePath}`),e.var(p.default.parentData,l._`${p.default.valCxt}.${p.default.parentData}`),e.var(p.default.parentDataProperty,l._`${p.default.valCxt}.${p.default.parentDataProperty}`),e.var(p.default.rootData,l._`${p.default.valCxt}.${p.default.rootData}`),t.dynamicRef&&e.var(p.default.dynamicAnchors,l._`${p.default.valCxt}.${p.default.dynamicAnchors}`)}),(()=>{e.var(p.default.instancePath,l._`""`),e.var(p.default.parentData,l._`undefined`),e.var(p.default.parentDataProperty,l._`undefined`),e.var(p.default.rootData,p.default.data),t.dynamicRef&&e.var(p.default.dynamicAnchors,l._`{}`)}))}(e,o),e.code(i)})):e.func(t,l._`${p.default.data}, ${function(e){return l._`{${p.default.instancePath}="", ${p.default.parentData}, ${p.default.parentDataProperty}, ${p.default.rootData}=${p.default.data}${e.dynamicRef?l._`, ${p.default.dynamicAnchors}={}`:l.nil}}={}`}(o)}`,r.$async,(()=>e.code(y(n,o)).code(i)))}function y(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?l._`/*# sourceURL=${n} */`:l.nil}function g({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function v(e){return"boolean"!=typeof e.schema}function b(e){(0,d.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:r,self:o}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,d.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function x(e,t){if(e.opts.jtd)return _(e,[],!1,t);const n=(0,o.getSchemaTypes)(e.schema);_(e,n,!(0,o.coerceAndCheckDataType)(e,n),t)}function w({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:o}){const i=n.$comment;if(!0===o.$comment)e.code(l._`${p.default.self}.logger.log(${i})`);else if("function"==typeof o.$comment){const n=l.str`${r}/$comment`,o=e.scopeValue("root",{ref:t.root});e.code(l._`${p.default.self}.opts.$comment(${i}, ${n}, ${o}.schema)`)}}function _(e,t,n,r){const{gen:o,schema:a,data:c,allErrors:u,opts:f,self:h}=e,{RULES:m}=h;function y(d){(0,i.shouldUseGroup)(a,d)&&(d.type?(o.if((0,s.checkDataType)(d.type,c,f.strictNumbers)),E(e,d),1===t.length&&t[0]===d.type&&n&&(o.else(),(0,s.reportTypeError)(e)),o.endIf()):E(e,d),u||o.if(l._`${p.default.errors} === ${r||0}`))}!a.$ref||!f.ignoreKeywordsWithRef&&(0,d.schemaHasRulesButRef)(a,m)?(f.jtd||function(e,t){!e.schemaEnv.meta&&e.opts.strictTypes&&(function(e,t){t.length&&(e.dataTypes.length?(t.forEach((t=>{S(e.dataTypes,t)||D(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const n=[];for(const r of e.dataTypes)S(t,r)?n.push(r):t.includes("integer")&&"number"===r&&n.push("integer");e.dataTypes=n}(e,t)):e.dataTypes=t)}(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&D(e,"use allowUnionTypes to allow union type keyword")}(e,t),function(e,t){const n=e.self.RULES.all;for(const r in n){const o=n[r];if("object"==typeof o&&(0,i.shouldUseRule)(e.schema,o)){const{type:n}=o.definition;n.length&&!n.some((e=>{return r=e,(n=t).includes(r)||"number"===r&&n.includes("integer");var n,r}))&&D(e,`missing type "${n.join(",")}" for keyword "${r}"`)}}}(e,e.dataTypes))}(e,t),o.block((()=>{for(const e of m.rules)y(e);y(m.post)}))):o.block((()=>k(e,"$ref",m.all.$ref.definition)))}function E(e,t){const{gen:n,schema:r,opts:{useDefaults:o}}=e;o&&(0,a.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,i.shouldUseRule)(r,n)&&k(e,n.keyword,n.definition,t.type)}))}function S(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function D(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,d.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){v(e)&&(b(e),g(e))?function(e){const{schema:t,opts:n,gen:r}=e;m(e,(()=>{n.$comment&&t.$comment&&w(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,d.checkStrictMode)(e,"default is ignored in the schema root")}(e),r.let(p.default.vErrors,null),r.let(p.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",l._`${n}.evaluated`),t.if(l._`${e.evaluated}.dynamicProps`,(()=>t.assign(l._`${e.evaluated}.props`,l._`undefined`))),t.if(l._`${e.evaluated}.dynamicItems`,(()=>t.assign(l._`${e.evaluated}.items`,l._`undefined`)))}(e),x(e),function(e){const{gen:t,schemaEnv:n,validateName:r,ValidationError:o,opts:i}=e;n.$async?t.if(l._`${p.default.errors} === 0`,(()=>t.return(p.default.data)),(()=>t.throw(l._`new ${o}(${p.default.vErrors})`))):(t.assign(l._`${r}.errors`,p.default.vErrors),i.unevaluated&&function({gen:e,evaluated:t,props:n,items:r}){n instanceof l.Name&&e.assign(l._`${t}.props`,n),r instanceof l.Name&&e.assign(l._`${t}.items`,r)}(e),t.return(l._`${p.default.errors} === 0`))}(e)}))}(e):m(e,(()=>(0,r.topBoolOrEmptySchema)(e)))};class O{constructor(e,t,n){if((0,c.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,d.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",P(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,c.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",p.default.errors))}result(e,t,n){this.failResult((0,l.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,l.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(l._`${t} !== undefined && (${(0,l.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?h.reportExtraError:h.reportError)(this,this.def.error,t)}$dataError(){(0,h.reportError)(this,this.def.$dataError||h.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,h.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=l.nil){this.gen.block((()=>{this.check$data(e,n),t()}))}check$data(e=l.nil,t=l.nil){if(!this.$data)return;const{gen:n,schemaCode:r,schemaType:o,def:i}=this;n.if((0,l.or)(l._`${r} === undefined`,t)),e!==l.nil&&n.assign(e,!0),(o.length||i.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==l.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:r,it:o}=this;return(0,l.or)(function(){if(n.length){if(!(t instanceof l.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return l._`${(0,s.checkDataTypes)(e,t,o.opts.strictNumbers,s.DataType.Wrong)}`}return l.nil}(),function(){if(r.validateSchema){const n=e.scopeValue("validate$data",{ref:r.validateSchema});return l._`!${n}(${t})`}return l.nil}())}subschema(e,t){const n=(0,u.getSubschema)(this.it,e);(0,u.extendSubschemaData)(n,this.it,e),(0,u.extendSubschemaMode)(n,e);const o={...this.it,...n,items:void 0,props:void 0};return function(e,t){v(e)&&(b(e),g(e))?function(e,t){const{schema:n,gen:r,opts:o}=e;o.$comment&&n.$comment&&w(e),function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,f.resolveUrl)(e.opts.uriResolver,e.baseId,t))}(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const i=r.const("_errs",p.default.errors);x(e,i),r.var(t,l._`${i} === ${p.default.errors}`)}(e,t):(0,r.boolOrEmptySchema)(e,t)}(o,t),o}mergeEvaluated(e,t){const{it:n,gen:r}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=d.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=d.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:r}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return r.if(t,(()=>this.mergeEvaluated(e,l.Name))),!0}}function k(e,t,n,r){const o=new O(e,n,t);"code"in n?n.code(o,r):o.$data&&n.validate?(0,c.funcKeywordCode)(o,n):"macro"in n?(0,c.macroKeywordCode)(o,n):(n.compile||n.validate)&&(0,c.funcKeywordCode)(o,n)}t.KeywordCxt=O;const $=/^\/(?:[^~]|~0|~1)*$/,A=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function P(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let o,i;if(""===e)return p.default.rootData;if("/"===e[0]){if(!$.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,i=p.default.rootData}else{const s=A.exec(e);if(!s)throw new Error(`Invalid JSON-pointer: ${e}`);const a=+s[1];if(o=s[2],"#"===o){if(a>=t)throw new Error(c("property/index",a));return r[t-a]}if(a>t)throw new Error(c("data",a));if(i=n[t-a],!o)return i}let s=i;const a=o.split("/");for(const e of a)e&&(i=l._`${i}${(0,l.getProperty)((0,d.unescapeJsonPointer)(e))}`,s=l._`${s} && ${i}`);return s;function c(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=P},5469(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const r=n(5441),o=n(9963),i=n(7889),s=n(232);function a(e){const{gen:t,data:n,it:o}=e;t.if(o.parentData,(()=>t.assign(n,r._`${o.parentData}[${o.parentDataProperty}]`)))}function c(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,r.stringify)(n)})}t.macroKeywordCode=function(e,t){const{gen:n,keyword:o,schema:i,parentSchema:s,it:a}=e,u=t.macro.call(a.self,i,s,a),l=c(n,o,u);!1!==a.opts.validateSchema&&a.self.validateSchema(u,!0);const p=n.name("valid");e.subschema({schema:u,schemaPath:r.nil,errSchemaPath:`${a.errSchemaPath}/${o}`,topSchemaRef:l,compositeRule:!0},p),e.pass(p,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var n;const{gen:u,keyword:l,schema:p,parentSchema:f,$data:d,it:h}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(h,t);const m=!d&&t.compile?t.compile.call(h.self,p,f,h):t.validate,y=c(u,l,m),g=u.let("valid");function v(n=(t.async?r._`await `:r.nil)){const s=h.opts.passContext?o.default.this:o.default.self,a=!("compile"in t&&!d||!1===t.schema);u.assign(g,r._`${n}${(0,i.callValidateCode)(e,y,s,a)}`,t.modifying)}function b(e){var n;u.if((0,r.not)(null!==(n=t.valid)&&void 0!==n?n:g),e)}e.block$data(g,(function(){if(!1===t.errors)v(),t.modifying&&a(e),b((()=>e.error()));else{const n=t.async?function(){const e=u.let("ruleErrs",null);return u.try((()=>v(r._`await `)),(t=>u.assign(g,!1).if(r._`${t} instanceof ${h.ValidationError}`,(()=>u.assign(e,r._`${t}.errors`)),(()=>u.throw(t))))),e}():function(){const e=r._`${y}.errors`;return u.assign(e,null),v(r.nil),e}();t.modifying&&a(e),b((()=>function(e,t){const{gen:n}=e;n.if(r._`Array.isArray(${t})`,(()=>{n.assign(o.default.vErrors,r._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`).assign(o.default.errors,r._`${o.default.vErrors}.length`),(0,s.extendErrors)(e)}),(()=>e.error()))}(e,n)))}})),e.ok(null!==(n=t.valid)&&void 0!==n?n:g)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:r},o,i){if(Array.isArray(o.keyword)?!o.keyword.includes(i):o.keyword!==i)throw new Error("ajv implementation error");const s=o.dependencies;if(null==s?void 0:s.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${i}: ${s.join(",")}`);if(o.validateSchema&&!o.validateSchema(e[i])){const e=`keyword "${i}" value is invalid at path "${r}": `+n.errorsText(o.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}},2955(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const r=n(5441),o=n(2911);t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:i,schemaPath:s,errSchemaPath:a,topSchemaRef:c}){if(void 0!==t&&void 0!==i)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const i=e.schema[t];return void 0===n?{schema:i,schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:i[n],schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}${(0,r.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,o.escapeFragment)(n)}`}}if(void 0!==i){if(void 0===s||void 0===a||void 0===c)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:s,topSchemaRef:c,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:i,data:s,dataTypes:a,propertyName:c}){if(void 0!==s&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:u}=t;if(void 0!==n){const{errorPath:s,dataPathArr:a,opts:c}=t;l(u.let("data",r._`${t.data}${(0,r.getProperty)(n)}`,!0)),e.errorPath=r.str`${s}${(0,o.getErrorPath)(n,i,c.jsPropertySyntax)}`,e.parentDataProperty=r._`${n}`,e.dataPathArr=[...a,e.parentDataProperty]}function l(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}void 0!==s&&(l(s instanceof r.Name?s:u.let("data",s,!0)),void 0!==c&&(e.propertyName=c)),a&&(e.dataTypes=a)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:o,allErrors:i}){void 0!==r&&(e.compositeRule=r),void 0!==o&&(e.createErrors=o),void 0!==i&&(e.allErrors=i),e.jtdDiscriminator=t,e.jtdMetadata=n}},966(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var r=n(7046);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return r.KeywordCxt}});var o=n(5441);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const i=n(362),s=n(3403),a=n(8096),c=n(2303),u=n(5441),l=n(5295),p=n(6700),f=n(2911),d=n(1129),h=n(4388),m=(e,t)=>new RegExp(e,t);m.code="new RegExp";const y=["removeAdditional","useDefaults","coerceTypes"],g=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),v={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function x(e){var t,n,r,o,i,s,a,c,u,l,p,f,d,y,g,v,b,x,w,_,E,S,D,O,k;const $=e.strict,A=null===(t=e.code)||void 0===t?void 0:t.optimize,P=!0===A||void 0===A?1:A||0,j=null!==(r=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==r?r:m,C=null!==(o=e.uriResolver)&&void 0!==o?o:h.default;return{strictSchema:null===(s=null!==(i=e.strictSchema)&&void 0!==i?i:$)||void 0===s||s,strictNumbers:null===(c=null!==(a=e.strictNumbers)&&void 0!==a?a:$)||void 0===c||c,strictTypes:null!==(l=null!==(u=e.strictTypes)&&void 0!==u?u:$)&&void 0!==l?l:"log",strictTuples:null!==(f=null!==(p=e.strictTuples)&&void 0!==p?p:$)&&void 0!==f?f:"log",strictRequired:null!==(y=null!==(d=e.strictRequired)&&void 0!==d?d:$)&&void 0!==y&&y,code:e.code?{...e.code,optimize:P,regExp:j}:{optimize:P,regExp:j},loopRequired:null!==(g=e.loopRequired)&&void 0!==g?g:200,loopEnum:null!==(v=e.loopEnum)&&void 0!==v?v:200,meta:null===(b=e.meta)||void 0===b||b,messages:null===(x=e.messages)||void 0===x||x,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(_=e.schemaId)&&void 0!==_?_:"$id",addUsedSchema:null===(E=e.addUsedSchema)||void 0===E||E,validateSchema:null===(S=e.validateSchema)||void 0===S||S,validateFormats:null===(D=e.validateFormats)||void 0===D||D,unicodeRegExp:null===(O=e.unicodeRegExp)||void 0===O||O,int32range:null===(k=e.int32range)||void 0===k||k,uriResolver:C}}class w{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...x(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new u.ValueScope({scope:{},prefixes:g,es5:t,lines:n}),this.logger=function(e){if(!1===e)return $;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,a.getRules)(),_.call(this,v,e,"NOT SUPPORTED"),_.call(this,b,e,"DEPRECATED","warn"),this._metaOpts=k.call(this),e.formats&&D.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&O.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),S.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let r=d;"id"===n&&(r={...d},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await o.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||i.call(this,n)}async function o(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function i(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof s.default))throw t;return a.call(this,t),await c.call(this,t.missingSchema),i.call(this,e)}}function a({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function c(e){const n=await u.call(this,e);this.refs[e]||await o.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function u(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,r);return this}let o;if("object"==typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=(0,l.normalizeId)(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const r=this.validate(n,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=E.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,r=new c.SchemaEnv({schema:{},schemaId:n});if(t=c.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=E.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,l.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(P.call(this,n,t),!t)return(0,f.eachItem)(n,(e=>j.call(this,e))),this;R.call(this,t);const r={...t,type:(0,p.getJSONTypes)(t.type),schemaType:(0,p.getJSONTypes)(t.schemaType)};return(0,f.eachItem)(n,0===r.type.length?e=>j.call(this,e,r):e=>r.type.forEach((t=>j.call(this,e,r,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex((t=>t.keyword===e));t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map((e=>`${n}${e.instancePath} ${e.message}`)).reduce(((e,n)=>e+t+n)):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:r}=t.definition,i=o[e];r&&i&&(o[e]=T(i))}}return e}_removeAllSchemas(e,t){for(const n in e){const r=e[n];t&&!t.test(n)||("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,o=this.opts.addUsedSchema){let i;const{schemaId:s}=this.opts;if("object"==typeof e)i=e[s];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let a=this._cache.get(e);if(void 0!==a)return a;n=(0,l.normalizeId)(i||n);const u=l.getSchemaRefs.call(this,e,n);return a=new c.SchemaEnv({schema:e,schemaId:s,meta:t,baseId:n,localRefs:u}),this._cache.set(a.schema,a),o&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=a),r&&this.validateSchema(e,!0),a}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):c.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{c.compileSchema.call(this,e)}finally{this.opts=t}}}function _(e,t,n,r="error"){for(const o in e){const i=o;i in t&&this.logger[r](`${n}: option ${o}. ${e[i]}`)}}function E(e){return e=(0,l.normalizeId)(e),this.schemas[e]||this.refs[e]}function S(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function D(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function O(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function k(){const e={...this.opts};for(const t of y)delete e[t];return e}w.ValidationError=i.default,w.MissingRefError=s.default,t.default=w;const $={log(){},warn(){},error(){}},A=/^[a-z_$][a-z0-9_$:-]*$/i;function P(e,t){const{RULES:n}=this;if((0,f.eachItem)(e,(e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!A.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function j(e,t,n){var r;const o=null==t?void 0:t.post;if(n&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:i}=this;let s=o?i.post:i.rules.find((({type:e})=>e===n));if(s||(s={type:n,rules:[]},i.rules.push(s)),i.keywords[e]=!0,!t)return;const a={keyword:e,definition:{...t,type:(0,p.getJSONTypes)(t.type),schemaType:(0,p.getJSONTypes)(t.schemaType)}};t.before?C.call(this,s,a,t.before):s.rules.push(a),i.all[e]=a,null===(r=t.implements)||void 0===r||r.forEach((e=>this.addKeyword(e)))}function C(e,t,n){const r=e.rules.findIndex((e=>e.keyword===n));r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function R(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=T(t)),e.validateSchema=this.compile(t,!0))}const N={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function T(e){return{anyOf:[e,N]}}},7286(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8792);r.code='require("ajv/dist/runtime/equal").default',t.default=r},6953(e,t){"use strict";function n(e){const t=e.length;let n,r=0,o=0;for(;o<t;)r++,n=e.charCodeAt(o++),n>=55296&&n<=56319&&o<t&&(n=e.charCodeAt(o),56320==(64512&n)&&o++);return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.code='require("ajv/dist/runtime/ucs2length").default'},4388(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4800);r.code='require("ajv/dist/runtime/uri").default',t.default=r},362(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=n},4077(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const r=n(5441),o=n(2911),i={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:r}=t;Array.isArray(r)?s(e,r):(0,o.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function s(e,t){const{gen:n,schema:i,data:s,keyword:a,it:c}=e;c.items=!0;const u=n.const("len",r._`${s}.length`);if(!1===i)e.setParams({len:t.length}),e.pass(r._`${u} <= ${t.length}`);else if("object"==typeof i&&!(0,o.alwaysValidSchema)(c,i)){const i=n.var("valid",r._`${u} <= ${t.length}`);n.if((0,r.not)(i),(()=>function(i){n.forRange("i",t.length,u,(t=>{e.subschema({keyword:a,dataProp:t,dataPropType:o.Type.Num},i),c.allErrors||n.if((0,r.not)(i),(()=>n.break()))}))}(i))),e.ok(i)}}t.validateAdditionalItems=s,t.default=i},4e3(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7889),o=n(5441),i=n(9963),s=n(2911),a={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>o._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:a,data:c,errsCount:u,it:l}=e;if(!u)throw new Error("ajv implementation error");const{allErrors:p,opts:f}=l;if(l.props=!0,"all"!==f.removeAdditional&&(0,s.alwaysValidSchema)(l,n))return;const d=(0,r.allSchemaProperties)(a.properties),h=(0,r.allSchemaProperties)(a.patternProperties);function m(e){t.code(o._`delete ${c}[${e}]`)}function y(r){if("all"===f.removeAdditional||f.removeAdditional&&!1===n)m(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(p||t.break());if("object"==typeof n&&!(0,s.alwaysValidSchema)(l,n)){const n=t.name("valid");"failing"===f.removeAdditional?(g(r,n,!1),t.if((0,o.not)(n),(()=>{e.reset(),m(r)}))):(g(r,n),p||t.if((0,o.not)(n),(()=>t.break())))}}}function g(t,n,r){const o={keyword:"additionalProperties",dataProp:t,dataPropType:s.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}t.forIn("key",c,(n=>{d.length||h.length?t.if(function(n){let i;if(d.length>8){const e=(0,s.schemaRefOrVal)(l,a.properties,"properties");i=(0,r.isOwnProperty)(t,e,n)}else i=d.length?(0,o.or)(...d.map((e=>o._`${n} === ${e}`))):o.nil;return h.length&&(i=(0,o.or)(i,...h.map((t=>o._`${(0,r.usePattern)(e,t)}.test(${n})`)))),(0,o.not)(i)}(n),(()=>y(n))):y(n)})),e.ok(o._`${u} === ${i.default.errors}`)}};t.default=a},2408(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2911),o={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const i=t.name("valid");n.forEach(((t,n)=>{if((0,r.alwaysValidSchema)(o,t))return;const s=e.subschema({keyword:"allOf",schemaProp:n},i);e.ok(i),e.mergeEvaluated(s)}))}};t.default=o},1685(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:n(7889).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=r},5329(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?r.str`must contain at least ${e} valid item(s)`:r.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?r._`{minContains: ${e}}`:r._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:i,data:s,it:a}=e;let c,u;const{minContains:l,maxContains:p}=i;a.opts.next?(c=void 0===l?1:l,u=p):c=1;const f=t.const("len",r._`${s}.length`);if(e.setParams({min:c,max:u}),void 0===u&&0===c)return void(0,o.checkStrictMode)(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==u&&c>u)return(0,o.checkStrictMode)(a,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,o.alwaysValidSchema)(a,n)){let t=r._`${f} >= ${c}`;return void 0!==u&&(t=r._`${t} && ${f} <= ${u}`),void e.pass(t)}a.items=!0;const d=t.name("valid");function h(){const e=t.name("_valid"),n=t.let("count",0);m(e,(()=>t.if(e,(()=>function(e){t.code(r._`${e}++`),void 0===u?t.if(r._`${e} >= ${c}`,(()=>t.assign(d,!0).break())):(t.if(r._`${e} > ${u}`,(()=>t.assign(d,!1).break())),1===c?t.assign(d,!0):t.if(r._`${e} >= ${c}`,(()=>t.assign(d,!0))))}(n)))))}function m(n,r){t.forRange("i",0,f,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:o.Type.Num,compositeRule:!0},n),r()}))}void 0===u&&1===c?m(d,(()=>t.if(d,(()=>t.break())))):0===c?(t.let(d,!0),void 0!==u&&t.if(r._`${s}.length > 0`,h)):(t.let(d,!1),h()),e.result(d,(()=>e.reset()))}};t.default=i},2957(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const r=n(5441),o=n(2911),i=n(7889);t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const o=1===t?"property":"properties";return r.str`must have ${o} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:o}})=>r._`{property: ${e},
|
|
13
13
|
missingProperty: ${o},
|
|
14
14
|
depsCount: ${t},
|
|
15
|
-
deps: ${n}}`};const s={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e)"__proto__"!==r&&((Array.isArray(e[r])?t:n)[r]=e[r]);return[t,n]}(e);a(e,t),c(e,n)}};function a(e,t=e.schema){const{gen:n,data:o,it:s}=e;if(0===Object.keys(t).length)return;const a=n.let("missing");for(const c in t){const u=t[c];if(0===u.length)continue;const l=(0,i.propertyInData)(n,o,c,s.opts.ownProperties);e.setParams({property:c,depsCount:u.length,deps:u.join(", ")}),s.allErrors?n.if(l,(()=>{for(const t of u)(0,i.checkReportMissingProp)(e,t)})):(n.if(r._`${l} && (${(0,i.checkMissingProp)(e,u,a)})`),(0,i.reportMissingProp)(e,a),n.else())}}function c(e,t=e.schema){const{gen:n,data:r,keyword:s,it:a}=e,c=n.name("valid");for(const u in t)(0,o.alwaysValidSchema)(a,t[u])||(n.if((0,i.propertyInData)(n,r,u,a.opts.ownProperties),(()=>{const t=e.subschema({keyword:s,schemaProp:u},c);e.mergeValidEvaluated(t,c)}),(()=>n.var(c,!0))),e.ok(c))}t.validatePropertyDeps=a,t.validateSchemaDeps=c,t.default=s},9755(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>r.str`must match "${e.ifClause}" schema`,params:({params:e})=>r._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:i}=e;void 0===n.then&&void 0===n.else&&(0,o.checkStrictMode)(i,'"if" without "then" and "else" is ignored');const a=s(i,"then"),c=s(i,"else");if(!a&&!c)return;const u=t.let("valid",!0),l=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},l);e.mergeEvaluated(t)}(),e.reset(),a&&c){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(l,p("then",n),p("else",n))}else a?t.if(l,p("then")):t.if((0,r.not)(l),p("else"));function p(n,o){return()=>{const i=e.subschema({keyword:n},l);t.assign(u,l),e.mergeValidEvaluated(i,u),o?t.assign(o,r._`${n}`):e.setParams({ifClause:n})}}e.pass(u,(()=>e.error(!0)))}};function s(e,t){const n=e.schema[t];return void 0!==n&&!(0,o.alwaysValidSchema)(e,n)}t.default=i},4102(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4077),o=n(9830),i=n(5146),s=n(8682),a=n(5329),c=n(2957),u=n(9573),l=n(4e3),p=n(4017),f=n(4057),d=n(6303),h=n(1685),m=n(4447),y=n(2408),g=n(9755),v=n(2390);t.default=function(e=!1){const t=[d.default,h.default,m.default,y.default,g.default,v.default,u.default,l.default,c.default,p.default,f.default];return e?t.push(o.default,s.default):t.push(r.default,i.default),t.push(a.default),t}},5146(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const r=n(5441),o=n(2911),i=n(7889),s={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return a(e,"additionalItems",t);n.items=!0,(0,o.alwaysValidSchema)(n,t)||e.ok((0,i.validateArray)(e))}};function a(e,t,n=e.schema){const{gen:i,parentSchema:s,data:a,keyword:c,it:u}=e;!function(e){const{opts:r,errSchemaPath:i}=u,s=n.length,a=s===e.minItems&&(s===e.maxItems||!1===e[t]);if(r.strictTuples&&!a){const e=`"${c}" is ${s}-tuple, but minItems or maxItems/${t} are not specified or different at path "${i}"`;(0,o.checkStrictMode)(u,e,r.strictTuples)}}(s),u.opts.unevaluated&&n.length&&!0!==u.items&&(u.items=o.mergeEvaluated.items(i,n.length,u.items));const l=i.name("valid"),p=i.const("len",r._`${a}.length`);n.forEach(((t,n)=>{(0,o.alwaysValidSchema)(u,t)||(i.if(r._`${p} > ${n}`,(()=>e.subschema({keyword:c,schemaProp:n,dataProp:n},l))),e.ok(l))}))}t.validateTuple=a,t.default=s},8682(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i=n(7889),s=n(4077),a={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:a}=n;r.items=!0,(0,o.alwaysValidSchema)(r,t)||(a?(0,s.validateAdditionalItems)(e,a):e.ok((0,i.validateArray)(e)))}};t.default=a},6303(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2911),o={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:o}=e;if((0,r.alwaysValidSchema)(o,n))return void e.fail();const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=o},4447(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>r._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(s.opts.discriminator&&i.discriminator)return;const a=n,c=t.let("valid",!1),u=t.let("passing",null),l=t.name("_valid");e.setParams({passing:u}),t.block((function(){a.forEach(((n,i)=>{let a;(0,o.alwaysValidSchema)(s,n)?t.var(l,!0):a=e.subschema({keyword:"oneOf",schemaProp:i,compositeRule:!0},l),i>0&&t.if(r._`${l} && ${c}`).assign(c,!1).assign(u,r._`[${u}, ${i}]`).else(),t.if(l,(()=>{t.assign(c,!0),t.assign(u,i),a&&e.mergeEvaluated(a,r.Name)}))}))})),e.result(c,(()=>e.reset()),(()=>e.error(!0)))}};t.default=i},4057(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7889),o=n(5441),i=n(2911),s=n(2911),a={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:a,parentSchema:c,it:u}=e,{opts:l}=u,p=(0,r.allSchemaProperties)(n),f=p.filter((e=>(0,i.alwaysValidSchema)(u,n[e])));if(0===p.length||f.length===p.length&&(!u.opts.unevaluated||!0===u.props))return;const d=l.strictSchema&&!l.allowMatchingProperties&&c.properties,h=t.name("valid");!0===u.props||u.props instanceof o.Name||(u.props=(0,s.evaluatedPropsToName)(t,u.props));const{props:m}=u;function y(e){for(const t in d)new RegExp(e).test(t)&&(0,i.checkStrictMode)(u,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function g(n){t.forIn("key",a,(i=>{t.if(o._`${(0,r.usePattern)(e,n)}.test(${i})`,(()=>{const r=f.includes(n);r||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:i,dataPropType:s.Type.Str},h),u.opts.unevaluated&&!0!==m?t.assign(o._`${m}[${i}]`,!0):r||u.allErrors||t.if((0,o.not)(h),(()=>t.break()))}))}))}!function(){for(const e of p)d&&y(e),u.allErrors?g(e):(t.var(h,!0),g(e),t.if(h))}()}};t.default=a},9830(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5146),o={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,r.validateTuple)(e,"items")};t.default=o},4017(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7046),o=n(7889),i=n(2911),s=n(4e3),a={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:a,data:c,it:u}=e;"all"===u.opts.removeAdditional&&void 0===a.additionalProperties&&s.default.code(new r.KeywordCxt(u,s.default,"additionalProperties"));const l=(0,o.allSchemaProperties)(n);for(const e of l)u.definedProperties.add(e);u.opts.unevaluated&&l.length&&!0!==u.props&&(u.props=i.mergeEvaluated.props(t,(0,i.toHash)(l),u.props));const p=l.filter((e=>!(0,i.alwaysValidSchema)(u,n[e])));if(0===p.length)return;const f=t.name("valid");for(const n of p)d(n)?h(n):(t.if((0,o.propertyInData)(t,c,n,u.opts.ownProperties)),h(n),u.allErrors||t.else().var(f,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(f);function d(e){return u.opts.useDefaults&&!u.compositeRule&&void 0!==n[e].default}function h(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},f)}}};t.default=a},9573(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>r._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:i,it:s}=e;if((0,o.alwaysValidSchema)(s,n))return;const a=t.name("valid");t.forIn("key",i,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},a),t.if((0,r.not)(a),(()=>{e.error(!0),s.allErrors||t.break()}))})),e.ok(a)}};t.default=i},2390(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2911),o={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,r.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=o},7889(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const r=n(5441),o=n(2911),i=n(9963),s=n(2911);function a(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:r._`Object.prototype.hasOwnProperty`})}function c(e,t,n){return r._`${a(e)}.call(${t}, ${n})`}function u(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} === undefined`;return o?(0,r.or)(i,(0,r.not)(c(e,t,n))):i}function l(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:o,it:i}=e;n.if(u(n,o,t,i.opts.ownProperties),(()=>{e.setParams({missingProperty:r._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},o,i){return(0,r.or)(...o.map((o=>(0,r.and)(u(e,t,o,n.ownProperties),r._`${i} = ${o}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=a,t.isOwnProperty=c,t.propertyInData=function(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} !== undefined`;return o?r._`${i} && ${c(e,t,n)}`:i},t.noPropertyInData=u,t.allSchemaProperties=l,t.schemaProperties=function(e,t){return l(t).filter((n=>!(0,o.alwaysValidSchema)(e,t[n])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:o,schemaPath:s,errorPath:a},it:c},u,l,p){const f=p?r._`${e}, ${t}, ${o}${s}`:t,d=[[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,a)],[i.default.parentData,c.parentData],[i.default.parentDataProperty,c.parentDataProperty],[i.default.rootData,i.default.rootData]];c.opts.dynamicRef&&d.push([i.default.dynamicAnchors,i.default.dynamicAnchors]);const h=r._`${f}, ${n.object(...d)}`;return l!==r.nil?r._`${u}.call(${l}, ${h})`:r._`${u}(${h})`};const p=r._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},n){const o=t.unicodeRegExp?"u":"",{regExp:i}=t.code,a=i(n,o);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:r._`${"new RegExp"===i.code?p:(0,s.useFunc)(e,i)}(${n}, ${o})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:i,it:s}=e,a=t.name("valid");if(s.allErrors){const e=t.let("valid",!0);return c((()=>t.assign(e,!1))),e}return t.var(a,!0),c((()=>t.break())),a;function c(s){const c=t.const("len",r._`${n}.length`);t.forRange("i",0,c,(n=>{e.subschema({keyword:i,dataProp:n,dataPropType:o.Type.Num},a),t.if((0,r.not)(a),s)}))}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some((e=>(0,o.alwaysValidSchema)(s,e)))&&!s.opts.unevaluated)return;const a=t.let("valid",!1),c=t.name("_valid");t.block((()=>n.forEach(((n,o)=>{const s=e.subschema({keyword:i,schemaProp:o,compositeRule:!0},c);t.assign(a,r._`${a} || ${c}`),e.mergeValidEvaluated(s,c)||t.if((0,r.not)(a))})))),e.result(a,(()=>e.reset()),(()=>e.error(!0)))}},7043(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n},5252(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7043),o=n(9129),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,o.default];t.default=i},9129(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const r=n(3403),o=n(7889),i=n(5441),s=n(9963),a=n(2303),c=n(2911),u={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:o}=e,{baseId:s,schemaEnv:c,validateName:u,opts:f,self:d}=o,{root:h}=c;if(("#"===n||"#/"===n)&&s===h.baseId)return function(){if(c===h)return p(e,u,c,c.$async);const n=t.scopeValue("root",{ref:h});return p(e,i._`${n}.validate`,h,h.$async)}();const m=a.resolveRef.call(d,h,s,n);if(void 0===m)throw new r.default(o.opts.uriResolver,s,n);return m instanceof a.SchemaEnv?function(t){const n=l(e,t);p(e,n,t,t.$async)}(m):function(r){const o=t.scopeValue("schema",!0===f.code.source?{ref:r,code:(0,i.stringify)(r)}:{ref:r}),s=t.name("valid"),a=e.subschema({schema:r,dataTypes:[],schemaPath:i.nil,topSchemaRef:o,errSchemaPath:n},s);e.mergeEvaluated(a),e.ok(s)}(m)}};function l(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):i._`${n.scopeValue("wrapper",{ref:t})}.validate`}function p(e,t,n,r){const{gen:a,it:u}=e,{allErrors:l,schemaEnv:p,opts:f}=u,d=f.passContext?s.default.this:i.nil;function h(e){const t=i._`${e}.errors`;a.assign(s.default.vErrors,i._`${s.default.vErrors} === null ? ${t} : ${s.default.vErrors}.concat(${t})`),a.assign(s.default.errors,i._`${s.default.vErrors}.length`)}function m(e){var t;if(!u.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==u.props)if(r&&!r.dynamicProps)void 0!==r.props&&(u.props=c.mergeEvaluated.props(a,r.props,u.props));else{const t=a.var("props",i._`${e}.evaluated.props`);u.props=c.mergeEvaluated.props(a,t,u.props,i.Name)}if(!0!==u.items)if(r&&!r.dynamicItems)void 0!==r.items&&(u.items=c.mergeEvaluated.items(a,r.items,u.items));else{const t=a.var("items",i._`${e}.evaluated.items`);u.items=c.mergeEvaluated.items(a,t,u.items,i.Name)}}r?function(){if(!p.$async)throw new Error("async schema referenced by sync schema");const n=a.let("valid");a.try((()=>{a.code(i._`await ${(0,o.callValidateCode)(e,t,d)}`),m(t),l||a.assign(n,!0)}),(e=>{a.if(i._`!(${e} instanceof ${u.ValidationError})`,(()=>a.throw(e))),h(e),l||a.assign(n,!1)})),e.ok(n)}():e.result((0,o.callValidateCode)(e,t,d),(()=>m(t)),(()=>h(t)))}t.getValidate=l,t.callRef=p,t.default=u},4625(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(784),i=n(2303),s=n(3403),a=n(2911),c={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===o.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>r._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:c,parentSchema:u,it:l}=e,{oneOf:p}=u;if(!l.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=c.propertyName;if("string"!=typeof f)throw new Error("discriminator: requires propertyName");if(c.mapping)throw new Error("discriminator: mapping is not supported");if(!p)throw new Error("discriminator: requires oneOf keyword");const d=t.let("valid",!1),h=t.const("tag",r._`${n}${(0,r.getProperty)(f)}`);function m(n){const o=t.name("valid"),i=e.subschema({keyword:"oneOf",schemaProp:n},o);return e.mergeEvaluated(i,r.Name),o}t.if(r._`typeof ${h} == "string"`,(()=>function(){const n=function(){var e;const t={},n=o(u);let r=!0;for(let t=0;t<p.length;t++){let u=p[t];if((null==u?void 0:u.$ref)&&!(0,a.schemaHasRulesButRef)(u,l.self.RULES)){const e=u.$ref;if(u=i.resolveRef.call(l.self,l.schemaEnv.root,l.baseId,e),u instanceof i.SchemaEnv&&(u=u.schema),void 0===u)throw new s.default(l.opts.uriResolver,l.baseId,e)}const d=null===(e=null==u?void 0:u.properties)||void 0===e?void 0:e[f];if("object"!=typeof d)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);r=r&&(n||o(u)),c(d,t)}if(!r)throw new Error(`discriminator: "${f}" must be required`);return t;function o({required:e}){return Array.isArray(e)&&e.includes(f)}function c(e,t){if(e.const)d(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`);for(const n of e.enum)d(n,t)}}function d(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${f}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(r._`${h} === ${e}`),t.assign(d,m(n[e]));t.else(),e.error(!1,{discrError:o.DiscrError.Mapping,tag:h,tagName:f}),t.endIf()}()),(()=>e.error(!1,{discrError:o.DiscrError.Tag,tag:h,tagName:f}))),e.ok(d)}};t.default=c},784(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(n||(t.DiscrError=n={}))},8900(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5252),o=n(6728),i=n(4102),s=n(6992),a=n(4605),c=[r.default,o.default,(0,i.default)(),s.default,a.metadataVocabulary,a.contentVocabulary];t.default=c},6421(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>r.str`must match format "${e}"`,params:({schemaCode:e})=>r._`{format: ${e}}`},code(e,t){const{gen:n,data:o,$data:i,schema:s,schemaCode:a,it:c}=e,{opts:u,errSchemaPath:l,schemaEnv:p,self:f}=c;u.validateFormats&&(i?function(){const i=n.scopeValue("formats",{ref:f.formats,code:u.code.formats}),s=n.const("fDef",r._`${i}[${a}]`),c=n.let("fType"),l=n.let("format");n.if(r._`typeof ${s} == "object" && !(${s} instanceof RegExp)`,(()=>n.assign(c,r._`${s}.type || "string"`).assign(l,r._`${s}.validate`)),(()=>n.assign(c,r._`"string"`).assign(l,s))),e.fail$data((0,r.or)(!1===u.strictSchema?r.nil:r._`${a} && !${l}`,function(){const e=p.$async?r._`(${s}.async ? await ${l}(${o}) : ${l}(${o}))`:r._`${l}(${o})`,n=r._`(typeof ${l} == "function" ? ${e} : ${l}.test(${o}))`;return r._`${l} && ${l} !== true && ${c} === ${t} && !${n}`}()))}():function(){const i=f.formats[s];if(!i)return void function(){if(!1!==u.strictSchema)throw new Error(e());function e(){return`unknown format "${s}" ignored in schema at path "${l}"`}f.logger.warn(e())}();if(!0===i)return;const[a,c,d]=function(e){const t=e instanceof RegExp?(0,r.regexpCode)(e):u.code.formats?r._`${u.code.formats}${(0,r.getProperty)(s)}`:void 0,o=n.scopeValue("formats",{key:s,ref:e,code:t});return"object"!=typeof e||e instanceof RegExp?["string",e,o]:[e.type||"string",e.validate,r._`${o}.validate`]}(i);a===t&&e.pass(function(){if("object"==typeof i&&!(i instanceof RegExp)&&i.async){if(!p.$async)throw new Error("async format in sync schema");return r._`await ${d}(${o})`}return"function"==typeof c?r._`${d}(${o})`:r._`${d}.test(${o})`}())}())}};t.default=o},6992(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=[n(6421).default];t.default=r},4605(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},5827(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i=n(7286),s={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>r._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:s,schemaCode:a,schema:c}=e;s||c&&"object"==typeof c?e.fail$data(r._`!${(0,o.useFunc)(t,i.default)}(${n}, ${a})`):e.fail(r._`${c} !== ${n}`)}};t.default=s},8023(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i=n(7286),s={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>r._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:s,schema:a,schemaCode:c,it:u}=e;if(!s&&0===a.length)throw new Error("enum must have non-empty array");const l=a.length>=u.opts.loopEnum;let p;const f=()=>null!=p?p:p=(0,o.useFunc)(t,i.default);let d;if(l||s)d=t.let("valid"),e.block$data(d,(function(){t.assign(d,!1),t.forOf("v",c,(e=>t.if(r._`${f()}(${n}, ${e})`,(()=>t.assign(d,!0).break()))))}));else{if(!Array.isArray(a))throw new Error("ajv implementation error");const e=t.const("vSchema",c);d=(0,r.or)(...a.map(((t,o)=>function(e,t){const o=a[t];return"object"==typeof o&&null!==o?r._`${f()}(${n}, ${e}[${t}])`:r._`${n} === ${o}`}(e,o))))}e.pass(d)}};t.default=s},6728(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1550),o=n(3411),i=n(9079),s=n(2306),a=n(618),c=n(9527),u=n(3183),l=n(3213),p=n(5827),f=n(8023),d=[r.default,o.default,i.default,s.default,a.default,c.default,u.default,l.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},p.default,f.default];t.default=d},3183(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxItems"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`${n}.length ${i} ${o}`)}};t.default=o},9079(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i=n(6953),s={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:s,it:a}=e,c="maxLength"===t?r.operators.GT:r.operators.LT,u=!1===a.opts.unicode?r._`${n}.length`:r._`${(0,o.useFunc)(e.gen,i.default)}(${n})`;e.fail$data(r._`${u} ${c} ${s}`)}};t.default=s},1550(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=r.operators,i={maximum:{okStr:"<=",ok:o.LTE,fail:o.GT},minimum:{okStr:">=",ok:o.GTE,fail:o.LT},exclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},exclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},s={message:({keyword:e,schemaCode:t})=>r.str`must be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>r._`{comparison: ${i[e].okStr}, limit: ${t}}`},a={keyword:Object.keys(i),type:"number",schemaType:"number",$data:!0,error:s,code(e){const{keyword:t,data:n,schemaCode:o}=e;e.fail$data(r._`${n} ${i[t].fail} ${o} || isNaN(${n})`)}};t.default=a},618(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxProperties"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`Object.keys(${n}).length ${i} ${o}`)}};t.default=o},3411(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>r.str`must be multiple of ${e}`,params:({schemaCode:e})=>r._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:o,it:i}=e,s=i.opts.multipleOfPrecision,a=t.let("res"),c=s?r._`Math.abs(Math.round(${a}) - ${a}) > 1e-${s}`:r._`${a} !== parseInt(${a})`;e.fail$data(r._`(${o} === 0 || (${a} = ${n}/${o}, ${c}))`)}};t.default=o},2306(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7889),o=n(2911),i=n(5441),s={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>i.str`must match pattern "${e}"`,params:({schemaCode:e})=>i._`{pattern: ${e}}`},code(e){const{gen:t,data:n,$data:s,schema:a,schemaCode:c,it:u}=e,l=u.opts.unicodeRegExp?"u":"";if(s){const{regExp:r}=u.opts.code,s="new RegExp"===r.code?i._`new RegExp`:(0,o.useFunc)(t,r),a=t.let("valid");t.try((()=>t.assign(a,i._`${s}(${c}, ${l}).test(${n})`)),(()=>t.assign(a,!1))),e.fail$data(i._`!${a}`)}else{const t=(0,r.usePattern)(e,a);e.fail$data(i._`!${t}.test(${n})`)}}};t.default=s},9527(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7889),o=n(5441),i=n(2911),s={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>o.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>o._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:s,data:a,$data:c,it:u}=e,{opts:l}=u;if(!c&&0===n.length)return;const p=n.length>=l.loopRequired;if(u.allErrors?function(){if(p||c)e.block$data(o.nil,f);else for(const t of n)(0,r.checkReportMissingProp)(e,t)}():function(){const i=t.let("missing");if(p||c){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,i){e.setParams({missingProperty:n}),t.forOf(n,s,(()=>{t.assign(i,(0,r.propertyInData)(t,a,n,l.ownProperties)),t.if((0,o.not)(i),(()=>{e.error(),t.break()}))}),o.nil)}(i,n))),e.ok(n)}else t.if((0,r.checkMissingProp)(e,n,i)),(0,r.reportMissingProp)(e,i),t.else()}(),l.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=`required property "${e}" is not defined at "${u.schemaEnv.baseId+u.errSchemaPath}" (strictRequired)`;(0,i.checkStrictMode)(u,t,u.opts.strictRequired)}}function f(){t.forOf("prop",s,(n=>{e.setParams({missingProperty:n}),t.if((0,r.noPropertyInData)(t,a,n,l.ownProperties),(()=>e.error()))}))}}};t.default=s},3213(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6700),o=n(5441),i=n(2911),s=n(7286),a={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>o.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>o._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:a,schema:c,parentSchema:u,schemaCode:l,it:p}=e;if(!a&&!c)return;const f=t.let("valid"),d=u.items?(0,r.getSchemaTypes)(u.items):[];function h(i,s){const a=t.name("item"),c=(0,r.checkDataTypes)(d,a,p.opts.strictNumbers,r.DataType.Wrong),u=t.const("indices",o._`{}`);t.for(o._`;${i}--;`,(()=>{t.let(a,o._`${n}[${i}]`),t.if(c,o._`continue`),d.length>1&&t.if(o._`typeof ${a} == "string"`,o._`${a} += "_"`),t.if(o._`typeof ${u}[${a}] == "number"`,(()=>{t.assign(s,o._`${u}[${a}]`),e.error(),t.assign(f,!1).break()})).code(o._`${u}[${a}] = ${i}`)}))}function m(r,a){const c=(0,i.useFunc)(t,s.default),u=t.name("outer");t.label(u).for(o._`;${r}--;`,(()=>t.for(o._`${a} = ${r}; ${a}--;`,(()=>t.if(o._`${c}(${n}[${r}], ${n}[${a}])`,(()=>{e.error(),t.assign(f,!1).break(u)}))))))}e.block$data(f,(function(){const r=t.let("i",o._`${n}.length`),i=t.let("j");e.setParams({i:r,j:i}),t.assign(f,!0),t.if(o._`${r} > 1`,(()=>(d.length>0&&!d.some((e=>"object"===e||"array"===e))?h:m)(r,i)))}),o._`${l} === false`),e.ok(f)}};t.default=a},1086(e){"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,r,o,i,s,a,c,u,l,p){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var f in r(i,s,a,c,u,l,p),i){var d=i[f];if(Array.isArray(d)){if(f in t.arrayKeywords)for(var h=0;h<d.length;h++)n(e,r,o,d[h],s+"/"+f+"/"+h,a,s,f,i,h)}else if(f in t.propsKeywords){if(d&&"object"==typeof d)for(var m in d)n(e,r,o,d[m],s+"/"+f+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),a,s,f,i,m)}else(f in t.keywords||e.allKeys&&!(f in t.skipKeywords))&&n(e,r,o,d,s+"/"+f,a,s,f,i)}o(i,s,a,c,u,l,p)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},7316(e,t){var n;t=e.exports=m,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var r=Number.MAX_SAFE_INTEGER||9007199254740991,o=t.re=[],i=t.safeRe=[],s=t.src=[],a=t.tokens={},c=0;function u(e){a[e]=c++}var l="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",256],[l,250]];function f(e){for(var t=0;t<p.length;t++){var n=p[t][0],r=p[t][1];e=e.split(n+"*").join(n+"{0,"+r+"}").split(n+"+").join(n+"{1,"+r+"}")}return e}u("NUMERICIDENTIFIER"),s[a.NUMERICIDENTIFIER]="0|[1-9]\\d*",u("NUMERICIDENTIFIERLOOSE"),s[a.NUMERICIDENTIFIERLOOSE]="\\d+",u("NONNUMERICIDENTIFIER"),s[a.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+l+"*",u("MAINVERSION"),s[a.MAINVERSION]="("+s[a.NUMERICIDENTIFIER]+")\\.("+s[a.NUMERICIDENTIFIER]+")\\.("+s[a.NUMERICIDENTIFIER]+")",u("MAINVERSIONLOOSE"),s[a.MAINVERSIONLOOSE]="("+s[a.NUMERICIDENTIFIERLOOSE]+")\\.("+s[a.NUMERICIDENTIFIERLOOSE]+")\\.("+s[a.NUMERICIDENTIFIERLOOSE]+")",u("PRERELEASEIDENTIFIER"),s[a.PRERELEASEIDENTIFIER]="(?:"+s[a.NUMERICIDENTIFIER]+"|"+s[a.NONNUMERICIDENTIFIER]+")",u("PRERELEASEIDENTIFIERLOOSE"),s[a.PRERELEASEIDENTIFIERLOOSE]="(?:"+s[a.NUMERICIDENTIFIERLOOSE]+"|"+s[a.NONNUMERICIDENTIFIER]+")",u("PRERELEASE"),s[a.PRERELEASE]="(?:-("+s[a.PRERELEASEIDENTIFIER]+"(?:\\."+s[a.PRERELEASEIDENTIFIER]+")*))",u("PRERELEASELOOSE"),s[a.PRERELEASELOOSE]="(?:-?("+s[a.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+s[a.PRERELEASEIDENTIFIERLOOSE]+")*))",u("BUILDIDENTIFIER"),s[a.BUILDIDENTIFIER]=l+"+",u("BUILD"),s[a.BUILD]="(?:\\+("+s[a.BUILDIDENTIFIER]+"(?:\\."+s[a.BUILDIDENTIFIER]+")*))",u("FULL"),u("FULLPLAIN"),s[a.FULLPLAIN]="v?"+s[a.MAINVERSION]+s[a.PRERELEASE]+"?"+s[a.BUILD]+"?",s[a.FULL]="^"+s[a.FULLPLAIN]+"$",u("LOOSEPLAIN"),s[a.LOOSEPLAIN]="[v=\\s]*"+s[a.MAINVERSIONLOOSE]+s[a.PRERELEASELOOSE]+"?"+s[a.BUILD]+"?",u("LOOSE"),s[a.LOOSE]="^"+s[a.LOOSEPLAIN]+"$",u("GTLT"),s[a.GTLT]="((?:<|>)?=?)",u("XRANGEIDENTIFIERLOOSE"),s[a.XRANGEIDENTIFIERLOOSE]=s[a.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",u("XRANGEIDENTIFIER"),s[a.XRANGEIDENTIFIER]=s[a.NUMERICIDENTIFIER]+"|x|X|\\*",u("XRANGEPLAIN"),s[a.XRANGEPLAIN]="[v=\\s]*("+s[a.XRANGEIDENTIFIER]+")(?:\\.("+s[a.XRANGEIDENTIFIER]+")(?:\\.("+s[a.XRANGEIDENTIFIER]+")(?:"+s[a.PRERELEASE]+")?"+s[a.BUILD]+"?)?)?",u("XRANGEPLAINLOOSE"),s[a.XRANGEPLAINLOOSE]="[v=\\s]*("+s[a.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+s[a.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+s[a.XRANGEIDENTIFIERLOOSE]+")(?:"+s[a.PRERELEASELOOSE]+")?"+s[a.BUILD]+"?)?)?",u("XRANGE"),s[a.XRANGE]="^"+s[a.GTLT]+"\\s*"+s[a.XRANGEPLAIN]+"$",u("XRANGELOOSE"),s[a.XRANGELOOSE]="^"+s[a.GTLT]+"\\s*"+s[a.XRANGEPLAINLOOSE]+"$",u("COERCE"),s[a.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",u("COERCERTL"),o[a.COERCERTL]=new RegExp(s[a.COERCE],"g"),i[a.COERCERTL]=new RegExp(f(s[a.COERCE]),"g"),u("LONETILDE"),s[a.LONETILDE]="(?:~>?)",u("TILDETRIM"),s[a.TILDETRIM]="(\\s*)"+s[a.LONETILDE]+"\\s+",o[a.TILDETRIM]=new RegExp(s[a.TILDETRIM],"g"),i[a.TILDETRIM]=new RegExp(f(s[a.TILDETRIM]),"g"),u("TILDE"),s[a.TILDE]="^"+s[a.LONETILDE]+s[a.XRANGEPLAIN]+"$",u("TILDELOOSE"),s[a.TILDELOOSE]="^"+s[a.LONETILDE]+s[a.XRANGEPLAINLOOSE]+"$",u("LONECARET"),s[a.LONECARET]="(?:\\^)",u("CARETTRIM"),s[a.CARETTRIM]="(\\s*)"+s[a.LONECARET]+"\\s+",o[a.CARETTRIM]=new RegExp(s[a.CARETTRIM],"g"),i[a.CARETTRIM]=new RegExp(f(s[a.CARETTRIM]),"g"),u("CARET"),s[a.CARET]="^"+s[a.LONECARET]+s[a.XRANGEPLAIN]+"$",u("CARETLOOSE"),s[a.CARETLOOSE]="^"+s[a.LONECARET]+s[a.XRANGEPLAINLOOSE]+"$",u("COMPARATORLOOSE"),s[a.COMPARATORLOOSE]="^"+s[a.GTLT]+"\\s*("+s[a.LOOSEPLAIN]+")$|^$",u("COMPARATOR"),s[a.COMPARATOR]="^"+s[a.GTLT]+"\\s*("+s[a.FULLPLAIN]+")$|^$",u("COMPARATORTRIM"),s[a.COMPARATORTRIM]="(\\s*)"+s[a.GTLT]+"\\s*("+s[a.LOOSEPLAIN]+"|"+s[a.XRANGEPLAIN]+")",o[a.COMPARATORTRIM]=new RegExp(s[a.COMPARATORTRIM],"g"),i[a.COMPARATORTRIM]=new RegExp(f(s[a.COMPARATORTRIM]),"g"),u("HYPHENRANGE"),s[a.HYPHENRANGE]="^\\s*("+s[a.XRANGEPLAIN]+")\\s+-\\s+("+s[a.XRANGEPLAIN]+")\\s*$",u("HYPHENRANGELOOSE"),s[a.HYPHENRANGELOOSE]="^\\s*("+s[a.XRANGEPLAINLOOSE]+")\\s+-\\s+("+s[a.XRANGEPLAINLOOSE]+")\\s*$",u("STAR"),s[a.STAR]="(<|>)?=?\\s*\\*";for(var d=0;d<c;d++)n(d,s[d]),o[d]||(o[d]=new RegExp(s[d]),i[d]=new RegExp(f(s[d])));function h(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m)return e;if("string"!=typeof e)return null;if(e.length>256)return null;if(!(t.loose?i[a.LOOSE]:i[a.FULL]).test(e))return null;try{return new m(e,t)}catch(e){return null}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof m))return new m(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var o=e.trim().match(t.loose?i[a.LOOSE]:i[a.FULL]);if(!o)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<r)return t}return e})):this.prerelease=[],this.build=o[5]?o[5].split("."):[],this.format()}t.parse=h,t.valid=function(e,t){var n=h(e,t);return n?n.version:null},t.clean=function(e,t){var n=h(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=m,m.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},m.prototype.toString=function(){return this.version},m.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof m||(e=new m(e,this.options)),this.compareMain(e)||this.comparePre(e)},m.prototype.compareMain=function(e){return e instanceof m||(e=new m(e,this.options)),g(this.major,e.major)||g(this.minor,e.minor)||g(this.patch,e.patch)},m.prototype.comparePre=function(e){if(e instanceof m||(e=new m(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return g(r,o)}while(++t)},m.prototype.compareBuild=function(e){e instanceof m||(e=new m(e,this.options));var t=0;do{var r=this.build[t],o=e.build[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return g(r,o)}while(++t)},m.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new m(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(w(e,t))return null;var n=h(e),r=h(t),o="";if(n.prerelease.length||r.prerelease.length){o="pre";var i="prerelease"}for(var s in n)if(("major"===s||"minor"===s||"patch"===s)&&n[s]!==r[s])return o+s;return i},t.compareIdentifiers=g;var y=/^[0-9]+$/;function g(e,t){var n=y.test(e),r=y.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function v(e,t,n){return new m(e,n).compare(new m(t,n))}function b(e,t,n){return v(e,t,n)>0}function x(e,t,n){return v(e,t,n)<0}function w(e,t,n){return 0===v(e,t,n)}function _(e,t,n){return 0!==v(e,t,n)}function E(e,t,n){return v(e,t,n)>=0}function S(e,t,n){return v(e,t,n)<=0}function D(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return w(e,n,r);case"!=":return _(e,n,r);case">":return b(e,n,r);case">=":return E(e,n,r);case"<":return x(e,n,r);case"<=":return S(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function O(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof O){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof O))return new O(e,t);e=e.trim().split(/\s+/).join(" "),n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===k?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return g(t,e)},t.major=function(e,t){return new m(e,t).major},t.minor=function(e,t){return new m(e,t).minor},t.patch=function(e,t){return new m(e,t).patch},t.compare=v,t.compareLoose=function(e,t){return v(e,t,!0)},t.compareBuild=function(e,t,n){var r=new m(e,n),o=new m(t,n);return r.compare(o)||r.compareBuild(o)},t.rcompare=function(e,t,n){return v(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=b,t.lt=x,t.eq=w,t.neq=_,t.gte=E,t.lte=S,t.cmp=D,t.Comparator=O;var k={};function $(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof $)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new $(e.raw,t);if(e instanceof O)return new $(e.value,t);if(!(this instanceof $))return new $(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}function A(e,t){for(var n=!0,r=e.slice(),o=r.pop();n&&r.length;)n=r.every((function(e){return o.intersects(e,t)})),o=r.pop();return n}function P(e){return!e||"x"===e.toLowerCase()||"*"===e}function j(e,t,n,r,o,i,s,a,c,u,l,p,f){return((t=P(n)?"":P(r)?">="+n+".0.0":P(o)?">="+n+"."+r+".0":">="+t)+" "+(a=P(c)?"":P(u)?"<"+(+c+1)+".0.0":P(l)?"<"+c+"."+(+u+1)+".0":p?"<="+c+"."+u+"."+l+"-"+p:"<="+a)).trim()}function C(e,t,r){for(var o=0;o<e.length;o++)if(!e[o].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(o=0;o<e.length;o++)if(n(e[o].semver),e[o].semver!==k&&e[o].semver.prerelease.length>0){var i=e[o].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function R(e,t,n){try{t=new $(t,n)}catch(e){return!1}return t.test(e)}function N(e,t,n,r){var o,i,s,a,c;switch(e=new m(e,r),t=new $(t,r),n){case">":o=b,i=S,s=x,a=">",c=">=";break;case"<":o=x,i=E,s=b,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(R(e,t,r))return!1;for(var u=0;u<t.set.length;++u){var l=t.set[u],p=null,f=null;if(l.forEach((function(e){e.semver===k&&(e=new O(">=0.0.0")),p=p||e,f=f||e,o(e.semver,p.semver,r)?p=e:s(e.semver,f.semver,r)&&(f=e)})),p.operator===a||p.operator===c)return!1;if((!f.operator||f.operator===a)&&i(e,f.semver))return!1;if(f.operator===c&&s(e,f.semver))return!1}return!0}O.prototype.parse=function(e){var t=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new m(n[2],this.options.loose):this.semver=k},O.prototype.toString=function(){return this.value},O.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===k||e===k)return!0;if("string"==typeof e)try{e=new m(e,this.options)}catch(e){return!1}return D(e,this.operator,this.semver,this.options)},O.prototype.intersects=function(e,t){if(!(e instanceof O))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new $(e.value,t),R(this.value,n,t));if(""===e.operator)return""===e.value||(n=new $(this.value,t),R(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=D(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=D(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&s||a||c},t.Range=$,$.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},$.prototype.toString=function(){return this.range},$.prototype.parseRange=function(e){var t=this.options.loose,r=t?i[a.HYPHENRANGELOOSE]:i[a.HYPHENRANGE];e=e.replace(r,j),n("hyphen replace",e),e=e.replace(i[a.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,i[a.COMPARATORTRIM]),e=(e=(e=e.replace(i[a.TILDETRIM],"$1~")).replace(i[a.CARETTRIM],"$1^")).split(/\s+/).join(" ");var o=t?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],s=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?i[a.CARETLOOSE]:i[a.CARET];return e.replace(r,(function(t,r,o,i,s){var a;return n("caret",e,t,r,o,i,s),P(r)?a="":P(o)?a=">="+r+".0.0 <"+(+r+1)+".0.0":P(i)?a="0"===r?">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":">="+r+"."+o+".0 <"+(+r+1)+".0.0":s?(n("replaceCaret pr",s),a="0"===r?"0"===o?">="+r+"."+o+"."+i+"-"+s+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+"-"+s+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+"-"+s+" <"+(+r+1)+".0.0"):(n("no pr"),a="0"===r?"0"===o?">="+r+"."+o+"."+i+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+" <"+(+r+1)+".0.0"),n("caret return",a),a}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?i[a.TILDELOOSE]:i[a.TILDE];return e.replace(r,(function(t,r,o,i,s){var a;return n("tilde",e,t,r,o,i,s),P(r)?a="":P(o)?a=">="+r+".0.0 <"+(+r+1)+".0.0":P(i)?a=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":s?(n("replaceTilde pr",s),a=">="+r+"."+o+"."+i+"-"+s+" <"+r+"."+(+o+1)+".0"):a=">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0",n("tilde return",a),a}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?i[a.XRANGELOOSE]:i[a.XRANGE];return e.replace(r,(function(r,o,i,s,a,c){n("xRange",e,r,o,i,s,a,c);var u=P(i),l=u||P(s),p=l||P(a),f=p;return"="===o&&f&&(o=""),c=t.includePrerelease?"-0":"",u?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&f?(l&&(s=0),a=0,">"===o?(o=">=",l?(i=+i+1,s=0,a=0):(s=+s+1,a=0)):"<="===o&&(o="<",l?i=+i+1:s=+s+1),r=o+i+"."+s+"."+a+c):l?r=">="+i+".0.0"+c+" <"+(+i+1)+".0.0"+c:p&&(r=">="+i+"."+s+".0"+c+" <"+i+"."+(+s+1)+".0"+c),n("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(i[a.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(s=s.filter((function(e){return!!e.match(o)}))),s.map((function(e){return new O(e,this.options)}),this)},$.prototype.intersects=function(e,t){if(!(e instanceof $))throw new TypeError("a Range is required");return this.set.some((function(n){return A(n,t)&&e.set.some((function(e){return A(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new $(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},$.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new m(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(C(this.set[t],e,this.options))return!0;return!1},t.satisfies=R,t.maxSatisfying=function(e,t,n){var r=null,o=null;try{var i=new $(t,n)}catch(e){return null}return e.forEach((function(e){i.test(e)&&(r&&-1!==o.compare(e)||(o=new m(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,o=null;try{var i=new $(t,n)}catch(e){return null}return e.forEach((function(e){i.test(e)&&(r&&1!==o.compare(e)||(o=new m(r=e,n)))})),r},t.minVersion=function(e,t){e=new $(e,t);var n=new m("0.0.0");if(e.test(n))return n;if(n=new m("0.0.0-0"),e.test(n))return n;n=null;for(var r=0;r<e.set.length;++r)e.set[r].forEach((function(e){var t=new m(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!b(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}));return n&&e.test(n)?n:null},t.validRange=function(e,t){try{return new $(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return N(e,t,"<",n)},t.gtr=function(e,t,n){return N(e,t,">",n)},t.outside=N,t.prerelease=function(e,t){var n=h(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new $(e,n),t=new $(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof m)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=i[a.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),i[a.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;i[a.COERCERTL].lastIndex=-1}else n=e.match(i[a.COERCE]);return null===n?null:h(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}},5582(e,t,n){"use strict";const r=n(9436),o=n(6461),i=n(8662),s=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=r(e)).length)return 0;e=e.replace(i()," ");let t=0;for(let n=0;n<e.length;n++){const r=e.codePointAt(n);r<=31||r>=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=o(r)?2:1)}return t};e.exports=s,e.exports.default=s},8662(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}},9436(e,t,n){"use strict";const r=n(1371);e.exports=e=>"string"==typeof e?e.replace(r(),""):e},5600(e,t,n){"use strict";const r=n(857),o=n(2018),i=n(6071),{env:s}=process;let a;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function u(e,t){if(0===a)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!t&&void 0===a)return 0;const n=a||0;if("dumb"===s.TERM)return n;if("win32"===process.platform){const e=r.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in s)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in s))||"codeship"===s.CI_NAME?1:n;if("TEAMCITY_VERSION"in s)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s.TEAMCITY_VERSION)?1:0;if("truecolor"===s.COLORTERM)return 3;if("TERM_PROGRAM"in s){const e=parseInt((s.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(s.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(s.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(s.TERM)||"COLORTERM"in s?1:n}i("no-color")||i("no-colors")||i("color=false")||i("color=never")?a=0:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(a=1),"FORCE_COLOR"in s&&(a="true"===s.FORCE_COLOR?1:"false"===s.FORCE_COLOR?0:0===s.FORCE_COLOR.length?1:Math.min(parseInt(s.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(u(e,e&&e.isTTY))},stdout:c(u(!0,o.isatty(1))),stderr:c(u(!0,o.isatty(2)))}},9093(e,t,n){"use strict";const r=n(8424),o=(e,t,n)=>{if(!1===r(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===r(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...n};"boolean"==typeof i.strictZeros&&(i.relaxZeros=!1===i.strictZeros);let c=e+":"+t+"="+String(i.relaxZeros)+String(i.shorthand)+String(i.capture)+String(i.wrap);if(o.cache.hasOwnProperty(c))return o.cache[c].result;let u=Math.min(e,t),l=Math.max(e,t);if(1===Math.abs(u-l)){let n=e+"|"+t;return i.capture?`(${n})`:!1===i.wrap?n:`(?:${n})`}let p=d(e)||d(t),f={min:e,max:t,a:u,b:l},h=[],m=[];return p&&(f.isPadded=p,f.maxLen=String(f.max).length),u<0&&(m=s(l<0?Math.abs(l):1,Math.abs(u),f,i),u=f.a=0),l>=0&&(h=s(u,l,f,i)),f.negatives=m,f.positives=h,f.result=function(e,t){let n=a(e,t,"-",!1)||[],r=a(t,e,"",!1)||[],o=a(e,t,"-?",!0)||[];return n.concat(o).concat(r).join("|")}(m,h),!0===i.capture?f.result=`(${f.result})`:!1!==i.wrap&&h.length+m.length>1&&(f.result=`(?:${f.result})`),o.cache[c]=f,f.result};function i(e,t,n){if(e===t)return{pattern:e,count:[],digits:0};let r=function(e,t){let n=[];for(let r=0;r<e.length;r++)n.push([e[r],t[r]]);return n}(e,t),o=r.length,i="",s=0;for(let e=0;e<o;e++){let[t,n]=r[e];t===n?i+=t:"0"!==t||"9"!==n?i+=`[${a=t}${(c=n)-a==1?"":"-"}${c}]`:s++}var a,c;return s&&(i+=!0===n.shorthand?"\\d":"[0-9]"),{pattern:i,count:[s],digits:o}}function s(e,t,n,r){let o,s=function(e,t){let n=1,r=1,o=l(e,n),i=new Set([t]);for(;e<=o&&o<=t;)i.add(o),n+=1,o=l(e,n);for(o=p(t+1,r)-1;e<o&&o<=t;)i.add(o),r+=1,o=p(t+1,r)-1;return i=[...i],i.sort(c),i}(e,t),a=[],u=e;for(let e=0;e<s.length;e++){let t=s[e],c=i(String(u),String(t),r),l="";n.isPadded||!o||o.pattern!==c.pattern?(n.isPadded&&(l=h(t,n,r)),c.string=l+c.pattern+f(c.count),a.push(c),u=t+1,o=c):(o.count.length>1&&o.count.pop(),o.count.push(c.count[0]),o.string=o.pattern+f(o.count),u=t+1)}return a}function a(e,t,n,r,o){let i=[];for(let o of e){let{string:e}=o;r||u(t,"string",e)||i.push(n+e),r&&u(t,"string",e)&&i.push(n+e)}return i}function c(e,t){return e>t?1:t>e?-1:0}function u(e,t,n){return e.some((e=>e[t]===n))}function l(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function p(e,t){return e-e%Math.pow(10,t)}function f(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function d(e){return/^-?(0+)\d/.test(e)}function h(e,t,n){if(!t.isPadded)return e;let r=Math.abs(t.maxLen-String(e).length),o=!1!==n.relaxZeros;switch(r){case 0:return"";case 1:return o?"0?":"0";case 2:return o?"0{0,2}":"00";default:return o?`0{0,${r}}`:`0{${r}}`}}o.cache={},o.clearCache=()=>o.cache={},e.exports=o},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")},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")},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")},4800(e,t,n){"use strict";const{normalizeIPv6:r,normalizeIPv4:o,removeDotSegments:i,recomposeAuthority:s,normalizeComponentEncoding:a}=n(5365),c=n(3956);function u(e,t,n,r){const o={};return r||(e=d(l(e,n),n),t=d(l(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(o.scheme=t.scheme,o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=i(t.path||""),o.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=i(t.path||""),o.query=t.query):(t.path?("/"===t.path.charAt(0)?o.path=i(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:o.path=t.path:o.path="/"+t.path,o.path=i(o.path)),o.query=t.query):(o.path=e.path,void 0!==t.query?o.query=t.query:o.query=e.query),o.userinfo=e.userinfo,o.host=e.host,o.port=e.port),o.scheme=e.scheme),o.fragment=t.fragment,o}function l(e,t){const n={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},r=Object.assign({},t),o=[],a=c[(r.scheme||n.scheme||"").toLowerCase()];a&&a.serialize&&a.serialize(n,r),void 0!==n.path&&(r.skipEscape?n.path=unescape(n.path):(n.path=escape(n.path),void 0!==n.scheme&&(n.path=n.path.split("%3A").join(":")))),"suffix"!==r.reference&&n.scheme&&(o.push(n.scheme),o.push(":"));const u=s(n,r);if(void 0!==u&&("suffix"!==r.reference&&o.push("//"),o.push(u),n.path&&"/"!==n.path.charAt(0)&&o.push("/")),void 0!==n.path){let e=n.path;r.absolutePath||a&&a.absolutePath||(e=i(e)),void 0===u&&(e=e.replace(/^\/\//u,"/%2F")),o.push(e)}return void 0!==n.query&&(o.push("?"),o.push(n.query)),void 0!==n.fragment&&(o.push("#"),o.push(n.fragment)),o.join("")}const p=Array.from({length:127},((e,t)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(t)))),f=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function d(e,t){const n=Object.assign({},t),i={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},s=-1!==e.indexOf("%");let a=!1;"suffix"===n.reference&&(e=(n.scheme?n.scheme+":":"")+"//"+e);const u=e.match(f);if(u){if(i.scheme=u[1],i.userinfo=u[3],i.host=u[4],i.port=parseInt(u[5],10),i.path=u[6]||"",i.query=u[7],i.fragment=u[8],isNaN(i.port)&&(i.port=u[5]),i.host){const e=o(i.host);if(!1===e.isIPV4){const t=r(e.host,{isIPV4:!1});i.host=t.host.toLowerCase(),a=t.isIPV6}else i.host=e.host,a=!0}void 0!==i.scheme||void 0!==i.userinfo||void 0!==i.host||void 0!==i.port||i.path||void 0!==i.query?void 0===i.scheme?i.reference="relative":void 0===i.fragment?i.reference="absolute":i.reference="uri":i.reference="same-document",n.reference&&"suffix"!==n.reference&&n.reference!==i.reference&&(i.error=i.error||"URI is not a "+n.reference+" reference.");const e=c[(n.scheme||i.scheme||"").toLowerCase()];if(!(n.unicodeSupport||e&&e.unicodeSupport)&&i.host&&(n.domainHost||e&&e.domainHost)&&!1===a&&function(e){let t=0;for(let n=0,r=e.length;n<r;++n)if(t=e.charCodeAt(n),t>126||p[t])return!0;return!1}(i.host))try{i.host=URL.domainToASCII(i.host.toLowerCase())}catch(e){i.error=i.error||"Host's domain name can not be converted to ASCII: "+e}(!e||e&&!e.skipNormalize)&&(s&&void 0!==i.scheme&&(i.scheme=unescape(i.scheme)),s&&void 0!==i.userinfo&&(i.userinfo=unescape(i.userinfo)),s&&void 0!==i.host&&(i.host=unescape(i.host)),void 0!==i.path&&i.path.length&&(i.path=escape(unescape(i.path))),void 0!==i.fragment&&i.fragment.length&&(i.fragment=encodeURI(decodeURIComponent(i.fragment)))),e&&e.parse&&e.parse(i,n)}else i.error=i.error||"URI can not be parsed.";return i}const h={SCHEMES:c,normalize:function(e,t){return"string"==typeof e?e=l(d(e,t),t):"object"==typeof e&&(e=d(l(e,t),t)),e},resolve:function(e,t,n){const r=Object.assign({scheme:"null"},n);return l(u(d(e,r),d(t,r),r,!0),{...r,skipEscape:!0})},resolveComponents:u,equal:function(e,t,n){return"string"==typeof e?(e=unescape(e),e=l(a(d(e,n),!0),{...n,skipEscape:!0})):"object"==typeof e&&(e=l(a(e,!0),{...n,skipEscape:!0})),"string"==typeof t?(t=unescape(t),t=l(a(d(t,n),!0),{...n,skipEscape:!0})):"object"==typeof t&&(t=l(a(t,!0),{...n,skipEscape:!0})),e.toLowerCase()===t.toLowerCase()},serialize:l,parse:d};e.exports=h,e.exports.default=h,e.exports.fastUri=h},3956(e){"use strict";const t=/^[\da-f]{8}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{12}$/iu,n=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function r(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}function o(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function i(e){const t="https"===String(e.scheme).toLowerCase();return e.port!==(t?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}const s={scheme:"http",domainHost:!0,parse:o,serialize:i},a={scheme:"ws",domainHost:!0,parse:function(e){return e.secure=r(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e},serialize:function(e){if(e.port!==(r(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){const[t,n]=e.resourceName.split("?");e.path=t&&"/"!==t?t:void 0,e.query=n,e.resourceName=void 0}return e.fragment=void 0,e}},c={http:s,https:{scheme:"https",domainHost:s.domainHost,parse:o,serialize:i},ws:a,wss:{scheme:"wss",domainHost:a.domainHost,parse:a.parse,serialize:a.serialize},urn:{scheme:"urn",parse:function(e,t){if(!e.path)return e.error="URN can not be parsed",e;const r=e.path.match(n);if(r){const n=t.scheme||e.scheme||"urn";e.nid=r[1].toLowerCase(),e.nss=r[2];const o=`${n}:${t.nid||e.nid}`,i=c[o];e.path=void 0,i&&(e=i.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e},serialize:function(e,t){const n=t.scheme||e.scheme||"urn",r=e.nid.toLowerCase(),o=`${n}:${t.nid||r}`,i=c[o];i&&(e=i.serialize(e,t));const s=e,a=e.nss;return s.path=`${r||t.nid}:${a}`,t.skipEscape=!0,s},skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:function(e,n){const r=e;return r.uuid=r.nss,r.nss=void 0,n.tolerant||r.uuid&&t.test(r.uuid)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t},skipNormalize:!0}};e.exports=c},5073(e){"use strict";e.exports={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}},5365(e,t,n){"use strict";const{HEX:r}=n(5073);function o(e){if(c(e,".")<3)return{host:e,isIPV4:!1};const t=e.match(/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/u)||[],[n]=t;return n?{host:a(n,"."),isIPV4:!0}:{host:e,isIPV4:!1}}function i(e,t=!1){let n="",o=!0;for(const t of e){if(void 0===r[t])return;"0"!==t&&!0===o&&(o=!1),o||(n+=t)}return t&&0===n.length&&(n="0"),n}function s(e,t={}){if(c(e,":")<2)return{host:e,isIPV6:!1};const n=function(e){let t=0;const n={error:!1,address:"",zone:""},r=[],o=[];let s=!1,a=!1,c=!1;function u(){if(o.length){if(!1===s){const e=i(o);if(void 0===e)return n.error=!0,!1;r.push(e)}o.length=0}return!0}for(let i=0;i<e.length;i++){const l=e[i];if("["!==l&&"]"!==l)if(":"!==l)if("%"===l){if(!u())break;s=!0}else o.push(l);else{if(!0===a&&(c=!0),!u())break;if(t++,r.push(":"),t>7){n.error=!0;break}i-1>=0&&":"===e[i-1]&&(a=!0)}}return o.length&&(s?n.zone=o.join(""):c?r.push(o.join("")):r.push(i(o))),n.address=r.join(""),n}(e);if(n.error)return{host:e,isIPV6:!1};{let e=n.address,t=n.address;return n.zone&&(e+="%"+n.zone,t+="%25"+n.zone),{host:e,escapedHost:t,isIPV6:!0}}}function a(e,t){let n="",r=!0;const o=e.length;for(let i=0;i<o;i++){const s=e[i];"0"===s&&r?(i+1<=o&&e[i+1]===t||i+1===o)&&(n+=s,r=!1):(r=s===t,n+=s)}return n}function c(e,t){let n=0;for(let r=0;r<e.length;r++)e[r]===t&&n++;return n}const u=/^\.\.?\//u,l=/^\/\.(?:\/|$)/u,p=/^\/\.\.(?:\/|$)/u,f=/^\/?(?:.|\n)*?(?=\/|$)/u;e.exports={recomposeAuthority:function(e,t){const n=[];if(void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host){let t=unescape(e.host);const r=o(t);if(r.isIPV4)t=r.host;else{const n=s(r.host,{isIPV4:!1});t=!0===n.isIPV6?`[${n.escapedHost}]`:e.host}n.push(t)}return"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0},normalizeComponentEncoding:function(e,t){const n=!0!==t?escape:unescape;return void 0!==e.scheme&&(e.scheme=n(e.scheme)),void 0!==e.userinfo&&(e.userinfo=n(e.userinfo)),void 0!==e.host&&(e.host=n(e.host)),void 0!==e.path&&(e.path=n(e.path)),void 0!==e.query&&(e.query=n(e.query)),void 0!==e.fragment&&(e.fragment=n(e.fragment)),e},removeDotSegments:function(e){const t=[];for(;e.length;)if(e.match(u))e=e.replace(u,"");else if(e.match(l))e=e.replace(l,"/");else if(e.match(p))e=e.replace(p,"/"),t.pop();else if("."===e||".."===e)e="";else{const n=e.match(f);if(!n)throw new Error("Unexpected dot segment condition");{const r=n[0];e=e.slice(r.length),t.push(r)}}return t.join("")},normalizeIPv4:o,normalizeIPv6:s,stringArrayToHexStripped:i}},3285(e,t,n){"use strict";var r=n(9399),o=n(3205),i=n(2262),s=n(847),a=n(6783),c=n(8302),u=n(2918);function l(e,t,n,r,o,i){const s="block-map"===n.type?a.resolveBlockMap(e,t,n,r,i):"block-seq"===n.type?c.resolveBlockSeq(e,t,n,r,i):u.resolveFlowCollection(e,t,n,r,i),l=s.constructor;return"!"===o||o===l.tagName?(s.tag=l.tagName,s):(o&&(s.tag=o),s)}t.composeCollection=function(e,t,n,a,c){const u=a.tag,p=u?t.directives.tagName(u.source,(e=>c(u,"TAG_RESOLVE_FAILED",e))):null;if("block-seq"===n.type){const{anchor:e,newlineAfterProp:t}=a,n=e&&u?e.offset>u.offset?e:u:e??u;n&&(!t||t.offset<n.offset)&&c(n,"MISSING_CHAR","Missing newline after block sequence props")}const f="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!u||!p||"!"===p||p===i.YAMLMap.tagName&&"map"===f||p===s.YAMLSeq.tagName&&"seq"===f)return l(e,t,n,c,p);let d=t.schema.tags.find((e=>e.tag===p&&e.collection===f));if(!d){const r=t.schema.knownTags[p];if(r?.collection!==f)return r?c(u,"BAD_COLLECTION_TYPE",`${r.tag} used for ${f} collection, but expects ${r.collection??"scalar"}`,!0):c(u,"TAG_RESOLVE_FAILED",`Unresolved tag: ${p}`,!0),l(e,t,n,c,p);t.schema.tags.push(Object.assign({},r,{default:!1})),d=r}const h=l(e,t,n,c,p,d),m=d.resolve?.(h,(e=>c(u,"TAG_RESOLVE_FAILED",e)),t.options)??h,y=r.isNode(m)?m:new o.Scalar(m);return y.range=h.range,y.tag=p,d?.format&&(y.format=d.format),y}},1683(e,t,n){"use strict";var r=n(2333),o=n(5729),i=n(3484),s=n(423);t.composeDoc=function(e,t,{offset:n,start:a,value:c,end:u},l){const p=Object.assign({_directives:t},e),f=new r.Document(void 0,p),d={atKey:!1,atRoot:!0,directives:f.directives,options:f.options,schema:f.schema},h=s.resolveProps(a,{indicator:"doc-start",next:c??u?.[0],offset:n,onError:l,parentIndent:0,startOnNewline:!0});h.found&&(f.directives.docStart=!0,!c||"block-map"!==c.type&&"block-seq"!==c.type||h.hasNewline||l(h.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),f.contents=c?o.composeNode(d,c,h,l):o.composeEmptyNode(d,h.end,a,null,h,l);const m=f.contents.range[2],y=i.resolveEnd(u,m,!1,l);return y.comment&&(f.comment=y.comment),f.range=[n,m,y.offset],f}},5729(e,t,n){"use strict";var r=n(9281),o=n(9399),i=n(3285),s=n(8917),a=n(3484),c=n(9943);const u={composeNode:l,composeEmptyNode:p};function l(e,t,n,c){const l=e.atKey,{spaceBefore:f,comment:d,anchor:h,tag:m}=n;let y,g=!0;switch(t.type){case"alias":y=function({options:e},{offset:t,source:n,end:o},i){const s=new r.Alias(n.substring(1));""===s.source&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const c=t+n.length,u=a.resolveEnd(o,c,e.strict,i);return s.range=[t,c,u.offset],u.comment&&(s.comment=u.comment),s}(e,t,c),(h||m)&&c(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":y=s.composeScalar(e,t,m,c),h&&(y.anchor=h.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{y=i.composeCollection(u,e,t,n,c),h&&(y.anchor=h.source.substring(1))}catch(e){c(t,"RESOURCE_EXHAUSTION",e instanceof Error?e.message:String(e))}break;default:c(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),g=!1}return y??(y=p(e,t.offset,void 0,null,n,c)),h&&""===y.anchor&&c(h,"BAD_ALIAS","Anchor cannot be an empty string"),l&&e.options.stringKeys&&(!o.isScalar(y)||"string"!=typeof y.value||y.tag&&"tag:yaml.org,2002:str"!==y.tag)&&c(m??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),f&&(y.spaceBefore=!0),d&&("scalar"===t.type&&""===t.source?y.comment=d:y.commentBefore=d),e.options.keepSourceTokens&&g&&(y.srcToken=t),y}function p(e,t,n,r,{spaceBefore:o,comment:i,anchor:a,tag:u,end:l},p){const f={type:"scalar",offset:c.emptyScalarPosition(t,n,r),indent:-1,source:""},d=s.composeScalar(e,f,u,p);return a&&(d.anchor=a.source.substring(1),""===d.anchor&&p(a,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(d.spaceBefore=!0),i&&(d.comment=i,d.range[2]=l),d}t.composeEmptyNode=p,t.composeNode=l},8917(e,t,n){"use strict";var r=n(9399),o=n(3205),i=n(6945),s=n(2362);t.composeScalar=function(e,t,n,a){const{value:c,type:u,comment:l,range:p}="block-scalar"===t.type?i.resolveBlockScalar(e,t,a):s.resolveFlowScalar(t,e.options.strict,a),f=n?e.directives.tagName(n.source,(e=>a(n,"TAG_RESOLVE_FAILED",e))):null;let d,h;d=e.options.stringKeys&&e.atKey?e.schema[r.SCALAR]:f?function(e,t,n,o,i){if("!"===n)return e[r.SCALAR];const s=[];for(const t of e.tags)if(!t.collection&&t.tag===n){if(!t.default||!t.test)return t;s.push(t)}for(const e of s)if(e.test?.test(t))return e;const a=e.knownTags[n];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(i(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[r.SCALAR])}(e.schema,c,f,n,a):"scalar"===t.type?function({atKey:e,directives:t,schema:n},o,i,s){const a=n.tags.find((t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(o)))||n[r.SCALAR];if(n.compat){const e=n.compat.find((e=>e.default&&e.test?.test(o)))??n[r.SCALAR];a.tag!==e.tag&&s(i,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${t.tagString(a.tag)} or ${t.tagString(e.tag)}`,!0)}return a}(e,c,t,a):e.schema[r.SCALAR];try{const i=d.resolve(c,(e=>a(n??t,"TAG_RESOLVE_FAILED",e)),e.options);h=r.isScalar(i)?i:new o.Scalar(i)}catch(e){const r=e instanceof Error?e.message:String(e);a(n??t,"TAG_RESOLVE_FAILED",r),h=new o.Scalar(c)}return h.range=p,h.source=c,u&&(h.type=u),f&&(h.tag=f),d.format&&(h.format=d.format),l&&(h.comment=l),h}},8480(e,t,n){"use strict";var r=n(932),o=n(4670),i=n(2333),s=n(1656),a=n(9399),c=n(1683),u=n(3484);function l(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function p(e){let t="",n=!1,r=!1;for(let o=0;o<e.length;++o){const i=e[o];switch(i[0]){case"#":t+=(""===t?"":r?"\n\n":"\n")+(i.substring(1)||" "),n=!0,r=!1;break;case"%":"#"!==e[o+1]?.[0]&&(o+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}t.Composer=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{const o=l(e);r?this.warnings.push(new s.YAMLWarning(o,t,n)):this.errors.push(new s.YAMLParseError(o,t,n))},this.directives=new o.Directives({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:r}=p(this.prelude);if(n){const o=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!o)e.commentBefore=n;else if(a.isCollection(o)&&!o.flow&&o.items.length>0){let e=o.items[0];a.isPair(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{const e=o.commentBefore;o.commentBefore=e?`${n}\n${e}`:n}}if(t){for(let t=0;t<this.errors.length;++t)e.errors.push(this.errors[t]);for(let t=0;t<this.warnings.length;++t)e.warnings.push(this.warnings[t])}else e.errors=this.errors,e.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:p(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(const t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(r.env.LOG_STREAM&&console.dir(e,{depth:null}),e.type){case"directive":this.directives.add(e.source,((t,n,r)=>{const o=l(e);o[0]+=t,this.onError(o,"BAD_DIRECTIVE",n,r)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=c.composeDoc(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new s.YAMLParseError(l(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new s.YAMLParseError(l(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=u.resolveEnd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new s.YAMLParseError(l(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),n=new i.Document(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,t,t],this.decorate(n,!1),yield n}}}},6783(e,t,n){"use strict";var r=n(4237),o=n(2262),i=n(423),s=n(2187),a=n(4851),c=n(5203);const u="All mapping items must start at the same column";t.resolveBlockMap=function({composeNode:e,composeEmptyNode:t},n,l,p,f){const d=new(f?.nodeClass??o.YAMLMap)(n.schema);n.atRoot&&(n.atRoot=!1);let h=l.offset,m=null;for(const o of l.items){const{start:f,key:y,sep:g,value:v}=o,b=i.resolveProps(f,{indicator:"explicit-key-ind",next:y??g?.[0],offset:h,onError:p,parentIndent:l.indent,startOnNewline:!0}),x=!b.found;if(x){if(y&&("block-seq"===y.type?p(h,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in y&&y.indent!==l.indent&&p(h,"BAD_INDENT",u)),!b.anchor&&!b.tag&&!g){m=b.end,b.comment&&(d.comment?d.comment+="\n"+b.comment:d.comment=b.comment);continue}(b.newlineAfterProp||s.containsNewline(y))&&p(y??f[f.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else b.found?.indent!==l.indent&&p(h,"BAD_INDENT",u);n.atKey=!0;const w=b.end,_=y?e(n,y,b,p):t(n,w,f,null,b,p);n.schema.compat&&a.flowIndentCheck(l.indent,y,p),n.atKey=!1,c.mapIncludes(n,d.items,_)&&p(w,"DUPLICATE_KEY","Map keys must be unique");const E=i.resolveProps(g??[],{indicator:"map-value-ind",next:v,offset:_.range[2],onError:p,parentIndent:l.indent,startOnNewline:!y||"block-scalar"===y.type});if(h=E.end,E.found){x&&("block-map"!==v?.type||E.hasNewline||p(h,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&b.start<E.found.offset-1024&&p(_.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const i=v?e(n,v,E,p):t(n,h,g,null,E,p);n.schema.compat&&a.flowIndentCheck(l.indent,v,p),h=i.range[2];const s=new r.Pair(_,i);n.options.keepSourceTokens&&(s.srcToken=o),d.items.push(s)}else{x&&p(_.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),E.comment&&(_.comment?_.comment+="\n"+E.comment:_.comment=E.comment);const e=new r.Pair(_);n.options.keepSourceTokens&&(e.srcToken=o),d.items.push(e)}}return m&&m<h&&p(m,"IMPOSSIBLE","Map comment with trailing content"),d.range=[l.offset,h,m??h],d}},6945(e,t,n){"use strict";var r=n(3205);t.resolveBlockScalar=function(e,t,n){const o=t.offset,i=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:o}=t[0],i=o[0];let s=0,a="",c=-1;for(let t=1;t<o.length;++t){const n=o[t];if(a||"-"!==n&&"+"!==n){const r=Number(n);!s&&r?s=r:-1===c&&(c=e+t)}else a=n}-1!==c&&r(c,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${o}`);let u=!1,l="",p=o.length;for(let e=1;e<t.length;++e){const o=t[e];switch(o.type){case"space":u=!0;case"newline":p+=o.source.length;break;case"comment":n&&!u&&r(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),p+=o.source.length,l=o.source.substring(1);break;case"error":r(o,"UNEXPECTED_TOKEN",o.message),p+=o.source.length;break;default:{r(o,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${o.type}`);const e=o.source;e&&"string"==typeof e&&(p+=e.length)}}}return{mode:i,indent:s,chomp:a,comment:l,length:p}}(t,e.options.strict,n);if(!i)return{value:"",type:null,comment:"",range:[o,o,o]};const s=">"===i.mode?r.Scalar.BLOCK_FOLDED:r.Scalar.BLOCK_LITERAL,a=t.source?function(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),o=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let e=1;e<t.length;e+=2)o.push([t[e],t[e+1]]);return o}(t.source):[];let c=a.length;for(let e=a.length-1;e>=0;--e){const t=a[e][1];if(""!==t&&"\r"!==t)break;c=e}if(0===c){const e="+"===i.chomp&&a.length>0?"\n".repeat(Math.max(1,a.length-1)):"";let n=o+i.length;return t.source&&(n+=t.source.length),{value:e,type:s,comment:i.comment,range:[o,n,n]}}let u=t.indent+i.indent,l=t.offset+i.length,p=0;for(let t=0;t<c;++t){const[r,o]=a[t];if(""!==o&&"\r"!==o){if(r.length<u){const e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";n(l+r.length,"MISSING_CHAR",e)}0===i.indent&&(u=r.length),p=t,0!==u||e.atRoot||n(l,"BAD_INDENT","Block scalar values in collections must be indented");break}0===i.indent&&r.length>u&&(u=r.length),l+=r.length+o.length+1}for(let e=a.length-1;e>=c;--e)a[e][0].length>u&&(c=e+1);let f="",d="",h=!1;for(let e=0;e<p;++e)f+=a[e][0].slice(u)+"\n";for(let e=p;e<c;++e){let[t,o]=a[e];l+=t.length+o.length+1;const c="\r"===o[o.length-1];if(c&&(o=o.slice(0,-1)),o&&t.length<u){const e="Block scalar lines must not be less indented than their "+(i.indent?"explicit indentation indicator":"first line");n(l-o.length-(c?2:1),"BAD_INDENT",e),t=""}s===r.Scalar.BLOCK_LITERAL?(f+=d+t.slice(u)+o,d="\n"):t.length>u||"\t"===o[0]?(" "===d?d="\n":h||"\n"!==d||(d="\n\n"),f+=d+t.slice(u)+o,d="\n",h=!0):""===o?"\n"===d?f+="\n":d="\n":(f+=d+o,d=" ",h=!1)}switch(i.chomp){case"-":break;case"+":for(let e=c;e<a.length;++e)f+="\n"+a[e][0].slice(u);"\n"!==f[f.length-1]&&(f+="\n");break;default:f+="\n"}const m=o+i.length+t.source.length;return{value:f,type:s,comment:i.comment,range:[o,m,m]}}},8302(e,t,n){"use strict";var r=n(847),o=n(423),i=n(4851);t.resolveBlockSeq=function({composeNode:e,composeEmptyNode:t},n,s,a,c){const u=new(c?.nodeClass??r.YAMLSeq)(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let l=s.offset,p=null;for(const{start:r,value:c}of s.items){const f=o.resolveProps(r,{indicator:"seq-item-ind",next:c,offset:l,onError:a,parentIndent:s.indent,startOnNewline:!0});if(!f.found){if(!(f.anchor||f.tag||c)){p=f.end,f.comment&&(u.comment=f.comment);continue}"block-seq"===c?.type?a(f.end,"BAD_INDENT","All sequence items must start at the same column"):a(l,"MISSING_CHAR","Sequence item without - indicator")}const d=c?e(n,c,f,a):t(n,f.end,r,null,f,a);n.schema.compat&&i.flowIndentCheck(s.indent,c,a),l=d.range[2],u.items.push(d)}return u.range=[s.offset,l,p??l],u}},3484(e,t){"use strict";t.resolveEnd=function(e,t,n,r){let o="";if(e){let i=!1,s="";for(const a of e){const{source:e,type:c}=a;switch(c){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";o?o+=s+t:o=t,s="";break}case"newline":o&&(s+=e),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}t+=e.length}}return{comment:o,offset:t}}},2918(e,t,n){"use strict";var r=n(9399),o=n(4237),i=n(2262),s=n(847),a=n(3484),c=n(423),u=n(2187),l=n(5203);const p="Block collections are not allowed within flow collections",f=e=>e&&("block-map"===e.type||"block-seq"===e.type);t.resolveFlowCollection=function({composeNode:e,composeEmptyNode:t},n,d,h,m){const y="{"===d.start.source,g=y?"flow map":"flow sequence",v=new(m?.nodeClass??(y?i.YAMLMap:s.YAMLSeq))(n.schema);v.flow=!0;const b=n.atRoot;b&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let x=d.offset+d.start.source.length;for(let s=0;s<d.items.length;++s){const a=d.items[s],{start:m,key:b,sep:w,value:_}=a,E=c.resolveProps(m,{flow:g,indicator:"explicit-key-ind",next:b??w?.[0],offset:x,onError:h,parentIndent:d.indent,startOnNewline:!1});if(!E.found){if(!(E.anchor||E.tag||w||_)){0===s&&E.comma?h(E.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`):s<d.items.length-1&&h(E.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${g}`),E.comment&&(v.comment?v.comment+="\n"+E.comment:v.comment=E.comment),x=E.end;continue}!y&&n.options.strict&&u.containsNewline(b)&&h(b,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===s)E.comma&&h(E.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`);else if(E.comma||h(E.start,"MISSING_CHAR",`Missing , between ${g} items`),E.comment){let e="";e:for(const t of m)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){let t=v.items[v.items.length-1];r.isPair(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,E.comment=E.comment.substring(e.length+1)}}if(y||w||E.found){n.atKey=!0;const r=E.end,s=b?e(n,b,E,h):t(n,r,m,null,E,h);f(b)&&h(s.range,"BLOCK_IN_FLOW",p),n.atKey=!1;const u=c.resolveProps(w??[],{flow:g,indicator:"map-value-ind",next:_,offset:s.range[2],onError:h,parentIndent:d.indent,startOnNewline:!1});if(u.found){if(!y&&!E.found&&n.options.strict){if(w)for(const e of w){if(e===u.found)break;if("newline"===e.type){h(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}E.start<u.found.offset-1024&&h(u.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else _&&("source"in _&&":"===_.source?.[0]?h(_,"MISSING_CHAR",`Missing space after : in ${g}`):h(u.start,"MISSING_CHAR",`Missing , or : between ${g} items`));const S=_?e(n,_,u,h):u.found?t(n,u.end,w,null,u,h):null;S?f(_)&&h(S.range,"BLOCK_IN_FLOW",p):u.comment&&(s.comment?s.comment+="\n"+u.comment:s.comment=u.comment);const D=new o.Pair(s,S);if(n.options.keepSourceTokens&&(D.srcToken=a),y){const e=v;l.mapIncludes(n,e.items,s)&&h(r,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(D)}else{const e=new i.YAMLMap(n.schema);e.flow=!0,e.items.push(D);const t=(S??s).range;e.range=[s.range[0],t[1],t[2]],v.items.push(e)}x=S?S.range[2]:u.end}else{const r=_?e(n,_,E,h):t(n,E.end,w,null,E,h);v.items.push(r),x=r.range[2],f(_)&&h(r.range,"BLOCK_IN_FLOW",p)}}const w=y?"}":"]",[_,...E]=d.end;let S=x;if(_?.source===w)S=_.offset+_.source.length;else{const e=g[0].toUpperCase()+g.substring(1);h(x,b?"MISSING_CHAR":"BAD_INDENT",b?`${e} must end with a ${w}`:`${e} in block collection must be sufficiently indented and end with a ${w}`),_&&1!==_.source.length&&E.unshift(_)}if(E.length>0){const e=a.resolveEnd(E,S,n.options.strict,h);e.comment&&(v.comment?v.comment+="\n"+e.comment:v.comment=e.comment),v.range=[d.offset,S,e.offset]}else v.range=[d.offset,S,S];return v}},2362(e,t,n){"use strict";var r=n(3205),o=n(3484);function i(e){let t,n;try{t=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),n=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let o=r[1],i=" ",s=t.lastIndex;for(n.lastIndex=s;r=n.exec(e);)""===r[1]?"\n"===i?o+=i:i="\n":(o+=i+r[1],i=" "),s=n.lastIndex;const a=/[ \t]*(.*)/sy;return a.lastIndex=s,r=a.exec(e),o+i+(r?.[1]??"")}function s(e,t){let n="",r=e[t+1];for(;!(" "!==r&&"\t"!==r&&"\n"!==r&&"\r"!==r||"\r"===r&&"\n"!==e[t+2]);)"\n"===r&&(n+="\n"),r=e[(t+=1)+1];return n||(n=" "),{fold:n,offset:t}}const a={0:"\0",a:"",b:"\b",e:"",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function c(e,t,n,r){const o=e.substr(t,n),i=o.length===n&&/^[0-9a-fA-F]+$/.test(o)?parseInt(o,16):NaN;try{return String.fromCodePoint(i)}catch{const o=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}}t.resolveFlowScalar=function(e,t,n){const{offset:u,type:l,source:p,end:f}=e;let d,h;const m=(e,t,r)=>n(u+e,t,r);switch(l){case"scalar":d=r.Scalar.PLAIN,h=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),i(e)}(p,m);break;case"single-quoted-scalar":d=r.Scalar.QUOTE_SINGLE,h=function(e,t){return"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote"),i(e.slice(1,-1)).replace(/''/g,"'")}(p,m);break;case"double-quoted-scalar":d=r.Scalar.QUOTE_DOUBLE,h=function(e,t){let n="";for(let r=1;r<e.length-1;++r){const o=e[r];if("\r"!==o||"\n"!==e[r+1])if("\n"===o){const{fold:t,offset:o}=s(e,r);n+=t,r=o}else if("\\"===o){let o=e[++r];const i=a[o];if(i)n+=i;else if("\n"===o)for(o=e[r+1];" "===o||"\t"===o;)o=e[1+ ++r];else if("\r"===o&&"\n"===e[r+1])for(o=e[1+ ++r];" "===o||"\t"===o;)o=e[1+ ++r];else if("x"===o||"u"===o||"U"===o){const i="x"===o?2:"u"===o?4:8;n+=c(e,r+1,i,t),r+=i}else{const o=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),n+=o}}else if(" "===o||"\t"===o){const t=r;let i=e[r+1];for(;" "===i||"\t"===i;)i=e[1+ ++r];"\n"===i||"\r"===i&&"\n"===e[r+2]||(n+=r>t?e.slice(t,r+1):o)}else n+=o}return'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}(p,m);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${l}`),{value:"",type:null,comment:"",range:[u,u+p.length,u+p.length]}}const y=u+p.length,g=o.resolveEnd(f,y,t,n);return{value:h,type:d,comment:g.comment,range:[u,y,g.offset]}}},423(e,t){"use strict";t.resolveProps=function(e,{flow:t,indicator:n,next:r,offset:o,onError:i,parentIndent:s,startOnNewline:a}){let c=!1,u=a,l=a,p="",f="",d=!1,h=!1,m=null,y=null,g=null,v=null,b=null,x=null,w=null;for(const o of e)switch(h&&("space"!==o.type&&"newline"!==o.type&&"comma"!==o.type&&i(o.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h=!1),m&&(u&&"comment"!==o.type&&"newline"!==o.type&&i(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),o.type){case"space":t||"doc-start"===n&&"flow-collection"===r?.type||!o.source.includes("\t")||(m=o),l=!0;break;case"comment":{l||i(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=o.source.substring(1)||" ";p?p+=f+e:p=e,f="",u=!1;break}case"newline":u?p?p+=o.source:x&&"seq-item-ind"===n||(c=!0):f+=o.source,u=!0,d=!0,(y||g)&&(v=o),l=!0;break;case"anchor":y&&i(o,"MULTIPLE_ANCHORS","A node can have at most one anchor"),o.source.endsWith(":")&&i(o.offset+o.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),y=o,w??(w=o.offset),u=!1,l=!1,h=!0;break;case"tag":g&&i(o,"MULTIPLE_TAGS","A node can have at most one tag"),g=o,w??(w=o.offset),u=!1,l=!1,h=!0;break;case n:(y||g)&&i(o,"BAD_PROP_ORDER",`Anchors and tags must be after the ${o.source} indicator`),x&&i(o,"UNEXPECTED_TOKEN",`Unexpected ${o.source} in ${t??"collection"}`),x=o,u="seq-item-ind"===n||"explicit-key-ind"===n,l=!1;break;case"comma":if(t){b&&i(o,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),b=o,u=!1,l=!1;break}default:i(o,"UNEXPECTED_TOKEN",`Unexpected ${o.type} token`),u=!1,l=!1}const _=e[e.length-1],E=_?_.offset+_.source.length:o;return h&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(u&&m.indent<=s||"block-map"===r?.type||"block-seq"===r?.type)&&i(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:b,found:x,spaceBefore:c,comment:p,hasNewline:d,anchor:y,tag:g,newlineAfterProp:v,end:E,start:w??E}}},2187(e,t){"use strict";t.containsNewline=function e(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes("\n"))return!0;if(t.end)for(const e of t.end)if("newline"===e.type)return!0;return!1;case"flow-collection":for(const n of t.items){for(const e of n.start)if("newline"===e.type)return!0;if(n.sep)for(const e of n.sep)if("newline"===e.type)return!0;if(e(n.key)||e(n.value))return!0}return!1;default:return!0}}},9943(e,t){"use strict";t.emptyScalarPosition=function(e,t,n){if(t){n??(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];"space"===n?.type;)e+=n.source.length,n=t[++r];break}}return e}},4851(e,t,n){"use strict";var r=n(2187);t.flowIndentCheck=function(e,t,n){if("flow-collection"===t?.type){const o=t.end[0];o.indent!==e||"]"!==o.source&&"}"!==o.source||!r.containsNewline(t)||n(o,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}},5203(e,t,n){"use strict";var r=n(9399);t.mapIncludes=function(e,t,n){const{uniqueKeys:o}=e.options;if(!1===o)return!1;const i="function"==typeof o?o:(e,t)=>e===t||r.isScalar(e)&&r.isScalar(t)&&e.value===t.value;return t.some((e=>i(e.key,n)))}},2333(e,t,n){"use strict";var r=n(9281),o=n(2997),i=n(9399),s=n(4237),a=n(3947),c=n(7840),u=n(1677),l=n(8028),p=n(7197),f=n(4532),d=n(4670);class h{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,i.NODE_TYPE,{value:i.DOC});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const o=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=o;let{version:s}=o;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(s=this.directives.yaml.version)):this.directives=new d.Directives({version:s}),this.setSchema(s,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){const e=Object.create(h.prototype,{[i.NODE_TYPE]:{value:i.DOC}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=i.isNode(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){m(this.contents)&&this.contents.add(e)}addIn(e,t){m(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=l.anchorNames(this);e.anchor=!t||n.has(t)?l.findNewAnchor(t||"a",n):t}return new r.Alias(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String);n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0);const{aliasDuplicateObjects:o,anchorPrefix:s,flow:a,keepUndefined:c,onTagObj:u,tag:p}=n??{},{onAnchor:d,setAnchors:h,sourceObjects:m}=l.createNodeAnchors(this,s||"a"),y={aliasDuplicateObjects:o??!0,keepUndefined:c??!1,onAnchor:d,onTagObj:u,replacer:r,schema:this.schema,sourceObjects:m},g=f.createNode(e,p,y);return a&&i.isCollection(g)&&(g.flow=!0),h(),g}createPair(e,t,n={}){const r=this.createNode(e,null,n),o=this.createNode(t,null,n);return new s.Pair(r,o)}delete(e){return!!m(this.contents)&&this.contents.delete(e)}deleteIn(e){return o.isEmptyPath(e)?null!=this.contents&&(this.contents=null,!0):!!m(this.contents)&&this.contents.deleteIn(e)}get(e,t){return i.isCollection(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return o.isEmptyPath(e)?!t&&i.isScalar(this.contents)?this.contents.value:this.contents:i.isCollection(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!i.isCollection(this.contents)&&this.contents.has(e)}hasIn(e){return o.isEmptyPath(e)?void 0!==this.contents:!!i.isCollection(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=o.collectionFromPath(this.schema,[e],t):m(this.contents)&&this.contents.set(e,t)}setIn(e,t){o.isEmptyPath(e)?this.contents=t:null==this.contents?this.contents=o.collectionFromPath(this.schema,Array.from(e),t):m(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new d.Directives({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new d.Directives({version:e}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new c.Schema(Object.assign(n,t))}}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:o,reviver:i}={}){const s={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},c=a.toJS(this.contents,t??"",s);if("function"==typeof o)for(const{count:e,res:t}of s.anchors.values())o(t,e);return"function"==typeof i?p.applyReviver(i,{"":c},"",c):c}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return u.stringifyDocument(this,e)}}function m(e){if(i.isCollection(e))return!0;throw new Error("Expected a YAML collection as document contents")}t.Document=h},8028(e,t,n){"use strict";var r=n(9399),o=n(4364);function i(e){const t=new Set;return o.visit(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function s(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}t.anchorIsValid=function(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0},t.anchorNames=i,t.createNodeAnchors=function(e,t){const n=[],o=new Map;let a=null;return{onAnchor:r=>{n.push(r),a??(a=i(e));const o=s(t,a);return a.add(o),o},setAnchors:()=>{for(const e of n){const t=o.get(e);if("object"!=typeof t||!t.anchor||!r.isScalar(t.node)&&!r.isCollection(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:o}},t.findNewAnchor=s},7197(e,t){"use strict";t.applyReviver=function e(t,n,r,o){if(o&&"object"==typeof o)if(Array.isArray(o))for(let n=0,r=o.length;n<r;++n){const r=o[n],i=e(t,o,String(n),r);void 0===i?delete o[n]:i!==r&&(o[n]=i)}else if(o instanceof Map)for(const n of Array.from(o.keys())){const r=o.get(n),i=e(t,o,n,r);void 0===i?o.delete(n):i!==r&&o.set(n,i)}else if(o instanceof Set)for(const n of Array.from(o)){const r=e(t,o,n,n);void 0===r?o.delete(n):r!==n&&(o.delete(n),o.add(r))}else for(const[n,r]of Object.entries(o)){const i=e(t,o,n,r);void 0===i?delete o[n]:i!==r&&(o[n]=i)}return t.call(n,r,o)}},4532(e,t,n){"use strict";var r=n(9281),o=n(9399),i=n(3205);t.createNode=function(e,t,n){if(o.isDocument(e)&&(e=e.contents),o.isNode(e))return e;if(o.isPair(e)){const t=n.schema[o.MAP].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:s,onAnchor:a,onTagObj:c,schema:u,sourceObjects:l}=n;let p;if(s&&e&&"object"==typeof e){if(p=l.get(e),p)return p.anchor??(p.anchor=a(e)),new r.Alias(p.anchor);p={anchor:null,node:null},l.set(e,p)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let f=function(e,t,n){if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>t.identify?.(e)&&!t.format))}(e,t,u.tags);if(!f){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new i.Scalar(e);return p&&(p.node=t),t}f=e instanceof Map?u[o.MAP]:Symbol.iterator in Object(e)?u[o.SEQ]:u[o.MAP]}c&&(c(f),delete n.onTagObj);const d=f?.createNode?f.createNode(n.schema,e,n):"function"==typeof f?.nodeClass?.from?f.nodeClass.from(n.schema,e,n):new i.Scalar(e);return t?d.tag=t:f.default||(d.tag=f.tag),p&&(p.node=d),d}},4670(e,t,n){"use strict";var r=n(9399),o=n(4364);const i={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};class s{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},s.defaultYaml,e),this.tags=Object.assign({},s.defaultTags,t)}clone(){const e=new s(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new s(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:s.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},s.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:s.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},s.defaultTags),this.atNextDocument=!1);const n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;const[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;const[e]=n;return"1.1"===e||"1.2"===e?(this.yaml.version=e,!0):(t(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1)}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){const n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);const o=this.tags[n];if(o)try{return o+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>i[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let i;if(e&&n.length>0&&r.isNode(e.contents)){const t={};o.visit(e.contents,((e,n)=>{r.isNode(n)&&n.tag&&(t[n.tag]=!0)})),i=Object.keys(t)}else i=[];for(const[r,o]of n)"!!"===r&&"tag:yaml.org,2002:"===o||e&&!i.some((e=>e.startsWith(o)))||t.push(`%TAG ${r} ${o}`);return t.join("\n")}}s.defaultYaml={explicit:!1,version:"1.2"},s.defaultTags={"!!":"tag:yaml.org,2002:"},t.Directives=s},1656(e,t){"use strict";class n extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}t.YAMLError=n,t.YAMLParseError=class extends n{constructor(e,t,n){super("YAMLParseError",e,t,n)}},t.YAMLWarning=class extends n{constructor(e,t,n){super("YAMLWarning",e,t,n)}},t.prettifyError=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)));const{line:r,col:o}=n.linePos[0];n.message+=` at line ${r}, column ${o}`;let i=o-1,s=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&s.length>80){const e=Math.min(i-39,s.length-79);s="…"+s.substring(e),i-=e-1}if(s.length>80&&(s=s.substring(0,79)+"…"),r>1&&/^ *$/.test(s.substring(0,i))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),s=n+s}if(/[^ ]/.test(s)){let e=1;const t=n.linePos[1];t?.line===r&&t.col>o&&(e=Math.max(1,Math.min(t.col-o,80-i)));const a=" ".repeat(i)+"^".repeat(e);n.message+=`:\n\n${s}\n${a}\n`}}},3519(e,t,n){"use strict";var r=n(8480),o=n(2333),i=n(7840),s=n(1656),a=n(9281),c=n(9399),u=n(4237),l=n(3205),p=n(2262),f=n(847),d=n(2645),h=n(2505),m=n(2324),y=n(5456),g=n(463),v=n(4364);t.Composer=r.Composer,t.Document=o.Document,t.Schema=i.Schema,t.YAMLError=s.YAMLError,t.YAMLParseError=s.YAMLParseError,t.YAMLWarning=s.YAMLWarning,t.Alias=a.Alias,t.isAlias=c.isAlias,t.isCollection=c.isCollection,t.isDocument=c.isDocument,t.isMap=c.isMap,t.isNode=c.isNode,t.isPair=c.isPair,t.isScalar=c.isScalar,t.isSeq=c.isSeq,t.Pair=u.Pair,t.Scalar=l.Scalar,t.YAMLMap=p.YAMLMap,t.YAMLSeq=f.YAMLSeq,t.CST=d,t.Lexer=h.Lexer,t.LineCounter=m.LineCounter,t.Parser=y.Parser,t.parse=g.parse,t.parseAllDocuments=g.parseAllDocuments,t.parseDocument=g.parseDocument,t.stringify=g.stringify,t.visit=v.visit,t.visitAsync=v.visitAsync},7953(e,t,n){"use strict";var r=n(932);t.debug=function(e,...t){"debug"===e&&console.log(...t)},t.warn=function(e,t){"debug"!==e&&"warn"!==e||("function"==typeof r.emitWarning?r.emitWarning(t):console.warn(t))}},9281(e,t,n){"use strict";var r=n(8028),o=n(4364),i=n(9399),s=n(6849),a=n(3947);class c extends s.NodeBase{constructor(e){super(i.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e,t){if(0===t?.maxAliasCount)throw new ReferenceError("Alias resolution is disabled");let n,r;t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],o.visit(e,{Node:(e,t)=>{(i.isAlias(t)||i.hasAnchor(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n));for(const e of n){if(e===this)break;e.anchor===this.source&&(r=e)}return r}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:o}=t,i=this.resolve(r,t);if(!i){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let s=n.get(i);if(s||(a.toJS(i,null,t),s=n.get(i)),void 0===s?.res)throw new ReferenceError("This should not happen: Alias anchor was not resolved?");if(o>=0&&(s.count+=1,0===s.aliasCount&&(s.aliasCount=u(r,i,n)),s.count*s.aliasCount>o))throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");return s.res}toString(e,t,n){const o=`*${this.source}`;if(e){if(r.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${o} `}return o}}function u(e,t,n){if(i.isAlias(t)){const r=t.resolve(e),o=n&&r&&n.get(r);return o?o.count*o.aliasCount:0}if(i.isCollection(t)){let r=0;for(const o of t.items){const t=u(e,o,n);t>r&&(r=t)}return r}if(i.isPair(t)){const r=u(e,t.key,n),o=u(e,t.value,n);return Math.max(r,o)}return 1}t.Alias=c},2997(e,t,n){"use strict";var r=n(4532),o=n(9399),i=n(6849);function s(e,t,n){let o=n;for(let e=t.length-1;e>=0;--e){const n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){const e=[];e[n]=o,o=e}else o=new Map([[n,o]])}return r.createNode(o,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const a=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class c extends i.NodeBase{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>o.isNode(t)||o.isPair(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(a(e))this.add(t);else{const[n,...r]=e,i=this.get(n,!0);if(o.isCollection(i))i.addIn(r,t);else{if(void 0!==i||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,s(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e;if(0===n.length)return this.delete(t);const r=this.get(t,!0);if(o.isCollection(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...r]=e,i=this.get(n,!0);return 0===r.length?!t&&o.isScalar(i)?i.value:i:o.isCollection(i)?i.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!o.isPair(t))return!1;const n=t.value;return null==n||e&&o.isScalar(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t);const r=this.get(t,!0);return!!o.isCollection(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0);if(o.isCollection(e))e.setIn(r,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,s(this.schema,r,t))}}}}t.Collection=c,t.collectionFromPath=s,t.isEmptyPath=a},6849(e,t,n){"use strict";var r=n(7197),o=n(9399),i=n(3947);t.NodeBase=class{constructor(e){Object.defineProperty(this,o.NODE_TYPE,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:s,reviver:a}={}){if(!o.isDocument(e))throw new TypeError("A document argument is required");const c={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},u=i.toJS(this,"",c);if("function"==typeof s)for(const{count:e,res:t}of c.anchors.values())s(t,e);return"function"==typeof a?r.applyReviver(a,{"":u},"",u):u}}},4237(e,t,n){"use strict";var r=n(4532),o=n(9348),i=n(8016),s=n(9399);class a{constructor(e,t=null){Object.defineProperty(this,s.NODE_TYPE,{value:s.PAIR}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return s.isNode(t)&&(t=t.clone(e)),s.isNode(n)&&(n=n.clone(e)),new a(t,n)}toJSON(e,t){const n=t?.mapAsMap?new Map:{};return i.addPairToJSMap(t,n,this)}toString(e,t,n){return e?.doc?o.stringifyPair(this,e,t,n):JSON.stringify(this)}}t.Pair=a,t.createPair=function(e,t,n){const o=r.createNode(e,void 0,n),i=r.createNode(t,void 0,n);return new a(o,i)}},3205(e,t,n){"use strict";var r=n(9399),o=n(6849),i=n(3947);class s extends o.NodeBase{constructor(e){super(r.SCALAR),this.value=e}toJSON(e,t){return t?.keep?this.value:i.toJS(this.value,e,t)}toString(){return String(this.value)}}s.BLOCK_FOLDED="BLOCK_FOLDED",s.BLOCK_LITERAL="BLOCK_LITERAL",s.PLAIN="PLAIN",s.QUOTE_DOUBLE="QUOTE_DOUBLE",s.QUOTE_SINGLE="QUOTE_SINGLE",t.Scalar=s,t.isScalarValue=e=>!e||"function"!=typeof e&&"object"!=typeof e},2262(e,t,n){"use strict";var r=n(5756),o=n(8016),i=n(2997),s=n(9399),a=n(4237),c=n(3205);function u(e,t){const n=s.isScalar(t)?t.value:t;for(const r of e)if(s.isPair(r)){if(r.key===t||r.key===n)return r;if(s.isScalar(r.key)&&r.key.value===n)return r}}class l extends i.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(s.MAP,e),this.items=[]}static from(e,t,n){const{keepUndefined:r,replacer:o}=n,i=new this(e),s=(e,s)=>{if("function"==typeof o)s=o.call(t,e,s);else if(Array.isArray(o)&&!o.includes(e))return;(void 0!==s||r)&&i.items.push(a.createPair(e,s,n))};if(t instanceof Map)for(const[e,n]of t)s(e,n);else if(t&&"object"==typeof t)for(const e of Object.keys(t))s(e,t[e]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let n;n=s.isPair(e)?e:e&&"object"==typeof e&&"key"in e?new a.Pair(e.key,e.value):new a.Pair(e,e?.value);const r=u(this.items,n.key),o=this.schema?.sortMapEntries;if(r){if(!t)throw new Error(`Key ${n.key} already set`);s.isScalar(r.value)&&c.isScalarValue(n.value)?r.value.value=n.value:r.value=n.value}else if(o){const e=this.items.findIndex((e=>o(n,e)<0));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){const t=u(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=u(this.items,e),r=n?.value;return(!t&&s.isScalar(r)?r.value:r)??void 0}has(e){return!!u(this.items,e)}set(e,t){this.add(new a.Pair(e,t),!0)}toJSON(e,t,n){const r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(const e of this.items)o.addPairToJSMap(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const e of this.items)if(!s.isPair(e))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),r.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}t.YAMLMap=l,t.findPair=u},847(e,t,n){"use strict";var r=n(4532),o=n(5756),i=n(2997),s=n(9399),a=n(3205),c=n(3947);class u extends i.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(s.SEQ,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=l(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){const n=l(e);if("number"!=typeof n)return;const r=this.items[n];return!t&&s.isScalar(r)?r.value:r}has(e){const t=l(e);return"number"==typeof t&&t<this.items.length}set(e,t){const n=l(e);if("number"!=typeof n)throw new Error(`Expected a valid index, not ${e}.`);const r=this.items[n];s.isScalar(r)&&a.isScalarValue(t)?r.value=t:this.items[n]=t}toJSON(e,t){const n=[];t?.onCreate&&t.onCreate(n);let r=0;for(const e of this.items)n.push(c.toJS(e,String(r++),t));return n}toString(e,t,n){return e?o.stringifyCollection(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){const{replacer:o}=n,i=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let s of t){if("function"==typeof o){const n=t instanceof Set?s:String(e++);s=o.call(t,n,s)}i.items.push(r.createNode(s,void 0,n))}}return i}}function l(e){let t=s.isScalar(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}t.YAMLSeq=u},8016(e,t,n){"use strict";var r=n(7953),o=n(3332),i=n(5636),s=n(9399),a=n(3947);t.addPairToJSMap=function(e,t,{key:n,value:c}){if(s.isNode(n)&&n.addToJSMap)n.addToJSMap(e,t,c);else if(o.isMergeKey(e,n))o.addMergeToJSMap(e,t,c);else{const o=a.toJS(n,"",e);if(t instanceof Map)t.set(o,a.toJS(c,o,e));else if(t instanceof Set)t.add(o);else{const u=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(s.isNode(e)&&n?.doc){const t=i.createStringifyContext(n.doc,{});t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const o=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(o);e.length>40&&(e=e.substring(0,36)+'..."'),r.warn(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return o}return JSON.stringify(t)}(n,o,e),l=a.toJS(c,u,e);u in t?Object.defineProperty(t,u,{value:l,writable:!0,enumerable:!0,configurable:!0}):t[u]=l}}return t}},9399(e,t){"use strict";const n=Symbol.for("yaml.alias"),r=Symbol.for("yaml.document"),o=Symbol.for("yaml.map"),i=Symbol.for("yaml.pair"),s=Symbol.for("yaml.scalar"),a=Symbol.for("yaml.seq"),c=Symbol.for("yaml.node.type"),u=e=>!!e&&"object"==typeof e&&e[c]===s;function l(e){if(e&&"object"==typeof e)switch(e[c]){case o:case a:return!0}return!1}t.ALIAS=n,t.DOC=r,t.MAP=o,t.NODE_TYPE=c,t.PAIR=i,t.SCALAR=s,t.SEQ=a,t.hasAnchor=e=>(u(e)||l(e))&&!!e.anchor,t.isAlias=e=>!!e&&"object"==typeof e&&e[c]===n,t.isCollection=l,t.isDocument=e=>!!e&&"object"==typeof e&&e[c]===r,t.isMap=e=>!!e&&"object"==typeof e&&e[c]===o,t.isNode=function(e){if(e&&"object"==typeof e)switch(e[c]){case n:case o:case s:case a:return!0}return!1},t.isPair=e=>!!e&&"object"==typeof e&&e[c]===i,t.isScalar=u,t.isSeq=e=>!!e&&"object"==typeof e&&e[c]===a},3947(e,t,n){"use strict";var r=n(9399);t.toJS=function e(t,n,o){if(Array.isArray(t))return t.map(((t,n)=>e(t,String(n),o)));if(t&&"function"==typeof t.toJSON){if(!o||!r.hasAnchor(t))return t.toJSON(n,o);const e={aliasCount:0,count:1,res:void 0};o.anchors.set(t,e),o.onCreate=t=>{e.res=t,delete o.onCreate};const i=t.toJSON(n,o);return o.onCreate&&o.onCreate(i),i}return"bigint"!=typeof t||o?.keep?t:Number(t)}},2174(e,t,n){"use strict";var r=n(6945),o=n(2362),i=n(1656),s=n(8653);function a(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function c(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let o=t.length;"block-scalar-header"===e.props[0].type&&(o-=e.props[0].source.length);for(const e of r)e.offset+=o;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{const r="indent"in e?e.indent:-1,o="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:o})}}}t.createScalarToken=function(e,t){const{implicitKey:n=!1,indent:r,inFlow:o=!1,offset:i=-1,type:c="PLAIN"}=t,u=s.stringifyString({type:c,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}}),l=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(u[0]){case"|":case">":{const e=u.indexOf("\n"),t=u.substring(0,e),n=u.substring(e+1)+"\n",o=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return a(o,l)||o.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:i,indent:r,props:o,source:n}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:u,end:l};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:u,end:l};default:return{type:"scalar",offset:i,indent:r,source:u,end:l}}},t.resolveAsScalar=function(e,t=!0,n){if(e){const s=(e,t,r)=>{const o="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!n)throw new i.YAMLParseError([o,o+1],t,r);n(o,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return o.resolveFlowScalar(e,t,s);case"block-scalar":return r.resolveBlockScalar({options:{strict:t}},e,s)}}return null},t.setScalarValue=function(e,t,n={}){let{afterKey:r=!1,implicitKey:o=!1,inFlow:i=!1,type:u}=n,l="indent"in e?e.indent:null;if(r&&"number"==typeof l&&(l+=2),!u)switch(e.type){case"single-quoted-scalar":u="QUOTE_SINGLE";break;case"double-quoted-scalar":u="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");u=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:u="PLAIN"}const p=s.stringifyString({type:u,value:t},{implicitKey:o||null===l,indent:null!==l&&l>0?" ".repeat(l):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(p[0]){case"|":case">":!function(e,t){const n=t.indexOf("\n"),r=t.substring(0,n),o=t.substring(n+1)+"\n";if("block-scalar"===e.type){const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");t.source=r,e.source=o}else{const{offset:t}=e,n="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:n,source:r}];a(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:n,props:i,source:o})}}(e,p);break;case'"':c(e,p,"double-quoted-scalar");break;case"'":c(e,p,"single-quoted-scalar");break;default:c(e,p,"scalar")}}},373(e,t){"use strict";function n(e){switch(e.type){case"block-scalar":{let t="";for(const r of e.props)t+=n(r);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=r(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=r(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=r(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function r({start:e,key:t,sep:r,value:o}){let i="";for(const t of e)i+=t.source;if(t&&(i+=n(t)),r)for(const e of r)i+=e.source;return o&&(i+=n(o)),i}t.stringify=e=>"type"in e?n(e):r(e)},4243(e,t){"use strict";const n=Symbol("break visit"),r=Symbol("skip children"),o=Symbol("remove item");function i(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),s(Object.freeze([]),e,t)}function s(e,t,r){let i=r(t,e);if("symbol"==typeof i)return i;for(const a of["key","value"]){const c=t[a];if(c&&"items"in c){for(let t=0;t<c.items.length;++t){const i=s(Object.freeze(e.concat([[a,t]])),c.items[t],r);if("number"==typeof i)t=i-1;else{if(i===n)return n;i===o&&(c.items.splice(t,1),t-=1)}}"function"==typeof i&&"key"===a&&(i=i(t,e))}}return"function"==typeof i?i(t,e):i}i.BREAK=n,i.SKIP=r,i.REMOVE=o,i.itemAtPath=(e,t)=>{let n=e;for(const[e,r]of t){const t=n?.[e];if(!t||!("items"in t))return;n=t.items[r]}return n},i.parentCollection=(e,t)=>{const n=i.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],o=n?.[r];if(o&&"items"in o)return o;throw new Error("Parent collection not found")},t.visit=i},2645(e,t,n){"use strict";var r=n(2174),o=n(373),i=n(4243);t.createScalarToken=r.createScalarToken,t.resolveAsScalar=r.resolveAsScalar,t.setScalarValue=r.setScalarValue,t.stringify=o.stringify,t.visit=i.visit,t.BOM="\ufeff",t.DOCUMENT="",t.FLOW_END="",t.SCALAR="",t.isCollection=e=>!!e&&"items"in e,t.isScalar=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type),t.prettyToken=function(e){switch(e){case"\ufeff":return"<BOM>";case"":return"<DOC>";case"":return"<FLOW_END>";case"":return"<SCALAR>";default:return JSON.stringify(e)}},t.tokenType=function(e){switch(e){case"\ufeff":return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end";case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}},2505(e,t,n){"use strict";var r=n(2645);function o(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const i=new Set("0123456789ABCDEFabcdef"),s=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),a=new Set(",[]{}"),c=new Set(" ,[]{}\n\r\t"),u=e=>!e||c.has(e);t.Lexer=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&o(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===r.BOM&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,n=e.indexOf("#");for(;-1!==n;){const r=e[n-1];if(" "===r||"\t"===r){t=n-1;break}n=e.indexOf("#",n+1)}for(;;){const n=e[t-1];if(" "!==n&&"\t"!==n)break;t-=1}const r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){const t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield r.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const e=this.peek(3);if(("---"===e||"..."===e)&&o(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"---"===e?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!o(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&o(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(u),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const i=this.getLine();if(null===i)return this.setNext("flow");if((-1!==n&&n<this.indentNext&&"#"!==i[0]||0===n&&(i.startsWith("---")||i.startsWith("..."))&&o(i[3]))&&(n!==this.indentNext-1||1!==this.flowLevel||"]"!==i[0]&&"}"!==i[0]))return this.flowLevel=0,yield r.FLOW_END,yield*this.parseLineStart();let s=0;for(;","===i[s];)s+=(yield*this.pushCount(1)),s+=(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(s+=(yield*this.pushIndicators()),i[s]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-s),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(u),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const e=this.charAt(1);if(this.flowKey||o(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}const n=this.buffer.substring(0,t);let r=n.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){const e=this.continueScalar(r+1);if(-1===e)break;r=n.indexOf("\n",e)}-1!==r&&(t=r-("\r"===n[r-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){const t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>o(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{const e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let o=t+1;for(e=this.buffer[o];" "===e;)e=this.buffer[++o];if("\t"===e){for(;"\t"===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++o];t=o-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);const o=e;for(;" "===r;)r=this.buffer[--e];if(!("\n"===r&&e>=this.pos&&e+1+n>o))break;t=e}return yield r.SCALAR,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,i=this.pos-1;for(;t=this.buffer[++i];)if(":"===t){const t=this.buffer[i+1];if(o(t)||e&&a.has(t))break;n=i}else if(o(t)){let r=this.buffer[i+1];if("\r"===t&&("\n"===r?(i+=1,t="\n",r=this.buffer[i+1]):n=i),"#"===r||e&&a.has(r))break;if("\n"===t){const e=this.continueScalar(i+1);if(-1===e)break;i=Math.max(i,e-2)}}else{if(e&&a.has(t))break;n=i}return t||this.atEnd?(yield r.SCALAR,yield*this.pushToIndex(n+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){let e=0;e:for(;;){switch(this.charAt(0)){case"!":e+=(yield*this.pushTag()),e+=(yield*this.pushSpaces(!0));continue e;case"&":e+=(yield*this.pushUntil(u)),e+=(yield*this.pushSpaces(!0));continue e;case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(o(n)||t&&a.has(n)){t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,e+=(yield*this.pushCount(1)),e+=(yield*this.pushSpaces(!0));continue e}}}break e}return e}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!o(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(s.has(t))t=this.buffer[++e];else{if("%"!==t||!i.has(this.buffer[e+1])||!i.has(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do{t=this.buffer[++n]}while(" "===t||e&&"\t"===t);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}},2324(e,t){"use strict";t.LineCounter=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){const r=t+n>>1;this.lineStarts[r]<e?t=r+1:n=r}return this.lineStarts[t]===e?{line:t+1,col:1}:0===t?{line:0,col:e}:{line:t,col:e-this.lineStarts[t-1]+1}}}}},5456(e,t,n){"use strict";var r=n(932),o=n(2645),i=n(2505);function s(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function a(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function c(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function u(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function l(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}function p(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let n=0;n<t.length;++n)e.push(t[n])}function f(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||s(t.start,"explicit-key-ind")||s(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,c(t.value)?t.value.end?p(t.value.end,t.sep):t.value.end=t.sep:p(t.start,t.sep),delete t.sep)}t.Parser=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new i.Lexer,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,r.env.LOG_TOKENS&&console.log("|",o.prettyToken(e)),this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=o.tokenType(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||"doc-end"===e?.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&f(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,sep:[]}),void(this.onKeyLine=!n.explicitKey);n.value=t;break}case"block-seq":{const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1];return void(!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===a(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent<t.indent)))&&("document"===e.type?e.end=n.start:e.items.push({start:n.start}),t.items.splice(-1,1))}}else{const e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:e}}}*stream(){switch(this.type){case"directive-line":return void(yield{type:"directive",offset:this.offset,source:this.source});case"byte-order-mark":case"space":case"comment":case"newline":return void(yield this.sourceToken);case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};return"doc-start"===this.type&&e.start.push(this.sourceToken),void this.stack.push(e)}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":return void(-1!==a(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken));case"anchor":case"tag":case"space":case"comment":case"newline":return void e.start.push(this.sourceToken)}const t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){const t=l(u(this.peek(2)));let n;e.end?(n=e.end,n.push(this.sourceToken),delete e.end):n=[this.sourceToken];const r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:t,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":return void e.props.push(this.sourceToken);case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return p(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const n=!this.onKeyLine&&this.indent===e.indent,r=n&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type;let o=[];if(r&&t.sep&&!t.value){const n=[];for(let r=0;r<t.sep.length;++r){const o=t.sep[r];switch(o.type){case"newline":n.push(r);break;case"space":break;case"comment":o.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(o=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":return void(r||t.value?(o.push(this.sourceToken),e.items.push({start:o}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"explicit-key-ind":return t.sep||t.explicitKey?r||t.value?(o.push(this.sourceToken),e.items.push({start:o,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(t.start.push(this.sourceToken),t.explicitKey=!0),void(this.onKeyLine=!0);case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(s(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]});else if(c(t.key)&&!s(t.sep,"newline")){const e=l(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else o.length>0?t.sep=t.sep.concat(o,this.sourceToken):t.sep.push(this.sourceToken);else if(s(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const e=l(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||r?e.items.push({start:o,key:null,sep:[this.sourceToken]}):s(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(r||t.value?(e.items.push({start:o,key:n,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,sep:[]}),this.onKeyLine=!0))}default:{const r=this.startBlockValue(e);if(r){if("block-seq"===r.type){if(!t.explicitKey&&t.sep&&!s(t.sep,"newline"))return void(yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source}))}else n&&e.items.push({start:o});return void this.stack.push(r)}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return p(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return void t.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(t.value||s(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while("flow-collection"===e?.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const n=l(u(t));f(e);const r=e.end.splice(1,e.end.length);r.push(this.sourceToken);const o={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=l(u(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const t=l(u(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}},463(e,t,n){"use strict";var r=n(8480),o=n(2333),i=n(1656),s=n(7953),a=n(9399),c=n(2324),u=n(5456);function l(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new c.LineCounter||null,prettyErrors:t}}function p(e,t={}){const{lineCounter:n,prettyErrors:o}=l(t),s=new u.Parser(n?.addNewLine),a=new r.Composer(t);let c=null;for(const t of a.compose(s.parse(e),!0,e.length))if(c){if("silent"!==c.options.logLevel){c.errors.push(new i.YAMLParseError(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else c=t;return o&&n&&(c.errors.forEach(i.prettifyError(e,n)),c.warnings.forEach(i.prettifyError(e,n))),c}t.parse=function(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);const o=p(e,n);if(!o)return null;if(o.warnings.forEach((e=>s.warn(o.options.logLevel,e))),o.errors.length>0){if("silent"!==o.options.logLevel)throw o.errors[0];o.errors=[]}return o.toJS(Object.assign({reviver:r},n))},t.parseAllDocuments=function(e,t={}){const{lineCounter:n,prettyErrors:o}=l(t),s=new u.Parser(n?.addNewLine),a=new r.Composer(t),c=Array.from(a.compose(s.parse(e)));if(o&&n)for(const t of c)t.errors.forEach(i.prettifyError(e,n)),t.warnings.forEach(i.prettifyError(e,n));return c.length>0?c:Object.assign([],{empty:!0},a.streamInfo())},t.parseDocument=p,t.stringify=function(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){const e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=n??t??{};if(!e)return}return a.isDocument(e)&&!r?e.toString(n):new o.Document(e,r,n).toString(n)}},7840(e,t,n){"use strict";var r=n(9399),o=n(459),i=n(1418),s=n(4352),a=n(4146);const c=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class u{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:u,schema:l,sortMapEntries:p,toStringDefaults:f}){this.compat=Array.isArray(e)?a.getTags(e,"compat"):e?a.getTags(null,e):null,this.name="string"==typeof l&&l||"core",this.knownTags=u?a.coreKnownTags:{},this.tags=a.getTags(t,this.name,n),this.toStringOptions=f??null,Object.defineProperty(this,r.MAP,{value:o.map}),Object.defineProperty(this,r.SCALAR,{value:s.string}),Object.defineProperty(this,r.SEQ,{value:i.seq}),this.sortMapEntries="function"==typeof p?p:!0===p?c:null}clone(){const e=Object.create(u.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}t.Schema=u},459(e,t,n){"use strict";var r=n(9399),o=n(2262);const i={collection:"map",default:!0,nodeClass:o.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(r.isMap(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>o.YAMLMap.from(e,t,n)};t.map=i},1504(e,t,n){"use strict";var r=n(3205);const o={identify:e=>null==e,createNode:()=>new r.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new r.Scalar(null),stringify:({source:e},t)=>"string"==typeof e&&o.test.test(e)?e:t.options.nullStr};t.nullTag=o},1418(e,t,n){"use strict";var r=n(9399),o=n(847);const i={collection:"seq",default:!0,nodeClass:o.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(r.isSeq(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>o.YAMLSeq.from(e,t,n)};t.seq=i},4352(e,t,n){"use strict";var r=n(8653);const o={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,o)=>(t=Object.assign({actualString:!0},t),r.stringifyString(e,t,n,o))};t.string=o},1399(e,t,n){"use strict";var r=n(3205);const o={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new r.Scalar("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},n)=>e&&o.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?n.options.trueStr:n.options.falseStr};t.boolTag=o},6853(e,t,n){"use strict";var r=n(3205),o=n(1105);const i={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:o.stringifyNumber},s={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():o.stringifyNumber(e)}},a={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new r.Scalar(parseFloat(e)),n=e.indexOf(".");return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:o.stringifyNumber};t.float=a,t.floatExp=s,t.floatNaN=i},6802(e,t,n){"use strict";var r=n(1105);const o=e=>"bigint"==typeof e||Number.isInteger(e),i=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function s(e,t,n){const{value:i}=e;return o(i)&&i>=0?n+i.toString(t):r.stringifyNumber(e)}const a={identify:e=>o(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>i(e,2,8,n),stringify:e=>s(e,8,"0o")},c={identify:o,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>i(e,0,10,n),stringify:r.stringifyNumber},u={identify:e=>o(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>i(e,2,16,n),stringify:e=>s(e,16,"0x")};t.int=c,t.intHex=u,t.intOct=a},8368(e,t,n){"use strict";var r=n(459),o=n(1504),i=n(1418),s=n(4352),a=n(1399),c=n(6853),u=n(6802);const l=[r.map,i.seq,s.string,o.nullTag,a.boolTag,u.intOct,u.int,u.intHex,c.floatNaN,c.floatExp,c.float];t.schema=l},887(e,t,n){"use strict";var r=n(3205),o=n(459),i=n(1418);function s(e){return"bigint"==typeof e||Number.isInteger(e)}const a=({value:e})=>JSON.stringify(e),c=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:a},{identify:e=>null==e,createNode:()=>new r.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:a},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:a},{identify:s,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>s(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:a}],u={default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)},l=[o.map,i.seq].concat(c,u);t.schema=l},4146(e,t,n){"use strict";var r=n(459),o=n(1504),i=n(1418),s=n(4352),a=n(1399),c=n(6853),u=n(6802),l=n(8368),p=n(887),f=n(2659),d=n(3332),h=n(879),m=n(225),y=n(8025),g=n(4344),v=n(9024);const b=new Map([["core",l.schema],["failsafe",[r.map,i.seq,s.string]],["json",p.schema],["yaml11",y.schema],["yaml-1.1",y.schema]]),x={binary:f.binary,bool:a.boolTag,float:c.float,floatExp:c.floatExp,floatNaN:c.floatNaN,floatTime:v.floatTime,int:u.int,intHex:u.intHex,intOct:u.intOct,intTime:v.intTime,map:r.map,merge:d.merge,null:o.nullTag,omap:h.omap,pairs:m.pairs,seq:i.seq,set:g.set,timestamp:v.timestamp},w={"tag:yaml.org,2002:binary":f.binary,"tag:yaml.org,2002:merge":d.merge,"tag:yaml.org,2002:omap":h.omap,"tag:yaml.org,2002:pairs":m.pairs,"tag:yaml.org,2002:set":g.set,"tag:yaml.org,2002:timestamp":v.timestamp};t.coreKnownTags=w,t.getTags=function(e,t,n){const r=b.get(t);if(r&&!e)return n&&!r.includes(d.merge)?r.concat(d.merge):r.slice();let o=r;if(!o){if(!Array.isArray(e)){const e=Array.from(b.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}o=[]}if(Array.isArray(e))for(const t of e)o=o.concat(t);else"function"==typeof e&&(o=e(o.slice()));return n&&(o=o.concat(d.merge)),o.reduce(((e,t)=>{const n="string"==typeof t?x[t]:t;if(!n){const e=JSON.stringify(t),n=Object.keys(x).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag ${e}; use one of ${n}`)}return e.includes(n)||e.push(n),e}),[])}},2659(e,t,n){"use strict";var r=n(181),o=n(3205),i=n(8653);const s={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof r.Buffer)return r.Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},s,a,c){if(!n)return"";const u=n;let l;if("function"==typeof r.Buffer)l=u instanceof r.Buffer?u.toString("base64"):r.Buffer.from(u.buffer).toString("base64");else{if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let t=0;t<u.length;++t)e+=String.fromCharCode(u[t]);l=btoa(e)}}if(t??(t=o.Scalar.BLOCK_LITERAL),t!==o.Scalar.QUOTE_DOUBLE){const e=Math.max(s.options.lineWidth-s.indent.length,s.options.minContentWidth),n=Math.ceil(l.length/e),r=new Array(n);for(let t=0,o=0;t<n;++t,o+=e)r[t]=l.substr(o,e);l=r.join(t===o.Scalar.BLOCK_LITERAL?"\n":" ")}return i.stringifyString({comment:e,type:t,value:l},s,a,c)}};t.binary=s},3662(e,t,n){"use strict";var r=n(3205);function o({value:e,source:t},n){return t&&(e?i:s).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const i={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new r.Scalar(!0),stringify:o},s={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new r.Scalar(!1),stringify:o};t.falseTag=s,t.trueTag=i},9782(e,t,n){"use strict";var r=n(3205),o=n(1105);const i={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:o.stringifyNumber},s={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():o.stringifyNumber(e)}},a={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new r.Scalar(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){const r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:o.stringifyNumber};t.float=a,t.floatExp=s,t.floatNaN=i},2073(e,t,n){"use strict";var r=n(1105);const o=e=>"bigint"==typeof e||Number.isInteger(e);function i(e,t,n,{intAsBigInt:r}){const o=e[0];if("-"!==o&&"+"!==o||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===o?BigInt(-1)*t:t}const i=parseInt(e,n);return"-"===o?-1*i:i}function s(e,t,n){const{value:i}=e;if(o(i)){const e=i.toString(t);return i<0?"-"+n+e.substr(1):n+e}return r.stringifyNumber(e)}const a={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>i(e,2,2,n),stringify:e=>s(e,2,"0b")},c={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>i(e,1,8,n),stringify:e=>s(e,8,"0")},u={identify:o,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>i(e,0,10,n),stringify:r.stringifyNumber},l={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>i(e,2,16,n),stringify:e=>s(e,16,"0x")};t.int=u,t.intBin=a,t.intHex=l,t.intOct=c},3332(e,t,n){"use strict";var r=n(9399),o=n(3205);const i="<<",s={identify:e=>e===i||"symbol"==typeof e&&e.description===i,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new o.Scalar(Symbol(i)),{addToJSMap:a}),stringify:()=>i};function a(e,t,n){const o=u(e,n);if(r.isSeq(o))for(const n of o.items)c(e,t,n);else if(Array.isArray(o))for(const n of o)c(e,t,n);else c(e,t,o)}function c(e,t,n){const o=u(e,n);if(!r.isMap(o))throw new Error("Merge sources must be maps or map aliases");const i=o.toJSON(null,e,Map);for(const[e,n]of i)t instanceof Map?t.has(e)||t.set(e,n):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function u(e,t){return e&&r.isAlias(t)?t.resolve(e.doc,e):t}t.addMergeToJSMap=a,t.isMergeKey=(e,t)=>(s.identify(t)||r.isScalar(t)&&(!t.type||t.type===o.Scalar.PLAIN)&&s.identify(t.value))&&e?.doc.schema.tags.some((e=>e.tag===s.tag&&e.default)),t.merge=s},879(e,t,n){"use strict";var r=n(9399),o=n(3947),i=n(2262),s=n(847),a=n(225);class c extends s.YAMLSeq{constructor(){super(),this.add=i.YAMLMap.prototype.add.bind(this),this.delete=i.YAMLMap.prototype.delete.bind(this),this.get=i.YAMLMap.prototype.get.bind(this),this.has=i.YAMLMap.prototype.has.bind(this),this.set=i.YAMLMap.prototype.set.bind(this),this.tag=c.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t?.onCreate&&t.onCreate(n);for(const e of this.items){let i,s;if(r.isPair(e)?(i=o.toJS(e.key,"",t),s=o.toJS(e.value,i,t)):i=o.toJS(e,"",t),n.has(i))throw new Error("Ordered maps must not include duplicate keys");n.set(i,s)}return n}static from(e,t,n){const r=a.createPairs(e,t,n),o=new this;return o.items=r.items,o}}c.tag="tag:yaml.org,2002:omap";const u={collection:"seq",identify:e=>e instanceof Map,nodeClass:c,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=a.resolvePairs(e,t),o=[];for(const{key:e}of n.items)r.isScalar(e)&&(o.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):o.push(e.value));return Object.assign(new c,n)},createNode:(e,t,n)=>c.from(e,t,n)};t.YAMLOMap=c,t.omap=u},225(e,t,n){"use strict";var r=n(9399),o=n(4237),i=n(3205),s=n(847);function a(e,t){if(r.isSeq(e))for(let n=0;n<e.items.length;++n){let s=e.items[n];if(!r.isPair(s)){if(r.isMap(s)){s.items.length>1&&t("Each pair must have its own sequence indicator");const e=s.items[0]||new o.Pair(new i.Scalar(null));if(s.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${s.commentBefore}\n${e.key.commentBefore}`:s.commentBefore),s.comment){const t=e.value??e.key;t.comment=t.comment?`${s.comment}\n${t.comment}`:s.comment}s=e}e.items[n]=r.isPair(s)?s:new o.Pair(s)}}else t("Expected a sequence for this tag");return e}function c(e,t,n){const{replacer:r}=n,i=new s.YAMLSeq(e);i.tag="tag:yaml.org,2002:pairs";let a=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let s,c;if("function"==typeof r&&(e=r.call(t,String(a++),e)),Array.isArray(e)){if(2!==e.length)throw new TypeError(`Expected [key, value] tuple: ${e}`);s=e[0],c=e[1]}else if(e&&e instanceof Object){const t=Object.keys(e);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);s=t[0],c=e[s]}else s=e;i.items.push(o.createPair(s,c,n))}return i}const u={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:a,createNode:c};t.createPairs=c,t.pairs=u,t.resolvePairs=a},8025(e,t,n){"use strict";var r=n(459),o=n(1504),i=n(1418),s=n(4352),a=n(2659),c=n(3662),u=n(9782),l=n(2073),p=n(3332),f=n(879),d=n(225),h=n(4344),m=n(9024);const y=[r.map,i.seq,s.string,o.nullTag,c.trueTag,c.falseTag,l.intBin,l.intOct,l.int,l.intHex,u.floatNaN,u.floatExp,u.float,a.binary,p.merge,f.omap,d.pairs,h.set,m.intTime,m.floatTime,m.timestamp];t.schema=y},4344(e,t,n){"use strict";var r=n(9399),o=n(4237),i=n(2262);class s extends i.YAMLMap{constructor(e){super(e),this.tag=s.tag}add(e){let t;t=r.isPair(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new o.Pair(e.key,null):new o.Pair(e,null),i.findPair(this.items,t.key)||this.items.push(t)}get(e,t){const n=i.findPair(this.items,e);return!t&&r.isPair(n)?r.isScalar(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const n=i.findPair(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new o.Pair(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),i.items.push(o.createPair(e,null,n));return i}}s.tag="tag:yaml.org,2002:set";const a={collection:"map",identify:e=>e instanceof Set,nodeClass:s,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>s.from(e,t,n),resolve(e,t){if(r.isMap(e)){if(e.hasAllNullValues(!0))return Object.assign(new s,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};t.YAMLSet=s,t.set=a},9024(e,t,n){"use strict";var r=n(1105);function o(e,t){const n=e[0],r="-"===n||"+"===n?e.substring(1):e,o=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*o(60)+o(t)),o(0));return"-"===n?o(-1)*i:i}function i(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return r.stringifyNumber(e);let o="";t<0&&(o="-",t*=n(-1));const i=n(60),s=[t%i];return t<60?s.unshift(0):(t=(t-s[0])/i,s.unshift(t%i),t>=60&&(t=(t-s[0])/i,s.unshift(t))),o+s.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const s={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>o(e,n),stringify:i},a={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>o(e,!1),stringify:i},c={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(c.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,i,s,a,u]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0;let p=Date.UTC(n,r-1,i,s||0,a||0,u||0,l);const f=t[8];if(f&&"Z"!==f){let e=o(f,!1);Math.abs(e)<30&&(e*=60),p-=6e4*e}return new Date(p)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};t.floatTime=a,t.intTime=s,t.timestamp=c},347(e,t){"use strict";const n="block",r="quoted";function o(e,t,n){let r=t,o=t+1,i=e[o];for(;" "===i||"\t"===i;)if(t<o+n)i=e[++t];else{do{i=e[++t]}while(i&&"\n"!==i);r=t,o=t+1,i=e[o]}return r}t.FOLD_BLOCK=n,t.FOLD_FLOW="flow",t.FOLD_QUOTED=r,t.foldFlowLines=function(e,t,i="flow",{indentAtStart:s,lineWidth:a=80,minContentWidth:c=20,onFold:u,onOverflow:l}={}){if(!a||a<0)return e;a<c&&(c=0);const p=Math.max(1+c,1+a-t.length);if(e.length<=p)return e;const f=[],d={};let h,m,y=a-t.length;"number"==typeof s&&(s>a-Math.max(2,c)?f.push(0):y=a-s);let g=!1,v=-1,b=-1,x=-1;i===n&&(v=o(e,v,t.length),-1!==v&&(y=v+p));for(let s;s=e[v+=1];){if(i===r&&"\\"===s){switch(b=v,e[v+1]){case"x":v+=3;break;case"u":v+=5;break;case"U":v+=9;break;default:v+=1}x=v}if("\n"===s)i===n&&(v=o(e,v,t.length)),y=v+t.length+p,h=void 0;else{if(" "===s&&m&&" "!==m&&"\n"!==m&&"\t"!==m){const t=e[v+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(h=v)}if(v>=y)if(h)f.push(h),y=h+p,h=void 0;else if(i===r){for(;" "===m||"\t"===m;)m=s,s=e[v+=1],g=!0;const t=v>x+1?v-2:b-1;if(d[t])return e;f.push(t),d[t]=!0,y=t+p,h=void 0}else g=!0}m=s}if(g&&l&&l(),0===f.length)return e;u&&u();let w=e.slice(0,f[0]);for(let n=0;n<f.length;++n){const o=f[n],s=f[n+1]||e.length;0===o?w=`\n${t}${e.slice(0,s)}`:(i===r&&d[o]&&(w+=`${e[o]}\\`),w+=`\n${t}${e.slice(o+1,s)}`)}return w}},5636(e,t,n){"use strict";var r=n(8028),o=n(9399),i=n(5719),s=n(8653);t.createStringifyContext=function(e,t){const n=Object.assign({blockQuote:!0,commentString:i.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}},t.stringify=function(e,t,n,i){if(o.isPair(e))return e.toString(t,n,i);if(o.isAlias(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let a;const c=o.isNode(e)?e:t.doc.createNode(e,{onTagObj:e=>a=e});a??(a=function(e,t){if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let n,r;if(o.isScalar(t)){r=t.value;let o=e.filter((e=>e.identify?.(r)));if(o.length>1){const e=o.filter((e=>e.test));e.length>0&&(o=e)}n=o.find((e=>e.format===t.format))??o.find((e=>!e.format))}else r=t,n=e.find((e=>e.nodeClass&&r instanceof e.nodeClass));if(!n)throw new Error(`Tag not resolved for ${r?.constructor?.name??(null===r?"null":typeof r)} value`);return n}(t.doc.schema.tags,c));const u=function(e,t,{anchors:n,doc:i}){if(!i.directives)return"";const s=[],a=(o.isScalar(e)||o.isCollection(e))&&e.anchor;a&&r.anchorIsValid(a)&&(n.add(a),s.push(`&${a}`));const c=e.tag??(t.default?null:t.tag);return c&&s.push(i.directives.tagString(c)),s.join(" ")}(c,a,t);u.length>0&&(t.indentAtStart=(t.indentAtStart??0)+u.length+1);const l="function"==typeof a.stringify?a.stringify(c,t,n,i):o.isScalar(c)?s.stringifyString(c,t,n,i):c.toString(t,n,i);return u?o.isScalar(c)||"{"===l[0]||"["===l[0]?`${u} ${l}`:`${u}\n${t.indent}${l}`:l}},5756(e,t,n){"use strict";var r=n(9399),o=n(5636),i=n(5719);function s({comment:e,items:t},n,{blockItemPrefix:s,flowChars:a,itemIndent:u,onChompKeep:l,onComment:p}){const{indent:f,options:{commentString:d}}=n,h=Object.assign({},n,{indent:u,type:null});let m=!1;const y=[];for(let e=0;e<t.length;++e){const a=t[e];let l=null;if(r.isNode(a))!m&&a.spaceBefore&&y.push(""),c(n,y,a.commentBefore,m),a.comment&&(l=a.comment);else if(r.isPair(a)){const e=r.isNode(a.key)?a.key:null;e&&(!m&&e.spaceBefore&&y.push(""),c(n,y,e.commentBefore,m))}m=!1;let p=o.stringify(a,h,(()=>l=null),(()=>m=!0));l&&(p+=i.lineComment(p,u,d(l))),m&&l&&(m=!1),y.push(s+p)}let g;if(0===y.length)g=a.start+a.end;else{g=y[0];for(let e=1;e<y.length;++e){const t=y[e];g+=t?`\n${f}${t}`:"\n"}}return e?(g+="\n"+i.indentComment(d(e),f),p&&p()):m&&l&&l(),g}function a({items:e},t,{flowChars:n,itemIndent:s}){const{indent:a,indentStep:u,flowCollectionPadding:l,options:{commentString:p}}=t;s+=u;const f=Object.assign({},t,{indent:s,inFlow:!0,type:null});let d=!1,h=0;const m=[];for(let n=0;n<e.length;++n){const a=e[n];let u=null;if(r.isNode(a))a.spaceBefore&&m.push(""),c(t,m,a.commentBefore,!1),a.comment&&(u=a.comment);else if(r.isPair(a)){const e=r.isNode(a.key)?a.key:null;e&&(e.spaceBefore&&m.push(""),c(t,m,e.commentBefore,!1),e.comment&&(d=!0));const n=r.isNode(a.value)?a.value:null;n?(n.comment&&(u=n.comment),n.commentBefore&&(d=!0)):null==a.value&&e?.comment&&(u=e.comment)}u&&(d=!0);let l=o.stringify(a,f,(()=>u=null));d||(d=m.length>h||l.includes("\n")),n<e.length-1?l+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(d||(d=m.reduce(((e,t)=>e+t.length+2),2)+(l.length+2)>t.options.lineWidth)),d&&(l+=",")),u&&(l+=i.lineComment(l,s,p(u))),m.push(l),h=m.length}const{start:y,end:g}=n;if(0===m.length)return y+g;if(!d){const e=m.reduce(((e,t)=>e+t.length+2),2);d=t.options.lineWidth>0&&e>t.options.lineWidth}if(d){let e=y;for(const t of m)e+=t?`\n${u}${a}${t}`:"\n";return`${e}\n${a}${g}`}return`${y}${l}${m.join(" ")}${l}${g}`}function c({indent:e,options:{commentString:t}},n,r,o){if(r&&o&&(r=r.replace(/^\n+/,"")),r){const o=i.indentComment(t(r),e);n.push(o.trimStart())}}t.stringifyCollection=function(e,t,n){return(t.inFlow??e.flow?a:s)(e,t,n)}},5719(e,t){"use strict";function n(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}t.indentComment=n,t.lineComment=(e,t,r)=>e.endsWith("\n")?n(r,t):r.includes("\n")?"\n"+n(r,t):(e.endsWith(" ")?"":" ")+r,t.stringifyComment=e=>e.replace(/^(?!$)(?: $)?/gm,"#")},1677(e,t,n){"use strict";var r=n(9399),o=n(5636),i=n(5719);t.stringifyDocument=function(e,t){const n=[];let s=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(n.push(t),s=!0):e.directives.docStart&&(s=!0)}s&&n.push("---");const a=o.createStringifyContext(e,t),{commentString:c}=a.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=c(e.commentBefore);n.unshift(i.indentComment(t,""))}let u=!1,l=null;if(e.contents){if(r.isNode(e.contents)){if(e.contents.spaceBefore&&s&&n.push(""),e.contents.commentBefore){const t=c(e.contents.commentBefore);n.push(i.indentComment(t,""))}a.forceBlockIndent=!!e.comment,l=e.contents.comment}const t=l?void 0:()=>u=!0;let p=o.stringify(e.contents,a,(()=>l=null),t);l&&(p+=i.lineComment(p,"",c(l))),"|"!==p[0]&&">"!==p[0]||"---"!==n[n.length-1]?n.push(p):n[n.length-1]=`--- ${p}`}else n.push(o.stringify(e.contents,a));if(e.directives?.docEnd)if(e.comment){const t=c(e.comment);t.includes("\n")?(n.push("..."),n.push(i.indentComment(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&u&&(t=t.replace(/^\n+/,"")),t&&(u&&!l||""===n[n.length-1]||n.push(""),n.push(i.indentComment(c(t),"")))}return n.join("\n")+"\n"}},1105(e,t){"use strict";t.stringifyNumber=function({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);const o="number"==typeof r?r:Number(r);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";let i=Object.is(r,-0)?"-0":JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^-?\d/.test(i)&&!i.includes("e")){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i}},9348(e,t,n){"use strict";var r=n(9399),o=n(3205),i=n(5636),s=n(5719);t.stringifyPair=function({key:e,value:t},n,a,c){const{allNullValues:u,doc:l,indent:p,indentStep:f,options:{commentString:d,indentSeq:h,simpleKeys:m}}=n;let y=r.isNode(e)&&e.comment||null;if(m){if(y)throw new Error("With simple keys, key nodes cannot have comments");if(r.isCollection(e)||!r.isNode(e)&&"object"==typeof e)throw new Error("With simple keys, collection cannot be used as a key value")}let g=!m&&(!e||y&&null==t&&!n.inFlow||r.isCollection(e)||(r.isScalar(e)?e.type===o.Scalar.BLOCK_FOLDED||e.type===o.Scalar.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!g&&(m||!u),indent:p+f});let v,b,x,w=!1,_=!1,E=i.stringify(e,n,(()=>w=!0),(()=>_=!0));if(!g&&!n.inFlow&&E.length>1024){if(m)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0}if(n.inFlow){if(u||null==t)return w&&a&&a(),""===E?"?":g?`? ${E}`:E}else if(u&&!m||null==t&&g)return E=`? ${E}`,y&&!w?E+=s.lineComment(E,n.indent,d(y)):_&&c&&c(),E;w&&(y=null),g?(y&&(E+=s.lineComment(E,n.indent,d(y))),E=`? ${E}\n${p}:`):(E=`${E}:`,y&&(E+=s.lineComment(E,n.indent,d(y)))),r.isNode(t)?(v=!!t.spaceBefore,b=t.commentBefore,x=t.comment):(v=!1,b=null,x=null,t&&"object"==typeof t&&(t=l.createNode(t))),n.implicitKey=!1,g||y||!r.isScalar(t)||(n.indentAtStart=E.length+1),_=!1,h||!(f.length>=2)||n.inFlow||g||!r.isSeq(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let S=!1;const D=i.stringify(t,n,(()=>S=!0),(()=>_=!0));let O=" ";if(y||v||b){if(O=v?"\n":"",b){const e=d(b);O+=`\n${s.indentComment(e,n.indent)}`}""!==D||n.inFlow?O+=`\n${n.indent}`:"\n"===O&&x&&(O="\n\n")}else if(!g&&r.isCollection(t)){const e=D[0],r=D.indexOf("\n"),o=-1!==r,i=n.inFlow??t.flow??0===t.items.length;if(o||!i){let t=!1;if(o&&("&"===e||"!"===e)){let n=D.indexOf(" ");"&"===e&&-1!==n&&n<r&&"!"===D[n+1]&&(n=D.indexOf(" ",n+1)),(-1===n||r<n)&&(t=!0)}t||(O=`\n${n.indent}`)}}else""!==D&&"\n"!==D[0]||(O="");return E+=O+D,n.inFlow?S&&a&&a():x&&!S?E+=s.lineComment(E,n.indent,d(x)):_&&c&&c(),E}},8653(e,t,n){"use strict";var r=n(3205),o=n(347);const i=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),s=e=>/^(%|---|\.\.\.)/m.test(e);function a(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,a=t.options.doubleQuotedMinMultiLineLength,c=t.indent||(s(e)?" ":"");let u="",l=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(u+=n.slice(l,e)+"\\ ",e+=1,l=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{u+=n.slice(l,e);const t=n.substr(e+2,4);switch(t){case"0000":u+="\\0";break;case"0007":u+="\\a";break;case"000b":u+="\\v";break;case"001b":u+="\\e";break;case"0085":u+="\\N";break;case"00a0":u+="\\_";break;case"2028":u+="\\L";break;case"2029":u+="\\P";break;default:"00"===t.substr(0,2)?u+="\\x"+t.substr(2):u+=n.substr(e,6)}e+=5,l=e+1}break;case"n":if(r||'"'===n[e+2]||n.length<a)e+=1;else{for(u+=n.slice(l,e)+"\n\n";"\\"===n[e+2]&&"n"===n[e+3]&&'"'!==n[e+4];)u+="\n",e+=2;u+=c," "===n[e+2]&&(u+="\\"),e+=1,l=e+1}break;default:e+=1}return u=l?u+n.slice(l):n,r?u:o.foldFlowLines(u,c,o.FOLD_QUOTED,i(t,!1))}function c(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return a(e,t);const n=t.indent||(s(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${n}`)+"'";return t.implicitKey?r:o.foldFlowLines(r,n,o.FOLD_FLOW,i(t,!1))}function u(e,t){const{singleQuote:n}=t.options;let r;if(!1===n)r=a;else{const t=e.includes('"'),o=e.includes("'");r=t&&!o?c:o&&!t?a:n?c:a}return r(e,t)}let l;try{l=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{l=/\n+(?!\n|$)/g}function p({comment:e,type:t,value:n},a,c,p){const{blockQuote:f,commentString:d,lineWidth:h}=a.options;if(!f||/\n[\t ]+$/.test(n))return u(n,a);const m=a.indent||(a.forceBlockIndent||s(n)?" ":""),y="literal"===f||"folded"!==f&&t!==r.Scalar.BLOCK_FOLDED&&(t===r.Scalar.BLOCK_LITERAL||!function(e,t,n){if(!t||t<0)return!1;const r=t-n,o=e.length;if(o<=r)return!1;for(let t=0,n=0;t<o;++t)if("\n"===e[t]){if(t-n>r)return!0;if(n=t+1,o-n<=r)return!1}return!0}(n,h,m.length));if(!n)return y?"|\n":">\n";let g,v;for(v=n.length;v>0;--v){const e=n[v-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let b=n.substring(v);const x=b.indexOf("\n");-1===x?g="-":n===b||x!==b.length-1?(g="+",p&&p()):g="",b&&(n=n.slice(0,-b.length),"\n"===b[b.length-1]&&(b=b.slice(0,-1)),b=b.replace(l,`$&${m}`));let w,_=!1,E=-1;for(w=0;w<n.length;++w){const e=n[w];if(" "===e)_=!0;else{if("\n"!==e)break;E=w}}let S=n.substring(0,E<w?E+1:w);S&&(n=n.substring(S.length),S=S.replace(/\n+/g,`$&${m}`));let D=(_?m?"2":"1":"")+g;if(e&&(D+=" "+d(e.replace(/ ?[\r\n]+/g," ")),c&&c()),!y){const e=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${m}`);let s=!1;const c=i(a,!0);"folded"!==f&&t!==r.Scalar.BLOCK_FOLDED&&(c.onOverflow=()=>{s=!0});const u=o.foldFlowLines(`${S}${e}${b}`,m,o.FOLD_BLOCK,c);if(!s)return`>${D}\n${m}${u}`}return`|${D}\n${m}${S}${n=n.replace(/\n+/g,`$&${m}`)}${b}`}t.stringifyString=function(e,t,n,l){const{implicitKey:f,inFlow:d}=t,h="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:m}=e;m!==r.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(h.value)&&(m=r.Scalar.QUOTE_DOUBLE);const y=e=>{switch(e){case r.Scalar.BLOCK_FOLDED:case r.Scalar.BLOCK_LITERAL:return f||d?u(h.value,t):p(h,t,n,l);case r.Scalar.QUOTE_DOUBLE:return a(h.value,t);case r.Scalar.QUOTE_SINGLE:return c(h.value,t);case r.Scalar.PLAIN:return function(e,t,n,a){const{type:c,value:l}=e,{actualString:f,implicitKey:d,indent:h,indentStep:m,inFlow:y}=t;if(d&&l.includes("\n")||y&&/[[\]{},]/.test(l))return u(l,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(l))return d||y||!l.includes("\n")?u(l,t):p(e,t,n,a);if(!d&&!y&&c!==r.Scalar.PLAIN&&l.includes("\n"))return p(e,t,n,a);if(s(l)){if(""===h)return t.forceBlockIndent=!0,p(e,t,n,a);if(d&&h===m)return u(l,t)}const g=l.replace(/\n+/g,`$&\n${h}`);if(f){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(g),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return u(l,t)}return d?g:o.foldFlowLines(g,h,o.FOLD_FLOW,i(t,!1))}(h,t,n,l);default:return null}};let g=y(m);if(null===g){const{defaultKeyType:e,defaultStringType:n}=t.options,r=f&&e||n;if(g=y(r),null===g)throw new Error(`Unsupported default string type ${r}`)}return g}},4364(e,t,n){"use strict";var r=n(9399);const o=Symbol("break visit"),i=Symbol("skip children"),s=Symbol("remove node");function a(e,t){const n=p(t);r.isDocument(e)?c(null,e.contents,n,Object.freeze([e]))===s&&(e.contents=null):c(null,e,n,Object.freeze([]))}function c(e,t,n,i){const a=f(e,t,n,i);if(r.isNode(a)||r.isPair(a))return d(e,i,a),c(e,a,n,i);if("symbol"!=typeof a)if(r.isCollection(t)){i=Object.freeze(i.concat(t));for(let e=0;e<t.items.length;++e){const r=c(e,t.items[e],n,i);if("number"==typeof r)e=r-1;else{if(r===o)return o;r===s&&(t.items.splice(e,1),e-=1)}}}else if(r.isPair(t)){i=Object.freeze(i.concat(t));const e=c("key",t.key,n,i);if(e===o)return o;e===s&&(t.key=null);const r=c("value",t.value,n,i);if(r===o)return o;r===s&&(t.value=null)}return a}async function u(e,t){const n=p(t);r.isDocument(e)?await l(null,e.contents,n,Object.freeze([e]))===s&&(e.contents=null):await l(null,e,n,Object.freeze([]))}async function l(e,t,n,i){const a=await f(e,t,n,i);if(r.isNode(a)||r.isPair(a))return d(e,i,a),l(e,a,n,i);if("symbol"!=typeof a)if(r.isCollection(t)){i=Object.freeze(i.concat(t));for(let e=0;e<t.items.length;++e){const r=await l(e,t.items[e],n,i);if("number"==typeof r)e=r-1;else{if(r===o)return o;r===s&&(t.items.splice(e,1),e-=1)}}}else if(r.isPair(t)){i=Object.freeze(i.concat(t));const e=await l("key",t.key,n,i);if(e===o)return o;e===s&&(t.key=null);const r=await l("value",t.value,n,i);if(r===o)return o;r===s&&(t.value=null)}return a}function p(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function f(e,t,n,o){return"function"==typeof n?n(e,t,o):r.isMap(t)?n.Map?.(e,t,o):r.isSeq(t)?n.Seq?.(e,t,o):r.isPair(t)?n.Pair?.(e,t,o):r.isScalar(t)?n.Scalar?.(e,t,o):r.isAlias(t)?n.Alias?.(e,t,o):void 0}function d(e,t,n){const o=t[t.length-1];if(r.isCollection(o))o.items[e]=n;else if(r.isPair(o))"key"===e?o.key=n:o.value=n;else{if(!r.isDocument(o)){const e=r.isAlias(o)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}o.contents=n}}a.BREAK=o,a.SKIP=i,a.REMOVE=s,u.BREAK=o,u.SKIP=i,u.REMOVE=s,t.visit=a,t.visitAsync=u},6095(e,t,n){"use strict";n.d(t,{A:()=>bn});var r={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>be,hasStandardBrowserEnv:()=>we,hasStandardBrowserWebWorkerEnv:()=>_e,navigator:()=>xe,origin:()=>Ee});const{toString:i}=Object.prototype,{getPrototypeOf:s}=Object,{iterator:a,toStringTag:c}=Symbol,u=(l=Object.create(null),e=>{const t=i.call(e);return l[t]||(l[t]=t.slice(8,-1).toLowerCase())});var l;const p=e=>(e=e.toLowerCase(),t=>u(t)===e),f=e=>t=>typeof t===e,{isArray:d}=Array,h=f("undefined");function m(e){return null!==e&&!h(e)&&null!==e.constructor&&!h(e.constructor)&&v(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const y=p("ArrayBuffer"),g=f("string"),v=f("function"),b=f("number"),x=e=>null!==e&&"object"==typeof e,w=e=>{if("object"!==u(e))return!1;const t=s(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||c in e||a in e)},_=p("Date"),E=p("File"),S=p("Blob"),D=p("FileList"),O="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},k=void 0!==O.FormData?O.FormData:void 0,$=p("URLSearchParams"),[A,P,j,C]=["ReadableStream","Request","Response","Headers"].map(p);function R(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),d(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(m(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let s;for(r=0;r<i;r++)s=o[r],t.call(null,e[s],s,e)}}function N(e,t){if(m(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const T="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,I=e=>!h(e)&&e!==T,F=(M="undefined"!=typeof Uint8Array&&s(Uint8Array),e=>M&&e instanceof M);var M;const L=p("HTMLFormElement"),B=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),U=p("RegExp"),q=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};R(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},z=p("AsyncFunction"),V=(G="function"==typeof setImmediate,H=v(T.postMessage),G?setImmediate:H?(K=`axios@${Math.random()}`,W=[],T.addEventListener("message",(({source:e,data:t})=>{e===T&&t===K&&W.length&&W.shift()()}),!1),e=>{W.push(e),T.postMessage(K,"*")}):e=>setTimeout(e));var G,H,K,W;const Y="undefined"!=typeof queueMicrotask?queueMicrotask.bind(T):"undefined"!=typeof process&&process.nextTick||V,J={isArray:d,isArrayBuffer:y,isBuffer:m,isFormData:e=>{if(!e)return!1;if(k&&e instanceof k)return!0;const t=s(e);if(!t||t===Object.prototype)return!1;if(!v(e.append))return!1;const n=u(e);return"formdata"===n||"object"===n&&v(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&y(e.buffer),t},isString:g,isNumber:b,isBoolean:e=>!0===e||!1===e,isObject:x,isPlainObject:w,isEmptyObject:e=>{if(!x(e)||m(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:A,isRequest:P,isResponse:j,isHeaders:C,isUndefined:h,isDate:_,isFile:E,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:S,isRegExp:U,isFunction:v,isStream:e=>x(e)&&v(e.pipe),isURLSearchParams:$,isTypedArray:F,isFileList:D,forEach:R,merge:function e(){const{caseless:t,skipUndefined:n}=I(this)&&this||{},r={},o=(o,i)=>{if("__proto__"===i||"constructor"===i||"prototype"===i)return;const s=t&&N(r,i)||i;w(r[s])&&w(o)?r[s]=e(r[s],o):w(o)?r[s]=e({},o):d(o)?r[s]=o.slice():n&&h(o)||(r[s]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&R(arguments[e],o);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(R(t,((t,r)=>{n&&v(t)?Object.defineProperty(e,r,{value:o(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{value:t,writable:!0,enumerable:!0,configurable:!0})}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const c={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||c[a]||(t[a]=e[a],c[a]=!0);e=!1!==n&&s(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:u,kindOfTest:p,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!b(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[a]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:L,hasOwnProperty:B,hasOwnProp:B,reduceDescriptors:q,freezeMethods:e=>{q(e,((t,n)=>{if(v(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];v(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return d(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:N,global:T,isContextDefined:I,isSpecCompliantForm:function(e){return!!(e&&v(e.append)&&"FormData"===e[c]&&e[a])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(x(e)){if(t.indexOf(e)>=0)return;if(m(e))return e;if(!("toJSON"in e)){t[r]=e;const o=d(e)?[]:{};return R(e,((e,t)=>{const i=n(e,r+1);!h(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:z,isThenable:e=>e&&(x(e)||v(e))&&v(e.then)&&v(e.catch),setImmediate:V,asap:Y,isIterable:e=>null!=e&&v(e[a])};class X extends Error{static from(e,t,n,r,o,i){const s=new X(e.message,t||e.code,n,r,o);return s.cause=e,s.name=e.name,null!=e.status&&null==s.status&&(s.status=e.status),i&&Object.assign(s,i),s}constructor(e,t,n,r,o){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.status}}}X.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",X.ERR_BAD_OPTION="ERR_BAD_OPTION",X.ECONNABORTED="ECONNABORTED",X.ETIMEDOUT="ETIMEDOUT",X.ERR_NETWORK="ERR_NETWORK",X.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",X.ERR_DEPRECATED="ERR_DEPRECATED",X.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",X.ERR_BAD_REQUEST="ERR_BAD_REQUEST",X.ERR_CANCELED="ERR_CANCELED",X.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",X.ERR_INVALID_URL="ERR_INVALID_URL",X.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Q=X,Z=n(9848);function ee(e){return J.isPlainObject(e)||J.isArray(e)}function te(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function ne(e,t,n){return e?e.concat(t).map((function(e,t){return e=te(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const re=J.toFlatObject(J,{},null,(function(e){return/^is[A-Z]/.test(e)})),oe=function(e,t,n){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new(Z||FormData);const r=(n=J.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!J.isUndefined(t[e])}))).metaTokens,o=n.visitor||p,i=n.dots,s=n.indexes,a=n.Blob||"undefined"!=typeof Blob&&Blob,c=void 0===n.maxDepth?100:n.maxDepth,u=a&&J.isSpecCompliantForm(t);if(!J.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(J.isDate(e))return e.toISOString();if(J.isBoolean(e))return e.toString();if(!u&&J.isBlob(e))throw new Q("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(e)||J.isTypedArray(e)?u&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,n,o){let a=e;if(J.isReactNative(t)&&J.isReactNativeBlob(e))return t.append(ne(o,n,i),l(e)),!1;if(e&&!o&&"object"==typeof e)if(J.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(J.isArray(e)&&function(e){return J.isArray(e)&&!e.some(ee)}(e)||(J.isFileList(e)||J.endsWith(n,"[]"))&&(a=J.toArray(e)))return n=te(n),a.forEach((function(e,r){!J.isUndefined(e)&&null!==e&&t.append(!0===s?ne([n],r,i):null===s?n:n+"[]",l(e))})),!1;return!!ee(e)||(t.append(ne(o,n,i),l(e)),!1)}const f=[],d=Object.assign(re,{defaultVisitor:p,convertValue:l,isVisitable:ee});if(!J.isObject(e))throw new TypeError("data must be an object");return function e(n,r,i=0){if(!J.isUndefined(n)){if(i>c)throw new Q("Object is too deeply nested ("+i+" levels). Max depth: "+c,Q.ERR_FORM_DATA_DEPTH_EXCEEDED);if(-1!==f.indexOf(n))throw Error("Circular reference detected in "+r.join("."));f.push(n),J.forEach(n,(function(n,s){!0===(!(J.isUndefined(n)||null===n)&&o.call(t,n,J.isString(s)?s.trim():s,r,d))&&e(n,r?r.concat(s):[s],i+1)})),f.pop()}}(e),t};function ie(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,(function(e){return t[e]}))}function se(e,t){this._pairs=[],e&&oe(e,this,t)}const ae=se.prototype;ae.append=function(e,t){this._pairs.push([e,t])},ae.toString=function(e){const t=e?function(t){return e.call(this,t,ie)}:ie;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ce=se;function ue(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function le(e,t,n){if(!t)return e;const r=n&&n.encode||ue,o=J.isFunction(n)?{serialize:n}:n,i=o&&o.serialize;let s;if(s=i?i(t,o):J.isURLSearchParams(t)?t.toString():new ce(t,o).toString(r),s){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}const pe=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){J.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},fe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0};var de=n(6982);const he=n(7016).URLSearchParams,me="abcdefghijklmnopqrstuvwxyz",ye="0123456789",ge={DIGIT:ye,ALPHA:me,ALPHA_DIGIT:me+me.toUpperCase()+ye},ve={isNode:!0,classes:{URLSearchParams:he,FormData:Z,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:ge,generateString:(e=16,t=ge.ALPHA_DIGIT)=>{let n="";const{length:r}=t,o=new Uint32Array(e);de.randomFillSync(o);for(let i=0;i<e;i++)n+=t[o[i]%r];return n},protocols:["http","https","file","data"]},be="undefined"!=typeof window&&"undefined"!=typeof document,xe="object"==typeof navigator&&navigator||void 0,we=be&&(!xe||["ReactNative","NativeScript","NS"].indexOf(xe.product)<0),_e="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ee=be&&window.location.href||"http://localhost",Se={...r,...ve},De=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=e.length;return i=!i&&J.isArray(r)?r.length:i,a?(J.hasOwnProp(r,i)?r[i]=J.isArray(r[i])?r[i].concat(n):[r[i],n]:r[i]=n,!s):(r[i]&&J.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&J.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!s)}if(J.isFormData(e)&&J.isFunction(e.entries)){const n={};return J.forEachEntry(e,((e,r)=>{t(function(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null},Oe=(e,t)=>null!=e&&J.hasOwnProp(e,t)?e[t]:void 0,ke={transitional:fe,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=J.isObject(e);if(o&&J.isHTMLForm(e)&&(e=new FormData(e)),J.isFormData(e))return r?JSON.stringify(De(e)):e;if(J.isArrayBuffer(e)||J.isBuffer(e)||J.isStream(e)||J.isFile(e)||J.isBlob(e)||J.isReadableStream(e))return e;if(J.isArrayBufferView(e))return e.buffer;if(J.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){const t=Oe(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return oe(e,new Se.classes.URLSearchParams,{visitor:function(e,t,n,r){return Se.isNode&&J.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((i=J.isFileList(e))||n.indexOf("multipart/form-data")>-1){const n=Oe(this,"env"),r=n&&n.FormData;return oe(i?{"files[]":e}:e,r&&new r,t)}}return o||r?(t.setContentType("application/json",!1),function(e){if(J.isString(e))try{return(0,JSON.parse)(e),J.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=Oe(this,"transitional")||ke.transitional,n=t&&t.forcedJSONParsing,r=Oe(this,"responseType"),o="json"===r;if(J.isResponse(e)||J.isReadableStream(e))return e;if(e&&J.isString(e)&&(n&&!r||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,Oe(this,"parseReviver"))}catch(e){if(n){if("SyntaxError"===e.name)throw Q.from(e,Q.ERR_BAD_RESPONSE,this,null,Oe(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Se.classes.FormData,Blob:Se.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],(e=>{ke.headers[e]={}}));const $e=ke,Ae=J.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"]),Pe=e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Ae[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t};(Object.getOwnPropertyDescriptor(Pe,"name")||{}).writable||Object.defineProperty(Pe,"name",{value:"default",configurable:!0});const je=Symbol("internals"),Ce=/[^\x09\x20-\x7E\x80-\xFF]/g;function Re(e){return e&&String(e).trim().toLowerCase()}function Ne(e){return!1===e||null==e?e:J.isArray(e)?e.map(Ne):function(e){let t=0,n=e.length;for(;t<n;){const n=e.charCodeAt(t);if(9!==n&&32!==n)break;t+=1}for(;n>t;){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(Ce,""))}function Te(e,t,n,r,o){return J.isFunction(r)?r.call(this,t,n):(o&&(t=n),J.isString(t)?J.isString(r)?-1!==t.indexOf(r):J.isRegExp(r)?r.test(t):void 0:void 0)}class Ie{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Re(t);if(!o)throw new Error("header name must be a non-empty string");const i=J.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Ne(e))}const i=(e,t)=>J.forEach(e,((e,n)=>o(e,n,t)));if(J.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(J.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i(Pe(e),t);else if(J.isObject(e)&&J.isIterable(e)){let n,r,o={};for(const t of e){if(!J.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?J.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=Re(e)){const n=J.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(J.isFunction(t))return t.call(this,e,n);if(J.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Re(e)){const n=J.findKey(this,e);return!(!n||void 0===this[n]||t&&!Te(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Re(e)){const o=J.findKey(n,e);!o||t&&!Te(0,n[o],o,t)||(delete n[o],r=!0)}}return J.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Te(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return J.forEach(this,((r,o)=>{const i=J.findKey(n,o);if(i)return t[i]=Ne(r),void delete t[o];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();s!==o&&delete t[o],t[s]=Ne(r),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return J.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&J.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[je]=this[je]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Re(e);t[r]||(function(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return J.isArray(e)?e.forEach(r):r(e),this}}Ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),J.reduceDescriptors(Ie.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),J.freezeMethods(Ie);const Fe=Ie;function Me(e,t){const n=this||$e,r=t||n,o=Fe.from(r.headers);let i=r.data;return J.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Le(e){return!(!e||!e.__CANCEL__)}const Be=class extends Q{constructor(e,t,n){super(null==e?"canceled":e,Q.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function Ue(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Q("Request failed with status code "+n.status,[Q.ERR_BAD_REQUEST,Q.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function qe(e,t,n){let r=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(r||!1===n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var ze={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function Ve(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}var Ge=n(8611),He=n(5692);const Ke=require("http2");var We=n(9023),Ye=n(1251);const Je=require("zlib"),Xe="1.15.1";function Qe(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Ze=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;var et=n(2203);const tt=Symbol("internals");class nt extends et.Transform{constructor(e){super({readableHighWaterMark:(e=J.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!J.isUndefined(t[e])))).chunkSize});const t=this[tt]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))}))}_read(e){const t=this[tt];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const r=this[tt],o=r.maxRate,i=this.readableHighWaterMark,s=r.timeWindow,a=o/(1e3/s),c=!1!==r.minChunkSize?Math.max(r.minChunkSize,.01*a):0,u=(e,t)=>{const n=Buffer.byteLength(e);r.bytesSeen+=n,r.bytes+=n,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(e)?process.nextTick(t):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,p=null,f=i,d=0;if(o){const e=Date.now();(!r.ts||(d=e-r.ts)>=s)&&(r.ts=e,l=a-r.bytes,r.bytes=l<0?-l:0,d=0),l=a-r.bytes}if(o){if(l<=0)return setTimeout((()=>{t(null,e)}),s-d);l<f&&(f=l)}f&&n>f&&n-f>c&&(p=e.subarray(f),e=e.subarray(0,f)),u(e,p?()=>{process.nextTick(t,null,p)}:t)};l(e,(function e(t,r){if(t)return n(t);r?l(r,e):n(null)}))}}const rt=nt;var ot=n(4434);const{asyncIterator:it}=Symbol,st=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[it]?yield*e[it]():yield e},at=Se.ALPHABET.ALPHA_DIGIT+"-_",ct="function"==typeof TextEncoder?new TextEncoder:new We.TextEncoder,ut="\r\n",lt=ct.encode(ut);class pt{constructor(e,t){const{escapeName:n}=this.constructor,r=J.isString(t);let o=`Content-Disposition: form-data; name="${n(e)}"${!r&&t.name?`; filename="${n(t.name)}"`:""}${ut}`;r?t=ct.encode(String(t).replace(/\r?\n|\r\n?/g,ut)):o+=`Content-Type: ${String(t.type||"application/octet-stream").replace(/[\r\n]/g,"")}${ut}`,this.headers=ct.encode(o+ut),this.contentLength=r?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;J.isTypedArray(e)?yield e:yield*st(e),yield lt}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class ft extends et.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}const dt=ft,ht=(e,t)=>J.isAsyncFn(e)?function(...n){const r=n.pop();e.apply(this,n).then((e=>{try{t?r(null,...t(e)):r(null,e)}catch(e){r(e)}}),r)}:e,mt=new Set(["localhost"]),yt=e=>{const t=e.split(".");return 4===t.length&&"127"===t[0]&&t.every((e=>/^\d+$/.test(e)&&Number(e)>=0&&Number(e)<=255))},gt=e=>!!e&&(!!mt.has(e)||!!yt(e)||(e=>{if("::1"===e)return!0;const t=e.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(t)return yt(t[1]);const n=e.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(n){const e=parseInt(n[1],16);return e>=32512&&e<=32767}const r=e.split(":");if(8===r.length){for(let e=0;e<7;e++)if(!/^0+$/.test(r[e]))return!1;return/^0*1$/.test(r[7])}return!1})(e)),vt={http:80,https:443,ws:80,wss:443,ftp:21},bt=e=>e?("["===e.charAt(0)&&"]"===e.charAt(e.length-1)&&(e=e.slice(1,-1)),e.replace(/\.+$/,"")):e;const xt=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),u=r[s];o||(o=c),n[i]=a,r[i]=c;let l=s,p=0;for(;l!==i;)p+=n[l++],l%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-o<t)return;const f=u&&c-u;return f?Math.round(1e3*p/f):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const s=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=i?s(e,t):(n=e,r||(r=setTimeout((()=>{r=null,s(n)}),i-a)))},()=>n&&s(n)]}((n=>{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=null!=s?Math.min(i,s):i,c=Math.max(0,a-r),u=o(c);r=Math.max(r,a),e({loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:u||void 0,estimated:u&&s?(s-a)/u:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),n)},wt=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},_t=e=>(...t)=>J.asap((()=>e(...t))),Et={flush:Je.constants.Z_SYNC_FLUSH,finishFlush:Je.constants.Z_SYNC_FLUSH},St={flush:Je.constants.BROTLI_OPERATION_FLUSH,finishFlush:Je.constants.BROTLI_OPERATION_FLUSH},Dt=J.isFunction(Je.createBrotliDecompress),{http:Ot,https:kt}=Ye,$t=/https:?/,At=Se.protocols.map((e=>e+":")),Pt=(e,[t,n])=>(e.on("end",n).on("error",n),t),jt=new class{constructor(){this.sessions=Object.create(null)}getSession(e,t){t=Object.assign({sessionTimeout:1e3},t);let n=this.sessions[e];if(n){let e=n.length;for(let r=0;r<e;r++){const[e,o]=n[r];if(!e.destroyed&&!e.closed&&We.isDeepStrictEqual(o,t))return e}}const r=Ke.connect(e,t);let o;const i=()=>{if(o)return;o=!0;let t=n,i=t.length,s=i;for(;s--;)if(t[s][0]===r)return 1===i?delete this.sessions[e]:t.splice(s,1),void(r.closed||r.close())},s=r.request,{sessionTimeout:a}=t;if(null!=a){let e,t=0;r.request=function(){const n=s.apply(this,arguments);return t++,e&&(clearTimeout(e),e=null),n.once("close",(()=>{--t||(e=setTimeout((()=>{e=null,i()}),a))})),n}}r.once("close",i);let c=[r,t];return n?n.push(c):n=this.sessions[e]=[c],r}};function Ct(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function Rt(e,t,n){let r=t;if(!r&&!1!==r){const e=function(e){var t=("string"==typeof e?function(e){try{return new URL(e)}catch{return null}}(e):e)||{},n=t.protocol,r=t.host,o=t.port;if("string"!=typeof r||!r||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=Ve("no_proxy").toLowerCase();return!n||"*"!==n&&n.split(/[,\s]/).every((function(n){if(!n)return!0;var r=n.match(/^(.+):(\d+)$/),o=r?r[1]:n,i=r?parseInt(r[2]):0;return!(!i||i===t)||(/^[.*]/.test(o)?("*"===o.charAt(0)&&(o=o.slice(1)),!e.endsWith(o)):e!==o)}))}(r=r.replace(/:\d*$/,""),o=parseInt(o)||ze[n]||0))return"";var i=Ve(n+"_proxy")||Ve("all_proxy");return i&&-1===i.indexOf("://")&&(i=n+"://"+i),i}(n);e&&(function(e){let t;try{t=new URL(e)}catch(e){return!1}const n=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!n)return!1;if("*"===n)return!0;const r=Number.parseInt(t.port,10)||vt[t.protocol.split(":",1)[0]]||0,o=bt(t.hostname.toLowerCase());return n.split(/[\s,]+/).some((e=>{if(!e)return!1;let[t,n]=(e=>{let t=e,n=0;if("["===t.charAt(0)){const e=t.indexOf("]");if(-1!==e){const r=t.slice(1,e),o=t.slice(e+1);return":"===o.charAt(0)&&/^\d+$/.test(o.slice(1))&&(n=Number.parseInt(o.slice(1),10)),[r,n]}}const r=t.indexOf(":"),o=t.lastIndexOf(":");return-1!==r&&r===o&&/^\d+$/.test(t.slice(o+1))&&(n=Number.parseInt(t.slice(o+1),10),t=t.slice(0,o)),[t,n]})(e);return t=bt(t),!!t&&(!n||n===r)&&("*"===t.charAt(0)&&(t=t.slice(1)),"."===t.charAt(0)?o.endsWith(t):o===t||gt(o)&>(t))}))}(n)||(r=new URL(e)))}if(r){if(r.username&&(r.auth=(r.username||"")+":"+(r.password||"")),r.auth){if(Boolean(r.auth.username||r.auth.password))r.auth=(r.auth.username||"")+":"+(r.auth.password||"");else if("object"==typeof r.auth)throw new Q("Invalid proxy authorization",Q.ERR_BAD_OPTION,{proxy:r});const t=Buffer.from(r.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=r.hostname||r.host;e.hostname=t,e.host=t,e.port=r.port,e.path=n,r.protocol&&(e.protocol=r.protocol.includes(":")?r.protocol:`${r.protocol}:`)}e.beforeRedirects.proxy=function(e){Rt(e,t,e.href)}}const Nt="undefined"!=typeof process&&"process"===J.kindOf(process),Tt=(e,t)=>(({address:e,family:t})=>{if(!J.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(J.isObject(e)?e:{address:e,family:t}),It={request(e,t){const n=e.protocol+"//"+e.hostname+":"+(e.port||("https:"===e.protocol?443:80)),{http2Options:r,headers:o}=e,i=jt.getSession(n,r),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:a,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:u}=Ke.constants,l={[s]:e.protocol.replace(":",""),[a]:e.method,[c]:e.path};J.forEach(o,((e,t)=>{":"!==t.charAt(0)&&(l[t]=e)}));const p=i.request(l);return p.once("response",(e=>{const n=p,r=(e=Object.assign({},e))[u];delete e[u],n.headers=e,n.statusCode=+r,t(n)})),p}},Ft=Nt&&function(e){return t=async function(t,n,r){const o=t=>J.hasOwnProp(e,t)?e[t]:void 0;let i=o("data"),s=o("lookup"),a=o("family"),c=o("httpVersion");void 0===c&&(c=1);let u=o("http2Options");const l=o("responseType"),p=o("responseEncoding"),f=e.method.toUpperCase();let d,h,m=!1;if(c=+c,Number.isNaN(c))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(1!==c&&2!==c)throw TypeError(`Unsupported protocol version '${c}'`);const y=2===c;if(s){const e=ht(s,(e=>J.isArray(e)?e:[e]));s=(t,n,r)=>{e(t,n,((e,t,o)=>{if(e)return r(e);const i=J.isArray(t)?t.map((e=>Tt(e))):[Tt(t,o)];n.all?r(e,i):r(e,i[0].address,i[0].family)}))}}const g=new ot.EventEmitter;function v(t){try{g.emit("abort",!t||t.type?new Be(null,e,h):t)}catch(e){console.warn("emit error",e)}}g.once("abort",n);const b=()=>{e.cancelToken&&e.cancelToken.unsubscribe(v),e.signal&&e.signal.removeEventListener("abort",v),g.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(v),e.signal&&(e.signal.aborted?v():e.signal.addEventListener("abort",v))),r(((e,t)=>{if(d=!0,t)return m=!0,void b();const{data:n}=e;if(n instanceof et.Readable||n instanceof et.Duplex){const e=et.finished(n,(()=>{e(),b()}))}else b()}));const x=qe(e.baseURL,e.url,e.allowAbsoluteUrls),w=new URL(x,Se.hasBrowserEnv?Se.origin:void 0),_=w.protocol||At[0];if("data:"===_){if(e.maxContentLength>-1&&function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length;const t=r.length;for(let n=0;n<t;n++)if(37===r.charCodeAt(n)&&n+2<t){const t=r.charCodeAt(n+1),o=r.charCodeAt(n+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102)&&(e-=2,n+=2)}let n=0,o=t-1;const i=e=>e>=2&&37===r.charCodeAt(e-2)&&51===r.charCodeAt(e-1)&&(68===r.charCodeAt(e)||100===r.charCodeAt(e));o>=0&&(61===r.charCodeAt(o)?(n++,o--):i(o)&&(n++,o-=3)),1===n&&o>=0&&(61===r.charCodeAt(o)||i(o))&&n++;const s=3*Math.floor(e/4)-(n||0);return s>0?s:0}return Buffer.byteLength(r,"utf8")}(String(e.url||x||""))>e.maxContentLength)return n(new Q("maxContentLength size of "+e.maxContentLength+" exceeded",Q.ERR_BAD_RESPONSE,e));let r;if("GET"!==f)return Ue(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{r=function(e,t,n){const r=n&&n.Blob||Se.classes.Blob,o=Qe(e);if(void 0===t&&r&&(t=!0),"data"===o){e=o.length?e.slice(o.length+1):e;const n=Ze.exec(e);if(!n)throw new Q("Invalid URL",Q.ERR_INVALID_URL);const i=n[1],s=n[2],a=n[3],c=Buffer.from(decodeURIComponent(a),s?"base64":"utf8");if(t){if(!r)throw new Q("Blob is not supported",Q.ERR_NOT_SUPPORT);return new r([c],{type:i})}return c}throw new Q("Unsupported protocol "+o,Q.ERR_NOT_SUPPORT)}(e.url,"blob"===l,{Blob:e.env&&e.env.Blob})}catch(t){throw Q.from(t,Q.ERR_BAD_REQUEST,e)}return"text"===l?(r=r.toString(p),p&&"utf8"!==p||(r=J.stripBOM(r))):"stream"===l&&(r=et.Readable.from(r)),Ue(t,n,{data:r,status:200,statusText:"OK",headers:new Fe,config:e})}if(-1===At.indexOf(_))return n(new Q("Unsupported protocol "+_,Q.ERR_BAD_REQUEST,e));const E=Fe.from(e.headers).normalize();E.set("User-Agent","axios/"+Xe,!1);const{onUploadProgress:S,onDownloadProgress:D}=e,O=e.maxRate;let k,$;if(J.isSpecCompliantForm(i)){const e=E.getContentType(/boundary=([-_\w\d]{10,70})/i);i=((e,t,n)=>{const{tag:r="form-data-boundary",size:o=25,boundary:i=r+"-"+Se.generateString(o,at)}=n||{};if(!J.isFormData(e))throw TypeError("FormData instance required");if(i.length<1||i.length>70)throw Error("boundary must be 10-70 characters long");const s=ct.encode("--"+i+ut),a=ct.encode("--"+i+"--"+ut);let c=a.byteLength;const u=Array.from(e.entries()).map((([e,t])=>{const n=new pt(e,t);return c+=n.size,n}));c+=s.byteLength*u.length,c=J.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${i}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),et.Readable.from(async function*(){for(const e of u)yield s,yield*e.encode();yield a}())})(i,(e=>{E.set(e)}),{tag:`axios-${Xe}-boundary`,boundary:e&&e[1]||void 0})}else if(J.isFormData(i)&&J.isFunction(i.getHeaders)&&i.getHeaders!==Object.prototype.getHeaders){if(E.set(i.getHeaders()),!E.hasContentLength())try{const e=await We.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&E.setContentLength(e)}catch(e){}}else if(J.isBlob(i)||J.isFile(i))i.size&&E.setContentType(i.type||"application/octet-stream"),E.setContentLength(i.size||0),i=et.Readable.from(st(i));else if(i&&!J.isStream(i)){if(Buffer.isBuffer(i));else if(J.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else{if(!J.isString(i))return n(new Q("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",Q.ERR_BAD_REQUEST,e));i=Buffer.from(i,"utf-8")}if(E.setContentLength(i.length,!1),e.maxBodyLength>-1&&i.length>e.maxBodyLength)return n(new Q("Request body larger than maxBodyLength limit",Q.ERR_BAD_REQUEST,e))}const A=J.toFiniteNumber(E.getContentLength());let P,j;J.isArray(O)?(k=O[0],$=O[1]):k=$=O,i&&(S||k)&&(J.isStream(i)||(i=et.Readable.from(i,{objectMode:!1})),i=et.pipeline([i,new rt({maxRate:J.toFiniteNumber(k)})],J.noop),S&&i.on("progress",Pt(i,wt(A,xt(_t(S),!1,3))))),e.auth&&(P=(e.auth.username||"")+":"+(e.auth.password||"")),!P&&w.username&&(P=w.username+":"+w.password),P&&E.delete("authorization");try{j=le(w.pathname+w.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const r=new Error(t.message);return r.config=e,r.url=e.url,r.exists=!0,n(r)}E.set("Accept-Encoding","gzip, compress, deflate"+(Dt?", br":""),!1);const C={path:j,method:f,headers:E.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:P,protocol:_,family:a,beforeRedirect:Ct,beforeRedirects:{},http2Options:u};let R;!J.isUndefined(s)&&(C.lookup=s),e.socketPath?C.socketPath=e.socketPath:(C.hostname=w.hostname.startsWith("[")?w.hostname.slice(1,-1):w.hostname,C.port=w.port,Rt(C,e.proxy,_+"//"+w.hostname+(w.port?":"+w.port:"")+C.path));const N=$t.test(C.protocol);if(C.agent=N?e.httpsAgent:e.httpAgent,y)R=It;else{const t=o("transport");t?R=t:0===e.maxRedirects?R=N?He:Ge:(e.maxRedirects&&(C.maxRedirects=e.maxRedirects),e.beforeRedirect&&(C.beforeRedirects.config=e.beforeRedirect),R=N?kt:Ot)}if(e.maxBodyLength>-1?C.maxBodyLength=e.maxBodyLength:C.maxBodyLength=1/0,e.insecureHTTPParser&&(C.insecureHTTPParser=e.insecureHTTPParser),h=R.request(C,(function(r){if(h.destroyed)return;const o=[r],i=J.toFiniteNumber(r.headers["content-length"]);if(D||$){const u=new rt({maxRate:J.toFiniteNumber($)});D&&u.on("progress",Pt(u,wt(i,xt(_t(D),!0,3)))),o.push(u)}let s=r;const a=r.req||h;if(!1!==e.decompress&&r.headers["content-encoding"])switch("HEAD"!==f&&204!==r.statusCode||delete r.headers["content-encoding"],(r.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":o.push(Je.createUnzip(Et)),delete r.headers["content-encoding"];break;case"deflate":o.push(new dt),o.push(Je.createUnzip(Et)),delete r.headers["content-encoding"];break;case"br":Dt&&(o.push(Je.createBrotliDecompress(St)),delete r.headers["content-encoding"])}s=o.length>1?et.pipeline(o,J.noop):o[0];const c={status:r.statusCode,statusText:r.statusMessage,headers:new Fe(r.headers),config:e,request:a};if("stream"===l){if(e.maxContentLength>-1){const d=e.maxContentLength,y=s;async function*b(){let t=0;for await(const n of y){if(t+=n.length,t>d)throw new Q("maxContentLength size of "+d+" exceeded",Q.ERR_BAD_RESPONSE,e,a);yield n}}s=et.Readable.from(b(),{objectMode:!1})}c.data=s,Ue(t,n,c)}else{const x=[];let w=0;s.on("data",(function(t){x.push(t),w+=t.length,e.maxContentLength>-1&&w>e.maxContentLength&&(m=!0,s.destroy(),v(new Q("maxContentLength size of "+e.maxContentLength+" exceeded",Q.ERR_BAD_RESPONSE,e,a)))})),s.on("aborted",(function(){if(m)return;const t=new Q("stream has been aborted",Q.ERR_BAD_RESPONSE,e,a);s.destroy(t),n(t)})),s.on("error",(function(t){h.destroyed||n(Q.from(t,null,e,a))})),s.on("end",(function(){try{let e=1===x.length?x[0]:Buffer.concat(x);"arraybuffer"!==l&&(e=e.toString(p),p&&"utf8"!==p||(e=J.stripBOM(e))),c.data=e}catch(t){return n(Q.from(t,null,e,c.request,c))}Ue(t,n,c)}))}g.once("abort",(e=>{s.destroyed||(s.emit("error",e),s.destroy())}))})),g.once("abort",(e=>{h.close?h.close():h.destroy(e)})),h.on("error",(function(t){n(Q.from(t,null,e,h))})),h.on("socket",(function(e){e.setKeepAlive(!0,6e4);const t=()=>{e.removeListener("error",n)};function n(e){t(),h.destroyed||h.destroy(e)}e.on("error",n),h.once("close",t)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void v(new Q("error trying to parse `config.timeout` to int",Q.ERR_BAD_OPTION_VALUE,e,h));h.setTimeout(t,(function(){if(d)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||fe;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),v(new Q(t,n.clarifyTimeoutError?Q.ETIMEDOUT:Q.ECONNABORTED,e,h))}))}else h.setTimeout(0);if(J.isStream(i)){let t=!1,n=!1;i.on("end",(()=>{t=!0})),i.once("error",(e=>{n=!0,h.destroy(e)})),i.on("close",(()=>{t||n||v(new Be("Request stream has been aborted",e,h))}));let r=i;if(e.maxBodyLength>-1&&0===e.maxRedirects){const t=e.maxBodyLength;let n=0;r=et.pipeline([i,new et.Transform({transform(r,o,i){if(n+=r.length,n>t)return i(new Q("Request body larger than maxBodyLength limit",Q.ERR_BAD_REQUEST,e,h));i(null,r)}})],J.noop),r.on("error",(e=>{h.destroyed||h.destroy(e)}))}r.pipe(h)}else i&&h.write(i),h.end()},new Promise(((e,n)=>{let r,o;const i=(e,t)=>{o||(o=!0,r&&r(e,t))},s=e=>{i(e,!0),n(e)};t((t=>{i(t),e(t)}),s,(e=>r=e)).catch(s)}));var t},Mt=Se.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Se.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Se.origin),Se.navigator&&/(msie|trident)/i.test(Se.navigator.userAgent)):()=>!0,Lt=Se.hasStandardBrowserEnv?{write(e,t,n,r,o,i,s){if("undefined"==typeof document)return;const a=[`${e}=${encodeURIComponent(t)}`];J.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),J.isString(r)&&a.push(`path=${r}`),J.isString(o)&&a.push(`domain=${o}`),!0===i&&a.push("secure"),J.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}},Bt=e=>e instanceof Fe?{...e}:e;function Ut(e,t){t=t||{};const n={};function r(e,t,n,r){return J.isPlainObject(e)&&J.isPlainObject(t)?J.merge.call({caseless:r},e,t):J.isPlainObject(t)?J.merge({},t):J.isArray(t)?t.slice():t}function o(e,t,n,o){return J.isUndefined(t)?J.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!J.isUndefined(t))return r(void 0,t)}function s(e,t){return J.isUndefined(t)?J.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,i){return J.hasOwnProp(t,i)?r(n,o):J.hasOwnProp(e,i)?r(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t,n)=>o(Bt(e),Bt(t),0,!0)};return J.forEach(Object.keys({...e,...t}),(function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;const i=J.hasOwnProp(c,r)?c[r]:o,s=i(J.hasOwnProp(e,r)?e[r]:void 0,J.hasOwnProp(t,r)?t[r]:void 0,r);J.isUndefined(s)&&i!==a||(n[r]=s)})),n}const qt=e=>{const t=Ut({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=Fe.from(s),t.url=le(qe(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),J.isFormData(n))if(Se.hasStandardBrowserEnv||Se.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(J.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach((([e,n])=>{t.includes(e.toLowerCase())&&s.set(e,n)}))}if(Se.hasStandardBrowserEnv&&(J.isFunction(r)&&(r=r(t)),!0===r||null==r&&Mt(t.url))){const e=o&&i&&Lt.read(i);e&&s.set(o,e)}return t};(Object.getOwnPropertyDescriptor(qt,"name")||{}).writable||Object.defineProperty(qt,"name",{value:"default",configurable:!0});const zt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=qt(e);let o=r.data;const i=Fe.from(r.headers).normalize();let s,a,c,u,l,{responseType:p,onUploadProgress:f,onDownloadProgress:d}=r;function h(){u&&u(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let m=new XMLHttpRequest;function y(){if(!m)return;const r=Fe.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Ue((function(e){t(e),h()}),(function(e){n(e),h()}),{data:p&&"text"!==p&&"json"!==p?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(y)},m.onabort=function(){m&&(n(new Q("Request aborted",Q.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new Q(r,Q.ERR_NETWORK,e,m);o.event=t||null,n(o),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||fe;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Q(t,o.clarifyTimeoutError?Q.ETIMEDOUT:Q.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&J.forEach(i.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),J.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),p&&"json"!==p&&(m.responseType=r.responseType),d&&([c,l]=xt(d,!0),m.addEventListener("progress",c)),f&&m.upload&&([a,u]=xt(f),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(s=t=>{m&&(n(!t||t.type?new Be(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const g=Qe(r.url);g&&-1===Se.protocols.indexOf(g)?n(new Q("Unsupported protocol "+g+":",Q.ERR_BAD_REQUEST,e)):m.send(o||null)}))},Vt=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Q?t:new Be(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new Q(`timeout of ${t}ms exceeded`,Q.ETIMEDOUT))}),t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=()=>J.asap(s),a}},Gt=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Ht=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*Gt(n,t)}(e,t);let i,s=0,a=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let i=r.byteLength;if(n){let e=s+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},{isFunction:Kt}=J,Wt=(({Request:e,Response:t})=>({Request:e,Response:t}))(J.global),{ReadableStream:Yt,TextEncoder:Jt}=J.global,Xt=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Qt=e=>{e=J.merge.call({skipUndefined:!0},Wt,e);const{fetch:t,Request:n,Response:r}=e,o=t?Kt(t):"function"==typeof fetch,i=Kt(n),s=Kt(r);if(!o)return!1;const a=o&&Kt(Yt),c=o&&("function"==typeof Jt?(u=new Jt,e=>u.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var u;const l=i&&a&&Xt((()=>{let e=!1;const t=new n(Se.origin,{body:new Yt,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r})),p=s&&a&&Xt((()=>J.isReadableStream(new r("").body))),f={stream:p&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!f[e]&&(f[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new Q(`Response type '${e}' is not supported`,Q.ERR_NOT_SUPPORT,n)})}));return async e=>{let{url:o,method:s,data:a,signal:u,cancelToken:d,timeout:h,onDownloadProgress:m,onUploadProgress:y,responseType:g,headers:v,withCredentials:b="same-origin",fetchOptions:x}=qt(e),w=t||fetch;g=g?(g+"").toLowerCase():"text";let _=Vt([u,d&&d.toAbortSignal()],h),E=null;const S=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let D;try{if(y&&l&&"get"!==s&&"head"!==s&&0!==(D=await(async(e,t)=>{const r=J.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(J.isBlob(e))return e.size;if(J.isSpecCompliantForm(e)){const t=new n(Se.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return J.isArrayBufferView(e)||J.isArrayBuffer(e)?e.byteLength:(J.isURLSearchParams(e)&&(e+=""),J.isString(e)?(await c(e)).byteLength:void 0)})(t):r})(v,a))){let e,t=new n(o,{method:"POST",body:a,duplex:"half"});if(J.isFormData(a)&&(e=t.headers.get("content-type"))&&v.setContentType(e),t.body){const[e,n]=wt(D,xt(_t(y)));a=Ht(t.body,65536,e,n)}}J.isString(b)||(b=b?"include":"omit");const t=i&&"credentials"in n.prototype;if(J.isFormData(a)){const e=v.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&v.delete("content-type")}const u={...x,signal:_,method:s.toUpperCase(),headers:v.normalize().toJSON(),body:a,duplex:"half",credentials:t?b:void 0};E=i&&new n(o,u);let d=await(i?w(E,x):w(o,u));const h=p&&("stream"===g||"response"===g);if(p&&(m||h&&S)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=d[t]}));const t=J.toFiniteNumber(d.headers.get("content-length")),[n,o]=m&&wt(t,xt(_t(m),!0))||[];d=new r(Ht(d.body,65536,n,(()=>{o&&o(),S&&S()})),e)}g=g||"text";let O=await f[J.findKey(f,g)||"text"](d,e);return!h&&S&&S(),await new Promise(((t,n)=>{Ue(t,n,{data:O,headers:Fe.from(d.headers),status:d.status,statusText:d.statusText,config:e,request:E})}))}catch(t){if(S&&S(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Q("Network Error",Q.ERR_NETWORK,e,E,t&&t.response),{cause:t.cause||t});throw Q.from(t,t&&t.code,e,E,t&&t.response)}}},Zt=new Map,en=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let s,a,c=i.length,u=Zt;for(;c--;)s=i[c],a=u.get(s),void 0===a&&u.set(s,a=c?new Map:Qt(t)),u=a;return a},tn=(en(),{http:Ft,xhr:zt,fetch:{get:en}});J.forEach(tn,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const nn=e=>`- ${e}`,rn=e=>J.isFunction(e)||null===e||!1===e,on=function(e,t){e=J.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let s=0;s<n;s++){let n;if(r=e[s],o=r,!rn(r)&&(o=tn[(n=String(r)).toLowerCase()],void 0===o))throw new Q(`Unknown adapter '${n}'`);if(o&&(J.isFunction(o)||(o=o.get(t))))break;i[n||"#"+s]=o}if(!o){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let t=n?e.length>1?"since :\n"+e.map(nn).join("\n"):" "+nn(e[0]):"as no adapter specified";throw new Q("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o};function sn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Be(null,e)}function an(e){return sn(e),e.headers=Fe.from(e.headers),e.data=Me.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),on(e.adapter||$e.adapter,e)(e).then((function(t){return sn(e),t.data=Me.call(e,e.transformResponse,t),t.headers=Fe.from(t.headers),t}),(function(t){return Le(t)||(sn(e),t&&t.response&&(t.response.data=Me.call(e,e.transformResponse,t.response),t.response.headers=Fe.from(t.response.headers))),Promise.reject(t)}))}const cn={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{cn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const un={};cn.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Xe+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Q(r(o," has been removed"+(t?" in "+t:"")),Q.ERR_DEPRECATED);return t&&!un[o]&&(un[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},cn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const ln={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Q("options must be an object",Q.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new Q("option "+i+" must be "+n,Q.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Q("Unknown option "+i,Q.ERR_BAD_OPTION)}},validators:cn},pn=ln.validators;class fn{constructor(e){this.defaults=e||{},this.interceptors={request:new pe,response:new pe}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(n){const t=n.indexOf("\n"),r=-1===t?-1:n.indexOf("\n",t+1),o=-1===r?"":n.slice(r+1);String(e.stack).endsWith(o)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ut(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&ln.assertOptions(n,{silentJSONParsing:pn.transitional(pn.boolean),forcedJSONParsing:pn.transitional(pn.boolean),clarifyTimeoutError:pn.transitional(pn.boolean),legacyInterceptorReqResOrdering:pn.transitional(pn.boolean)},!1),null!=r&&(J.isFunction(r)?t.paramsSerializer={serialize:r}:ln.assertOptions(r,{encode:pn.function,serialize:pn.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ln.assertOptions(t,{baseUrl:pn.spelling("baseURL"),withXsrfToken:pn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&J.merge(o.common,o[t.method]);o&&J.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Fe.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;a=a&&e.synchronous;const n=t.transitional||fe;n&&n.legacyInterceptorReqResOrdering?s.unshift(e.fulfilled,e.rejected):s.push(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(!a){const e=[an.bind(this),void 0];for(e.unshift(...s),e.push(...c),l=e.length,u=Promise.resolve(t);p<l;)u=u.then(e[p++],e[p++]);return u}l=s.length;let f=t;for(;p<l;){const e=s[p++],t=s[p++];try{f=e(f)}catch(e){t.call(this,e);break}}try{u=an.call(this,f)}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 le(qe((e=Ut(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}J.forEach(["delete","get","head","options"],(function(e){fn.prototype[e]=function(t,n){return this.request(Ut(n||{},{method:e,url:t,data:(n||{}).data}))}})),J.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Ut(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}fn.prototype[e]=t(),fn.prototype[e+"Form"]=t(!0)}));const dn=fn;class hn{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Be(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new hn((function(t){e=t})),cancel:e}}}const mn=hn,yn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(yn).forEach((([e,t])=>{yn[t]=e}));const gn=yn,vn=function e(t){const n=new dn(t),r=o(dn.prototype.request,n);return J.extend(r,dn.prototype,n,{allOwnKeys:!0}),J.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ut(t,n))},r}($e);vn.Axios=dn,vn.CanceledError=Be,vn.CancelToken=mn,vn.isCancel=Le,vn.VERSION=Xe,vn.toFormData=oe,vn.AxiosError=Q,vn.Cancel=vn.CanceledError,vn.all=function(e){return Promise.all(e)},vn.spread=function(e){return function(t){return e.apply(null,t)}},vn.isAxiosError=function(e){return J.isObject(e)&&!0===e.isAxiosError},vn.mergeConfig=Ut,vn.AxiosHeaders=Fe,vn.formToJSON=e=>De(J.isHTMLForm(e)?new FormData(e):e),vn.getAdapter=on,vn.HttpStatusCode=gn,vn.default=vn;const bn=vn},7536(e,t,n){"use strict";n.d(t,{Ay:()=>C});const r=(e=0)=>t=>`[${t+e}m`,o=(e=0)=>t=>`[${38+e};5;${t}m`,i=(e=0)=>(t,n,r)=>`[${38+e};2;${t};${n};${r}m`,s={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]}};Object.keys(s.modifier),Object.keys(s.color),Object.keys(s.bgColor);const a=function(){const e=new Map;for(const[t,n]of Object.entries(s)){for(const[t,r]of Object.entries(n))s[t]={open:`[${r[0]}m`,close:`[${r[1]}m`},n[t]=s[t],e.set(r[0],r[1]);Object.defineProperty(s,t,{value:n,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="[39m",s.bgColor.close="[49m",s.color.ansi=r(),s.color.ansi256=o(),s.color.ansi16m=i(),s.bgColor.ansi=r(10),s.bgColor.ansi256=o(10),s.bgColor.ansi16m=i(10),Object.defineProperties(s,{rgbToAnsi256:{value:(e,t,n)=>e===t&&t===n?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(n/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[n]=t;3===n.length&&(n=[...n].map((e=>e+e)).join(""));const r=Number.parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},enumerable:!1},hexToAnsi256:{value:e=>s.rgbToAnsi256(...s.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return e-8+90;let t,n,r;if(e>=232)t=(10*(e-232)+8)/255,n=t,r=t;else{const o=(e-=16)%36;t=Math.floor(e/36)/5,n=Math.floor(o/6)/5,r=o%6/5}const o=2*Math.max(t,n,r);if(0===o)return 30;let i=30+(Math.round(r)<<2|Math.round(n)<<1|Math.round(t));return 2===o&&(i+=60),i},enumerable:!1},rgbToAnsi:{value:(e,t,n)=>s.ansi256ToAnsi(s.rgbToAnsi256(e,t,n)),enumerable:!1},hexToAnsi:{value:e=>s.ansi256ToAnsi(s.hexToAnsi256(e)),enumerable:!1}}),s}(),c=require("node:process"),u=require("node:os"),l=require("node:tty");function p(e,t=(globalThis.Deno?globalThis.Deno.args:c.argv)){const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o)}const{env:f}=c;let d;function h(e,t={}){return 0!==(n=function(e,{streamIsTTY:t,sniffFlags:n=!0}={}){const r=function(){if("FORCE_COLOR"in f)return"true"===f.FORCE_COLOR?1:"false"===f.FORCE_COLOR?0:0===f.FORCE_COLOR.length?1:Math.min(Number.parseInt(f.FORCE_COLOR,10),3)}();void 0!==r&&(d=r);const o=n?d:r;if(0===o)return 0;if(n){if(p("color=16m")||p("color=full")||p("color=truecolor"))return 3;if(p("color=256"))return 2}if("TF_BUILD"in f&&"AGENT_NAME"in f)return 1;if(e&&!t&&void 0===o)return 0;const i=o||0;if("dumb"===f.TERM)return i;if("win32"===c.platform){const e=u.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in f)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((e=>e in f))?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((e=>e in f))||"codeship"===f.CI_NAME?1:i;if("TEAMCITY_VERSION"in f)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(f.TEAMCITY_VERSION)?1:0;if("truecolor"===f.COLORTERM)return 3;if("xterm-kitty"===f.TERM)return 3;if("xterm-ghostty"===f.TERM)return 3;if("TERM_PROGRAM"in f){const e=Number.parseInt((f.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(f.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(f.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(f.TERM)||"COLORTERM"in f?1:i}(e,{streamIsTTY:e&&e.isTTY,...t}))&&{level:n,hasBasic:!0,has256:n>=2,has16m:n>=3};var n}p("no-color")||p("no-colors")||p("color=false")||p("color=never")?d=0:(p("color")||p("colors")||p("color=true")||p("color=always"))&&(d=1);const m={stdout:h({isTTY:l.isatty(1)}),stderr:h({isTTY:l.isatty(2)})};function y(e,t,n){let r=e.indexOf(t);if(-1===r)return e;const o=t.length;let i=0,s="";do{s+=e.slice(i,r)+t+n,i=r+o,r=e.indexOf(t,i)}while(-1!==r);return s+=e.slice(i),s}const{stdout:g,stderr:v}=m,b=Symbol("GENERATOR"),x=Symbol("STYLER"),w=Symbol("IS_EMPTY"),_=["ansi","ansi","ansi256","ansi16m"],E=Object.create(null);function S(e){return(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 n=g?g.level:0;e.level=void 0===t.level?n:t.level})(t,e),Object.setPrototypeOf(t,S.prototype),t})(e)}Object.setPrototypeOf(S.prototype,Function.prototype);for(const[e,t]of Object.entries(a))E[e]={get(){const n=A(this,$(t.open,t.close,this[x]),this[w]);return Object.defineProperty(this,e,{value:n}),n}};E.visible={get(){const e=A(this,this[x],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const D=(e,t,n,...r)=>"rgb"===e?"ansi16m"===t?a[n].ansi16m(...r):"ansi256"===t?a[n].ansi256(a.rgbToAnsi256(...r)):a[n].ansi(a.rgbToAnsi(...r)):"hex"===e?D("rgb",t,n,...a.hexToRgb(...r)):a[n][e](...r),O=["rgb","hex","ansi256"];for(const e of O)E[e]={get(){const{level:t}=this;return function(...n){const r=$(D(e,_[t],"color",...n),a.color.close,this[x]);return A(this,r,this[w])}}},E["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...n){const r=$(D(e,_[t],"bgColor",...n),a.bgColor.close,this[x]);return A(this,r,this[w])}}};const k=Object.defineProperties((()=>{}),{...E,level:{enumerable:!0,get(){return this[b].level},set(e){this[b].level=e}}}),$=(e,t,n)=>{let r,o;return void 0===n?(r=e,o=t):(r=n.openAll+e,o=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:o,parent:n}},A=(e,t,n)=>{const r=(...e)=>P(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,k),r[b]=e,r[x]=t,r[w]=n,r},P=(e,t)=>{if(e.level<=0||!t)return e[w]?"":t;let n=e[x];if(void 0===n)return t;const{openAll:r,closeAll:o}=n;if(t.includes(""))for(;void 0!==n;)t=y(t,n.close,n.open),n=n.parent;const i=t.indexOf("\n");return-1!==i&&(t=function(e,t,n,r){let o=0,i="";do{const s="\r"===e[r-1];i+=e.slice(o,s?r-1:r)+t+(s?"\r\n":"\n")+n,o=r+1,r=e.indexOf("\n",o)}while(-1!==r);return i+=e.slice(o),i}(t,o,r,i)),r+t+o};Object.defineProperties(S.prototype,E);const j=S(),C=(S({level:v?v.level:0}),j)},2399(e,t,n){"use strict";n.d(t,{kW:()=>p,xQ:()=>l});const r=/([\p{Ll}\d])(\p{Lu})/gu,o=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,i=/(\d)\p{Ll}|(\p{L})\d/u,s=/[^\p{L}\d]+/giu,a="$1\0$2";function c(e){let t=e.trim();t=t.replace(r,a).replace(o,a),t=t.replace(s,"\0");let n=0,i=t.length;for(;"\0"===t.charAt(n);)n++;if(n===i)return[];for(;"\0"===t.charAt(i-1);)i--;return t.slice(n,i).split(/\0/g)}function u(e){const t=c(e);for(let e=0;e<t.length;e++){const n=t[e],r=i.exec(n);if(r){const o=r.index+(r[1]??r[2]).length;t.splice(e,1,n.slice(0,o),n.slice(o))}}return t}function l(e,t){const[n,r,o]=d(e,t),i=f(t?.locale),s=(c=t?.locale,!1===c?e=>e.toUpperCase():e=>e.toLocaleUpperCase(c)),a=t?.mergeAmbiguousCharacters?function(e,t){return n=>`${t(n[0])}${e(n.slice(1))}`}(i,s):function(e,t){return(n,r)=>{const o=n[0];return(r>0&&o>="0"&&o<="9"?"_"+o:t(o))+e(n.slice(1))}}(i,s);var c;return n+r.map(((e,t)=>0===t?i(e):a(e,t))).join(t?.delimiter??"")+o}function p(e,t){return function(e,t){const[n,r,o]=d(e,t);return n+r.map(f(t?.locale)).join(t?.delimiter??" ")+o}(e,{delimiter:"-",...t})}function f(e){return!1===e?e=>e.toLowerCase():t=>t.toLocaleLowerCase(e)}function d(e,t={}){const n=t.split??(t.separateNumbers?u:c),r=t.prefixCharacters??"",o=t.suffixCharacters??"";let i=0,s=e.length;for(;i<e.length;){const t=e.charAt(i);if(!r.includes(t))break;i++}for(;s>i;){const t=s-1,n=e.charAt(t);if(!o.includes(n))break;s=t}return[e.slice(0,i),n(e.slice(i,s)),e.slice(s)]}},6299(e,t,n){"use strict";n.d(t,{A:()=>w});var r,o=n(9023),i=n(6928);function s(e){if(e!==e.toLowerCase()&&e!==e.toUpperCase()||(e=e.toLowerCase()),-1===e.indexOf("-")&&-1===e.indexOf("_"))return e;{let t="",n=!1;const r=e.match(/^-+/);for(let o=r?r[0].length:0;o<e.length;o++){let r=e.charAt(o);n&&(n=!1,r=r.toUpperCase()),0===o||"-"!==r&&"_"!==r?"-"!==r&&"_"!==r&&(t+=r):n=!0}return t}}function a(e,t){const n=e.toLowerCase();t=t||"-";let r="";for(let o=0;o<e.length;o++){const i=n.charAt(o),s=e.charAt(o);r+=i!==s&&o>0?`${t}${n.charAt(o)}`:s}return r}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}!function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array"}(r||(r={}));var f,d,h,m=n(9896);const y=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):12,g=null!==(d=null===(f=null===process||void 0===process?void 0:process.versions)||void 0===f?void 0:f.node)&&void 0!==d?d: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])<y)throw Error(`yargs parser supports a minimum Node.js version of ${y}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);const v=process?process.env:{},b=new class{constructor(e){u=e}parse(e,t){const n=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),o=function(e){if(Array.isArray(e))return e.map((e=>"string"!=typeof e?e+"":e));e=e.trim();let t=0,n=null,r=null,o=null;const i=[];for(let s=0;s<e.length;s++)n=r,r=e.charAt(s)," "!==r||o?(r===o?o=null:"'"!==r&&'"'!==r||o||(o=r),i[t]||(i[t]=""),i[t]+=r):" "!==n&&t++;return i}(e),i="string"==typeof e,f=function(e){const t=[],n=Object.create(null);let r=!0;for(Object.keys(e).forEach((function(n){t.push([].concat(e[n],n))}));r;){r=!1;for(let e=0;e<t.length;e++)for(let n=e+1;n<t.length;n++)if(t[e].filter((function(e){return-1!==t[n].indexOf(e)})).length){t[e]=t[e].concat(t[n]),t.splice(n,1),r=!0;break}}return t.forEach((function(e){const t=(e=e.filter((function(e,t,n){return n.indexOf(e)===t}))).pop();void 0!==t&&"string"==typeof t&&(n[t]=e)})),n}(Object.assign(Object.create(null),n.alias)),d=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},n.configuration),h=Object.assign(Object.create(null),n.default),m=n.configObjects||[],y=n.envPrefix,g=d["populate--"],v=g?"--":"_",b=Object.create(null),x=Object.create(null),w=n.__||u.format,_={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:[]},E=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,S=new RegExp("^--"+d["negation-prefix"]+"(.+)");[].concat(n.array||[]).filter(Boolean).forEach((function(e){const t="object"==typeof e?e.key:e,n=Object.keys(e).map((function(e){return{boolean:"bools",string:"strings",number:"numbers"}[e]})).filter(Boolean).pop();n&&(_[n][t]=!0),_.arrays[t]=!0,_.keys.push(t)})),[].concat(n.boolean||[]).filter(Boolean).forEach((function(e){_.bools[e]=!0,_.keys.push(e)})),[].concat(n.string||[]).filter(Boolean).forEach((function(e){_.strings[e]=!0,_.keys.push(e)})),[].concat(n.number||[]).filter(Boolean).forEach((function(e){_.numbers[e]=!0,_.keys.push(e)})),[].concat(n.count||[]).filter(Boolean).forEach((function(e){_.counts[e]=!0,_.keys.push(e)})),[].concat(n.normalize||[]).filter(Boolean).forEach((function(e){_.normalize[e]=!0,_.keys.push(e)})),"object"==typeof n.narg&&Object.entries(n.narg).forEach((([e,t])=>{"number"==typeof t&&(_.nargs[e]=t,_.keys.push(e))})),"object"==typeof n.coerce&&Object.entries(n.coerce).forEach((([e,t])=>{"function"==typeof t&&(_.coercions[e]=t,_.keys.push(e))})),void 0!==n.config&&(Array.isArray(n.config)||"string"==typeof n.config?[].concat(n.config).filter(Boolean).forEach((function(e){_.configs[e]=!0})):"object"==typeof n.config&&Object.entries(n.config).forEach((([e,t])=>{"boolean"!=typeof t&&"function"!=typeof t||(_.configs[e]=t)}))),function(...e){e.forEach((function(e){Object.keys(e||{}).forEach((function(e){_.aliases[e]||(_.aliases[e]=[].concat(f[e]||[]),_.aliases[e].concat(e).forEach((function(t){if(/-/.test(t)&&d["camel-case-expansion"]){const n=s(t);n!==e&&-1===_.aliases[e].indexOf(n)&&(_.aliases[e].push(n),b[n]=!0)}})),_.aliases[e].concat(e).forEach((function(t){if(t.length>1&&/[A-Z]/.test(t)&&d["camel-case-expansion"]){const n=a(t,"-");n!==e&&-1===_.aliases[e].indexOf(n)&&(_.aliases[e].push(n),b[n]=!0)}})),_.aliases[e].forEach((function(t){_.aliases[t]=[e].concat(_.aliases[e].filter((function(e){return t!==e})))})))}))}))}(n.key,f,n.default,_.arrays),Object.keys(h).forEach((function(e){(_.aliases[e]||[]).forEach((function(t){h[t]=h[e]}))}));let D=null;Object.keys(_.counts).find((e=>U(e,_.arrays)?(D=Error(w("Invalid configuration: %s, opts.count excludes opts.array.",e)),!0):!!U(e,_.nargs)&&(D=Error(w("Invalid configuration: %s, opts.count excludes opts.narg.",e)),!0)));let O=[];const k=Object.assign(Object.create(null),{_:[]}),$={};for(let e=0;e<o.length;e++){const t=o[e],n=t.replace(/^-{3,}/,"---");let r,i,s,a,c,u;if("--"!==t&&/^-/.test(t)&&z(t))A(t);else{if(n.match(/^---+(=|$)/)){A(t);continue}if(t.match(/^--.+=/)||!d["short-option-groups"]&&t.match(/^-.+=/))a=t.match(/^--?([^=]+)=([\s\S]*)$/),null!==a&&Array.isArray(a)&&a.length>=3&&(U(a[1],_.arrays)?e=j(e,a[1],o,a[2]):!1!==U(a[1],_.nargs)?e=P(e,a[1],o,a[2]):C(a[1],a[2],!0));else if(t.match(S)&&d["boolean-negation"])a=t.match(S),null!==a&&Array.isArray(a)&&a.length>=2&&(i=a[1],C(i,!!U(i,_.arrays)&&[!1]));else if(t.match(/^--.+/)||!d["short-option-groups"]&&t.match(/^-[^-]+/))a=t.match(/^--?(.+)/),null!==a&&Array.isArray(a)&&a.length>=2&&(i=a[1],U(i,_.arrays)?e=j(e,i,o):!1!==U(i,_.nargs)?e=P(e,i,o):(c=o[e+1],void 0===c||c.match(/^-/)&&!c.match(E)||U(i,_.bools)||U(i,_.counts)?/^(true|false)$/.test(c)?(C(i,c),e++):C(i,V(i)):(C(i,c),e++)));else if(t.match(/^-.\..+=/))a=t.match(/^-([^=]+)=([\s\S]*)$/),null!==a&&Array.isArray(a)&&a.length>=3&&C(a[1],a[2]);else if(t.match(/^-.\..+/)&&!t.match(E))c=o[e+1],a=t.match(/^-(.\..+)/),null!==a&&Array.isArray(a)&&a.length>=2&&(i=a[1],void 0===c||c.match(/^-/)||U(i,_.bools)||U(i,_.counts)?C(i,V(i)):(C(i,c),e++));else if(t.match(/^-[^-]+/)&&!t.match(E)){s=t.slice(1,-1).split(""),r=!1;for(let n=0;n<s.length;n++){if(c=t.slice(n+2),s[n+1]&&"="===s[n+1]){u=t.slice(n+3),i=s[n],U(i,_.arrays)?e=j(e,i,o,u):!1!==U(i,_.nargs)?e=P(e,i,o,u):C(i,u),r=!0;break}if("-"!==c){if(/[A-Za-z]/.test(s[n])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(c)&&!1===U(c,_.bools)){C(s[n],c),r=!0;break}if(s[n+1]&&s[n+1].match(/\W/)){C(s[n],c),r=!0;break}C(s[n],V(s[n]))}else C(s[n],c)}i=t.slice(-1)[0],r||"-"===i||(U(i,_.arrays)?e=j(e,i,o):!1!==U(i,_.nargs)?e=P(e,i,o):(c=o[e+1],void 0===c||/^(-|--)[^-]/.test(c)&&!c.match(E)||U(i,_.bools)||U(i,_.counts)?/^(true|false)$/.test(c)?(C(i,c),e++):C(i,V(i)):(C(i,c),e++)))}else if(t.match(/^-[0-9]$/)&&t.match(E)&&U(t.slice(1),_.bools))i=t.slice(1),C(i,V(i));else{if("--"===t){O=o.slice(e+1);break}if(d["halt-at-non-option"]){O=o.slice(e);break}A(t)}}}function A(e){const t=T("_",e);"string"!=typeof t&&"number"!=typeof t||k._.push(t)}function P(e,t,n,r){let o,i=U(t,_.nargs);if(i="number"!=typeof i||isNaN(i)?1:i,0===i)return G(r)||(D=Error(w("Argument unexpected for: %s",t))),C(t,V(t)),e;let s=G(r)?0:1;if(d["nargs-eats-options"])n.length-(e+1)+s<i&&(D=Error(w("Not enough arguments following: %s",t))),s=i;else{for(o=e+1;o<n.length&&(!n[o].match(/^-[^0-9]/)||n[o].match(E)||z(n[o]));o++)s++;s<i&&(D=Error(w("Not enough arguments following: %s",t)))}let a=Math.min(s,i);for(!G(r)&&a>0&&(C(t,r),a--),o=e+1;o<a+e+1;o++)C(t,n[o]);return e+a}function j(e,t,n,r){let o=[],s=r||n[e+1];const a=U(t,_.nargs);if(U(t,_.bools)&&!/^(true|false)$/.test(s))o.push(!0);else if(G(s)||G(r)&&/^-/.test(s)&&!E.test(s)&&!z(s)){if(void 0!==h[t]){const e=h[t];o=Array.isArray(e)?e:[e]}}else{G(r)||o.push(N(t,r,!0));for(let r=e+1;r<n.length&&!(!d["greedy-arrays"]&&o.length>0||a&&"number"==typeof a&&o.length>=a)&&(s=n[r],!/^-/.test(s)||E.test(s)||z(s));r++)e=r,o.push(N(t,s,i))}return"number"==typeof a&&(a&&o.length<a||isNaN(a)&&0===o.length)&&(D=Error(w("Not enough arguments following: %s",t))),C(t,o),e}function C(e,t,n=i){if(/-/.test(e)&&d["camel-case-expansion"]){const t=e.split(".").map((function(e){return s(e)})).join(".");R(e,t)}const r=N(e,t,n),o=e.split(".");B(k,o,r),_.aliases[e]&&_.aliases[e].forEach((function(e){const t=e.split(".");B(k,t,r)})),o.length>1&&d["dot-notation"]&&(_.aliases[o[0]]||[]).forEach((function(t){let n=t.split(".");const i=[].concat(o);i.shift(),n=n.concat(i),(_.aliases[e]||[]).includes(n.join("."))||B(k,n,r)})),U(e,_.normalize)&&!U(e,_.arrays)&&[e].concat(_.aliases[e]||[]).forEach((function(e){Object.defineProperty($,e,{enumerable:!0,get:()=>t,set(e){t="string"==typeof e?u.normalize(e):e}})}))}function R(e,t){_.aliases[e]&&_.aliases[e].length||(_.aliases[e]=[t],b[t]=!0),_.aliases[t]&&_.aliases[t].length||R(t,e)}function N(e,t,n){n&&(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,_.bools)||U(e,_.counts))&&"string"==typeof t&&(t="true"===t);let r=Array.isArray(t)?t.map((function(t){return T(e,t)})):T(e,t);return U(e,_.counts)&&(G(r)||"boolean"==typeof r)&&(r=l()),U(e,_.normalize)&&U(e,_.arrays)&&(r=Array.isArray(t)?t.map((e=>u.normalize(e))):u.normalize(t)),r}function T(e,t){return d["parse-positional-numbers"]||"_"!==e?(U(e,_.strings)||U(e,_.bools)||Array.isArray(t)||(c(t)&&d["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${t}`)))||!G(t)&&U(e,_.numbers))&&(t=Number(t)),t):t}function I(e,t){Object.keys(e).forEach((function(n){const r=e[n],o=t?t+"."+n:n;"object"==typeof r&&null!==r&&!Array.isArray(r)&&d["dot-notation"]?I(r,o):(!L(k,o.split("."))||U(o,_.arrays)&&d["combine-arrays"])&&C(o,r)}))}function F(e,t){if(void 0===y)return;const n="string"==typeof y?y:"",r=u.env();Object.keys(r).forEach((function(o){if(""===n||0===o.lastIndexOf(n,0)){const i=o.split("__").map((function(e,t){return 0===t&&(e=e.substring(n.length)),s(e)}));(t&&_.configs[i.join(".")]||!t)&&!L(e,i)&&C(i.join("."),r[o])}}))}function M(e,t,n,r=!1){Object.keys(n).forEach((function(o){L(e,o.split("."))||(B(e,o.split("."),n[o]),r&&(x[o]=!0),(t[o]||[]).forEach((function(t){L(e,t.split("."))||B(e,t.split("."),n[o])})))}))}function L(e,t){let n=e;d["dot-notation"]||(t=[t.join(".")]),t.slice(0,-1).forEach((function(e){n=n[e]||{}}));const r=t[t.length-1];return"object"==typeof n&&r in n}function B(e,t,n){let r=e;d["dot-notation"]||(t=[t.join(".")]),t.slice(0,-1).forEach((function(e){e=p(e),"object"==typeof r&&void 0===r[e]&&(r[e]={}),"object"!=typeof r[e]||Array.isArray(r[e])?(Array.isArray(r[e])?r[e].push({}):r[e]=[r[e],{}],r=r[e][r[e].length-1]):r=r[e]}));const o=p(t[t.length-1]),i=U(t.join("."),_.arrays),s=Array.isArray(n);let a=d["duplicate-arguments-array"];!a&&U(o,_.nargs)&&(a=!0,(!G(r[o])&&1===_.nargs[o]||Array.isArray(r[o])&&r[o].length===_.nargs[o])&&(r[o]=void 0)),n===l()?r[o]=l(r[o]):Array.isArray(r[o])?a&&i&&s?r[o]=d["flatten-duplicate-arrays"]?r[o].concat(n):(Array.isArray(r[o][0])?r[o]:[r[o]]).concat([n]):a||Boolean(i)!==Boolean(s)?r[o]=r[o].concat([n]):r[o]=n:void 0===r[o]&&i?r[o]=s?n:[n]:!a||void 0===r[o]||U(o,_.counts)||U(o,_.bools)?r[o]=n:r[o]=[r[o],n]}function U(e,t){const n=[].concat(_.aliases[e]||[],e),r=Object.keys(t),o=n.find((e=>r.includes(e)));return!!o&&t[o]}function q(e){const t=Object.keys(_);return[].concat(t.map((e=>_[e]))).some((function(t){return Array.isArray(t)?t.includes(e):t[e]}))}function z(e){return d["unknown-options-as-args"]&&function(e){return!(e=e.replace(/^-{3,}/,"--")).match(E)&&(!function(e){if(e.match(E)||!e.match(/^-[^-]+/))return!1;let t,n=!0;const r=e.slice(1).split("");for(let o=0;o<r.length;o++){if(t=e.slice(o+2),!q(r[o])){n=!1;break}if(r[o+1]&&"="===r[o+1]||"-"===t||/[A-Za-z]/.test(r[o])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(t)||r[o+1]&&r[o+1].match(/\W/))break}return n}(e)&&!function(e,...t){return[].concat(...t).some((function(t){const n=e.match(t);return n&&q(n[1])}))}(e,/^-+([^=]+?)=[\s\S]*$/,S,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/))}(e)}function V(e){return U(e,_.bools)||U(e,_.counts)||!(`${e}`in h)?(t=function(e){let t=r.BOOLEAN;return U(e,_.strings)?t=r.STRING:U(e,_.numbers)?t=r.NUMBER:U(e,_.bools)?t=r.BOOLEAN:U(e,_.arrays)&&(t=r.ARRAY),t}(e),{[r.BOOLEAN]:!0,[r.STRING]:"",[r.NUMBER]:void 0,[r.ARRAY]:[]}[t]):h[e];var t}function G(e){return void 0===e}return F(k,!0),F(k,!1),function(e){const t=Object.create(null);M(t,_.aliases,h),Object.keys(_.configs).forEach((function(n){const r=e[n]||t[n];if(r)try{let e=null;const t=u.resolve(u.cwd(),r),o=_.configs[n];if("function"==typeof o){try{e=o(t)}catch(t){e=t}if(e instanceof Error)return void(D=e)}else e=u.require(t);I(e)}catch(t){"PermissionDenied"===t.name?D=t:e[n]&&(D=Error(w("Invalid JSON config file: %s",r)))}}))}(k),void 0!==m&&m.forEach((function(e){I(e)})),M(k,_.aliases,h,!0),function(e){let t;const n=new Set;Object.keys(e).forEach((function(r){if(!n.has(r)&&(t=U(r,_.coercions),"function"==typeof t))try{const o=T(r,t(e[r]));[].concat(_.aliases[r]||[],r).forEach((t=>{n.add(t),e[t]=o}))}catch(e){D=e}}))}(k),d["set-placeholder-key"]&&function(e){_.keys.forEach((t=>{~t.indexOf(".")||void 0===e[t]&&(e[t]=void 0)}))}(k),Object.keys(_.counts).forEach((function(e){L(k,e.split("."))||C(e,0)})),g&&O.length&&(k[v]=[]),O.forEach((function(e){k[v].push(e)})),d["camel-case-expansion"]&&d["strip-dashed"]&&Object.keys(k).filter((e=>"--"!==e&&e.includes("-"))).forEach((e=>{delete k[e]})),d["strip-aliased"]&&[].concat(...Object.keys(f).map((e=>f[e]))).forEach((e=>{d["camel-case-expansion"]&&e.includes("-")&&delete k[e.split(".").map((e=>s(e))).join(".")],delete k[e]})),{aliases:Object.assign({},_.aliases),argv:Object.assign($,k),configuration:d,defaulted:Object.assign({},x),error:D,newAliases:Object.assign({},b)}}}({cwd:process.cwd,env:()=>v,format:o.format,normalize:i.normalize,resolve:i.resolve,require:e=>{if("undefined"!=typeof require)return require(e);if(e.match(/\.json$/))return JSON.parse((0,m.readFileSync)(e,"utf8"));throw Error("only .json config files are supported in ESM")}}),x=function(e,t){return b.parse(e.slice(),t).argv};x.detailed=function(e,t){return b.parse(e.slice(),t)},x.camelCase=s,x.decamelize=a,x.looksLikeNumber=c;const w=x},1050(e,t,n){"use strict";n.d(t,{e:()=>s});var r=n(3269);let o,i=[];function s(e,t,n,c){o=c;let u={};if(Object.prototype.hasOwnProperty.call(e,"extends")){if("string"!=typeof e.extends)return u;const a=/\.json|\..*rc$/.test(e.extends);let c=null;if(a)c=function(e,t){return o.path.resolve(e,t)}(t,e.extends);else try{c=require.resolve(e.extends)}catch(t){return e}!function(e){if(i.indexOf(e)>-1)throw new r.w(`Circular extended configurations: '${e}'.`)}(c),i.push(c),u=a?JSON.parse(o.readFileSync(c,"utf8")):require(e.extends),delete e.extends,u=s(u,o.path.dirname(c),n,o)}return i=[],n?a(u,e):Object.assign({},u,e)}function a(e,t){const n={};function r(e){return e&&"object"==typeof e&&!Array.isArray(e)}Object.assign(n,e);for(const o of Object.keys(t))r(t[o])&&r(n[o])?n[o]=a(e[o],t[o]):n[o]=t[o];return n}},8434(e,t,n){"use strict";function r(){return process.versions.electron&&!process.defaultApp?0:1}function o(e){return e.slice(r()+1)}function i(){return process.argv[r()]}n.d(t,{a:()=>o,h:()=>i})},3269(e,t,n){"use strict";n.d(t,{w:()=>r});class r extends Error{constructor(e){super(e||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,r)}}},6741(e,t,n){"use strict";n.d(t,{A:()=>Ze});var r=n(9332);function o(e,t,n,r){n.assert.notStrictEqual(e,t,r)}function i(e,t){t.assert.strictEqual(typeof e,"string")}function s(e){return Object.keys(e)}function a(e){return!!e&&!!e.then&&"function"==typeof e.then}var c=n(3269);function u(e){const t=e.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),n=/\.*[\][<>]/g,r=t.shift();if(!r)throw new Error(`No command found in: ${e}`);const o={cmd:r.replace(n,""),demanded:[],optional:[]};return t.forEach(((e,r)=>{let i=!1;e=e.replace(/\s/g,""),/\.+[\]>]/.test(e)&&r===t.length-1&&(i=!0),/^\[/.test(e)?o.optional.push({cmd:e.replace(n,"").split("|"),variadic:i}):o.demanded.push({cmd:e.replace(n,"").split("|"),variadic:i})})),o}const l=["first","second","third","fourth","fifth","sixth"];function p(e,t,n){try{let r=0;const[o,i,s]="object"==typeof e?[{demanded:[],optional:[]},e,t]:[u(`cmd ${e}`),t,n],a=[].slice.call(i);for(;a.length&&void 0===a[a.length-1];)a.pop();const l=s||a.length;if(l<o.demanded.length)throw new c.w(`Not enough arguments provided. Expected ${o.demanded.length} but received ${a.length}.`);const p=o.demanded.length+o.optional.length;if(l>p)throw new c.w(`Too many arguments provided. Expected max ${p} but received ${l}.`);o.demanded.forEach((e=>{const t=f(a.shift());0===e.cmd.filter((e=>e===t||"*"===e)).length&&d(t,e.cmd,r),r+=1})),o.optional.forEach((e=>{if(0===a.length)return;const t=f(a.shift());0===e.cmd.filter((e=>e===t||"*"===e)).length&&d(t,e.cmd,r),r+=1}))}catch(e){console.warn(e.stack)}}function f(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function d(e,t,n){throw new c.w(`Invalid ${l[n]||"manyith"} argument. Expected ${t.join(" or ")} but received ${e}.`)}class h{constructor(e){this.globalMiddleware=[],this.frozens=[],this.yargs=e}addMiddleware(e,t,n=!0,r=!1){if(p("<array|function> [boolean] [boolean] [boolean]",[e,t,n],arguments.length),Array.isArray(e)){for(let r=0;r<e.length;r++){if("function"!=typeof e[r])throw Error("middleware must be a function");const o=e[r];o.applyBeforeValidation=t,o.global=n}Array.prototype.push.apply(this.globalMiddleware,e)}else if("function"==typeof e){const o=e;o.applyBeforeValidation=t,o.global=n,o.mutates=r,this.globalMiddleware.push(e)}return this.yargs}addCoerceMiddleware(e,t){const n=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter((e=>{const r=[...n[t]||[],t];return!e.option||!r.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 m(e,t,n,r){return n.reduce(((e,n)=>{if(n.applyBeforeValidation!==r)return e;if(n.mutates){if(n.applied)return e;n.applied=!0}if(a(e))return e.then((e=>Promise.all([e,n(e,t)]))).then((([e,t])=>Object.assign(e,t)));{const r=n(e,t);return a(r)?r.then((t=>Object.assign(e,t))):Object.assign(e,r)}}),e)}function y(e,t,n=e=>{throw e}){try{const n="function"==typeof e?e():e;return a(n)?n.then((e=>t(e))):t(n)}catch(e){return n(e)}}const g=/(^\*)|(^\$0)/;class v{constructor(e,t,n,r){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=r,this.usage=e,this.globalMiddleware=n,this.validation=t}addDirectory(e,t,n,r){"boolean"!=typeof(r=r||{}).recurse&&(r.recurse=!1),Array.isArray(r.extensions)||(r.extensions=["js"]);const o="function"==typeof r.visit?r.visit:e=>e;r.visit=(e,t,n)=>{const r=o(e,t,n);if(r){if(this.requireCache.has(t))return r;this.requireCache.add(t),this.addHandler(r)}return r},this.shim.requireDirectory({require:t,filename:n},e,r)}addHandler(e,t,n,r,o,i){let s=[];const a=function(e){return e?e.map((e=>(e.applyBeforeValidation=!1,e))):[]}(o);if(r=r||(()=>{}),Array.isArray(e))if(function(e){return e.every((e=>"string"==typeof e))}(e))[e,...s]=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(b(n))return void this.addHandler([e].concat(s),t,n.builder,n.handler,n.middlewares,n.deprecated)}if("string"==typeof e){const o=u(e);s=s.map((e=>u(e).cmd));let c=!1;const l=[o.cmd].concat(s).filter((e=>!g.test(e)||(c=!0,!1)));0===l.length&&c&&l.push("$0"),c&&(o.cmd=l[0],s=l.slice(1),e=e.replace(g,o.cmd)),s.forEach((e=>{this.aliasMap[e]=o.cmd})),!1!==t&&this.usage.command(e,t,c,s,i),this.handlers[o.cmd]={original:e,description:t,handler:r,builder:n||{},middlewares:a,deprecated:i,demanded:o.demanded,optional:o.optional},c&&(this.defaultCommand=this.handlers[o.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(e,t,n,r,o,i){const s=this.handlers[e]||this.handlers[this.aliasMap[e]]||this.defaultCommand,c=t.getInternalMethods().getContext(),u=c.commands.slice(),l=!e;e&&(c.commands.push(e),c.fullCommands.push(s.original));const p=this.applyBuilderUpdateUsageAndParse(l,s,t,n.aliases,u,r,o,i);return a(p)?p.then((e=>this.applyMiddlewareAndGetResult(l,s,e.innerArgv,c,o,e.aliases,t))):this.applyMiddlewareAndGetResult(l,s,p.innerArgv,c,o,p.aliases,t)}applyBuilderUpdateUsageAndParse(e,t,n,r,o,i,s,c){const u=t.builder;let l=n;if(x(u)){n.getInternalMethods().getUsageInstance().freeze();const p=u(n.getInternalMethods().reset(r),c);if(a(p))return p.then((r=>{var a;return l=(a=r)&&"function"==typeof a.getInternalMethods?r:n,this.parseAndUpdateUsage(e,t,l,o,i,s)}))}else(function(e){return"object"==typeof e})(u)&&(n.getInternalMethods().getUsageInstance().freeze(),l=n.getInternalMethods().reset(r),Object.keys(t.builder).forEach((e=>{l.option(e,u[e])})));return this.parseAndUpdateUsage(e,t,l,o,i,s)}parseAndUpdateUsage(e,t,n,r,o,i){e&&n.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(n)&&n.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(r,t),t.description);const s=n.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,o,i);return a(s)?s.then((e=>({aliases:n.parsed.aliases,innerArgv:e}))):{aliases:n.parsed.aliases,innerArgv:s}}shouldUpdateUsage(e){return!e.getInternalMethods().getUsageInstance().getUsageDisabled()&&0===e.getInternalMethods().getUsageInstance().getUsage().length}usageFromParentCommandsCommandHandler(e,t){const n=g.test(t.original)?t.original.replace(g,"").trim():t.original,r=e.filter((e=>!g.test(e)));return r.push(n),`$0 ${r.join(" ")}`}handleValidationAndGetResult(e,t,n,r,o,i,s,c){if(!i.getInternalMethods().getHasOutput()){const t=i.getInternalMethods().runValidation(o,c,i.parsed.error,e);n=y(n,(e=>(t(e),e)))}if(t.handler&&!i.getInternalMethods().getHasOutput()){i.getInternalMethods().setHasOutput();const r=!!i.getOptions().configuration["populate--"];i.getInternalMethods().postProcess(n,r,!1,!1),n=y(n=m(n,i,s,!1),(e=>{const n=t.handler(e);return a(n)?n.then((()=>e)):e})),e||i.getInternalMethods().getUsageInstance().cacheHelpMessage(),a(n)&&!i.getInternalMethods().hasParseCallback()&&n.catch((e=>{try{i.getInternalMethods().getUsageInstance().fail(null,e)}catch(e){}}))}return e||(r.commands.pop(),r.fullCommands.pop()),n}applyMiddlewareAndGetResult(e,t,n,r,o,i,s){let c={};if(o)return n;s.getInternalMethods().getHasOutput()||(c=this.populatePositionals(t,n,r,s));const u=this.globalMiddleware.getMiddleware().slice(0).concat(t.middlewares),l=m(n,s,u,!0);return a(l)?l.then((n=>this.handleValidationAndGetResult(e,t,n,r,i,s,u,c))):this.handleValidationAndGetResult(e,t,l,r,i,s,u,c)}populatePositionals(e,t,n,r){t._=t._.slice(n.commands.length);const o=e.demanded.slice(0),i=e.optional.slice(0),s={};for(this.validation.positionalCount(o.length,t._.length);o.length;){const e=o.shift();this.populatePositional(e,t,s)}for(;i.length;){const e=i.shift();this.populatePositional(e,t,s)}return t._=n.commands.concat(t._.map((e=>""+e))),this.postProcessPositionals(t,s,this.cmdToParseOptions(e.original),r),s}populatePositional(e,t,n){const r=e.cmd[0];e.variadic?n[r]=t._.splice(0).map(String):t._.length&&(n[r]=[String(t._.shift())])}cmdToParseOptions(e){const t={array:[],default:{},alias:{},demand:{}},n=u(e);return n.demanded.forEach((e=>{const[n,...r]=e.cmd;e.variadic&&(t.array.push(n),t.default[n]=[]),t.alias[n]=r,t.demand[n]=!0})),n.optional.forEach((e=>{const[n,...r]=e.cmd;e.variadic&&(t.array.push(n),t.default[n]=[]),t.alias[n]=r})),t}postProcessPositionals(e,t,n,r){const o=Object.assign({},r.getOptions());o.default=Object.assign(n.default,o.default);for(const e of Object.keys(n.alias))o.alias[e]=(o.alias[e]||[]).concat(n.alias[e]);o.array=o.array.concat(n.array),o.config={};const i=[];if(Object.keys(t).forEach((e=>{t[e].map((t=>{o.configuration["unknown-options-as-args"]&&(o.key[e]=!0),i.push(`--${e}`),i.push(t)}))})),!i.length)return;const s=Object.assign({},o.configuration,{"populate--":!1}),a=this.shim.Parser.detailed(i,Object.assign({},o,{configuration:s}));if(a.error)r.getInternalMethods().getUsageInstance().fail(a.error.message,a.error);else{const n=Object.keys(t);Object.keys(t).forEach((e=>{n.push(...a.aliases[e])})),Object.keys(a.argv).forEach((o=>{n.includes(o)&&(t[o]||(t[o]=a.argv[o]),!this.isInConfigs(r,o)&&!this.isDefaulted(r,o)&&Object.prototype.hasOwnProperty.call(e,o)&&Object.prototype.hasOwnProperty.call(a.argv,o)&&(Array.isArray(e[o])||Array.isArray(a.argv[o]))?e[o]=[].concat(e[o],a.argv[o]):e[o]=a.argv[o])}))}}isDefaulted(e,t){const{default:n}=e.getOptions();return Object.prototype.hasOwnProperty.call(n,t)||Object.prototype.hasOwnProperty.call(n,this.shim.Parser.camelCase(t))}isInConfigs(e,t){const{configObjects:n}=e.getOptions();return n.some((e=>Object.prototype.hasOwnProperty.call(e,t)))||n.some((e=>Object.prototype.hasOwnProperty.call(e,this.shim.Parser.camelCase(t))))}runDefaultBuilderOn(e){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(e)){const t=g.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(x(t))return t(e,!0);b(t)||Object.keys(t).forEach((n=>{e.option(n,t[n])}))}moduleName(e){const t=function(e){if("undefined"==typeof require)return null;for(let t,n=0,r=Object.keys(require.cache);n<r.length;n++)if(t=require.cache[r[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:n}){for(const r of[e,t,n]){if("string"==typeof r||!1===r)return r;o(r,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){const e=this.frozens.pop();o(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 b(e){return"object"==typeof e&&!!e.builder&&"function"==typeof e.handler}function x(e){return"function"==typeof e}function w(e={},t=()=>!0){const n={};return s(e).forEach((r=>{t(r,e[r])&&(n[r]=e[r])})),n}function _(e){"undefined"!=typeof process&&[process.stdout,process.stderr].forEach((t=>{const n=t;n._handle&&n.isTTY&&"function"==typeof n._handle.setBlocking&&n._handle.setBlocking(e)}))}function E(e){return"boolean"==typeof e}function S(e){return"object"==typeof e}function D(e){return S(e)?e.indentation:0}function O(e){return S(e)?e.text:e}class k{constructor(e,t,n,r){var o,i,s;this.yargs=e,this.usage=t,this.command=n,this.shim=r,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=null!==(s=(null===(o=this.shim.getEnv("SHELL"))||void 0===o?void 0:o.includes("zsh"))||(null===(i=this.shim.getEnv("ZSH_NAME"))||void 0===i?void 0:i.includes("zsh")))&&void 0!==s&&s}defaultCompletion(e,t,n,r){const o=this.command.getCommandHandlers();for(let t=0,n=e.length;t<n;++t)if(o[e[t]]&&o[e[t]].builder){const n=o[e[t]].builder;if(x(n)){this.indexAfterLastReset=t+1;const e=this.yargs.getInternalMethods().reset();return n(e,!0),e.argv}}const i=[];this.commandCompletions(i,e,n),this.optionCompletions(i,e,t,n),this.choicesFromOptionsCompletions(i,e,t,n),this.choicesFromPositionalsCompletions(i,e,t,n),r(null,i)}commandCompletions(e,t,n){const r=this.yargs.getInternalMethods().getContext().commands;n.match(/^-/)||r[r.length-1]===n||this.previousArgHasChoices(t)||this.usage.getCommands().forEach((n=>{const r=u(n[0]).cmd;if(-1===t.indexOf(r))if(this.zshShell){const t=n[1]||"";e.push(r.replace(/:/g,"\\:")+":"+t)}else e.push(r)}))}optionCompletions(e,t,n,r){if((r.match(/^-/)||""===r&&0===e.length)&&!this.previousArgHasChoices(t)){const n=this.yargs.getOptions(),o=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(n.key).forEach((i=>{const s=!!n.configuration["boolean-negation"]&&n.boolean.includes(i);o.includes(i)||n.hiddenOptions.includes(i)||this.argsContainKey(t,i,s)||(this.completeOptionKey(i,e,r),s&&n.default[i]&&this.completeOptionKey(`no-${i}`,e,r))}))}}choicesFromOptionsCompletions(e,t,n,r){if(this.previousArgHasChoices(t)){const n=this.getPreviousArgChoices(t);n&&n.length>0&&e.push(...n.map((e=>e.replace(/:/g,"\\:"))))}}choicesFromPositionalsCompletions(e,t,n,r){if(""===r&&e.length>0&&this.previousArgHasChoices(t))return;const o=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],i=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),s=o[n._.length-i-1];if(!s)return;const a=this.yargs.getOptions().choices[s]||[];for(const t of a)t.startsWith(r)&&e.push(t.replace(/:/g,"\\:"))}getPreviousArgChoices(e){if(e.length<1)return;let t=e[e.length-1],n="";if(!t.startsWith("-")&&e.length>1&&(n=t,t=e[e.length-2]),!t.startsWith("-"))return;const r=t.replace(/^-+/,""),o=this.yargs.getOptions(),i=[r,...this.yargs.getAliases()[r]||[]];let s;for(const e of i)if(Object.prototype.hasOwnProperty.call(o.key,e)&&Array.isArray(o.choices[e])){s=o.choices[e];break}return s?s.filter((e=>!n||e.startsWith(n))):void 0}previousArgHasChoices(e){const t=this.getPreviousArgChoices(e);return void 0!==t&&t.length>0}argsContainKey(e,t,n){const r=t=>-1!==e.indexOf((/^[^0-9]$/.test(t)?"-":"--")+t);if(r(t))return!0;if(n&&r(`no-${t}`))return!0;if(this.aliases)for(const e of this.aliases[t])if(r(e))return!0;return!1}completeOptionKey(e,t,n){var r,o,i;const s=this.usage.getDescriptions(),a=!/^--/.test(n)&&/^[^0-9]$/.test(e)?"-":"--";if(this.zshShell){const n=null===(r=null==this?void 0:this.aliases)||void 0===r?void 0:r[e].find((e=>{const t=s[e];return"string"==typeof t&&t.length>0})),c=n?s[n]:void 0,u=null!==(i=null!==(o=s[e])&&void 0!==o?o:c)&&void 0!==i?i:"";t.push(a+`${e.replace(/:/g,"\\:")}:${u.replace("__yargsString__:","").replace(/(\r\n|\n|\r)/gm," ")}`)}else t.push(a+e)}customCompletion(e,t,n,r){if(o(this.customCompletionFunction,null,this.shim),this.customCompletionFunction.length<3){const e=this.customCompletionFunction(n,t);return a(e)?e.then((e=>{this.shim.process.nextTick((()=>{r(null,e)}))})).catch((e=>{this.shim.process.nextTick((()=>{r(e,void 0)}))})):r(null,e)}return this.customCompletionFunction.length>3?this.customCompletionFunction(n,t,((o=r)=>this.defaultCompletion(e,t,n,o)),(e=>{r(null,e)})):this.customCompletionFunction(n,t,(e=>{r(null,e)}))}getCompletion(e,t){const n=e.length?e[e.length-1]:"",r=this.yargs.parse(e,!0),o=this.customCompletionFunction?r=>this.customCompletion(e,r,n,t):r=>this.defaultCompletion(e,r,n,t);return a(r)?r.then(o):o(r)}generateCompletionScript(e,t){let n=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 r=this.shim.path.basename(e);return e.match(/\.js$/)&&(e=`./${e}`),n=n.replace(/{{app_name}}/g,r),n=n.replace(/{{completion_command}}/g,t),n.replace(/{{app_path}}/g,e)}registerFunction(e){this.customCompletionFunction=e}setParsed(e){this.aliases=e.aliases}}function $(e,t){if(0===e.length)return t.length;if(0===t.length)return e.length;const n=[];let r,o;for(r=0;r<=t.length;r++)n[r]=[r];for(o=0;o<=e.length;o++)n[0][o]=o;for(r=1;r<=t.length;r++)for(o=1;o<=e.length;o++)t.charAt(r-1)===e.charAt(o-1)?n[r][o]=n[r-1][o-1]:r>1&&o>1&&t.charAt(r-2)===e.charAt(o-1)&&t.charAt(r-1)===e.charAt(o-2)?n[r][o]=n[r-2][o-2]+1:n[r][o]=Math.min(n[r-1][o-1]+1,Math.min(n[r][o-1]+1,n[r-1][o]+1));return n[t.length][e.length]}const A=["$0","--","_"];var P,j,C,R,N,T,I,F,M,L,B,U,q,z,V,G,H,K,W,Y,J,X,Q,Z,ee,te,ne,re,oe,ie,se,ae,ce,ue,le,pe=n(1050),fe=function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},de=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};const he=Symbol("copyDoubleDash"),me=Symbol("copyDoubleDash"),ye=Symbol("deleteFromParserHintObject"),ge=Symbol("emitWarning"),ve=Symbol("freeze"),be=Symbol("getDollarZero"),xe=Symbol("getParserConfiguration"),we=Symbol("getUsageConfiguration"),_e=Symbol("guessLocale"),Ee=Symbol("guessVersion"),Se=Symbol("parsePositionalNumbers"),De=Symbol("pkgUp"),Oe=Symbol("populateParserHintArray"),ke=Symbol("populateParserHintSingleValueDictionary"),$e=Symbol("populateParserHintArrayDictionary"),Ae=Symbol("populateParserHintDictionary"),Pe=Symbol("sanitizeKey"),je=Symbol("setKey"),Ce=Symbol("unfreeze"),Re=Symbol("validateAsync"),Ne=Symbol("getCommandInstance"),Te=Symbol("getContext"),Ie=Symbol("getHasOutput"),Fe=Symbol("getLoggerInstance"),Me=Symbol("getParseContext"),Le=Symbol("getUsageInstance"),Be=Symbol("getValidationInstance"),Ue=Symbol("hasParseCallback"),qe=Symbol("isGlobalContext"),ze=Symbol("postProcess"),Ve=Symbol("rebase"),Ge=Symbol("reset"),He=Symbol("runYargsParserAndExecuteCommands"),Ke=Symbol("runValidation"),We=Symbol("setHasOutput"),Ye=Symbol("kTrackManuallySetKeys");class Je{constructor(e=[],t,n,r){this.customScriptName=!1,this.parsed=!1,P.set(this,void 0),j.set(this,void 0),C.set(this,{commands:[],fullCommands:[]}),R.set(this,null),N.set(this,null),T.set(this,"show-hidden"),I.set(this,null),F.set(this,!0),M.set(this,{}),L.set(this,!0),B.set(this,[]),U.set(this,void 0),q.set(this,{}),z.set(this,!1),V.set(this,null),G.set(this,!0),H.set(this,void 0),K.set(this,""),W.set(this,void 0),Y.set(this,void 0),J.set(this,{}),X.set(this,null),Q.set(this,null),Z.set(this,{}),ee.set(this,{}),te.set(this,void 0),ne.set(this,!1),re.set(this,void 0),oe.set(this,!1),ie.set(this,!1),se.set(this,!1),ae.set(this,void 0),ce.set(this,{}),ue.set(this,null),le.set(this,void 0),fe(this,re,r,"f"),fe(this,te,e,"f"),fe(this,j,t,"f"),fe(this,Y,n,"f"),fe(this,U,new h(this),"f"),this.$0=this[be](),this[Ge](),fe(this,P,de(this,P,"f"),"f"),fe(this,ae,de(this,ae,"f"),"f"),fe(this,le,de(this,le,"f"),"f"),fe(this,W,de(this,W,"f"),"f"),de(this,W,"f").showHiddenOpt=de(this,T,"f"),fe(this,H,this[me](),"f")}addHelpOpt(e,t){return p("[string|boolean] [string]",[e,t],arguments.length),de(this,V,"f")&&(this[ye](de(this,V,"f")),fe(this,V,null,"f")),!1===e&&void 0===t||(fe(this,V,"string"==typeof e?e:"help","f"),this.boolean(de(this,V,"f")),this.describe(de(this,V,"f"),t||de(this,ae,"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 n="string"==typeof e?e:de(this,T,"f");return this.boolean(n),this.describe(n,t||de(this,ae,"f").deferY18nLookup("Show hidden options")),de(this,W,"f").showHiddenOpt=n,this}showHidden(e,t){return this.addShowHiddenOpt(e,t)}alias(e,t){return p("<object|string|array> [string|array]",[e,t],arguments.length),this[$e](this.alias.bind(this),"alias",e,t),this}array(e){return p("<array|string>",[e],arguments.length),this[Oe]("array",e),this[Ye](e),this}boolean(e){return p("<array|string>",[e],arguments.length),this[Oe]("boolean",e),this[Ye](e),this}check(e,t){return p("<function> [boolean]",[e,t],arguments.length),this.middleware(((t,n)=>y((()=>e(t,n.getOptions())),(n=>(n?("string"==typeof n||n instanceof Error)&&de(this,ae,"f").fail(n.toString(),n):de(this,ae,"f").fail(de(this,re,"f").y18n.__("Argument check failed: %s",e.toString())),t)),(e=>(de(this,ae,"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[$e](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 c.w("coerce callback must be provided");for(const n of e)this.coerce(n,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 c.w("coerce callback must be provided");return de(this,W,"f").key[e]=!0,de(this,U,"f").addCoerceMiddleware(((n,r)=>{let o;return Object.prototype.hasOwnProperty.call(n,e)?y((()=>(o=r.getAliases(),t(n[e]))),(t=>{n[e]=t;const i=r.getInternalMethods().getParserConfiguration()["strip-aliased"];if(o[e]&&!0!==i)for(const r of o[e])n[r]=t;return n}),(e=>{throw new c.w(e.message)})):n}),e),this}conflicts(e,t){return p("<string|object> [string|array]",[e,t],arguments.length),de(this,le,"f").conflicts(e,t),this}config(e="config",t,n){return p("[object|string] [string|function] [function]",[e,t,n],arguments.length),"object"!=typeof e||Array.isArray(e)?("function"==typeof t&&(n=t,t=void 0),this.describe(e,t||de(this,ae,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(e)?e:[e]).forEach((e=>{de(this,W,"f").config[e]=n||!0})),this):(e=(0,pe.e)(e,de(this,j,"f"),this[xe]()["deep-merge-config"]||!1,de(this,re,"f")),de(this,W,"f").configObjects=(de(this,W,"f").configObjects||[]).concat(e),this)}completion(e,t,n){return p("[string] [string|boolean|function] [function]",[e,t,n],arguments.length),"function"==typeof t&&(n=t,t=void 0),fe(this,N,e||de(this,N,"f")||"completion","f"),t||!1===t||(t="generate completion script"),this.command(de(this,N,"f"),t),n&&de(this,R,"f").registerFunction(n),this}command(e,t,n,r,o,i){return p("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[e,t,n,r,o,i],arguments.length),de(this,P,"f").addHandler(e,t,n,r,o,i),this}commands(e,t,n,r,o,i){return this.command(e,t,n,r,o,i)}commandDir(e,t){p("<string> [object]",[e,t],arguments.length);const n=de(this,Y,"f")||de(this,re,"f").require;return de(this,P,"f").addDirectory(e,n,de(this,re,"f").getCallerFile(),t),this}count(e){return p("<array|string>",[e],arguments.length),this[Oe]("count",e),this[Ye](e),this}default(e,t,n){return p("<object|string|array> [*] [string]",[e,t,n],arguments.length),n&&(i(e,de(this,re,"f")),de(this,W,"f").defaultDescription[e]=n),"function"==typeof t&&(i(e,de(this,re,"f")),de(this,W,"f").defaultDescription[e]||(de(this,W,"f").defaultDescription[e]=de(this,ae,"f").functionDescription(t)),t=t.call()),this[ke](this.default.bind(this),"default",e,t),this}defaults(e,t,n){return this.default(e,t,n)}demandCommand(e=1,t,n,r){return p("[number] [number|string] [string|null|undefined] [string|null|undefined]",[e,t,n,r],arguments.length),"number"!=typeof t&&(n=t,t=1/0),this.global("_",!1),de(this,W,"f").demandedCommands._={min:e,max:t,minMsg:n,maxMsg:r},this}demand(e,t,n){return Array.isArray(t)?(t.forEach((e=>{o(n,!0,de(this,re,"f")),this.demandOption(e,n)})),t=1/0):"number"!=typeof t&&(n=t,t=1/0),"number"==typeof e?(o(n,!0,de(this,re,"f")),this.demandCommand(e,t,n,n)):Array.isArray(e)?e.forEach((e=>{o(n,!0,de(this,re,"f")),this.demandOption(e,n)})):"string"==typeof n?this.demandOption(e,n):!0!==n&&void 0!==n||this.demandOption(e),this}demandOption(e,t){return p("<object|string|array> [string]",[e,t],arguments.length),this[ke](this.demandOption.bind(this),"demandedOptions",e,t),this}deprecateOption(e,t){return p("<string> [string|boolean]",[e,t],arguments.length),de(this,W,"f").deprecatedOptions[e]=t,this}describe(e,t){return p("<object|string|array> [string]",[e,t],arguments.length),this[je](e,!0),de(this,ae,"f").describe(e,t),this}detectLocale(e){return p("<boolean>",[e],arguments.length),fe(this,F,e,"f"),this}env(e){return p("[string|boolean]",[e],arguments.length),!1===e?delete de(this,W,"f").envPrefix:de(this,W,"f").envPrefix=e||"",this}epilogue(e){return p("<string>",[e],arguments.length),de(this,ae,"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))):de(this,ae,"f").example(e,t),this}exit(e,t){fe(this,z,!0,"f"),fe(this,I,t,"f"),de(this,L,"f")&&de(this,re,"f").process.exit(e)}exitProcess(e=!0){return p("[boolean]",[e],arguments.length),fe(this,L,e,"f"),this}fail(e){if(p("<function|boolean>",[e],arguments.length),"boolean"==typeof e&&!1!==e)throw new c.w("Invalid first argument. Expected function or boolean 'false'");return de(this,ae,"f").failFn(e),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(e,t){return p("<array> [function]",[e,t],arguments.length),t?de(this,R,"f").getCompletion(e,t):new Promise(((t,n)=>{de(this,R,"f").getCompletion(e,((e,r)=>{e?n(e):t(r)}))}))}getDemandedOptions(){return p([],0),de(this,W,"f").demandedOptions}getDemandedCommands(){return p([],0),de(this,W,"f").demandedCommands}getDeprecatedOptions(){return p([],0),de(this,W,"f").deprecatedOptions}getDetectLocale(){return de(this,F,"f")}getExitProcess(){return de(this,L,"f")}getGroups(){return Object.assign({},de(this,q,"f"),de(this,ee,"f"))}getHelp(){if(fe(this,z,!0,"f"),!de(this,ae,"f").hasCachedHelpMessage()){if(!this.parsed){const e=this[He](de(this,te,"f"),void 0,void 0,0,!0);if(a(e))return e.then((()=>de(this,ae,"f").help()))}const e=de(this,P,"f").runDefaultBuilderOn(this);if(a(e))return e.then((()=>de(this,ae,"f").help()))}return Promise.resolve(de(this,ae,"f").help())}getOptions(){return de(this,W,"f")}getStrict(){return de(this,oe,"f")}getStrictCommands(){return de(this,ie,"f")}getStrictOptions(){return de(this,se,"f")}global(e,t){return p("<string|array> [boolean]",[e,t],arguments.length),e=[].concat(e),!1!==t?de(this,W,"f").local=de(this,W,"f").local.filter((t=>-1===e.indexOf(t))):e.forEach((e=>{de(this,W,"f").local.includes(e)||de(this,W,"f").local.push(e)})),this}group(e,t){p("<string|array> <string>",[e,t],arguments.length);const n=de(this,ee,"f")[t]||de(this,q,"f")[t];de(this,ee,"f")[t]&&delete de(this,ee,"f")[t];const r={};return de(this,q,"f")[t]=(n||[]).concat(e).filter((e=>!r[e]&&(r[e]=!0))),this}hide(e){return p("<string>",[e],arguments.length),de(this,W,"f").hiddenOptions.push(e),this}implies(e,t){return p("<string|object> [number|string|array]",[e,t],arguments.length),de(this,le,"f").implies(e,t),this}locale(e){return p("[string]",[e],arguments.length),void 0===e?(this[_e](),de(this,re,"f").y18n.getLocale()):(fe(this,F,!1,"f"),de(this,re,"f").y18n.setLocale(e),this)}middleware(e,t,n){return de(this,U,"f").addMiddleware(e,!!t,n)}nargs(e,t){return p("<string|object|array> [number]",[e,t],arguments.length),this[ke](this.nargs.bind(this),"narg",e,t),this}normalize(e){return p("<array|string>",[e],arguments.length),this[Oe]("normalize",e),this}number(e){return p("<array|string>",[e],arguments.length),this[Oe]("number",e),this[Ye](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[Ye](e),!de(this,ue,"f")||"version"!==e&&"version"!==(null==t?void 0:t.alias)||this[ge](['"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"),de(this,W,"f").key[e]=!0,t.alias&&this.alias(e,t.alias);const n=t.deprecate||t.deprecated;n&&this.deprecateOption(e,n);const r=t.demand||t.required||t.require;r&&this.demand(e,r),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&&(de(this,W,"f").defaultDescription[e]=t.defaultDescription),t.skipValidation&&this.skipValidation(e);const o=t.describe||t.description||t.desc,i=de(this,ae,"f").getDescriptions();Object.prototype.hasOwnProperty.call(i,e)&&"string"!=typeof o||this.describe(e,o),t.hidden&&this.hide(e),t.requiresArg&&this.requiresArg(e)}return this}options(e,t){return this.option(e,t)}parse(e,t,n){p("[string|array] [function|boolean|object] [function]",[e,t,n],arguments.length),this[ve](),void 0===e&&(e=de(this,te,"f")),"object"==typeof t&&(fe(this,Q,t,"f"),t=n),"function"==typeof t&&(fe(this,X,t,"f"),t=!1),t||fe(this,te,e,"f"),de(this,X,"f")&&fe(this,L,!1,"f");const r=this[He](e,!!t),o=this.parsed;return de(this,R,"f").setParsed(this.parsed),a(r)?r.then((e=>(de(this,X,"f")&&de(this,X,"f").call(this,de(this,I,"f"),e,de(this,K,"f")),e))).catch((e=>{throw de(this,X,"f")&&de(this,X,"f")(e,this.parsed.argv,de(this,K,"f")),e})).finally((()=>{this[Ce](),this.parsed=o})):(de(this,X,"f")&&de(this,X,"f").call(this,de(this,I,"f"),r,de(this,K,"f")),this[Ce](),this.parsed=o,r)}parseAsync(e,t,n){const r=this.parse(e,t,n);return a(r)?r:Promise.resolve(r)}parseSync(e,t,n){const r=this.parse(e,t,n);if(a(r))throw new c.w(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return r}parserConfiguration(e){return p("<object>",[e],arguments.length),fe(this,J,e,"f"),this}pkgConf(e,t){p("<string> [string]",[e,t],arguments.length);let n=null;const r=this[De](t||de(this,j,"f"));return r[e]&&"object"==typeof r[e]&&(n=(0,pe.e)(r[e],t||de(this,j,"f"),this[xe]()["deep-merge-config"]||!1,de(this,re,"f")),de(this,W,"f").configObjects=(de(this,W,"f").configObjects||[]).concat(n)),this}positional(e,t){p("<string> <object>",[e,t],arguments.length);const n=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];t=w(t,((e,t)=>!("type"===e&&!["string","number","boolean"].includes(t))&&n.includes(e)));const r=de(this,C,"f").fullCommands[de(this,C,"f").fullCommands.length-1],o=r?de(this,P,"f").cmdToParseOptions(r):{array:[],alias:{},default:{},demand:{}};return s(o).forEach((n=>{const r=o[n];Array.isArray(r)?-1!==r.indexOf(e)&&(t[n]=!0):r[e]&&!(n in t)&&(t[n]=r[e])})),this.group(e,de(this,ae,"f").getPositionalGroupName()),this.option(e,t)}recommendCommands(e=!0){return p("[boolean]",[e],arguments.length),fe(this,ne,e,"f"),this}required(e,t,n){return this.demand(e,t,n)}require(e,t,n){return this.demand(e,t,n)}requiresArg(e){return p("<array|string|object> [number]",[e],arguments.length),"string"==typeof e&&de(this,W,"f").narg[e]||this[ke](this.requiresArg.bind(this),"narg",e,NaN),this}showCompletionScript(e,t){return p("[string] [string]",[e,t],arguments.length),e=e||this.$0,de(this,H,"f").log(de(this,R,"f").generateCompletionScript(e,t||de(this,N,"f")||"completion")),this}showHelp(e){if(p("[string|function]",[e],arguments.length),fe(this,z,!0,"f"),!de(this,ae,"f").hasCachedHelpMessage()){if(!this.parsed){const t=this[He](de(this,te,"f"),void 0,void 0,0,!0);if(a(t))return t.then((()=>{de(this,ae,"f").showHelp(e)})),this}const t=de(this,P,"f").runDefaultBuilderOn(this);if(a(t))return t.then((()=>{de(this,ae,"f").showHelp(e)})),this}return de(this,ae,"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),de(this,ae,"f").showHelpOnFail(e,t),this}showVersion(e){return p("[string|function]",[e],arguments.length),de(this,ae,"f").showVersion(e),this}skipValidation(e){return p("<array|string>",[e],arguments.length),this[Oe]("skipValidation",e),this}strict(e){return p("[boolean]",[e],arguments.length),fe(this,oe,!1!==e,"f"),this}strictCommands(e){return p("[boolean]",[e],arguments.length),fe(this,ie,!1!==e,"f"),this}strictOptions(e){return p("[boolean]",[e],arguments.length),fe(this,se,!1!==e,"f"),this}string(e){return p("<array|string>",[e],arguments.length),this[Oe]("string",e),this[Ye](e),this}terminalWidth(){return p([],0),de(this,re,"f").process.stdColumns}updateLocale(e){return this.updateStrings(e)}updateStrings(e){return p("<object>",[e],arguments.length),fe(this,F,!1,"f"),de(this,re,"f").y18n.updateLocale(e),this}usage(e,t,n,r){if(p("<string|null|undefined> [string|boolean] [function|object] [function]",[e,t,n,r],arguments.length),void 0!==t){if(o(e,null,de(this,re,"f")),(e||"").match(/^\$0( |$)/))return this.command(e,t,n,r);throw new c.w(".usage() description must start with $0 if being used as alias for .command()")}return de(this,ae,"f").usage(e),this}usageConfiguration(e){return p("<object>",[e],arguments.length),fe(this,ce,e,"f"),this}version(e,t,n){const r="version";if(p("[boolean|string] [string] [string]",[e,t,n],arguments.length),de(this,ue,"f")&&(this[ye](de(this,ue,"f")),de(this,ae,"f").version(void 0),fe(this,ue,null,"f")),0===arguments.length)n=this[Ee](),e=r;else if(1===arguments.length){if(!1===e)return this;n=e,e=r}else 2===arguments.length&&(n=t,t=void 0);return fe(this,ue,"string"==typeof e?e:r,"f"),t=t||de(this,ae,"f").deferY18nLookup("Show version number"),de(this,ae,"f").version(n||void 0),this.boolean(de(this,ue,"f")),this.describe(de(this,ue,"f"),t),this}wrap(e){return p("<number|null|undefined>",[e],arguments.length),de(this,ae,"f").wrap(e),this}[(P=new WeakMap,j=new WeakMap,C=new WeakMap,R=new WeakMap,N=new WeakMap,T=new WeakMap,I=new WeakMap,F=new WeakMap,M=new WeakMap,L=new WeakMap,B=new WeakMap,U=new WeakMap,q=new WeakMap,z=new WeakMap,V=new WeakMap,G=new WeakMap,H=new WeakMap,K=new WeakMap,W=new WeakMap,Y=new WeakMap,J=new WeakMap,X=new WeakMap,Q=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakMap,ne=new WeakMap,re=new WeakMap,oe=new WeakMap,ie=new WeakMap,se=new WeakMap,ae=new WeakMap,ce=new WeakMap,ue=new WeakMap,le=new WeakMap,he)](e){if(!e._||!e["--"])return e;e._.push.apply(e._,e["--"]);try{delete e["--"]}catch(e){}return e}[me](){return{log:(...e)=>{this[Ue]()||console.log(...e),fe(this,z,!0,"f"),de(this,K,"f").length&&fe(this,K,de(this,K,"f")+"\n","f"),fe(this,K,de(this,K,"f")+e.join(" "),"f")},error:(...e)=>{this[Ue]()||console.error(...e),fe(this,z,!0,"f"),de(this,K,"f").length&&fe(this,K,de(this,K,"f")+"\n","f"),fe(this,K,de(this,K,"f")+e.join(" "),"f")}}}[ye](e){s(de(this,W,"f")).forEach((t=>{if("configObjects"===t)return;const n=de(this,W,"f")[t];Array.isArray(n)?n.includes(e)&&n.splice(n.indexOf(e),1):"object"==typeof n&&delete n[e]})),delete de(this,ae,"f").getDescriptions()[e]}[ge](e,t,n){de(this,M,"f")[n]||(de(this,re,"f").process.emitWarning(e,t),de(this,M,"f")[n]=!0)}[ve](){de(this,B,"f").push({options:de(this,W,"f"),configObjects:de(this,W,"f").configObjects.slice(0),exitProcess:de(this,L,"f"),groups:de(this,q,"f"),strict:de(this,oe,"f"),strictCommands:de(this,ie,"f"),strictOptions:de(this,se,"f"),completionCommand:de(this,N,"f"),output:de(this,K,"f"),exitError:de(this,I,"f"),hasOutput:de(this,z,"f"),parsed:this.parsed,parseFn:de(this,X,"f"),parseContext:de(this,Q,"f")}),de(this,ae,"f").freeze(),de(this,le,"f").freeze(),de(this,P,"f").freeze(),de(this,U,"f").freeze()}[be](){let e,t="";return e=/\b(node|iojs|electron)(\.exe)?$/.test(de(this,re,"f").process.argv()[0])?de(this,re,"f").process.argv().slice(1,2):de(this,re,"f").process.argv().slice(0,1),t=e.map((e=>{const t=this[Ve](de(this,j,"f"),e);return e.match(/^(\/|([a-zA-Z]:)?\\)/)&&t.length<e.length?t:e})).join(" ").trim(),de(this,re,"f").getEnv("_")&&de(this,re,"f").getProcessArgvBin()===de(this,re,"f").getEnv("_")&&(t=de(this,re,"f").getEnv("_").replace(`${de(this,re,"f").path.dirname(de(this,re,"f").process.execPath())}/`,"")),t}[xe](){return de(this,J,"f")}[we](){return de(this,ce,"f")}[_e](){if(!de(this,F,"f"))return;const e=de(this,re,"f").getEnv("LC_ALL")||de(this,re,"f").getEnv("LC_MESSAGES")||de(this,re,"f").getEnv("LANG")||de(this,re,"f").getEnv("LANGUAGE")||"en_US";this.locale(e.replace(/[.:].*/,""))}[Ee](){return this[De]().version||"unknown"}[Se](e){const t=e["--"]?e["--"]:e._;for(let e,n=0;void 0!==(e=t[n]);n++)de(this,re,"f").Parser.looksLikeNumber(e)&&Number.isSafeInteger(Math.floor(parseFloat(`${e}`)))&&(t[n]=Number(e));return e}[De](e){const t=e||"*";if(de(this,Z,"f")[t])return de(this,Z,"f")[t];let n={};try{let t=e||de(this,re,"f").mainFilename;!e&&de(this,re,"f").path.extname(t)&&(t=de(this,re,"f").path.dirname(t));const r=de(this,re,"f").findUp(t,((e,t)=>t.includes("package.json")?"package.json":void 0));o(r,void 0,de(this,re,"f")),n=JSON.parse(de(this,re,"f").readFileSync(r,"utf8"))}catch(e){}return de(this,Z,"f")[t]=n||{},de(this,Z,"f")[t]}[Oe](e,t){(t=[].concat(t)).forEach((t=>{t=this[Pe](t),de(this,W,"f")[e].push(t)}))}[ke](e,t,n,r){this[Ae](e,t,n,r,((e,t,n)=>{de(this,W,"f")[e][t]=n}))}[$e](e,t,n,r){this[Ae](e,t,n,r,((e,t,n)=>{de(this,W,"f")[e][t]=(de(this,W,"f")[e][t]||[]).concat(n)}))}[Ae](e,t,n,r,o){if(Array.isArray(n))n.forEach((t=>{e(t,r)}));else if((e=>"object"==typeof e)(n))for(const t of s(n))e(t,n[t]);else o(t,this[Pe](n),r)}[Pe](e){return"__proto__"===e?"___proto___":e}[je](e,t){return this[ke](this[je].bind(this),"key",e,t),this}[Ce](){var e,t,n,r,i,s,a,c,u,l,p,f;const d=de(this,B,"f").pop();let h;o(d,void 0,de(this,re,"f")),e=this,t=this,n=this,r=this,i=this,s=this,a=this,c=this,u=this,l=this,p=this,f=this,({options:{set value(t){fe(e,W,t,"f")}}.value,configObjects:h,exitProcess:{set value(e){fe(t,L,e,"f")}}.value,groups:{set value(e){fe(n,q,e,"f")}}.value,output:{set value(e){fe(r,K,e,"f")}}.value,exitError:{set value(e){fe(i,I,e,"f")}}.value,hasOutput:{set value(e){fe(s,z,e,"f")}}.value,parsed:this.parsed,strict:{set value(e){fe(a,oe,e,"f")}}.value,strictCommands:{set value(e){fe(c,ie,e,"f")}}.value,strictOptions:{set value(e){fe(u,se,e,"f")}}.value,completionCommand:{set value(e){fe(l,N,e,"f")}}.value,parseFn:{set value(e){fe(p,X,e,"f")}}.value,parseContext:{set value(e){fe(f,Q,e,"f")}}.value}=d),de(this,W,"f").configObjects=h,de(this,ae,"f").unfreeze(),de(this,le,"f").unfreeze(),de(this,P,"f").unfreeze(),de(this,U,"f").unfreeze()}[Re](e,t){return y(t,(t=>(e(t),t)))}getInternalMethods(){return{getCommandInstance:this[Ne].bind(this),getContext:this[Te].bind(this),getHasOutput:this[Ie].bind(this),getLoggerInstance:this[Fe].bind(this),getParseContext:this[Me].bind(this),getParserConfiguration:this[xe].bind(this),getUsageConfiguration:this[we].bind(this),getUsageInstance:this[Le].bind(this),getValidationInstance:this[Be].bind(this),hasParseCallback:this[Ue].bind(this),isGlobalContext:this[qe].bind(this),postProcess:this[ze].bind(this),reset:this[Ge].bind(this),runValidation:this[Ke].bind(this),runYargsParserAndExecuteCommands:this[He].bind(this),setHasOutput:this[We].bind(this)}}[Ne](){return de(this,P,"f")}[Te](){return de(this,C,"f")}[Ie](){return de(this,z,"f")}[Fe](){return de(this,H,"f")}[Me](){return de(this,Q,"f")||{}}[Le](){return de(this,ae,"f")}[Be](){return de(this,le,"f")}[Ue](){return!!de(this,X,"f")}[qe](){return de(this,G,"f")}[ze](e,t,n,r){return n||a(e)||(t||(e=this[he](e)),(this[xe]()["parse-positional-numbers"]||void 0===this[xe]()["parse-positional-numbers"])&&(e=this[Se](e)),r&&(e=m(e,this,de(this,U,"f").getMiddleware(),!1))),e}[Ge](e={}){fe(this,W,de(this,W,"f")||{},"f");const t={};t.local=de(this,W,"f").local||[],t.configObjects=de(this,W,"f").configObjects||[];const n={};return t.local.forEach((t=>{n[t]=!0,(e[t]||[]).forEach((e=>{n[e]=!0}))})),Object.assign(de(this,ee,"f"),Object.keys(de(this,q,"f")).reduce(((e,t)=>{const r=de(this,q,"f")[t].filter((e=>!(e in n)));return r.length>0&&(e[t]=r),e}),{})),fe(this,q,{},"f"),["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"].forEach((e=>{t[e]=(de(this,W,"f")[e]||[]).filter((e=>!n[e]))})),["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"].forEach((e=>{t[e]=w(de(this,W,"f")[e],(e=>!n[e]))})),t.envPrefix=de(this,W,"f").envPrefix,fe(this,W,t,"f"),fe(this,ae,de(this,ae,"f")?de(this,ae,"f").reset(n):function(e,t){const n=t.y18n.__,r={},o=[];r.failFn=function(e){o.push(e)};let i=null,s=null,a=!0;r.showHelpOnFail=function(t=!0,n){const[o,c]="string"==typeof t?[!0,t]:[t,n];return e.getInternalMethods().isGlobalContext()&&(s=c),i=c,a=o,r};let u=!1;r.fail=function(t,n){const l=e.getInternalMethods().getLoggerInstance();if(!o.length){if(e.getExitProcess()&&_(!0),!u){u=!0,a&&(e.showHelp("error"),l.error()),(t||n)&&l.error(t||n);const r=i||s;r&&((t||n)&&l.error(""),l.error(r))}if(n=n||new c.w(t),e.getExitProcess())return e.exit(1);if(e.getInternalMethods().hasParseCallback())return e.exit(1,n);throw n}for(let e=o.length-1;e>=0;--e){const i=o[e];if(E(i)){if(n)throw n;if(t)throw Error(t)}else i(t,n,r)}};let l=[],p=!1;r.usage=(e,t)=>null===e?(p=!0,l=[],r):(p=!1,l.push([e,t||""]),r),r.getUsage=()=>l,r.getUsageDisabled=()=>p,r.getPositionalGroupName=()=>n("Positionals:");let f=[];r.example=(e,t)=>{f.push([e,t||""])};let d=[];r.command=function(e,t,n,r,o=!1){n&&(d=d.map((e=>(e[2]=!1,e)))),d.push([e,t||"",n,r,o])},r.getCommands=()=>d;let h={};r.describe=function(e,t){Array.isArray(e)?e.forEach((e=>{r.describe(e,t)})):"object"==typeof e?Object.keys(e).forEach((t=>{r.describe(t,e[t])})):h[e]=t},r.getDescriptions=()=>h;let m=[];r.epilog=e=>{m.push(e)};let y,g=!1;r.wrap=e=>{g=!0,y=e},r.getWrap=()=>t.getEnv("YARGS_DISABLE_WRAP")?null:(g||(y=t.process.stdColumns?Math.min(80,t.process.stdColumns):80,g=!0),y);const v="__yargsString__:";function b(e,n,r){let o=0;return Array.isArray(e)||(e=Object.values(e).map((e=>[e]))),e.forEach((e=>{o=Math.max(t.stringWidth(r?`${r} ${O(e[0])}`:O(e[0]))+D(e[0]),o)})),n&&(o=Math.min(o,parseInt((.5*n).toString(),10))),o}let x;function k(t){return e.getOptions().hiddenOptions.indexOf(t)<0||e.parsed.argv[e.getOptions().showHiddenOpt]}function $(e,t){let r=`[${n("default:")} `;if(void 0===e&&!t)return null;if(t)r+=t;else switch(typeof e){case"string":r+=`"${e}"`;break;case"object":r+=JSON.stringify(e);break;default:r+=e}return`${r}]`}r.deferY18nLookup=e=>v+e,r.help=function(){if(x)return x;!function(){const t=e.getDemandedOptions(),n=e.getOptions();(Object.keys(n.alias)||[]).forEach((o=>{n.alias[o].forEach((i=>{h[i]&&r.describe(o,h[i]),i in t&&e.demandOption(o,t[i]),n.boolean.includes(i)&&e.boolean(o),n.count.includes(i)&&e.count(o),n.string.includes(i)&&e.string(o),n.normalize.includes(i)&&e.normalize(o),n.array.includes(i)&&e.array(o),n.number.includes(i)&&e.number(o)}))}))}();const o=e.customScriptName?e.$0:t.path.basename(e.$0),i=e.getDemandedOptions(),s=e.getDemandedCommands(),a=e.getDeprecatedOptions(),c=e.getGroups(),u=e.getOptions();let y=[];y=y.concat(Object.keys(h)),y=y.concat(Object.keys(i)),y=y.concat(Object.keys(s)),y=y.concat(Object.keys(u.default)),y=y.filter(k),y=Object.keys(y.reduce(((e,t)=>("_"!==t&&(e[t]=!0),e)),{}));const g=r.getWrap(),w=t.cliui({width:g,wrap:!!g});if(!p)if(l.length)l.forEach((e=>{w.div({text:`${e[0].replace(/\$0/g,o)}`}),e[1]&&w.div({text:`${e[1]}`,padding:[1,0,0,0]})})),w.div();else if(d.length){let e=null;e=s._?`${o} <${n("command")}>\n`:`${o} [${n("command")}]\n`,w.div(`${e}`)}if(d.length>1||1===d.length&&!d[0][2]){w.div(n("Commands:"));const t=e.getInternalMethods().getContext(),r=t.commands.length?`${t.commands.join(" ")} `:"";!0===e.getInternalMethods().getParserConfiguration()["sort-commands"]&&(d=d.sort(((e,t)=>e[0].localeCompare(t[0]))));const i=o?`${o} `:"";d.forEach((e=>{const t=`${i}${r}${e[0].replace(/^\$0 ?/,"")}`;w.span({text:t,padding:[0,2,0,2],width:b(d,g,`${o}${r}`)+4},{text:e[1]});const s=[];e[2]&&s.push(`[${n("default")}]`),e[3]&&e[3].length&&s.push(`[${n("aliases:")} ${e[3].join(", ")}]`),e[4]&&("string"==typeof e[4]?s.push(`[${n("deprecated: %s",e[4])}]`):s.push(`[${n("deprecated")}]`)),s.length?w.div({text:s.join(" "),padding:[0,0,0,2],align:"right"}):w.div()})),w.div()}const _=(Object.keys(u.alias)||[]).concat(Object.keys(e.parsed.newAliases)||[]);y=y.filter((t=>!e.parsed.newAliases[t]&&_.every((e=>-1===(u.alias[e]||[]).indexOf(t)))));const E=n("Options:");c[E]||(c[E]=[]),function(e,t,n,r){let o=[],i=null;Object.keys(n).forEach((e=>{o=o.concat(n[e])})),e.forEach((e=>{i=[e].concat(t[e]),i.some((e=>-1!==o.indexOf(e)))||n[r].push(e)}))}(y,u.alias,c,E);const A=e=>/^--/.test(O(e)),P=Object.keys(c).filter((e=>c[e].length>0)).map((e=>({groupName:e,normalizedKeys:c[e].filter(k).map((e=>{if(_.includes(e))return e;for(let t,n=0;void 0!==(t=_[n]);n++)if((u.alias[t]||[]).includes(e))return t;return e}))}))).filter((({normalizedKeys:e})=>e.length>0)).map((({groupName:e,normalizedKeys:t})=>{const n=t.reduce(((t,n)=>(t[n]=[n].concat(u.alias[n]||[]).map((t=>e===r.getPositionalGroupName()?t:(/^[0-9]$/.test(t)?u.boolean.includes(n)?"-":"--":t.length>1?"--":"-")+t)).sort(((e,t)=>A(e)===A(t)?0:A(e)?1:-1)).join(", "),t)),{});return{groupName:e,normalizedKeys:t,switches:n}}));if(P.filter((({groupName:e})=>e!==r.getPositionalGroupName())).some((({normalizedKeys:e,switches:t})=>!e.every((e=>A(t[e])))))&&P.filter((({groupName:e})=>e!==r.getPositionalGroupName())).forEach((({normalizedKeys:e,switches:t})=>{e.forEach((e=>{var n;A(t[e])&&(t[e]=S(n=t[e])?{text:n.text,indentation:n.indentation+4}:{text:n,indentation:4})}))})),P.forEach((({groupName:t,normalizedKeys:o,switches:s})=>{w.div(t),o.forEach((t=>{const o=s[t];let c=h[t]||"",l=null;c.includes(v)&&(c=n(c.substring(16))),u.boolean.includes(t)&&(l=`[${n("boolean")}]`),u.count.includes(t)&&(l=`[${n("count")}]`),u.string.includes(t)&&(l=`[${n("string")}]`),u.normalize.includes(t)&&(l=`[${n("string")}]`),u.array.includes(t)&&(l=`[${n("array")}]`),u.number.includes(t)&&(l=`[${n("number")}]`);const p=[t in a?(f=a[t],"string"==typeof f?`[${n("deprecated: %s",f)}]`:`[${n("deprecated")}]`):null,l,t in i?`[${n("required")}]`:null,u.choices&&u.choices[t]?`[${n("choices:")} ${r.stringifiedValues(u.choices[t])}]`:null,$(u.default[t],u.defaultDescription[t])].filter(Boolean).join(" ");var f;w.span({text:O(o),padding:[0,2,0,2+D(o)],width:b(s,g)+4},c);const d=!0===e.getInternalMethods().getUsageConfiguration()["hide-types"];p&&!d?w.div({text:p,padding:[0,0,0,2],align:"right"}):w.div()})),w.div()})),f.length&&(w.div(n("Examples:")),f.forEach((e=>{e[0]=e[0].replace(/\$0/g,o)})),f.forEach((e=>{""===e[1]?w.div({text:e[0],padding:[0,2,0,2]}):w.div({text:e[0],padding:[0,2,0,2],width:b(f,g)+4},{text:e[1]})})),w.div()),m.length>0){const e=m.map((e=>e.replace(/\$0/g,o))).join("\n");w.div(`${e}\n`)}return w.toString().replace(/\s*$/,"")},r.cacheHelpMessage=function(){x=this.help()},r.clearCachedHelpMessage=function(){x=void 0},r.hasCachedHelpMessage=function(){return!!x},r.showHelp=t=>{const n=e.getInternalMethods().getLoggerInstance();t||(t="error"),("function"==typeof t?t:n[t])(r.help())},r.functionDescription=e=>["(",e.name?t.Parser.decamelize(e.name,"-"):n("generated-value"),")"].join(""),r.stringifiedValues=function(e,t){let n="";const r=t||", ",o=[].concat(e);return e&&o.length?(o.forEach((e=>{n.length&&(n+=r),n+=JSON.stringify(e)})),n):n};let A=null;r.version=e=>{A=e},r.showVersion=t=>{const n=e.getInternalMethods().getLoggerInstance();t||(t="error"),("function"==typeof t?t:n[t])(A)},r.reset=function(e){return i=null,u=!1,l=[],p=!1,m=[],f=[],d=[],h=w(h,(t=>!e[t])),r};const P=[];return r.freeze=function(){P.push({failMessage:i,failureOutput:u,usages:l,usageDisabled:p,epilogs:m,examples:f,commands:d,descriptions:h})},r.unfreeze=function(e=!1){const t=P.pop();t&&(e?(h={...t.descriptions,...h},d=[...t.commands,...d],l=[...t.usages,...l],f=[...t.examples,...f],m=[...t.epilogs,...m]):({failMessage:i,failureOutput:u,usages:l,usageDisabled:p,epilogs:m,examples:f,commands:d,descriptions:h}=t))},r}(this,de(this,re,"f")),"f"),fe(this,le,de(this,le,"f")?de(this,le,"f").reset(n):function(e,t,n){const r=n.y18n.__,i=n.y18n.__n,s={nonOptionCount:function(n){const r=e.getDemandedCommands(),o=n._.length+(n["--"]?n["--"].length:0)-e.getInternalMethods().getContext().commands.length;r._&&(o<r._.min||o>r._.max)&&(o<r._.min?void 0!==r._.minMsg?t.fail(r._.minMsg?r._.minMsg.replace(/\$0/g,o.toString()).replace(/\$1/,r._.min.toString()):null):t.fail(i("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",o,o.toString(),r._.min.toString())):o>r._.max&&(void 0!==r._.maxMsg?t.fail(r._.maxMsg?r._.maxMsg.replace(/\$0/g,o.toString()).replace(/\$1/,r._.max.toString()):null):t.fail(i("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",o,o.toString(),r._.max.toString()))))},positionalCount:function(e,n){n<e&&t.fail(i("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",n,n+"",e+""))},requiredArguments:function(e,n){let r=null;for(const t of Object.keys(n))Object.prototype.hasOwnProperty.call(e,t)&&void 0!==e[t]||(r=r||{},r[t]=n[t]);if(r){const e=[];for(const t of Object.keys(r)){const n=r[t];n&&e.indexOf(n)<0&&e.push(n)}const n=e.length?`\n${e.join("\n")}`:"";t.fail(i("Missing required argument: %s","Missing required arguments: %s",Object.keys(r).length,Object.keys(r).join(", ")+n))}},unknownArguments:function(n,r,o,a,c=!0){var u;const l=e.getInternalMethods().getCommandInstance().getCommands(),p=[],f=e.getInternalMethods().getContext();if(Object.keys(n).forEach((t=>{A.includes(t)||Object.prototype.hasOwnProperty.call(o,t)||Object.prototype.hasOwnProperty.call(e.getInternalMethods().getParseContext(),t)||s.isValidAndSomeAliasIsNotNew(t,r)||p.push(t)})),c&&(f.commands.length>0||l.length>0||a)&&n._.slice(f.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,r=f.commands.length+t;r<n._.length&&n._.slice(r).forEach((e=>{e=String(e),f.commands.includes(e)||p.includes(e)||p.push(e)}))}p.length&&t.fail(i("Unknown argument: %s","Unknown arguments: %s",p.length,p.map((e=>e.trim()?e:`"${e}"`)).join(", ")))},unknownCommands:function(n){const r=e.getInternalMethods().getCommandInstance().getCommands(),o=[],s=e.getInternalMethods().getContext();return(s.commands.length>0||r.length>0)&&n._.slice(s.commands.length).forEach((e=>{r.includes(""+e)||o.push(""+e)})),o.length>0&&(t.fail(i("Unknown command: %s","Unknown commands: %s",o.length,o.join(", "))),!0)},isValidAndSomeAliasIsNotNew:function(t,n){if(!Object.prototype.hasOwnProperty.call(n,t))return!1;const r=e.parsed.newAliases;return[t,...n[t]].some((e=>!Object.prototype.hasOwnProperty.call(r,e)||!r[t]))},limitedChoices:function(n){const o=e.getOptions(),i={};if(!Object.keys(o.choices).length)return;Object.keys(n).forEach((e=>{-1===A.indexOf(e)&&Object.prototype.hasOwnProperty.call(o.choices,e)&&[].concat(n[e]).forEach((t=>{-1===o.choices[e].indexOf(t)&&void 0!==t&&(i[e]=(i[e]||[]).concat(t))}))}));const s=Object.keys(i);if(!s.length)return;let a=r("Invalid values:");s.forEach((e=>{a+=`\n ${r("Argument: %s, Given: %s, Choices: %s",e,t.stringifiedValues(i[e]),t.stringifiedValues(o.choices[e]))}`})),t.fail(a)}};let a={};function c(e,t){const n=Number(t);return"number"==typeof(t=isNaN(n)?t:n)?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,r){p("<string|object> [array|number|string]",[t,r],arguments.length),"object"==typeof t?Object.keys(t).forEach((e=>{s.implies(e,t[e])})):(e.global(t),a[t]||(a[t]=[]),Array.isArray(r)?r.forEach((e=>s.implies(t,e))):(o(r,void 0,n),a[t].push(r)))},s.getImplied=function(){return a},s.implications=function(e){const n=[];if(Object.keys(a).forEach((t=>{const r=t;(a[t]||[]).forEach((t=>{let o=r;const i=t;o=c(e,o),t=c(e,t),o&&!t&&n.push(` ${r} -> ${i}`)}))})),n.length){let e=`${r("Implications failed:")}\n`;n.forEach((t=>{e+=t})),t.fail(e)}};let u={};s.conflicts=function(t,n){p("<string|object> [array|string]",[t,n],arguments.length),"object"==typeof t?Object.keys(t).forEach((e=>{s.conflicts(e,t[e])})):(e.global(t),u[t]||(u[t]=[]),Array.isArray(n)?n.forEach((e=>s.conflicts(t,e))):u[t].push(n))},s.getConflicting=()=>u,s.conflicting=function(o){Object.keys(o).forEach((e=>{u[e]&&u[e].forEach((n=>{n&&void 0!==o[e]&&void 0!==o[n]&&t.fail(r("Arguments %s and %s are mutually exclusive",e,n))}))})),e.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(u).forEach((e=>{u[e].forEach((i=>{i&&void 0!==o[n.Parser.camelCase(e)]&&void 0!==o[n.Parser.camelCase(i)]&&t.fail(r("Arguments %s and %s are mutually exclusive",e,i))}))}))},s.recommendCommands=function(e,n){n=n.sort(((e,t)=>t.length-e.length));let o=null,i=1/0;for(let t,r=0;void 0!==(t=n[r]);r++){const n=$(e,t);n<=3&&n<i&&(i=n,o=t)}o&&t.fail(r("Did you mean %s?",o))},s.reset=function(e){return a=w(a,(t=>!e[t])),u=w(u,(t=>!e[t])),s};const l=[];return s.freeze=function(){l.push({implied:a,conflicting:u})},s.unfreeze=function(){const e=l.pop();o(e,void 0,n),({implied:a,conflicting:u}=e)},s}(this,de(this,ae,"f"),de(this,re,"f")),"f"),fe(this,P,de(this,P,"f")?de(this,P,"f").reset():function(e,t,n,r){return new v(e,t,n,r)}(de(this,ae,"f"),de(this,le,"f"),de(this,U,"f"),de(this,re,"f")),"f"),de(this,R,"f")||fe(this,R,function(e,t,n,r){return new k(e,t,n,r)}(this,de(this,ae,"f"),de(this,P,"f"),de(this,re,"f")),"f"),de(this,U,"f").reset(),fe(this,N,null,"f"),fe(this,K,"","f"),fe(this,I,null,"f"),fe(this,z,!1,"f"),this.parsed=!1,this}[Ve](e,t){return de(this,re,"f").path.relative(e,t)}[He](e,t,n,r=0,o=!1){let i=!!n||o;e=e||de(this,te,"f"),de(this,W,"f").__=de(this,re,"f").y18n.__,de(this,W,"f").configuration=this[xe]();const s=!!de(this,W,"f").configuration["populate--"],u=Object.assign({},de(this,W,"f").configuration,{"populate--":!0}),l=de(this,re,"f").Parser.detailed(e,Object.assign({},de(this,W,"f"),{configuration:{"parse-positional-numbers":!1,...u}})),p=Object.assign(l.argv,de(this,Q,"f"));let f;const d=l.aliases;let h=!1,y=!1;Object.keys(p).forEach((e=>{e===de(this,V,"f")&&p[e]?h=!0:e===de(this,ue,"f")&&p[e]&&(y=!0)})),p.$0=this.$0,this.parsed=l,0===r&&de(this,ae,"f").clearCachedHelpMessage();try{if(this[_e](),t)return this[ze](p,s,!!n,!1);de(this,V,"f")&&[de(this,V,"f")].concat(d[de(this,V,"f")]||[]).filter((e=>e.length>1)).includes(""+p._[p._.length-1])&&(p._.pop(),h=!0),fe(this,G,!1,"f");const u=de(this,P,"f").getCommands(),g=de(this,R,"f").completionKey in p,v=h||g||o;if(p._.length){if(u.length){let e;for(let t,i=r||0;void 0!==p._[i];i++){if(t=String(p._[i]),u.includes(t)&&t!==de(this,N,"f")){const e=de(this,P,"f").runCommand(t,this,l,i+1,o,h||y||o);return this[ze](e,s,!!n,!1)}if(!e&&t!==de(this,N,"f")){e=t;break}}!de(this,P,"f").hasDefaultCommand()&&de(this,ne,"f")&&e&&!v&&de(this,le,"f").recommendCommands(e,u)}de(this,N,"f")&&p._.includes(de(this,N,"f"))&&!g&&(de(this,L,"f")&&_(!0),this.showCompletionScript(),this.exit(0))}if(de(this,P,"f").hasDefaultCommand()&&!v){const e=de(this,P,"f").runCommand(null,this,l,0,o,h||y||o);return this[ze](e,s,!!n,!1)}if(g){de(this,L,"f")&&_(!0);const t=(e=[].concat(e)).slice(e.indexOf(`--${de(this,R,"f").completionKey}`)+1);return de(this,R,"f").getCompletion(t,((e,t)=>{if(e)throw new c.w(e.message);(t||[]).forEach((e=>{de(this,H,"f").log(e)})),this.exit(0)})),this[ze](p,!s,!!n,!1)}if(de(this,z,"f")||(h?(de(this,L,"f")&&_(!0),i=!0,this.showHelp("log"),this.exit(0)):y&&(de(this,L,"f")&&_(!0),i=!0,de(this,ae,"f").showVersion("log"),this.exit(0))),!i&&de(this,W,"f").skipValidation.length>0&&(i=Object.keys(p).some((e=>de(this,W,"f").skipValidation.indexOf(e)>=0&&!0===p[e]))),!i){if(l.error)throw new c.w(l.error.message);if(!g){const e=this[Ke](d,{},l.error);n||(f=m(p,this,de(this,U,"f").getMiddleware(),!0)),f=this[Re](e,null!=f?f:p),a(f)&&!n&&(f=f.then((()=>m(p,this,de(this,U,"f").getMiddleware(),!1))))}}}catch(e){if(!(e instanceof c.w))throw e;de(this,ae,"f").fail(e.message,e)}return this[ze](null!=f?f:p,s,!!n,!0)}[Ke](e,t,n,r){const o={...this.getDemandedOptions()};return i=>{if(n)throw new c.w(n.message);de(this,le,"f").nonOptionCount(i),de(this,le,"f").requiredArguments(i,o);let s=!1;de(this,ie,"f")&&(s=de(this,le,"f").unknownCommands(i)),de(this,oe,"f")&&!s?de(this,le,"f").unknownArguments(i,e,t,!!r):de(this,se,"f")&&de(this,le,"f").unknownArguments(i,e,{},!1,!1),de(this,le,"f").limitedChoices(i),de(this,le,"f").implications(i),de(this,le,"f").conflicting(i)}}[We](){fe(this,z,!0,"f")}[Ye](e){if("string"==typeof e)de(this,W,"f").key[e]=!0;else for(const t of e)de(this,W,"f").key[t]=!0}}const Xe=(Qe=r.A,(e=[],t=Qe.process.cwd(),n)=>{const r=new Je(e,t,n,Qe);return Object.defineProperty(r,"argv",{get:()=>r.parse(),enumerable:!0}),r.help(),r.version(),r});var Qe;const Ze=Xe},9332(e,t,n){"use strict";n.d(t,{A:()=>D});var r=n(2613);const o={right:function(e,t){e=e.trim();const n=a.stringWidth(e);return n<t?" ".repeat(t-n)+e:e},center:function(e,t){e=e.trim();const n=a.stringWidth(e);return n>=t?e:" ".repeat(t-n>>1)+e}};class i{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 n=0;return t.forEach((e=>{e.length>1&&a.stringWidth(e[0])>n&&(n=Math.min(Math.floor(.5*this.width),a.stringWidth(e[0])))})),t.forEach((e=>{this.div(...e.map(((t,r)=>({text:t.trim(),padding:this.measurePadding(t),width:0===r&&e.length>1?n:void 0}))))})),this.rows[this.rows.length-1]}colFromString(e){return{text:e,padding:this.measurePadding(e)}}measurePadding(e){const t=a.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(((n,r)=>{let i="";n.forEach(((n,c)=>{const{width:u}=e[c],l=this.negatePadding(e[c]);let p=n;l>a.stringWidth(n)&&(p+=" ".repeat(l-a.stringWidth(n))),e[c].align&&"left"!==e[c].align&&this.wrap&&(p=(0,o[e[c].align])(p,l),a.stringWidth(p)<l&&(p+=" ".repeat((u||0)-a.stringWidth(p)-1)));const f=e[c].padding||[0,0,0,0];f[3]&&(i+=" ".repeat(f[3])),i+=s(e[c],p,"| "),i+=p,i+=s(e[c],p," |"),f[1]&&(i+=" ".repeat(f[1])),0===r&&t.length>0&&(i=this.renderInline(i,t[t.length-1]))})),t.push({text:i.replace(/ +$/,""),span:e.span})})),t}renderInline(e,t){const n=e.match(/^ */),r=n?n[0].length:0,o=t.text,i=a.stringWidth(o.trimRight());return t.span?this.wrap?r<i?e:(t.hidden=!0,o.trimRight()+" ".repeat(r-i)+e.trimLeft()):(t.hidden=!0,o+e):e}rasterize(e){const t=[],n=this.columnWidths(e);let r;return e.forEach(((e,o)=>{e.width=n[o],r=this.wrap?a.wrap(e.text,this.negatePadding(e),{hard:!0}).split("\n"):e.text.split("\n"),e.border&&(r.unshift("."+"-".repeat(this.negatePadding(e)+2)+"."),r.push("'"+"-".repeat(this.negatePadding(e)+2)+"'")),e.padding&&(r.unshift(...new Array(e.padding[0]||0).fill("")),r.push(...new Array(e.padding[2]||0).fill(""))),r.forEach(((e,n)=>{t[n]||t.push([]);const r=t[n];for(let e=0;e<o;e++)void 0===r[e]&&r.push("");r.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||a.stringWidth(e.text)));let t=e.length,n=this.width;const r=e.map((e=>{if(e.width)return t--,n-=e.width,e.width})),o=t?Math.floor(n/t):0;return r.map(((t,n)=>void 0===t?Math.max(o,function(e){const t=e.padding||[],n=1+(t[3]||0)+(t[1]||0);return e.border?n+4:n}(e[n])):t))}}function s(e,t,n){return e.border?/[.']-+[.']/.test(t)?"":0!==t.trim().length?n:" ":""}let a;const c=new RegExp("(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)","g");function u(e){return e.replace(c,"")}function l(e,t){const[n,r]=e.match(c)||["",""];e=u(e);let o="";for(let n=0;n<e.length;n++)0!==n&&n%t==0&&(o+="\n"),o+=e.charAt(n);return n&&r&&(o=`${n}${o}${r}`),o}var p=n(6928),f=n(9896);function d(e,t){let n,r=(0,p.resolve)(".",e);for((0,f.statSync)(r).isDirectory()||(r=(0,p.dirname)(r));;){if(n=t(r,(0,f.readdirSync)(r)),n)return(0,p.resolve)(r,n);if(r=(0,p.dirname)(n=r),n===r)break}}Object.defineProperty(d,"name",{value:"default",configurable:!0});var h=n(9023),m=n(7016),y=n(6299),g=n(8434),v=n(3269);const b={fs:{readFileSync:f.readFileSync,writeFile:f.writeFile},format:h.format,resolve:p.resolve,exists:e=>{try{return(0,f.statSync)(e).isFile()}catch(e){return!1}}};let x;class w{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 n=function(){};return"function"==typeof e[e.length-1]&&(n=e.pop()),n=n||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:n})):n(),x.format.apply(x.format,[this.cache[this.locale][t]||t].concat(e))}__n(){const e=Array.prototype.slice.call(arguments),t=e.shift(),n=e.shift(),r=e.shift();let o=function(){};"function"==typeof e[e.length-1]&&(o=e.pop()),this.cache[this.locale]||this._readLocaleFile();let i=1===r?t:n;this.cache[this.locale][t]&&(i=this.cache[this.locale][t][1===r?"one":"other"]),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]={one:t,other:n},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:o})):o();const s=[i];return~i.indexOf("%d")&&s.push(r),x.format.apply(x.format,s.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 n="";return e.forEach((function(e,r){const o=t[r+1];n+=e,void 0!==o&&(n+="%s")})),this.__.apply(this,[n].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],n=t.directory,r=t.locale,o=t.cb,i=this._resolveLocaleFile(n,r),s=JSON.stringify(this.cache[r],null,2);x.fs.writeFile(i,s,"utf-8",(function(t){e.writeQueue.shift(),e.writeQueue.length>0&&e._processWriteQueue(),o(t)}))}_readLocaleFile(){let e={};const t=this._resolveLocaleFile(this.directory,this.locale);try{x.fs.readFileSync&&(e=JSON.parse(x.fs.readFileSync(t,"utf-8")))}catch(n){if(n instanceof SyntaxError&&(n.message="syntax error in "+t),"ENOENT"!==n.code)throw n;e={}}this.cache[this.locale]=e}_resolveLocaleFile(e,t){let n=x.resolve(e,"./",t+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(n)&&~t.lastIndexOf("_")){const r=x.resolve(e,"./",t.split("_")[0]+".json");this._fileExistsSync(r)&&(n=r)}return n}_fileExistsSync(e){return x.exists(e)}}const _="loading a directory of commands is not supported yet for ESM";let E;try{E=(0,m.fileURLToPath)("file:///home/runner/work/appshell/appshell/node_modules/yargs/lib/platform-shims/esm.mjs")}catch(e){E=process.cwd()}const S=E.substring(0,E.lastIndexOf("node_modules")),D={assert:{notStrictEqual:r.notStrictEqual,strictEqual:r.strictEqual},cliui:function(e){return function(e,t){return a=t,new i({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:e=>[...e].length,stripAnsi:u,wrap:l})},findUp:d,getEnv:e=>process.env[e],inspect:h.inspect,getCallerFile:()=>{throw new v.w(_)},getProcessArgvBin:g.h,mainFilename:S||process.cwd(),Parser:y.A,path:{basename:p.basename,dirname:p.dirname,extname:p.extname,relative:p.relative,resolve:p.resolve},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(e,t)=>process.emitWarning(e,t),execPath:()=>process.execPath,exit:process.exit,nextTick:process.nextTick,stdColumns:void 0!==process.stdout.columns?process.stdout.columns:null},readFileSync:f.readFileSync,require:()=>{throw new v.w("require is not supported by ESM")},requireDirectory:()=>{throw new v.w(_)},stringWidth:e=>[...e].length,y18n:(O={directory:(0,p.resolve)(E,"../../../locales"),updateFiles:!1},function(e,t){x=t;const n=new w(e);return{__:n.__.bind(n),__n:n.__n.bind(n),setLocale:n.setLocale.bind(n),getLocale:n.getLocale.bind(n),updateLocale:n.updateLocale.bind(n),locale:n.locale}}(O,b))};var O},1983(e){"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},9510(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},4878(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}}')},1129(e){"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},7059(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";n(1050);var e=n(8434);n(6299),n(9332);var t=n(857),r=n.n(t),o=n(6928),i=n.n(o),s=n(6741),a=n(2352);const c=JSON.parse('{"rE":"1.0.0-alpha.69"}');var u=n(9067),l=n(7536),p=n(9896),f=n.n(p),d=n(3577);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return(t=function(e){var t=function(e){if("object"!=P(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=P(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==P(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function b(){var e=D(),t=e.m(b),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,x(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(b=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new k(e,t)},AsyncIterator:S,async:function(e,t,n,o,s){return(r(t)?E:_)(i(e),t,n,o,s)},keys:w,values:x}})()}function x(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(P(e)+" is not iterable")}function w(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function _(e,t,n,r,o){var i=E(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function E(e,t,n,r,o){return new S(D().w(e,t,n,r),o||Promise)}function S(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof k?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(O(S.prototype),O(S.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),O(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function D(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return O(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(O(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,O(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,O(p,"constructor",u),O(u,"constructor",c),c.displayName="GeneratorFunction",O(u,o,"GeneratorFunction"),O(p),O(p,o,"Generator"),O(p,r,(function(){return this})),O(p,"toString",(function(){return"[object Generator]"})),(D=function(){return{w:i,m:f}})()}function O(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}O=function(e,t,n,r){function i(t,n){O(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},O(e,t,n,r)}function k(e,t){this.v=e,this.k=t}function $(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){$(i,r,o,s,a,"next",e)}function a(e){$(i,r,o,s,a,"throw",e)}s(void 0)}))}}function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}var j=function(e){var t,n=null!==(t=e.name)&&void 0!==t?t:e.application;if(!n)throw new Error("No application given. Pass --application or set one with 'appshell config set application <name>'.");return(0,d.parseApplication)(n,e.scopeId)},C=function(e){if(!f().existsSync(e))throw new Error("Resource file not found. ".concat(e));var t,n=u.Wp.load(e);if(!n||"object"!==P(n))throw new Error("".concat(e," is empty or is not a mapping."));if("Application"!==n.kind)throw new Error("".concat(e,": kind must be 'Application', got '").concat(null!==(t=n.kind)&&void 0!==t?t:"undefined","'."));if(!n.apiVersion)throw new Error("".concat(e,": apiVersion is required."));if(!n.name)throw new Error("".concat(e,": name is required."));return u.pP.apply(n,u.pP.create(n))},R=function(){var e=A(b().mark((function e(t){var n;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new d.RegistryClient(t.registry).listApplications(t.scopeId,t.owner);case 2:if((n=e.sent).length){e.next=6;break}return console.log("No applications found."),e.abrupt("return");case 6:console.table(n.map((function(e){var t;return{name:"".concat(e.scopeId,"/").concat(e.name),revision:e.revision,packages:Object.keys(null!==(t=e.packages)&&void 0!==t?t:{}).length,ephemeral:e.ephemeral,owner:e.owner}})));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),N=function(){var e=A(b().mark((function e(t){var n,r,o,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=j(t),r=n.scopeId,o=n.name,e.next=3,new d.RegistryClient(t.registry).getApplication(r,o);case 3:i=e.sent,console.log(JSON.stringify(i,null,2));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),T=function(){var e=A(b().mark((function e(t){var n,r;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new d.RegistryClient(t.registry).createApplication({name:t.name,ephemeral:t.ephemeral,shell:t.shellBundleUrl?{shellBundleUrl:t.shellBundleUrl}:void 0});case 2:n=e.sent,r=n.id,console.log(l.Ay.green("Created application ".concat(r)));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),I=function(){var e=A(b().mark((function e(t){var n,r,o;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=j(t),r=n.scopeId,o=n.name,e.next=3,new d.RegistryClient(t.registry).deleteApplication(r,o);case 3:console.log(l.Ay.green("Deleted application ".concat(r,"/").concat(o)));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),F=function(e,t){if(null!=e&&e.length)return e.reduce((function(e,n){var r=n.indexOf("=");if(r<1)throw new Error("'".concat(n,"' is not a setting. Use NAME=value."));var o=n.slice(0,r),i=n.slice(r+1),s=g(o.includes(".")?o.split("."):[void 0,o],2),a=s[0],c=s[1],u=Object.entries(t).filter((function(e){var t=g(e,2),n=t[0],r=t[1];return a?n===a:c in r})).map((function(e){return g(e,1)[0]}));if(!u.length)throw new Error("Nothing declares ".concat(o,". This package declares: ").concat(Object.entries(t).flatMap((function(e){var t=g(e,2),n=t[0],r=t[1];return Object.keys(r).map((function(e){return"".concat(n,".").concat(e)}))})).join(", ")||"no vars","."));if(u.length>1)throw new Error("".concat(c," is declared under more than one scope: ").concat(u.join(", "),". Qualify it, such as ").concat(u[0],".").concat(c,"=..."));return m(m({},e),{},y({},u[0],m(m({},e[u[0]]),{},y({},c,i))))}),{})},M=function(){var e=A(b().mark((function e(t){var n,r,o,i,s,a,c,u,p,f,h,m,y,g;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=j(t),i=o.scopeId,s=o.name,a=(0,d.parsePackage)(t.package,t.scopeId),c=a.scopeId,u=a.name,p=a.version,f=new d.RegistryClient(t.registry),null===(n=t.set)||void 0===n||!n.length){e.next=18;break}return e.next=6,f.packageManifest(c,u);case 6:if(e.t2=r=e.sent.vars,e.t1=null!==e.t2,!e.t1){e.next=10;break}e.t1=void 0!==r;case 10:if(!e.t1){e.next=14;break}e.t3=r,e.next=15;break;case 14:e.t3={};case 15:e.t0=e.t3,e.next=19;break;case 18:e.t0={};case 19:return h=e.t0,m="".concat(c,"/").concat(u,"@").concat(p),e.next=23,f.activate(i,s,m,F(t.set,h));case 23:return console.log(l.Ay.green("Activated ".concat(m," in ").concat(i,"/").concat(s))),e.next=26,f.varsReport(i,s);case 26:y=e.sent,(g=y.requirements.filter((function(e){return!e.supplied}))).length&&console.log(l.Ay.yellow(" still unsupplied: ".concat(g.map((function(e){var t=e.scope,n=e.name;return"".concat(t,".").concat(n)})).join(", "))));case 29:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),L=function(){var e=A(b().mark((function e(t){var n,r,o,i,s,a;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=j(t),r=n.scopeId,o=n.name,i=(0,d.parseApplication)(t.package,t.scopeId),s=i.scopeId,a=i.name,e.next=4,new d.RegistryClient(t.registry).deactivate(r,o,s,a);case 4:console.log(l.Ay.green("Deactivated ".concat(s,"/").concat(a," in ").concat(r,"/").concat(o)));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),B=function(){var e=A(b().mark((function e(t){var n,r,o,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=j(t),r=n.scopeId,o=n.name,e.next=3,new d.RegistryClient(t.registry).revisions(r,o,t.limit);case 3:if((i=e.sent).length){e.next=7;break}return console.log("No revisions found."),e.abrupt("return");case 7:console.table(i.map((function(e){return{revision:e.revision,actor:e.actor,reason:e.reason,createdAt:e.createdAt}})));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),U=function(){var e=A(b().mark((function e(t){var n,r,o;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=j(t),r=n.scopeId,o=n.name,e.next=3,new d.RegistryClient(t.registry).rollback(r,o,t.to);case 3:console.log(l.Ay.green("Rolled ".concat(r,"/").concat(o," back to revision ").concat(t.to)));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),q=function(){var e=A(b().mark((function e(t){var n,r,o,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=j(t),r=n.scopeId,o=n.name,e.next=3,new d.RegistryClient(t.registry).composition(r,o);case 3:i=e.sent,console.log(JSON.stringify(i,null,2));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),z=function(){var e=A(b().mark((function e(t){var n,r,o;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=j(t),r=n.scopeId,o=n.name,console.log("".concat(t.registry.replace(/\/$/,""),"/a/").concat(r,"/").concat(o));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),V=function(){var e=A(b().mark((function e(t){var n,r,o,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(0,d.parseApplication)(t.from,t.scopeId),o=null!==(n=t.to)&&void 0!==n?n:t.application){e.next=4;break}throw new Error("No target application given. Pass --to or set one with 'appshell config set application <name>'.");case 4:return i=(0,d.parseApplication)(o,t.scopeId),e.next=7,new d.RegistryClient(t.registry).syncApplication(i.scopeId,i.name,{fromScopeId:r.scopeId,fromName:r.name,mode:t.mode,include:t.include});case 7:console.log(l.Ay.green("Synced ".concat(i.scopeId,"/").concat(i.name," from ").concat(r.scopeId,"/").concat(r.name)));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),G=function(){var e=A(b().mark((function e(t){var n,r,o,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(0,d.parseApplication)(t.from,t.scopeId),o=null!==(n=t.to)&&void 0!==n?n:t.application){e.next=4;break}throw new Error("No target application given. Pass --to or set one with 'appshell config set application <name>'.");case 4:return i=(0,d.parseApplication)(o,t.scopeId),e.next=7,new d.RegistryClient(t.registry).cloneApplication(i.scopeId,i.name,{fromScopeId:r.scopeId,fromName:r.name,ephemeral:t.ephemeral});case 7:console.log(l.Ay.green("Cloned ".concat(i.scopeId,"/").concat(i.name," from ").concat(r.scopeId,"/").concat(r.name)));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),H=function(){var e=A(b().mark((function e(t){var n,r,o,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=C(t.file),e.next=3,new d.RegistryClient(t.registry).apply(o);case 3:i=e.sent,console.log(l.Ay.green("".concat(i.created?"Created":"Updated"," ").concat(i.id))),null!==(n=i.changes)&&void 0!==n&&n.length?i.changes.forEach((function(e){return console.log(l.Ay.dim(" ".concat(e)))})):null!==(r=o.spec)&&void 0!==r&&r.packages&&console.log(l.Ay.dim(" packages already match"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),K=n(5250),W=n(4273);function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}function J(){var e=ne(),t=e.m(J),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,X(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(J=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new oe(e,t)},AsyncIterator:te,async:function(e,t,n,o,s){return(r(t)?ee:Z)(i(e),t,n,o,s)},keys:Q,values:X}})()}function X(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Y(e)+" is not iterable")}function Q(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Z(e,t,n,r,o){var i=ee(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function ee(e,t,n,r,o){return new te(ne().w(e,t,n,r),o||Promise)}function te(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof oe?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(re(te.prototype),re(te.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),re(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function ne(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return re(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(re(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,re(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,re(p,"constructor",u),re(u,"constructor",c),c.displayName="GeneratorFunction",re(u,o,"GeneratorFunction"),re(p),re(p,o,"Generator"),re(p,r,(function(){return this})),re(p,"toString",(function(){return"[object Generator]"})),(ne=function(){return{w:i,m:f}})()}function re(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}re=function(e,t,n,r){function i(t,n){re(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},re(e,t,n,r)}function oe(e,t){this.v=e,this.k=t}function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ae(e,t,n){return(t=function(e){var t=function(e){if("object"!=Y(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Y(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ce(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}const ue=function(){var e,t=(e=J().mark((function e(t){var n,r,o,s,a,c,u,l,p,d;return J().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=t.config,s=t.registry,a=t.application,c=t.scopeId,u=t.authIssuer,l=t.clientId,f().existsSync(o)||(console.log("Creating configuration file at ".concat(o)),f().mkdirSync(i().dirname(o),{recursive:!0})),p=(0,W.readConfig)(o),d=(0,K.omitBy)(se(se({},p),{},{registry:null!==(n=null!=s?s:p.registry)&&void 0!==n?n:"http://localhost:7150",application:null!=a?a:p.application,scopeId:null!=c?c:p.scopeId,authIssuer:null!=u?u:p.authIssuer,clientId:null!==(r=null!=l?l:p.clientId)&&void 0!==r?r:"appshell-cli"}),K.isUndefined),(0,W.writeConfig)(o,d),console.log("Wrote ".concat(o)),d.authIssuer||console.log("\nauth-issuer is unset, so 'appshell login' will fail. Set it with:\n appshell config init --auth-issuer <issuer-url>");case 7:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){ce(i,r,o,s,a,"next",e)}function a(e){ce(i,r,o,s,a,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}();function le(e){return le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},le(e)}function pe(){var e=ge(),t=e.m(pe),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,fe(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(pe=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new be(e,t)},AsyncIterator:ye,async:function(e,t,n,o,s){return(r(t)?me:he)(i(e),t,n,o,s)},keys:de,values:fe}})()}function fe(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(le(e)+" is not iterable")}function de(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function he(e,t,n,r,o){var i=me(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function me(e,t,n,r,o){return new ye(ge().w(e,t,n,r),o||Promise)}function ye(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof be?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(ve(ye.prototype),ve(ye.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),ve(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function ge(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return ve(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(ve(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,ve(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,ve(p,"constructor",u),ve(u,"constructor",c),c.displayName="GeneratorFunction",ve(u,o,"GeneratorFunction"),ve(p),ve(p,o,"Generator"),ve(p,r,(function(){return this})),ve(p,"toString",(function(){return"[object Generator]"})),(ge=function(){return{w:i,m:f}})()}function ve(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ve=function(e,t,n,r){function i(t,n){ve(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},ve(e,t,n,r)}function be(e,t){this.v=e,this.k=t}function xe(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}const we=function(){var e,t=(e=pe().mark((function e(t){var n;return pe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.config,f().existsSync(n)){e.next=4;break}return console.log("Configuration file at ".concat(n," does not exist. Run 'appshell config init'.")),e.abrupt("return");case 4:console.log(f().readFileSync(n,"utf-8"));case 5:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){xe(i,r,o,s,a,"next",e)}function a(e){xe(i,r,o,s,a,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}();var _e=n(2399);function Ee(e){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(e)}function Se(){var e=Pe(),t=e.m(Se),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,De(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(Se=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new Ce(e,t)},AsyncIterator:Ae,async:function(e,t,n,o,s){return(r(t)?$e:ke)(i(e),t,n,o,s)},keys:Oe,values:De}})()}function De(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Ee(e)+" is not iterable")}function Oe(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function ke(e,t,n,r,o){var i=$e(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function $e(e,t,n,r,o){return new Ae(Pe().w(e,t,n,r),o||Promise)}function Ae(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof Ce?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(je(Ae.prototype),je(Ae.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),je(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function Pe(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return je(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(je(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,je(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,je(p,"constructor",u),je(u,"constructor",c),c.displayName="GeneratorFunction",je(u,o,"GeneratorFunction"),je(p),je(p,o,"Generator"),je(p,r,(function(){return this})),je(p,"toString",(function(){return"[object Generator]"})),(Pe=function(){return{w:i,m:f}})()}function je(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}je=function(e,t,n,r){function i(t,n){je(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},je(e,t,n,r)}function Ce(e,t){this.v=e,this.k=t}function Re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(n),!0).forEach((function(t){Te(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Te(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ee(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ee(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ee(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ie(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}var Fe=["registry","application","scopeId","authIssuer","clientId","apiKey","apiKeyHeader","caFile"];const Me=function(){var e,t=(e=Se().mark((function e(t){var n,r,o;return Se().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.config,r=t.value,o=(0,_e.xQ)(t.key),Fe.includes(o)){e.next=4;break}throw new Error("Unknown setting '".concat(t.key,"'. Expected one of: ").concat(Fe.join(", "),"."));case 4:(0,W.writeConfig)(n,Ne(Ne({},(0,W.readConfig)(n)),{},Te({},o,r))),console.log("Set ".concat(o," in ").concat(n));case 6:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Ie(i,r,o,s,a,"next",e)}function a(e){Ie(i,r,o,s,a,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}();var Le=n(5317);function Be(e){return Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Be(e)}function Ue(){var e=Ke(),t=e.m(Ue),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,qe(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(Ue=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new Ye(e,t)},AsyncIterator:He,async:function(e,t,n,o,s){return(r(t)?Ge:Ve)(i(e),t,n,o,s)},keys:ze,values:qe}})()}function qe(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Be(e)+" is not iterable")}function ze(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Ve(e,t,n,r,o){var i=Ge(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function Ge(e,t,n,r,o){return new He(Ke().w(e,t,n,r),o||Promise)}function He(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof Ye?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(We(He.prototype),We(He.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),We(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function Ke(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return We(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(We(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,We(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,We(p,"constructor",u),We(u,"constructor",c),c.displayName="GeneratorFunction",We(u,o,"GeneratorFunction"),We(p),We(p,o,"Generator"),We(p,r,(function(){return this})),We(p,"toString",(function(){return"[object Generator]"})),(Ke=function(){return{w:i,m:f}})()}function We(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}We=function(e,t,n,r){function i(t,n){We(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},We(e,t,n,r)}function Ye(e,t){this.v=e,this.k=t}function Je(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}var Xe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"dist",n=i().resolve(e,t,".appshell-dev.json");if(f().existsSync(n))try{var r=JSON.parse(f().readFileSync(n,"utf-8"));if(1!==(null==r?void 0:r.version)||!r.origin)return;return r}catch(e){return}},Qe=function(){var e,t=(e=Ue().mark((function e(t,n){var r,o,i,s,a,c;return Ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.length){e.next=2;break}return e.abrupt("return",{verdict:"unconfirmed",reason:"there are no remotes to check for"});case 2:return e.prev=2,e.next=5,fetch("".concat(t.origin,"/appshell.manifest.json"),{signal:AbortSignal.timeout(2e3)});case 5:r=e.sent,e.next=11;break;case 8:return e.prev=8,e.t0=e.catch(2),e.abrupt("return",{verdict:"unconfirmed",reason:"nothing answered at ".concat(t.origin)});case 11:if(r.ok){e.next=13;break}return e.abrupt("return",{verdict:"unconfirmed",reason:"".concat(t.origin," answered ").concat(r.status," for its manifest")});case 13:return e.prev=13,e.next=16,r.json();case 16:s=e.sent,o=Object.keys(null!==(i=null==s?void 0:s.remotes)&&void 0!==i?i:{}),e.next=23;break;case 20:return e.prev=20,e.t1=e.catch(13),e.abrupt("return",{verdict:"unconfirmed",reason:"".concat(t.origin," did not answer with a manifest")});case 23:if((a=n.filter((function(e){return o.includes(e)}))).length!==n.length){e.next=26;break}return e.abrupt("return",{verdict:"serving"});case 26:if(!a.length){e.next=29;break}return c=n.filter((function(e){return!a.includes(e)})),e.abrupt("return",{verdict:"unconfirmed",reason:"".concat(t.origin," is not serving ").concat(c.join(", "))});case 29:return e.abrupt("return",o.length?{verdict:"displaced",serving:o}:{verdict:"unconfirmed",reason:"".concat(t.origin," is serving no remotes")});case 30:case"end":return e.stop()}}),e,null,[[2,8],[13,20]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Je(i,r,o,s,a,"next",e)}function a(e){Je(i,r,o,s,a,"throw",e)}s(void 0)}))});return function(e,n){return t.apply(this,arguments)}}(),Ze=function(e,t,n){if(t&&n)return{name:t,version:n};var r=i().resolve(e,"package.json");if(!f().existsSync(r))throw new Error("Cannot determine which package this is: no package.json at ".concat(e,"."));var o=JSON.parse(f().readFileSync(r,"utf-8")),s=o.name,a=o.version,c={name:null!=t?t:null==s?void 0:s.replace(/^@[^/]+\//,""),version:null!=n?n:a};if(!c.name||!c.version)throw new Error("Cannot determine which package this is: ".concat(r," needs a name and version."));return c},et=n(4942),tt=n.n(et),nt=function(e){return JSON.parse(f().readFileSync(e,"utf-8"))},rt=function(e){var t=i().join(e,"package.json");if(f().existsSync(t)){var n=nt(t).workspaces,r=Array.isArray(n)?n:null==n?void 0:n.packages;if(null!=r&&r.length)return r}var o=i().join(e,"lerna.json");if(f().existsSync(o)){var s=nt(o).packages;if(null!=s&&s.length)return s}},ot=function(e){var t=i().join(e,"appshell.config.yaml"),n=i().join(e,"package.json");if(f().existsSync(t)&&f().existsSync(n)){var r=nt(n),o=r.name,s=r.version;if(o&&s)try{var a,c=u.Wp.load(t);return{dir:e,name:o.replace(/^@[^/]+\//,""),version:s,remotes:Object.keys(null!==(a=null==c?void 0:c.remotes)&&void 0!==a?a:{})}}catch(e){return}}},it=function(e){var t,n=function(e){for(var t=i().resolve(e);;){if(rt(t))return t;var n=i().dirname(t);if(n===t)return;t=n}}(e);if(n){var r=(null!==(t=rt(n))&&void 0!==t?t:[]).map((function(e){return e.replace(/\/+$/,"")}));return{root:n,packages:tt().sync(r,{cwd:n,absolute:!0,onlyDirectories:!0,ignore:["**/node_modules/**"]}).map(ot).filter((function(e){return Boolean(e)})).sort((function(e,t){return e.name.localeCompare(t.name)}))}}};function st(e){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},st(e)}function at(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?at(Object(n),!0).forEach((function(t){ut(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ut(e,t,n){return(t=function(e){var t=function(e){if("object"!=st(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=st(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==st(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(e,t)||ft(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pt(e){return function(e){if(Array.isArray(e))return dt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ft(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ft(e,t){if(e){if("string"==typeof e)return dt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dt(e,t):void 0}}function dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ht(){var e=xt(),t=e.m(ht),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,mt(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(ht=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new _t(e,t)},AsyncIterator:bt,async:function(e,t,n,o,s){return(r(t)?vt:gt)(i(e),t,n,o,s)},keys:yt,values:mt}})()}function mt(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(st(e)+" is not iterable")}function yt(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function gt(e,t,n,r,o){var i=vt(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function vt(e,t,n,r,o){return new bt(xt().w(e,t,n,r),o||Promise)}function bt(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof _t?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(wt(bt.prototype),wt(bt.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),wt(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function xt(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return wt(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(wt(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,wt(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,wt(p,"constructor",u),wt(u,"constructor",c),c.displayName="GeneratorFunction",wt(u,o,"GeneratorFunction"),wt(p),wt(p,o,"Generator"),wt(p,r,(function(){return this})),wt(p,"toString",(function(){return"[object Generator]"})),(xt=function(){return{w:i,m:f}})()}function wt(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}wt=function(e,t,n,r){function i(t,n){wt(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},wt(e,t,n,r)}function _t(e,t){this.v=e,this.k=t}function Et(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function St(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Et(i,r,o,s,a,"next",e)}function a(e){Et(i,r,o,s,a,"throw",e)}s(void 0)}))}}var Dt=function(e){if(!e.application)throw new Error("No application given. Pass --application or set one with 'appshell config set application <name>'.");return(0,d.parseApplication)(e.application,e.scopeId)},Ot=function(e){return e.url?e.url:e.port?"http://localhost:".concat(e.port):void 0},kt=function(e,t){if(!t)return e;var n=new URL(t),r=new URL(e);return r.protocol=n.protocol,r.host=n.host,r.toString()},$t=function(){var e=St(ht().mark((function e(t,n,r){var o;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Qe(t,n);case 2:if("displaced"!==(o=e.sent).verdict){e.next=5;break}throw new Error("".concat(t.origin," is serving ").concat(o.serving.join(", "),", not ").concat(r,". That dev-server ")+"hint is left over from another run. Pass --port to say where ".concat(r," is running."));case 5:return"serving"===o.verdict?console.log(l.Ay.dim("Found ".concat(r," serving at ").concat(t.origin))):(console.log(l.Ay.yellow("Could not confirm a dev server: ".concat(o.reason,"."))),console.log(l.Ay.yellow("Redirecting to ".concat(t.origin," anyway. Start it, or pass --port if it is elsewhere.")))),e.abrupt("return",t.origin);case 7:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),At=function(){var e=St(ht().mark((function e(t,n,r){var o,i,s,a,c,u,l,p,f,d,h,m;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=null!==(o=Ot(t))&&void 0!==o?o:Xe(process.cwd())){e.next=3;break}return e.abrupt("return",{});case 3:return c=null!==(i=t.package)&&void 0!==i?i:Ze(process.cwd()).name,e.next=6,n.packageManifest(r,c);case 6:if(u=e.sent,(l=u.remotes)&&Object.keys(l).length){e.next=10;break}throw new Error("".concat(r,"/").concat(c," publishes no remotes."));case 10:if(p=null!==(s=t.remote)&&void 0!==s&&s.length?new Set(t.remote):void 0,!(f=pt(null!=p?p:[]).filter((function(e){return!l[e]}))).length){e.next=14;break}throw new Error("".concat(r,"/").concat(c," does not publish ").concat(f.join(", "),"."));case 14:if(d=Object.entries(l).filter((function(e){var t=lt(e,1)[0];return!p||p.has(t)})),"string"!=typeof a){e.next=19;break}e.t0=a,e.next=22;break;case 19:return e.next=21,$t(a,d.map((function(e){return lt(e,1)[0]})),"".concat(r,"/").concat(c));case 21:e.t0=e.sent;case 22:return h=e.t0,m=function(e){return"".concat(r,"/").concat(c,"/").concat(e.split("/").slice(1).join("/"))},e.abrupt("return",d.reduce((function(e,t){var n=lt(t,2),r=n[0],o=n[1];return ct(ct({},e),{},ut({},m(r),{remoteEntryUrl:kt(o.remoteEntryUrl,h),manifestUrl:kt(o.manifestUrl,h)}))}),{}));case 25:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),Pt={darwin:"open",win32:"start"},jt=function(e){var t,n=null!==(t=Pt[process.platform])&&void 0!==t?t:"xdg-open";try{(0,Le.spawn)(n,[e],{detached:!0,stdio:"ignore",shell:"win32"===process.platform}).on("error",(function(){})).unref()}catch(e){}},Ct=function(e){if(e.includes("/"))return{ref:e};var t=lt(e.split("-"),2),n=t[0],r=t[1];if(!n||!r)throw new Error("'".concat(e,"' is not a theme. Use 'base-accent', such as 'midnight-ember', or a published ")+"ref such as 'acme/brand@1.0.0'.");return{base:n,accent:r}},Rt=function(e){return["dev"===e.shellFlavor&&"development shell",e.remotes.length&&"".concat(e.remotes.length," redirected"),e.theme&&"theme ".concat(e.theme)].filter(Boolean).join(", ")||"no changes"},Nt=function(e,t){var n=e.remotes.filter((function(e){return!t[e]}));return[].concat(pt(Object.entries(t).map((function(e){var t=lt(e,2),n=t[0],r=t[1];return" ".concat(n," ").concat(l.Ay.dim("->")," ").concat(r.remoteEntryUrl)}))),pt(n.map((function(e){return" ".concat(e," ").concat(l.Ay.dim("-> still redirected from an earlier run"))}))),[!e.remotes.length&&l.Ay.dim(" no remotes redirected (pass --port to point this package at your dev server)"),"dev"===e.shellFlavor&&" ".concat(l.Ay.dim("shell")," ").concat(l.Ay.dim("->")," development bundle"),e.theme&&" ".concat(l.Ay.dim("theme")," ").concat(l.Ay.dim("->")," ").concat(e.theme)]).filter((function(e){return Boolean(e)}))},Tt=function(){var e=St(ht().mark((function e(t){var n,r,o,i,s,a,c,u,p;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Dt(t),r=n.scopeId,o=n.name,i=new d.RegistryClient(t.registry),e.next=4,At(t,i,r);case 4:if(s=e.sent,a=ct({remotes:s,shellFlavor:t.shell},t.theme?{theme:Ct(t.theme)}:{}),Object.keys(s).length||"dev"===t.shell||t.theme){e.next=8;break}throw new Error("Nothing to overlay on ".concat(r,"/").concat(o,". Pass --port to redirect this package at ")+"your dev server, --shell dev for the development bundle, or --theme to try a theme.");case 8:return e.next=10,i.createOverlay(r,o,a);case 10:c=e.sent,u=(0,d.absoluteUrl)(c.confirmUrl,i.baseUrl),p=!1===c.created,console.log(l.Ay.green("\nOverlay ".concat(p?"extended":"opened"," on ").concat(r,"/").concat(o))),Nt(c,s).forEach((function(e){return console.log(e)})),p?(console.log(l.Ay.dim("\nAlready applied in the browser that confirmed this overlay.")),console.log(l.Ay.dim("Reload the page, or confirm in another browser: ".concat(u,"\n")))):(console.log(l.Ay.bold("\nOpen this in your browser to apply it:")),console.log(" ".concat(l.Ay.cyan(u),"\n"))),console.log(l.Ay.dim("Expires ".concat(new Date(c.expiresAt).toLocaleString()," · stop with: appshell dev stop ").concat(c.id))),t.open&&!p&&jt(u);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),It=function(e,t,n,r){var o=Math.max.apply(Math,pt(e.map((function(e){return e.name.length}))));e.forEach((function(e){var i,s,a=null==(s=null===(i=t["".concat(r,"/").concat(e.name)])||void 0===i?void 0:i.packageId)?void 0:s.split("@").pop(),c=new Set(e.remotes),u=n.filter((function(e){return e.remotes.some((function(e){return c.has(e)}))})),p=a?a===e.version?l.Ay.dim("activated ".concat(a)):l.Ay.yellow("activated ".concat(a,", local ").concat(e.version)):l.Ay.yellow("not activated"),f=u.length?" ".concat(l.Ay.cyan("overlay ".concat(u[0].id.slice(0,8)))," ").concat(l.Ay.dim("(".concat(u[0].remotes.filter((function(e){return c.has(e)})).length," of its remotes)"))):"";console.log(" ".concat(e.name.padEnd(o)," ").concat(p).concat(f))}))},Ft=function(){var e=St(ht().mark((function e(t,n,r){var o;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(r.map(function(){var e=St(ht().mark((function e(r){return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=r,e.next=4,t.packageManifest(n,r);case 4:return e.t1=e.sent,e.abrupt("return",[e.t0,e.t1]);case 8:return e.prev=8,e.t2=e.catch(0),e.abrupt("return",[r,void 0]);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t){return e.apply(this,arguments)}}()));case 2:return o=e.sent,e.abrupt("return",o.reduce((function(e,t){var n,r=lt(t,2),o=r[0],i=r[1];return Object.keys(null!==(n=null==i?void 0:i.remotes)&&void 0!==n?n:{}).forEach((function(t){e[t]=o})),e}),{}));case 4:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),Mt=function(e,t){return e.reduce((function(e,n){var r,o,i=null!==(r=t[n])&&void 0!==r?r:"unknown package";return ct(ct({},e),{},ut({},i,[].concat(pt(null!==(o=e[i])&&void 0!==o?o:[]),[n])))}),{})},Lt=function(){var e=St(ht().mark((function e(t){var n,r,o,i,s,a,c,u,p,f,h,m,y;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Dt(t),o=r.scopeId,i=r.name,s=new d.RegistryClient(t.registry),e.next=4,Promise.all([s.listOverlays(o,i),s.getApplication(o,i)]);case 4:if(a=e.sent,c=lt(a,2),u=c[0],p=c[1],f=Object.keys(null!==(n=p.packages)&&void 0!==n?n:{}).map((function(e){return e.split("/").pop()})),null!=(h=it(process.cwd()))&&h.packages.length&&(console.log(l.Ay.bold("\n".concat(h.root))+l.Ay.dim(" · ".concat(h.packages.length," packages · ").concat(o,"/").concat(i,"\n"))),It(h.packages,null!==(m=p.packages)&&void 0!==m?m:{},u,o)),u.length){e.next=14;break}return console.log("\nNo overlays open on ".concat(o,"/").concat(i,".")),e.abrupt("return");case 14:return e.next=16,Ft(s,o,f);case 16:y=e.sent,console.log(l.Ay.bold("\nOverlays open on ".concat(o,"/").concat(i,"\n"))),u.forEach((function(e){console.log(" ".concat(l.Ay.cyan(e.id)," ").concat(Rt(e))),Object.entries(Mt(e.remotes,y)).forEach((function(e){var t=lt(e,2),n=t[0],r=t[1];console.log(" ".concat(n," ").concat(l.Ay.dim(r.join(", ")))),console.log(l.Ay.dim(" stop: appshell dev stop --pkg ".concat(n)))})),console.log(l.Ay.dim(" opened by ".concat(e.owner," · expires ").concat(new Date(e.expiresAt).toLocaleString()))),console.log(l.Ay.dim(" apply: ".concat((0,d.absoluteUrl)(e.confirmUrl,s.baseUrl)))),console.log(l.Ay.dim(" close: appshell dev stop ".concat(e.id)))})),console.log(l.Ay.dim("\nListed overlays are open on the registry; each only applies to a browser that confirmed it."));case 20:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Bt=function(){var e=St(ht().mark((function e(t,n,r,o,i){var s,a,c,u,l;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.packageManifest(r,i);case 2:return s=e.sent,a=s.remotes,c=Object.keys(null!=a?a:{}),e.next=7,n.listOverlays(r,o);case 7:if(u=e.sent,(l=t.id?u.filter((function(e){return e.id===t.id})):u.filter((function(e){return e.remotes.some((function(e){return c.includes(e)}))}))).length){e.next=11;break}throw new Error("No open overlay on ".concat(r,"/").concat(o," is redirecting ").concat(i,"."));case 11:if(!(l.length>1)){e.next=13;break}throw new Error("More than one overlay is redirecting ".concat(i,". Name one: ").concat(l.map((function(e){return"appshell dev stop ".concat(e.id," --pkg ").concat(i)})).join(", ")));case 13:return e.abrupt("return",{id:l[0].id,keys:c});case 14:case"end":return e.stop()}}),e)})));return function(t,n,r,o,i){return e.apply(this,arguments)}}(),Ut=function(){var e=St(ht().mark((function e(t){var n,r,o,i,s,a,c,u,p,f,h;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Dt(t),r=n.scopeId,o=n.name,i=new d.RegistryClient(t.registry),void 0===t.package){e.next=16;break}return s=t.package||Ze(process.cwd()).name,e.next=6,Bt(t,i,r,o,s);case 6:return a=e.sent,c=a.id,u=a.keys,e.next=11,i.stopRedirecting(r,o,c,u);case 11:return p=e.sent,f=p.remotes,console.log(l.Ay.green("Stopped redirecting ".concat(s,"."))),console.log(f.length?l.Ay.dim(" still redirected: ".concat(f.join(", "))):l.Ay.dim(" nothing redirected now; the overlay still selects the shell bundle")),e.abrupt("return");case 16:if(t.id||t.all){e.next=18;break}throw new Error("Pass an overlay id, --package to stop just one package, or --all to stop every overlay on this application.");case 18:if(!t.id){e.next=22;break}e.t0=[t.id],e.next=25;break;case 22:return e.next=24,i.listOverlays(r,o);case 24:e.t0=e.sent.map((function(e){return e.id}));case 25:if((h=e.t0).length){e.next=29;break}return console.log("No overlays open on ".concat(r,"/").concat(o,".")),e.abrupt("return");case 29:return e.next=31,Promise.all(h.map(function(){var e=St(ht().mark((function e(t){return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=ct,e.t1=ct,e.t2={},e.next=5,i.closeOverlay(r,o,t);case 5:return e.t3=e.sent,e.t4=(0,e.t1)(e.t2,e.t3),e.t5={},e.t6={id:t},e.abrupt("return",(0,e.t0)(e.t4,e.t5,e.t6));case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 31:e.sent.forEach((function(e){var t=e.id,n=e.revoked;return console.log(n?l.Ay.green("Stopped overlay ".concat(t,".")):l.Ay.yellow("No overlay ".concat(t," to stop; it may have already expired.")))})),console.log(l.Ay.dim("A browser holding a stopped overlay reverts on its next load of the application."));case 34:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qt="appshell.template.json",zt=new Set(["node_modules",".git","coverage",".next",".turbo"]),Vt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>4?[]:f().readdirSync(e,{withFileTypes:!0}).flatMap((function(n){return n.isDirectory()?zt.has(n.name)?[]:Vt(i().join(e,n.name),t+1):n.name===qt?[i().join(e,n.name)]:[]}))},Gt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:process.cwd();if(e){if(!f().existsSync(e))throw new Error("Manifest template not found: ".concat(e));return e}var n=i().join(t,qt);if(f().existsSync(n))return n;var r=Vt(t);if(1===r.length)return console.log("Using ".concat(i().relative(t,r[0]))),r[0];if(r.length>1){var o=r.map((function(e){return" ".concat(i().relative(t,e))})).join("\n");throw new Error("Several manifest templates found; pass --template to choose one:\n".concat(o))}throw new Error("No ".concat(qt," found under ").concat(t,". Build the package first, or pass --template."))};function Ht(e){return Ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ht(e)}function Kt(){var e=Zt(),t=e.m(Kt),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,Wt(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(Kt=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new tn(e,t)},AsyncIterator:Qt,async:function(e,t,n,o,s){return(r(t)?Xt:Jt)(i(e),t,n,o,s)},keys:Yt,values:Wt}})()}function Wt(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Ht(e)+" is not iterable")}function Yt(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Jt(e,t,n,r,o){var i=Xt(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function Xt(e,t,n,r,o){return new Qt(Zt().w(e,t,n,r),o||Promise)}function Qt(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof tn?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(en(Qt.prototype),en(Qt.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),en(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function Zt(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return en(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(en(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,en(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,en(p,"constructor",u),en(u,"constructor",c),c.displayName="GeneratorFunction",en(u,o,"GeneratorFunction"),en(p),en(p,o,"Generator"),en(p,r,(function(){return this})),en(p,"toString",(function(){return"[object Generator]"})),(Zt=function(){return{w:i,m:f}})()}function en(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}en=function(e,t,n,r){function i(t,n){en(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},en(e,t,n,r)}function tn(e,t){this.v=e,this.k=t}function nn(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}const rn=function(){var e,t=(e=Kt().mark((function e(t){var n,r,o,s;return Kt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.outDir,r=t.outFile,e.prev=1,o=Gt(t.template),console.log("generating manifest --template=".concat(o," --out-dir=").concat(n," --out-file=").concat(r)),e.next=6,(0,u.V$)(o);case 6:(s=e.sent)&&(f().existsSync(n)||f().mkdirSync(n),f().writeFileSync(i().join(n,r),JSON.stringify(s))),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),console.error("Error generating manifest",e.t0.message);case 13:case"end":return e.stop()}}),e,null,[[1,10]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){nn(i,r,o,s,a,"next",e)}function a(e){nn(i,r,o,s,a,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}();var on=n(4646),sn=n(950);function an(e){return an="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},an(e)}function cn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function un(){var e=mn(),t=e.m(un),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,ln(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(un=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new gn(e,t)},AsyncIterator:hn,async:function(e,t,n,o,s){return(r(t)?dn:fn)(i(e),t,n,o,s)},keys:pn,values:ln}})()}function ln(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(an(e)+" is not iterable")}function pn(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function fn(e,t,n,r,o){var i=dn(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function dn(e,t,n,r,o){return new hn(mn().w(e,t,n,r),o||Promise)}function hn(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof gn?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(yn(hn.prototype),yn(hn.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),yn(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function mn(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return yn(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(yn(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,yn(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,yn(p,"constructor",u),yn(u,"constructor",c),c.displayName="GeneratorFunction",yn(u,o,"GeneratorFunction"),yn(p),yn(p,o,"Generator"),yn(p,r,(function(){return this})),yn(p,"toString",(function(){return"[object Generator]"})),(mn=function(){return{w:i,m:f}})()}function yn(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}yn=function(e,t,n,r){function i(t,n){yn(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},yn(e,t,n,r)}function gn(e,t){this.v=e,this.k=t}function vn(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function bn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){vn(i,r,o,s,a,"next",e)}function a(e){vn(i,r,o,s,a,"throw",e)}s(void 0)}))}}var xn=function(e){return new Promise((function(t){setTimeout(t,1e3*e)}))},wn=function(){var e=bn(un().mark((function e(t){var n,r,o;return un().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(t.replace(/\/$/,""),"/.well-known/openid-configuration"),e.next=3,on.A.get(n);case 3:return r=e.sent,o=r.data,e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_n=function(e){return new URLSearchParams(Object.entries(e).filter((function(e){return void 0!==(t=e,n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(t,n)||function(e,t){if(e){if("string"==typeof e)return cn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cn(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];var t,n})))},En=function(){var e=bn(un().mark((function e(t,n,r,o){var i,s;return un().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,on.A.post(t,_n({grant_type:"client_credentials",client_id:n,client_secret:r,scope:o}));case 2:return i=e.sent,s=i.data,e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)})));return function(t,n,r,o){return e.apply(this,arguments)}}(),Sn=function(){var e=bn(un().mark((function e(t,n,r,o){var i,s,a,c,u,p,f,d,h,m;return un().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,on.A.post(t,_n({client_id:r,scope:o}));case 2:a=e.sent,c=a.data,console.log("\nTo sign in, visit ".concat(l.Ay.cyan(null!==(i=c.verification_uri_complete)&&void 0!==i?i:c.verification_uri))),c.verification_uri_complete||console.log("and enter the code ".concat(l.Ay.bold.yellow(c.user_code))),console.log("\nWaiting for authorization..."),u=null!==(s=c.interval)&&void 0!==s?s:5,p=Date.now()+1e3*c.expires_in;case 9:if(!(Date.now()<p)){e.next=31;break}return e.next=12,xn(u);case 12:return e.prev=12,e.next=15,on.A.post(n,_n({grant_type:"urn:ietf:params:oauth:grant-type:device_code",device_code:c.device_code,client_id:r}));case 15:return f=e.sent,d=f.data,e.abrupt("return",d);case 20:if(e.prev=20,e.t0=e.catch(12),"slow_down"!==(m=null===(h=e.t0.response)||void 0===h||null===(h=h.data)||void 0===h?void 0:h.error)){e.next=27;break}u+=5,e.next=29;break;case 27:if("authorization_pending"===m){e.next=29;break}throw new Error("Authorization failed: ".concat(null!=m?m:e.t0.message));case 29:e.next=9;break;case 31:throw new Error("Timed out waiting for authorization.");case 32:case"end":return e.stop()}}),e,null,[[12,20]])})));return function(t,n,r,o){return e.apply(this,arguments)}}();const Dn=function(){var e=bn(un().mark((function e(t){var n,r,o,i,s,a,c,u,p;return un().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.registry,r=t.authIssuer,o=t.clientId,i=t.clientSecret,s=t.scope,r){e.next=3;break}throw new Error("No auth issuer configured. Run 'appshell config set auth-issuer <url>' or pass --auth-issuer.");case 3:return e.next=5,wn(r);case 5:if(a=e.sent,c=a.device_authorization_endpoint,u=a.token_endpoint,!i){e.next=14;break}return e.next=11,En(u,o,i,s);case 11:p=e.sent,e.next=21;break;case 14:if(!c){e.next=20;break}return e.next=17,Sn(c,u,o,s);case 17:p=e.sent,e.next=21;break;case 20:throw new Error("".concat(r," does not advertise a device authorization endpoint. Pass --client-secret to use client credentials."));case 21:(0,sn.xg)(n,{accessToken:p.access_token,refreshToken:p.refresh_token,expiresAt:p.expires_in?Date.now()+1e3*p.expires_in:void 0}),console.log(l.Ay.green("Logged in to ".concat(n)));case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();var On=function(){var e=bn(un().mark((function e(t){return un().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(0,sn.n4)(t.registry),console.log("Logged out of ".concat(t.registry));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),kn=n(2234),$n=n.n(kn),An=n(6475);function Pn(e){return Pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pn(e)}function jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jn(Object(n),!0).forEach((function(t){Rn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rn(e,t,n){return(t=function(e){var t=function(e){if("object"!=Pn(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Pn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Pn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nn(){var e=Bn(),t=e.m(Nn),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,Tn(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(Nn=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new qn(e,t)},AsyncIterator:Ln,async:function(e,t,n,o,s){return(r(t)?Mn:Fn)(i(e),t,n,o,s)},keys:In,values:Tn}})()}function Tn(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Pn(e)+" is not iterable")}function In(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Fn(e,t,n,r,o){var i=Mn(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function Mn(e,t,n,r,o){return new Ln(Bn().w(e,t,n,r),o||Promise)}function Ln(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof qn?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(Un(Ln.prototype),Un(Ln.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),Un(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function Bn(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return Un(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(Un(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Un(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,Un(p,"constructor",u),Un(u,"constructor",c),c.displayName="GeneratorFunction",Un(u,o,"GeneratorFunction"),Un(p),Un(p,o,"Generator"),Un(p,r,(function(){return this})),Un(p,"toString",(function(){return"[object Generator]"})),(Bn=function(){return{w:i,m:f}})()}function Un(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Un=function(e,t,n,r){function i(t,n){Un(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Un(e,t,n,r)}function qn(e,t){this.v=e,this.k=t}function zn(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function Vn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){zn(i,r,o,s,a,"next",e)}function a(e){zn(i,r,o,s,a,"throw",e)}s(void 0)}))}}var Gn=function(){var e=Vn(Nn().mark((function e(t,n,r){var o;return Nn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o="".concat(t,"/package.json"),f().existsSync(o)){e.next=3;break}throw new Error("Package spec not found at ".concat(o));case 3:return e.abrupt("return",JSON.parse(f().readFileSync(o,"utf-8")));case 4:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),Hn=function(e){return e.dependencies.reduce((function(e,t){var n,r,o=null!==(n=t.baseline)&&void 0!==n?n:null===(r=t.requests.find((function(e){return e.requiredVersion})))||void 0===r?void 0:r.requiredVersion;return o?(e[t.shareScope]=Cn(Cn({},e[t.shareScope]),{},Rn({},t.packageName,o)),e):e}),{})},Kn=function(){var e=Vn(Nn().mark((function e(t,n,r){var o,i,s,a;return Nn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=2;break}throw new Error("No application given. Pass --application or set one with 'appshell config set application <name>'.");case 2:return o=(0,d.parseApplication)(n,r),i=o.scopeId,s=o.name,e.next=5,new d.RegistryClient(t).sharedDeps(i,s);case 5:return(a=e.sent).conflicts&&console.warn("".concat(a.conflicts," shared dependency conflict(s) already exist in ").concat(i,"/").concat(s,".")),e.abrupt("return",Hn(a));case 8:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();function Wn(e){return Wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wn(e)}function Yn(){var e=tr(),t=e.m(Yn),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,Jn(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(Yn=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new rr(e,t)},AsyncIterator:er,async:function(e,t,n,o,s){return(r(t)?Zn:Qn)(i(e),t,n,o,s)},keys:Xn,values:Jn}})()}function Jn(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Wn(e)+" is not iterable")}function Xn(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Qn(e,t,n,r,o){var i=Zn(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function Zn(e,t,n,r,o){return new er(tr().w(e,t,n,r),o||Promise)}function er(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof rr?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(nr(er.prototype),nr(er.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),nr(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function tr(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return nr(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(nr(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,nr(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,nr(p,"constructor",u),nr(u,"constructor",c),c.displayName="GeneratorFunction",nr(u,o,"GeneratorFunction"),nr(p),nr(p,o,"Generator"),nr(p,r,(function(){return this})),nr(p,"toString",(function(){return"[object Generator]"})),(tr=function(){return{w:i,m:f}})()}function nr(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}nr=function(e,t,n,r){function i(t,n){nr(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},nr(e,t,n,r)}function rr(e,t){this.v=e,this.k=t}function or(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function ir(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){or(i,r,o,s,a,"next",e)}function a(e){or(i,r,o,s,a,"throw",e)}s(void 0)}))}}function sr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ar(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ar(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var cr=function(e,t,n){return 1===e?t:n},ur=function(e){switch(e){case"conflict":return l.Ay.red;case"missing":return l.Ay.yellow;case"satisfied":return l.Ay.green;default:return l.Ay.white}},lr=function(e){switch(e){case"conflict":return"✗";case"missing":return"⚠";case"satisfied":return"✔";default:return l.Ay.white}},pr=function(e){var t=(0,An.C)(e.conflicts),n=(0,An.C)(e.missing),r=(0,An.C)(e.satisfied).concat(n).concat(t).flat().reduce((function(e,t){var n=t.baselineModule;return e[n]||(e[n]=[]),e[n].push(t),e}),{});Object.entries(r).forEach((function(e){var t=sr(e,2),n=t[0],r=t[1],o=function(e){var t,n,r=null===(t=(0,K.first)(e))||void 0===t?void 0:t.sampleModule,o=null===(n=(0,K.first)(e))||void 0===n?void 0:n.baselineModule,i=new($n())({head:["",l.Ay.white("Package"),l.Ay.white(r),l.Ay.white(o)]});return e.forEach((function(e){var t=ur(e.status);i.push([t(lr(e.status)),t(e.packageName),t(e.sampleVersion),t(e.baselineVersion)])})),i}(r);console.group(function(e,t){var n=t.filter((function(e){return"conflict"===e.status}));return l.Ay.bold.yellow("Found ".concat(n.length," shared ").concat(cr(n.length,"dependency","dependencies")," out of sync with ").concat(e))}(n,r)),console.log(o.toString()),console.groupEnd()}))},fr=function(e){var t=e.flatMap((function(e){return Object.values(e.conflicts)})).sort((function(e,t){return e.packageName<t.packageName?-1:e.packageName>t.packageName?1:0})),n=(0,K.uniq)(t.map((function(e){return e.packageName}))).length,r=(0,K.uniq)(t.map((function(e){return e.baselineModule}))).length;console.log(l.Ay.bold.red("\nSummary: ".concat(n," ").concat(cr(n,"package","packages")," out of sync across ").concat(r," ").concat(cr(r,"module","modules"))));var o=function(e){var t=new($n())({head:["",l.Ay.white("Package"),l.Ay.white("Source Module"),l.Ay.white("Source Version"),l.Ay.white("Baseline Module"),l.Ay.white("Baseline Version"),l.Ay.white("Recommended Version")]});return e.forEach((function(e){var n=ur(e.status);t.push([n(lr(e.status)),n(e.packageName),n(e.sampleModule),n(e.sampleVersion),n(e.baselineModule),n(e.baselineVersion),"".concat(e.packageName,"@").concat(e.baselineVersion)])})),t}(t);console.log(o.toString())};const dr=function(){var e=ir(Yn().mark((function e(t){var n,r,o,i,s,a,c,l,p,f,d;return Yn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.apiKey,r=t.apiKeyHeader,o=t.workingDir,i=t.registry,s=t.application,a=t.scopeId,c=t.manager,e.prev=1,console.log("outdated --working-dir=".concat(o," --registry=").concat(i," --manager=").concat(c)),e.next=5,Gn(o,n,r);case 5:return l=e.sent,e.next=8,Kn(i,s,a);case 8:return p=e.sent,console.debug("Shared modules:",JSON.stringify(p,null,2)),f=Object.entries(p).map(function(){var e=ir(Yn().mark((function e(t){var n,r,o,i;return Yn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=sr(t,2),r=n[0],o=n[1],e.next=3,(0,u.nN)(l,{name:r,shared:o});case 3:return i=e.sent,pr(i),e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=13,Promise.all(f);case 13:d=e.sent,fr(d),e.next=20;break;case 17:e.prev=17,e.t0=e.catch(1),console.error("Error analyzing outdated shared dependencies",e.t0.message);case 20:case"end":return e.stop()}}),e,null,[[1,17]])})));return function(t){return e.apply(this,arguments)}}(),hr=require("chokidar");var mr=n.n(hr);function yr(e){return yr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yr(e)}function gr(){var e=Er(),t=e.m(gr),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,vr(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(gr=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new Dr(e,t)},AsyncIterator:_r,async:function(e,t,n,o,s){return(r(t)?wr:xr)(i(e),t,n,o,s)},keys:br,values:vr}})()}function vr(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(yr(e)+" is not iterable")}function br(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function xr(e,t,n,r,o){var i=wr(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function wr(e,t,n,r,o){return new _r(Er().w(e,t,n,r),o||Promise)}function _r(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof Dr?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(Sr(_r.prototype),Sr(_r.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),Sr(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function Er(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return Sr(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(Sr(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Sr(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,Sr(p,"constructor",u),Sr(u,"constructor",c),c.displayName="GeneratorFunction",Sr(u,o,"GeneratorFunction"),Sr(p),Sr(p,o,"Generator"),Sr(p,r,(function(){return this})),Sr(p,"toString",(function(){return"[object Generator]"})),(Er=function(){return{w:i,m:f}})()}function Sr(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Sr=function(e,t,n,r){function i(t,n){Sr(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Sr(e,t,n,r)}function Dr(e,t){this.v=e,this.k=t}function Or(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function kr(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Or(i,r,o,s,a,"next",e)}function a(e){Or(i,r,o,s,a,"throw",e)}s(void 0)}))}}var $r=function(){var e=kr(gr().mark((function e(t){var n,r,o,i,s,a,c,p,d,h,m,y,g,v;return gr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.registry,o=t.force,i=Gt(t.template),s=(0,sn.E7)(r),e.next=5,(0,u.V$)(i);case 5:if(a=e.sent){e.next=8;break}throw new Error("No manifest was generated from ".concat(i,"."));case 8:return c=JSON.parse(f().readFileSync(i,"utf-8")).visibility,p=null!==(n=t.visibility)&&void 0!==n?n:c,d=Ze(process.cwd(),t.name,t.packageVersion),h=d.name,m=d.version,e.next=13,(0,u.mk)({registry:r,token:s,name:h,version:m,manifest:a,visibility:p,force:o});case 13:return y=e.sent,g=y.id,v=y.created,console.log(l.Ay.green("".concat(v?"Published":"Already published"," ").concat(g))),e.abrupt("return",g);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();const Ar=function(){var e=kr(gr().mark((function e(t){var n,r;return gr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.watch){e.next=4;break}return e.next=3,$r(t);case 3:return e.abrupt("return");case 4:return n=function(){var e=kr(gr().mark((function e(){return gr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,$r(t);case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(l.Ay.red(e.t0.message));case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}(),e.next=7,n();case 7:return r=Gt(t.template),console.log(l.Ay.blue("Watching ".concat(r," for changes. Ctrl-C to stop."))),mr().watch(r,{ignoreInitial:!0,awaitWriteFinish:!0}).on("change",n).on("add",n),e.next=12,new Promise((function(){}));case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function Pr(e){return Pr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pr(e)}function jr(){var e=Fr(),t=e.m(jr),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,Cr(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(jr=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new Lr(e,t)},AsyncIterator:Ir,async:function(e,t,n,o,s){return(r(t)?Tr:Nr)(i(e),t,n,o,s)},keys:Rr,values:Cr}})()}function Cr(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Pr(e)+" is not iterable")}function Rr(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Nr(e,t,n,r,o){var i=Tr(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function Tr(e,t,n,r,o){return new Ir(Fr().w(e,t,n,r),o||Promise)}function Ir(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof Lr?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(Mr(Ir.prototype),Mr(Ir.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),Mr(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function Fr(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return Mr(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(Mr(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Mr(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,Mr(p,"constructor",u),Mr(u,"constructor",c),c.displayName="GeneratorFunction",Mr(u,o,"GeneratorFunction"),Mr(p),Mr(p,o,"Generator"),Mr(p,r,(function(){return this})),Mr(p,"toString",(function(){return"[object Generator]"})),(Fr=function(){return{w:i,m:f}})()}function Mr(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Mr=function(e,t,n,r){function i(t,n){Mr(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Mr(e,t,n,r)}function Lr(e,t){this.v=e,this.k=t}function Br(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function Ur(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Br(i,r,o,s,a,"next",e)}function a(e){Br(i,r,o,s,a,"throw",e)}s(void 0)}))}}function qr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var zr=function(e,t){var n,r,o=(n=e.split("@"),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(n,r)||function(e,t){if(e){if("string"==typeof e)return qr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qr(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],s=o[1],a=i.split("/");if(a.length>2||a.some((function(e){return!e})))throw new Error("'".concat(e,"' is not a theme reference. Expected 'scope/name@version'."));return 2===a.length?{scopeId:a[0],name:a[1],version:s}:{scopeId:t,name:a[0],version:s}},Vr=function(){var e=Ur(jr().mark((function e(t){var n,r;return jr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new d.RegistryClient(t.registry).listThemes(null!==(n=t.scope)&&void 0!==n?n:t.scopeId);case 2:if((r=e.sent).length){e.next=6;break}return console.log("No themes found."),e.abrupt("return");case 6:console.table(r.map((function(e){var t;return{ref:e.id,visibility:e.visibility,owner:e.owner,derivedFrom:null!==(t=e.derivedFrom)&&void 0!==t?t:""}})));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Gr=function(){var e=Ur(jr().mark((function e(t){var n,r,o,i,s;return jr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=zr(t.ref,t.scopeId),r=n.scopeId,o=n.name,i=n.version,e.next=3,new d.RegistryClient(t.registry).getTheme(r,o,i);case 3:s=e.sent,console.log(JSON.stringify(s,null,2));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Hr=function(){var e=Ur(jr().mark((function e(t){var n,r,o,i,s,a,c,p;return jr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=zr(t.from,t.scopeId),o=r.scopeId,i=r.name,s=r.version,e.next=3,new d.RegistryClient(t.registry).getTheme(o,i,s);case 3:if(a=e.sent,c={apiVersion:"registry.appshell.org/v1",kind:"Theme",name:null!==(n=t.name)&&void 0!==n?n:"".concat(a.name,"-fork"),spec:{version:"1.0.0",tokens:a.tokens,visibility:"private",derivedFrom:a.id}},p=u.Wp.dump(c),t.out){e.next=9;break}return console.log(p),e.abrupt("return");case 9:f().writeFileSync(t.out,p),console.log(l.Ay.green("Wrote ".concat(t.out," from ").concat(a.id))),console.log("Edit it, then: appshell theme publish -f ".concat(t.out));case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Kr=function(){var e=Ur(jr().mark((function e(t){var n,r,o,i,s,a,c,p;return jr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(f().existsSync(t.file)){e.next=2;break}throw new Error("Theme file not found. ".concat(t.file));case 2:if((i=u.Wp.load(t.file))&&"object"===Pr(i)){e.next=5;break}throw new Error("".concat(t.file," is empty or is not a mapping."));case 5:if("Theme"===i.kind){e.next=7;break}throw new Error("".concat(t.file,": kind must be 'Theme', got '").concat(null!==(s=i.kind)&&void 0!==s?s:"undefined","'."));case 7:if(i.name){e.next=9;break}throw new Error("".concat(t.file,": name is required."));case 9:if(null!==(n=i.spec)&&void 0!==n&&n.version){e.next=11;break}throw new Error("".concat(t.file,": spec.version is required."));case 11:if(null!==(r=i.spec)&&void 0!==r&&null!==(r=r.tokens)&&void 0!==r&&r.light&&null!==(o=i.spec)&&void 0!==o&&null!==(o=o.tokens)&&void 0!==o&&o.dark){e.next=13;break}throw new Error("".concat(t.file,": spec.tokens needs both a light and a dark map."));case 13:return e.next=15,new d.RegistryClient(t.registry).publishTheme({name:i.name,version:i.spec.version,tokens:i.spec.tokens,visibility:i.spec.visibility,derivedFrom:i.spec.derivedFrom,metadata:i.spec.metadata});case 15:a=e.sent,c=a.id,p=a.created,console.log(l.Ay.green("".concat(p?"Published":"Already published"," ").concat(c))),p&&console.log("Adopt it with: theme: { ref: '".concat(c,"' } in your appshell.app.yaml"));case 20:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function Wr(e){return Wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wr(e)}function Yr(){var e=to(),t=e.m(Yr),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,Jr(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(Yr=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new ro(e,t)},AsyncIterator:eo,async:function(e,t,n,o,s){return(r(t)?Zr:Qr)(i(e),t,n,o,s)},keys:Xr,values:Jr}})()}function Jr(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Wr(e)+" is not iterable")}function Xr(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Qr(e,t,n,r,o){var i=Zr(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function Zr(e,t,n,r,o){return new eo(to().w(e,t,n,r),o||Promise)}function eo(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof ro?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(no(eo.prototype),no(eo.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),no(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function to(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return no(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(no(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,no(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,no(p,"constructor",u),no(u,"constructor",c),c.displayName="GeneratorFunction",no(u,o,"GeneratorFunction"),no(p),no(p,o,"Generator"),no(p,r,(function(){return this})),no(p,"toString",(function(){return"[object Generator]"})),(to=function(){return{w:i,m:f}})()}function no(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}no=function(e,t,n,r){function i(t,n){no(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},no(e,t,n,r)}function ro(e,t){this.v=e,this.k=t}function oo(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}var io,so,ao,co=function(e){return(0,a.Xg)(e)},uo=function(){return process.env.APPSHELL_CONFIG||i().join(r().homedir(),".appshell","config")},lo=co(uo()),po={command:["start","$0"],describe:"Open an overlay and print the url that applies it",builder:function(e){return e.option("port",{type:"number",description:"Port this package is running on locally, as http://localhost:<port>"}).option("url",{type:"string",description:"Full origin this package is served from, when it is not localhost"}).conflicts("port","url").option("package",{type:"string",description:"Package whose remotes to redirect. Defaults to the package.json in this directory"}).option("remote",{type:"array",string:!0,description:"Redirect only these remote keys. Defaults to every remote the package publishes"}).option("theme",{type:"string",description:"Render with a different theme for this browser only, as 'base-accent' or a published ref"}).option("shell",{choices:["prod","dev"],default:"dev",description:"Shell bundle to serve. The development build is what supports hot reloading remotes in place"}).option("open",{boolean:!0,default:!0,description:"Open the confirmation page in a browser"})},handler:Tt},fo={command:"status",describe:"List the overlays currently open on the application",handler:Lt},ho={command:"stop [id]",describe:"Close an overlay, reverting the application for anyone holding it",builder:function(e){return e.positional("id",{type:"string",description:"Overlay to close"}).option("package",{type:"string",description:"Stop redirecting just this package, leaving the rest of the overlay in place. Defaults to the package.json in this directory"}).option("all",{boolean:!0,default:!1,description:"Close every overlay open on this application"})},handler:Ut},mo={command:"dev",describe:"Point an application at this package running locally, for this browser only",builder:function(e){return e.command(po).command(fo).command(ho)},handler:function(){}},yo={command:"manifest",describe:"Generate the appshell manifest by processing the template specified by --template",builder:function(e){return e.option("template",{alias:"t",type:"string",description:"Path to the appshell config template to process"}).option("outDir",{alias:"o",default:"dist",requiresArg:!0,type:"string",description:"Output location for the appshell manifest"}).option("outFile",{alias:"f",default:"appshell.manifest.json",type:"string",description:"Output filename for the appshell manifest"})},handler:rn},go={command:"outdated",aliases:["o"],describe:"Analyzes shared dependencies for outdated versions",builder:function(e){return e.option("registry",{description:"Registry against which the package is compared"}).option("workingDir",{alias:"d",default:".",description:"Working directory to analyze shared dependencies"}).option("manager",{alias:"m",default:"npm",type:"string",choices:["npm","yarn"],description:"Package manager to use for dependency resolution"})},handler:dr},vo={command:"init",aliases:["i"],describe:"Initialize the configuration",builder:function(e){return e.option("config",{alias:"c",describe:"Path to the cli config file",default:uo(),type:"string"}).option("scopeId",{describe:"Scope that owns unqualified packages and applications",type:"string"}).option("application",{describe:"Application to operate against, as 'name' or 'scope/name'",type:"string"}).option("authIssuer",{describe:"OIDC issuer the registry authenticates against",type:"string"}).option("clientId",{describe:"OIDC client the cli authenticates as",type:"string"})},handler:ue},bo={command:"list",aliases:["ls"],describe:"Print the current cli configuration",builder:function(e){return e.option("config",{alias:"c",describe:"Path to the cli config file",default:uo(),type:"string"})},handler:we},xo={command:"set <key> <value>",describe:"Set a value in the cli configuration",builder:function(e){return e.positional("key",{type:"string",demandOption:!0}).positional("value",{type:"string",demandOption:!0}).option("config",{alias:"c",describe:"Path to the cli config file",default:uo(),type:"string"})},handler:Me},wo={command:"login",describe:"Authenticate with an appshell registry",builder:function(e){return e.option("authIssuer",{default:process.env.APPSHELL_AUTH_ISSUER||lo.authIssuer||"",type:"string",description:"OIDC issuer url used to obtain a token"}).option("clientId",{default:process.env.APPSHELL_CLIENT_ID||lo.clientId||"appshell-cli",type:"string",description:"OIDC client id"}).option("clientSecret",{default:process.env.APPSHELL_CLIENT_SECRET,type:"string",description:"OIDC client secret. Switches to the client credentials grant for CI. Prefer APPSHELL_CLIENT_SECRET"}).option("scope",{default:"openid profile",type:"string",description:"OIDC scopes to request"})},handler:Dn},_o={command:"logout",describe:"Discard the stored credential for a registry",handler:On},Eo={command:"publish",describe:"Publish a package to the appshell registry",builder:function(e){return e.option("template",{alias:"t",type:"string",description:"Path to the appshell config template to process"}).option("name",{type:"string",description:"Package name. Defaults to the unscoped package.json name"}).option("package-version",{type:"string",description:"Package version to publish as. Defaults to the package.json version"}).option("visibility",{type:"string",choices:["public","private"],description:"Visibility of the published version"}).option("watch",{alias:"w",boolean:!0,default:!1,type:"boolean",description:"Republish whenever the template changes"}).option("force",{boolean:!0,default:!1,type:"boolean",description:"Republish over an existing version whose content differs"})},handler:Ar},So={command:"unpublish <name> <version>",describe:"Remove a published package version from the appshell registry",builder:function(e){return e.version(!1).positional("name",{type:"string",demandOption:!0}).positional("version",{type:"string",demandOption:!0})},handler:(io=Yr().mark((function e(t){var r,o;return Yr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(n.bind(n,3577));case 2:return r=e.sent,o=r.RegistryClient,e.next=6,new o(t.registry).unpublish(t.scopeId,t.name,t.version);case 6:console.log("Unpublished ".concat(t.scopeId,"/").concat(t.name,"@").concat(t.version));case 7:case"end":return e.stop()}}),e)})),so=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=io.apply(e,t);function i(e){oo(o,n,r,i,s,"next",e)}function s(e){oo(o,n,r,i,s,"throw",e)}i(void 0)}))},function(e){return so.apply(this,arguments)})};(ao=(0,e.a)(process.argv),lo=co(uo()),(0,s.A)(ao).option("apiKey",{alias:"k",default:process.env.APPSHELL_API_KEY||lo.apiKey||"",type:"string",description:"Api key to use for appshell registry",global:!0}).option("apiKeyHeader",{default:process.env.APPSHELL_API_KEY_HEADER||lo.apiKeyHeader||"x-api-key",type:"string",description:"Header to send the registry api key in",global:!0}).option("registry",{alias:"r",describe:"Appshell registry to operate against",default:process.env.APPSHELL_REGISTRY||lo.registry||"http://localhost:7150",type:"string",global:!0}).option("application",{alias:"a",describe:"Application to operate against, as 'name' or 'scope/name'",default:process.env.APPSHELL_APPLICATION||lo.application,type:"string",global:!0}).option("scopeId",{describe:"Scope that owns unqualified packages and applications",default:process.env.APPSHELL_SCOPE_ID||lo.scopeId||"default",type:"string",global:!0}).option("verbose",{alias:"v",boolean:!0,default:!1,type:"boolean",description:"Verbose output",global:!0}).middleware((function(e){e.verbose||(console.debug=function(){})})).command({command:"generate [target]",describe:"Generates a resource",handler:function(){},builder:function(e){return e.command(yo).demandCommand()}}).command({command:"config [target]",describe:"Configures the appshell cli",handler:function(){},builder:function(e){return e.command(vo).command(bo).command(xo).demandCommand()}}).command({command:"theme <target>",describe:"Publish and browse themes in the appshell registry",handler:function(){},builder:function(e){return e.command({command:"list",describe:"List themes this scope may use: its own, plus every public one",builder:function(e){return e.option("scope",{type:"string",description:"List another scope instead of the configured one"})},handler:Vr}).command({command:"get <ref>",describe:"Read a theme, values included. 'name', 'scope/name' or 'scope/name@version'",builder:function(e){return e.positional("ref",{type:"string",demandOption:!0})},handler:Gr}).command({command:"init",describe:"Fork a published theme into a file to edit",builder:function(e){return e.option("from",{type:"string",demandOption:!0,description:"Theme to fork, as 'scope/name@version'"}).option("name",{type:"string",description:"Name for the new theme. Defaults to '<source>-fork'"}).option("out",{alias:"o",type:"string",description:"Write to this file instead of stdout"})},handler:Hr}).command({command:"publish",describe:"Publish a theme from a file",builder:function(e){return e.option("file",{alias:"f",type:"string",demandOption:!0,description:"Path to the theme resource to publish"})},handler:Kr}).demandCommand()}}).command({command:"app <target>",describe:"Manage appshell applications",handler:function(){},builder:function(e){return e.command({command:"apply",describe:"Reconcile an application against a declared resource file",builder:function(e){return e.option("file",{alias:"f",type:"string",demandOption:!0,requiresArg:!0,describe:"Path to an application resource, as yaml or json"})},handler:H}).command({command:"list",aliases:["ls"],describe:"List applications",builder:function(e){return e.option("owner",{type:"string",description:"Filter by owner"})},handler:R}).command({command:"get [name]",describe:"Show a single application",handler:N}).command({command:"create <name>",describe:"Create an application",builder:function(e){return e.positional("name",{type:"string",demandOption:!0}).option("ephemeral",{boolean:!0,default:!1,type:"boolean"}).option("shell-bundle-url",{type:"string",describe:"Shell bundle this application loads, instead of the registry default"})},handler:T}).command({command:"delete [name]",aliases:["rm"],describe:"Delete an application",handler:I}).command({command:"activate <package>",describe:"Activate a package, as 'scope/name@version', supplying any vars it declares",builder:function(e){return e.positional("package",{type:"string",demandOption:!0}).option("set",{type:"array",string:!0,description:"Supply a var the package declares, as NAME=value. Repeatable. The scope is resolved from the package, so a name it does not declare is refused."})},handler:M}).command({command:"deactivate <package>",describe:"Remove a package from an application, as 'name' or 'scope/name'",builder:function(e){return e.positional("package",{type:"string",demandOption:!0})},handler:L}).command({command:"revisions [name]",describe:"List an application revision history",builder:function(e){return e.option("limit",{type:"number"})},handler:B}).command({command:"rollback [name]",describe:"Roll an application back to a previous revision",builder:function(e){return e.option("to",{type:"number",demandOption:!0,description:"Revision"})},handler:U}).command({command:"composition [name]",describe:"Print the resolved composition for an application",handler:q}).command({command:"open [name]",describe:"Print the shell url for an application",handler:z}).command({command:"sync",describe:"Sync a target application from a source application",builder:function(e){return e.option("from",{type:"string",demandOption:!0,description:"Source application as 'name' or 'scope/name'"}).option("to",{type:"string",description:"Target application as 'name' or 'scope/name'. Defaults to --application."}).option("mode",{type:"string",choices:["replace","merge"],default:"replace",description:"replace copies source fields verbatim, merge applies source values"}).option("include",{type:"array",string:!0,choices:["packages","shell","overrides","allowOverrides","sharedBaselines","sharedDepsEnforcement"],description:"Optional list of application sections to sync"})},handler:V}).command({command:"clone",describe:"Create a new application by cloning a source application",builder:function(e){return e.option("from",{type:"string",demandOption:!0,description:"Source application as 'name' or 'scope/name'"}).option("to",{type:"string",description:"Target application as 'name' or 'scope/name'. Defaults to --application."}).option("ephemeral",{boolean:!0,type:"boolean",description:"Optional ephemeral override on the target application"})},handler:G}).demandCommand()}}).command(mo).command(wo).command(_o).command(Eo).command(So).command(go).version(c.rE).help().alias("h","help").demandCommand(1,"Specify a command. Run `appshell --help` to see them.").strictCommands()).fail((function(e,t){console.error(t?t.message:e),t||console.error("You can use --help to see available options"),process.exit(1)})).parse()})(),{}})()));
|
|
15
|
+
deps: ${n}}`};const s={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e)"__proto__"!==r&&((Array.isArray(e[r])?t:n)[r]=e[r]);return[t,n]}(e);a(e,t),c(e,n)}};function a(e,t=e.schema){const{gen:n,data:o,it:s}=e;if(0===Object.keys(t).length)return;const a=n.let("missing");for(const c in t){const u=t[c];if(0===u.length)continue;const l=(0,i.propertyInData)(n,o,c,s.opts.ownProperties);e.setParams({property:c,depsCount:u.length,deps:u.join(", ")}),s.allErrors?n.if(l,(()=>{for(const t of u)(0,i.checkReportMissingProp)(e,t)})):(n.if(r._`${l} && (${(0,i.checkMissingProp)(e,u,a)})`),(0,i.reportMissingProp)(e,a),n.else())}}function c(e,t=e.schema){const{gen:n,data:r,keyword:s,it:a}=e,c=n.name("valid");for(const u in t)(0,o.alwaysValidSchema)(a,t[u])||(n.if((0,i.propertyInData)(n,r,u,a.opts.ownProperties),(()=>{const t=e.subschema({keyword:s,schemaProp:u},c);e.mergeValidEvaluated(t,c)}),(()=>n.var(c,!0))),e.ok(c))}t.validatePropertyDeps=a,t.validateSchemaDeps=c,t.default=s},9755(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>r.str`must match "${e.ifClause}" schema`,params:({params:e})=>r._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:i}=e;void 0===n.then&&void 0===n.else&&(0,o.checkStrictMode)(i,'"if" without "then" and "else" is ignored');const a=s(i,"then"),c=s(i,"else");if(!a&&!c)return;const u=t.let("valid",!0),l=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},l);e.mergeEvaluated(t)}(),e.reset(),a&&c){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(l,p("then",n),p("else",n))}else a?t.if(l,p("then")):t.if((0,r.not)(l),p("else"));function p(n,o){return()=>{const i=e.subschema({keyword:n},l);t.assign(u,l),e.mergeValidEvaluated(i,u),o?t.assign(o,r._`${n}`):e.setParams({ifClause:n})}}e.pass(u,(()=>e.error(!0)))}};function s(e,t){const n=e.schema[t];return void 0!==n&&!(0,o.alwaysValidSchema)(e,n)}t.default=i},4102(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4077),o=n(9830),i=n(5146),s=n(8682),a=n(5329),c=n(2957),u=n(9573),l=n(4e3),p=n(4017),f=n(4057),d=n(6303),h=n(1685),m=n(4447),y=n(2408),g=n(9755),v=n(2390);t.default=function(e=!1){const t=[d.default,h.default,m.default,y.default,g.default,v.default,u.default,l.default,c.default,p.default,f.default];return e?t.push(o.default,s.default):t.push(r.default,i.default),t.push(a.default),t}},5146(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const r=n(5441),o=n(2911),i=n(7889),s={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return a(e,"additionalItems",t);n.items=!0,(0,o.alwaysValidSchema)(n,t)||e.ok((0,i.validateArray)(e))}};function a(e,t,n=e.schema){const{gen:i,parentSchema:s,data:a,keyword:c,it:u}=e;!function(e){const{opts:r,errSchemaPath:i}=u,s=n.length,a=s===e.minItems&&(s===e.maxItems||!1===e[t]);if(r.strictTuples&&!a){const e=`"${c}" is ${s}-tuple, but minItems or maxItems/${t} are not specified or different at path "${i}"`;(0,o.checkStrictMode)(u,e,r.strictTuples)}}(s),u.opts.unevaluated&&n.length&&!0!==u.items&&(u.items=o.mergeEvaluated.items(i,n.length,u.items));const l=i.name("valid"),p=i.const("len",r._`${a}.length`);n.forEach(((t,n)=>{(0,o.alwaysValidSchema)(u,t)||(i.if(r._`${p} > ${n}`,(()=>e.subschema({keyword:c,schemaProp:n,dataProp:n},l))),e.ok(l))}))}t.validateTuple=a,t.default=s},8682(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i=n(7889),s=n(4077),a={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:a}=n;r.items=!0,(0,o.alwaysValidSchema)(r,t)||(a?(0,s.validateAdditionalItems)(e,a):e.ok((0,i.validateArray)(e)))}};t.default=a},6303(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2911),o={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:o}=e;if((0,r.alwaysValidSchema)(o,n))return void e.fail();const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=o},4447(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>r._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(s.opts.discriminator&&i.discriminator)return;const a=n,c=t.let("valid",!1),u=t.let("passing",null),l=t.name("_valid");e.setParams({passing:u}),t.block((function(){a.forEach(((n,i)=>{let a;(0,o.alwaysValidSchema)(s,n)?t.var(l,!0):a=e.subschema({keyword:"oneOf",schemaProp:i,compositeRule:!0},l),i>0&&t.if(r._`${l} && ${c}`).assign(c,!1).assign(u,r._`[${u}, ${i}]`).else(),t.if(l,(()=>{t.assign(c,!0),t.assign(u,i),a&&e.mergeEvaluated(a,r.Name)}))}))})),e.result(c,(()=>e.reset()),(()=>e.error(!0)))}};t.default=i},4057(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7889),o=n(5441),i=n(2911),s=n(2911),a={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:a,parentSchema:c,it:u}=e,{opts:l}=u,p=(0,r.allSchemaProperties)(n),f=p.filter((e=>(0,i.alwaysValidSchema)(u,n[e])));if(0===p.length||f.length===p.length&&(!u.opts.unevaluated||!0===u.props))return;const d=l.strictSchema&&!l.allowMatchingProperties&&c.properties,h=t.name("valid");!0===u.props||u.props instanceof o.Name||(u.props=(0,s.evaluatedPropsToName)(t,u.props));const{props:m}=u;function y(e){for(const t in d)new RegExp(e).test(t)&&(0,i.checkStrictMode)(u,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function g(n){t.forIn("key",a,(i=>{t.if(o._`${(0,r.usePattern)(e,n)}.test(${i})`,(()=>{const r=f.includes(n);r||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:i,dataPropType:s.Type.Str},h),u.opts.unevaluated&&!0!==m?t.assign(o._`${m}[${i}]`,!0):r||u.allErrors||t.if((0,o.not)(h),(()=>t.break()))}))}))}!function(){for(const e of p)d&&y(e),u.allErrors?g(e):(t.var(h,!0),g(e),t.if(h))}()}};t.default=a},9830(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5146),o={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,r.validateTuple)(e,"items")};t.default=o},4017(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7046),o=n(7889),i=n(2911),s=n(4e3),a={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:a,data:c,it:u}=e;"all"===u.opts.removeAdditional&&void 0===a.additionalProperties&&s.default.code(new r.KeywordCxt(u,s.default,"additionalProperties"));const l=(0,o.allSchemaProperties)(n);for(const e of l)u.definedProperties.add(e);u.opts.unevaluated&&l.length&&!0!==u.props&&(u.props=i.mergeEvaluated.props(t,(0,i.toHash)(l),u.props));const p=l.filter((e=>!(0,i.alwaysValidSchema)(u,n[e])));if(0===p.length)return;const f=t.name("valid");for(const n of p)d(n)?h(n):(t.if((0,o.propertyInData)(t,c,n,u.opts.ownProperties)),h(n),u.allErrors||t.else().var(f,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(f);function d(e){return u.opts.useDefaults&&!u.compositeRule&&void 0!==n[e].default}function h(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},f)}}};t.default=a},9573(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>r._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:i,it:s}=e;if((0,o.alwaysValidSchema)(s,n))return;const a=t.name("valid");t.forIn("key",i,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},a),t.if((0,r.not)(a),(()=>{e.error(!0),s.allErrors||t.break()}))})),e.ok(a)}};t.default=i},2390(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2911),o={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,r.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=o},7889(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const r=n(5441),o=n(2911),i=n(9963),s=n(2911);function a(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:r._`Object.prototype.hasOwnProperty`})}function c(e,t,n){return r._`${a(e)}.call(${t}, ${n})`}function u(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} === undefined`;return o?(0,r.or)(i,(0,r.not)(c(e,t,n))):i}function l(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:o,it:i}=e;n.if(u(n,o,t,i.opts.ownProperties),(()=>{e.setParams({missingProperty:r._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},o,i){return(0,r.or)(...o.map((o=>(0,r.and)(u(e,t,o,n.ownProperties),r._`${i} = ${o}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=a,t.isOwnProperty=c,t.propertyInData=function(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} !== undefined`;return o?r._`${i} && ${c(e,t,n)}`:i},t.noPropertyInData=u,t.allSchemaProperties=l,t.schemaProperties=function(e,t){return l(t).filter((n=>!(0,o.alwaysValidSchema)(e,t[n])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:o,schemaPath:s,errorPath:a},it:c},u,l,p){const f=p?r._`${e}, ${t}, ${o}${s}`:t,d=[[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,a)],[i.default.parentData,c.parentData],[i.default.parentDataProperty,c.parentDataProperty],[i.default.rootData,i.default.rootData]];c.opts.dynamicRef&&d.push([i.default.dynamicAnchors,i.default.dynamicAnchors]);const h=r._`${f}, ${n.object(...d)}`;return l!==r.nil?r._`${u}.call(${l}, ${h})`:r._`${u}(${h})`};const p=r._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},n){const o=t.unicodeRegExp?"u":"",{regExp:i}=t.code,a=i(n,o);return e.scopeValue("pattern",{key:a.toString(),ref:a,code:r._`${"new RegExp"===i.code?p:(0,s.useFunc)(e,i)}(${n}, ${o})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:i,it:s}=e,a=t.name("valid");if(s.allErrors){const e=t.let("valid",!0);return c((()=>t.assign(e,!1))),e}return t.var(a,!0),c((()=>t.break())),a;function c(s){const c=t.const("len",r._`${n}.length`);t.forRange("i",0,c,(n=>{e.subschema({keyword:i,dataProp:n,dataPropType:o.Type.Num},a),t.if((0,r.not)(a),s)}))}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some((e=>(0,o.alwaysValidSchema)(s,e)))&&!s.opts.unevaluated)return;const a=t.let("valid",!1),c=t.name("_valid");t.block((()=>n.forEach(((n,o)=>{const s=e.subschema({keyword:i,schemaProp:o,compositeRule:!0},c);t.assign(a,r._`${a} || ${c}`),e.mergeValidEvaluated(s,c)||t.if((0,r.not)(a))})))),e.result(a,(()=>e.reset()),(()=>e.error(!0)))}},7043(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n},5252(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7043),o=n(9129),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,o.default];t.default=i},9129(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const r=n(3403),o=n(7889),i=n(5441),s=n(9963),a=n(2303),c=n(2911),u={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:o}=e,{baseId:s,schemaEnv:c,validateName:u,opts:f,self:d}=o,{root:h}=c;if(("#"===n||"#/"===n)&&s===h.baseId)return function(){if(c===h)return p(e,u,c,c.$async);const n=t.scopeValue("root",{ref:h});return p(e,i._`${n}.validate`,h,h.$async)}();const m=a.resolveRef.call(d,h,s,n);if(void 0===m)throw new r.default(o.opts.uriResolver,s,n);return m instanceof a.SchemaEnv?function(t){const n=l(e,t);p(e,n,t,t.$async)}(m):function(r){const o=t.scopeValue("schema",!0===f.code.source?{ref:r,code:(0,i.stringify)(r)}:{ref:r}),s=t.name("valid"),a=e.subschema({schema:r,dataTypes:[],schemaPath:i.nil,topSchemaRef:o,errSchemaPath:n},s);e.mergeEvaluated(a),e.ok(s)}(m)}};function l(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):i._`${n.scopeValue("wrapper",{ref:t})}.validate`}function p(e,t,n,r){const{gen:a,it:u}=e,{allErrors:l,schemaEnv:p,opts:f}=u,d=f.passContext?s.default.this:i.nil;function h(e){const t=i._`${e}.errors`;a.assign(s.default.vErrors,i._`${s.default.vErrors} === null ? ${t} : ${s.default.vErrors}.concat(${t})`),a.assign(s.default.errors,i._`${s.default.vErrors}.length`)}function m(e){var t;if(!u.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==u.props)if(r&&!r.dynamicProps)void 0!==r.props&&(u.props=c.mergeEvaluated.props(a,r.props,u.props));else{const t=a.var("props",i._`${e}.evaluated.props`);u.props=c.mergeEvaluated.props(a,t,u.props,i.Name)}if(!0!==u.items)if(r&&!r.dynamicItems)void 0!==r.items&&(u.items=c.mergeEvaluated.items(a,r.items,u.items));else{const t=a.var("items",i._`${e}.evaluated.items`);u.items=c.mergeEvaluated.items(a,t,u.items,i.Name)}}r?function(){if(!p.$async)throw new Error("async schema referenced by sync schema");const n=a.let("valid");a.try((()=>{a.code(i._`await ${(0,o.callValidateCode)(e,t,d)}`),m(t),l||a.assign(n,!0)}),(e=>{a.if(i._`!(${e} instanceof ${u.ValidationError})`,(()=>a.throw(e))),h(e),l||a.assign(n,!1)})),e.ok(n)}():e.result((0,o.callValidateCode)(e,t,d),(()=>m(t)),(()=>h(t)))}t.getValidate=l,t.callRef=p,t.default=u},4625(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(784),i=n(2303),s=n(3403),a=n(2911),c={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===o.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>r._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:c,parentSchema:u,it:l}=e,{oneOf:p}=u;if(!l.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=c.propertyName;if("string"!=typeof f)throw new Error("discriminator: requires propertyName");if(c.mapping)throw new Error("discriminator: mapping is not supported");if(!p)throw new Error("discriminator: requires oneOf keyword");const d=t.let("valid",!1),h=t.const("tag",r._`${n}${(0,r.getProperty)(f)}`);function m(n){const o=t.name("valid"),i=e.subschema({keyword:"oneOf",schemaProp:n},o);return e.mergeEvaluated(i,r.Name),o}t.if(r._`typeof ${h} == "string"`,(()=>function(){const n=function(){var e;const t={},n=o(u);let r=!0;for(let t=0;t<p.length;t++){let u=p[t];if((null==u?void 0:u.$ref)&&!(0,a.schemaHasRulesButRef)(u,l.self.RULES)){const e=u.$ref;if(u=i.resolveRef.call(l.self,l.schemaEnv.root,l.baseId,e),u instanceof i.SchemaEnv&&(u=u.schema),void 0===u)throw new s.default(l.opts.uriResolver,l.baseId,e)}const d=null===(e=null==u?void 0:u.properties)||void 0===e?void 0:e[f];if("object"!=typeof d)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);r=r&&(n||o(u)),c(d,t)}if(!r)throw new Error(`discriminator: "${f}" must be required`);return t;function o({required:e}){return Array.isArray(e)&&e.includes(f)}function c(e,t){if(e.const)d(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`);for(const n of e.enum)d(n,t)}}function d(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${f}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(r._`${h} === ${e}`),t.assign(d,m(n[e]));t.else(),e.error(!1,{discrError:o.DiscrError.Mapping,tag:h,tagName:f}),t.endIf()}()),(()=>e.error(!1,{discrError:o.DiscrError.Tag,tag:h,tagName:f}))),e.ok(d)}};t.default=c},784(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(n||(t.DiscrError=n={}))},8900(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5252),o=n(6728),i=n(4102),s=n(6992),a=n(4605),c=[r.default,o.default,(0,i.default)(),s.default,a.metadataVocabulary,a.contentVocabulary];t.default=c},6421(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>r.str`must match format "${e}"`,params:({schemaCode:e})=>r._`{format: ${e}}`},code(e,t){const{gen:n,data:o,$data:i,schema:s,schemaCode:a,it:c}=e,{opts:u,errSchemaPath:l,schemaEnv:p,self:f}=c;u.validateFormats&&(i?function(){const i=n.scopeValue("formats",{ref:f.formats,code:u.code.formats}),s=n.const("fDef",r._`${i}[${a}]`),c=n.let("fType"),l=n.let("format");n.if(r._`typeof ${s} == "object" && !(${s} instanceof RegExp)`,(()=>n.assign(c,r._`${s}.type || "string"`).assign(l,r._`${s}.validate`)),(()=>n.assign(c,r._`"string"`).assign(l,s))),e.fail$data((0,r.or)(!1===u.strictSchema?r.nil:r._`${a} && !${l}`,function(){const e=p.$async?r._`(${s}.async ? await ${l}(${o}) : ${l}(${o}))`:r._`${l}(${o})`,n=r._`(typeof ${l} == "function" ? ${e} : ${l}.test(${o}))`;return r._`${l} && ${l} !== true && ${c} === ${t} && !${n}`}()))}():function(){const i=f.formats[s];if(!i)return void function(){if(!1!==u.strictSchema)throw new Error(e());function e(){return`unknown format "${s}" ignored in schema at path "${l}"`}f.logger.warn(e())}();if(!0===i)return;const[a,c,d]=function(e){const t=e instanceof RegExp?(0,r.regexpCode)(e):u.code.formats?r._`${u.code.formats}${(0,r.getProperty)(s)}`:void 0,o=n.scopeValue("formats",{key:s,ref:e,code:t});return"object"!=typeof e||e instanceof RegExp?["string",e,o]:[e.type||"string",e.validate,r._`${o}.validate`]}(i);a===t&&e.pass(function(){if("object"==typeof i&&!(i instanceof RegExp)&&i.async){if(!p.$async)throw new Error("async format in sync schema");return r._`await ${d}(${o})`}return"function"==typeof c?r._`${d}(${o})`:r._`${d}.test(${o})`}())}())}};t.default=o},6992(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=[n(6421).default];t.default=r},4605(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},5827(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i=n(7286),s={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>r._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:s,schemaCode:a,schema:c}=e;s||c&&"object"==typeof c?e.fail$data(r._`!${(0,o.useFunc)(t,i.default)}(${n}, ${a})`):e.fail(r._`${c} !== ${n}`)}};t.default=s},8023(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i=n(7286),s={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>r._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:s,schema:a,schemaCode:c,it:u}=e;if(!s&&0===a.length)throw new Error("enum must have non-empty array");const l=a.length>=u.opts.loopEnum;let p;const f=()=>null!=p?p:p=(0,o.useFunc)(t,i.default);let d;if(l||s)d=t.let("valid"),e.block$data(d,(function(){t.assign(d,!1),t.forOf("v",c,(e=>t.if(r._`${f()}(${n}, ${e})`,(()=>t.assign(d,!0).break()))))}));else{if(!Array.isArray(a))throw new Error("ajv implementation error");const e=t.const("vSchema",c);d=(0,r.or)(...a.map(((t,o)=>function(e,t){const o=a[t];return"object"==typeof o&&null!==o?r._`${f()}(${n}, ${e}[${t}])`:r._`${n} === ${o}`}(e,o))))}e.pass(d)}};t.default=s},6728(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1550),o=n(3411),i=n(9079),s=n(2306),a=n(618),c=n(9527),u=n(3183),l=n(3213),p=n(5827),f=n(8023),d=[r.default,o.default,i.default,s.default,a.default,c.default,u.default,l.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},p.default,f.default];t.default=d},3183(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxItems"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`${n}.length ${i} ${o}`)}};t.default=o},9079(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=n(2911),i=n(6953),s={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:s,it:a}=e,c="maxLength"===t?r.operators.GT:r.operators.LT,u=!1===a.opts.unicode?r._`${n}.length`:r._`${(0,o.useFunc)(e.gen,i.default)}(${n})`;e.fail$data(r._`${u} ${c} ${s}`)}};t.default=s},1550(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o=r.operators,i={maximum:{okStr:"<=",ok:o.LTE,fail:o.GT},minimum:{okStr:">=",ok:o.GTE,fail:o.LT},exclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},exclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},s={message:({keyword:e,schemaCode:t})=>r.str`must be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>r._`{comparison: ${i[e].okStr}, limit: ${t}}`},a={keyword:Object.keys(i),type:"number",schemaType:"number",$data:!0,error:s,code(e){const{keyword:t,data:n,schemaCode:o}=e;e.fail$data(r._`${n} ${i[t].fail} ${o} || isNaN(${n})`)}};t.default=a},618(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxProperties"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`Object.keys(${n}).length ${i} ${o}`)}};t.default=o},3411(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5441),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>r.str`must be multiple of ${e}`,params:({schemaCode:e})=>r._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:o,it:i}=e,s=i.opts.multipleOfPrecision,a=t.let("res"),c=s?r._`Math.abs(Math.round(${a}) - ${a}) > 1e-${s}`:r._`${a} !== parseInt(${a})`;e.fail$data(r._`(${o} === 0 || (${a} = ${n}/${o}, ${c}))`)}};t.default=o},2306(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7889),o=n(2911),i=n(5441),s={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>i.str`must match pattern "${e}"`,params:({schemaCode:e})=>i._`{pattern: ${e}}`},code(e){const{gen:t,data:n,$data:s,schema:a,schemaCode:c,it:u}=e,l=u.opts.unicodeRegExp?"u":"";if(s){const{regExp:r}=u.opts.code,s="new RegExp"===r.code?i._`new RegExp`:(0,o.useFunc)(t,r),a=t.let("valid");t.try((()=>t.assign(a,i._`${s}(${c}, ${l}).test(${n})`)),(()=>t.assign(a,!1))),e.fail$data(i._`!${a}`)}else{const t=(0,r.usePattern)(e,a);e.fail$data(i._`!${t}.test(${n})`)}}};t.default=s},9527(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7889),o=n(5441),i=n(2911),s={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>o.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>o._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:s,data:a,$data:c,it:u}=e,{opts:l}=u;if(!c&&0===n.length)return;const p=n.length>=l.loopRequired;if(u.allErrors?function(){if(p||c)e.block$data(o.nil,f);else for(const t of n)(0,r.checkReportMissingProp)(e,t)}():function(){const i=t.let("missing");if(p||c){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,i){e.setParams({missingProperty:n}),t.forOf(n,s,(()=>{t.assign(i,(0,r.propertyInData)(t,a,n,l.ownProperties)),t.if((0,o.not)(i),(()=>{e.error(),t.break()}))}),o.nil)}(i,n))),e.ok(n)}else t.if((0,r.checkMissingProp)(e,n,i)),(0,r.reportMissingProp)(e,i),t.else()}(),l.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=`required property "${e}" is not defined at "${u.schemaEnv.baseId+u.errSchemaPath}" (strictRequired)`;(0,i.checkStrictMode)(u,t,u.opts.strictRequired)}}function f(){t.forOf("prop",s,(n=>{e.setParams({missingProperty:n}),t.if((0,r.noPropertyInData)(t,a,n,l.ownProperties),(()=>e.error()))}))}}};t.default=s},3213(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6700),o=n(5441),i=n(2911),s=n(7286),a={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>o.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>o._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:a,schema:c,parentSchema:u,schemaCode:l,it:p}=e;if(!a&&!c)return;const f=t.let("valid"),d=u.items?(0,r.getSchemaTypes)(u.items):[];function h(i,s){const a=t.name("item"),c=(0,r.checkDataTypes)(d,a,p.opts.strictNumbers,r.DataType.Wrong),u=t.const("indices",o._`{}`);t.for(o._`;${i}--;`,(()=>{t.let(a,o._`${n}[${i}]`),t.if(c,o._`continue`),d.length>1&&t.if(o._`typeof ${a} == "string"`,o._`${a} += "_"`),t.if(o._`typeof ${u}[${a}] == "number"`,(()=>{t.assign(s,o._`${u}[${a}]`),e.error(),t.assign(f,!1).break()})).code(o._`${u}[${a}] = ${i}`)}))}function m(r,a){const c=(0,i.useFunc)(t,s.default),u=t.name("outer");t.label(u).for(o._`;${r}--;`,(()=>t.for(o._`${a} = ${r}; ${a}--;`,(()=>t.if(o._`${c}(${n}[${r}], ${n}[${a}])`,(()=>{e.error(),t.assign(f,!1).break(u)}))))))}e.block$data(f,(function(){const r=t.let("i",o._`${n}.length`),i=t.let("j");e.setParams({i:r,j:i}),t.assign(f,!0),t.if(o._`${r} > 1`,(()=>(d.length>0&&!d.some((e=>"object"===e||"array"===e))?h:m)(r,i)))}),o._`${l} === false`),e.ok(f)}};t.default=a},1086(e){"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,r,o,i,s,a,c,u,l,p){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var f in r(i,s,a,c,u,l,p),i){var d=i[f];if(Array.isArray(d)){if(f in t.arrayKeywords)for(var h=0;h<d.length;h++)n(e,r,o,d[h],s+"/"+f+"/"+h,a,s,f,i,h)}else if(f in t.propsKeywords){if(d&&"object"==typeof d)for(var m in d)n(e,r,o,d[m],s+"/"+f+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),a,s,f,i,m)}else(f in t.keywords||e.allKeys&&!(f in t.skipKeywords))&&n(e,r,o,d,s+"/"+f,a,s,f,i)}o(i,s,a,c,u,l,p)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},7316(e,t){var n;t=e.exports=m,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var r=Number.MAX_SAFE_INTEGER||9007199254740991,o=t.re=[],i=t.safeRe=[],s=t.src=[],a=t.tokens={},c=0;function u(e){a[e]=c++}var l="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",256],[l,250]];function f(e){for(var t=0;t<p.length;t++){var n=p[t][0],r=p[t][1];e=e.split(n+"*").join(n+"{0,"+r+"}").split(n+"+").join(n+"{1,"+r+"}")}return e}u("NUMERICIDENTIFIER"),s[a.NUMERICIDENTIFIER]="0|[1-9]\\d*",u("NUMERICIDENTIFIERLOOSE"),s[a.NUMERICIDENTIFIERLOOSE]="\\d+",u("NONNUMERICIDENTIFIER"),s[a.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+l+"*",u("MAINVERSION"),s[a.MAINVERSION]="("+s[a.NUMERICIDENTIFIER]+")\\.("+s[a.NUMERICIDENTIFIER]+")\\.("+s[a.NUMERICIDENTIFIER]+")",u("MAINVERSIONLOOSE"),s[a.MAINVERSIONLOOSE]="("+s[a.NUMERICIDENTIFIERLOOSE]+")\\.("+s[a.NUMERICIDENTIFIERLOOSE]+")\\.("+s[a.NUMERICIDENTIFIERLOOSE]+")",u("PRERELEASEIDENTIFIER"),s[a.PRERELEASEIDENTIFIER]="(?:"+s[a.NUMERICIDENTIFIER]+"|"+s[a.NONNUMERICIDENTIFIER]+")",u("PRERELEASEIDENTIFIERLOOSE"),s[a.PRERELEASEIDENTIFIERLOOSE]="(?:"+s[a.NUMERICIDENTIFIERLOOSE]+"|"+s[a.NONNUMERICIDENTIFIER]+")",u("PRERELEASE"),s[a.PRERELEASE]="(?:-("+s[a.PRERELEASEIDENTIFIER]+"(?:\\."+s[a.PRERELEASEIDENTIFIER]+")*))",u("PRERELEASELOOSE"),s[a.PRERELEASELOOSE]="(?:-?("+s[a.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+s[a.PRERELEASEIDENTIFIERLOOSE]+")*))",u("BUILDIDENTIFIER"),s[a.BUILDIDENTIFIER]=l+"+",u("BUILD"),s[a.BUILD]="(?:\\+("+s[a.BUILDIDENTIFIER]+"(?:\\."+s[a.BUILDIDENTIFIER]+")*))",u("FULL"),u("FULLPLAIN"),s[a.FULLPLAIN]="v?"+s[a.MAINVERSION]+s[a.PRERELEASE]+"?"+s[a.BUILD]+"?",s[a.FULL]="^"+s[a.FULLPLAIN]+"$",u("LOOSEPLAIN"),s[a.LOOSEPLAIN]="[v=\\s]*"+s[a.MAINVERSIONLOOSE]+s[a.PRERELEASELOOSE]+"?"+s[a.BUILD]+"?",u("LOOSE"),s[a.LOOSE]="^"+s[a.LOOSEPLAIN]+"$",u("GTLT"),s[a.GTLT]="((?:<|>)?=?)",u("XRANGEIDENTIFIERLOOSE"),s[a.XRANGEIDENTIFIERLOOSE]=s[a.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",u("XRANGEIDENTIFIER"),s[a.XRANGEIDENTIFIER]=s[a.NUMERICIDENTIFIER]+"|x|X|\\*",u("XRANGEPLAIN"),s[a.XRANGEPLAIN]="[v=\\s]*("+s[a.XRANGEIDENTIFIER]+")(?:\\.("+s[a.XRANGEIDENTIFIER]+")(?:\\.("+s[a.XRANGEIDENTIFIER]+")(?:"+s[a.PRERELEASE]+")?"+s[a.BUILD]+"?)?)?",u("XRANGEPLAINLOOSE"),s[a.XRANGEPLAINLOOSE]="[v=\\s]*("+s[a.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+s[a.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+s[a.XRANGEIDENTIFIERLOOSE]+")(?:"+s[a.PRERELEASELOOSE]+")?"+s[a.BUILD]+"?)?)?",u("XRANGE"),s[a.XRANGE]="^"+s[a.GTLT]+"\\s*"+s[a.XRANGEPLAIN]+"$",u("XRANGELOOSE"),s[a.XRANGELOOSE]="^"+s[a.GTLT]+"\\s*"+s[a.XRANGEPLAINLOOSE]+"$",u("COERCE"),s[a.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",u("COERCERTL"),o[a.COERCERTL]=new RegExp(s[a.COERCE],"g"),i[a.COERCERTL]=new RegExp(f(s[a.COERCE]),"g"),u("LONETILDE"),s[a.LONETILDE]="(?:~>?)",u("TILDETRIM"),s[a.TILDETRIM]="(\\s*)"+s[a.LONETILDE]+"\\s+",o[a.TILDETRIM]=new RegExp(s[a.TILDETRIM],"g"),i[a.TILDETRIM]=new RegExp(f(s[a.TILDETRIM]),"g"),u("TILDE"),s[a.TILDE]="^"+s[a.LONETILDE]+s[a.XRANGEPLAIN]+"$",u("TILDELOOSE"),s[a.TILDELOOSE]="^"+s[a.LONETILDE]+s[a.XRANGEPLAINLOOSE]+"$",u("LONECARET"),s[a.LONECARET]="(?:\\^)",u("CARETTRIM"),s[a.CARETTRIM]="(\\s*)"+s[a.LONECARET]+"\\s+",o[a.CARETTRIM]=new RegExp(s[a.CARETTRIM],"g"),i[a.CARETTRIM]=new RegExp(f(s[a.CARETTRIM]),"g"),u("CARET"),s[a.CARET]="^"+s[a.LONECARET]+s[a.XRANGEPLAIN]+"$",u("CARETLOOSE"),s[a.CARETLOOSE]="^"+s[a.LONECARET]+s[a.XRANGEPLAINLOOSE]+"$",u("COMPARATORLOOSE"),s[a.COMPARATORLOOSE]="^"+s[a.GTLT]+"\\s*("+s[a.LOOSEPLAIN]+")$|^$",u("COMPARATOR"),s[a.COMPARATOR]="^"+s[a.GTLT]+"\\s*("+s[a.FULLPLAIN]+")$|^$",u("COMPARATORTRIM"),s[a.COMPARATORTRIM]="(\\s*)"+s[a.GTLT]+"\\s*("+s[a.LOOSEPLAIN]+"|"+s[a.XRANGEPLAIN]+")",o[a.COMPARATORTRIM]=new RegExp(s[a.COMPARATORTRIM],"g"),i[a.COMPARATORTRIM]=new RegExp(f(s[a.COMPARATORTRIM]),"g"),u("HYPHENRANGE"),s[a.HYPHENRANGE]="^\\s*("+s[a.XRANGEPLAIN]+")\\s+-\\s+("+s[a.XRANGEPLAIN]+")\\s*$",u("HYPHENRANGELOOSE"),s[a.HYPHENRANGELOOSE]="^\\s*("+s[a.XRANGEPLAINLOOSE]+")\\s+-\\s+("+s[a.XRANGEPLAINLOOSE]+")\\s*$",u("STAR"),s[a.STAR]="(<|>)?=?\\s*\\*";for(var d=0;d<c;d++)n(d,s[d]),o[d]||(o[d]=new RegExp(s[d]),i[d]=new RegExp(f(s[d])));function h(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m)return e;if("string"!=typeof e)return null;if(e.length>256)return null;if(!(t.loose?i[a.LOOSE]:i[a.FULL]).test(e))return null;try{return new m(e,t)}catch(e){return null}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof m))return new m(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var o=e.trim().match(t.loose?i[a.LOOSE]:i[a.FULL]);if(!o)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<r)return t}return e})):this.prerelease=[],this.build=o[5]?o[5].split("."):[],this.format()}t.parse=h,t.valid=function(e,t){var n=h(e,t);return n?n.version:null},t.clean=function(e,t){var n=h(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=m,m.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},m.prototype.toString=function(){return this.version},m.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof m||(e=new m(e,this.options)),this.compareMain(e)||this.comparePre(e)},m.prototype.compareMain=function(e){return e instanceof m||(e=new m(e,this.options)),g(this.major,e.major)||g(this.minor,e.minor)||g(this.patch,e.patch)},m.prototype.comparePre=function(e){if(e instanceof m||(e=new m(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return g(r,o)}while(++t)},m.prototype.compareBuild=function(e){e instanceof m||(e=new m(e,this.options));var t=0;do{var r=this.build[t],o=e.build[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return g(r,o)}while(++t)},m.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new m(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(w(e,t))return null;var n=h(e),r=h(t),o="";if(n.prerelease.length||r.prerelease.length){o="pre";var i="prerelease"}for(var s in n)if(("major"===s||"minor"===s||"patch"===s)&&n[s]!==r[s])return o+s;return i},t.compareIdentifiers=g;var y=/^[0-9]+$/;function g(e,t){var n=y.test(e),r=y.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function v(e,t,n){return new m(e,n).compare(new m(t,n))}function b(e,t,n){return v(e,t,n)>0}function x(e,t,n){return v(e,t,n)<0}function w(e,t,n){return 0===v(e,t,n)}function _(e,t,n){return 0!==v(e,t,n)}function E(e,t,n){return v(e,t,n)>=0}function S(e,t,n){return v(e,t,n)<=0}function D(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return w(e,n,r);case"!=":return _(e,n,r);case">":return b(e,n,r);case">=":return E(e,n,r);case"<":return x(e,n,r);case"<=":return S(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function O(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof O){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof O))return new O(e,t);e=e.trim().split(/\s+/).join(" "),n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===k?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return g(t,e)},t.major=function(e,t){return new m(e,t).major},t.minor=function(e,t){return new m(e,t).minor},t.patch=function(e,t){return new m(e,t).patch},t.compare=v,t.compareLoose=function(e,t){return v(e,t,!0)},t.compareBuild=function(e,t,n){var r=new m(e,n),o=new m(t,n);return r.compare(o)||r.compareBuild(o)},t.rcompare=function(e,t,n){return v(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=b,t.lt=x,t.eq=w,t.neq=_,t.gte=E,t.lte=S,t.cmp=D,t.Comparator=O;var k={};function $(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof $)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new $(e.raw,t);if(e instanceof O)return new $(e.value,t);if(!(this instanceof $))return new $(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}function A(e,t){for(var n=!0,r=e.slice(),o=r.pop();n&&r.length;)n=r.every((function(e){return o.intersects(e,t)})),o=r.pop();return n}function P(e){return!e||"x"===e.toLowerCase()||"*"===e}function j(e,t,n,r,o,i,s,a,c,u,l,p,f){return((t=P(n)?"":P(r)?">="+n+".0.0":P(o)?">="+n+"."+r+".0":">="+t)+" "+(a=P(c)?"":P(u)?"<"+(+c+1)+".0.0":P(l)?"<"+c+"."+(+u+1)+".0":p?"<="+c+"."+u+"."+l+"-"+p:"<="+a)).trim()}function C(e,t,r){for(var o=0;o<e.length;o++)if(!e[o].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(o=0;o<e.length;o++)if(n(e[o].semver),e[o].semver!==k&&e[o].semver.prerelease.length>0){var i=e[o].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function R(e,t,n){try{t=new $(t,n)}catch(e){return!1}return t.test(e)}function N(e,t,n,r){var o,i,s,a,c;switch(e=new m(e,r),t=new $(t,r),n){case">":o=b,i=S,s=x,a=">",c=">=";break;case"<":o=x,i=E,s=b,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(R(e,t,r))return!1;for(var u=0;u<t.set.length;++u){var l=t.set[u],p=null,f=null;if(l.forEach((function(e){e.semver===k&&(e=new O(">=0.0.0")),p=p||e,f=f||e,o(e.semver,p.semver,r)?p=e:s(e.semver,f.semver,r)&&(f=e)})),p.operator===a||p.operator===c)return!1;if((!f.operator||f.operator===a)&&i(e,f.semver))return!1;if(f.operator===c&&s(e,f.semver))return!1}return!0}O.prototype.parse=function(e){var t=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new m(n[2],this.options.loose):this.semver=k},O.prototype.toString=function(){return this.value},O.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===k||e===k)return!0;if("string"==typeof e)try{e=new m(e,this.options)}catch(e){return!1}return D(e,this.operator,this.semver,this.options)},O.prototype.intersects=function(e,t){if(!(e instanceof O))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new $(e.value,t),R(this.value,n,t));if(""===e.operator)return""===e.value||(n=new $(this.value,t),R(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=D(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=D(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&s||a||c},t.Range=$,$.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},$.prototype.toString=function(){return this.range},$.prototype.parseRange=function(e){var t=this.options.loose,r=t?i[a.HYPHENRANGELOOSE]:i[a.HYPHENRANGE];e=e.replace(r,j),n("hyphen replace",e),e=e.replace(i[a.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,i[a.COMPARATORTRIM]),e=(e=(e=e.replace(i[a.TILDETRIM],"$1~")).replace(i[a.CARETTRIM],"$1^")).split(/\s+/).join(" ");var o=t?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],s=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?i[a.CARETLOOSE]:i[a.CARET];return e.replace(r,(function(t,r,o,i,s){var a;return n("caret",e,t,r,o,i,s),P(r)?a="":P(o)?a=">="+r+".0.0 <"+(+r+1)+".0.0":P(i)?a="0"===r?">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":">="+r+"."+o+".0 <"+(+r+1)+".0.0":s?(n("replaceCaret pr",s),a="0"===r?"0"===o?">="+r+"."+o+"."+i+"-"+s+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+"-"+s+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+"-"+s+" <"+(+r+1)+".0.0"):(n("no pr"),a="0"===r?"0"===o?">="+r+"."+o+"."+i+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+" <"+(+r+1)+".0.0"),n("caret return",a),a}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?i[a.TILDELOOSE]:i[a.TILDE];return e.replace(r,(function(t,r,o,i,s){var a;return n("tilde",e,t,r,o,i,s),P(r)?a="":P(o)?a=">="+r+".0.0 <"+(+r+1)+".0.0":P(i)?a=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":s?(n("replaceTilde pr",s),a=">="+r+"."+o+"."+i+"-"+s+" <"+r+"."+(+o+1)+".0"):a=">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0",n("tilde return",a),a}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?i[a.XRANGELOOSE]:i[a.XRANGE];return e.replace(r,(function(r,o,i,s,a,c){n("xRange",e,r,o,i,s,a,c);var u=P(i),l=u||P(s),p=l||P(a),f=p;return"="===o&&f&&(o=""),c=t.includePrerelease?"-0":"",u?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&f?(l&&(s=0),a=0,">"===o?(o=">=",l?(i=+i+1,s=0,a=0):(s=+s+1,a=0)):"<="===o&&(o="<",l?i=+i+1:s=+s+1),r=o+i+"."+s+"."+a+c):l?r=">="+i+".0.0"+c+" <"+(+i+1)+".0.0"+c:p&&(r=">="+i+"."+s+".0"+c+" <"+i+"."+(+s+1)+".0"+c),n("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(i[a.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(s=s.filter((function(e){return!!e.match(o)}))),s.map((function(e){return new O(e,this.options)}),this)},$.prototype.intersects=function(e,t){if(!(e instanceof $))throw new TypeError("a Range is required");return this.set.some((function(n){return A(n,t)&&e.set.some((function(e){return A(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new $(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},$.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new m(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(C(this.set[t],e,this.options))return!0;return!1},t.satisfies=R,t.maxSatisfying=function(e,t,n){var r=null,o=null;try{var i=new $(t,n)}catch(e){return null}return e.forEach((function(e){i.test(e)&&(r&&-1!==o.compare(e)||(o=new m(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,o=null;try{var i=new $(t,n)}catch(e){return null}return e.forEach((function(e){i.test(e)&&(r&&1!==o.compare(e)||(o=new m(r=e,n)))})),r},t.minVersion=function(e,t){e=new $(e,t);var n=new m("0.0.0");if(e.test(n))return n;if(n=new m("0.0.0-0"),e.test(n))return n;n=null;for(var r=0;r<e.set.length;++r)e.set[r].forEach((function(e){var t=new m(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!b(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}));return n&&e.test(n)?n:null},t.validRange=function(e,t){try{return new $(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return N(e,t,"<",n)},t.gtr=function(e,t,n){return N(e,t,">",n)},t.outside=N,t.prerelease=function(e,t){var n=h(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new $(e,n),t=new $(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof m)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=i[a.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),i[a.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;i[a.COERCERTL].lastIndex=-1}else n=e.match(i[a.COERCE]);return null===n?null:h(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}},5582(e,t,n){"use strict";const r=n(9436),o=n(6461),i=n(8662),s=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=r(e)).length)return 0;e=e.replace(i()," ");let t=0;for(let n=0;n<e.length;n++){const r=e.codePointAt(n);r<=31||r>=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=o(r)?2:1)}return t};e.exports=s,e.exports.default=s},8662(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}},9436(e,t,n){"use strict";const r=n(1371);e.exports=e=>"string"==typeof e?e.replace(r(),""):e},5600(e,t,n){"use strict";const r=n(857),o=n(2018),i=n(6071),{env:s}=process;let a;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function u(e,t){if(0===a)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!t&&void 0===a)return 0;const n=a||0;if("dumb"===s.TERM)return n;if("win32"===process.platform){const e=r.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in s)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in s))||"codeship"===s.CI_NAME?1:n;if("TEAMCITY_VERSION"in s)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s.TEAMCITY_VERSION)?1:0;if("truecolor"===s.COLORTERM)return 3;if("TERM_PROGRAM"in s){const e=parseInt((s.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(s.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(s.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(s.TERM)||"COLORTERM"in s?1:n}i("no-color")||i("no-colors")||i("color=false")||i("color=never")?a=0:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(a=1),"FORCE_COLOR"in s&&(a="true"===s.FORCE_COLOR?1:"false"===s.FORCE_COLOR?0:0===s.FORCE_COLOR.length?1:Math.min(parseInt(s.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(u(e,e&&e.isTTY))},stdout:c(u(!0,o.isatty(1))),stderr:c(u(!0,o.isatty(2)))}},9093(e,t,n){"use strict";const r=n(8424),o=(e,t,n)=>{if(!1===r(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===r(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...n};"boolean"==typeof i.strictZeros&&(i.relaxZeros=!1===i.strictZeros);let c=e+":"+t+"="+String(i.relaxZeros)+String(i.shorthand)+String(i.capture)+String(i.wrap);if(o.cache.hasOwnProperty(c))return o.cache[c].result;let u=Math.min(e,t),l=Math.max(e,t);if(1===Math.abs(u-l)){let n=e+"|"+t;return i.capture?`(${n})`:!1===i.wrap?n:`(?:${n})`}let p=d(e)||d(t),f={min:e,max:t,a:u,b:l},h=[],m=[];return p&&(f.isPadded=p,f.maxLen=String(f.max).length),u<0&&(m=s(l<0?Math.abs(l):1,Math.abs(u),f,i),u=f.a=0),l>=0&&(h=s(u,l,f,i)),f.negatives=m,f.positives=h,f.result=function(e,t){let n=a(e,t,"-",!1)||[],r=a(t,e,"",!1)||[],o=a(e,t,"-?",!0)||[];return n.concat(o).concat(r).join("|")}(m,h),!0===i.capture?f.result=`(${f.result})`:!1!==i.wrap&&h.length+m.length>1&&(f.result=`(?:${f.result})`),o.cache[c]=f,f.result};function i(e,t,n){if(e===t)return{pattern:e,count:[],digits:0};let r=function(e,t){let n=[];for(let r=0;r<e.length;r++)n.push([e[r],t[r]]);return n}(e,t),o=r.length,i="",s=0;for(let e=0;e<o;e++){let[t,n]=r[e];t===n?i+=t:"0"!==t||"9"!==n?i+=`[${a=t}${(c=n)-a==1?"":"-"}${c}]`:s++}var a,c;return s&&(i+=!0===n.shorthand?"\\d":"[0-9]"),{pattern:i,count:[s],digits:o}}function s(e,t,n,r){let o,s=function(e,t){let n=1,r=1,o=l(e,n),i=new Set([t]);for(;e<=o&&o<=t;)i.add(o),n+=1,o=l(e,n);for(o=p(t+1,r)-1;e<o&&o<=t;)i.add(o),r+=1,o=p(t+1,r)-1;return i=[...i],i.sort(c),i}(e,t),a=[],u=e;for(let e=0;e<s.length;e++){let t=s[e],c=i(String(u),String(t),r),l="";n.isPadded||!o||o.pattern!==c.pattern?(n.isPadded&&(l=h(t,n,r)),c.string=l+c.pattern+f(c.count),a.push(c),u=t+1,o=c):(o.count.length>1&&o.count.pop(),o.count.push(c.count[0]),o.string=o.pattern+f(o.count),u=t+1)}return a}function a(e,t,n,r,o){let i=[];for(let o of e){let{string:e}=o;r||u(t,"string",e)||i.push(n+e),r&&u(t,"string",e)&&i.push(n+e)}return i}function c(e,t){return e>t?1:t>e?-1:0}function u(e,t,n){return e.some((e=>e[t]===n))}function l(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function p(e,t){return e-e%Math.pow(10,t)}function f(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function d(e){return/^-?(0+)\d/.test(e)}function h(e,t,n){if(!t.isPadded)return e;let r=Math.abs(t.maxLen-String(e).length),o=!1!==n.relaxZeros;switch(r){case 0:return"";case 1:return o?"0?":"0";case 2:return o?"0{0,2}":"00";default:return o?`0{0,${r}}`:`0{${r}}`}}o.cache={},o.clearCache=()=>o.cache={},e.exports=o},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")},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")},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")},4800(e,t,n){"use strict";const{normalizeIPv6:r,normalizeIPv4:o,removeDotSegments:i,recomposeAuthority:s,normalizeComponentEncoding:a}=n(5365),c=n(3956);function u(e,t,n,r){const o={};return r||(e=d(l(e,n),n),t=d(l(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(o.scheme=t.scheme,o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=i(t.path||""),o.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=i(t.path||""),o.query=t.query):(t.path?("/"===t.path.charAt(0)?o.path=i(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:o.path=t.path:o.path="/"+t.path,o.path=i(o.path)),o.query=t.query):(o.path=e.path,void 0!==t.query?o.query=t.query:o.query=e.query),o.userinfo=e.userinfo,o.host=e.host,o.port=e.port),o.scheme=e.scheme),o.fragment=t.fragment,o}function l(e,t){const n={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},r=Object.assign({},t),o=[],a=c[(r.scheme||n.scheme||"").toLowerCase()];a&&a.serialize&&a.serialize(n,r),void 0!==n.path&&(r.skipEscape?n.path=unescape(n.path):(n.path=escape(n.path),void 0!==n.scheme&&(n.path=n.path.split("%3A").join(":")))),"suffix"!==r.reference&&n.scheme&&(o.push(n.scheme),o.push(":"));const u=s(n,r);if(void 0!==u&&("suffix"!==r.reference&&o.push("//"),o.push(u),n.path&&"/"!==n.path.charAt(0)&&o.push("/")),void 0!==n.path){let e=n.path;r.absolutePath||a&&a.absolutePath||(e=i(e)),void 0===u&&(e=e.replace(/^\/\//u,"/%2F")),o.push(e)}return void 0!==n.query&&(o.push("?"),o.push(n.query)),void 0!==n.fragment&&(o.push("#"),o.push(n.fragment)),o.join("")}const p=Array.from({length:127},((e,t)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(t)))),f=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function d(e,t){const n=Object.assign({},t),i={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},s=-1!==e.indexOf("%");let a=!1;"suffix"===n.reference&&(e=(n.scheme?n.scheme+":":"")+"//"+e);const u=e.match(f);if(u){if(i.scheme=u[1],i.userinfo=u[3],i.host=u[4],i.port=parseInt(u[5],10),i.path=u[6]||"",i.query=u[7],i.fragment=u[8],isNaN(i.port)&&(i.port=u[5]),i.host){const e=o(i.host);if(!1===e.isIPV4){const t=r(e.host,{isIPV4:!1});i.host=t.host.toLowerCase(),a=t.isIPV6}else i.host=e.host,a=!0}void 0!==i.scheme||void 0!==i.userinfo||void 0!==i.host||void 0!==i.port||i.path||void 0!==i.query?void 0===i.scheme?i.reference="relative":void 0===i.fragment?i.reference="absolute":i.reference="uri":i.reference="same-document",n.reference&&"suffix"!==n.reference&&n.reference!==i.reference&&(i.error=i.error||"URI is not a "+n.reference+" reference.");const e=c[(n.scheme||i.scheme||"").toLowerCase()];if(!(n.unicodeSupport||e&&e.unicodeSupport)&&i.host&&(n.domainHost||e&&e.domainHost)&&!1===a&&function(e){let t=0;for(let n=0,r=e.length;n<r;++n)if(t=e.charCodeAt(n),t>126||p[t])return!0;return!1}(i.host))try{i.host=URL.domainToASCII(i.host.toLowerCase())}catch(e){i.error=i.error||"Host's domain name can not be converted to ASCII: "+e}(!e||e&&!e.skipNormalize)&&(s&&void 0!==i.scheme&&(i.scheme=unescape(i.scheme)),s&&void 0!==i.userinfo&&(i.userinfo=unescape(i.userinfo)),s&&void 0!==i.host&&(i.host=unescape(i.host)),void 0!==i.path&&i.path.length&&(i.path=escape(unescape(i.path))),void 0!==i.fragment&&i.fragment.length&&(i.fragment=encodeURI(decodeURIComponent(i.fragment)))),e&&e.parse&&e.parse(i,n)}else i.error=i.error||"URI can not be parsed.";return i}const h={SCHEMES:c,normalize:function(e,t){return"string"==typeof e?e=l(d(e,t),t):"object"==typeof e&&(e=d(l(e,t),t)),e},resolve:function(e,t,n){const r=Object.assign({scheme:"null"},n);return l(u(d(e,r),d(t,r),r,!0),{...r,skipEscape:!0})},resolveComponents:u,equal:function(e,t,n){return"string"==typeof e?(e=unescape(e),e=l(a(d(e,n),!0),{...n,skipEscape:!0})):"object"==typeof e&&(e=l(a(e,!0),{...n,skipEscape:!0})),"string"==typeof t?(t=unescape(t),t=l(a(d(t,n),!0),{...n,skipEscape:!0})):"object"==typeof t&&(t=l(a(t,!0),{...n,skipEscape:!0})),e.toLowerCase()===t.toLowerCase()},serialize:l,parse:d};e.exports=h,e.exports.default=h,e.exports.fastUri=h},3956(e){"use strict";const t=/^[\da-f]{8}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{12}$/iu,n=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function r(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}function o(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function i(e){const t="https"===String(e.scheme).toLowerCase();return e.port!==(t?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}const s={scheme:"http",domainHost:!0,parse:o,serialize:i},a={scheme:"ws",domainHost:!0,parse:function(e){return e.secure=r(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e},serialize:function(e){if(e.port!==(r(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){const[t,n]=e.resourceName.split("?");e.path=t&&"/"!==t?t:void 0,e.query=n,e.resourceName=void 0}return e.fragment=void 0,e}},c={http:s,https:{scheme:"https",domainHost:s.domainHost,parse:o,serialize:i},ws:a,wss:{scheme:"wss",domainHost:a.domainHost,parse:a.parse,serialize:a.serialize},urn:{scheme:"urn",parse:function(e,t){if(!e.path)return e.error="URN can not be parsed",e;const r=e.path.match(n);if(r){const n=t.scheme||e.scheme||"urn";e.nid=r[1].toLowerCase(),e.nss=r[2];const o=`${n}:${t.nid||e.nid}`,i=c[o];e.path=void 0,i&&(e=i.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e},serialize:function(e,t){const n=t.scheme||e.scheme||"urn",r=e.nid.toLowerCase(),o=`${n}:${t.nid||r}`,i=c[o];i&&(e=i.serialize(e,t));const s=e,a=e.nss;return s.path=`${r||t.nid}:${a}`,t.skipEscape=!0,s},skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:function(e,n){const r=e;return r.uuid=r.nss,r.nss=void 0,n.tolerant||r.uuid&&t.test(r.uuid)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t},skipNormalize:!0}};e.exports=c},5073(e){"use strict";e.exports={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}},5365(e,t,n){"use strict";const{HEX:r}=n(5073);function o(e){if(c(e,".")<3)return{host:e,isIPV4:!1};const t=e.match(/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/u)||[],[n]=t;return n?{host:a(n,"."),isIPV4:!0}:{host:e,isIPV4:!1}}function i(e,t=!1){let n="",o=!0;for(const t of e){if(void 0===r[t])return;"0"!==t&&!0===o&&(o=!1),o||(n+=t)}return t&&0===n.length&&(n="0"),n}function s(e,t={}){if(c(e,":")<2)return{host:e,isIPV6:!1};const n=function(e){let t=0;const n={error:!1,address:"",zone:""},r=[],o=[];let s=!1,a=!1,c=!1;function u(){if(o.length){if(!1===s){const e=i(o);if(void 0===e)return n.error=!0,!1;r.push(e)}o.length=0}return!0}for(let i=0;i<e.length;i++){const l=e[i];if("["!==l&&"]"!==l)if(":"!==l)if("%"===l){if(!u())break;s=!0}else o.push(l);else{if(!0===a&&(c=!0),!u())break;if(t++,r.push(":"),t>7){n.error=!0;break}i-1>=0&&":"===e[i-1]&&(a=!0)}}return o.length&&(s?n.zone=o.join(""):c?r.push(o.join("")):r.push(i(o))),n.address=r.join(""),n}(e);if(n.error)return{host:e,isIPV6:!1};{let e=n.address,t=n.address;return n.zone&&(e+="%"+n.zone,t+="%25"+n.zone),{host:e,escapedHost:t,isIPV6:!0}}}function a(e,t){let n="",r=!0;const o=e.length;for(let i=0;i<o;i++){const s=e[i];"0"===s&&r?(i+1<=o&&e[i+1]===t||i+1===o)&&(n+=s,r=!1):(r=s===t,n+=s)}return n}function c(e,t){let n=0;for(let r=0;r<e.length;r++)e[r]===t&&n++;return n}const u=/^\.\.?\//u,l=/^\/\.(?:\/|$)/u,p=/^\/\.\.(?:\/|$)/u,f=/^\/?(?:.|\n)*?(?=\/|$)/u;e.exports={recomposeAuthority:function(e,t){const n=[];if(void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host){let t=unescape(e.host);const r=o(t);if(r.isIPV4)t=r.host;else{const n=s(r.host,{isIPV4:!1});t=!0===n.isIPV6?`[${n.escapedHost}]`:e.host}n.push(t)}return"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0},normalizeComponentEncoding:function(e,t){const n=!0!==t?escape:unescape;return void 0!==e.scheme&&(e.scheme=n(e.scheme)),void 0!==e.userinfo&&(e.userinfo=n(e.userinfo)),void 0!==e.host&&(e.host=n(e.host)),void 0!==e.path&&(e.path=n(e.path)),void 0!==e.query&&(e.query=n(e.query)),void 0!==e.fragment&&(e.fragment=n(e.fragment)),e},removeDotSegments:function(e){const t=[];for(;e.length;)if(e.match(u))e=e.replace(u,"");else if(e.match(l))e=e.replace(l,"/");else if(e.match(p))e=e.replace(p,"/"),t.pop();else if("."===e||".."===e)e="";else{const n=e.match(f);if(!n)throw new Error("Unexpected dot segment condition");{const r=n[0];e=e.slice(r.length),t.push(r)}}return t.join("")},normalizeIPv4:o,normalizeIPv6:s,stringArrayToHexStripped:i}},3285(e,t,n){"use strict";var r=n(9399),o=n(3205),i=n(2262),s=n(847),a=n(6783),c=n(8302),u=n(2918);function l(e,t,n,r,o,i){const s="block-map"===n.type?a.resolveBlockMap(e,t,n,r,i):"block-seq"===n.type?c.resolveBlockSeq(e,t,n,r,i):u.resolveFlowCollection(e,t,n,r,i),l=s.constructor;return"!"===o||o===l.tagName?(s.tag=l.tagName,s):(o&&(s.tag=o),s)}t.composeCollection=function(e,t,n,a,c){const u=a.tag,p=u?t.directives.tagName(u.source,(e=>c(u,"TAG_RESOLVE_FAILED",e))):null;if("block-seq"===n.type){const{anchor:e,newlineAfterProp:t}=a,n=e&&u?e.offset>u.offset?e:u:e??u;n&&(!t||t.offset<n.offset)&&c(n,"MISSING_CHAR","Missing newline after block sequence props")}const f="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!u||!p||"!"===p||p===i.YAMLMap.tagName&&"map"===f||p===s.YAMLSeq.tagName&&"seq"===f)return l(e,t,n,c,p);let d=t.schema.tags.find((e=>e.tag===p&&e.collection===f));if(!d){const r=t.schema.knownTags[p];if(r?.collection!==f)return r?c(u,"BAD_COLLECTION_TYPE",`${r.tag} used for ${f} collection, but expects ${r.collection??"scalar"}`,!0):c(u,"TAG_RESOLVE_FAILED",`Unresolved tag: ${p}`,!0),l(e,t,n,c,p);t.schema.tags.push(Object.assign({},r,{default:!1})),d=r}const h=l(e,t,n,c,p,d),m=d.resolve?.(h,(e=>c(u,"TAG_RESOLVE_FAILED",e)),t.options)??h,y=r.isNode(m)?m:new o.Scalar(m);return y.range=h.range,y.tag=p,d?.format&&(y.format=d.format),y}},1683(e,t,n){"use strict";var r=n(2333),o=n(5729),i=n(3484),s=n(423);t.composeDoc=function(e,t,{offset:n,start:a,value:c,end:u},l){const p=Object.assign({_directives:t},e),f=new r.Document(void 0,p),d={atKey:!1,atRoot:!0,directives:f.directives,options:f.options,schema:f.schema},h=s.resolveProps(a,{indicator:"doc-start",next:c??u?.[0],offset:n,onError:l,parentIndent:0,startOnNewline:!0});h.found&&(f.directives.docStart=!0,!c||"block-map"!==c.type&&"block-seq"!==c.type||h.hasNewline||l(h.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),f.contents=c?o.composeNode(d,c,h,l):o.composeEmptyNode(d,h.end,a,null,h,l);const m=f.contents.range[2],y=i.resolveEnd(u,m,!1,l);return y.comment&&(f.comment=y.comment),f.range=[n,m,y.offset],f}},5729(e,t,n){"use strict";var r=n(9281),o=n(9399),i=n(3285),s=n(8917),a=n(3484),c=n(9943);const u={composeNode:l,composeEmptyNode:p};function l(e,t,n,c){const l=e.atKey,{spaceBefore:f,comment:d,anchor:h,tag:m}=n;let y,g=!0;switch(t.type){case"alias":y=function({options:e},{offset:t,source:n,end:o},i){const s=new r.Alias(n.substring(1));""===s.source&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const c=t+n.length,u=a.resolveEnd(o,c,e.strict,i);return s.range=[t,c,u.offset],u.comment&&(s.comment=u.comment),s}(e,t,c),(h||m)&&c(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":y=s.composeScalar(e,t,m,c),h&&(y.anchor=h.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{y=i.composeCollection(u,e,t,n,c),h&&(y.anchor=h.source.substring(1))}catch(e){c(t,"RESOURCE_EXHAUSTION",e instanceof Error?e.message:String(e))}break;default:c(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),g=!1}return y??(y=p(e,t.offset,void 0,null,n,c)),h&&""===y.anchor&&c(h,"BAD_ALIAS","Anchor cannot be an empty string"),l&&e.options.stringKeys&&(!o.isScalar(y)||"string"!=typeof y.value||y.tag&&"tag:yaml.org,2002:str"!==y.tag)&&c(m??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),f&&(y.spaceBefore=!0),d&&("scalar"===t.type&&""===t.source?y.comment=d:y.commentBefore=d),e.options.keepSourceTokens&&g&&(y.srcToken=t),y}function p(e,t,n,r,{spaceBefore:o,comment:i,anchor:a,tag:u,end:l},p){const f={type:"scalar",offset:c.emptyScalarPosition(t,n,r),indent:-1,source:""},d=s.composeScalar(e,f,u,p);return a&&(d.anchor=a.source.substring(1),""===d.anchor&&p(a,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(d.spaceBefore=!0),i&&(d.comment=i,d.range[2]=l),d}t.composeEmptyNode=p,t.composeNode=l},8917(e,t,n){"use strict";var r=n(9399),o=n(3205),i=n(6945),s=n(2362);t.composeScalar=function(e,t,n,a){const{value:c,type:u,comment:l,range:p}="block-scalar"===t.type?i.resolveBlockScalar(e,t,a):s.resolveFlowScalar(t,e.options.strict,a),f=n?e.directives.tagName(n.source,(e=>a(n,"TAG_RESOLVE_FAILED",e))):null;let d,h;d=e.options.stringKeys&&e.atKey?e.schema[r.SCALAR]:f?function(e,t,n,o,i){if("!"===n)return e[r.SCALAR];const s=[];for(const t of e.tags)if(!t.collection&&t.tag===n){if(!t.default||!t.test)return t;s.push(t)}for(const e of s)if(e.test?.test(t))return e;const a=e.knownTags[n];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(i(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[r.SCALAR])}(e.schema,c,f,n,a):"scalar"===t.type?function({atKey:e,directives:t,schema:n},o,i,s){const a=n.tags.find((t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(o)))||n[r.SCALAR];if(n.compat){const e=n.compat.find((e=>e.default&&e.test?.test(o)))??n[r.SCALAR];a.tag!==e.tag&&s(i,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${t.tagString(a.tag)} or ${t.tagString(e.tag)}`,!0)}return a}(e,c,t,a):e.schema[r.SCALAR];try{const i=d.resolve(c,(e=>a(n??t,"TAG_RESOLVE_FAILED",e)),e.options);h=r.isScalar(i)?i:new o.Scalar(i)}catch(e){const r=e instanceof Error?e.message:String(e);a(n??t,"TAG_RESOLVE_FAILED",r),h=new o.Scalar(c)}return h.range=p,h.source=c,u&&(h.type=u),f&&(h.tag=f),d.format&&(h.format=d.format),l&&(h.comment=l),h}},8480(e,t,n){"use strict";var r=n(932),o=n(4670),i=n(2333),s=n(1656),a=n(9399),c=n(1683),u=n(3484);function l(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function p(e){let t="",n=!1,r=!1;for(let o=0;o<e.length;++o){const i=e[o];switch(i[0]){case"#":t+=(""===t?"":r?"\n\n":"\n")+(i.substring(1)||" "),n=!0,r=!1;break;case"%":"#"!==e[o+1]?.[0]&&(o+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}t.Composer=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{const o=l(e);r?this.warnings.push(new s.YAMLWarning(o,t,n)):this.errors.push(new s.YAMLParseError(o,t,n))},this.directives=new o.Directives({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:r}=p(this.prelude);if(n){const o=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!o)e.commentBefore=n;else if(a.isCollection(o)&&!o.flow&&o.items.length>0){let e=o.items[0];a.isPair(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{const e=o.commentBefore;o.commentBefore=e?`${n}\n${e}`:n}}if(t){for(let t=0;t<this.errors.length;++t)e.errors.push(this.errors[t]);for(let t=0;t<this.warnings.length;++t)e.warnings.push(this.warnings[t])}else e.errors=this.errors,e.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:p(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(const t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(r.env.LOG_STREAM&&console.dir(e,{depth:null}),e.type){case"directive":this.directives.add(e.source,((t,n,r)=>{const o=l(e);o[0]+=t,this.onError(o,"BAD_DIRECTIVE",n,r)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=c.composeDoc(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new s.YAMLParseError(l(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new s.YAMLParseError(l(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=u.resolveEnd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new s.YAMLParseError(l(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),n=new i.Document(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,t,t],this.decorate(n,!1),yield n}}}},6783(e,t,n){"use strict";var r=n(4237),o=n(2262),i=n(423),s=n(2187),a=n(4851),c=n(5203);const u="All mapping items must start at the same column";t.resolveBlockMap=function({composeNode:e,composeEmptyNode:t},n,l,p,f){const d=new(f?.nodeClass??o.YAMLMap)(n.schema);n.atRoot&&(n.atRoot=!1);let h=l.offset,m=null;for(const o of l.items){const{start:f,key:y,sep:g,value:v}=o,b=i.resolveProps(f,{indicator:"explicit-key-ind",next:y??g?.[0],offset:h,onError:p,parentIndent:l.indent,startOnNewline:!0}),x=!b.found;if(x){if(y&&("block-seq"===y.type?p(h,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in y&&y.indent!==l.indent&&p(h,"BAD_INDENT",u)),!b.anchor&&!b.tag&&!g){m=b.end,b.comment&&(d.comment?d.comment+="\n"+b.comment:d.comment=b.comment);continue}(b.newlineAfterProp||s.containsNewline(y))&&p(y??f[f.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else b.found?.indent!==l.indent&&p(h,"BAD_INDENT",u);n.atKey=!0;const w=b.end,_=y?e(n,y,b,p):t(n,w,f,null,b,p);n.schema.compat&&a.flowIndentCheck(l.indent,y,p),n.atKey=!1,c.mapIncludes(n,d.items,_)&&p(w,"DUPLICATE_KEY","Map keys must be unique");const E=i.resolveProps(g??[],{indicator:"map-value-ind",next:v,offset:_.range[2],onError:p,parentIndent:l.indent,startOnNewline:!y||"block-scalar"===y.type});if(h=E.end,E.found){x&&("block-map"!==v?.type||E.hasNewline||p(h,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&b.start<E.found.offset-1024&&p(_.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const i=v?e(n,v,E,p):t(n,h,g,null,E,p);n.schema.compat&&a.flowIndentCheck(l.indent,v,p),h=i.range[2];const s=new r.Pair(_,i);n.options.keepSourceTokens&&(s.srcToken=o),d.items.push(s)}else{x&&p(_.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),E.comment&&(_.comment?_.comment+="\n"+E.comment:_.comment=E.comment);const e=new r.Pair(_);n.options.keepSourceTokens&&(e.srcToken=o),d.items.push(e)}}return m&&m<h&&p(m,"IMPOSSIBLE","Map comment with trailing content"),d.range=[l.offset,h,m??h],d}},6945(e,t,n){"use strict";var r=n(3205);t.resolveBlockScalar=function(e,t,n){const o=t.offset,i=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:o}=t[0],i=o[0];let s=0,a="",c=-1;for(let t=1;t<o.length;++t){const n=o[t];if(a||"-"!==n&&"+"!==n){const r=Number(n);!s&&r?s=r:-1===c&&(c=e+t)}else a=n}-1!==c&&r(c,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${o}`);let u=!1,l="",p=o.length;for(let e=1;e<t.length;++e){const o=t[e];switch(o.type){case"space":u=!0;case"newline":p+=o.source.length;break;case"comment":n&&!u&&r(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),p+=o.source.length,l=o.source.substring(1);break;case"error":r(o,"UNEXPECTED_TOKEN",o.message),p+=o.source.length;break;default:{r(o,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${o.type}`);const e=o.source;e&&"string"==typeof e&&(p+=e.length)}}}return{mode:i,indent:s,chomp:a,comment:l,length:p}}(t,e.options.strict,n);if(!i)return{value:"",type:null,comment:"",range:[o,o,o]};const s=">"===i.mode?r.Scalar.BLOCK_FOLDED:r.Scalar.BLOCK_LITERAL,a=t.source?function(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),o=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let e=1;e<t.length;e+=2)o.push([t[e],t[e+1]]);return o}(t.source):[];let c=a.length;for(let e=a.length-1;e>=0;--e){const t=a[e][1];if(""!==t&&"\r"!==t)break;c=e}if(0===c){const e="+"===i.chomp&&a.length>0?"\n".repeat(Math.max(1,a.length-1)):"";let n=o+i.length;return t.source&&(n+=t.source.length),{value:e,type:s,comment:i.comment,range:[o,n,n]}}let u=t.indent+i.indent,l=t.offset+i.length,p=0;for(let t=0;t<c;++t){const[r,o]=a[t];if(""!==o&&"\r"!==o){if(r.length<u){const e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";n(l+r.length,"MISSING_CHAR",e)}0===i.indent&&(u=r.length),p=t,0!==u||e.atRoot||n(l,"BAD_INDENT","Block scalar values in collections must be indented");break}0===i.indent&&r.length>u&&(u=r.length),l+=r.length+o.length+1}for(let e=a.length-1;e>=c;--e)a[e][0].length>u&&(c=e+1);let f="",d="",h=!1;for(let e=0;e<p;++e)f+=a[e][0].slice(u)+"\n";for(let e=p;e<c;++e){let[t,o]=a[e];l+=t.length+o.length+1;const c="\r"===o[o.length-1];if(c&&(o=o.slice(0,-1)),o&&t.length<u){const e="Block scalar lines must not be less indented than their "+(i.indent?"explicit indentation indicator":"first line");n(l-o.length-(c?2:1),"BAD_INDENT",e),t=""}s===r.Scalar.BLOCK_LITERAL?(f+=d+t.slice(u)+o,d="\n"):t.length>u||"\t"===o[0]?(" "===d?d="\n":h||"\n"!==d||(d="\n\n"),f+=d+t.slice(u)+o,d="\n",h=!0):""===o?"\n"===d?f+="\n":d="\n":(f+=d+o,d=" ",h=!1)}switch(i.chomp){case"-":break;case"+":for(let e=c;e<a.length;++e)f+="\n"+a[e][0].slice(u);"\n"!==f[f.length-1]&&(f+="\n");break;default:f+="\n"}const m=o+i.length+t.source.length;return{value:f,type:s,comment:i.comment,range:[o,m,m]}}},8302(e,t,n){"use strict";var r=n(847),o=n(423),i=n(4851);t.resolveBlockSeq=function({composeNode:e,composeEmptyNode:t},n,s,a,c){const u=new(c?.nodeClass??r.YAMLSeq)(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let l=s.offset,p=null;for(const{start:r,value:c}of s.items){const f=o.resolveProps(r,{indicator:"seq-item-ind",next:c,offset:l,onError:a,parentIndent:s.indent,startOnNewline:!0});if(!f.found){if(!(f.anchor||f.tag||c)){p=f.end,f.comment&&(u.comment=f.comment);continue}"block-seq"===c?.type?a(f.end,"BAD_INDENT","All sequence items must start at the same column"):a(l,"MISSING_CHAR","Sequence item without - indicator")}const d=c?e(n,c,f,a):t(n,f.end,r,null,f,a);n.schema.compat&&i.flowIndentCheck(s.indent,c,a),l=d.range[2],u.items.push(d)}return u.range=[s.offset,l,p??l],u}},3484(e,t){"use strict";t.resolveEnd=function(e,t,n,r){let o="";if(e){let i=!1,s="";for(const a of e){const{source:e,type:c}=a;switch(c){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";o?o+=s+t:o=t,s="";break}case"newline":o&&(s+=e),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}t+=e.length}}return{comment:o,offset:t}}},2918(e,t,n){"use strict";var r=n(9399),o=n(4237),i=n(2262),s=n(847),a=n(3484),c=n(423),u=n(2187),l=n(5203);const p="Block collections are not allowed within flow collections",f=e=>e&&("block-map"===e.type||"block-seq"===e.type);t.resolveFlowCollection=function({composeNode:e,composeEmptyNode:t},n,d,h,m){const y="{"===d.start.source,g=y?"flow map":"flow sequence",v=new(m?.nodeClass??(y?i.YAMLMap:s.YAMLSeq))(n.schema);v.flow=!0;const b=n.atRoot;b&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let x=d.offset+d.start.source.length;for(let s=0;s<d.items.length;++s){const a=d.items[s],{start:m,key:b,sep:w,value:_}=a,E=c.resolveProps(m,{flow:g,indicator:"explicit-key-ind",next:b??w?.[0],offset:x,onError:h,parentIndent:d.indent,startOnNewline:!1});if(!E.found){if(!(E.anchor||E.tag||w||_)){0===s&&E.comma?h(E.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`):s<d.items.length-1&&h(E.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${g}`),E.comment&&(v.comment?v.comment+="\n"+E.comment:v.comment=E.comment),x=E.end;continue}!y&&n.options.strict&&u.containsNewline(b)&&h(b,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===s)E.comma&&h(E.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`);else if(E.comma||h(E.start,"MISSING_CHAR",`Missing , between ${g} items`),E.comment){let e="";e:for(const t of m)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){let t=v.items[v.items.length-1];r.isPair(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,E.comment=E.comment.substring(e.length+1)}}if(y||w||E.found){n.atKey=!0;const r=E.end,s=b?e(n,b,E,h):t(n,r,m,null,E,h);f(b)&&h(s.range,"BLOCK_IN_FLOW",p),n.atKey=!1;const u=c.resolveProps(w??[],{flow:g,indicator:"map-value-ind",next:_,offset:s.range[2],onError:h,parentIndent:d.indent,startOnNewline:!1});if(u.found){if(!y&&!E.found&&n.options.strict){if(w)for(const e of w){if(e===u.found)break;if("newline"===e.type){h(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}E.start<u.found.offset-1024&&h(u.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else _&&("source"in _&&":"===_.source?.[0]?h(_,"MISSING_CHAR",`Missing space after : in ${g}`):h(u.start,"MISSING_CHAR",`Missing , or : between ${g} items`));const S=_?e(n,_,u,h):u.found?t(n,u.end,w,null,u,h):null;S?f(_)&&h(S.range,"BLOCK_IN_FLOW",p):u.comment&&(s.comment?s.comment+="\n"+u.comment:s.comment=u.comment);const D=new o.Pair(s,S);if(n.options.keepSourceTokens&&(D.srcToken=a),y){const e=v;l.mapIncludes(n,e.items,s)&&h(r,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(D)}else{const e=new i.YAMLMap(n.schema);e.flow=!0,e.items.push(D);const t=(S??s).range;e.range=[s.range[0],t[1],t[2]],v.items.push(e)}x=S?S.range[2]:u.end}else{const r=_?e(n,_,E,h):t(n,E.end,w,null,E,h);v.items.push(r),x=r.range[2],f(_)&&h(r.range,"BLOCK_IN_FLOW",p)}}const w=y?"}":"]",[_,...E]=d.end;let S=x;if(_?.source===w)S=_.offset+_.source.length;else{const e=g[0].toUpperCase()+g.substring(1);h(x,b?"MISSING_CHAR":"BAD_INDENT",b?`${e} must end with a ${w}`:`${e} in block collection must be sufficiently indented and end with a ${w}`),_&&1!==_.source.length&&E.unshift(_)}if(E.length>0){const e=a.resolveEnd(E,S,n.options.strict,h);e.comment&&(v.comment?v.comment+="\n"+e.comment:v.comment=e.comment),v.range=[d.offset,S,e.offset]}else v.range=[d.offset,S,S];return v}},2362(e,t,n){"use strict";var r=n(3205),o=n(3484);function i(e){let t,n;try{t=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),n=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let o=r[1],i=" ",s=t.lastIndex;for(n.lastIndex=s;r=n.exec(e);)""===r[1]?"\n"===i?o+=i:i="\n":(o+=i+r[1],i=" "),s=n.lastIndex;const a=/[ \t]*(.*)/sy;return a.lastIndex=s,r=a.exec(e),o+i+(r?.[1]??"")}function s(e,t){let n="",r=e[t+1];for(;!(" "!==r&&"\t"!==r&&"\n"!==r&&"\r"!==r||"\r"===r&&"\n"!==e[t+2]);)"\n"===r&&(n+="\n"),r=e[(t+=1)+1];return n||(n=" "),{fold:n,offset:t}}const a={0:"\0",a:"",b:"\b",e:"",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function c(e,t,n,r){const o=e.substr(t,n),i=o.length===n&&/^[0-9a-fA-F]+$/.test(o)?parseInt(o,16):NaN;try{return String.fromCodePoint(i)}catch{const o=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}}t.resolveFlowScalar=function(e,t,n){const{offset:u,type:l,source:p,end:f}=e;let d,h;const m=(e,t,r)=>n(u+e,t,r);switch(l){case"scalar":d=r.Scalar.PLAIN,h=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),i(e)}(p,m);break;case"single-quoted-scalar":d=r.Scalar.QUOTE_SINGLE,h=function(e,t){return"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote"),i(e.slice(1,-1)).replace(/''/g,"'")}(p,m);break;case"double-quoted-scalar":d=r.Scalar.QUOTE_DOUBLE,h=function(e,t){let n="";for(let r=1;r<e.length-1;++r){const o=e[r];if("\r"!==o||"\n"!==e[r+1])if("\n"===o){const{fold:t,offset:o}=s(e,r);n+=t,r=o}else if("\\"===o){let o=e[++r];const i=a[o];if(i)n+=i;else if("\n"===o)for(o=e[r+1];" "===o||"\t"===o;)o=e[1+ ++r];else if("\r"===o&&"\n"===e[r+1])for(o=e[1+ ++r];" "===o||"\t"===o;)o=e[1+ ++r];else if("x"===o||"u"===o||"U"===o){const i="x"===o?2:"u"===o?4:8;n+=c(e,r+1,i,t),r+=i}else{const o=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),n+=o}}else if(" "===o||"\t"===o){const t=r;let i=e[r+1];for(;" "===i||"\t"===i;)i=e[1+ ++r];"\n"===i||"\r"===i&&"\n"===e[r+2]||(n+=r>t?e.slice(t,r+1):o)}else n+=o}return'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}(p,m);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${l}`),{value:"",type:null,comment:"",range:[u,u+p.length,u+p.length]}}const y=u+p.length,g=o.resolveEnd(f,y,t,n);return{value:h,type:d,comment:g.comment,range:[u,y,g.offset]}}},423(e,t){"use strict";t.resolveProps=function(e,{flow:t,indicator:n,next:r,offset:o,onError:i,parentIndent:s,startOnNewline:a}){let c=!1,u=a,l=a,p="",f="",d=!1,h=!1,m=null,y=null,g=null,v=null,b=null,x=null,w=null;for(const o of e)switch(h&&("space"!==o.type&&"newline"!==o.type&&"comma"!==o.type&&i(o.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),h=!1),m&&(u&&"comment"!==o.type&&"newline"!==o.type&&i(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),o.type){case"space":t||"doc-start"===n&&"flow-collection"===r?.type||!o.source.includes("\t")||(m=o),l=!0;break;case"comment":{l||i(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=o.source.substring(1)||" ";p?p+=f+e:p=e,f="",u=!1;break}case"newline":u?p?p+=o.source:x&&"seq-item-ind"===n||(c=!0):f+=o.source,u=!0,d=!0,(y||g)&&(v=o),l=!0;break;case"anchor":y&&i(o,"MULTIPLE_ANCHORS","A node can have at most one anchor"),o.source.endsWith(":")&&i(o.offset+o.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),y=o,w??(w=o.offset),u=!1,l=!1,h=!0;break;case"tag":g&&i(o,"MULTIPLE_TAGS","A node can have at most one tag"),g=o,w??(w=o.offset),u=!1,l=!1,h=!0;break;case n:(y||g)&&i(o,"BAD_PROP_ORDER",`Anchors and tags must be after the ${o.source} indicator`),x&&i(o,"UNEXPECTED_TOKEN",`Unexpected ${o.source} in ${t??"collection"}`),x=o,u="seq-item-ind"===n||"explicit-key-ind"===n,l=!1;break;case"comma":if(t){b&&i(o,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),b=o,u=!1,l=!1;break}default:i(o,"UNEXPECTED_TOKEN",`Unexpected ${o.type} token`),u=!1,l=!1}const _=e[e.length-1],E=_?_.offset+_.source.length:o;return h&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(u&&m.indent<=s||"block-map"===r?.type||"block-seq"===r?.type)&&i(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:b,found:x,spaceBefore:c,comment:p,hasNewline:d,anchor:y,tag:g,newlineAfterProp:v,end:E,start:w??E}}},2187(e,t){"use strict";t.containsNewline=function e(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes("\n"))return!0;if(t.end)for(const e of t.end)if("newline"===e.type)return!0;return!1;case"flow-collection":for(const n of t.items){for(const e of n.start)if("newline"===e.type)return!0;if(n.sep)for(const e of n.sep)if("newline"===e.type)return!0;if(e(n.key)||e(n.value))return!0}return!1;default:return!0}}},9943(e,t){"use strict";t.emptyScalarPosition=function(e,t,n){if(t){n??(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];"space"===n?.type;)e+=n.source.length,n=t[++r];break}}return e}},4851(e,t,n){"use strict";var r=n(2187);t.flowIndentCheck=function(e,t,n){if("flow-collection"===t?.type){const o=t.end[0];o.indent!==e||"]"!==o.source&&"}"!==o.source||!r.containsNewline(t)||n(o,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}},5203(e,t,n){"use strict";var r=n(9399);t.mapIncludes=function(e,t,n){const{uniqueKeys:o}=e.options;if(!1===o)return!1;const i="function"==typeof o?o:(e,t)=>e===t||r.isScalar(e)&&r.isScalar(t)&&e.value===t.value;return t.some((e=>i(e.key,n)))}},2333(e,t,n){"use strict";var r=n(9281),o=n(2997),i=n(9399),s=n(4237),a=n(3947),c=n(7840),u=n(1677),l=n(8028),p=n(7197),f=n(4532),d=n(4670);class h{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,i.NODE_TYPE,{value:i.DOC});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const o=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=o;let{version:s}=o;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(s=this.directives.yaml.version)):this.directives=new d.Directives({version:s}),this.setSchema(s,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){const e=Object.create(h.prototype,{[i.NODE_TYPE]:{value:i.DOC}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=i.isNode(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){m(this.contents)&&this.contents.add(e)}addIn(e,t){m(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=l.anchorNames(this);e.anchor=!t||n.has(t)?l.findNewAnchor(t||"a",n):t}return new r.Alias(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String);n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0);const{aliasDuplicateObjects:o,anchorPrefix:s,flow:a,keepUndefined:c,onTagObj:u,tag:p}=n??{},{onAnchor:d,setAnchors:h,sourceObjects:m}=l.createNodeAnchors(this,s||"a"),y={aliasDuplicateObjects:o??!0,keepUndefined:c??!1,onAnchor:d,onTagObj:u,replacer:r,schema:this.schema,sourceObjects:m},g=f.createNode(e,p,y);return a&&i.isCollection(g)&&(g.flow=!0),h(),g}createPair(e,t,n={}){const r=this.createNode(e,null,n),o=this.createNode(t,null,n);return new s.Pair(r,o)}delete(e){return!!m(this.contents)&&this.contents.delete(e)}deleteIn(e){return o.isEmptyPath(e)?null!=this.contents&&(this.contents=null,!0):!!m(this.contents)&&this.contents.deleteIn(e)}get(e,t){return i.isCollection(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return o.isEmptyPath(e)?!t&&i.isScalar(this.contents)?this.contents.value:this.contents:i.isCollection(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!i.isCollection(this.contents)&&this.contents.has(e)}hasIn(e){return o.isEmptyPath(e)?void 0!==this.contents:!!i.isCollection(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=o.collectionFromPath(this.schema,[e],t):m(this.contents)&&this.contents.set(e,t)}setIn(e,t){o.isEmptyPath(e)?this.contents=t:null==this.contents?this.contents=o.collectionFromPath(this.schema,Array.from(e),t):m(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new d.Directives({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new d.Directives({version:e}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new c.Schema(Object.assign(n,t))}}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:o,reviver:i}={}){const s={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},c=a.toJS(this.contents,t??"",s);if("function"==typeof o)for(const{count:e,res:t}of s.anchors.values())o(t,e);return"function"==typeof i?p.applyReviver(i,{"":c},"",c):c}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return u.stringifyDocument(this,e)}}function m(e){if(i.isCollection(e))return!0;throw new Error("Expected a YAML collection as document contents")}t.Document=h},8028(e,t,n){"use strict";var r=n(9399),o=n(4364);function i(e){const t=new Set;return o.visit(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function s(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}t.anchorIsValid=function(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0},t.anchorNames=i,t.createNodeAnchors=function(e,t){const n=[],o=new Map;let a=null;return{onAnchor:r=>{n.push(r),a??(a=i(e));const o=s(t,a);return a.add(o),o},setAnchors:()=>{for(const e of n){const t=o.get(e);if("object"!=typeof t||!t.anchor||!r.isScalar(t.node)&&!r.isCollection(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:o}},t.findNewAnchor=s},7197(e,t){"use strict";t.applyReviver=function e(t,n,r,o){if(o&&"object"==typeof o)if(Array.isArray(o))for(let n=0,r=o.length;n<r;++n){const r=o[n],i=e(t,o,String(n),r);void 0===i?delete o[n]:i!==r&&(o[n]=i)}else if(o instanceof Map)for(const n of Array.from(o.keys())){const r=o.get(n),i=e(t,o,n,r);void 0===i?o.delete(n):i!==r&&o.set(n,i)}else if(o instanceof Set)for(const n of Array.from(o)){const r=e(t,o,n,n);void 0===r?o.delete(n):r!==n&&(o.delete(n),o.add(r))}else for(const[n,r]of Object.entries(o)){const i=e(t,o,n,r);void 0===i?delete o[n]:i!==r&&(o[n]=i)}return t.call(n,r,o)}},4532(e,t,n){"use strict";var r=n(9281),o=n(9399),i=n(3205);t.createNode=function(e,t,n){if(o.isDocument(e)&&(e=e.contents),o.isNode(e))return e;if(o.isPair(e)){const t=n.schema[o.MAP].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:s,onAnchor:a,onTagObj:c,schema:u,sourceObjects:l}=n;let p;if(s&&e&&"object"==typeof e){if(p=l.get(e),p)return p.anchor??(p.anchor=a(e)),new r.Alias(p.anchor);p={anchor:null,node:null},l.set(e,p)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let f=function(e,t,n){if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>t.identify?.(e)&&!t.format))}(e,t,u.tags);if(!f){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new i.Scalar(e);return p&&(p.node=t),t}f=e instanceof Map?u[o.MAP]:Symbol.iterator in Object(e)?u[o.SEQ]:u[o.MAP]}c&&(c(f),delete n.onTagObj);const d=f?.createNode?f.createNode(n.schema,e,n):"function"==typeof f?.nodeClass?.from?f.nodeClass.from(n.schema,e,n):new i.Scalar(e);return t?d.tag=t:f.default||(d.tag=f.tag),p&&(p.node=d),d}},4670(e,t,n){"use strict";var r=n(9399),o=n(4364);const i={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};class s{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},s.defaultYaml,e),this.tags=Object.assign({},s.defaultTags,t)}clone(){const e=new s(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new s(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:s.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},s.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:s.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},s.defaultTags),this.atNextDocument=!1);const n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;const[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;const[e]=n;return"1.1"===e||"1.2"===e?(this.yaml.version=e,!0):(t(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1)}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){const n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);const o=this.tags[n];if(o)try{return o+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>i[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let i;if(e&&n.length>0&&r.isNode(e.contents)){const t={};o.visit(e.contents,((e,n)=>{r.isNode(n)&&n.tag&&(t[n.tag]=!0)})),i=Object.keys(t)}else i=[];for(const[r,o]of n)"!!"===r&&"tag:yaml.org,2002:"===o||e&&!i.some((e=>e.startsWith(o)))||t.push(`%TAG ${r} ${o}`);return t.join("\n")}}s.defaultYaml={explicit:!1,version:"1.2"},s.defaultTags={"!!":"tag:yaml.org,2002:"},t.Directives=s},1656(e,t){"use strict";class n extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}t.YAMLError=n,t.YAMLParseError=class extends n{constructor(e,t,n){super("YAMLParseError",e,t,n)}},t.YAMLWarning=class extends n{constructor(e,t,n){super("YAMLWarning",e,t,n)}},t.prettifyError=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)));const{line:r,col:o}=n.linePos[0];n.message+=` at line ${r}, column ${o}`;let i=o-1,s=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&s.length>80){const e=Math.min(i-39,s.length-79);s="…"+s.substring(e),i-=e-1}if(s.length>80&&(s=s.substring(0,79)+"…"),r>1&&/^ *$/.test(s.substring(0,i))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),s=n+s}if(/[^ ]/.test(s)){let e=1;const t=n.linePos[1];t?.line===r&&t.col>o&&(e=Math.max(1,Math.min(t.col-o,80-i)));const a=" ".repeat(i)+"^".repeat(e);n.message+=`:\n\n${s}\n${a}\n`}}},3519(e,t,n){"use strict";var r=n(8480),o=n(2333),i=n(7840),s=n(1656),a=n(9281),c=n(9399),u=n(4237),l=n(3205),p=n(2262),f=n(847),d=n(2645),h=n(2505),m=n(2324),y=n(5456),g=n(463),v=n(4364);t.Composer=r.Composer,t.Document=o.Document,t.Schema=i.Schema,t.YAMLError=s.YAMLError,t.YAMLParseError=s.YAMLParseError,t.YAMLWarning=s.YAMLWarning,t.Alias=a.Alias,t.isAlias=c.isAlias,t.isCollection=c.isCollection,t.isDocument=c.isDocument,t.isMap=c.isMap,t.isNode=c.isNode,t.isPair=c.isPair,t.isScalar=c.isScalar,t.isSeq=c.isSeq,t.Pair=u.Pair,t.Scalar=l.Scalar,t.YAMLMap=p.YAMLMap,t.YAMLSeq=f.YAMLSeq,t.CST=d,t.Lexer=h.Lexer,t.LineCounter=m.LineCounter,t.Parser=y.Parser,t.parse=g.parse,t.parseAllDocuments=g.parseAllDocuments,t.parseDocument=g.parseDocument,t.stringify=g.stringify,t.visit=v.visit,t.visitAsync=v.visitAsync},7953(e,t,n){"use strict";var r=n(932);t.debug=function(e,...t){"debug"===e&&console.log(...t)},t.warn=function(e,t){"debug"!==e&&"warn"!==e||("function"==typeof r.emitWarning?r.emitWarning(t):console.warn(t))}},9281(e,t,n){"use strict";var r=n(8028),o=n(4364),i=n(9399),s=n(6849),a=n(3947);class c extends s.NodeBase{constructor(e){super(i.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e,t){if(0===t?.maxAliasCount)throw new ReferenceError("Alias resolution is disabled");let n,r;t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],o.visit(e,{Node:(e,t)=>{(i.isAlias(t)||i.hasAnchor(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n));for(const e of n){if(e===this)break;e.anchor===this.source&&(r=e)}return r}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:o}=t,i=this.resolve(r,t);if(!i){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let s=n.get(i);if(s||(a.toJS(i,null,t),s=n.get(i)),void 0===s?.res)throw new ReferenceError("This should not happen: Alias anchor was not resolved?");if(o>=0&&(s.count+=1,0===s.aliasCount&&(s.aliasCount=u(r,i,n)),s.count*s.aliasCount>o))throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");return s.res}toString(e,t,n){const o=`*${this.source}`;if(e){if(r.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${o} `}return o}}function u(e,t,n){if(i.isAlias(t)){const r=t.resolve(e),o=n&&r&&n.get(r);return o?o.count*o.aliasCount:0}if(i.isCollection(t)){let r=0;for(const o of t.items){const t=u(e,o,n);t>r&&(r=t)}return r}if(i.isPair(t)){const r=u(e,t.key,n),o=u(e,t.value,n);return Math.max(r,o)}return 1}t.Alias=c},2997(e,t,n){"use strict";var r=n(4532),o=n(9399),i=n(6849);function s(e,t,n){let o=n;for(let e=t.length-1;e>=0;--e){const n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){const e=[];e[n]=o,o=e}else o=new Map([[n,o]])}return r.createNode(o,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const a=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class c extends i.NodeBase{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>o.isNode(t)||o.isPair(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(a(e))this.add(t);else{const[n,...r]=e,i=this.get(n,!0);if(o.isCollection(i))i.addIn(r,t);else{if(void 0!==i||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,s(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e;if(0===n.length)return this.delete(t);const r=this.get(t,!0);if(o.isCollection(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...r]=e,i=this.get(n,!0);return 0===r.length?!t&&o.isScalar(i)?i.value:i:o.isCollection(i)?i.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!o.isPair(t))return!1;const n=t.value;return null==n||e&&o.isScalar(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t);const r=this.get(t,!0);return!!o.isCollection(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0);if(o.isCollection(e))e.setIn(r,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,s(this.schema,r,t))}}}}t.Collection=c,t.collectionFromPath=s,t.isEmptyPath=a},6849(e,t,n){"use strict";var r=n(7197),o=n(9399),i=n(3947);t.NodeBase=class{constructor(e){Object.defineProperty(this,o.NODE_TYPE,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:s,reviver:a}={}){if(!o.isDocument(e))throw new TypeError("A document argument is required");const c={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},u=i.toJS(this,"",c);if("function"==typeof s)for(const{count:e,res:t}of c.anchors.values())s(t,e);return"function"==typeof a?r.applyReviver(a,{"":u},"",u):u}}},4237(e,t,n){"use strict";var r=n(4532),o=n(9348),i=n(8016),s=n(9399);class a{constructor(e,t=null){Object.defineProperty(this,s.NODE_TYPE,{value:s.PAIR}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return s.isNode(t)&&(t=t.clone(e)),s.isNode(n)&&(n=n.clone(e)),new a(t,n)}toJSON(e,t){const n=t?.mapAsMap?new Map:{};return i.addPairToJSMap(t,n,this)}toString(e,t,n){return e?.doc?o.stringifyPair(this,e,t,n):JSON.stringify(this)}}t.Pair=a,t.createPair=function(e,t,n){const o=r.createNode(e,void 0,n),i=r.createNode(t,void 0,n);return new a(o,i)}},3205(e,t,n){"use strict";var r=n(9399),o=n(6849),i=n(3947);class s extends o.NodeBase{constructor(e){super(r.SCALAR),this.value=e}toJSON(e,t){return t?.keep?this.value:i.toJS(this.value,e,t)}toString(){return String(this.value)}}s.BLOCK_FOLDED="BLOCK_FOLDED",s.BLOCK_LITERAL="BLOCK_LITERAL",s.PLAIN="PLAIN",s.QUOTE_DOUBLE="QUOTE_DOUBLE",s.QUOTE_SINGLE="QUOTE_SINGLE",t.Scalar=s,t.isScalarValue=e=>!e||"function"!=typeof e&&"object"!=typeof e},2262(e,t,n){"use strict";var r=n(5756),o=n(8016),i=n(2997),s=n(9399),a=n(4237),c=n(3205);function u(e,t){const n=s.isScalar(t)?t.value:t;for(const r of e)if(s.isPair(r)){if(r.key===t||r.key===n)return r;if(s.isScalar(r.key)&&r.key.value===n)return r}}class l extends i.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(s.MAP,e),this.items=[]}static from(e,t,n){const{keepUndefined:r,replacer:o}=n,i=new this(e),s=(e,s)=>{if("function"==typeof o)s=o.call(t,e,s);else if(Array.isArray(o)&&!o.includes(e))return;(void 0!==s||r)&&i.items.push(a.createPair(e,s,n))};if(t instanceof Map)for(const[e,n]of t)s(e,n);else if(t&&"object"==typeof t)for(const e of Object.keys(t))s(e,t[e]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let n;n=s.isPair(e)?e:e&&"object"==typeof e&&"key"in e?new a.Pair(e.key,e.value):new a.Pair(e,e?.value);const r=u(this.items,n.key),o=this.schema?.sortMapEntries;if(r){if(!t)throw new Error(`Key ${n.key} already set`);s.isScalar(r.value)&&c.isScalarValue(n.value)?r.value.value=n.value:r.value=n.value}else if(o){const e=this.items.findIndex((e=>o(n,e)<0));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){const t=u(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=u(this.items,e),r=n?.value;return(!t&&s.isScalar(r)?r.value:r)??void 0}has(e){return!!u(this.items,e)}set(e,t){this.add(new a.Pair(e,t),!0)}toJSON(e,t,n){const r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(const e of this.items)o.addPairToJSMap(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const e of this.items)if(!s.isPair(e))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),r.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}t.YAMLMap=l,t.findPair=u},847(e,t,n){"use strict";var r=n(4532),o=n(5756),i=n(2997),s=n(9399),a=n(3205),c=n(3947);class u extends i.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(s.SEQ,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=l(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){const n=l(e);if("number"!=typeof n)return;const r=this.items[n];return!t&&s.isScalar(r)?r.value:r}has(e){const t=l(e);return"number"==typeof t&&t<this.items.length}set(e,t){const n=l(e);if("number"!=typeof n)throw new Error(`Expected a valid index, not ${e}.`);const r=this.items[n];s.isScalar(r)&&a.isScalarValue(t)?r.value=t:this.items[n]=t}toJSON(e,t){const n=[];t?.onCreate&&t.onCreate(n);let r=0;for(const e of this.items)n.push(c.toJS(e,String(r++),t));return n}toString(e,t,n){return e?o.stringifyCollection(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:t}):JSON.stringify(this)}static from(e,t,n){const{replacer:o}=n,i=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let s of t){if("function"==typeof o){const n=t instanceof Set?s:String(e++);s=o.call(t,n,s)}i.items.push(r.createNode(s,void 0,n))}}return i}}function l(e){let t=s.isScalar(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}t.YAMLSeq=u},8016(e,t,n){"use strict";var r=n(7953),o=n(3332),i=n(5636),s=n(9399),a=n(3947);t.addPairToJSMap=function(e,t,{key:n,value:c}){if(s.isNode(n)&&n.addToJSMap)n.addToJSMap(e,t,c);else if(o.isMergeKey(e,n))o.addMergeToJSMap(e,t,c);else{const o=a.toJS(n,"",e);if(t instanceof Map)t.set(o,a.toJS(c,o,e));else if(t instanceof Set)t.add(o);else{const u=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(s.isNode(e)&&n?.doc){const t=i.createStringifyContext(n.doc,{});t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const o=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(o);e.length>40&&(e=e.substring(0,36)+'..."'),r.warn(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return o}return JSON.stringify(t)}(n,o,e),l=a.toJS(c,u,e);u in t?Object.defineProperty(t,u,{value:l,writable:!0,enumerable:!0,configurable:!0}):t[u]=l}}return t}},9399(e,t){"use strict";const n=Symbol.for("yaml.alias"),r=Symbol.for("yaml.document"),o=Symbol.for("yaml.map"),i=Symbol.for("yaml.pair"),s=Symbol.for("yaml.scalar"),a=Symbol.for("yaml.seq"),c=Symbol.for("yaml.node.type"),u=e=>!!e&&"object"==typeof e&&e[c]===s;function l(e){if(e&&"object"==typeof e)switch(e[c]){case o:case a:return!0}return!1}t.ALIAS=n,t.DOC=r,t.MAP=o,t.NODE_TYPE=c,t.PAIR=i,t.SCALAR=s,t.SEQ=a,t.hasAnchor=e=>(u(e)||l(e))&&!!e.anchor,t.isAlias=e=>!!e&&"object"==typeof e&&e[c]===n,t.isCollection=l,t.isDocument=e=>!!e&&"object"==typeof e&&e[c]===r,t.isMap=e=>!!e&&"object"==typeof e&&e[c]===o,t.isNode=function(e){if(e&&"object"==typeof e)switch(e[c]){case n:case o:case s:case a:return!0}return!1},t.isPair=e=>!!e&&"object"==typeof e&&e[c]===i,t.isScalar=u,t.isSeq=e=>!!e&&"object"==typeof e&&e[c]===a},3947(e,t,n){"use strict";var r=n(9399);t.toJS=function e(t,n,o){if(Array.isArray(t))return t.map(((t,n)=>e(t,String(n),o)));if(t&&"function"==typeof t.toJSON){if(!o||!r.hasAnchor(t))return t.toJSON(n,o);const e={aliasCount:0,count:1,res:void 0};o.anchors.set(t,e),o.onCreate=t=>{e.res=t,delete o.onCreate};const i=t.toJSON(n,o);return o.onCreate&&o.onCreate(i),i}return"bigint"!=typeof t||o?.keep?t:Number(t)}},2174(e,t,n){"use strict";var r=n(6945),o=n(2362),i=n(1656),s=n(8653);function a(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function c(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let o=t.length;"block-scalar-header"===e.props[0].type&&(o-=e.props[0].source.length);for(const e of r)e.offset+=o;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{const r="indent"in e?e.indent:-1,o="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:o})}}}t.createScalarToken=function(e,t){const{implicitKey:n=!1,indent:r,inFlow:o=!1,offset:i=-1,type:c="PLAIN"}=t,u=s.stringifyString({type:c,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}}),l=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(u[0]){case"|":case">":{const e=u.indexOf("\n"),t=u.substring(0,e),n=u.substring(e+1)+"\n",o=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return a(o,l)||o.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:i,indent:r,props:o,source:n}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:u,end:l};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:u,end:l};default:return{type:"scalar",offset:i,indent:r,source:u,end:l}}},t.resolveAsScalar=function(e,t=!0,n){if(e){const s=(e,t,r)=>{const o="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!n)throw new i.YAMLParseError([o,o+1],t,r);n(o,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return o.resolveFlowScalar(e,t,s);case"block-scalar":return r.resolveBlockScalar({options:{strict:t}},e,s)}}return null},t.setScalarValue=function(e,t,n={}){let{afterKey:r=!1,implicitKey:o=!1,inFlow:i=!1,type:u}=n,l="indent"in e?e.indent:null;if(r&&"number"==typeof l&&(l+=2),!u)switch(e.type){case"single-quoted-scalar":u="QUOTE_SINGLE";break;case"double-quoted-scalar":u="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");u=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:u="PLAIN"}const p=s.stringifyString({type:u,value:t},{implicitKey:o||null===l,indent:null!==l&&l>0?" ".repeat(l):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(p[0]){case"|":case">":!function(e,t){const n=t.indexOf("\n"),r=t.substring(0,n),o=t.substring(n+1)+"\n";if("block-scalar"===e.type){const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");t.source=r,e.source=o}else{const{offset:t}=e,n="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:n,source:r}];a(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:n,props:i,source:o})}}(e,p);break;case'"':c(e,p,"double-quoted-scalar");break;case"'":c(e,p,"single-quoted-scalar");break;default:c(e,p,"scalar")}}},373(e,t){"use strict";function n(e){switch(e.type){case"block-scalar":{let t="";for(const r of e.props)t+=n(r);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=r(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=r(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=r(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function r({start:e,key:t,sep:r,value:o}){let i="";for(const t of e)i+=t.source;if(t&&(i+=n(t)),r)for(const e of r)i+=e.source;return o&&(i+=n(o)),i}t.stringify=e=>"type"in e?n(e):r(e)},4243(e,t){"use strict";const n=Symbol("break visit"),r=Symbol("skip children"),o=Symbol("remove item");function i(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),s(Object.freeze([]),e,t)}function s(e,t,r){let i=r(t,e);if("symbol"==typeof i)return i;for(const a of["key","value"]){const c=t[a];if(c&&"items"in c){for(let t=0;t<c.items.length;++t){const i=s(Object.freeze(e.concat([[a,t]])),c.items[t],r);if("number"==typeof i)t=i-1;else{if(i===n)return n;i===o&&(c.items.splice(t,1),t-=1)}}"function"==typeof i&&"key"===a&&(i=i(t,e))}}return"function"==typeof i?i(t,e):i}i.BREAK=n,i.SKIP=r,i.REMOVE=o,i.itemAtPath=(e,t)=>{let n=e;for(const[e,r]of t){const t=n?.[e];if(!t||!("items"in t))return;n=t.items[r]}return n},i.parentCollection=(e,t)=>{const n=i.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],o=n?.[r];if(o&&"items"in o)return o;throw new Error("Parent collection not found")},t.visit=i},2645(e,t,n){"use strict";var r=n(2174),o=n(373),i=n(4243);t.createScalarToken=r.createScalarToken,t.resolveAsScalar=r.resolveAsScalar,t.setScalarValue=r.setScalarValue,t.stringify=o.stringify,t.visit=i.visit,t.BOM="\ufeff",t.DOCUMENT="",t.FLOW_END="",t.SCALAR="",t.isCollection=e=>!!e&&"items"in e,t.isScalar=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type),t.prettyToken=function(e){switch(e){case"\ufeff":return"<BOM>";case"":return"<DOC>";case"":return"<FLOW_END>";case"":return"<SCALAR>";default:return JSON.stringify(e)}},t.tokenType=function(e){switch(e){case"\ufeff":return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end";case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}},2505(e,t,n){"use strict";var r=n(2645);function o(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const i=new Set("0123456789ABCDEFabcdef"),s=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),a=new Set(",[]{}"),c=new Set(" ,[]{}\n\r\t"),u=e=>!e||c.has(e);t.Lexer=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&o(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===r.BOM&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,n=e.indexOf("#");for(;-1!==n;){const r=e[n-1];if(" "===r||"\t"===r){t=n-1;break}n=e.indexOf("#",n+1)}for(;;){const n=e[t-1];if(" "!==n&&"\t"!==n)break;t-=1}const r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){const t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield r.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const e=this.peek(3);if(("---"===e||"..."===e)&&o(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"---"===e?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!o(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&o(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(u),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const i=this.getLine();if(null===i)return this.setNext("flow");if((-1!==n&&n<this.indentNext&&"#"!==i[0]||0===n&&(i.startsWith("---")||i.startsWith("..."))&&o(i[3]))&&(n!==this.indentNext-1||1!==this.flowLevel||"]"!==i[0]&&"}"!==i[0]))return this.flowLevel=0,yield r.FLOW_END,yield*this.parseLineStart();let s=0;for(;","===i[s];)s+=(yield*this.pushCount(1)),s+=(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(s+=(yield*this.pushIndicators()),i[s]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-s),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(u),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const e=this.charAt(1);if(this.flowKey||o(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}const n=this.buffer.substring(0,t);let r=n.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){const e=this.continueScalar(r+1);if(-1===e)break;r=n.indexOf("\n",e)}-1!==r&&(t=r-("\r"===n[r-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){const t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>o(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{const e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let o=t+1;for(e=this.buffer[o];" "===e;)e=this.buffer[++o];if("\t"===e){for(;"\t"===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++o];t=o-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);const o=e;for(;" "===r;)r=this.buffer[--e];if(!("\n"===r&&e>=this.pos&&e+1+n>o))break;t=e}return yield r.SCALAR,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,i=this.pos-1;for(;t=this.buffer[++i];)if(":"===t){const t=this.buffer[i+1];if(o(t)||e&&a.has(t))break;n=i}else if(o(t)){let r=this.buffer[i+1];if("\r"===t&&("\n"===r?(i+=1,t="\n",r=this.buffer[i+1]):n=i),"#"===r||e&&a.has(r))break;if("\n"===t){const e=this.continueScalar(i+1);if(-1===e)break;i=Math.max(i,e-2)}}else{if(e&&a.has(t))break;n=i}return t||this.atEnd?(yield r.SCALAR,yield*this.pushToIndex(n+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){let e=0;e:for(;;){switch(this.charAt(0)){case"!":e+=(yield*this.pushTag()),e+=(yield*this.pushSpaces(!0));continue e;case"&":e+=(yield*this.pushUntil(u)),e+=(yield*this.pushSpaces(!0));continue e;case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(o(n)||t&&a.has(n)){t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,e+=(yield*this.pushCount(1)),e+=(yield*this.pushSpaces(!0));continue e}}}break e}return e}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!o(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(s.has(t))t=this.buffer[++e];else{if("%"!==t||!i.has(this.buffer[e+1])||!i.has(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do{t=this.buffer[++n]}while(" "===t||e&&"\t"===t);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}},2324(e,t){"use strict";t.LineCounter=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t<n;){const r=t+n>>1;this.lineStarts[r]<e?t=r+1:n=r}return this.lineStarts[t]===e?{line:t+1,col:1}:0===t?{line:0,col:e}:{line:t,col:e-this.lineStarts[t-1]+1}}}}},5456(e,t,n){"use strict";var r=n(932),o=n(2645),i=n(2505);function s(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function a(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function c(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function u(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function l(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}function p(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let n=0;n<t.length;++n)e.push(t[n])}function f(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||s(t.start,"explicit-key-ind")||s(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,c(t.value)?t.value.end?p(t.value.end,t.sep):t.value.end=t.sep:p(t.start,t.sep),delete t.sep)}t.Parser=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new i.Lexer,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,r.env.LOG_TOKENS&&console.log("|",o.prettyToken(e)),this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=o.tokenType(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||"doc-end"===e?.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&f(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,sep:[]}),void(this.onKeyLine=!n.explicitKey);n.value=t;break}case"block-seq":{const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1];return void(!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===a(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent<t.indent)))&&("document"===e.type?e.end=n.start:e.items.push({start:n.start}),t.items.splice(-1,1))}}else{const e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:e}}}*stream(){switch(this.type){case"directive-line":return void(yield{type:"directive",offset:this.offset,source:this.source});case"byte-order-mark":case"space":case"comment":case"newline":return void(yield this.sourceToken);case"doc-mode":case"doc-start":{const e={type:"document",offset:this.offset,start:[]};return"doc-start"===this.type&&e.start.push(this.sourceToken),void this.stack.push(e)}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":return void(-1!==a(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken));case"anchor":case"tag":case"space":case"comment":case"newline":return void e.start.push(this.sourceToken)}const t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){const t=l(u(this.peek(2)));let n;e.end?(n=e.end,n.push(this.sourceToken),delete e.end):n=[this.sourceToken];const r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:t,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":return void e.props.push(this.sourceToken);case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return p(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const n=!this.onKeyLine&&this.indent===e.indent,r=n&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type;let o=[];if(r&&t.sep&&!t.value){const n=[];for(let r=0;r<t.sep.length;++r){const o=t.sep[r];switch(o.type){case"newline":n.push(r);break;case"space":break;case"comment":o.indent>e.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(o=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":return void(r||t.value?(o.push(this.sourceToken),e.items.push({start:o}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"explicit-key-ind":return t.sep||t.explicitKey?r||t.value?(o.push(this.sourceToken),e.items.push({start:o,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(t.start.push(this.sourceToken),t.explicitKey=!0),void(this.onKeyLine=!0);case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(s(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]});else if(c(t.key)&&!s(t.sep,"newline")){const e=l(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else o.length>0?t.sep=t.sep.concat(o,this.sourceToken):t.sep.push(this.sourceToken);else if(s(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const e=l(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||r?e.items.push({start:o,key:null,sep:[this.sourceToken]}):s(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(r||t.value?(e.items.push({start:o,key:n,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,sep:[]}),this.onKeyLine=!0))}default:{const r=this.startBlockValue(e);if(r){if("block-seq"===r.type){if(!t.explicitKey&&t.sep&&!s(t.sep,"newline"))return void(yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source}))}else n&&e.items.push({start:o});return void this.stack.push(r)}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return p(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return void t.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(t.value||s(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while("flow-collection"===e?.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const n=l(u(t));f(e);const r=e.end.splice(1,e.end.length);r.push(this.sourceToken);const o={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=l(u(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const t=l(u(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}},463(e,t,n){"use strict";var r=n(8480),o=n(2333),i=n(1656),s=n(7953),a=n(9399),c=n(2324),u=n(5456);function l(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new c.LineCounter||null,prettyErrors:t}}function p(e,t={}){const{lineCounter:n,prettyErrors:o}=l(t),s=new u.Parser(n?.addNewLine),a=new r.Composer(t);let c=null;for(const t of a.compose(s.parse(e),!0,e.length))if(c){if("silent"!==c.options.logLevel){c.errors.push(new i.YAMLParseError(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else c=t;return o&&n&&(c.errors.forEach(i.prettifyError(e,n)),c.warnings.forEach(i.prettifyError(e,n))),c}t.parse=function(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);const o=p(e,n);if(!o)return null;if(o.warnings.forEach((e=>s.warn(o.options.logLevel,e))),o.errors.length>0){if("silent"!==o.options.logLevel)throw o.errors[0];o.errors=[]}return o.toJS(Object.assign({reviver:r},n))},t.parseAllDocuments=function(e,t={}){const{lineCounter:n,prettyErrors:o}=l(t),s=new u.Parser(n?.addNewLine),a=new r.Composer(t),c=Array.from(a.compose(s.parse(e)));if(o&&n)for(const t of c)t.errors.forEach(i.prettifyError(e,n)),t.warnings.forEach(i.prettifyError(e,n));return c.length>0?c:Object.assign([],{empty:!0},a.streamInfo())},t.parseDocument=p,t.stringify=function(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){const e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=n??t??{};if(!e)return}return a.isDocument(e)&&!r?e.toString(n):new o.Document(e,r,n).toString(n)}},7840(e,t,n){"use strict";var r=n(9399),o=n(459),i=n(1418),s=n(4352),a=n(4146);const c=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class u{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:u,schema:l,sortMapEntries:p,toStringDefaults:f}){this.compat=Array.isArray(e)?a.getTags(e,"compat"):e?a.getTags(null,e):null,this.name="string"==typeof l&&l||"core",this.knownTags=u?a.coreKnownTags:{},this.tags=a.getTags(t,this.name,n),this.toStringOptions=f??null,Object.defineProperty(this,r.MAP,{value:o.map}),Object.defineProperty(this,r.SCALAR,{value:s.string}),Object.defineProperty(this,r.SEQ,{value:i.seq}),this.sortMapEntries="function"==typeof p?p:!0===p?c:null}clone(){const e=Object.create(u.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}t.Schema=u},459(e,t,n){"use strict";var r=n(9399),o=n(2262);const i={collection:"map",default:!0,nodeClass:o.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(r.isMap(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>o.YAMLMap.from(e,t,n)};t.map=i},1504(e,t,n){"use strict";var r=n(3205);const o={identify:e=>null==e,createNode:()=>new r.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new r.Scalar(null),stringify:({source:e},t)=>"string"==typeof e&&o.test.test(e)?e:t.options.nullStr};t.nullTag=o},1418(e,t,n){"use strict";var r=n(9399),o=n(847);const i={collection:"seq",default:!0,nodeClass:o.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(r.isSeq(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>o.YAMLSeq.from(e,t,n)};t.seq=i},4352(e,t,n){"use strict";var r=n(8653);const o={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,o)=>(t=Object.assign({actualString:!0},t),r.stringifyString(e,t,n,o))};t.string=o},1399(e,t,n){"use strict";var r=n(3205);const o={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new r.Scalar("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},n)=>e&&o.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?n.options.trueStr:n.options.falseStr};t.boolTag=o},6853(e,t,n){"use strict";var r=n(3205),o=n(1105);const i={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:o.stringifyNumber},s={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():o.stringifyNumber(e)}},a={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new r.Scalar(parseFloat(e)),n=e.indexOf(".");return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:o.stringifyNumber};t.float=a,t.floatExp=s,t.floatNaN=i},6802(e,t,n){"use strict";var r=n(1105);const o=e=>"bigint"==typeof e||Number.isInteger(e),i=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function s(e,t,n){const{value:i}=e;return o(i)&&i>=0?n+i.toString(t):r.stringifyNumber(e)}const a={identify:e=>o(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>i(e,2,8,n),stringify:e=>s(e,8,"0o")},c={identify:o,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>i(e,0,10,n),stringify:r.stringifyNumber},u={identify:e=>o(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>i(e,2,16,n),stringify:e=>s(e,16,"0x")};t.int=c,t.intHex=u,t.intOct=a},8368(e,t,n){"use strict";var r=n(459),o=n(1504),i=n(1418),s=n(4352),a=n(1399),c=n(6853),u=n(6802);const l=[r.map,i.seq,s.string,o.nullTag,a.boolTag,u.intOct,u.int,u.intHex,c.floatNaN,c.floatExp,c.float];t.schema=l},887(e,t,n){"use strict";var r=n(3205),o=n(459),i=n(1418);function s(e){return"bigint"==typeof e||Number.isInteger(e)}const a=({value:e})=>JSON.stringify(e),c=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:a},{identify:e=>null==e,createNode:()=>new r.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:a},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:a},{identify:s,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>s(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:a}],u={default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)},l=[o.map,i.seq].concat(c,u);t.schema=l},4146(e,t,n){"use strict";var r=n(459),o=n(1504),i=n(1418),s=n(4352),a=n(1399),c=n(6853),u=n(6802),l=n(8368),p=n(887),f=n(2659),d=n(3332),h=n(879),m=n(225),y=n(8025),g=n(4344),v=n(9024);const b=new Map([["core",l.schema],["failsafe",[r.map,i.seq,s.string]],["json",p.schema],["yaml11",y.schema],["yaml-1.1",y.schema]]),x={binary:f.binary,bool:a.boolTag,float:c.float,floatExp:c.floatExp,floatNaN:c.floatNaN,floatTime:v.floatTime,int:u.int,intHex:u.intHex,intOct:u.intOct,intTime:v.intTime,map:r.map,merge:d.merge,null:o.nullTag,omap:h.omap,pairs:m.pairs,seq:i.seq,set:g.set,timestamp:v.timestamp},w={"tag:yaml.org,2002:binary":f.binary,"tag:yaml.org,2002:merge":d.merge,"tag:yaml.org,2002:omap":h.omap,"tag:yaml.org,2002:pairs":m.pairs,"tag:yaml.org,2002:set":g.set,"tag:yaml.org,2002:timestamp":v.timestamp};t.coreKnownTags=w,t.getTags=function(e,t,n){const r=b.get(t);if(r&&!e)return n&&!r.includes(d.merge)?r.concat(d.merge):r.slice();let o=r;if(!o){if(!Array.isArray(e)){const e=Array.from(b.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}o=[]}if(Array.isArray(e))for(const t of e)o=o.concat(t);else"function"==typeof e&&(o=e(o.slice()));return n&&(o=o.concat(d.merge)),o.reduce(((e,t)=>{const n="string"==typeof t?x[t]:t;if(!n){const e=JSON.stringify(t),n=Object.keys(x).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag ${e}; use one of ${n}`)}return e.includes(n)||e.push(n),e}),[])}},2659(e,t,n){"use strict";var r=n(181),o=n(3205),i=n(8653);const s={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof r.Buffer)return r.Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},s,a,c){if(!n)return"";const u=n;let l;if("function"==typeof r.Buffer)l=u instanceof r.Buffer?u.toString("base64"):r.Buffer.from(u.buffer).toString("base64");else{if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let t=0;t<u.length;++t)e+=String.fromCharCode(u[t]);l=btoa(e)}}if(t??(t=o.Scalar.BLOCK_LITERAL),t!==o.Scalar.QUOTE_DOUBLE){const e=Math.max(s.options.lineWidth-s.indent.length,s.options.minContentWidth),n=Math.ceil(l.length/e),r=new Array(n);for(let t=0,o=0;t<n;++t,o+=e)r[t]=l.substr(o,e);l=r.join(t===o.Scalar.BLOCK_LITERAL?"\n":" ")}return i.stringifyString({comment:e,type:t,value:l},s,a,c)}};t.binary=s},3662(e,t,n){"use strict";var r=n(3205);function o({value:e,source:t},n){return t&&(e?i:s).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const i={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new r.Scalar(!0),stringify:o},s={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new r.Scalar(!1),stringify:o};t.falseTag=s,t.trueTag=i},9782(e,t,n){"use strict";var r=n(3205),o=n(1105);const i={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:o.stringifyNumber},s={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():o.stringifyNumber(e)}},a={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new r.Scalar(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){const r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:o.stringifyNumber};t.float=a,t.floatExp=s,t.floatNaN=i},2073(e,t,n){"use strict";var r=n(1105);const o=e=>"bigint"==typeof e||Number.isInteger(e);function i(e,t,n,{intAsBigInt:r}){const o=e[0];if("-"!==o&&"+"!==o||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===o?BigInt(-1)*t:t}const i=parseInt(e,n);return"-"===o?-1*i:i}function s(e,t,n){const{value:i}=e;if(o(i)){const e=i.toString(t);return i<0?"-"+n+e.substr(1):n+e}return r.stringifyNumber(e)}const a={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>i(e,2,2,n),stringify:e=>s(e,2,"0b")},c={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>i(e,1,8,n),stringify:e=>s(e,8,"0")},u={identify:o,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>i(e,0,10,n),stringify:r.stringifyNumber},l={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>i(e,2,16,n),stringify:e=>s(e,16,"0x")};t.int=u,t.intBin=a,t.intHex=l,t.intOct=c},3332(e,t,n){"use strict";var r=n(9399),o=n(3205);const i="<<",s={identify:e=>e===i||"symbol"==typeof e&&e.description===i,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new o.Scalar(Symbol(i)),{addToJSMap:a}),stringify:()=>i};function a(e,t,n){const o=u(e,n);if(r.isSeq(o))for(const n of o.items)c(e,t,n);else if(Array.isArray(o))for(const n of o)c(e,t,n);else c(e,t,o)}function c(e,t,n){const o=u(e,n);if(!r.isMap(o))throw new Error("Merge sources must be maps or map aliases");const i=o.toJSON(null,e,Map);for(const[e,n]of i)t instanceof Map?t.has(e)||t.set(e,n):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function u(e,t){return e&&r.isAlias(t)?t.resolve(e.doc,e):t}t.addMergeToJSMap=a,t.isMergeKey=(e,t)=>(s.identify(t)||r.isScalar(t)&&(!t.type||t.type===o.Scalar.PLAIN)&&s.identify(t.value))&&e?.doc.schema.tags.some((e=>e.tag===s.tag&&e.default)),t.merge=s},879(e,t,n){"use strict";var r=n(9399),o=n(3947),i=n(2262),s=n(847),a=n(225);class c extends s.YAMLSeq{constructor(){super(),this.add=i.YAMLMap.prototype.add.bind(this),this.delete=i.YAMLMap.prototype.delete.bind(this),this.get=i.YAMLMap.prototype.get.bind(this),this.has=i.YAMLMap.prototype.has.bind(this),this.set=i.YAMLMap.prototype.set.bind(this),this.tag=c.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t?.onCreate&&t.onCreate(n);for(const e of this.items){let i,s;if(r.isPair(e)?(i=o.toJS(e.key,"",t),s=o.toJS(e.value,i,t)):i=o.toJS(e,"",t),n.has(i))throw new Error("Ordered maps must not include duplicate keys");n.set(i,s)}return n}static from(e,t,n){const r=a.createPairs(e,t,n),o=new this;return o.items=r.items,o}}c.tag="tag:yaml.org,2002:omap";const u={collection:"seq",identify:e=>e instanceof Map,nodeClass:c,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=a.resolvePairs(e,t),o=[];for(const{key:e}of n.items)r.isScalar(e)&&(o.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):o.push(e.value));return Object.assign(new c,n)},createNode:(e,t,n)=>c.from(e,t,n)};t.YAMLOMap=c,t.omap=u},225(e,t,n){"use strict";var r=n(9399),o=n(4237),i=n(3205),s=n(847);function a(e,t){if(r.isSeq(e))for(let n=0;n<e.items.length;++n){let s=e.items[n];if(!r.isPair(s)){if(r.isMap(s)){s.items.length>1&&t("Each pair must have its own sequence indicator");const e=s.items[0]||new o.Pair(new i.Scalar(null));if(s.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${s.commentBefore}\n${e.key.commentBefore}`:s.commentBefore),s.comment){const t=e.value??e.key;t.comment=t.comment?`${s.comment}\n${t.comment}`:s.comment}s=e}e.items[n]=r.isPair(s)?s:new o.Pair(s)}}else t("Expected a sequence for this tag");return e}function c(e,t,n){const{replacer:r}=n,i=new s.YAMLSeq(e);i.tag="tag:yaml.org,2002:pairs";let a=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let s,c;if("function"==typeof r&&(e=r.call(t,String(a++),e)),Array.isArray(e)){if(2!==e.length)throw new TypeError(`Expected [key, value] tuple: ${e}`);s=e[0],c=e[1]}else if(e&&e instanceof Object){const t=Object.keys(e);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);s=t[0],c=e[s]}else s=e;i.items.push(o.createPair(s,c,n))}return i}const u={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:a,createNode:c};t.createPairs=c,t.pairs=u,t.resolvePairs=a},8025(e,t,n){"use strict";var r=n(459),o=n(1504),i=n(1418),s=n(4352),a=n(2659),c=n(3662),u=n(9782),l=n(2073),p=n(3332),f=n(879),d=n(225),h=n(4344),m=n(9024);const y=[r.map,i.seq,s.string,o.nullTag,c.trueTag,c.falseTag,l.intBin,l.intOct,l.int,l.intHex,u.floatNaN,u.floatExp,u.float,a.binary,p.merge,f.omap,d.pairs,h.set,m.intTime,m.floatTime,m.timestamp];t.schema=y},4344(e,t,n){"use strict";var r=n(9399),o=n(4237),i=n(2262);class s extends i.YAMLMap{constructor(e){super(e),this.tag=s.tag}add(e){let t;t=r.isPair(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new o.Pair(e.key,null):new o.Pair(e,null),i.findPair(this.items,t.key)||this.items.push(t)}get(e,t){const n=i.findPair(this.items,e);return!t&&r.isPair(n)?r.isScalar(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const n=i.findPair(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new o.Pair(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),i.items.push(o.createPair(e,null,n));return i}}s.tag="tag:yaml.org,2002:set";const a={collection:"map",identify:e=>e instanceof Set,nodeClass:s,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>s.from(e,t,n),resolve(e,t){if(r.isMap(e)){if(e.hasAllNullValues(!0))return Object.assign(new s,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};t.YAMLSet=s,t.set=a},9024(e,t,n){"use strict";var r=n(1105);function o(e,t){const n=e[0],r="-"===n||"+"===n?e.substring(1):e,o=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*o(60)+o(t)),o(0));return"-"===n?o(-1)*i:i}function i(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return r.stringifyNumber(e);let o="";t<0&&(o="-",t*=n(-1));const i=n(60),s=[t%i];return t<60?s.unshift(0):(t=(t-s[0])/i,s.unshift(t%i),t>=60&&(t=(t-s[0])/i,s.unshift(t))),o+s.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const s={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>o(e,n),stringify:i},a={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>o(e,!1),stringify:i},c={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(c.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,i,s,a,u]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0;let p=Date.UTC(n,r-1,i,s||0,a||0,u||0,l);const f=t[8];if(f&&"Z"!==f){let e=o(f,!1);Math.abs(e)<30&&(e*=60),p-=6e4*e}return new Date(p)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};t.floatTime=a,t.intTime=s,t.timestamp=c},347(e,t){"use strict";const n="block",r="quoted";function o(e,t,n){let r=t,o=t+1,i=e[o];for(;" "===i||"\t"===i;)if(t<o+n)i=e[++t];else{do{i=e[++t]}while(i&&"\n"!==i);r=t,o=t+1,i=e[o]}return r}t.FOLD_BLOCK=n,t.FOLD_FLOW="flow",t.FOLD_QUOTED=r,t.foldFlowLines=function(e,t,i="flow",{indentAtStart:s,lineWidth:a=80,minContentWidth:c=20,onFold:u,onOverflow:l}={}){if(!a||a<0)return e;a<c&&(c=0);const p=Math.max(1+c,1+a-t.length);if(e.length<=p)return e;const f=[],d={};let h,m,y=a-t.length;"number"==typeof s&&(s>a-Math.max(2,c)?f.push(0):y=a-s);let g=!1,v=-1,b=-1,x=-1;i===n&&(v=o(e,v,t.length),-1!==v&&(y=v+p));for(let s;s=e[v+=1];){if(i===r&&"\\"===s){switch(b=v,e[v+1]){case"x":v+=3;break;case"u":v+=5;break;case"U":v+=9;break;default:v+=1}x=v}if("\n"===s)i===n&&(v=o(e,v,t.length)),y=v+t.length+p,h=void 0;else{if(" "===s&&m&&" "!==m&&"\n"!==m&&"\t"!==m){const t=e[v+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(h=v)}if(v>=y)if(h)f.push(h),y=h+p,h=void 0;else if(i===r){for(;" "===m||"\t"===m;)m=s,s=e[v+=1],g=!0;const t=v>x+1?v-2:b-1;if(d[t])return e;f.push(t),d[t]=!0,y=t+p,h=void 0}else g=!0}m=s}if(g&&l&&l(),0===f.length)return e;u&&u();let w=e.slice(0,f[0]);for(let n=0;n<f.length;++n){const o=f[n],s=f[n+1]||e.length;0===o?w=`\n${t}${e.slice(0,s)}`:(i===r&&d[o]&&(w+=`${e[o]}\\`),w+=`\n${t}${e.slice(o+1,s)}`)}return w}},5636(e,t,n){"use strict";var r=n(8028),o=n(9399),i=n(5719),s=n(8653);t.createStringifyContext=function(e,t){const n=Object.assign({blockQuote:!0,commentString:i.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}},t.stringify=function(e,t,n,i){if(o.isPair(e))return e.toString(t,n,i);if(o.isAlias(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let a;const c=o.isNode(e)?e:t.doc.createNode(e,{onTagObj:e=>a=e});a??(a=function(e,t){if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let n,r;if(o.isScalar(t)){r=t.value;let o=e.filter((e=>e.identify?.(r)));if(o.length>1){const e=o.filter((e=>e.test));e.length>0&&(o=e)}n=o.find((e=>e.format===t.format))??o.find((e=>!e.format))}else r=t,n=e.find((e=>e.nodeClass&&r instanceof e.nodeClass));if(!n)throw new Error(`Tag not resolved for ${r?.constructor?.name??(null===r?"null":typeof r)} value`);return n}(t.doc.schema.tags,c));const u=function(e,t,{anchors:n,doc:i}){if(!i.directives)return"";const s=[],a=(o.isScalar(e)||o.isCollection(e))&&e.anchor;a&&r.anchorIsValid(a)&&(n.add(a),s.push(`&${a}`));const c=e.tag??(t.default?null:t.tag);return c&&s.push(i.directives.tagString(c)),s.join(" ")}(c,a,t);u.length>0&&(t.indentAtStart=(t.indentAtStart??0)+u.length+1);const l="function"==typeof a.stringify?a.stringify(c,t,n,i):o.isScalar(c)?s.stringifyString(c,t,n,i):c.toString(t,n,i);return u?o.isScalar(c)||"{"===l[0]||"["===l[0]?`${u} ${l}`:`${u}\n${t.indent}${l}`:l}},5756(e,t,n){"use strict";var r=n(9399),o=n(5636),i=n(5719);function s({comment:e,items:t},n,{blockItemPrefix:s,flowChars:a,itemIndent:u,onChompKeep:l,onComment:p}){const{indent:f,options:{commentString:d}}=n,h=Object.assign({},n,{indent:u,type:null});let m=!1;const y=[];for(let e=0;e<t.length;++e){const a=t[e];let l=null;if(r.isNode(a))!m&&a.spaceBefore&&y.push(""),c(n,y,a.commentBefore,m),a.comment&&(l=a.comment);else if(r.isPair(a)){const e=r.isNode(a.key)?a.key:null;e&&(!m&&e.spaceBefore&&y.push(""),c(n,y,e.commentBefore,m))}m=!1;let p=o.stringify(a,h,(()=>l=null),(()=>m=!0));l&&(p+=i.lineComment(p,u,d(l))),m&&l&&(m=!1),y.push(s+p)}let g;if(0===y.length)g=a.start+a.end;else{g=y[0];for(let e=1;e<y.length;++e){const t=y[e];g+=t?`\n${f}${t}`:"\n"}}return e?(g+="\n"+i.indentComment(d(e),f),p&&p()):m&&l&&l(),g}function a({items:e},t,{flowChars:n,itemIndent:s}){const{indent:a,indentStep:u,flowCollectionPadding:l,options:{commentString:p}}=t;s+=u;const f=Object.assign({},t,{indent:s,inFlow:!0,type:null});let d=!1,h=0;const m=[];for(let n=0;n<e.length;++n){const a=e[n];let u=null;if(r.isNode(a))a.spaceBefore&&m.push(""),c(t,m,a.commentBefore,!1),a.comment&&(u=a.comment);else if(r.isPair(a)){const e=r.isNode(a.key)?a.key:null;e&&(e.spaceBefore&&m.push(""),c(t,m,e.commentBefore,!1),e.comment&&(d=!0));const n=r.isNode(a.value)?a.value:null;n?(n.comment&&(u=n.comment),n.commentBefore&&(d=!0)):null==a.value&&e?.comment&&(u=e.comment)}u&&(d=!0);let l=o.stringify(a,f,(()=>u=null));d||(d=m.length>h||l.includes("\n")),n<e.length-1?l+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(d||(d=m.reduce(((e,t)=>e+t.length+2),2)+(l.length+2)>t.options.lineWidth)),d&&(l+=",")),u&&(l+=i.lineComment(l,s,p(u))),m.push(l),h=m.length}const{start:y,end:g}=n;if(0===m.length)return y+g;if(!d){const e=m.reduce(((e,t)=>e+t.length+2),2);d=t.options.lineWidth>0&&e>t.options.lineWidth}if(d){let e=y;for(const t of m)e+=t?`\n${u}${a}${t}`:"\n";return`${e}\n${a}${g}`}return`${y}${l}${m.join(" ")}${l}${g}`}function c({indent:e,options:{commentString:t}},n,r,o){if(r&&o&&(r=r.replace(/^\n+/,"")),r){const o=i.indentComment(t(r),e);n.push(o.trimStart())}}t.stringifyCollection=function(e,t,n){return(t.inFlow??e.flow?a:s)(e,t,n)}},5719(e,t){"use strict";function n(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}t.indentComment=n,t.lineComment=(e,t,r)=>e.endsWith("\n")?n(r,t):r.includes("\n")?"\n"+n(r,t):(e.endsWith(" ")?"":" ")+r,t.stringifyComment=e=>e.replace(/^(?!$)(?: $)?/gm,"#")},1677(e,t,n){"use strict";var r=n(9399),o=n(5636),i=n(5719);t.stringifyDocument=function(e,t){const n=[];let s=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(n.push(t),s=!0):e.directives.docStart&&(s=!0)}s&&n.push("---");const a=o.createStringifyContext(e,t),{commentString:c}=a.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=c(e.commentBefore);n.unshift(i.indentComment(t,""))}let u=!1,l=null;if(e.contents){if(r.isNode(e.contents)){if(e.contents.spaceBefore&&s&&n.push(""),e.contents.commentBefore){const t=c(e.contents.commentBefore);n.push(i.indentComment(t,""))}a.forceBlockIndent=!!e.comment,l=e.contents.comment}const t=l?void 0:()=>u=!0;let p=o.stringify(e.contents,a,(()=>l=null),t);l&&(p+=i.lineComment(p,"",c(l))),"|"!==p[0]&&">"!==p[0]||"---"!==n[n.length-1]?n.push(p):n[n.length-1]=`--- ${p}`}else n.push(o.stringify(e.contents,a));if(e.directives?.docEnd)if(e.comment){const t=c(e.comment);t.includes("\n")?(n.push("..."),n.push(i.indentComment(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&u&&(t=t.replace(/^\n+/,"")),t&&(u&&!l||""===n[n.length-1]||n.push(""),n.push(i.indentComment(c(t),"")))}return n.join("\n")+"\n"}},1105(e,t){"use strict";t.stringifyNumber=function({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);const o="number"==typeof r?r:Number(r);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";let i=Object.is(r,-0)?"-0":JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^-?\d/.test(i)&&!i.includes("e")){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i}},9348(e,t,n){"use strict";var r=n(9399),o=n(3205),i=n(5636),s=n(5719);t.stringifyPair=function({key:e,value:t},n,a,c){const{allNullValues:u,doc:l,indent:p,indentStep:f,options:{commentString:d,indentSeq:h,simpleKeys:m}}=n;let y=r.isNode(e)&&e.comment||null;if(m){if(y)throw new Error("With simple keys, key nodes cannot have comments");if(r.isCollection(e)||!r.isNode(e)&&"object"==typeof e)throw new Error("With simple keys, collection cannot be used as a key value")}let g=!m&&(!e||y&&null==t&&!n.inFlow||r.isCollection(e)||(r.isScalar(e)?e.type===o.Scalar.BLOCK_FOLDED||e.type===o.Scalar.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!g&&(m||!u),indent:p+f});let v,b,x,w=!1,_=!1,E=i.stringify(e,n,(()=>w=!0),(()=>_=!0));if(!g&&!n.inFlow&&E.length>1024){if(m)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0}if(n.inFlow){if(u||null==t)return w&&a&&a(),""===E?"?":g?`? ${E}`:E}else if(u&&!m||null==t&&g)return E=`? ${E}`,y&&!w?E+=s.lineComment(E,n.indent,d(y)):_&&c&&c(),E;w&&(y=null),g?(y&&(E+=s.lineComment(E,n.indent,d(y))),E=`? ${E}\n${p}:`):(E=`${E}:`,y&&(E+=s.lineComment(E,n.indent,d(y)))),r.isNode(t)?(v=!!t.spaceBefore,b=t.commentBefore,x=t.comment):(v=!1,b=null,x=null,t&&"object"==typeof t&&(t=l.createNode(t))),n.implicitKey=!1,g||y||!r.isScalar(t)||(n.indentAtStart=E.length+1),_=!1,h||!(f.length>=2)||n.inFlow||g||!r.isSeq(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let S=!1;const D=i.stringify(t,n,(()=>S=!0),(()=>_=!0));let O=" ";if(y||v||b){if(O=v?"\n":"",b){const e=d(b);O+=`\n${s.indentComment(e,n.indent)}`}""!==D||n.inFlow?O+=`\n${n.indent}`:"\n"===O&&x&&(O="\n\n")}else if(!g&&r.isCollection(t)){const e=D[0],r=D.indexOf("\n"),o=-1!==r,i=n.inFlow??t.flow??0===t.items.length;if(o||!i){let t=!1;if(o&&("&"===e||"!"===e)){let n=D.indexOf(" ");"&"===e&&-1!==n&&n<r&&"!"===D[n+1]&&(n=D.indexOf(" ",n+1)),(-1===n||r<n)&&(t=!0)}t||(O=`\n${n.indent}`)}}else""!==D&&"\n"!==D[0]||(O="");return E+=O+D,n.inFlow?S&&a&&a():x&&!S?E+=s.lineComment(E,n.indent,d(x)):_&&c&&c(),E}},8653(e,t,n){"use strict";var r=n(3205),o=n(347);const i=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),s=e=>/^(%|---|\.\.\.)/m.test(e);function a(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,a=t.options.doubleQuotedMinMultiLineLength,c=t.indent||(s(e)?" ":"");let u="",l=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(u+=n.slice(l,e)+"\\ ",e+=1,l=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{u+=n.slice(l,e);const t=n.substr(e+2,4);switch(t){case"0000":u+="\\0";break;case"0007":u+="\\a";break;case"000b":u+="\\v";break;case"001b":u+="\\e";break;case"0085":u+="\\N";break;case"00a0":u+="\\_";break;case"2028":u+="\\L";break;case"2029":u+="\\P";break;default:"00"===t.substr(0,2)?u+="\\x"+t.substr(2):u+=n.substr(e,6)}e+=5,l=e+1}break;case"n":if(r||'"'===n[e+2]||n.length<a)e+=1;else{for(u+=n.slice(l,e)+"\n\n";"\\"===n[e+2]&&"n"===n[e+3]&&'"'!==n[e+4];)u+="\n",e+=2;u+=c," "===n[e+2]&&(u+="\\"),e+=1,l=e+1}break;default:e+=1}return u=l?u+n.slice(l):n,r?u:o.foldFlowLines(u,c,o.FOLD_QUOTED,i(t,!1))}function c(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return a(e,t);const n=t.indent||(s(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${n}`)+"'";return t.implicitKey?r:o.foldFlowLines(r,n,o.FOLD_FLOW,i(t,!1))}function u(e,t){const{singleQuote:n}=t.options;let r;if(!1===n)r=a;else{const t=e.includes('"'),o=e.includes("'");r=t&&!o?c:o&&!t?a:n?c:a}return r(e,t)}let l;try{l=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{l=/\n+(?!\n|$)/g}function p({comment:e,type:t,value:n},a,c,p){const{blockQuote:f,commentString:d,lineWidth:h}=a.options;if(!f||/\n[\t ]+$/.test(n))return u(n,a);const m=a.indent||(a.forceBlockIndent||s(n)?" ":""),y="literal"===f||"folded"!==f&&t!==r.Scalar.BLOCK_FOLDED&&(t===r.Scalar.BLOCK_LITERAL||!function(e,t,n){if(!t||t<0)return!1;const r=t-n,o=e.length;if(o<=r)return!1;for(let t=0,n=0;t<o;++t)if("\n"===e[t]){if(t-n>r)return!0;if(n=t+1,o-n<=r)return!1}return!0}(n,h,m.length));if(!n)return y?"|\n":">\n";let g,v;for(v=n.length;v>0;--v){const e=n[v-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let b=n.substring(v);const x=b.indexOf("\n");-1===x?g="-":n===b||x!==b.length-1?(g="+",p&&p()):g="",b&&(n=n.slice(0,-b.length),"\n"===b[b.length-1]&&(b=b.slice(0,-1)),b=b.replace(l,`$&${m}`));let w,_=!1,E=-1;for(w=0;w<n.length;++w){const e=n[w];if(" "===e)_=!0;else{if("\n"!==e)break;E=w}}let S=n.substring(0,E<w?E+1:w);S&&(n=n.substring(S.length),S=S.replace(/\n+/g,`$&${m}`));let D=(_?m?"2":"1":"")+g;if(e&&(D+=" "+d(e.replace(/ ?[\r\n]+/g," ")),c&&c()),!y){const e=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${m}`);let s=!1;const c=i(a,!0);"folded"!==f&&t!==r.Scalar.BLOCK_FOLDED&&(c.onOverflow=()=>{s=!0});const u=o.foldFlowLines(`${S}${e}${b}`,m,o.FOLD_BLOCK,c);if(!s)return`>${D}\n${m}${u}`}return`|${D}\n${m}${S}${n=n.replace(/\n+/g,`$&${m}`)}${b}`}t.stringifyString=function(e,t,n,l){const{implicitKey:f,inFlow:d}=t,h="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:m}=e;m!==r.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(h.value)&&(m=r.Scalar.QUOTE_DOUBLE);const y=e=>{switch(e){case r.Scalar.BLOCK_FOLDED:case r.Scalar.BLOCK_LITERAL:return f||d?u(h.value,t):p(h,t,n,l);case r.Scalar.QUOTE_DOUBLE:return a(h.value,t);case r.Scalar.QUOTE_SINGLE:return c(h.value,t);case r.Scalar.PLAIN:return function(e,t,n,a){const{type:c,value:l}=e,{actualString:f,implicitKey:d,indent:h,indentStep:m,inFlow:y}=t;if(d&&l.includes("\n")||y&&/[[\]{},]/.test(l))return u(l,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(l))return d||y||!l.includes("\n")?u(l,t):p(e,t,n,a);if(!d&&!y&&c!==r.Scalar.PLAIN&&l.includes("\n"))return p(e,t,n,a);if(s(l)){if(""===h)return t.forceBlockIndent=!0,p(e,t,n,a);if(d&&h===m)return u(l,t)}const g=l.replace(/\n+/g,`$&\n${h}`);if(f){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(g),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return u(l,t)}return d?g:o.foldFlowLines(g,h,o.FOLD_FLOW,i(t,!1))}(h,t,n,l);default:return null}};let g=y(m);if(null===g){const{defaultKeyType:e,defaultStringType:n}=t.options,r=f&&e||n;if(g=y(r),null===g)throw new Error(`Unsupported default string type ${r}`)}return g}},4364(e,t,n){"use strict";var r=n(9399);const o=Symbol("break visit"),i=Symbol("skip children"),s=Symbol("remove node");function a(e,t){const n=p(t);r.isDocument(e)?c(null,e.contents,n,Object.freeze([e]))===s&&(e.contents=null):c(null,e,n,Object.freeze([]))}function c(e,t,n,i){const a=f(e,t,n,i);if(r.isNode(a)||r.isPair(a))return d(e,i,a),c(e,a,n,i);if("symbol"!=typeof a)if(r.isCollection(t)){i=Object.freeze(i.concat(t));for(let e=0;e<t.items.length;++e){const r=c(e,t.items[e],n,i);if("number"==typeof r)e=r-1;else{if(r===o)return o;r===s&&(t.items.splice(e,1),e-=1)}}}else if(r.isPair(t)){i=Object.freeze(i.concat(t));const e=c("key",t.key,n,i);if(e===o)return o;e===s&&(t.key=null);const r=c("value",t.value,n,i);if(r===o)return o;r===s&&(t.value=null)}return a}async function u(e,t){const n=p(t);r.isDocument(e)?await l(null,e.contents,n,Object.freeze([e]))===s&&(e.contents=null):await l(null,e,n,Object.freeze([]))}async function l(e,t,n,i){const a=await f(e,t,n,i);if(r.isNode(a)||r.isPair(a))return d(e,i,a),l(e,a,n,i);if("symbol"!=typeof a)if(r.isCollection(t)){i=Object.freeze(i.concat(t));for(let e=0;e<t.items.length;++e){const r=await l(e,t.items[e],n,i);if("number"==typeof r)e=r-1;else{if(r===o)return o;r===s&&(t.items.splice(e,1),e-=1)}}}else if(r.isPair(t)){i=Object.freeze(i.concat(t));const e=await l("key",t.key,n,i);if(e===o)return o;e===s&&(t.key=null);const r=await l("value",t.value,n,i);if(r===o)return o;r===s&&(t.value=null)}return a}function p(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function f(e,t,n,o){return"function"==typeof n?n(e,t,o):r.isMap(t)?n.Map?.(e,t,o):r.isSeq(t)?n.Seq?.(e,t,o):r.isPair(t)?n.Pair?.(e,t,o):r.isScalar(t)?n.Scalar?.(e,t,o):r.isAlias(t)?n.Alias?.(e,t,o):void 0}function d(e,t,n){const o=t[t.length-1];if(r.isCollection(o))o.items[e]=n;else if(r.isPair(o))"key"===e?o.key=n:o.value=n;else{if(!r.isDocument(o)){const e=r.isAlias(o)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}o.contents=n}}a.BREAK=o,a.SKIP=i,a.REMOVE=s,u.BREAK=o,u.SKIP=i,u.REMOVE=s,t.visit=a,t.visitAsync=u},6095(e,t,n){"use strict";n.d(t,{A:()=>bn});var r={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>be,hasStandardBrowserEnv:()=>we,hasStandardBrowserWebWorkerEnv:()=>_e,navigator:()=>xe,origin:()=>Ee});const{toString:i}=Object.prototype,{getPrototypeOf:s}=Object,{iterator:a,toStringTag:c}=Symbol,u=(l=Object.create(null),e=>{const t=i.call(e);return l[t]||(l[t]=t.slice(8,-1).toLowerCase())});var l;const p=e=>(e=e.toLowerCase(),t=>u(t)===e),f=e=>t=>typeof t===e,{isArray:d}=Array,h=f("undefined");function m(e){return null!==e&&!h(e)&&null!==e.constructor&&!h(e.constructor)&&v(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const y=p("ArrayBuffer"),g=f("string"),v=f("function"),b=f("number"),x=e=>null!==e&&"object"==typeof e,w=e=>{if("object"!==u(e))return!1;const t=s(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||c in e||a in e)},_=p("Date"),E=p("File"),S=p("Blob"),D=p("FileList"),O="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},k=void 0!==O.FormData?O.FormData:void 0,$=p("URLSearchParams"),[A,P,j,C]=["ReadableStream","Request","Response","Headers"].map(p);function R(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),d(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(m(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let s;for(r=0;r<i;r++)s=o[r],t.call(null,e[s],s,e)}}function N(e,t){if(m(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const T="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,I=e=>!h(e)&&e!==T,F=(M="undefined"!=typeof Uint8Array&&s(Uint8Array),e=>M&&e instanceof M);var M;const L=p("HTMLFormElement"),B=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),U=p("RegExp"),q=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};R(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},z=p("AsyncFunction"),V=(G="function"==typeof setImmediate,H=v(T.postMessage),G?setImmediate:H?(K=`axios@${Math.random()}`,W=[],T.addEventListener("message",(({source:e,data:t})=>{e===T&&t===K&&W.length&&W.shift()()}),!1),e=>{W.push(e),T.postMessage(K,"*")}):e=>setTimeout(e));var G,H,K,W;const Y="undefined"!=typeof queueMicrotask?queueMicrotask.bind(T):"undefined"!=typeof process&&process.nextTick||V,J={isArray:d,isArrayBuffer:y,isBuffer:m,isFormData:e=>{if(!e)return!1;if(k&&e instanceof k)return!0;const t=s(e);if(!t||t===Object.prototype)return!1;if(!v(e.append))return!1;const n=u(e);return"formdata"===n||"object"===n&&v(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&y(e.buffer),t},isString:g,isNumber:b,isBoolean:e=>!0===e||!1===e,isObject:x,isPlainObject:w,isEmptyObject:e=>{if(!x(e)||m(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:A,isRequest:P,isResponse:j,isHeaders:C,isUndefined:h,isDate:_,isFile:E,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:S,isRegExp:U,isFunction:v,isStream:e=>x(e)&&v(e.pipe),isURLSearchParams:$,isTypedArray:F,isFileList:D,forEach:R,merge:function e(){const{caseless:t,skipUndefined:n}=I(this)&&this||{},r={},o=(o,i)=>{if("__proto__"===i||"constructor"===i||"prototype"===i)return;const s=t&&N(r,i)||i;w(r[s])&&w(o)?r[s]=e(r[s],o):w(o)?r[s]=e({},o):d(o)?r[s]=o.slice():n&&h(o)||(r[s]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&R(arguments[e],o);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(R(t,((t,r)=>{n&&v(t)?Object.defineProperty(e,r,{value:o(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{value:t,writable:!0,enumerable:!0,configurable:!0})}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const c={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||c[a]||(t[a]=e[a],c[a]=!0);e=!1!==n&&s(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:u,kindOfTest:p,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!b(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[a]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:L,hasOwnProperty:B,hasOwnProp:B,reduceDescriptors:q,freezeMethods:e=>{q(e,((t,n)=>{if(v(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];v(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return d(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:N,global:T,isContextDefined:I,isSpecCompliantForm:function(e){return!!(e&&v(e.append)&&"FormData"===e[c]&&e[a])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(x(e)){if(t.indexOf(e)>=0)return;if(m(e))return e;if(!("toJSON"in e)){t[r]=e;const o=d(e)?[]:{};return R(e,((e,t)=>{const i=n(e,r+1);!h(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:z,isThenable:e=>e&&(x(e)||v(e))&&v(e.then)&&v(e.catch),setImmediate:V,asap:Y,isIterable:e=>null!=e&&v(e[a])};class X extends Error{static from(e,t,n,r,o,i){const s=new X(e.message,t||e.code,n,r,o);return s.cause=e,s.name=e.name,null!=e.status&&null==s.status&&(s.status=e.status),i&&Object.assign(s,i),s}constructor(e,t,n,r,o){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.status}}}X.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",X.ERR_BAD_OPTION="ERR_BAD_OPTION",X.ECONNABORTED="ECONNABORTED",X.ETIMEDOUT="ETIMEDOUT",X.ERR_NETWORK="ERR_NETWORK",X.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",X.ERR_DEPRECATED="ERR_DEPRECATED",X.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",X.ERR_BAD_REQUEST="ERR_BAD_REQUEST",X.ERR_CANCELED="ERR_CANCELED",X.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",X.ERR_INVALID_URL="ERR_INVALID_URL",X.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Q=X,Z=n(9848);function ee(e){return J.isPlainObject(e)||J.isArray(e)}function te(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function ne(e,t,n){return e?e.concat(t).map((function(e,t){return e=te(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const re=J.toFlatObject(J,{},null,(function(e){return/^is[A-Z]/.test(e)})),oe=function(e,t,n){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new(Z||FormData);const r=(n=J.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!J.isUndefined(t[e])}))).metaTokens,o=n.visitor||p,i=n.dots,s=n.indexes,a=n.Blob||"undefined"!=typeof Blob&&Blob,c=void 0===n.maxDepth?100:n.maxDepth,u=a&&J.isSpecCompliantForm(t);if(!J.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(J.isDate(e))return e.toISOString();if(J.isBoolean(e))return e.toString();if(!u&&J.isBlob(e))throw new Q("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(e)||J.isTypedArray(e)?u&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,n,o){let a=e;if(J.isReactNative(t)&&J.isReactNativeBlob(e))return t.append(ne(o,n,i),l(e)),!1;if(e&&!o&&"object"==typeof e)if(J.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(J.isArray(e)&&function(e){return J.isArray(e)&&!e.some(ee)}(e)||(J.isFileList(e)||J.endsWith(n,"[]"))&&(a=J.toArray(e)))return n=te(n),a.forEach((function(e,r){!J.isUndefined(e)&&null!==e&&t.append(!0===s?ne([n],r,i):null===s?n:n+"[]",l(e))})),!1;return!!ee(e)||(t.append(ne(o,n,i),l(e)),!1)}const f=[],d=Object.assign(re,{defaultVisitor:p,convertValue:l,isVisitable:ee});if(!J.isObject(e))throw new TypeError("data must be an object");return function e(n,r,i=0){if(!J.isUndefined(n)){if(i>c)throw new Q("Object is too deeply nested ("+i+" levels). Max depth: "+c,Q.ERR_FORM_DATA_DEPTH_EXCEEDED);if(-1!==f.indexOf(n))throw Error("Circular reference detected in "+r.join("."));f.push(n),J.forEach(n,(function(n,s){!0===(!(J.isUndefined(n)||null===n)&&o.call(t,n,J.isString(s)?s.trim():s,r,d))&&e(n,r?r.concat(s):[s],i+1)})),f.pop()}}(e),t};function ie(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,(function(e){return t[e]}))}function se(e,t){this._pairs=[],e&&oe(e,this,t)}const ae=se.prototype;ae.append=function(e,t){this._pairs.push([e,t])},ae.toString=function(e){const t=e?function(t){return e.call(this,t,ie)}:ie;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ce=se;function ue(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function le(e,t,n){if(!t)return e;const r=n&&n.encode||ue,o=J.isFunction(n)?{serialize:n}:n,i=o&&o.serialize;let s;if(s=i?i(t,o):J.isURLSearchParams(t)?t.toString():new ce(t,o).toString(r),s){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}const pe=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){J.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},fe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0};var de=n(6982);const he=n(7016).URLSearchParams,me="abcdefghijklmnopqrstuvwxyz",ye="0123456789",ge={DIGIT:ye,ALPHA:me,ALPHA_DIGIT:me+me.toUpperCase()+ye},ve={isNode:!0,classes:{URLSearchParams:he,FormData:Z,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:ge,generateString:(e=16,t=ge.ALPHA_DIGIT)=>{let n="";const{length:r}=t,o=new Uint32Array(e);de.randomFillSync(o);for(let i=0;i<e;i++)n+=t[o[i]%r];return n},protocols:["http","https","file","data"]},be="undefined"!=typeof window&&"undefined"!=typeof document,xe="object"==typeof navigator&&navigator||void 0,we=be&&(!xe||["ReactNative","NativeScript","NS"].indexOf(xe.product)<0),_e="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ee=be&&window.location.href||"http://localhost",Se={...r,...ve},De=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=e.length;return i=!i&&J.isArray(r)?r.length:i,a?(J.hasOwnProp(r,i)?r[i]=J.isArray(r[i])?r[i].concat(n):[r[i],n]:r[i]=n,!s):(r[i]&&J.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&J.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!s)}if(J.isFormData(e)&&J.isFunction(e.entries)){const n={};return J.forEachEntry(e,((e,r)=>{t(function(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null},Oe=(e,t)=>null!=e&&J.hasOwnProp(e,t)?e[t]:void 0,ke={transitional:fe,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=J.isObject(e);if(o&&J.isHTMLForm(e)&&(e=new FormData(e)),J.isFormData(e))return r?JSON.stringify(De(e)):e;if(J.isArrayBuffer(e)||J.isBuffer(e)||J.isStream(e)||J.isFile(e)||J.isBlob(e)||J.isReadableStream(e))return e;if(J.isArrayBufferView(e))return e.buffer;if(J.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){const t=Oe(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return oe(e,new Se.classes.URLSearchParams,{visitor:function(e,t,n,r){return Se.isNode&&J.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((i=J.isFileList(e))||n.indexOf("multipart/form-data")>-1){const n=Oe(this,"env"),r=n&&n.FormData;return oe(i?{"files[]":e}:e,r&&new r,t)}}return o||r?(t.setContentType("application/json",!1),function(e){if(J.isString(e))try{return(0,JSON.parse)(e),J.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=Oe(this,"transitional")||ke.transitional,n=t&&t.forcedJSONParsing,r=Oe(this,"responseType"),o="json"===r;if(J.isResponse(e)||J.isReadableStream(e))return e;if(e&&J.isString(e)&&(n&&!r||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,Oe(this,"parseReviver"))}catch(e){if(n){if("SyntaxError"===e.name)throw Q.from(e,Q.ERR_BAD_RESPONSE,this,null,Oe(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Se.classes.FormData,Blob:Se.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],(e=>{ke.headers[e]={}}));const $e=ke,Ae=J.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"]),Pe=e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Ae[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t};(Object.getOwnPropertyDescriptor(Pe,"name")||{}).writable||Object.defineProperty(Pe,"name",{value:"default",configurable:!0});const je=Symbol("internals"),Ce=/[^\x09\x20-\x7E\x80-\xFF]/g;function Re(e){return e&&String(e).trim().toLowerCase()}function Ne(e){return!1===e||null==e?e:J.isArray(e)?e.map(Ne):function(e){let t=0,n=e.length;for(;t<n;){const n=e.charCodeAt(t);if(9!==n&&32!==n)break;t+=1}for(;n>t;){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(Ce,""))}function Te(e,t,n,r,o){return J.isFunction(r)?r.call(this,t,n):(o&&(t=n),J.isString(t)?J.isString(r)?-1!==t.indexOf(r):J.isRegExp(r)?r.test(t):void 0:void 0)}class Ie{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Re(t);if(!o)throw new Error("header name must be a non-empty string");const i=J.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Ne(e))}const i=(e,t)=>J.forEach(e,((e,n)=>o(e,n,t)));if(J.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(J.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i(Pe(e),t);else if(J.isObject(e)&&J.isIterable(e)){let n,r,o={};for(const t of e){if(!J.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?J.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=Re(e)){const n=J.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(J.isFunction(t))return t.call(this,e,n);if(J.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Re(e)){const n=J.findKey(this,e);return!(!n||void 0===this[n]||t&&!Te(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Re(e)){const o=J.findKey(n,e);!o||t&&!Te(0,n[o],o,t)||(delete n[o],r=!0)}}return J.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Te(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return J.forEach(this,((r,o)=>{const i=J.findKey(n,o);if(i)return t[i]=Ne(r),void delete t[o];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();s!==o&&delete t[o],t[s]=Ne(r),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return J.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&J.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[je]=this[je]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Re(e);t[r]||(function(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return J.isArray(e)?e.forEach(r):r(e),this}}Ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),J.reduceDescriptors(Ie.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),J.freezeMethods(Ie);const Fe=Ie;function Me(e,t){const n=this||$e,r=t||n,o=Fe.from(r.headers);let i=r.data;return J.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Le(e){return!(!e||!e.__CANCEL__)}const Be=class extends Q{constructor(e,t,n){super(null==e?"canceled":e,Q.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function Ue(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Q("Request failed with status code "+n.status,[Q.ERR_BAD_REQUEST,Q.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function qe(e,t,n){let r=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(r||!1===n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var ze={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function Ve(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}var Ge=n(8611),He=n(5692);const Ke=require("http2");var We=n(9023),Ye=n(1251);const Je=require("zlib"),Xe="1.15.1";function Qe(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Ze=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;var et=n(2203);const tt=Symbol("internals");class nt extends et.Transform{constructor(e){super({readableHighWaterMark:(e=J.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!J.isUndefined(t[e])))).chunkSize});const t=this[tt]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))}))}_read(e){const t=this[tt];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const r=this[tt],o=r.maxRate,i=this.readableHighWaterMark,s=r.timeWindow,a=o/(1e3/s),c=!1!==r.minChunkSize?Math.max(r.minChunkSize,.01*a):0,u=(e,t)=>{const n=Buffer.byteLength(e);r.bytesSeen+=n,r.bytes+=n,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(e)?process.nextTick(t):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,p=null,f=i,d=0;if(o){const e=Date.now();(!r.ts||(d=e-r.ts)>=s)&&(r.ts=e,l=a-r.bytes,r.bytes=l<0?-l:0,d=0),l=a-r.bytes}if(o){if(l<=0)return setTimeout((()=>{t(null,e)}),s-d);l<f&&(f=l)}f&&n>f&&n-f>c&&(p=e.subarray(f),e=e.subarray(0,f)),u(e,p?()=>{process.nextTick(t,null,p)}:t)};l(e,(function e(t,r){if(t)return n(t);r?l(r,e):n(null)}))}}const rt=nt;var ot=n(4434);const{asyncIterator:it}=Symbol,st=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[it]?yield*e[it]():yield e},at=Se.ALPHABET.ALPHA_DIGIT+"-_",ct="function"==typeof TextEncoder?new TextEncoder:new We.TextEncoder,ut="\r\n",lt=ct.encode(ut);class pt{constructor(e,t){const{escapeName:n}=this.constructor,r=J.isString(t);let o=`Content-Disposition: form-data; name="${n(e)}"${!r&&t.name?`; filename="${n(t.name)}"`:""}${ut}`;r?t=ct.encode(String(t).replace(/\r?\n|\r\n?/g,ut)):o+=`Content-Type: ${String(t.type||"application/octet-stream").replace(/[\r\n]/g,"")}${ut}`,this.headers=ct.encode(o+ut),this.contentLength=r?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;J.isTypedArray(e)?yield e:yield*st(e),yield lt}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class ft extends et.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}const dt=ft,ht=(e,t)=>J.isAsyncFn(e)?function(...n){const r=n.pop();e.apply(this,n).then((e=>{try{t?r(null,...t(e)):r(null,e)}catch(e){r(e)}}),r)}:e,mt=new Set(["localhost"]),yt=e=>{const t=e.split(".");return 4===t.length&&"127"===t[0]&&t.every((e=>/^\d+$/.test(e)&&Number(e)>=0&&Number(e)<=255))},gt=e=>!!e&&(!!mt.has(e)||!!yt(e)||(e=>{if("::1"===e)return!0;const t=e.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(t)return yt(t[1]);const n=e.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(n){const e=parseInt(n[1],16);return e>=32512&&e<=32767}const r=e.split(":");if(8===r.length){for(let e=0;e<7;e++)if(!/^0+$/.test(r[e]))return!1;return/^0*1$/.test(r[7])}return!1})(e)),vt={http:80,https:443,ws:80,wss:443,ftp:21},bt=e=>e?("["===e.charAt(0)&&"]"===e.charAt(e.length-1)&&(e=e.slice(1,-1)),e.replace(/\.+$/,"")):e;const xt=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),u=r[s];o||(o=c),n[i]=a,r[i]=c;let l=s,p=0;for(;l!==i;)p+=n[l++],l%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-o<t)return;const f=u&&c-u;return f?Math.round(1e3*p/f):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const s=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=i?s(e,t):(n=e,r||(r=setTimeout((()=>{r=null,s(n)}),i-a)))},()=>n&&s(n)]}((n=>{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=null!=s?Math.min(i,s):i,c=Math.max(0,a-r),u=o(c);r=Math.max(r,a),e({loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:u||void 0,estimated:u&&s?(s-a)/u:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),n)},wt=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},_t=e=>(...t)=>J.asap((()=>e(...t))),Et={flush:Je.constants.Z_SYNC_FLUSH,finishFlush:Je.constants.Z_SYNC_FLUSH},St={flush:Je.constants.BROTLI_OPERATION_FLUSH,finishFlush:Je.constants.BROTLI_OPERATION_FLUSH},Dt=J.isFunction(Je.createBrotliDecompress),{http:Ot,https:kt}=Ye,$t=/https:?/,At=Se.protocols.map((e=>e+":")),Pt=(e,[t,n])=>(e.on("end",n).on("error",n),t),jt=new class{constructor(){this.sessions=Object.create(null)}getSession(e,t){t=Object.assign({sessionTimeout:1e3},t);let n=this.sessions[e];if(n){let e=n.length;for(let r=0;r<e;r++){const[e,o]=n[r];if(!e.destroyed&&!e.closed&&We.isDeepStrictEqual(o,t))return e}}const r=Ke.connect(e,t);let o;const i=()=>{if(o)return;o=!0;let t=n,i=t.length,s=i;for(;s--;)if(t[s][0]===r)return 1===i?delete this.sessions[e]:t.splice(s,1),void(r.closed||r.close())},s=r.request,{sessionTimeout:a}=t;if(null!=a){let e,t=0;r.request=function(){const n=s.apply(this,arguments);return t++,e&&(clearTimeout(e),e=null),n.once("close",(()=>{--t||(e=setTimeout((()=>{e=null,i()}),a))})),n}}r.once("close",i);let c=[r,t];return n?n.push(c):n=this.sessions[e]=[c],r}};function Ct(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function Rt(e,t,n){let r=t;if(!r&&!1!==r){const e=function(e){var t=("string"==typeof e?function(e){try{return new URL(e)}catch{return null}}(e):e)||{},n=t.protocol,r=t.host,o=t.port;if("string"!=typeof r||!r||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=Ve("no_proxy").toLowerCase();return!n||"*"!==n&&n.split(/[,\s]/).every((function(n){if(!n)return!0;var r=n.match(/^(.+):(\d+)$/),o=r?r[1]:n,i=r?parseInt(r[2]):0;return!(!i||i===t)||(/^[.*]/.test(o)?("*"===o.charAt(0)&&(o=o.slice(1)),!e.endsWith(o)):e!==o)}))}(r=r.replace(/:\d*$/,""),o=parseInt(o)||ze[n]||0))return"";var i=Ve(n+"_proxy")||Ve("all_proxy");return i&&-1===i.indexOf("://")&&(i=n+"://"+i),i}(n);e&&(function(e){let t;try{t=new URL(e)}catch(e){return!1}const n=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!n)return!1;if("*"===n)return!0;const r=Number.parseInt(t.port,10)||vt[t.protocol.split(":",1)[0]]||0,o=bt(t.hostname.toLowerCase());return n.split(/[\s,]+/).some((e=>{if(!e)return!1;let[t,n]=(e=>{let t=e,n=0;if("["===t.charAt(0)){const e=t.indexOf("]");if(-1!==e){const r=t.slice(1,e),o=t.slice(e+1);return":"===o.charAt(0)&&/^\d+$/.test(o.slice(1))&&(n=Number.parseInt(o.slice(1),10)),[r,n]}}const r=t.indexOf(":"),o=t.lastIndexOf(":");return-1!==r&&r===o&&/^\d+$/.test(t.slice(o+1))&&(n=Number.parseInt(t.slice(o+1),10),t=t.slice(0,o)),[t,n]})(e);return t=bt(t),!!t&&(!n||n===r)&&("*"===t.charAt(0)&&(t=t.slice(1)),"."===t.charAt(0)?o.endsWith(t):o===t||gt(o)&>(t))}))}(n)||(r=new URL(e)))}if(r){if(r.username&&(r.auth=(r.username||"")+":"+(r.password||"")),r.auth){if(Boolean(r.auth.username||r.auth.password))r.auth=(r.auth.username||"")+":"+(r.auth.password||"");else if("object"==typeof r.auth)throw new Q("Invalid proxy authorization",Q.ERR_BAD_OPTION,{proxy:r});const t=Buffer.from(r.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=r.hostname||r.host;e.hostname=t,e.host=t,e.port=r.port,e.path=n,r.protocol&&(e.protocol=r.protocol.includes(":")?r.protocol:`${r.protocol}:`)}e.beforeRedirects.proxy=function(e){Rt(e,t,e.href)}}const Nt="undefined"!=typeof process&&"process"===J.kindOf(process),Tt=(e,t)=>(({address:e,family:t})=>{if(!J.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(J.isObject(e)?e:{address:e,family:t}),It={request(e,t){const n=e.protocol+"//"+e.hostname+":"+(e.port||("https:"===e.protocol?443:80)),{http2Options:r,headers:o}=e,i=jt.getSession(n,r),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:a,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:u}=Ke.constants,l={[s]:e.protocol.replace(":",""),[a]:e.method,[c]:e.path};J.forEach(o,((e,t)=>{":"!==t.charAt(0)&&(l[t]=e)}));const p=i.request(l);return p.once("response",(e=>{const n=p,r=(e=Object.assign({},e))[u];delete e[u],n.headers=e,n.statusCode=+r,t(n)})),p}},Ft=Nt&&function(e){return t=async function(t,n,r){const o=t=>J.hasOwnProp(e,t)?e[t]:void 0;let i=o("data"),s=o("lookup"),a=o("family"),c=o("httpVersion");void 0===c&&(c=1);let u=o("http2Options");const l=o("responseType"),p=o("responseEncoding"),f=e.method.toUpperCase();let d,h,m=!1;if(c=+c,Number.isNaN(c))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(1!==c&&2!==c)throw TypeError(`Unsupported protocol version '${c}'`);const y=2===c;if(s){const e=ht(s,(e=>J.isArray(e)?e:[e]));s=(t,n,r)=>{e(t,n,((e,t,o)=>{if(e)return r(e);const i=J.isArray(t)?t.map((e=>Tt(e))):[Tt(t,o)];n.all?r(e,i):r(e,i[0].address,i[0].family)}))}}const g=new ot.EventEmitter;function v(t){try{g.emit("abort",!t||t.type?new Be(null,e,h):t)}catch(e){console.warn("emit error",e)}}g.once("abort",n);const b=()=>{e.cancelToken&&e.cancelToken.unsubscribe(v),e.signal&&e.signal.removeEventListener("abort",v),g.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(v),e.signal&&(e.signal.aborted?v():e.signal.addEventListener("abort",v))),r(((e,t)=>{if(d=!0,t)return m=!0,void b();const{data:n}=e;if(n instanceof et.Readable||n instanceof et.Duplex){const e=et.finished(n,(()=>{e(),b()}))}else b()}));const x=qe(e.baseURL,e.url,e.allowAbsoluteUrls),w=new URL(x,Se.hasBrowserEnv?Se.origin:void 0),_=w.protocol||At[0];if("data:"===_){if(e.maxContentLength>-1&&function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length;const t=r.length;for(let n=0;n<t;n++)if(37===r.charCodeAt(n)&&n+2<t){const t=r.charCodeAt(n+1),o=r.charCodeAt(n+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102)&&(e-=2,n+=2)}let n=0,o=t-1;const i=e=>e>=2&&37===r.charCodeAt(e-2)&&51===r.charCodeAt(e-1)&&(68===r.charCodeAt(e)||100===r.charCodeAt(e));o>=0&&(61===r.charCodeAt(o)?(n++,o--):i(o)&&(n++,o-=3)),1===n&&o>=0&&(61===r.charCodeAt(o)||i(o))&&n++;const s=3*Math.floor(e/4)-(n||0);return s>0?s:0}return Buffer.byteLength(r,"utf8")}(String(e.url||x||""))>e.maxContentLength)return n(new Q("maxContentLength size of "+e.maxContentLength+" exceeded",Q.ERR_BAD_RESPONSE,e));let r;if("GET"!==f)return Ue(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{r=function(e,t,n){const r=n&&n.Blob||Se.classes.Blob,o=Qe(e);if(void 0===t&&r&&(t=!0),"data"===o){e=o.length?e.slice(o.length+1):e;const n=Ze.exec(e);if(!n)throw new Q("Invalid URL",Q.ERR_INVALID_URL);const i=n[1],s=n[2],a=n[3],c=Buffer.from(decodeURIComponent(a),s?"base64":"utf8");if(t){if(!r)throw new Q("Blob is not supported",Q.ERR_NOT_SUPPORT);return new r([c],{type:i})}return c}throw new Q("Unsupported protocol "+o,Q.ERR_NOT_SUPPORT)}(e.url,"blob"===l,{Blob:e.env&&e.env.Blob})}catch(t){throw Q.from(t,Q.ERR_BAD_REQUEST,e)}return"text"===l?(r=r.toString(p),p&&"utf8"!==p||(r=J.stripBOM(r))):"stream"===l&&(r=et.Readable.from(r)),Ue(t,n,{data:r,status:200,statusText:"OK",headers:new Fe,config:e})}if(-1===At.indexOf(_))return n(new Q("Unsupported protocol "+_,Q.ERR_BAD_REQUEST,e));const E=Fe.from(e.headers).normalize();E.set("User-Agent","axios/"+Xe,!1);const{onUploadProgress:S,onDownloadProgress:D}=e,O=e.maxRate;let k,$;if(J.isSpecCompliantForm(i)){const e=E.getContentType(/boundary=([-_\w\d]{10,70})/i);i=((e,t,n)=>{const{tag:r="form-data-boundary",size:o=25,boundary:i=r+"-"+Se.generateString(o,at)}=n||{};if(!J.isFormData(e))throw TypeError("FormData instance required");if(i.length<1||i.length>70)throw Error("boundary must be 10-70 characters long");const s=ct.encode("--"+i+ut),a=ct.encode("--"+i+"--"+ut);let c=a.byteLength;const u=Array.from(e.entries()).map((([e,t])=>{const n=new pt(e,t);return c+=n.size,n}));c+=s.byteLength*u.length,c=J.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${i}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),et.Readable.from(async function*(){for(const e of u)yield s,yield*e.encode();yield a}())})(i,(e=>{E.set(e)}),{tag:`axios-${Xe}-boundary`,boundary:e&&e[1]||void 0})}else if(J.isFormData(i)&&J.isFunction(i.getHeaders)&&i.getHeaders!==Object.prototype.getHeaders){if(E.set(i.getHeaders()),!E.hasContentLength())try{const e=await We.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&E.setContentLength(e)}catch(e){}}else if(J.isBlob(i)||J.isFile(i))i.size&&E.setContentType(i.type||"application/octet-stream"),E.setContentLength(i.size||0),i=et.Readable.from(st(i));else if(i&&!J.isStream(i)){if(Buffer.isBuffer(i));else if(J.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else{if(!J.isString(i))return n(new Q("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",Q.ERR_BAD_REQUEST,e));i=Buffer.from(i,"utf-8")}if(E.setContentLength(i.length,!1),e.maxBodyLength>-1&&i.length>e.maxBodyLength)return n(new Q("Request body larger than maxBodyLength limit",Q.ERR_BAD_REQUEST,e))}const A=J.toFiniteNumber(E.getContentLength());let P,j;J.isArray(O)?(k=O[0],$=O[1]):k=$=O,i&&(S||k)&&(J.isStream(i)||(i=et.Readable.from(i,{objectMode:!1})),i=et.pipeline([i,new rt({maxRate:J.toFiniteNumber(k)})],J.noop),S&&i.on("progress",Pt(i,wt(A,xt(_t(S),!1,3))))),e.auth&&(P=(e.auth.username||"")+":"+(e.auth.password||"")),!P&&w.username&&(P=w.username+":"+w.password),P&&E.delete("authorization");try{j=le(w.pathname+w.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const r=new Error(t.message);return r.config=e,r.url=e.url,r.exists=!0,n(r)}E.set("Accept-Encoding","gzip, compress, deflate"+(Dt?", br":""),!1);const C={path:j,method:f,headers:E.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:P,protocol:_,family:a,beforeRedirect:Ct,beforeRedirects:{},http2Options:u};let R;!J.isUndefined(s)&&(C.lookup=s),e.socketPath?C.socketPath=e.socketPath:(C.hostname=w.hostname.startsWith("[")?w.hostname.slice(1,-1):w.hostname,C.port=w.port,Rt(C,e.proxy,_+"//"+w.hostname+(w.port?":"+w.port:"")+C.path));const N=$t.test(C.protocol);if(C.agent=N?e.httpsAgent:e.httpAgent,y)R=It;else{const t=o("transport");t?R=t:0===e.maxRedirects?R=N?He:Ge:(e.maxRedirects&&(C.maxRedirects=e.maxRedirects),e.beforeRedirect&&(C.beforeRedirects.config=e.beforeRedirect),R=N?kt:Ot)}if(e.maxBodyLength>-1?C.maxBodyLength=e.maxBodyLength:C.maxBodyLength=1/0,e.insecureHTTPParser&&(C.insecureHTTPParser=e.insecureHTTPParser),h=R.request(C,(function(r){if(h.destroyed)return;const o=[r],i=J.toFiniteNumber(r.headers["content-length"]);if(D||$){const u=new rt({maxRate:J.toFiniteNumber($)});D&&u.on("progress",Pt(u,wt(i,xt(_t(D),!0,3)))),o.push(u)}let s=r;const a=r.req||h;if(!1!==e.decompress&&r.headers["content-encoding"])switch("HEAD"!==f&&204!==r.statusCode||delete r.headers["content-encoding"],(r.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":o.push(Je.createUnzip(Et)),delete r.headers["content-encoding"];break;case"deflate":o.push(new dt),o.push(Je.createUnzip(Et)),delete r.headers["content-encoding"];break;case"br":Dt&&(o.push(Je.createBrotliDecompress(St)),delete r.headers["content-encoding"])}s=o.length>1?et.pipeline(o,J.noop):o[0];const c={status:r.statusCode,statusText:r.statusMessage,headers:new Fe(r.headers),config:e,request:a};if("stream"===l){if(e.maxContentLength>-1){const d=e.maxContentLength,y=s;async function*b(){let t=0;for await(const n of y){if(t+=n.length,t>d)throw new Q("maxContentLength size of "+d+" exceeded",Q.ERR_BAD_RESPONSE,e,a);yield n}}s=et.Readable.from(b(),{objectMode:!1})}c.data=s,Ue(t,n,c)}else{const x=[];let w=0;s.on("data",(function(t){x.push(t),w+=t.length,e.maxContentLength>-1&&w>e.maxContentLength&&(m=!0,s.destroy(),v(new Q("maxContentLength size of "+e.maxContentLength+" exceeded",Q.ERR_BAD_RESPONSE,e,a)))})),s.on("aborted",(function(){if(m)return;const t=new Q("stream has been aborted",Q.ERR_BAD_RESPONSE,e,a);s.destroy(t),n(t)})),s.on("error",(function(t){h.destroyed||n(Q.from(t,null,e,a))})),s.on("end",(function(){try{let e=1===x.length?x[0]:Buffer.concat(x);"arraybuffer"!==l&&(e=e.toString(p),p&&"utf8"!==p||(e=J.stripBOM(e))),c.data=e}catch(t){return n(Q.from(t,null,e,c.request,c))}Ue(t,n,c)}))}g.once("abort",(e=>{s.destroyed||(s.emit("error",e),s.destroy())}))})),g.once("abort",(e=>{h.close?h.close():h.destroy(e)})),h.on("error",(function(t){n(Q.from(t,null,e,h))})),h.on("socket",(function(e){e.setKeepAlive(!0,6e4);const t=()=>{e.removeListener("error",n)};function n(e){t(),h.destroyed||h.destroy(e)}e.on("error",n),h.once("close",t)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void v(new Q("error trying to parse `config.timeout` to int",Q.ERR_BAD_OPTION_VALUE,e,h));h.setTimeout(t,(function(){if(d)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||fe;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),v(new Q(t,n.clarifyTimeoutError?Q.ETIMEDOUT:Q.ECONNABORTED,e,h))}))}else h.setTimeout(0);if(J.isStream(i)){let t=!1,n=!1;i.on("end",(()=>{t=!0})),i.once("error",(e=>{n=!0,h.destroy(e)})),i.on("close",(()=>{t||n||v(new Be("Request stream has been aborted",e,h))}));let r=i;if(e.maxBodyLength>-1&&0===e.maxRedirects){const t=e.maxBodyLength;let n=0;r=et.pipeline([i,new et.Transform({transform(r,o,i){if(n+=r.length,n>t)return i(new Q("Request body larger than maxBodyLength limit",Q.ERR_BAD_REQUEST,e,h));i(null,r)}})],J.noop),r.on("error",(e=>{h.destroyed||h.destroy(e)}))}r.pipe(h)}else i&&h.write(i),h.end()},new Promise(((e,n)=>{let r,o;const i=(e,t)=>{o||(o=!0,r&&r(e,t))},s=e=>{i(e,!0),n(e)};t((t=>{i(t),e(t)}),s,(e=>r=e)).catch(s)}));var t},Mt=Se.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Se.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Se.origin),Se.navigator&&/(msie|trident)/i.test(Se.navigator.userAgent)):()=>!0,Lt=Se.hasStandardBrowserEnv?{write(e,t,n,r,o,i,s){if("undefined"==typeof document)return;const a=[`${e}=${encodeURIComponent(t)}`];J.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),J.isString(r)&&a.push(`path=${r}`),J.isString(o)&&a.push(`domain=${o}`),!0===i&&a.push("secure"),J.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}},Bt=e=>e instanceof Fe?{...e}:e;function Ut(e,t){t=t||{};const n={};function r(e,t,n,r){return J.isPlainObject(e)&&J.isPlainObject(t)?J.merge.call({caseless:r},e,t):J.isPlainObject(t)?J.merge({},t):J.isArray(t)?t.slice():t}function o(e,t,n,o){return J.isUndefined(t)?J.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!J.isUndefined(t))return r(void 0,t)}function s(e,t){return J.isUndefined(t)?J.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,i){return J.hasOwnProp(t,i)?r(n,o):J.hasOwnProp(e,i)?r(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t,n)=>o(Bt(e),Bt(t),0,!0)};return J.forEach(Object.keys({...e,...t}),(function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;const i=J.hasOwnProp(c,r)?c[r]:o,s=i(J.hasOwnProp(e,r)?e[r]:void 0,J.hasOwnProp(t,r)?t[r]:void 0,r);J.isUndefined(s)&&i!==a||(n[r]=s)})),n}const qt=e=>{const t=Ut({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=Fe.from(s),t.url=le(qe(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),J.isFormData(n))if(Se.hasStandardBrowserEnv||Se.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(J.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach((([e,n])=>{t.includes(e.toLowerCase())&&s.set(e,n)}))}if(Se.hasStandardBrowserEnv&&(J.isFunction(r)&&(r=r(t)),!0===r||null==r&&Mt(t.url))){const e=o&&i&&Lt.read(i);e&&s.set(o,e)}return t};(Object.getOwnPropertyDescriptor(qt,"name")||{}).writable||Object.defineProperty(qt,"name",{value:"default",configurable:!0});const zt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=qt(e);let o=r.data;const i=Fe.from(r.headers).normalize();let s,a,c,u,l,{responseType:p,onUploadProgress:f,onDownloadProgress:d}=r;function h(){u&&u(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let m=new XMLHttpRequest;function y(){if(!m)return;const r=Fe.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Ue((function(e){t(e),h()}),(function(e){n(e),h()}),{data:p&&"text"!==p&&"json"!==p?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(y)},m.onabort=function(){m&&(n(new Q("Request aborted",Q.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new Q(r,Q.ERR_NETWORK,e,m);o.event=t||null,n(o),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||fe;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Q(t,o.clarifyTimeoutError?Q.ETIMEDOUT:Q.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&J.forEach(i.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),J.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),p&&"json"!==p&&(m.responseType=r.responseType),d&&([c,l]=xt(d,!0),m.addEventListener("progress",c)),f&&m.upload&&([a,u]=xt(f),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(s=t=>{m&&(n(!t||t.type?new Be(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const g=Qe(r.url);g&&-1===Se.protocols.indexOf(g)?n(new Q("Unsupported protocol "+g+":",Q.ERR_BAD_REQUEST,e)):m.send(o||null)}))},Vt=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Q?t:new Be(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new Q(`timeout of ${t}ms exceeded`,Q.ETIMEDOUT))}),t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=()=>J.asap(s),a}},Gt=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Ht=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*Gt(n,t)}(e,t);let i,s=0,a=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let i=r.byteLength;if(n){let e=s+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},{isFunction:Kt}=J,Wt=(({Request:e,Response:t})=>({Request:e,Response:t}))(J.global),{ReadableStream:Yt,TextEncoder:Jt}=J.global,Xt=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Qt=e=>{e=J.merge.call({skipUndefined:!0},Wt,e);const{fetch:t,Request:n,Response:r}=e,o=t?Kt(t):"function"==typeof fetch,i=Kt(n),s=Kt(r);if(!o)return!1;const a=o&&Kt(Yt),c=o&&("function"==typeof Jt?(u=new Jt,e=>u.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var u;const l=i&&a&&Xt((()=>{let e=!1;const t=new n(Se.origin,{body:new Yt,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r})),p=s&&a&&Xt((()=>J.isReadableStream(new r("").body))),f={stream:p&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!f[e]&&(f[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new Q(`Response type '${e}' is not supported`,Q.ERR_NOT_SUPPORT,n)})}));return async e=>{let{url:o,method:s,data:a,signal:u,cancelToken:d,timeout:h,onDownloadProgress:m,onUploadProgress:y,responseType:g,headers:v,withCredentials:b="same-origin",fetchOptions:x}=qt(e),w=t||fetch;g=g?(g+"").toLowerCase():"text";let _=Vt([u,d&&d.toAbortSignal()],h),E=null;const S=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let D;try{if(y&&l&&"get"!==s&&"head"!==s&&0!==(D=await(async(e,t)=>{const r=J.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(J.isBlob(e))return e.size;if(J.isSpecCompliantForm(e)){const t=new n(Se.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return J.isArrayBufferView(e)||J.isArrayBuffer(e)?e.byteLength:(J.isURLSearchParams(e)&&(e+=""),J.isString(e)?(await c(e)).byteLength:void 0)})(t):r})(v,a))){let e,t=new n(o,{method:"POST",body:a,duplex:"half"});if(J.isFormData(a)&&(e=t.headers.get("content-type"))&&v.setContentType(e),t.body){const[e,n]=wt(D,xt(_t(y)));a=Ht(t.body,65536,e,n)}}J.isString(b)||(b=b?"include":"omit");const t=i&&"credentials"in n.prototype;if(J.isFormData(a)){const e=v.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&v.delete("content-type")}const u={...x,signal:_,method:s.toUpperCase(),headers:v.normalize().toJSON(),body:a,duplex:"half",credentials:t?b:void 0};E=i&&new n(o,u);let d=await(i?w(E,x):w(o,u));const h=p&&("stream"===g||"response"===g);if(p&&(m||h&&S)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=d[t]}));const t=J.toFiniteNumber(d.headers.get("content-length")),[n,o]=m&&wt(t,xt(_t(m),!0))||[];d=new r(Ht(d.body,65536,n,(()=>{o&&o(),S&&S()})),e)}g=g||"text";let O=await f[J.findKey(f,g)||"text"](d,e);return!h&&S&&S(),await new Promise(((t,n)=>{Ue(t,n,{data:O,headers:Fe.from(d.headers),status:d.status,statusText:d.statusText,config:e,request:E})}))}catch(t){if(S&&S(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Q("Network Error",Q.ERR_NETWORK,e,E,t&&t.response),{cause:t.cause||t});throw Q.from(t,t&&t.code,e,E,t&&t.response)}}},Zt=new Map,en=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let s,a,c=i.length,u=Zt;for(;c--;)s=i[c],a=u.get(s),void 0===a&&u.set(s,a=c?new Map:Qt(t)),u=a;return a},tn=(en(),{http:Ft,xhr:zt,fetch:{get:en}});J.forEach(tn,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const nn=e=>`- ${e}`,rn=e=>J.isFunction(e)||null===e||!1===e,on=function(e,t){e=J.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let s=0;s<n;s++){let n;if(r=e[s],o=r,!rn(r)&&(o=tn[(n=String(r)).toLowerCase()],void 0===o))throw new Q(`Unknown adapter '${n}'`);if(o&&(J.isFunction(o)||(o=o.get(t))))break;i[n||"#"+s]=o}if(!o){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let t=n?e.length>1?"since :\n"+e.map(nn).join("\n"):" "+nn(e[0]):"as no adapter specified";throw new Q("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o};function sn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Be(null,e)}function an(e){return sn(e),e.headers=Fe.from(e.headers),e.data=Me.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),on(e.adapter||$e.adapter,e)(e).then((function(t){return sn(e),t.data=Me.call(e,e.transformResponse,t),t.headers=Fe.from(t.headers),t}),(function(t){return Le(t)||(sn(e),t&&t.response&&(t.response.data=Me.call(e,e.transformResponse,t.response),t.response.headers=Fe.from(t.response.headers))),Promise.reject(t)}))}const cn={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{cn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const un={};cn.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Xe+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Q(r(o," has been removed"+(t?" in "+t:"")),Q.ERR_DEPRECATED);return t&&!un[o]&&(un[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},cn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const ln={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Q("options must be an object",Q.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new Q("option "+i+" must be "+n,Q.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Q("Unknown option "+i,Q.ERR_BAD_OPTION)}},validators:cn},pn=ln.validators;class fn{constructor(e){this.defaults=e||{},this.interceptors={request:new pe,response:new pe}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(n){const t=n.indexOf("\n"),r=-1===t?-1:n.indexOf("\n",t+1),o=-1===r?"":n.slice(r+1);String(e.stack).endsWith(o)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ut(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&ln.assertOptions(n,{silentJSONParsing:pn.transitional(pn.boolean),forcedJSONParsing:pn.transitional(pn.boolean),clarifyTimeoutError:pn.transitional(pn.boolean),legacyInterceptorReqResOrdering:pn.transitional(pn.boolean)},!1),null!=r&&(J.isFunction(r)?t.paramsSerializer={serialize:r}:ln.assertOptions(r,{encode:pn.function,serialize:pn.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ln.assertOptions(t,{baseUrl:pn.spelling("baseURL"),withXsrfToken:pn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&J.merge(o.common,o[t.method]);o&&J.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Fe.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;a=a&&e.synchronous;const n=t.transitional||fe;n&&n.legacyInterceptorReqResOrdering?s.unshift(e.fulfilled,e.rejected):s.push(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(!a){const e=[an.bind(this),void 0];for(e.unshift(...s),e.push(...c),l=e.length,u=Promise.resolve(t);p<l;)u=u.then(e[p++],e[p++]);return u}l=s.length;let f=t;for(;p<l;){const e=s[p++],t=s[p++];try{f=e(f)}catch(e){t.call(this,e);break}}try{u=an.call(this,f)}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 le(qe((e=Ut(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}J.forEach(["delete","get","head","options"],(function(e){fn.prototype[e]=function(t,n){return this.request(Ut(n||{},{method:e,url:t,data:(n||{}).data}))}})),J.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Ut(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}fn.prototype[e]=t(),fn.prototype[e+"Form"]=t(!0)}));const dn=fn;class hn{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Be(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new hn((function(t){e=t})),cancel:e}}}const mn=hn,yn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(yn).forEach((([e,t])=>{yn[t]=e}));const gn=yn,vn=function e(t){const n=new dn(t),r=o(dn.prototype.request,n);return J.extend(r,dn.prototype,n,{allOwnKeys:!0}),J.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ut(t,n))},r}($e);vn.Axios=dn,vn.CanceledError=Be,vn.CancelToken=mn,vn.isCancel=Le,vn.VERSION=Xe,vn.toFormData=oe,vn.AxiosError=Q,vn.Cancel=vn.CanceledError,vn.all=function(e){return Promise.all(e)},vn.spread=function(e){return function(t){return e.apply(null,t)}},vn.isAxiosError=function(e){return J.isObject(e)&&!0===e.isAxiosError},vn.mergeConfig=Ut,vn.AxiosHeaders=Fe,vn.formToJSON=e=>De(J.isHTMLForm(e)?new FormData(e):e),vn.getAdapter=on,vn.HttpStatusCode=gn,vn.default=vn;const bn=vn},7536(e,t,n){"use strict";n.d(t,{Ay:()=>C});const r=(e=0)=>t=>`[${t+e}m`,o=(e=0)=>t=>`[${38+e};5;${t}m`,i=(e=0)=>(t,n,r)=>`[${38+e};2;${t};${n};${r}m`,s={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]}};Object.keys(s.modifier),Object.keys(s.color),Object.keys(s.bgColor);const a=function(){const e=new Map;for(const[t,n]of Object.entries(s)){for(const[t,r]of Object.entries(n))s[t]={open:`[${r[0]}m`,close:`[${r[1]}m`},n[t]=s[t],e.set(r[0],r[1]);Object.defineProperty(s,t,{value:n,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="[39m",s.bgColor.close="[49m",s.color.ansi=r(),s.color.ansi256=o(),s.color.ansi16m=i(),s.bgColor.ansi=r(10),s.bgColor.ansi256=o(10),s.bgColor.ansi16m=i(10),Object.defineProperties(s,{rgbToAnsi256:{value:(e,t,n)=>e===t&&t===n?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(n/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[n]=t;3===n.length&&(n=[...n].map((e=>e+e)).join(""));const r=Number.parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},enumerable:!1},hexToAnsi256:{value:e=>s.rgbToAnsi256(...s.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return e-8+90;let t,n,r;if(e>=232)t=(10*(e-232)+8)/255,n=t,r=t;else{const o=(e-=16)%36;t=Math.floor(e/36)/5,n=Math.floor(o/6)/5,r=o%6/5}const o=2*Math.max(t,n,r);if(0===o)return 30;let i=30+(Math.round(r)<<2|Math.round(n)<<1|Math.round(t));return 2===o&&(i+=60),i},enumerable:!1},rgbToAnsi:{value:(e,t,n)=>s.ansi256ToAnsi(s.rgbToAnsi256(e,t,n)),enumerable:!1},hexToAnsi:{value:e=>s.ansi256ToAnsi(s.hexToAnsi256(e)),enumerable:!1}}),s}(),c=require("node:process"),u=require("node:os"),l=require("node:tty");function p(e,t=(globalThis.Deno?globalThis.Deno.args:c.argv)){const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o)}const{env:f}=c;let d;function h(e,t={}){return 0!==(n=function(e,{streamIsTTY:t,sniffFlags:n=!0}={}){const r=function(){if("FORCE_COLOR"in f)return"true"===f.FORCE_COLOR?1:"false"===f.FORCE_COLOR?0:0===f.FORCE_COLOR.length?1:Math.min(Number.parseInt(f.FORCE_COLOR,10),3)}();void 0!==r&&(d=r);const o=n?d:r;if(0===o)return 0;if(n){if(p("color=16m")||p("color=full")||p("color=truecolor"))return 3;if(p("color=256"))return 2}if("TF_BUILD"in f&&"AGENT_NAME"in f)return 1;if(e&&!t&&void 0===o)return 0;const i=o||0;if("dumb"===f.TERM)return i;if("win32"===c.platform){const e=u.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in f)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((e=>e in f))?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((e=>e in f))||"codeship"===f.CI_NAME?1:i;if("TEAMCITY_VERSION"in f)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(f.TEAMCITY_VERSION)?1:0;if("truecolor"===f.COLORTERM)return 3;if("xterm-kitty"===f.TERM)return 3;if("xterm-ghostty"===f.TERM)return 3;if("TERM_PROGRAM"in f){const e=Number.parseInt((f.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(f.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(f.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(f.TERM)||"COLORTERM"in f?1:i}(e,{streamIsTTY:e&&e.isTTY,...t}))&&{level:n,hasBasic:!0,has256:n>=2,has16m:n>=3};var n}p("no-color")||p("no-colors")||p("color=false")||p("color=never")?d=0:(p("color")||p("colors")||p("color=true")||p("color=always"))&&(d=1);const m={stdout:h({isTTY:l.isatty(1)}),stderr:h({isTTY:l.isatty(2)})};function y(e,t,n){let r=e.indexOf(t);if(-1===r)return e;const o=t.length;let i=0,s="";do{s+=e.slice(i,r)+t+n,i=r+o,r=e.indexOf(t,i)}while(-1!==r);return s+=e.slice(i),s}const{stdout:g,stderr:v}=m,b=Symbol("GENERATOR"),x=Symbol("STYLER"),w=Symbol("IS_EMPTY"),_=["ansi","ansi","ansi256","ansi16m"],E=Object.create(null);function S(e){return(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 n=g?g.level:0;e.level=void 0===t.level?n:t.level})(t,e),Object.setPrototypeOf(t,S.prototype),t})(e)}Object.setPrototypeOf(S.prototype,Function.prototype);for(const[e,t]of Object.entries(a))E[e]={get(){const n=A(this,$(t.open,t.close,this[x]),this[w]);return Object.defineProperty(this,e,{value:n}),n}};E.visible={get(){const e=A(this,this[x],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const D=(e,t,n,...r)=>"rgb"===e?"ansi16m"===t?a[n].ansi16m(...r):"ansi256"===t?a[n].ansi256(a.rgbToAnsi256(...r)):a[n].ansi(a.rgbToAnsi(...r)):"hex"===e?D("rgb",t,n,...a.hexToRgb(...r)):a[n][e](...r),O=["rgb","hex","ansi256"];for(const e of O)E[e]={get(){const{level:t}=this;return function(...n){const r=$(D(e,_[t],"color",...n),a.color.close,this[x]);return A(this,r,this[w])}}},E["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...n){const r=$(D(e,_[t],"bgColor",...n),a.bgColor.close,this[x]);return A(this,r,this[w])}}};const k=Object.defineProperties((()=>{}),{...E,level:{enumerable:!0,get(){return this[b].level},set(e){this[b].level=e}}}),$=(e,t,n)=>{let r,o;return void 0===n?(r=e,o=t):(r=n.openAll+e,o=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:o,parent:n}},A=(e,t,n)=>{const r=(...e)=>P(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,k),r[b]=e,r[x]=t,r[w]=n,r},P=(e,t)=>{if(e.level<=0||!t)return e[w]?"":t;let n=e[x];if(void 0===n)return t;const{openAll:r,closeAll:o}=n;if(t.includes(""))for(;void 0!==n;)t=y(t,n.close,n.open),n=n.parent;const i=t.indexOf("\n");return-1!==i&&(t=function(e,t,n,r){let o=0,i="";do{const s="\r"===e[r-1];i+=e.slice(o,s?r-1:r)+t+(s?"\r\n":"\n")+n,o=r+1,r=e.indexOf("\n",o)}while(-1!==r);return i+=e.slice(o),i}(t,o,r,i)),r+t+o};Object.defineProperties(S.prototype,E);const j=S(),C=(S({level:v?v.level:0}),j)},2399(e,t,n){"use strict";n.d(t,{kW:()=>p,xQ:()=>l});const r=/([\p{Ll}\d])(\p{Lu})/gu,o=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,i=/(\d)\p{Ll}|(\p{L})\d/u,s=/[^\p{L}\d]+/giu,a="$1\0$2";function c(e){let t=e.trim();t=t.replace(r,a).replace(o,a),t=t.replace(s,"\0");let n=0,i=t.length;for(;"\0"===t.charAt(n);)n++;if(n===i)return[];for(;"\0"===t.charAt(i-1);)i--;return t.slice(n,i).split(/\0/g)}function u(e){const t=c(e);for(let e=0;e<t.length;e++){const n=t[e],r=i.exec(n);if(r){const o=r.index+(r[1]??r[2]).length;t.splice(e,1,n.slice(0,o),n.slice(o))}}return t}function l(e,t){const[n,r,o]=d(e,t),i=f(t?.locale),s=(c=t?.locale,!1===c?e=>e.toUpperCase():e=>e.toLocaleUpperCase(c)),a=t?.mergeAmbiguousCharacters?function(e,t){return n=>`${t(n[0])}${e(n.slice(1))}`}(i,s):function(e,t){return(n,r)=>{const o=n[0];return(r>0&&o>="0"&&o<="9"?"_"+o:t(o))+e(n.slice(1))}}(i,s);var c;return n+r.map(((e,t)=>0===t?i(e):a(e,t))).join(t?.delimiter??"")+o}function p(e,t){return function(e,t){const[n,r,o]=d(e,t);return n+r.map(f(t?.locale)).join(t?.delimiter??" ")+o}(e,{delimiter:"-",...t})}function f(e){return!1===e?e=>e.toLowerCase():t=>t.toLocaleLowerCase(e)}function d(e,t={}){const n=t.split??(t.separateNumbers?u:c),r=t.prefixCharacters??"",o=t.suffixCharacters??"";let i=0,s=e.length;for(;i<e.length;){const t=e.charAt(i);if(!r.includes(t))break;i++}for(;s>i;){const t=s-1,n=e.charAt(t);if(!o.includes(n))break;s=t}return[e.slice(0,i),n(e.slice(i,s)),e.slice(s)]}},6299(e,t,n){"use strict";n.d(t,{A:()=>w});var r,o=n(9023),i=n(6928);function s(e){if(e!==e.toLowerCase()&&e!==e.toUpperCase()||(e=e.toLowerCase()),-1===e.indexOf("-")&&-1===e.indexOf("_"))return e;{let t="",n=!1;const r=e.match(/^-+/);for(let o=r?r[0].length:0;o<e.length;o++){let r=e.charAt(o);n&&(n=!1,r=r.toUpperCase()),0===o||"-"!==r&&"_"!==r?"-"!==r&&"_"!==r&&(t+=r):n=!0}return t}}function a(e,t){const n=e.toLowerCase();t=t||"-";let r="";for(let o=0;o<e.length;o++){const i=n.charAt(o),s=e.charAt(o);r+=i!==s&&o>0?`${t}${n.charAt(o)}`:s}return r}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}!function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array"}(r||(r={}));var f,d,h,m=n(9896);const y=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):12,g=null!==(d=null===(f=null===process||void 0===process?void 0:process.versions)||void 0===f?void 0:f.node)&&void 0!==d?d: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])<y)throw Error(`yargs parser supports a minimum Node.js version of ${y}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);const v=process?process.env:{},b=new class{constructor(e){u=e}parse(e,t){const n=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),o=function(e){if(Array.isArray(e))return e.map((e=>"string"!=typeof e?e+"":e));e=e.trim();let t=0,n=null,r=null,o=null;const i=[];for(let s=0;s<e.length;s++)n=r,r=e.charAt(s)," "!==r||o?(r===o?o=null:"'"!==r&&'"'!==r||o||(o=r),i[t]||(i[t]=""),i[t]+=r):" "!==n&&t++;return i}(e),i="string"==typeof e,f=function(e){const t=[],n=Object.create(null);let r=!0;for(Object.keys(e).forEach((function(n){t.push([].concat(e[n],n))}));r;){r=!1;for(let e=0;e<t.length;e++)for(let n=e+1;n<t.length;n++)if(t[e].filter((function(e){return-1!==t[n].indexOf(e)})).length){t[e]=t[e].concat(t[n]),t.splice(n,1),r=!0;break}}return t.forEach((function(e){const t=(e=e.filter((function(e,t,n){return n.indexOf(e)===t}))).pop();void 0!==t&&"string"==typeof t&&(n[t]=e)})),n}(Object.assign(Object.create(null),n.alias)),d=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},n.configuration),h=Object.assign(Object.create(null),n.default),m=n.configObjects||[],y=n.envPrefix,g=d["populate--"],v=g?"--":"_",b=Object.create(null),x=Object.create(null),w=n.__||u.format,_={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:[]},E=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,S=new RegExp("^--"+d["negation-prefix"]+"(.+)");[].concat(n.array||[]).filter(Boolean).forEach((function(e){const t="object"==typeof e?e.key:e,n=Object.keys(e).map((function(e){return{boolean:"bools",string:"strings",number:"numbers"}[e]})).filter(Boolean).pop();n&&(_[n][t]=!0),_.arrays[t]=!0,_.keys.push(t)})),[].concat(n.boolean||[]).filter(Boolean).forEach((function(e){_.bools[e]=!0,_.keys.push(e)})),[].concat(n.string||[]).filter(Boolean).forEach((function(e){_.strings[e]=!0,_.keys.push(e)})),[].concat(n.number||[]).filter(Boolean).forEach((function(e){_.numbers[e]=!0,_.keys.push(e)})),[].concat(n.count||[]).filter(Boolean).forEach((function(e){_.counts[e]=!0,_.keys.push(e)})),[].concat(n.normalize||[]).filter(Boolean).forEach((function(e){_.normalize[e]=!0,_.keys.push(e)})),"object"==typeof n.narg&&Object.entries(n.narg).forEach((([e,t])=>{"number"==typeof t&&(_.nargs[e]=t,_.keys.push(e))})),"object"==typeof n.coerce&&Object.entries(n.coerce).forEach((([e,t])=>{"function"==typeof t&&(_.coercions[e]=t,_.keys.push(e))})),void 0!==n.config&&(Array.isArray(n.config)||"string"==typeof n.config?[].concat(n.config).filter(Boolean).forEach((function(e){_.configs[e]=!0})):"object"==typeof n.config&&Object.entries(n.config).forEach((([e,t])=>{"boolean"!=typeof t&&"function"!=typeof t||(_.configs[e]=t)}))),function(...e){e.forEach((function(e){Object.keys(e||{}).forEach((function(e){_.aliases[e]||(_.aliases[e]=[].concat(f[e]||[]),_.aliases[e].concat(e).forEach((function(t){if(/-/.test(t)&&d["camel-case-expansion"]){const n=s(t);n!==e&&-1===_.aliases[e].indexOf(n)&&(_.aliases[e].push(n),b[n]=!0)}})),_.aliases[e].concat(e).forEach((function(t){if(t.length>1&&/[A-Z]/.test(t)&&d["camel-case-expansion"]){const n=a(t,"-");n!==e&&-1===_.aliases[e].indexOf(n)&&(_.aliases[e].push(n),b[n]=!0)}})),_.aliases[e].forEach((function(t){_.aliases[t]=[e].concat(_.aliases[e].filter((function(e){return t!==e})))})))}))}))}(n.key,f,n.default,_.arrays),Object.keys(h).forEach((function(e){(_.aliases[e]||[]).forEach((function(t){h[t]=h[e]}))}));let D=null;Object.keys(_.counts).find((e=>U(e,_.arrays)?(D=Error(w("Invalid configuration: %s, opts.count excludes opts.array.",e)),!0):!!U(e,_.nargs)&&(D=Error(w("Invalid configuration: %s, opts.count excludes opts.narg.",e)),!0)));let O=[];const k=Object.assign(Object.create(null),{_:[]}),$={};for(let e=0;e<o.length;e++){const t=o[e],n=t.replace(/^-{3,}/,"---");let r,i,s,a,c,u;if("--"!==t&&/^-/.test(t)&&z(t))A(t);else{if(n.match(/^---+(=|$)/)){A(t);continue}if(t.match(/^--.+=/)||!d["short-option-groups"]&&t.match(/^-.+=/))a=t.match(/^--?([^=]+)=([\s\S]*)$/),null!==a&&Array.isArray(a)&&a.length>=3&&(U(a[1],_.arrays)?e=j(e,a[1],o,a[2]):!1!==U(a[1],_.nargs)?e=P(e,a[1],o,a[2]):C(a[1],a[2],!0));else if(t.match(S)&&d["boolean-negation"])a=t.match(S),null!==a&&Array.isArray(a)&&a.length>=2&&(i=a[1],C(i,!!U(i,_.arrays)&&[!1]));else if(t.match(/^--.+/)||!d["short-option-groups"]&&t.match(/^-[^-]+/))a=t.match(/^--?(.+)/),null!==a&&Array.isArray(a)&&a.length>=2&&(i=a[1],U(i,_.arrays)?e=j(e,i,o):!1!==U(i,_.nargs)?e=P(e,i,o):(c=o[e+1],void 0===c||c.match(/^-/)&&!c.match(E)||U(i,_.bools)||U(i,_.counts)?/^(true|false)$/.test(c)?(C(i,c),e++):C(i,V(i)):(C(i,c),e++)));else if(t.match(/^-.\..+=/))a=t.match(/^-([^=]+)=([\s\S]*)$/),null!==a&&Array.isArray(a)&&a.length>=3&&C(a[1],a[2]);else if(t.match(/^-.\..+/)&&!t.match(E))c=o[e+1],a=t.match(/^-(.\..+)/),null!==a&&Array.isArray(a)&&a.length>=2&&(i=a[1],void 0===c||c.match(/^-/)||U(i,_.bools)||U(i,_.counts)?C(i,V(i)):(C(i,c),e++));else if(t.match(/^-[^-]+/)&&!t.match(E)){s=t.slice(1,-1).split(""),r=!1;for(let n=0;n<s.length;n++){if(c=t.slice(n+2),s[n+1]&&"="===s[n+1]){u=t.slice(n+3),i=s[n],U(i,_.arrays)?e=j(e,i,o,u):!1!==U(i,_.nargs)?e=P(e,i,o,u):C(i,u),r=!0;break}if("-"!==c){if(/[A-Za-z]/.test(s[n])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(c)&&!1===U(c,_.bools)){C(s[n],c),r=!0;break}if(s[n+1]&&s[n+1].match(/\W/)){C(s[n],c),r=!0;break}C(s[n],V(s[n]))}else C(s[n],c)}i=t.slice(-1)[0],r||"-"===i||(U(i,_.arrays)?e=j(e,i,o):!1!==U(i,_.nargs)?e=P(e,i,o):(c=o[e+1],void 0===c||/^(-|--)[^-]/.test(c)&&!c.match(E)||U(i,_.bools)||U(i,_.counts)?/^(true|false)$/.test(c)?(C(i,c),e++):C(i,V(i)):(C(i,c),e++)))}else if(t.match(/^-[0-9]$/)&&t.match(E)&&U(t.slice(1),_.bools))i=t.slice(1),C(i,V(i));else{if("--"===t){O=o.slice(e+1);break}if(d["halt-at-non-option"]){O=o.slice(e);break}A(t)}}}function A(e){const t=T("_",e);"string"!=typeof t&&"number"!=typeof t||k._.push(t)}function P(e,t,n,r){let o,i=U(t,_.nargs);if(i="number"!=typeof i||isNaN(i)?1:i,0===i)return G(r)||(D=Error(w("Argument unexpected for: %s",t))),C(t,V(t)),e;let s=G(r)?0:1;if(d["nargs-eats-options"])n.length-(e+1)+s<i&&(D=Error(w("Not enough arguments following: %s",t))),s=i;else{for(o=e+1;o<n.length&&(!n[o].match(/^-[^0-9]/)||n[o].match(E)||z(n[o]));o++)s++;s<i&&(D=Error(w("Not enough arguments following: %s",t)))}let a=Math.min(s,i);for(!G(r)&&a>0&&(C(t,r),a--),o=e+1;o<a+e+1;o++)C(t,n[o]);return e+a}function j(e,t,n,r){let o=[],s=r||n[e+1];const a=U(t,_.nargs);if(U(t,_.bools)&&!/^(true|false)$/.test(s))o.push(!0);else if(G(s)||G(r)&&/^-/.test(s)&&!E.test(s)&&!z(s)){if(void 0!==h[t]){const e=h[t];o=Array.isArray(e)?e:[e]}}else{G(r)||o.push(N(t,r,!0));for(let r=e+1;r<n.length&&!(!d["greedy-arrays"]&&o.length>0||a&&"number"==typeof a&&o.length>=a)&&(s=n[r],!/^-/.test(s)||E.test(s)||z(s));r++)e=r,o.push(N(t,s,i))}return"number"==typeof a&&(a&&o.length<a||isNaN(a)&&0===o.length)&&(D=Error(w("Not enough arguments following: %s",t))),C(t,o),e}function C(e,t,n=i){if(/-/.test(e)&&d["camel-case-expansion"]){const t=e.split(".").map((function(e){return s(e)})).join(".");R(e,t)}const r=N(e,t,n),o=e.split(".");B(k,o,r),_.aliases[e]&&_.aliases[e].forEach((function(e){const t=e.split(".");B(k,t,r)})),o.length>1&&d["dot-notation"]&&(_.aliases[o[0]]||[]).forEach((function(t){let n=t.split(".");const i=[].concat(o);i.shift(),n=n.concat(i),(_.aliases[e]||[]).includes(n.join("."))||B(k,n,r)})),U(e,_.normalize)&&!U(e,_.arrays)&&[e].concat(_.aliases[e]||[]).forEach((function(e){Object.defineProperty($,e,{enumerable:!0,get:()=>t,set(e){t="string"==typeof e?u.normalize(e):e}})}))}function R(e,t){_.aliases[e]&&_.aliases[e].length||(_.aliases[e]=[t],b[t]=!0),_.aliases[t]&&_.aliases[t].length||R(t,e)}function N(e,t,n){n&&(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,_.bools)||U(e,_.counts))&&"string"==typeof t&&(t="true"===t);let r=Array.isArray(t)?t.map((function(t){return T(e,t)})):T(e,t);return U(e,_.counts)&&(G(r)||"boolean"==typeof r)&&(r=l()),U(e,_.normalize)&&U(e,_.arrays)&&(r=Array.isArray(t)?t.map((e=>u.normalize(e))):u.normalize(t)),r}function T(e,t){return d["parse-positional-numbers"]||"_"!==e?(U(e,_.strings)||U(e,_.bools)||Array.isArray(t)||(c(t)&&d["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${t}`)))||!G(t)&&U(e,_.numbers))&&(t=Number(t)),t):t}function I(e,t){Object.keys(e).forEach((function(n){const r=e[n],o=t?t+"."+n:n;"object"==typeof r&&null!==r&&!Array.isArray(r)&&d["dot-notation"]?I(r,o):(!L(k,o.split("."))||U(o,_.arrays)&&d["combine-arrays"])&&C(o,r)}))}function F(e,t){if(void 0===y)return;const n="string"==typeof y?y:"",r=u.env();Object.keys(r).forEach((function(o){if(""===n||0===o.lastIndexOf(n,0)){const i=o.split("__").map((function(e,t){return 0===t&&(e=e.substring(n.length)),s(e)}));(t&&_.configs[i.join(".")]||!t)&&!L(e,i)&&C(i.join("."),r[o])}}))}function M(e,t,n,r=!1){Object.keys(n).forEach((function(o){L(e,o.split("."))||(B(e,o.split("."),n[o]),r&&(x[o]=!0),(t[o]||[]).forEach((function(t){L(e,t.split("."))||B(e,t.split("."),n[o])})))}))}function L(e,t){let n=e;d["dot-notation"]||(t=[t.join(".")]),t.slice(0,-1).forEach((function(e){n=n[e]||{}}));const r=t[t.length-1];return"object"==typeof n&&r in n}function B(e,t,n){let r=e;d["dot-notation"]||(t=[t.join(".")]),t.slice(0,-1).forEach((function(e){e=p(e),"object"==typeof r&&void 0===r[e]&&(r[e]={}),"object"!=typeof r[e]||Array.isArray(r[e])?(Array.isArray(r[e])?r[e].push({}):r[e]=[r[e],{}],r=r[e][r[e].length-1]):r=r[e]}));const o=p(t[t.length-1]),i=U(t.join("."),_.arrays),s=Array.isArray(n);let a=d["duplicate-arguments-array"];!a&&U(o,_.nargs)&&(a=!0,(!G(r[o])&&1===_.nargs[o]||Array.isArray(r[o])&&r[o].length===_.nargs[o])&&(r[o]=void 0)),n===l()?r[o]=l(r[o]):Array.isArray(r[o])?a&&i&&s?r[o]=d["flatten-duplicate-arrays"]?r[o].concat(n):(Array.isArray(r[o][0])?r[o]:[r[o]]).concat([n]):a||Boolean(i)!==Boolean(s)?r[o]=r[o].concat([n]):r[o]=n:void 0===r[o]&&i?r[o]=s?n:[n]:!a||void 0===r[o]||U(o,_.counts)||U(o,_.bools)?r[o]=n:r[o]=[r[o],n]}function U(e,t){const n=[].concat(_.aliases[e]||[],e),r=Object.keys(t),o=n.find((e=>r.includes(e)));return!!o&&t[o]}function q(e){const t=Object.keys(_);return[].concat(t.map((e=>_[e]))).some((function(t){return Array.isArray(t)?t.includes(e):t[e]}))}function z(e){return d["unknown-options-as-args"]&&function(e){return!(e=e.replace(/^-{3,}/,"--")).match(E)&&(!function(e){if(e.match(E)||!e.match(/^-[^-]+/))return!1;let t,n=!0;const r=e.slice(1).split("");for(let o=0;o<r.length;o++){if(t=e.slice(o+2),!q(r[o])){n=!1;break}if(r[o+1]&&"="===r[o+1]||"-"===t||/[A-Za-z]/.test(r[o])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(t)||r[o+1]&&r[o+1].match(/\W/))break}return n}(e)&&!function(e,...t){return[].concat(...t).some((function(t){const n=e.match(t);return n&&q(n[1])}))}(e,/^-+([^=]+?)=[\s\S]*$/,S,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/))}(e)}function V(e){return U(e,_.bools)||U(e,_.counts)||!(`${e}`in h)?(t=function(e){let t=r.BOOLEAN;return U(e,_.strings)?t=r.STRING:U(e,_.numbers)?t=r.NUMBER:U(e,_.bools)?t=r.BOOLEAN:U(e,_.arrays)&&(t=r.ARRAY),t}(e),{[r.BOOLEAN]:!0,[r.STRING]:"",[r.NUMBER]:void 0,[r.ARRAY]:[]}[t]):h[e];var t}function G(e){return void 0===e}return F(k,!0),F(k,!1),function(e){const t=Object.create(null);M(t,_.aliases,h),Object.keys(_.configs).forEach((function(n){const r=e[n]||t[n];if(r)try{let e=null;const t=u.resolve(u.cwd(),r),o=_.configs[n];if("function"==typeof o){try{e=o(t)}catch(t){e=t}if(e instanceof Error)return void(D=e)}else e=u.require(t);I(e)}catch(t){"PermissionDenied"===t.name?D=t:e[n]&&(D=Error(w("Invalid JSON config file: %s",r)))}}))}(k),void 0!==m&&m.forEach((function(e){I(e)})),M(k,_.aliases,h,!0),function(e){let t;const n=new Set;Object.keys(e).forEach((function(r){if(!n.has(r)&&(t=U(r,_.coercions),"function"==typeof t))try{const o=T(r,t(e[r]));[].concat(_.aliases[r]||[],r).forEach((t=>{n.add(t),e[t]=o}))}catch(e){D=e}}))}(k),d["set-placeholder-key"]&&function(e){_.keys.forEach((t=>{~t.indexOf(".")||void 0===e[t]&&(e[t]=void 0)}))}(k),Object.keys(_.counts).forEach((function(e){L(k,e.split("."))||C(e,0)})),g&&O.length&&(k[v]=[]),O.forEach((function(e){k[v].push(e)})),d["camel-case-expansion"]&&d["strip-dashed"]&&Object.keys(k).filter((e=>"--"!==e&&e.includes("-"))).forEach((e=>{delete k[e]})),d["strip-aliased"]&&[].concat(...Object.keys(f).map((e=>f[e]))).forEach((e=>{d["camel-case-expansion"]&&e.includes("-")&&delete k[e.split(".").map((e=>s(e))).join(".")],delete k[e]})),{aliases:Object.assign({},_.aliases),argv:Object.assign($,k),configuration:d,defaulted:Object.assign({},x),error:D,newAliases:Object.assign({},b)}}}({cwd:process.cwd,env:()=>v,format:o.format,normalize:i.normalize,resolve:i.resolve,require:e=>{if("undefined"!=typeof require)return require(e);if(e.match(/\.json$/))return JSON.parse((0,m.readFileSync)(e,"utf8"));throw Error("only .json config files are supported in ESM")}}),x=function(e,t){return b.parse(e.slice(),t).argv};x.detailed=function(e,t){return b.parse(e.slice(),t)},x.camelCase=s,x.decamelize=a,x.looksLikeNumber=c;const w=x},1050(e,t,n){"use strict";n.d(t,{e:()=>s});var r=n(3269);let o,i=[];function s(e,t,n,c){o=c;let u={};if(Object.prototype.hasOwnProperty.call(e,"extends")){if("string"!=typeof e.extends)return u;const a=/\.json|\..*rc$/.test(e.extends);let c=null;if(a)c=function(e,t){return o.path.resolve(e,t)}(t,e.extends);else try{c=require.resolve(e.extends)}catch(t){return e}!function(e){if(i.indexOf(e)>-1)throw new r.w(`Circular extended configurations: '${e}'.`)}(c),i.push(c),u=a?JSON.parse(o.readFileSync(c,"utf8")):require(e.extends),delete e.extends,u=s(u,o.path.dirname(c),n,o)}return i=[],n?a(u,e):Object.assign({},u,e)}function a(e,t){const n={};function r(e){return e&&"object"==typeof e&&!Array.isArray(e)}Object.assign(n,e);for(const o of Object.keys(t))r(t[o])&&r(n[o])?n[o]=a(e[o],t[o]):n[o]=t[o];return n}},8434(e,t,n){"use strict";function r(){return process.versions.electron&&!process.defaultApp?0:1}function o(e){return e.slice(r()+1)}function i(){return process.argv[r()]}n.d(t,{a:()=>o,h:()=>i})},3269(e,t,n){"use strict";n.d(t,{w:()=>r});class r extends Error{constructor(e){super(e||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,r)}}},6741(e,t,n){"use strict";n.d(t,{A:()=>Ze});var r=n(9332);function o(e,t,n,r){n.assert.notStrictEqual(e,t,r)}function i(e,t){t.assert.strictEqual(typeof e,"string")}function s(e){return Object.keys(e)}function a(e){return!!e&&!!e.then&&"function"==typeof e.then}var c=n(3269);function u(e){const t=e.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),n=/\.*[\][<>]/g,r=t.shift();if(!r)throw new Error(`No command found in: ${e}`);const o={cmd:r.replace(n,""),demanded:[],optional:[]};return t.forEach(((e,r)=>{let i=!1;e=e.replace(/\s/g,""),/\.+[\]>]/.test(e)&&r===t.length-1&&(i=!0),/^\[/.test(e)?o.optional.push({cmd:e.replace(n,"").split("|"),variadic:i}):o.demanded.push({cmd:e.replace(n,"").split("|"),variadic:i})})),o}const l=["first","second","third","fourth","fifth","sixth"];function p(e,t,n){try{let r=0;const[o,i,s]="object"==typeof e?[{demanded:[],optional:[]},e,t]:[u(`cmd ${e}`),t,n],a=[].slice.call(i);for(;a.length&&void 0===a[a.length-1];)a.pop();const l=s||a.length;if(l<o.demanded.length)throw new c.w(`Not enough arguments provided. Expected ${o.demanded.length} but received ${a.length}.`);const p=o.demanded.length+o.optional.length;if(l>p)throw new c.w(`Too many arguments provided. Expected max ${p} but received ${l}.`);o.demanded.forEach((e=>{const t=f(a.shift());0===e.cmd.filter((e=>e===t||"*"===e)).length&&d(t,e.cmd,r),r+=1})),o.optional.forEach((e=>{if(0===a.length)return;const t=f(a.shift());0===e.cmd.filter((e=>e===t||"*"===e)).length&&d(t,e.cmd,r),r+=1}))}catch(e){console.warn(e.stack)}}function f(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function d(e,t,n){throw new c.w(`Invalid ${l[n]||"manyith"} argument. Expected ${t.join(" or ")} but received ${e}.`)}class h{constructor(e){this.globalMiddleware=[],this.frozens=[],this.yargs=e}addMiddleware(e,t,n=!0,r=!1){if(p("<array|function> [boolean] [boolean] [boolean]",[e,t,n],arguments.length),Array.isArray(e)){for(let r=0;r<e.length;r++){if("function"!=typeof e[r])throw Error("middleware must be a function");const o=e[r];o.applyBeforeValidation=t,o.global=n}Array.prototype.push.apply(this.globalMiddleware,e)}else if("function"==typeof e){const o=e;o.applyBeforeValidation=t,o.global=n,o.mutates=r,this.globalMiddleware.push(e)}return this.yargs}addCoerceMiddleware(e,t){const n=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter((e=>{const r=[...n[t]||[],t];return!e.option||!r.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 m(e,t,n,r){return n.reduce(((e,n)=>{if(n.applyBeforeValidation!==r)return e;if(n.mutates){if(n.applied)return e;n.applied=!0}if(a(e))return e.then((e=>Promise.all([e,n(e,t)]))).then((([e,t])=>Object.assign(e,t)));{const r=n(e,t);return a(r)?r.then((t=>Object.assign(e,t))):Object.assign(e,r)}}),e)}function y(e,t,n=e=>{throw e}){try{const n="function"==typeof e?e():e;return a(n)?n.then((e=>t(e))):t(n)}catch(e){return n(e)}}const g=/(^\*)|(^\$0)/;class v{constructor(e,t,n,r){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=r,this.usage=e,this.globalMiddleware=n,this.validation=t}addDirectory(e,t,n,r){"boolean"!=typeof(r=r||{}).recurse&&(r.recurse=!1),Array.isArray(r.extensions)||(r.extensions=["js"]);const o="function"==typeof r.visit?r.visit:e=>e;r.visit=(e,t,n)=>{const r=o(e,t,n);if(r){if(this.requireCache.has(t))return r;this.requireCache.add(t),this.addHandler(r)}return r},this.shim.requireDirectory({require:t,filename:n},e,r)}addHandler(e,t,n,r,o,i){let s=[];const a=function(e){return e?e.map((e=>(e.applyBeforeValidation=!1,e))):[]}(o);if(r=r||(()=>{}),Array.isArray(e))if(function(e){return e.every((e=>"string"==typeof e))}(e))[e,...s]=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(b(n))return void this.addHandler([e].concat(s),t,n.builder,n.handler,n.middlewares,n.deprecated)}if("string"==typeof e){const o=u(e);s=s.map((e=>u(e).cmd));let c=!1;const l=[o.cmd].concat(s).filter((e=>!g.test(e)||(c=!0,!1)));0===l.length&&c&&l.push("$0"),c&&(o.cmd=l[0],s=l.slice(1),e=e.replace(g,o.cmd)),s.forEach((e=>{this.aliasMap[e]=o.cmd})),!1!==t&&this.usage.command(e,t,c,s,i),this.handlers[o.cmd]={original:e,description:t,handler:r,builder:n||{},middlewares:a,deprecated:i,demanded:o.demanded,optional:o.optional},c&&(this.defaultCommand=this.handlers[o.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(e,t,n,r,o,i){const s=this.handlers[e]||this.handlers[this.aliasMap[e]]||this.defaultCommand,c=t.getInternalMethods().getContext(),u=c.commands.slice(),l=!e;e&&(c.commands.push(e),c.fullCommands.push(s.original));const p=this.applyBuilderUpdateUsageAndParse(l,s,t,n.aliases,u,r,o,i);return a(p)?p.then((e=>this.applyMiddlewareAndGetResult(l,s,e.innerArgv,c,o,e.aliases,t))):this.applyMiddlewareAndGetResult(l,s,p.innerArgv,c,o,p.aliases,t)}applyBuilderUpdateUsageAndParse(e,t,n,r,o,i,s,c){const u=t.builder;let l=n;if(x(u)){n.getInternalMethods().getUsageInstance().freeze();const p=u(n.getInternalMethods().reset(r),c);if(a(p))return p.then((r=>{var a;return l=(a=r)&&"function"==typeof a.getInternalMethods?r:n,this.parseAndUpdateUsage(e,t,l,o,i,s)}))}else(function(e){return"object"==typeof e})(u)&&(n.getInternalMethods().getUsageInstance().freeze(),l=n.getInternalMethods().reset(r),Object.keys(t.builder).forEach((e=>{l.option(e,u[e])})));return this.parseAndUpdateUsage(e,t,l,o,i,s)}parseAndUpdateUsage(e,t,n,r,o,i){e&&n.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(n)&&n.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(r,t),t.description);const s=n.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,o,i);return a(s)?s.then((e=>({aliases:n.parsed.aliases,innerArgv:e}))):{aliases:n.parsed.aliases,innerArgv:s}}shouldUpdateUsage(e){return!e.getInternalMethods().getUsageInstance().getUsageDisabled()&&0===e.getInternalMethods().getUsageInstance().getUsage().length}usageFromParentCommandsCommandHandler(e,t){const n=g.test(t.original)?t.original.replace(g,"").trim():t.original,r=e.filter((e=>!g.test(e)));return r.push(n),`$0 ${r.join(" ")}`}handleValidationAndGetResult(e,t,n,r,o,i,s,c){if(!i.getInternalMethods().getHasOutput()){const t=i.getInternalMethods().runValidation(o,c,i.parsed.error,e);n=y(n,(e=>(t(e),e)))}if(t.handler&&!i.getInternalMethods().getHasOutput()){i.getInternalMethods().setHasOutput();const r=!!i.getOptions().configuration["populate--"];i.getInternalMethods().postProcess(n,r,!1,!1),n=y(n=m(n,i,s,!1),(e=>{const n=t.handler(e);return a(n)?n.then((()=>e)):e})),e||i.getInternalMethods().getUsageInstance().cacheHelpMessage(),a(n)&&!i.getInternalMethods().hasParseCallback()&&n.catch((e=>{try{i.getInternalMethods().getUsageInstance().fail(null,e)}catch(e){}}))}return e||(r.commands.pop(),r.fullCommands.pop()),n}applyMiddlewareAndGetResult(e,t,n,r,o,i,s){let c={};if(o)return n;s.getInternalMethods().getHasOutput()||(c=this.populatePositionals(t,n,r,s));const u=this.globalMiddleware.getMiddleware().slice(0).concat(t.middlewares),l=m(n,s,u,!0);return a(l)?l.then((n=>this.handleValidationAndGetResult(e,t,n,r,i,s,u,c))):this.handleValidationAndGetResult(e,t,l,r,i,s,u,c)}populatePositionals(e,t,n,r){t._=t._.slice(n.commands.length);const o=e.demanded.slice(0),i=e.optional.slice(0),s={};for(this.validation.positionalCount(o.length,t._.length);o.length;){const e=o.shift();this.populatePositional(e,t,s)}for(;i.length;){const e=i.shift();this.populatePositional(e,t,s)}return t._=n.commands.concat(t._.map((e=>""+e))),this.postProcessPositionals(t,s,this.cmdToParseOptions(e.original),r),s}populatePositional(e,t,n){const r=e.cmd[0];e.variadic?n[r]=t._.splice(0).map(String):t._.length&&(n[r]=[String(t._.shift())])}cmdToParseOptions(e){const t={array:[],default:{},alias:{},demand:{}},n=u(e);return n.demanded.forEach((e=>{const[n,...r]=e.cmd;e.variadic&&(t.array.push(n),t.default[n]=[]),t.alias[n]=r,t.demand[n]=!0})),n.optional.forEach((e=>{const[n,...r]=e.cmd;e.variadic&&(t.array.push(n),t.default[n]=[]),t.alias[n]=r})),t}postProcessPositionals(e,t,n,r){const o=Object.assign({},r.getOptions());o.default=Object.assign(n.default,o.default);for(const e of Object.keys(n.alias))o.alias[e]=(o.alias[e]||[]).concat(n.alias[e]);o.array=o.array.concat(n.array),o.config={};const i=[];if(Object.keys(t).forEach((e=>{t[e].map((t=>{o.configuration["unknown-options-as-args"]&&(o.key[e]=!0),i.push(`--${e}`),i.push(t)}))})),!i.length)return;const s=Object.assign({},o.configuration,{"populate--":!1}),a=this.shim.Parser.detailed(i,Object.assign({},o,{configuration:s}));if(a.error)r.getInternalMethods().getUsageInstance().fail(a.error.message,a.error);else{const n=Object.keys(t);Object.keys(t).forEach((e=>{n.push(...a.aliases[e])})),Object.keys(a.argv).forEach((o=>{n.includes(o)&&(t[o]||(t[o]=a.argv[o]),!this.isInConfigs(r,o)&&!this.isDefaulted(r,o)&&Object.prototype.hasOwnProperty.call(e,o)&&Object.prototype.hasOwnProperty.call(a.argv,o)&&(Array.isArray(e[o])||Array.isArray(a.argv[o]))?e[o]=[].concat(e[o],a.argv[o]):e[o]=a.argv[o])}))}}isDefaulted(e,t){const{default:n}=e.getOptions();return Object.prototype.hasOwnProperty.call(n,t)||Object.prototype.hasOwnProperty.call(n,this.shim.Parser.camelCase(t))}isInConfigs(e,t){const{configObjects:n}=e.getOptions();return n.some((e=>Object.prototype.hasOwnProperty.call(e,t)))||n.some((e=>Object.prototype.hasOwnProperty.call(e,this.shim.Parser.camelCase(t))))}runDefaultBuilderOn(e){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(e)){const t=g.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(x(t))return t(e,!0);b(t)||Object.keys(t).forEach((n=>{e.option(n,t[n])}))}moduleName(e){const t=function(e){if("undefined"==typeof require)return null;for(let t,n=0,r=Object.keys(require.cache);n<r.length;n++)if(t=require.cache[r[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:n}){for(const r of[e,t,n]){if("string"==typeof r||!1===r)return r;o(r,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){const e=this.frozens.pop();o(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 b(e){return"object"==typeof e&&!!e.builder&&"function"==typeof e.handler}function x(e){return"function"==typeof e}function w(e={},t=()=>!0){const n={};return s(e).forEach((r=>{t(r,e[r])&&(n[r]=e[r])})),n}function _(e){"undefined"!=typeof process&&[process.stdout,process.stderr].forEach((t=>{const n=t;n._handle&&n.isTTY&&"function"==typeof n._handle.setBlocking&&n._handle.setBlocking(e)}))}function E(e){return"boolean"==typeof e}function S(e){return"object"==typeof e}function D(e){return S(e)?e.indentation:0}function O(e){return S(e)?e.text:e}class k{constructor(e,t,n,r){var o,i,s;this.yargs=e,this.usage=t,this.command=n,this.shim=r,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=null!==(s=(null===(o=this.shim.getEnv("SHELL"))||void 0===o?void 0:o.includes("zsh"))||(null===(i=this.shim.getEnv("ZSH_NAME"))||void 0===i?void 0:i.includes("zsh")))&&void 0!==s&&s}defaultCompletion(e,t,n,r){const o=this.command.getCommandHandlers();for(let t=0,n=e.length;t<n;++t)if(o[e[t]]&&o[e[t]].builder){const n=o[e[t]].builder;if(x(n)){this.indexAfterLastReset=t+1;const e=this.yargs.getInternalMethods().reset();return n(e,!0),e.argv}}const i=[];this.commandCompletions(i,e,n),this.optionCompletions(i,e,t,n),this.choicesFromOptionsCompletions(i,e,t,n),this.choicesFromPositionalsCompletions(i,e,t,n),r(null,i)}commandCompletions(e,t,n){const r=this.yargs.getInternalMethods().getContext().commands;n.match(/^-/)||r[r.length-1]===n||this.previousArgHasChoices(t)||this.usage.getCommands().forEach((n=>{const r=u(n[0]).cmd;if(-1===t.indexOf(r))if(this.zshShell){const t=n[1]||"";e.push(r.replace(/:/g,"\\:")+":"+t)}else e.push(r)}))}optionCompletions(e,t,n,r){if((r.match(/^-/)||""===r&&0===e.length)&&!this.previousArgHasChoices(t)){const n=this.yargs.getOptions(),o=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(n.key).forEach((i=>{const s=!!n.configuration["boolean-negation"]&&n.boolean.includes(i);o.includes(i)||n.hiddenOptions.includes(i)||this.argsContainKey(t,i,s)||(this.completeOptionKey(i,e,r),s&&n.default[i]&&this.completeOptionKey(`no-${i}`,e,r))}))}}choicesFromOptionsCompletions(e,t,n,r){if(this.previousArgHasChoices(t)){const n=this.getPreviousArgChoices(t);n&&n.length>0&&e.push(...n.map((e=>e.replace(/:/g,"\\:"))))}}choicesFromPositionalsCompletions(e,t,n,r){if(""===r&&e.length>0&&this.previousArgHasChoices(t))return;const o=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],i=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),s=o[n._.length-i-1];if(!s)return;const a=this.yargs.getOptions().choices[s]||[];for(const t of a)t.startsWith(r)&&e.push(t.replace(/:/g,"\\:"))}getPreviousArgChoices(e){if(e.length<1)return;let t=e[e.length-1],n="";if(!t.startsWith("-")&&e.length>1&&(n=t,t=e[e.length-2]),!t.startsWith("-"))return;const r=t.replace(/^-+/,""),o=this.yargs.getOptions(),i=[r,...this.yargs.getAliases()[r]||[]];let s;for(const e of i)if(Object.prototype.hasOwnProperty.call(o.key,e)&&Array.isArray(o.choices[e])){s=o.choices[e];break}return s?s.filter((e=>!n||e.startsWith(n))):void 0}previousArgHasChoices(e){const t=this.getPreviousArgChoices(e);return void 0!==t&&t.length>0}argsContainKey(e,t,n){const r=t=>-1!==e.indexOf((/^[^0-9]$/.test(t)?"-":"--")+t);if(r(t))return!0;if(n&&r(`no-${t}`))return!0;if(this.aliases)for(const e of this.aliases[t])if(r(e))return!0;return!1}completeOptionKey(e,t,n){var r,o,i;const s=this.usage.getDescriptions(),a=!/^--/.test(n)&&/^[^0-9]$/.test(e)?"-":"--";if(this.zshShell){const n=null===(r=null==this?void 0:this.aliases)||void 0===r?void 0:r[e].find((e=>{const t=s[e];return"string"==typeof t&&t.length>0})),c=n?s[n]:void 0,u=null!==(i=null!==(o=s[e])&&void 0!==o?o:c)&&void 0!==i?i:"";t.push(a+`${e.replace(/:/g,"\\:")}:${u.replace("__yargsString__:","").replace(/(\r\n|\n|\r)/gm," ")}`)}else t.push(a+e)}customCompletion(e,t,n,r){if(o(this.customCompletionFunction,null,this.shim),this.customCompletionFunction.length<3){const e=this.customCompletionFunction(n,t);return a(e)?e.then((e=>{this.shim.process.nextTick((()=>{r(null,e)}))})).catch((e=>{this.shim.process.nextTick((()=>{r(e,void 0)}))})):r(null,e)}return this.customCompletionFunction.length>3?this.customCompletionFunction(n,t,((o=r)=>this.defaultCompletion(e,t,n,o)),(e=>{r(null,e)})):this.customCompletionFunction(n,t,(e=>{r(null,e)}))}getCompletion(e,t){const n=e.length?e[e.length-1]:"",r=this.yargs.parse(e,!0),o=this.customCompletionFunction?r=>this.customCompletion(e,r,n,t):r=>this.defaultCompletion(e,r,n,t);return a(r)?r.then(o):o(r)}generateCompletionScript(e,t){let n=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 r=this.shim.path.basename(e);return e.match(/\.js$/)&&(e=`./${e}`),n=n.replace(/{{app_name}}/g,r),n=n.replace(/{{completion_command}}/g,t),n.replace(/{{app_path}}/g,e)}registerFunction(e){this.customCompletionFunction=e}setParsed(e){this.aliases=e.aliases}}function $(e,t){if(0===e.length)return t.length;if(0===t.length)return e.length;const n=[];let r,o;for(r=0;r<=t.length;r++)n[r]=[r];for(o=0;o<=e.length;o++)n[0][o]=o;for(r=1;r<=t.length;r++)for(o=1;o<=e.length;o++)t.charAt(r-1)===e.charAt(o-1)?n[r][o]=n[r-1][o-1]:r>1&&o>1&&t.charAt(r-2)===e.charAt(o-1)&&t.charAt(r-1)===e.charAt(o-2)?n[r][o]=n[r-2][o-2]+1:n[r][o]=Math.min(n[r-1][o-1]+1,Math.min(n[r][o-1]+1,n[r-1][o]+1));return n[t.length][e.length]}const A=["$0","--","_"];var P,j,C,R,N,T,I,F,M,L,B,U,q,z,V,G,H,K,W,Y,J,X,Q,Z,ee,te,ne,re,oe,ie,se,ae,ce,ue,le,pe=n(1050),fe=function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},de=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};const he=Symbol("copyDoubleDash"),me=Symbol("copyDoubleDash"),ye=Symbol("deleteFromParserHintObject"),ge=Symbol("emitWarning"),ve=Symbol("freeze"),be=Symbol("getDollarZero"),xe=Symbol("getParserConfiguration"),we=Symbol("getUsageConfiguration"),_e=Symbol("guessLocale"),Ee=Symbol("guessVersion"),Se=Symbol("parsePositionalNumbers"),De=Symbol("pkgUp"),Oe=Symbol("populateParserHintArray"),ke=Symbol("populateParserHintSingleValueDictionary"),$e=Symbol("populateParserHintArrayDictionary"),Ae=Symbol("populateParserHintDictionary"),Pe=Symbol("sanitizeKey"),je=Symbol("setKey"),Ce=Symbol("unfreeze"),Re=Symbol("validateAsync"),Ne=Symbol("getCommandInstance"),Te=Symbol("getContext"),Ie=Symbol("getHasOutput"),Fe=Symbol("getLoggerInstance"),Me=Symbol("getParseContext"),Le=Symbol("getUsageInstance"),Be=Symbol("getValidationInstance"),Ue=Symbol("hasParseCallback"),qe=Symbol("isGlobalContext"),ze=Symbol("postProcess"),Ve=Symbol("rebase"),Ge=Symbol("reset"),He=Symbol("runYargsParserAndExecuteCommands"),Ke=Symbol("runValidation"),We=Symbol("setHasOutput"),Ye=Symbol("kTrackManuallySetKeys");class Je{constructor(e=[],t,n,r){this.customScriptName=!1,this.parsed=!1,P.set(this,void 0),j.set(this,void 0),C.set(this,{commands:[],fullCommands:[]}),R.set(this,null),N.set(this,null),T.set(this,"show-hidden"),I.set(this,null),F.set(this,!0),M.set(this,{}),L.set(this,!0),B.set(this,[]),U.set(this,void 0),q.set(this,{}),z.set(this,!1),V.set(this,null),G.set(this,!0),H.set(this,void 0),K.set(this,""),W.set(this,void 0),Y.set(this,void 0),J.set(this,{}),X.set(this,null),Q.set(this,null),Z.set(this,{}),ee.set(this,{}),te.set(this,void 0),ne.set(this,!1),re.set(this,void 0),oe.set(this,!1),ie.set(this,!1),se.set(this,!1),ae.set(this,void 0),ce.set(this,{}),ue.set(this,null),le.set(this,void 0),fe(this,re,r,"f"),fe(this,te,e,"f"),fe(this,j,t,"f"),fe(this,Y,n,"f"),fe(this,U,new h(this),"f"),this.$0=this[be](),this[Ge](),fe(this,P,de(this,P,"f"),"f"),fe(this,ae,de(this,ae,"f"),"f"),fe(this,le,de(this,le,"f"),"f"),fe(this,W,de(this,W,"f"),"f"),de(this,W,"f").showHiddenOpt=de(this,T,"f"),fe(this,H,this[me](),"f")}addHelpOpt(e,t){return p("[string|boolean] [string]",[e,t],arguments.length),de(this,V,"f")&&(this[ye](de(this,V,"f")),fe(this,V,null,"f")),!1===e&&void 0===t||(fe(this,V,"string"==typeof e?e:"help","f"),this.boolean(de(this,V,"f")),this.describe(de(this,V,"f"),t||de(this,ae,"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 n="string"==typeof e?e:de(this,T,"f");return this.boolean(n),this.describe(n,t||de(this,ae,"f").deferY18nLookup("Show hidden options")),de(this,W,"f").showHiddenOpt=n,this}showHidden(e,t){return this.addShowHiddenOpt(e,t)}alias(e,t){return p("<object|string|array> [string|array]",[e,t],arguments.length),this[$e](this.alias.bind(this),"alias",e,t),this}array(e){return p("<array|string>",[e],arguments.length),this[Oe]("array",e),this[Ye](e),this}boolean(e){return p("<array|string>",[e],arguments.length),this[Oe]("boolean",e),this[Ye](e),this}check(e,t){return p("<function> [boolean]",[e,t],arguments.length),this.middleware(((t,n)=>y((()=>e(t,n.getOptions())),(n=>(n?("string"==typeof n||n instanceof Error)&&de(this,ae,"f").fail(n.toString(),n):de(this,ae,"f").fail(de(this,re,"f").y18n.__("Argument check failed: %s",e.toString())),t)),(e=>(de(this,ae,"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[$e](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 c.w("coerce callback must be provided");for(const n of e)this.coerce(n,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 c.w("coerce callback must be provided");return de(this,W,"f").key[e]=!0,de(this,U,"f").addCoerceMiddleware(((n,r)=>{let o;return Object.prototype.hasOwnProperty.call(n,e)?y((()=>(o=r.getAliases(),t(n[e]))),(t=>{n[e]=t;const i=r.getInternalMethods().getParserConfiguration()["strip-aliased"];if(o[e]&&!0!==i)for(const r of o[e])n[r]=t;return n}),(e=>{throw new c.w(e.message)})):n}),e),this}conflicts(e,t){return p("<string|object> [string|array]",[e,t],arguments.length),de(this,le,"f").conflicts(e,t),this}config(e="config",t,n){return p("[object|string] [string|function] [function]",[e,t,n],arguments.length),"object"!=typeof e||Array.isArray(e)?("function"==typeof t&&(n=t,t=void 0),this.describe(e,t||de(this,ae,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(e)?e:[e]).forEach((e=>{de(this,W,"f").config[e]=n||!0})),this):(e=(0,pe.e)(e,de(this,j,"f"),this[xe]()["deep-merge-config"]||!1,de(this,re,"f")),de(this,W,"f").configObjects=(de(this,W,"f").configObjects||[]).concat(e),this)}completion(e,t,n){return p("[string] [string|boolean|function] [function]",[e,t,n],arguments.length),"function"==typeof t&&(n=t,t=void 0),fe(this,N,e||de(this,N,"f")||"completion","f"),t||!1===t||(t="generate completion script"),this.command(de(this,N,"f"),t),n&&de(this,R,"f").registerFunction(n),this}command(e,t,n,r,o,i){return p("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[e,t,n,r,o,i],arguments.length),de(this,P,"f").addHandler(e,t,n,r,o,i),this}commands(e,t,n,r,o,i){return this.command(e,t,n,r,o,i)}commandDir(e,t){p("<string> [object]",[e,t],arguments.length);const n=de(this,Y,"f")||de(this,re,"f").require;return de(this,P,"f").addDirectory(e,n,de(this,re,"f").getCallerFile(),t),this}count(e){return p("<array|string>",[e],arguments.length),this[Oe]("count",e),this[Ye](e),this}default(e,t,n){return p("<object|string|array> [*] [string]",[e,t,n],arguments.length),n&&(i(e,de(this,re,"f")),de(this,W,"f").defaultDescription[e]=n),"function"==typeof t&&(i(e,de(this,re,"f")),de(this,W,"f").defaultDescription[e]||(de(this,W,"f").defaultDescription[e]=de(this,ae,"f").functionDescription(t)),t=t.call()),this[ke](this.default.bind(this),"default",e,t),this}defaults(e,t,n){return this.default(e,t,n)}demandCommand(e=1,t,n,r){return p("[number] [number|string] [string|null|undefined] [string|null|undefined]",[e,t,n,r],arguments.length),"number"!=typeof t&&(n=t,t=1/0),this.global("_",!1),de(this,W,"f").demandedCommands._={min:e,max:t,minMsg:n,maxMsg:r},this}demand(e,t,n){return Array.isArray(t)?(t.forEach((e=>{o(n,!0,de(this,re,"f")),this.demandOption(e,n)})),t=1/0):"number"!=typeof t&&(n=t,t=1/0),"number"==typeof e?(o(n,!0,de(this,re,"f")),this.demandCommand(e,t,n,n)):Array.isArray(e)?e.forEach((e=>{o(n,!0,de(this,re,"f")),this.demandOption(e,n)})):"string"==typeof n?this.demandOption(e,n):!0!==n&&void 0!==n||this.demandOption(e),this}demandOption(e,t){return p("<object|string|array> [string]",[e,t],arguments.length),this[ke](this.demandOption.bind(this),"demandedOptions",e,t),this}deprecateOption(e,t){return p("<string> [string|boolean]",[e,t],arguments.length),de(this,W,"f").deprecatedOptions[e]=t,this}describe(e,t){return p("<object|string|array> [string]",[e,t],arguments.length),this[je](e,!0),de(this,ae,"f").describe(e,t),this}detectLocale(e){return p("<boolean>",[e],arguments.length),fe(this,F,e,"f"),this}env(e){return p("[string|boolean]",[e],arguments.length),!1===e?delete de(this,W,"f").envPrefix:de(this,W,"f").envPrefix=e||"",this}epilogue(e){return p("<string>",[e],arguments.length),de(this,ae,"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))):de(this,ae,"f").example(e,t),this}exit(e,t){fe(this,z,!0,"f"),fe(this,I,t,"f"),de(this,L,"f")&&de(this,re,"f").process.exit(e)}exitProcess(e=!0){return p("[boolean]",[e],arguments.length),fe(this,L,e,"f"),this}fail(e){if(p("<function|boolean>",[e],arguments.length),"boolean"==typeof e&&!1!==e)throw new c.w("Invalid first argument. Expected function or boolean 'false'");return de(this,ae,"f").failFn(e),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(e,t){return p("<array> [function]",[e,t],arguments.length),t?de(this,R,"f").getCompletion(e,t):new Promise(((t,n)=>{de(this,R,"f").getCompletion(e,((e,r)=>{e?n(e):t(r)}))}))}getDemandedOptions(){return p([],0),de(this,W,"f").demandedOptions}getDemandedCommands(){return p([],0),de(this,W,"f").demandedCommands}getDeprecatedOptions(){return p([],0),de(this,W,"f").deprecatedOptions}getDetectLocale(){return de(this,F,"f")}getExitProcess(){return de(this,L,"f")}getGroups(){return Object.assign({},de(this,q,"f"),de(this,ee,"f"))}getHelp(){if(fe(this,z,!0,"f"),!de(this,ae,"f").hasCachedHelpMessage()){if(!this.parsed){const e=this[He](de(this,te,"f"),void 0,void 0,0,!0);if(a(e))return e.then((()=>de(this,ae,"f").help()))}const e=de(this,P,"f").runDefaultBuilderOn(this);if(a(e))return e.then((()=>de(this,ae,"f").help()))}return Promise.resolve(de(this,ae,"f").help())}getOptions(){return de(this,W,"f")}getStrict(){return de(this,oe,"f")}getStrictCommands(){return de(this,ie,"f")}getStrictOptions(){return de(this,se,"f")}global(e,t){return p("<string|array> [boolean]",[e,t],arguments.length),e=[].concat(e),!1!==t?de(this,W,"f").local=de(this,W,"f").local.filter((t=>-1===e.indexOf(t))):e.forEach((e=>{de(this,W,"f").local.includes(e)||de(this,W,"f").local.push(e)})),this}group(e,t){p("<string|array> <string>",[e,t],arguments.length);const n=de(this,ee,"f")[t]||de(this,q,"f")[t];de(this,ee,"f")[t]&&delete de(this,ee,"f")[t];const r={};return de(this,q,"f")[t]=(n||[]).concat(e).filter((e=>!r[e]&&(r[e]=!0))),this}hide(e){return p("<string>",[e],arguments.length),de(this,W,"f").hiddenOptions.push(e),this}implies(e,t){return p("<string|object> [number|string|array]",[e,t],arguments.length),de(this,le,"f").implies(e,t),this}locale(e){return p("[string]",[e],arguments.length),void 0===e?(this[_e](),de(this,re,"f").y18n.getLocale()):(fe(this,F,!1,"f"),de(this,re,"f").y18n.setLocale(e),this)}middleware(e,t,n){return de(this,U,"f").addMiddleware(e,!!t,n)}nargs(e,t){return p("<string|object|array> [number]",[e,t],arguments.length),this[ke](this.nargs.bind(this),"narg",e,t),this}normalize(e){return p("<array|string>",[e],arguments.length),this[Oe]("normalize",e),this}number(e){return p("<array|string>",[e],arguments.length),this[Oe]("number",e),this[Ye](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[Ye](e),!de(this,ue,"f")||"version"!==e&&"version"!==(null==t?void 0:t.alias)||this[ge](['"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"),de(this,W,"f").key[e]=!0,t.alias&&this.alias(e,t.alias);const n=t.deprecate||t.deprecated;n&&this.deprecateOption(e,n);const r=t.demand||t.required||t.require;r&&this.demand(e,r),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&&(de(this,W,"f").defaultDescription[e]=t.defaultDescription),t.skipValidation&&this.skipValidation(e);const o=t.describe||t.description||t.desc,i=de(this,ae,"f").getDescriptions();Object.prototype.hasOwnProperty.call(i,e)&&"string"!=typeof o||this.describe(e,o),t.hidden&&this.hide(e),t.requiresArg&&this.requiresArg(e)}return this}options(e,t){return this.option(e,t)}parse(e,t,n){p("[string|array] [function|boolean|object] [function]",[e,t,n],arguments.length),this[ve](),void 0===e&&(e=de(this,te,"f")),"object"==typeof t&&(fe(this,Q,t,"f"),t=n),"function"==typeof t&&(fe(this,X,t,"f"),t=!1),t||fe(this,te,e,"f"),de(this,X,"f")&&fe(this,L,!1,"f");const r=this[He](e,!!t),o=this.parsed;return de(this,R,"f").setParsed(this.parsed),a(r)?r.then((e=>(de(this,X,"f")&&de(this,X,"f").call(this,de(this,I,"f"),e,de(this,K,"f")),e))).catch((e=>{throw de(this,X,"f")&&de(this,X,"f")(e,this.parsed.argv,de(this,K,"f")),e})).finally((()=>{this[Ce](),this.parsed=o})):(de(this,X,"f")&&de(this,X,"f").call(this,de(this,I,"f"),r,de(this,K,"f")),this[Ce](),this.parsed=o,r)}parseAsync(e,t,n){const r=this.parse(e,t,n);return a(r)?r:Promise.resolve(r)}parseSync(e,t,n){const r=this.parse(e,t,n);if(a(r))throw new c.w(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return r}parserConfiguration(e){return p("<object>",[e],arguments.length),fe(this,J,e,"f"),this}pkgConf(e,t){p("<string> [string]",[e,t],arguments.length);let n=null;const r=this[De](t||de(this,j,"f"));return r[e]&&"object"==typeof r[e]&&(n=(0,pe.e)(r[e],t||de(this,j,"f"),this[xe]()["deep-merge-config"]||!1,de(this,re,"f")),de(this,W,"f").configObjects=(de(this,W,"f").configObjects||[]).concat(n)),this}positional(e,t){p("<string> <object>",[e,t],arguments.length);const n=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];t=w(t,((e,t)=>!("type"===e&&!["string","number","boolean"].includes(t))&&n.includes(e)));const r=de(this,C,"f").fullCommands[de(this,C,"f").fullCommands.length-1],o=r?de(this,P,"f").cmdToParseOptions(r):{array:[],alias:{},default:{},demand:{}};return s(o).forEach((n=>{const r=o[n];Array.isArray(r)?-1!==r.indexOf(e)&&(t[n]=!0):r[e]&&!(n in t)&&(t[n]=r[e])})),this.group(e,de(this,ae,"f").getPositionalGroupName()),this.option(e,t)}recommendCommands(e=!0){return p("[boolean]",[e],arguments.length),fe(this,ne,e,"f"),this}required(e,t,n){return this.demand(e,t,n)}require(e,t,n){return this.demand(e,t,n)}requiresArg(e){return p("<array|string|object> [number]",[e],arguments.length),"string"==typeof e&&de(this,W,"f").narg[e]||this[ke](this.requiresArg.bind(this),"narg",e,NaN),this}showCompletionScript(e,t){return p("[string] [string]",[e,t],arguments.length),e=e||this.$0,de(this,H,"f").log(de(this,R,"f").generateCompletionScript(e,t||de(this,N,"f")||"completion")),this}showHelp(e){if(p("[string|function]",[e],arguments.length),fe(this,z,!0,"f"),!de(this,ae,"f").hasCachedHelpMessage()){if(!this.parsed){const t=this[He](de(this,te,"f"),void 0,void 0,0,!0);if(a(t))return t.then((()=>{de(this,ae,"f").showHelp(e)})),this}const t=de(this,P,"f").runDefaultBuilderOn(this);if(a(t))return t.then((()=>{de(this,ae,"f").showHelp(e)})),this}return de(this,ae,"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),de(this,ae,"f").showHelpOnFail(e,t),this}showVersion(e){return p("[string|function]",[e],arguments.length),de(this,ae,"f").showVersion(e),this}skipValidation(e){return p("<array|string>",[e],arguments.length),this[Oe]("skipValidation",e),this}strict(e){return p("[boolean]",[e],arguments.length),fe(this,oe,!1!==e,"f"),this}strictCommands(e){return p("[boolean]",[e],arguments.length),fe(this,ie,!1!==e,"f"),this}strictOptions(e){return p("[boolean]",[e],arguments.length),fe(this,se,!1!==e,"f"),this}string(e){return p("<array|string>",[e],arguments.length),this[Oe]("string",e),this[Ye](e),this}terminalWidth(){return p([],0),de(this,re,"f").process.stdColumns}updateLocale(e){return this.updateStrings(e)}updateStrings(e){return p("<object>",[e],arguments.length),fe(this,F,!1,"f"),de(this,re,"f").y18n.updateLocale(e),this}usage(e,t,n,r){if(p("<string|null|undefined> [string|boolean] [function|object] [function]",[e,t,n,r],arguments.length),void 0!==t){if(o(e,null,de(this,re,"f")),(e||"").match(/^\$0( |$)/))return this.command(e,t,n,r);throw new c.w(".usage() description must start with $0 if being used as alias for .command()")}return de(this,ae,"f").usage(e),this}usageConfiguration(e){return p("<object>",[e],arguments.length),fe(this,ce,e,"f"),this}version(e,t,n){const r="version";if(p("[boolean|string] [string] [string]",[e,t,n],arguments.length),de(this,ue,"f")&&(this[ye](de(this,ue,"f")),de(this,ae,"f").version(void 0),fe(this,ue,null,"f")),0===arguments.length)n=this[Ee](),e=r;else if(1===arguments.length){if(!1===e)return this;n=e,e=r}else 2===arguments.length&&(n=t,t=void 0);return fe(this,ue,"string"==typeof e?e:r,"f"),t=t||de(this,ae,"f").deferY18nLookup("Show version number"),de(this,ae,"f").version(n||void 0),this.boolean(de(this,ue,"f")),this.describe(de(this,ue,"f"),t),this}wrap(e){return p("<number|null|undefined>",[e],arguments.length),de(this,ae,"f").wrap(e),this}[(P=new WeakMap,j=new WeakMap,C=new WeakMap,R=new WeakMap,N=new WeakMap,T=new WeakMap,I=new WeakMap,F=new WeakMap,M=new WeakMap,L=new WeakMap,B=new WeakMap,U=new WeakMap,q=new WeakMap,z=new WeakMap,V=new WeakMap,G=new WeakMap,H=new WeakMap,K=new WeakMap,W=new WeakMap,Y=new WeakMap,J=new WeakMap,X=new WeakMap,Q=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakMap,ne=new WeakMap,re=new WeakMap,oe=new WeakMap,ie=new WeakMap,se=new WeakMap,ae=new WeakMap,ce=new WeakMap,ue=new WeakMap,le=new WeakMap,he)](e){if(!e._||!e["--"])return e;e._.push.apply(e._,e["--"]);try{delete e["--"]}catch(e){}return e}[me](){return{log:(...e)=>{this[Ue]()||console.log(...e),fe(this,z,!0,"f"),de(this,K,"f").length&&fe(this,K,de(this,K,"f")+"\n","f"),fe(this,K,de(this,K,"f")+e.join(" "),"f")},error:(...e)=>{this[Ue]()||console.error(...e),fe(this,z,!0,"f"),de(this,K,"f").length&&fe(this,K,de(this,K,"f")+"\n","f"),fe(this,K,de(this,K,"f")+e.join(" "),"f")}}}[ye](e){s(de(this,W,"f")).forEach((t=>{if("configObjects"===t)return;const n=de(this,W,"f")[t];Array.isArray(n)?n.includes(e)&&n.splice(n.indexOf(e),1):"object"==typeof n&&delete n[e]})),delete de(this,ae,"f").getDescriptions()[e]}[ge](e,t,n){de(this,M,"f")[n]||(de(this,re,"f").process.emitWarning(e,t),de(this,M,"f")[n]=!0)}[ve](){de(this,B,"f").push({options:de(this,W,"f"),configObjects:de(this,W,"f").configObjects.slice(0),exitProcess:de(this,L,"f"),groups:de(this,q,"f"),strict:de(this,oe,"f"),strictCommands:de(this,ie,"f"),strictOptions:de(this,se,"f"),completionCommand:de(this,N,"f"),output:de(this,K,"f"),exitError:de(this,I,"f"),hasOutput:de(this,z,"f"),parsed:this.parsed,parseFn:de(this,X,"f"),parseContext:de(this,Q,"f")}),de(this,ae,"f").freeze(),de(this,le,"f").freeze(),de(this,P,"f").freeze(),de(this,U,"f").freeze()}[be](){let e,t="";return e=/\b(node|iojs|electron)(\.exe)?$/.test(de(this,re,"f").process.argv()[0])?de(this,re,"f").process.argv().slice(1,2):de(this,re,"f").process.argv().slice(0,1),t=e.map((e=>{const t=this[Ve](de(this,j,"f"),e);return e.match(/^(\/|([a-zA-Z]:)?\\)/)&&t.length<e.length?t:e})).join(" ").trim(),de(this,re,"f").getEnv("_")&&de(this,re,"f").getProcessArgvBin()===de(this,re,"f").getEnv("_")&&(t=de(this,re,"f").getEnv("_").replace(`${de(this,re,"f").path.dirname(de(this,re,"f").process.execPath())}/`,"")),t}[xe](){return de(this,J,"f")}[we](){return de(this,ce,"f")}[_e](){if(!de(this,F,"f"))return;const e=de(this,re,"f").getEnv("LC_ALL")||de(this,re,"f").getEnv("LC_MESSAGES")||de(this,re,"f").getEnv("LANG")||de(this,re,"f").getEnv("LANGUAGE")||"en_US";this.locale(e.replace(/[.:].*/,""))}[Ee](){return this[De]().version||"unknown"}[Se](e){const t=e["--"]?e["--"]:e._;for(let e,n=0;void 0!==(e=t[n]);n++)de(this,re,"f").Parser.looksLikeNumber(e)&&Number.isSafeInteger(Math.floor(parseFloat(`${e}`)))&&(t[n]=Number(e));return e}[De](e){const t=e||"*";if(de(this,Z,"f")[t])return de(this,Z,"f")[t];let n={};try{let t=e||de(this,re,"f").mainFilename;!e&&de(this,re,"f").path.extname(t)&&(t=de(this,re,"f").path.dirname(t));const r=de(this,re,"f").findUp(t,((e,t)=>t.includes("package.json")?"package.json":void 0));o(r,void 0,de(this,re,"f")),n=JSON.parse(de(this,re,"f").readFileSync(r,"utf8"))}catch(e){}return de(this,Z,"f")[t]=n||{},de(this,Z,"f")[t]}[Oe](e,t){(t=[].concat(t)).forEach((t=>{t=this[Pe](t),de(this,W,"f")[e].push(t)}))}[ke](e,t,n,r){this[Ae](e,t,n,r,((e,t,n)=>{de(this,W,"f")[e][t]=n}))}[$e](e,t,n,r){this[Ae](e,t,n,r,((e,t,n)=>{de(this,W,"f")[e][t]=(de(this,W,"f")[e][t]||[]).concat(n)}))}[Ae](e,t,n,r,o){if(Array.isArray(n))n.forEach((t=>{e(t,r)}));else if((e=>"object"==typeof e)(n))for(const t of s(n))e(t,n[t]);else o(t,this[Pe](n),r)}[Pe](e){return"__proto__"===e?"___proto___":e}[je](e,t){return this[ke](this[je].bind(this),"key",e,t),this}[Ce](){var e,t,n,r,i,s,a,c,u,l,p,f;const d=de(this,B,"f").pop();let h;o(d,void 0,de(this,re,"f")),e=this,t=this,n=this,r=this,i=this,s=this,a=this,c=this,u=this,l=this,p=this,f=this,({options:{set value(t){fe(e,W,t,"f")}}.value,configObjects:h,exitProcess:{set value(e){fe(t,L,e,"f")}}.value,groups:{set value(e){fe(n,q,e,"f")}}.value,output:{set value(e){fe(r,K,e,"f")}}.value,exitError:{set value(e){fe(i,I,e,"f")}}.value,hasOutput:{set value(e){fe(s,z,e,"f")}}.value,parsed:this.parsed,strict:{set value(e){fe(a,oe,e,"f")}}.value,strictCommands:{set value(e){fe(c,ie,e,"f")}}.value,strictOptions:{set value(e){fe(u,se,e,"f")}}.value,completionCommand:{set value(e){fe(l,N,e,"f")}}.value,parseFn:{set value(e){fe(p,X,e,"f")}}.value,parseContext:{set value(e){fe(f,Q,e,"f")}}.value}=d),de(this,W,"f").configObjects=h,de(this,ae,"f").unfreeze(),de(this,le,"f").unfreeze(),de(this,P,"f").unfreeze(),de(this,U,"f").unfreeze()}[Re](e,t){return y(t,(t=>(e(t),t)))}getInternalMethods(){return{getCommandInstance:this[Ne].bind(this),getContext:this[Te].bind(this),getHasOutput:this[Ie].bind(this),getLoggerInstance:this[Fe].bind(this),getParseContext:this[Me].bind(this),getParserConfiguration:this[xe].bind(this),getUsageConfiguration:this[we].bind(this),getUsageInstance:this[Le].bind(this),getValidationInstance:this[Be].bind(this),hasParseCallback:this[Ue].bind(this),isGlobalContext:this[qe].bind(this),postProcess:this[ze].bind(this),reset:this[Ge].bind(this),runValidation:this[Ke].bind(this),runYargsParserAndExecuteCommands:this[He].bind(this),setHasOutput:this[We].bind(this)}}[Ne](){return de(this,P,"f")}[Te](){return de(this,C,"f")}[Ie](){return de(this,z,"f")}[Fe](){return de(this,H,"f")}[Me](){return de(this,Q,"f")||{}}[Le](){return de(this,ae,"f")}[Be](){return de(this,le,"f")}[Ue](){return!!de(this,X,"f")}[qe](){return de(this,G,"f")}[ze](e,t,n,r){return n||a(e)||(t||(e=this[he](e)),(this[xe]()["parse-positional-numbers"]||void 0===this[xe]()["parse-positional-numbers"])&&(e=this[Se](e)),r&&(e=m(e,this,de(this,U,"f").getMiddleware(),!1))),e}[Ge](e={}){fe(this,W,de(this,W,"f")||{},"f");const t={};t.local=de(this,W,"f").local||[],t.configObjects=de(this,W,"f").configObjects||[];const n={};return t.local.forEach((t=>{n[t]=!0,(e[t]||[]).forEach((e=>{n[e]=!0}))})),Object.assign(de(this,ee,"f"),Object.keys(de(this,q,"f")).reduce(((e,t)=>{const r=de(this,q,"f")[t].filter((e=>!(e in n)));return r.length>0&&(e[t]=r),e}),{})),fe(this,q,{},"f"),["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"].forEach((e=>{t[e]=(de(this,W,"f")[e]||[]).filter((e=>!n[e]))})),["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"].forEach((e=>{t[e]=w(de(this,W,"f")[e],(e=>!n[e]))})),t.envPrefix=de(this,W,"f").envPrefix,fe(this,W,t,"f"),fe(this,ae,de(this,ae,"f")?de(this,ae,"f").reset(n):function(e,t){const n=t.y18n.__,r={},o=[];r.failFn=function(e){o.push(e)};let i=null,s=null,a=!0;r.showHelpOnFail=function(t=!0,n){const[o,c]="string"==typeof t?[!0,t]:[t,n];return e.getInternalMethods().isGlobalContext()&&(s=c),i=c,a=o,r};let u=!1;r.fail=function(t,n){const l=e.getInternalMethods().getLoggerInstance();if(!o.length){if(e.getExitProcess()&&_(!0),!u){u=!0,a&&(e.showHelp("error"),l.error()),(t||n)&&l.error(t||n);const r=i||s;r&&((t||n)&&l.error(""),l.error(r))}if(n=n||new c.w(t),e.getExitProcess())return e.exit(1);if(e.getInternalMethods().hasParseCallback())return e.exit(1,n);throw n}for(let e=o.length-1;e>=0;--e){const i=o[e];if(E(i)){if(n)throw n;if(t)throw Error(t)}else i(t,n,r)}};let l=[],p=!1;r.usage=(e,t)=>null===e?(p=!0,l=[],r):(p=!1,l.push([e,t||""]),r),r.getUsage=()=>l,r.getUsageDisabled=()=>p,r.getPositionalGroupName=()=>n("Positionals:");let f=[];r.example=(e,t)=>{f.push([e,t||""])};let d=[];r.command=function(e,t,n,r,o=!1){n&&(d=d.map((e=>(e[2]=!1,e)))),d.push([e,t||"",n,r,o])},r.getCommands=()=>d;let h={};r.describe=function(e,t){Array.isArray(e)?e.forEach((e=>{r.describe(e,t)})):"object"==typeof e?Object.keys(e).forEach((t=>{r.describe(t,e[t])})):h[e]=t},r.getDescriptions=()=>h;let m=[];r.epilog=e=>{m.push(e)};let y,g=!1;r.wrap=e=>{g=!0,y=e},r.getWrap=()=>t.getEnv("YARGS_DISABLE_WRAP")?null:(g||(y=t.process.stdColumns?Math.min(80,t.process.stdColumns):80,g=!0),y);const v="__yargsString__:";function b(e,n,r){let o=0;return Array.isArray(e)||(e=Object.values(e).map((e=>[e]))),e.forEach((e=>{o=Math.max(t.stringWidth(r?`${r} ${O(e[0])}`:O(e[0]))+D(e[0]),o)})),n&&(o=Math.min(o,parseInt((.5*n).toString(),10))),o}let x;function k(t){return e.getOptions().hiddenOptions.indexOf(t)<0||e.parsed.argv[e.getOptions().showHiddenOpt]}function $(e,t){let r=`[${n("default:")} `;if(void 0===e&&!t)return null;if(t)r+=t;else switch(typeof e){case"string":r+=`"${e}"`;break;case"object":r+=JSON.stringify(e);break;default:r+=e}return`${r}]`}r.deferY18nLookup=e=>v+e,r.help=function(){if(x)return x;!function(){const t=e.getDemandedOptions(),n=e.getOptions();(Object.keys(n.alias)||[]).forEach((o=>{n.alias[o].forEach((i=>{h[i]&&r.describe(o,h[i]),i in t&&e.demandOption(o,t[i]),n.boolean.includes(i)&&e.boolean(o),n.count.includes(i)&&e.count(o),n.string.includes(i)&&e.string(o),n.normalize.includes(i)&&e.normalize(o),n.array.includes(i)&&e.array(o),n.number.includes(i)&&e.number(o)}))}))}();const o=e.customScriptName?e.$0:t.path.basename(e.$0),i=e.getDemandedOptions(),s=e.getDemandedCommands(),a=e.getDeprecatedOptions(),c=e.getGroups(),u=e.getOptions();let y=[];y=y.concat(Object.keys(h)),y=y.concat(Object.keys(i)),y=y.concat(Object.keys(s)),y=y.concat(Object.keys(u.default)),y=y.filter(k),y=Object.keys(y.reduce(((e,t)=>("_"!==t&&(e[t]=!0),e)),{}));const g=r.getWrap(),w=t.cliui({width:g,wrap:!!g});if(!p)if(l.length)l.forEach((e=>{w.div({text:`${e[0].replace(/\$0/g,o)}`}),e[1]&&w.div({text:`${e[1]}`,padding:[1,0,0,0]})})),w.div();else if(d.length){let e=null;e=s._?`${o} <${n("command")}>\n`:`${o} [${n("command")}]\n`,w.div(`${e}`)}if(d.length>1||1===d.length&&!d[0][2]){w.div(n("Commands:"));const t=e.getInternalMethods().getContext(),r=t.commands.length?`${t.commands.join(" ")} `:"";!0===e.getInternalMethods().getParserConfiguration()["sort-commands"]&&(d=d.sort(((e,t)=>e[0].localeCompare(t[0]))));const i=o?`${o} `:"";d.forEach((e=>{const t=`${i}${r}${e[0].replace(/^\$0 ?/,"")}`;w.span({text:t,padding:[0,2,0,2],width:b(d,g,`${o}${r}`)+4},{text:e[1]});const s=[];e[2]&&s.push(`[${n("default")}]`),e[3]&&e[3].length&&s.push(`[${n("aliases:")} ${e[3].join(", ")}]`),e[4]&&("string"==typeof e[4]?s.push(`[${n("deprecated: %s",e[4])}]`):s.push(`[${n("deprecated")}]`)),s.length?w.div({text:s.join(" "),padding:[0,0,0,2],align:"right"}):w.div()})),w.div()}const _=(Object.keys(u.alias)||[]).concat(Object.keys(e.parsed.newAliases)||[]);y=y.filter((t=>!e.parsed.newAliases[t]&&_.every((e=>-1===(u.alias[e]||[]).indexOf(t)))));const E=n("Options:");c[E]||(c[E]=[]),function(e,t,n,r){let o=[],i=null;Object.keys(n).forEach((e=>{o=o.concat(n[e])})),e.forEach((e=>{i=[e].concat(t[e]),i.some((e=>-1!==o.indexOf(e)))||n[r].push(e)}))}(y,u.alias,c,E);const A=e=>/^--/.test(O(e)),P=Object.keys(c).filter((e=>c[e].length>0)).map((e=>({groupName:e,normalizedKeys:c[e].filter(k).map((e=>{if(_.includes(e))return e;for(let t,n=0;void 0!==(t=_[n]);n++)if((u.alias[t]||[]).includes(e))return t;return e}))}))).filter((({normalizedKeys:e})=>e.length>0)).map((({groupName:e,normalizedKeys:t})=>{const n=t.reduce(((t,n)=>(t[n]=[n].concat(u.alias[n]||[]).map((t=>e===r.getPositionalGroupName()?t:(/^[0-9]$/.test(t)?u.boolean.includes(n)?"-":"--":t.length>1?"--":"-")+t)).sort(((e,t)=>A(e)===A(t)?0:A(e)?1:-1)).join(", "),t)),{});return{groupName:e,normalizedKeys:t,switches:n}}));if(P.filter((({groupName:e})=>e!==r.getPositionalGroupName())).some((({normalizedKeys:e,switches:t})=>!e.every((e=>A(t[e])))))&&P.filter((({groupName:e})=>e!==r.getPositionalGroupName())).forEach((({normalizedKeys:e,switches:t})=>{e.forEach((e=>{var n;A(t[e])&&(t[e]=S(n=t[e])?{text:n.text,indentation:n.indentation+4}:{text:n,indentation:4})}))})),P.forEach((({groupName:t,normalizedKeys:o,switches:s})=>{w.div(t),o.forEach((t=>{const o=s[t];let c=h[t]||"",l=null;c.includes(v)&&(c=n(c.substring(16))),u.boolean.includes(t)&&(l=`[${n("boolean")}]`),u.count.includes(t)&&(l=`[${n("count")}]`),u.string.includes(t)&&(l=`[${n("string")}]`),u.normalize.includes(t)&&(l=`[${n("string")}]`),u.array.includes(t)&&(l=`[${n("array")}]`),u.number.includes(t)&&(l=`[${n("number")}]`);const p=[t in a?(f=a[t],"string"==typeof f?`[${n("deprecated: %s",f)}]`:`[${n("deprecated")}]`):null,l,t in i?`[${n("required")}]`:null,u.choices&&u.choices[t]?`[${n("choices:")} ${r.stringifiedValues(u.choices[t])}]`:null,$(u.default[t],u.defaultDescription[t])].filter(Boolean).join(" ");var f;w.span({text:O(o),padding:[0,2,0,2+D(o)],width:b(s,g)+4},c);const d=!0===e.getInternalMethods().getUsageConfiguration()["hide-types"];p&&!d?w.div({text:p,padding:[0,0,0,2],align:"right"}):w.div()})),w.div()})),f.length&&(w.div(n("Examples:")),f.forEach((e=>{e[0]=e[0].replace(/\$0/g,o)})),f.forEach((e=>{""===e[1]?w.div({text:e[0],padding:[0,2,0,2]}):w.div({text:e[0],padding:[0,2,0,2],width:b(f,g)+4},{text:e[1]})})),w.div()),m.length>0){const e=m.map((e=>e.replace(/\$0/g,o))).join("\n");w.div(`${e}\n`)}return w.toString().replace(/\s*$/,"")},r.cacheHelpMessage=function(){x=this.help()},r.clearCachedHelpMessage=function(){x=void 0},r.hasCachedHelpMessage=function(){return!!x},r.showHelp=t=>{const n=e.getInternalMethods().getLoggerInstance();t||(t="error"),("function"==typeof t?t:n[t])(r.help())},r.functionDescription=e=>["(",e.name?t.Parser.decamelize(e.name,"-"):n("generated-value"),")"].join(""),r.stringifiedValues=function(e,t){let n="";const r=t||", ",o=[].concat(e);return e&&o.length?(o.forEach((e=>{n.length&&(n+=r),n+=JSON.stringify(e)})),n):n};let A=null;r.version=e=>{A=e},r.showVersion=t=>{const n=e.getInternalMethods().getLoggerInstance();t||(t="error"),("function"==typeof t?t:n[t])(A)},r.reset=function(e){return i=null,u=!1,l=[],p=!1,m=[],f=[],d=[],h=w(h,(t=>!e[t])),r};const P=[];return r.freeze=function(){P.push({failMessage:i,failureOutput:u,usages:l,usageDisabled:p,epilogs:m,examples:f,commands:d,descriptions:h})},r.unfreeze=function(e=!1){const t=P.pop();t&&(e?(h={...t.descriptions,...h},d=[...t.commands,...d],l=[...t.usages,...l],f=[...t.examples,...f],m=[...t.epilogs,...m]):({failMessage:i,failureOutput:u,usages:l,usageDisabled:p,epilogs:m,examples:f,commands:d,descriptions:h}=t))},r}(this,de(this,re,"f")),"f"),fe(this,le,de(this,le,"f")?de(this,le,"f").reset(n):function(e,t,n){const r=n.y18n.__,i=n.y18n.__n,s={nonOptionCount:function(n){const r=e.getDemandedCommands(),o=n._.length+(n["--"]?n["--"].length:0)-e.getInternalMethods().getContext().commands.length;r._&&(o<r._.min||o>r._.max)&&(o<r._.min?void 0!==r._.minMsg?t.fail(r._.minMsg?r._.minMsg.replace(/\$0/g,o.toString()).replace(/\$1/,r._.min.toString()):null):t.fail(i("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",o,o.toString(),r._.min.toString())):o>r._.max&&(void 0!==r._.maxMsg?t.fail(r._.maxMsg?r._.maxMsg.replace(/\$0/g,o.toString()).replace(/\$1/,r._.max.toString()):null):t.fail(i("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",o,o.toString(),r._.max.toString()))))},positionalCount:function(e,n){n<e&&t.fail(i("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",n,n+"",e+""))},requiredArguments:function(e,n){let r=null;for(const t of Object.keys(n))Object.prototype.hasOwnProperty.call(e,t)&&void 0!==e[t]||(r=r||{},r[t]=n[t]);if(r){const e=[];for(const t of Object.keys(r)){const n=r[t];n&&e.indexOf(n)<0&&e.push(n)}const n=e.length?`\n${e.join("\n")}`:"";t.fail(i("Missing required argument: %s","Missing required arguments: %s",Object.keys(r).length,Object.keys(r).join(", ")+n))}},unknownArguments:function(n,r,o,a,c=!0){var u;const l=e.getInternalMethods().getCommandInstance().getCommands(),p=[],f=e.getInternalMethods().getContext();if(Object.keys(n).forEach((t=>{A.includes(t)||Object.prototype.hasOwnProperty.call(o,t)||Object.prototype.hasOwnProperty.call(e.getInternalMethods().getParseContext(),t)||s.isValidAndSomeAliasIsNotNew(t,r)||p.push(t)})),c&&(f.commands.length>0||l.length>0||a)&&n._.slice(f.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,r=f.commands.length+t;r<n._.length&&n._.slice(r).forEach((e=>{e=String(e),f.commands.includes(e)||p.includes(e)||p.push(e)}))}p.length&&t.fail(i("Unknown argument: %s","Unknown arguments: %s",p.length,p.map((e=>e.trim()?e:`"${e}"`)).join(", ")))},unknownCommands:function(n){const r=e.getInternalMethods().getCommandInstance().getCommands(),o=[],s=e.getInternalMethods().getContext();return(s.commands.length>0||r.length>0)&&n._.slice(s.commands.length).forEach((e=>{r.includes(""+e)||o.push(""+e)})),o.length>0&&(t.fail(i("Unknown command: %s","Unknown commands: %s",o.length,o.join(", "))),!0)},isValidAndSomeAliasIsNotNew:function(t,n){if(!Object.prototype.hasOwnProperty.call(n,t))return!1;const r=e.parsed.newAliases;return[t,...n[t]].some((e=>!Object.prototype.hasOwnProperty.call(r,e)||!r[t]))},limitedChoices:function(n){const o=e.getOptions(),i={};if(!Object.keys(o.choices).length)return;Object.keys(n).forEach((e=>{-1===A.indexOf(e)&&Object.prototype.hasOwnProperty.call(o.choices,e)&&[].concat(n[e]).forEach((t=>{-1===o.choices[e].indexOf(t)&&void 0!==t&&(i[e]=(i[e]||[]).concat(t))}))}));const s=Object.keys(i);if(!s.length)return;let a=r("Invalid values:");s.forEach((e=>{a+=`\n ${r("Argument: %s, Given: %s, Choices: %s",e,t.stringifiedValues(i[e]),t.stringifiedValues(o.choices[e]))}`})),t.fail(a)}};let a={};function c(e,t){const n=Number(t);return"number"==typeof(t=isNaN(n)?t:n)?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,r){p("<string|object> [array|number|string]",[t,r],arguments.length),"object"==typeof t?Object.keys(t).forEach((e=>{s.implies(e,t[e])})):(e.global(t),a[t]||(a[t]=[]),Array.isArray(r)?r.forEach((e=>s.implies(t,e))):(o(r,void 0,n),a[t].push(r)))},s.getImplied=function(){return a},s.implications=function(e){const n=[];if(Object.keys(a).forEach((t=>{const r=t;(a[t]||[]).forEach((t=>{let o=r;const i=t;o=c(e,o),t=c(e,t),o&&!t&&n.push(` ${r} -> ${i}`)}))})),n.length){let e=`${r("Implications failed:")}\n`;n.forEach((t=>{e+=t})),t.fail(e)}};let u={};s.conflicts=function(t,n){p("<string|object> [array|string]",[t,n],arguments.length),"object"==typeof t?Object.keys(t).forEach((e=>{s.conflicts(e,t[e])})):(e.global(t),u[t]||(u[t]=[]),Array.isArray(n)?n.forEach((e=>s.conflicts(t,e))):u[t].push(n))},s.getConflicting=()=>u,s.conflicting=function(o){Object.keys(o).forEach((e=>{u[e]&&u[e].forEach((n=>{n&&void 0!==o[e]&&void 0!==o[n]&&t.fail(r("Arguments %s and %s are mutually exclusive",e,n))}))})),e.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(u).forEach((e=>{u[e].forEach((i=>{i&&void 0!==o[n.Parser.camelCase(e)]&&void 0!==o[n.Parser.camelCase(i)]&&t.fail(r("Arguments %s and %s are mutually exclusive",e,i))}))}))},s.recommendCommands=function(e,n){n=n.sort(((e,t)=>t.length-e.length));let o=null,i=1/0;for(let t,r=0;void 0!==(t=n[r]);r++){const n=$(e,t);n<=3&&n<i&&(i=n,o=t)}o&&t.fail(r("Did you mean %s?",o))},s.reset=function(e){return a=w(a,(t=>!e[t])),u=w(u,(t=>!e[t])),s};const l=[];return s.freeze=function(){l.push({implied:a,conflicting:u})},s.unfreeze=function(){const e=l.pop();o(e,void 0,n),({implied:a,conflicting:u}=e)},s}(this,de(this,ae,"f"),de(this,re,"f")),"f"),fe(this,P,de(this,P,"f")?de(this,P,"f").reset():function(e,t,n,r){return new v(e,t,n,r)}(de(this,ae,"f"),de(this,le,"f"),de(this,U,"f"),de(this,re,"f")),"f"),de(this,R,"f")||fe(this,R,function(e,t,n,r){return new k(e,t,n,r)}(this,de(this,ae,"f"),de(this,P,"f"),de(this,re,"f")),"f"),de(this,U,"f").reset(),fe(this,N,null,"f"),fe(this,K,"","f"),fe(this,I,null,"f"),fe(this,z,!1,"f"),this.parsed=!1,this}[Ve](e,t){return de(this,re,"f").path.relative(e,t)}[He](e,t,n,r=0,o=!1){let i=!!n||o;e=e||de(this,te,"f"),de(this,W,"f").__=de(this,re,"f").y18n.__,de(this,W,"f").configuration=this[xe]();const s=!!de(this,W,"f").configuration["populate--"],u=Object.assign({},de(this,W,"f").configuration,{"populate--":!0}),l=de(this,re,"f").Parser.detailed(e,Object.assign({},de(this,W,"f"),{configuration:{"parse-positional-numbers":!1,...u}})),p=Object.assign(l.argv,de(this,Q,"f"));let f;const d=l.aliases;let h=!1,y=!1;Object.keys(p).forEach((e=>{e===de(this,V,"f")&&p[e]?h=!0:e===de(this,ue,"f")&&p[e]&&(y=!0)})),p.$0=this.$0,this.parsed=l,0===r&&de(this,ae,"f").clearCachedHelpMessage();try{if(this[_e](),t)return this[ze](p,s,!!n,!1);de(this,V,"f")&&[de(this,V,"f")].concat(d[de(this,V,"f")]||[]).filter((e=>e.length>1)).includes(""+p._[p._.length-1])&&(p._.pop(),h=!0),fe(this,G,!1,"f");const u=de(this,P,"f").getCommands(),g=de(this,R,"f").completionKey in p,v=h||g||o;if(p._.length){if(u.length){let e;for(let t,i=r||0;void 0!==p._[i];i++){if(t=String(p._[i]),u.includes(t)&&t!==de(this,N,"f")){const e=de(this,P,"f").runCommand(t,this,l,i+1,o,h||y||o);return this[ze](e,s,!!n,!1)}if(!e&&t!==de(this,N,"f")){e=t;break}}!de(this,P,"f").hasDefaultCommand()&&de(this,ne,"f")&&e&&!v&&de(this,le,"f").recommendCommands(e,u)}de(this,N,"f")&&p._.includes(de(this,N,"f"))&&!g&&(de(this,L,"f")&&_(!0),this.showCompletionScript(),this.exit(0))}if(de(this,P,"f").hasDefaultCommand()&&!v){const e=de(this,P,"f").runCommand(null,this,l,0,o,h||y||o);return this[ze](e,s,!!n,!1)}if(g){de(this,L,"f")&&_(!0);const t=(e=[].concat(e)).slice(e.indexOf(`--${de(this,R,"f").completionKey}`)+1);return de(this,R,"f").getCompletion(t,((e,t)=>{if(e)throw new c.w(e.message);(t||[]).forEach((e=>{de(this,H,"f").log(e)})),this.exit(0)})),this[ze](p,!s,!!n,!1)}if(de(this,z,"f")||(h?(de(this,L,"f")&&_(!0),i=!0,this.showHelp("log"),this.exit(0)):y&&(de(this,L,"f")&&_(!0),i=!0,de(this,ae,"f").showVersion("log"),this.exit(0))),!i&&de(this,W,"f").skipValidation.length>0&&(i=Object.keys(p).some((e=>de(this,W,"f").skipValidation.indexOf(e)>=0&&!0===p[e]))),!i){if(l.error)throw new c.w(l.error.message);if(!g){const e=this[Ke](d,{},l.error);n||(f=m(p,this,de(this,U,"f").getMiddleware(),!0)),f=this[Re](e,null!=f?f:p),a(f)&&!n&&(f=f.then((()=>m(p,this,de(this,U,"f").getMiddleware(),!1))))}}}catch(e){if(!(e instanceof c.w))throw e;de(this,ae,"f").fail(e.message,e)}return this[ze](null!=f?f:p,s,!!n,!0)}[Ke](e,t,n,r){const o={...this.getDemandedOptions()};return i=>{if(n)throw new c.w(n.message);de(this,le,"f").nonOptionCount(i),de(this,le,"f").requiredArguments(i,o);let s=!1;de(this,ie,"f")&&(s=de(this,le,"f").unknownCommands(i)),de(this,oe,"f")&&!s?de(this,le,"f").unknownArguments(i,e,t,!!r):de(this,se,"f")&&de(this,le,"f").unknownArguments(i,e,{},!1,!1),de(this,le,"f").limitedChoices(i),de(this,le,"f").implications(i),de(this,le,"f").conflicting(i)}}[We](){fe(this,z,!0,"f")}[Ye](e){if("string"==typeof e)de(this,W,"f").key[e]=!0;else for(const t of e)de(this,W,"f").key[t]=!0}}const Xe=(Qe=r.A,(e=[],t=Qe.process.cwd(),n)=>{const r=new Je(e,t,n,Qe);return Object.defineProperty(r,"argv",{get:()=>r.parse(),enumerable:!0}),r.help(),r.version(),r});var Qe;const Ze=Xe},9332(e,t,n){"use strict";n.d(t,{A:()=>D});var r=n(2613);const o={right:function(e,t){e=e.trim();const n=a.stringWidth(e);return n<t?" ".repeat(t-n)+e:e},center:function(e,t){e=e.trim();const n=a.stringWidth(e);return n>=t?e:" ".repeat(t-n>>1)+e}};class i{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 n=0;return t.forEach((e=>{e.length>1&&a.stringWidth(e[0])>n&&(n=Math.min(Math.floor(.5*this.width),a.stringWidth(e[0])))})),t.forEach((e=>{this.div(...e.map(((t,r)=>({text:t.trim(),padding:this.measurePadding(t),width:0===r&&e.length>1?n:void 0}))))})),this.rows[this.rows.length-1]}colFromString(e){return{text:e,padding:this.measurePadding(e)}}measurePadding(e){const t=a.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(((n,r)=>{let i="";n.forEach(((n,c)=>{const{width:u}=e[c],l=this.negatePadding(e[c]);let p=n;l>a.stringWidth(n)&&(p+=" ".repeat(l-a.stringWidth(n))),e[c].align&&"left"!==e[c].align&&this.wrap&&(p=(0,o[e[c].align])(p,l),a.stringWidth(p)<l&&(p+=" ".repeat((u||0)-a.stringWidth(p)-1)));const f=e[c].padding||[0,0,0,0];f[3]&&(i+=" ".repeat(f[3])),i+=s(e[c],p,"| "),i+=p,i+=s(e[c],p," |"),f[1]&&(i+=" ".repeat(f[1])),0===r&&t.length>0&&(i=this.renderInline(i,t[t.length-1]))})),t.push({text:i.replace(/ +$/,""),span:e.span})})),t}renderInline(e,t){const n=e.match(/^ */),r=n?n[0].length:0,o=t.text,i=a.stringWidth(o.trimRight());return t.span?this.wrap?r<i?e:(t.hidden=!0,o.trimRight()+" ".repeat(r-i)+e.trimLeft()):(t.hidden=!0,o+e):e}rasterize(e){const t=[],n=this.columnWidths(e);let r;return e.forEach(((e,o)=>{e.width=n[o],r=this.wrap?a.wrap(e.text,this.negatePadding(e),{hard:!0}).split("\n"):e.text.split("\n"),e.border&&(r.unshift("."+"-".repeat(this.negatePadding(e)+2)+"."),r.push("'"+"-".repeat(this.negatePadding(e)+2)+"'")),e.padding&&(r.unshift(...new Array(e.padding[0]||0).fill("")),r.push(...new Array(e.padding[2]||0).fill(""))),r.forEach(((e,n)=>{t[n]||t.push([]);const r=t[n];for(let e=0;e<o;e++)void 0===r[e]&&r.push("");r.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||a.stringWidth(e.text)));let t=e.length,n=this.width;const r=e.map((e=>{if(e.width)return t--,n-=e.width,e.width})),o=t?Math.floor(n/t):0;return r.map(((t,n)=>void 0===t?Math.max(o,function(e){const t=e.padding||[],n=1+(t[3]||0)+(t[1]||0);return e.border?n+4:n}(e[n])):t))}}function s(e,t,n){return e.border?/[.']-+[.']/.test(t)?"":0!==t.trim().length?n:" ":""}let a;const c=new RegExp("(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)","g");function u(e){return e.replace(c,"")}function l(e,t){const[n,r]=e.match(c)||["",""];e=u(e);let o="";for(let n=0;n<e.length;n++)0!==n&&n%t==0&&(o+="\n"),o+=e.charAt(n);return n&&r&&(o=`${n}${o}${r}`),o}var p=n(6928),f=n(9896);function d(e,t){let n,r=(0,p.resolve)(".",e);for((0,f.statSync)(r).isDirectory()||(r=(0,p.dirname)(r));;){if(n=t(r,(0,f.readdirSync)(r)),n)return(0,p.resolve)(r,n);if(r=(0,p.dirname)(n=r),n===r)break}}Object.defineProperty(d,"name",{value:"default",configurable:!0});var h=n(9023),m=n(7016),y=n(6299),g=n(8434),v=n(3269);const b={fs:{readFileSync:f.readFileSync,writeFile:f.writeFile},format:h.format,resolve:p.resolve,exists:e=>{try{return(0,f.statSync)(e).isFile()}catch(e){return!1}}};let x;class w{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 n=function(){};return"function"==typeof e[e.length-1]&&(n=e.pop()),n=n||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:n})):n(),x.format.apply(x.format,[this.cache[this.locale][t]||t].concat(e))}__n(){const e=Array.prototype.slice.call(arguments),t=e.shift(),n=e.shift(),r=e.shift();let o=function(){};"function"==typeof e[e.length-1]&&(o=e.pop()),this.cache[this.locale]||this._readLocaleFile();let i=1===r?t:n;this.cache[this.locale][t]&&(i=this.cache[this.locale][t][1===r?"one":"other"]),!this.cache[this.locale][t]&&this.updateFiles?(this.cache[this.locale][t]={one:t,other:n},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:o})):o();const s=[i];return~i.indexOf("%d")&&s.push(r),x.format.apply(x.format,s.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 n="";return e.forEach((function(e,r){const o=t[r+1];n+=e,void 0!==o&&(n+="%s")})),this.__.apply(this,[n].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],n=t.directory,r=t.locale,o=t.cb,i=this._resolveLocaleFile(n,r),s=JSON.stringify(this.cache[r],null,2);x.fs.writeFile(i,s,"utf-8",(function(t){e.writeQueue.shift(),e.writeQueue.length>0&&e._processWriteQueue(),o(t)}))}_readLocaleFile(){let e={};const t=this._resolveLocaleFile(this.directory,this.locale);try{x.fs.readFileSync&&(e=JSON.parse(x.fs.readFileSync(t,"utf-8")))}catch(n){if(n instanceof SyntaxError&&(n.message="syntax error in "+t),"ENOENT"!==n.code)throw n;e={}}this.cache[this.locale]=e}_resolveLocaleFile(e,t){let n=x.resolve(e,"./",t+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(n)&&~t.lastIndexOf("_")){const r=x.resolve(e,"./",t.split("_")[0]+".json");this._fileExistsSync(r)&&(n=r)}return n}_fileExistsSync(e){return x.exists(e)}}const _="loading a directory of commands is not supported yet for ESM";let E;try{E=(0,m.fileURLToPath)("file:///home/runner/work/appshell/appshell/node_modules/yargs/lib/platform-shims/esm.mjs")}catch(e){E=process.cwd()}const S=E.substring(0,E.lastIndexOf("node_modules")),D={assert:{notStrictEqual:r.notStrictEqual,strictEqual:r.strictEqual},cliui:function(e){return function(e,t){return a=t,new i({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:e=>[...e].length,stripAnsi:u,wrap:l})},findUp:d,getEnv:e=>process.env[e],inspect:h.inspect,getCallerFile:()=>{throw new v.w(_)},getProcessArgvBin:g.h,mainFilename:S||process.cwd(),Parser:y.A,path:{basename:p.basename,dirname:p.dirname,extname:p.extname,relative:p.relative,resolve:p.resolve},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(e,t)=>process.emitWarning(e,t),execPath:()=>process.execPath,exit:process.exit,nextTick:process.nextTick,stdColumns:void 0!==process.stdout.columns?process.stdout.columns:null},readFileSync:f.readFileSync,require:()=>{throw new v.w("require is not supported by ESM")},requireDirectory:()=>{throw new v.w(_)},stringWidth:e=>[...e].length,y18n:(O={directory:(0,p.resolve)(E,"../../../locales"),updateFiles:!1},function(e,t){x=t;const n=new w(e);return{__:n.__.bind(n),__n:n.__n.bind(n),setLocale:n.setLocale.bind(n),getLocale:n.getLocale.bind(n),updateLocale:n.updateLocale.bind(n),locale:n.locale}}(O,b))};var O},1983(e){"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},9510(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},4878(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}}')},1129(e){"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},7059(e){"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";n(1050);var e=n(8434);n(6299),n(9332);var t=n(857),r=n.n(t),o=n(6928),i=n.n(o),s=n(6741),a=n(2352);const c=JSON.parse('{"rE":"1.0.0-alpha.70"}');var u=n(9067),l=n(7536),p=n(9896),f=n.n(p),d=n(3577);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return(t=function(e){var t=function(e){if("object"!=P(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=P(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==P(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function b(){var e=D(),t=e.m(b),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,x(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(b=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new k(e,t)},AsyncIterator:S,async:function(e,t,n,o,s){return(r(t)?E:_)(i(e),t,n,o,s)},keys:w,values:x}})()}function x(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(P(e)+" is not iterable")}function w(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function _(e,t,n,r,o){var i=E(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function E(e,t,n,r,o){return new S(D().w(e,t,n,r),o||Promise)}function S(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof k?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(O(S.prototype),O(S.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),O(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function D(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return O(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(O(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,O(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,O(p,"constructor",u),O(u,"constructor",c),c.displayName="GeneratorFunction",O(u,o,"GeneratorFunction"),O(p),O(p,o,"Generator"),O(p,r,(function(){return this})),O(p,"toString",(function(){return"[object Generator]"})),(D=function(){return{w:i,m:f}})()}function O(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}O=function(e,t,n,r){function i(t,n){O(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},O(e,t,n,r)}function k(e,t){this.v=e,this.k=t}function $(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){$(i,r,o,s,a,"next",e)}function a(e){$(i,r,o,s,a,"throw",e)}s(void 0)}))}}function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}var j=function(e){var t,n=null!==(t=e.name)&&void 0!==t?t:e.application;if(!n)throw new Error("No application given. Pass --application or set one with 'appshell config set application <name>'.");return(0,d.parseApplication)(n,e.scopeId)},C=function(e){if(!f().existsSync(e))throw new Error("Resource file not found. ".concat(e));var t,n=u.Wp.load(e);if(!n||"object"!==P(n))throw new Error("".concat(e," is empty or is not a mapping."));if("Application"!==n.kind)throw new Error("".concat(e,": kind must be 'Application', got '").concat(null!==(t=n.kind)&&void 0!==t?t:"undefined","'."));if(!n.apiVersion)throw new Error("".concat(e,": apiVersion is required."));if(!n.name)throw new Error("".concat(e,": name is required."));return u.pP.apply(n,u.pP.create(n))},R=function(){var e=A(b().mark((function e(t){var n;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new d.RegistryClient(t.registry).listApplications(t.scopeId,t.owner);case 2:if((n=e.sent).length){e.next=6;break}return console.log("No applications found."),e.abrupt("return");case 6:console.table(n.map((function(e){var t;return{name:"".concat(e.scopeId,"/").concat(e.name),revision:e.revision,packages:Object.keys(null!==(t=e.packages)&&void 0!==t?t:{}).length,ephemeral:e.ephemeral,owner:e.owner}})));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),N=function(){var e=A(b().mark((function e(t){var n,r,o,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=j(t),r=n.scopeId,o=n.name,e.next=3,new d.RegistryClient(t.registry).getApplication(r,o);case 3:i=e.sent,console.log(JSON.stringify(i,null,2));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),T=function(){var e=A(b().mark((function e(t){var n,r;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new d.RegistryClient(t.registry).createApplication({name:t.name,ephemeral:t.ephemeral,shell:t.shellBundleUrl?{shellBundleUrl:t.shellBundleUrl}:void 0});case 2:n=e.sent,r=n.id,console.log(l.Ay.green("Created application ".concat(r)));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),I=function(){var e=A(b().mark((function e(t){var n,r,o;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=j(t),r=n.scopeId,o=n.name,e.next=3,new d.RegistryClient(t.registry).deleteApplication(r,o);case 3:console.log(l.Ay.green("Deleted application ".concat(r,"/").concat(o)));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),F=function(e,t){if(null!=e&&e.length)return e.reduce((function(e,n){var r=n.indexOf("=");if(r<1)throw new Error("'".concat(n,"' is not a setting. Use NAME=value."));var o=n.slice(0,r),i=n.slice(r+1),s=g(o.includes(".")?o.split("."):[void 0,o],2),a=s[0],c=s[1],u=Object.entries(t).filter((function(e){var t=g(e,2),n=t[0],r=t[1];return a?n===a:c in r})).map((function(e){return g(e,1)[0]}));if(!u.length)throw new Error("Nothing declares ".concat(o,". This package declares: ").concat(Object.entries(t).flatMap((function(e){var t=g(e,2),n=t[0],r=t[1];return Object.keys(r).map((function(e){return"".concat(n,".").concat(e)}))})).join(", ")||"no vars","."));if(u.length>1)throw new Error("".concat(c," is declared under more than one scope: ").concat(u.join(", "),". Qualify it, such as ").concat(u[0],".").concat(c,"=..."));return m(m({},e),{},y({},u[0],m(m({},e[u[0]]),{},y({},c,i))))}),{})},M=function(){var e=A(b().mark((function e(t){var n,r,o,i,s,a,c,u,p,f,h,m,y,g;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=j(t),i=o.scopeId,s=o.name,a=(0,d.parsePackage)(t.package,t.scopeId),c=a.scopeId,u=a.name,p=a.version,f=new d.RegistryClient(t.registry),null===(n=t.set)||void 0===n||!n.length){e.next=18;break}return e.next=6,f.packageManifest(c,u);case 6:if(e.t2=r=e.sent.vars,e.t1=null!==e.t2,!e.t1){e.next=10;break}e.t1=void 0!==r;case 10:if(!e.t1){e.next=14;break}e.t3=r,e.next=15;break;case 14:e.t3={};case 15:e.t0=e.t3,e.next=19;break;case 18:e.t0={};case 19:return h=e.t0,m="".concat(c,"/").concat(u,"@").concat(p),e.next=23,f.activate(i,s,m,F(t.set,h));case 23:return console.log(l.Ay.green("Activated ".concat(m," in ").concat(i,"/").concat(s))),e.next=26,f.varsReport(i,s);case 26:y=e.sent,(g=y.requirements.filter((function(e){return!e.supplied}))).length&&console.log(l.Ay.yellow(" still unsupplied: ".concat(g.map((function(e){var t=e.scope,n=e.name;return"".concat(t,".").concat(n)})).join(", "))));case 29:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),L=function(){var e=A(b().mark((function e(t){var n,r,o,i,s,a;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=j(t),r=n.scopeId,o=n.name,i=(0,d.parseApplication)(t.package,t.scopeId),s=i.scopeId,a=i.name,e.next=4,new d.RegistryClient(t.registry).deactivate(r,o,s,a);case 4:console.log(l.Ay.green("Deactivated ".concat(s,"/").concat(a," in ").concat(r,"/").concat(o)));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),B=function(){var e=A(b().mark((function e(t){var n,r,o,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=j(t),r=n.scopeId,o=n.name,e.next=3,new d.RegistryClient(t.registry).revisions(r,o,t.limit);case 3:if((i=e.sent).length){e.next=7;break}return console.log("No revisions found."),e.abrupt("return");case 7:console.table(i.map((function(e){return{revision:e.revision,actor:e.actor,reason:e.reason,createdAt:e.createdAt}})));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),U=function(){var e=A(b().mark((function e(t){var n,r,o;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=j(t),r=n.scopeId,o=n.name,e.next=3,new d.RegistryClient(t.registry).rollback(r,o,t.to);case 3:console.log(l.Ay.green("Rolled ".concat(r,"/").concat(o," back to revision ").concat(t.to)));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),q=function(){var e=A(b().mark((function e(t){var n,r,o,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=j(t),r=n.scopeId,o=n.name,e.next=3,new d.RegistryClient(t.registry).composition(r,o);case 3:i=e.sent,console.log(JSON.stringify(i,null,2));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),z=function(){var e=A(b().mark((function e(t){var n,r,o;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=j(t),r=n.scopeId,o=n.name,console.log("".concat(t.registry.replace(/\/$/,""),"/a/").concat(r,"/").concat(o));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),V=function(){var e=A(b().mark((function e(t){var n,r,o,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(0,d.parseApplication)(t.from,t.scopeId),o=null!==(n=t.to)&&void 0!==n?n:t.application){e.next=4;break}throw new Error("No target application given. Pass --to or set one with 'appshell config set application <name>'.");case 4:return i=(0,d.parseApplication)(o,t.scopeId),e.next=7,new d.RegistryClient(t.registry).syncApplication(i.scopeId,i.name,{fromScopeId:r.scopeId,fromName:r.name,mode:t.mode,include:t.include});case 7:console.log(l.Ay.green("Synced ".concat(i.scopeId,"/").concat(i.name," from ").concat(r.scopeId,"/").concat(r.name)));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),G=function(){var e=A(b().mark((function e(t){var n,r,o,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(0,d.parseApplication)(t.from,t.scopeId),o=null!==(n=t.to)&&void 0!==n?n:t.application){e.next=4;break}throw new Error("No target application given. Pass --to or set one with 'appshell config set application <name>'.");case 4:return i=(0,d.parseApplication)(o,t.scopeId),e.next=7,new d.RegistryClient(t.registry).cloneApplication(i.scopeId,i.name,{fromScopeId:r.scopeId,fromName:r.name,ephemeral:t.ephemeral});case 7:console.log(l.Ay.green("Cloned ".concat(i.scopeId,"/").concat(i.name," from ").concat(r.scopeId,"/").concat(r.name)));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),H=function(){var e=A(b().mark((function e(t){var n,r,o,i;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=C(t.file),e.next=3,new d.RegistryClient(t.registry).apply(o);case 3:i=e.sent,console.log(l.Ay.green("".concat(i.created?"Created":"Updated"," ").concat(i.id))),null!==(n=i.changes)&&void 0!==n&&n.length?i.changes.forEach((function(e){return console.log(l.Ay.dim(" ".concat(e)))})):null!==(r=o.spec)&&void 0!==r&&r.packages&&console.log(l.Ay.dim(" packages already match"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),K=n(5250),W=n(4273);function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}function J(){var e=ne(),t=e.m(J),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,X(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(J=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new oe(e,t)},AsyncIterator:te,async:function(e,t,n,o,s){return(r(t)?ee:Z)(i(e),t,n,o,s)},keys:Q,values:X}})()}function X(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Y(e)+" is not iterable")}function Q(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Z(e,t,n,r,o){var i=ee(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function ee(e,t,n,r,o){return new te(ne().w(e,t,n,r),o||Promise)}function te(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof oe?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(re(te.prototype),re(te.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),re(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function ne(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return re(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(re(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,re(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,re(p,"constructor",u),re(u,"constructor",c),c.displayName="GeneratorFunction",re(u,o,"GeneratorFunction"),re(p),re(p,o,"Generator"),re(p,r,(function(){return this})),re(p,"toString",(function(){return"[object Generator]"})),(ne=function(){return{w:i,m:f}})()}function re(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}re=function(e,t,n,r){function i(t,n){re(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},re(e,t,n,r)}function oe(e,t){this.v=e,this.k=t}function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ae(e,t,n){return(t=function(e){var t=function(e){if("object"!=Y(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Y(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ce(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}const ue=function(){var e,t=(e=J().mark((function e(t){var n,r,o,s,a,c,u,l,p,d;return J().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=t.config,s=t.registry,a=t.application,c=t.scopeId,u=t.authIssuer,l=t.clientId,f().existsSync(o)||(console.log("Creating configuration file at ".concat(o)),f().mkdirSync(i().dirname(o),{recursive:!0})),p=(0,W.readConfig)(o),d=(0,K.omitBy)(se(se({},p),{},{registry:null!==(n=null!=s?s:p.registry)&&void 0!==n?n:"http://localhost:7150",application:null!=a?a:p.application,scopeId:null!=c?c:p.scopeId,authIssuer:null!=u?u:p.authIssuer,clientId:null!==(r=null!=l?l:p.clientId)&&void 0!==r?r:"appshell-cli"}),K.isUndefined),(0,W.writeConfig)(o,d),console.log("Wrote ".concat(o)),d.authIssuer||console.log("\nauth-issuer is unset, so 'appshell login' will fail. Set it with:\n appshell config init --auth-issuer <issuer-url>");case 7:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){ce(i,r,o,s,a,"next",e)}function a(e){ce(i,r,o,s,a,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}();function le(e){return le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},le(e)}function pe(){var e=ge(),t=e.m(pe),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,fe(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(pe=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new be(e,t)},AsyncIterator:ye,async:function(e,t,n,o,s){return(r(t)?me:he)(i(e),t,n,o,s)},keys:de,values:fe}})()}function fe(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(le(e)+" is not iterable")}function de(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function he(e,t,n,r,o){var i=me(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function me(e,t,n,r,o){return new ye(ge().w(e,t,n,r),o||Promise)}function ye(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof be?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(ve(ye.prototype),ve(ye.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),ve(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function ge(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return ve(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(ve(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,ve(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,ve(p,"constructor",u),ve(u,"constructor",c),c.displayName="GeneratorFunction",ve(u,o,"GeneratorFunction"),ve(p),ve(p,o,"Generator"),ve(p,r,(function(){return this})),ve(p,"toString",(function(){return"[object Generator]"})),(ge=function(){return{w:i,m:f}})()}function ve(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ve=function(e,t,n,r){function i(t,n){ve(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},ve(e,t,n,r)}function be(e,t){this.v=e,this.k=t}function xe(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}const we=function(){var e,t=(e=pe().mark((function e(t){var n;return pe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.config,f().existsSync(n)){e.next=4;break}return console.log("Configuration file at ".concat(n," does not exist. Run 'appshell config init'.")),e.abrupt("return");case 4:console.log(f().readFileSync(n,"utf-8"));case 5:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){xe(i,r,o,s,a,"next",e)}function a(e){xe(i,r,o,s,a,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}();var _e=n(2399);function Ee(e){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(e)}function Se(){var e=Pe(),t=e.m(Se),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,De(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(Se=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new Ce(e,t)},AsyncIterator:Ae,async:function(e,t,n,o,s){return(r(t)?$e:ke)(i(e),t,n,o,s)},keys:Oe,values:De}})()}function De(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Ee(e)+" is not iterable")}function Oe(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function ke(e,t,n,r,o){var i=$e(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function $e(e,t,n,r,o){return new Ae(Pe().w(e,t,n,r),o||Promise)}function Ae(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof Ce?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(je(Ae.prototype),je(Ae.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),je(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function Pe(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return je(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(je(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,je(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,je(p,"constructor",u),je(u,"constructor",c),c.displayName="GeneratorFunction",je(u,o,"GeneratorFunction"),je(p),je(p,o,"Generator"),je(p,r,(function(){return this})),je(p,"toString",(function(){return"[object Generator]"})),(Pe=function(){return{w:i,m:f}})()}function je(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}je=function(e,t,n,r){function i(t,n){je(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},je(e,t,n,r)}function Ce(e,t){this.v=e,this.k=t}function Re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(n),!0).forEach((function(t){Te(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Te(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ee(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ee(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ee(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ie(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}var Fe=["registry","application","scopeId","authIssuer","clientId","apiKey","apiKeyHeader","caFile"];const Me=function(){var e,t=(e=Se().mark((function e(t){var n,r,o;return Se().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.config,r=t.value,o=(0,_e.xQ)(t.key),Fe.includes(o)){e.next=4;break}throw new Error("Unknown setting '".concat(t.key,"'. Expected one of: ").concat(Fe.join(", "),"."));case 4:(0,W.writeConfig)(n,Ne(Ne({},(0,W.readConfig)(n)),{},Te({},o,r))),console.log("Set ".concat(o," in ").concat(n));case 6:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Ie(i,r,o,s,a,"next",e)}function a(e){Ie(i,r,o,s,a,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}();var Le=n(5317);function Be(e){return Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Be(e)}function Ue(){var e=Ke(),t=e.m(Ue),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,qe(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(Ue=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new Ye(e,t)},AsyncIterator:He,async:function(e,t,n,o,s){return(r(t)?Ge:Ve)(i(e),t,n,o,s)},keys:ze,values:qe}})()}function qe(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Be(e)+" is not iterable")}function ze(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Ve(e,t,n,r,o){var i=Ge(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function Ge(e,t,n,r,o){return new He(Ke().w(e,t,n,r),o||Promise)}function He(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof Ye?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(We(He.prototype),We(He.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),We(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function Ke(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return We(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(We(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,We(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,We(p,"constructor",u),We(u,"constructor",c),c.displayName="GeneratorFunction",We(u,o,"GeneratorFunction"),We(p),We(p,o,"Generator"),We(p,r,(function(){return this})),We(p,"toString",(function(){return"[object Generator]"})),(Ke=function(){return{w:i,m:f}})()}function We(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}We=function(e,t,n,r){function i(t,n){We(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},We(e,t,n,r)}function Ye(e,t){this.v=e,this.k=t}function Je(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}var Xe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"dist",n=i().resolve(e,t,".appshell-dev.json");if(f().existsSync(n))try{var r=JSON.parse(f().readFileSync(n,"utf-8"));if(1!==(null==r?void 0:r.version)||!r.origin)return;return r}catch(e){return}},Qe=function(){var e,t=(e=Ue().mark((function e(t,n){var r,o,i,s,a,c;return Ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.length){e.next=2;break}return e.abrupt("return",{verdict:"unconfirmed",reason:"there are no remotes to check for"});case 2:return e.prev=2,e.next=5,fetch("".concat(t.origin,"/appshell.manifest.json"),{signal:AbortSignal.timeout(2e3)});case 5:r=e.sent,e.next=11;break;case 8:return e.prev=8,e.t0=e.catch(2),e.abrupt("return",{verdict:"unconfirmed",reason:"nothing answered at ".concat(t.origin)});case 11:if(r.ok){e.next=13;break}return e.abrupt("return",{verdict:"unconfirmed",reason:"".concat(t.origin," answered ").concat(r.status," for its manifest")});case 13:return e.prev=13,e.next=16,r.json();case 16:s=e.sent,o=Object.keys(null!==(i=null==s?void 0:s.remotes)&&void 0!==i?i:{}),e.next=23;break;case 20:return e.prev=20,e.t1=e.catch(13),e.abrupt("return",{verdict:"unconfirmed",reason:"".concat(t.origin," did not answer with a manifest")});case 23:if((a=n.filter((function(e){return o.includes(e)}))).length!==n.length){e.next=26;break}return e.abrupt("return",{verdict:"serving"});case 26:if(!a.length){e.next=29;break}return c=n.filter((function(e){return!a.includes(e)})),e.abrupt("return",{verdict:"unconfirmed",reason:"".concat(t.origin," is not serving ").concat(c.join(", "))});case 29:return e.abrupt("return",o.length?{verdict:"displaced",serving:o}:{verdict:"unconfirmed",reason:"".concat(t.origin," is serving no remotes")});case 30:case"end":return e.stop()}}),e,null,[[2,8],[13,20]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Je(i,r,o,s,a,"next",e)}function a(e){Je(i,r,o,s,a,"throw",e)}s(void 0)}))});return function(e,n){return t.apply(this,arguments)}}(),Ze=function(e,t,n){if(t&&n)return{name:t,version:n};var r=i().resolve(e,"package.json");if(!f().existsSync(r))throw new Error("Cannot determine which package this is: no package.json at ".concat(e,"."));var o=JSON.parse(f().readFileSync(r,"utf-8")),s=o.name,a=o.version,c={name:null!=t?t:null==s?void 0:s.replace(/^@[^/]+\//,""),version:null!=n?n:a};if(!c.name||!c.version)throw new Error("Cannot determine which package this is: ".concat(r," needs a name and version."));return c},et=n(4942),tt=n.n(et),nt=function(e){return JSON.parse(f().readFileSync(e,"utf-8"))},rt=function(e){var t=i().join(e,"package.json");if(f().existsSync(t)){var n=nt(t).workspaces,r=Array.isArray(n)?n:null==n?void 0:n.packages;if(null!=r&&r.length)return r}var o=i().join(e,"lerna.json");if(f().existsSync(o)){var s=nt(o).packages;if(null!=s&&s.length)return s}},ot=function(e){var t=i().join(e,"appshell.config.yaml"),n=i().join(e,"package.json");if(f().existsSync(t)&&f().existsSync(n)){var r=nt(n),o=r.name,s=r.version;if(o&&s)try{var a,c=u.Wp.load(t);return{dir:e,name:o.replace(/^@[^/]+\//,""),version:s,remotes:Object.keys(null!==(a=null==c?void 0:c.remotes)&&void 0!==a?a:{})}}catch(e){return}}},it=function(e){var t,n=function(e){for(var t=i().resolve(e);;){if(rt(t))return t;var n=i().dirname(t);if(n===t)return;t=n}}(e);if(n){var r=(null!==(t=rt(n))&&void 0!==t?t:[]).map((function(e){return e.replace(/\/+$/,"")}));return{root:n,packages:tt().sync(r,{cwd:n,absolute:!0,onlyDirectories:!0,ignore:["**/node_modules/**"]}).map(ot).filter((function(e){return Boolean(e)})).sort((function(e,t){return e.name.localeCompare(t.name)}))}}};function st(e){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},st(e)}function at(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?at(Object(n),!0).forEach((function(t){ut(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ut(e,t,n){return(t=function(e){var t=function(e){if("object"!=st(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=st(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==st(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(e,t)||ft(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pt(e){return function(e){if(Array.isArray(e))return dt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ft(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ft(e,t){if(e){if("string"==typeof e)return dt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dt(e,t):void 0}}function dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ht(){var e=xt(),t=e.m(ht),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,mt(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(ht=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new _t(e,t)},AsyncIterator:bt,async:function(e,t,n,o,s){return(r(t)?vt:gt)(i(e),t,n,o,s)},keys:yt,values:mt}})()}function mt(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(st(e)+" is not iterable")}function yt(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function gt(e,t,n,r,o){var i=vt(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function vt(e,t,n,r,o){return new bt(xt().w(e,t,n,r),o||Promise)}function bt(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof _t?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(wt(bt.prototype),wt(bt.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),wt(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function xt(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return wt(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(wt(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,wt(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,wt(p,"constructor",u),wt(u,"constructor",c),c.displayName="GeneratorFunction",wt(u,o,"GeneratorFunction"),wt(p),wt(p,o,"Generator"),wt(p,r,(function(){return this})),wt(p,"toString",(function(){return"[object Generator]"})),(xt=function(){return{w:i,m:f}})()}function wt(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}wt=function(e,t,n,r){function i(t,n){wt(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},wt(e,t,n,r)}function _t(e,t){this.v=e,this.k=t}function Et(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function St(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Et(i,r,o,s,a,"next",e)}function a(e){Et(i,r,o,s,a,"throw",e)}s(void 0)}))}}var Dt=function(e){if(!e.application)throw new Error("No application given. Pass --application or set one with 'appshell config set application <name>'.");return(0,d.parseApplication)(e.application,e.scopeId)},Ot=function(e){return e.url?e.url:e.port?"http://localhost:".concat(e.port):void 0},kt=function(e,t){if(!t)return e;var n=new URL(t),r=new URL(e);return r.protocol=n.protocol,r.host=n.host,r.toString()},$t=function(){var e=St(ht().mark((function e(t,n,r){var o;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Qe(t,n);case 2:if("displaced"!==(o=e.sent).verdict){e.next=5;break}throw new Error("".concat(t.origin," is serving ").concat(o.serving.join(", "),", not ").concat(r,". That dev-server ")+"hint is left over from another run. Pass --port to say where ".concat(r," is running."));case 5:return"serving"===o.verdict?console.log(l.Ay.dim("Found ".concat(r," serving at ").concat(t.origin))):(console.log(l.Ay.yellow("Could not confirm a dev server: ".concat(o.reason,"."))),console.log(l.Ay.yellow("Redirecting to ".concat(t.origin," anyway. Start it, or pass --port if it is elsewhere.")))),e.abrupt("return",t.origin);case 7:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),At=function(){var e=St(ht().mark((function e(t,n,r){var o,i,s,a,c,u,l,p,f,d,h,m;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=null!==(o=Ot(t))&&void 0!==o?o:Xe(process.cwd())){e.next=3;break}return e.abrupt("return",{});case 3:return c=null!==(i=t.package)&&void 0!==i?i:Ze(process.cwd()).name,e.next=6,n.packageManifest(r,c);case 6:if(u=e.sent,(l=u.remotes)&&Object.keys(l).length){e.next=10;break}throw new Error("".concat(r,"/").concat(c," publishes no remotes."));case 10:if(p=null!==(s=t.remote)&&void 0!==s&&s.length?new Set(t.remote):void 0,!(f=pt(null!=p?p:[]).filter((function(e){return!l[e]}))).length){e.next=14;break}throw new Error("".concat(r,"/").concat(c," does not publish ").concat(f.join(", "),"."));case 14:if(d=Object.entries(l).filter((function(e){var t=lt(e,1)[0];return!p||p.has(t)})),"string"!=typeof a){e.next=19;break}e.t0=a,e.next=22;break;case 19:return e.next=21,$t(a,d.map((function(e){return lt(e,1)[0]})),"".concat(r,"/").concat(c));case 21:e.t0=e.sent;case 22:return h=e.t0,m=function(e){return"".concat(r,"/").concat(c,"/").concat(e.split("/").slice(1).join("/"))},e.abrupt("return",d.reduce((function(e,t){var n=lt(t,2),r=n[0],o=n[1];return ct(ct({},e),{},ut({},m(r),{remoteEntryUrl:kt(o.remoteEntryUrl,h),manifestUrl:kt(o.manifestUrl,h)}))}),{}));case 25:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),Pt={darwin:"open",win32:"start"},jt=function(e){var t,n=null!==(t=Pt[process.platform])&&void 0!==t?t:"xdg-open";try{(0,Le.spawn)(n,[e],{detached:!0,stdio:"ignore",shell:"win32"===process.platform}).on("error",(function(){})).unref()}catch(e){}},Ct=function(e){if(e.includes("/"))return{ref:e};var t=lt(e.split("-"),2),n=t[0],r=t[1];if(!n||!r)throw new Error("'".concat(e,"' is not a theme. Use 'base-accent', such as 'midnight-ember', or a published ")+"ref such as 'acme/brand@1.0.0'.");return{base:n,accent:r}},Rt=function(e){return["dev"===e.shellFlavor&&"development shell",e.remotes.length&&"".concat(e.remotes.length," redirected"),e.theme&&"theme ".concat(e.theme)].filter(Boolean).join(", ")||"no changes"},Nt=function(e,t){var n=e.remotes.filter((function(e){return!t[e]}));return[].concat(pt(Object.entries(t).map((function(e){var t=lt(e,2),n=t[0],r=t[1];return" ".concat(n," ").concat(l.Ay.dim("->")," ").concat(r.remoteEntryUrl)}))),pt(n.map((function(e){return" ".concat(e," ").concat(l.Ay.dim("-> still redirected from an earlier run"))}))),[!e.remotes.length&&l.Ay.dim(" no remotes redirected (pass --port to point this package at your dev server)"),"dev"===e.shellFlavor&&" ".concat(l.Ay.dim("shell")," ").concat(l.Ay.dim("->")," development bundle"),e.theme&&" ".concat(l.Ay.dim("theme")," ").concat(l.Ay.dim("->")," ").concat(e.theme)]).filter((function(e){return Boolean(e)}))},Tt=function(){var e=St(ht().mark((function e(t){var n,r,o,i,s,a,c,u,p;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Dt(t),r=n.scopeId,o=n.name,i=new d.RegistryClient(t.registry),e.next=4,At(t,i,r);case 4:if(s=e.sent,a=ct({remotes:s,shellFlavor:t.shell},t.theme?{theme:Ct(t.theme)}:{}),Object.keys(s).length||"dev"===t.shell||t.theme){e.next=8;break}throw new Error("Nothing to overlay on ".concat(r,"/").concat(o,". Pass --port to redirect this package at ")+"your dev server, --shell dev for the development bundle, or --theme to try a theme.");case 8:return e.next=10,i.createOverlay(r,o,a);case 10:c=e.sent,u=(0,d.absoluteUrl)(c.confirmUrl,i.baseUrl),p=!1===c.created,console.log(l.Ay.green("\nOverlay ".concat(p?"extended":"opened"," on ").concat(r,"/").concat(o))),Nt(c,s).forEach((function(e){return console.log(e)})),p?(console.log(l.Ay.dim("\nAlready applied in the browser that confirmed this overlay.")),console.log(l.Ay.dim("Reload the page, or confirm in another browser: ".concat(u,"\n")))):(console.log(l.Ay.bold("\nOpen this in your browser to apply it:")),console.log(" ".concat(l.Ay.cyan(u),"\n"))),console.log(l.Ay.dim("Expires ".concat(new Date(c.expiresAt).toLocaleString()," · stop with: appshell dev stop ").concat(c.id))),t.open&&!p&&jt(u);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),It=function(e,t,n,r){var o=Math.max.apply(Math,pt(e.map((function(e){return e.name.length}))));e.forEach((function(e){var i,s,a=null==(s=null===(i=t["".concat(r,"/").concat(e.name)])||void 0===i?void 0:i.packageId)?void 0:s.split("@").pop(),c=new Set(e.remotes),u=n.filter((function(e){return e.remotes.some((function(e){return c.has(e)}))})),p=a?a===e.version?l.Ay.dim("activated ".concat(a)):l.Ay.yellow("activated ".concat(a,", local ").concat(e.version)):l.Ay.yellow("not activated"),f=u.length?" ".concat(l.Ay.cyan("overlay ".concat(u[0].id.slice(0,8)))," ").concat(l.Ay.dim("(".concat(u[0].remotes.filter((function(e){return c.has(e)})).length," of its remotes)"))):"";console.log(" ".concat(e.name.padEnd(o)," ").concat(p).concat(f))}))},Ft=function(){var e=St(ht().mark((function e(t,n,r){var o;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(r.map(function(){var e=St(ht().mark((function e(r){return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=r,e.next=4,t.packageManifest(n,r);case 4:return e.t1=e.sent,e.abrupt("return",[e.t0,e.t1]);case 8:return e.prev=8,e.t2=e.catch(0),e.abrupt("return",[r,void 0]);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t){return e.apply(this,arguments)}}()));case 2:return o=e.sent,e.abrupt("return",o.reduce((function(e,t){var n,r=lt(t,2),o=r[0],i=r[1];return Object.keys(null!==(n=null==i?void 0:i.remotes)&&void 0!==n?n:{}).forEach((function(t){e[t]=o})),e}),{}));case 4:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),Mt=function(e,t){return e.reduce((function(e,n){var r,o,i=null!==(r=t[n])&&void 0!==r?r:"unknown package";return ct(ct({},e),{},ut({},i,[].concat(pt(null!==(o=e[i])&&void 0!==o?o:[]),[n])))}),{})},Lt=function(){var e=St(ht().mark((function e(t){var n,r,o,i,s,a,c,u,p,f,h,m,y;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Dt(t),o=r.scopeId,i=r.name,s=new d.RegistryClient(t.registry),e.next=4,Promise.all([s.listOverlays(o,i),s.getApplication(o,i)]);case 4:if(a=e.sent,c=lt(a,2),u=c[0],p=c[1],f=Object.keys(null!==(n=p.packages)&&void 0!==n?n:{}).map((function(e){return e.split("/").pop()})),null!=(h=it(process.cwd()))&&h.packages.length&&(console.log(l.Ay.bold("\n".concat(h.root))+l.Ay.dim(" · ".concat(h.packages.length," packages · ").concat(o,"/").concat(i,"\n"))),It(h.packages,null!==(m=p.packages)&&void 0!==m?m:{},u,o)),u.length){e.next=14;break}return console.log("\nNo overlays open on ".concat(o,"/").concat(i,".")),e.abrupt("return");case 14:return e.next=16,Ft(s,o,f);case 16:y=e.sent,console.log(l.Ay.bold("\nOverlays open on ".concat(o,"/").concat(i,"\n"))),u.forEach((function(e){console.log(" ".concat(l.Ay.cyan(e.id)," ").concat(Rt(e))),Object.entries(Mt(e.remotes,y)).forEach((function(e){var t=lt(e,2),n=t[0],r=t[1];console.log(" ".concat(n," ").concat(l.Ay.dim(r.join(", ")))),console.log(l.Ay.dim(" stop: appshell dev stop --pkg ".concat(n)))})),console.log(l.Ay.dim(" opened by ".concat(e.owner," · expires ").concat(new Date(e.expiresAt).toLocaleString()))),console.log(l.Ay.dim(" apply: ".concat((0,d.absoluteUrl)(e.confirmUrl,s.baseUrl)))),console.log(l.Ay.dim(" close: appshell dev stop ".concat(e.id)))})),console.log(l.Ay.dim("\nListed overlays are open on the registry; each only applies to a browser that confirmed it."));case 20:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Bt=function(){var e=St(ht().mark((function e(t,n,r,o,i){var s,a,c,u,l;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.packageManifest(r,i);case 2:return s=e.sent,a=s.remotes,c=Object.keys(null!=a?a:{}),e.next=7,n.listOverlays(r,o);case 7:if(u=e.sent,(l=t.id?u.filter((function(e){return e.id===t.id})):u.filter((function(e){return e.remotes.some((function(e){return c.includes(e)}))}))).length){e.next=11;break}throw new Error("No open overlay on ".concat(r,"/").concat(o," is redirecting ").concat(i,"."));case 11:if(!(l.length>1)){e.next=13;break}throw new Error("More than one overlay is redirecting ".concat(i,". Name one: ").concat(l.map((function(e){return"appshell dev stop ".concat(e.id," --pkg ").concat(i)})).join(", ")));case 13:return e.abrupt("return",{id:l[0].id,keys:c});case 14:case"end":return e.stop()}}),e)})));return function(t,n,r,o,i){return e.apply(this,arguments)}}(),Ut=function(){var e=St(ht().mark((function e(t){var n,r,o,i,s,a,c,u,p,f,h;return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Dt(t),r=n.scopeId,o=n.name,i=new d.RegistryClient(t.registry),void 0===t.package){e.next=16;break}return s=t.package||Ze(process.cwd()).name,e.next=6,Bt(t,i,r,o,s);case 6:return a=e.sent,c=a.id,u=a.keys,e.next=11,i.stopRedirecting(r,o,c,u);case 11:return p=e.sent,f=p.remotes,console.log(l.Ay.green("Stopped redirecting ".concat(s,"."))),console.log(f.length?l.Ay.dim(" still redirected: ".concat(f.join(", "))):l.Ay.dim(" nothing redirected now; the overlay still selects the shell bundle")),e.abrupt("return");case 16:if(t.id||t.all){e.next=18;break}throw new Error("Pass an overlay id, --package to stop just one package, or --all to stop every overlay on this application.");case 18:if(!t.id){e.next=22;break}e.t0=[t.id],e.next=25;break;case 22:return e.next=24,i.listOverlays(r,o);case 24:e.t0=e.sent.map((function(e){return e.id}));case 25:if((h=e.t0).length){e.next=29;break}return console.log("No overlays open on ".concat(r,"/").concat(o,".")),e.abrupt("return");case 29:return e.next=31,Promise.all(h.map(function(){var e=St(ht().mark((function e(t){return ht().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=ct,e.t1=ct,e.t2={},e.next=5,i.closeOverlay(r,o,t);case 5:return e.t3=e.sent,e.t4=(0,e.t1)(e.t2,e.t3),e.t5={},e.t6={id:t},e.abrupt("return",(0,e.t0)(e.t4,e.t5,e.t6));case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 31:e.sent.forEach((function(e){var t=e.id,n=e.revoked;return console.log(n?l.Ay.green("Stopped overlay ".concat(t,".")):l.Ay.yellow("No overlay ".concat(t," to stop; it may have already expired.")))})),console.log(l.Ay.dim("A browser holding a stopped overlay reverts on its next load of the application."));case 34:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qt="appshell.template.json",zt=new Set(["node_modules",".git","coverage",".next",".turbo"]),Vt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>4?[]:f().readdirSync(e,{withFileTypes:!0}).flatMap((function(n){return n.isDirectory()?zt.has(n.name)?[]:Vt(i().join(e,n.name),t+1):n.name===qt?[i().join(e,n.name)]:[]}))},Gt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:process.cwd();if(e){if(!f().existsSync(e))throw new Error("Manifest template not found: ".concat(e));return e}var n=i().join(t,qt);if(f().existsSync(n))return n;var r=Vt(t);if(1===r.length)return console.log("Using ".concat(i().relative(t,r[0]))),r[0];if(r.length>1){var o=r.map((function(e){return" ".concat(i().relative(t,e))})).join("\n");throw new Error("Several manifest templates found; pass --template to choose one:\n".concat(o))}throw new Error("No ".concat(qt," found under ").concat(t,". Build the package first, or pass --template."))};function Ht(e){return Ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ht(e)}function Kt(){var e=Zt(),t=e.m(Kt),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,Wt(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(Kt=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new tn(e,t)},AsyncIterator:Qt,async:function(e,t,n,o,s){return(r(t)?Xt:Jt)(i(e),t,n,o,s)},keys:Yt,values:Wt}})()}function Wt(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Ht(e)+" is not iterable")}function Yt(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Jt(e,t,n,r,o){var i=Xt(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function Xt(e,t,n,r,o){return new Qt(Zt().w(e,t,n,r),o||Promise)}function Qt(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof tn?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(en(Qt.prototype),en(Qt.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),en(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function Zt(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return en(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(en(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,en(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,en(p,"constructor",u),en(u,"constructor",c),c.displayName="GeneratorFunction",en(u,o,"GeneratorFunction"),en(p),en(p,o,"Generator"),en(p,r,(function(){return this})),en(p,"toString",(function(){return"[object Generator]"})),(Zt=function(){return{w:i,m:f}})()}function en(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}en=function(e,t,n,r){function i(t,n){en(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},en(e,t,n,r)}function tn(e,t){this.v=e,this.k=t}function nn(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}const rn=function(){var e,t=(e=Kt().mark((function e(t){var n,r,o,s;return Kt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.outDir,r=t.outFile,e.prev=1,o=Gt(t.template),console.log("generating manifest --template=".concat(o," --out-dir=").concat(n," --out-file=").concat(r)),e.next=6,(0,u.V$)(o);case 6:(s=e.sent)&&(f().existsSync(n)||f().mkdirSync(n),f().writeFileSync(i().join(n,r),JSON.stringify(s))),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),console.error("Error generating manifest",e.t0.message);case 13:case"end":return e.stop()}}),e,null,[[1,10]])})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){nn(i,r,o,s,a,"next",e)}function a(e){nn(i,r,o,s,a,"throw",e)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}();var on=n(4646),sn=n(950);function an(e){return an="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},an(e)}function cn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function un(){var e=mn(),t=e.m(un),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,ln(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(un=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new gn(e,t)},AsyncIterator:hn,async:function(e,t,n,o,s){return(r(t)?dn:fn)(i(e),t,n,o,s)},keys:pn,values:ln}})()}function ln(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(an(e)+" is not iterable")}function pn(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function fn(e,t,n,r,o){var i=dn(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function dn(e,t,n,r,o){return new hn(mn().w(e,t,n,r),o||Promise)}function hn(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof gn?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(yn(hn.prototype),yn(hn.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),yn(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function mn(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return yn(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(yn(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,yn(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,yn(p,"constructor",u),yn(u,"constructor",c),c.displayName="GeneratorFunction",yn(u,o,"GeneratorFunction"),yn(p),yn(p,o,"Generator"),yn(p,r,(function(){return this})),yn(p,"toString",(function(){return"[object Generator]"})),(mn=function(){return{w:i,m:f}})()}function yn(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}yn=function(e,t,n,r){function i(t,n){yn(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},yn(e,t,n,r)}function gn(e,t){this.v=e,this.k=t}function vn(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function bn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){vn(i,r,o,s,a,"next",e)}function a(e){vn(i,r,o,s,a,"throw",e)}s(void 0)}))}}var xn=function(e){return new Promise((function(t){setTimeout(t,1e3*e)}))},wn=function(){var e=bn(un().mark((function e(t){var n,r,o;return un().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(t.replace(/\/$/,""),"/.well-known/openid-configuration"),e.next=3,on.A.get(n);case 3:return r=e.sent,o=r.data,e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_n=function(e){return new URLSearchParams(Object.entries(e).filter((function(e){return void 0!==(t=e,n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(t,n)||function(e,t){if(e){if("string"==typeof e)return cn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cn(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];var t,n})))},En=function(){var e=bn(un().mark((function e(t,n,r,o){var i,s;return un().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,on.A.post(t,_n({grant_type:"client_credentials",client_id:n,client_secret:r,scope:o}));case 2:return i=e.sent,s=i.data,e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)})));return function(t,n,r,o){return e.apply(this,arguments)}}(),Sn=function(){var e=bn(un().mark((function e(t,n,r,o){var i,s,a,c,u,p,f,d,h,m;return un().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,on.A.post(t,_n({client_id:r,scope:o}));case 2:a=e.sent,c=a.data,console.log("\nTo sign in, visit ".concat(l.Ay.cyan(null!==(i=c.verification_uri_complete)&&void 0!==i?i:c.verification_uri))),c.verification_uri_complete||console.log("and enter the code ".concat(l.Ay.bold.yellow(c.user_code))),console.log("\nWaiting for authorization..."),u=null!==(s=c.interval)&&void 0!==s?s:5,p=Date.now()+1e3*c.expires_in;case 9:if(!(Date.now()<p)){e.next=31;break}return e.next=12,xn(u);case 12:return e.prev=12,e.next=15,on.A.post(n,_n({grant_type:"urn:ietf:params:oauth:grant-type:device_code",device_code:c.device_code,client_id:r}));case 15:return f=e.sent,d=f.data,e.abrupt("return",d);case 20:if(e.prev=20,e.t0=e.catch(12),"slow_down"!==(m=null===(h=e.t0.response)||void 0===h||null===(h=h.data)||void 0===h?void 0:h.error)){e.next=27;break}u+=5,e.next=29;break;case 27:if("authorization_pending"===m){e.next=29;break}throw new Error("Authorization failed: ".concat(null!=m?m:e.t0.message));case 29:e.next=9;break;case 31:throw new Error("Timed out waiting for authorization.");case 32:case"end":return e.stop()}}),e,null,[[12,20]])})));return function(t,n,r,o){return e.apply(this,arguments)}}();const Dn=function(){var e=bn(un().mark((function e(t){var n,r,o,i,s,a,c,u,p;return un().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.registry,r=t.authIssuer,o=t.clientId,i=t.clientSecret,s=t.scope,r){e.next=3;break}throw new Error("No auth issuer configured. Run 'appshell config set auth-issuer <url>' or pass --auth-issuer.");case 3:return e.next=5,wn(r);case 5:if(a=e.sent,c=a.device_authorization_endpoint,u=a.token_endpoint,!i){e.next=14;break}return e.next=11,En(u,o,i,s);case 11:p=e.sent,e.next=21;break;case 14:if(!c){e.next=20;break}return e.next=17,Sn(c,u,o,s);case 17:p=e.sent,e.next=21;break;case 20:throw new Error("".concat(r," does not advertise a device authorization endpoint. Pass --client-secret to use client credentials."));case 21:(0,sn.xg)(n,{accessToken:p.access_token,refreshToken:p.refresh_token,expiresAt:p.expires_in?Date.now()+1e3*p.expires_in:void 0}),console.log(l.Ay.green("Logged in to ".concat(n)));case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();var On=function(){var e=bn(un().mark((function e(t){return un().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(0,sn.n4)(t.registry),console.log("Logged out of ".concat(t.registry));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),kn=n(2234),$n=n.n(kn),An=n(6475);function Pn(e){return Pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pn(e)}function jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jn(Object(n),!0).forEach((function(t){Rn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rn(e,t,n){return(t=function(e){var t=function(e){if("object"!=Pn(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Pn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Pn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nn(){var e=Bn(),t=e.m(Nn),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,Tn(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(Nn=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new qn(e,t)},AsyncIterator:Ln,async:function(e,t,n,o,s){return(r(t)?Mn:Fn)(i(e),t,n,o,s)},keys:In,values:Tn}})()}function Tn(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Pn(e)+" is not iterable")}function In(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Fn(e,t,n,r,o){var i=Mn(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function Mn(e,t,n,r,o){return new Ln(Bn().w(e,t,n,r),o||Promise)}function Ln(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof qn?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(Un(Ln.prototype),Un(Ln.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),Un(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function Bn(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return Un(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(Un(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Un(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,Un(p,"constructor",u),Un(u,"constructor",c),c.displayName="GeneratorFunction",Un(u,o,"GeneratorFunction"),Un(p),Un(p,o,"Generator"),Un(p,r,(function(){return this})),Un(p,"toString",(function(){return"[object Generator]"})),(Bn=function(){return{w:i,m:f}})()}function Un(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Un=function(e,t,n,r){function i(t,n){Un(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Un(e,t,n,r)}function qn(e,t){this.v=e,this.k=t}function zn(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function Vn(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){zn(i,r,o,s,a,"next",e)}function a(e){zn(i,r,o,s,a,"throw",e)}s(void 0)}))}}var Gn=function(){var e=Vn(Nn().mark((function e(t,n,r){var o;return Nn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o="".concat(t,"/package.json"),f().existsSync(o)){e.next=3;break}throw new Error("Package spec not found at ".concat(o));case 3:return e.abrupt("return",JSON.parse(f().readFileSync(o,"utf-8")));case 4:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),Hn=function(e){return e.dependencies.reduce((function(e,t){var n,r,o=null!==(n=t.baseline)&&void 0!==n?n:null===(r=t.requests.find((function(e){return e.requiredVersion})))||void 0===r?void 0:r.requiredVersion;return o?(e[t.shareScope]=Cn(Cn({},e[t.shareScope]),{},Rn({},t.packageName,o)),e):e}),{})},Kn=function(){var e=Vn(Nn().mark((function e(t,n,r){var o,i,s,a;return Nn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=2;break}throw new Error("No application given. Pass --application or set one with 'appshell config set application <name>'.");case 2:return o=(0,d.parseApplication)(n,r),i=o.scopeId,s=o.name,e.next=5,new d.RegistryClient(t).sharedDeps(i,s);case 5:return(a=e.sent).conflicts&&console.warn("".concat(a.conflicts," shared dependency conflict(s) already exist in ").concat(i,"/").concat(s,".")),e.abrupt("return",Hn(a));case 8:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();function Wn(e){return Wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wn(e)}function Yn(){var e=tr(),t=e.m(Yn),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,Jn(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(Yn=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new rr(e,t)},AsyncIterator:er,async:function(e,t,n,o,s){return(r(t)?Zn:Qn)(i(e),t,n,o,s)},keys:Xn,values:Jn}})()}function Jn(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Wn(e)+" is not iterable")}function Xn(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Qn(e,t,n,r,o){var i=Zn(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function Zn(e,t,n,r,o){return new er(tr().w(e,t,n,r),o||Promise)}function er(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof rr?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(nr(er.prototype),nr(er.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),nr(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function tr(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return nr(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(nr(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,nr(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,nr(p,"constructor",u),nr(u,"constructor",c),c.displayName="GeneratorFunction",nr(u,o,"GeneratorFunction"),nr(p),nr(p,o,"Generator"),nr(p,r,(function(){return this})),nr(p,"toString",(function(){return"[object Generator]"})),(tr=function(){return{w:i,m:f}})()}function nr(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}nr=function(e,t,n,r){function i(t,n){nr(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},nr(e,t,n,r)}function rr(e,t){this.v=e,this.k=t}function or(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function ir(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){or(i,r,o,s,a,"next",e)}function a(e){or(i,r,o,s,a,"throw",e)}s(void 0)}))}}function sr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ar(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ar(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var cr=function(e,t,n){return 1===e?t:n},ur=function(e){switch(e){case"conflict":return l.Ay.red;case"missing":return l.Ay.yellow;case"satisfied":return l.Ay.green;default:return l.Ay.white}},lr=function(e){switch(e){case"conflict":return"✗";case"missing":return"⚠";case"satisfied":return"✔";default:return l.Ay.white}},pr=function(e){var t=(0,An.C)(e.conflicts),n=(0,An.C)(e.missing),r=(0,An.C)(e.satisfied).concat(n).concat(t).flat().reduce((function(e,t){var n=t.baselineModule;return e[n]||(e[n]=[]),e[n].push(t),e}),{});Object.entries(r).forEach((function(e){var t=sr(e,2),n=t[0],r=t[1],o=function(e){var t,n,r=null===(t=(0,K.first)(e))||void 0===t?void 0:t.sampleModule,o=null===(n=(0,K.first)(e))||void 0===n?void 0:n.baselineModule,i=new($n())({head:["",l.Ay.white("Package"),l.Ay.white(r),l.Ay.white(o)]});return e.forEach((function(e){var t=ur(e.status);i.push([t(lr(e.status)),t(e.packageName),t(e.sampleVersion),t(e.baselineVersion)])})),i}(r);console.group(function(e,t){var n=t.filter((function(e){return"conflict"===e.status}));return l.Ay.bold.yellow("Found ".concat(n.length," shared ").concat(cr(n.length,"dependency","dependencies")," out of sync with ").concat(e))}(n,r)),console.log(o.toString()),console.groupEnd()}))},fr=function(e){var t=e.flatMap((function(e){return Object.values(e.conflicts)})).sort((function(e,t){return e.packageName<t.packageName?-1:e.packageName>t.packageName?1:0})),n=(0,K.uniq)(t.map((function(e){return e.packageName}))).length,r=(0,K.uniq)(t.map((function(e){return e.baselineModule}))).length;console.log(l.Ay.bold.red("\nSummary: ".concat(n," ").concat(cr(n,"package","packages")," out of sync across ").concat(r," ").concat(cr(r,"module","modules"))));var o=function(e){var t=new($n())({head:["",l.Ay.white("Package"),l.Ay.white("Source Module"),l.Ay.white("Source Version"),l.Ay.white("Baseline Module"),l.Ay.white("Baseline Version"),l.Ay.white("Recommended Version")]});return e.forEach((function(e){var n=ur(e.status);t.push([n(lr(e.status)),n(e.packageName),n(e.sampleModule),n(e.sampleVersion),n(e.baselineModule),n(e.baselineVersion),"".concat(e.packageName,"@").concat(e.baselineVersion)])})),t}(t);console.log(o.toString())};const dr=function(){var e=ir(Yn().mark((function e(t){var n,r,o,i,s,a,c,l,p,f,d;return Yn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.apiKey,r=t.apiKeyHeader,o=t.workingDir,i=t.registry,s=t.application,a=t.scopeId,c=t.manager,e.prev=1,console.log("outdated --working-dir=".concat(o," --registry=").concat(i," --manager=").concat(c)),e.next=5,Gn(o,n,r);case 5:return l=e.sent,e.next=8,Kn(i,s,a);case 8:return p=e.sent,console.debug("Shared modules:",JSON.stringify(p,null,2)),f=Object.entries(p).map(function(){var e=ir(Yn().mark((function e(t){var n,r,o,i;return Yn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=sr(t,2),r=n[0],o=n[1],e.next=3,(0,u.nN)(l,{name:r,shared:o});case 3:return i=e.sent,pr(i),e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=13,Promise.all(f);case 13:d=e.sent,fr(d),e.next=20;break;case 17:e.prev=17,e.t0=e.catch(1),console.error("Error analyzing outdated shared dependencies",e.t0.message);case 20:case"end":return e.stop()}}),e,null,[[1,17]])})));return function(t){return e.apply(this,arguments)}}(),hr=require("chokidar");var mr=n.n(hr);function yr(e){return yr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yr(e)}function gr(){var e=Er(),t=e.m(gr),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,vr(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(gr=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new Dr(e,t)},AsyncIterator:_r,async:function(e,t,n,o,s){return(r(t)?wr:xr)(i(e),t,n,o,s)},keys:br,values:vr}})()}function vr(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(yr(e)+" is not iterable")}function br(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function xr(e,t,n,r,o){var i=wr(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function wr(e,t,n,r,o){return new _r(Er().w(e,t,n,r),o||Promise)}function _r(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof Dr?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(Sr(_r.prototype),Sr(_r.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),Sr(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function Er(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return Sr(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(Sr(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Sr(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,Sr(p,"constructor",u),Sr(u,"constructor",c),c.displayName="GeneratorFunction",Sr(u,o,"GeneratorFunction"),Sr(p),Sr(p,o,"Generator"),Sr(p,r,(function(){return this})),Sr(p,"toString",(function(){return"[object Generator]"})),(Er=function(){return{w:i,m:f}})()}function Sr(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Sr=function(e,t,n,r){function i(t,n){Sr(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Sr(e,t,n,r)}function Dr(e,t){this.v=e,this.k=t}function Or(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function kr(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Or(i,r,o,s,a,"next",e)}function a(e){Or(i,r,o,s,a,"throw",e)}s(void 0)}))}}var $r=function(){var e=kr(gr().mark((function e(t){var n,r,o,i,s,a,c,p,d,h,m,y,g,v;return gr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.registry,o=t.force,i=Gt(t.template),s=(0,sn.E7)(r),e.next=5,(0,u.V$)(i);case 5:if(a=e.sent){e.next=8;break}throw new Error("No manifest was generated from ".concat(i,"."));case 8:return c=JSON.parse(f().readFileSync(i,"utf-8")).visibility,p=null!==(n=t.visibility)&&void 0!==n?n:c,d=Ze(process.cwd(),t.name,t.packageVersion),h=d.name,m=d.version,e.next=13,(0,u.mk)({registry:r,token:s,name:h,version:m,manifest:a,visibility:p,force:o});case 13:return y=e.sent,g=y.id,v=y.created,console.log(l.Ay.green("".concat(v?"Published":"Already published"," ").concat(g))),e.abrupt("return",g);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();const Ar=function(){var e=kr(gr().mark((function e(t){var n,r;return gr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.watch){e.next=4;break}return e.next=3,$r(t);case 3:return e.abrupt("return");case 4:return n=function(){var e=kr(gr().mark((function e(){return gr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,$r(t);case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(l.Ay.red(e.t0.message));case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(){return e.apply(this,arguments)}}(),e.next=7,n();case 7:return r=Gt(t.template),console.log(l.Ay.blue("Watching ".concat(r," for changes. Ctrl-C to stop."))),mr().watch(r,{ignoreInitial:!0,awaitWriteFinish:!0}).on("change",n).on("add",n),e.next=12,new Promise((function(){}));case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function Pr(e){return Pr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pr(e)}function jr(){var e=Fr(),t=e.m(jr),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,Cr(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(jr=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new Lr(e,t)},AsyncIterator:Ir,async:function(e,t,n,o,s){return(r(t)?Tr:Nr)(i(e),t,n,o,s)},keys:Rr,values:Cr}})()}function Cr(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Pr(e)+" is not iterable")}function Rr(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Nr(e,t,n,r,o){var i=Tr(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function Tr(e,t,n,r,o){return new Ir(Fr().w(e,t,n,r),o||Promise)}function Ir(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof Lr?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(Mr(Ir.prototype),Mr(Ir.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),Mr(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function Fr(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return Mr(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(Mr(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Mr(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,Mr(p,"constructor",u),Mr(u,"constructor",c),c.displayName="GeneratorFunction",Mr(u,o,"GeneratorFunction"),Mr(p),Mr(p,o,"Generator"),Mr(p,r,(function(){return this})),Mr(p,"toString",(function(){return"[object Generator]"})),(Fr=function(){return{w:i,m:f}})()}function Mr(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Mr=function(e,t,n,r){function i(t,n){Mr(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Mr(e,t,n,r)}function Lr(e,t){this.v=e,this.k=t}function Br(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function Ur(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){Br(i,r,o,s,a,"next",e)}function a(e){Br(i,r,o,s,a,"throw",e)}s(void 0)}))}}function qr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var zr=function(e,t){var n,r,o=(n=e.split("@"),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(n,r)||function(e,t){if(e){if("string"==typeof e)return qr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qr(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],s=o[1],a=i.split("/");if(a.length>2||a.some((function(e){return!e})))throw new Error("'".concat(e,"' is not a theme reference. Expected 'scope/name@version'."));return 2===a.length?{scopeId:a[0],name:a[1],version:s}:{scopeId:t,name:a[0],version:s}},Vr=function(){var e=Ur(jr().mark((function e(t){var n,r;return jr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new d.RegistryClient(t.registry).listThemes(null!==(n=t.scope)&&void 0!==n?n:t.scopeId);case 2:if((r=e.sent).length){e.next=6;break}return console.log("No themes found."),e.abrupt("return");case 6:console.table(r.map((function(e){var t;return{ref:e.id,visibility:e.visibility,owner:e.owner,derivedFrom:null!==(t=e.derivedFrom)&&void 0!==t?t:""}})));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Gr=function(){var e=Ur(jr().mark((function e(t){var n,r,o,i,s;return jr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=zr(t.ref,t.scopeId),r=n.scopeId,o=n.name,i=n.version,e.next=3,new d.RegistryClient(t.registry).getTheme(r,o,i);case 3:s=e.sent,console.log(JSON.stringify(s,null,2));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Hr=function(){var e=Ur(jr().mark((function e(t){var n,r,o,i,s,a,c,p;return jr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=zr(t.from,t.scopeId),o=r.scopeId,i=r.name,s=r.version,e.next=3,new d.RegistryClient(t.registry).getTheme(o,i,s);case 3:if(a=e.sent,c={apiVersion:"registry.appshell.org/v1",kind:"Theme",name:null!==(n=t.name)&&void 0!==n?n:"".concat(a.name,"-fork"),spec:{version:"1.0.0",tokens:a.tokens,visibility:"private",derivedFrom:a.id}},p=u.Wp.dump(c),t.out){e.next=9;break}return console.log(p),e.abrupt("return");case 9:f().writeFileSync(t.out,p),console.log(l.Ay.green("Wrote ".concat(t.out," from ").concat(a.id))),console.log("Edit it, then: appshell theme publish -f ".concat(t.out));case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Kr=function(){var e=Ur(jr().mark((function e(t){var n,r,o,i,s,a,c,p;return jr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(f().existsSync(t.file)){e.next=2;break}throw new Error("Theme file not found. ".concat(t.file));case 2:if((i=u.Wp.load(t.file))&&"object"===Pr(i)){e.next=5;break}throw new Error("".concat(t.file," is empty or is not a mapping."));case 5:if("Theme"===i.kind){e.next=7;break}throw new Error("".concat(t.file,": kind must be 'Theme', got '").concat(null!==(s=i.kind)&&void 0!==s?s:"undefined","'."));case 7:if(i.name){e.next=9;break}throw new Error("".concat(t.file,": name is required."));case 9:if(null!==(n=i.spec)&&void 0!==n&&n.version){e.next=11;break}throw new Error("".concat(t.file,": spec.version is required."));case 11:if(null!==(r=i.spec)&&void 0!==r&&null!==(r=r.tokens)&&void 0!==r&&r.light&&null!==(o=i.spec)&&void 0!==o&&null!==(o=o.tokens)&&void 0!==o&&o.dark){e.next=13;break}throw new Error("".concat(t.file,": spec.tokens needs both a light and a dark map."));case 13:return e.next=15,new d.RegistryClient(t.registry).publishTheme({name:i.name,version:i.spec.version,tokens:i.spec.tokens,visibility:i.spec.visibility,derivedFrom:i.spec.derivedFrom,metadata:i.spec.metadata});case 15:a=e.sent,c=a.id,p=a.created,console.log(l.Ay.green("".concat(p?"Published":"Already published"," ").concat(c))),p&&console.log("Adopt it with: theme: { ref: '".concat(c,"' } in your appshell.app.yaml"));case 20:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function Wr(e){return Wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wr(e)}function Yr(){var e=to(),t=e.m(Yr),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===n||"GeneratorFunction"===(t.displayName||t.name))}var o={throw:1,return:2,break:3,continue:3};function i(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,o[e],t)},delegateYield:function(e,o,i){return t.resultName=o,n(r.d,Jr(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,o){r.p=t.prev,r.n=t.next;try{return e(n,o)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(Yr=function(){return{wrap:function(t,n,r,o){return e.w(i(t),n,r,o&&o.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(e,t){return new ro(e,t)},AsyncIterator:eo,async:function(e,t,n,o,s){return(r(t)?Zr:Qr)(i(e),t,n,o,s)},keys:Xr,values:Jr}})()}function Jr(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Wr(e)+" is not iterable")}function Xr(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}}function Qr(e,t,n,r,o){var i=Zr(e,t,n,r,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function Zr(e,t,n,r,o){return new eo(to().w(e,t,n,r),o||Promise)}function eo(e,t){function n(r,o,i,s){try{var a=e[r](o),c=a.value;return c instanceof ro?t.resolve(c.v).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(c).then((function(e){a.value=e,i(a)}),(function(e){return n("throw",e,i,s)}))}catch(e){s(e)}}var r;this.next||(no(eo.prototype),no(eo.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),no(this,"_invoke",(function(e,o,i){function s(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(s,s):s()}),!0)}function to(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,u=Object.create(c.prototype);return no(u,"_invoke",function(n,r,o){var i,a,c,u=0,l=o||[],p=!1,f={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,s}};function d(n,r){for(a=n,c=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],d=f.p,h=i[2];n>3?(o=h===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,f.v=r,f.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,a=0))}if(o||n>1)return s;throw p=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&d(l,h),a=l,c=h;(t=a<2?e:c)||!p;){i||(a?a<3?(a>1&&(f.n=-1),d(a,c)):f.n=c:f.v=c);try{if(u=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=f.n<0)?c:n.call(r,f))!==s)break}catch(t){i=e,a=1,c=t}finally{u=1}}return{value:t,done:p}}}(n,o,i),!0),u}var s={};function a(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(no(t={},r,(function(){return this})),t),p=u.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,no(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=u,no(p,"constructor",u),no(u,"constructor",c),c.displayName="GeneratorFunction",no(u,o,"GeneratorFunction"),no(p),no(p,o,"Generator"),no(p,r,(function(){return this})),no(p,"toString",(function(){return"[object Generator]"})),(to=function(){return{w:i,m:f}})()}function no(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}no=function(e,t,n,r){function i(t,n){no(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},no(e,t,n,r)}function ro(e,t){this.v=e,this.k=t}function oo(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}var io,so,ao,co=function(e){return(0,a.Xg)(e)},uo=function(){return process.env.APPSHELL_CONFIG||i().join(r().homedir(),".appshell","config")},lo=co(uo()),po={command:["start","$0"],describe:"Open an overlay and print the url that applies it",builder:function(e){return e.option("port",{type:"number",description:"Port this package is running on locally, as http://localhost:<port>"}).option("url",{type:"string",description:"Full origin this package is served from, when it is not localhost"}).conflicts("port","url").option("package",{type:"string",description:"Package whose remotes to redirect. Defaults to the package.json in this directory"}).option("remote",{type:"array",string:!0,description:"Redirect only these remote keys. Defaults to every remote the package publishes"}).option("theme",{type:"string",description:"Render with a different theme for this browser only, as 'base-accent' or a published ref"}).option("shell",{choices:["prod","dev"],default:"dev",description:"Shell bundle to serve. The development build is what supports hot reloading remotes in place"}).option("open",{boolean:!0,default:!0,description:"Open the confirmation page in a browser"})},handler:Tt},fo={command:"status",describe:"List the overlays currently open on the application",handler:Lt},ho={command:"stop [id]",describe:"Close an overlay, reverting the application for anyone holding it",builder:function(e){return e.positional("id",{type:"string",description:"Overlay to close"}).option("package",{type:"string",description:"Stop redirecting just this package, leaving the rest of the overlay in place. Defaults to the package.json in this directory"}).option("all",{boolean:!0,default:!1,description:"Close every overlay open on this application"})},handler:Ut},mo={command:"dev",describe:"Point an application at this package running locally, for this browser only",builder:function(e){return e.command(po).command(fo).command(ho)},handler:function(){}},yo={command:"manifest",describe:"Generate the appshell manifest by processing the template specified by --template",builder:function(e){return e.option("template",{alias:"t",type:"string",description:"Path to the appshell config template to process"}).option("outDir",{alias:"o",default:"dist",requiresArg:!0,type:"string",description:"Output location for the appshell manifest"}).option("outFile",{alias:"f",default:"appshell.manifest.json",type:"string",description:"Output filename for the appshell manifest"})},handler:rn},go={command:"outdated",aliases:["o"],describe:"Analyzes shared dependencies for outdated versions",builder:function(e){return e.option("registry",{description:"Registry against which the package is compared"}).option("workingDir",{alias:"d",default:".",description:"Working directory to analyze shared dependencies"}).option("manager",{alias:"m",default:"npm",type:"string",choices:["npm","yarn"],description:"Package manager to use for dependency resolution"})},handler:dr},vo={command:"init",aliases:["i"],describe:"Initialize the configuration",builder:function(e){return e.option("config",{alias:"c",describe:"Path to the cli config file",default:uo(),type:"string"}).option("scopeId",{describe:"Scope that owns unqualified packages and applications",type:"string"}).option("application",{describe:"Application to operate against, as 'name' or 'scope/name'",type:"string"}).option("authIssuer",{describe:"OIDC issuer the registry authenticates against",type:"string"}).option("clientId",{describe:"OIDC client the cli authenticates as",type:"string"})},handler:ue},bo={command:"list",aliases:["ls"],describe:"Print the current cli configuration",builder:function(e){return e.option("config",{alias:"c",describe:"Path to the cli config file",default:uo(),type:"string"})},handler:we},xo={command:"set <key> <value>",describe:"Set a value in the cli configuration",builder:function(e){return e.positional("key",{type:"string",demandOption:!0}).positional("value",{type:"string",demandOption:!0}).option("config",{alias:"c",describe:"Path to the cli config file",default:uo(),type:"string"})},handler:Me},wo={command:"login",describe:"Authenticate with an appshell registry",builder:function(e){return e.option("authIssuer",{default:process.env.APPSHELL_AUTH_ISSUER||lo.authIssuer||"",type:"string",description:"OIDC issuer url used to obtain a token"}).option("clientId",{default:process.env.APPSHELL_CLIENT_ID||lo.clientId||"appshell-cli",type:"string",description:"OIDC client id"}).option("clientSecret",{default:process.env.APPSHELL_CLIENT_SECRET,type:"string",description:"OIDC client secret. Switches to the client credentials grant for CI. Prefer APPSHELL_CLIENT_SECRET"}).option("scope",{default:"openid profile",type:"string",description:"OIDC scopes to request"})},handler:Dn},_o={command:"logout",describe:"Discard the stored credential for a registry",handler:On},Eo={command:"publish",describe:"Publish a package to the appshell registry",builder:function(e){return e.option("template",{alias:"t",type:"string",description:"Path to the appshell config template to process"}).option("name",{type:"string",description:"Package name. Defaults to the unscoped package.json name"}).option("package-version",{type:"string",description:"Package version to publish as. Defaults to the package.json version"}).option("visibility",{type:"string",choices:["public","private"],description:"Visibility of the published version"}).option("watch",{alias:"w",boolean:!0,default:!1,type:"boolean",description:"Republish whenever the template changes"}).option("force",{boolean:!0,default:!1,type:"boolean",description:"Republish over an existing version whose content differs"})},handler:Ar},So={command:"unpublish <name> <version>",describe:"Remove a published package version from the appshell registry",builder:function(e){return e.version(!1).positional("name",{type:"string",demandOption:!0}).positional("version",{type:"string",demandOption:!0})},handler:(io=Yr().mark((function e(t){var r,o;return Yr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(n.bind(n,3577));case 2:return r=e.sent,o=r.RegistryClient,e.next=6,new o(t.registry).unpublish(t.scopeId,t.name,t.version);case 6:console.log("Unpublished ".concat(t.scopeId,"/").concat(t.name,"@").concat(t.version));case 7:case"end":return e.stop()}}),e)})),so=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=io.apply(e,t);function i(e){oo(o,n,r,i,s,"next",e)}function s(e){oo(o,n,r,i,s,"throw",e)}i(void 0)}))},function(e){return so.apply(this,arguments)})};(ao=(0,e.a)(process.argv),lo=co(uo()),(0,s.A)(ao).option("apiKey",{alias:"k",default:process.env.APPSHELL_API_KEY||lo.apiKey||"",type:"string",description:"Api key to use for appshell registry",global:!0}).option("apiKeyHeader",{default:process.env.APPSHELL_API_KEY_HEADER||lo.apiKeyHeader||"x-api-key",type:"string",description:"Header to send the registry api key in",global:!0}).option("registry",{alias:"r",describe:"Appshell registry to operate against",default:process.env.APPSHELL_REGISTRY||lo.registry||"http://localhost:7150",type:"string",global:!0}).option("application",{alias:"a",describe:"Application to operate against, as 'name' or 'scope/name'",default:process.env.APPSHELL_APPLICATION||lo.application,type:"string",global:!0}).option("scopeId",{describe:"Scope that owns unqualified packages and applications",default:process.env.APPSHELL_SCOPE_ID||lo.scopeId||"default",type:"string",global:!0}).option("verbose",{alias:"v",boolean:!0,default:!1,type:"boolean",description:"Verbose output",global:!0}).middleware((function(e){e.verbose||(console.debug=function(){})})).command({command:"generate [target]",describe:"Generates a resource",handler:function(){},builder:function(e){return e.command(yo).demandCommand()}}).command({command:"config [target]",describe:"Configures the appshell cli",handler:function(){},builder:function(e){return e.command(vo).command(bo).command(xo).demandCommand()}}).command({command:"theme <target>",describe:"Publish and browse themes in the appshell registry",handler:function(){},builder:function(e){return e.command({command:"list",describe:"List themes this scope may use: its own, plus every public one",builder:function(e){return e.option("scope",{type:"string",description:"List another scope instead of the configured one"})},handler:Vr}).command({command:"get <ref>",describe:"Read a theme, values included. 'name', 'scope/name' or 'scope/name@version'",builder:function(e){return e.positional("ref",{type:"string",demandOption:!0})},handler:Gr}).command({command:"init",describe:"Fork a published theme into a file to edit",builder:function(e){return e.option("from",{type:"string",demandOption:!0,description:"Theme to fork, as 'scope/name@version'"}).option("name",{type:"string",description:"Name for the new theme. Defaults to '<source>-fork'"}).option("out",{alias:"o",type:"string",description:"Write to this file instead of stdout"})},handler:Hr}).command({command:"publish",describe:"Publish a theme from a file",builder:function(e){return e.option("file",{alias:"f",type:"string",demandOption:!0,description:"Path to the theme resource to publish"})},handler:Kr}).demandCommand()}}).command({command:"app <target>",describe:"Manage appshell applications",handler:function(){},builder:function(e){return e.command({command:"apply",describe:"Reconcile an application against a declared resource file",builder:function(e){return e.option("file",{alias:"f",type:"string",demandOption:!0,requiresArg:!0,describe:"Path to an application resource, as yaml or json"})},handler:H}).command({command:"list",aliases:["ls"],describe:"List applications",builder:function(e){return e.option("owner",{type:"string",description:"Filter by owner"})},handler:R}).command({command:"get [name]",describe:"Show a single application",handler:N}).command({command:"create <name>",describe:"Create an application",builder:function(e){return e.positional("name",{type:"string",demandOption:!0}).option("ephemeral",{boolean:!0,default:!1,type:"boolean"}).option("shell-bundle-url",{type:"string",describe:"Shell bundle this application loads, instead of the registry default"})},handler:T}).command({command:"delete [name]",aliases:["rm"],describe:"Delete an application",handler:I}).command({command:"activate <package>",describe:"Activate a package, as 'scope/name@version', supplying any vars it declares",builder:function(e){return e.positional("package",{type:"string",demandOption:!0}).option("set",{type:"array",string:!0,description:"Supply a var the package declares, as NAME=value. Repeatable. The scope is resolved from the package, so a name it does not declare is refused."})},handler:M}).command({command:"deactivate <package>",describe:"Remove a package from an application, as 'name' or 'scope/name'",builder:function(e){return e.positional("package",{type:"string",demandOption:!0})},handler:L}).command({command:"revisions [name]",describe:"List an application revision history",builder:function(e){return e.option("limit",{type:"number"})},handler:B}).command({command:"rollback [name]",describe:"Roll an application back to a previous revision",builder:function(e){return e.option("to",{type:"number",demandOption:!0,description:"Revision"})},handler:U}).command({command:"composition [name]",describe:"Print the resolved composition for an application",handler:q}).command({command:"open [name]",describe:"Print the shell url for an application",handler:z}).command({command:"sync",describe:"Sync a target application from a source application",builder:function(e){return e.option("from",{type:"string",demandOption:!0,description:"Source application as 'name' or 'scope/name'"}).option("to",{type:"string",description:"Target application as 'name' or 'scope/name'. Defaults to --application."}).option("mode",{type:"string",choices:["replace","merge"],default:"replace",description:"replace copies source fields verbatim, merge applies source values"}).option("include",{type:"array",string:!0,choices:["packages","shell","overrides","allowOverrides","sharedBaselines","sharedDepsEnforcement"],description:"Optional list of application sections to sync"})},handler:V}).command({command:"clone",describe:"Create a new application by cloning a source application",builder:function(e){return e.option("from",{type:"string",demandOption:!0,description:"Source application as 'name' or 'scope/name'"}).option("to",{type:"string",description:"Target application as 'name' or 'scope/name'. Defaults to --application."}).option("ephemeral",{boolean:!0,type:"boolean",description:"Optional ephemeral override on the target application"})},handler:G}).demandCommand()}}).command(mo).command(wo).command(_o).command(Eo).command(So).command(go).version(c.rE).help().alias("h","help").demandCommand(1,"Specify a command. Run `appshell --help` to see them.").strictCommands()).fail((function(e,t){console.error(t?t.message:e),t||console.error("You can use --help to see available options"),process.exit(1)})).parse()})(),{}})()));
|