@goldskycom/cli 0.2.7 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +71 -71
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var rE=Object.create;var Ta=Object.defineProperty;var aE=Object.getOwnPropertyDescriptor;var sE=Object.getOwnPropertyNames,mh=Object.getOwnPropertySymbols,oE=Object.getPrototypeOf,vh=Object.prototype.hasOwnProperty,cE=Object.prototype.propertyIsEnumerable;var gh=(e,t,n)=>t in e?Ta(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bh=(e,t)=>{for(var n in t||(t={}))vh.call(t,n)&&gh(e,n,t[n]);if(mh)for(var n of mh(t))cE.call(t,n)&&gh(e,n,t[n]);return e};var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ot=(e,t)=>{for(var n in t)Ta(e,n,{get:t[n],enumerable:!0})},xh=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of sE(t))!vh.call(e,r)&&r!==n&&Ta(e,r,{get:()=>t[r],enumerable:!(i=aE(t,r))||i.enumerable});return e};var ue=(e,t,n)=>(n=e!=null?rE(oE(e)):{},xh(t||!e||!e.__esModule?Ta(n,"default",{value:e,enumerable:!0}):n,e)),lE=e=>xh(Ta({},"__esModule",{value:!0}),e);var Ai=b(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});j.Type=j.TypeBuilder=j.VoidKind=j.UndefinedKind=j.PromiseKind=j.FunctionKind=j.ConstructorKind=j.RefKind=j.AnyKind=j.UnknownKind=j.NullKind=j.BooleanKind=j.IntegerKind=j.NumberKind=j.StringKind=j.LiteralKind=j.EnumKind=j.ArrayKind=j.RecordKind=j.ObjectKind=j.TupleKind=j.UnionKind=j.IntersectKind=j.KeyOfKind=j.NamespaceKind=j.ReadonlyModifier=j.OptionalModifier=j.ReadonlyOptionalModifier=void 0;j.ReadonlyOptionalModifier=Symbol("ReadonlyOptionalModifier");j.OptionalModifier=Symbol("OptionalModifier");j.ReadonlyModifier=Symbol("ReadonlyModifier");j.NamespaceKind=Symbol("NamespaceKind");j.KeyOfKind=Symbol("KeyOfKind");j.IntersectKind=Symbol("IntersectKind");j.UnionKind=Symbol("UnionKind");j.TupleKind=Symbol("TupleKind");j.ObjectKind=Symbol("ObjectKind");j.RecordKind=Symbol("RecordKind");j.ArrayKind=Symbol("ArrayKind");j.EnumKind=Symbol("EnumKind");j.LiteralKind=Symbol("LiteralKind");j.StringKind=Symbol("StringKind");j.NumberKind=Symbol("NumberKind");j.IntegerKind=Symbol("IntegerKind");j.BooleanKind=Symbol("BooleanKind");j.NullKind=Symbol("NullKind");j.UnknownKind=Symbol("UnknownKind");j.AnyKind=Symbol("AnyKind");j.RefKind=Symbol("RefKind");j.ConstructorKind=Symbol("ConstructorKind");j.FunctionKind=Symbol("FunctionKind");j.PromiseKind=Symbol("PromiseKind");j.UndefinedKind=Symbol("UndefinedKind");j.VoidKind=Symbol("VoidKind");function FE(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function DE(e){return typeof e=="object"&&e!==null&&Array.isArray(e)}function vr(e){return FE(e)?Object.keys(e).reduce((t,n)=>({...t,[n]:vr(e[n])}),{}):DE(e)?e.map(t=>vr(t)):e}var mo=class{schemas=new Map;ReadonlyOptional(t){return{...t,modifier:j.ReadonlyOptionalModifier}}Readonly(t){return{...t,modifier:j.ReadonlyModifier}}Optional(t){return{...t,modifier:j.OptionalModifier}}Tuple(t,n={}){let r=t.length,a=t.length,s=t.length>0?{...n,kind:j.TupleKind,type:"array",items:t,additionalItems:!1,minItems:r,maxItems:a}:{...n,kind:j.TupleKind,type:"array",minItems:r,maxItems:a};return this.Store(s)}Object(t,n={}){let i=Object.keys(t),r=i.filter(o=>{let c=t[o];return c.modifier&&(c.modifier===j.OptionalModifier||c.modifier===j.ReadonlyOptionalModifier)}),a=i.filter(o=>!r.includes(o)),s=a.length>0?a:void 0;return this.Store(s?{...n,kind:j.ObjectKind,type:"object",properties:t,required:s}:{...n,kind:j.ObjectKind,type:"object",properties:t})}Intersect(t,n={}){return this.Store({...n,kind:j.IntersectKind,type:"object",allOf:t})}Union(t,n={}){return this.Store({...n,kind:j.UnionKind,anyOf:t})}Array(t,n={}){return this.Store({...n,kind:j.ArrayKind,type:"array",items:t})}Enum(t,n={}){let r=Object.keys(t).filter(a=>isNaN(a)).map(a=>t[a]).map(a=>typeof a=="string"?{type:"string",const:a}:{type:"number",const:a});return this.Store({...n,kind:j.EnumKind,anyOf:r})}Literal(t,n={}){return this.Store({...n,kind:j.LiteralKind,const:t,type:typeof t})}String(t={}){return this.Store({...t,kind:j.StringKind,type:"string"})}RegEx(t,n={}){return this.String({...n,pattern:t.source})}Number(t={}){return this.Store({...t,kind:j.NumberKind,type:"number"})}Integer(t={}){return this.Store({...t,kind:j.IntegerKind,type:"integer"})}Boolean(t={}){return this.Store({...t,kind:j.BooleanKind,type:"boolean"})}Null(t={}){return this.Store({...t,kind:j.NullKind,type:"null"})}Unknown(t={}){return this.Store({...t,kind:j.UnknownKind})}Any(t={}){return this.Store({...t,kind:j.AnyKind})}Record(t,n,i={}){let r=(()=>{switch(t.kind){case j.UnionKind:return`^${t.anyOf.map(a=>a.const).join("|")}$`;case j.KeyOfKind:return`^${t.enum.join("|")}$`;case j.NumberKind:return"^(0|[1-9][0-9]*)$";case j.StringKind:return t.pattern?t.pattern:"^.*$";default:throw Error("Invalid Record Key")}})();return this.Store({...i,kind:j.RecordKind,type:"object",patternProperties:{[r]:n}})}KeyOf(t,n={}){let i=this.Deref(t),r=Object.keys(i.properties);return this.Store({...n,kind:j.KeyOfKind,type:"string",enum:r})}Required(t,n={}){let i=this.Deref(t),r={...vr(i),...n};r.required=Object.keys(r.properties);for(let a of Object.keys(r.properties)){let s=r.properties[a];switch(s.modifier){case j.ReadonlyOptionalModifier:s.modifier=j.ReadonlyModifier;break;case j.ReadonlyModifier:s.modifier=j.ReadonlyModifier;break;case j.OptionalModifier:delete s.modifier;break;default:delete s.modifier;break}}return this.Store(r)}Partial(t,n={}){let i=this.Deref(t),r={...vr(i),...n};delete r.required;for(let a of Object.keys(r.properties)){let s=r.properties[a];switch(s.modifier){case j.ReadonlyOptionalModifier:s.modifier=j.ReadonlyOptionalModifier;break;case j.ReadonlyModifier:s.modifier=j.ReadonlyOptionalModifier;break;case j.OptionalModifier:s.modifier=j.OptionalModifier;break;default:s.modifier=j.OptionalModifier;break}}return this.Store(r)}Pick(t,n,i={}){let r=this.Deref(t),a={...vr(r),...i};a.required=a.required?a.required.filter(s=>n.includes(s)):void 0;for(let s of Object.keys(a.properties))n.includes(s)||delete a.properties[s];return this.Store(a)}Omit(t,n,i={}){let r=this.Deref(t),a={...vr(r),...i};a.required=a.required?a.required.filter(s=>!n.includes(s)):void 0;for(let s of Object.keys(a.properties))n.includes(s)&&delete a.properties[s];return this.Store(a)}Strict(t,n={}){return JSON.parse(JSON.stringify({...n,...t}))}Constructor(t,n,i={}){return this.Store({...i,kind:j.ConstructorKind,type:"constructor",arguments:t,returns:n})}Function(t,n,i={}){return this.Store({...i,kind:j.FunctionKind,type:"function",arguments:t,returns:n})}Promise(t,n={}){return this.Store({...n,type:"promise",kind:j.PromiseKind,item:t})}Undefined(t={}){return this.Store({...t,type:"undefined",kind:j.UndefinedKind})}Void(t={}){return this.Store({...t,type:"void",kind:j.VoidKind})}Namespace(t,n={}){return this.Store({...n,kind:j.NamespaceKind,$defs:t})}Ref(...t){if(t.length===2){let n=t[0],i=t[1];if(n.$id===void 0)throw new Error("Referenced namespace has no $id");if(!this.schemas.has(n.$id))throw new Error(`Unable to locate namespace with $id '${n.$id}'`);return this.Store({kind:j.RefKind,$ref:`${n.$id}#/$defs/${i}`})}else if(t.length===1){let n=t[0];if(n.$id===void 0)throw new Error("Referenced schema has no $id");if(!this.schemas.has(n.$id))throw new Error(`Unable to locate schema with $id '${n.$id}'`);return this.Store({kind:j.RefKind,$ref:n.$id})}else throw new Error("Type.Ref: Invalid arguments")}Rec(t,n={}){let i=n.$id||"",r=t({$ref:`${i}#/$defs/self`});return this.Store({...n,$ref:`${i}#/$defs/self`,$defs:{self:r}})}Store(t){let n=t;return n.$id&&this.schemas.set(n.$id,n),n}Deref(t){let n=t;if(n.kind!==j.RefKind)return t;if(!this.schemas.has(n.$ref))throw Error(`Unable to locate schema with $id '${n.$ref}'`);return this.Deref(this.schemas.get(n.$ref))}};j.TypeBuilder=mo;j.Type=new mo});var Sm=b(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.CreateOneClickDeploymentMessageSchema=Ve.GetOneClickDeploymentsMessageSchema=Ve.GetAllSubgraphsMessageSchema=Ve.GetSubgraphMessageSchema=Ve.GetSubgraphVersionsMessageSchema=Ve.RemoveMessageSchema=Ve.CreateTagMessageSchema=Ve.DeployMessageSchema=void 0;var ee=Ai(),zE=ee.Type.Object({bundle:ee.Type.Object({encoding:ee.Type.String(),filename:ee.Type.String(),mimetype:ee.Type.String()}),overwrite:ee.Type.Object({value:ee.Type.String()})}),lu=ee.Type.Object({name:ee.Type.String(),version_label:ee.Type.String()});Ve.DeployMessageSchema={params:lu,body:zE};var $E=ee.Type.Object({target_version:ee.Type.Optional(ee.Type.String())});Ve.CreateTagMessageSchema={body:$E,params:lu};Ve.RemoveMessageSchema={params:lu};var UE=ee.Type.Object({created_at:ee.Type.Number(),deployment_id:ee.Type.String(),health:ee.Type.String(),synced:ee.Type.Boolean(),fatal_error:ee.Type.Optional(ee.Type.String()),non_fatal_errors:ee.Type.Optional(ee.Type.Array(ee.Type.String())),indexing_progress:ee.Type.Optional(ee.Type.Object({network:ee.Type.String(),progress_percent:ee.Type.Number(),chain_head_block:ee.Type.Number(),deployment_head_block:ee.Type.Number(),deployment_start_block:ee.Type.Number(),synced:ee.Type.Boolean()}))}),oP=ee.Type.Object({name:ee.Type.String(),version:ee.Type.String(),tag:ee.Type.Optional(ee.Type.Object({target_version:ee.Type.Optional(ee.Type.String())})),health:ee.Type.String(),synced:ee.Type.Boolean(),graphql_endpoint:ee.Type.String(),deployments:ee.Type.Array(UE)}),WE=ee.Type.Object({name:ee.Type.String()});Ve.GetSubgraphVersionsMessageSchema={params:WE};var KE=ee.Type.Object({name:ee.Type.String(),version_label:ee.Type.String()});Ve.GetSubgraphMessageSchema={params:KE};Ve.GetAllSubgraphsMessageSchema={};Ve.GetOneClickDeploymentsMessageSchema={};var YE=ee.Type.Object({name:ee.Type.String(),description:ee.Type.String(),version:ee.Type.String(),ipfsHash:ee.Type.String(),url:ee.Type.String()});Ve.CreateOneClickDeploymentMessageSchema={body:YE}});var Em=b(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.ListStreamsMessageSchema=et.ListSourcesMessageSchema=et.ListDestinationsMessageSchema=et.Destination=et.Stream=et.Source=void 0;var he=Ai();et.Source=he.Type.Object({id:he.Type.String(),project_id:he.Type.String(),name:he.Type.String(),type:he.Type.String(),created_at:he.Type.Number()});et.Stream=he.Type.Object({id:he.Type.String(),project_id:he.Type.String(),created_at:he.Type.Number(),name:he.Type.String(),type:he.Type.String(),dependencies:he.Type.Array(he.Type.String(),{description:"Either there are a list of stream IDs as dependencies here, or the `source_id`property is populated."}),source_id:he.Type.String({description:"The source that this stream depends on if it's not populated by other streams."}),published:he.Type.Boolean(),health:he.Type.String(),subgraph_indexing_progress:he.Type.Object({network:he.Type.String(),progress_percent:he.Type.Number(),chain_head_block:he.Type.Number(),deployment_head_block:he.Type.Number(),deployment_start_block:he.Type.Number()})});et.Destination=he.Type.Object({id:he.Type.String(),project_id:he.Type.String(),created_at:he.Type.Number(),name:he.Type.String(),type:he.Type.String(),external_url:he.Type.String()});et.ListDestinationsMessageSchema={description:`
|
|
1
|
+
"use strict";var rE=Object.create;var Ta=Object.defineProperty;var aE=Object.getOwnPropertyDescriptor;var sE=Object.getOwnPropertyNames,gh=Object.getOwnPropertySymbols,oE=Object.getPrototypeOf,bh=Object.prototype.hasOwnProperty,cE=Object.prototype.propertyIsEnumerable;var vh=(e,t,n)=>t in e?Ta(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xh=(e,t)=>{for(var n in t||(t={}))bh.call(t,n)&&vh(e,n,t[n]);if(gh)for(var n of gh(t))cE.call(t,n)&&vh(e,n,t[n]);return e};var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ot=(e,t)=>{for(var n in t)Ta(e,n,{get:t[n],enumerable:!0})},yh=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of sE(t))!bh.call(e,r)&&r!==n&&Ta(e,r,{get:()=>t[r],enumerable:!(i=aE(t,r))||i.enumerable});return e};var ue=(e,t,n)=>(n=e!=null?rE(oE(e)):{},yh(t||!e||!e.__esModule?Ta(n,"default",{value:e,enumerable:!0}):n,e)),lE=e=>yh(Ta({},"__esModule",{value:!0}),e);var Ai=b(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});j.Type=j.TypeBuilder=j.VoidKind=j.UndefinedKind=j.PromiseKind=j.FunctionKind=j.ConstructorKind=j.RefKind=j.AnyKind=j.UnknownKind=j.NullKind=j.BooleanKind=j.IntegerKind=j.NumberKind=j.StringKind=j.LiteralKind=j.EnumKind=j.ArrayKind=j.RecordKind=j.ObjectKind=j.TupleKind=j.UnionKind=j.IntersectKind=j.KeyOfKind=j.NamespaceKind=j.ReadonlyModifier=j.OptionalModifier=j.ReadonlyOptionalModifier=void 0;j.ReadonlyOptionalModifier=Symbol("ReadonlyOptionalModifier");j.OptionalModifier=Symbol("OptionalModifier");j.ReadonlyModifier=Symbol("ReadonlyModifier");j.NamespaceKind=Symbol("NamespaceKind");j.KeyOfKind=Symbol("KeyOfKind");j.IntersectKind=Symbol("IntersectKind");j.UnionKind=Symbol("UnionKind");j.TupleKind=Symbol("TupleKind");j.ObjectKind=Symbol("ObjectKind");j.RecordKind=Symbol("RecordKind");j.ArrayKind=Symbol("ArrayKind");j.EnumKind=Symbol("EnumKind");j.LiteralKind=Symbol("LiteralKind");j.StringKind=Symbol("StringKind");j.NumberKind=Symbol("NumberKind");j.IntegerKind=Symbol("IntegerKind");j.BooleanKind=Symbol("BooleanKind");j.NullKind=Symbol("NullKind");j.UnknownKind=Symbol("UnknownKind");j.AnyKind=Symbol("AnyKind");j.RefKind=Symbol("RefKind");j.ConstructorKind=Symbol("ConstructorKind");j.FunctionKind=Symbol("FunctionKind");j.PromiseKind=Symbol("PromiseKind");j.UndefinedKind=Symbol("UndefinedKind");j.VoidKind=Symbol("VoidKind");function FE(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function DE(e){return typeof e=="object"&&e!==null&&Array.isArray(e)}function vr(e){return FE(e)?Object.keys(e).reduce((t,n)=>({...t,[n]:vr(e[n])}),{}):DE(e)?e.map(t=>vr(t)):e}var mo=class{schemas=new Map;ReadonlyOptional(t){return{...t,modifier:j.ReadonlyOptionalModifier}}Readonly(t){return{...t,modifier:j.ReadonlyModifier}}Optional(t){return{...t,modifier:j.OptionalModifier}}Tuple(t,n={}){let r=t.length,a=t.length,s=t.length>0?{...n,kind:j.TupleKind,type:"array",items:t,additionalItems:!1,minItems:r,maxItems:a}:{...n,kind:j.TupleKind,type:"array",minItems:r,maxItems:a};return this.Store(s)}Object(t,n={}){let i=Object.keys(t),r=i.filter(o=>{let c=t[o];return c.modifier&&(c.modifier===j.OptionalModifier||c.modifier===j.ReadonlyOptionalModifier)}),a=i.filter(o=>!r.includes(o)),s=a.length>0?a:void 0;return this.Store(s?{...n,kind:j.ObjectKind,type:"object",properties:t,required:s}:{...n,kind:j.ObjectKind,type:"object",properties:t})}Intersect(t,n={}){return this.Store({...n,kind:j.IntersectKind,type:"object",allOf:t})}Union(t,n={}){return this.Store({...n,kind:j.UnionKind,anyOf:t})}Array(t,n={}){return this.Store({...n,kind:j.ArrayKind,type:"array",items:t})}Enum(t,n={}){let r=Object.keys(t).filter(a=>isNaN(a)).map(a=>t[a]).map(a=>typeof a=="string"?{type:"string",const:a}:{type:"number",const:a});return this.Store({...n,kind:j.EnumKind,anyOf:r})}Literal(t,n={}){return this.Store({...n,kind:j.LiteralKind,const:t,type:typeof t})}String(t={}){return this.Store({...t,kind:j.StringKind,type:"string"})}RegEx(t,n={}){return this.String({...n,pattern:t.source})}Number(t={}){return this.Store({...t,kind:j.NumberKind,type:"number"})}Integer(t={}){return this.Store({...t,kind:j.IntegerKind,type:"integer"})}Boolean(t={}){return this.Store({...t,kind:j.BooleanKind,type:"boolean"})}Null(t={}){return this.Store({...t,kind:j.NullKind,type:"null"})}Unknown(t={}){return this.Store({...t,kind:j.UnknownKind})}Any(t={}){return this.Store({...t,kind:j.AnyKind})}Record(t,n,i={}){let r=(()=>{switch(t.kind){case j.UnionKind:return`^${t.anyOf.map(a=>a.const).join("|")}$`;case j.KeyOfKind:return`^${t.enum.join("|")}$`;case j.NumberKind:return"^(0|[1-9][0-9]*)$";case j.StringKind:return t.pattern?t.pattern:"^.*$";default:throw Error("Invalid Record Key")}})();return this.Store({...i,kind:j.RecordKind,type:"object",patternProperties:{[r]:n}})}KeyOf(t,n={}){let i=this.Deref(t),r=Object.keys(i.properties);return this.Store({...n,kind:j.KeyOfKind,type:"string",enum:r})}Required(t,n={}){let i=this.Deref(t),r={...vr(i),...n};r.required=Object.keys(r.properties);for(let a of Object.keys(r.properties)){let s=r.properties[a];switch(s.modifier){case j.ReadonlyOptionalModifier:s.modifier=j.ReadonlyModifier;break;case j.ReadonlyModifier:s.modifier=j.ReadonlyModifier;break;case j.OptionalModifier:delete s.modifier;break;default:delete s.modifier;break}}return this.Store(r)}Partial(t,n={}){let i=this.Deref(t),r={...vr(i),...n};delete r.required;for(let a of Object.keys(r.properties)){let s=r.properties[a];switch(s.modifier){case j.ReadonlyOptionalModifier:s.modifier=j.ReadonlyOptionalModifier;break;case j.ReadonlyModifier:s.modifier=j.ReadonlyOptionalModifier;break;case j.OptionalModifier:s.modifier=j.OptionalModifier;break;default:s.modifier=j.OptionalModifier;break}}return this.Store(r)}Pick(t,n,i={}){let r=this.Deref(t),a={...vr(r),...i};a.required=a.required?a.required.filter(s=>n.includes(s)):void 0;for(let s of Object.keys(a.properties))n.includes(s)||delete a.properties[s];return this.Store(a)}Omit(t,n,i={}){let r=this.Deref(t),a={...vr(r),...i};a.required=a.required?a.required.filter(s=>!n.includes(s)):void 0;for(let s of Object.keys(a.properties))n.includes(s)&&delete a.properties[s];return this.Store(a)}Strict(t,n={}){return JSON.parse(JSON.stringify({...n,...t}))}Constructor(t,n,i={}){return this.Store({...i,kind:j.ConstructorKind,type:"constructor",arguments:t,returns:n})}Function(t,n,i={}){return this.Store({...i,kind:j.FunctionKind,type:"function",arguments:t,returns:n})}Promise(t,n={}){return this.Store({...n,type:"promise",kind:j.PromiseKind,item:t})}Undefined(t={}){return this.Store({...t,type:"undefined",kind:j.UndefinedKind})}Void(t={}){return this.Store({...t,type:"void",kind:j.VoidKind})}Namespace(t,n={}){return this.Store({...n,kind:j.NamespaceKind,$defs:t})}Ref(...t){if(t.length===2){let n=t[0],i=t[1];if(n.$id===void 0)throw new Error("Referenced namespace has no $id");if(!this.schemas.has(n.$id))throw new Error(`Unable to locate namespace with $id '${n.$id}'`);return this.Store({kind:j.RefKind,$ref:`${n.$id}#/$defs/${i}`})}else if(t.length===1){let n=t[0];if(n.$id===void 0)throw new Error("Referenced schema has no $id");if(!this.schemas.has(n.$id))throw new Error(`Unable to locate schema with $id '${n.$id}'`);return this.Store({kind:j.RefKind,$ref:n.$id})}else throw new Error("Type.Ref: Invalid arguments")}Rec(t,n={}){let i=n.$id||"",r=t({$ref:`${i}#/$defs/self`});return this.Store({...n,$ref:`${i}#/$defs/self`,$defs:{self:r}})}Store(t){let n=t;return n.$id&&this.schemas.set(n.$id,n),n}Deref(t){let n=t;if(n.kind!==j.RefKind)return t;if(!this.schemas.has(n.$ref))throw Error(`Unable to locate schema with $id '${n.$ref}'`);return this.Deref(this.schemas.get(n.$ref))}};j.TypeBuilder=mo;j.Type=new mo});var Em=b(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.CreateOneClickDeploymentMessageSchema=Ve.GetOneClickDeploymentsMessageSchema=Ve.GetAllSubgraphsMessageSchema=Ve.GetSubgraphMessageSchema=Ve.GetSubgraphVersionsMessageSchema=Ve.RemoveMessageSchema=Ve.CreateTagMessageSchema=Ve.DeployMessageSchema=void 0;var ee=Ai(),zE=ee.Type.Object({bundle:ee.Type.Object({encoding:ee.Type.String(),filename:ee.Type.String(),mimetype:ee.Type.String()}),overwrite:ee.Type.Object({value:ee.Type.String()})}),uu=ee.Type.Object({name:ee.Type.String(),version_label:ee.Type.String()});Ve.DeployMessageSchema={params:uu,body:zE};var $E=ee.Type.Object({target_version:ee.Type.Optional(ee.Type.String())});Ve.CreateTagMessageSchema={body:$E,params:uu};Ve.RemoveMessageSchema={params:uu};var UE=ee.Type.Object({created_at:ee.Type.Number(),deployment_id:ee.Type.String(),health:ee.Type.String(),synced:ee.Type.Boolean(),fatal_error:ee.Type.Optional(ee.Type.String()),non_fatal_errors:ee.Type.Optional(ee.Type.Array(ee.Type.String())),indexing_progress:ee.Type.Optional(ee.Type.Object({network:ee.Type.String(),progress_percent:ee.Type.Number(),chain_head_block:ee.Type.Number(),deployment_head_block:ee.Type.Number(),deployment_start_block:ee.Type.Number(),synced:ee.Type.Boolean()}))}),oP=ee.Type.Object({name:ee.Type.String(),version:ee.Type.String(),tag:ee.Type.Optional(ee.Type.Object({target_version:ee.Type.Optional(ee.Type.String())})),health:ee.Type.String(),synced:ee.Type.Boolean(),graphql_endpoint:ee.Type.String(),deployments:ee.Type.Array(UE)}),WE=ee.Type.Object({name:ee.Type.String()});Ve.GetSubgraphVersionsMessageSchema={params:WE};var KE=ee.Type.Object({name:ee.Type.String(),version_label:ee.Type.String()});Ve.GetSubgraphMessageSchema={params:KE};Ve.GetAllSubgraphsMessageSchema={};Ve.GetOneClickDeploymentsMessageSchema={};var YE=ee.Type.Object({name:ee.Type.String(),description:ee.Type.String(),version:ee.Type.String(),ipfsHash:ee.Type.String(),url:ee.Type.String()});Ve.CreateOneClickDeploymentMessageSchema={body:YE}});var Om=b(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.ListStreamsMessageSchema=et.ListSourcesMessageSchema=et.ListDestinationsMessageSchema=et.Destination=et.Stream=et.Source=void 0;var he=Ai();et.Source=he.Type.Object({id:he.Type.String(),project_id:he.Type.String(),name:he.Type.String(),type:he.Type.String(),created_at:he.Type.Number()});et.Stream=he.Type.Object({id:he.Type.String(),project_id:he.Type.String(),created_at:he.Type.Number(),name:he.Type.String(),type:he.Type.String(),dependencies:he.Type.Array(he.Type.String(),{description:"Either there are a list of stream IDs as dependencies here, or the `source_id`property is populated."}),source_id:he.Type.String({description:"The source that this stream depends on if it's not populated by other streams."}),published:he.Type.Boolean(),health:he.Type.String(),subgraph_indexing_progress:he.Type.Object({network:he.Type.String(),progress_percent:he.Type.Number(),chain_head_block:he.Type.Number(),deployment_head_block:he.Type.Number(),deployment_start_block:he.Type.Number()})});et.Destination=he.Type.Object({id:he.Type.String(),project_id:he.Type.String(),created_at:he.Type.Number(),name:he.Type.String(),type:he.Type.String(),external_url:he.Type.String()});et.ListDestinationsMessageSchema={description:`
|
|
2
2
|
Gets all destinations for this user.
|
|
3
3
|
Currently displays:
|
|
4
4
|
- graph-node graphql endpoints, one for each subgraph deployment
|
|
@@ -10,31 +10,31 @@
|
|
|
10
10
|
`,response:{200:he.Type.Array(et.Source)}};et.ListStreamsMessageSchema={description:`
|
|
11
11
|
Gets all streams for this user.
|
|
12
12
|
Currently just gets graph-node subgraphs deployments with the sync status.
|
|
13
|
-
`,response:{200:he.Type.Array(et.Stream)}}});var
|
|
14
|
-
`),function(o){if(a=o.indexOf(":"),i=vu.trim(o.substr(0,a)).toLowerCase(),r=vu.trim(o.substr(a+1)),i){if(n[i]&&hO.indexOf(i)>=0)return;i==="set-cookie"?n[i]=(n[i]?n[i]:[]).concat([r]):n[i]=n[i]?n[i]+", "+r:r}}),n}});var Zm=b((SP,Vm)=>{"use strict";var Gm=ot();Vm.exports=Gm.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function r(a){var s=a;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=r(window.location.href),function(s){var o=Gm.isString(s)?r(s):s;return o.protocol===i.protocol&&o.host===i.host}}():function(){return function(){return!0}}()});var xr=b((EP,Jm)=>{"use strict";function bu(e){this.message=e}bu.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};bu.prototype.__CANCEL__=!0;Jm.exports=bu});var Qm=b((OP,Xm)=>{"use strict";var _o=ot(),mO=mu(),gO=Dm(),vO=vo(),bO=gu(),xO=Hm(),yO=Zm(),xu=yo(),wO=yr(),_O=xr();Xm.exports=function(t){return new Promise(function(i,r){var a=t.data,s=t.headers,o=t.responseType,c;function u(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}_o.isFormData(a)&&delete s["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",f=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(p+":"+f)}var m=bO(t.baseURL,t.url);l.open(t.method.toUpperCase(),vO(m,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function v(){if(!!l){var d="getAllResponseHeaders"in l?xO(l.getAllResponseHeaders()):null,x=!o||o==="text"||o==="json"?l.responseText:l.response,_={data:x,status:l.status,statusText:l.statusText,headers:d,config:t,request:l};mO(function(k){i(k),u()},function(k){r(k),u()},_),l=null}}if("onloadend"in l?l.onloadend=v:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(v)},l.onabort=function(){!l||(r(xu("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){r(xu("Network Error",t,null,l)),l=null},l.ontimeout=function(){var x=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",_=t.transitional||wO.transitional;t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),r(xu(x,t,_.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},_o.isStandardBrowserEnv()){var g=(t.withCredentials||yO(m))&&t.xsrfCookieName?gO.read(t.xsrfCookieName):void 0;g&&(s[t.xsrfHeaderName]=g)}"setRequestHeader"in l&&_o.forEach(s,function(x,_){typeof a>"u"&&_.toLowerCase()==="content-type"?delete s[_]:l.setRequestHeader(_,x)}),_o.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),o&&o!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(c=function(d){!l||(r(!d||d&&d.type?new _O("canceled"):d),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c))),a||(a=null),l.send(a)})}});var tg=b((kP,eg)=>{var wr=1e3,_r=wr*60,Sr=_r*60,Ti=Sr*24,SO=Ti*7,EO=Ti*365.25;eg.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0)return OO(e);if(n==="number"&&isFinite(e))return t.long?CO(e):kO(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function OO(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var n=parseFloat(t[1]),i=(t[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return n*EO;case"weeks":case"week":case"w":return n*SO;case"days":case"day":case"d":return n*Ti;case"hours":case"hour":case"hrs":case"hr":case"h":return n*Sr;case"minutes":case"minute":case"mins":case"min":case"m":return n*_r;case"seconds":case"second":case"secs":case"sec":case"s":return n*wr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function kO(e){var t=Math.abs(e);return t>=Ti?Math.round(e/Ti)+"d":t>=Sr?Math.round(e/Sr)+"h":t>=_r?Math.round(e/_r)+"m":t>=wr?Math.round(e/wr)+"s":e+"ms"}function CO(e){var t=Math.abs(e);return t>=Ti?So(e,t,Ti,"day"):t>=Sr?So(e,t,Sr,"hour"):t>=_r?So(e,t,_r,"minute"):t>=wr?So(e,t,wr,"second"):e+" ms"}function So(e,t,n,i){var r=t>=n*1.5;return Math.round(e/n)+" "+i+(r?"s":"")}});var yu=b((CP,ng)=>{function AO(e){n.debug=n,n.default=n,n.coerce=c,n.disable=a,n.enable=r,n.enabled=s,n.humanize=tg(),n.destroy=u,Object.keys(e).forEach(l=>{n[l]=e[l]}),n.names=[],n.skips=[],n.formatters={};function t(l){let p=0;for(let f=0;f<l.length;f++)p=(p<<5)-p+l.charCodeAt(f),p|=0;return n.colors[Math.abs(p)%n.colors.length]}n.selectColor=t;function n(l){let p,f=null,m,v;function g(...d){if(!g.enabled)return;let x=g,_=Number(new Date),C=_-(p||_);x.diff=C,x.prev=p,x.curr=_,p=_,d[0]=n.coerce(d[0]),typeof d[0]!="string"&&d.unshift("%O");let k=0;d[0]=d[0].replace(/%([a-zA-Z%])/g,(F,P)=>{if(F==="%%")return"%";k++;let L=n.formatters[P];if(typeof L=="function"){let $=d[k];F=L.call(x,$),d.splice(k,1),k--}return F}),n.formatArgs.call(x,d),(x.log||n.log).apply(x,d)}return g.namespace=l,g.useColors=n.useColors(),g.color=n.selectColor(l),g.extend=i,g.destroy=n.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(m!==n.namespaces&&(m=n.namespaces,v=n.enabled(l)),v),set:d=>{f=d}}),typeof n.init=="function"&&n.init(g),g}function i(l,p){let f=n(this.namespace+(typeof p>"u"?":":p)+l);return f.log=this.log,f}function r(l){n.save(l),n.namespaces=l,n.names=[],n.skips=[];let p,f=(typeof l=="string"?l:"").split(/[\s,]+/),m=f.length;for(p=0;p<m;p++)!f[p]||(l=f[p].replace(/\*/g,".*?"),l[0]==="-"?n.skips.push(new RegExp("^"+l.slice(1)+"$")):n.names.push(new RegExp("^"+l+"$")))}function a(){let l=[...n.names.map(o),...n.skips.map(o).map(p=>"-"+p)].join(",");return n.enable(""),l}function s(l){if(l[l.length-1]==="*")return!0;let p,f;for(p=0,f=n.skips.length;p<f;p++)if(n.skips[p].test(l))return!1;for(p=0,f=n.names.length;p<f;p++)if(n.names[p].test(l))return!0;return!1}function o(l){return l.toString().substring(2,l.toString().length-2).replace(/\.\*\?$/,"*")}function c(l){return l instanceof Error?l.stack||l.message:l}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}ng.exports=AO});var ig=b((jt,Eo)=>{jt.formatArgs=jO;jt.save=MO;jt.load=RO;jt.useColors=TO;jt.storage=NO();jt.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();jt.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function TO(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function jO(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Eo.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let n=0,i=0;e[0].replace(/%[a-zA-Z%]/g,r=>{r!=="%%"&&(n++,r==="%c"&&(i=n))}),e.splice(i,0,t)}jt.log=console.debug||console.log||(()=>{});function MO(e){try{e?jt.storage.setItem("debug",e):jt.storage.removeItem("debug")}catch{}}function RO(){let e;try{e=jt.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function NO(){try{return localStorage}catch{}}Eo.exports=yu()(jt);var{formatters:LO}=Eo.exports;LO.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var ag=b((AP,rg)=>{"use strict";rg.exports=(e,t=process.argv)=>{let n=e.startsWith("-")?"":e.length===1?"-":"--",i=t.indexOf(n+e),r=t.indexOf("--");return i!==-1&&(r===-1||i<r)}});var Oo=b((TP,og)=>{"use strict";var IO=require("os"),sg=require("tty"),Kt=ag(),{env:Ze}=process,Wn;Kt("no-color")||Kt("no-colors")||Kt("color=false")||Kt("color=never")?Wn=0:(Kt("color")||Kt("colors")||Kt("color=true")||Kt("color=always"))&&(Wn=1);"FORCE_COLOR"in Ze&&(Ze.FORCE_COLOR==="true"?Wn=1:Ze.FORCE_COLOR==="false"?Wn=0:Wn=Ze.FORCE_COLOR.length===0?1:Math.min(parseInt(Ze.FORCE_COLOR,10),3));function wu(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function _u(e,t){if(Wn===0)return 0;if(Kt("color=16m")||Kt("color=full")||Kt("color=truecolor"))return 3;if(Kt("color=256"))return 2;if(e&&!t&&Wn===void 0)return 0;let n=Wn||0;if(Ze.TERM==="dumb")return n;if(process.platform==="win32"){let i=IO.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in Ze)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(i=>i in Ze)||Ze.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in Ze)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ze.TEAMCITY_VERSION)?1:0;if(Ze.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ze){let i=parseInt((Ze.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ze.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ze.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ze.TERM)||"COLORTERM"in Ze?1:n}function qO(e){let t=_u(e,e&&e.isTTY);return wu(t)}og.exports={supportsColor:qO,stdout:wu(_u(!0,sg.isatty(1))),stderr:wu(_u(!0,sg.isatty(2)))}});var lg=b((tt,Co)=>{var PO=require("tty"),ko=require("util");tt.init=WO;tt.log=zO;tt.formatArgs=FO;tt.save=$O;tt.load=UO;tt.useColors=BO;tt.destroy=ko.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");tt.colors=[6,2,3,4,5,1];try{let e=Oo();e&&(e.stderr||e).level>=2&&(tt.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}tt.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(r,a)=>a.toUpperCase()),i=process.env[t];return/^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),e[n]=i,e},{});function BO(){return"colors"in tt.inspectOpts?Boolean(tt.inspectOpts.colors):PO.isatty(process.stderr.fd)}function FO(e){let{namespace:t,useColors:n}=this;if(n){let i=this.color,r="\x1B[3"+(i<8?i:"8;5;"+i),a=` ${r};1m${t} \x1B[0m`;e[0]=a+e[0].split(`
|
|
13
|
+
`,response:{200:he.Type.Array(et.Stream)}}});var pu=b((uP,km)=>{"use strict";km.exports=function(t,n){return function(){for(var r=new Array(arguments.length),a=0;a<r.length;a++)r[a]=arguments[a];return t.apply(n,r)}}});var ot=b((pP,jm)=>{"use strict";var HE=pu(),Un=Object.prototype.toString;function hu(e){return Array.isArray(e)}function fu(e){return typeof e>"u"}function GE(e){return e!==null&&!fu(e)&&e.constructor!==null&&!fu(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Cm(e){return Un.call(e)==="[object ArrayBuffer]"}function VE(e){return Un.call(e)==="[object FormData]"}function ZE(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Cm(e.buffer),t}function JE(e){return typeof e=="string"}function XE(e){return typeof e=="number"}function Am(e){return e!==null&&typeof e=="object"}function go(e){if(Un.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function QE(e){return Un.call(e)==="[object Date]"}function eO(e){return Un.call(e)==="[object File]"}function tO(e){return Un.call(e)==="[object Blob]"}function Tm(e){return Un.call(e)==="[object Function]"}function nO(e){return Am(e)&&Tm(e.pipe)}function iO(e){return Un.call(e)==="[object URLSearchParams]"}function rO(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function aO(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function mu(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),hu(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}function du(){var e={};function t(r,a){go(e[a])&&go(r)?e[a]=du(e[a],r):go(r)?e[a]=du({},r):hu(r)?e[a]=r.slice():e[a]=r}for(var n=0,i=arguments.length;n<i;n++)mu(arguments[n],t);return e}function sO(e,t,n){return mu(t,function(r,a){n&&typeof r=="function"?e[a]=HE(r,n):e[a]=r}),e}function oO(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}jm.exports={isArray:hu,isArrayBuffer:Cm,isBuffer:GE,isFormData:VE,isArrayBufferView:ZE,isString:JE,isNumber:XE,isObject:Am,isPlainObject:go,isUndefined:fu,isDate:QE,isFile:eO,isBlob:tO,isFunction:Tm,isStream:nO,isURLSearchParams:iO,isStandardBrowserEnv:aO,forEach:mu,merge:du,extend:sO,trim:rO,stripBOM:oO}});var vo=b((fP,Rm)=>{"use strict";var br=ot();function Mm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}Rm.exports=function(t,n,i){if(!n)return t;var r;if(i)r=i(n);else if(br.isURLSearchParams(n))r=n.toString();else{var a=[];br.forEach(n,function(c,u){c===null||typeof c>"u"||(br.isArray(c)?u=u+"[]":c=[c],br.forEach(c,function(p){br.isDate(p)?p=p.toISOString():br.isObject(p)&&(p=JSON.stringify(p)),a.push(Mm(u)+"="+Mm(p))}))}),r=a.join("&")}if(r){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}});var Lm=b((dP,Nm)=>{"use strict";var cO=ot();function bo(){this.handlers=[]}bo.prototype.use=function(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1};bo.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};bo.prototype.forEach=function(t){cO.forEach(this.handlers,function(i){i!==null&&t(i)})};Nm.exports=bo});var qm=b((hP,Im)=>{"use strict";var lO=ot();Im.exports=function(t,n){lO.forEach(t,function(r,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=r,delete t[a])})}});var xo=b((mP,Pm)=>{"use strict";Pm.exports=function(t,n,i,r,a){return t.config=n,i&&(t.code=i),t.request=r,t.response=a,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}});var yo=b((gP,Bm)=>{"use strict";var uO=xo();Bm.exports=function(t,n,i,r,a){var s=new Error(t);return uO(s,n,i,r,a)}});var gu=b((vP,Fm)=>{"use strict";var pO=yo();Fm.exports=function(t,n,i){var r=i.config.validateStatus;!i.status||!r||r(i.status)?t(i):n(pO("Request failed with status code "+i.status,i.config,null,i.request,i))}});var zm=b((bP,Dm)=>{"use strict";var wo=ot();Dm.exports=wo.isStandardBrowserEnv()?function(){return{write:function(n,i,r,a,s,o){var c=[];c.push(n+"="+encodeURIComponent(i)),wo.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),wo.isString(a)&&c.push("path="+a),wo.isString(s)&&c.push("domain="+s),o===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){var i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()});var Um=b((xP,$m)=>{"use strict";$m.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}});var Km=b((yP,Wm)=>{"use strict";Wm.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}});var vu=b((wP,Ym)=>{"use strict";var fO=Um(),dO=Km();Ym.exports=function(t,n){return t&&!fO(n)?dO(t,n):n}});var Gm=b((_P,Hm)=>{"use strict";var bu=ot(),hO=["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"];Hm.exports=function(t){var n={},i,r,a;return t&&bu.forEach(t.split(`
|
|
14
|
+
`),function(o){if(a=o.indexOf(":"),i=bu.trim(o.substr(0,a)).toLowerCase(),r=bu.trim(o.substr(a+1)),i){if(n[i]&&hO.indexOf(i)>=0)return;i==="set-cookie"?n[i]=(n[i]?n[i]:[]).concat([r]):n[i]=n[i]?n[i]+", "+r:r}}),n}});var Jm=b((SP,Zm)=>{"use strict";var Vm=ot();Zm.exports=Vm.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function r(a){var s=a;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=r(window.location.href),function(s){var o=Vm.isString(s)?r(s):s;return o.protocol===i.protocol&&o.host===i.host}}():function(){return function(){return!0}}()});var xr=b((EP,Xm)=>{"use strict";function xu(e){this.message=e}xu.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};xu.prototype.__CANCEL__=!0;Xm.exports=xu});var eg=b((OP,Qm)=>{"use strict";var _o=ot(),mO=gu(),gO=zm(),vO=vo(),bO=vu(),xO=Gm(),yO=Jm(),yu=yo(),wO=yr(),_O=xr();Qm.exports=function(t){return new Promise(function(i,r){var a=t.data,s=t.headers,o=t.responseType,c;function u(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}_o.isFormData(a)&&delete s["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",f=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(p+":"+f)}var m=bO(t.baseURL,t.url);l.open(t.method.toUpperCase(),vO(m,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function v(){if(!!l){var d="getAllResponseHeaders"in l?xO(l.getAllResponseHeaders()):null,x=!o||o==="text"||o==="json"?l.responseText:l.response,_={data:x,status:l.status,statusText:l.statusText,headers:d,config:t,request:l};mO(function(k){i(k),u()},function(k){r(k),u()},_),l=null}}if("onloadend"in l?l.onloadend=v:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(v)},l.onabort=function(){!l||(r(yu("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){r(yu("Network Error",t,null,l)),l=null},l.ontimeout=function(){var x=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",_=t.transitional||wO.transitional;t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),r(yu(x,t,_.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},_o.isStandardBrowserEnv()){var g=(t.withCredentials||yO(m))&&t.xsrfCookieName?gO.read(t.xsrfCookieName):void 0;g&&(s[t.xsrfHeaderName]=g)}"setRequestHeader"in l&&_o.forEach(s,function(x,_){typeof a>"u"&&_.toLowerCase()==="content-type"?delete s[_]:l.setRequestHeader(_,x)}),_o.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),o&&o!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(c=function(d){!l||(r(!d||d&&d.type?new _O("canceled"):d),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c))),a||(a=null),l.send(a)})}});var ng=b((kP,tg)=>{var wr=1e3,_r=wr*60,Sr=_r*60,Ti=Sr*24,SO=Ti*7,EO=Ti*365.25;tg.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0)return OO(e);if(n==="number"&&isFinite(e))return t.long?CO(e):kO(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function OO(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var n=parseFloat(t[1]),i=(t[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return n*EO;case"weeks":case"week":case"w":return n*SO;case"days":case"day":case"d":return n*Ti;case"hours":case"hour":case"hrs":case"hr":case"h":return n*Sr;case"minutes":case"minute":case"mins":case"min":case"m":return n*_r;case"seconds":case"second":case"secs":case"sec":case"s":return n*wr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function kO(e){var t=Math.abs(e);return t>=Ti?Math.round(e/Ti)+"d":t>=Sr?Math.round(e/Sr)+"h":t>=_r?Math.round(e/_r)+"m":t>=wr?Math.round(e/wr)+"s":e+"ms"}function CO(e){var t=Math.abs(e);return t>=Ti?So(e,t,Ti,"day"):t>=Sr?So(e,t,Sr,"hour"):t>=_r?So(e,t,_r,"minute"):t>=wr?So(e,t,wr,"second"):e+" ms"}function So(e,t,n,i){var r=t>=n*1.5;return Math.round(e/n)+" "+i+(r?"s":"")}});var wu=b((CP,ig)=>{function AO(e){n.debug=n,n.default=n,n.coerce=c,n.disable=a,n.enable=r,n.enabled=s,n.humanize=ng(),n.destroy=u,Object.keys(e).forEach(l=>{n[l]=e[l]}),n.names=[],n.skips=[],n.formatters={};function t(l){let p=0;for(let f=0;f<l.length;f++)p=(p<<5)-p+l.charCodeAt(f),p|=0;return n.colors[Math.abs(p)%n.colors.length]}n.selectColor=t;function n(l){let p,f=null,m,v;function g(...d){if(!g.enabled)return;let x=g,_=Number(new Date),C=_-(p||_);x.diff=C,x.prev=p,x.curr=_,p=_,d[0]=n.coerce(d[0]),typeof d[0]!="string"&&d.unshift("%O");let k=0;d[0]=d[0].replace(/%([a-zA-Z%])/g,(F,P)=>{if(F==="%%")return"%";k++;let L=n.formatters[P];if(typeof L=="function"){let $=d[k];F=L.call(x,$),d.splice(k,1),k--}return F}),n.formatArgs.call(x,d),(x.log||n.log).apply(x,d)}return g.namespace=l,g.useColors=n.useColors(),g.color=n.selectColor(l),g.extend=i,g.destroy=n.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(m!==n.namespaces&&(m=n.namespaces,v=n.enabled(l)),v),set:d=>{f=d}}),typeof n.init=="function"&&n.init(g),g}function i(l,p){let f=n(this.namespace+(typeof p>"u"?":":p)+l);return f.log=this.log,f}function r(l){n.save(l),n.namespaces=l,n.names=[],n.skips=[];let p,f=(typeof l=="string"?l:"").split(/[\s,]+/),m=f.length;for(p=0;p<m;p++)!f[p]||(l=f[p].replace(/\*/g,".*?"),l[0]==="-"?n.skips.push(new RegExp("^"+l.slice(1)+"$")):n.names.push(new RegExp("^"+l+"$")))}function a(){let l=[...n.names.map(o),...n.skips.map(o).map(p=>"-"+p)].join(",");return n.enable(""),l}function s(l){if(l[l.length-1]==="*")return!0;let p,f;for(p=0,f=n.skips.length;p<f;p++)if(n.skips[p].test(l))return!1;for(p=0,f=n.names.length;p<f;p++)if(n.names[p].test(l))return!0;return!1}function o(l){return l.toString().substring(2,l.toString().length-2).replace(/\.\*\?$/,"*")}function c(l){return l instanceof Error?l.stack||l.message:l}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}ig.exports=AO});var rg=b((jt,Eo)=>{jt.formatArgs=jO;jt.save=MO;jt.load=RO;jt.useColors=TO;jt.storage=NO();jt.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();jt.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function TO(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function jO(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Eo.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let n=0,i=0;e[0].replace(/%[a-zA-Z%]/g,r=>{r!=="%%"&&(n++,r==="%c"&&(i=n))}),e.splice(i,0,t)}jt.log=console.debug||console.log||(()=>{});function MO(e){try{e?jt.storage.setItem("debug",e):jt.storage.removeItem("debug")}catch{}}function RO(){let e;try{e=jt.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function NO(){try{return localStorage}catch{}}Eo.exports=wu()(jt);var{formatters:LO}=Eo.exports;LO.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var sg=b((AP,ag)=>{"use strict";ag.exports=(e,t=process.argv)=>{let n=e.startsWith("-")?"":e.length===1?"-":"--",i=t.indexOf(n+e),r=t.indexOf("--");return i!==-1&&(r===-1||i<r)}});var Oo=b((TP,cg)=>{"use strict";var IO=require("os"),og=require("tty"),Kt=sg(),{env:Ze}=process,Wn;Kt("no-color")||Kt("no-colors")||Kt("color=false")||Kt("color=never")?Wn=0:(Kt("color")||Kt("colors")||Kt("color=true")||Kt("color=always"))&&(Wn=1);"FORCE_COLOR"in Ze&&(Ze.FORCE_COLOR==="true"?Wn=1:Ze.FORCE_COLOR==="false"?Wn=0:Wn=Ze.FORCE_COLOR.length===0?1:Math.min(parseInt(Ze.FORCE_COLOR,10),3));function _u(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Su(e,t){if(Wn===0)return 0;if(Kt("color=16m")||Kt("color=full")||Kt("color=truecolor"))return 3;if(Kt("color=256"))return 2;if(e&&!t&&Wn===void 0)return 0;let n=Wn||0;if(Ze.TERM==="dumb")return n;if(process.platform==="win32"){let i=IO.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in Ze)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(i=>i in Ze)||Ze.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in Ze)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ze.TEAMCITY_VERSION)?1:0;if(Ze.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ze){let i=parseInt((Ze.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ze.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ze.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ze.TERM)||"COLORTERM"in Ze?1:n}function qO(e){let t=Su(e,e&&e.isTTY);return _u(t)}cg.exports={supportsColor:qO,stdout:_u(Su(!0,og.isatty(1))),stderr:_u(Su(!0,og.isatty(2)))}});var ug=b((tt,Co)=>{var PO=require("tty"),ko=require("util");tt.init=WO;tt.log=zO;tt.formatArgs=FO;tt.save=$O;tt.load=UO;tt.useColors=BO;tt.destroy=ko.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");tt.colors=[6,2,3,4,5,1];try{let e=Oo();e&&(e.stderr||e).level>=2&&(tt.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}tt.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(r,a)=>a.toUpperCase()),i=process.env[t];return/^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),e[n]=i,e},{});function BO(){return"colors"in tt.inspectOpts?Boolean(tt.inspectOpts.colors):PO.isatty(process.stderr.fd)}function FO(e){let{namespace:t,useColors:n}=this;if(n){let i=this.color,r="\x1B[3"+(i<8?i:"8;5;"+i),a=` ${r};1m${t} \x1B[0m`;e[0]=a+e[0].split(`
|
|
15
15
|
`).join(`
|
|
16
16
|
`+a),e.push(r+"m+"+Co.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=DO()+t+" "+e[0]}function DO(){return tt.inspectOpts.hideDate?"":new Date().toISOString()+" "}function zO(...e){return process.stderr.write(ko.format(...e)+`
|
|
17
|
-
`)}function $O(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function UO(){return process.env.DEBUG}function WO(e){e.inspectOpts={};let t=Object.keys(tt.inspectOpts);for(let n=0;n<t.length;n++)e.inspectOpts[t[n]]=tt.inspectOpts[t[n]]}Co.exports=
|
|
18
|
-
`).map(t=>t.trim()).join(" ")};cg.O=function(e){return this.inspectOpts.colors=this.useColors,ko.inspect(e,this.inspectOpts)}});var ug=b((jP,Su)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Su.exports=ig():Su.exports=lg()});var fg=b((MP,pg)=>{var qa;pg.exports=function(){if(!qa){try{qa=ug()("follow-redirects")}catch{}typeof qa!="function"&&(qa=function(){})}qa.apply(null,arguments)}});var Pa=b((RP,Cu)=>{var ji=require("url"),Eu=ji.URL,KO=require("http"),YO=require("https"),mg=require("stream").Writable,HO=require("assert"),gg=fg(),Mi=["abort","aborted","connect","error","socket","timeout"],ku=Object.create(null);Mi.forEach(function(e){ku[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}});var dg=Ao("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),GO=Ao("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),VO=Ao("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),ZO=Ao("ERR_STREAM_WRITE_AFTER_END","write after end");function Mt(e,t){mg.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(i){n._processResponse(i)},this._performRequest()}Mt.prototype=Object.create(mg.prototype);Mt.prototype.abort=function(){bg(this._currentRequest),this.emit("abort")};Mt.prototype.write=function(e,t,n){if(this._ending)throw new ZO;if(!(typeof e=="string"||typeof e=="object"&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(typeof t=="function"&&(n=t,t=null),e.length===0){n&&n();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new VO),this.abort())};Mt.prototype.end=function(e,t,n){if(typeof e=="function"?(n=e,e=t=null):typeof t=="function"&&(n=t,t=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,n);else{var i=this,r=this._currentRequest;this.write(e,t,function(){i._ended=!0,r.end(null,null,n)}),this._ending=!0}};Mt.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};Mt.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};Mt.prototype.setTimeout=function(e,t){var n=this;function i(s){s.setTimeout(e),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function r(s){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),a()},e),i(s)}function a(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",a),n.removeListener("error",a),n.removeListener("response",a),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",r)}return t&&this.on("timeout",t),this.socket?r(this.socket):this._currentRequest.once("socket",r),this.on("socket",i),this.on("abort",a),this.on("error",a),this.on("response",a),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){Mt.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(Mt.prototype,e,{get:function(){return this._currentRequest[e]}})});Mt.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}};Mt.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t){this.emit("error",new TypeError("Unsupported protocol "+e));return}if(this._options.agents){var n=e.substr(0,e.length-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);this._currentUrl=ji.format(this._options),i._redirectable=this;for(var r=0;r<Mi.length;r++)i.on(Mi[r],ku[Mi[r]]);if(this._isRedirect){var a=0,s=this,o=this._requestBodyBuffers;(function c(u){if(i===s._currentRequest)if(u)s.emit("error",u);else if(a<o.length){var l=o[a++];i.finished||i.write(l.data,l.encoding,c)}else s._ended&&i.end()})()}};Mt.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n=e.headers.location;if(n&&this._options.followRedirects!==!1&&t>=300&&t<400){if(bg(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new GO);return}((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Ou(/^content-/i,this._options.headers));var i=Ou(/^host$/i,this._options.headers),r=ji.parse(this._currentUrl),a=i||r.host,s=/^\w+:/.test(n)?this._currentUrl:ji.format(Object.assign(r,{host:a})),o;try{o=ji.resolve(s,n)}catch(l){this.emit("error",new dg(l));return}gg("redirecting to",o),this._isRedirect=!0;var c=ji.parse(o);if(Object.assign(this._options,c),(c.protocol!==r.protocol||!XO(c.host,a))&&Ou(/^(?:authorization|cookie)$/i,this._options.headers),typeof this._options.beforeRedirect=="function"){var u={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,u)}catch(l){this.emit("error",l);return}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(l){this.emit("error",new dg(l))}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]};function vg(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach(function(i){var r=i+":",a=n[r]=e[i],s=t[i]=Object.create(a);function o(u,l,p){if(typeof u=="string"){var f=u;try{u=hg(new Eu(f))}catch{u=ji.parse(f)}}else Eu&&u instanceof Eu?u=hg(u):(p=l,l=u,u={protocol:r});return typeof l=="function"&&(p=l,l=null),l=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},u,l),l.nativeProtocols=n,HO.equal(l.protocol,r,"protocol mismatch"),gg("options",l),new Mt(l,p)}function c(u,l,p){var f=s.request(u,l,p);return f.end(),f}Object.defineProperties(s,{request:{value:o,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),t}function JO(){}function hg(e){var t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:e.pathname+e.search,href:e.href};return e.port!==""&&(t.port=Number(e.port)),t}function Ou(e,t){var n;for(var i in t)e.test(i)&&(n=t[i],delete t[i]);return n===null||typeof n>"u"?void 0:String(n).trim()}function Ao(e,t){function n(i){Error.captureStackTrace(this,this.constructor),i?(this.message=t+": "+i.message,this.cause=i):this.message=t}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+e+"]",n.prototype.code=e,n}function bg(e){for(var t=0;t<Mi.length;t++)e.removeListener(Mi[t],ku[Mi[t]]);e.on("error",JO),e.abort()}function XO(e,t){if(e===t)return!0;let n=e.length-t.length-1;return n>0&&e[n]==="."&&e.endsWith(t)}Cu.exports=vg({http:KO,https:YO});Cu.exports.wrap=vg});var To=b((NP,xg)=>{xg.exports={version:"0.26.0"}});var kg=b((LP,Og)=>{"use strict";var Ba=ot(),yg=mu(),QO=gu(),wg=vo(),ek=require("http"),tk=require("https"),nk=Pa().http,ik=Pa().https,_g=require("url"),rk=require("zlib"),ak=To().version,Er=yo(),jo=xo(),sk=yr(),ok=xr(),Sg=/https:?/;function Eg(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+i}e.beforeRedirect=function(a){a.headers.host=a.host,Eg(a,t,a.href)}}Og.exports=function(t){return new Promise(function(i,r){var a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}var o=function(ie){s(),i(ie)},c=!1,u=function(ie){s(),c=!0,r(ie)},l=t.data,p=t.headers,f={};if(Object.keys(p).forEach(function(ie){f[ie.toLowerCase()]=ie}),"user-agent"in f?p[f["user-agent"]]||delete p[f["user-agent"]]:p["User-Agent"]="axios/"+ak,l&&!Ba.isStream(l)){if(!Buffer.isBuffer(l))if(Ba.isArrayBuffer(l))l=Buffer.from(new Uint8Array(l));else if(Ba.isString(l))l=Buffer.from(l,"utf-8");else return u(Er("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));if(t.maxBodyLength>-1&&l.length>t.maxBodyLength)return u(Er("Request body larger than maxBodyLength limit",t));f["content-length"]||(p["Content-Length"]=l.length)}var m=void 0;if(t.auth){var v=t.auth.username||"",g=t.auth.password||"";m=v+":"+g}var d=QO(t.baseURL,t.url),x=_g.parse(d),_=x.protocol||"http:";if(!m&&x.auth){var C=x.auth.split(":"),k=C[0]||"",O=C[1]||"";m=k+":"+O}m&&f.authorization&&delete p[f.authorization];var F=Sg.test(_),P=F?t.httpsAgent:t.httpAgent;try{wg(x.path,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(fe){var L=new Error(fe.message);L.config=t,L.url=t.url,L.exists=!0,u(L)}var $={path:wg(x.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:p,agent:P,agents:{http:t.httpAgent,https:t.httpsAgent},auth:m};t.socketPath?$.socketPath=t.socketPath:($.hostname=x.hostname,$.port=x.port);var B=t.proxy;if(!B&&B!==!1){var q=_.slice(0,-1)+"_proxy",R=process.env[q]||process.env[q.toUpperCase()];if(R){var M=_g.parse(R),I=process.env.no_proxy||process.env.NO_PROXY,K=!0;if(I){var ce=I.split(",").map(function(ie){return ie.trim()});K=!ce.some(function(ie){return ie?ie==="*"||ie[0]==="."&&x.hostname.substr(x.hostname.length-ie.length)===ie?!0:x.hostname===ie:!1})}if(K&&(B={host:M.hostname,port:M.port,protocol:M.protocol},M.auth)){var ve=M.auth.split(":");B.auth={username:ve[0],password:ve[1]}}}}B&&($.headers.host=x.hostname+(x.port?":"+x.port:""),Eg($,B,_+"//"+x.hostname+(x.port?":"+x.port:"")+$.path));var X,Se=F&&(B?Sg.test(B.protocol):!0);t.transport?X=t.transport:t.maxRedirects===0?X=Se?tk:ek:(t.maxRedirects&&($.maxRedirects=t.maxRedirects),X=Se?ik:nk),t.maxBodyLength>-1&&($.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&($.insecureHTTPParser=t.insecureHTTPParser);var le=X.request($,function(ie){if(!le.aborted){var z=ie,ft=ie.req||le;if(ie.statusCode!==204&&ft.method!=="HEAD"&&t.decompress!==!1)switch(ie.headers["content-encoding"]){case"gzip":case"compress":case"deflate":z=z.pipe(rk.createUnzip()),delete ie.headers["content-encoding"];break}var Ft={status:ie.statusCode,statusText:ie.statusMessage,headers:ie.headers,config:t,request:ft};if(t.responseType==="stream")Ft.data=z,yg(o,u,Ft);else{var Z=[],oe=0;z.on("data",function(te){Z.push(te),oe+=te.length,t.maxContentLength>-1&&oe>t.maxContentLength&&(c=!0,z.destroy(),u(Er("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,ft)))}),z.on("aborted",function(){c||(z.destroy(),u(Er("error request aborted",t,"ERR_REQUEST_ABORTED",ft)))}),z.on("error",function(te){le.aborted||u(jo(te,t,null,ft))}),z.on("end",function(){try{var te=Z.length===1?Z[0]:Buffer.concat(Z);t.responseType!=="arraybuffer"&&(te=te.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(te=Ba.stripBOM(te))),Ft.data=te}catch(Fe){u(jo(Fe,t,Fe.code,Ft.request,Ft))}yg(o,u,Ft)})}}});if(le.on("error",function(ie){le.aborted&&ie.code!=="ERR_FR_TOO_MANY_REDIRECTS"||u(jo(ie,t,null,le))}),le.on("socket",function(ie){ie.setKeepAlive(!0,1e3*60)}),t.timeout){var Y=parseInt(t.timeout,10);if(isNaN(Y)){u(Er("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",le));return}le.setTimeout(Y,function(){le.abort();var ie="";t.timeoutErrorMessage?ie=t.timeoutErrorMessage:ie="timeout of "+t.timeout+"ms exceeded";var z=t.transitional||sk.transitional;u(Er(ie,t,z.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",le))})}(t.cancelToken||t.signal)&&(a=function(fe){le.aborted||(le.abort(),u(!fe||fe&&fe.type?new ok("canceled"):fe))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),Ba.isStream(l)?l.on("error",function(ie){u(jo(ie,t,null,le))}).pipe(le):le.end(l)})}});var yr=b((IP,Tg)=>{"use strict";var nt=ot(),Cg=Im(),ck=xo(),lk={"Content-Type":"application/x-www-form-urlencoded"};function Ag(e,t){!nt.isUndefined(e)&&nt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function uk(){var e;return typeof XMLHttpRequest<"u"?e=Qm():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=kg()),e}function pk(e,t,n){if(nt.isString(e))try{return(t||JSON.parse)(e),nt.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}var Mo={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:uk(),transformRequest:[function(t,n){return Cg(n,"Accept"),Cg(n,"Content-Type"),nt.isFormData(t)||nt.isArrayBuffer(t)||nt.isBuffer(t)||nt.isStream(t)||nt.isFile(t)||nt.isBlob(t)?t:nt.isArrayBufferView(t)?t.buffer:nt.isURLSearchParams(t)?(Ag(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):nt.isObject(t)||n&&n["Content-Type"]==="application/json"?(Ag(n,"application/json"),pk(t)):t}],transformResponse:[function(t){var n=this.transitional||Mo.transitional,i=n&&n.silentJSONParsing,r=n&&n.forcedJSONParsing,a=!i&&this.responseType==="json";if(a||r&&nt.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?ck(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};nt.forEach(["delete","get","head"],function(t){Mo.headers[t]={}});nt.forEach(["post","put","patch"],function(t){Mo.headers[t]=nt.merge(lk)});Tg.exports=Mo});var Mg=b((qP,jg)=>{"use strict";var fk=ot(),dk=yr();jg.exports=function(t,n,i){var r=this||dk;return fk.forEach(i,function(s){t=s.call(r,t,n)}),t}});var Au=b((PP,Rg)=>{"use strict";Rg.exports=function(t){return!!(t&&t.__CANCEL__)}});var Ig=b((BP,Lg)=>{"use strict";var Ng=ot(),Tu=Mg(),hk=Au(),mk=yr(),gk=xr();function ju(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gk("canceled")}Lg.exports=function(t){ju(t),t.headers=t.headers||{},t.data=Tu.call(t,t.data,t.headers,t.transformRequest),t.headers=Ng.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Ng.forEach(["delete","get","head","post","put","patch","common"],function(r){delete t.headers[r]});var n=t.adapter||mk.adapter;return n(t).then(function(r){return ju(t),r.data=Tu.call(t,r.data,r.headers,t.transformResponse),r},function(r){return hk(r)||(ju(t),r&&r.response&&(r.response.data=Tu.call(t,r.response.data,r.response.headers,t.transformResponse))),Promise.reject(r)})}});var Mu=b((FP,qg)=>{"use strict";var Rt=ot();qg.exports=function(t,n){n=n||{};var i={};function r(l,p){return Rt.isPlainObject(l)&&Rt.isPlainObject(p)?Rt.merge(l,p):Rt.isPlainObject(p)?Rt.merge({},p):Rt.isArray(p)?p.slice():p}function a(l){if(Rt.isUndefined(n[l])){if(!Rt.isUndefined(t[l]))return r(void 0,t[l])}else return r(t[l],n[l])}function s(l){if(!Rt.isUndefined(n[l]))return r(void 0,n[l])}function o(l){if(Rt.isUndefined(n[l])){if(!Rt.isUndefined(t[l]))return r(void 0,t[l])}else return r(void 0,n[l])}function c(l){if(l in n)return r(t[l],n[l]);if(l in t)return r(void 0,t[l])}var u={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:c};return Rt.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var f=u[p]||a,m=f(p);Rt.isUndefined(m)&&f!==c||(i[p]=m)}),i}});var Fg=b((DP,Bg)=>{"use strict";var vk=To().version,Ru={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Ru[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var Pg={};Ru.transitional=function(t,n,i){function r(a,s){return"[Axios v"+vk+"] Transitional option '"+a+"'"+s+(i?". "+i:"")}return function(a,s,o){if(t===!1)throw new Error(r(s," has been removed"+(n?" in "+n:"")));return n&&!Pg[s]&&(Pg[s]=!0,console.warn(r(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,o):!0}};function bk(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var i=Object.keys(e),r=i.length;r-- >0;){var a=i[r],s=t[a];if(s){var o=e[a],c=o===void 0||s(o,a,e);if(c!==!0)throw new TypeError("option "+a+" must be "+c);continue}if(n!==!0)throw Error("Unknown option "+a)}}Bg.exports={assertOptions:bk,validators:Ru}});var Kg=b((zP,Wg)=>{"use strict";var $g=ot(),xk=vo(),Dg=Nm(),zg=Ig(),Ro=Mu(),Ug=Fg(),Or=Ug.validators;function Fa(e){this.defaults=e,this.interceptors={request:new Dg,response:new Dg}}Fa.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ro(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var i=n.transitional;i!==void 0&&Ug.assertOptions(i,{silentJSONParsing:Or.transitional(Or.boolean),forcedJSONParsing:Or.transitional(Or.boolean),clarifyTimeoutError:Or.transitional(Or.boolean)},!1);var r=[],a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(a=a&&m.synchronous,r.unshift(m.fulfilled,m.rejected))});var s=[];this.interceptors.response.forEach(function(m){s.push(m.fulfilled,m.rejected)});var o;if(!a){var c=[zg,void 0];for(Array.prototype.unshift.apply(c,r),c=c.concat(s),o=Promise.resolve(n);c.length;)o=o.then(c.shift(),c.shift());return o}for(var u=n;r.length;){var l=r.shift(),p=r.shift();try{u=l(u)}catch(f){p(f);break}}try{o=zg(u)}catch(f){return Promise.reject(f)}for(;s.length;)o=o.then(s.shift(),s.shift());return o};Fa.prototype.getUri=function(t){return t=Ro(this.defaults,t),xk(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};$g.forEach(["delete","get","head","options"],function(t){Fa.prototype[t]=function(n,i){return this.request(Ro(i||{},{method:t,url:n,data:(i||{}).data}))}});$g.forEach(["post","put","patch"],function(t){Fa.prototype[t]=function(n,i,r){return this.request(Ro(r||{},{method:t,url:n,data:i}))}});Wg.exports=Fa});var Hg=b(($P,Yg)=>{"use strict";var yk=xr();function kr(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(r){t=r});var n=this;this.promise.then(function(i){if(!!n._listeners){var r,a=n._listeners.length;for(r=0;r<a;r++)n._listeners[r](i);n._listeners=null}}),this.promise.then=function(i){var r,a=new Promise(function(s){n.subscribe(s),r=s}).then(i);return a.cancel=function(){n.unsubscribe(r)},a},e(function(r){n.reason||(n.reason=new yk(r),t(n.reason))})}kr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};kr.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};kr.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};kr.source=function(){var t,n=new kr(function(r){t=r});return{token:n,cancel:t}};Yg.exports=kr});var Vg=b((UP,Gg)=>{"use strict";Gg.exports=function(t){return function(i){return t.apply(null,i)}}});var Jg=b((WP,Zg)=>{"use strict";var wk=ot();Zg.exports=function(t){return wk.isObject(t)&&t.isAxiosError===!0}});var e0=b((KP,Nu)=>{"use strict";var Xg=ot(),_k=uu(),No=Kg(),Sk=Mu(),Ek=yr();function Qg(e){var t=new No(e),n=_k(No.prototype.request,t);return Xg.extend(n,No.prototype,t),Xg.extend(n,t),n.create=function(r){return Qg(Sk(e,r))},n}var fn=Qg(Ek);fn.Axios=No;fn.Cancel=xr();fn.CancelToken=Hg();fn.isCancel=Au();fn.VERSION=To().version;fn.all=function(t){return Promise.all(t)};fn.spread=Vg();fn.isAxiosError=Jg();Nu.exports=fn;Nu.exports.default=fn});var n0=b((YP,t0)=>{t0.exports=e0()});var a0=b((HP,r0)=>{var i0=require("stream").Stream,Ok=require("util");r0.exports=Qt;function Qt(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}Ok.inherits(Qt,i0);Qt.create=function(e,t){var n=new this;t=t||{};for(var i in t)n[i]=t[i];n.source=e;var r=e.emit;return e.emit=function(){return n._handleEmit(arguments),r.apply(e,arguments)},e.on("error",function(){}),n.pauseStream&&e.pause(),n};Object.defineProperty(Qt.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});Qt.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Qt.prototype.resume=function(){this._released||this.release(),this.source.resume()};Qt.prototype.pause=function(){this.source.pause()};Qt.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};Qt.prototype.pipe=function(){var e=i0.prototype.pipe.apply(this,arguments);return this.resume(),e};Qt.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}e[0]==="data"&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)};Qt.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}});var l0=b((GP,c0)=>{var kk=require("util"),o0=require("stream").Stream,s0=a0();c0.exports=Ie;function Ie(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}kk.inherits(Ie,o0);Ie.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t};Ie.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};Ie.prototype.append=function(e){var t=Ie.isStreamLike(e);if(t){if(!(e instanceof s0)){var n=s0.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};Ie.prototype.pipe=function(e,t){return o0.prototype.pipe.call(this,e,t),this.resume(),e};Ie.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};Ie.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var t=e;t(function(n){var i=Ie.isStreamLike(n);i&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n)}.bind(this))};Ie.prototype._pipeNext=function(e){this._currentStream=e;var t=Ie.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var n=e;this.write(n),this._getNext()};Ie.prototype._handleErrors=function(e){var t=this;e.on("error",function(n){t._emitError(n)})};Ie.prototype.write=function(e){this.emit("data",e)};Ie.prototype.pause=function(){!this.pauseStreams||(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};Ie.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};Ie.prototype.end=function(){this._reset(),this.emit("end")};Ie.prototype.destroy=function(){this._reset(),this.emit("close")};Ie.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};Ie.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};Ie.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){!t.dataSize||(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};Ie.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var u0=b((VP,Ck)=>{Ck.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana"},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana"},"image/avcs":{source:"iana"},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var f0=b((ZP,p0)=>{p0.exports=u0()});var m0=b(_t=>{"use strict";var Lo=f0(),Ak=require("path").extname,d0=/^\s*([^;\s]*)(?:;|\s|$)/,Tk=/^text\//i;_t.charset=h0;_t.charsets={lookup:h0};_t.contentType=jk;_t.extension=Mk;_t.extensions=Object.create(null);_t.lookup=Rk;_t.types=Object.create(null);Nk(_t.extensions,_t.types);function h0(e){if(!e||typeof e!="string")return!1;var t=d0.exec(e),n=t&&Lo[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&Tk.test(t[1])?"UTF-8":!1}function jk(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?_t.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var n=_t.charset(t);n&&(t+="; charset="+n.toLowerCase())}return t}function Mk(e){if(!e||typeof e!="string")return!1;var t=d0.exec(e),n=t&&_t.extensions[t[1].toLowerCase()];return!n||!n.length?!1:n[0]}function Rk(e){if(!e||typeof e!="string")return!1;var t=Ak("x."+e).toLowerCase().substr(1);return t&&_t.types[t]||!1}function Nk(e,t){var n=["nginx","apache",void 0,"iana"];Object.keys(Lo).forEach(function(r){var a=Lo[r],s=a.extensions;if(!(!s||!s.length)){e[r]=s;for(var o=0;o<s.length;o++){var c=s[o];if(t[c]){var u=n.indexOf(Lo[t[c]].source),l=n.indexOf(a.source);if(t[c]!=="application/octet-stream"&&(u>l||u===l&&t[c].substr(0,12)==="application/"))continue}t[c]=r}}})}});var v0=b((XP,g0)=>{g0.exports=Lk;function Lk(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var Lu=b((QP,x0)=>{var b0=v0();x0.exports=Ik;function Ik(e){var t=!1;return b0(function(){t=!0}),function(i,r){t?e(i,r):b0(function(){e(i,r)})}}});var Iu=b((e8,y0)=>{y0.exports=qk;function qk(e){Object.keys(e.jobs).forEach(Pk.bind(e)),e.jobs={}}function Pk(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var qu=b((t8,_0)=>{var w0=Lu(),Bk=Iu();_0.exports=Fk;function Fk(e,t,n,i){var r=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[r]=Dk(t,r,e[r],function(a,s){r in n.jobs&&(delete n.jobs[r],a?Bk(n):n.results[r]=s,i(a,n.results))})}function Dk(e,t,n,i){var r;return e.length==2?r=e(n,w0(i)):r=e(n,t,w0(i)),r}});var Pu=b((n8,S0)=>{S0.exports=zk;function zk(e,t){var n=!Array.isArray(e),i={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&i.keyedList.sort(n?t:function(r,a){return t(e[r],e[a])}),i}});var Bu=b((i8,E0)=>{var $k=Iu(),Uk=Lu();E0.exports=Wk;function Wk(e){!Object.keys(this.jobs).length||(this.index=this.size,$k(this),Uk(e)(null,this.results))}});var k0=b((r8,O0)=>{var Kk=qu(),Yk=Pu(),Hk=Bu();O0.exports=Gk;function Gk(e,t,n){for(var i=Yk(e);i.index<(i.keyedList||e).length;)Kk(e,t,i,function(r,a){if(r){n(r,a);return}if(Object.keys(i.jobs).length===0){n(null,i.results);return}}),i.index++;return Hk.bind(i,n)}});var Fu=b((a8,Io)=>{var C0=qu(),Vk=Pu(),Zk=Bu();Io.exports=Jk;Io.exports.ascending=A0;Io.exports.descending=Xk;function Jk(e,t,n,i){var r=Vk(e,n);return C0(e,t,r,function a(s,o){if(s){i(s,o);return}if(r.index++,r.index<(r.keyedList||e).length){C0(e,t,r,a);return}i(null,r.results)}),Zk.bind(r,i)}function A0(e,t){return e<t?-1:e>t?1:0}function Xk(e,t){return-1*A0(e,t)}});var j0=b((s8,T0)=>{var Qk=Fu();T0.exports=eC;function eC(e,t,n){return Qk(e,t,null,n)}});var R0=b((o8,M0)=>{M0.exports={parallel:k0(),serial:j0(),serialOrdered:Fu()}});var L0=b((c8,N0)=>{N0.exports=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}});var P0=b((l8,q0)=>{var Uu=l0(),I0=require("util"),Du=require("path"),tC=require("http"),nC=require("https"),iC=require("url").parse,rC=require("fs"),aC=require("stream").Stream,zu=m0(),sC=R0(),$u=L0();q0.exports=me;I0.inherits(me,Uu);function me(e){if(!(this instanceof me))return new me(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Uu.call(this),e=e||{};for(var t in e)this[t]=e[t]}me.LINE_BREAK=`\r
|
|
19
|
-
`;me.DEFAULT_CONTENT_TYPE="application/octet-stream";me.prototype.append=function(e,t,n){n=n||{},typeof n=="string"&&(n={filename:n});var i=Uu.prototype.append.bind(this);if(typeof t=="number"&&(t=""+t),I0.isArray(t)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(e,t,n),a=this._multiPartFooter();i(r),i(t),i(a),this._trackLength(r,t,n)};me.prototype._trackLength=function(e,t,n){var i=0;n.knownLength!=null?i+=+n.knownLength:Buffer.isBuffer(t)?i=t.length:typeof t=="string"&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+me.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof aC))&&(n.knownLength||this._valuesToMeasure.push(t))};me.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):rC.stat(e.path,function(n,i){var r;if(n){t(n);return}r=i.size-(e.start?e.start:0),t(null,r)}):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",function(n){e.pause(),t(null,+n.headers["content-length"])}),e.resume()):t("Unknown stream")};me.prototype._multiPartHeader=function(e,t,n){if(typeof n.header=="string")return n.header;var i=this._getContentDisposition(t,n),r=this._getContentType(t,n),a="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof n.header=="object"&&$u(s,n.header);var o;for(var c in s)!s.hasOwnProperty(c)||(o=s[c],o!=null&&(Array.isArray(o)||(o=[o]),o.length&&(a+=c+": "+o.join("; ")+me.LINE_BREAK)));return"--"+this.getBoundary()+me.LINE_BREAK+a+me.LINE_BREAK};me.prototype._getContentDisposition=function(e,t){var n,i;return typeof t.filepath=="string"?n=Du.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=Du.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=Du.basename(e.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i};me.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=zu.lookup(e.name)),!n&&e.path&&(n=zu.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),!n&&(t.filepath||t.filename)&&(n=zu.lookup(t.filepath||t.filename)),!n&&typeof e=="object"&&(n=me.DEFAULT_CONTENT_TYPE),n};me.prototype._multiPartFooter=function(){return function(e){var t=me.LINE_BREAK,n=this._streams.length===0;n&&(t+=this._lastBoundary()),e(t)}.bind(this)};me.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+me.LINE_BREAK};me.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n};me.prototype.setBoundary=function(e){this._boundary=e};me.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};me.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)typeof this._streams[n]!="function"&&(Buffer.isBuffer(this._streams[n])?e=Buffer.concat([e,this._streams[n]]):e=Buffer.concat([e,Buffer.from(this._streams[n])]),(typeof this._streams[n]!="string"||this._streams[n].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(me.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};me.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(Math.random()*10).toString(16);this._boundary=e};me.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e};me.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};me.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length&&(t+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}sC.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,i){if(n){e(n);return}i.forEach(function(r){t+=r}),e(null,t)})};me.prototype.submit=function(e,t){var n,i,r={method:"post"};return typeof e=="string"?(e=iC(e),i=$u({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},r)):(i=$u(e,r),i.port||(i.port=i.protocol=="https:"?443:80)),i.headers=this.getHeaders(e.headers),i.protocol=="https:"?n=nC.request(i):n=tC.request(i),this.getLength(function(a,s){if(a&&a!=="Unknown stream"){this._error(a);return}if(s&&n.setHeader("Content-Length",s),this.pipe(n),t){var o,c=function(u,l){return n.removeListener("error",c),n.removeListener("response",o),t.call(this,u,l)};o=c.bind(this,null),n.on("error",c),n.on("response",o)}}.bind(this)),n};me.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};me.prototype.toString=function(){return"[object FormData]"}});var $0=b(De=>{"use strict";var B0=De&&De.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(De,"__esModule",{value:!0});De.post=De.put=De.delete_=De.get=De.FormData=De.getPath=De.setApiHost=De.setAuth=void 0;var F0=B0(n0()),oC=B0(P0());function cC(e){F0.default.defaults.headers.common.Authorization=e}De.setAuth=cC;var D0="https://goldsky.com";function lC(e){D0=e}De.setApiHost=lC;function z0(e,t){return`${D0}${typeof e=="string"?e:e(t)}`}De.getPath=z0;function uC(){return new oC.default}De.FormData=uC;async function pC(e,t){return qo(e,"get",t||{})}De.get=pC;async function fC(e,t){return qo(e,"delete",t||{})}De.delete_=fC;async function dC(e,t){return qo(e,"put",t||{})}De.put=dC;async function hC(e,t){return qo(e,"post",t||{})}De.post=hC;async function qo(e,t,n){var i,r;let a=Object.assign(Object.assign(Object.assign(Object.assign({url:z0(e,n.params),method:t},n.querystring?{params:n.querystring}:{}),n.body?{data:n.body}:{}),typeof((i=n.body)===null||i===void 0?void 0:i.getHeaders)=="function"?{headers:(r=n.body)===null||r===void 0?void 0:r.getHeaders()}:{}),{validateStatus:()=>!0,onUploadProgress:s=>{var o;(o=n.onProgress)===null||o===void 0||o.call(n,Math.round(s.loaded*100/s.total))}});try{let s=await F0.default.request(a);return s.status<200||s.status>=300?"statusCode"in s.data&&"error"in s.data&&"message"in s.data?[s.data,s.data]:[{statusCode:s.data.statusCode||s.status,error:s.data.error||s.statusText,message:s.data.message||s.data.toString()},s.data]:[null,s.data||{}]}catch(s){return[{statusCode:0,error:"Request failed",message:s.code},{}]}}});var U0=b(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.DeleteWebhookSchema=mt.DeleteWebhookParams=mt.CreateWebhookSchema=mt.CreateWebhookParams=mt.CreateWebhookBody=void 0;var Re=Ai();mt.CreateWebhookBody=Re.Type.Object({name:Re.Type.String(),webhookUrl:Re.Type.String(),entity:Re.Type.String()});mt.CreateWebhookParams=Re.Type.Object({subgraphName:Re.Type.String(),subgraphVersion:Re.Type.String()});mt.CreateWebhookSchema={body:mt.CreateWebhookBody,params:mt.CreateWebhookParams};var p8=Re.Type.Object({data:Re.Type.Object({webhookSecret:Re.Type.String(),name:Re.Type.String()})});mt.DeleteWebhookParams=Re.Type.Object({name:Re.Type.String()});mt.DeleteWebhookSchema={params:mt.DeleteWebhookParams};var f8=Re.Type.Object({data:Re.Type.Object({})}),d8=Re.Type.Object({data:Re.Type.Array(Re.Type.Object({name:Re.Type.String(),webhookUrl:Re.Type.String(),entity:Re.Type.String(),subgraphName:Re.Type.String(),subgraphVersion:Re.Type.String()}))})});var W0=b(Cr=>{"use strict";Object.defineProperty(Cr,"__esModule",{value:!0});Cr.SubscriptionWithProduct=Cr.ProductWithPrices=void 0;var ke=Ai();Cr.ProductWithPrices=ke.Type.Object({id:ke.Type.String(),name:ke.Type.String(),description:ke.Type.String(),base_price_decimal:ke.Type.String(),requests:ke.Type.Object({allotted:ke.Type.Number()}),entities:ke.Type.Object({allotted:ke.Type.Number()})});Cr.SubscriptionWithProduct=ke.Type.Object({id:ke.Type.String(),latestInvoice:ke.Type.Union([ke.Type.String(),ke.Type.Null()]),product:ke.Type.Object({id:ke.Type.String(),name:ke.Type.String(),description:ke.Type.Union([ke.Type.String(),ke.Type.Null()]),basePrice:ke.Type.Object({amount:ke.Type.Union([ke.Type.String(),ke.Type.Null()]),interval:ke.Type.String()})})})});var K0=b(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.SubgraphDeploymentEntitiesMetricsReply=Ar.SubgraphDeploymentRequestsMetricsReply=void 0;var _n=Ai();Ar.SubgraphDeploymentRequestsMetricsReply=_n.Type.Object({data:_n.Type.Object({pointList:_n.Type.Array(_n.Type.Object({requestsPerSecond:_n.Type.Number(),time:_n.Type.Number()}))})});Ar.SubgraphDeploymentEntitiesMetricsReply=_n.Type.Object({data:_n.Type.Object({entitiesCount:_n.Type.Number()})})});var Y0=b(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.NewSupportMessageResp=Tr.NewSupportMessage=void 0;var Po=Ai();Tr.NewSupportMessage=Po.Type.Object({message:Po.Type.String()});Tr.NewSupportMessageResp=Po.Type.Object({success:Po.Type.Boolean()})});var Kn=b(xe=>{"use strict";var mC=xe&&xe.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),gC=xe&&xe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Ri=xe&&xe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&mC(t,e,n);return gC(t,e),t};Object.defineProperty(xe,"__esModule",{value:!0});xe.SupportApi=xe.MetricsApi=xe.BillingApi=xe.WebhookApi=xe.ApiFetch=xe.StreamBossApi=xe.SubgraphApi=xe.ENTERPRISE_BILLING_FLAG=xe.API_URL=xe.API_PORT=void 0;var vC=Ri(Sm());xe.SubgraphApi=vC;var bC=Ri(Em());xe.StreamBossApi=bC;var xC=Ri($0());xe.ApiFetch=xC;var yC=Ri(U0());xe.WebhookApi=yC;var wC=Ri(W0());xe.BillingApi=wC;var _C=Ri(K0());xe.MetricsApi=_C;var SC=Ri(Y0());xe.SupportApi=SC;xe.API_PORT=80;xe.API_URL="https://api.goldsky.com";xe.ENTERPRISE_BILLING_FLAG="goldsky_enterprise"});var X0=b((y8,J0)=>{"use strict";J0.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var Wu=b((w8,ev)=>{var $a=X0(),Q0={};for(let e of Object.keys($a))Q0[$a[e]]=e;var G={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};ev.exports=G;for(let e of Object.keys(G)){if(!("channels"in G[e]))throw new Error("missing channels property: "+e);if(!("labels"in G[e]))throw new Error("missing channel labels property: "+e);if(G[e].labels.length!==G[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:n}=G[e];delete G[e].channels,delete G[e].labels,Object.defineProperty(G[e],"channels",{value:t}),Object.defineProperty(G[e],"labels",{value:n})}G.rgb.hsl=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(t,n,i),a=Math.max(t,n,i),s=a-r,o,c;a===r?o=0:t===a?o=(n-i)/s:n===a?o=2+(i-t)/s:i===a&&(o=4+(t-n)/s),o=Math.min(o*60,360),o<0&&(o+=360);let u=(r+a)/2;return a===r?c=0:u<=.5?c=s/(a+r):c=s/(2-a-r),[o,c*100,u*100]};G.rgb.hsv=function(e){let t,n,i,r,a,s=e[0]/255,o=e[1]/255,c=e[2]/255,u=Math.max(s,o,c),l=u-Math.min(s,o,c),p=function(f){return(u-f)/6/l+1/2};return l===0?(r=0,a=0):(a=l/u,t=p(s),n=p(o),i=p(c),s===u?r=i-n:o===u?r=1/3+t-i:c===u&&(r=2/3+n-t),r<0?r+=1:r>1&&(r-=1)),[r*360,a*100,u*100]};G.rgb.hwb=function(e){let t=e[0],n=e[1],i=e[2],r=G.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,i));return i=1-1/255*Math.max(t,Math.max(n,i)),[r,a*100,i*100]};G.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(1-t,1-n,1-i),a=(1-t-r)/(1-r)||0,s=(1-n-r)/(1-r)||0,o=(1-i-r)/(1-r)||0;return[a*100,s*100,o*100,r*100]};function OC(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}G.rgb.keyword=function(e){let t=Q0[e];if(t)return t;let n=1/0,i;for(let r of Object.keys($a)){let a=$a[r],s=OC(e,a);s<n&&(n=s,i=r)}return i};G.keyword.rgb=function(e){return $a[e]};G.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92;let r=t*.4124+n*.3576+i*.1805,a=t*.2126+n*.7152+i*.0722,s=t*.0193+n*.1192+i*.9505;return[r*100,a*100,s*100]};G.rgb.lab=function(e){let t=G.rgb.xyz(e),n=t[0],i=t[1],r=t[2];n/=95.047,i/=100,r/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;let a=116*i-16,s=500*(n-i),o=200*(i-r);return[a,s,o]};G.hsl.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100,r,a,s;if(n===0)return s=i*255,[s,s,s];i<.5?r=i*(1+n):r=i+n-i*n;let o=2*i-r,c=[0,0,0];for(let u=0;u<3;u++)a=t+1/3*-(u-1),a<0&&a++,a>1&&a--,6*a<1?s=o+(r-o)*6*a:2*a<1?s=r:3*a<2?s=o+(r-o)*(2/3-a)*6:s=o,c[u]=s*255;return c};G.hsl.hsv=function(e){let t=e[0],n=e[1]/100,i=e[2]/100,r=n,a=Math.max(i,.01);i*=2,n*=i<=1?i:2-i,r*=a<=1?a:2-a;let s=(i+n)/2,o=i===0?2*r/(a+r):2*n/(i+n);return[t,o*100,s*100]};G.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,a=t-Math.floor(t),s=255*i*(1-n),o=255*i*(1-n*a),c=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,c,s];case 1:return[o,i,s];case 2:return[s,i,c];case 3:return[s,o,i];case 4:return[c,s,i];case 5:return[i,s,o]}};G.hsv.hsl=function(e){let t=e[0],n=e[1]/100,i=e[2]/100,r=Math.max(i,.01),a,s;s=(2-n)*i;let o=(2-n)*r;return a=n*r,a/=o<=1?o:2-o,a=a||0,s/=2,[t,a*100,s*100]};G.hwb.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100,r=n+i,a;r>1&&(n/=r,i/=r);let s=Math.floor(6*t),o=1-i;a=6*t-s,(s&1)!==0&&(a=1-a);let c=n+a*(o-n),u,l,p;switch(s){default:case 6:case 0:u=o,l=c,p=n;break;case 1:u=c,l=o,p=n;break;case 2:u=n,l=o,p=c;break;case 3:u=n,l=c,p=o;break;case 4:u=c,l=n,p=o;break;case 5:u=o,l=n,p=c;break}return[u*255,l*255,p*255]};G.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100,a=1-Math.min(1,t*(1-r)+r),s=1-Math.min(1,n*(1-r)+r),o=1-Math.min(1,i*(1-r)+r);return[a*255,s*255,o*255]};G.xyz.rgb=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,r,a,s;return r=t*3.2406+n*-1.5372+i*-.4986,a=t*-.9689+n*1.8758+i*.0415,s=t*.0557+n*-.204+i*1.057,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,r=Math.min(Math.max(0,r),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[r*255,a*255,s*255]};G.xyz.lab=function(e){let t=e[0],n=e[1],i=e[2];t/=95.047,n/=100,i/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let r=116*n-16,a=500*(t-n),s=200*(n-i);return[r,a,s]};G.lab.xyz=function(e){let t=e[0],n=e[1],i=e[2],r,a,s;a=(t+16)/116,r=n/500+a,s=a-i/200;let o=a**3,c=r**3,u=s**3;return a=o>.008856?o:(a-16/116)/7.787,r=c>.008856?c:(r-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,r*=95.047,a*=100,s*=108.883,[r,a,s]};G.lab.lch=function(e){let t=e[0],n=e[1],i=e[2],r;r=Math.atan2(i,n)*360/2/Math.PI,r<0&&(r+=360);let s=Math.sqrt(n*n+i*i);return[t,s,r]};G.lch.lab=function(e){let t=e[0],n=e[1],r=e[2]/360*2*Math.PI,a=n*Math.cos(r),s=n*Math.sin(r);return[t,a,s]};G.rgb.ansi16=function(e,t=null){let[n,i,r]=e,a=t===null?G.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(r/255)<<2|Math.round(i/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};G.hsv.ansi16=function(e){return G.rgb.ansi16(G.hsv.rgb(e),e[2])};G.rgb.ansi256=function(e){let t=e[0],n=e[1],i=e[2];return t===n&&n===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)};G.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let n=(~~(e>50)+1)*.5,i=(t&1)*n*255,r=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[i,r,a]};G.ansi256.rgb=function(e){if(e>=232){let a=(e-232)*10+8;return[a,a,a]}e-=16;let t,n=Math.floor(e/36)/5*255,i=Math.floor((t=e%36)/6)/5*255,r=t%6/5*255;return[n,i,r]};G.rgb.hex=function(e){let n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};G.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(o=>o+o).join(""));let i=parseInt(n,16),r=i>>16&255,a=i>>8&255,s=i&255;return[r,a,s]};G.rgb.hcg=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.max(Math.max(t,n),i),a=Math.min(Math.min(t,n),i),s=r-a,o,c;return s<1?o=a/(1-s):o=0,s<=0?c=0:r===t?c=(n-i)/s%6:r===n?c=2+(i-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*360,s*100,o*100]};G.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=n<.5?2*t*n:2*t*(1-n),r=0;return i<1&&(r=(n-.5*i)/(1-i)),[e[0],i*100,r*100]};G.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=t*n,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],i*100,r*100]};G.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100;if(n===0)return[i*255,i*255,i*255];let r=[0,0,0],a=t%1*6,s=a%1,o=1-s,c=0;switch(Math.floor(a)){case 0:r[0]=1,r[1]=s,r[2]=0;break;case 1:r[0]=o,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=s;break;case 3:r[0]=0,r[1]=o,r[2]=1;break;case 4:r[0]=s,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=o}return c=(1-n)*i,[(n*r[0]+c)*255,(n*r[1]+c)*255,(n*r[2]+c)*255]};G.hcg.hsv=function(e){let t=e[1]/100,n=e[2]/100,i=t+n*(1-t),r=0;return i>0&&(r=t/i),[e[0],r*100,i*100]};G.hcg.hsl=function(e){let t=e[1]/100,i=e[2]/100*(1-t)+.5*t,r=0;return i>0&&i<.5?r=t/(2*i):i>=.5&&i<1&&(r=t/(2*(1-i))),[e[0],r*100,i*100]};G.hcg.hwb=function(e){let t=e[1]/100,n=e[2]/100,i=t+n*(1-t);return[e[0],(i-t)*100,(1-i)*100]};G.hwb.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=1-n,r=i-t,a=0;return r<1&&(a=(i-r)/(1-r)),[e[0],r*100,a*100]};G.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};G.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};G.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};G.gray.hsl=function(e){return[0,0,e[0]]};G.gray.hsv=G.gray.hsl;G.gray.hwb=function(e){return[0,100,e[0]]};G.gray.cmyk=function(e){return[0,0,0,e[0]]};G.gray.lab=function(e){return[e[0],0,0]};G.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(i.length)+i};G.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var nv=b((_8,tv)=>{var Fo=Wu();function kC(){let e={},t=Object.keys(Fo);for(let n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}function CC(e){let t=kC(),n=[e];for(t[e].distance=0;n.length;){let i=n.pop(),r=Object.keys(Fo[i]);for(let a=r.length,s=0;s<a;s++){let o=r[s],c=t[o];c.distance===-1&&(c.distance=t[i].distance+1,c.parent=i,n.unshift(o))}}return t}function AC(e,t){return function(n){return t(e(n))}}function TC(e,t){let n=[t[e].parent,e],i=Fo[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)n.unshift(t[r].parent),i=AC(Fo[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}tv.exports=function(e){let t=CC(e),n={},i=Object.keys(t);for(let r=i.length,a=0;a<r;a++){let s=i[a];t[s].parent!==null&&(n[s]=TC(s,t))}return n}});var rv=b((S8,iv)=>{var Ku=Wu(),jC=nv(),Mr={},MC=Object.keys(Ku);function RC(e){let t=function(...n){let i=n[0];return i==null?i:(i.length>1&&(n=i),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function NC(e){let t=function(...n){let i=n[0];if(i==null)return i;i.length>1&&(n=i);let r=e(n);if(typeof r=="object")for(let a=r.length,s=0;s<a;s++)r[s]=Math.round(r[s]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}MC.forEach(e=>{Mr[e]={},Object.defineProperty(Mr[e],"channels",{value:Ku[e].channels}),Object.defineProperty(Mr[e],"labels",{value:Ku[e].labels});let t=jC(e);Object.keys(t).forEach(i=>{let r=t[i];Mr[e][i]=NC(r),Mr[e][i].raw=RC(r)})});iv.exports=Mr});var Hu=b((E8,lv)=>{"use strict";var av=(e,t)=>(...n)=>`\x1B[${e(...n)+t}m`,sv=(e,t)=>(...n)=>{let i=e(...n);return`\x1B[${38+t};5;${i}m`},ov=(e,t)=>(...n)=>{let i=e(...n);return`\x1B[${38+t};2;${i[0]};${i[1]};${i[2]}m`},Do=e=>e,cv=(e,t,n)=>[e,t,n],Rr=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{let i=n();return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0}),i},enumerable:!0,configurable:!0})},Yu,Nr=(e,t,n,i)=>{Yu===void 0&&(Yu=rv());let r=i?10:0,a={};for(let[s,o]of Object.entries(Yu)){let c=s==="ansi16"?"ansi":s;s===t?a[c]=e(n,r):typeof o=="object"&&(a[c]=e(o[t],r))}return a};function LC(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[n,i]of Object.entries(t)){for(let[r,a]of Object.entries(i))t[r]={open:`\x1B[${a[0]}m`,close:`\x1B[${a[1]}m`},i[r]=t[r],e.set(a[0],a[1]);Object.defineProperty(t,n,{value:i,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",Rr(t.color,"ansi",()=>Nr(av,"ansi16",Do,!1)),Rr(t.color,"ansi256",()=>Nr(sv,"ansi256",Do,!1)),Rr(t.color,"ansi16m",()=>Nr(ov,"rgb",cv,!1)),Rr(t.bgColor,"ansi",()=>Nr(av,"ansi16",Do,!0)),Rr(t.bgColor,"ansi256",()=>Nr(sv,"ansi256",Do,!0)),Rr(t.bgColor,"ansi16m",()=>Nr(ov,"rgb",cv,!0)),t}Object.defineProperty(lv,"exports",{enumerable:!0,get:LC})});var pv=b((O8,uv)=>{"use strict";var IC=(e,t,n)=>{let i=e.indexOf(t);if(i===-1)return e;let r=t.length,a=0,s="";do s+=e.substr(a,i-a)+t+n,a=i+r,i=e.indexOf(t,a);while(i!==-1);return s+=e.substr(a),s},qC=(e,t,n,i)=>{let r=0,a="";do{let s=e[i-1]==="\r";a+=e.substr(r,(s?i-1:i)-r)+t+(s?`\r
|
|
17
|
+
`)}function $O(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function UO(){return process.env.DEBUG}function WO(e){e.inspectOpts={};let t=Object.keys(tt.inspectOpts);for(let n=0;n<t.length;n++)e.inspectOpts[t[n]]=tt.inspectOpts[t[n]]}Co.exports=wu()(tt);var{formatters:lg}=Co.exports;lg.o=function(e){return this.inspectOpts.colors=this.useColors,ko.inspect(e,this.inspectOpts).split(`
|
|
18
|
+
`).map(t=>t.trim()).join(" ")};lg.O=function(e){return this.inspectOpts.colors=this.useColors,ko.inspect(e,this.inspectOpts)}});var pg=b((jP,Eu)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Eu.exports=rg():Eu.exports=ug()});var dg=b((MP,fg)=>{var qa;fg.exports=function(){if(!qa){try{qa=pg()("follow-redirects")}catch{}typeof qa!="function"&&(qa=function(){})}qa.apply(null,arguments)}});var Pa=b((RP,Au)=>{var ji=require("url"),Ou=ji.URL,KO=require("http"),YO=require("https"),gg=require("stream").Writable,HO=require("assert"),vg=dg(),Mi=["abort","aborted","connect","error","socket","timeout"],Cu=Object.create(null);Mi.forEach(function(e){Cu[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}});var hg=Ao("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),GO=Ao("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),VO=Ao("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),ZO=Ao("ERR_STREAM_WRITE_AFTER_END","write after end");function Mt(e,t){gg.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(i){n._processResponse(i)},this._performRequest()}Mt.prototype=Object.create(gg.prototype);Mt.prototype.abort=function(){xg(this._currentRequest),this.emit("abort")};Mt.prototype.write=function(e,t,n){if(this._ending)throw new ZO;if(!(typeof e=="string"||typeof e=="object"&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(typeof t=="function"&&(n=t,t=null),e.length===0){n&&n();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new VO),this.abort())};Mt.prototype.end=function(e,t,n){if(typeof e=="function"?(n=e,e=t=null):typeof t=="function"&&(n=t,t=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,n);else{var i=this,r=this._currentRequest;this.write(e,t,function(){i._ended=!0,r.end(null,null,n)}),this._ending=!0}};Mt.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};Mt.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};Mt.prototype.setTimeout=function(e,t){var n=this;function i(s){s.setTimeout(e),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function r(s){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),a()},e),i(s)}function a(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",a),n.removeListener("error",a),n.removeListener("response",a),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",r)}return t&&this.on("timeout",t),this.socket?r(this.socket):this._currentRequest.once("socket",r),this.on("socket",i),this.on("abort",a),this.on("error",a),this.on("response",a),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){Mt.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(Mt.prototype,e,{get:function(){return this._currentRequest[e]}})});Mt.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}};Mt.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t){this.emit("error",new TypeError("Unsupported protocol "+e));return}if(this._options.agents){var n=e.substr(0,e.length-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);this._currentUrl=ji.format(this._options),i._redirectable=this;for(var r=0;r<Mi.length;r++)i.on(Mi[r],Cu[Mi[r]]);if(this._isRedirect){var a=0,s=this,o=this._requestBodyBuffers;(function c(u){if(i===s._currentRequest)if(u)s.emit("error",u);else if(a<o.length){var l=o[a++];i.finished||i.write(l.data,l.encoding,c)}else s._ended&&i.end()})()}};Mt.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n=e.headers.location;if(n&&this._options.followRedirects!==!1&&t>=300&&t<400){if(xg(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new GO);return}((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],ku(/^content-/i,this._options.headers));var i=ku(/^host$/i,this._options.headers),r=ji.parse(this._currentUrl),a=i||r.host,s=/^\w+:/.test(n)?this._currentUrl:ji.format(Object.assign(r,{host:a})),o;try{o=ji.resolve(s,n)}catch(l){this.emit("error",new hg(l));return}vg("redirecting to",o),this._isRedirect=!0;var c=ji.parse(o);if(Object.assign(this._options,c),(c.protocol!==r.protocol||!XO(c.host,a))&&ku(/^(?:authorization|cookie)$/i,this._options.headers),typeof this._options.beforeRedirect=="function"){var u={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,u)}catch(l){this.emit("error",l);return}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(l){this.emit("error",new hg(l))}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]};function bg(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach(function(i){var r=i+":",a=n[r]=e[i],s=t[i]=Object.create(a);function o(u,l,p){if(typeof u=="string"){var f=u;try{u=mg(new Ou(f))}catch{u=ji.parse(f)}}else Ou&&u instanceof Ou?u=mg(u):(p=l,l=u,u={protocol:r});return typeof l=="function"&&(p=l,l=null),l=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},u,l),l.nativeProtocols=n,HO.equal(l.protocol,r,"protocol mismatch"),vg("options",l),new Mt(l,p)}function c(u,l,p){var f=s.request(u,l,p);return f.end(),f}Object.defineProperties(s,{request:{value:o,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),t}function JO(){}function mg(e){var t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:e.pathname+e.search,href:e.href};return e.port!==""&&(t.port=Number(e.port)),t}function ku(e,t){var n;for(var i in t)e.test(i)&&(n=t[i],delete t[i]);return n===null||typeof n>"u"?void 0:String(n).trim()}function Ao(e,t){function n(i){Error.captureStackTrace(this,this.constructor),i?(this.message=t+": "+i.message,this.cause=i):this.message=t}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+e+"]",n.prototype.code=e,n}function xg(e){for(var t=0;t<Mi.length;t++)e.removeListener(Mi[t],Cu[Mi[t]]);e.on("error",JO),e.abort()}function XO(e,t){if(e===t)return!0;let n=e.length-t.length-1;return n>0&&e[n]==="."&&e.endsWith(t)}Au.exports=bg({http:KO,https:YO});Au.exports.wrap=bg});var To=b((NP,yg)=>{yg.exports={version:"0.26.0"}});var Cg=b((LP,kg)=>{"use strict";var Ba=ot(),wg=gu(),QO=vu(),_g=vo(),ek=require("http"),tk=require("https"),nk=Pa().http,ik=Pa().https,Sg=require("url"),rk=require("zlib"),ak=To().version,Er=yo(),jo=xo(),sk=yr(),ok=xr(),Eg=/https:?/;function Og(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+i}e.beforeRedirect=function(a){a.headers.host=a.host,Og(a,t,a.href)}}kg.exports=function(t){return new Promise(function(i,r){var a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}var o=function(ie){s(),i(ie)},c=!1,u=function(ie){s(),c=!0,r(ie)},l=t.data,p=t.headers,f={};if(Object.keys(p).forEach(function(ie){f[ie.toLowerCase()]=ie}),"user-agent"in f?p[f["user-agent"]]||delete p[f["user-agent"]]:p["User-Agent"]="axios/"+ak,l&&!Ba.isStream(l)){if(!Buffer.isBuffer(l))if(Ba.isArrayBuffer(l))l=Buffer.from(new Uint8Array(l));else if(Ba.isString(l))l=Buffer.from(l,"utf-8");else return u(Er("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));if(t.maxBodyLength>-1&&l.length>t.maxBodyLength)return u(Er("Request body larger than maxBodyLength limit",t));f["content-length"]||(p["Content-Length"]=l.length)}var m=void 0;if(t.auth){var v=t.auth.username||"",g=t.auth.password||"";m=v+":"+g}var d=QO(t.baseURL,t.url),x=Sg.parse(d),_=x.protocol||"http:";if(!m&&x.auth){var C=x.auth.split(":"),k=C[0]||"",O=C[1]||"";m=k+":"+O}m&&f.authorization&&delete p[f.authorization];var F=Eg.test(_),P=F?t.httpsAgent:t.httpAgent;try{_g(x.path,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(fe){var L=new Error(fe.message);L.config=t,L.url=t.url,L.exists=!0,u(L)}var $={path:_g(x.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:p,agent:P,agents:{http:t.httpAgent,https:t.httpsAgent},auth:m};t.socketPath?$.socketPath=t.socketPath:($.hostname=x.hostname,$.port=x.port);var B=t.proxy;if(!B&&B!==!1){var q=_.slice(0,-1)+"_proxy",R=process.env[q]||process.env[q.toUpperCase()];if(R){var M=Sg.parse(R),I=process.env.no_proxy||process.env.NO_PROXY,K=!0;if(I){var ce=I.split(",").map(function(ie){return ie.trim()});K=!ce.some(function(ie){return ie?ie==="*"||ie[0]==="."&&x.hostname.substr(x.hostname.length-ie.length)===ie?!0:x.hostname===ie:!1})}if(K&&(B={host:M.hostname,port:M.port,protocol:M.protocol},M.auth)){var ve=M.auth.split(":");B.auth={username:ve[0],password:ve[1]}}}}B&&($.headers.host=x.hostname+(x.port?":"+x.port:""),Og($,B,_+"//"+x.hostname+(x.port?":"+x.port:"")+$.path));var X,Se=F&&(B?Eg.test(B.protocol):!0);t.transport?X=t.transport:t.maxRedirects===0?X=Se?tk:ek:(t.maxRedirects&&($.maxRedirects=t.maxRedirects),X=Se?ik:nk),t.maxBodyLength>-1&&($.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&($.insecureHTTPParser=t.insecureHTTPParser);var le=X.request($,function(ie){if(!le.aborted){var z=ie,ft=ie.req||le;if(ie.statusCode!==204&&ft.method!=="HEAD"&&t.decompress!==!1)switch(ie.headers["content-encoding"]){case"gzip":case"compress":case"deflate":z=z.pipe(rk.createUnzip()),delete ie.headers["content-encoding"];break}var Ft={status:ie.statusCode,statusText:ie.statusMessage,headers:ie.headers,config:t,request:ft};if(t.responseType==="stream")Ft.data=z,wg(o,u,Ft);else{var Z=[],oe=0;z.on("data",function(te){Z.push(te),oe+=te.length,t.maxContentLength>-1&&oe>t.maxContentLength&&(c=!0,z.destroy(),u(Er("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,ft)))}),z.on("aborted",function(){c||(z.destroy(),u(Er("error request aborted",t,"ERR_REQUEST_ABORTED",ft)))}),z.on("error",function(te){le.aborted||u(jo(te,t,null,ft))}),z.on("end",function(){try{var te=Z.length===1?Z[0]:Buffer.concat(Z);t.responseType!=="arraybuffer"&&(te=te.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(te=Ba.stripBOM(te))),Ft.data=te}catch(Fe){u(jo(Fe,t,Fe.code,Ft.request,Ft))}wg(o,u,Ft)})}}});if(le.on("error",function(ie){le.aborted&&ie.code!=="ERR_FR_TOO_MANY_REDIRECTS"||u(jo(ie,t,null,le))}),le.on("socket",function(ie){ie.setKeepAlive(!0,1e3*60)}),t.timeout){var Y=parseInt(t.timeout,10);if(isNaN(Y)){u(Er("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",le));return}le.setTimeout(Y,function(){le.abort();var ie="";t.timeoutErrorMessage?ie=t.timeoutErrorMessage:ie="timeout of "+t.timeout+"ms exceeded";var z=t.transitional||sk.transitional;u(Er(ie,t,z.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",le))})}(t.cancelToken||t.signal)&&(a=function(fe){le.aborted||(le.abort(),u(!fe||fe&&fe.type?new ok("canceled"):fe))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),Ba.isStream(l)?l.on("error",function(ie){u(jo(ie,t,null,le))}).pipe(le):le.end(l)})}});var yr=b((IP,jg)=>{"use strict";var nt=ot(),Ag=qm(),ck=xo(),lk={"Content-Type":"application/x-www-form-urlencoded"};function Tg(e,t){!nt.isUndefined(e)&&nt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function uk(){var e;return typeof XMLHttpRequest<"u"?e=eg():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=Cg()),e}function pk(e,t,n){if(nt.isString(e))try{return(t||JSON.parse)(e),nt.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}var Mo={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:uk(),transformRequest:[function(t,n){return Ag(n,"Accept"),Ag(n,"Content-Type"),nt.isFormData(t)||nt.isArrayBuffer(t)||nt.isBuffer(t)||nt.isStream(t)||nt.isFile(t)||nt.isBlob(t)?t:nt.isArrayBufferView(t)?t.buffer:nt.isURLSearchParams(t)?(Tg(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):nt.isObject(t)||n&&n["Content-Type"]==="application/json"?(Tg(n,"application/json"),pk(t)):t}],transformResponse:[function(t){var n=this.transitional||Mo.transitional,i=n&&n.silentJSONParsing,r=n&&n.forcedJSONParsing,a=!i&&this.responseType==="json";if(a||r&&nt.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?ck(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};nt.forEach(["delete","get","head"],function(t){Mo.headers[t]={}});nt.forEach(["post","put","patch"],function(t){Mo.headers[t]=nt.merge(lk)});jg.exports=Mo});var Rg=b((qP,Mg)=>{"use strict";var fk=ot(),dk=yr();Mg.exports=function(t,n,i){var r=this||dk;return fk.forEach(i,function(s){t=s.call(r,t,n)}),t}});var Tu=b((PP,Ng)=>{"use strict";Ng.exports=function(t){return!!(t&&t.__CANCEL__)}});var qg=b((BP,Ig)=>{"use strict";var Lg=ot(),ju=Rg(),hk=Tu(),mk=yr(),gk=xr();function Mu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gk("canceled")}Ig.exports=function(t){Mu(t),t.headers=t.headers||{},t.data=ju.call(t,t.data,t.headers,t.transformRequest),t.headers=Lg.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Lg.forEach(["delete","get","head","post","put","patch","common"],function(r){delete t.headers[r]});var n=t.adapter||mk.adapter;return n(t).then(function(r){return Mu(t),r.data=ju.call(t,r.data,r.headers,t.transformResponse),r},function(r){return hk(r)||(Mu(t),r&&r.response&&(r.response.data=ju.call(t,r.response.data,r.response.headers,t.transformResponse))),Promise.reject(r)})}});var Ru=b((FP,Pg)=>{"use strict";var Rt=ot();Pg.exports=function(t,n){n=n||{};var i={};function r(l,p){return Rt.isPlainObject(l)&&Rt.isPlainObject(p)?Rt.merge(l,p):Rt.isPlainObject(p)?Rt.merge({},p):Rt.isArray(p)?p.slice():p}function a(l){if(Rt.isUndefined(n[l])){if(!Rt.isUndefined(t[l]))return r(void 0,t[l])}else return r(t[l],n[l])}function s(l){if(!Rt.isUndefined(n[l]))return r(void 0,n[l])}function o(l){if(Rt.isUndefined(n[l])){if(!Rt.isUndefined(t[l]))return r(void 0,t[l])}else return r(void 0,n[l])}function c(l){if(l in n)return r(t[l],n[l]);if(l in t)return r(void 0,t[l])}var u={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:c};return Rt.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var f=u[p]||a,m=f(p);Rt.isUndefined(m)&&f!==c||(i[p]=m)}),i}});var Dg=b((DP,Fg)=>{"use strict";var vk=To().version,Nu={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Nu[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var Bg={};Nu.transitional=function(t,n,i){function r(a,s){return"[Axios v"+vk+"] Transitional option '"+a+"'"+s+(i?". "+i:"")}return function(a,s,o){if(t===!1)throw new Error(r(s," has been removed"+(n?" in "+n:"")));return n&&!Bg[s]&&(Bg[s]=!0,console.warn(r(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,o):!0}};function bk(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var i=Object.keys(e),r=i.length;r-- >0;){var a=i[r],s=t[a];if(s){var o=e[a],c=o===void 0||s(o,a,e);if(c!==!0)throw new TypeError("option "+a+" must be "+c);continue}if(n!==!0)throw Error("Unknown option "+a)}}Fg.exports={assertOptions:bk,validators:Nu}});var Yg=b((zP,Kg)=>{"use strict";var Ug=ot(),xk=vo(),zg=Lm(),$g=qg(),Ro=Ru(),Wg=Dg(),Or=Wg.validators;function Fa(e){this.defaults=e,this.interceptors={request:new zg,response:new zg}}Fa.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ro(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var i=n.transitional;i!==void 0&&Wg.assertOptions(i,{silentJSONParsing:Or.transitional(Or.boolean),forcedJSONParsing:Or.transitional(Or.boolean),clarifyTimeoutError:Or.transitional(Or.boolean)},!1);var r=[],a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(a=a&&m.synchronous,r.unshift(m.fulfilled,m.rejected))});var s=[];this.interceptors.response.forEach(function(m){s.push(m.fulfilled,m.rejected)});var o;if(!a){var c=[$g,void 0];for(Array.prototype.unshift.apply(c,r),c=c.concat(s),o=Promise.resolve(n);c.length;)o=o.then(c.shift(),c.shift());return o}for(var u=n;r.length;){var l=r.shift(),p=r.shift();try{u=l(u)}catch(f){p(f);break}}try{o=$g(u)}catch(f){return Promise.reject(f)}for(;s.length;)o=o.then(s.shift(),s.shift());return o};Fa.prototype.getUri=function(t){return t=Ro(this.defaults,t),xk(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};Ug.forEach(["delete","get","head","options"],function(t){Fa.prototype[t]=function(n,i){return this.request(Ro(i||{},{method:t,url:n,data:(i||{}).data}))}});Ug.forEach(["post","put","patch"],function(t){Fa.prototype[t]=function(n,i,r){return this.request(Ro(r||{},{method:t,url:n,data:i}))}});Kg.exports=Fa});var Gg=b(($P,Hg)=>{"use strict";var yk=xr();function kr(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(r){t=r});var n=this;this.promise.then(function(i){if(!!n._listeners){var r,a=n._listeners.length;for(r=0;r<a;r++)n._listeners[r](i);n._listeners=null}}),this.promise.then=function(i){var r,a=new Promise(function(s){n.subscribe(s),r=s}).then(i);return a.cancel=function(){n.unsubscribe(r)},a},e(function(r){n.reason||(n.reason=new yk(r),t(n.reason))})}kr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};kr.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};kr.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};kr.source=function(){var t,n=new kr(function(r){t=r});return{token:n,cancel:t}};Hg.exports=kr});var Zg=b((UP,Vg)=>{"use strict";Vg.exports=function(t){return function(i){return t.apply(null,i)}}});var Xg=b((WP,Jg)=>{"use strict";var wk=ot();Jg.exports=function(t){return wk.isObject(t)&&t.isAxiosError===!0}});var t0=b((KP,Lu)=>{"use strict";var Qg=ot(),_k=pu(),No=Yg(),Sk=Ru(),Ek=yr();function e0(e){var t=new No(e),n=_k(No.prototype.request,t);return Qg.extend(n,No.prototype,t),Qg.extend(n,t),n.create=function(r){return e0(Sk(e,r))},n}var fn=e0(Ek);fn.Axios=No;fn.Cancel=xr();fn.CancelToken=Gg();fn.isCancel=Tu();fn.VERSION=To().version;fn.all=function(t){return Promise.all(t)};fn.spread=Zg();fn.isAxiosError=Xg();Lu.exports=fn;Lu.exports.default=fn});var i0=b((YP,n0)=>{n0.exports=t0()});var s0=b((HP,a0)=>{var r0=require("stream").Stream,Ok=require("util");a0.exports=Qt;function Qt(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}Ok.inherits(Qt,r0);Qt.create=function(e,t){var n=new this;t=t||{};for(var i in t)n[i]=t[i];n.source=e;var r=e.emit;return e.emit=function(){return n._handleEmit(arguments),r.apply(e,arguments)},e.on("error",function(){}),n.pauseStream&&e.pause(),n};Object.defineProperty(Qt.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});Qt.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Qt.prototype.resume=function(){this._released||this.release(),this.source.resume()};Qt.prototype.pause=function(){this.source.pause()};Qt.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};Qt.prototype.pipe=function(){var e=r0.prototype.pipe.apply(this,arguments);return this.resume(),e};Qt.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}e[0]==="data"&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)};Qt.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}});var u0=b((GP,l0)=>{var kk=require("util"),c0=require("stream").Stream,o0=s0();l0.exports=Ie;function Ie(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}kk.inherits(Ie,c0);Ie.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t};Ie.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};Ie.prototype.append=function(e){var t=Ie.isStreamLike(e);if(t){if(!(e instanceof o0)){var n=o0.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};Ie.prototype.pipe=function(e,t){return c0.prototype.pipe.call(this,e,t),this.resume(),e};Ie.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};Ie.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var t=e;t(function(n){var i=Ie.isStreamLike(n);i&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n)}.bind(this))};Ie.prototype._pipeNext=function(e){this._currentStream=e;var t=Ie.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var n=e;this.write(n),this._getNext()};Ie.prototype._handleErrors=function(e){var t=this;e.on("error",function(n){t._emitError(n)})};Ie.prototype.write=function(e){this.emit("data",e)};Ie.prototype.pause=function(){!this.pauseStreams||(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};Ie.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};Ie.prototype.end=function(){this._reset(),this.emit("end")};Ie.prototype.destroy=function(){this._reset(),this.emit("close")};Ie.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};Ie.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};Ie.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){!t.dataSize||(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};Ie.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var p0=b((VP,Ck)=>{Ck.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana"},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana"},"image/avcs":{source:"iana"},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var d0=b((ZP,f0)=>{f0.exports=p0()});var g0=b(_t=>{"use strict";var Lo=d0(),Ak=require("path").extname,h0=/^\s*([^;\s]*)(?:;|\s|$)/,Tk=/^text\//i;_t.charset=m0;_t.charsets={lookup:m0};_t.contentType=jk;_t.extension=Mk;_t.extensions=Object.create(null);_t.lookup=Rk;_t.types=Object.create(null);Nk(_t.extensions,_t.types);function m0(e){if(!e||typeof e!="string")return!1;var t=h0.exec(e),n=t&&Lo[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&Tk.test(t[1])?"UTF-8":!1}function jk(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?_t.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var n=_t.charset(t);n&&(t+="; charset="+n.toLowerCase())}return t}function Mk(e){if(!e||typeof e!="string")return!1;var t=h0.exec(e),n=t&&_t.extensions[t[1].toLowerCase()];return!n||!n.length?!1:n[0]}function Rk(e){if(!e||typeof e!="string")return!1;var t=Ak("x."+e).toLowerCase().substr(1);return t&&_t.types[t]||!1}function Nk(e,t){var n=["nginx","apache",void 0,"iana"];Object.keys(Lo).forEach(function(r){var a=Lo[r],s=a.extensions;if(!(!s||!s.length)){e[r]=s;for(var o=0;o<s.length;o++){var c=s[o];if(t[c]){var u=n.indexOf(Lo[t[c]].source),l=n.indexOf(a.source);if(t[c]!=="application/octet-stream"&&(u>l||u===l&&t[c].substr(0,12)==="application/"))continue}t[c]=r}}})}});var b0=b((XP,v0)=>{v0.exports=Lk;function Lk(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var Iu=b((QP,y0)=>{var x0=b0();y0.exports=Ik;function Ik(e){var t=!1;return x0(function(){t=!0}),function(i,r){t?e(i,r):x0(function(){e(i,r)})}}});var qu=b((e8,w0)=>{w0.exports=qk;function qk(e){Object.keys(e.jobs).forEach(Pk.bind(e)),e.jobs={}}function Pk(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var Pu=b((t8,S0)=>{var _0=Iu(),Bk=qu();S0.exports=Fk;function Fk(e,t,n,i){var r=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[r]=Dk(t,r,e[r],function(a,s){r in n.jobs&&(delete n.jobs[r],a?Bk(n):n.results[r]=s,i(a,n.results))})}function Dk(e,t,n,i){var r;return e.length==2?r=e(n,_0(i)):r=e(n,t,_0(i)),r}});var Bu=b((n8,E0)=>{E0.exports=zk;function zk(e,t){var n=!Array.isArray(e),i={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&i.keyedList.sort(n?t:function(r,a){return t(e[r],e[a])}),i}});var Fu=b((i8,O0)=>{var $k=qu(),Uk=Iu();O0.exports=Wk;function Wk(e){!Object.keys(this.jobs).length||(this.index=this.size,$k(this),Uk(e)(null,this.results))}});var C0=b((r8,k0)=>{var Kk=Pu(),Yk=Bu(),Hk=Fu();k0.exports=Gk;function Gk(e,t,n){for(var i=Yk(e);i.index<(i.keyedList||e).length;)Kk(e,t,i,function(r,a){if(r){n(r,a);return}if(Object.keys(i.jobs).length===0){n(null,i.results);return}}),i.index++;return Hk.bind(i,n)}});var Du=b((a8,Io)=>{var A0=Pu(),Vk=Bu(),Zk=Fu();Io.exports=Jk;Io.exports.ascending=T0;Io.exports.descending=Xk;function Jk(e,t,n,i){var r=Vk(e,n);return A0(e,t,r,function a(s,o){if(s){i(s,o);return}if(r.index++,r.index<(r.keyedList||e).length){A0(e,t,r,a);return}i(null,r.results)}),Zk.bind(r,i)}function T0(e,t){return e<t?-1:e>t?1:0}function Xk(e,t){return-1*T0(e,t)}});var M0=b((s8,j0)=>{var Qk=Du();j0.exports=eC;function eC(e,t,n){return Qk(e,t,null,n)}});var N0=b((o8,R0)=>{R0.exports={parallel:C0(),serial:M0(),serialOrdered:Du()}});var I0=b((c8,L0)=>{L0.exports=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}});var B0=b((l8,P0)=>{var Wu=u0(),q0=require("util"),zu=require("path"),tC=require("http"),nC=require("https"),iC=require("url").parse,rC=require("fs"),aC=require("stream").Stream,$u=g0(),sC=N0(),Uu=I0();P0.exports=me;q0.inherits(me,Wu);function me(e){if(!(this instanceof me))return new me(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Wu.call(this),e=e||{};for(var t in e)this[t]=e[t]}me.LINE_BREAK=`\r
|
|
19
|
+
`;me.DEFAULT_CONTENT_TYPE="application/octet-stream";me.prototype.append=function(e,t,n){n=n||{},typeof n=="string"&&(n={filename:n});var i=Wu.prototype.append.bind(this);if(typeof t=="number"&&(t=""+t),q0.isArray(t)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(e,t,n),a=this._multiPartFooter();i(r),i(t),i(a),this._trackLength(r,t,n)};me.prototype._trackLength=function(e,t,n){var i=0;n.knownLength!=null?i+=+n.knownLength:Buffer.isBuffer(t)?i=t.length:typeof t=="string"&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+me.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof aC))&&(n.knownLength||this._valuesToMeasure.push(t))};me.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):rC.stat(e.path,function(n,i){var r;if(n){t(n);return}r=i.size-(e.start?e.start:0),t(null,r)}):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",function(n){e.pause(),t(null,+n.headers["content-length"])}),e.resume()):t("Unknown stream")};me.prototype._multiPartHeader=function(e,t,n){if(typeof n.header=="string")return n.header;var i=this._getContentDisposition(t,n),r=this._getContentType(t,n),a="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof n.header=="object"&&Uu(s,n.header);var o;for(var c in s)!s.hasOwnProperty(c)||(o=s[c],o!=null&&(Array.isArray(o)||(o=[o]),o.length&&(a+=c+": "+o.join("; ")+me.LINE_BREAK)));return"--"+this.getBoundary()+me.LINE_BREAK+a+me.LINE_BREAK};me.prototype._getContentDisposition=function(e,t){var n,i;return typeof t.filepath=="string"?n=zu.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=zu.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=zu.basename(e.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i};me.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=$u.lookup(e.name)),!n&&e.path&&(n=$u.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),!n&&(t.filepath||t.filename)&&(n=$u.lookup(t.filepath||t.filename)),!n&&typeof e=="object"&&(n=me.DEFAULT_CONTENT_TYPE),n};me.prototype._multiPartFooter=function(){return function(e){var t=me.LINE_BREAK,n=this._streams.length===0;n&&(t+=this._lastBoundary()),e(t)}.bind(this)};me.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+me.LINE_BREAK};me.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n};me.prototype.setBoundary=function(e){this._boundary=e};me.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};me.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)typeof this._streams[n]!="function"&&(Buffer.isBuffer(this._streams[n])?e=Buffer.concat([e,this._streams[n]]):e=Buffer.concat([e,Buffer.from(this._streams[n])]),(typeof this._streams[n]!="string"||this._streams[n].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(me.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};me.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(Math.random()*10).toString(16);this._boundary=e};me.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e};me.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};me.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length&&(t+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}sC.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,i){if(n){e(n);return}i.forEach(function(r){t+=r}),e(null,t)})};me.prototype.submit=function(e,t){var n,i,r={method:"post"};return typeof e=="string"?(e=iC(e),i=Uu({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},r)):(i=Uu(e,r),i.port||(i.port=i.protocol=="https:"?443:80)),i.headers=this.getHeaders(e.headers),i.protocol=="https:"?n=nC.request(i):n=tC.request(i),this.getLength(function(a,s){if(a&&a!=="Unknown stream"){this._error(a);return}if(s&&n.setHeader("Content-Length",s),this.pipe(n),t){var o,c=function(u,l){return n.removeListener("error",c),n.removeListener("response",o),t.call(this,u,l)};o=c.bind(this,null),n.on("error",c),n.on("response",o)}}.bind(this)),n};me.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};me.prototype.toString=function(){return"[object FormData]"}});var U0=b(De=>{"use strict";var F0=De&&De.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(De,"__esModule",{value:!0});De.post=De.put=De.delete_=De.get=De.FormData=De.getPath=De.setApiHost=De.setAuth=void 0;var D0=F0(i0()),oC=F0(B0());function cC(e){D0.default.defaults.headers.common.Authorization=e}De.setAuth=cC;var z0="https://goldsky.com";function lC(e){z0=e}De.setApiHost=lC;function $0(e,t){return`${z0}${typeof e=="string"?e:e(t)}`}De.getPath=$0;function uC(){return new oC.default}De.FormData=uC;async function pC(e,t){return qo(e,"get",t||{})}De.get=pC;async function fC(e,t){return qo(e,"delete",t||{})}De.delete_=fC;async function dC(e,t){return qo(e,"put",t||{})}De.put=dC;async function hC(e,t){return qo(e,"post",t||{})}De.post=hC;async function qo(e,t,n){var i,r;let a=Object.assign(Object.assign(Object.assign(Object.assign({url:$0(e,n.params),method:t},n.querystring?{params:n.querystring}:{}),n.body?{data:n.body}:{}),typeof((i=n.body)===null||i===void 0?void 0:i.getHeaders)=="function"?{headers:(r=n.body)===null||r===void 0?void 0:r.getHeaders()}:{}),{validateStatus:()=>!0,onUploadProgress:s=>{var o;(o=n.onProgress)===null||o===void 0||o.call(n,Math.round(s.loaded*100/s.total))}});try{let s=await D0.default.request(a);return s.status<200||s.status>=300?"statusCode"in s.data&&"error"in s.data&&"message"in s.data?[s.data,s.data]:[{statusCode:s.data.statusCode||s.status,error:s.data.error||s.statusText,message:s.data.message||s.data.toString()},s.data]:[null,s.data||{}]}catch(s){return[{statusCode:0,error:"Request failed",message:s.code},{}]}}});var W0=b(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.DeleteWebhookSchema=mt.DeleteWebhookParams=mt.CreateWebhookSchema=mt.CreateWebhookParams=mt.CreateWebhookBody=void 0;var Re=Ai();mt.CreateWebhookBody=Re.Type.Object({name:Re.Type.String(),webhookUrl:Re.Type.String(),entity:Re.Type.String()});mt.CreateWebhookParams=Re.Type.Object({subgraphName:Re.Type.String(),subgraphVersion:Re.Type.String()});mt.CreateWebhookSchema={body:mt.CreateWebhookBody,params:mt.CreateWebhookParams};var p8=Re.Type.Object({data:Re.Type.Object({webhookSecret:Re.Type.String(),name:Re.Type.String()})});mt.DeleteWebhookParams=Re.Type.Object({name:Re.Type.String()});mt.DeleteWebhookSchema={params:mt.DeleteWebhookParams};var f8=Re.Type.Object({data:Re.Type.Object({})}),d8=Re.Type.Object({data:Re.Type.Array(Re.Type.Object({name:Re.Type.String(),webhookUrl:Re.Type.String(),entity:Re.Type.String(),subgraphName:Re.Type.String(),subgraphVersion:Re.Type.String()}))})});var K0=b(Cr=>{"use strict";Object.defineProperty(Cr,"__esModule",{value:!0});Cr.SubscriptionWithProduct=Cr.ProductWithPrices=void 0;var ke=Ai();Cr.ProductWithPrices=ke.Type.Object({id:ke.Type.String(),name:ke.Type.String(),description:ke.Type.String(),base_price_decimal:ke.Type.String(),requests:ke.Type.Object({allotted:ke.Type.Number()}),entities:ke.Type.Object({allotted:ke.Type.Number()})});Cr.SubscriptionWithProduct=ke.Type.Object({id:ke.Type.String(),latestInvoice:ke.Type.Union([ke.Type.String(),ke.Type.Null()]),product:ke.Type.Object({id:ke.Type.String(),name:ke.Type.String(),description:ke.Type.Union([ke.Type.String(),ke.Type.Null()]),basePrice:ke.Type.Object({amount:ke.Type.Union([ke.Type.String(),ke.Type.Null()]),interval:ke.Type.String()})})})});var Y0=b(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.SubgraphDeploymentEntitiesMetricsReply=Ar.SubgraphDeploymentRequestsMetricsReply=void 0;var _n=Ai();Ar.SubgraphDeploymentRequestsMetricsReply=_n.Type.Object({data:_n.Type.Object({pointList:_n.Type.Array(_n.Type.Object({requestsPerSecond:_n.Type.Number(),time:_n.Type.Number()}))})});Ar.SubgraphDeploymentEntitiesMetricsReply=_n.Type.Object({data:_n.Type.Object({entitiesCount:_n.Type.Number()})})});var H0=b(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.NewSupportMessageResp=Tr.NewSupportMessage=void 0;var Po=Ai();Tr.NewSupportMessage=Po.Type.Object({message:Po.Type.String()});Tr.NewSupportMessageResp=Po.Type.Object({success:Po.Type.Boolean()})});var Kn=b(xe=>{"use strict";var mC=xe&&xe.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),gC=xe&&xe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Ri=xe&&xe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&mC(t,e,n);return gC(t,e),t};Object.defineProperty(xe,"__esModule",{value:!0});xe.SupportApi=xe.MetricsApi=xe.BillingApi=xe.WebhookApi=xe.ApiFetch=xe.StreamBossApi=xe.SubgraphApi=xe.ENTERPRISE_BILLING_FLAG=xe.API_URL=xe.API_PORT=void 0;var vC=Ri(Em());xe.SubgraphApi=vC;var bC=Ri(Om());xe.StreamBossApi=bC;var xC=Ri(U0());xe.ApiFetch=xC;var yC=Ri(W0());xe.WebhookApi=yC;var wC=Ri(K0());xe.BillingApi=wC;var _C=Ri(Y0());xe.MetricsApi=_C;var SC=Ri(H0());xe.SupportApi=SC;xe.API_PORT=80;xe.API_URL="https://api.goldsky.com";xe.ENTERPRISE_BILLING_FLAG="goldsky_enterprise"});var Q0=b((y8,X0)=>{"use strict";X0.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var Ku=b((w8,tv)=>{var $a=Q0(),ev={};for(let e of Object.keys($a))ev[$a[e]]=e;var G={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};tv.exports=G;for(let e of Object.keys(G)){if(!("channels"in G[e]))throw new Error("missing channels property: "+e);if(!("labels"in G[e]))throw new Error("missing channel labels property: "+e);if(G[e].labels.length!==G[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:n}=G[e];delete G[e].channels,delete G[e].labels,Object.defineProperty(G[e],"channels",{value:t}),Object.defineProperty(G[e],"labels",{value:n})}G.rgb.hsl=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(t,n,i),a=Math.max(t,n,i),s=a-r,o,c;a===r?o=0:t===a?o=(n-i)/s:n===a?o=2+(i-t)/s:i===a&&(o=4+(t-n)/s),o=Math.min(o*60,360),o<0&&(o+=360);let u=(r+a)/2;return a===r?c=0:u<=.5?c=s/(a+r):c=s/(2-a-r),[o,c*100,u*100]};G.rgb.hsv=function(e){let t,n,i,r,a,s=e[0]/255,o=e[1]/255,c=e[2]/255,u=Math.max(s,o,c),l=u-Math.min(s,o,c),p=function(f){return(u-f)/6/l+1/2};return l===0?(r=0,a=0):(a=l/u,t=p(s),n=p(o),i=p(c),s===u?r=i-n:o===u?r=1/3+t-i:c===u&&(r=2/3+n-t),r<0?r+=1:r>1&&(r-=1)),[r*360,a*100,u*100]};G.rgb.hwb=function(e){let t=e[0],n=e[1],i=e[2],r=G.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,i));return i=1-1/255*Math.max(t,Math.max(n,i)),[r,a*100,i*100]};G.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(1-t,1-n,1-i),a=(1-t-r)/(1-r)||0,s=(1-n-r)/(1-r)||0,o=(1-i-r)/(1-r)||0;return[a*100,s*100,o*100,r*100]};function OC(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}G.rgb.keyword=function(e){let t=ev[e];if(t)return t;let n=1/0,i;for(let r of Object.keys($a)){let a=$a[r],s=OC(e,a);s<n&&(n=s,i=r)}return i};G.keyword.rgb=function(e){return $a[e]};G.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92;let r=t*.4124+n*.3576+i*.1805,a=t*.2126+n*.7152+i*.0722,s=t*.0193+n*.1192+i*.9505;return[r*100,a*100,s*100]};G.rgb.lab=function(e){let t=G.rgb.xyz(e),n=t[0],i=t[1],r=t[2];n/=95.047,i/=100,r/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;let a=116*i-16,s=500*(n-i),o=200*(i-r);return[a,s,o]};G.hsl.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100,r,a,s;if(n===0)return s=i*255,[s,s,s];i<.5?r=i*(1+n):r=i+n-i*n;let o=2*i-r,c=[0,0,0];for(let u=0;u<3;u++)a=t+1/3*-(u-1),a<0&&a++,a>1&&a--,6*a<1?s=o+(r-o)*6*a:2*a<1?s=r:3*a<2?s=o+(r-o)*(2/3-a)*6:s=o,c[u]=s*255;return c};G.hsl.hsv=function(e){let t=e[0],n=e[1]/100,i=e[2]/100,r=n,a=Math.max(i,.01);i*=2,n*=i<=1?i:2-i,r*=a<=1?a:2-a;let s=(i+n)/2,o=i===0?2*r/(a+r):2*n/(i+n);return[t,o*100,s*100]};G.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,a=t-Math.floor(t),s=255*i*(1-n),o=255*i*(1-n*a),c=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,c,s];case 1:return[o,i,s];case 2:return[s,i,c];case 3:return[s,o,i];case 4:return[c,s,i];case 5:return[i,s,o]}};G.hsv.hsl=function(e){let t=e[0],n=e[1]/100,i=e[2]/100,r=Math.max(i,.01),a,s;s=(2-n)*i;let o=(2-n)*r;return a=n*r,a/=o<=1?o:2-o,a=a||0,s/=2,[t,a*100,s*100]};G.hwb.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100,r=n+i,a;r>1&&(n/=r,i/=r);let s=Math.floor(6*t),o=1-i;a=6*t-s,(s&1)!==0&&(a=1-a);let c=n+a*(o-n),u,l,p;switch(s){default:case 6:case 0:u=o,l=c,p=n;break;case 1:u=c,l=o,p=n;break;case 2:u=n,l=o,p=c;break;case 3:u=n,l=c,p=o;break;case 4:u=c,l=n,p=o;break;case 5:u=o,l=n,p=c;break}return[u*255,l*255,p*255]};G.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100,a=1-Math.min(1,t*(1-r)+r),s=1-Math.min(1,n*(1-r)+r),o=1-Math.min(1,i*(1-r)+r);return[a*255,s*255,o*255]};G.xyz.rgb=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,r,a,s;return r=t*3.2406+n*-1.5372+i*-.4986,a=t*-.9689+n*1.8758+i*.0415,s=t*.0557+n*-.204+i*1.057,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,r=Math.min(Math.max(0,r),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[r*255,a*255,s*255]};G.xyz.lab=function(e){let t=e[0],n=e[1],i=e[2];t/=95.047,n/=100,i/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let r=116*n-16,a=500*(t-n),s=200*(n-i);return[r,a,s]};G.lab.xyz=function(e){let t=e[0],n=e[1],i=e[2],r,a,s;a=(t+16)/116,r=n/500+a,s=a-i/200;let o=a**3,c=r**3,u=s**3;return a=o>.008856?o:(a-16/116)/7.787,r=c>.008856?c:(r-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,r*=95.047,a*=100,s*=108.883,[r,a,s]};G.lab.lch=function(e){let t=e[0],n=e[1],i=e[2],r;r=Math.atan2(i,n)*360/2/Math.PI,r<0&&(r+=360);let s=Math.sqrt(n*n+i*i);return[t,s,r]};G.lch.lab=function(e){let t=e[0],n=e[1],r=e[2]/360*2*Math.PI,a=n*Math.cos(r),s=n*Math.sin(r);return[t,a,s]};G.rgb.ansi16=function(e,t=null){let[n,i,r]=e,a=t===null?G.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(r/255)<<2|Math.round(i/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};G.hsv.ansi16=function(e){return G.rgb.ansi16(G.hsv.rgb(e),e[2])};G.rgb.ansi256=function(e){let t=e[0],n=e[1],i=e[2];return t===n&&n===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)};G.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let n=(~~(e>50)+1)*.5,i=(t&1)*n*255,r=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[i,r,a]};G.ansi256.rgb=function(e){if(e>=232){let a=(e-232)*10+8;return[a,a,a]}e-=16;let t,n=Math.floor(e/36)/5*255,i=Math.floor((t=e%36)/6)/5*255,r=t%6/5*255;return[n,i,r]};G.rgb.hex=function(e){let n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};G.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(o=>o+o).join(""));let i=parseInt(n,16),r=i>>16&255,a=i>>8&255,s=i&255;return[r,a,s]};G.rgb.hcg=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.max(Math.max(t,n),i),a=Math.min(Math.min(t,n),i),s=r-a,o,c;return s<1?o=a/(1-s):o=0,s<=0?c=0:r===t?c=(n-i)/s%6:r===n?c=2+(i-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*360,s*100,o*100]};G.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=n<.5?2*t*n:2*t*(1-n),r=0;return i<1&&(r=(n-.5*i)/(1-i)),[e[0],i*100,r*100]};G.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=t*n,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],i*100,r*100]};G.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100;if(n===0)return[i*255,i*255,i*255];let r=[0,0,0],a=t%1*6,s=a%1,o=1-s,c=0;switch(Math.floor(a)){case 0:r[0]=1,r[1]=s,r[2]=0;break;case 1:r[0]=o,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=s;break;case 3:r[0]=0,r[1]=o,r[2]=1;break;case 4:r[0]=s,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=o}return c=(1-n)*i,[(n*r[0]+c)*255,(n*r[1]+c)*255,(n*r[2]+c)*255]};G.hcg.hsv=function(e){let t=e[1]/100,n=e[2]/100,i=t+n*(1-t),r=0;return i>0&&(r=t/i),[e[0],r*100,i*100]};G.hcg.hsl=function(e){let t=e[1]/100,i=e[2]/100*(1-t)+.5*t,r=0;return i>0&&i<.5?r=t/(2*i):i>=.5&&i<1&&(r=t/(2*(1-i))),[e[0],r*100,i*100]};G.hcg.hwb=function(e){let t=e[1]/100,n=e[2]/100,i=t+n*(1-t);return[e[0],(i-t)*100,(1-i)*100]};G.hwb.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=1-n,r=i-t,a=0;return r<1&&(a=(i-r)/(1-r)),[e[0],r*100,a*100]};G.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};G.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};G.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};G.gray.hsl=function(e){return[0,0,e[0]]};G.gray.hsv=G.gray.hsl;G.gray.hwb=function(e){return[0,100,e[0]]};G.gray.cmyk=function(e){return[0,0,0,e[0]]};G.gray.lab=function(e){return[e[0],0,0]};G.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(i.length)+i};G.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var iv=b((_8,nv)=>{var Fo=Ku();function kC(){let e={},t=Object.keys(Fo);for(let n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}function CC(e){let t=kC(),n=[e];for(t[e].distance=0;n.length;){let i=n.pop(),r=Object.keys(Fo[i]);for(let a=r.length,s=0;s<a;s++){let o=r[s],c=t[o];c.distance===-1&&(c.distance=t[i].distance+1,c.parent=i,n.unshift(o))}}return t}function AC(e,t){return function(n){return t(e(n))}}function TC(e,t){let n=[t[e].parent,e],i=Fo[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)n.unshift(t[r].parent),i=AC(Fo[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}nv.exports=function(e){let t=CC(e),n={},i=Object.keys(t);for(let r=i.length,a=0;a<r;a++){let s=i[a];t[s].parent!==null&&(n[s]=TC(s,t))}return n}});var av=b((S8,rv)=>{var Yu=Ku(),jC=iv(),Mr={},MC=Object.keys(Yu);function RC(e){let t=function(...n){let i=n[0];return i==null?i:(i.length>1&&(n=i),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function NC(e){let t=function(...n){let i=n[0];if(i==null)return i;i.length>1&&(n=i);let r=e(n);if(typeof r=="object")for(let a=r.length,s=0;s<a;s++)r[s]=Math.round(r[s]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}MC.forEach(e=>{Mr[e]={},Object.defineProperty(Mr[e],"channels",{value:Yu[e].channels}),Object.defineProperty(Mr[e],"labels",{value:Yu[e].labels});let t=jC(e);Object.keys(t).forEach(i=>{let r=t[i];Mr[e][i]=NC(r),Mr[e][i].raw=RC(r)})});rv.exports=Mr});var Gu=b((E8,uv)=>{"use strict";var sv=(e,t)=>(...n)=>`\x1B[${e(...n)+t}m`,ov=(e,t)=>(...n)=>{let i=e(...n);return`\x1B[${38+t};5;${i}m`},cv=(e,t)=>(...n)=>{let i=e(...n);return`\x1B[${38+t};2;${i[0]};${i[1]};${i[2]}m`},Do=e=>e,lv=(e,t,n)=>[e,t,n],Rr=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{let i=n();return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0}),i},enumerable:!0,configurable:!0})},Hu,Nr=(e,t,n,i)=>{Hu===void 0&&(Hu=av());let r=i?10:0,a={};for(let[s,o]of Object.entries(Hu)){let c=s==="ansi16"?"ansi":s;s===t?a[c]=e(n,r):typeof o=="object"&&(a[c]=e(o[t],r))}return a};function LC(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[n,i]of Object.entries(t)){for(let[r,a]of Object.entries(i))t[r]={open:`\x1B[${a[0]}m`,close:`\x1B[${a[1]}m`},i[r]=t[r],e.set(a[0],a[1]);Object.defineProperty(t,n,{value:i,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",Rr(t.color,"ansi",()=>Nr(sv,"ansi16",Do,!1)),Rr(t.color,"ansi256",()=>Nr(ov,"ansi256",Do,!1)),Rr(t.color,"ansi16m",()=>Nr(cv,"rgb",lv,!1)),Rr(t.bgColor,"ansi",()=>Nr(sv,"ansi16",Do,!0)),Rr(t.bgColor,"ansi256",()=>Nr(ov,"ansi256",Do,!0)),Rr(t.bgColor,"ansi16m",()=>Nr(cv,"rgb",lv,!0)),t}Object.defineProperty(uv,"exports",{enumerable:!0,get:LC})});var fv=b((O8,pv)=>{"use strict";var IC=(e,t,n)=>{let i=e.indexOf(t);if(i===-1)return e;let r=t.length,a=0,s="";do s+=e.substr(a,i-a)+t+n,a=i+r,i=e.indexOf(t,a);while(i!==-1);return s+=e.substr(a),s},qC=(e,t,n,i)=>{let r=0,a="";do{let s=e[i-1]==="\r";a+=e.substr(r,(s?i-1:i)-r)+t+(s?`\r
|
|
20
20
|
`:`
|
|
21
21
|
`)+n,r=i+1,i=e.indexOf(`
|
|
22
|
-
`,r)}while(i!==-1);return a+=e.substr(r),a};
|
|
23
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function
|
|
24
|
-
`);return a!==-1&&(t=WC(t,r,i,a)),i+t+r},
|
|
25
|
-
`),function(o){if(a=o.indexOf(":"),i=sp.trim(o.substr(0,a)).toLowerCase(),r=sp.trim(o.substr(a+1)),i){if(n[i]&&mA.indexOf(i)>=0)return;i==="set-cookie"?n[i]=(n[i]?n[i]:[]).concat([r]):n[i]=n[i]?n[i]+", "+r:r}}),n}});var Hv=b((z8,Yv)=>{"use strict";var Kv=gt();Yv.exports=Kv.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function r(a){var s=a;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=r(window.location.href),function(s){var o=Kv.isString(s)?r(s):s;return o.protocol===i.protocol&&o.host===i.host}}():function(){return function(){return!0}}()});var qr=b(($8,Gv)=>{"use strict";function op(e){this.message=e}op.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};op.prototype.__CANCEL__=!0;Gv.exports=op});var Zv=b((U8,Vv)=>{"use strict";var Jo=gt(),gA=rp(),vA=Pv(),bA=Yo(),xA=ap(),yA=Wv(),wA=Hv(),cp=Vo(),_A=Pr(),SA=qr();Vv.exports=function(t){return new Promise(function(i,r){var a=t.data,s=t.headers,o=t.responseType,c;function u(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}Jo.isFormData(a)&&delete s["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",f=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(p+":"+f)}var m=xA(t.baseURL,t.url);l.open(t.method.toUpperCase(),bA(m,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function v(){if(!!l){var d="getAllResponseHeaders"in l?yA(l.getAllResponseHeaders()):null,x=!o||o==="text"||o==="json"?l.responseText:l.response,_={data:x,status:l.status,statusText:l.statusText,headers:d,config:t,request:l};gA(function(k){i(k),u()},function(k){r(k),u()},_),l=null}}if("onloadend"in l?l.onloadend=v:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(v)},l.onabort=function(){!l||(r(cp("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){r(cp("Network Error",t,null,l)),l=null},l.ontimeout=function(){var x=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",_=t.transitional||_A.transitional;t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),r(cp(x,t,_.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},Jo.isStandardBrowserEnv()){var g=(t.withCredentials||wA(m))&&t.xsrfCookieName?vA.read(t.xsrfCookieName):void 0;g&&(s[t.xsrfHeaderName]=g)}"setRequestHeader"in l&&Jo.forEach(s,function(x,_){typeof a>"u"&&_.toLowerCase()==="content-type"?delete s[_]:l.setRequestHeader(_,x)}),Jo.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),o&&o!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(c=function(d){!l||(r(!d||d&&d.type?new SA("canceled"):d),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c))),a||(a=null),l.send(a)})}});var Xo=b((W8,Jv)=>{Jv.exports={version:"0.24.0"}});var ib=b((K8,nb)=>{"use strict";var Wa=gt(),Xv=rp(),EA=ap(),OA=Yo(),kA=require("http"),CA=require("https"),AA=Pa().http,TA=Pa().https,Qv=require("url"),jA=require("zlib"),MA=Xo().version,Qo=Vo(),lp=Go(),RA=Pr(),NA=qr(),eb=/https:?/;function tb(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+i}e.beforeRedirect=function(a){a.headers.host=a.host,tb(a,t,a.href)}}nb.exports=function(t){return new Promise(function(i,r){var a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}var o=function(Y){s(),i(Y)},c=function(Y){s(),r(Y)},u=t.data,l=t.headers,p={};if(Object.keys(l).forEach(function(Y){p[Y.toLowerCase()]=Y}),"user-agent"in p?l[p["user-agent"]]||delete l[p["user-agent"]]:l["User-Agent"]="axios/"+MA,u&&!Wa.isStream(u)){if(!Buffer.isBuffer(u))if(Wa.isArrayBuffer(u))u=Buffer.from(new Uint8Array(u));else if(Wa.isString(u))u=Buffer.from(u,"utf-8");else return c(Qo("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));p["content-length"]||(l["Content-Length"]=u.length)}var f=void 0;if(t.auth){var m=t.auth.username||"",v=t.auth.password||"";f=m+":"+v}var g=EA(t.baseURL,t.url),d=Qv.parse(g),x=d.protocol||"http:";if(!f&&d.auth){var _=d.auth.split(":"),C=_[0]||"",k=_[1]||"";f=C+":"+k}f&&p.authorization&&delete l[p.authorization];var O=eb.test(x),F=O?t.httpsAgent:t.httpAgent,P={path:OA(d.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:l,agent:F,agents:{http:t.httpAgent,https:t.httpsAgent},auth:f};t.socketPath?P.socketPath=t.socketPath:(P.hostname=d.hostname,P.port=d.port);var L=t.proxy;if(!L&&L!==!1){var $=x.slice(0,-1)+"_proxy",B=process.env[$]||process.env[$.toUpperCase()];if(B){var q=Qv.parse(B),R=process.env.no_proxy||process.env.NO_PROXY,M=!0;if(R){var I=R.split(",").map(function(Y){return Y.trim()});M=!I.some(function(Y){return Y?Y==="*"||Y[0]==="."&&d.hostname.substr(d.hostname.length-Y.length)===Y?!0:d.hostname===Y:!1})}if(M&&(L={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var K=q.auth.split(":");L.auth={username:K[0],password:K[1]}}}}L&&(P.headers.host=d.hostname+(d.port?":"+d.port:""),tb(P,L,x+"//"+d.hostname+(d.port?":"+d.port:"")+P.path));var ce,ve=O&&(L?eb.test(L.protocol):!0);t.transport?ce=t.transport:t.maxRedirects===0?ce=ve?CA:kA:(t.maxRedirects&&(P.maxRedirects=t.maxRedirects),ce=ve?TA:AA),t.maxBodyLength>-1&&(P.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(P.insecureHTTPParser=t.insecureHTTPParser);var X=ce.request(P,function(Y){if(!X.aborted){var fe=Y,ie=Y.req||X;if(Y.statusCode!==204&&ie.method!=="HEAD"&&t.decompress!==!1)switch(Y.headers["content-encoding"]){case"gzip":case"compress":case"deflate":fe=fe.pipe(jA.createUnzip()),delete Y.headers["content-encoding"];break}var z={status:Y.statusCode,statusText:Y.statusMessage,headers:Y.headers,config:t,request:ie};if(t.responseType==="stream")z.data=fe,Xv(o,c,z);else{var ft=[],Ft=0;fe.on("data",function(oe){ft.push(oe),Ft+=oe.length,t.maxContentLength>-1&&Ft>t.maxContentLength&&(fe.destroy(),c(Qo("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,ie)))}),fe.on("error",function(oe){X.aborted||c(lp(oe,t,null,ie))}),fe.on("end",function(){var oe=Buffer.concat(ft);t.responseType!=="arraybuffer"&&(oe=oe.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(oe=Wa.stripBOM(oe))),z.data=oe,Xv(o,c,z)})}}});if(X.on("error",function(Y){X.aborted&&Y.code!=="ERR_FR_TOO_MANY_REDIRECTS"||c(lp(Y,t,null,X))}),t.timeout){var Se=parseInt(t.timeout,10);if(isNaN(Se)){c(Qo("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",X));return}X.setTimeout(Se,function(){X.abort();var Y=t.transitional||RA.transitional;c(Qo("timeout of "+Se+"ms exceeded",t,Y.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",X))})}(t.cancelToken||t.signal)&&(a=function(le){X.aborted||(X.abort(),c(!le||le&&le.type?new NA("canceled"):le))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),Wa.isStream(u)?u.on("error",function(Y){c(lp(Y,t,null,X))}).pipe(X):X.end(u)})}});var Pr=b((Y8,sb)=>{"use strict";var it=gt(),rb=Rv(),LA=Go(),IA={"Content-Type":"application/x-www-form-urlencoded"};function ab(e,t){!it.isUndefined(e)&&it.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function qA(){var e;return typeof XMLHttpRequest<"u"?e=Zv():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=ib()),e}function PA(e,t,n){if(it.isString(e))try{return(t||JSON.parse)(e),it.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}var ec={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:qA(),transformRequest:[function(t,n){return rb(n,"Accept"),rb(n,"Content-Type"),it.isFormData(t)||it.isArrayBuffer(t)||it.isBuffer(t)||it.isStream(t)||it.isFile(t)||it.isBlob(t)?t:it.isArrayBufferView(t)?t.buffer:it.isURLSearchParams(t)?(ab(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):it.isObject(t)||n&&n["Content-Type"]==="application/json"?(ab(n,"application/json"),PA(t)):t}],transformResponse:[function(t){var n=this.transitional||ec.transitional,i=n&&n.silentJSONParsing,r=n&&n.forcedJSONParsing,a=!i&&this.responseType==="json";if(a||r&&it.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?LA(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};it.forEach(["delete","get","head"],function(t){ec.headers[t]={}});it.forEach(["post","put","patch"],function(t){ec.headers[t]=it.merge(IA)});sb.exports=ec});var cb=b((H8,ob)=>{"use strict";var BA=gt(),FA=Pr();ob.exports=function(t,n,i){var r=this||FA;return BA.forEach(i,function(s){t=s.call(r,t,n)}),t}});var up=b((G8,lb)=>{"use strict";lb.exports=function(t){return!!(t&&t.__CANCEL__)}});var fb=b((V8,pb)=>{"use strict";var ub=gt(),pp=cb(),DA=up(),zA=Pr(),$A=qr();function fp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $A("canceled")}pb.exports=function(t){fp(t),t.headers=t.headers||{},t.data=pp.call(t,t.data,t.headers,t.transformRequest),t.headers=ub.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),ub.forEach(["delete","get","head","post","put","patch","common"],function(r){delete t.headers[r]});var n=t.adapter||zA.adapter;return n(t).then(function(r){return fp(t),r.data=pp.call(t,r.data,r.headers,t.transformResponse),r},function(r){return DA(r)||(fp(t),r&&r.response&&(r.response.data=pp.call(t,r.response.data,r.response.headers,t.transformResponse))),Promise.reject(r)})}});var dp=b((Z8,db)=>{"use strict";var Nt=gt();db.exports=function(t,n){n=n||{};var i={};function r(l,p){return Nt.isPlainObject(l)&&Nt.isPlainObject(p)?Nt.merge(l,p):Nt.isPlainObject(p)?Nt.merge({},p):Nt.isArray(p)?p.slice():p}function a(l){if(Nt.isUndefined(n[l])){if(!Nt.isUndefined(t[l]))return r(void 0,t[l])}else return r(t[l],n[l])}function s(l){if(!Nt.isUndefined(n[l]))return r(void 0,n[l])}function o(l){if(Nt.isUndefined(n[l])){if(!Nt.isUndefined(t[l]))return r(void 0,t[l])}else return r(void 0,n[l])}function c(l){if(l in n)return r(t[l],n[l]);if(l in t)return r(void 0,t[l])}var u={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:c};return Nt.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var f=u[p]||a,m=f(p);Nt.isUndefined(m)&&f!==c||(i[p]=m)}),i}});var gb=b((J8,mb)=>{"use strict";var UA=Xo().version,hp={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){hp[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var hb={};hp.transitional=function(t,n,i){function r(a,s){return"[Axios v"+UA+"] Transitional option '"+a+"'"+s+(i?". "+i:"")}return function(a,s,o){if(t===!1)throw new Error(r(s," has been removed"+(n?" in "+n:"")));return n&&!hb[s]&&(hb[s]=!0,console.warn(r(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,o):!0}};function WA(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var i=Object.keys(e),r=i.length;r-- >0;){var a=i[r],s=t[a];if(s){var o=e[a],c=o===void 0||s(o,a,e);if(c!==!0)throw new TypeError("option "+a+" must be "+c);continue}if(n!==!0)throw Error("Unknown option "+a)}}mb.exports={assertOptions:WA,validators:hp}});var _b=b((X8,wb)=>{"use strict";var xb=gt(),KA=Yo(),vb=jv(),bb=fb(),tc=dp(),yb=gb(),Br=yb.validators;function Ka(e){this.defaults=e,this.interceptors={request:new vb,response:new vb}}Ka.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=tc(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;n!==void 0&&yb.assertOptions(n,{silentJSONParsing:Br.transitional(Br.boolean),forcedJSONParsing:Br.transitional(Br.boolean),clarifyTimeoutError:Br.transitional(Br.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(t)===!1||(r=r&&f.synchronous,i.unshift(f.fulfilled,f.rejected))});var a=[];this.interceptors.response.forEach(function(f){a.push(f.fulfilled,f.rejected)});var s;if(!r){var o=[bb,void 0];for(Array.prototype.unshift.apply(o,i),o=o.concat(a),s=Promise.resolve(t);o.length;)s=s.then(o.shift(),o.shift());return s}for(var c=t;i.length;){var u=i.shift(),l=i.shift();try{c=u(c)}catch(p){l(p);break}}try{s=bb(c)}catch(p){return Promise.reject(p)}for(;a.length;)s=s.then(a.shift(),a.shift());return s};Ka.prototype.getUri=function(t){return t=tc(this.defaults,t),KA(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};xb.forEach(["delete","get","head","options"],function(t){Ka.prototype[t]=function(n,i){return this.request(tc(i||{},{method:t,url:n,data:(i||{}).data}))}});xb.forEach(["post","put","patch"],function(t){Ka.prototype[t]=function(n,i,r){return this.request(tc(r||{},{method:t,url:n,data:i}))}});wb.exports=Ka});var Eb=b((Q8,Sb)=>{"use strict";var YA=qr();function Fr(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(r){t=r});var n=this;this.promise.then(function(i){if(!!n._listeners){var r,a=n._listeners.length;for(r=0;r<a;r++)n._listeners[r](i);n._listeners=null}}),this.promise.then=function(i){var r,a=new Promise(function(s){n.subscribe(s),r=s}).then(i);return a.cancel=function(){n.unsubscribe(r)},a},e(function(r){n.reason||(n.reason=new YA(r),t(n.reason))})}Fr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Fr.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Fr.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};Fr.source=function(){var t,n=new Fr(function(r){t=r});return{token:n,cancel:t}};Sb.exports=Fr});var kb=b((e6,Ob)=>{"use strict";Ob.exports=function(t){return function(i){return t.apply(null,i)}}});var Ab=b((t6,Cb)=>{"use strict";Cb.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var Mb=b((n6,mp)=>{"use strict";var Tb=gt(),HA=Qu(),nc=_b(),GA=dp(),VA=Pr();function jb(e){var t=new nc(e),n=HA(nc.prototype.request,t);return Tb.extend(n,nc.prototype,t),Tb.extend(n,t),n.create=function(r){return jb(GA(e,r))},n}var dn=jb(VA);dn.Axios=nc;dn.Cancel=qr();dn.CancelToken=Eb();dn.isCancel=up();dn.VERSION=Xo().version;dn.all=function(t){return Promise.all(t)};dn.spread=kb();dn.isAxiosError=Ab();mp.exports=dn;mp.exports.default=dn});var gp=b((i6,Rb)=>{Rb.exports=Mb()});var Lb=b((r6,Nb)=>{"use strict";var ZA=(e,t,n)=>{let i=e.indexOf(t);if(i===-1)return e;let r=t.length,a=0,s="";do s+=e.substr(a,i-a)+t+n,a=i+r,i=e.indexOf(t,a);while(i!==-1);return s+=e.substr(a),s},JA=(e,t,n,i)=>{let r=0,a="";do{let s=e[i-1]==="\r";a+=e.substr(r,(s?i-1:i)-r)+t+(s?`\r
|
|
22
|
+
`,r)}while(i!==-1);return a+=e.substr(r),a};pv.exports={stringReplaceAll:IC,stringEncaseCRLFWithFirstIndex:qC}});var vv=b((k8,gv)=>{"use strict";var PC=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,dv=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,BC=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,FC=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,DC=new Map([["n",`
|
|
23
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function mv(e){let t=e[0]==="u",n=e[1]==="{";return t&&!n&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):DC.get(e)||e}function zC(e,t){let n=[],i=t.trim().split(/\s*,\s*/g),r;for(let a of i){let s=Number(a);if(!Number.isNaN(s))n.push(s);else if(r=a.match(BC))n.push(r[2].replace(FC,(o,c,u)=>c?mv(c):u));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`)}return n}function $C(e){dv.lastIndex=0;let t=[],n;for(;(n=dv.exec(e))!==null;){let i=n[1];if(n[2]){let r=zC(i,n[2]);t.push([i].concat(r))}else t.push([i])}return t}function hv(e,t){let n={};for(let r of t)for(let a of r.styles)n[a[0]]=r.inverse?null:a.slice(1);let i=e;for(let[r,a]of Object.entries(n))if(!!Array.isArray(a)){if(!(r in i))throw new Error(`Unknown Chalk style: ${r}`);i=a.length>0?i[r](...a):i[r]}return i}gv.exports=(e,t)=>{let n=[],i=[],r=[];if(t.replace(PC,(a,s,o,c,u,l)=>{if(s)r.push(mv(s));else if(c){let p=r.join("");r=[],i.push(n.length===0?p:hv(e,n)(p)),n.push({inverse:o,styles:$C(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");i.push(hv(e,n)(r.join(""))),r=[],n.pop()}else r.push(l)}),i.push(r.join("")),n.length>0){let a=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(a)}return i.join("")}});var Yt=b((C8,Sv)=>{"use strict";var Ua=Gu(),{stdout:Zu,stderr:Ju}=Oo(),{stringReplaceAll:UC,stringEncaseCRLFWithFirstIndex:WC}=fv(),{isArray:zo}=Array,xv=["ansi","ansi","ansi256","ansi16m"],Lr=Object.create(null),KC=(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");let n=Zu?Zu.level:0;e.level=t.level===void 0?n:t.level},Xu=class{constructor(t){return yv(t)}},yv=e=>{let t={};return KC(t,e),t.template=(...n)=>_v(t.template,...n),Object.setPrototypeOf(t,$o.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Xu,t.template};function $o(e){return yv(e)}for(let[e,t]of Object.entries(Ua))Lr[e]={get(){let n=Uo(this,Qu(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};Lr.visible={get(){let e=Uo(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var wv=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of wv)Lr[e]={get(){let{level:t}=this;return function(...n){let i=Qu(Ua.color[xv[t]][e](...n),Ua.color.close,this._styler);return Uo(this,i,this._isEmpty)}}};for(let e of wv){let t="bg"+e[0].toUpperCase()+e.slice(1);Lr[t]={get(){let{level:n}=this;return function(...i){let r=Qu(Ua.bgColor[xv[n]][e](...i),Ua.bgColor.close,this._styler);return Uo(this,r,this._isEmpty)}}}}var YC=Object.defineProperties(()=>{},{...Lr,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),Qu=(e,t,n)=>{let i,r;return n===void 0?(i=e,r=t):(i=n.openAll+e,r=t+n.closeAll),{open:e,close:t,openAll:i,closeAll:r,parent:n}},Uo=(e,t,n)=>{let i=(...r)=>zo(r[0])&&zo(r[0].raw)?bv(i,_v(i,...r)):bv(i,r.length===1?""+r[0]:r.join(" "));return Object.setPrototypeOf(i,YC),i._generator=e,i._styler=t,i._isEmpty=n,i},bv=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(n===void 0)return t;let{openAll:i,closeAll:r}=n;if(t.indexOf("\x1B")!==-1)for(;n!==void 0;)t=UC(t,n.close,n.open),n=n.parent;let a=t.indexOf(`
|
|
24
|
+
`);return a!==-1&&(t=WC(t,r,i,a)),i+t+r},Vu,_v=(e,...t)=>{let[n]=t;if(!zo(n)||!zo(n.raw))return t.join(" ");let i=t.slice(1),r=[n.raw[0]];for(let a=1;a<n.length;a++)r.push(String(i[a-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[a]));return Vu===void 0&&(Vu=vv()),Vu(e,r.join(""))};Object.defineProperties($o.prototype,Lr);var Wo=$o();Wo.supportsColor=Zu;Wo.stderr=$o({level:Ju?Ju.level:0});Wo.stderr.supportsColor=Ju;Sv.exports=Wo});var ep=b((A8,Ev)=>{"use strict";Ev.exports=function(t,n){return function(){for(var r=new Array(arguments.length),a=0;a<r.length;a++)r[a]=arguments[a];return t.apply(n,r)}}});var gt=b((T8,Cv)=>{"use strict";var HC=ep(),Ni=Object.prototype.toString;function ip(e){return Ni.call(e)==="[object Array]"}function tp(e){return typeof e>"u"}function GC(e){return e!==null&&!tp(e)&&e.constructor!==null&&!tp(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function VC(e){return Ni.call(e)==="[object ArrayBuffer]"}function ZC(e){return typeof FormData<"u"&&e instanceof FormData}function JC(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function XC(e){return typeof e=="string"}function QC(e){return typeof e=="number"}function Ov(e){return e!==null&&typeof e=="object"}function Ko(e){if(Ni.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function eA(e){return Ni.call(e)==="[object Date]"}function tA(e){return Ni.call(e)==="[object File]"}function nA(e){return Ni.call(e)==="[object Blob]"}function kv(e){return Ni.call(e)==="[object Function]"}function iA(e){return Ov(e)&&kv(e.pipe)}function rA(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function aA(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function sA(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function rp(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),ip(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}function np(){var e={};function t(r,a){Ko(e[a])&&Ko(r)?e[a]=np(e[a],r):Ko(r)?e[a]=np({},r):ip(r)?e[a]=r.slice():e[a]=r}for(var n=0,i=arguments.length;n<i;n++)rp(arguments[n],t);return e}function oA(e,t,n){return rp(t,function(r,a){n&&typeof r=="function"?e[a]=HC(r,n):e[a]=r}),e}function cA(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}Cv.exports={isArray:ip,isArrayBuffer:VC,isBuffer:GC,isFormData:ZC,isArrayBufferView:JC,isString:XC,isNumber:QC,isObject:Ov,isPlainObject:Ko,isUndefined:tp,isDate:eA,isFile:tA,isBlob:nA,isFunction:kv,isStream:iA,isURLSearchParams:rA,isStandardBrowserEnv:sA,forEach:rp,merge:np,extend:oA,trim:aA,stripBOM:cA}});var Yo=b((j8,Tv)=>{"use strict";var Ir=gt();function Av(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}Tv.exports=function(t,n,i){if(!n)return t;var r;if(i)r=i(n);else if(Ir.isURLSearchParams(n))r=n.toString();else{var a=[];Ir.forEach(n,function(c,u){c===null||typeof c>"u"||(Ir.isArray(c)?u=u+"[]":c=[c],Ir.forEach(c,function(p){Ir.isDate(p)?p=p.toISOString():Ir.isObject(p)&&(p=JSON.stringify(p)),a.push(Av(u)+"="+Av(p))}))}),r=a.join("&")}if(r){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}});var Mv=b((M8,jv)=>{"use strict";var lA=gt();function Ho(){this.handlers=[]}Ho.prototype.use=function(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1};Ho.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Ho.prototype.forEach=function(t){lA.forEach(this.handlers,function(i){i!==null&&t(i)})};jv.exports=Ho});var Nv=b((R8,Rv)=>{"use strict";var uA=gt();Rv.exports=function(t,n){uA.forEach(t,function(r,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=r,delete t[a])})}});var Go=b((N8,Lv)=>{"use strict";Lv.exports=function(t,n,i,r,a){return t.config=n,i&&(t.code=i),t.request=r,t.response=a,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}});var Vo=b((L8,Iv)=>{"use strict";var pA=Go();Iv.exports=function(t,n,i,r,a){var s=new Error(t);return pA(s,n,i,r,a)}});var ap=b((I8,qv)=>{"use strict";var fA=Vo();qv.exports=function(t,n,i){var r=i.config.validateStatus;!i.status||!r||r(i.status)?t(i):n(fA("Request failed with status code "+i.status,i.config,null,i.request,i))}});var Bv=b((q8,Pv)=>{"use strict";var Zo=gt();Pv.exports=Zo.isStandardBrowserEnv()?function(){return{write:function(n,i,r,a,s,o){var c=[];c.push(n+"="+encodeURIComponent(i)),Zo.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),Zo.isString(a)&&c.push("path="+a),Zo.isString(s)&&c.push("domain="+s),o===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){var i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()});var Dv=b((P8,Fv)=>{"use strict";Fv.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}});var $v=b((B8,zv)=>{"use strict";zv.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}});var sp=b((F8,Uv)=>{"use strict";var dA=Dv(),hA=$v();Uv.exports=function(t,n){return t&&!dA(n)?hA(t,n):n}});var Kv=b((D8,Wv)=>{"use strict";var op=gt(),mA=["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"];Wv.exports=function(t){var n={},i,r,a;return t&&op.forEach(t.split(`
|
|
25
|
+
`),function(o){if(a=o.indexOf(":"),i=op.trim(o.substr(0,a)).toLowerCase(),r=op.trim(o.substr(a+1)),i){if(n[i]&&mA.indexOf(i)>=0)return;i==="set-cookie"?n[i]=(n[i]?n[i]:[]).concat([r]):n[i]=n[i]?n[i]+", "+r:r}}),n}});var Gv=b((z8,Hv)=>{"use strict";var Yv=gt();Hv.exports=Yv.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function r(a){var s=a;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=r(window.location.href),function(s){var o=Yv.isString(s)?r(s):s;return o.protocol===i.protocol&&o.host===i.host}}():function(){return function(){return!0}}()});var qr=b(($8,Vv)=>{"use strict";function cp(e){this.message=e}cp.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};cp.prototype.__CANCEL__=!0;Vv.exports=cp});var Jv=b((U8,Zv)=>{"use strict";var Jo=gt(),gA=ap(),vA=Bv(),bA=Yo(),xA=sp(),yA=Kv(),wA=Gv(),lp=Vo(),_A=Pr(),SA=qr();Zv.exports=function(t){return new Promise(function(i,r){var a=t.data,s=t.headers,o=t.responseType,c;function u(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}Jo.isFormData(a)&&delete s["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",f=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(p+":"+f)}var m=xA(t.baseURL,t.url);l.open(t.method.toUpperCase(),bA(m,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function v(){if(!!l){var d="getAllResponseHeaders"in l?yA(l.getAllResponseHeaders()):null,x=!o||o==="text"||o==="json"?l.responseText:l.response,_={data:x,status:l.status,statusText:l.statusText,headers:d,config:t,request:l};gA(function(k){i(k),u()},function(k){r(k),u()},_),l=null}}if("onloadend"in l?l.onloadend=v:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(v)},l.onabort=function(){!l||(r(lp("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){r(lp("Network Error",t,null,l)),l=null},l.ontimeout=function(){var x=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",_=t.transitional||_A.transitional;t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),r(lp(x,t,_.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},Jo.isStandardBrowserEnv()){var g=(t.withCredentials||wA(m))&&t.xsrfCookieName?vA.read(t.xsrfCookieName):void 0;g&&(s[t.xsrfHeaderName]=g)}"setRequestHeader"in l&&Jo.forEach(s,function(x,_){typeof a>"u"&&_.toLowerCase()==="content-type"?delete s[_]:l.setRequestHeader(_,x)}),Jo.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),o&&o!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(c=function(d){!l||(r(!d||d&&d.type?new SA("canceled"):d),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c))),a||(a=null),l.send(a)})}});var Xo=b((W8,Xv)=>{Xv.exports={version:"0.24.0"}});var rb=b((K8,ib)=>{"use strict";var Wa=gt(),Qv=ap(),EA=sp(),OA=Yo(),kA=require("http"),CA=require("https"),AA=Pa().http,TA=Pa().https,eb=require("url"),jA=require("zlib"),MA=Xo().version,Qo=Vo(),up=Go(),RA=Pr(),NA=qr(),tb=/https:?/;function nb(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+i}e.beforeRedirect=function(a){a.headers.host=a.host,nb(a,t,a.href)}}ib.exports=function(t){return new Promise(function(i,r){var a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}var o=function(Y){s(),i(Y)},c=function(Y){s(),r(Y)},u=t.data,l=t.headers,p={};if(Object.keys(l).forEach(function(Y){p[Y.toLowerCase()]=Y}),"user-agent"in p?l[p["user-agent"]]||delete l[p["user-agent"]]:l["User-Agent"]="axios/"+MA,u&&!Wa.isStream(u)){if(!Buffer.isBuffer(u))if(Wa.isArrayBuffer(u))u=Buffer.from(new Uint8Array(u));else if(Wa.isString(u))u=Buffer.from(u,"utf-8");else return c(Qo("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));p["content-length"]||(l["Content-Length"]=u.length)}var f=void 0;if(t.auth){var m=t.auth.username||"",v=t.auth.password||"";f=m+":"+v}var g=EA(t.baseURL,t.url),d=eb.parse(g),x=d.protocol||"http:";if(!f&&d.auth){var _=d.auth.split(":"),C=_[0]||"",k=_[1]||"";f=C+":"+k}f&&p.authorization&&delete l[p.authorization];var O=tb.test(x),F=O?t.httpsAgent:t.httpAgent,P={path:OA(d.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:l,agent:F,agents:{http:t.httpAgent,https:t.httpsAgent},auth:f};t.socketPath?P.socketPath=t.socketPath:(P.hostname=d.hostname,P.port=d.port);var L=t.proxy;if(!L&&L!==!1){var $=x.slice(0,-1)+"_proxy",B=process.env[$]||process.env[$.toUpperCase()];if(B){var q=eb.parse(B),R=process.env.no_proxy||process.env.NO_PROXY,M=!0;if(R){var I=R.split(",").map(function(Y){return Y.trim()});M=!I.some(function(Y){return Y?Y==="*"||Y[0]==="."&&d.hostname.substr(d.hostname.length-Y.length)===Y?!0:d.hostname===Y:!1})}if(M&&(L={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var K=q.auth.split(":");L.auth={username:K[0],password:K[1]}}}}L&&(P.headers.host=d.hostname+(d.port?":"+d.port:""),nb(P,L,x+"//"+d.hostname+(d.port?":"+d.port:"")+P.path));var ce,ve=O&&(L?tb.test(L.protocol):!0);t.transport?ce=t.transport:t.maxRedirects===0?ce=ve?CA:kA:(t.maxRedirects&&(P.maxRedirects=t.maxRedirects),ce=ve?TA:AA),t.maxBodyLength>-1&&(P.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(P.insecureHTTPParser=t.insecureHTTPParser);var X=ce.request(P,function(Y){if(!X.aborted){var fe=Y,ie=Y.req||X;if(Y.statusCode!==204&&ie.method!=="HEAD"&&t.decompress!==!1)switch(Y.headers["content-encoding"]){case"gzip":case"compress":case"deflate":fe=fe.pipe(jA.createUnzip()),delete Y.headers["content-encoding"];break}var z={status:Y.statusCode,statusText:Y.statusMessage,headers:Y.headers,config:t,request:ie};if(t.responseType==="stream")z.data=fe,Qv(o,c,z);else{var ft=[],Ft=0;fe.on("data",function(oe){ft.push(oe),Ft+=oe.length,t.maxContentLength>-1&&Ft>t.maxContentLength&&(fe.destroy(),c(Qo("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,ie)))}),fe.on("error",function(oe){X.aborted||c(up(oe,t,null,ie))}),fe.on("end",function(){var oe=Buffer.concat(ft);t.responseType!=="arraybuffer"&&(oe=oe.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(oe=Wa.stripBOM(oe))),z.data=oe,Qv(o,c,z)})}}});if(X.on("error",function(Y){X.aborted&&Y.code!=="ERR_FR_TOO_MANY_REDIRECTS"||c(up(Y,t,null,X))}),t.timeout){var Se=parseInt(t.timeout,10);if(isNaN(Se)){c(Qo("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",X));return}X.setTimeout(Se,function(){X.abort();var Y=t.transitional||RA.transitional;c(Qo("timeout of "+Se+"ms exceeded",t,Y.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",X))})}(t.cancelToken||t.signal)&&(a=function(le){X.aborted||(X.abort(),c(!le||le&&le.type?new NA("canceled"):le))},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),Wa.isStream(u)?u.on("error",function(Y){c(up(Y,t,null,X))}).pipe(X):X.end(u)})}});var Pr=b((Y8,ob)=>{"use strict";var it=gt(),ab=Nv(),LA=Go(),IA={"Content-Type":"application/x-www-form-urlencoded"};function sb(e,t){!it.isUndefined(e)&&it.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function qA(){var e;return typeof XMLHttpRequest<"u"?e=Jv():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(e=rb()),e}function PA(e,t,n){if(it.isString(e))try{return(t||JSON.parse)(e),it.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}var ec={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:qA(),transformRequest:[function(t,n){return ab(n,"Accept"),ab(n,"Content-Type"),it.isFormData(t)||it.isArrayBuffer(t)||it.isBuffer(t)||it.isStream(t)||it.isFile(t)||it.isBlob(t)?t:it.isArrayBufferView(t)?t.buffer:it.isURLSearchParams(t)?(sb(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):it.isObject(t)||n&&n["Content-Type"]==="application/json"?(sb(n,"application/json"),PA(t)):t}],transformResponse:[function(t){var n=this.transitional||ec.transitional,i=n&&n.silentJSONParsing,r=n&&n.forcedJSONParsing,a=!i&&this.responseType==="json";if(a||r&&it.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?LA(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};it.forEach(["delete","get","head"],function(t){ec.headers[t]={}});it.forEach(["post","put","patch"],function(t){ec.headers[t]=it.merge(IA)});ob.exports=ec});var lb=b((H8,cb)=>{"use strict";var BA=gt(),FA=Pr();cb.exports=function(t,n,i){var r=this||FA;return BA.forEach(i,function(s){t=s.call(r,t,n)}),t}});var pp=b((G8,ub)=>{"use strict";ub.exports=function(t){return!!(t&&t.__CANCEL__)}});var db=b((V8,fb)=>{"use strict";var pb=gt(),fp=lb(),DA=pp(),zA=Pr(),$A=qr();function dp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $A("canceled")}fb.exports=function(t){dp(t),t.headers=t.headers||{},t.data=fp.call(t,t.data,t.headers,t.transformRequest),t.headers=pb.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),pb.forEach(["delete","get","head","post","put","patch","common"],function(r){delete t.headers[r]});var n=t.adapter||zA.adapter;return n(t).then(function(r){return dp(t),r.data=fp.call(t,r.data,r.headers,t.transformResponse),r},function(r){return DA(r)||(dp(t),r&&r.response&&(r.response.data=fp.call(t,r.response.data,r.response.headers,t.transformResponse))),Promise.reject(r)})}});var hp=b((Z8,hb)=>{"use strict";var Nt=gt();hb.exports=function(t,n){n=n||{};var i={};function r(l,p){return Nt.isPlainObject(l)&&Nt.isPlainObject(p)?Nt.merge(l,p):Nt.isPlainObject(p)?Nt.merge({},p):Nt.isArray(p)?p.slice():p}function a(l){if(Nt.isUndefined(n[l])){if(!Nt.isUndefined(t[l]))return r(void 0,t[l])}else return r(t[l],n[l])}function s(l){if(!Nt.isUndefined(n[l]))return r(void 0,n[l])}function o(l){if(Nt.isUndefined(n[l])){if(!Nt.isUndefined(t[l]))return r(void 0,t[l])}else return r(void 0,n[l])}function c(l){if(l in n)return r(t[l],n[l]);if(l in t)return r(void 0,t[l])}var u={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:c};return Nt.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var f=u[p]||a,m=f(p);Nt.isUndefined(m)&&f!==c||(i[p]=m)}),i}});var vb=b((J8,gb)=>{"use strict";var UA=Xo().version,mp={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){mp[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var mb={};mp.transitional=function(t,n,i){function r(a,s){return"[Axios v"+UA+"] Transitional option '"+a+"'"+s+(i?". "+i:"")}return function(a,s,o){if(t===!1)throw new Error(r(s," has been removed"+(n?" in "+n:"")));return n&&!mb[s]&&(mb[s]=!0,console.warn(r(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,o):!0}};function WA(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var i=Object.keys(e),r=i.length;r-- >0;){var a=i[r],s=t[a];if(s){var o=e[a],c=o===void 0||s(o,a,e);if(c!==!0)throw new TypeError("option "+a+" must be "+c);continue}if(n!==!0)throw Error("Unknown option "+a)}}gb.exports={assertOptions:WA,validators:mp}});var Sb=b((X8,_b)=>{"use strict";var yb=gt(),KA=Yo(),bb=Mv(),xb=db(),tc=hp(),wb=vb(),Br=wb.validators;function Ka(e){this.defaults=e,this.interceptors={request:new bb,response:new bb}}Ka.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=tc(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;n!==void 0&&wb.assertOptions(n,{silentJSONParsing:Br.transitional(Br.boolean),forcedJSONParsing:Br.transitional(Br.boolean),clarifyTimeoutError:Br.transitional(Br.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(t)===!1||(r=r&&f.synchronous,i.unshift(f.fulfilled,f.rejected))});var a=[];this.interceptors.response.forEach(function(f){a.push(f.fulfilled,f.rejected)});var s;if(!r){var o=[xb,void 0];for(Array.prototype.unshift.apply(o,i),o=o.concat(a),s=Promise.resolve(t);o.length;)s=s.then(o.shift(),o.shift());return s}for(var c=t;i.length;){var u=i.shift(),l=i.shift();try{c=u(c)}catch(p){l(p);break}}try{s=xb(c)}catch(p){return Promise.reject(p)}for(;a.length;)s=s.then(a.shift(),a.shift());return s};Ka.prototype.getUri=function(t){return t=tc(this.defaults,t),KA(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};yb.forEach(["delete","get","head","options"],function(t){Ka.prototype[t]=function(n,i){return this.request(tc(i||{},{method:t,url:n,data:(i||{}).data}))}});yb.forEach(["post","put","patch"],function(t){Ka.prototype[t]=function(n,i,r){return this.request(tc(r||{},{method:t,url:n,data:i}))}});_b.exports=Ka});var Ob=b((Q8,Eb)=>{"use strict";var YA=qr();function Fr(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(r){t=r});var n=this;this.promise.then(function(i){if(!!n._listeners){var r,a=n._listeners.length;for(r=0;r<a;r++)n._listeners[r](i);n._listeners=null}}),this.promise.then=function(i){var r,a=new Promise(function(s){n.subscribe(s),r=s}).then(i);return a.cancel=function(){n.unsubscribe(r)},a},e(function(r){n.reason||(n.reason=new YA(r),t(n.reason))})}Fr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Fr.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Fr.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};Fr.source=function(){var t,n=new Fr(function(r){t=r});return{token:n,cancel:t}};Eb.exports=Fr});var Cb=b((e6,kb)=>{"use strict";kb.exports=function(t){return function(i){return t.apply(null,i)}}});var Tb=b((t6,Ab)=>{"use strict";Ab.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var Rb=b((n6,gp)=>{"use strict";var jb=gt(),HA=ep(),nc=Sb(),GA=hp(),VA=Pr();function Mb(e){var t=new nc(e),n=HA(nc.prototype.request,t);return jb.extend(n,nc.prototype,t),jb.extend(n,t),n.create=function(r){return Mb(GA(e,r))},n}var dn=Mb(VA);dn.Axios=nc;dn.Cancel=qr();dn.CancelToken=Ob();dn.isCancel=pp();dn.VERSION=Xo().version;dn.all=function(t){return Promise.all(t)};dn.spread=Cb();dn.isAxiosError=Tb();gp.exports=dn;gp.exports.default=dn});var vp=b((i6,Nb)=>{Nb.exports=Rb()});var Ib=b((r6,Lb)=>{"use strict";var ZA=(e,t,n)=>{let i=e.indexOf(t);if(i===-1)return e;let r=t.length,a=0,s="";do s+=e.substr(a,i-a)+t+n,a=i+r,i=e.indexOf(t,a);while(i!==-1);return s+=e.substr(a),s},JA=(e,t,n,i)=>{let r=0,a="";do{let s=e[i-1]==="\r";a+=e.substr(r,(s?i-1:i)-r)+t+(s?`\r
|
|
26
26
|
`:`
|
|
27
27
|
`)+n,r=i+1,i=e.indexOf(`
|
|
28
|
-
`,r)}while(i!==-1);return a+=e.substr(r),a};
|
|
29
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function
|
|
30
|
-
`);return a!==-1&&(t=aT(t,r,i,a)),i+t+r},vp,lT=(e,...t)=>{let[n]=t;if(!Array.isArray(n))return t.join(" ");let i=t.slice(1),r=[n.raw[0]];for(let a=1;a<n.length;a++)r.push(String(i[a-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[a]));return vp===void 0&&(vp=Fb()),vp(e,r.join(""))};Object.defineProperties(ic.prototype,Dr);var Ha=ic();Ha.supportsColor=bp;Ha.stderr=ic({level:xp?xp.level:0});Ha.stderr.supportsColor=xp;Ha.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"};Ub.exports=Ha});var Yb=b((o6,_p)=>{"use strict";var Kb=(e,t)=>{for(let n of Reflect.ownKeys(t))Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e};_p.exports=Kb;_p.exports.default=Kb});var Gb=b((c6,sc)=>{"use strict";var uT=Yb(),ac=new WeakMap,Hb=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let n,i=0,r=e.displayName||e.name||"<anonymous>",a=function(...s){if(ac.set(a,++i),i===1)n=e.apply(this,s),e=null;else if(t.throw===!0)throw new Error(`Function \`${r}\` can only be called once`);return n};return uT(a,e),ac.set(a,i),a};sc.exports=Hb;sc.exports.default=Hb;sc.exports.callCount=e=>{if(!ac.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return ac.get(e)}});var Vb=b((l6,oc)=>{oc.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&oc.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&oc.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var ex=b((u6,Ur)=>{var Ae=global.process,Li=function(e){return e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function"};Li(Ae)?(Zb=require("assert"),zr=Vb(),Jb=/^win/i.test(Ae.platform),Ga=require("events"),typeof Ga!="function"&&(Ga=Ga.EventEmitter),Ae.__signal_exit_emitter__?Je=Ae.__signal_exit_emitter__:(Je=Ae.__signal_exit_emitter__=new Ga,Je.count=0,Je.emitted={}),Je.infinite||(Je.setMaxListeners(1/0),Je.infinite=!0),Ur.exports=function(e,t){if(!Li(global.process))return function(){};Zb.equal(typeof e,"function","a callback must be provided for exit handler"),$r===!1&&Sp();var n="exit";t&&t.alwaysLast&&(n="afterexit");var i=function(){Je.removeListener(n,e),Je.listeners("exit").length===0&&Je.listeners("afterexit").length===0&&cc()};return Je.on(n,e),i},cc=function(){!$r||!Li(global.process)||($r=!1,zr.forEach(function(t){try{Ae.removeListener(t,lc[t])}catch{}}),Ae.emit=uc,Ae.reallyExit=Ep,Je.count-=1)},Ur.exports.unload=cc,Ii=function(t,n,i){Je.emitted[t]||(Je.emitted[t]=!0,Je.emit(t,n,i))},lc={},zr.forEach(function(e){lc[e]=function(){if(!!Li(global.process)){var n=Ae.listeners(e);n.length===Je.count&&(cc(),Ii("exit",null,e),Ii("afterexit",null,e),Jb&&e==="SIGHUP"&&(e="SIGINT"),Ae.kill(Ae.pid,e))}}}),Ur.exports.signals=function(){return zr},$r=!1,Sp=function(){$r||!Li(global.process)||($r=!0,Je.count+=1,zr=zr.filter(function(t){try{return Ae.on(t,lc[t]),!0}catch{return!1}}),Ae.emit=Qb,Ae.reallyExit=Xb)},Ur.exports.load=Sp,Ep=Ae.reallyExit,Xb=function(t){!Li(global.process)||(Ae.exitCode=t||0,Ii("exit",Ae.exitCode,null),Ii("afterexit",Ae.exitCode,null),Ep.call(Ae,Ae.exitCode))},uc=Ae.emit,Qb=function(t,n){if(t==="exit"&&Li(global.process)){n!==void 0&&(Ae.exitCode=n);var i=uc.apply(this,arguments);return Ii("exit",Ae.exitCode,null),Ii("afterexit",Ae.exitCode,null),i}else return uc.apply(this,arguments)}):Ur.exports=function(){return function(){}};var Zb,zr,Jb,Ga,Je,cc,Ii,lc,$r,Sp,Ep,Xb,uc,Qb});var nx=b((p6,tx)=>{"use strict";var pT=Gb(),fT=ex();tx.exports=pT(()=>{fT(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})})});var ix=b(Wr=>{"use strict";var dT=nx(),pc=!1;Wr.show=(e=process.stderr)=>{!e.isTTY||(pc=!1,e.write("\x1B[?25h"))};Wr.hide=(e=process.stderr)=>{!e.isTTY||(dT(),pc=!0,e.write("\x1B[?25l"))};Wr.toggle=(e,t)=>{e!==void 0&&(pc=e),pc?Wr.show(t):Wr.hide(t)}});var rx=b((d6,hT)=>{hT.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]}}});var ox=b((h6,sx)=>{"use strict";var fc=Object.assign({},rx()),ax=Object.keys(fc);Object.defineProperty(fc,"random",{get(){let e=Math.floor(Math.random()*ax.length),t=ax[e];return fc[t]}});sx.exports=fc});var lx=b((m6,cx)=>{"use strict";var mT=/[|\\{}()[\]^$+*?.]/g;cx.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(mT,"\\$&")}});var px=b((g6,ux)=>{"use strict";ux.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var Op=b((v6,mx)=>{var qi=px(),hx={};for(dc in qi)qi.hasOwnProperty(dc)&&(hx[qi[dc]]=dc);var dc,V=mx.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(vt in V)if(V.hasOwnProperty(vt)){if(!("channels"in V[vt]))throw new Error("missing channels property: "+vt);if(!("labels"in V[vt]))throw new Error("missing channel labels property: "+vt);if(V[vt].labels.length!==V[vt].channels)throw new Error("channel and label counts mismatch: "+vt);fx=V[vt].channels,dx=V[vt].labels,delete V[vt].channels,delete V[vt].labels,Object.defineProperty(V[vt],"channels",{value:fx}),Object.defineProperty(V[vt],"labels",{value:dx})}var fx,dx,vt;V.rgb.hsl=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(t,n,i),a=Math.max(t,n,i),s=a-r,o,c,u;return a===r?o=0:t===a?o=(n-i)/s:n===a?o=2+(i-t)/s:i===a&&(o=4+(t-n)/s),o=Math.min(o*60,360),o<0&&(o+=360),u=(r+a)/2,a===r?c=0:u<=.5?c=s/(a+r):c=s/(2-a-r),[o,c*100,u*100]};V.rgb.hsv=function(e){var t,n,i,r,a,s=e[0]/255,o=e[1]/255,c=e[2]/255,u=Math.max(s,o,c),l=u-Math.min(s,o,c),p=function(f){return(u-f)/6/l+1/2};return l===0?r=a=0:(a=l/u,t=p(s),n=p(o),i=p(c),s===u?r=i-n:o===u?r=1/3+t-i:c===u&&(r=2/3+n-t),r<0?r+=1:r>1&&(r-=1)),[r*360,a*100,u*100]};V.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2],r=V.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,i));return i=1-1/255*Math.max(t,Math.max(n,i)),[r,a*100,i*100]};V.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255,r,a,s,o;return o=Math.min(1-t,1-n,1-i),r=(1-t-o)/(1-o)||0,a=(1-n-o)/(1-o)||0,s=(1-i-o)/(1-o)||0,[r*100,a*100,s*100,o*100]};function gT(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}V.rgb.keyword=function(e){var t=hx[e];if(t)return t;var n=1/0,i;for(var r in qi)if(qi.hasOwnProperty(r)){var a=qi[r],s=gT(e,a);s<n&&(n=s,i=r)}return i};V.keyword.rgb=function(e){return qi[e]};V.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;var r=t*.4124+n*.3576+i*.1805,a=t*.2126+n*.7152+i*.0722,s=t*.0193+n*.1192+i*.9505;return[r*100,a*100,s*100]};V.rgb.lab=function(e){var t=V.rgb.xyz(e),n=t[0],i=t[1],r=t[2],a,s,o;return n/=95.047,i/=100,r/=108.883,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,a=116*i-16,s=500*(n-i),o=200*(i-r),[a,s,o]};V.hsl.rgb=function(e){var t=e[0]/360,n=e[1]/100,i=e[2]/100,r,a,s,o,c;if(n===0)return c=i*255,[c,c,c];i<.5?a=i*(1+n):a=i+n-i*n,r=2*i-a,o=[0,0,0];for(var u=0;u<3;u++)s=t+1/3*-(u-1),s<0&&s++,s>1&&s--,6*s<1?c=r+(a-r)*6*s:2*s<1?c=a:3*s<2?c=r+(a-r)*(2/3-s)*6:c=r,o[u]=c*255;return o};V.hsl.hsv=function(e){var t=e[0],n=e[1]/100,i=e[2]/100,r=n,a=Math.max(i,.01),s,o;return i*=2,n*=i<=1?i:2-i,r*=a<=1?a:2-a,o=(i+n)/2,s=i===0?2*r/(a+r):2*n/(i+n),[t,s*100,o*100]};V.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,a=t-Math.floor(t),s=255*i*(1-n),o=255*i*(1-n*a),c=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,c,s];case 1:return[o,i,s];case 2:return[s,i,c];case 3:return[s,o,i];case 4:return[c,s,i];case 5:return[i,s,o]}};V.hsv.hsl=function(e){var t=e[0],n=e[1]/100,i=e[2]/100,r=Math.max(i,.01),a,s,o;return o=(2-n)*i,a=(2-n)*r,s=n*r,s/=a<=1?a:2-a,s=s||0,o/=2,[t,s*100,o*100]};V.hwb.rgb=function(e){var t=e[0]/360,n=e[1]/100,i=e[2]/100,r=n+i,a,s,o,c;r>1&&(n/=r,i/=r),a=Math.floor(6*t),s=1-i,o=6*t-a,(a&1)!==0&&(o=1-o),c=n+o*(s-n);var u,l,p;switch(a){default:case 6:case 0:u=s,l=c,p=n;break;case 1:u=c,l=s,p=n;break;case 2:u=n,l=s,p=c;break;case 3:u=n,l=c,p=s;break;case 4:u=c,l=n,p=s;break;case 5:u=s,l=n,p=c;break}return[u*255,l*255,p*255]};V.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100,a,s,o;return a=1-Math.min(1,t*(1-r)+r),s=1-Math.min(1,n*(1-r)+r),o=1-Math.min(1,i*(1-r)+r),[a*255,s*255,o*255]};V.xyz.rgb=function(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,r,a,s;return r=t*3.2406+n*-1.5372+i*-.4986,a=t*-.9689+n*1.8758+i*.0415,s=t*.0557+n*-.204+i*1.057,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,r=Math.min(Math.max(0,r),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[r*255,a*255,s*255]};V.xyz.lab=function(e){var t=e[0],n=e[1],i=e[2],r,a,s;return t/=95.047,n/=100,i/=108.883,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,r=116*n-16,a=500*(t-n),s=200*(n-i),[r,a,s]};V.lab.xyz=function(e){var t=e[0],n=e[1],i=e[2],r,a,s;a=(t+16)/116,r=n/500+a,s=a-i/200;var o=Math.pow(a,3),c=Math.pow(r,3),u=Math.pow(s,3);return a=o>.008856?o:(a-16/116)/7.787,r=c>.008856?c:(r-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,r*=95.047,a*=100,s*=108.883,[r,a,s]};V.lab.lch=function(e){var t=e[0],n=e[1],i=e[2],r,a,s;return r=Math.atan2(i,n),a=r*360/2/Math.PI,a<0&&(a+=360),s=Math.sqrt(n*n+i*i),[t,s,a]};V.lch.lab=function(e){var t=e[0],n=e[1],i=e[2],r,a,s;return s=i/360*2*Math.PI,r=n*Math.cos(s),a=n*Math.sin(s),[t,r,a]};V.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],r=1 in arguments?arguments[1]:V.rgb.hsv(e)[2];if(r=Math.round(r/50),r===0)return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return r===2&&(a+=60),a};V.hsv.ansi16=function(e){return V.rgb.ansi16(V.hsv.rgb(e),e[2])};V.rgb.ansi256=function(e){var t=e[0],n=e[1],i=e[2];if(t===n&&n===i)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var r=16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5);return r};V.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var n=(~~(e>50)+1)*.5,i=(t&1)*n*255,r=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[i,r,a]};V.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var n,i=Math.floor(e/36)/5*255,r=Math.floor((n=e%36)/6)/5*255,a=n%6/5*255;return[i,r,a]};V.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255),n=t.toString(16).toUpperCase();return"000000".substring(n.length)+n};V.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];t[0].length===3&&(n=n.split("").map(function(o){return o+o}).join(""));var i=parseInt(n,16),r=i>>16&255,a=i>>8&255,s=i&255;return[r,a,s]};V.rgb.hcg=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.max(Math.max(t,n),i),a=Math.min(Math.min(t,n),i),s=r-a,o,c;return s<1?o=a/(1-s):o=0,s<=0?c=0:r===t?c=(n-i)/s%6:r===n?c=2+(i-t)/s:c=4+(t-n)/s+4,c/=6,c%=1,[c*360,s*100,o*100]};V.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=1,r=0;return n<.5?i=2*t*n:i=2*t*(1-n),i<1&&(r=(n-.5*i)/(1-i)),[e[0],i*100,r*100]};V.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=t*n,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],i*100,r*100]};V.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,i=e[2]/100;if(n===0)return[i*255,i*255,i*255];var r=[0,0,0],a=t%1*6,s=a%1,o=1-s,c=0;switch(Math.floor(a)){case 0:r[0]=1,r[1]=s,r[2]=0;break;case 1:r[0]=o,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=s;break;case 3:r[0]=0,r[1]=o,r[2]=1;break;case 4:r[0]=s,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=o}return c=(1-n)*i,[(n*r[0]+c)*255,(n*r[1]+c)*255,(n*r[2]+c)*255]};V.hcg.hsv=function(e){var t=e[1]/100,n=e[2]/100,i=t+n*(1-t),r=0;return i>0&&(r=t/i),[e[0],r*100,i*100]};V.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100,i=n*(1-t)+.5*t,r=0;return i>0&&i<.5?r=t/(2*i):i>=.5&&i<1&&(r=t/(2*(1-i))),[e[0],r*100,i*100]};V.hcg.hwb=function(e){var t=e[1]/100,n=e[2]/100,i=t+n*(1-t);return[e[0],(i-t)*100,(1-i)*100]};V.hwb.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=1-n,r=i-t,a=0;return r<1&&(a=(i-r)/(1-r)),[e[0],r*100,a*100]};V.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};V.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};V.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};V.gray.hsl=V.gray.hsv=function(e){return[0,0,e[0]]};V.gray.hwb=function(e){return[0,100,e[0]]};V.gray.cmyk=function(e){return[0,0,0,e[0]]};V.gray.lab=function(e){return[e[0],0,0]};V.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255,n=(t<<16)+(t<<8)+t,i=n.toString(16).toUpperCase();return"000000".substring(i.length)+i};V.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var vx=b((b6,gx)=>{var hc=Op();function vT(){for(var e={},t=Object.keys(hc),n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}function bT(e){var t=vT(),n=[e];for(t[e].distance=0;n.length;)for(var i=n.pop(),r=Object.keys(hc[i]),a=r.length,s=0;s<a;s++){var o=r[s],c=t[o];c.distance===-1&&(c.distance=t[i].distance+1,c.parent=i,n.unshift(o))}return t}function xT(e,t){return function(n){return t(e(n))}}function yT(e,t){for(var n=[t[e].parent,e],i=hc[t[e].parent][e],r=t[e].parent;t[r].parent;)n.unshift(t[r].parent),i=xT(hc[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}gx.exports=function(e){for(var t=bT(e),n={},i=Object.keys(t),r=i.length,a=0;a<r;a++){var s=i[a],o=t[s];o.parent!==null&&(n[s]=yT(s,t))}return n}});var xx=b((x6,bx)=>{var kp=Op(),wT=vx(),Kr={},_T=Object.keys(kp);function ST(e){var t=function(n){return n==null?n:(arguments.length>1&&(n=Array.prototype.slice.call(arguments)),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function ET(e){var t=function(n){if(n==null)return n;arguments.length>1&&(n=Array.prototype.slice.call(arguments));var i=e(n);if(typeof i=="object")for(var r=i.length,a=0;a<r;a++)i[a]=Math.round(i[a]);return i};return"conversion"in e&&(t.conversion=e.conversion),t}_T.forEach(function(e){Kr[e]={},Object.defineProperty(Kr[e],"channels",{value:kp[e].channels}),Object.defineProperty(Kr[e],"labels",{value:kp[e].labels});var t=wT(e),n=Object.keys(t);n.forEach(function(i){var r=t[i];Kr[e][i]=ET(r),Kr[e][i].raw=ST(r)})});bx.exports=Kr});var wx=b((y6,yx)=>{"use strict";var Yr=xx(),mc=(e,t)=>function(){return`\x1B[${e.apply(Yr,arguments)+t}m`},gc=(e,t)=>function(){let n=e.apply(Yr,arguments);return`\x1B[${38+t};5;${n}m`},vc=(e,t)=>function(){let n=e.apply(Yr,arguments);return`\x1B[${38+t};2;${n[0]};${n[1]};${n[2]}m`};function OT(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(let r of Object.keys(t)){let a=t[r];for(let s of Object.keys(a)){let o=a[s];t[s]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},a[s]=t[s],e.set(o[0],o[1])}Object.defineProperty(t,r,{value:a,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}let n=r=>r,i=(r,a,s)=>[r,a,s];t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi={ansi:mc(n,0)},t.color.ansi256={ansi256:gc(n,0)},t.color.ansi16m={rgb:vc(i,0)},t.bgColor.ansi={ansi:mc(n,10)},t.bgColor.ansi256={ansi256:gc(n,10)},t.bgColor.ansi16m={rgb:vc(i,10)};for(let r of Object.keys(Yr)){if(typeof Yr[r]!="object")continue;let a=Yr[r];r==="ansi16"&&(r="ansi"),"ansi16"in a&&(t.color.ansi[r]=mc(a.ansi16,0),t.bgColor.ansi[r]=mc(a.ansi16,10)),"ansi256"in a&&(t.color.ansi256[r]=gc(a.ansi256,0),t.bgColor.ansi256[r]=gc(a.ansi256,10)),"rgb"in a&&(t.color.ansi16m[r]=vc(a.rgb,0),t.bgColor.ansi16m[r]=vc(a.rgb,10))}return t}Object.defineProperty(yx,"exports",{enumerable:!0,get:OT})});var Sx=b((w6,_x)=>{"use strict";_x.exports=(e,t)=>{t=t||process.argv;let n=e.startsWith("-")?"":e.length===1?"-":"--",i=t.indexOf(n+e),r=t.indexOf("--");return i!==-1&&(r===-1?!0:i<r)}});var Ox=b((_6,Ex)=>{"use strict";var kT=require("os"),en=Sx(),ct=process.env,Hr;en("no-color")||en("no-colors")||en("color=false")?Hr=!1:(en("color")||en("colors")||en("color=true")||en("color=always"))&&(Hr=!0);"FORCE_COLOR"in ct&&(Hr=ct.FORCE_COLOR.length===0||parseInt(ct.FORCE_COLOR,10)!==0);function CT(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function AT(e){if(Hr===!1)return 0;if(en("color=16m")||en("color=full")||en("color=truecolor"))return 3;if(en("color=256"))return 2;if(e&&!e.isTTY&&Hr!==!0)return 0;let t=Hr?1:0;if(process.platform==="win32"){let n=kT.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in ct)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(n=>n in ct)||ct.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in ct)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ct.TEAMCITY_VERSION)?1:0;if(ct.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in ct){let n=parseInt((ct.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ct.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ct.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ct.TERM)||"COLORTERM"in ct?1:(ct.TERM==="dumb",t)}function Cp(e){let t=AT(e);return CT(t)}Ex.exports={supportsColor:Cp,stdout:Cp(process.stdout),stderr:Cp(process.stderr)}});var jx=b((S6,Tx)=>{"use strict";var TT=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,kx=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,jT=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,MT=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,RT=new Map([["n",`
|
|
31
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Ax(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):RT.get(e)||e}function NT(e,t){let n=[],i=t.trim().split(/\s*,\s*/g),r;for(let a of i)if(!isNaN(a))n.push(Number(a));else if(r=a.match(jT))n.push(r[2].replace(MT,(s,o,c)=>o?Ax(o):c));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`);return n}function LT(e){kx.lastIndex=0;let t=[],n;for(;(n=kx.exec(e))!==null;){let i=n[1];if(n[2]){let r=NT(i,n[2]);t.push([i].concat(r))}else t.push([i])}return t}function Cx(e,t){let n={};for(let r of t)for(let a of r.styles)n[a[0]]=r.inverse?null:a.slice(1);let i=e;for(let r of Object.keys(n))if(Array.isArray(n[r])){if(!(r in i))throw new Error(`Unknown Chalk style: ${r}`);n[r].length>0?i=i[r].apply(i,n[r]):i=i[r]}return i}Tx.exports=(e,t)=>{let n=[],i=[],r=[];if(t.replace(TT,(a,s,o,c,u,l)=>{if(s)r.push(Ax(s));else if(c){let p=r.join("");r=[],i.push(n.length===0?p:Cx(e,n)(p)),n.push({inverse:o,styles:LT(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");i.push(Cx(e,n)(r.join(""))),r=[],n.pop()}else r.push(l)}),i.push(r.join("")),n.length>0){let a=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(a)}return i.join("")}});var Ix=b((E6,Za)=>{"use strict";var Tp=lx(),ze=wx(),Ap=Ox().stdout,IT=jx(),Rx=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),Nx=["ansi","ansi","ansi256","ansi16m"],Lx=new Set(["gray"]),Gr=Object.create(null);function Mx(e,t){t=t||{};let n=Ap?Ap.level:0;e.level=t.level===void 0?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function Va(e){if(!this||!(this instanceof Va)||this.template){let t={};return Mx(t,e),t.template=function(){let n=[].slice.call(arguments);return BT.apply(null,[t.template].concat(n))},Object.setPrototypeOf(t,Va.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=Va,t.template}Mx(this,e)}Rx&&(ze.blue.open="\x1B[94m");for(let e of Object.keys(ze))ze[e].closeRe=new RegExp(Tp(ze[e].close),"g"),Gr[e]={get(){let t=ze[e];return bc.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Gr.visible={get(){return bc.call(this,this._styles||[],!0,"visible")}};ze.color.closeRe=new RegExp(Tp(ze.color.close),"g");for(let e of Object.keys(ze.color.ansi))Lx.has(e)||(Gr[e]={get(){let t=this.level;return function(){let i={open:ze.color[Nx[t]][e].apply(null,arguments),close:ze.color.close,closeRe:ze.color.closeRe};return bc.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}});ze.bgColor.closeRe=new RegExp(Tp(ze.bgColor.close),"g");for(let e of Object.keys(ze.bgColor.ansi)){if(Lx.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Gr[t]={get(){let n=this.level;return function(){let r={open:ze.bgColor[Nx[n]][e].apply(null,arguments),close:ze.bgColor.close,closeRe:ze.bgColor.closeRe};return bc.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}}}var qT=Object.defineProperties(()=>{},Gr);function bc(e,t,n){let i=function(){return PT.apply(i,arguments)};i._styles=e,i._empty=t;let r=this;return Object.defineProperty(i,"level",{enumerable:!0,get(){return r.level},set(a){r.level=a}}),Object.defineProperty(i,"enabled",{enumerable:!0,get(){return r.enabled},set(a){r.enabled=a}}),i.hasGrey=this.hasGrey||n==="gray"||n==="grey",i.__proto__=qT,i}function PT(){let e=arguments,t=e.length,n=String(arguments[0]);if(t===0)return"";if(t>1)for(let r=1;r<t;r++)n+=" "+e[r];if(!this.enabled||this.level<=0||!n)return this._empty?"":n;let i=ze.dim.open;Rx&&this.hasGrey&&(ze.dim.open="");for(let r of this._styles.slice().reverse())n=r.open+n.replace(r.closeRe,r.open)+r.close,n=n.replace(/\r?\n/g,`${r.close}$&${r.open}`);return ze.dim.open=i,n}function BT(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");let n=[].slice.call(arguments,2),i=[t.raw[0]];for(let r=1;r<t.length;r++)i.push(String(n[r-1]).replace(/[{}\\]/g,"\\$&")),i.push(String(t.raw[r]));return IT(e,i.join(""))}Object.defineProperties(Va.prototype,Gr);Za.exports=Va();Za.exports.supportsColor=Ap;Za.exports.default=Za.exports});var Px=b((O6,qx)=>{"use strict";var Yn=Ix(),FT=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color",DT={info:Yn.blue("\u2139"),success:Yn.green("\u2714"),warning:Yn.yellow("\u26A0"),error:Yn.red("\u2716")},zT={info:Yn.blue("i"),success:Yn.green("\u221A"),warning:Yn.yellow("\u203C"),error:Yn.red("\xD7")};qx.exports=FT?DT:zT});var Fx=b((k6,Bx)=>{"use strict";Bx.exports=({onlyFirst:e=!1}={})=>{let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}});var zx=b((C6,Dx)=>{"use strict";var $T=Fx();Dx.exports=e=>typeof e=="string"?e.replace($T(),""):e});var $x=b((A6,xc)=>{var UT=function(){"use strict";function e(s,o,c,u){var l;typeof o=="object"&&(c=o.depth,u=o.prototype,l=o.filter,o=o.circular);var p=[],f=[],m=typeof Buffer<"u";typeof o>"u"&&(o=!0),typeof c>"u"&&(c=1/0);function v(g,d){if(g===null)return null;if(d==0)return g;var x,_;if(typeof g!="object")return g;if(e.__isArray(g))x=[];else if(e.__isRegExp(g))x=new RegExp(g.source,a(g)),g.lastIndex&&(x.lastIndex=g.lastIndex);else if(e.__isDate(g))x=new Date(g.getTime());else{if(m&&Buffer.isBuffer(g))return Buffer.allocUnsafe?x=Buffer.allocUnsafe(g.length):x=new Buffer(g.length),g.copy(x),x;typeof u>"u"?(_=Object.getPrototypeOf(g),x=Object.create(_)):(x=Object.create(u),_=u)}if(o){var C=p.indexOf(g);if(C!=-1)return f[C];p.push(g),f.push(x)}for(var k in g){var O;_&&(O=Object.getOwnPropertyDescriptor(_,k)),!(O&&O.set==null)&&(x[k]=v(g[k],d-1))}return x}return v(s,c)}e.clonePrototype=function(o){if(o===null)return null;var c=function(){};return c.prototype=o,new c};function t(s){return Object.prototype.toString.call(s)}e.__objToStr=t;function n(s){return typeof s=="object"&&t(s)==="[object Date]"}e.__isDate=n;function i(s){return typeof s=="object"&&t(s)==="[object Array]"}e.__isArray=i;function r(s){return typeof s=="object"&&t(s)==="[object RegExp]"}e.__isRegExp=r;function a(s){var o="";return s.global&&(o+="g"),s.ignoreCase&&(o+="i"),s.multiline&&(o+="m"),o}return e.__getRegExpFlags=a,e}();typeof xc=="object"&&xc.exports&&(xc.exports=UT)});var Wx=b((T6,Ux)=>{var WT=$x();Ux.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(n){typeof e[n]>"u"&&(e[n]=WT(t[n]))}),e}});var Yx=b((j6,Kx)=>{Kx.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]});var Zx=b((M6,jp)=>{"use strict";var KT=Wx(),Ja=Yx(),Gx={nul:0,control:0};jp.exports=function(t){return Vx(t,Gx)};jp.exports.config=function(e){return e=KT(e||{},Gx),function(n){return Vx(n,e)}};function Vx(e,t){if(typeof e!="string")return Hx(e,t);for(var n=0,i=0;i<e.length;i++){var r=Hx(e.charCodeAt(i),t);if(r<0)return-1;n+=r}return n}function Hx(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:YT(e)?0:1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function YT(e){var t=0,n=Ja.length-1,i;if(e<Ja[0][0]||e>Ja[n][1])return!1;for(;n>=t;)if(i=Math.floor((t+n)/2),e>Ja[i][1])t=i+1;else if(e<Ja[i][0])n=i-1;else return!0;return!1}});var Xx=b((R6,Jx)=>{"use strict";Jx.exports=({stream:e=process.stdout}={})=>Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))});var ey=b((N6,Qx)=>{var Mp=require("stream");Qx.exports=Xe;function Xe(e){Mp.apply(this),e=e||{},this.writable=this.readable=!0,this.muted=!1,this.on("pipe",this._onpipe),this.replace=e.replace,this._prompt=e.prompt||null,this._hadControl=!1}Xe.prototype=Object.create(Mp.prototype);Object.defineProperty(Xe.prototype,"constructor",{value:Xe,enumerable:!1});Xe.prototype.mute=function(){this.muted=!0};Xe.prototype.unmute=function(){this.muted=!1};Object.defineProperty(Xe.prototype,"_onpipe",{value:HT,enumerable:!1,writable:!0,configurable:!0});function HT(e){this._src=e}Object.defineProperty(Xe.prototype,"isTTY",{get:GT,set:VT,enumerable:!0,configurable:!0});function GT(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:!1}function VT(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:!0,writable:!0,configurable:!0})}Object.defineProperty(Xe.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:void 0},enumerable:!0,configurable:!0});Object.defineProperty(Xe.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:void 0},enumerable:!0,configurable:!0});Xe.prototype.pipe=function(e,t){return this._dest=e,Mp.prototype.pipe.call(this,e,t)};Xe.prototype.pause=function(){if(this._src)return this._src.pause()};Xe.prototype.resume=function(){if(this._src)return this._src.resume()};Xe.prototype.write=function(e){if(this.muted){if(!this.replace)return!0;if(e.match(/^\u001b/))return e.indexOf(this._prompt)===0&&(e=e.substr(this._prompt.length),e=e.replace(/./g,this.replace),e=this._prompt+e),this._hadControl=!0,this.emit("data",e);this._prompt&&this._hadControl&&e.indexOf(this._prompt)===0&&(this._hadControl=!1,this.emit("data",this._prompt),e=e.substr(this._prompt.length)),e=e.toString().replace(/./g,this.replace)}this.emit("data",e)};Xe.prototype.end=function(e){this.muted&&(e&&this.replace?e=e.toString().replace(/./g,this.replace):e=null),e&&this.emit("data",e),this.emit("end")};function Rp(e){return function(){var t=this._dest,n=this._src;t&&t[e]&&t[e].apply(t,arguments),n&&n[e]&&n[e].apply(n,arguments)}}Xe.prototype.destroy=Rp("destroy");Xe.prototype.destroySoon=Rp("destroySoon");Xe.prototype.close=Rp("close")});var Hn=b((L6,Ip)=>{"use strict";var ZT=require("readline"),JT=Wb(),ty=ix(),yc=ox(),wc=Px(),XT=zx(),QT=Zx(),e5=Xx(),t5=ey(),Np=Symbol("text"),_c=Symbol("prefixText"),n5=3,Lp=class{constructor(){this.requests=0,this.mutedStream=new t5,this.mutedStream.pipe(process.stdout),this.mutedStream.mute();let t=this;this.ourEmit=function(n,i,...r){let{stdin:a}=process;if(t.requests>0||a.emit===t.ourEmit){if(n==="keypress")return;n==="data"&&i.includes(n5)&&process.emit("SIGINT"),Reflect.apply(t.oldEmit,this,[n,i,...r])}else Reflect.apply(process.stdin.emit,this,[n,i,...r])}}start(){this.requests++,this.requests===1&&this.realStart()}stop(){if(this.requests<=0)throw new Error("`stop` called more times than `start`");this.requests--,this.requests===0&&this.realStop()}realStart(){process.platform!=="win32"&&(this.rl=ZT.createInterface({input:process.stdin,output:this.mutedStream}),this.rl.on("SIGINT",()=>{process.listenerCount("SIGINT")===0?process.emit("SIGINT"):(this.rl.close(),process.kill(process.pid,"SIGINT"))}))}realStop(){process.platform!=="win32"&&(this.rl.close(),this.rl=void 0)}},Sc,Ec=class{constructor(t){Sc||(Sc=new Lp),typeof t=="string"&&(t={text:t}),this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:!0,...t},this.spinner=this.options.spinner,this.color=this.options.color,this.hideCursor=this.options.hideCursor!==!1,this.interval=this.options.interval||this.spinner.interval||100,this.stream=this.options.stream,this.id=void 0,this.isEnabled=typeof this.options.isEnabled=="boolean"?this.options.isEnabled:e5({stream:this.stream}),this.text=this.options.text,this.prefixText=this.options.prefixText,this.linesToClear=0,this.indent=this.options.indent,this.discardStdin=this.options.discardStdin,this.isDiscardingStdin=!1}get indent(){return this._indent}set indent(t=0){if(!(t>=0&&Number.isInteger(t)))throw new Error("The `indent` option must be an integer from 0 and up");this._indent=t}_updateInterval(t){t!==void 0&&(this.interval=t)}get spinner(){return this._spinner}set spinner(t){if(this.frameIndex=0,typeof t=="object"){if(t.frames===void 0)throw new Error("The given spinner must have a `frames` property");this._spinner=t}else if(process.platform==="win32")this._spinner=yc.line;else if(t===void 0)this._spinner=yc.dots;else if(yc[t])this._spinner=yc[t];else throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json for a full list.`);this._updateInterval(this._spinner.interval)}get text(){return this[Np]}get prefixText(){return this[_c]}get isSpinning(){return this.id!==void 0}updateLineCount(){let t=this.stream.columns||80,n=typeof this[_c]=="string"?this[_c]+"-":"";this.lineCount=XT(n+"--"+this[Np]).split(`
|
|
32
|
-
`).reduce((i,r)=>i+Math.max(1,Math.ceil(QT(r)/t)),0)}set text(t){this[
|
|
33
|
-
`),this)}stop(){return this.isEnabled?(clearInterval(this.id),this.id=void 0,this.frameIndex=0,this.clear(),this.hideCursor&&
|
|
34
|
-
`),this}},i5=function(e){return new Ec(e)};Ip.exports=i5;Ip.exports.promise=(e,t)=>{if(typeof e.then!="function")throw new TypeError("Parameter `action` must be a Promise");let n=new Ec(t);return n.start(),(async()=>{try{await e,n.succeed()}catch{n.fail()}})(),n}});var es=b((K6,Dp)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?Dp.exports={nextTick:g5}:Dp.exports=process;function g5(e,t,n,i){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var r=arguments.length,a,s;switch(r){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t)});case 3:return process.nextTick(function(){e.call(null,t,n)});case 4:return process.nextTick(function(){e.call(null,t,n,i)});default:for(a=new Array(r-1),s=0;s<a.length;)a[s++]=arguments[s];return process.nextTick(function(){e.apply(null,a)})}}});var dy=b((Y6,fy)=>{var v5={}.toString;fy.exports=Array.isArray||function(e){return v5.call(e)=="[object Array]"}});var zp=b((H6,hy)=>{hy.exports=require("stream")});var ts=b(($p,gy)=>{var kc=require("buffer"),Sn=kc.Buffer;function my(e,t){for(var n in e)t[n]=e[n]}Sn.from&&Sn.alloc&&Sn.allocUnsafe&&Sn.allocUnsafeSlow?gy.exports=kc:(my(kc,$p),$p.Buffer=Zr);function Zr(e,t,n){return Sn(e,t,n)}my(Sn,Zr);Zr.from=function(e,t,n){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Sn(e,t,n)};Zr.alloc=function(e,t,n){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=Sn(e);return t!==void 0?typeof n=="string"?i.fill(t,n):i.fill(t):i.fill(0),i};Zr.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Sn(e)};Zr.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return kc.SlowBuffer(e)}});var Jr=b(lt=>{function b5(e){return Array.isArray?Array.isArray(e):Cc(e)==="[object Array]"}lt.isArray=b5;function x5(e){return typeof e=="boolean"}lt.isBoolean=x5;function y5(e){return e===null}lt.isNull=y5;function w5(e){return e==null}lt.isNullOrUndefined=w5;function _5(e){return typeof e=="number"}lt.isNumber=_5;function S5(e){return typeof e=="string"}lt.isString=S5;function E5(e){return typeof e=="symbol"}lt.isSymbol=E5;function O5(e){return e===void 0}lt.isUndefined=O5;function k5(e){return Cc(e)==="[object RegExp]"}lt.isRegExp=k5;function C5(e){return typeof e=="object"&&e!==null}lt.isObject=C5;function A5(e){return Cc(e)==="[object Date]"}lt.isDate=A5;function T5(e){return Cc(e)==="[object Error]"||e instanceof Error}lt.isError=T5;function j5(e){return typeof e=="function"}lt.isFunction=j5;function M5(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}lt.isPrimitive=M5;lt.isBuffer=require("buffer").Buffer.isBuffer;function Cc(e){return Object.prototype.toString.call(e)}});var vy=b((V6,Up)=>{typeof Object.create=="function"?Up.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Up.exports=function(t,n){if(n){t.super_=n;var i=function(){};i.prototype=n.prototype,t.prototype=new i,t.prototype.constructor=t}}});var Xr=b((Z6,Kp)=>{try{if(Wp=require("util"),typeof Wp.inherits!="function")throw"";Kp.exports=Wp.inherits}catch{Kp.exports=vy()}var Wp});var xy=b((J6,Yp)=>{"use strict";function R5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var by=ts().Buffer,ns=require("util");function N5(e,t,n){e.copy(t,n)}Yp.exports=function(){function e(){R5(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(n){var i={data:n,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length},e.prototype.unshift=function(n){var i={data:n,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length},e.prototype.shift=function(){if(this.length!==0){var n=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,n}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(n){if(this.length===0)return"";for(var i=this.head,r=""+i.data;i=i.next;)r+=n+i.data;return r},e.prototype.concat=function(n){if(this.length===0)return by.alloc(0);if(this.length===1)return this.head.data;for(var i=by.allocUnsafe(n>>>0),r=this.head,a=0;r;)N5(r.data,i,a),a+=r.data.length,r=r.next;return i},e}();ns&&ns.inspect&&ns.inspect.custom&&(Yp.exports.prototype[ns.inspect.custom]=function(){var e=ns.inspect({length:this.length});return this.constructor.name+" "+e})});var Hp=b((X6,_y)=>{"use strict";var yy=es();function L5(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return i||r?(t?t(e):e&&(!this._writableState||!this._writableState.errorEmitted)&&yy.nextTick(wy,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?(yy.nextTick(wy,n,a),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(a)}),this)}function I5(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function wy(e,t){e.emit("error",t)}_y.exports={destroy:L5,undestroy:I5}});var Ey=b((Q6,Sy)=>{Sy.exports=require("util").deprecate});var Vp=b((eB,Ry)=>{"use strict";var Pi=es();Ry.exports=$e;function ky(e){var t=this;this.next=null,this.entry=null,this.finish=function(){Q5(t,e)}}var q5=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Pi.nextTick,Qr;$e.WritableState=rs;var Cy=Object.create(Jr());Cy.inherits=Xr();var P5={deprecate:Ey()},Ay=zp(),Tc=ts().Buffer,B5=global.Uint8Array||function(){};function F5(e){return Tc.from(e)}function D5(e){return Tc.isBuffer(e)||e instanceof B5}var Ty=Hp();Cy.inherits($e,Ay);function z5(){}function rs(e,t){Qr=Qr||Bi(),e=e||{};var n=t instanceof Qr;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,r=e.writableHighWaterMark,a=this.objectMode?16:16*1024;i||i===0?this.highWaterMark=i:n&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=e.decodeStrings===!1;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(o){G5(t,o)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new ky(this)}rs.prototype.getBuffer=function(){for(var t=this.bufferedRequest,n=[];t;)n.push(t),t=t.next;return n};(function(){try{Object.defineProperty(rs.prototype,"buffer",{get:P5.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Ac;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ac=Function.prototype[Symbol.hasInstance],Object.defineProperty($e,Symbol.hasInstance,{value:function(e){return Ac.call(this,e)?!0:this!==$e?!1:e&&e._writableState instanceof rs}})):Ac=function(e){return e instanceof this};function $e(e){if(Qr=Qr||Bi(),!Ac.call($e,this)&&!(this instanceof Qr))return new $e(e);this._writableState=new rs(e,this),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),Ay.call(this)}$e.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function $5(e,t){var n=new Error("write after end");e.emit("error",n),Pi.nextTick(t,n)}function U5(e,t,n,i){var r=!0,a=!1;return n===null?a=new TypeError("May not write null values to stream"):typeof n!="string"&&n!==void 0&&!t.objectMode&&(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),Pi.nextTick(i,a),r=!1),r}$e.prototype.write=function(e,t,n){var i=this._writableState,r=!1,a=!i.objectMode&&D5(e);return a&&!Tc.isBuffer(e)&&(e=F5(e)),typeof t=="function"&&(n=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),typeof n!="function"&&(n=z5),i.ended?$5(this,n):(a||U5(this,i,e,n))&&(i.pendingcb++,r=K5(this,i,a,e,t,n)),r};$e.prototype.cork=function(){var e=this._writableState;e.corked++};$e.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest&&jy(this,e))};$e.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this};function W5(e,t,n){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Tc.from(t,n)),t}Object.defineProperty($e.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function K5(e,t,n,i,r,a){if(!n){var s=W5(t,i,r);i!==s&&(n=!0,r="buffer",i=s)}var o=t.objectMode?1:i.length;t.length+=o;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:r,isBuf:n,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else Gp(e,t,!1,o,i,r,a);return c}function Gp(e,t,n,i,r,a,s){t.writelen=i,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(r,t.onwrite):e._write(r,a,t.onwrite),t.sync=!1}function Y5(e,t,n,i,r){--t.pendingcb,n?(Pi.nextTick(r,i),Pi.nextTick(is,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(r(i),e._writableState.errorEmitted=!0,e.emit("error",i),is(e,t))}function H5(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function G5(e,t){var n=e._writableState,i=n.sync,r=n.writecb;if(H5(n),t)Y5(e,n,i,t,r);else{var a=My(n);!a&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&jy(e,n),i?q5(Oy,e,n,a,r):Oy(e,n,a,r)}}function Oy(e,t,n,i){n||V5(e,t),t.pendingcb--,i(),is(e,t)}function V5(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function jy(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=t.bufferedRequestCount,r=new Array(i),a=t.corkedRequestsFree;a.entry=n;for(var s=0,o=!0;n;)r[s]=n,n.isBuf||(o=!1),n=n.next,s+=1;r.allBuffers=o,Gp(e,t,!0,t.length,r,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new ky(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,l=n.callback,p=t.objectMode?1:c.length;if(Gp(e,t,!1,p,c,u,l),n=n.next,t.bufferedRequestCount--,t.writing)break}n===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}$e.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))};$e.prototype._writev=null;$e.prototype.end=function(e,t,n){var i=this._writableState;typeof e=="function"?(n=e,e=null,t=null):typeof t=="function"&&(n=t,t=null),e!=null&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),!i.ending&&!i.finished&&X5(this,i,n)};function My(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function Z5(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),is(e,t)})}function J5(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=!0,Pi.nextTick(Z5,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function is(e,t){var n=My(t);return n&&(J5(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"))),n}function X5(e,t,n){t.ending=!0,is(e,t),n&&(t.finished?Pi.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function Q5(e,t,n){var i=e.entry;for(e.entry=null;i;){var r=i.callback;t.pendingcb--,r(n),i=i.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}Object.defineProperty($e.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){!this._writableState||(this._writableState.destroyed=e)}});$e.prototype.destroy=Ty.destroy;$e.prototype._undestroy=Ty.undestroy;$e.prototype._destroy=function(e,t){this.end(),t(e)}});var Bi=b((tB,qy)=>{"use strict";var Ny=es(),e3=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};qy.exports=En;var Ly=Object.create(Jr());Ly.inherits=Xr();var Iy=Xp(),Jp=Vp();Ly.inherits(En,Iy);for(Zp=e3(Jp.prototype),jc=0;jc<Zp.length;jc++)Mc=Zp[jc],En.prototype[Mc]||(En.prototype[Mc]=Jp.prototype[Mc]);var Zp,Mc,jc;function En(e){if(!(this instanceof En))return new En(e);Iy.call(this,e),Jp.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",t3)}Object.defineProperty(En.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function t3(){this.allowHalfOpen||this._writableState.ended||Ny.nextTick(n3,this)}function n3(e){e.end()}Object.defineProperty(En.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}});En.prototype._destroy=function(e,t){this.push(null),this.end(),Ny.nextTick(t,e)}});var tf=b(By=>{"use strict";var ef=ts().Buffer,Py=ef.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i3(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function r3(e){var t=i3(e);if(typeof t!="string"&&(ef.isEncoding===Py||!Py(e)))throw new Error("Unknown encoding: "+e);return t||e}By.StringDecoder=as;function as(e){this.encoding=r3(e);var t;switch(this.encoding){case"utf16le":this.text=u3,this.end=p3,t=4;break;case"utf8":this.fillLast=o3,t=4;break;case"base64":this.text=f3,this.end=d3,t=3;break;default:this.write=h3,this.end=m3;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ef.allocUnsafe(t)}as.prototype.write=function(e){if(e.length===0)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""};as.prototype.end=l3;as.prototype.text=c3;as.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function Qp(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function a3(e,t,n){var i=t.length-1;if(i<n)return 0;var r=Qp(t[i]);return r>=0?(r>0&&(e.lastNeed=r-1),r):--i<n||r===-2?0:(r=Qp(t[i]),r>=0?(r>0&&(e.lastNeed=r-2),r):--i<n||r===-2?0:(r=Qp(t[i]),r>=0?(r>0&&(r===2?r=0:e.lastNeed=r-3),r):0))}function s3(e,t,n){if((t[0]&192)!==128)return e.lastNeed=0,"\uFFFD";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"\uFFFD";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"\uFFFD"}}function o3(e){var t=this.lastTotal-this.lastNeed,n=s3(this,e,t);if(n!==void 0)return n;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function c3(e,t){var n=a3(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function l3(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function u3(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function p3(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function f3(e,t){var n=(e.length-t)%3;return n===0?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d3(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h3(e){return e.toString(this.encoding)}function m3(e){return e&&e.length?this.write(e):""}});var Xp=b((rB,Zy)=>{"use strict";var ta=es();Zy.exports=Ce;var g3=dy(),ss;Ce.ReadableState=Ky;var iB=require("events").EventEmitter,$y=function(e,t){return e.listeners(t).length},of=zp(),os=ts().Buffer,v3=global.Uint8Array||function(){};function b3(e){return os.from(e)}function x3(e){return os.isBuffer(e)||e instanceof v3}var Uy=Object.create(Jr());Uy.inherits=Xr();var nf=require("util"),be=void 0;nf&&nf.debuglog?be=nf.debuglog("stream"):be=function(){};var y3=xy(),Wy=Hp(),ea;Uy.inherits(Ce,of);var rf=["error","close","destroy","pause","resume"];function w3(e,t,n){if(typeof e.prependListener=="function")return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):g3(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}function Ky(e,t){ss=ss||Bi(),e=e||{};var n=t instanceof ss;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,r=e.readableHighWaterMark,a=this.objectMode?16:16*1024;i||i===0?this.highWaterMark=i:n&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new y3,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(ea||(ea=tf().StringDecoder),this.decoder=new ea(e.encoding),this.encoding=e.encoding)}function Ce(e){if(ss=ss||Bi(),!(this instanceof Ce))return new Ce(e);this._readableState=new Ky(e,this),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),of.call(this)}Object.defineProperty(Ce.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){!this._readableState||(this._readableState.destroyed=e)}});Ce.prototype.destroy=Wy.destroy;Ce.prototype._undestroy=Wy.undestroy;Ce.prototype._destroy=function(e,t){this.push(null),t(e)};Ce.prototype.push=function(e,t){var n=this._readableState,i;return n.objectMode?i=!0:typeof e=="string"&&(t=t||n.defaultEncoding,t!==n.encoding&&(e=os.from(e,t),t=""),i=!0),Yy(this,e,t,!1,i)};Ce.prototype.unshift=function(e){return Yy(this,e,null,!0,!1)};function Yy(e,t,n,i,r){var a=e._readableState;if(t===null)a.reading=!1,O3(e,a);else{var s;r||(s=_3(a,t)),s?e.emit("error",s):a.objectMode||t&&t.length>0?(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==os.prototype&&(t=b3(t)),i?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):af(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||t.length!==0?af(e,a,t,!1):Hy(e,a)):af(e,a,t,!1))):i||(a.reading=!1)}return S3(a)}function af(e,t,n,i){t.flowing&&t.length===0&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Rc(e)),Hy(e,t)}function _3(e,t){var n;return!x3(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk")),n}function S3(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}Ce.prototype.isPaused=function(){return this._readableState.flowing===!1};Ce.prototype.setEncoding=function(e){return ea||(ea=tf().StringDecoder),this._readableState.decoder=new ea(e),this._readableState.encoding=e,this};var Fy=8388608;function E3(e){return e>=Fy?e=Fy:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Dy(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=E3(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}Ce.prototype.read=function(e){be("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return be("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?sf(this):Rc(this),null;if(e=Dy(e,t),e===0&&t.ended)return t.length===0&&sf(this),null;var i=t.needReadable;be("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&(i=!0,be("length less than watermark",i)),t.ended||t.reading?(i=!1,be("reading or ended",i)):i&&(be("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Dy(n,t)));var r;return e>0?r=Gy(e,t):r=null,r===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&sf(this)),r!==null&&this.emit("data",r),r};function O3(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,Rc(e)}}function Rc(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(be("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?ta.nextTick(zy,e):zy(e))}function zy(e){be("emit readable"),e.emit("readable"),cf(e)}function Hy(e,t){t.readingMore||(t.readingMore=!0,ta.nextTick(k3,e,t))}function k3(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(be("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}Ce.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};Ce.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,be("pipe count=%d opts=%j",i.pipesCount,t);var r=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,a=r?o:d;i.endEmitted?ta.nextTick(a):n.once("end",a),e.on("unpipe",s);function s(x,_){be("onunpipe"),x===n&&_&&_.hasUnpiped===!1&&(_.hasUnpiped=!0,l())}function o(){be("onend"),e.end()}var c=C3(n);e.on("drain",c);var u=!1;function l(){be("cleanup"),e.removeListener("close",v),e.removeListener("finish",g),e.removeListener("drain",c),e.removeListener("error",m),e.removeListener("unpipe",s),n.removeListener("end",o),n.removeListener("end",d),n.removeListener("data",f),u=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}var p=!1;n.on("data",f);function f(x){be("ondata"),p=!1;var _=e.write(x);_===!1&&!p&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Vy(i.pipes,e)!==-1)&&!u&&(be("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function m(x){be("onerror",x),d(),e.removeListener("error",m),$y(e,"error")===0&&e.emit("error",x)}w3(e,"error",m);function v(){e.removeListener("finish",g),d()}e.once("close",v);function g(){be("onfinish"),e.removeListener("close",v),d()}e.once("finish",g);function d(){be("unpipe"),n.unpipe(e)}return e.emit("pipe",n),i.flowing||(be("pipe resume"),n.resume()),e};function C3(e){return function(){var t=e._readableState;be("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&$y(e,"data")&&(t.flowing=!0,cf(e))}}Ce.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var i=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<r;a++)i[a].emit("unpipe",this,n);return this}var s=Vy(t.pipes,e);return s===-1?this:(t.pipes.splice(s,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n),this)};Ce.prototype.on=function(e,t){var n=of.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==!1&&this.resume();else if(e==="readable"){var i=this._readableState;!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&Rc(this):ta.nextTick(A3,this))}return n};Ce.prototype.addListener=Ce.prototype.on;function A3(e){be("readable nexttick read 0"),e.read(0)}Ce.prototype.resume=function(){var e=this._readableState;return e.flowing||(be("resume"),e.flowing=!0,T3(this,e)),this};function T3(e,t){t.resumeScheduled||(t.resumeScheduled=!0,ta.nextTick(j3,e,t))}function j3(e,t){t.reading||(be("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),cf(e),t.flowing&&!t.reading&&e.read(0)}Ce.prototype.pause=function(){return be("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(be("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function cf(e){var t=e._readableState;for(be("flow",t.flowing);t.flowing&&e.read()!==null;);}Ce.prototype.wrap=function(e){var t=this,n=this._readableState,i=!1;e.on("end",function(){if(be("wrapped end"),n.decoder&&!n.ended){var s=n.decoder.end();s&&s.length&&t.push(s)}t.push(null)}),e.on("data",function(s){if(be("wrapped data"),n.decoder&&(s=n.decoder.write(s)),!(n.objectMode&&s==null)&&!(!n.objectMode&&(!s||!s.length))){var o=t.push(s);o||(i=!0,e.pause())}});for(var r in e)this[r]===void 0&&typeof e[r]=="function"&&(this[r]=function(s){return function(){return e[s].apply(e,arguments)}}(r));for(var a=0;a<rf.length;a++)e.on(rf[a],this.emit.bind(this,rf[a]));return this._read=function(s){be("wrapped _read",s),i&&(i=!1,e.resume())},this};Object.defineProperty(Ce.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Ce._fromList=Gy;function Gy(e,t){if(t.length===0)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(t.decoder?n=t.buffer.join(""):t.buffer.length===1?n=t.buffer.head.data:n=t.buffer.concat(t.length),t.buffer.clear()):n=M3(e,t.buffer,t.decoder),n}function M3(e,t,n){var i;return e<t.head.data.length?(i=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):e===t.head.data.length?i=t.shift():i=n?R3(e,t):N3(e,t),i}function R3(e,t){var n=t.head,i=1,r=n.data;for(e-=r.length;n=n.next;){var a=n.data,s=e>a.length?a.length:e;if(s===a.length?r+=a:r+=a.slice(0,e),e-=s,e===0){s===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(s));break}++i}return t.length-=i,r}function N3(e,t){var n=os.allocUnsafe(e),i=t.head,r=1;for(i.data.copy(n),e-=i.data.length;i=i.next;){var a=i.data,s=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,s),e-=s,e===0){s===a.length?(++r,i.next?t.head=i.next:t.head=t.tail=null):(t.head=i,i.data=a.slice(s));break}++r}return t.length-=r,n}function sf(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,ta.nextTick(L3,t,e))}function L3(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Vy(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}});var lf=b((aB,Qy)=>{"use strict";Qy.exports=On;var Nc=Bi(),Xy=Object.create(Jr());Xy.inherits=Xr();Xy.inherits(On,Nc);function I3(e,t){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(!i)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,t!=null&&this.push(t),i(e);var r=this._readableState;r.reading=!1,(r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}function On(e){if(!(this instanceof On))return new On(e);Nc.call(this,e),this._transformState={afterTransform:I3.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",q3)}function q3(){var e=this;typeof this._flush=="function"?this._flush(function(t,n){Jy(e,t,n)}):Jy(this,null,null)}On.prototype.push=function(e,t){return this._transformState.needTransform=!1,Nc.prototype.push.call(this,e,t)};On.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")};On.prototype._write=function(e,t,n){var i=this._transformState;if(i.writecb=n,i.writechunk=e,i.writeencoding=t,!i.transforming){var r=this._readableState;(i.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}};On.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};On.prototype._destroy=function(e,t){var n=this;Nc.prototype._destroy.call(this,e,function(i){t(i),n.emit("close")})};function Jy(e,t,n){if(t)return e.emit("error",t);if(n!=null&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}});var i1=b((sB,n1)=>{"use strict";n1.exports=cs;var e1=lf(),t1=Object.create(Jr());t1.inherits=Xr();t1.inherits(cs,e1);function cs(e){if(!(this instanceof cs))return new cs(e);e1.call(this,e)}cs.prototype._transform=function(e,t,n){n(null,e)}});var uf=b((at,Lc)=>{var hn=require("stream");process.env.READABLE_STREAM==="disable"&&hn?(Lc.exports=hn,at=Lc.exports=hn.Readable,at.Readable=hn.Readable,at.Writable=hn.Writable,at.Duplex=hn.Duplex,at.Transform=hn.Transform,at.PassThrough=hn.PassThrough,at.Stream=hn):(at=Lc.exports=Xp(),at.Stream=hn||at,at.Readable=at,at.Writable=Vp(),at.Duplex=Bi(),at.Transform=lf(),at.PassThrough=i1())});var kn=b(Lt=>{"use strict";Lt.base64=!0;Lt.array=!0;Lt.string=!0;Lt.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Lt.nodebuffer=typeof Buffer<"u";Lt.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Lt.blob=!1;else{pf=new ArrayBuffer(0);try{Lt.blob=new Blob([pf],{type:"application/zip"}).size===0}catch{try{r1=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,ff=new r1,ff.append(pf),Lt.blob=ff.getBlob("application/zip").size===0}catch{Lt.blob=!1}}}var pf,r1,ff;try{Lt.nodestream=!!uf().Readable}catch{Lt.nodestream=!1}});var hf=b(df=>{"use strict";var P3=Ne(),B3=kn(),mn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";df.encode=function(e){for(var t=[],n,i,r,a,s,o,c,u=0,l=e.length,p=l,f=P3.getTypeOf(e)!=="string";u<e.length;)p=l-u,f?(n=e[u++],i=u<l?e[u++]:0,r=u<l?e[u++]:0):(n=e.charCodeAt(u++),i=u<l?e.charCodeAt(u++):0,r=u<l?e.charCodeAt(u++):0),a=n>>2,s=(n&3)<<4|i>>4,o=p>1?(i&15)<<2|r>>6:64,c=p>2?r&63:64,t.push(mn.charAt(a)+mn.charAt(s)+mn.charAt(o)+mn.charAt(c));return t.join("")};df.decode=function(e){var t,n,i,r,a,s,o,c=0,u=0,l="data:";if(e.substr(0,l.length)===l)throw new Error("Invalid base64 input, it looks like a data url.");e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");var p=e.length*3/4;if(e.charAt(e.length-1)===mn.charAt(64)&&p--,e.charAt(e.length-2)===mn.charAt(64)&&p--,p%1!==0)throw new Error("Invalid base64 input, bad content length.");var f;for(B3.uint8array?f=new Uint8Array(p|0):f=new Array(p|0);c<e.length;)r=mn.indexOf(e.charAt(c++)),a=mn.indexOf(e.charAt(c++)),s=mn.indexOf(e.charAt(c++)),o=mn.indexOf(e.charAt(c++)),t=r<<2|a>>4,n=(a&15)<<4|s>>2,i=(s&3)<<6|o,f[u++]=t,s!==64&&(f[u++]=n),o!==64&&(f[u++]=i);return f}});var ls=b((lB,a1)=>{"use strict";a1.exports={isNode:typeof Buffer<"u",newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}}});var o1=b((uB,s1)=>{"use strict";s1.exports=typeof setImmediate=="function"?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}});var p1=b((pB,u1)=>{"use strict";var c1=global.MutationObserver||global.WebKitMutationObserver,na;process.browser?c1?(mf=0,l1=new c1(us),gf=global.document.createTextNode(""),l1.observe(gf,{characterData:!0}),na=function(){gf.data=mf=++mf%2}):!global.setImmediate&&typeof global.MessageChannel<"u"?(vf=new global.MessageChannel,vf.port1.onmessage=us,na=function(){vf.port2.postMessage(0)}):"document"in global&&"onreadystatechange"in global.document.createElement("script")?na=function(){var e=global.document.createElement("script");e.onreadystatechange=function(){us(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},global.document.documentElement.appendChild(e)}:na=function(){setTimeout(us,0)}:na=function(){process.nextTick(us)};var mf,l1,gf,vf,bf,ps=[];function us(){bf=!0;for(var e,t,n=ps.length;n;){for(t=ps,ps=[],e=-1;++e<n;)t[e]();n=ps.length}bf=!1}u1.exports=F3;function F3(e){ps.push(e)===1&&!bf&&na()}});var b1=b((fB,v1)=>{"use strict";var f1=p1();function ia(){}var ut={},d1=["REJECTED"],xf=["FULFILLED"],h1=["PENDING"];process.browser||(fs=["UNHANDLED"]);var fs;v1.exports=Gn;function Gn(e){if(typeof e!="function")throw new TypeError("resolver must be a function");this.state=h1,this.queue=[],this.outcome=void 0,process.browser||(this.handled=fs),e!==ia&&m1(this,e)}Gn.prototype.finally=function(e){if(typeof e!="function")return this;var t=this.constructor;return this.then(n,i);function n(r){function a(){return r}return t.resolve(e()).then(a)}function i(r){function a(){throw r}return t.resolve(e()).then(a)}};Gn.prototype.catch=function(e){return this.then(null,e)};Gn.prototype.then=function(e,t){if(typeof e!="function"&&this.state===xf||typeof t!="function"&&this.state===d1)return this;var n=new this.constructor(ia);if(process.browser||this.handled===fs&&(this.handled=null),this.state!==h1){var i=this.state===xf?e:t;yf(n,i,this.outcome)}else this.queue.push(new ds(n,e,t));return n};function ds(e,t,n){this.promise=e,typeof t=="function"&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),typeof n=="function"&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}ds.prototype.callFulfilled=function(e){ut.resolve(this.promise,e)};ds.prototype.otherCallFulfilled=function(e){yf(this.promise,this.onFulfilled,e)};ds.prototype.callRejected=function(e){ut.reject(this.promise,e)};ds.prototype.otherCallRejected=function(e){yf(this.promise,this.onRejected,e)};function yf(e,t,n){f1(function(){var i;try{i=t(n)}catch(r){return ut.reject(e,r)}i===e?ut.reject(e,new TypeError("Cannot resolve promise with itself")):ut.resolve(e,i)})}ut.resolve=function(e,t){var n=g1(D3,t);if(n.status==="error")return ut.reject(e,n.value);var i=n.value;if(i)m1(e,i);else{e.state=xf,e.outcome=t;for(var r=-1,a=e.queue.length;++r<a;)e.queue[r].callFulfilled(t)}return e};ut.reject=function(e,t){e.state=d1,e.outcome=t,process.browser||e.handled===fs&&f1(function(){e.handled===fs&&process.emit("unhandledRejection",t,e)});for(var n=-1,i=e.queue.length;++n<i;)e.queue[n].callRejected(t);return e};function D3(e){var t=e&&e.then;if(e&&(typeof e=="object"||typeof e=="function")&&typeof t=="function")return function(){t.apply(e,arguments)}}function m1(e,t){var n=!1;function i(o){n||(n=!0,ut.reject(e,o))}function r(o){n||(n=!0,ut.resolve(e,o))}function a(){t(r,i)}var s=g1(a);s.status==="error"&&i(s.value)}function g1(e,t){var n={};try{n.value=e(t),n.status="success"}catch(i){n.status="error",n.value=i}return n}Gn.resolve=z3;function z3(e){return e instanceof this?e:ut.resolve(new this(ia),e)}Gn.reject=$3;function $3(e){var t=new this(ia);return ut.reject(t,e)}Gn.all=U3;function U3(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var r=new Array(n),a=0,s=-1,o=new this(ia);++s<n;)c(e[s],s);return o;function c(u,l){t.resolve(u).then(p,function(f){i||(i=!0,ut.reject(o,f))});function p(f){r[l]=f,++a===n&&!i&&(i=!0,ut.resolve(o,r))}}}Gn.race=W3;function W3(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var r=-1,a=new this(ia);++r<n;)s(e[r]);return a;function s(o){t.resolve(o).then(function(c){i||(i=!0,ut.resolve(a,c))},function(c){i||(i=!0,ut.reject(a,c))})}}});var ra=b((dB,x1)=>{"use strict";var wf=null;typeof Promise<"u"?wf=Promise:wf=b1();x1.exports={Promise:wf}});var Ne=b(Ke=>{"use strict";var Vn=kn(),K3=hf(),aa=ls(),Y3=o1(),_f=ra();function H3(e){var t=null;return Vn.uint8array?t=new Uint8Array(e.length):t=new Array(e.length),qc(e,t)}Ke.newBlob=function(e,t){Ke.checkSupport("blob");try{return new Blob([e],{type:t})}catch{try{var n=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,i=new n;return i.append(e),i.getBlob(t)}catch{throw new Error("Bug : can't construct the Blob.")}}};function hs(e){return e}function qc(e,t){for(var n=0;n<e.length;++n)t[n]=e.charCodeAt(n)&255;return t}var Ic={stringifyByChunk:function(e,t,n){var i=[],r=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;r<a;)t==="array"||t==="nodebuffer"?i.push(String.fromCharCode.apply(null,e.slice(r,Math.min(r+n,a)))):i.push(String.fromCharCode.apply(null,e.subarray(r,Math.min(r+n,a)))),r+=n;return i.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return Vn.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return Vn.nodebuffer&&String.fromCharCode.apply(null,aa.allocBuffer(1)).length===1}catch{return!1}}()}};function ms(e){var t=65536,n=Ke.getTypeOf(e),i=!0;if(n==="uint8array"?i=Ic.applyCanBeUsed.uint8array:n==="nodebuffer"&&(i=Ic.applyCanBeUsed.nodebuffer),i)for(;t>1;)try{return Ic.stringifyByChunk(e,n,t)}catch{t=Math.floor(t/2)}return Ic.stringifyByChar(e)}Ke.applyFromCharCode=ms;function Pc(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var Zn={};Zn.string={string:hs,array:function(e){return qc(e,new Array(e.length))},arraybuffer:function(e){return Zn.string.uint8array(e).buffer},uint8array:function(e){return qc(e,new Uint8Array(e.length))},nodebuffer:function(e){return qc(e,aa.allocBuffer(e.length))}};Zn.array={string:ms,array:hs,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return aa.newBufferFrom(e)}};Zn.arraybuffer={string:function(e){return ms(new Uint8Array(e))},array:function(e){return Pc(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:hs,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return aa.newBufferFrom(new Uint8Array(e))}};Zn.uint8array={string:ms,array:function(e){return Pc(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:hs,nodebuffer:function(e){return aa.newBufferFrom(e)}};Zn.nodebuffer={string:ms,array:function(e){return Pc(e,new Array(e.length))},arraybuffer:function(e){return Zn.nodebuffer.uint8array(e).buffer},uint8array:function(e){return Pc(e,new Uint8Array(e.length))},nodebuffer:hs};Ke.transformTo=function(e,t){if(t||(t=""),!e)return t;Ke.checkSupport(e);var n=Ke.getTypeOf(t),i=Zn[n][e](t);return i};Ke.getTypeOf=function(e){if(typeof e=="string")return"string";if(Object.prototype.toString.call(e)==="[object Array]")return"array";if(Vn.nodebuffer&&aa.isBuffer(e))return"nodebuffer";if(Vn.uint8array&&e instanceof Uint8Array)return"uint8array";if(Vn.arraybuffer&&e instanceof ArrayBuffer)return"arraybuffer"};Ke.checkSupport=function(e){var t=Vn[e.toLowerCase()];if(!t)throw new Error(e+" is not supported by this platform")};Ke.MAX_VALUE_16BITS=65535;Ke.MAX_VALUE_32BITS=-1;Ke.pretty=function(e){var t="",n,i;for(i=0;i<(e||"").length;i++)n=e.charCodeAt(i),t+="\\x"+(n<16?"0":"")+n.toString(16).toUpperCase();return t};Ke.delay=function(e,t,n){Y3(function(){e.apply(n||null,t||[])})};Ke.inherits=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n};Ke.extend=function(){var e={},t,n;for(t=0;t<arguments.length;t++)for(n in arguments[t])arguments[t].hasOwnProperty(n)&&typeof e[n]>"u"&&(e[n]=arguments[t][n]);return e};Ke.prepareContent=function(e,t,n,i,r){var a=_f.Promise.resolve(t).then(function(s){var o=Vn.blob&&(s instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(s))!==-1);return o&&typeof FileReader<"u"?new _f.Promise(function(c,u){var l=new FileReader;l.onload=function(p){c(p.target.result)},l.onerror=function(p){u(p.target.error)},l.readAsArrayBuffer(s)}):s});return a.then(function(s){var o=Ke.getTypeOf(s);return o?(o==="arraybuffer"?s=Ke.transformTo("uint8array",s):o==="string"&&(r?s=K3.decode(s):n&&i!==!0&&(s=H3(s))),s):_f.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}});var It=b((mB,w1)=>{"use strict";function y1(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}y1.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return this.isFinished?!1:(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.end()}),e.on("error",function(n){t.error(n)}),this},pause:function(){return this.isPaused||this.isFinished?!1:(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)!this.extraStreamInfo.hasOwnProperty(e)||(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}};w1.exports=y1});var Di=b(Jn=>{"use strict";var sa=Ne(),Fi=kn(),G3=ls(),Bc=It(),gs=new Array(256);for(Cn=0;Cn<256;Cn++)gs[Cn]=Cn>=252?6:Cn>=248?5:Cn>=240?4:Cn>=224?3:Cn>=192?2:1;var Cn;gs[254]=gs[254]=1;var V3=function(e){var t,n,i,r,a,s=e.length,o=0;for(r=0;r<s;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),o+=n<128?1:n<2048?2:n<65536?3:4;for(Fi.uint8array?t=new Uint8Array(o):t=new Array(o),a=0,r=0;a<o;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|n&63):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|n&63):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|n&63);return t},Z3=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+gs[e[n]]>t?n:t},J3=function(e){var t,n,i,r,a,s=e.length,o=new Array(s*2);for(i=0,n=0;n<s;){if(r=e[n++],r<128){o[i++]=r;continue}if(a=gs[r],a>4){o[i++]=65533,n+=a-1;continue}for(r&=a===2?31:a===3?15:7;a>1&&n<s;)r=r<<6|e[n++]&63,a--;if(a>1){o[i++]=65533;continue}r<65536?o[i++]=r:(r-=65536,o[i++]=55296|r>>10&1023,o[i++]=56320|r&1023)}return o.length!==i&&(o.subarray?o=o.subarray(0,i):o.length=i),sa.applyFromCharCode(o)};Jn.utf8encode=function(t){return Fi.nodebuffer?G3.newBufferFrom(t,"utf-8"):V3(t)};Jn.utf8decode=function(t){return Fi.nodebuffer?sa.transformTo("nodebuffer",t).toString("utf-8"):(t=sa.transformTo(Fi.uint8array?"uint8array":"array",t),J3(t))};function Fc(){Bc.call(this,"utf-8 decode"),this.leftOver=null}sa.inherits(Fc,Bc);Fc.prototype.processChunk=function(e){var t=sa.transformTo(Fi.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(Fi.uint8array){var n=t;t=new Uint8Array(n.length+this.leftOver.length),t.set(this.leftOver,0),t.set(n,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var i=Z3(t),r=t;i!==t.length&&(Fi.uint8array?(r=t.subarray(0,i),this.leftOver=t.subarray(i,t.length)):(r=t.slice(0,i),this.leftOver=t.slice(i,t.length))),this.push({data:Jn.utf8decode(r),meta:e.meta})};Fc.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:Jn.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)};Jn.Utf8DecodeWorker=Fc;function Sf(){Bc.call(this,"utf-8 encode")}sa.inherits(Sf,Bc);Sf.prototype.processChunk=function(e){this.push({data:Jn.utf8encode(e.data),meta:e.meta})};Jn.Utf8EncodeWorker=Sf});var O1=b((vB,E1)=>{"use strict";var _1=It(),S1=Ne();function Ef(e){_1.call(this,"ConvertWorker to "+e),this.destType=e}S1.inherits(Ef,_1);Ef.prototype.processChunk=function(e){this.push({data:S1.transformTo(this.destType,e.data),meta:e.meta})};E1.exports=Ef});var A1=b((bB,C1)=>{"use strict";var k1=uf().Readable,X3=Ne();X3.inherits(Of,k1);function Of(e,t,n){k1.call(this,t),this._helper=e;var i=this;e.on("data",function(r,a){i.push(r)||i._helper.pause(),n&&n(a)}).on("error",function(r){i.emit("error",r)}).on("end",function(){i.push(null)})}Of.prototype._read=function(){this._helper.resume()};C1.exports=Of});var kf=b((xB,M1)=>{"use strict";var zi=Ne(),Q3=O1(),ej=It(),tj=hf(),nj=kn(),ij=ra(),T1=null;if(nj.nodestream)try{T1=A1()}catch{}function rj(e,t,n){switch(e){case"blob":return zi.newBlob(zi.transformTo("arraybuffer",t),n);case"base64":return tj.encode(t);default:return zi.transformTo(e,t)}}function aj(e,t){var n,i=0,r=null,a=0;for(n=0;n<t.length;n++)a+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(r=new Uint8Array(a),n=0;n<t.length;n++)r.set(t[n],i),i+=t[n].length;return r;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}function sj(e,t){return new ij.Promise(function(n,i){var r=[],a=e._internalType,s=e._outputType,o=e._mimeType;e.on("data",function(c,u){r.push(c),t&&t(u)}).on("error",function(c){r=[],i(c)}).on("end",function(){try{var c=rj(s,aj(a,r),o);n(c)}catch(u){i(u)}r=[]}).resume()})}function j1(e,t,n){var i=t;switch(t){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string";break}try{this._internalType=i,this._outputType=t,this._mimeType=n,zi.checkSupport(i),this._worker=e.pipe(new Q3(i)),e.lock()}catch(r){this._worker=new ej("error"),this._worker.error(r)}}j1.prototype={accumulate:function(e){return sj(this,e)},on:function(e,t){var n=this;return e==="data"?this._worker.on(e,function(i){t.call(n,i.data,i.meta)}):this._worker.on(e,function(){zi.delay(t,arguments,n)}),this},resume:function(){return zi.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(zi.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new T1(this,{objectMode:this._outputType!=="nodebuffer"},e)}};M1.exports=j1});var Cf=b(tn=>{"use strict";tn.base64=!1;tn.binary=!1;tn.dir=!1;tn.createFolders=!0;tn.date=null;tn.compression=null;tn.compressionOptions=null;tn.comment=null;tn.unixPermissions=null;tn.dosPermissions=null});var Af=b((wB,R1)=>{"use strict";var Dc=Ne(),zc=It(),oj=16*1024;function oa(e){zc.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(n){t.dataIsReady=!0,t.data=n,t.max=n&&n.length||0,t.type=Dc.getTypeOf(n),t.isPaused||t._tickAndRepeat()},function(n){t.error(n)})}Dc.inherits(oa,zc);oa.prototype.cleanUp=function(){zc.prototype.cleanUp.call(this),this.data=null};oa.prototype.resume=function(){return zc.prototype.resume.call(this)?(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Dc.delay(this._tickAndRepeat,[],this)),!0):!1};oa.prototype._tickAndRepeat=function(){this._tickScheduled=!1,!(this.isPaused||this.isFinished)&&(this._tick(),this.isFinished||(Dc.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))};oa.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=oj,t=null,n=Math.min(this.max,this.index+e);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,n);break;case"uint8array":t=this.data.subarray(this.index,n);break;case"array":case"nodebuffer":t=this.data.slice(this.index,n);break}return this.index=n,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})};R1.exports=oa});var $c=b((_B,L1)=>{"use strict";var cj=Ne();function lj(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var N1=lj();function uj(e,t,n,i){var r=N1,a=i+n;e=e^-1;for(var s=i;s<a;s++)e=e>>>8^r[(e^t[s])&255];return e^-1}function pj(e,t,n,i){var r=N1,a=i+n;e=e^-1;for(var s=i;s<a;s++)e=e>>>8^r[(e^t.charCodeAt(s))&255];return e^-1}L1.exports=function(t,n){if(typeof t>"u"||!t.length)return 0;var i=cj.getTypeOf(t)!=="string";return i?uj(n|0,t,t.length,0):pj(n|0,t,t.length,0)}});var jf=b((SB,q1)=>{"use strict";var I1=It(),fj=$c(),dj=Ne();function Tf(){I1.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}dj.inherits(Tf,I1);Tf.prototype.processChunk=function(e){this.streamInfo.crc32=fj(e.data,this.streamInfo.crc32||0),this.push(e)};q1.exports=Tf});var B1=b((EB,P1)=>{"use strict";var hj=Ne(),Mf=It();function Rf(e){Mf.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}hj.inherits(Rf,Mf);Rf.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}Mf.prototype.processChunk.call(this,e)};P1.exports=Rf});var Uc=b((OB,z1)=>{"use strict";var F1=ra(),D1=Af(),mj=jf(),Nf=B1();function Lf(e,t,n,i,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=i,this.compressedContent=r}Lf.prototype={getContentWorker:function(){var e=new D1(F1.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Nf("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new D1(F1.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};Lf.createWorkerFrom=function(e,t,n){return e.pipe(new mj).pipe(new Nf("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new Nf("compressedSize")).withStreamInfo("compression",t)};z1.exports=Lf});var K1=b((kB,W1)=>{"use strict";var gj=kf(),vj=Af(),If=Di(),qf=Uc(),$1=It(),Pf=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};Pf.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");n=e.toLowerCase();var i=n==="string"||n==="text";(n==="binarystring"||n==="text")&&(n="string"),t=this._decompressWorker();var r=!this._dataBinary;r&&!i&&(t=t.pipe(new If.Utf8EncodeWorker)),!r&&i&&(t=t.pipe(new If.Utf8DecodeWorker))}catch(a){t=new $1("error"),t.error(a)}return new gj(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof qf&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new If.Utf8EncodeWorker)),qf.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof qf?this._data.getContentWorker():this._data instanceof $1?this._data:new vj(this._data)}};var U1=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],bj=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(Wc=0;Wc<U1.length;Wc++)Pf.prototype[U1[Wc]]=bj;var Wc;W1.exports=Pf});var An=b(bt=>{"use strict";var xj=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function yj(e,t){return Object.prototype.hasOwnProperty.call(e,t)}bt.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(!!n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(var i in n)yj(n,i)&&(e[i]=n[i])}}return e};bt.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var wj={arraySet:function(e,t,n,i,r){if(t.subarray&&e.subarray){e.set(t.subarray(n,n+i),r);return}for(var a=0;a<i;a++)e[r+a]=t[n+a]},flattenChunks:function(e){var t,n,i,r,a,s;for(i=0,t=0,n=e.length;t<n;t++)i+=e[t].length;for(s=new Uint8Array(i),r=0,t=0,n=e.length;t<n;t++)a=e[t],s.set(a,r),r+=a.length;return s}},_j={arraySet:function(e,t,n,i,r){for(var a=0;a<i;a++)e[r+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};bt.setTyped=function(e){e?(bt.Buf8=Uint8Array,bt.Buf16=Uint16Array,bt.Buf32=Int32Array,bt.assign(bt,wj)):(bt.Buf8=Array,bt.Buf16=Array,bt.Buf32=Array,bt.assign(bt,_j))};bt.setTyped(xj)});var hw=b(ua=>{"use strict";var Sj=An(),Ej=4,Y1=0,H1=1,Oj=2;function la(e){for(var t=e.length;--t>=0;)e[t]=0}var kj=0,Q1=1,Cj=2,Aj=3,Tj=258,Wf=29,_s=256,bs=_s+1+Wf,ca=30,Kf=19,ew=2*bs+1,$i=15,Bf=16,jj=7,Yf=256,tw=16,nw=17,iw=18,$f=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Kc=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Mj=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],rw=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Rj=512,Tn=new Array((bs+2)*2);la(Tn);var vs=new Array(ca*2);la(vs);var xs=new Array(Rj);la(xs);var ys=new Array(Tj-Aj+1);la(ys);var Hf=new Array(Wf);la(Hf);var Yc=new Array(ca);la(Yc);function Ff(e,t,n,i,r){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=e&&e.length}var aw,sw,ow;function Df(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function cw(e){return e<256?xs[e]:xs[256+(e>>>7)]}function ws(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function St(e,t,n){e.bi_valid>Bf-n?(e.bi_buf|=t<<e.bi_valid&65535,ws(e,e.bi_buf),e.bi_buf=t>>Bf-e.bi_valid,e.bi_valid+=n-Bf):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function gn(e,t,n){St(e,n[t*2],n[t*2+1])}function lw(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function Nj(e){e.bi_valid===16?(ws(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function Lj(e,t){var n=t.dyn_tree,i=t.max_code,r=t.stat_desc.static_tree,a=t.stat_desc.has_stree,s=t.stat_desc.extra_bits,o=t.stat_desc.extra_base,c=t.stat_desc.max_length,u,l,p,f,m,v,g=0;for(f=0;f<=$i;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;u<ew;u++)l=e.heap[u],f=n[n[l*2+1]*2+1]+1,f>c&&(f=c,g++),n[l*2+1]=f,!(l>i)&&(e.bl_count[f]++,m=0,l>=o&&(m=s[l-o]),v=n[l*2],e.opt_len+=v*(f+m),a&&(e.static_len+=v*(r[l*2+1]+m)));if(g!==0){do{for(f=c-1;e.bl_count[f]===0;)f--;e.bl_count[f]--,e.bl_count[f+1]+=2,e.bl_count[c]--,g-=2}while(g>0);for(f=c;f!==0;f--)for(l=e.bl_count[f];l!==0;)p=e.heap[--u],!(p>i)&&(n[p*2+1]!==f&&(e.opt_len+=(f-n[p*2+1])*n[p*2],n[p*2+1]=f),l--)}}function uw(e,t,n){var i=new Array($i+1),r=0,a,s;for(a=1;a<=$i;a++)i[a]=r=r+n[a-1]<<1;for(s=0;s<=t;s++){var o=e[s*2+1];o!==0&&(e[s*2]=lw(i[o]++,o))}}function Ij(){var e,t,n,i,r,a=new Array($i+1);for(n=0,i=0;i<Wf-1;i++)for(Hf[i]=n,e=0;e<1<<$f[i];e++)ys[n++]=i;for(ys[n-1]=i,r=0,i=0;i<16;i++)for(Yc[i]=r,e=0;e<1<<Kc[i];e++)xs[r++]=i;for(r>>=7;i<ca;i++)for(Yc[i]=r<<7,e=0;e<1<<Kc[i]-7;e++)xs[256+r++]=i;for(t=0;t<=$i;t++)a[t]=0;for(e=0;e<=143;)Tn[e*2+1]=8,e++,a[8]++;for(;e<=255;)Tn[e*2+1]=9,e++,a[9]++;for(;e<=279;)Tn[e*2+1]=7,e++,a[7]++;for(;e<=287;)Tn[e*2+1]=8,e++,a[8]++;for(uw(Tn,bs+1,a),e=0;e<ca;e++)vs[e*2+1]=5,vs[e*2]=lw(e,5);aw=new Ff(Tn,$f,_s+1,bs,$i),sw=new Ff(vs,Kc,0,ca,$i),ow=new Ff(new Array(0),Mj,0,Kf,jj)}function pw(e){var t;for(t=0;t<bs;t++)e.dyn_ltree[t*2]=0;for(t=0;t<ca;t++)e.dyn_dtree[t*2]=0;for(t=0;t<Kf;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Yf*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function fw(e){e.bi_valid>8?ws(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function qj(e,t,n,i){fw(e),i&&(ws(e,n),ws(e,~n)),Sj.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function G1(e,t,n,i){var r=t*2,a=n*2;return e[r]<e[a]||e[r]===e[a]&&i[t]<=i[n]}function zf(e,t,n){for(var i=e.heap[n],r=n<<1;r<=e.heap_len&&(r<e.heap_len&&G1(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!G1(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function V1(e,t,n){var i,r,a=0,s,o;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],r=e.pending_buf[e.l_buf+a],a++,i===0?gn(e,r,t):(s=ys[r],gn(e,s+_s+1,t),o=$f[s],o!==0&&(r-=Hf[s],St(e,r,o)),i--,s=cw(i),gn(e,s,n),o=Kc[s],o!==0&&(i-=Yc[s],St(e,i,o)));while(a<e.last_lit);gn(e,Yf,t)}function Uf(e,t){var n=t.dyn_tree,i=t.stat_desc.static_tree,r=t.stat_desc.has_stree,a=t.stat_desc.elems,s,o,c=-1,u;for(e.heap_len=0,e.heap_max=ew,s=0;s<a;s++)n[s*2]!==0?(e.heap[++e.heap_len]=c=s,e.depth[s]=0):n[s*2+1]=0;for(;e.heap_len<2;)u=e.heap[++e.heap_len]=c<2?++c:0,n[u*2]=1,e.depth[u]=0,e.opt_len--,r&&(e.static_len-=i[u*2+1]);for(t.max_code=c,s=e.heap_len>>1;s>=1;s--)zf(e,n,s);u=a;do s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],zf(e,n,1),o=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=o,n[u*2]=n[s*2]+n[o*2],e.depth[u]=(e.depth[s]>=e.depth[o]?e.depth[s]:e.depth[o])+1,n[s*2+1]=n[o*2+1]=u,e.heap[1]=u++,zf(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Lj(e,t),uw(n,c,e.bl_count)}function Z1(e,t,n){var i,r=-1,a,s=t[0*2+1],o=0,c=7,u=4;for(s===0&&(c=138,u=3),t[(n+1)*2+1]=65535,i=0;i<=n;i++)a=s,s=t[(i+1)*2+1],!(++o<c&&a===s)&&(o<u?e.bl_tree[a*2]+=o:a!==0?(a!==r&&e.bl_tree[a*2]++,e.bl_tree[tw*2]++):o<=10?e.bl_tree[nw*2]++:e.bl_tree[iw*2]++,o=0,r=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4))}function J1(e,t,n){var i,r=-1,a,s=t[0*2+1],o=0,c=7,u=4;for(s===0&&(c=138,u=3),i=0;i<=n;i++)if(a=s,s=t[(i+1)*2+1],!(++o<c&&a===s)){if(o<u)do gn(e,a,e.bl_tree);while(--o!==0);else a!==0?(a!==r&&(gn(e,a,e.bl_tree),o--),gn(e,tw,e.bl_tree),St(e,o-3,2)):o<=10?(gn(e,nw,e.bl_tree),St(e,o-3,3)):(gn(e,iw,e.bl_tree),St(e,o-11,7));o=0,r=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4)}}function Pj(e){var t;for(Z1(e,e.dyn_ltree,e.l_desc.max_code),Z1(e,e.dyn_dtree,e.d_desc.max_code),Uf(e,e.bl_desc),t=Kf-1;t>=3&&e.bl_tree[rw[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Bj(e,t,n,i){var r;for(St(e,t-257,5),St(e,n-1,5),St(e,i-4,4),r=0;r<i;r++)St(e,e.bl_tree[rw[r]*2+1],3);J1(e,e.dyn_ltree,t-1),J1(e,e.dyn_dtree,n-1)}function Fj(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return Y1;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return H1;for(n=32;n<_s;n++)if(e.dyn_ltree[n*2]!==0)return H1;return Y1}var X1=!1;function Dj(e){X1||(Ij(),X1=!0),e.l_desc=new Df(e.dyn_ltree,aw),e.d_desc=new Df(e.dyn_dtree,sw),e.bl_desc=new Df(e.bl_tree,ow),e.bi_buf=0,e.bi_valid=0,pw(e)}function dw(e,t,n,i){St(e,(kj<<1)+(i?1:0),3),qj(e,t,n,!0)}function zj(e){St(e,Q1<<1,3),gn(e,Yf,Tn),Nj(e)}function $j(e,t,n,i){var r,a,s=0;e.level>0?(e.strm.data_type===Oj&&(e.strm.data_type=Fj(e)),Uf(e,e.l_desc),Uf(e,e.d_desc),s=Pj(e),r=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=r&&(r=a)):r=a=n+5,n+4<=r&&t!==-1?dw(e,t,n,i):e.strategy===Ej||a===r?(St(e,(Q1<<1)+(i?1:0),3),V1(e,Tn,vs)):(St(e,(Cj<<1)+(i?1:0),3),Bj(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),V1(e,e.dyn_ltree,e.dyn_dtree)),pw(e),i&&fw(e)}function Uj(e,t,n){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=n&255,e.last_lit++,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(ys[n]+_s+1)*2]++,e.dyn_dtree[cw(t)*2]++),e.last_lit===e.lit_bufsize-1}ua._tr_init=Dj;ua._tr_stored_block=dw;ua._tr_flush_block=$j;ua._tr_tally=Uj;ua._tr_align=zj});var Gf=b((TB,mw)=>{"use strict";function Wj(e,t,n,i){for(var r=e&65535|0,a=e>>>16&65535|0,s=0;n!==0;){s=n>2e3?2e3:n,n-=s;do r=r+t[i++]|0,a=a+r|0;while(--s);r%=65521,a%=65521}return r|a<<16|0}mw.exports=Wj});var Vf=b((jB,gw)=>{"use strict";function Kj(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var Yj=Kj();function Hj(e,t,n,i){var r=Yj,a=i+n;e^=-1;for(var s=i;s<a;s++)e=e>>>8^r[(e^t[s])&255];return e^-1}gw.exports=Hj});var Hc=b((MB,vw)=>{"use strict";vw.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var kw=b(xn=>{"use strict";var xt=An(),Ht=hw(),ww=Gf(),Xn=Vf(),Gj=Hc(),Yi=0,Vj=1,Zj=3,ii=4,bw=5,bn=0,xw=1,Gt=-2,Jj=-3,Zf=-5,Xj=-1,Qj=1,Gc=2,eM=3,tM=4,nM=0,iM=2,Xc=8,rM=9,aM=15,sM=8,oM=29,cM=256,Xf=cM+1+oM,lM=30,uM=19,pM=2*Xf+1,fM=15,pe=3,ti=258,nn=ti+pe+1,dM=32,Qc=42,Qf=69,Vc=73,Zc=91,Jc=103,Ui=113,Es=666,Ye=1,Os=2,Wi=3,da=4,hM=3;function ni(e,t){return e.msg=Gj[t],t}function yw(e){return(e<<1)-(e>4?9:0)}function ei(e){for(var t=e.length;--t>=0;)e[t]=0}function Qn(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(xt.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function st(e,t){Ht._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Qn(e.strm)}function ge(e,t){e.pending_buf[e.pending++]=t}function Ss(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function mM(e,t,n,i){var r=e.avail_in;return r>i&&(r=i),r===0?0:(e.avail_in-=r,xt.arraySet(t,e.input,e.next_in,r,n),e.state.wrap===1?e.adler=ww(e.adler,t,r,n):e.state.wrap===2&&(e.adler=Xn(e.adler,t,r,n)),e.next_in+=r,e.total_in+=r,r)}function _w(e,t){var n=e.max_chain_length,i=e.strstart,r,a,s=e.prev_length,o=e.nice_match,c=e.strstart>e.w_size-nn?e.strstart-(e.w_size-nn):0,u=e.window,l=e.w_mask,p=e.prev,f=e.strstart+ti,m=u[i+s-1],v=u[i+s];e.prev_length>=e.good_match&&(n>>=2),o>e.lookahead&&(o=e.lookahead);do if(r=t,!(u[r+s]!==v||u[r+s-1]!==m||u[r]!==u[i]||u[++r]!==u[i+1])){i+=2,r++;do;while(u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&i<f);if(a=ti-(f-i),i=f-ti,a>s){if(e.match_start=t,s=a,a>=o)break;m=u[i+s-1],v=u[i+s]}}while((t=p[t&l])>c&&--n!==0);return s<=e.lookahead?s:e.lookahead}function Ki(e){var t=e.w_size,n,i,r,a,s;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-nn)){xt.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,n=i;do r=e.head[--n],e.head[n]=r>=t?r-t:0;while(--i);i=t,n=i;do r=e.prev[--n],e.prev[n]=r>=t?r-t:0;while(--i);a+=t}if(e.strm.avail_in===0)break;if(i=mM(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=i,e.lookahead+e.insert>=pe)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+pe-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<pe)););}while(e.lookahead<nn&&e.strm.avail_in!==0)}function gM(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Ki(e),e.lookahead===0&&t===Yi)return Ye;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,st(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-nn&&(st(e,!1),e.strm.avail_out===0))return Ye}return e.insert=0,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):(e.strstart>e.block_start&&(st(e,!1),e.strm.avail_out===0),Ye)}function Jf(e,t){for(var n,i;;){if(e.lookahead<nn){if(Ki(e),e.lookahead<nn&&t===Yi)return Ye;if(e.lookahead===0)break}if(n=0,e.lookahead>=pe&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+pe-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-nn&&(e.match_length=_w(e,n)),e.match_length>=pe)if(i=Ht._tr_tally(e,e.strstart-e.match_start,e.match_length-pe),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=pe){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+pe-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=Ht._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(st(e,!1),e.strm.avail_out===0))return Ye}return e.insert=e.strstart<pe-1?e.strstart:pe-1,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):e.last_lit&&(st(e,!1),e.strm.avail_out===0)?Ye:Os}function pa(e,t){for(var n,i,r;;){if(e.lookahead<nn){if(Ki(e),e.lookahead<nn&&t===Yi)return Ye;if(e.lookahead===0)break}if(n=0,e.lookahead>=pe&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+pe-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=pe-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-nn&&(e.match_length=_w(e,n),e.match_length<=5&&(e.strategy===Qj||e.match_length===pe&&e.strstart-e.match_start>4096)&&(e.match_length=pe-1)),e.prev_length>=pe&&e.match_length<=e.prev_length){r=e.strstart+e.lookahead-pe,i=Ht._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-pe),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=r&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+pe-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=pe-1,e.strstart++,i&&(st(e,!1),e.strm.avail_out===0))return Ye}else if(e.match_available){if(i=Ht._tr_tally(e,0,e.window[e.strstart-1]),i&&st(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Ye}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=Ht._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<pe-1?e.strstart:pe-1,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):e.last_lit&&(st(e,!1),e.strm.avail_out===0)?Ye:Os}function vM(e,t){for(var n,i,r,a,s=e.window;;){if(e.lookahead<=ti){if(Ki(e),e.lookahead<=ti&&t===Yi)return Ye;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=pe&&e.strstart>0&&(r=e.strstart-1,i=s[r],i===s[++r]&&i===s[++r]&&i===s[++r])){a=e.strstart+ti;do;while(i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&r<a);e.match_length=ti-(a-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=pe?(n=Ht._tr_tally(e,1,e.match_length-pe),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Ht._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(st(e,!1),e.strm.avail_out===0))return Ye}return e.insert=0,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):e.last_lit&&(st(e,!1),e.strm.avail_out===0)?Ye:Os}function bM(e,t){for(var n;;){if(e.lookahead===0&&(Ki(e),e.lookahead===0)){if(t===Yi)return Ye;break}if(e.match_length=0,n=Ht._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(st(e,!1),e.strm.avail_out===0))return Ye}return e.insert=0,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):e.last_lit&&(st(e,!1),e.strm.avail_out===0)?Ye:Os}function vn(e,t,n,i,r){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=r}var fa;fa=[new vn(0,0,0,0,gM),new vn(4,4,8,4,Jf),new vn(4,5,16,8,Jf),new vn(4,6,32,32,Jf),new vn(4,4,16,16,pa),new vn(8,16,32,32,pa),new vn(8,16,128,128,pa),new vn(8,32,128,256,pa),new vn(32,128,258,1024,pa),new vn(32,258,258,4096,pa)];function xM(e){e.window_size=2*e.w_size,ei(e.head),e.max_lazy_match=fa[e.level].max_lazy,e.good_match=fa[e.level].good_length,e.nice_match=fa[e.level].nice_length,e.max_chain_length=fa[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=pe-1,e.match_available=0,e.ins_h=0}function yM(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Xc,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new xt.Buf16(pM*2),this.dyn_dtree=new xt.Buf16((2*lM+1)*2),this.bl_tree=new xt.Buf16((2*uM+1)*2),ei(this.dyn_ltree),ei(this.dyn_dtree),ei(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new xt.Buf16(fM+1),this.heap=new xt.Buf16(2*Xf+1),ei(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new xt.Buf16(2*Xf+1),ei(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Sw(e){var t;return!e||!e.state?ni(e,Gt):(e.total_in=e.total_out=0,e.data_type=iM,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?Qc:Ui,e.adler=t.wrap===2?0:1,t.last_flush=Yi,Ht._tr_init(t),bn)}function Ew(e){var t=Sw(e);return t===bn&&xM(e.state),t}function wM(e,t){return!e||!e.state||e.state.wrap!==2?Gt:(e.state.gzhead=t,bn)}function Ow(e,t,n,i,r,a){if(!e)return Gt;var s=1;if(t===Xj&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),r<1||r>rM||n!==Xc||i<8||i>15||t<0||t>9||a<0||a>tM)return ni(e,Gt);i===8&&(i=9);var o=new yM;return e.state=o,o.strm=e,o.wrap=s,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=r+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+pe-1)/pe),o.window=new xt.Buf8(o.w_size*2),o.head=new xt.Buf16(o.hash_size),o.prev=new xt.Buf16(o.w_size),o.lit_bufsize=1<<r+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new xt.Buf8(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=(1+2)*o.lit_bufsize,o.level=t,o.strategy=a,o.method=n,Ew(e)}function _M(e,t){return Ow(e,t,Xc,aM,sM,nM)}function SM(e,t){var n,i,r,a;if(!e||!e.state||t>bw||t<0)return e?ni(e,Gt):Gt;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===Es&&t!==ii)return ni(e,e.avail_out===0?Zf:Gt);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===Qc)if(i.wrap===2)e.adler=0,ge(i,31),ge(i,139),ge(i,8),i.gzhead?(ge(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ge(i,i.gzhead.time&255),ge(i,i.gzhead.time>>8&255),ge(i,i.gzhead.time>>16&255),ge(i,i.gzhead.time>>24&255),ge(i,i.level===9?2:i.strategy>=Gc||i.level<2?4:0),ge(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(ge(i,i.gzhead.extra.length&255),ge(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Xn(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Qf):(ge(i,0),ge(i,0),ge(i,0),ge(i,0),ge(i,0),ge(i,i.level===9?2:i.strategy>=Gc||i.level<2?4:0),ge(i,hM),i.status=Ui);else{var s=Xc+(i.w_bits-8<<4)<<8,o=-1;i.strategy>=Gc||i.level<2?o=0:i.level<6?o=1:i.level===6?o=2:o=3,s|=o<<6,i.strstart!==0&&(s|=dM),s+=31-s%31,i.status=Ui,Ss(i,s),i.strstart!==0&&(Ss(i,e.adler>>>16),Ss(i,e.adler&65535)),e.adler=1}if(i.status===Qf)if(i.gzhead.extra){for(r=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),Qn(e),r=i.pending,i.pending===i.pending_buf_size));)ge(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Vc)}else i.status=Vc;if(i.status===Vc)if(i.gzhead.name){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),Qn(e),r=i.pending,i.pending===i.pending_buf_size)){a=1;break}i.gzindex<i.gzhead.name.length?a=i.gzhead.name.charCodeAt(i.gzindex++)&255:a=0,ge(i,a)}while(a!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),a===0&&(i.gzindex=0,i.status=Zc)}else i.status=Zc;if(i.status===Zc)if(i.gzhead.comment){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),Qn(e),r=i.pending,i.pending===i.pending_buf_size)){a=1;break}i.gzindex<i.gzhead.comment.length?a=i.gzhead.comment.charCodeAt(i.gzindex++)&255:a=0,ge(i,a)}while(a!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),a===0&&(i.status=Jc)}else i.status=Jc;if(i.status===Jc&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&Qn(e),i.pending+2<=i.pending_buf_size&&(ge(i,e.adler&255),ge(i,e.adler>>8&255),e.adler=0,i.status=Ui)):i.status=Ui),i.pending!==0){if(Qn(e),e.avail_out===0)return i.last_flush=-1,bn}else if(e.avail_in===0&&yw(t)<=yw(n)&&t!==ii)return ni(e,Zf);if(i.status===Es&&e.avail_in!==0)return ni(e,Zf);if(e.avail_in!==0||i.lookahead!==0||t!==Yi&&i.status!==Es){var c=i.strategy===Gc?bM(i,t):i.strategy===eM?vM(i,t):fa[i.level].func(i,t);if((c===Wi||c===da)&&(i.status=Es),c===Ye||c===Wi)return e.avail_out===0&&(i.last_flush=-1),bn;if(c===Os&&(t===Vj?Ht._tr_align(i):t!==bw&&(Ht._tr_stored_block(i,0,0,!1),t===Zj&&(ei(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),Qn(e),e.avail_out===0))return i.last_flush=-1,bn}return t!==ii?bn:i.wrap<=0?xw:(i.wrap===2?(ge(i,e.adler&255),ge(i,e.adler>>8&255),ge(i,e.adler>>16&255),ge(i,e.adler>>24&255),ge(i,e.total_in&255),ge(i,e.total_in>>8&255),ge(i,e.total_in>>16&255),ge(i,e.total_in>>24&255)):(Ss(i,e.adler>>>16),Ss(i,e.adler&65535)),Qn(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?bn:xw)}function EM(e){var t;return!e||!e.state?Gt:(t=e.state.status,t!==Qc&&t!==Qf&&t!==Vc&&t!==Zc&&t!==Jc&&t!==Ui&&t!==Es?ni(e,Gt):(e.state=null,t===Ui?ni(e,Jj):bn))}function OM(e,t){var n=t.length,i,r,a,s,o,c,u,l;if(!e||!e.state||(i=e.state,s=i.wrap,s===2||s===1&&i.status!==Qc||i.lookahead))return Gt;for(s===1&&(e.adler=ww(e.adler,t,n,0)),i.wrap=0,n>=i.w_size&&(s===0&&(ei(i.head),i.strstart=0,i.block_start=0,i.insert=0),l=new xt.Buf8(i.w_size),xt.arraySet(l,t,n-i.w_size,i.w_size,0),t=l,n=i.w_size),o=e.avail_in,c=e.next_in,u=e.input,e.avail_in=n,e.next_in=0,e.input=t,Ki(i);i.lookahead>=pe;){r=i.strstart,a=i.lookahead-(pe-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[r+pe-1])&i.hash_mask,i.prev[r&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=r,r++;while(--a);i.strstart=r,i.lookahead=pe-1,Ki(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=pe-1,i.match_available=0,e.next_in=c,e.input=u,e.avail_in=o,i.wrap=s,bn}xn.deflateInit=_M;xn.deflateInit2=Ow;xn.deflateReset=Ew;xn.deflateResetKeep=Sw;xn.deflateSetHeader=wM;xn.deflate=SM;xn.deflateEnd=EM;xn.deflateSetDictionary=OM;xn.deflateInfo="pako deflate (from Nodeca project)"});var ed=b(ha=>{"use strict";var el=An(),Cw=!0,Aw=!0;try{String.fromCharCode.apply(null,[0])}catch{Cw=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{Aw=!1}var ks=new el.Buf8(256);for(jn=0;jn<256;jn++)ks[jn]=jn>=252?6:jn>=248?5:jn>=240?4:jn>=224?3:jn>=192?2:1;var jn;ks[254]=ks[254]=1;ha.string2buf=function(e){var t,n,i,r,a,s=e.length,o=0;for(r=0;r<s;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),o+=n<128?1:n<2048?2:n<65536?3:4;for(t=new el.Buf8(o),a=0,r=0;a<o;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|n&63):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|n&63):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|n&63);return t};function Tw(e,t){if(t<65534&&(e.subarray&&Aw||!e.subarray&&Cw))return String.fromCharCode.apply(null,el.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}ha.buf2binstring=function(e){return Tw(e,e.length)};ha.binstring2buf=function(e){for(var t=new el.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t};ha.buf2string=function(e,t){var n,i,r,a,s=t||e.length,o=new Array(s*2);for(i=0,n=0;n<s;){if(r=e[n++],r<128){o[i++]=r;continue}if(a=ks[r],a>4){o[i++]=65533,n+=a-1;continue}for(r&=a===2?31:a===3?15:7;a>1&&n<s;)r=r<<6|e[n++]&63,a--;if(a>1){o[i++]=65533;continue}r<65536?o[i++]=r:(r-=65536,o[i++]=55296|r>>10&1023,o[i++]=56320|r&1023)}return Tw(o,i)};ha.utf8border=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+ks[e[n]]>t?n:t}});var td=b((LB,jw)=>{"use strict";function kM(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}jw.exports=kM});var Lw=b(Ts=>{"use strict";var Cs=kw(),As=An(),id=ed(),rd=Hc(),CM=td(),Nw=Object.prototype.toString,AM=0,nd=4,ma=0,Mw=1,Rw=2,TM=-1,jM=0,MM=8;function Hi(e){if(!(this instanceof Hi))return new Hi(e);this.options=As.assign({level:TM,method:MM,chunkSize:16384,windowBits:15,memLevel:8,strategy:jM,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new CM,this.strm.avail_out=0;var n=Cs.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==ma)throw new Error(rd[n]);if(t.header&&Cs.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=id.string2buf(t.dictionary):Nw.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,n=Cs.deflateSetDictionary(this.strm,i),n!==ma)throw new Error(rd[n]);this._dict_set=!0}}Hi.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r,a;if(this.ended)return!1;a=t===~~t?t:t===!0?nd:AM,typeof e=="string"?n.input=id.string2buf(e):Nw.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new As.Buf8(i),n.next_out=0,n.avail_out=i),r=Cs.deflate(n,a),r!==Mw&&r!==ma)return this.onEnd(r),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(a===nd||a===Rw))&&(this.options.to==="string"?this.onData(id.buf2binstring(As.shrinkBuf(n.output,n.next_out))):this.onData(As.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||n.avail_out===0)&&r!==Mw);return a===nd?(r=Cs.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===ma):(a===Rw&&(this.onEnd(ma),n.avail_out=0),!0)};Hi.prototype.onData=function(e){this.chunks.push(e)};Hi.prototype.onEnd=function(e){e===ma&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=As.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function ad(e,t){var n=new Hi(t);if(n.push(e,!0),n.err)throw n.msg||rd[n.err];return n.result}function RM(e,t){return t=t||{},t.raw=!0,ad(e,t)}function NM(e,t){return t=t||{},t.gzip=!0,ad(e,t)}Ts.Deflate=Hi;Ts.deflate=ad;Ts.deflateRaw=RM;Ts.gzip=NM});var qw=b((qB,Iw)=>{"use strict";var tl=30,LM=12;Iw.exports=function(t,n){var i,r,a,s,o,c,u,l,p,f,m,v,g,d,x,_,C,k,O,F,P,L,$,B,q;i=t.state,r=t.next_in,B=t.input,a=r+(t.avail_in-5),s=t.next_out,q=t.output,o=s-(n-t.avail_out),c=s+(t.avail_out-257),u=i.dmax,l=i.wsize,p=i.whave,f=i.wnext,m=i.window,v=i.hold,g=i.bits,d=i.lencode,x=i.distcode,_=(1<<i.lenbits)-1,C=(1<<i.distbits)-1;e:do{g<15&&(v+=B[r++]<<g,g+=8,v+=B[r++]<<g,g+=8),k=d[v&_];t:for(;;){if(O=k>>>24,v>>>=O,g-=O,O=k>>>16&255,O===0)q[s++]=k&65535;else if(O&16){F=k&65535,O&=15,O&&(g<O&&(v+=B[r++]<<g,g+=8),F+=v&(1<<O)-1,v>>>=O,g-=O),g<15&&(v+=B[r++]<<g,g+=8,v+=B[r++]<<g,g+=8),k=x[v&C];n:for(;;){if(O=k>>>24,v>>>=O,g-=O,O=k>>>16&255,O&16){if(P=k&65535,O&=15,g<O&&(v+=B[r++]<<g,g+=8,g<O&&(v+=B[r++]<<g,g+=8)),P+=v&(1<<O)-1,P>u){t.msg="invalid distance too far back",i.mode=tl;break e}if(v>>>=O,g-=O,O=s-o,P>O){if(O=P-O,O>p&&i.sane){t.msg="invalid distance too far back",i.mode=tl;break e}if(L=0,$=m,f===0){if(L+=l-O,O<F){F-=O;do q[s++]=m[L++];while(--O);L=s-P,$=q}}else if(f<O){if(L+=l+f-O,O-=f,O<F){F-=O;do q[s++]=m[L++];while(--O);if(L=0,f<F){O=f,F-=O;do q[s++]=m[L++];while(--O);L=s-P,$=q}}}else if(L+=f-O,O<F){F-=O;do q[s++]=m[L++];while(--O);L=s-P,$=q}for(;F>2;)q[s++]=$[L++],q[s++]=$[L++],q[s++]=$[L++],F-=3;F&&(q[s++]=$[L++],F>1&&(q[s++]=$[L++]))}else{L=s-P;do q[s++]=q[L++],q[s++]=q[L++],q[s++]=q[L++],F-=3;while(F>2);F&&(q[s++]=q[L++],F>1&&(q[s++]=q[L++]))}}else if((O&64)===0){k=x[(k&65535)+(v&(1<<O)-1)];continue n}else{t.msg="invalid distance code",i.mode=tl;break e}break}}else if((O&64)===0){k=d[(k&65535)+(v&(1<<O)-1)];continue t}else if(O&32){i.mode=LM;break e}else{t.msg="invalid literal/length code",i.mode=tl;break e}break}}while(r<a&&s<c);F=g>>3,r-=F,g-=F<<3,v&=(1<<g)-1,t.next_in=r,t.next_out=s,t.avail_in=r<a?5+(a-r):5-(r-a),t.avail_out=s<c?257+(c-s):257-(s-c),i.hold=v,i.bits=g}});var Uw=b((PB,$w)=>{"use strict";var Pw=An(),ga=15,Bw=852,Fw=592,Dw=0,sd=1,zw=2,IM=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],qM=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],PM=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],BM=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];$w.exports=function(t,n,i,r,a,s,o,c){var u=c.bits,l=0,p=0,f=0,m=0,v=0,g=0,d=0,x=0,_=0,C=0,k,O,F,P,L,$=null,B=0,q,R=new Pw.Buf16(ga+1),M=new Pw.Buf16(ga+1),I=null,K=0,ce,ve,X;for(l=0;l<=ga;l++)R[l]=0;for(p=0;p<r;p++)R[n[i+p]]++;for(v=u,m=ga;m>=1&&R[m]===0;m--);if(v>m&&(v=m),m===0)return a[s++]=1<<24|64<<16|0,a[s++]=1<<24|64<<16|0,c.bits=1,0;for(f=1;f<m&&R[f]===0;f++);for(v<f&&(v=f),x=1,l=1;l<=ga;l++)if(x<<=1,x-=R[l],x<0)return-1;if(x>0&&(t===Dw||m!==1))return-1;for(M[1]=0,l=1;l<ga;l++)M[l+1]=M[l]+R[l];for(p=0;p<r;p++)n[i+p]!==0&&(o[M[n[i+p]]++]=p);if(t===Dw?($=I=o,q=19):t===sd?($=IM,B-=257,I=qM,K-=257,q=256):($=PM,I=BM,q=-1),C=0,p=0,l=f,L=s,g=v,d=0,F=-1,_=1<<v,P=_-1,t===sd&&_>Bw||t===zw&&_>Fw)return 1;for(;;){ce=l-d,o[p]<q?(ve=0,X=o[p]):o[p]>q?(ve=I[K+o[p]],X=$[B+o[p]]):(ve=32+64,X=0),k=1<<l-d,O=1<<g,f=O;do O-=k,a[L+(C>>d)+O]=ce<<24|ve<<16|X|0;while(O!==0);for(k=1<<l-1;C&k;)k>>=1;if(k!==0?(C&=k-1,C+=k):C=0,p++,--R[l]===0){if(l===m)break;l=n[i+o[p]]}if(l>v&&(C&P)!==F){for(d===0&&(d=v),L+=f,g=l-d,x=1<<g;g+d<m&&(x-=R[g+d],!(x<=0));)g++,x<<=1;if(_+=1<<g,t===sd&&_>Bw||t===zw&&_>Fw)return 1;F=C&P,a[F]=v<<24|g<<16|L-s|0}}return C!==0&&(a[L+C]=l-d<<24|64<<16|0),c.bits=v,0}});var E_=b(rn=>{"use strict";var qt=An(),fd=Gf(),yn=Vf(),FM=qw(),js=Uw(),DM=0,m_=1,g_=2,Ww=4,zM=5,nl=6,Gi=0,$M=1,UM=2,Vt=-2,v_=-3,dd=-4,WM=-5,Kw=8,b_=1,Yw=2,Hw=3,Gw=4,Vw=5,Zw=6,Jw=7,Xw=8,Qw=9,e_=10,al=11,Mn=12,od=13,t_=14,cd=15,n_=16,i_=17,r_=18,a_=19,il=20,rl=21,s_=22,o_=23,c_=24,l_=25,u_=26,ld=27,p_=28,f_=29,Te=30,hd=31,KM=32,YM=852,HM=592,GM=15,VM=GM;function d_(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function ZM(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new qt.Buf16(320),this.work=new qt.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function x_(e){var t;return!e||!e.state?Vt:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=b_,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new qt.Buf32(YM),t.distcode=t.distdyn=new qt.Buf32(HM),t.sane=1,t.back=-1,Gi)}function y_(e){var t;return!e||!e.state?Vt:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,x_(e))}function w_(e,t){var n,i;return!e||!e.state||(i=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?Vt:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,y_(e))}function __(e,t){var n,i;return e?(i=new ZM,e.state=i,i.window=null,n=w_(e,t),n!==Gi&&(e.state=null),n):Vt}function JM(e){return __(e,VM)}var h_=!0,ud,pd;function XM(e){if(h_){var t;for(ud=new qt.Buf32(512),pd=new qt.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(js(m_,e.lens,0,288,ud,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;js(g_,e.lens,0,32,pd,0,e.work,{bits:5}),h_=!1}e.lencode=ud,e.lenbits=9,e.distcode=pd,e.distbits=5}function S_(e,t,n,i){var r,a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new qt.Buf8(a.wsize)),i>=a.wsize?(qt.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(r=a.wsize-a.wnext,r>i&&(r=i),qt.arraySet(a.window,t,n-i,r,a.wnext),i-=r,i?(qt.arraySet(a.window,t,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=r,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=r))),0}function QM(e,t){var n,i,r,a,s,o,c,u,l,p,f,m,v,g,d=0,x,_,C,k,O,F,P,L,$=new qt.Buf8(4),B,q,R=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return Vt;n=e.state,n.mode===Mn&&(n.mode=od),s=e.next_out,r=e.output,c=e.avail_out,a=e.next_in,i=e.input,o=e.avail_in,u=n.hold,l=n.bits,p=o,f=c,L=Gi;e:for(;;)switch(n.mode){case b_:if(n.wrap===0){n.mode=od;break}for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(n.wrap&2&&u===35615){n.check=0,$[0]=u&255,$[1]=u>>>8&255,n.check=yn(n.check,$,2,0),u=0,l=0,n.mode=Yw;break}if(n.flags=0,n.head&&(n.head.done=!1),!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=Te;break}if((u&15)!==Kw){e.msg="unknown compression method",n.mode=Te;break}if(u>>>=4,l-=4,P=(u&15)+8,n.wbits===0)n.wbits=P;else if(P>n.wbits){e.msg="invalid window size",n.mode=Te;break}n.dmax=1<<P,e.adler=n.check=1,n.mode=u&512?e_:Mn,u=0,l=0;break;case Yw:for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(n.flags=u,(n.flags&255)!==Kw){e.msg="unknown compression method",n.mode=Te;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Te;break}n.head&&(n.head.text=u>>8&1),n.flags&512&&($[0]=u&255,$[1]=u>>>8&255,n.check=yn(n.check,$,2,0)),u=0,l=0,n.mode=Hw;case Hw:for(;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.head&&(n.head.time=u),n.flags&512&&($[0]=u&255,$[1]=u>>>8&255,$[2]=u>>>16&255,$[3]=u>>>24&255,n.check=yn(n.check,$,4,0)),u=0,l=0,n.mode=Gw;case Gw:for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.head&&(n.head.xflags=u&255,n.head.os=u>>8),n.flags&512&&($[0]=u&255,$[1]=u>>>8&255,n.check=yn(n.check,$,2,0)),u=0,l=0,n.mode=Vw;case Vw:if(n.flags&1024){for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.length=u,n.head&&(n.head.extra_len=u),n.flags&512&&($[0]=u&255,$[1]=u>>>8&255,n.check=yn(n.check,$,2,0)),u=0,l=0}else n.head&&(n.head.extra=null);n.mode=Zw;case Zw:if(n.flags&1024&&(m=n.length,m>o&&(m=o),m&&(n.head&&(P=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),qt.arraySet(n.head.extra,i,a,m,P)),n.flags&512&&(n.check=yn(n.check,i,m,a)),o-=m,a+=m,n.length-=m),n.length))break e;n.length=0,n.mode=Jw;case Jw:if(n.flags&2048){if(o===0)break e;m=0;do P=i[a+m++],n.head&&P&&n.length<65536&&(n.head.name+=String.fromCharCode(P));while(P&&m<o);if(n.flags&512&&(n.check=yn(n.check,i,m,a)),o-=m,a+=m,P)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=Xw;case Xw:if(n.flags&4096){if(o===0)break e;m=0;do P=i[a+m++],n.head&&P&&n.length<65536&&(n.head.comment+=String.fromCharCode(P));while(P&&m<o);if(n.flags&512&&(n.check=yn(n.check,i,m,a)),o-=m,a+=m,P)break e}else n.head&&(n.head.comment=null);n.mode=Qw;case Qw:if(n.flags&512){for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(u!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Te;break}u=0,l=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Mn;break;case e_:for(;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}e.adler=n.check=d_(u),u=0,l=0,n.mode=al;case al:if(n.havedict===0)return e.next_out=s,e.avail_out=c,e.next_in=a,e.avail_in=o,n.hold=u,n.bits=l,UM;e.adler=n.check=1,n.mode=Mn;case Mn:if(t===zM||t===nl)break e;case od:if(n.last){u>>>=l&7,l-=l&7,n.mode=ld;break}for(;l<3;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}switch(n.last=u&1,u>>>=1,l-=1,u&3){case 0:n.mode=t_;break;case 1:if(XM(n),n.mode=il,t===nl){u>>>=2,l-=2;break e}break;case 2:n.mode=i_;break;case 3:e.msg="invalid block type",n.mode=Te}u>>>=2,l-=2;break;case t_:for(u>>>=l&7,l-=l&7;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if((u&65535)!==(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Te;break}if(n.length=u&65535,u=0,l=0,n.mode=cd,t===nl)break e;case cd:n.mode=n_;case n_:if(m=n.length,m){if(m>o&&(m=o),m>c&&(m=c),m===0)break e;qt.arraySet(r,i,a,m,s),o-=m,a+=m,c-=m,s+=m,n.length-=m;break}n.mode=Mn;break;case i_:for(;l<14;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(n.nlen=(u&31)+257,u>>>=5,l-=5,n.ndist=(u&31)+1,u>>>=5,l-=5,n.ncode=(u&15)+4,u>>>=4,l-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Te;break}n.have=0,n.mode=r_;case r_:for(;n.have<n.ncode;){for(;l<3;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.lens[R[n.have++]]=u&7,u>>>=3,l-=3}for(;n.have<19;)n.lens[R[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,B={bits:n.lenbits},L=js(DM,n.lens,0,19,n.lencode,0,n.work,B),n.lenbits=B.bits,L){e.msg="invalid code lengths set",n.mode=Te;break}n.have=0,n.mode=a_;case a_:for(;n.have<n.nlen+n.ndist;){for(;d=n.lencode[u&(1<<n.lenbits)-1],x=d>>>24,_=d>>>16&255,C=d&65535,!(x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(C<16)u>>>=x,l-=x,n.lens[n.have++]=C;else{if(C===16){for(q=x+2;l<q;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(u>>>=x,l-=x,n.have===0){e.msg="invalid bit length repeat",n.mode=Te;break}P=n.lens[n.have-1],m=3+(u&3),u>>>=2,l-=2}else if(C===17){for(q=x+3;l<q;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=x,l-=x,P=0,m=3+(u&7),u>>>=3,l-=3}else{for(q=x+7;l<q;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=x,l-=x,P=0,m=11+(u&127),u>>>=7,l-=7}if(n.have+m>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Te;break}for(;m--;)n.lens[n.have++]=P}}if(n.mode===Te)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Te;break}if(n.lenbits=9,B={bits:n.lenbits},L=js(m_,n.lens,0,n.nlen,n.lencode,0,n.work,B),n.lenbits=B.bits,L){e.msg="invalid literal/lengths set",n.mode=Te;break}if(n.distbits=6,n.distcode=n.distdyn,B={bits:n.distbits},L=js(g_,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,B),n.distbits=B.bits,L){e.msg="invalid distances set",n.mode=Te;break}if(n.mode=il,t===nl)break e;case il:n.mode=rl;case rl:if(o>=6&&c>=258){e.next_out=s,e.avail_out=c,e.next_in=a,e.avail_in=o,n.hold=u,n.bits=l,FM(e,f),s=e.next_out,r=e.output,c=e.avail_out,a=e.next_in,i=e.input,o=e.avail_in,u=n.hold,l=n.bits,n.mode===Mn&&(n.back=-1);break}for(n.back=0;d=n.lencode[u&(1<<n.lenbits)-1],x=d>>>24,_=d>>>16&255,C=d&65535,!(x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(_&&(_&240)===0){for(k=x,O=_,F=C;d=n.lencode[F+((u&(1<<k+O)-1)>>k)],x=d>>>24,_=d>>>16&255,C=d&65535,!(k+x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=k,l-=k,n.back+=k}if(u>>>=x,l-=x,n.back+=x,n.length=C,_===0){n.mode=u_;break}if(_&32){n.back=-1,n.mode=Mn;break}if(_&64){e.msg="invalid literal/length code",n.mode=Te;break}n.extra=_&15,n.mode=s_;case s_:if(n.extra){for(q=n.extra;l<q;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,l-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=o_;case o_:for(;d=n.distcode[u&(1<<n.distbits)-1],x=d>>>24,_=d>>>16&255,C=d&65535,!(x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if((_&240)===0){for(k=x,O=_,F=C;d=n.distcode[F+((u&(1<<k+O)-1)>>k)],x=d>>>24,_=d>>>16&255,C=d&65535,!(k+x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=k,l-=k,n.back+=k}if(u>>>=x,l-=x,n.back+=x,_&64){e.msg="invalid distance code",n.mode=Te;break}n.offset=C,n.extra=_&15,n.mode=c_;case c_:if(n.extra){for(q=n.extra;l<q;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,l-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Te;break}n.mode=l_;case l_:if(c===0)break e;if(m=f-c,n.offset>m){if(m=n.offset-m,m>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Te;break}m>n.wnext?(m-=n.wnext,v=n.wsize-m):v=n.wnext-m,m>n.length&&(m=n.length),g=n.window}else g=r,v=s-n.offset,m=n.length;m>c&&(m=c),c-=m,n.length-=m;do r[s++]=g[v++];while(--m);n.length===0&&(n.mode=rl);break;case u_:if(c===0)break e;r[s++]=n.length,c--,n.mode=rl;break;case ld:if(n.wrap){for(;l<32;){if(o===0)break e;o--,u|=i[a++]<<l,l+=8}if(f-=c,e.total_out+=f,n.total+=f,f&&(e.adler=n.check=n.flags?yn(n.check,r,f,s-f):fd(n.check,r,f,s-f)),f=c,(n.flags?u:d_(u))!==n.check){e.msg="incorrect data check",n.mode=Te;break}u=0,l=0}n.mode=p_;case p_:if(n.wrap&&n.flags){for(;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(u!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Te;break}u=0,l=0}n.mode=f_;case f_:L=$M;break e;case Te:L=v_;break e;case hd:return dd;case KM:default:return Vt}return e.next_out=s,e.avail_out=c,e.next_in=a,e.avail_in=o,n.hold=u,n.bits=l,(n.wsize||f!==e.avail_out&&n.mode<Te&&(n.mode<ld||t!==Ww))&&S_(e,e.output,e.next_out,f-e.avail_out)?(n.mode=hd,dd):(p-=e.avail_in,f-=e.avail_out,e.total_in+=p,e.total_out+=f,n.total+=f,n.wrap&&f&&(e.adler=n.check=n.flags?yn(n.check,r,f,e.next_out-f):fd(n.check,r,f,e.next_out-f)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Mn?128:0)+(n.mode===il||n.mode===cd?256:0),(p===0&&f===0||t===Ww)&&L===Gi&&(L=WM),L)}function eR(e){if(!e||!e.state)return Vt;var t=e.state;return t.window&&(t.window=null),e.state=null,Gi}function tR(e,t){var n;return!e||!e.state||(n=e.state,(n.wrap&2)===0)?Vt:(n.head=t,t.done=!1,Gi)}function nR(e,t){var n=t.length,i,r,a;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==al)?Vt:i.mode===al&&(r=1,r=fd(r,t,n,0),r!==i.check)?v_:(a=S_(e,t,n,n),a?(i.mode=hd,dd):(i.havedict=1,Gi))}rn.inflateReset=y_;rn.inflateReset2=w_;rn.inflateResetKeep=x_;rn.inflateInit=JM;rn.inflateInit2=__;rn.inflate=QM;rn.inflateEnd=eR;rn.inflateGetHeader=tR;rn.inflateSetDictionary=nR;rn.inflateInfo="pako inflate (from Nodeca project)"});var md=b((FB,O_)=>{"use strict";O_.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var C_=b((DB,k_)=>{"use strict";function iR(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}k_.exports=iR});var T_=b(Rs=>{"use strict";var va=E_(),Ms=An(),sl=ed(),Be=md(),gd=Hc(),rR=td(),aR=C_(),A_=Object.prototype.toString;function Vi(e){if(!(this instanceof Vi))return new Vi(e);this.options=Ms.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new rR,this.strm.avail_out=0;var n=va.inflateInit2(this.strm,t.windowBits);if(n!==Be.Z_OK)throw new Error(gd[n]);if(this.header=new aR,va.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=sl.string2buf(t.dictionary):A_.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=va.inflateSetDictionary(this.strm,t.dictionary),n!==Be.Z_OK)))throw new Error(gd[n])}Vi.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r=this.options.dictionary,a,s,o,c,u,l=!1;if(this.ended)return!1;s=t===~~t?t:t===!0?Be.Z_FINISH:Be.Z_NO_FLUSH,typeof e=="string"?n.input=sl.binstring2buf(e):A_.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new Ms.Buf8(i),n.next_out=0,n.avail_out=i),a=va.inflate(n,Be.Z_NO_FLUSH),a===Be.Z_NEED_DICT&&r&&(a=va.inflateSetDictionary(this.strm,r)),a===Be.Z_BUF_ERROR&&l===!0&&(a=Be.Z_OK,l=!1),a!==Be.Z_STREAM_END&&a!==Be.Z_OK)return this.onEnd(a),this.ended=!0,!1;n.next_out&&(n.avail_out===0||a===Be.Z_STREAM_END||n.avail_in===0&&(s===Be.Z_FINISH||s===Be.Z_SYNC_FLUSH))&&(this.options.to==="string"?(o=sl.utf8border(n.output,n.next_out),c=n.next_out-o,u=sl.buf2string(n.output,o),n.next_out=c,n.avail_out=i-c,c&&Ms.arraySet(n.output,n.output,o,c,0),this.onData(u)):this.onData(Ms.shrinkBuf(n.output,n.next_out))),n.avail_in===0&&n.avail_out===0&&(l=!0)}while((n.avail_in>0||n.avail_out===0)&&a!==Be.Z_STREAM_END);return a===Be.Z_STREAM_END&&(s=Be.Z_FINISH),s===Be.Z_FINISH?(a=va.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Be.Z_OK):(s===Be.Z_SYNC_FLUSH&&(this.onEnd(Be.Z_OK),n.avail_out=0),!0)};Vi.prototype.onData=function(e){this.chunks.push(e)};Vi.prototype.onEnd=function(e){e===Be.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ms.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function vd(e,t){var n=new Vi(t);if(n.push(e,!0),n.err)throw n.msg||gd[n.err];return n.result}function sR(e,t){return t=t||{},t.raw=!0,vd(e,t)}Rs.Inflate=Vi;Rs.inflate=vd;Rs.inflateRaw=sR;Rs.ungzip=vd});var R_=b(($B,M_)=>{"use strict";var oR=An().assign,cR=Lw(),lR=T_(),uR=md(),j_={};oR(j_,cR,lR,uR);M_.exports=j_});var L_=b(cl=>{"use strict";var pR=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",fR=R_(),N_=Ne(),ol=It(),dR=pR?"uint8array":"array";cl.magic="\b\0";function Zi(e,t){ol.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}N_.inherits(Zi,ol);Zi.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(N_.transformTo(dR,e.data),!1)};Zi.prototype.flush=function(){ol.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)};Zi.prototype.cleanUp=function(){ol.prototype.cleanUp.call(this),this._pako=null};Zi.prototype._createPako=function(){this._pako=new fR[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}};cl.compressWorker=function(e){return new Zi("Deflate",e)};cl.uncompressWorker=function(){return new Zi("Inflate",{})}});var xd=b(bd=>{"use strict";var I_=It();bd.STORE={magic:"\0\0",compressWorker:function(e){return new I_("STORE compression")},uncompressWorker:function(){return new I_("STORE decompression")}};bd.DEFLATE=L_()});var yd=b(Ji=>{"use strict";Ji.LOCAL_FILE_HEADER="PK";Ji.CENTRAL_FILE_HEADER="PK";Ji.CENTRAL_DIRECTORY_END="PK";Ji.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";Ji.ZIP64_CENTRAL_DIRECTORY_END="PK";Ji.DATA_DESCRIPTOR="PK\x07\b"});var F_=b((YB,B_)=>{"use strict";var ba=Ne(),xa=It(),wd=Di(),q_=$c(),ll=yd(),Ee=function(e,t){var n="",i;for(i=0;i<t;i++)n+=String.fromCharCode(e&255),e=e>>>8;return n},hR=function(e,t){var n=e;return e||(n=t?16893:33204),(n&65535)<<16},mR=function(e,t){return(e||0)&63},P_=function(e,t,n,i,r,a){var s=e.file,o=e.compression,c=a!==wd.utf8encode,u=ba.transformTo("string",a(s.name)),l=ba.transformTo("string",wd.utf8encode(s.name)),p=s.comment,f=ba.transformTo("string",a(p)),m=ba.transformTo("string",wd.utf8encode(p)),v=l.length!==s.name.length,g=m.length!==p.length,d,x,_="",C="",k="",O=s.dir,F=s.date,P={crc32:0,compressedSize:0,uncompressedSize:0};(!t||n)&&(P.crc32=e.crc32,P.compressedSize=e.compressedSize,P.uncompressedSize=e.uncompressedSize);var L=0;t&&(L|=8),!c&&(v||g)&&(L|=2048);var $=0,B=0;O&&($|=16),r==="UNIX"?(B=798,$|=hR(s.unixPermissions,O)):(B=20,$|=mR(s.dosPermissions,O)),d=F.getUTCHours(),d=d<<6,d=d|F.getUTCMinutes(),d=d<<5,d=d|F.getUTCSeconds()/2,x=F.getUTCFullYear()-1980,x=x<<4,x=x|F.getUTCMonth()+1,x=x<<5,x=x|F.getUTCDate(),v&&(C=Ee(1,1)+Ee(q_(u),4)+l,_+="up"+Ee(C.length,2)+C),g&&(k=Ee(1,1)+Ee(q_(f),4)+m,_+="uc"+Ee(k.length,2)+k);var q="";q+=`
|
|
35
|
-
\0`,q+=Ee(L,2),q+=o.magic,q+=Ee(d,2),q+=Ee(x,2),q+=Ee(P.crc32,4),q+=Ee(P.compressedSize,4),q+=Ee(P.uncompressedSize,4),q+=Ee(u.length,2),q+=Ee(_.length,2);var R=ll.LOCAL_FILE_HEADER+q+u+_,M=ll.CENTRAL_FILE_HEADER+Ee(B,2)+q+Ee(f.length,2)+"\0\0\0\0"+Ee($,4)+Ee(i,4)+u+_+f;return{fileRecord:R,dirRecord:M}},gR=function(e,t,n,i,r){var a="",s=ba.transformTo("string",r(i));return a=ll.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Ee(e,2)+Ee(e,2)+Ee(t,4)+Ee(n,4)+Ee(s.length,2)+s,a},vR=function(e){var t="";return t=ll.DATA_DESCRIPTOR+Ee(e.crc32,4)+Ee(e.compressedSize,4)+Ee(e.uncompressedSize,4),t};function an(e,t,n,i){xa.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}ba.inherits(an,xa);an.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,xa.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))};an.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=P_(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0};an.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=P_(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:vR(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null};an.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,i=gR(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})};an.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()};an.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(n){t.error(n)}),this};an.prototype.resume=function(){if(!xa.prototype.resume.call(this))return!1;if(!this.previous&&this._sources.length)return this.prepareNextSource(),!0;if(!this.previous&&!this._sources.length&&!this.generatedError)return this.end(),!0};an.prototype.error=function(e){var t=this._sources;if(!xa.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0};an.prototype.lock=function(){xa.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};B_.exports=an});var z_=b(D_=>{"use strict";var bR=xd(),xR=F_(),yR=function(e,t){var n=e||t,i=bR[n];if(!i)throw new Error(n+" is not a valid compression method !");return i};D_.generateWorker=function(e,t,n){var i=new xR(t.streamFiles,n,t.platform,t.encodeFileName),r=0;try{e.forEach(function(a,s){r++;var o=yR(s.options.compression,t.compression),c=s.options.compressionOptions||t.compressionOptions||{},u=s.dir,l=s.date;s._compressWorker(o,c).withStreamInfo("file",{name:a,dir:u,date:l,comment:s.comment||"",unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions}).pipe(i)}),i.entriesCount=r}catch(a){i.error(a)}return i}});var U_=b((GB,$_)=>{"use strict";var wR=Ne(),ul=It();function Ns(e,t){ul.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}wR.inherits(Ns,ul);Ns.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(n){t.push({data:n,meta:{percent:0}})}).on("error",function(n){t.isPaused?this.generatedError=n:t.error(n)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})};Ns.prototype.pause=function(){return ul.prototype.pause.call(this)?(this._stream.pause(),!0):!1};Ns.prototype.resume=function(){return ul.prototype.resume.call(this)?(this._upstreamEnded?this.end():this._stream.resume(),!0):!1};$_.exports=Ns});var Q_=b((VB,X_)=>{"use strict";var _R=Di(),Ls=Ne(),H_=It(),SR=kf(),G_=Cf(),W_=Uc(),ER=K1(),OR=z_(),K_=ls(),kR=U_(),V_=function(e,t,n){var i=Ls.getTypeOf(t),r,a=Ls.extend(n||{},G_);a.date=a.date||new Date,a.compression!==null&&(a.compression=a.compression.toUpperCase()),typeof a.unixPermissions=="string"&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&a.unixPermissions&16384&&(a.dir=!0),a.dosPermissions&&a.dosPermissions&16&&(a.dir=!0),a.dir&&(e=Z_(e)),a.createFolders&&(r=CR(e))&&J_.call(this,r,!0);var s=i==="string"&&a.binary===!1&&a.base64===!1;(!n||typeof n.binary>"u")&&(a.binary=!s);var o=t instanceof W_&&t.uncompressedSize===0;(o||a.dir||!t||t.length===0)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",i="string");var c=null;t instanceof W_||t instanceof H_?c=t:K_.isNode&&K_.isStream(t)?c=new kR(e,t):c=Ls.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var u=new ER(e,c,a);this.files[e]=u},CR=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},Z_=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},J_=function(e,t){return t=typeof t<"u"?t:G_.createFolders,e=Z_(e),this.files[e]||V_.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function Y_(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var AR={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,i;for(t in this.files)i=this.files[t],n=t.slice(this.root.length,t.length),n&&t.slice(0,this.root.length)===this.root&&e(n,i)},filter:function(e){var t=[];return this.forEach(function(n,i){e(n,i)&&t.push(i)}),t},file:function(e,t,n){if(arguments.length===1)if(Y_(e)){var i=e;return this.filter(function(a,s){return!s.dir&&i.test(a)})}else{var r=this.files[this.root+e];return r&&!r.dir?r:null}else e=this.root+e,V_.call(this,e,t,n);return this},folder:function(e){if(!e)return this;if(Y_(e))return this.filter(function(r,a){return a.dir&&e.test(r)});var t=this.root+e,n=J_.call(this,t),i=this.clone();return i.root=n.name,i},remove:function(e){e=this.root+e;var t=this.files[e];if(t||(e.slice(-1)!=="/"&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(r,a){return a.name.slice(0,e.length)===e}),i=0;i<n.length;i++)delete this.files[n[i].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if(n=Ls.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:_R.utf8encode}),n.type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),n.type==="binarystring"&&(n.type="string"),!n.type)throw new Error("No output type specified.");Ls.checkSupport(n.type),(n.platform==="darwin"||n.platform==="freebsd"||n.platform==="linux"||n.platform==="sunos")&&(n.platform="UNIX"),n.platform==="win32"&&(n.platform="DOS");var i=n.comment||this.comment||"";t=OR.generateWorker(this,n,i)}catch(r){t=new H_("error"),t.error(r)}return new SR(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return e=e||{},e.type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};X_.exports=AR});var _d=b((ZB,t2)=>{"use strict";var TR=Ne();function e2(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}e2.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t=0,n;for(this.checkOffset(e),n=this.index+e-1;n>=this.index;n--)t=(t<<8)+this.byteAt(n);return this.index+=e,t},readString:function(e){return TR.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1))}};t2.exports=e2});var Sd=b((JB,i2)=>{"use strict";var n2=_d(),jR=Ne();function ya(e){n2.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255}jR.inherits(ya,n2);ya.prototype.byteAt=function(e){return this.data[this.zero+e]};ya.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),i=e.charCodeAt(2),r=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===i&&this.data[a+3]===r)return a-this.zero;return-1};ya.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),i=e.charCodeAt(2),r=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&n===a[1]&&i===a[2]&&r===a[3]};ya.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};i2.exports=ya});var s2=b((XB,a2)=>{"use strict";var r2=_d(),MR=Ne();function wa(e){r2.call(this,e)}MR.inherits(wa,r2);wa.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};wa.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};wa.prototype.readAndCheckSignature=function(e){var t=this.readData(4);return e===t};wa.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};a2.exports=wa});var Od=b((QB,c2)=>{"use strict";var o2=Sd(),RR=Ne();function Ed(e){o2.call(this,e)}RR.inherits(Ed,o2);Ed.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};c2.exports=Ed});var p2=b((e4,u2)=>{"use strict";var l2=Od(),NR=Ne();function kd(e){l2.call(this,e)}NR.inherits(kd,l2);kd.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};u2.exports=kd});var Cd=b((t4,d2)=>{"use strict";var pl=Ne(),f2=kn(),LR=Sd(),IR=s2(),qR=p2(),PR=Od();d2.exports=function(e){var t=pl.getTypeOf(e);return pl.checkSupport(t),t==="string"&&!f2.uint8array?new IR(e):t==="nodebuffer"?new qR(e):f2.uint8array?new PR(pl.transformTo("uint8array",e)):new LR(pl.transformTo("array",e))}});var v2=b((n4,g2)=>{"use strict";var Ad=Cd(),ri=Ne(),BR=Uc(),h2=$c(),fl=Di(),dl=xd(),FR=kn(),DR=0,zR=3,$R=function(e){for(var t in dl)if(!!dl.hasOwnProperty(t)&&dl[t].magic===e)return dl[t];return null};function m2(e,t){this.options=e,this.loadOptions=t}m2.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=$R(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+ri.pretty(this.compressionMethod)+" unknown (inner file : "+ri.transformTo("string",this.fileName)+")");this.decompressed=new BR(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),e===DR&&(this.dosPermissions=this.externalFileAttributes&63),e===zR&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=!0)},parseZIP64ExtraField:function(e){if(!!this.extraFields[1]){var t=Ad(this.extraFields[1].value);this.uncompressedSize===ri.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===ri.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===ri.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===ri.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t=e.index+this.extraFieldsLength,n,i,r;for(this.extraFields||(this.extraFields={});e.index+4<t;)n=e.readInt(2),i=e.readInt(2),r=e.readData(i),this.extraFields[n]={id:n,length:i,value:r};e.setIndex(t)},handleUTF8:function(){var e=FR.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=fl.utf8decode(this.fileName),this.fileCommentStr=fl.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=ri.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var i=this.findExtraFieldUnicodeComment();if(i!==null)this.fileCommentStr=i;else{var r=ri.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(r)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=Ad(e.value);return t.readInt(1)!==1||h2(this.fileName)!==t.readInt(4)?null:fl.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=Ad(e.value);return t.readInt(1)!==1||h2(this.fileComment)!==t.readInt(4)?null:fl.utf8decode(t.readData(e.length-5))}return null}};g2.exports=m2});var y2=b((r4,x2)=>{"use strict";var UR=Cd(),Rn=Ne(),sn=yd(),WR=v2(),i4=Di(),KR=kn();function b2(e){this.files=[],this.loadOptions=e}b2.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+Rn.pretty(t)+", expected "+Rn.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var i=this.reader.readString(4),r=i===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=KR.uint8array?"uint8array":"array",n=Rn.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e=this.zip64EndOfCentralSize-44,t=0,n,i,r;t<e;)n=this.reader.readInt(2),i=this.reader.readInt(4),r=this.reader.readData(i),this.zip64ExtensibleData[n]={id:n,length:i,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(sn.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(sn.CENTRAL_FILE_HEADER);)e=new WR({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(sn.CENTRAL_DIRECTORY_END);if(e<0){var t=!this.isSignature(0,sn.LOCAL_FILE_HEADER);throw t?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex(e);var n=e;if(this.checkSignature(sn.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Rn.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Rn.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Rn.MAX_VALUE_16BITS||this.centralDirRecords===Rn.MAX_VALUE_16BITS||this.centralDirSize===Rn.MAX_VALUE_32BITS||this.centralDirOffset===Rn.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(sn.ZIP64_CENTRAL_DIRECTORY_LOCATOR),e<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(sn.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,sn.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(sn.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(sn.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var r=n-i;if(r>0)this.isSignature(n,sn.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=UR(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};x2.exports=b2});var E2=b((a4,S2)=>{"use strict";var w2=Ne(),hl=ra(),YR=Di(),HR=y2(),GR=jf(),_2=ls();function VR(e){return new hl.Promise(function(t,n){var i=e.decompressed.getContentWorker().pipe(new GR);i.on("error",function(r){n(r)}).on("end",function(){i.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}S2.exports=function(e,t){var n=this;return t=w2.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:YR.utf8decode}),_2.isNode&&_2.isStream(e)?hl.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):w2.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(i){var r=new HR(t);return r.load(i),r}).then(function(r){var a=[hl.Promise.resolve(r)],s=r.files;if(t.checkCRC32)for(var o=0;o<s.length;o++)a.push(VR(s[o]));return hl.Promise.all(a)}).then(function(r){for(var a=r.shift(),s=a.files,o=0;o<s.length;o++){var c=s[o];n.file(c.fileNameStr,c.decompressed,{binary:!0,optimizedBinaryString:!0,date:c.date,dir:c.dir,comment:c.fileCommentStr.length?c.fileCommentStr:null,unixPermissions:c.unixPermissions,dosPermissions:c.dosPermissions,createFolders:t.createFolders})}return a.zipComment.length&&(n.comment=a.zipComment),n})}});var k2=b((s4,O2)=>{"use strict";function Zt(){if(!(this instanceof Zt))return new Zt;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new Zt;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}Zt.prototype=Q_();Zt.prototype.loadAsync=E2();Zt.support=kn();Zt.defaults=Cf();Zt.version="3.7.1";Zt.loadAsync=function(e,t){return new Zt().loadAsync(e,t)};Zt.external=ra();O2.exports=Zt});var Qi=b(Et=>{"use strict";var Nn={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},Is={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},ZR="tag:yaml.org,2002:",JR={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function C2(e){let t=[0],n=e.indexOf(`
|
|
28
|
+
`,r)}while(i!==-1);return a+=e.substr(r),a};Lb.exports={stringReplaceAll:ZA,stringEncaseCRLFWithFirstIndex:JA}});var Db=b((a6,Fb)=>{"use strict";var XA=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,qb=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,QA=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,eT=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,tT=new Map([["n",`
|
|
29
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Bb(e){let t=e[0]==="u",n=e[1]==="{";return t&&!n&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):tT.get(e)||e}function nT(e,t){let n=[],i=t.trim().split(/\s*,\s*/g),r;for(let a of i){let s=Number(a);if(!Number.isNaN(s))n.push(s);else if(r=a.match(QA))n.push(r[2].replace(eT,(o,c,u)=>c?Bb(c):u));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`)}return n}function iT(e){qb.lastIndex=0;let t=[],n;for(;(n=qb.exec(e))!==null;){let i=n[1];if(n[2]){let r=nT(i,n[2]);t.push([i].concat(r))}else t.push([i])}return t}function Pb(e,t){let n={};for(let r of t)for(let a of r.styles)n[a[0]]=r.inverse?null:a.slice(1);let i=e;for(let[r,a]of Object.entries(n))if(!!Array.isArray(a)){if(!(r in i))throw new Error(`Unknown Chalk style: ${r}`);i=a.length>0?i[r](...a):i[r]}return i}Fb.exports=(e,t)=>{let n=[],i=[],r=[];if(t.replace(XA,(a,s,o,c,u,l)=>{if(s)r.push(Bb(s));else if(c){let p=r.join("");r=[],i.push(n.length===0?p:Pb(e,n)(p)),n.push({inverse:o,styles:iT(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");i.push(Pb(e,n)(r.join(""))),r=[],n.pop()}else r.push(l)}),i.push(r.join("")),n.length>0){let a=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(a)}return i.join("")}});var Kb=b((s6,Wb)=>{"use strict";var Ya=Gu(),{stdout:xp,stderr:yp}=Oo(),{stringReplaceAll:rT,stringEncaseCRLFWithFirstIndex:aT}=Ib(),zb=["ansi","ansi","ansi256","ansi16m"],Dr=Object.create(null),sT=(e,t={})=>{if(t.level>3||t.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let n=xp?xp.level:0;e.level=t.level===void 0?n:t.level},wp=class{constructor(t){return $b(t)}},$b=e=>{let t={};return sT(t,e),t.template=(...n)=>lT(t.template,...n),Object.setPrototypeOf(t,ic.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=wp,t.template};function ic(e){return $b(e)}for(let[e,t]of Object.entries(Ya))Dr[e]={get(){let n=rc(this,_p(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};Dr.visible={get(){let e=rc(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var Ub=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of Ub)Dr[e]={get(){let{level:t}=this;return function(...n){let i=_p(Ya.color[zb[t]][e](...n),Ya.color.close,this._styler);return rc(this,i,this._isEmpty)}}};for(let e of Ub){let t="bg"+e[0].toUpperCase()+e.slice(1);Dr[t]={get(){let{level:n}=this;return function(...i){let r=_p(Ya.bgColor[zb[n]][e](...i),Ya.bgColor.close,this._styler);return rc(this,r,this._isEmpty)}}}}var oT=Object.defineProperties(()=>{},{...Dr,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),_p=(e,t,n)=>{let i,r;return n===void 0?(i=e,r=t):(i=n.openAll+e,r=t+n.closeAll),{open:e,close:t,openAll:i,closeAll:r,parent:n}},rc=(e,t,n)=>{let i=(...r)=>cT(i,r.length===1?""+r[0]:r.join(" "));return i.__proto__=oT,i._generator=e,i._styler=t,i._isEmpty=n,i},cT=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(n===void 0)return t;let{openAll:i,closeAll:r}=n;if(t.indexOf("\x1B")!==-1)for(;n!==void 0;)t=rT(t,n.close,n.open),n=n.parent;let a=t.indexOf(`
|
|
30
|
+
`);return a!==-1&&(t=aT(t,r,i,a)),i+t+r},bp,lT=(e,...t)=>{let[n]=t;if(!Array.isArray(n))return t.join(" ");let i=t.slice(1),r=[n.raw[0]];for(let a=1;a<n.length;a++)r.push(String(i[a-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[a]));return bp===void 0&&(bp=Db()),bp(e,r.join(""))};Object.defineProperties(ic.prototype,Dr);var Ha=ic();Ha.supportsColor=xp;Ha.stderr=ic({level:yp?yp.level:0});Ha.stderr.supportsColor=yp;Ha.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"};Wb.exports=Ha});var Hb=b((o6,Sp)=>{"use strict";var Yb=(e,t)=>{for(let n of Reflect.ownKeys(t))Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));return e};Sp.exports=Yb;Sp.exports.default=Yb});var Vb=b((c6,sc)=>{"use strict";var uT=Hb(),ac=new WeakMap,Gb=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let n,i=0,r=e.displayName||e.name||"<anonymous>",a=function(...s){if(ac.set(a,++i),i===1)n=e.apply(this,s),e=null;else if(t.throw===!0)throw new Error(`Function \`${r}\` can only be called once`);return n};return uT(a,e),ac.set(a,i),a};sc.exports=Gb;sc.exports.default=Gb;sc.exports.callCount=e=>{if(!ac.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return ac.get(e)}});var Zb=b((l6,oc)=>{oc.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&oc.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&oc.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var tx=b((u6,Ur)=>{var Ae=global.process,Li=function(e){return e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function"};Li(Ae)?(Jb=require("assert"),zr=Zb(),Xb=/^win/i.test(Ae.platform),Ga=require("events"),typeof Ga!="function"&&(Ga=Ga.EventEmitter),Ae.__signal_exit_emitter__?Je=Ae.__signal_exit_emitter__:(Je=Ae.__signal_exit_emitter__=new Ga,Je.count=0,Je.emitted={}),Je.infinite||(Je.setMaxListeners(1/0),Je.infinite=!0),Ur.exports=function(e,t){if(!Li(global.process))return function(){};Jb.equal(typeof e,"function","a callback must be provided for exit handler"),$r===!1&&Ep();var n="exit";t&&t.alwaysLast&&(n="afterexit");var i=function(){Je.removeListener(n,e),Je.listeners("exit").length===0&&Je.listeners("afterexit").length===0&&cc()};return Je.on(n,e),i},cc=function(){!$r||!Li(global.process)||($r=!1,zr.forEach(function(t){try{Ae.removeListener(t,lc[t])}catch{}}),Ae.emit=uc,Ae.reallyExit=Op,Je.count-=1)},Ur.exports.unload=cc,Ii=function(t,n,i){Je.emitted[t]||(Je.emitted[t]=!0,Je.emit(t,n,i))},lc={},zr.forEach(function(e){lc[e]=function(){if(!!Li(global.process)){var n=Ae.listeners(e);n.length===Je.count&&(cc(),Ii("exit",null,e),Ii("afterexit",null,e),Xb&&e==="SIGHUP"&&(e="SIGINT"),Ae.kill(Ae.pid,e))}}}),Ur.exports.signals=function(){return zr},$r=!1,Ep=function(){$r||!Li(global.process)||($r=!0,Je.count+=1,zr=zr.filter(function(t){try{return Ae.on(t,lc[t]),!0}catch{return!1}}),Ae.emit=ex,Ae.reallyExit=Qb)},Ur.exports.load=Ep,Op=Ae.reallyExit,Qb=function(t){!Li(global.process)||(Ae.exitCode=t||0,Ii("exit",Ae.exitCode,null),Ii("afterexit",Ae.exitCode,null),Op.call(Ae,Ae.exitCode))},uc=Ae.emit,ex=function(t,n){if(t==="exit"&&Li(global.process)){n!==void 0&&(Ae.exitCode=n);var i=uc.apply(this,arguments);return Ii("exit",Ae.exitCode,null),Ii("afterexit",Ae.exitCode,null),i}else return uc.apply(this,arguments)}):Ur.exports=function(){return function(){}};var Jb,zr,Xb,Ga,Je,cc,Ii,lc,$r,Ep,Op,Qb,uc,ex});var ix=b((p6,nx)=>{"use strict";var pT=Vb(),fT=tx();nx.exports=pT(()=>{fT(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})})});var rx=b(Wr=>{"use strict";var dT=ix(),pc=!1;Wr.show=(e=process.stderr)=>{!e.isTTY||(pc=!1,e.write("\x1B[?25h"))};Wr.hide=(e=process.stderr)=>{!e.isTTY||(dT(),pc=!0,e.write("\x1B[?25l"))};Wr.toggle=(e,t)=>{e!==void 0&&(pc=e),pc?Wr.show(t):Wr.hide(t)}});var ax=b((d6,hT)=>{hT.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]}}});var cx=b((h6,ox)=>{"use strict";var fc=Object.assign({},ax()),sx=Object.keys(fc);Object.defineProperty(fc,"random",{get(){let e=Math.floor(Math.random()*sx.length),t=sx[e];return fc[t]}});ox.exports=fc});var ux=b((m6,lx)=>{"use strict";var mT=/[|\\{}()[\]^$+*?.]/g;lx.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(mT,"\\$&")}});var fx=b((g6,px)=>{"use strict";px.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var kp=b((v6,gx)=>{var qi=fx(),mx={};for(dc in qi)qi.hasOwnProperty(dc)&&(mx[qi[dc]]=dc);var dc,V=gx.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(vt in V)if(V.hasOwnProperty(vt)){if(!("channels"in V[vt]))throw new Error("missing channels property: "+vt);if(!("labels"in V[vt]))throw new Error("missing channel labels property: "+vt);if(V[vt].labels.length!==V[vt].channels)throw new Error("channel and label counts mismatch: "+vt);dx=V[vt].channels,hx=V[vt].labels,delete V[vt].channels,delete V[vt].labels,Object.defineProperty(V[vt],"channels",{value:dx}),Object.defineProperty(V[vt],"labels",{value:hx})}var dx,hx,vt;V.rgb.hsl=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(t,n,i),a=Math.max(t,n,i),s=a-r,o,c,u;return a===r?o=0:t===a?o=(n-i)/s:n===a?o=2+(i-t)/s:i===a&&(o=4+(t-n)/s),o=Math.min(o*60,360),o<0&&(o+=360),u=(r+a)/2,a===r?c=0:u<=.5?c=s/(a+r):c=s/(2-a-r),[o,c*100,u*100]};V.rgb.hsv=function(e){var t,n,i,r,a,s=e[0]/255,o=e[1]/255,c=e[2]/255,u=Math.max(s,o,c),l=u-Math.min(s,o,c),p=function(f){return(u-f)/6/l+1/2};return l===0?r=a=0:(a=l/u,t=p(s),n=p(o),i=p(c),s===u?r=i-n:o===u?r=1/3+t-i:c===u&&(r=2/3+n-t),r<0?r+=1:r>1&&(r-=1)),[r*360,a*100,u*100]};V.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2],r=V.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,i));return i=1-1/255*Math.max(t,Math.max(n,i)),[r,a*100,i*100]};V.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255,r,a,s,o;return o=Math.min(1-t,1-n,1-i),r=(1-t-o)/(1-o)||0,a=(1-n-o)/(1-o)||0,s=(1-i-o)/(1-o)||0,[r*100,a*100,s*100,o*100]};function gT(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}V.rgb.keyword=function(e){var t=mx[e];if(t)return t;var n=1/0,i;for(var r in qi)if(qi.hasOwnProperty(r)){var a=qi[r],s=gT(e,a);s<n&&(n=s,i=r)}return i};V.keyword.rgb=function(e){return qi[e]};V.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;var r=t*.4124+n*.3576+i*.1805,a=t*.2126+n*.7152+i*.0722,s=t*.0193+n*.1192+i*.9505;return[r*100,a*100,s*100]};V.rgb.lab=function(e){var t=V.rgb.xyz(e),n=t[0],i=t[1],r=t[2],a,s,o;return n/=95.047,i/=100,r/=108.883,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,a=116*i-16,s=500*(n-i),o=200*(i-r),[a,s,o]};V.hsl.rgb=function(e){var t=e[0]/360,n=e[1]/100,i=e[2]/100,r,a,s,o,c;if(n===0)return c=i*255,[c,c,c];i<.5?a=i*(1+n):a=i+n-i*n,r=2*i-a,o=[0,0,0];for(var u=0;u<3;u++)s=t+1/3*-(u-1),s<0&&s++,s>1&&s--,6*s<1?c=r+(a-r)*6*s:2*s<1?c=a:3*s<2?c=r+(a-r)*(2/3-s)*6:c=r,o[u]=c*255;return o};V.hsl.hsv=function(e){var t=e[0],n=e[1]/100,i=e[2]/100,r=n,a=Math.max(i,.01),s,o;return i*=2,n*=i<=1?i:2-i,r*=a<=1?a:2-a,o=(i+n)/2,s=i===0?2*r/(a+r):2*n/(i+n),[t,s*100,o*100]};V.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,a=t-Math.floor(t),s=255*i*(1-n),o=255*i*(1-n*a),c=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,c,s];case 1:return[o,i,s];case 2:return[s,i,c];case 3:return[s,o,i];case 4:return[c,s,i];case 5:return[i,s,o]}};V.hsv.hsl=function(e){var t=e[0],n=e[1]/100,i=e[2]/100,r=Math.max(i,.01),a,s,o;return o=(2-n)*i,a=(2-n)*r,s=n*r,s/=a<=1?a:2-a,s=s||0,o/=2,[t,s*100,o*100]};V.hwb.rgb=function(e){var t=e[0]/360,n=e[1]/100,i=e[2]/100,r=n+i,a,s,o,c;r>1&&(n/=r,i/=r),a=Math.floor(6*t),s=1-i,o=6*t-a,(a&1)!==0&&(o=1-o),c=n+o*(s-n);var u,l,p;switch(a){default:case 6:case 0:u=s,l=c,p=n;break;case 1:u=c,l=s,p=n;break;case 2:u=n,l=s,p=c;break;case 3:u=n,l=c,p=s;break;case 4:u=c,l=n,p=s;break;case 5:u=s,l=n,p=c;break}return[u*255,l*255,p*255]};V.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100,a,s,o;return a=1-Math.min(1,t*(1-r)+r),s=1-Math.min(1,n*(1-r)+r),o=1-Math.min(1,i*(1-r)+r),[a*255,s*255,o*255]};V.xyz.rgb=function(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,r,a,s;return r=t*3.2406+n*-1.5372+i*-.4986,a=t*-.9689+n*1.8758+i*.0415,s=t*.0557+n*-.204+i*1.057,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,r=Math.min(Math.max(0,r),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[r*255,a*255,s*255]};V.xyz.lab=function(e){var t=e[0],n=e[1],i=e[2],r,a,s;return t/=95.047,n/=100,i/=108.883,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,r=116*n-16,a=500*(t-n),s=200*(n-i),[r,a,s]};V.lab.xyz=function(e){var t=e[0],n=e[1],i=e[2],r,a,s;a=(t+16)/116,r=n/500+a,s=a-i/200;var o=Math.pow(a,3),c=Math.pow(r,3),u=Math.pow(s,3);return a=o>.008856?o:(a-16/116)/7.787,r=c>.008856?c:(r-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,r*=95.047,a*=100,s*=108.883,[r,a,s]};V.lab.lch=function(e){var t=e[0],n=e[1],i=e[2],r,a,s;return r=Math.atan2(i,n),a=r*360/2/Math.PI,a<0&&(a+=360),s=Math.sqrt(n*n+i*i),[t,s,a]};V.lch.lab=function(e){var t=e[0],n=e[1],i=e[2],r,a,s;return s=i/360*2*Math.PI,r=n*Math.cos(s),a=n*Math.sin(s),[t,r,a]};V.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],r=1 in arguments?arguments[1]:V.rgb.hsv(e)[2];if(r=Math.round(r/50),r===0)return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return r===2&&(a+=60),a};V.hsv.ansi16=function(e){return V.rgb.ansi16(V.hsv.rgb(e),e[2])};V.rgb.ansi256=function(e){var t=e[0],n=e[1],i=e[2];if(t===n&&n===i)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var r=16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5);return r};V.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var n=(~~(e>50)+1)*.5,i=(t&1)*n*255,r=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[i,r,a]};V.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var n,i=Math.floor(e/36)/5*255,r=Math.floor((n=e%36)/6)/5*255,a=n%6/5*255;return[i,r,a]};V.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255),n=t.toString(16).toUpperCase();return"000000".substring(n.length)+n};V.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];t[0].length===3&&(n=n.split("").map(function(o){return o+o}).join(""));var i=parseInt(n,16),r=i>>16&255,a=i>>8&255,s=i&255;return[r,a,s]};V.rgb.hcg=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.max(Math.max(t,n),i),a=Math.min(Math.min(t,n),i),s=r-a,o,c;return s<1?o=a/(1-s):o=0,s<=0?c=0:r===t?c=(n-i)/s%6:r===n?c=2+(i-t)/s:c=4+(t-n)/s+4,c/=6,c%=1,[c*360,s*100,o*100]};V.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=1,r=0;return n<.5?i=2*t*n:i=2*t*(1-n),i<1&&(r=(n-.5*i)/(1-i)),[e[0],i*100,r*100]};V.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=t*n,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],i*100,r*100]};V.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,i=e[2]/100;if(n===0)return[i*255,i*255,i*255];var r=[0,0,0],a=t%1*6,s=a%1,o=1-s,c=0;switch(Math.floor(a)){case 0:r[0]=1,r[1]=s,r[2]=0;break;case 1:r[0]=o,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=s;break;case 3:r[0]=0,r[1]=o,r[2]=1;break;case 4:r[0]=s,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=o}return c=(1-n)*i,[(n*r[0]+c)*255,(n*r[1]+c)*255,(n*r[2]+c)*255]};V.hcg.hsv=function(e){var t=e[1]/100,n=e[2]/100,i=t+n*(1-t),r=0;return i>0&&(r=t/i),[e[0],r*100,i*100]};V.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100,i=n*(1-t)+.5*t,r=0;return i>0&&i<.5?r=t/(2*i):i>=.5&&i<1&&(r=t/(2*(1-i))),[e[0],r*100,i*100]};V.hcg.hwb=function(e){var t=e[1]/100,n=e[2]/100,i=t+n*(1-t);return[e[0],(i-t)*100,(1-i)*100]};V.hwb.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=1-n,r=i-t,a=0;return r<1&&(a=(i-r)/(1-r)),[e[0],r*100,a*100]};V.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};V.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};V.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};V.gray.hsl=V.gray.hsv=function(e){return[0,0,e[0]]};V.gray.hwb=function(e){return[0,100,e[0]]};V.gray.cmyk=function(e){return[0,0,0,e[0]]};V.gray.lab=function(e){return[e[0],0,0]};V.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255,n=(t<<16)+(t<<8)+t,i=n.toString(16).toUpperCase();return"000000".substring(i.length)+i};V.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}});var bx=b((b6,vx)=>{var hc=kp();function vT(){for(var e={},t=Object.keys(hc),n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}function bT(e){var t=vT(),n=[e];for(t[e].distance=0;n.length;)for(var i=n.pop(),r=Object.keys(hc[i]),a=r.length,s=0;s<a;s++){var o=r[s],c=t[o];c.distance===-1&&(c.distance=t[i].distance+1,c.parent=i,n.unshift(o))}return t}function xT(e,t){return function(n){return t(e(n))}}function yT(e,t){for(var n=[t[e].parent,e],i=hc[t[e].parent][e],r=t[e].parent;t[r].parent;)n.unshift(t[r].parent),i=xT(hc[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}vx.exports=function(e){for(var t=bT(e),n={},i=Object.keys(t),r=i.length,a=0;a<r;a++){var s=i[a],o=t[s];o.parent!==null&&(n[s]=yT(s,t))}return n}});var yx=b((x6,xx)=>{var Cp=kp(),wT=bx(),Kr={},_T=Object.keys(Cp);function ST(e){var t=function(n){return n==null?n:(arguments.length>1&&(n=Array.prototype.slice.call(arguments)),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function ET(e){var t=function(n){if(n==null)return n;arguments.length>1&&(n=Array.prototype.slice.call(arguments));var i=e(n);if(typeof i=="object")for(var r=i.length,a=0;a<r;a++)i[a]=Math.round(i[a]);return i};return"conversion"in e&&(t.conversion=e.conversion),t}_T.forEach(function(e){Kr[e]={},Object.defineProperty(Kr[e],"channels",{value:Cp[e].channels}),Object.defineProperty(Kr[e],"labels",{value:Cp[e].labels});var t=wT(e),n=Object.keys(t);n.forEach(function(i){var r=t[i];Kr[e][i]=ET(r),Kr[e][i].raw=ST(r)})});xx.exports=Kr});var _x=b((y6,wx)=>{"use strict";var Yr=yx(),mc=(e,t)=>function(){return`\x1B[${e.apply(Yr,arguments)+t}m`},gc=(e,t)=>function(){let n=e.apply(Yr,arguments);return`\x1B[${38+t};5;${n}m`},vc=(e,t)=>function(){let n=e.apply(Yr,arguments);return`\x1B[${38+t};2;${n[0]};${n[1]};${n[2]}m`};function OT(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(let r of Object.keys(t)){let a=t[r];for(let s of Object.keys(a)){let o=a[s];t[s]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},a[s]=t[s],e.set(o[0],o[1])}Object.defineProperty(t,r,{value:a,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}let n=r=>r,i=(r,a,s)=>[r,a,s];t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi={ansi:mc(n,0)},t.color.ansi256={ansi256:gc(n,0)},t.color.ansi16m={rgb:vc(i,0)},t.bgColor.ansi={ansi:mc(n,10)},t.bgColor.ansi256={ansi256:gc(n,10)},t.bgColor.ansi16m={rgb:vc(i,10)};for(let r of Object.keys(Yr)){if(typeof Yr[r]!="object")continue;let a=Yr[r];r==="ansi16"&&(r="ansi"),"ansi16"in a&&(t.color.ansi[r]=mc(a.ansi16,0),t.bgColor.ansi[r]=mc(a.ansi16,10)),"ansi256"in a&&(t.color.ansi256[r]=gc(a.ansi256,0),t.bgColor.ansi256[r]=gc(a.ansi256,10)),"rgb"in a&&(t.color.ansi16m[r]=vc(a.rgb,0),t.bgColor.ansi16m[r]=vc(a.rgb,10))}return t}Object.defineProperty(wx,"exports",{enumerable:!0,get:OT})});var Ex=b((w6,Sx)=>{"use strict";Sx.exports=(e,t)=>{t=t||process.argv;let n=e.startsWith("-")?"":e.length===1?"-":"--",i=t.indexOf(n+e),r=t.indexOf("--");return i!==-1&&(r===-1?!0:i<r)}});var kx=b((_6,Ox)=>{"use strict";var kT=require("os"),en=Ex(),ct=process.env,Hr;en("no-color")||en("no-colors")||en("color=false")?Hr=!1:(en("color")||en("colors")||en("color=true")||en("color=always"))&&(Hr=!0);"FORCE_COLOR"in ct&&(Hr=ct.FORCE_COLOR.length===0||parseInt(ct.FORCE_COLOR,10)!==0);function CT(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function AT(e){if(Hr===!1)return 0;if(en("color=16m")||en("color=full")||en("color=truecolor"))return 3;if(en("color=256"))return 2;if(e&&!e.isTTY&&Hr!==!0)return 0;let t=Hr?1:0;if(process.platform==="win32"){let n=kT.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in ct)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(n=>n in ct)||ct.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in ct)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ct.TEAMCITY_VERSION)?1:0;if(ct.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in ct){let n=parseInt((ct.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ct.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ct.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ct.TERM)||"COLORTERM"in ct?1:(ct.TERM==="dumb",t)}function Ap(e){let t=AT(e);return CT(t)}Ox.exports={supportsColor:Ap,stdout:Ap(process.stdout),stderr:Ap(process.stderr)}});var Mx=b((S6,jx)=>{"use strict";var TT=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Cx=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,jT=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,MT=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,RT=new Map([["n",`
|
|
31
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Tx(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):RT.get(e)||e}function NT(e,t){let n=[],i=t.trim().split(/\s*,\s*/g),r;for(let a of i)if(!isNaN(a))n.push(Number(a));else if(r=a.match(jT))n.push(r[2].replace(MT,(s,o,c)=>o?Tx(o):c));else throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`);return n}function LT(e){Cx.lastIndex=0;let t=[],n;for(;(n=Cx.exec(e))!==null;){let i=n[1];if(n[2]){let r=NT(i,n[2]);t.push([i].concat(r))}else t.push([i])}return t}function Ax(e,t){let n={};for(let r of t)for(let a of r.styles)n[a[0]]=r.inverse?null:a.slice(1);let i=e;for(let r of Object.keys(n))if(Array.isArray(n[r])){if(!(r in i))throw new Error(`Unknown Chalk style: ${r}`);n[r].length>0?i=i[r].apply(i,n[r]):i=i[r]}return i}jx.exports=(e,t)=>{let n=[],i=[],r=[];if(t.replace(TT,(a,s,o,c,u,l)=>{if(s)r.push(Tx(s));else if(c){let p=r.join("");r=[],i.push(n.length===0?p:Ax(e,n)(p)),n.push({inverse:o,styles:LT(c)})}else if(u){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");i.push(Ax(e,n)(r.join(""))),r=[],n.pop()}else r.push(l)}),i.push(r.join("")),n.length>0){let a=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(a)}return i.join("")}});var qx=b((E6,Za)=>{"use strict";var jp=ux(),ze=_x(),Tp=kx().stdout,IT=Mx(),Nx=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),Lx=["ansi","ansi","ansi256","ansi16m"],Ix=new Set(["gray"]),Gr=Object.create(null);function Rx(e,t){t=t||{};let n=Tp?Tp.level:0;e.level=t.level===void 0?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function Va(e){if(!this||!(this instanceof Va)||this.template){let t={};return Rx(t,e),t.template=function(){let n=[].slice.call(arguments);return BT.apply(null,[t.template].concat(n))},Object.setPrototypeOf(t,Va.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=Va,t.template}Rx(this,e)}Nx&&(ze.blue.open="\x1B[94m");for(let e of Object.keys(ze))ze[e].closeRe=new RegExp(jp(ze[e].close),"g"),Gr[e]={get(){let t=ze[e];return bc.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Gr.visible={get(){return bc.call(this,this._styles||[],!0,"visible")}};ze.color.closeRe=new RegExp(jp(ze.color.close),"g");for(let e of Object.keys(ze.color.ansi))Ix.has(e)||(Gr[e]={get(){let t=this.level;return function(){let i={open:ze.color[Lx[t]][e].apply(null,arguments),close:ze.color.close,closeRe:ze.color.closeRe};return bc.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}});ze.bgColor.closeRe=new RegExp(jp(ze.bgColor.close),"g");for(let e of Object.keys(ze.bgColor.ansi)){if(Ix.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Gr[t]={get(){let n=this.level;return function(){let r={open:ze.bgColor[Lx[n]][e].apply(null,arguments),close:ze.bgColor.close,closeRe:ze.bgColor.closeRe};return bc.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}}}var qT=Object.defineProperties(()=>{},Gr);function bc(e,t,n){let i=function(){return PT.apply(i,arguments)};i._styles=e,i._empty=t;let r=this;return Object.defineProperty(i,"level",{enumerable:!0,get(){return r.level},set(a){r.level=a}}),Object.defineProperty(i,"enabled",{enumerable:!0,get(){return r.enabled},set(a){r.enabled=a}}),i.hasGrey=this.hasGrey||n==="gray"||n==="grey",i.__proto__=qT,i}function PT(){let e=arguments,t=e.length,n=String(arguments[0]);if(t===0)return"";if(t>1)for(let r=1;r<t;r++)n+=" "+e[r];if(!this.enabled||this.level<=0||!n)return this._empty?"":n;let i=ze.dim.open;Nx&&this.hasGrey&&(ze.dim.open="");for(let r of this._styles.slice().reverse())n=r.open+n.replace(r.closeRe,r.open)+r.close,n=n.replace(/\r?\n/g,`${r.close}$&${r.open}`);return ze.dim.open=i,n}function BT(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");let n=[].slice.call(arguments,2),i=[t.raw[0]];for(let r=1;r<t.length;r++)i.push(String(n[r-1]).replace(/[{}\\]/g,"\\$&")),i.push(String(t.raw[r]));return IT(e,i.join(""))}Object.defineProperties(Va.prototype,Gr);Za.exports=Va();Za.exports.supportsColor=Tp;Za.exports.default=Za.exports});var Bx=b((O6,Px)=>{"use strict";var Yn=qx(),FT=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color",DT={info:Yn.blue("\u2139"),success:Yn.green("\u2714"),warning:Yn.yellow("\u26A0"),error:Yn.red("\u2716")},zT={info:Yn.blue("i"),success:Yn.green("\u221A"),warning:Yn.yellow("\u203C"),error:Yn.red("\xD7")};Px.exports=FT?DT:zT});var Dx=b((k6,Fx)=>{"use strict";Fx.exports=({onlyFirst:e=!1}={})=>{let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}});var $x=b((C6,zx)=>{"use strict";var $T=Dx();zx.exports=e=>typeof e=="string"?e.replace($T(),""):e});var Ux=b((A6,xc)=>{var UT=function(){"use strict";function e(s,o,c,u){var l;typeof o=="object"&&(c=o.depth,u=o.prototype,l=o.filter,o=o.circular);var p=[],f=[],m=typeof Buffer<"u";typeof o>"u"&&(o=!0),typeof c>"u"&&(c=1/0);function v(g,d){if(g===null)return null;if(d==0)return g;var x,_;if(typeof g!="object")return g;if(e.__isArray(g))x=[];else if(e.__isRegExp(g))x=new RegExp(g.source,a(g)),g.lastIndex&&(x.lastIndex=g.lastIndex);else if(e.__isDate(g))x=new Date(g.getTime());else{if(m&&Buffer.isBuffer(g))return Buffer.allocUnsafe?x=Buffer.allocUnsafe(g.length):x=new Buffer(g.length),g.copy(x),x;typeof u>"u"?(_=Object.getPrototypeOf(g),x=Object.create(_)):(x=Object.create(u),_=u)}if(o){var C=p.indexOf(g);if(C!=-1)return f[C];p.push(g),f.push(x)}for(var k in g){var O;_&&(O=Object.getOwnPropertyDescriptor(_,k)),!(O&&O.set==null)&&(x[k]=v(g[k],d-1))}return x}return v(s,c)}e.clonePrototype=function(o){if(o===null)return null;var c=function(){};return c.prototype=o,new c};function t(s){return Object.prototype.toString.call(s)}e.__objToStr=t;function n(s){return typeof s=="object"&&t(s)==="[object Date]"}e.__isDate=n;function i(s){return typeof s=="object"&&t(s)==="[object Array]"}e.__isArray=i;function r(s){return typeof s=="object"&&t(s)==="[object RegExp]"}e.__isRegExp=r;function a(s){var o="";return s.global&&(o+="g"),s.ignoreCase&&(o+="i"),s.multiline&&(o+="m"),o}return e.__getRegExpFlags=a,e}();typeof xc=="object"&&xc.exports&&(xc.exports=UT)});var Kx=b((T6,Wx)=>{var WT=Ux();Wx.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(n){typeof e[n]>"u"&&(e[n]=WT(t[n]))}),e}});var Hx=b((j6,Yx)=>{Yx.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]});var Jx=b((M6,Mp)=>{"use strict";var KT=Kx(),Ja=Hx(),Vx={nul:0,control:0};Mp.exports=function(t){return Zx(t,Vx)};Mp.exports.config=function(e){return e=KT(e||{},Vx),function(n){return Zx(n,e)}};function Zx(e,t){if(typeof e!="string")return Gx(e,t);for(var n=0,i=0;i<e.length;i++){var r=Gx(e.charCodeAt(i),t);if(r<0)return-1;n+=r}return n}function Gx(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:YT(e)?0:1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function YT(e){var t=0,n=Ja.length-1,i;if(e<Ja[0][0]||e>Ja[n][1])return!1;for(;n>=t;)if(i=Math.floor((t+n)/2),e>Ja[i][1])t=i+1;else if(e<Ja[i][0])n=i-1;else return!0;return!1}});var Qx=b((R6,Xx)=>{"use strict";Xx.exports=({stream:e=process.stdout}={})=>Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))});var ty=b((N6,ey)=>{var Rp=require("stream");ey.exports=Xe;function Xe(e){Rp.apply(this),e=e||{},this.writable=this.readable=!0,this.muted=!1,this.on("pipe",this._onpipe),this.replace=e.replace,this._prompt=e.prompt||null,this._hadControl=!1}Xe.prototype=Object.create(Rp.prototype);Object.defineProperty(Xe.prototype,"constructor",{value:Xe,enumerable:!1});Xe.prototype.mute=function(){this.muted=!0};Xe.prototype.unmute=function(){this.muted=!1};Object.defineProperty(Xe.prototype,"_onpipe",{value:HT,enumerable:!1,writable:!0,configurable:!0});function HT(e){this._src=e}Object.defineProperty(Xe.prototype,"isTTY",{get:GT,set:VT,enumerable:!0,configurable:!0});function GT(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:!1}function VT(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:!0,writable:!0,configurable:!0})}Object.defineProperty(Xe.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:void 0},enumerable:!0,configurable:!0});Object.defineProperty(Xe.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:void 0},enumerable:!0,configurable:!0});Xe.prototype.pipe=function(e,t){return this._dest=e,Rp.prototype.pipe.call(this,e,t)};Xe.prototype.pause=function(){if(this._src)return this._src.pause()};Xe.prototype.resume=function(){if(this._src)return this._src.resume()};Xe.prototype.write=function(e){if(this.muted){if(!this.replace)return!0;if(e.match(/^\u001b/))return e.indexOf(this._prompt)===0&&(e=e.substr(this._prompt.length),e=e.replace(/./g,this.replace),e=this._prompt+e),this._hadControl=!0,this.emit("data",e);this._prompt&&this._hadControl&&e.indexOf(this._prompt)===0&&(this._hadControl=!1,this.emit("data",this._prompt),e=e.substr(this._prompt.length)),e=e.toString().replace(/./g,this.replace)}this.emit("data",e)};Xe.prototype.end=function(e){this.muted&&(e&&this.replace?e=e.toString().replace(/./g,this.replace):e=null),e&&this.emit("data",e),this.emit("end")};function Np(e){return function(){var t=this._dest,n=this._src;t&&t[e]&&t[e].apply(t,arguments),n&&n[e]&&n[e].apply(n,arguments)}}Xe.prototype.destroy=Np("destroy");Xe.prototype.destroySoon=Np("destroySoon");Xe.prototype.close=Np("close")});var Hn=b((L6,qp)=>{"use strict";var ZT=require("readline"),JT=Kb(),ny=rx(),yc=cx(),wc=Bx(),XT=$x(),QT=Jx(),e5=Qx(),t5=ty(),Lp=Symbol("text"),_c=Symbol("prefixText"),n5=3,Ip=class{constructor(){this.requests=0,this.mutedStream=new t5,this.mutedStream.pipe(process.stdout),this.mutedStream.mute();let t=this;this.ourEmit=function(n,i,...r){let{stdin:a}=process;if(t.requests>0||a.emit===t.ourEmit){if(n==="keypress")return;n==="data"&&i.includes(n5)&&process.emit("SIGINT"),Reflect.apply(t.oldEmit,this,[n,i,...r])}else Reflect.apply(process.stdin.emit,this,[n,i,...r])}}start(){this.requests++,this.requests===1&&this.realStart()}stop(){if(this.requests<=0)throw new Error("`stop` called more times than `start`");this.requests--,this.requests===0&&this.realStop()}realStart(){process.platform!=="win32"&&(this.rl=ZT.createInterface({input:process.stdin,output:this.mutedStream}),this.rl.on("SIGINT",()=>{process.listenerCount("SIGINT")===0?process.emit("SIGINT"):(this.rl.close(),process.kill(process.pid,"SIGINT"))}))}realStop(){process.platform!=="win32"&&(this.rl.close(),this.rl=void 0)}},Sc,Ec=class{constructor(t){Sc||(Sc=new Ip),typeof t=="string"&&(t={text:t}),this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:!0,...t},this.spinner=this.options.spinner,this.color=this.options.color,this.hideCursor=this.options.hideCursor!==!1,this.interval=this.options.interval||this.spinner.interval||100,this.stream=this.options.stream,this.id=void 0,this.isEnabled=typeof this.options.isEnabled=="boolean"?this.options.isEnabled:e5({stream:this.stream}),this.text=this.options.text,this.prefixText=this.options.prefixText,this.linesToClear=0,this.indent=this.options.indent,this.discardStdin=this.options.discardStdin,this.isDiscardingStdin=!1}get indent(){return this._indent}set indent(t=0){if(!(t>=0&&Number.isInteger(t)))throw new Error("The `indent` option must be an integer from 0 and up");this._indent=t}_updateInterval(t){t!==void 0&&(this.interval=t)}get spinner(){return this._spinner}set spinner(t){if(this.frameIndex=0,typeof t=="object"){if(t.frames===void 0)throw new Error("The given spinner must have a `frames` property");this._spinner=t}else if(process.platform==="win32")this._spinner=yc.line;else if(t===void 0)this._spinner=yc.dots;else if(yc[t])this._spinner=yc[t];else throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json for a full list.`);this._updateInterval(this._spinner.interval)}get text(){return this[Lp]}get prefixText(){return this[_c]}get isSpinning(){return this.id!==void 0}updateLineCount(){let t=this.stream.columns||80,n=typeof this[_c]=="string"?this[_c]+"-":"";this.lineCount=XT(n+"--"+this[Lp]).split(`
|
|
32
|
+
`).reduce((i,r)=>i+Math.max(1,Math.ceil(QT(r)/t)),0)}set text(t){this[Lp]=t,this.updateLineCount()}set prefixText(t){this[_c]=t,this.updateLineCount()}frame(){let{frames:t}=this.spinner,n=t[this.frameIndex];this.color&&(n=JT[this.color](n)),this.frameIndex=++this.frameIndex%t.length;let i=typeof this.prefixText=="string"&&this.prefixText!==""?this.prefixText+" ":"",r=typeof this.text=="string"?" "+this.text:"";return i+n+r}clear(){if(!this.isEnabled||!this.stream.isTTY)return this;for(let t=0;t<this.linesToClear;t++)t>0&&this.stream.moveCursor(0,-1),this.stream.clearLine(),this.stream.cursorTo(this.indent);return this.linesToClear=0,this}render(){return this.clear(),this.stream.write(this.frame()),this.linesToClear=this.lineCount,this}start(t){return t&&(this.text=t),this.isEnabled?this.isSpinning?this:(this.hideCursor&&ny.hide(this.stream),this.discardStdin&&process.stdin.isTTY&&(this.isDiscardingStdin=!0,Sc.start()),this.render(),this.id=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.stream.write(`- ${this.text}
|
|
33
|
+
`),this)}stop(){return this.isEnabled?(clearInterval(this.id),this.id=void 0,this.frameIndex=0,this.clear(),this.hideCursor&&ny.show(this.stream),this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin&&(Sc.stop(),this.isDiscardingStdin=!1),this):this}succeed(t){return this.stopAndPersist({symbol:wc.success,text:t})}fail(t){return this.stopAndPersist({symbol:wc.error,text:t})}warn(t){return this.stopAndPersist({symbol:wc.warning,text:t})}info(t){return this.stopAndPersist({symbol:wc.info,text:t})}stopAndPersist(t={}){let n=t.prefixText||this.prefixText,i=typeof n=="string"&&n!==""?n+" ":"",r=t.text||this.text,a=typeof r=="string"?" "+r:"";return this.stop(),this.stream.write(`${i}${t.symbol||" "}${a}
|
|
34
|
+
`),this}},i5=function(e){return new Ec(e)};qp.exports=i5;qp.exports.promise=(e,t)=>{if(typeof e.then!="function")throw new TypeError("Parameter `action` must be a Promise");let n=new Ec(t);return n.start(),(async()=>{try{await e,n.succeed()}catch{n.fail()}})(),n}});var es=b((K6,zp)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?zp.exports={nextTick:g5}:zp.exports=process;function g5(e,t,n,i){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var r=arguments.length,a,s;switch(r){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t)});case 3:return process.nextTick(function(){e.call(null,t,n)});case 4:return process.nextTick(function(){e.call(null,t,n,i)});default:for(a=new Array(r-1),s=0;s<a.length;)a[s++]=arguments[s];return process.nextTick(function(){e.apply(null,a)})}}});var dy=b((Y6,fy)=>{var v5={}.toString;fy.exports=Array.isArray||function(e){return v5.call(e)=="[object Array]"}});var $p=b((H6,hy)=>{hy.exports=require("stream")});var ts=b((Up,gy)=>{var Cc=require("buffer"),Sn=Cc.Buffer;function my(e,t){for(var n in e)t[n]=e[n]}Sn.from&&Sn.alloc&&Sn.allocUnsafe&&Sn.allocUnsafeSlow?gy.exports=Cc:(my(Cc,Up),Up.Buffer=Zr);function Zr(e,t,n){return Sn(e,t,n)}my(Sn,Zr);Zr.from=function(e,t,n){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Sn(e,t,n)};Zr.alloc=function(e,t,n){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=Sn(e);return t!==void 0?typeof n=="string"?i.fill(t,n):i.fill(t):i.fill(0),i};Zr.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Sn(e)};Zr.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Cc.SlowBuffer(e)}});var Jr=b(lt=>{function b5(e){return Array.isArray?Array.isArray(e):Ac(e)==="[object Array]"}lt.isArray=b5;function x5(e){return typeof e=="boolean"}lt.isBoolean=x5;function y5(e){return e===null}lt.isNull=y5;function w5(e){return e==null}lt.isNullOrUndefined=w5;function _5(e){return typeof e=="number"}lt.isNumber=_5;function S5(e){return typeof e=="string"}lt.isString=S5;function E5(e){return typeof e=="symbol"}lt.isSymbol=E5;function O5(e){return e===void 0}lt.isUndefined=O5;function k5(e){return Ac(e)==="[object RegExp]"}lt.isRegExp=k5;function C5(e){return typeof e=="object"&&e!==null}lt.isObject=C5;function A5(e){return Ac(e)==="[object Date]"}lt.isDate=A5;function T5(e){return Ac(e)==="[object Error]"||e instanceof Error}lt.isError=T5;function j5(e){return typeof e=="function"}lt.isFunction=j5;function M5(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}lt.isPrimitive=M5;lt.isBuffer=require("buffer").Buffer.isBuffer;function Ac(e){return Object.prototype.toString.call(e)}});var vy=b((V6,Wp)=>{typeof Object.create=="function"?Wp.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Wp.exports=function(t,n){if(n){t.super_=n;var i=function(){};i.prototype=n.prototype,t.prototype=new i,t.prototype.constructor=t}}});var Xr=b((Z6,Yp)=>{try{if(Kp=require("util"),typeof Kp.inherits!="function")throw"";Yp.exports=Kp.inherits}catch{Yp.exports=vy()}var Kp});var xy=b((J6,Hp)=>{"use strict";function R5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var by=ts().Buffer,ns=require("util");function N5(e,t,n){e.copy(t,n)}Hp.exports=function(){function e(){R5(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(n){var i={data:n,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length},e.prototype.unshift=function(n){var i={data:n,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length},e.prototype.shift=function(){if(this.length!==0){var n=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,n}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(n){if(this.length===0)return"";for(var i=this.head,r=""+i.data;i=i.next;)r+=n+i.data;return r},e.prototype.concat=function(n){if(this.length===0)return by.alloc(0);if(this.length===1)return this.head.data;for(var i=by.allocUnsafe(n>>>0),r=this.head,a=0;r;)N5(r.data,i,a),a+=r.data.length,r=r.next;return i},e}();ns&&ns.inspect&&ns.inspect.custom&&(Hp.exports.prototype[ns.inspect.custom]=function(){var e=ns.inspect({length:this.length});return this.constructor.name+" "+e})});var Gp=b((X6,_y)=>{"use strict";var yy=es();function L5(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return i||r?(t?t(e):e&&(!this._writableState||!this._writableState.errorEmitted)&&yy.nextTick(wy,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?(yy.nextTick(wy,n,a),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(a)}),this)}function I5(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function wy(e,t){e.emit("error",t)}_y.exports={destroy:L5,undestroy:I5}});var Ey=b((Q6,Sy)=>{Sy.exports=require("util").deprecate});var Zp=b((eB,Ry)=>{"use strict";var Pi=es();Ry.exports=$e;function ky(e){var t=this;this.next=null,this.entry=null,this.finish=function(){Q5(t,e)}}var q5=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Pi.nextTick,Qr;$e.WritableState=rs;var Cy=Object.create(Jr());Cy.inherits=Xr();var P5={deprecate:Ey()},Ay=$p(),jc=ts().Buffer,B5=global.Uint8Array||function(){};function F5(e){return jc.from(e)}function D5(e){return jc.isBuffer(e)||e instanceof B5}var Ty=Gp();Cy.inherits($e,Ay);function z5(){}function rs(e,t){Qr=Qr||Bi(),e=e||{};var n=t instanceof Qr;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,r=e.writableHighWaterMark,a=this.objectMode?16:16*1024;i||i===0?this.highWaterMark=i:n&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=e.decodeStrings===!1;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(o){G5(t,o)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new ky(this)}rs.prototype.getBuffer=function(){for(var t=this.bufferedRequest,n=[];t;)n.push(t),t=t.next;return n};(function(){try{Object.defineProperty(rs.prototype,"buffer",{get:P5.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Tc;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Tc=Function.prototype[Symbol.hasInstance],Object.defineProperty($e,Symbol.hasInstance,{value:function(e){return Tc.call(this,e)?!0:this!==$e?!1:e&&e._writableState instanceof rs}})):Tc=function(e){return e instanceof this};function $e(e){if(Qr=Qr||Bi(),!Tc.call($e,this)&&!(this instanceof Qr))return new $e(e);this._writableState=new rs(e,this),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),Ay.call(this)}$e.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function $5(e,t){var n=new Error("write after end");e.emit("error",n),Pi.nextTick(t,n)}function U5(e,t,n,i){var r=!0,a=!1;return n===null?a=new TypeError("May not write null values to stream"):typeof n!="string"&&n!==void 0&&!t.objectMode&&(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),Pi.nextTick(i,a),r=!1),r}$e.prototype.write=function(e,t,n){var i=this._writableState,r=!1,a=!i.objectMode&&D5(e);return a&&!jc.isBuffer(e)&&(e=F5(e)),typeof t=="function"&&(n=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),typeof n!="function"&&(n=z5),i.ended?$5(this,n):(a||U5(this,i,e,n))&&(i.pendingcb++,r=K5(this,i,a,e,t,n)),r};$e.prototype.cork=function(){var e=this._writableState;e.corked++};$e.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest&&jy(this,e))};$e.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this};function W5(e,t,n){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=jc.from(t,n)),t}Object.defineProperty($e.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function K5(e,t,n,i,r,a){if(!n){var s=W5(t,i,r);i!==s&&(n=!0,r="buffer",i=s)}var o=t.objectMode?1:i.length;t.length+=o;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:r,isBuf:n,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else Vp(e,t,!1,o,i,r,a);return c}function Vp(e,t,n,i,r,a,s){t.writelen=i,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(r,t.onwrite):e._write(r,a,t.onwrite),t.sync=!1}function Y5(e,t,n,i,r){--t.pendingcb,n?(Pi.nextTick(r,i),Pi.nextTick(is,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(r(i),e._writableState.errorEmitted=!0,e.emit("error",i),is(e,t))}function H5(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function G5(e,t){var n=e._writableState,i=n.sync,r=n.writecb;if(H5(n),t)Y5(e,n,i,t,r);else{var a=My(n);!a&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&jy(e,n),i?q5(Oy,e,n,a,r):Oy(e,n,a,r)}}function Oy(e,t,n,i){n||V5(e,t),t.pendingcb--,i(),is(e,t)}function V5(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function jy(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=t.bufferedRequestCount,r=new Array(i),a=t.corkedRequestsFree;a.entry=n;for(var s=0,o=!0;n;)r[s]=n,n.isBuf||(o=!1),n=n.next,s+=1;r.allBuffers=o,Vp(e,t,!0,t.length,r,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new ky(t),t.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,l=n.callback,p=t.objectMode?1:c.length;if(Vp(e,t,!1,p,c,u,l),n=n.next,t.bufferedRequestCount--,t.writing)break}n===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}$e.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))};$e.prototype._writev=null;$e.prototype.end=function(e,t,n){var i=this._writableState;typeof e=="function"?(n=e,e=null,t=null):typeof t=="function"&&(n=t,t=null),e!=null&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),!i.ending&&!i.finished&&X5(this,i,n)};function My(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function Z5(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),is(e,t)})}function J5(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=!0,Pi.nextTick(Z5,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function is(e,t){var n=My(t);return n&&(J5(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"))),n}function X5(e,t,n){t.ending=!0,is(e,t),n&&(t.finished?Pi.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function Q5(e,t,n){var i=e.entry;for(e.entry=null;i;){var r=i.callback;t.pendingcb--,r(n),i=i.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}Object.defineProperty($e.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){!this._writableState||(this._writableState.destroyed=e)}});$e.prototype.destroy=Ty.destroy;$e.prototype._undestroy=Ty.undestroy;$e.prototype._destroy=function(e,t){this.end(),t(e)}});var Bi=b((tB,qy)=>{"use strict";var Ny=es(),e3=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};qy.exports=En;var Ly=Object.create(Jr());Ly.inherits=Xr();var Iy=Qp(),Xp=Zp();Ly.inherits(En,Iy);for(Jp=e3(Xp.prototype),Mc=0;Mc<Jp.length;Mc++)Rc=Jp[Mc],En.prototype[Rc]||(En.prototype[Rc]=Xp.prototype[Rc]);var Jp,Rc,Mc;function En(e){if(!(this instanceof En))return new En(e);Iy.call(this,e),Xp.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",t3)}Object.defineProperty(En.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function t3(){this.allowHalfOpen||this._writableState.ended||Ny.nextTick(n3,this)}function n3(e){e.end()}Object.defineProperty(En.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}});En.prototype._destroy=function(e,t){this.push(null),this.end(),Ny.nextTick(t,e)}});var nf=b(By=>{"use strict";var tf=ts().Buffer,Py=tf.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i3(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function r3(e){var t=i3(e);if(typeof t!="string"&&(tf.isEncoding===Py||!Py(e)))throw new Error("Unknown encoding: "+e);return t||e}By.StringDecoder=as;function as(e){this.encoding=r3(e);var t;switch(this.encoding){case"utf16le":this.text=u3,this.end=p3,t=4;break;case"utf8":this.fillLast=o3,t=4;break;case"base64":this.text=f3,this.end=d3,t=3;break;default:this.write=h3,this.end=m3;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=tf.allocUnsafe(t)}as.prototype.write=function(e){if(e.length===0)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""};as.prototype.end=l3;as.prototype.text=c3;as.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function ef(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function a3(e,t,n){var i=t.length-1;if(i<n)return 0;var r=ef(t[i]);return r>=0?(r>0&&(e.lastNeed=r-1),r):--i<n||r===-2?0:(r=ef(t[i]),r>=0?(r>0&&(e.lastNeed=r-2),r):--i<n||r===-2?0:(r=ef(t[i]),r>=0?(r>0&&(r===2?r=0:e.lastNeed=r-3),r):0))}function s3(e,t,n){if((t[0]&192)!==128)return e.lastNeed=0,"\uFFFD";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"\uFFFD";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"\uFFFD"}}function o3(e){var t=this.lastTotal-this.lastNeed,n=s3(this,e,t);if(n!==void 0)return n;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function c3(e,t){var n=a3(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function l3(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function u3(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function p3(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function f3(e,t){var n=(e.length-t)%3;return n===0?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d3(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h3(e){return e.toString(this.encoding)}function m3(e){return e&&e.length?this.write(e):""}});var Qp=b((rB,Zy)=>{"use strict";var ta=es();Zy.exports=Ce;var g3=dy(),ss;Ce.ReadableState=Ky;var iB=require("events").EventEmitter,$y=function(e,t){return e.listeners(t).length},cf=$p(),os=ts().Buffer,v3=global.Uint8Array||function(){};function b3(e){return os.from(e)}function x3(e){return os.isBuffer(e)||e instanceof v3}var Uy=Object.create(Jr());Uy.inherits=Xr();var rf=require("util"),be=void 0;rf&&rf.debuglog?be=rf.debuglog("stream"):be=function(){};var y3=xy(),Wy=Gp(),ea;Uy.inherits(Ce,cf);var af=["error","close","destroy","pause","resume"];function w3(e,t,n){if(typeof e.prependListener=="function")return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):g3(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}function Ky(e,t){ss=ss||Bi(),e=e||{};var n=t instanceof ss;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,r=e.readableHighWaterMark,a=this.objectMode?16:16*1024;i||i===0?this.highWaterMark=i:n&&(r||r===0)?this.highWaterMark=r:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new y3,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(ea||(ea=nf().StringDecoder),this.decoder=new ea(e.encoding),this.encoding=e.encoding)}function Ce(e){if(ss=ss||Bi(),!(this instanceof Ce))return new Ce(e);this._readableState=new Ky(e,this),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),cf.call(this)}Object.defineProperty(Ce.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){!this._readableState||(this._readableState.destroyed=e)}});Ce.prototype.destroy=Wy.destroy;Ce.prototype._undestroy=Wy.undestroy;Ce.prototype._destroy=function(e,t){this.push(null),t(e)};Ce.prototype.push=function(e,t){var n=this._readableState,i;return n.objectMode?i=!0:typeof e=="string"&&(t=t||n.defaultEncoding,t!==n.encoding&&(e=os.from(e,t),t=""),i=!0),Yy(this,e,t,!1,i)};Ce.prototype.unshift=function(e){return Yy(this,e,null,!0,!1)};function Yy(e,t,n,i,r){var a=e._readableState;if(t===null)a.reading=!1,O3(e,a);else{var s;r||(s=_3(a,t)),s?e.emit("error",s):a.objectMode||t&&t.length>0?(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==os.prototype&&(t=b3(t)),i?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):sf(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||t.length!==0?sf(e,a,t,!1):Hy(e,a)):sf(e,a,t,!1))):i||(a.reading=!1)}return S3(a)}function sf(e,t,n,i){t.flowing&&t.length===0&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Nc(e)),Hy(e,t)}function _3(e,t){var n;return!x3(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(n=new TypeError("Invalid non-string/buffer chunk")),n}function S3(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}Ce.prototype.isPaused=function(){return this._readableState.flowing===!1};Ce.prototype.setEncoding=function(e){return ea||(ea=nf().StringDecoder),this._readableState.decoder=new ea(e),this._readableState.encoding=e,this};var Fy=8388608;function E3(e){return e>=Fy?e=Fy:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Dy(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=E3(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}Ce.prototype.read=function(e){be("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return be("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?of(this):Nc(this),null;if(e=Dy(e,t),e===0&&t.ended)return t.length===0&&of(this),null;var i=t.needReadable;be("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&(i=!0,be("length less than watermark",i)),t.ended||t.reading?(i=!1,be("reading or ended",i)):i&&(be("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Dy(n,t)));var r;return e>0?r=Gy(e,t):r=null,r===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&of(this)),r!==null&&this.emit("data",r),r};function O3(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,Nc(e)}}function Nc(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(be("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?ta.nextTick(zy,e):zy(e))}function zy(e){be("emit readable"),e.emit("readable"),lf(e)}function Hy(e,t){t.readingMore||(t.readingMore=!0,ta.nextTick(k3,e,t))}function k3(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(be("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}Ce.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};Ce.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,be("pipe count=%d opts=%j",i.pipesCount,t);var r=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,a=r?o:d;i.endEmitted?ta.nextTick(a):n.once("end",a),e.on("unpipe",s);function s(x,_){be("onunpipe"),x===n&&_&&_.hasUnpiped===!1&&(_.hasUnpiped=!0,l())}function o(){be("onend"),e.end()}var c=C3(n);e.on("drain",c);var u=!1;function l(){be("cleanup"),e.removeListener("close",v),e.removeListener("finish",g),e.removeListener("drain",c),e.removeListener("error",m),e.removeListener("unpipe",s),n.removeListener("end",o),n.removeListener("end",d),n.removeListener("data",f),u=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}var p=!1;n.on("data",f);function f(x){be("ondata"),p=!1;var _=e.write(x);_===!1&&!p&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Vy(i.pipes,e)!==-1)&&!u&&(be("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function m(x){be("onerror",x),d(),e.removeListener("error",m),$y(e,"error")===0&&e.emit("error",x)}w3(e,"error",m);function v(){e.removeListener("finish",g),d()}e.once("close",v);function g(){be("onfinish"),e.removeListener("close",v),d()}e.once("finish",g);function d(){be("unpipe"),n.unpipe(e)}return e.emit("pipe",n),i.flowing||(be("pipe resume"),n.resume()),e};function C3(e){return function(){var t=e._readableState;be("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&$y(e,"data")&&(t.flowing=!0,lf(e))}}Ce.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var i=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<r;a++)i[a].emit("unpipe",this,n);return this}var s=Vy(t.pipes,e);return s===-1?this:(t.pipes.splice(s,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n),this)};Ce.prototype.on=function(e,t){var n=cf.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==!1&&this.resume();else if(e==="readable"){var i=this._readableState;!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&Nc(this):ta.nextTick(A3,this))}return n};Ce.prototype.addListener=Ce.prototype.on;function A3(e){be("readable nexttick read 0"),e.read(0)}Ce.prototype.resume=function(){var e=this._readableState;return e.flowing||(be("resume"),e.flowing=!0,T3(this,e)),this};function T3(e,t){t.resumeScheduled||(t.resumeScheduled=!0,ta.nextTick(j3,e,t))}function j3(e,t){t.reading||(be("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),lf(e),t.flowing&&!t.reading&&e.read(0)}Ce.prototype.pause=function(){return be("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(be("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function lf(e){var t=e._readableState;for(be("flow",t.flowing);t.flowing&&e.read()!==null;);}Ce.prototype.wrap=function(e){var t=this,n=this._readableState,i=!1;e.on("end",function(){if(be("wrapped end"),n.decoder&&!n.ended){var s=n.decoder.end();s&&s.length&&t.push(s)}t.push(null)}),e.on("data",function(s){if(be("wrapped data"),n.decoder&&(s=n.decoder.write(s)),!(n.objectMode&&s==null)&&!(!n.objectMode&&(!s||!s.length))){var o=t.push(s);o||(i=!0,e.pause())}});for(var r in e)this[r]===void 0&&typeof e[r]=="function"&&(this[r]=function(s){return function(){return e[s].apply(e,arguments)}}(r));for(var a=0;a<af.length;a++)e.on(af[a],this.emit.bind(this,af[a]));return this._read=function(s){be("wrapped _read",s),i&&(i=!1,e.resume())},this};Object.defineProperty(Ce.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Ce._fromList=Gy;function Gy(e,t){if(t.length===0)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(t.decoder?n=t.buffer.join(""):t.buffer.length===1?n=t.buffer.head.data:n=t.buffer.concat(t.length),t.buffer.clear()):n=M3(e,t.buffer,t.decoder),n}function M3(e,t,n){var i;return e<t.head.data.length?(i=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):e===t.head.data.length?i=t.shift():i=n?R3(e,t):N3(e,t),i}function R3(e,t){var n=t.head,i=1,r=n.data;for(e-=r.length;n=n.next;){var a=n.data,s=e>a.length?a.length:e;if(s===a.length?r+=a:r+=a.slice(0,e),e-=s,e===0){s===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(s));break}++i}return t.length-=i,r}function N3(e,t){var n=os.allocUnsafe(e),i=t.head,r=1;for(i.data.copy(n),e-=i.data.length;i=i.next;){var a=i.data,s=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,s),e-=s,e===0){s===a.length?(++r,i.next?t.head=i.next:t.head=t.tail=null):(t.head=i,i.data=a.slice(s));break}++r}return t.length-=r,n}function of(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,ta.nextTick(L3,t,e))}function L3(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Vy(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}});var uf=b((aB,Qy)=>{"use strict";Qy.exports=On;var Lc=Bi(),Xy=Object.create(Jr());Xy.inherits=Xr();Xy.inherits(On,Lc);function I3(e,t){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(!i)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,t!=null&&this.push(t),i(e);var r=this._readableState;r.reading=!1,(r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}function On(e){if(!(this instanceof On))return new On(e);Lc.call(this,e),this._transformState={afterTransform:I3.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",q3)}function q3(){var e=this;typeof this._flush=="function"?this._flush(function(t,n){Jy(e,t,n)}):Jy(this,null,null)}On.prototype.push=function(e,t){return this._transformState.needTransform=!1,Lc.prototype.push.call(this,e,t)};On.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")};On.prototype._write=function(e,t,n){var i=this._transformState;if(i.writecb=n,i.writechunk=e,i.writeencoding=t,!i.transforming){var r=this._readableState;(i.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}};On.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};On.prototype._destroy=function(e,t){var n=this;Lc.prototype._destroy.call(this,e,function(i){t(i),n.emit("close")})};function Jy(e,t,n){if(t)return e.emit("error",t);if(n!=null&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}});var i1=b((sB,n1)=>{"use strict";n1.exports=cs;var e1=uf(),t1=Object.create(Jr());t1.inherits=Xr();t1.inherits(cs,e1);function cs(e){if(!(this instanceof cs))return new cs(e);e1.call(this,e)}cs.prototype._transform=function(e,t,n){n(null,e)}});var pf=b((at,Ic)=>{var hn=require("stream");process.env.READABLE_STREAM==="disable"&&hn?(Ic.exports=hn,at=Ic.exports=hn.Readable,at.Readable=hn.Readable,at.Writable=hn.Writable,at.Duplex=hn.Duplex,at.Transform=hn.Transform,at.PassThrough=hn.PassThrough,at.Stream=hn):(at=Ic.exports=Qp(),at.Stream=hn||at,at.Readable=at,at.Writable=Zp(),at.Duplex=Bi(),at.Transform=uf(),at.PassThrough=i1())});var kn=b(Lt=>{"use strict";Lt.base64=!0;Lt.array=!0;Lt.string=!0;Lt.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Lt.nodebuffer=typeof Buffer<"u";Lt.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Lt.blob=!1;else{ff=new ArrayBuffer(0);try{Lt.blob=new Blob([ff],{type:"application/zip"}).size===0}catch{try{r1=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,df=new r1,df.append(ff),Lt.blob=df.getBlob("application/zip").size===0}catch{Lt.blob=!1}}}var ff,r1,df;try{Lt.nodestream=!!pf().Readable}catch{Lt.nodestream=!1}});var mf=b(hf=>{"use strict";var P3=Ne(),B3=kn(),mn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";hf.encode=function(e){for(var t=[],n,i,r,a,s,o,c,u=0,l=e.length,p=l,f=P3.getTypeOf(e)!=="string";u<e.length;)p=l-u,f?(n=e[u++],i=u<l?e[u++]:0,r=u<l?e[u++]:0):(n=e.charCodeAt(u++),i=u<l?e.charCodeAt(u++):0,r=u<l?e.charCodeAt(u++):0),a=n>>2,s=(n&3)<<4|i>>4,o=p>1?(i&15)<<2|r>>6:64,c=p>2?r&63:64,t.push(mn.charAt(a)+mn.charAt(s)+mn.charAt(o)+mn.charAt(c));return t.join("")};hf.decode=function(e){var t,n,i,r,a,s,o,c=0,u=0,l="data:";if(e.substr(0,l.length)===l)throw new Error("Invalid base64 input, it looks like a data url.");e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");var p=e.length*3/4;if(e.charAt(e.length-1)===mn.charAt(64)&&p--,e.charAt(e.length-2)===mn.charAt(64)&&p--,p%1!==0)throw new Error("Invalid base64 input, bad content length.");var f;for(B3.uint8array?f=new Uint8Array(p|0):f=new Array(p|0);c<e.length;)r=mn.indexOf(e.charAt(c++)),a=mn.indexOf(e.charAt(c++)),s=mn.indexOf(e.charAt(c++)),o=mn.indexOf(e.charAt(c++)),t=r<<2|a>>4,n=(a&15)<<4|s>>2,i=(s&3)<<6|o,f[u++]=t,s!==64&&(f[u++]=n),o!==64&&(f[u++]=i);return f}});var ls=b((lB,a1)=>{"use strict";a1.exports={isNode:typeof Buffer<"u",newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}}});var o1=b((uB,s1)=>{"use strict";s1.exports=typeof setImmediate=="function"?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}});var p1=b((pB,u1)=>{"use strict";var c1=global.MutationObserver||global.WebKitMutationObserver,na;process.browser?c1?(gf=0,l1=new c1(us),vf=global.document.createTextNode(""),l1.observe(vf,{characterData:!0}),na=function(){vf.data=gf=++gf%2}):!global.setImmediate&&typeof global.MessageChannel<"u"?(bf=new global.MessageChannel,bf.port1.onmessage=us,na=function(){bf.port2.postMessage(0)}):"document"in global&&"onreadystatechange"in global.document.createElement("script")?na=function(){var e=global.document.createElement("script");e.onreadystatechange=function(){us(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},global.document.documentElement.appendChild(e)}:na=function(){setTimeout(us,0)}:na=function(){process.nextTick(us)};var gf,l1,vf,bf,xf,ps=[];function us(){xf=!0;for(var e,t,n=ps.length;n;){for(t=ps,ps=[],e=-1;++e<n;)t[e]();n=ps.length}xf=!1}u1.exports=F3;function F3(e){ps.push(e)===1&&!xf&&na()}});var b1=b((fB,v1)=>{"use strict";var f1=p1();function ia(){}var ut={},d1=["REJECTED"],yf=["FULFILLED"],h1=["PENDING"];process.browser||(fs=["UNHANDLED"]);var fs;v1.exports=Gn;function Gn(e){if(typeof e!="function")throw new TypeError("resolver must be a function");this.state=h1,this.queue=[],this.outcome=void 0,process.browser||(this.handled=fs),e!==ia&&m1(this,e)}Gn.prototype.finally=function(e){if(typeof e!="function")return this;var t=this.constructor;return this.then(n,i);function n(r){function a(){return r}return t.resolve(e()).then(a)}function i(r){function a(){throw r}return t.resolve(e()).then(a)}};Gn.prototype.catch=function(e){return this.then(null,e)};Gn.prototype.then=function(e,t){if(typeof e!="function"&&this.state===yf||typeof t!="function"&&this.state===d1)return this;var n=new this.constructor(ia);if(process.browser||this.handled===fs&&(this.handled=null),this.state!==h1){var i=this.state===yf?e:t;wf(n,i,this.outcome)}else this.queue.push(new ds(n,e,t));return n};function ds(e,t,n){this.promise=e,typeof t=="function"&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),typeof n=="function"&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}ds.prototype.callFulfilled=function(e){ut.resolve(this.promise,e)};ds.prototype.otherCallFulfilled=function(e){wf(this.promise,this.onFulfilled,e)};ds.prototype.callRejected=function(e){ut.reject(this.promise,e)};ds.prototype.otherCallRejected=function(e){wf(this.promise,this.onRejected,e)};function wf(e,t,n){f1(function(){var i;try{i=t(n)}catch(r){return ut.reject(e,r)}i===e?ut.reject(e,new TypeError("Cannot resolve promise with itself")):ut.resolve(e,i)})}ut.resolve=function(e,t){var n=g1(D3,t);if(n.status==="error")return ut.reject(e,n.value);var i=n.value;if(i)m1(e,i);else{e.state=yf,e.outcome=t;for(var r=-1,a=e.queue.length;++r<a;)e.queue[r].callFulfilled(t)}return e};ut.reject=function(e,t){e.state=d1,e.outcome=t,process.browser||e.handled===fs&&f1(function(){e.handled===fs&&process.emit("unhandledRejection",t,e)});for(var n=-1,i=e.queue.length;++n<i;)e.queue[n].callRejected(t);return e};function D3(e){var t=e&&e.then;if(e&&(typeof e=="object"||typeof e=="function")&&typeof t=="function")return function(){t.apply(e,arguments)}}function m1(e,t){var n=!1;function i(o){n||(n=!0,ut.reject(e,o))}function r(o){n||(n=!0,ut.resolve(e,o))}function a(){t(r,i)}var s=g1(a);s.status==="error"&&i(s.value)}function g1(e,t){var n={};try{n.value=e(t),n.status="success"}catch(i){n.status="error",n.value=i}return n}Gn.resolve=z3;function z3(e){return e instanceof this?e:ut.resolve(new this(ia),e)}Gn.reject=$3;function $3(e){var t=new this(ia);return ut.reject(t,e)}Gn.all=U3;function U3(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var r=new Array(n),a=0,s=-1,o=new this(ia);++s<n;)c(e[s],s);return o;function c(u,l){t.resolve(u).then(p,function(f){i||(i=!0,ut.reject(o,f))});function p(f){r[l]=f,++a===n&&!i&&(i=!0,ut.resolve(o,r))}}}Gn.race=W3;function W3(e){var t=this;if(Object.prototype.toString.call(e)!=="[object Array]")return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var r=-1,a=new this(ia);++r<n;)s(e[r]);return a;function s(o){t.resolve(o).then(function(c){i||(i=!0,ut.resolve(a,c))},function(c){i||(i=!0,ut.reject(a,c))})}}});var ra=b((dB,x1)=>{"use strict";var _f=null;typeof Promise<"u"?_f=Promise:_f=b1();x1.exports={Promise:_f}});var Ne=b(Ke=>{"use strict";var Vn=kn(),K3=mf(),aa=ls(),Y3=o1(),Sf=ra();function H3(e){var t=null;return Vn.uint8array?t=new Uint8Array(e.length):t=new Array(e.length),Pc(e,t)}Ke.newBlob=function(e,t){Ke.checkSupport("blob");try{return new Blob([e],{type:t})}catch{try{var n=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,i=new n;return i.append(e),i.getBlob(t)}catch{throw new Error("Bug : can't construct the Blob.")}}};function hs(e){return e}function Pc(e,t){for(var n=0;n<e.length;++n)t[n]=e.charCodeAt(n)&255;return t}var qc={stringifyByChunk:function(e,t,n){var i=[],r=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;r<a;)t==="array"||t==="nodebuffer"?i.push(String.fromCharCode.apply(null,e.slice(r,Math.min(r+n,a)))):i.push(String.fromCharCode.apply(null,e.subarray(r,Math.min(r+n,a)))),r+=n;return i.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return Vn.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return Vn.nodebuffer&&String.fromCharCode.apply(null,aa.allocBuffer(1)).length===1}catch{return!1}}()}};function ms(e){var t=65536,n=Ke.getTypeOf(e),i=!0;if(n==="uint8array"?i=qc.applyCanBeUsed.uint8array:n==="nodebuffer"&&(i=qc.applyCanBeUsed.nodebuffer),i)for(;t>1;)try{return qc.stringifyByChunk(e,n,t)}catch{t=Math.floor(t/2)}return qc.stringifyByChar(e)}Ke.applyFromCharCode=ms;function Bc(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var Zn={};Zn.string={string:hs,array:function(e){return Pc(e,new Array(e.length))},arraybuffer:function(e){return Zn.string.uint8array(e).buffer},uint8array:function(e){return Pc(e,new Uint8Array(e.length))},nodebuffer:function(e){return Pc(e,aa.allocBuffer(e.length))}};Zn.array={string:ms,array:hs,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return aa.newBufferFrom(e)}};Zn.arraybuffer={string:function(e){return ms(new Uint8Array(e))},array:function(e){return Bc(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:hs,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return aa.newBufferFrom(new Uint8Array(e))}};Zn.uint8array={string:ms,array:function(e){return Bc(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:hs,nodebuffer:function(e){return aa.newBufferFrom(e)}};Zn.nodebuffer={string:ms,array:function(e){return Bc(e,new Array(e.length))},arraybuffer:function(e){return Zn.nodebuffer.uint8array(e).buffer},uint8array:function(e){return Bc(e,new Uint8Array(e.length))},nodebuffer:hs};Ke.transformTo=function(e,t){if(t||(t=""),!e)return t;Ke.checkSupport(e);var n=Ke.getTypeOf(t),i=Zn[n][e](t);return i};Ke.getTypeOf=function(e){if(typeof e=="string")return"string";if(Object.prototype.toString.call(e)==="[object Array]")return"array";if(Vn.nodebuffer&&aa.isBuffer(e))return"nodebuffer";if(Vn.uint8array&&e instanceof Uint8Array)return"uint8array";if(Vn.arraybuffer&&e instanceof ArrayBuffer)return"arraybuffer"};Ke.checkSupport=function(e){var t=Vn[e.toLowerCase()];if(!t)throw new Error(e+" is not supported by this platform")};Ke.MAX_VALUE_16BITS=65535;Ke.MAX_VALUE_32BITS=-1;Ke.pretty=function(e){var t="",n,i;for(i=0;i<(e||"").length;i++)n=e.charCodeAt(i),t+="\\x"+(n<16?"0":"")+n.toString(16).toUpperCase();return t};Ke.delay=function(e,t,n){Y3(function(){e.apply(n||null,t||[])})};Ke.inherits=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n};Ke.extend=function(){var e={},t,n;for(t=0;t<arguments.length;t++)for(n in arguments[t])arguments[t].hasOwnProperty(n)&&typeof e[n]>"u"&&(e[n]=arguments[t][n]);return e};Ke.prepareContent=function(e,t,n,i,r){var a=Sf.Promise.resolve(t).then(function(s){var o=Vn.blob&&(s instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(s))!==-1);return o&&typeof FileReader<"u"?new Sf.Promise(function(c,u){var l=new FileReader;l.onload=function(p){c(p.target.result)},l.onerror=function(p){u(p.target.error)},l.readAsArrayBuffer(s)}):s});return a.then(function(s){var o=Ke.getTypeOf(s);return o?(o==="arraybuffer"?s=Ke.transformTo("uint8array",s):o==="string"&&(r?s=K3.decode(s):n&&i!==!0&&(s=H3(s))),s):Sf.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}});var It=b((mB,w1)=>{"use strict";function y1(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}y1.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return this.isFinished?!1:(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.end()}),e.on("error",function(n){t.error(n)}),this},pause:function(){return this.isPaused||this.isFinished?!1:(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)!this.extraStreamInfo.hasOwnProperty(e)||(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}};w1.exports=y1});var Di=b(Jn=>{"use strict";var sa=Ne(),Fi=kn(),G3=ls(),Fc=It(),gs=new Array(256);for(Cn=0;Cn<256;Cn++)gs[Cn]=Cn>=252?6:Cn>=248?5:Cn>=240?4:Cn>=224?3:Cn>=192?2:1;var Cn;gs[254]=gs[254]=1;var V3=function(e){var t,n,i,r,a,s=e.length,o=0;for(r=0;r<s;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),o+=n<128?1:n<2048?2:n<65536?3:4;for(Fi.uint8array?t=new Uint8Array(o):t=new Array(o),a=0,r=0;a<o;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|n&63):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|n&63):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|n&63);return t},Z3=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+gs[e[n]]>t?n:t},J3=function(e){var t,n,i,r,a,s=e.length,o=new Array(s*2);for(i=0,n=0;n<s;){if(r=e[n++],r<128){o[i++]=r;continue}if(a=gs[r],a>4){o[i++]=65533,n+=a-1;continue}for(r&=a===2?31:a===3?15:7;a>1&&n<s;)r=r<<6|e[n++]&63,a--;if(a>1){o[i++]=65533;continue}r<65536?o[i++]=r:(r-=65536,o[i++]=55296|r>>10&1023,o[i++]=56320|r&1023)}return o.length!==i&&(o.subarray?o=o.subarray(0,i):o.length=i),sa.applyFromCharCode(o)};Jn.utf8encode=function(t){return Fi.nodebuffer?G3.newBufferFrom(t,"utf-8"):V3(t)};Jn.utf8decode=function(t){return Fi.nodebuffer?sa.transformTo("nodebuffer",t).toString("utf-8"):(t=sa.transformTo(Fi.uint8array?"uint8array":"array",t),J3(t))};function Dc(){Fc.call(this,"utf-8 decode"),this.leftOver=null}sa.inherits(Dc,Fc);Dc.prototype.processChunk=function(e){var t=sa.transformTo(Fi.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(Fi.uint8array){var n=t;t=new Uint8Array(n.length+this.leftOver.length),t.set(this.leftOver,0),t.set(n,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var i=Z3(t),r=t;i!==t.length&&(Fi.uint8array?(r=t.subarray(0,i),this.leftOver=t.subarray(i,t.length)):(r=t.slice(0,i),this.leftOver=t.slice(i,t.length))),this.push({data:Jn.utf8decode(r),meta:e.meta})};Dc.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:Jn.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)};Jn.Utf8DecodeWorker=Dc;function Ef(){Fc.call(this,"utf-8 encode")}sa.inherits(Ef,Fc);Ef.prototype.processChunk=function(e){this.push({data:Jn.utf8encode(e.data),meta:e.meta})};Jn.Utf8EncodeWorker=Ef});var O1=b((vB,E1)=>{"use strict";var _1=It(),S1=Ne();function Of(e){_1.call(this,"ConvertWorker to "+e),this.destType=e}S1.inherits(Of,_1);Of.prototype.processChunk=function(e){this.push({data:S1.transformTo(this.destType,e.data),meta:e.meta})};E1.exports=Of});var A1=b((bB,C1)=>{"use strict";var k1=pf().Readable,X3=Ne();X3.inherits(kf,k1);function kf(e,t,n){k1.call(this,t),this._helper=e;var i=this;e.on("data",function(r,a){i.push(r)||i._helper.pause(),n&&n(a)}).on("error",function(r){i.emit("error",r)}).on("end",function(){i.push(null)})}kf.prototype._read=function(){this._helper.resume()};C1.exports=kf});var Cf=b((xB,M1)=>{"use strict";var zi=Ne(),Q3=O1(),ej=It(),tj=mf(),nj=kn(),ij=ra(),T1=null;if(nj.nodestream)try{T1=A1()}catch{}function rj(e,t,n){switch(e){case"blob":return zi.newBlob(zi.transformTo("arraybuffer",t),n);case"base64":return tj.encode(t);default:return zi.transformTo(e,t)}}function aj(e,t){var n,i=0,r=null,a=0;for(n=0;n<t.length;n++)a+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(r=new Uint8Array(a),n=0;n<t.length;n++)r.set(t[n],i),i+=t[n].length;return r;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}function sj(e,t){return new ij.Promise(function(n,i){var r=[],a=e._internalType,s=e._outputType,o=e._mimeType;e.on("data",function(c,u){r.push(c),t&&t(u)}).on("error",function(c){r=[],i(c)}).on("end",function(){try{var c=rj(s,aj(a,r),o);n(c)}catch(u){i(u)}r=[]}).resume()})}function j1(e,t,n){var i=t;switch(t){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string";break}try{this._internalType=i,this._outputType=t,this._mimeType=n,zi.checkSupport(i),this._worker=e.pipe(new Q3(i)),e.lock()}catch(r){this._worker=new ej("error"),this._worker.error(r)}}j1.prototype={accumulate:function(e){return sj(this,e)},on:function(e,t){var n=this;return e==="data"?this._worker.on(e,function(i){t.call(n,i.data,i.meta)}):this._worker.on(e,function(){zi.delay(t,arguments,n)}),this},resume:function(){return zi.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(zi.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new T1(this,{objectMode:this._outputType!=="nodebuffer"},e)}};M1.exports=j1});var Af=b(tn=>{"use strict";tn.base64=!1;tn.binary=!1;tn.dir=!1;tn.createFolders=!0;tn.date=null;tn.compression=null;tn.compressionOptions=null;tn.comment=null;tn.unixPermissions=null;tn.dosPermissions=null});var Tf=b((wB,R1)=>{"use strict";var zc=Ne(),$c=It(),oj=16*1024;function oa(e){$c.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(n){t.dataIsReady=!0,t.data=n,t.max=n&&n.length||0,t.type=zc.getTypeOf(n),t.isPaused||t._tickAndRepeat()},function(n){t.error(n)})}zc.inherits(oa,$c);oa.prototype.cleanUp=function(){$c.prototype.cleanUp.call(this),this.data=null};oa.prototype.resume=function(){return $c.prototype.resume.call(this)?(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,zc.delay(this._tickAndRepeat,[],this)),!0):!1};oa.prototype._tickAndRepeat=function(){this._tickScheduled=!1,!(this.isPaused||this.isFinished)&&(this._tick(),this.isFinished||(zc.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))};oa.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=oj,t=null,n=Math.min(this.max,this.index+e);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,n);break;case"uint8array":t=this.data.subarray(this.index,n);break;case"array":case"nodebuffer":t=this.data.slice(this.index,n);break}return this.index=n,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})};R1.exports=oa});var Uc=b((_B,L1)=>{"use strict";var cj=Ne();function lj(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var N1=lj();function uj(e,t,n,i){var r=N1,a=i+n;e=e^-1;for(var s=i;s<a;s++)e=e>>>8^r[(e^t[s])&255];return e^-1}function pj(e,t,n,i){var r=N1,a=i+n;e=e^-1;for(var s=i;s<a;s++)e=e>>>8^r[(e^t.charCodeAt(s))&255];return e^-1}L1.exports=function(t,n){if(typeof t>"u"||!t.length)return 0;var i=cj.getTypeOf(t)!=="string";return i?uj(n|0,t,t.length,0):pj(n|0,t,t.length,0)}});var Mf=b((SB,q1)=>{"use strict";var I1=It(),fj=Uc(),dj=Ne();function jf(){I1.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}dj.inherits(jf,I1);jf.prototype.processChunk=function(e){this.streamInfo.crc32=fj(e.data,this.streamInfo.crc32||0),this.push(e)};q1.exports=jf});var B1=b((EB,P1)=>{"use strict";var hj=Ne(),Rf=It();function Nf(e){Rf.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}hj.inherits(Nf,Rf);Nf.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}Rf.prototype.processChunk.call(this,e)};P1.exports=Nf});var Wc=b((OB,z1)=>{"use strict";var F1=ra(),D1=Tf(),mj=Mf(),Lf=B1();function If(e,t,n,i,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=i,this.compressedContent=r}If.prototype={getContentWorker:function(){var e=new D1(F1.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Lf("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new D1(F1.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};If.createWorkerFrom=function(e,t,n){return e.pipe(new mj).pipe(new Lf("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new Lf("compressedSize")).withStreamInfo("compression",t)};z1.exports=If});var K1=b((kB,W1)=>{"use strict";var gj=Cf(),vj=Tf(),qf=Di(),Pf=Wc(),$1=It(),Bf=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};Bf.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");n=e.toLowerCase();var i=n==="string"||n==="text";(n==="binarystring"||n==="text")&&(n="string"),t=this._decompressWorker();var r=!this._dataBinary;r&&!i&&(t=t.pipe(new qf.Utf8EncodeWorker)),!r&&i&&(t=t.pipe(new qf.Utf8DecodeWorker))}catch(a){t=new $1("error"),t.error(a)}return new gj(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof Pf&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new qf.Utf8EncodeWorker)),Pf.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof Pf?this._data.getContentWorker():this._data instanceof $1?this._data:new vj(this._data)}};var U1=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],bj=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(Kc=0;Kc<U1.length;Kc++)Bf.prototype[U1[Kc]]=bj;var Kc;W1.exports=Bf});var An=b(bt=>{"use strict";var xj=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function yj(e,t){return Object.prototype.hasOwnProperty.call(e,t)}bt.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(!!n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(var i in n)yj(n,i)&&(e[i]=n[i])}}return e};bt.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var wj={arraySet:function(e,t,n,i,r){if(t.subarray&&e.subarray){e.set(t.subarray(n,n+i),r);return}for(var a=0;a<i;a++)e[r+a]=t[n+a]},flattenChunks:function(e){var t,n,i,r,a,s;for(i=0,t=0,n=e.length;t<n;t++)i+=e[t].length;for(s=new Uint8Array(i),r=0,t=0,n=e.length;t<n;t++)a=e[t],s.set(a,r),r+=a.length;return s}},_j={arraySet:function(e,t,n,i,r){for(var a=0;a<i;a++)e[r+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};bt.setTyped=function(e){e?(bt.Buf8=Uint8Array,bt.Buf16=Uint16Array,bt.Buf32=Int32Array,bt.assign(bt,wj)):(bt.Buf8=Array,bt.Buf16=Array,bt.Buf32=Array,bt.assign(bt,_j))};bt.setTyped(xj)});var hw=b(ua=>{"use strict";var Sj=An(),Ej=4,Y1=0,H1=1,Oj=2;function la(e){for(var t=e.length;--t>=0;)e[t]=0}var kj=0,Q1=1,Cj=2,Aj=3,Tj=258,Kf=29,_s=256,bs=_s+1+Kf,ca=30,Yf=19,ew=2*bs+1,$i=15,Ff=16,jj=7,Hf=256,tw=16,nw=17,iw=18,Uf=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Yc=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Mj=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],rw=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Rj=512,Tn=new Array((bs+2)*2);la(Tn);var vs=new Array(ca*2);la(vs);var xs=new Array(Rj);la(xs);var ys=new Array(Tj-Aj+1);la(ys);var Gf=new Array(Kf);la(Gf);var Hc=new Array(ca);la(Hc);function Df(e,t,n,i,r){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=e&&e.length}var aw,sw,ow;function zf(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function cw(e){return e<256?xs[e]:xs[256+(e>>>7)]}function ws(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function St(e,t,n){e.bi_valid>Ff-n?(e.bi_buf|=t<<e.bi_valid&65535,ws(e,e.bi_buf),e.bi_buf=t>>Ff-e.bi_valid,e.bi_valid+=n-Ff):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function gn(e,t,n){St(e,n[t*2],n[t*2+1])}function lw(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function Nj(e){e.bi_valid===16?(ws(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function Lj(e,t){var n=t.dyn_tree,i=t.max_code,r=t.stat_desc.static_tree,a=t.stat_desc.has_stree,s=t.stat_desc.extra_bits,o=t.stat_desc.extra_base,c=t.stat_desc.max_length,u,l,p,f,m,v,g=0;for(f=0;f<=$i;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;u<ew;u++)l=e.heap[u],f=n[n[l*2+1]*2+1]+1,f>c&&(f=c,g++),n[l*2+1]=f,!(l>i)&&(e.bl_count[f]++,m=0,l>=o&&(m=s[l-o]),v=n[l*2],e.opt_len+=v*(f+m),a&&(e.static_len+=v*(r[l*2+1]+m)));if(g!==0){do{for(f=c-1;e.bl_count[f]===0;)f--;e.bl_count[f]--,e.bl_count[f+1]+=2,e.bl_count[c]--,g-=2}while(g>0);for(f=c;f!==0;f--)for(l=e.bl_count[f];l!==0;)p=e.heap[--u],!(p>i)&&(n[p*2+1]!==f&&(e.opt_len+=(f-n[p*2+1])*n[p*2],n[p*2+1]=f),l--)}}function uw(e,t,n){var i=new Array($i+1),r=0,a,s;for(a=1;a<=$i;a++)i[a]=r=r+n[a-1]<<1;for(s=0;s<=t;s++){var o=e[s*2+1];o!==0&&(e[s*2]=lw(i[o]++,o))}}function Ij(){var e,t,n,i,r,a=new Array($i+1);for(n=0,i=0;i<Kf-1;i++)for(Gf[i]=n,e=0;e<1<<Uf[i];e++)ys[n++]=i;for(ys[n-1]=i,r=0,i=0;i<16;i++)for(Hc[i]=r,e=0;e<1<<Yc[i];e++)xs[r++]=i;for(r>>=7;i<ca;i++)for(Hc[i]=r<<7,e=0;e<1<<Yc[i]-7;e++)xs[256+r++]=i;for(t=0;t<=$i;t++)a[t]=0;for(e=0;e<=143;)Tn[e*2+1]=8,e++,a[8]++;for(;e<=255;)Tn[e*2+1]=9,e++,a[9]++;for(;e<=279;)Tn[e*2+1]=7,e++,a[7]++;for(;e<=287;)Tn[e*2+1]=8,e++,a[8]++;for(uw(Tn,bs+1,a),e=0;e<ca;e++)vs[e*2+1]=5,vs[e*2]=lw(e,5);aw=new Df(Tn,Uf,_s+1,bs,$i),sw=new Df(vs,Yc,0,ca,$i),ow=new Df(new Array(0),Mj,0,Yf,jj)}function pw(e){var t;for(t=0;t<bs;t++)e.dyn_ltree[t*2]=0;for(t=0;t<ca;t++)e.dyn_dtree[t*2]=0;for(t=0;t<Yf;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Hf*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function fw(e){e.bi_valid>8?ws(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function qj(e,t,n,i){fw(e),i&&(ws(e,n),ws(e,~n)),Sj.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function G1(e,t,n,i){var r=t*2,a=n*2;return e[r]<e[a]||e[r]===e[a]&&i[t]<=i[n]}function $f(e,t,n){for(var i=e.heap[n],r=n<<1;r<=e.heap_len&&(r<e.heap_len&&G1(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!G1(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function V1(e,t,n){var i,r,a=0,s,o;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],r=e.pending_buf[e.l_buf+a],a++,i===0?gn(e,r,t):(s=ys[r],gn(e,s+_s+1,t),o=Uf[s],o!==0&&(r-=Gf[s],St(e,r,o)),i--,s=cw(i),gn(e,s,n),o=Yc[s],o!==0&&(i-=Hc[s],St(e,i,o)));while(a<e.last_lit);gn(e,Hf,t)}function Wf(e,t){var n=t.dyn_tree,i=t.stat_desc.static_tree,r=t.stat_desc.has_stree,a=t.stat_desc.elems,s,o,c=-1,u;for(e.heap_len=0,e.heap_max=ew,s=0;s<a;s++)n[s*2]!==0?(e.heap[++e.heap_len]=c=s,e.depth[s]=0):n[s*2+1]=0;for(;e.heap_len<2;)u=e.heap[++e.heap_len]=c<2?++c:0,n[u*2]=1,e.depth[u]=0,e.opt_len--,r&&(e.static_len-=i[u*2+1]);for(t.max_code=c,s=e.heap_len>>1;s>=1;s--)$f(e,n,s);u=a;do s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],$f(e,n,1),o=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=o,n[u*2]=n[s*2]+n[o*2],e.depth[u]=(e.depth[s]>=e.depth[o]?e.depth[s]:e.depth[o])+1,n[s*2+1]=n[o*2+1]=u,e.heap[1]=u++,$f(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Lj(e,t),uw(n,c,e.bl_count)}function Z1(e,t,n){var i,r=-1,a,s=t[0*2+1],o=0,c=7,u=4;for(s===0&&(c=138,u=3),t[(n+1)*2+1]=65535,i=0;i<=n;i++)a=s,s=t[(i+1)*2+1],!(++o<c&&a===s)&&(o<u?e.bl_tree[a*2]+=o:a!==0?(a!==r&&e.bl_tree[a*2]++,e.bl_tree[tw*2]++):o<=10?e.bl_tree[nw*2]++:e.bl_tree[iw*2]++,o=0,r=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4))}function J1(e,t,n){var i,r=-1,a,s=t[0*2+1],o=0,c=7,u=4;for(s===0&&(c=138,u=3),i=0;i<=n;i++)if(a=s,s=t[(i+1)*2+1],!(++o<c&&a===s)){if(o<u)do gn(e,a,e.bl_tree);while(--o!==0);else a!==0?(a!==r&&(gn(e,a,e.bl_tree),o--),gn(e,tw,e.bl_tree),St(e,o-3,2)):o<=10?(gn(e,nw,e.bl_tree),St(e,o-3,3)):(gn(e,iw,e.bl_tree),St(e,o-11,7));o=0,r=a,s===0?(c=138,u=3):a===s?(c=6,u=3):(c=7,u=4)}}function Pj(e){var t;for(Z1(e,e.dyn_ltree,e.l_desc.max_code),Z1(e,e.dyn_dtree,e.d_desc.max_code),Wf(e,e.bl_desc),t=Yf-1;t>=3&&e.bl_tree[rw[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function Bj(e,t,n,i){var r;for(St(e,t-257,5),St(e,n-1,5),St(e,i-4,4),r=0;r<i;r++)St(e,e.bl_tree[rw[r]*2+1],3);J1(e,e.dyn_ltree,t-1),J1(e,e.dyn_dtree,n-1)}function Fj(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return Y1;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return H1;for(n=32;n<_s;n++)if(e.dyn_ltree[n*2]!==0)return H1;return Y1}var X1=!1;function Dj(e){X1||(Ij(),X1=!0),e.l_desc=new zf(e.dyn_ltree,aw),e.d_desc=new zf(e.dyn_dtree,sw),e.bl_desc=new zf(e.bl_tree,ow),e.bi_buf=0,e.bi_valid=0,pw(e)}function dw(e,t,n,i){St(e,(kj<<1)+(i?1:0),3),qj(e,t,n,!0)}function zj(e){St(e,Q1<<1,3),gn(e,Hf,Tn),Nj(e)}function $j(e,t,n,i){var r,a,s=0;e.level>0?(e.strm.data_type===Oj&&(e.strm.data_type=Fj(e)),Wf(e,e.l_desc),Wf(e,e.d_desc),s=Pj(e),r=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=r&&(r=a)):r=a=n+5,n+4<=r&&t!==-1?dw(e,t,n,i):e.strategy===Ej||a===r?(St(e,(Q1<<1)+(i?1:0),3),V1(e,Tn,vs)):(St(e,(Cj<<1)+(i?1:0),3),Bj(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),V1(e,e.dyn_ltree,e.dyn_dtree)),pw(e),i&&fw(e)}function Uj(e,t,n){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=n&255,e.last_lit++,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(ys[n]+_s+1)*2]++,e.dyn_dtree[cw(t)*2]++),e.last_lit===e.lit_bufsize-1}ua._tr_init=Dj;ua._tr_stored_block=dw;ua._tr_flush_block=$j;ua._tr_tally=Uj;ua._tr_align=zj});var Vf=b((TB,mw)=>{"use strict";function Wj(e,t,n,i){for(var r=e&65535|0,a=e>>>16&65535|0,s=0;n!==0;){s=n>2e3?2e3:n,n-=s;do r=r+t[i++]|0,a=a+r|0;while(--s);r%=65521,a%=65521}return r|a<<16|0}mw.exports=Wj});var Zf=b((jB,gw)=>{"use strict";function Kj(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var Yj=Kj();function Hj(e,t,n,i){var r=Yj,a=i+n;e^=-1;for(var s=i;s<a;s++)e=e>>>8^r[(e^t[s])&255];return e^-1}gw.exports=Hj});var Gc=b((MB,vw)=>{"use strict";vw.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var kw=b(xn=>{"use strict";var xt=An(),Ht=hw(),ww=Vf(),Xn=Zf(),Gj=Gc(),Yi=0,Vj=1,Zj=3,ii=4,bw=5,bn=0,xw=1,Gt=-2,Jj=-3,Jf=-5,Xj=-1,Qj=1,Vc=2,eM=3,tM=4,nM=0,iM=2,Qc=8,rM=9,aM=15,sM=8,oM=29,cM=256,Qf=cM+1+oM,lM=30,uM=19,pM=2*Qf+1,fM=15,pe=3,ti=258,nn=ti+pe+1,dM=32,el=42,ed=69,Zc=73,Jc=91,Xc=103,Ui=113,Es=666,Ye=1,Os=2,Wi=3,da=4,hM=3;function ni(e,t){return e.msg=Gj[t],t}function yw(e){return(e<<1)-(e>4?9:0)}function ei(e){for(var t=e.length;--t>=0;)e[t]=0}function Qn(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(xt.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function st(e,t){Ht._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Qn(e.strm)}function ge(e,t){e.pending_buf[e.pending++]=t}function Ss(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function mM(e,t,n,i){var r=e.avail_in;return r>i&&(r=i),r===0?0:(e.avail_in-=r,xt.arraySet(t,e.input,e.next_in,r,n),e.state.wrap===1?e.adler=ww(e.adler,t,r,n):e.state.wrap===2&&(e.adler=Xn(e.adler,t,r,n)),e.next_in+=r,e.total_in+=r,r)}function _w(e,t){var n=e.max_chain_length,i=e.strstart,r,a,s=e.prev_length,o=e.nice_match,c=e.strstart>e.w_size-nn?e.strstart-(e.w_size-nn):0,u=e.window,l=e.w_mask,p=e.prev,f=e.strstart+ti,m=u[i+s-1],v=u[i+s];e.prev_length>=e.good_match&&(n>>=2),o>e.lookahead&&(o=e.lookahead);do if(r=t,!(u[r+s]!==v||u[r+s-1]!==m||u[r]!==u[i]||u[++r]!==u[i+1])){i+=2,r++;do;while(u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&i<f);if(a=ti-(f-i),i=f-ti,a>s){if(e.match_start=t,s=a,a>=o)break;m=u[i+s-1],v=u[i+s]}}while((t=p[t&l])>c&&--n!==0);return s<=e.lookahead?s:e.lookahead}function Ki(e){var t=e.w_size,n,i,r,a,s;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-nn)){xt.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,n=i;do r=e.head[--n],e.head[n]=r>=t?r-t:0;while(--i);i=t,n=i;do r=e.prev[--n],e.prev[n]=r>=t?r-t:0;while(--i);a+=t}if(e.strm.avail_in===0)break;if(i=mM(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=i,e.lookahead+e.insert>=pe)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+pe-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<pe)););}while(e.lookahead<nn&&e.strm.avail_in!==0)}function gM(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Ki(e),e.lookahead===0&&t===Yi)return Ye;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,st(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-nn&&(st(e,!1),e.strm.avail_out===0))return Ye}return e.insert=0,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):(e.strstart>e.block_start&&(st(e,!1),e.strm.avail_out===0),Ye)}function Xf(e,t){for(var n,i;;){if(e.lookahead<nn){if(Ki(e),e.lookahead<nn&&t===Yi)return Ye;if(e.lookahead===0)break}if(n=0,e.lookahead>=pe&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+pe-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-nn&&(e.match_length=_w(e,n)),e.match_length>=pe)if(i=Ht._tr_tally(e,e.strstart-e.match_start,e.match_length-pe),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=pe){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+pe-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=Ht._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(st(e,!1),e.strm.avail_out===0))return Ye}return e.insert=e.strstart<pe-1?e.strstart:pe-1,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):e.last_lit&&(st(e,!1),e.strm.avail_out===0)?Ye:Os}function pa(e,t){for(var n,i,r;;){if(e.lookahead<nn){if(Ki(e),e.lookahead<nn&&t===Yi)return Ye;if(e.lookahead===0)break}if(n=0,e.lookahead>=pe&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+pe-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=pe-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-nn&&(e.match_length=_w(e,n),e.match_length<=5&&(e.strategy===Qj||e.match_length===pe&&e.strstart-e.match_start>4096)&&(e.match_length=pe-1)),e.prev_length>=pe&&e.match_length<=e.prev_length){r=e.strstart+e.lookahead-pe,i=Ht._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-pe),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=r&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+pe-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=pe-1,e.strstart++,i&&(st(e,!1),e.strm.avail_out===0))return Ye}else if(e.match_available){if(i=Ht._tr_tally(e,0,e.window[e.strstart-1]),i&&st(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Ye}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=Ht._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<pe-1?e.strstart:pe-1,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):e.last_lit&&(st(e,!1),e.strm.avail_out===0)?Ye:Os}function vM(e,t){for(var n,i,r,a,s=e.window;;){if(e.lookahead<=ti){if(Ki(e),e.lookahead<=ti&&t===Yi)return Ye;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=pe&&e.strstart>0&&(r=e.strstart-1,i=s[r],i===s[++r]&&i===s[++r]&&i===s[++r])){a=e.strstart+ti;do;while(i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&r<a);e.match_length=ti-(a-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=pe?(n=Ht._tr_tally(e,1,e.match_length-pe),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Ht._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(st(e,!1),e.strm.avail_out===0))return Ye}return e.insert=0,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):e.last_lit&&(st(e,!1),e.strm.avail_out===0)?Ye:Os}function bM(e,t){for(var n;;){if(e.lookahead===0&&(Ki(e),e.lookahead===0)){if(t===Yi)return Ye;break}if(e.match_length=0,n=Ht._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(st(e,!1),e.strm.avail_out===0))return Ye}return e.insert=0,t===ii?(st(e,!0),e.strm.avail_out===0?Wi:da):e.last_lit&&(st(e,!1),e.strm.avail_out===0)?Ye:Os}function vn(e,t,n,i,r){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=r}var fa;fa=[new vn(0,0,0,0,gM),new vn(4,4,8,4,Xf),new vn(4,5,16,8,Xf),new vn(4,6,32,32,Xf),new vn(4,4,16,16,pa),new vn(8,16,32,32,pa),new vn(8,16,128,128,pa),new vn(8,32,128,256,pa),new vn(32,128,258,1024,pa),new vn(32,258,258,4096,pa)];function xM(e){e.window_size=2*e.w_size,ei(e.head),e.max_lazy_match=fa[e.level].max_lazy,e.good_match=fa[e.level].good_length,e.nice_match=fa[e.level].nice_length,e.max_chain_length=fa[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=pe-1,e.match_available=0,e.ins_h=0}function yM(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Qc,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new xt.Buf16(pM*2),this.dyn_dtree=new xt.Buf16((2*lM+1)*2),this.bl_tree=new xt.Buf16((2*uM+1)*2),ei(this.dyn_ltree),ei(this.dyn_dtree),ei(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new xt.Buf16(fM+1),this.heap=new xt.Buf16(2*Qf+1),ei(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new xt.Buf16(2*Qf+1),ei(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Sw(e){var t;return!e||!e.state?ni(e,Gt):(e.total_in=e.total_out=0,e.data_type=iM,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?el:Ui,e.adler=t.wrap===2?0:1,t.last_flush=Yi,Ht._tr_init(t),bn)}function Ew(e){var t=Sw(e);return t===bn&&xM(e.state),t}function wM(e,t){return!e||!e.state||e.state.wrap!==2?Gt:(e.state.gzhead=t,bn)}function Ow(e,t,n,i,r,a){if(!e)return Gt;var s=1;if(t===Xj&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),r<1||r>rM||n!==Qc||i<8||i>15||t<0||t>9||a<0||a>tM)return ni(e,Gt);i===8&&(i=9);var o=new yM;return e.state=o,o.strm=e,o.wrap=s,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=r+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+pe-1)/pe),o.window=new xt.Buf8(o.w_size*2),o.head=new xt.Buf16(o.hash_size),o.prev=new xt.Buf16(o.w_size),o.lit_bufsize=1<<r+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new xt.Buf8(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=(1+2)*o.lit_bufsize,o.level=t,o.strategy=a,o.method=n,Ew(e)}function _M(e,t){return Ow(e,t,Qc,aM,sM,nM)}function SM(e,t){var n,i,r,a;if(!e||!e.state||t>bw||t<0)return e?ni(e,Gt):Gt;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===Es&&t!==ii)return ni(e,e.avail_out===0?Jf:Gt);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===el)if(i.wrap===2)e.adler=0,ge(i,31),ge(i,139),ge(i,8),i.gzhead?(ge(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ge(i,i.gzhead.time&255),ge(i,i.gzhead.time>>8&255),ge(i,i.gzhead.time>>16&255),ge(i,i.gzhead.time>>24&255),ge(i,i.level===9?2:i.strategy>=Vc||i.level<2?4:0),ge(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(ge(i,i.gzhead.extra.length&255),ge(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Xn(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=ed):(ge(i,0),ge(i,0),ge(i,0),ge(i,0),ge(i,0),ge(i,i.level===9?2:i.strategy>=Vc||i.level<2?4:0),ge(i,hM),i.status=Ui);else{var s=Qc+(i.w_bits-8<<4)<<8,o=-1;i.strategy>=Vc||i.level<2?o=0:i.level<6?o=1:i.level===6?o=2:o=3,s|=o<<6,i.strstart!==0&&(s|=dM),s+=31-s%31,i.status=Ui,Ss(i,s),i.strstart!==0&&(Ss(i,e.adler>>>16),Ss(i,e.adler&65535)),e.adler=1}if(i.status===ed)if(i.gzhead.extra){for(r=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),Qn(e),r=i.pending,i.pending===i.pending_buf_size));)ge(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Zc)}else i.status=Zc;if(i.status===Zc)if(i.gzhead.name){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),Qn(e),r=i.pending,i.pending===i.pending_buf_size)){a=1;break}i.gzindex<i.gzhead.name.length?a=i.gzhead.name.charCodeAt(i.gzindex++)&255:a=0,ge(i,a)}while(a!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),a===0&&(i.gzindex=0,i.status=Jc)}else i.status=Jc;if(i.status===Jc)if(i.gzhead.comment){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),Qn(e),r=i.pending,i.pending===i.pending_buf_size)){a=1;break}i.gzindex<i.gzhead.comment.length?a=i.gzhead.comment.charCodeAt(i.gzindex++)&255:a=0,ge(i,a)}while(a!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Xn(e.adler,i.pending_buf,i.pending-r,r)),a===0&&(i.status=Xc)}else i.status=Xc;if(i.status===Xc&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&Qn(e),i.pending+2<=i.pending_buf_size&&(ge(i,e.adler&255),ge(i,e.adler>>8&255),e.adler=0,i.status=Ui)):i.status=Ui),i.pending!==0){if(Qn(e),e.avail_out===0)return i.last_flush=-1,bn}else if(e.avail_in===0&&yw(t)<=yw(n)&&t!==ii)return ni(e,Jf);if(i.status===Es&&e.avail_in!==0)return ni(e,Jf);if(e.avail_in!==0||i.lookahead!==0||t!==Yi&&i.status!==Es){var c=i.strategy===Vc?bM(i,t):i.strategy===eM?vM(i,t):fa[i.level].func(i,t);if((c===Wi||c===da)&&(i.status=Es),c===Ye||c===Wi)return e.avail_out===0&&(i.last_flush=-1),bn;if(c===Os&&(t===Vj?Ht._tr_align(i):t!==bw&&(Ht._tr_stored_block(i,0,0,!1),t===Zj&&(ei(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),Qn(e),e.avail_out===0))return i.last_flush=-1,bn}return t!==ii?bn:i.wrap<=0?xw:(i.wrap===2?(ge(i,e.adler&255),ge(i,e.adler>>8&255),ge(i,e.adler>>16&255),ge(i,e.adler>>24&255),ge(i,e.total_in&255),ge(i,e.total_in>>8&255),ge(i,e.total_in>>16&255),ge(i,e.total_in>>24&255)):(Ss(i,e.adler>>>16),Ss(i,e.adler&65535)),Qn(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?bn:xw)}function EM(e){var t;return!e||!e.state?Gt:(t=e.state.status,t!==el&&t!==ed&&t!==Zc&&t!==Jc&&t!==Xc&&t!==Ui&&t!==Es?ni(e,Gt):(e.state=null,t===Ui?ni(e,Jj):bn))}function OM(e,t){var n=t.length,i,r,a,s,o,c,u,l;if(!e||!e.state||(i=e.state,s=i.wrap,s===2||s===1&&i.status!==el||i.lookahead))return Gt;for(s===1&&(e.adler=ww(e.adler,t,n,0)),i.wrap=0,n>=i.w_size&&(s===0&&(ei(i.head),i.strstart=0,i.block_start=0,i.insert=0),l=new xt.Buf8(i.w_size),xt.arraySet(l,t,n-i.w_size,i.w_size,0),t=l,n=i.w_size),o=e.avail_in,c=e.next_in,u=e.input,e.avail_in=n,e.next_in=0,e.input=t,Ki(i);i.lookahead>=pe;){r=i.strstart,a=i.lookahead-(pe-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[r+pe-1])&i.hash_mask,i.prev[r&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=r,r++;while(--a);i.strstart=r,i.lookahead=pe-1,Ki(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=pe-1,i.match_available=0,e.next_in=c,e.input=u,e.avail_in=o,i.wrap=s,bn}xn.deflateInit=_M;xn.deflateInit2=Ow;xn.deflateReset=Ew;xn.deflateResetKeep=Sw;xn.deflateSetHeader=wM;xn.deflate=SM;xn.deflateEnd=EM;xn.deflateSetDictionary=OM;xn.deflateInfo="pako deflate (from Nodeca project)"});var td=b(ha=>{"use strict";var tl=An(),Cw=!0,Aw=!0;try{String.fromCharCode.apply(null,[0])}catch{Cw=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{Aw=!1}var ks=new tl.Buf8(256);for(jn=0;jn<256;jn++)ks[jn]=jn>=252?6:jn>=248?5:jn>=240?4:jn>=224?3:jn>=192?2:1;var jn;ks[254]=ks[254]=1;ha.string2buf=function(e){var t,n,i,r,a,s=e.length,o=0;for(r=0;r<s;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),o+=n<128?1:n<2048?2:n<65536?3:4;for(t=new tl.Buf8(o),a=0,r=0;a<o;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<s&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|n&63):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|n&63):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|n&63);return t};function Tw(e,t){if(t<65534&&(e.subarray&&Aw||!e.subarray&&Cw))return String.fromCharCode.apply(null,tl.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}ha.buf2binstring=function(e){return Tw(e,e.length)};ha.binstring2buf=function(e){for(var t=new tl.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t};ha.buf2string=function(e,t){var n,i,r,a,s=t||e.length,o=new Array(s*2);for(i=0,n=0;n<s;){if(r=e[n++],r<128){o[i++]=r;continue}if(a=ks[r],a>4){o[i++]=65533,n+=a-1;continue}for(r&=a===2?31:a===3?15:7;a>1&&n<s;)r=r<<6|e[n++]&63,a--;if(a>1){o[i++]=65533;continue}r<65536?o[i++]=r:(r-=65536,o[i++]=55296|r>>10&1023,o[i++]=56320|r&1023)}return Tw(o,i)};ha.utf8border=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+ks[e[n]]>t?n:t}});var nd=b((LB,jw)=>{"use strict";function kM(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}jw.exports=kM});var Lw=b(Ts=>{"use strict";var Cs=kw(),As=An(),rd=td(),ad=Gc(),CM=nd(),Nw=Object.prototype.toString,AM=0,id=4,ma=0,Mw=1,Rw=2,TM=-1,jM=0,MM=8;function Hi(e){if(!(this instanceof Hi))return new Hi(e);this.options=As.assign({level:TM,method:MM,chunkSize:16384,windowBits:15,memLevel:8,strategy:jM,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new CM,this.strm.avail_out=0;var n=Cs.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==ma)throw new Error(ad[n]);if(t.header&&Cs.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=rd.string2buf(t.dictionary):Nw.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,n=Cs.deflateSetDictionary(this.strm,i),n!==ma)throw new Error(ad[n]);this._dict_set=!0}}Hi.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r,a;if(this.ended)return!1;a=t===~~t?t:t===!0?id:AM,typeof e=="string"?n.input=rd.string2buf(e):Nw.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new As.Buf8(i),n.next_out=0,n.avail_out=i),r=Cs.deflate(n,a),r!==Mw&&r!==ma)return this.onEnd(r),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(a===id||a===Rw))&&(this.options.to==="string"?this.onData(rd.buf2binstring(As.shrinkBuf(n.output,n.next_out))):this.onData(As.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||n.avail_out===0)&&r!==Mw);return a===id?(r=Cs.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===ma):(a===Rw&&(this.onEnd(ma),n.avail_out=0),!0)};Hi.prototype.onData=function(e){this.chunks.push(e)};Hi.prototype.onEnd=function(e){e===ma&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=As.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function sd(e,t){var n=new Hi(t);if(n.push(e,!0),n.err)throw n.msg||ad[n.err];return n.result}function RM(e,t){return t=t||{},t.raw=!0,sd(e,t)}function NM(e,t){return t=t||{},t.gzip=!0,sd(e,t)}Ts.Deflate=Hi;Ts.deflate=sd;Ts.deflateRaw=RM;Ts.gzip=NM});var qw=b((qB,Iw)=>{"use strict";var nl=30,LM=12;Iw.exports=function(t,n){var i,r,a,s,o,c,u,l,p,f,m,v,g,d,x,_,C,k,O,F,P,L,$,B,q;i=t.state,r=t.next_in,B=t.input,a=r+(t.avail_in-5),s=t.next_out,q=t.output,o=s-(n-t.avail_out),c=s+(t.avail_out-257),u=i.dmax,l=i.wsize,p=i.whave,f=i.wnext,m=i.window,v=i.hold,g=i.bits,d=i.lencode,x=i.distcode,_=(1<<i.lenbits)-1,C=(1<<i.distbits)-1;e:do{g<15&&(v+=B[r++]<<g,g+=8,v+=B[r++]<<g,g+=8),k=d[v&_];t:for(;;){if(O=k>>>24,v>>>=O,g-=O,O=k>>>16&255,O===0)q[s++]=k&65535;else if(O&16){F=k&65535,O&=15,O&&(g<O&&(v+=B[r++]<<g,g+=8),F+=v&(1<<O)-1,v>>>=O,g-=O),g<15&&(v+=B[r++]<<g,g+=8,v+=B[r++]<<g,g+=8),k=x[v&C];n:for(;;){if(O=k>>>24,v>>>=O,g-=O,O=k>>>16&255,O&16){if(P=k&65535,O&=15,g<O&&(v+=B[r++]<<g,g+=8,g<O&&(v+=B[r++]<<g,g+=8)),P+=v&(1<<O)-1,P>u){t.msg="invalid distance too far back",i.mode=nl;break e}if(v>>>=O,g-=O,O=s-o,P>O){if(O=P-O,O>p&&i.sane){t.msg="invalid distance too far back",i.mode=nl;break e}if(L=0,$=m,f===0){if(L+=l-O,O<F){F-=O;do q[s++]=m[L++];while(--O);L=s-P,$=q}}else if(f<O){if(L+=l+f-O,O-=f,O<F){F-=O;do q[s++]=m[L++];while(--O);if(L=0,f<F){O=f,F-=O;do q[s++]=m[L++];while(--O);L=s-P,$=q}}}else if(L+=f-O,O<F){F-=O;do q[s++]=m[L++];while(--O);L=s-P,$=q}for(;F>2;)q[s++]=$[L++],q[s++]=$[L++],q[s++]=$[L++],F-=3;F&&(q[s++]=$[L++],F>1&&(q[s++]=$[L++]))}else{L=s-P;do q[s++]=q[L++],q[s++]=q[L++],q[s++]=q[L++],F-=3;while(F>2);F&&(q[s++]=q[L++],F>1&&(q[s++]=q[L++]))}}else if((O&64)===0){k=x[(k&65535)+(v&(1<<O)-1)];continue n}else{t.msg="invalid distance code",i.mode=nl;break e}break}}else if((O&64)===0){k=d[(k&65535)+(v&(1<<O)-1)];continue t}else if(O&32){i.mode=LM;break e}else{t.msg="invalid literal/length code",i.mode=nl;break e}break}}while(r<a&&s<c);F=g>>3,r-=F,g-=F<<3,v&=(1<<g)-1,t.next_in=r,t.next_out=s,t.avail_in=r<a?5+(a-r):5-(r-a),t.avail_out=s<c?257+(c-s):257-(s-c),i.hold=v,i.bits=g}});var Uw=b((PB,$w)=>{"use strict";var Pw=An(),ga=15,Bw=852,Fw=592,Dw=0,od=1,zw=2,IM=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],qM=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],PM=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],BM=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];$w.exports=function(t,n,i,r,a,s,o,c){var u=c.bits,l=0,p=0,f=0,m=0,v=0,g=0,d=0,x=0,_=0,C=0,k,O,F,P,L,$=null,B=0,q,R=new Pw.Buf16(ga+1),M=new Pw.Buf16(ga+1),I=null,K=0,ce,ve,X;for(l=0;l<=ga;l++)R[l]=0;for(p=0;p<r;p++)R[n[i+p]]++;for(v=u,m=ga;m>=1&&R[m]===0;m--);if(v>m&&(v=m),m===0)return a[s++]=1<<24|64<<16|0,a[s++]=1<<24|64<<16|0,c.bits=1,0;for(f=1;f<m&&R[f]===0;f++);for(v<f&&(v=f),x=1,l=1;l<=ga;l++)if(x<<=1,x-=R[l],x<0)return-1;if(x>0&&(t===Dw||m!==1))return-1;for(M[1]=0,l=1;l<ga;l++)M[l+1]=M[l]+R[l];for(p=0;p<r;p++)n[i+p]!==0&&(o[M[n[i+p]]++]=p);if(t===Dw?($=I=o,q=19):t===od?($=IM,B-=257,I=qM,K-=257,q=256):($=PM,I=BM,q=-1),C=0,p=0,l=f,L=s,g=v,d=0,F=-1,_=1<<v,P=_-1,t===od&&_>Bw||t===zw&&_>Fw)return 1;for(;;){ce=l-d,o[p]<q?(ve=0,X=o[p]):o[p]>q?(ve=I[K+o[p]],X=$[B+o[p]]):(ve=32+64,X=0),k=1<<l-d,O=1<<g,f=O;do O-=k,a[L+(C>>d)+O]=ce<<24|ve<<16|X|0;while(O!==0);for(k=1<<l-1;C&k;)k>>=1;if(k!==0?(C&=k-1,C+=k):C=0,p++,--R[l]===0){if(l===m)break;l=n[i+o[p]]}if(l>v&&(C&P)!==F){for(d===0&&(d=v),L+=f,g=l-d,x=1<<g;g+d<m&&(x-=R[g+d],!(x<=0));)g++,x<<=1;if(_+=1<<g,t===od&&_>Bw||t===zw&&_>Fw)return 1;F=C&P,a[F]=v<<24|g<<16|L-s|0}}return C!==0&&(a[L+C]=l-d<<24|64<<16|0),c.bits=v,0}});var E_=b(rn=>{"use strict";var qt=An(),dd=Vf(),yn=Zf(),FM=qw(),js=Uw(),DM=0,m_=1,g_=2,Ww=4,zM=5,il=6,Gi=0,$M=1,UM=2,Vt=-2,v_=-3,hd=-4,WM=-5,Kw=8,b_=1,Yw=2,Hw=3,Gw=4,Vw=5,Zw=6,Jw=7,Xw=8,Qw=9,e_=10,sl=11,Mn=12,cd=13,t_=14,ld=15,n_=16,i_=17,r_=18,a_=19,rl=20,al=21,s_=22,o_=23,c_=24,l_=25,u_=26,ud=27,p_=28,f_=29,Te=30,md=31,KM=32,YM=852,HM=592,GM=15,VM=GM;function d_(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function ZM(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new qt.Buf16(320),this.work=new qt.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function x_(e){var t;return!e||!e.state?Vt:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=b_,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new qt.Buf32(YM),t.distcode=t.distdyn=new qt.Buf32(HM),t.sane=1,t.back=-1,Gi)}function y_(e){var t;return!e||!e.state?Vt:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,x_(e))}function w_(e,t){var n,i;return!e||!e.state||(i=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?Vt:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,y_(e))}function __(e,t){var n,i;return e?(i=new ZM,e.state=i,i.window=null,n=w_(e,t),n!==Gi&&(e.state=null),n):Vt}function JM(e){return __(e,VM)}var h_=!0,pd,fd;function XM(e){if(h_){var t;for(pd=new qt.Buf32(512),fd=new qt.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(js(m_,e.lens,0,288,pd,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;js(g_,e.lens,0,32,fd,0,e.work,{bits:5}),h_=!1}e.lencode=pd,e.lenbits=9,e.distcode=fd,e.distbits=5}function S_(e,t,n,i){var r,a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new qt.Buf8(a.wsize)),i>=a.wsize?(qt.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(r=a.wsize-a.wnext,r>i&&(r=i),qt.arraySet(a.window,t,n-i,r,a.wnext),i-=r,i?(qt.arraySet(a.window,t,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=r,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=r))),0}function QM(e,t){var n,i,r,a,s,o,c,u,l,p,f,m,v,g,d=0,x,_,C,k,O,F,P,L,$=new qt.Buf8(4),B,q,R=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return Vt;n=e.state,n.mode===Mn&&(n.mode=cd),s=e.next_out,r=e.output,c=e.avail_out,a=e.next_in,i=e.input,o=e.avail_in,u=n.hold,l=n.bits,p=o,f=c,L=Gi;e:for(;;)switch(n.mode){case b_:if(n.wrap===0){n.mode=cd;break}for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(n.wrap&2&&u===35615){n.check=0,$[0]=u&255,$[1]=u>>>8&255,n.check=yn(n.check,$,2,0),u=0,l=0,n.mode=Yw;break}if(n.flags=0,n.head&&(n.head.done=!1),!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=Te;break}if((u&15)!==Kw){e.msg="unknown compression method",n.mode=Te;break}if(u>>>=4,l-=4,P=(u&15)+8,n.wbits===0)n.wbits=P;else if(P>n.wbits){e.msg="invalid window size",n.mode=Te;break}n.dmax=1<<P,e.adler=n.check=1,n.mode=u&512?e_:Mn,u=0,l=0;break;case Yw:for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(n.flags=u,(n.flags&255)!==Kw){e.msg="unknown compression method",n.mode=Te;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Te;break}n.head&&(n.head.text=u>>8&1),n.flags&512&&($[0]=u&255,$[1]=u>>>8&255,n.check=yn(n.check,$,2,0)),u=0,l=0,n.mode=Hw;case Hw:for(;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.head&&(n.head.time=u),n.flags&512&&($[0]=u&255,$[1]=u>>>8&255,$[2]=u>>>16&255,$[3]=u>>>24&255,n.check=yn(n.check,$,4,0)),u=0,l=0,n.mode=Gw;case Gw:for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.head&&(n.head.xflags=u&255,n.head.os=u>>8),n.flags&512&&($[0]=u&255,$[1]=u>>>8&255,n.check=yn(n.check,$,2,0)),u=0,l=0,n.mode=Vw;case Vw:if(n.flags&1024){for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.length=u,n.head&&(n.head.extra_len=u),n.flags&512&&($[0]=u&255,$[1]=u>>>8&255,n.check=yn(n.check,$,2,0)),u=0,l=0}else n.head&&(n.head.extra=null);n.mode=Zw;case Zw:if(n.flags&1024&&(m=n.length,m>o&&(m=o),m&&(n.head&&(P=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),qt.arraySet(n.head.extra,i,a,m,P)),n.flags&512&&(n.check=yn(n.check,i,m,a)),o-=m,a+=m,n.length-=m),n.length))break e;n.length=0,n.mode=Jw;case Jw:if(n.flags&2048){if(o===0)break e;m=0;do P=i[a+m++],n.head&&P&&n.length<65536&&(n.head.name+=String.fromCharCode(P));while(P&&m<o);if(n.flags&512&&(n.check=yn(n.check,i,m,a)),o-=m,a+=m,P)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=Xw;case Xw:if(n.flags&4096){if(o===0)break e;m=0;do P=i[a+m++],n.head&&P&&n.length<65536&&(n.head.comment+=String.fromCharCode(P));while(P&&m<o);if(n.flags&512&&(n.check=yn(n.check,i,m,a)),o-=m,a+=m,P)break e}else n.head&&(n.head.comment=null);n.mode=Qw;case Qw:if(n.flags&512){for(;l<16;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(u!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Te;break}u=0,l=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Mn;break;case e_:for(;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}e.adler=n.check=d_(u),u=0,l=0,n.mode=sl;case sl:if(n.havedict===0)return e.next_out=s,e.avail_out=c,e.next_in=a,e.avail_in=o,n.hold=u,n.bits=l,UM;e.adler=n.check=1,n.mode=Mn;case Mn:if(t===zM||t===il)break e;case cd:if(n.last){u>>>=l&7,l-=l&7,n.mode=ud;break}for(;l<3;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}switch(n.last=u&1,u>>>=1,l-=1,u&3){case 0:n.mode=t_;break;case 1:if(XM(n),n.mode=rl,t===il){u>>>=2,l-=2;break e}break;case 2:n.mode=i_;break;case 3:e.msg="invalid block type",n.mode=Te}u>>>=2,l-=2;break;case t_:for(u>>>=l&7,l-=l&7;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if((u&65535)!==(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Te;break}if(n.length=u&65535,u=0,l=0,n.mode=ld,t===il)break e;case ld:n.mode=n_;case n_:if(m=n.length,m){if(m>o&&(m=o),m>c&&(m=c),m===0)break e;qt.arraySet(r,i,a,m,s),o-=m,a+=m,c-=m,s+=m,n.length-=m;break}n.mode=Mn;break;case i_:for(;l<14;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(n.nlen=(u&31)+257,u>>>=5,l-=5,n.ndist=(u&31)+1,u>>>=5,l-=5,n.ncode=(u&15)+4,u>>>=4,l-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Te;break}n.have=0,n.mode=r_;case r_:for(;n.have<n.ncode;){for(;l<3;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.lens[R[n.have++]]=u&7,u>>>=3,l-=3}for(;n.have<19;)n.lens[R[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,B={bits:n.lenbits},L=js(DM,n.lens,0,19,n.lencode,0,n.work,B),n.lenbits=B.bits,L){e.msg="invalid code lengths set",n.mode=Te;break}n.have=0,n.mode=a_;case a_:for(;n.have<n.nlen+n.ndist;){for(;d=n.lencode[u&(1<<n.lenbits)-1],x=d>>>24,_=d>>>16&255,C=d&65535,!(x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(C<16)u>>>=x,l-=x,n.lens[n.have++]=C;else{if(C===16){for(q=x+2;l<q;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(u>>>=x,l-=x,n.have===0){e.msg="invalid bit length repeat",n.mode=Te;break}P=n.lens[n.have-1],m=3+(u&3),u>>>=2,l-=2}else if(C===17){for(q=x+3;l<q;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=x,l-=x,P=0,m=3+(u&7),u>>>=3,l-=3}else{for(q=x+7;l<q;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=x,l-=x,P=0,m=11+(u&127),u>>>=7,l-=7}if(n.have+m>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Te;break}for(;m--;)n.lens[n.have++]=P}}if(n.mode===Te)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Te;break}if(n.lenbits=9,B={bits:n.lenbits},L=js(m_,n.lens,0,n.nlen,n.lencode,0,n.work,B),n.lenbits=B.bits,L){e.msg="invalid literal/lengths set",n.mode=Te;break}if(n.distbits=6,n.distcode=n.distdyn,B={bits:n.distbits},L=js(g_,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,B),n.distbits=B.bits,L){e.msg="invalid distances set",n.mode=Te;break}if(n.mode=rl,t===il)break e;case rl:n.mode=al;case al:if(o>=6&&c>=258){e.next_out=s,e.avail_out=c,e.next_in=a,e.avail_in=o,n.hold=u,n.bits=l,FM(e,f),s=e.next_out,r=e.output,c=e.avail_out,a=e.next_in,i=e.input,o=e.avail_in,u=n.hold,l=n.bits,n.mode===Mn&&(n.back=-1);break}for(n.back=0;d=n.lencode[u&(1<<n.lenbits)-1],x=d>>>24,_=d>>>16&255,C=d&65535,!(x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(_&&(_&240)===0){for(k=x,O=_,F=C;d=n.lencode[F+((u&(1<<k+O)-1)>>k)],x=d>>>24,_=d>>>16&255,C=d&65535,!(k+x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=k,l-=k,n.back+=k}if(u>>>=x,l-=x,n.back+=x,n.length=C,_===0){n.mode=u_;break}if(_&32){n.back=-1,n.mode=Mn;break}if(_&64){e.msg="invalid literal/length code",n.mode=Te;break}n.extra=_&15,n.mode=s_;case s_:if(n.extra){for(q=n.extra;l<q;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,l-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=o_;case o_:for(;d=n.distcode[u&(1<<n.distbits)-1],x=d>>>24,_=d>>>16&255,C=d&65535,!(x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if((_&240)===0){for(k=x,O=_,F=C;d=n.distcode[F+((u&(1<<k+O)-1)>>k)],x=d>>>24,_=d>>>16&255,C=d&65535,!(k+x<=l);){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}u>>>=k,l-=k,n.back+=k}if(u>>>=x,l-=x,n.back+=x,_&64){e.msg="invalid distance code",n.mode=Te;break}n.offset=C,n.extra=_&15,n.mode=c_;case c_:if(n.extra){for(q=n.extra;l<q;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,l-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Te;break}n.mode=l_;case l_:if(c===0)break e;if(m=f-c,n.offset>m){if(m=n.offset-m,m>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Te;break}m>n.wnext?(m-=n.wnext,v=n.wsize-m):v=n.wnext-m,m>n.length&&(m=n.length),g=n.window}else g=r,v=s-n.offset,m=n.length;m>c&&(m=c),c-=m,n.length-=m;do r[s++]=g[v++];while(--m);n.length===0&&(n.mode=al);break;case u_:if(c===0)break e;r[s++]=n.length,c--,n.mode=al;break;case ud:if(n.wrap){for(;l<32;){if(o===0)break e;o--,u|=i[a++]<<l,l+=8}if(f-=c,e.total_out+=f,n.total+=f,f&&(e.adler=n.check=n.flags?yn(n.check,r,f,s-f):dd(n.check,r,f,s-f)),f=c,(n.flags?u:d_(u))!==n.check){e.msg="incorrect data check",n.mode=Te;break}u=0,l=0}n.mode=p_;case p_:if(n.wrap&&n.flags){for(;l<32;){if(o===0)break e;o--,u+=i[a++]<<l,l+=8}if(u!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Te;break}u=0,l=0}n.mode=f_;case f_:L=$M;break e;case Te:L=v_;break e;case md:return hd;case KM:default:return Vt}return e.next_out=s,e.avail_out=c,e.next_in=a,e.avail_in=o,n.hold=u,n.bits=l,(n.wsize||f!==e.avail_out&&n.mode<Te&&(n.mode<ud||t!==Ww))&&S_(e,e.output,e.next_out,f-e.avail_out)?(n.mode=md,hd):(p-=e.avail_in,f-=e.avail_out,e.total_in+=p,e.total_out+=f,n.total+=f,n.wrap&&f&&(e.adler=n.check=n.flags?yn(n.check,r,f,e.next_out-f):dd(n.check,r,f,e.next_out-f)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Mn?128:0)+(n.mode===rl||n.mode===ld?256:0),(p===0&&f===0||t===Ww)&&L===Gi&&(L=WM),L)}function eR(e){if(!e||!e.state)return Vt;var t=e.state;return t.window&&(t.window=null),e.state=null,Gi}function tR(e,t){var n;return!e||!e.state||(n=e.state,(n.wrap&2)===0)?Vt:(n.head=t,t.done=!1,Gi)}function nR(e,t){var n=t.length,i,r,a;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==sl)?Vt:i.mode===sl&&(r=1,r=dd(r,t,n,0),r!==i.check)?v_:(a=S_(e,t,n,n),a?(i.mode=md,hd):(i.havedict=1,Gi))}rn.inflateReset=y_;rn.inflateReset2=w_;rn.inflateResetKeep=x_;rn.inflateInit=JM;rn.inflateInit2=__;rn.inflate=QM;rn.inflateEnd=eR;rn.inflateGetHeader=tR;rn.inflateSetDictionary=nR;rn.inflateInfo="pako inflate (from Nodeca project)"});var gd=b((FB,O_)=>{"use strict";O_.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var C_=b((DB,k_)=>{"use strict";function iR(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}k_.exports=iR});var T_=b(Rs=>{"use strict";var va=E_(),Ms=An(),ol=td(),Be=gd(),vd=Gc(),rR=nd(),aR=C_(),A_=Object.prototype.toString;function Vi(e){if(!(this instanceof Vi))return new Vi(e);this.options=Ms.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new rR,this.strm.avail_out=0;var n=va.inflateInit2(this.strm,t.windowBits);if(n!==Be.Z_OK)throw new Error(vd[n]);if(this.header=new aR,va.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=ol.string2buf(t.dictionary):A_.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=va.inflateSetDictionary(this.strm,t.dictionary),n!==Be.Z_OK)))throw new Error(vd[n])}Vi.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r=this.options.dictionary,a,s,o,c,u,l=!1;if(this.ended)return!1;s=t===~~t?t:t===!0?Be.Z_FINISH:Be.Z_NO_FLUSH,typeof e=="string"?n.input=ol.binstring2buf(e):A_.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new Ms.Buf8(i),n.next_out=0,n.avail_out=i),a=va.inflate(n,Be.Z_NO_FLUSH),a===Be.Z_NEED_DICT&&r&&(a=va.inflateSetDictionary(this.strm,r)),a===Be.Z_BUF_ERROR&&l===!0&&(a=Be.Z_OK,l=!1),a!==Be.Z_STREAM_END&&a!==Be.Z_OK)return this.onEnd(a),this.ended=!0,!1;n.next_out&&(n.avail_out===0||a===Be.Z_STREAM_END||n.avail_in===0&&(s===Be.Z_FINISH||s===Be.Z_SYNC_FLUSH))&&(this.options.to==="string"?(o=ol.utf8border(n.output,n.next_out),c=n.next_out-o,u=ol.buf2string(n.output,o),n.next_out=c,n.avail_out=i-c,c&&Ms.arraySet(n.output,n.output,o,c,0),this.onData(u)):this.onData(Ms.shrinkBuf(n.output,n.next_out))),n.avail_in===0&&n.avail_out===0&&(l=!0)}while((n.avail_in>0||n.avail_out===0)&&a!==Be.Z_STREAM_END);return a===Be.Z_STREAM_END&&(s=Be.Z_FINISH),s===Be.Z_FINISH?(a=va.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Be.Z_OK):(s===Be.Z_SYNC_FLUSH&&(this.onEnd(Be.Z_OK),n.avail_out=0),!0)};Vi.prototype.onData=function(e){this.chunks.push(e)};Vi.prototype.onEnd=function(e){e===Be.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ms.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function bd(e,t){var n=new Vi(t);if(n.push(e,!0),n.err)throw n.msg||vd[n.err];return n.result}function sR(e,t){return t=t||{},t.raw=!0,bd(e,t)}Rs.Inflate=Vi;Rs.inflate=bd;Rs.inflateRaw=sR;Rs.ungzip=bd});var R_=b(($B,M_)=>{"use strict";var oR=An().assign,cR=Lw(),lR=T_(),uR=gd(),j_={};oR(j_,cR,lR,uR);M_.exports=j_});var L_=b(ll=>{"use strict";var pR=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",fR=R_(),N_=Ne(),cl=It(),dR=pR?"uint8array":"array";ll.magic="\b\0";function Zi(e,t){cl.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}N_.inherits(Zi,cl);Zi.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(N_.transformTo(dR,e.data),!1)};Zi.prototype.flush=function(){cl.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)};Zi.prototype.cleanUp=function(){cl.prototype.cleanUp.call(this),this._pako=null};Zi.prototype._createPako=function(){this._pako=new fR[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}};ll.compressWorker=function(e){return new Zi("Deflate",e)};ll.uncompressWorker=function(){return new Zi("Inflate",{})}});var yd=b(xd=>{"use strict";var I_=It();xd.STORE={magic:"\0\0",compressWorker:function(e){return new I_("STORE compression")},uncompressWorker:function(){return new I_("STORE decompression")}};xd.DEFLATE=L_()});var wd=b(Ji=>{"use strict";Ji.LOCAL_FILE_HEADER="PK";Ji.CENTRAL_FILE_HEADER="PK";Ji.CENTRAL_DIRECTORY_END="PK";Ji.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07";Ji.ZIP64_CENTRAL_DIRECTORY_END="PK";Ji.DATA_DESCRIPTOR="PK\x07\b"});var F_=b((YB,B_)=>{"use strict";var ba=Ne(),xa=It(),_d=Di(),q_=Uc(),ul=wd(),Ee=function(e,t){var n="",i;for(i=0;i<t;i++)n+=String.fromCharCode(e&255),e=e>>>8;return n},hR=function(e,t){var n=e;return e||(n=t?16893:33204),(n&65535)<<16},mR=function(e,t){return(e||0)&63},P_=function(e,t,n,i,r,a){var s=e.file,o=e.compression,c=a!==_d.utf8encode,u=ba.transformTo("string",a(s.name)),l=ba.transformTo("string",_d.utf8encode(s.name)),p=s.comment,f=ba.transformTo("string",a(p)),m=ba.transformTo("string",_d.utf8encode(p)),v=l.length!==s.name.length,g=m.length!==p.length,d,x,_="",C="",k="",O=s.dir,F=s.date,P={crc32:0,compressedSize:0,uncompressedSize:0};(!t||n)&&(P.crc32=e.crc32,P.compressedSize=e.compressedSize,P.uncompressedSize=e.uncompressedSize);var L=0;t&&(L|=8),!c&&(v||g)&&(L|=2048);var $=0,B=0;O&&($|=16),r==="UNIX"?(B=798,$|=hR(s.unixPermissions,O)):(B=20,$|=mR(s.dosPermissions,O)),d=F.getUTCHours(),d=d<<6,d=d|F.getUTCMinutes(),d=d<<5,d=d|F.getUTCSeconds()/2,x=F.getUTCFullYear()-1980,x=x<<4,x=x|F.getUTCMonth()+1,x=x<<5,x=x|F.getUTCDate(),v&&(C=Ee(1,1)+Ee(q_(u),4)+l,_+="up"+Ee(C.length,2)+C),g&&(k=Ee(1,1)+Ee(q_(f),4)+m,_+="uc"+Ee(k.length,2)+k);var q="";q+=`
|
|
35
|
+
\0`,q+=Ee(L,2),q+=o.magic,q+=Ee(d,2),q+=Ee(x,2),q+=Ee(P.crc32,4),q+=Ee(P.compressedSize,4),q+=Ee(P.uncompressedSize,4),q+=Ee(u.length,2),q+=Ee(_.length,2);var R=ul.LOCAL_FILE_HEADER+q+u+_,M=ul.CENTRAL_FILE_HEADER+Ee(B,2)+q+Ee(f.length,2)+"\0\0\0\0"+Ee($,4)+Ee(i,4)+u+_+f;return{fileRecord:R,dirRecord:M}},gR=function(e,t,n,i,r){var a="",s=ba.transformTo("string",r(i));return a=ul.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Ee(e,2)+Ee(e,2)+Ee(t,4)+Ee(n,4)+Ee(s.length,2)+s,a},vR=function(e){var t="";return t=ul.DATA_DESCRIPTOR+Ee(e.crc32,4)+Ee(e.compressedSize,4)+Ee(e.uncompressedSize,4),t};function an(e,t,n,i){xa.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}ba.inherits(an,xa);an.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,xa.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))};an.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=P_(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0};an.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=P_(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:vR(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null};an.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,i=gR(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})};an.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()};an.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(n){t.processChunk(n)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(n){t.error(n)}),this};an.prototype.resume=function(){if(!xa.prototype.resume.call(this))return!1;if(!this.previous&&this._sources.length)return this.prepareNextSource(),!0;if(!this.previous&&!this._sources.length&&!this.generatedError)return this.end(),!0};an.prototype.error=function(e){var t=this._sources;if(!xa.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0};an.prototype.lock=function(){xa.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};B_.exports=an});var z_=b(D_=>{"use strict";var bR=yd(),xR=F_(),yR=function(e,t){var n=e||t,i=bR[n];if(!i)throw new Error(n+" is not a valid compression method !");return i};D_.generateWorker=function(e,t,n){var i=new xR(t.streamFiles,n,t.platform,t.encodeFileName),r=0;try{e.forEach(function(a,s){r++;var o=yR(s.options.compression,t.compression),c=s.options.compressionOptions||t.compressionOptions||{},u=s.dir,l=s.date;s._compressWorker(o,c).withStreamInfo("file",{name:a,dir:u,date:l,comment:s.comment||"",unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions}).pipe(i)}),i.entriesCount=r}catch(a){i.error(a)}return i}});var U_=b((GB,$_)=>{"use strict";var wR=Ne(),pl=It();function Ns(e,t){pl.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}wR.inherits(Ns,pl);Ns.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",function(n){t.push({data:n,meta:{percent:0}})}).on("error",function(n){t.isPaused?this.generatedError=n:t.error(n)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})};Ns.prototype.pause=function(){return pl.prototype.pause.call(this)?(this._stream.pause(),!0):!1};Ns.prototype.resume=function(){return pl.prototype.resume.call(this)?(this._upstreamEnded?this.end():this._stream.resume(),!0):!1};$_.exports=Ns});var Q_=b((VB,X_)=>{"use strict";var _R=Di(),Ls=Ne(),H_=It(),SR=Cf(),G_=Af(),W_=Wc(),ER=K1(),OR=z_(),K_=ls(),kR=U_(),V_=function(e,t,n){var i=Ls.getTypeOf(t),r,a=Ls.extend(n||{},G_);a.date=a.date||new Date,a.compression!==null&&(a.compression=a.compression.toUpperCase()),typeof a.unixPermissions=="string"&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&a.unixPermissions&16384&&(a.dir=!0),a.dosPermissions&&a.dosPermissions&16&&(a.dir=!0),a.dir&&(e=Z_(e)),a.createFolders&&(r=CR(e))&&J_.call(this,r,!0);var s=i==="string"&&a.binary===!1&&a.base64===!1;(!n||typeof n.binary>"u")&&(a.binary=!s);var o=t instanceof W_&&t.uncompressedSize===0;(o||a.dir||!t||t.length===0)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",i="string");var c=null;t instanceof W_||t instanceof H_?c=t:K_.isNode&&K_.isStream(t)?c=new kR(e,t):c=Ls.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var u=new ER(e,c,a);this.files[e]=u},CR=function(e){e.slice(-1)==="/"&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},Z_=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},J_=function(e,t){return t=typeof t<"u"?t:G_.createFolders,e=Z_(e),this.files[e]||V_.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function Y_(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var AR={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,i;for(t in this.files)i=this.files[t],n=t.slice(this.root.length,t.length),n&&t.slice(0,this.root.length)===this.root&&e(n,i)},filter:function(e){var t=[];return this.forEach(function(n,i){e(n,i)&&t.push(i)}),t},file:function(e,t,n){if(arguments.length===1)if(Y_(e)){var i=e;return this.filter(function(a,s){return!s.dir&&i.test(a)})}else{var r=this.files[this.root+e];return r&&!r.dir?r:null}else e=this.root+e,V_.call(this,e,t,n);return this},folder:function(e){if(!e)return this;if(Y_(e))return this.filter(function(r,a){return a.dir&&e.test(r)});var t=this.root+e,n=J_.call(this,t),i=this.clone();return i.root=n.name,i},remove:function(e){e=this.root+e;var t=this.files[e];if(t||(e.slice(-1)!=="/"&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(r,a){return a.name.slice(0,e.length)===e}),i=0;i<n.length;i++)delete this.files[n[i].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if(n=Ls.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:_R.utf8encode}),n.type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),n.type==="binarystring"&&(n.type="string"),!n.type)throw new Error("No output type specified.");Ls.checkSupport(n.type),(n.platform==="darwin"||n.platform==="freebsd"||n.platform==="linux"||n.platform==="sunos")&&(n.platform="UNIX"),n.platform==="win32"&&(n.platform="DOS");var i=n.comment||this.comment||"";t=OR.generateWorker(this,n,i)}catch(r){t=new H_("error"),t.error(r)}return new SR(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return e=e||{},e.type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};X_.exports=AR});var Sd=b((ZB,t2)=>{"use strict";var TR=Ne();function e2(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}e2.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t=0,n;for(this.checkOffset(e),n=this.index+e-1;n>=this.index;n--)t=(t<<8)+this.byteAt(n);return this.index+=e,t},readString:function(e){return TR.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1))}};t2.exports=e2});var Ed=b((JB,i2)=>{"use strict";var n2=Sd(),jR=Ne();function ya(e){n2.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=e[t]&255}jR.inherits(ya,n2);ya.prototype.byteAt=function(e){return this.data[this.zero+e]};ya.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),i=e.charCodeAt(2),r=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===i&&this.data[a+3]===r)return a-this.zero;return-1};ya.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),i=e.charCodeAt(2),r=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&n===a[1]&&i===a[2]&&r===a[3]};ya.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};i2.exports=ya});var s2=b((XB,a2)=>{"use strict";var r2=Sd(),MR=Ne();function wa(e){r2.call(this,e)}MR.inherits(wa,r2);wa.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)};wa.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero};wa.prototype.readAndCheckSignature=function(e){var t=this.readData(4);return e===t};wa.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};a2.exports=wa});var kd=b((QB,c2)=>{"use strict";var o2=Ed(),RR=Ne();function Od(e){o2.call(this,e)}RR.inherits(Od,o2);Od.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};c2.exports=Od});var p2=b((e4,u2)=>{"use strict";var l2=kd(),NR=Ne();function Cd(e){l2.call(this,e)}NR.inherits(Cd,l2);Cd.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};u2.exports=Cd});var Ad=b((t4,d2)=>{"use strict";var fl=Ne(),f2=kn(),LR=Ed(),IR=s2(),qR=p2(),PR=kd();d2.exports=function(e){var t=fl.getTypeOf(e);return fl.checkSupport(t),t==="string"&&!f2.uint8array?new IR(e):t==="nodebuffer"?new qR(e):f2.uint8array?new PR(fl.transformTo("uint8array",e)):new LR(fl.transformTo("array",e))}});var v2=b((n4,g2)=>{"use strict";var Td=Ad(),ri=Ne(),BR=Wc(),h2=Uc(),dl=Di(),hl=yd(),FR=kn(),DR=0,zR=3,$R=function(e){for(var t in hl)if(!!hl.hasOwnProperty(t)&&hl[t].magic===e)return hl[t];return null};function m2(e,t){this.options=e,this.loadOptions=t}m2.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=$R(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+ri.pretty(this.compressionMethod)+" unknown (inner file : "+ri.transformTo("string",this.fileName)+")");this.decompressed=new BR(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),e===DR&&(this.dosPermissions=this.externalFileAttributes&63),e===zR&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=!0)},parseZIP64ExtraField:function(e){if(!!this.extraFields[1]){var t=Td(this.extraFields[1].value);this.uncompressedSize===ri.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===ri.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===ri.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===ri.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t=e.index+this.extraFieldsLength,n,i,r;for(this.extraFields||(this.extraFields={});e.index+4<t;)n=e.readInt(2),i=e.readInt(2),r=e.readData(i),this.extraFields[n]={id:n,length:i,value:r};e.setIndex(t)},handleUTF8:function(){var e=FR.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=dl.utf8decode(this.fileName),this.fileCommentStr=dl.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=ri.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var i=this.findExtraFieldUnicodeComment();if(i!==null)this.fileCommentStr=i;else{var r=ri.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(r)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=Td(e.value);return t.readInt(1)!==1||h2(this.fileName)!==t.readInt(4)?null:dl.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=Td(e.value);return t.readInt(1)!==1||h2(this.fileComment)!==t.readInt(4)?null:dl.utf8decode(t.readData(e.length-5))}return null}};g2.exports=m2});var y2=b((r4,x2)=>{"use strict";var UR=Ad(),Rn=Ne(),sn=wd(),WR=v2(),i4=Di(),KR=kn();function b2(e){this.files=[],this.loadOptions=e}b2.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+Rn.pretty(t)+", expected "+Rn.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var i=this.reader.readString(4),r=i===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=KR.uint8array?"uint8array":"array",n=Rn.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e=this.zip64EndOfCentralSize-44,t=0,n,i,r;t<e;)n=this.reader.readInt(2),i=this.reader.readInt(4),r=this.reader.readData(i),this.zip64ExtensibleData[n]={id:n,length:i,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(sn.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(sn.CENTRAL_FILE_HEADER);)e=new WR({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(sn.CENTRAL_DIRECTORY_END);if(e<0){var t=!this.isSignature(0,sn.LOCAL_FILE_HEADER);throw t?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex(e);var n=e;if(this.checkSignature(sn.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Rn.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Rn.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Rn.MAX_VALUE_16BITS||this.centralDirRecords===Rn.MAX_VALUE_16BITS||this.centralDirSize===Rn.MAX_VALUE_32BITS||this.centralDirOffset===Rn.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(sn.ZIP64_CENTRAL_DIRECTORY_LOCATOR),e<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(sn.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,sn.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(sn.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(sn.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var r=n-i;if(r>0)this.isSignature(n,sn.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=UR(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};x2.exports=b2});var E2=b((a4,S2)=>{"use strict";var w2=Ne(),ml=ra(),YR=Di(),HR=y2(),GR=Mf(),_2=ls();function VR(e){return new ml.Promise(function(t,n){var i=e.decompressed.getContentWorker().pipe(new GR);i.on("error",function(r){n(r)}).on("end",function(){i.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}S2.exports=function(e,t){var n=this;return t=w2.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:YR.utf8decode}),_2.isNode&&_2.isStream(e)?ml.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):w2.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(i){var r=new HR(t);return r.load(i),r}).then(function(r){var a=[ml.Promise.resolve(r)],s=r.files;if(t.checkCRC32)for(var o=0;o<s.length;o++)a.push(VR(s[o]));return ml.Promise.all(a)}).then(function(r){for(var a=r.shift(),s=a.files,o=0;o<s.length;o++){var c=s[o];n.file(c.fileNameStr,c.decompressed,{binary:!0,optimizedBinaryString:!0,date:c.date,dir:c.dir,comment:c.fileCommentStr.length?c.fileCommentStr:null,unixPermissions:c.unixPermissions,dosPermissions:c.dosPermissions,createFolders:t.createFolders})}return a.zipComment.length&&(n.comment=a.zipComment),n})}});var k2=b((s4,O2)=>{"use strict";function Zt(){if(!(this instanceof Zt))return new Zt;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new Zt;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}Zt.prototype=Q_();Zt.prototype.loadAsync=E2();Zt.support=kn();Zt.defaults=Af();Zt.version="3.7.1";Zt.loadAsync=function(e,t){return new Zt().loadAsync(e,t)};Zt.external=ra();O2.exports=Zt});var Qi=b(Et=>{"use strict";var Nn={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},Is={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},ZR="tag:yaml.org,2002:",JR={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function C2(e){let t=[0],n=e.indexOf(`
|
|
36
36
|
`);for(;n!==-1;)n+=1,t.push(n),n=e.indexOf(`
|
|
37
|
-
`,n);return t}function A2(e){let t,n;return typeof e=="string"?(t=C2(e),n=e):(Array.isArray(e)&&(e=e[0]),e&&e.context&&(e.lineStarts||(e.lineStarts=C2(e.context.src)),t=e.lineStarts,n=e.context.src)),{lineStarts:t,src:n}}function
|
|
37
|
+
`,n);return t}function A2(e){let t,n;return typeof e=="string"?(t=C2(e),n=e):(Array.isArray(e)&&(e=e[0]),e&&e.context&&(e.lineStarts||(e.lineStarts=C2(e.context.src)),t=e.lineStarts,n=e.context.src)),{lineStarts:t,src:n}}function jd(e,t){if(typeof e!="number"||e<0)return null;let{lineStarts:n,src:i}=A2(t);if(!n||!i||e>i.length)return null;for(let a=0;a<n.length;++a){let s=n[a];if(e<s)return{line:a,col:e-n[a-1]+1};if(e===s)return{line:a+1,col:1}}let r=n.length;return{line:r,col:e-n[r-1]+1}}function XR(e,t){let{lineStarts:n,src:i}=A2(t);if(!n||!(e>=1)||e>n.length)return null;let r=n[e-1],a=n[e];for(;a&&a>r&&i[a-1]===`
|
|
38
38
|
`;)--a;return i.slice(r,a)}function QR({start:e,end:t},n,i=80){let r=XR(e.line,n);if(!r)return null;let{col:a}=e;if(r.length>i)if(a<=i-10)r=r.substr(0,i-1)+"\u2026";else{let l=Math.round(i/2);r.length>a+l&&(r=r.substr(0,a+l-1)+"\u2026"),a-=r.length-i,r="\u2026"+r.substr(1-i)}let s=1,o="";t&&(t.line===e.line&&a+(t.col-e.col)<=i+1?s=t.col-e.col:(s=Math.min(r.length+1,i)-a,o="\u2026"));let c=a>1?" ".repeat(a-1):"",u="^".repeat(s);return`${r}
|
|
39
39
|
${c}${u}${o}`}var ai=class{static copy(t){return new ai(t.start,t.end)}constructor(t,n){this.start=t,this.end=n||t}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(t,n){let{start:i,end:r}=this;if(t.length===0||r<=t[0])return this.origStart=i,this.origEnd=r,n;let a=n;for(;a<t.length&&!(t[a]>i);)++a;this.origStart=i+a;let s=a;for(;a<t.length&&!(t[a]>=r);)++a;return this.origEnd=r+a,s}},Qe=class{static addStringTerminator(t,n,i){if(i[i.length-1]===`
|
|
40
40
|
`)return i;let r=Qe.endOfWhiteSpace(t,n);return r>=t.length||t[r]===`
|
|
@@ -54,11 +54,11 @@ ${c}${u}${o}`}var ai=class{static copy(t){return new ai(t.start,t.end)}construct
|
|
|
54
54
|
`;){switch(o){case`
|
|
55
55
|
`:r=0,n+=1,s+=`
|
|
56
56
|
`;break;case" ":r<=i&&(a=!0),n=Qe.endOfWhiteSpace(t,n+2)-1;break;case" ":r+=1,n+=1;break}o=t[n+1]}return s||(s=" "),o&&r<=i&&(a=!0),{fold:s,offset:n,error:a}}constructor(t,n,i){Object.defineProperty(this,"context",{value:i||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=n||[],this.type=t,this.value=null}getPropValue(t,n,i){if(!this.context)return null;let{src:r}=this.context,a=this.props[t];return a&&r[a.start]===n?r.slice(a.start+(i?1:0),a.end):null}get anchor(){for(let t=0;t<this.props.length;++t){let n=this.getPropValue(t,Nn.ANCHOR,!0);if(n!=null)return n}return null}get comment(){let t=[];for(let n=0;n<this.props.length;++n){let i=this.getPropValue(n,Nn.COMMENT,!0);i!=null&&t.push(i)}return t.length>0?t.join(`
|
|
57
|
-
`):null}commentHasRequiredWhitespace(t){let{src:n}=this.context;if(this.header&&t===this.header.end||!this.valueRange)return!1;let{end:i}=this.valueRange;return t!==i||Qe.atBlank(n,i-1)}get hasComment(){if(this.context){let{src:t}=this.context;for(let n=0;n<this.props.length;++n)if(t[this.props[n].start]===Nn.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:t}=this.context;for(let n=0;n<this.props.length;++n)if(t[this.props[n].start]!==Nn.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[Is.FLOW_MAP,Is.FLOW_SEQ,Is.QUOTE_DOUBLE,Is.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let t=
|
|
58
|
-
`)return!0;return!1}parseComment(t){let{src:n}=this.context;if(n[t]===Nn.COMMENT){let i=Qe.endOfLine(n,t+1),r=new ai(t,i);return this.props.push(r),i}return t}setOrigRanges(t,n){return this.range&&(n=this.range.setOrigRange(t,n)),this.valueRange&&this.valueRange.setOrigRange(t,n),this.props.forEach(i=>i.setOrigRange(t,n)),n}toString(){let{context:{src:t},range:n,value:i}=this;if(i!=null)return i;let r=t.slice(n.start,n.end);return Qe.addStringTerminator(t,n.end,r)}},Xi=class extends Error{constructor(t,n,i){if(!i||!(n instanceof Qe))throw new Error(`Invalid arguments for new ${t}`);super(),this.name=t,this.message=i,this.source=n}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let t=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new ai(this.offset,this.offset+1);let n=t&&
|
|
57
|
+
`):null}commentHasRequiredWhitespace(t){let{src:n}=this.context;if(this.header&&t===this.header.end||!this.valueRange)return!1;let{end:i}=this.valueRange;return t!==i||Qe.atBlank(n,i-1)}get hasComment(){if(this.context){let{src:t}=this.context;for(let n=0;n<this.props.length;++n)if(t[this.props[n].start]===Nn.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:t}=this.context;for(let n=0;n<this.props.length;++n)if(t[this.props[n].start]!==Nn.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[Is.FLOW_MAP,Is.FLOW_SEQ,Is.QUOTE_DOUBLE,Is.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let t=jd(this.range.start,this.context.root);if(!t)return;let n=jd(this.range.end,this.context.root);return{start:t,end:n}}get rawValue(){if(!this.valueRange||!this.context)return null;let{start:t,end:n}=this.valueRange;return this.context.src.slice(t,n)}get tag(){for(let t=0;t<this.props.length;++t){let n=this.getPropValue(t,Nn.TAG,!1);if(n!=null){if(n[1]==="<")return{verbatim:n.slice(2,-1)};{let[i,r,a]=n.match(/^(.*!)([^!]*)$/);return{handle:r,suffix:a}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:t,end:n}=this.valueRange,{src:i}=this.context;for(let r=t;r<n;++r)if(i[r]===`
|
|
58
|
+
`)return!0;return!1}parseComment(t){let{src:n}=this.context;if(n[t]===Nn.COMMENT){let i=Qe.endOfLine(n,t+1),r=new ai(t,i);return this.props.push(r),i}return t}setOrigRanges(t,n){return this.range&&(n=this.range.setOrigRange(t,n)),this.valueRange&&this.valueRange.setOrigRange(t,n),this.props.forEach(i=>i.setOrigRange(t,n)),n}toString(){let{context:{src:t},range:n,value:i}=this;if(i!=null)return i;let r=t.slice(n.start,n.end);return Qe.addStringTerminator(t,n.end,r)}},Xi=class extends Error{constructor(t,n,i){if(!i||!(n instanceof Qe))throw new Error(`Invalid arguments for new ${t}`);super(),this.name=t,this.message=i,this.source=n}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let t=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new ai(this.offset,this.offset+1);let n=t&&jd(this.offset,t);if(n){let i={line:n.line,col:n.col+1};this.linePos={start:n,end:i}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:n,col:i}=this.linePos.start;this.message+=` at line ${n}, column ${i}`;let r=t&&QR(this.linePos,t);r&&(this.message+=`:
|
|
59
59
|
|
|
60
60
|
${r}
|
|
61
|
-
`)}delete this.source}},
|
|
61
|
+
`)}delete this.source}},Md=class extends Xi{constructor(t,n){super("YAMLReferenceError",t,n)}},qs=class extends Xi{constructor(t,n){super("YAMLSemanticError",t,n)}},Rd=class extends Xi{constructor(t,n){super("YAMLSyntaxError",t,n)}},Nd=class extends Xi{constructor(t,n){super("YAMLWarning",t,n)}};function eN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _a=class extends Qe{static endOfLine(t,n,i){let r=t[n],a=n;for(;r&&r!==`
|
|
62
62
|
`&&!(i&&(r==="["||r==="]"||r==="{"||r==="}"||r===","));){let s=t[a+1];if(r===":"&&(!s||s===`
|
|
63
63
|
`||s===" "||s===" "||i&&s===",")||(r===" "||r===" ")&&s==="#")break;a+=1,r=s}return a}get strValue(){if(!this.valueRange||!this.context)return null;let{start:t,end:n}=this.valueRange,{src:i}=this.context,r=i[n-1];for(;t<n&&(r===`
|
|
64
64
|
`||r===" "||r===" ");)r=i[--n-1];let a="";for(let o=t;o<n;++o){let c=i[o];if(c===`
|
|
@@ -66,24 +66,24 @@ ${r}
|
|
|
66
66
|
`&&(a+=o>u?i.slice(u,o+1):c)}else a+=c}let s=i[t];switch(s){case" ":{let o="Plain value cannot start with a tab character";return{errors:[new qs(this,o)],str:a}}case"@":case"`":{let o=`Plain value cannot start with reserved character ${s}`;return{errors:[new qs(this,o)],str:a}}default:return a}}parseBlockValue(t){let{indent:n,inFlow:i,src:r}=this.context,a=t,s=t;for(let o=r[a];o===`
|
|
67
67
|
`&&!Qe.atDocumentBoundary(r,a+1);o=r[a]){let c=Qe.endOfBlockIndent(r,n,a+1);if(c===null||r[c]==="#")break;r[c]===`
|
|
68
68
|
`?a=c:(s=_a.endOfLine(r,c,i),a=s)}return this.valueRange.isEmpty()&&(this.valueRange.start=t),this.valueRange.end=s,s}parse(t,n){this.context=t;let{inFlow:i,src:r}=t,a=n,s=r[a];return s&&s!=="#"&&s!==`
|
|
69
|
-
`&&(a=_a.endOfLine(r,n,i)),this.valueRange=new ai(n,a),a=Qe.endOfWhiteSpace(r,a),a=this.parseComment(a),(!this.hasComment||this.valueRange.isEmpty())&&(a=this.parseBlockValue(a)),a}};Et.Char=Nn;Et.Node=Qe;Et.PlainValue=_a;Et.Range=ai;Et.Type=Is;Et.YAMLError=Xi;Et.YAMLReferenceError=
|
|
69
|
+
`&&(a=_a.endOfLine(r,n,i)),this.valueRange=new ai(n,a),a=Qe.endOfWhiteSpace(r,a),a=this.parseComment(a),(!this.hasComment||this.valueRange.isEmpty())&&(a=this.parseBlockValue(a)),a}};Et.Char=Nn;Et.Node=Qe;Et.PlainValue=_a;Et.Range=ai;Et.Type=Is;Et.YAMLError=Xi;Et.YAMLReferenceError=Md;Et.YAMLSemanticError=qs;Et.YAMLSyntaxError=Rd;Et.YAMLWarning=Nd;Et._defineProperty=eN;Et.defaultTagPrefix=ZR;Et.defaultTags=JR});var j2=b(T2=>{"use strict";var w=Qi(),nr=class extends w.Node{constructor(){super(w.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(t,n){return this.context=t,this.range=new w.Range(n,n+1),n+1}},Ps=class extends w.Node{constructor(t,n){super(t,n),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(t,n){this.context=t;let{parseNode:i,src:r}=t,{atLineStart:a,lineStart:s}=t;!a&&this.type===w.Type.SEQ_ITEM&&(this.error=new w.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let o=a?n-s:t.indent,c=w.Node.endOfWhiteSpace(r,n+1),u=r[c],l=u==="#",p=[],f=null;for(;u===`
|
|
70
70
|
`||u==="#";){if(u==="#"){let v=w.Node.endOfLine(r,c+1);p.push(new w.Range(c,v)),c=v}else{a=!0,s=c+1;let v=w.Node.endOfWhiteSpace(r,s);r[v]===`
|
|
71
|
-
`&&p.length===0&&(f=new nr,s=f.parse({src:r},s)),c=w.Node.endOfIndent(r,s)}u=r[c]}if(w.Node.nextNodeIsIndented(u,c-(s+o),this.type!==w.Type.SEQ_ITEM)?this.node=i({atLineStart:a,inCollection:!1,indent:o,lineStart:s,parent:this},c):u&&s>n+1&&(c=s-1),this.node){if(f){let v=t.parent.items||t.parent.contents;v&&v.push(f)}p.length&&Array.prototype.push.apply(this.props,p),c=this.node.range.end}else if(l){let v=p[0];this.props.push(v),c=v.end}else c=w.Node.endOfLine(r,n+1);let m=this.node?this.node.valueRange.end:c;return this.valueRange=new w.Range(n,m),c}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.node?this.node.setOrigRanges(t,n):n}toString(){let{context:{src:t},node:n,range:i,value:r}=this;if(r!=null)return r;let a=n?t.slice(i.start,n.range.start)+String(n):t.slice(i.start,i.end);return w.Node.addStringTerminator(t,i.end,a)}},er=class extends w.Node{constructor(){super(w.Type.COMMENT)}parse(t,n){this.context=t;let i=this.parseComment(n);return this.range=new w.Range(n,i),i}};function
|
|
72
|
-
`?!1:ir.nextContentHasIndent(t,n,i):!1}constructor(t){super(t.type===w.Type.SEQ_ITEM?w.Type.SEQ:w.Type.MAP);for(let i=t.props.length-1;i>=0;--i)if(t.props[i].start<t.context.lineStart){this.props=t.props.slice(0,i+1),t.props=t.props.slice(i+1);let r=t.props[0]||t.valueRange;t.range.start=r.start;break}this.items=[t];let n=
|
|
71
|
+
`&&p.length===0&&(f=new nr,s=f.parse({src:r},s)),c=w.Node.endOfIndent(r,s)}u=r[c]}if(w.Node.nextNodeIsIndented(u,c-(s+o),this.type!==w.Type.SEQ_ITEM)?this.node=i({atLineStart:a,inCollection:!1,indent:o,lineStart:s,parent:this},c):u&&s>n+1&&(c=s-1),this.node){if(f){let v=t.parent.items||t.parent.contents;v&&v.push(f)}p.length&&Array.prototype.push.apply(this.props,p),c=this.node.range.end}else if(l){let v=p[0];this.props.push(v),c=v.end}else c=w.Node.endOfLine(r,n+1);let m=this.node?this.node.valueRange.end:c;return this.valueRange=new w.Range(n,m),c}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.node?this.node.setOrigRanges(t,n):n}toString(){let{context:{src:t},node:n,range:i,value:r}=this;if(r!=null)return r;let a=n?t.slice(i.start,n.range.start)+String(n):t.slice(i.start,i.end);return w.Node.addStringTerminator(t,i.end,a)}},er=class extends w.Node{constructor(){super(w.Type.COMMENT)}parse(t,n){this.context=t;let i=this.parseComment(n);return this.range=new w.Range(n,i),i}};function Ld(e){let t=e;for(;t instanceof Ps;)t=t.node;if(!(t instanceof ir))return null;let n=t.items.length,i=-1;for(let s=n-1;s>=0;--s){let o=t.items[s];if(o.type===w.Type.COMMENT){let{indent:c,lineStart:u}=o.context;if(c>0&&o.range.start>=u+c)break;i=s}else if(o.type===w.Type.BLANK_LINE)i=s;else break}if(i===-1)return null;let r=t.items.splice(i,n-i),a=r[0].range.start;for(;t.range.end=a,t.valueRange&&t.valueRange.end>a&&(t.valueRange.end=a),t!==e;)t=t.context.parent;return r}var ir=class extends w.Node{static nextContentHasIndent(t,n,i){let r=w.Node.endOfLine(t,n)+1;n=w.Node.endOfWhiteSpace(t,r);let a=t[n];return a?n>=r+i?!0:a!=="#"&&a!==`
|
|
72
|
+
`?!1:ir.nextContentHasIndent(t,n,i):!1}constructor(t){super(t.type===w.Type.SEQ_ITEM?w.Type.SEQ:w.Type.MAP);for(let i=t.props.length-1;i>=0;--i)if(t.props[i].start<t.context.lineStart){this.props=t.props.slice(0,i+1),t.props=t.props.slice(i+1);let r=t.props[0]||t.valueRange;t.range.start=r.start;break}this.items=[t];let n=Ld(t);n&&Array.prototype.push.apply(this.items,n)}get includesTrailingLines(){return this.items.length>0}parse(t,n){this.context=t;let{parseNode:i,src:r}=t,a=w.Node.startOfLine(r,n),s=this.items[0];s.context.parent=this,this.valueRange=w.Range.copy(s.valueRange);let o=s.range.start-s.context.lineStart,c=n;c=w.Node.normalizeOffset(r,c);let u=r[c],l=w.Node.endOfWhiteSpace(r,a)===c,p=!1;for(;u;){for(;u===`
|
|
73
73
|
`||u==="#";){if(l&&u===`
|
|
74
74
|
`&&!p){let v=new nr;if(c=v.parse({src:r},c),this.valueRange.end=c,c>=r.length){u=null;break}this.items.push(v),c-=1}else if(u==="#"){if(c<a+o&&!ir.nextContentHasIndent(r,c,o))return c;let v=new er;if(c=v.parse({indent:o,lineStart:a,src:r},c),this.items.push(v),this.valueRange.end=c,c>=r.length){u=null;break}}if(a=c+1,c=w.Node.endOfIndent(r,a),w.Node.atBlank(r,c)){let v=w.Node.endOfWhiteSpace(r,c),g=r[v];(!g||g===`
|
|
75
75
|
`||g==="#")&&(c=v)}u=r[c],l=!0}if(!u)break;if(c!==a+o&&(l||u!==":")){if(c<a+o){a>n&&(c=a);break}else if(!this.error){let v="All collection items must start at the same column";this.error=new w.YAMLSyntaxError(this,v)}}if(s.type===w.Type.SEQ_ITEM){if(u!=="-"){a>n&&(c=a);break}}else if(u==="-"&&!this.error){let v=r[c+1];if(!v||v===`
|
|
76
76
|
`||v===" "||v===" "){let g="A collection cannot be both a mapping and a sequence";this.error=new w.YAMLSyntaxError(this,g)}}let f=i({atLineStart:l,inCollection:!0,indent:o,lineStart:a,parent:this},c);if(!f)return c;if(this.items.push(f),this.valueRange.end=f.valueRange.end,c=w.Node.normalizeOffset(r,f.range.end),u=r[c],l=!1,p=f.includesTrailingLines,u){let v=c-1,g=r[v];for(;g===" "||g===" ";)g=r[--v];g===`
|
|
77
|
-
`&&(a=v+1,l=!0)}let m=
|
|
77
|
+
`&&(a=v+1,l=!0)}let m=Ld(f);m&&Array.prototype.push.apply(this.items,m)}return c}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.items.forEach(i=>{n=i.setOrigRanges(t,n)}),n}toString(){let{context:{src:t},items:n,range:i,value:r}=this;if(r!=null)return r;let a=t.slice(i.start,n[0].range.start)+String(n[0]);for(let s=1;s<n.length;++s){let o=n[s],{atLineStart:c,indent:u}=o.context;if(c)for(let l=0;l<u;++l)a+=" ";a+=String(o)}return w.Node.addStringTerminator(t,i.end,a)}},Id=class extends w.Node{constructor(){super(w.Type.DIRECTIVE),this.name=null}get parameters(){let t=this.rawValue;return t?t.trim().split(/[ \t]+/):[]}parseName(t){let{src:n}=this.context,i=t,r=n[i];for(;r&&r!==`
|
|
78
78
|
`&&r!==" "&&r!==" ";)r=n[i+=1];return this.name=n.slice(t,i),i}parseParameters(t){let{src:n}=this.context,i=t,r=n[i];for(;r&&r!==`
|
|
79
79
|
`&&r!=="#";)r=n[i+=1];return this.valueRange=new w.Range(t,i),i}parse(t,n){this.context=t;let i=this.parseName(n+1);return i=this.parseParameters(i),i=this.parseComment(i),this.range=new w.Range(n,i),i}},Sa=class extends w.Node{static startCommentOrEndBlankLine(t,n){let i=w.Node.endOfWhiteSpace(t,n),r=t[i];return r==="#"||r===`
|
|
80
80
|
`?i:n}constructor(){super(w.Type.DOCUMENT),this.directives=null,this.contents=null,this.directivesEndMarker=null,this.documentEndMarker=null}parseDirectives(t){let{src:n}=this.context;this.directives=[];let i=!0,r=!1,a=t;for(;!w.Node.atDocumentBoundary(n,a,w.Char.DIRECTIVES_END);)switch(a=Sa.startCommentOrEndBlankLine(n,a),n[a]){case`
|
|
81
|
-
`:if(i){let s=new nr;a=s.parse({src:n},a),a<n.length&&this.directives.push(s)}else a+=1,i=!0;break;case"#":{let s=new er;a=s.parse({src:n},a),this.directives.push(s),i=!1}break;case"%":{let s=new
|
|
82
|
-
`:if(s){let o=new nr;a=o.parse({src:i},a),a<i.length&&this.contents.push(o)}else a+=1,s=!0;r=a;break;case"#":{let o=new er;a=o.parse({src:i},a),this.contents.push(o),s=!1}break;default:{let o=w.Node.endOfIndent(i,a),u=n({atLineStart:s,indent:-1,inFlow:!1,inCollection:!1,lineStart:r,parent:this},o);if(!u)return this.valueRange.end=o;this.contents.push(u),a=u.range.end,s=!1;let l=
|
|
81
|
+
`:if(i){let s=new nr;a=s.parse({src:n},a),a<n.length&&this.directives.push(s)}else a+=1,i=!0;break;case"#":{let s=new er;a=s.parse({src:n},a),this.directives.push(s),i=!1}break;case"%":{let s=new Id;a=s.parse({parent:this,src:n},a),this.directives.push(s),r=!0,i=!1}break;default:return r?this.error=new w.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),a}return n[a]?(this.directivesEndMarker=new w.Range(a,a+3),a+3):(r?this.error=new w.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),a)}parseContents(t){let{parseNode:n,src:i}=this.context;this.contents||(this.contents=[]);let r=t;for(;i[r-1]==="-";)r-=1;let a=w.Node.endOfWhiteSpace(i,t),s=r===t;for(this.valueRange=new w.Range(a);!w.Node.atDocumentBoundary(i,a,w.Char.DOCUMENT_END);){switch(i[a]){case`
|
|
82
|
+
`:if(s){let o=new nr;a=o.parse({src:i},a),a<i.length&&this.contents.push(o)}else a+=1,s=!0;r=a;break;case"#":{let o=new er;a=o.parse({src:i},a),this.contents.push(o),s=!1}break;default:{let o=w.Node.endOfIndent(i,a),u=n({atLineStart:s,indent:-1,inFlow:!1,inCollection:!1,lineStart:r,parent:this},o);if(!u)return this.valueRange.end=o;this.contents.push(u),a=u.range.end,s=!1;let l=Ld(u);l&&Array.prototype.push.apply(this.contents,l)}}a=Sa.startCommentOrEndBlankLine(i,a)}if(this.valueRange.end=a,i[a]&&(this.documentEndMarker=new w.Range(a,a+3),a+=3,i[a])){if(a=w.Node.endOfWhiteSpace(i,a),i[a]==="#"){let o=new er;a=o.parse({src:i},a),this.contents.push(o)}switch(i[a]){case`
|
|
83
83
|
`:a+=1;break;case void 0:break;default:this.error=new w.YAMLSyntaxError(this,"Document end marker line cannot have a non-comment suffix")}}return a}parse(t,n){t.root=this,this.context=t;let{src:i}=t,r=i.charCodeAt(n)===65279?n+1:n;return r=this.parseDirectives(r),r=this.parseContents(r),r}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.directives.forEach(i=>{n=i.setOrigRanges(t,n)}),this.directivesEndMarker&&(n=this.directivesEndMarker.setOrigRange(t,n)),this.contents.forEach(i=>{n=i.setOrigRanges(t,n)}),this.documentEndMarker&&(n=this.documentEndMarker.setOrigRange(t,n)),n}toString(){let{contents:t,directives:n,value:i}=this;if(i!=null)return i;let r=n.join("");return t.length>0&&((n.length>0||t[0].type===w.Type.COMMENT)&&(r+=`---
|
|
84
84
|
`),r+=t.join("")),r[r.length-1]!==`
|
|
85
85
|
`&&(r+=`
|
|
86
|
-
`),r}},
|
|
86
|
+
`),r}},qd=class extends w.Node{parse(t,n){this.context=t;let{src:i}=t,r=w.Node.endOfIdentifier(i,n+1);return this.valueRange=new w.Range(n+1,r),r=w.Node.endOfWhiteSpace(i,r),r=this.parseComment(r),r}},si={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},Pd=class extends w.Node{constructor(t,n){super(t,n),this.blockIndent=null,this.chomping=si.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===si.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:t,end:n}=this.valueRange,{indent:i,src:r}=this.context;if(this.valueRange.isEmpty())return"";let a=null,s=r[n-1];for(;s===`
|
|
87
87
|
`||s===" "||s===" ";){if(n-=1,n<=t){if(this.chomping===si.KEEP)break;return""}s===`
|
|
88
88
|
`&&(a=n),s=r[n-1]}let o=n+1;a&&(this.chomping===si.KEEP?(o=a,n=this.valueRange.end):n=a);let c=i+this.blockIndent,u=this.type===w.Type.BLOCK_FOLDED,l=!0,p="",f="",m=!1;for(let v=t;v<n;++v){for(let d=0;d<c&&r[v]===" ";++d)v+=1;let g=r[v];if(g===`
|
|
89
89
|
`)f===`
|
|
@@ -99,7 +99,7 @@ ${r}
|
|
|
99
99
|
`&&(a+=1,!w.Node.atDocumentBoundary(i,a));c=i[a]){let u=w.Node.endOfBlockIndent(i,n,a);if(u===null)break;let l=i[u],p=u-(a+n);if(this.blockIndent){if(l&&l!==`
|
|
100
100
|
`&&p<this.blockIndent){if(i[u]==="#")break;if(!this.error){let m=`Block scalars must not be less indented than their ${r?"explicit indentation indicator":"first line"}`;this.error=new w.YAMLSemanticError(this,m)}}}else if(i[u]!==`
|
|
101
101
|
`){if(p<o){let f="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new w.YAMLSemanticError(this,f)}this.blockIndent=p}else p>o&&(o=p);i[u]===`
|
|
102
|
-
`?a=u:a=s=w.Node.endOfLine(i,u)}return this.chomping!==si.KEEP&&(a=i[s]?s+1:s),this.valueRange=new w.Range(t+1,a),a}parse(t,n){this.context=t;let{src:i}=t,r=this.parseBlockHeader(n);return r=w.Node.endOfWhiteSpace(i,r),r=this.parseComment(r),r=this.parseBlockValue(r),r}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.header?this.header.setOrigRange(t,n):n}},
|
|
102
|
+
`?a=u:a=s=w.Node.endOfLine(i,u)}return this.chomping!==si.KEEP&&(a=i[s]?s+1:s),this.valueRange=new w.Range(t+1,a),a}parse(t,n){this.context=t;let{src:i}=t,r=this.parseBlockHeader(n);return r=w.Node.endOfWhiteSpace(i,r),r=this.parseComment(r),r=this.parseBlockValue(r),r}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.header?this.header.setOrigRange(t,n):n}},Bd=class extends w.Node{constructor(t,n){super(t,n),this.items=null}prevNodeIsJsonLike(t=this.items.length){let n=this.items[t-1];return!!n&&(n.jsonLike||n.type===w.Type.COMMENT&&this.prevNodeIsJsonLike(t-1))}parse(t,n){this.context=t;let{parseNode:i,src:r}=t,{indent:a,lineStart:s}=t,o=r[n];this.items=[{char:o,offset:n}];let c=w.Node.endOfWhiteSpace(r,n+1);for(o=r[c];o&&o!=="]"&&o!=="}";){switch(o){case`
|
|
103
103
|
`:{s=c+1;let u=w.Node.endOfWhiteSpace(r,s);if(r[u]===`
|
|
104
104
|
`){let l=new nr;s=l.parse({src:r},s),this.items.push(l)}if(c=w.Node.endOfIndent(r,s),c<=s+a&&(o=r[c],c<s+a||o!=="]"&&o!=="}")){let l="Insufficient indentation in flow collection";this.error=new w.YAMLSemanticError(this,l)}}break;case",":this.items.push({char:o,offset:c}),c+=1;break;case"#":{let u=new er;c=u.parse({src:r},c),this.items.push(u)}break;case"?":case":":{let u=r[c+1];if(u===`
|
|
105
105
|
`||u===" "||u===" "||u===","||o===":"&&this.prevNodeIsJsonLike()){this.items.push({char:o,offset:c}),c+=1;break}}default:{let u=i({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:s,parent:this},c);if(!u)return this.valueRange=new w.Range(n,c),c;this.items.push(u),c=w.Node.normalizeOffset(r,u.range.end)}}c=w.Node.endOfWhiteSpace(r,c),o=r[c]}return this.valueRange=new w.Range(n,c+1),o&&(this.items.push({char:o,offset:c}),c=w.Node.endOfWhiteSpace(r,c+1),c=this.parseComment(c)),c}setOrigRanges(t,n){return n=super.setOrigRanges(t,n),this.items.forEach(i=>{if(i instanceof w.Node)n=i.setOrigRanges(t,n);else if(t.length===0)i.origOffset=i.offset;else{let r=n;for(;r<t.length&&!(t[r]>i.offset);)++r;i.origOffset=i.offset+r,n=r}}),n}toString(){let{context:{src:t},items:n,range:i,value:r}=this;if(r!=null)return r;let a=n.filter(c=>c instanceof w.Node),s="",o=i.start;return a.forEach(c=>{let u=t.slice(o,c.range.start);o=c.range.end,s+=u+String(c),s[s.length-1]===`
|
|
@@ -111,7 +111,7 @@ ${r}
|
|
|
111
111
|
`:for(;a[o+1]===" "||a[o+1]===" ";)o+=1;break;default:t.push(new w.YAMLSyntaxError(this,`Invalid escape sequence ${a.substr(o-1,2)}`)),s+="\\"+a[o]}else if(c===" "||c===" "){let u=o,l=a[o+1];for(;l===" "||l===" ";)o+=1,l=a[o+1];l!==`
|
|
112
112
|
`&&(s+=o>u?a.slice(u,o+1):c)}else s+=c}return t.length>0?{errors:t,str:s}:s}parseCharCode(t,n,i){let{src:r}=this.context,a=r.substr(t,n),o=a.length===n&&/^[0-9a-fA-F]+$/.test(a)?parseInt(a,16):NaN;return isNaN(o)?(i.push(new w.YAMLSyntaxError(this,`Invalid escape sequence ${r.substr(t-2,n+2)}`)),r.substr(t-2,n+2)):String.fromCodePoint(o)}parse(t,n){this.context=t;let{src:i}=t,r=Bs.endOfQuote(i,n+1);return this.valueRange=new w.Range(n,r),r=w.Node.endOfWhiteSpace(i,r),r=this.parseComment(r),r}},Fs=class extends w.Node{static endOfQuote(t,n){let i=t[n];for(;i;)if(i==="'"){if(t[n+1]!=="'")break;i=t[n+=2]}else i=t[n+=1];return n+1}get strValue(){if(!this.valueRange||!this.context)return null;let t=[],{start:n,end:i}=this.valueRange,{indent:r,src:a}=this.context;a[i-1]!=="'"&&t.push(new w.YAMLSyntaxError(this,"Missing closing 'quote"));let s="";for(let o=n+1;o<i-1;++o){let c=a[o];if(c===`
|
|
113
113
|
`){w.Node.atDocumentBoundary(a,o+1)&&t.push(new w.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:u,offset:l,error:p}=w.Node.foldNewline(a,o,r);s+=u,o=l,p&&t.push(new w.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(c==="'")s+=c,o+=1,a[o]!=="'"&&t.push(new w.YAMLSyntaxError(this,"Unescaped single quote? This should not happen."));else if(c===" "||c===" "){let u=o,l=a[o+1];for(;l===" "||l===" ";)o+=1,l=a[o+1];l!==`
|
|
114
|
-
`&&(s+=o>u?a.slice(u,o+1):c)}else s+=c}return t.length>0?{errors:t,str:s}:s}parse(t,n){this.context=t;let{src:i}=t,r=Fs.endOfQuote(i,n+1);return this.valueRange=new w.Range(n,r),r=w.Node.endOfWhiteSpace(i,r),r=this.parseComment(r),r}};function tN(e,t){switch(e){case w.Type.ALIAS:return new
|
|
114
|
+
`&&(s+=o>u?a.slice(u,o+1):c)}else s+=c}return t.length>0?{errors:t,str:s}:s}parse(t,n){this.context=t;let{src:i}=t,r=Fs.endOfQuote(i,n+1);return this.valueRange=new w.Range(n,r),r=w.Node.endOfWhiteSpace(i,r),r=this.parseComment(r),r}};function tN(e,t){switch(e){case w.Type.ALIAS:return new qd(e,t);case w.Type.BLOCK_FOLDED:case w.Type.BLOCK_LITERAL:return new Pd(e,t);case w.Type.FLOW_MAP:case w.Type.FLOW_SEQ:return new Bd(e,t);case w.Type.MAP_KEY:case w.Type.MAP_VALUE:case w.Type.SEQ_ITEM:return new Ps(e,t);case w.Type.COMMENT:case w.Type.PLAIN:return new w.PlainValue(e,t);case w.Type.QUOTE_DOUBLE:return new Bs(e,t);case w.Type.QUOTE_SINGLE:return new Fs(e,t);default:return null}}var tr=class{static parseType(t,n,i){switch(t[n]){case"*":return w.Type.ALIAS;case">":return w.Type.BLOCK_FOLDED;case"|":return w.Type.BLOCK_LITERAL;case"{":return w.Type.FLOW_MAP;case"[":return w.Type.FLOW_SEQ;case"?":return!i&&w.Node.atBlank(t,n+1,!0)?w.Type.MAP_KEY:w.Type.PLAIN;case":":return!i&&w.Node.atBlank(t,n+1,!0)?w.Type.MAP_VALUE:w.Type.PLAIN;case"-":return!i&&w.Node.atBlank(t,n+1,!0)?w.Type.SEQ_ITEM:w.Type.PLAIN;case'"':return w.Type.QUOTE_DOUBLE;case"'":return w.Type.QUOTE_SINGLE;default:return w.Type.PLAIN}}constructor(t={},{atLineStart:n,inCollection:i,inFlow:r,indent:a,lineStart:s,parent:o}={}){w._defineProperty(this,"parseNode",(c,u)=>{if(w.Node.atDocumentBoundary(this.src,u))return null;let l=new tr(this,c),{props:p,type:f,valueStart:m}=l.parseProps(u),v=tN(f,p),g=v.parse(l,m);if(v.range=new w.Range(u,g),g<=u&&(v.error=new Error("Node#parse consumed no characters"),v.error.parseEnd=g,v.error.source=v,v.range.end=u+1),l.nodeStartsCollection(v)){!v.error&&!l.atLineStart&&l.parent.type===w.Type.DOCUMENT&&(v.error=new w.YAMLSyntaxError(v,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let d=new ir(v);return g=d.parse(new tr(l),g),d.range=new w.Range(u,g),d}return v}),this.atLineStart=n??(t.atLineStart||!1),this.inCollection=i??(t.inCollection||!1),this.inFlow=r??(t.inFlow||!1),this.indent=a??t.indent,this.lineStart=s??t.lineStart,this.parent=o??(t.parent||{}),this.root=t.root,this.src=t.src}nodeStartsCollection(t){let{inCollection:n,inFlow:i,src:r}=this;if(n||i)return!1;if(t instanceof Ps)return!0;let a=t.range.end;return r[a]===`
|
|
115
115
|
`||r[a-1]===`
|
|
116
116
|
`?!1:(a=w.Node.endOfWhiteSpace(r,a),r[a]===":")}parseProps(t){let{inFlow:n,parent:i,src:r}=this,a=[],s=!1;t=this.atLineStart?w.Node.endOfIndent(r,t):w.Node.endOfWhiteSpace(r,t);let o=r[t];for(;o===w.Char.ANCHOR||o===w.Char.COMMENT||o===w.Char.TAG||o===`
|
|
117
117
|
`;){if(o===`
|
|
@@ -128,74 +128,74 @@ ${u}${c}${k}`:`
|
|
|
128
128
|
${c}${_}`}else d=`${x} ${C.join(" ")} ${_}`}else{let x=g.map(n);d=x.shift();for(let _ of x)d+=_?`
|
|
129
129
|
${c}${_}`:`
|
|
130
130
|
`}return this.comment?(d+=`
|
|
131
|
-
`+this.comment.replace(/^/gm,`${c}#`),s&&s()):m&&o&&o(),d}};A._defineProperty(Ue,"maxFlowStringSingleLineLength",60);function
|
|
131
|
+
`+this.comment.replace(/^/gm,`${c}#`),s&&s()):m&&o&&o(),d}};A._defineProperty(Ue,"maxFlowStringSingleLineLength",60);function gl(e){let t=e instanceof pt?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),Number.isInteger(t)&&t>=0?t:null}var ci=class extends Ue{add(t){this.items.push(t)}delete(t){let n=gl(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){let i=gl(t);if(typeof i!="number")return;let r=this.items[i];return!n&&r instanceof pt?r.value:r}has(t){let n=gl(t);return typeof n=="number"&&n<this.items.length}set(t,n){let i=gl(t);if(typeof i!="number")throw new Error(`Expected a valid index, not ${t}.`);this.items[i]=n}toJSON(t,n){let i=[];n&&n.onCreate&&n.onCreate(i);let r=0;for(let a of this.items)i.push(oi(a,String(r++),n));return i}toString(t,n,i){return t?super.toString(t,{blockItem:r=>r.type==="comment"?r.str:`- ${r.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(t.indent||"")+" "},n,i):JSON.stringify(this)}},rN=(e,t,n)=>t===null?"":typeof t!="object"?String(t):e instanceof Pt&&n&&n.doc?e.toString({anchors:Object.create(null),doc:n.doc,indent:"",indentStep:n.indentStep,inFlow:!0,inStringifyKey:!0,stringify:n.stringify}):JSON.stringify(t),ye=class extends Pt{constructor(t,n=null){super(),this.key=t,this.value=n,this.type=ye.Type.PAIR}get commentBefore(){return this.key instanceof Pt?this.key.commentBefore:void 0}set commentBefore(t){if(this.key==null&&(this.key=new pt(null)),this.key instanceof Pt)this.key.commentBefore=t;else{let n="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(n)}}addToJSMap(t,n){let i=oi(this.key,"",t);if(n instanceof Map){let r=oi(this.value,i,t);n.set(i,r)}else if(n instanceof Set)n.add(i);else{let r=rN(this.key,i,t),a=oi(this.value,r,t);r in n?Object.defineProperty(n,r,{value:a,writable:!0,enumerable:!0,configurable:!0}):n[r]=a}return n}toJSON(t,n){let i=n&&n.mapAsMap?new Map:{};return this.addToJSMap(n,i)}toString(t,n,i){if(!t||!t.doc)return JSON.stringify(this);let{indent:r,indentSeq:a,simpleKeys:s}=t.doc.options,{key:o,value:c}=this,u=o instanceof Pt&&o.comment;if(s){if(u)throw new Error("With simple keys, key nodes cannot have comments");if(o instanceof Ue){let O="With simple keys, collection cannot be used as a key value";throw new Error(O)}}let l=!s&&(!o||u||(o instanceof Pt?o instanceof Ue||o.type===A.Type.BLOCK_FOLDED||o.type===A.Type.BLOCK_LITERAL:typeof o=="object")),{doc:p,indent:f,indentStep:m,stringify:v}=t;t=Object.assign({},t,{implicitKey:!l,indent:f+m});let g=!1,d=v(o,t,()=>u=null,()=>g=!0);if(d=Ea(d,t.indent,u),!l&&d.length>1024){if(s)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");l=!0}if(t.allNullValues&&!s)return this.comment?(d=Ea(d,t.indent,this.comment),n&&n()):g&&!u&&i&&i(),t.inFlow&&!l?d:`? ${d}`;d=l?`? ${d}
|
|
132
132
|
${f}:`:`${d}:`,this.comment&&(d=Ea(d,t.indent,this.comment),n&&n());let x="",_=null;c instanceof Pt?(c.spaceBefore&&(x=`
|
|
133
133
|
`),c.commentBefore&&(x+=`
|
|
134
134
|
${c.commentBefore.replace(/^/gm,`${t.indent}#`)}`),_=c.comment):c&&typeof c=="object"&&(c=p.schema.createNode(c,!0)),t.implicitKey=!1,!l&&!this.comment&&c instanceof pt&&(t.indentAtStart=d.length+1),g=!1,!a&&r>=2&&!t.inFlow&&!l&&c instanceof ci&&c.type!==A.Type.FLOW_SEQ&&!c.tag&&!p.anchors.getName(c)&&(t.indent=t.indent.substr(2));let C=v(c,t,()=>_=null,()=>g=!0),k=" ";return x||this.comment?k=`${x}
|
|
135
135
|
${t.indent}`:!l&&c instanceof Ue?(!(C[0]==="["||C[0]==="{")||C.includes(`
|
|
136
136
|
`))&&(k=`
|
|
137
137
|
${t.indent}`):C[0]===`
|
|
138
|
-
`&&(k=""),g&&!_&&i&&i(),Ea(d+k+C,t.indent,_)}};A._defineProperty(ye,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var
|
|
139
|
-
`);n=e[t+1]}return t};function
|
|
140
|
-
`)n===
|
|
138
|
+
`&&(k=""),g&&!_&&i&&i(),Ea(d+k+C,t.indent,_)}};A._defineProperty(ye,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var vl=(e,t)=>{if(e instanceof Ln){let n=t.get(e.source);return n.count*n.aliasCount}else if(e instanceof Ue){let n=0;for(let i of e.items){let r=vl(i,t);r>n&&(n=r)}return n}else if(e instanceof ye){let n=vl(e.key,t),i=vl(e.value,t);return Math.max(n,i)}return 1},Ln=class extends Pt{static stringify({range:t,source:n},{anchors:i,doc:r,implicitKey:a,inStringifyKey:s}){let o=Object.keys(i).find(u=>i[u]===n);if(!o&&s&&(o=r.anchors.getName(n)||r.anchors.newName()),o)return`*${o}${a?" ":""}`;let c=r.anchors.getName(n)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${c} [${t}]`)}constructor(t){super(),this.source=t,this.type=A.Type.ALIAS}set tag(t){throw new Error("Alias nodes cannot have tags")}toJSON(t,n){if(!n)return oi(this.source,t,n);let{anchors:i,maxAliasCount:r}=n,a=i.get(this.source);if(!a||a.res===void 0){let s="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new A.YAMLReferenceError(this.cstNode,s):new ReferenceError(s)}if(r>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=vl(this.source,i)),a.count*a.aliasCount>r)){let s="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new A.YAMLReferenceError(this.cstNode,s):new ReferenceError(s)}return a.res}toString(t){return Ln.stringify(this,t)}};A._defineProperty(Ln,"default",!0);function Ds(e,t){let n=t instanceof pt?t.value:t;for(let i of e)if(i instanceof ye&&(i.key===t||i.key===n||i.key&&i.key.value===n))return i}var zs=class extends Ue{add(t,n){t?t instanceof ye||(t=new ye(t.key||t,t.value)):t=new ye(t);let i=Ds(this.items,t.key),r=this.schema&&this.schema.sortMapEntries;if(i)if(n)i.value=t.value;else throw new Error(`Key ${t.key} already set`);else if(r){let a=this.items.findIndex(s=>r(t,s)<0);a===-1?this.items.push(t):this.items.splice(a,0,t)}else this.items.push(t)}delete(t){let n=Ds(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){let i=Ds(this.items,t),r=i&&i.value;return!n&&r instanceof pt?r.value:r}has(t){return!!Ds(this.items,t)}set(t,n){this.add(new ye(t,n),!0)}toJSON(t,n,i){let r=i?new i:n&&n.mapAsMap?new Map:{};n&&n.onCreate&&n.onCreate(r);for(let a of this.items)a.addToJSMap(n,r);return r}toString(t,n,i){if(!t)return JSON.stringify(this);for(let r of this.items)if(!(r instanceof ye))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return super.toString(t,{blockItem:r=>r.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:t.indent||""},n,i)}},I2="<<",yl=class extends ye{constructor(t){if(t instanceof ye){let n=t.value;n instanceof ci||(n=new ci,n.items.push(t.value),n.range=t.value.range),super(t.key,n),this.range=t.range}else super(new pt(I2),new ci);this.type=ye.Type.MERGE_PAIR}addToJSMap(t,n){for(let{source:i}of this.value.items){if(!(i instanceof zs))throw new Error("Merge sources must be maps");let r=i.toJSON(null,t,Map);for(let[a,s]of r)n instanceof Map?n.has(a)||n.set(a,s):n instanceof Set?n.add(a):Object.prototype.hasOwnProperty.call(n,a)||Object.defineProperty(n,a,{value:s,writable:!0,enumerable:!0,configurable:!0})}return n}toString(t,n){let i=this.value;if(i.items.length>1)return super.toString(t,n);this.value=i.items[0];let r=super.toString(t,n);return this.value=i,r}},aN={defaultType:A.Type.BLOCK_LITERAL,lineWidth:76},sN={trueStr:"true",falseStr:"false"},oN={asBigInt:!1},cN={nullStr:"null"},ar={defaultType:A.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function Dd(e,t,n){for(let{format:i,test:r,resolve:a}of t)if(r){let s=e.match(r);if(s){let o=a.apply(null,s);return o instanceof pt||(o=new pt(o)),i&&(o.format=i),o}}return n&&(e=n(e)),new pt(e)}var q2="flow",Fd="block",bl="quoted",R2=(e,t)=>{let n=e[t+1];for(;n===" "||n===" ";){do n=e[t+=1];while(n&&n!==`
|
|
139
|
+
`);n=e[t+1]}return t};function wl(e,t,n,{indentAtStart:i,lineWidth:r=80,minContentWidth:a=20,onFold:s,onOverflow:o}){if(!r||r<0)return e;let c=Math.max(1+a,1+r-t.length);if(e.length<=c)return e;let u=[],l={},p=r-t.length;typeof i=="number"&&(i>r-Math.max(2,a)?u.push(0):p=r-i);let f,m,v=!1,g=-1,d=-1,x=-1;n===Fd&&(g=R2(e,g),g!==-1&&(p=g+c));for(let C;C=e[g+=1];){if(n===bl&&C==="\\"){switch(d=g,e[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}x=g}if(C===`
|
|
140
|
+
`)n===Fd&&(g=R2(e,g)),p=g+c,f=void 0;else{if(C===" "&&m&&m!==" "&&m!==`
|
|
141
141
|
`&&m!==" "){let k=e[g+1];k&&k!==" "&&k!==`
|
|
142
|
-
`&&k!==" "&&(f=g)}if(g>=p)if(f)u.push(f),p=f+c,f=void 0;else if(n===
|
|
143
|
-
${t}${e.slice(0,O)}`:(n===
|
|
144
|
-
${t}${e.slice(k+1,O)}`)}return _}var
|
|
145
|
-
`){if(a-s>i)return!0;if(s=a+1,r-s<=i)return!1}return!0}function rr(e,t){let{implicitKey:n}=t,{jsonEncoding:i,minMultiLineLength:r}=ar.doubleQuoted,a=JSON.stringify(e);if(i)return a;let s=t.indent||(
|
|
142
|
+
`&&k!==" "&&(f=g)}if(g>=p)if(f)u.push(f),p=f+c,f=void 0;else if(n===bl){for(;m===" "||m===" ";)m=C,C=e[g+=1],v=!0;let k=g>x+1?g-2:d-1;if(l[k])return e;u.push(k),l[k]=!0,p=k+c,f=void 0}else v=!0}m=C}if(v&&o&&o(),u.length===0)return e;s&&s();let _=e.slice(0,u[0]);for(let C=0;C<u.length;++C){let k=u[C],O=u[C+1]||e.length;k===0?_=`
|
|
143
|
+
${t}${e.slice(0,O)}`:(n===bl&&l[k]&&(_+=`${e[k]}\\`),_+=`
|
|
144
|
+
${t}${e.slice(k+1,O)}`)}return _}var zd=({indentAtStart:e})=>e?Object.assign({indentAtStart:e},ar.fold):ar.fold,_l=e=>/^(%|---|\.\.\.)/m.test(e);function lN(e,t,n){if(!t||t<0)return!1;let i=t-n,r=e.length;if(r<=i)return!1;for(let a=0,s=0;a<r;++a)if(e[a]===`
|
|
145
|
+
`){if(a-s>i)return!0;if(s=a+1,r-s<=i)return!1}return!0}function rr(e,t){let{implicitKey:n}=t,{jsonEncoding:i,minMultiLineLength:r}=ar.doubleQuoted,a=JSON.stringify(e);if(i)return a;let s=t.indent||(_l(e)?" ":""),o="",c=0;for(let u=0,l=a[u];l;l=a[++u])if(l===" "&&a[u+1]==="\\"&&a[u+2]==="n"&&(o+=a.slice(c,u)+"\\ ",u+=1,c=u,l="\\"),l==="\\")switch(a[u+1]){case"u":{o+=a.slice(c,u);let p=a.substr(u+2,4);switch(p){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:p.substr(0,2)==="00"?o+="\\x"+p.substr(2):o+=a.substr(u,6)}u+=5,c=u+1}break;case"n":if(n||a[u+2]==='"'||a.length<r)u+=1;else{for(o+=a.slice(c,u)+`
|
|
146
146
|
|
|
147
147
|
`;a[u+2]==="\\"&&a[u+3]==="n"&&a[u+4]!=='"';)o+=`
|
|
148
|
-
`,u+=2;o+=s,a[u+2]===" "&&(o+="\\"),u+=1,c=u+1}break;default:u+=1}return o=c?o+a.slice(c):a,n?o:
|
|
149
|
-
${n}`)+"'";return t.implicitKey?i:
|
|
148
|
+
`,u+=2;o+=s,a[u+2]===" "&&(o+="\\"),u+=1,c=u+1}break;default:u+=1}return o=c?o+a.slice(c):a,n?o:wl(o,s,bl,zd(t))}function P2(e,t){if(t.implicitKey){if(/\n/.test(e))return rr(e,t)}else if(/[ \t]\n|\n[ \t]/.test(e))return rr(e,t);let n=t.indent||(_l(e)?" ":""),i="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
149
|
+
${n}`)+"'";return t.implicitKey?i:wl(i,n,q2,zd(t))}function xl({comment:e,type:t,value:n},i,r,a){if(/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return rr(n,i);let s=i.indent||(i.forceBlockIndent||_l(n)?" ":""),o=s?"2":"1",c=t===A.Type.BLOCK_FOLDED?!1:t===A.Type.BLOCK_LITERAL?!0:!lN(n,ar.fold.lineWidth,s.length),u=c?"|":">";if(!n)return u+`
|
|
150
150
|
`;let l="",p="";if(n=n.replace(/[\n\t ]*$/,m=>{let v=m.indexOf(`
|
|
151
151
|
`);return v===-1?u+="-":(n===m||v!==m.length-1)&&(u+="+",a&&a()),p=m.replace(/\n$/,""),""}).replace(/^[\n ]*/,m=>{m.indexOf(" ")!==-1&&(u+=o);let v=m.match(/ +$/);return v?(l=m.slice(0,-v[0].length),v[0]):(l=m,"")}),p&&(p=p.replace(/\n+(?!\n|$)/g,`$&${s}`)),l&&(l=l.replace(/\n+/g,`$&${s}`)),e&&(u+=" #"+e.replace(/ ?[\r\n]+/g," "),r&&r()),!n)return`${u}${o}
|
|
152
152
|
${s}${p}`;if(c)return n=n.replace(/\n+/g,`$&${s}`),`${u}
|
|
153
153
|
${s}${l}${n}${p}`;n=n.replace(/\n+/g,`
|
|
154
|
-
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${s}`);let f=
|
|
154
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${s}`);let f=wl(`${l}${n}${p}`,s,Fd,ar.fold);return`${u}
|
|
155
155
|
${s}${f}`}function uN(e,t,n,i){let{comment:r,type:a,value:s}=e,{actualString:o,implicitKey:c,indent:u,inFlow:l}=t;if(c&&/[\n[\]{},]/.test(s)||l&&/[[\]{},]/.test(s))return rr(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return c||l||s.indexOf(`
|
|
156
|
-
`)===-1?s.indexOf('"')!==-1&&s.indexOf("'")===-1?P2(s,t):rr(s,t):
|
|
157
|
-
`)!==-1)return
|
|
158
|
-
${u}`);if(o){let{tags:m}=t.doc.schema;if(typeof
|
|
156
|
+
`)===-1?s.indexOf('"')!==-1&&s.indexOf("'")===-1?P2(s,t):rr(s,t):xl(e,t,n,i);if(!c&&!l&&a!==A.Type.PLAIN&&s.indexOf(`
|
|
157
|
+
`)!==-1)return xl(e,t,n,i);if(u===""&&_l(s))return t.forceBlockIndent=!0,xl(e,t,n,i);let p=s.replace(/\n+/g,`$&
|
|
158
|
+
${u}`);if(o){let{tags:m}=t.doc.schema;if(typeof Dd(p,m,m.scalarFallback).value!="string")return rr(s,t)}let f=c?p:wl(p,u,q2,zd(t));return r&&!l&&(f.indexOf(`
|
|
159
159
|
`)!==-1||r.indexOf(`
|
|
160
|
-
`)!==-1)?(n&&n(),iN(f,u,r)):f}function pN(e,t,n,i){let{defaultType:r}=ar,{implicitKey:a,inFlow:s}=t,{type:o,value:c}=e;typeof c!="string"&&(c=String(c),e=Object.assign({},e,{value:c}));let u=p=>{switch(p){case A.Type.BLOCK_FOLDED:case A.Type.BLOCK_LITERAL:return
|
|
160
|
+
`)!==-1)?(n&&n(),iN(f,u,r)):f}function pN(e,t,n,i){let{defaultType:r}=ar,{implicitKey:a,inFlow:s}=t,{type:o,value:c}=e;typeof c!="string"&&(c=String(c),e=Object.assign({},e,{value:c}));let u=p=>{switch(p){case A.Type.BLOCK_FOLDED:case A.Type.BLOCK_LITERAL:return xl(e,t,n,i);case A.Type.QUOTE_DOUBLE:return rr(c,t);case A.Type.QUOTE_SINGLE:return P2(c,t);case A.Type.PLAIN:return uN(e,t,n,i);default:return null}};(o!==A.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)||(a||s)&&(o===A.Type.BLOCK_FOLDED||o===A.Type.BLOCK_LITERAL))&&(o=A.Type.QUOTE_DOUBLE);let l=u(o);if(l===null&&(l=u(r),l===null))throw new Error(`Unsupported default string type ${r}`);return l}function fN({format:e,minFractionDigits:t,tag:n,value:i}){if(typeof i=="bigint")return String(i);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let r=JSON.stringify(i);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(r)){let a=r.indexOf(".");a<0&&(a=r.length,r+=".");let s=t-(r.length-a-1);for(;s-- >0;)r+="0"}return r}function B2(e,t){let n,i;switch(t.type){case A.Type.FLOW_MAP:n="}",i="flow map";break;case A.Type.FLOW_SEQ:n="]",i="flow sequence";break;default:e.push(new A.YAMLSemanticError(t,"Not a flow collection!?"));return}let r;for(let a=t.items.length-1;a>=0;--a){let s=t.items[a];if(!s||s.type!==A.Type.COMMENT){r=s;break}}if(r&&r.char!==n){let a=`Expected ${i} to end with ${n}`,s;typeof r.offset=="number"?(s=new A.YAMLSemanticError(t,a),s.offset=r.offset+1):(s=new A.YAMLSemanticError(r,a),r.range&&r.range.end&&(s.offset=r.range.end-r.range.start)),e.push(s)}}function F2(e,t){let n=t.context.src[t.range.start-1];if(n!==`
|
|
161
161
|
`&&n!==" "&&n!==" "){let i="Comments must be separated from other tokens by white space characters";e.push(new A.YAMLSemanticError(t,i))}}function D2(e,t){let n=String(t),i=n.substr(0,8)+"..."+n.substr(-8);return new A.YAMLSemanticError(e,`The "${i}" key is too long`)}function z2(e,t){for(let{afterKey:n,before:i,comment:r}of t){let a=e.items[i];a?(n&&a.value&&(a=a.value),r===void 0?(n||!a.commentBefore)&&(a.spaceBefore=!0):a.commentBefore?a.commentBefore+=`
|
|
162
162
|
`+r:a.commentBefore=r):r!==void 0&&(e.comment?e.comment+=`
|
|
163
|
-
`+r:e.comment=r)}}function
|
|
163
|
+
`+r:e.comment=r)}}function $d(e,t){let n=t.strValue;return n?typeof n=="string"?n:(n.errors.forEach(i=>{i.source||(i.source=t),e.errors.push(i)}),n.str):""}function dN(e,t){let{handle:n,suffix:i}=t.tag,r=e.tagPrefixes.find(a=>a.handle===n);if(!r){let a=e.getDefaults().tagPrefixes;if(a&&(r=a.find(s=>s.handle===n)),!r)throw new A.YAMLSemanticError(t,`The ${n} tag handle is non-default and was not declared.`)}if(!i)throw new A.YAMLSemanticError(t,`The ${n} tag has no suffix.`);if(n==="!"&&(e.version||e.options.version)==="1.0"){if(i[0]==="^")return e.warnings.push(new A.YAMLWarning(t,"YAML 1.0 ^ tag expansion is not supported")),i;if(/[:/]/.test(i)){let a=i.match(/^([a-z0-9-]+)\/(.*)/i);return a?`tag:${a[1]}.yaml.org,2002:${a[2]}`:`tag:${i}`}}return r.prefix+decodeURIComponent(i)}function hN(e,t){let{tag:n,type:i}=t,r=!1;if(n){let{handle:a,suffix:s,verbatim:o}=n;if(o){if(o!=="!"&&o!=="!!")return o;let c=`Verbatim tags aren't resolved, so ${o} is invalid.`;e.errors.push(new A.YAMLSemanticError(t,c))}else if(a==="!"&&!s)r=!0;else try{return dN(e,t)}catch(c){e.errors.push(c)}}switch(i){case A.Type.BLOCK_FOLDED:case A.Type.BLOCK_LITERAL:case A.Type.QUOTE_DOUBLE:case A.Type.QUOTE_SINGLE:return A.defaultTags.STR;case A.Type.FLOW_MAP:case A.Type.MAP:return A.defaultTags.MAP;case A.Type.FLOW_SEQ:case A.Type.SEQ:return A.defaultTags.SEQ;case A.Type.PLAIN:return r?A.defaultTags.STR:null;default:return null}}function N2(e,t,n){let{tags:i}=e.schema,r=[];for(let s of i)if(s.tag===n)if(s.test)r.push(s);else{let o=s.resolve(e,t);return o instanceof Ue?o:new pt(o)}let a=$d(e,t);return typeof a=="string"&&r.length>0?Dd(a,r,i.scalarFallback):null}function mN({type:e}){switch(e){case A.Type.FLOW_MAP:case A.Type.MAP:return A.defaultTags.MAP;case A.Type.FLOW_SEQ:case A.Type.SEQ:return A.defaultTags.SEQ;default:return A.defaultTags.STR}}function gN(e,t,n){try{let i=N2(e,t,n);if(i)return n&&t.tag&&(i.tag=n),i}catch(i){return i.source||(i.source=t),e.errors.push(i),null}try{let i=mN(t);if(!i)throw new Error(`The tag ${n} is unavailable`);let r=`The tag ${n} is unavailable, falling back to ${i}`;e.warnings.push(new A.YAMLWarning(t,r));let a=N2(e,t,i);return a.tag=n,a}catch(i){let r=new A.YAMLReferenceError(t,i.message);return r.stack=i.stack,e.errors.push(r),null}}var vN=e=>{if(!e)return!1;let{type:t}=e;return t===A.Type.MAP_KEY||t===A.Type.MAP_VALUE||t===A.Type.SEQ_ITEM};function bN(e,t){let n={before:[],after:[]},i=!1,r=!1,a=vN(t.context.parent)?t.context.parent.props.concat(t.props):t.props;for(let{start:s,end:o}of a)switch(t.context.src[s]){case A.Char.COMMENT:{if(!t.commentHasRequiredWhitespace(s)){let p="Comments must be separated from other tokens by white space characters";e.push(new A.YAMLSemanticError(t,p))}let{header:c,valueRange:u}=t;(u&&(s>u.start||c&&s>c.start)?n.after:n.before).push(t.context.src.slice(s+1,o));break}case A.Char.ANCHOR:if(i){let c="A node can have at most one anchor";e.push(new A.YAMLSemanticError(t,c))}i=!0;break;case A.Char.TAG:if(r){let c="A node can have at most one tag";e.push(new A.YAMLSemanticError(t,c))}r=!0;break}return{comments:n,hasAnchor:i,hasTag:r}}function xN(e,t){let{anchors:n,errors:i,schema:r}=e;if(t.type===A.Type.ALIAS){let s=t.rawValue,o=n.getNode(s);if(!o){let u=`Aliased anchor not found: ${s}`;return i.push(new A.YAMLReferenceError(t,u)),null}let c=new Ln(o);return n._cstAliases.push(c),c}let a=hN(e,t);if(a)return gN(e,t,a);if(t.type!==A.Type.PLAIN){let s=`Failed to resolve ${t.type} node here`;return i.push(new A.YAMLSyntaxError(t,s)),null}try{let s=$d(e,t);return Dd(s,r.tags,r.tags.scalarFallback)}catch(s){return s.source||(s.source=t),i.push(s),null}}function li(e,t){if(!t)return null;t.error&&e.errors.push(t.error);let{comments:n,hasAnchor:i,hasTag:r}=bN(e.errors,t);if(i){let{anchors:s}=e,o=t.anchor,c=s.getNode(o);c&&(s.map[s.newName(o)]=c),s.map[o]=t}if(t.type===A.Type.ALIAS&&(i||r)){let s="An alias node must not specify any properties";e.errors.push(new A.YAMLSemanticError(t,s))}let a=xN(e,t);if(a){a.range=[t.range.start,t.range.end],e.options.keepCstNodes&&(a.cstNode=t),e.options.keepNodeTypes&&(a.type=t.type);let s=n.before.join(`
|
|
164
164
|
`);s&&(a.commentBefore=a.commentBefore?`${a.commentBefore}
|
|
165
165
|
${s}`:s);let o=n.after.join(`
|
|
166
166
|
`);o&&(a.comment=a.comment?`${a.comment}
|
|
167
|
-
${o}`:o)}return t.resolved=a}function yN(e,t){if(t.type!==A.Type.MAP&&t.type!==A.Type.FLOW_MAP){let s=`A ${t.type} node cannot be resolved as a mapping`;return e.errors.push(new A.YAMLSyntaxError(t,s)),null}let{comments:n,items:i}=t.type===A.Type.FLOW_MAP?EN(e,t):SN(e,t),r=new zs;r.items=i,z2(r,n);let a=!1;for(let s=0;s<i.length;++s){let{key:o}=i[s];if(o instanceof Ue&&(a=!0),e.schema.merge&&o&&o.value===I2){i[s]=new
|
|
167
|
+
${o}`:o)}return t.resolved=a}function yN(e,t){if(t.type!==A.Type.MAP&&t.type!==A.Type.FLOW_MAP){let s=`A ${t.type} node cannot be resolved as a mapping`;return e.errors.push(new A.YAMLSyntaxError(t,s)),null}let{comments:n,items:i}=t.type===A.Type.FLOW_MAP?EN(e,t):SN(e,t),r=new zs;r.items=i,z2(r,n);let a=!1;for(let s=0;s<i.length;++s){let{key:o}=i[s];if(o instanceof Ue&&(a=!0),e.schema.merge&&o&&o.value===I2){i[s]=new yl(i[s]);let c=i[s].value.items,u=null;c.some(l=>{if(l instanceof Ln){let{type:p}=l.source;return p===A.Type.MAP||p===A.Type.FLOW_MAP?!1:u="Merge nodes aliases can only point to maps"}return u="Merge nodes can only have Alias nodes as values"}),u&&e.errors.push(new A.YAMLSemanticError(t,u))}else for(let c=s+1;c<i.length;++c){let{key:u}=i[c];if(o===u||o&&u&&Object.prototype.hasOwnProperty.call(o,"value")&&o.value===u.value){let l=`Map keys must be unique; "${o}" is repeated`;e.errors.push(new A.YAMLSemanticError(t,l));break}}}if(a&&!e.options.mapAsMap){let s="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new A.YAMLWarning(t,s))}return t.resolved=r,r}var wN=({context:{lineStart:e,node:t,src:n},props:i})=>{if(i.length===0)return!1;let{start:r}=i[0];if(t&&r>t.valueRange.start||n[r]!==A.Char.COMMENT)return!1;for(let a=e;a<r;++a)if(n[a]===`
|
|
168
168
|
`)return!1;return!0};function _N(e,t){if(!wN(e))return;let n=e.getPropValue(0,A.Char.COMMENT,!0),i=!1,r=t.value.commentBefore;if(r&&r.startsWith(n))t.value.commentBefore=r.substr(n.length+1),i=!0;else{let a=t.value.comment;!e.node&&a&&a.startsWith(n)&&(t.value.comment=a.substr(n.length+1),i=!0)}i&&(t.comment=n)}function SN(e,t){let n=[],i=[],r,a=null;for(let s=0;s<t.items.length;++s){let o=t.items[s];switch(o.type){case A.Type.BLANK_LINE:n.push({afterKey:!!r,before:i.length});break;case A.Type.COMMENT:n.push({afterKey:!!r,before:i.length,comment:o.comment});break;case A.Type.MAP_KEY:r!==void 0&&i.push(new ye(r)),o.error&&e.errors.push(o.error),r=li(e,o.node),a=null;break;case A.Type.MAP_VALUE:{if(r===void 0&&(r=null),o.error&&e.errors.push(o.error),!o.context.atLineStart&&o.node&&o.node.type===A.Type.MAP&&!o.node.context.atLineStart){let l="Nested mappings are not allowed in compact mappings";e.errors.push(new A.YAMLSemanticError(o.node,l))}let c=o.node;if(!c&&o.props.length>0){c=new A.PlainValue(A.Type.PLAIN,[]),c.context={parent:o,src:o.context.src};let l=o.range.start+1;if(c.range={start:l,end:l},c.valueRange={start:l,end:l},typeof o.range.origStart=="number"){let p=o.range.origStart+1;c.range.origStart=c.range.origEnd=p,c.valueRange.origStart=c.valueRange.origEnd=p}}let u=new ye(r,li(e,c));_N(o,u),i.push(u),r&&typeof a=="number"&&o.range.start>a+1024&&e.errors.push(D2(t,r)),r=void 0,a=null}break;default:r!==void 0&&i.push(new ye(r)),r=li(e,o),a=o.range.start,o.error&&e.errors.push(o.error);e:for(let c=s+1;;++c){let u=t.items[c];switch(u&&u.type){case A.Type.BLANK_LINE:case A.Type.COMMENT:continue e;case A.Type.MAP_VALUE:break e;default:{let l="Implicit map keys need to be followed by map values";e.errors.push(new A.YAMLSemanticError(o,l));break e}}}if(o.valueRangeContainsNewline){let c="Implicit map keys need to be on a single line";e.errors.push(new A.YAMLSemanticError(o,c))}}}return r!==void 0&&i.push(new ye(r)),{comments:n,items:i}}function EN(e,t){let n=[],i=[],r,a=!1,s="{";for(let o=0;o<t.items.length;++o){let c=t.items[o];if(typeof c.char=="string"){let{char:u,offset:l}=c;if(u==="?"&&r===void 0&&!a){a=!0,s=":";continue}if(u===":"){if(r===void 0&&(r=null),s===":"){s=",";continue}}else if(a&&(r===void 0&&u!==","&&(r=null),a=!1),r!==void 0&&(i.push(new ye(r)),r=void 0,u===",")){s=":";continue}if(u==="}"){if(o===t.items.length-1)continue}else if(u===s){s=":";continue}let p=`Flow map contains an unexpected ${u}`,f=new A.YAMLSyntaxError(t,p);f.offset=l,e.errors.push(f)}else c.type===A.Type.BLANK_LINE?n.push({afterKey:!!r,before:i.length}):c.type===A.Type.COMMENT?(F2(e.errors,c),n.push({afterKey:!!r,before:i.length,comment:c.comment})):r===void 0?(s===","&&e.errors.push(new A.YAMLSemanticError(c,"Separator , missing in flow map")),r=li(e,c)):(s!==","&&e.errors.push(new A.YAMLSemanticError(c,"Indicator : missing in flow map entry")),i.push(new ye(r,li(e,c))),r=void 0,a=!1)}return B2(e.errors,t),r!==void 0&&i.push(new ye(r)),{comments:n,items:i}}function ON(e,t){if(t.type!==A.Type.SEQ&&t.type!==A.Type.FLOW_SEQ){let a=`A ${t.type} node cannot be resolved as a sequence`;return e.errors.push(new A.YAMLSyntaxError(t,a)),null}let{comments:n,items:i}=t.type===A.Type.FLOW_SEQ?CN(e,t):kN(e,t),r=new ci;if(r.items=i,z2(r,n),!e.options.mapAsMap&&i.some(a=>a instanceof ye&&a.key instanceof Ue)){let a="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";e.warnings.push(new A.YAMLWarning(t,a))}return t.resolved=r,r}function kN(e,t){let n=[],i=[];for(let r=0;r<t.items.length;++r){let a=t.items[r];switch(a.type){case A.Type.BLANK_LINE:n.push({before:i.length});break;case A.Type.COMMENT:n.push({comment:a.comment,before:i.length});break;case A.Type.SEQ_ITEM:if(a.error&&e.errors.push(a.error),i.push(li(e,a.node)),a.hasProps){let s="Sequence items cannot have tags or anchors before the - indicator";e.errors.push(new A.YAMLSemanticError(a,s))}break;default:a.error&&e.errors.push(a.error),e.errors.push(new A.YAMLSyntaxError(a,`Unexpected ${a.type} node in sequence`))}}return{comments:n,items:i}}function CN(e,t){let n=[],i=[],r=!1,a,s=null,o="[",c=null;for(let u=0;u<t.items.length;++u){let l=t.items[u];if(typeof l.char=="string"){let{char:p,offset:f}=l;if(p!==":"&&(r||a!==void 0)&&(r&&a===void 0&&(a=o?i.pop():null),i.push(new ye(a)),r=!1,a=void 0,s=null),p===o)o=null;else if(!o&&p==="?")r=!0;else if(o!=="["&&p===":"&&a===void 0){if(o===","){if(a=i.pop(),a instanceof ye){let m="Chaining flow sequence pairs is invalid",v=new A.YAMLSemanticError(t,m);v.offset=f,e.errors.push(v)}if(!r&&typeof s=="number"){let m=l.range?l.range.start:l.offset;m>s+1024&&e.errors.push(D2(t,a));let{src:v}=c.context;for(let g=s;g<m;++g)if(v[g]===`
|
|
169
|
-
`){let d="Implicit keys of flow sequence pairs need to be on a single line";e.errors.push(new A.YAMLSemanticError(c,d));break}}}else a=null;s=null,r=!1,o=null}else if(o==="["||p!=="]"||u<t.items.length-1){let m=`Flow sequence contains an unexpected ${p}`,v=new A.YAMLSyntaxError(t,m);v.offset=f,e.errors.push(v)}}else if(l.type===A.Type.BLANK_LINE)n.push({before:i.length});else if(l.type===A.Type.COMMENT)F2(e.errors,l),n.push({comment:l.comment,before:i.length});else{if(o){let f=`Expected a ${o} in flow sequence`;e.errors.push(new A.YAMLSemanticError(l,f))}let p=li(e,l);a===void 0?(i.push(p),c=l):(i.push(new ye(a,p)),a=void 0),s=l.range.start,o=","}}return B2(e.errors,t),a!==void 0&&i.push(new ye(a)),{comments:n,items:i}}je.Alias=Ln;je.Collection=Ue;je.Merge=
|
|
169
|
+
`){let d="Implicit keys of flow sequence pairs need to be on a single line";e.errors.push(new A.YAMLSemanticError(c,d));break}}}else a=null;s=null,r=!1,o=null}else if(o==="["||p!=="]"||u<t.items.length-1){let m=`Flow sequence contains an unexpected ${p}`,v=new A.YAMLSyntaxError(t,m);v.offset=f,e.errors.push(v)}}else if(l.type===A.Type.BLANK_LINE)n.push({before:i.length});else if(l.type===A.Type.COMMENT)F2(e.errors,l),n.push({comment:l.comment,before:i.length});else{if(o){let f=`Expected a ${o} in flow sequence`;e.errors.push(new A.YAMLSemanticError(l,f))}let p=li(e,l);a===void 0?(i.push(p),c=l):(i.push(new ye(a,p)),a=void 0),s=l.range.start,o=","}}return B2(e.errors,t),a!==void 0&&i.push(new ye(a)),{comments:n,items:i}}je.Alias=Ln;je.Collection=Ue;je.Merge=yl;je.Node=Pt;je.Pair=ye;je.Scalar=pt;je.YAMLMap=zs;je.YAMLSeq=ci;je.addComment=Ea;je.binaryOptions=aN;je.boolOptions=sN;je.findPair=Ds;je.intOptions=oN;je.isEmptyPath=L2;je.nullOptions=cN;je.resolveMap=yN;je.resolveNode=li;je.resolveSeq=ON;je.resolveString=$d;je.strOptions=ar;je.stringifyNumber=fN;je.stringifyString=pN;je.toJSON=oi});var Yd=b(on=>{"use strict";var Bt=Qi(),de=$s(),AN={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(e,t)=>{let n=de.resolveString(e,t);if(typeof Buffer=="function")return Buffer.from(n,"base64");if(typeof atob=="function"){let i=atob(n.replace(/[\n\r]/g,"")),r=new Uint8Array(i.length);for(let a=0;a<i.length;++a)r[a]=i.charCodeAt(a);return r}else{let i="This environment does not support reading binary tags; either Buffer or atob is required";return e.errors.push(new Bt.YAMLReferenceError(t,i)),null}},options:de.binaryOptions,stringify:({comment:e,type:t,value:n},i,r,a)=>{let s;if(typeof Buffer=="function")s=n instanceof Buffer?n.toString("base64"):Buffer.from(n.buffer).toString("base64");else if(typeof btoa=="function"){let o="";for(let c=0;c<n.length;++c)o+=String.fromCharCode(n[c]);s=btoa(o)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t||(t=de.binaryOptions.defaultType),t===Bt.Type.QUOTE_DOUBLE)n=s;else{let{lineWidth:o}=de.binaryOptions,c=Math.ceil(s.length/o),u=new Array(c);for(let l=0,p=0;l<c;++l,p+=o)u[l]=s.substr(p,o);n=u.join(t===Bt.Type.BLOCK_LITERAL?`
|
|
170
170
|
`:" ")}return de.stringifyString({comment:e,type:t,value:n},i,r,a)}};function U2(e,t){let n=de.resolveSeq(e,t);for(let i=0;i<n.items.length;++i){let r=n.items[i];if(!(r instanceof de.Pair)){if(r instanceof de.YAMLMap){if(r.items.length>1){let s="Each pair must have its own sequence indicator";throw new Bt.YAMLSemanticError(t,s)}let a=r.items[0]||new de.Pair;r.commentBefore&&(a.commentBefore=a.commentBefore?`${r.commentBefore}
|
|
171
171
|
${a.commentBefore}`:r.commentBefore),r.comment&&(a.comment=a.comment?`${r.comment}
|
|
172
|
-
${a.comment}`:r.comment),r=a}n.items[i]=r instanceof de.Pair?r:new de.Pair(r)}}return n}function W2(e,t,n){let i=new de.YAMLSeq(e);i.tag="tag:yaml.org,2002:pairs";for(let r of t){let a,s;if(Array.isArray(r))if(r.length===2)a=r[0],s=r[1];else throw new TypeError(`Expected [key, value] tuple: ${r}`);else if(r&&r instanceof Object){let c=Object.keys(r);if(c.length===1)a=c[0],s=r[a];else throw new TypeError(`Expected { key: value } tuple: ${r}`)}else a=r;let o=e.createPair(a,s,n);i.items.push(o)}return i}var TN={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:U2,createNode:W2},ui=class extends de.YAMLSeq{constructor(){super(),Bt._defineProperty(this,"add",de.YAMLMap.prototype.add.bind(this)),Bt._defineProperty(this,"delete",de.YAMLMap.prototype.delete.bind(this)),Bt._defineProperty(this,"get",de.YAMLMap.prototype.get.bind(this)),Bt._defineProperty(this,"has",de.YAMLMap.prototype.has.bind(this)),Bt._defineProperty(this,"set",de.YAMLMap.prototype.set.bind(this)),this.tag=ui.tag}toJSON(t,n){let i=new Map;n&&n.onCreate&&n.onCreate(i);for(let r of this.items){let a,s;if(r instanceof de.Pair?(a=de.toJSON(r.key,"",n),s=de.toJSON(r.value,a,n)):a=de.toJSON(r,"",n),i.has(a))throw new Error("Ordered maps must not include duplicate keys");i.set(a,s)}return i}};Bt._defineProperty(ui,"tag","tag:yaml.org,2002:omap");function jN(e,t){let n=U2(e,t),i=[];for(let{key:r}of n.items)if(r instanceof de.Scalar)if(i.includes(r.value)){let a="Ordered maps must not include duplicate keys";throw new Bt.YAMLSemanticError(t,a)}else i.push(r.value);return Object.assign(new ui,n)}function MN(e,t,n){let i=W2(e,t,n),r=new ui;return r.items=i.items,r}var RN={identify:e=>e instanceof Map,nodeClass:ui,default:!1,tag:"tag:yaml.org,2002:omap",resolve:jN,createNode:MN},pi=class extends de.YAMLMap{constructor(){super(),this.tag=pi.tag}add(t){let n=t instanceof de.Pair?t:new de.Pair(t);de.findPair(this.items,n.key)||this.items.push(n)}get(t,n){let i=de.findPair(this.items,t);return!n&&i instanceof de.Pair?i.key instanceof de.Scalar?i.key.value:i.key:i}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);let i=de.findPair(this.items,t);i&&!n?this.items.splice(this.items.indexOf(i),1):!i&&n&&this.items.push(new de.Pair(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,i){if(!t)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(t,n,i);throw new Error("Set items must all have null values")}};Bt._defineProperty(pi,"tag","tag:yaml.org,2002:set");function NN(e,t){let n=de.resolveMap(e,t);if(!n.hasAllNullValues())throw new Bt.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new pi,n)}function LN(e,t,n){let i=new pi;for(let r of t)i.items.push(e.createPair(r,null,n));return i}var IN={identify:e=>e instanceof Set,nodeClass:pi,default:!1,tag:"tag:yaml.org,2002:set",resolve:NN,createNode:LN},$d=(e,t)=>{let n=t.split(":").reduce((i,r)=>i*60+Number(r),0);return e==="-"?-n:n},K2=({value:e})=>{if(isNaN(e)||!isFinite(e))return de.stringifyNumber(e);let t="";e<0&&(t="-",e=Math.abs(e));let n=[e%60];return e<60?n.unshift(0):(e=Math.round((e-n[0])/60),n.unshift(e%60),e>=60&&(e=Math.round((e-n[0])/60),n.unshift(e))),t+n.map(i=>i<10?"0"+String(i):String(i)).join(":").replace(/000000\d*$/,"")},qN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,n)=>$d(t,n.replace(/_/g,"")),stringify:K2},PN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,n)=>$d(t,n.replace(/_/g,"")),stringify:K2},BN={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,t,n,i,r,a,s,o,c)=>{o&&(o=(o+"00").substr(1,3));let u=Date.UTC(t,n-1,i,r||0,a||0,s||0,o||0);if(c&&c!=="Z"){let l=$d(c[0],c.slice(1));Math.abs(l)<30&&(l*=60),u-=6e4*l}return new Date(u)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function Ud(e){let t=typeof process<"u"&&process.env||{};return e?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!t.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!t.YAML_SILENCE_WARNINGS}function Wd(e,t){if(Ud(!1)){let n=typeof process<"u"&&process.emitWarning;n?n(e,t):console.warn(t?`${t}: ${e}`:e)}}function FN(e){if(Ud(!0)){let t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");Wd(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}var $2={};function DN(e,t){if(!$2[e]&&Ud(!0)){$2[e]=!0;let n=`The option '${e}' will be removed in a future release`;n+=t?`, use '${t}' instead.`:".",Wd(n,"DeprecationWarning")}}on.binary=AN;on.floatTime=PN;on.intTime=qN;on.omap=RN;on.pairs=TN;on.set=IN;on.timestamp=BN;on.warn=Wd;on.warnFileDeprecation=FN;on.warnOptionDeprecation=DN});var Vd=b(rS=>{"use strict";var El=Qi(),re=$s(),yt=Kd();function zN(e,t,n){let i=new re.YAMLMap(e);if(t instanceof Map)for(let[r,a]of t)i.items.push(e.createPair(r,a,n));else if(t&&typeof t=="object")for(let r of Object.keys(t))i.items.push(e.createPair(r,t[r],n));return typeof e.sortMapEntries=="function"&&i.items.sort(e.sortMapEntries),i}var Ws={createNode:zN,default:!0,nodeClass:re.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:re.resolveMap};function $N(e,t,n){let i=new re.YAMLSeq(e);if(t&&t[Symbol.iterator])for(let r of t){let a=e.createNode(r,n.wrapScalars,null,n);i.items.push(a)}return i}var Ol={createNode:$N,default:!0,nodeClass:re.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:re.resolveSeq},UN={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:re.resolveString,stringify(e,t,n,i){return t=Object.assign({actualString:!0},t),re.stringifyString(e,t,n,i)},options:re.strOptions},Hd=[Ws,Ol,UN],kl=e=>typeof e=="bigint"||Number.isInteger(e),Gd=(e,t,n)=>re.intOptions.asBigInt?BigInt(e):parseInt(t,n);function G2(e,t,n){let{value:i}=e;return kl(i)&&i>=0?n+i.toString(t):re.stringifyNumber(e)}var V2={identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new re.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:re.nullOptions,stringify:()=>re.nullOptions.nullStr},Z2={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>e[0]==="t"||e[0]==="T",options:re.boolOptions,stringify:({value:e})=>e?re.boolOptions.trueStr:re.boolOptions.falseStr},J2={identify:e=>kl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>Gd(e,t,8),options:re.intOptions,stringify:e=>G2(e,8,"0o")},X2={identify:kl,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>Gd(e,e,10),options:re.intOptions,stringify:re.stringifyNumber},Q2={identify:e=>kl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>Gd(e,t,16),options:re.intOptions,stringify:e=>G2(e,16,"0x")},eS={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:re.stringifyNumber},tS={identify:e=>typeof e=="number",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:({value:e})=>Number(e).toExponential()},nS={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,n){let i=t||n,r=new re.Scalar(parseFloat(e));return i&&i[i.length-1]==="0"&&(r.minFractionDigits=i.length),r},stringify:re.stringifyNumber},WN=Hd.concat([V2,Z2,J2,X2,Q2,eS,tS,nS]),Y2=e=>typeof e=="bigint"||Number.isInteger(e),_l=({value:e})=>JSON.stringify(e),iS=[Ws,Ol,{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:re.resolveString,stringify:_l},{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new re.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:_l},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:_l},{identify:Y2,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>re.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>Y2(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:_l}];iS.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};var H2=({value:e})=>e?re.boolOptions.trueStr:re.boolOptions.falseStr,Us=e=>typeof e=="bigint"||Number.isInteger(e);function Sl(e,t,n){let i=t.replace(/_/g,"");if(re.intOptions.asBigInt){switch(n){case 2:i=`0b${i}`;break;case 8:i=`0o${i}`;break;case 16:i=`0x${i}`;break}let a=BigInt(i);return e==="-"?BigInt(-1)*a:a}let r=parseInt(i,n);return e==="-"?-1*r:r}function Yd(e,t,n){let{value:i}=e;if(Us(i)){let r=i.toString(t);return i<0?"-"+n+r.substr(1):n+r}return re.stringifyNumber(e)}var KN=Hd.concat([{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new re.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:re.nullOptions,stringify:()=>re.nullOptions.nullStr},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:re.boolOptions,stringify:H2},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:re.boolOptions,stringify:H2},{identify:Us,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,n)=>Sl(t,n,2),stringify:e=>Yd(e,2,"0b")},{identify:Us,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,n)=>Sl(t,n,8),stringify:e=>Yd(e,8,"0")},{identify:Us,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,n)=>Sl(t,n,10),stringify:re.stringifyNumber},{identify:Us,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,n)=>Sl(t,n,16),stringify:e=>Yd(e,16,"0x")},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:re.stringifyNumber},{identify:e=>typeof e=="number",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:({value:e})=>Number(e).toExponential()},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){let n=new re.Scalar(parseFloat(e.replace(/_/g,"")));if(t){let i=t.replace(/_/g,"");i[i.length-1]==="0"&&(n.minFractionDigits=i.length)}return n},stringify:re.stringifyNumber}],yt.binary,yt.omap,yt.pairs,yt.set,yt.intTime,yt.floatTime,yt.timestamp),YN={core:WN,failsafe:Hd,json:iS,yaml11:KN},HN={binary:yt.binary,bool:Z2,float:nS,floatExp:tS,floatNaN:eS,floatTime:yt.floatTime,int:X2,intHex:Q2,intOct:J2,intTime:yt.intTime,map:Ws,null:V2,omap:yt.omap,pairs:yt.pairs,seq:Ol,set:yt.set,timestamp:yt.timestamp};function GN(e,t,n){if(t){let i=n.filter(a=>a.tag===t),r=i.find(a=>!a.format)||i[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find(i=>(i.identify&&i.identify(e)||i.class&&e instanceof i.class)&&!i.format)}function VN(e,t,n){if(e instanceof re.Node)return e;let{defaultPrefix:i,onTagObj:r,prevObjects:a,schema:s,wrapScalars:o}=n;t&&t.startsWith("!!")&&(t=i+t.slice(2));let c=GN(e,t,s.tags);if(!c){if(typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object")return o?new re.Scalar(e):e;c=e instanceof Map?Ws:e[Symbol.iterator]?Ol:Ws}r&&(r(c),delete n.onTagObj);let u={value:void 0,node:void 0};if(e&&typeof e=="object"&&a){let l=a.get(e);if(l){let p=new re.Alias(l);return n.aliasNodes.push(p),p}u.value=e,a.set(e,u)}return u.node=c.createNode?c.createNode(n.schema,e,n):o?new re.Scalar(e):e,t&&u.node instanceof re.Node&&(u.node.tag=t),u.node}function ZN(e,t,n,i){let r=e[i.replace(/\W/g,"")];if(!r){let a=Object.keys(e).map(s=>JSON.stringify(s)).join(", ");throw new Error(`Unknown schema "${i}"; use one of ${a}`)}if(Array.isArray(n))for(let a of n)r=r.concat(a);else typeof n=="function"&&(r=n(r.slice()));for(let a=0;a<r.length;++a){let s=r[a];if(typeof s=="string"){let o=t[s];if(!o){let c=Object.keys(t).map(u=>JSON.stringify(u)).join(", ");throw new Error(`Unknown custom tag "${s}"; use one of ${c}`)}r[a]=o}}return r}var JN=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,sr=class{constructor({customTags:t,merge:n,schema:i,sortMapEntries:r,tags:a}){this.merge=!!n,this.name=i,this.sortMapEntries=r===!0?JN:r||null,!t&&a&&yt.warnOptionDeprecation("tags","customTags"),this.tags=ZN(YN,HN,t||a,i)}createNode(t,n,i,r){let a={defaultPrefix:sr.defaultPrefix,schema:this,wrapScalars:n},s=r?Object.assign(r,a):a;return VN(t,i,s)}createPair(t,n,i){i||(i={wrapScalars:!0});let r=this.createNode(t,i.wrapScalars,null,i),a=this.createNode(n,i.wrapScalars,null,i);return new re.Pair(r,a)}};El._defineProperty(sr,"defaultPrefix",El.defaultTagPrefix);El._defineProperty(sr,"defaultTags",El.defaultTags);rS.Schema=sr});var cS=b(Tl=>{"use strict";var wt=Qi(),ae=$s(),aS=Vd(),XN={anchorPrefix:"a",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:"1.2"},QN={get binary(){return ae.binaryOptions},set binary(e){Object.assign(ae.binaryOptions,e)},get bool(){return ae.boolOptions},set bool(e){Object.assign(ae.boolOptions,e)},get int(){return ae.intOptions},set int(e){Object.assign(ae.intOptions,e)},get null(){return ae.nullOptions},set null(e){Object.assign(ae.nullOptions,e)},get str(){return ae.strOptions},set str(e){Object.assign(ae.strOptions,e)}},oS={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:wt.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:wt.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:wt.defaultTagPrefix}]}};function sS(e,t){if((e.version||e.options.version)==="1.0"){let r=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(r)return"!"+r[1];let a=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return a?`!${a[1]}/${a[2]}`:`!${t.replace(/^tag:/,"")}`}let n=e.tagPrefixes.find(r=>t.indexOf(r.prefix)===0);if(!n){let r=e.getDefaults().tagPrefixes;n=r&&r.find(a=>t.indexOf(a.prefix)===0)}if(!n)return t[0]==="!"?t:`!<${t}>`;let i=t.substr(n.prefix.length).replace(/[!,[\]{}]/g,r=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[r]);return n.handle+i}function eL(e,t){if(t instanceof ae.Alias)return ae.Alias;if(t.tag){let r=e.filter(a=>a.tag===t.tag);if(r.length>0)return r.find(a=>a.format===t.format)||r[0]}let n,i;if(t instanceof ae.Scalar){i=t.value;let r=e.filter(a=>a.identify&&a.identify(i)||a.class&&i instanceof a.class);n=r.find(a=>a.format===t.format)||r.find(a=>!a.format)}else i=t,n=e.find(r=>r.nodeClass&&i instanceof r.nodeClass);if(!n){let r=i&&i.constructor?i.constructor.name:typeof i;throw new Error(`Tag not resolved for ${r} value`)}return n}function tL(e,t,{anchors:n,doc:i}){let r=[],a=i.anchors.getName(e);return a&&(n[a]=e,r.push(`&${a}`)),e.tag?r.push(sS(i,e.tag)):t.default||r.push(sS(i,t.tag)),r.join(" ")}function Cl(e,t,n,i){let{anchors:r,schema:a}=t.doc,s;if(!(e instanceof ae.Node)){let u={aliasNodes:[],onTagObj:l=>s=l,prevObjects:new Map};e=a.createNode(e,!0,null,u);for(let l of u.aliasNodes){l.source=l.source.node;let p=r.getName(l.source);p||(p=r.newName(),r.map[p]=l.source)}}if(e instanceof ae.Pair)return e.toString(t,n,i);s||(s=eL(a.tags,e));let o=tL(e,s,t);o.length>0&&(t.indentAtStart=(t.indentAtStart||0)+o.length+1);let c=typeof s.stringify=="function"?s.stringify(e,t,n,i):e instanceof ae.Scalar?ae.stringifyString(e,t,n,i):e.toString(t,n,i);return o?e instanceof ae.Scalar||c[0]==="{"||c[0]==="["?`${o} ${c}`:`${o}
|
|
173
|
-
${t.indent}${c}`:c}var Ks=class{static validAnchorNode(t){return t instanceof ae.Scalar||t instanceof ae.YAMLSeq||t instanceof ae.YAMLMap}constructor(t){wt._defineProperty(this,"map",Object.create(null)),this.prefix=t}createAlias(t,n){return this.setAnchor(t,n),new ae.Alias(t)}createMergePair(...t){let n=new ae.Merge;return n.value.items=t.map(i=>{if(i instanceof ae.Alias){if(i.source instanceof ae.YAMLMap)return i}else if(i instanceof ae.YAMLMap)return this.createAlias(i);throw new Error("Merge sources must be Map nodes or their Aliases")}),n}getName(t){let{map:n}=this;return Object.keys(n).find(i=>n[i]===t)}getNames(){return Object.keys(this.map)}getNode(t){return this.map[t]}newName(t){t||(t=this.prefix);let n=Object.keys(this.map);for(let i=1;;++i){let r=`${t}${i}`;if(!n.includes(r))return r}}resolveNodes(){let{map:t,_cstAliases:n}=this;Object.keys(t).forEach(i=>{t[i]=t[i].resolved}),n.forEach(i=>{i.source=i.source.resolved}),delete this._cstAliases}setAnchor(t,n){if(t!=null&&!Ks.validAnchorNode(t))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(n&&/[\x00-\x19\s,[\]{}]/.test(n))throw new Error("Anchor names must not contain whitespace or control characters");let{map:i}=this,r=t&&Object.keys(i).find(a=>i[a]===t);if(r)if(n)r!==n&&(delete i[r],i[n]=t);else return r;else{if(!n){if(!t)return null;n=this.newName()}i[n]=t}return n}},
|
|
172
|
+
${a.comment}`:r.comment),r=a}n.items[i]=r instanceof de.Pair?r:new de.Pair(r)}}return n}function W2(e,t,n){let i=new de.YAMLSeq(e);i.tag="tag:yaml.org,2002:pairs";for(let r of t){let a,s;if(Array.isArray(r))if(r.length===2)a=r[0],s=r[1];else throw new TypeError(`Expected [key, value] tuple: ${r}`);else if(r&&r instanceof Object){let c=Object.keys(r);if(c.length===1)a=c[0],s=r[a];else throw new TypeError(`Expected { key: value } tuple: ${r}`)}else a=r;let o=e.createPair(a,s,n);i.items.push(o)}return i}var TN={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:U2,createNode:W2},ui=class extends de.YAMLSeq{constructor(){super(),Bt._defineProperty(this,"add",de.YAMLMap.prototype.add.bind(this)),Bt._defineProperty(this,"delete",de.YAMLMap.prototype.delete.bind(this)),Bt._defineProperty(this,"get",de.YAMLMap.prototype.get.bind(this)),Bt._defineProperty(this,"has",de.YAMLMap.prototype.has.bind(this)),Bt._defineProperty(this,"set",de.YAMLMap.prototype.set.bind(this)),this.tag=ui.tag}toJSON(t,n){let i=new Map;n&&n.onCreate&&n.onCreate(i);for(let r of this.items){let a,s;if(r instanceof de.Pair?(a=de.toJSON(r.key,"",n),s=de.toJSON(r.value,a,n)):a=de.toJSON(r,"",n),i.has(a))throw new Error("Ordered maps must not include duplicate keys");i.set(a,s)}return i}};Bt._defineProperty(ui,"tag","tag:yaml.org,2002:omap");function jN(e,t){let n=U2(e,t),i=[];for(let{key:r}of n.items)if(r instanceof de.Scalar)if(i.includes(r.value)){let a="Ordered maps must not include duplicate keys";throw new Bt.YAMLSemanticError(t,a)}else i.push(r.value);return Object.assign(new ui,n)}function MN(e,t,n){let i=W2(e,t,n),r=new ui;return r.items=i.items,r}var RN={identify:e=>e instanceof Map,nodeClass:ui,default:!1,tag:"tag:yaml.org,2002:omap",resolve:jN,createNode:MN},pi=class extends de.YAMLMap{constructor(){super(),this.tag=pi.tag}add(t){let n=t instanceof de.Pair?t:new de.Pair(t);de.findPair(this.items,n.key)||this.items.push(n)}get(t,n){let i=de.findPair(this.items,t);return!n&&i instanceof de.Pair?i.key instanceof de.Scalar?i.key.value:i.key:i}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);let i=de.findPair(this.items,t);i&&!n?this.items.splice(this.items.indexOf(i),1):!i&&n&&this.items.push(new de.Pair(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,i){if(!t)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(t,n,i);throw new Error("Set items must all have null values")}};Bt._defineProperty(pi,"tag","tag:yaml.org,2002:set");function NN(e,t){let n=de.resolveMap(e,t);if(!n.hasAllNullValues())throw new Bt.YAMLSemanticError(t,"Set items must all have null values");return Object.assign(new pi,n)}function LN(e,t,n){let i=new pi;for(let r of t)i.items.push(e.createPair(r,null,n));return i}var IN={identify:e=>e instanceof Set,nodeClass:pi,default:!1,tag:"tag:yaml.org,2002:set",resolve:NN,createNode:LN},Ud=(e,t)=>{let n=t.split(":").reduce((i,r)=>i*60+Number(r),0);return e==="-"?-n:n},K2=({value:e})=>{if(isNaN(e)||!isFinite(e))return de.stringifyNumber(e);let t="";e<0&&(t="-",e=Math.abs(e));let n=[e%60];return e<60?n.unshift(0):(e=Math.round((e-n[0])/60),n.unshift(e%60),e>=60&&(e=Math.round((e-n[0])/60),n.unshift(e))),t+n.map(i=>i<10?"0"+String(i):String(i)).join(":").replace(/000000\d*$/,"")},qN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(e,t,n)=>Ud(t,n.replace(/_/g,"")),stringify:K2},PN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(e,t,n)=>Ud(t,n.replace(/_/g,"")),stringify:K2},BN={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,t,n,i,r,a,s,o,c)=>{o&&(o=(o+"00").substr(1,3));let u=Date.UTC(t,n-1,i,r||0,a||0,s||0,o||0);if(c&&c!=="Z"){let l=Ud(c[0],c.slice(1));Math.abs(l)<30&&(l*=60),u-=6e4*l}return new Date(u)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function Wd(e){let t=typeof process<"u"&&process.env||{};return e?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!t.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!t.YAML_SILENCE_WARNINGS}function Kd(e,t){if(Wd(!1)){let n=typeof process<"u"&&process.emitWarning;n?n(e,t):console.warn(t?`${t}: ${e}`:e)}}function FN(e){if(Wd(!0)){let t=e.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");Kd(`The endpoint 'yaml/${t}' will be removed in a future release.`,"DeprecationWarning")}}var $2={};function DN(e,t){if(!$2[e]&&Wd(!0)){$2[e]=!0;let n=`The option '${e}' will be removed in a future release`;n+=t?`, use '${t}' instead.`:".",Kd(n,"DeprecationWarning")}}on.binary=AN;on.floatTime=PN;on.intTime=qN;on.omap=RN;on.pairs=TN;on.set=IN;on.timestamp=BN;on.warn=Kd;on.warnFileDeprecation=FN;on.warnOptionDeprecation=DN});var Zd=b(rS=>{"use strict";var Ol=Qi(),re=$s(),yt=Yd();function zN(e,t,n){let i=new re.YAMLMap(e);if(t instanceof Map)for(let[r,a]of t)i.items.push(e.createPair(r,a,n));else if(t&&typeof t=="object")for(let r of Object.keys(t))i.items.push(e.createPair(r,t[r],n));return typeof e.sortMapEntries=="function"&&i.items.sort(e.sortMapEntries),i}var Ws={createNode:zN,default:!0,nodeClass:re.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:re.resolveMap};function $N(e,t,n){let i=new re.YAMLSeq(e);if(t&&t[Symbol.iterator])for(let r of t){let a=e.createNode(r,n.wrapScalars,null,n);i.items.push(a)}return i}var kl={createNode:$N,default:!0,nodeClass:re.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:re.resolveSeq},UN={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:re.resolveString,stringify(e,t,n,i){return t=Object.assign({actualString:!0},t),re.stringifyString(e,t,n,i)},options:re.strOptions},Gd=[Ws,kl,UN],Cl=e=>typeof e=="bigint"||Number.isInteger(e),Vd=(e,t,n)=>re.intOptions.asBigInt?BigInt(e):parseInt(t,n);function G2(e,t,n){let{value:i}=e;return Cl(i)&&i>=0?n+i.toString(t):re.stringifyNumber(e)}var V2={identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new re.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:re.nullOptions,stringify:()=>re.nullOptions.nullStr},Z2={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>e[0]==="t"||e[0]==="T",options:re.boolOptions,stringify:({value:e})=>e?re.boolOptions.trueStr:re.boolOptions.falseStr},J2={identify:e=>Cl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(e,t)=>Vd(e,t,8),options:re.intOptions,stringify:e=>G2(e,8,"0o")},X2={identify:Cl,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:e=>Vd(e,e,10),options:re.intOptions,stringify:re.stringifyNumber},Q2={identify:e=>Cl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(e,t)=>Vd(e,t,16),options:re.intOptions,stringify:e=>G2(e,16,"0x")},eS={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:re.stringifyNumber},tS={identify:e=>typeof e=="number",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:({value:e})=>Number(e).toExponential()},nS={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(e,t,n){let i=t||n,r=new re.Scalar(parseFloat(e));return i&&i[i.length-1]==="0"&&(r.minFractionDigits=i.length),r},stringify:re.stringifyNumber},WN=Gd.concat([V2,Z2,J2,X2,Q2,eS,tS,nS]),Y2=e=>typeof e=="bigint"||Number.isInteger(e),Sl=({value:e})=>JSON.stringify(e),iS=[Ws,kl,{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:re.resolveString,stringify:Sl},{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new re.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Sl},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:Sl},{identify:Y2,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:e=>re.intOptions.asBigInt?BigInt(e):parseInt(e,10),stringify:({value:e})=>Y2(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Sl}];iS.scalarFallback=e=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(e)}`)};var H2=({value:e})=>e?re.boolOptions.trueStr:re.boolOptions.falseStr,Us=e=>typeof e=="bigint"||Number.isInteger(e);function El(e,t,n){let i=t.replace(/_/g,"");if(re.intOptions.asBigInt){switch(n){case 2:i=`0b${i}`;break;case 8:i=`0o${i}`;break;case 16:i=`0x${i}`;break}let a=BigInt(i);return e==="-"?BigInt(-1)*a:a}let r=parseInt(i,n);return e==="-"?-1*r:r}function Hd(e,t,n){let{value:i}=e;if(Us(i)){let r=i.toString(t);return i<0?"-"+n+r.substr(1):n+r}return re.stringifyNumber(e)}var KN=Gd.concat([{identify:e=>e==null,createNode:(e,t,n)=>n.wrapScalars?new re.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:re.nullOptions,stringify:()=>re.nullOptions.nullStr},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:re.boolOptions,stringify:H2},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:re.boolOptions,stringify:H2},{identify:Us,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(e,t,n)=>El(t,n,2),stringify:e=>Hd(e,2,"0b")},{identify:Us,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(e,t,n)=>El(t,n,8),stringify:e=>Hd(e,8,"0")},{identify:Us,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(e,t,n)=>El(t,n,10),stringify:re.stringifyNumber},{identify:Us,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(e,t,n)=>El(t,n,16),stringify:e=>Hd(e,16,"0x")},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(e,t)=>t?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:re.stringifyNumber},{identify:e=>typeof e=="number",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:({value:e})=>Number(e).toExponential()},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(e,t){let n=new re.Scalar(parseFloat(e.replace(/_/g,"")));if(t){let i=t.replace(/_/g,"");i[i.length-1]==="0"&&(n.minFractionDigits=i.length)}return n},stringify:re.stringifyNumber}],yt.binary,yt.omap,yt.pairs,yt.set,yt.intTime,yt.floatTime,yt.timestamp),YN={core:WN,failsafe:Gd,json:iS,yaml11:KN},HN={binary:yt.binary,bool:Z2,float:nS,floatExp:tS,floatNaN:eS,floatTime:yt.floatTime,int:X2,intHex:Q2,intOct:J2,intTime:yt.intTime,map:Ws,null:V2,omap:yt.omap,pairs:yt.pairs,seq:kl,set:yt.set,timestamp:yt.timestamp};function GN(e,t,n){if(t){let i=n.filter(a=>a.tag===t),r=i.find(a=>!a.format)||i[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find(i=>(i.identify&&i.identify(e)||i.class&&e instanceof i.class)&&!i.format)}function VN(e,t,n){if(e instanceof re.Node)return e;let{defaultPrefix:i,onTagObj:r,prevObjects:a,schema:s,wrapScalars:o}=n;t&&t.startsWith("!!")&&(t=i+t.slice(2));let c=GN(e,t,s.tags);if(!c){if(typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object")return o?new re.Scalar(e):e;c=e instanceof Map?Ws:e[Symbol.iterator]?kl:Ws}r&&(r(c),delete n.onTagObj);let u={value:void 0,node:void 0};if(e&&typeof e=="object"&&a){let l=a.get(e);if(l){let p=new re.Alias(l);return n.aliasNodes.push(p),p}u.value=e,a.set(e,u)}return u.node=c.createNode?c.createNode(n.schema,e,n):o?new re.Scalar(e):e,t&&u.node instanceof re.Node&&(u.node.tag=t),u.node}function ZN(e,t,n,i){let r=e[i.replace(/\W/g,"")];if(!r){let a=Object.keys(e).map(s=>JSON.stringify(s)).join(", ");throw new Error(`Unknown schema "${i}"; use one of ${a}`)}if(Array.isArray(n))for(let a of n)r=r.concat(a);else typeof n=="function"&&(r=n(r.slice()));for(let a=0;a<r.length;++a){let s=r[a];if(typeof s=="string"){let o=t[s];if(!o){let c=Object.keys(t).map(u=>JSON.stringify(u)).join(", ");throw new Error(`Unknown custom tag "${s}"; use one of ${c}`)}r[a]=o}}return r}var JN=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,sr=class{constructor({customTags:t,merge:n,schema:i,sortMapEntries:r,tags:a}){this.merge=!!n,this.name=i,this.sortMapEntries=r===!0?JN:r||null,!t&&a&&yt.warnOptionDeprecation("tags","customTags"),this.tags=ZN(YN,HN,t||a,i)}createNode(t,n,i,r){let a={defaultPrefix:sr.defaultPrefix,schema:this,wrapScalars:n},s=r?Object.assign(r,a):a;return VN(t,i,s)}createPair(t,n,i){i||(i={wrapScalars:!0});let r=this.createNode(t,i.wrapScalars,null,i),a=this.createNode(n,i.wrapScalars,null,i);return new re.Pair(r,a)}};Ol._defineProperty(sr,"defaultPrefix",Ol.defaultTagPrefix);Ol._defineProperty(sr,"defaultTags",Ol.defaultTags);rS.Schema=sr});var cS=b(jl=>{"use strict";var wt=Qi(),ae=$s(),aS=Zd(),XN={anchorPrefix:"a",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:"1.2"},QN={get binary(){return ae.binaryOptions},set binary(e){Object.assign(ae.binaryOptions,e)},get bool(){return ae.boolOptions},set bool(e){Object.assign(ae.boolOptions,e)},get int(){return ae.intOptions},set int(e){Object.assign(ae.intOptions,e)},get null(){return ae.nullOptions},set null(e){Object.assign(ae.nullOptions,e)},get str(){return ae.strOptions},set str(e){Object.assign(ae.strOptions,e)}},oS={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:wt.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:wt.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:wt.defaultTagPrefix}]}};function sS(e,t){if((e.version||e.options.version)==="1.0"){let r=t.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(r)return"!"+r[1];let a=t.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return a?`!${a[1]}/${a[2]}`:`!${t.replace(/^tag:/,"")}`}let n=e.tagPrefixes.find(r=>t.indexOf(r.prefix)===0);if(!n){let r=e.getDefaults().tagPrefixes;n=r&&r.find(a=>t.indexOf(a.prefix)===0)}if(!n)return t[0]==="!"?t:`!<${t}>`;let i=t.substr(n.prefix.length).replace(/[!,[\]{}]/g,r=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[r]);return n.handle+i}function eL(e,t){if(t instanceof ae.Alias)return ae.Alias;if(t.tag){let r=e.filter(a=>a.tag===t.tag);if(r.length>0)return r.find(a=>a.format===t.format)||r[0]}let n,i;if(t instanceof ae.Scalar){i=t.value;let r=e.filter(a=>a.identify&&a.identify(i)||a.class&&i instanceof a.class);n=r.find(a=>a.format===t.format)||r.find(a=>!a.format)}else i=t,n=e.find(r=>r.nodeClass&&i instanceof r.nodeClass);if(!n){let r=i&&i.constructor?i.constructor.name:typeof i;throw new Error(`Tag not resolved for ${r} value`)}return n}function tL(e,t,{anchors:n,doc:i}){let r=[],a=i.anchors.getName(e);return a&&(n[a]=e,r.push(`&${a}`)),e.tag?r.push(sS(i,e.tag)):t.default||r.push(sS(i,t.tag)),r.join(" ")}function Al(e,t,n,i){let{anchors:r,schema:a}=t.doc,s;if(!(e instanceof ae.Node)){let u={aliasNodes:[],onTagObj:l=>s=l,prevObjects:new Map};e=a.createNode(e,!0,null,u);for(let l of u.aliasNodes){l.source=l.source.node;let p=r.getName(l.source);p||(p=r.newName(),r.map[p]=l.source)}}if(e instanceof ae.Pair)return e.toString(t,n,i);s||(s=eL(a.tags,e));let o=tL(e,s,t);o.length>0&&(t.indentAtStart=(t.indentAtStart||0)+o.length+1);let c=typeof s.stringify=="function"?s.stringify(e,t,n,i):e instanceof ae.Scalar?ae.stringifyString(e,t,n,i):e.toString(t,n,i);return o?e instanceof ae.Scalar||c[0]==="{"||c[0]==="["?`${o} ${c}`:`${o}
|
|
173
|
+
${t.indent}${c}`:c}var Ks=class{static validAnchorNode(t){return t instanceof ae.Scalar||t instanceof ae.YAMLSeq||t instanceof ae.YAMLMap}constructor(t){wt._defineProperty(this,"map",Object.create(null)),this.prefix=t}createAlias(t,n){return this.setAnchor(t,n),new ae.Alias(t)}createMergePair(...t){let n=new ae.Merge;return n.value.items=t.map(i=>{if(i instanceof ae.Alias){if(i.source instanceof ae.YAMLMap)return i}else if(i instanceof ae.YAMLMap)return this.createAlias(i);throw new Error("Merge sources must be Map nodes or their Aliases")}),n}getName(t){let{map:n}=this;return Object.keys(n).find(i=>n[i]===t)}getNames(){return Object.keys(this.map)}getNode(t){return this.map[t]}newName(t){t||(t=this.prefix);let n=Object.keys(this.map);for(let i=1;;++i){let r=`${t}${i}`;if(!n.includes(r))return r}}resolveNodes(){let{map:t,_cstAliases:n}=this;Object.keys(t).forEach(i=>{t[i]=t[i].resolved}),n.forEach(i=>{i.source=i.source.resolved}),delete this._cstAliases}setAnchor(t,n){if(t!=null&&!Ks.validAnchorNode(t))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(n&&/[\x00-\x19\s,[\]{}]/.test(n))throw new Error("Anchor names must not contain whitespace or control characters");let{map:i}=this,r=t&&Object.keys(i).find(a=>i[a]===t);if(r)if(n)r!==n&&(delete i[r],i[n]=t);else return r;else{if(!n){if(!t)return null;n=this.newName()}i[n]=t}return n}},Tl=(e,t)=>{if(e&&typeof e=="object"){let{tag:n}=e;e instanceof ae.Collection?(n&&(t[n]=!0),e.items.forEach(i=>Tl(i,t))):e instanceof ae.Pair?(Tl(e.key,t),Tl(e.value,t)):e instanceof ae.Scalar&&n&&(t[n]=!0)}return t},nL=e=>Object.keys(Tl(e,{}));function iL(e,t){let n={before:[],after:[]},i,r=!1;for(let a of t)if(a.valueRange){if(i!==void 0){let o="Document contains trailing content not separated by a ... or --- line";e.errors.push(new wt.YAMLSyntaxError(a,o));break}let s=ae.resolveNode(e,a);r&&(s.spaceBefore=!0,r=!1),i=s}else a.comment!==null?(i===void 0?n.before:n.after).push(a.comment):a.type===wt.Type.BLANK_LINE&&(r=!0,i===void 0&&n.before.length>0&&!e.commentBefore&&(e.commentBefore=n.before.join(`
|
|
174
174
|
`),n.before=[]));if(e.contents=i||null,!i)e.comment=n.before.concat(n.after).join(`
|
|
175
175
|
`)||null;else{let a=n.before.join(`
|
|
176
176
|
`);if(a){let s=i instanceof ae.Collection&&i.items[0]?i.items[0]:i;s.commentBefore=s.commentBefore?`${a}
|
|
177
177
|
${s.commentBefore}`:a}e.comment=n.after.join(`
|
|
178
178
|
`)||null}}function rL({tagPrefixes:e},t){let[n,i]=t.parameters;if(!n||!i){let r="Insufficient parameters given for %TAG directive";throw new wt.YAMLSemanticError(t,r)}if(e.some(r=>r.handle===n)){let r="The %TAG directive must only be given at most once per handle in the same document.";throw new wt.YAMLSemanticError(t,r)}return{handle:n,prefix:i}}function aL(e,t){let[n]=t.parameters;if(t.name==="YAML:1.0"&&(n="1.0"),!n){let i="Insufficient parameters given for %YAML directive";throw new wt.YAMLSemanticError(t,i)}if(!oS[n]){let r=`Document will be parsed as YAML ${e.version||e.options.version} rather than YAML ${n}`;e.warnings.push(new wt.YAMLWarning(t,r))}return n}function sL(e,t,n){let i=[],r=!1;for(let a of t){let{comment:s,name:o}=a;switch(o){case"TAG":try{e.tagPrefixes.push(rL(e,a))}catch(c){e.errors.push(c)}r=!0;break;case"YAML":case"YAML:1.0":if(e.version){let c="The %YAML directive must only be given at most once per document.";e.errors.push(new wt.YAMLSemanticError(a,c))}try{e.version=aL(e,a)}catch(c){e.errors.push(c)}r=!0;break;default:if(o){let c=`YAML only supports %TAG and %YAML directives, and not %${o}`;e.warnings.push(new wt.YAMLWarning(a,c))}}s&&i.push(s)}if(n&&!r&&(e.version||n.version||e.options.version)==="1.1"){let a=({handle:s,prefix:o})=>({handle:s,prefix:o});e.tagPrefixes=n.tagPrefixes.map(a),e.version=n.version}e.commentBefore=i.join(`
|
|
179
|
-
`)||null}function Oa(e){if(e instanceof ae.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var or=class{constructor(t){this.anchors=new Ks(t.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=t,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(t){return Oa(this.contents),this.contents.add(t)}addIn(t,n){Oa(this.contents),this.contents.addIn(t,n)}delete(t){return Oa(this.contents),this.contents.delete(t)}deleteIn(t){return ae.isEmptyPath(t)?this.contents==null?!1:(this.contents=null,!0):(Oa(this.contents),this.contents.deleteIn(t))}getDefaults(){return or.defaults[this.version]||or.defaults[this.options.version]||{}}get(t,n){return this.contents instanceof ae.Collection?this.contents.get(t,n):void 0}getIn(t,n){return ae.isEmptyPath(t)?!n&&this.contents instanceof ae.Scalar?this.contents.value:this.contents:this.contents instanceof ae.Collection?this.contents.getIn(t,n):void 0}has(t){return this.contents instanceof ae.Collection?this.contents.has(t):!1}hasIn(t){return ae.isEmptyPath(t)?this.contents!==void 0:this.contents instanceof ae.Collection?this.contents.hasIn(t):!1}set(t,n){Oa(this.contents),this.contents.set(t,n)}setIn(t,n){ae.isEmptyPath(t)?this.contents=n:(Oa(this.contents),this.contents.setIn(t,n))}setSchema(t,n){if(!t&&!n&&this.schema)return;typeof t=="number"&&(t=t.toFixed(1)),t==="1.0"||t==="1.1"||t==="1.2"?(this.version?this.version=t:this.options.version=t,delete this.options.schema):t&&typeof t=="string"&&(this.options.schema=t),Array.isArray(n)&&(this.options.customTags=n);let i=Object.assign({},this.getDefaults(),this.options);this.schema=new aS.Schema(i)}parse(t,n){this.options.keepCstNodes&&(this.cstNode=t),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:i=[],contents:r=[],directivesEndMarker:a,error:s,valueRange:o}=t;if(s&&(s.source||(s.source=this),this.errors.push(s)),sL(this,i,n),a&&(this.directivesEndMarker=!0),this.range=o?[o.start,o.end]:null,this.setSchema(),this.anchors._cstAliases=[],iL(this,r),this.anchors.resolveNodes(),this.options.prettyErrors){for(let c of this.errors)c instanceof wt.YAMLError&&c.makePretty();for(let c of this.warnings)c instanceof wt.YAMLError&&c.makePretty()}return this}listNonDefaultTags(){return nL(this.contents).filter(t=>t.indexOf(aS.Schema.defaultPrefix)!==0)}setTagPrefix(t,n){if(t[0]!=="!"||t[t.length-1]!=="!")throw new Error("Handle must start and end with !");if(n){let i=this.tagPrefixes.find(r=>r.handle===t);i?i.prefix=n:this.tagPrefixes.push({handle:t,prefix:n})}else this.tagPrefixes=this.tagPrefixes.filter(i=>i.handle!==t)}toJSON(t,n){let{keepBlobsInJSON:i,mapAsMap:r,maxAliasCount:a}=this.options,s=i&&(typeof t!="string"||!(this.contents instanceof ae.Scalar)),o={doc:this,indentStep:" ",keep:s,mapAsMap:s&&!!r,maxAliasCount:a,stringify:
|
|
179
|
+
`)||null}function Oa(e){if(e instanceof ae.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var or=class{constructor(t){this.anchors=new Ks(t.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=t,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(t){return Oa(this.contents),this.contents.add(t)}addIn(t,n){Oa(this.contents),this.contents.addIn(t,n)}delete(t){return Oa(this.contents),this.contents.delete(t)}deleteIn(t){return ae.isEmptyPath(t)?this.contents==null?!1:(this.contents=null,!0):(Oa(this.contents),this.contents.deleteIn(t))}getDefaults(){return or.defaults[this.version]||or.defaults[this.options.version]||{}}get(t,n){return this.contents instanceof ae.Collection?this.contents.get(t,n):void 0}getIn(t,n){return ae.isEmptyPath(t)?!n&&this.contents instanceof ae.Scalar?this.contents.value:this.contents:this.contents instanceof ae.Collection?this.contents.getIn(t,n):void 0}has(t){return this.contents instanceof ae.Collection?this.contents.has(t):!1}hasIn(t){return ae.isEmptyPath(t)?this.contents!==void 0:this.contents instanceof ae.Collection?this.contents.hasIn(t):!1}set(t,n){Oa(this.contents),this.contents.set(t,n)}setIn(t,n){ae.isEmptyPath(t)?this.contents=n:(Oa(this.contents),this.contents.setIn(t,n))}setSchema(t,n){if(!t&&!n&&this.schema)return;typeof t=="number"&&(t=t.toFixed(1)),t==="1.0"||t==="1.1"||t==="1.2"?(this.version?this.version=t:this.options.version=t,delete this.options.schema):t&&typeof t=="string"&&(this.options.schema=t),Array.isArray(n)&&(this.options.customTags=n);let i=Object.assign({},this.getDefaults(),this.options);this.schema=new aS.Schema(i)}parse(t,n){this.options.keepCstNodes&&(this.cstNode=t),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:i=[],contents:r=[],directivesEndMarker:a,error:s,valueRange:o}=t;if(s&&(s.source||(s.source=this),this.errors.push(s)),sL(this,i,n),a&&(this.directivesEndMarker=!0),this.range=o?[o.start,o.end]:null,this.setSchema(),this.anchors._cstAliases=[],iL(this,r),this.anchors.resolveNodes(),this.options.prettyErrors){for(let c of this.errors)c instanceof wt.YAMLError&&c.makePretty();for(let c of this.warnings)c instanceof wt.YAMLError&&c.makePretty()}return this}listNonDefaultTags(){return nL(this.contents).filter(t=>t.indexOf(aS.Schema.defaultPrefix)!==0)}setTagPrefix(t,n){if(t[0]!=="!"||t[t.length-1]!=="!")throw new Error("Handle must start and end with !");if(n){let i=this.tagPrefixes.find(r=>r.handle===t);i?i.prefix=n:this.tagPrefixes.push({handle:t,prefix:n})}else this.tagPrefixes=this.tagPrefixes.filter(i=>i.handle!==t)}toJSON(t,n){let{keepBlobsInJSON:i,mapAsMap:r,maxAliasCount:a}=this.options,s=i&&(typeof t!="string"||!(this.contents instanceof ae.Scalar)),o={doc:this,indentStep:" ",keep:s,mapAsMap:s&&!!r,maxAliasCount:a,stringify:Al},c=Object.keys(this.anchors.map);c.length>0&&(o.anchors=new Map(c.map(l=>[this.anchors.map[l],{alias:[],aliasCount:0,count:1}])));let u=ae.toJSON(this.contents,t,o);if(typeof n=="function"&&o.anchors)for(let{count:l,res:p}of o.anchors.values())n(p,l);return u}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let t=this.options.indent;if(!Number.isInteger(t)||t<=0){let c=JSON.stringify(t);throw new Error(`"indent" option must be a positive integer, not ${c}`)}this.setSchema();let n=[],i=!1;if(this.version){let c="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?c="%YAML:1.0":this.version==="1.1"&&(c="%YAML 1.1")),n.push(c),i=!0}let r=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:c,prefix:u})=>{r.some(l=>l.indexOf(u)===0)&&(n.push(`%TAG ${c} ${u}`),i=!0)}),(i||this.directivesEndMarker)&&n.push("---"),this.commentBefore&&((i||!this.directivesEndMarker)&&n.unshift(""),n.unshift(this.commentBefore.replace(/^/gm,"#")));let a={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(t),stringify:Al},s=!1,o=null;if(this.contents){this.contents instanceof ae.Node&&(this.contents.spaceBefore&&(i||this.directivesEndMarker)&&n.push(""),this.contents.commentBefore&&n.push(this.contents.commentBefore.replace(/^/gm,"#")),a.forceBlockIndent=!!this.comment,o=this.contents.comment);let c=o?null:()=>s=!0,u=Al(this.contents,a,()=>o=null,c);n.push(ae.addComment(u,"",o))}else this.contents!==void 0&&n.push(Al(this.contents,a));return this.comment&&((!s||o)&&n[n.length-1]!==""&&n.push(""),n.push(this.comment.replace(/^/gm,"#"))),n.join(`
|
|
180
180
|
`)+`
|
|
181
|
-
`}};wt._defineProperty(or,"defaults",oS);
|
|
182
|
-
`);return i.reduce(function(r,a){return a.length>r?a.length:r},0)}});var GS=b(($4,
|
|
183
|
-
`);return e.length?e[0].length:0});Gs.prototype.render;Gs.prototype.toString=function(){var e="",t=this.options,n=t.style,i=t.head,r=t.chars,a=t.truncate,s=t.colWidths||new Array(this.head.length),o=0;if(!i.length&&!this.length)return"";if(!s.length){var c=this.slice(0);i.length&&(c=c.concat([i])),c.forEach(function(x){if(typeof x=="object"&&x.length)u(x);else{var _=Object.keys(x)[0],C=x[_];s[0]=Math.max(s[0]||0,l(_)||0),typeof C=="object"&&C.length?u(C,1):s[1]=Math.max(s[1]||0,l(C)||0)}})}o=(s.length==1?s[0]:s.reduce(function(x,_){return x+_}))+s.length+1;function u(x,C){var C=C||0;x.forEach(function(k,O){s[O+C]=Math.max(s[O+C]||0,l(k)||0)})}function l(x){return typeof x=="object"&&x.width!=null?x.width:(typeof x=="object"?lr.strlen(x.text):lr.strlen(x))+(n["padding-left"]||0)+(n["padding-right"]||0)}function p(F,_,C,k){var O=0,F=_+
|
|
181
|
+
`}};wt._defineProperty(or,"defaults",oS);jl.Document=or;jl.defaultOptions=XN;jl.scalarOptions=QN});var pS=b(uS=>{"use strict";var Jd=j2(),cr=cS(),oL=Zd(),cL=Qi(),lL=Yd();$s();function uL(e,t=!0,n){n===void 0&&typeof t=="string"&&(n=t,t=!0);let i=Object.assign({},cr.Document.defaults[cr.defaultOptions.version],cr.defaultOptions);return new oL.Schema(i).createNode(e,t,n)}var ka=class extends cr.Document{constructor(t){super(Object.assign({},cr.defaultOptions,t))}};function pL(e,t){let n=[],i;for(let r of Jd.parse(e)){let a=new ka(t);a.parse(r,i),n.push(a),i=a}return n}function lS(e,t){let n=Jd.parse(e),i=new ka(t).parse(n[0]);if(n.length>1){let r="Source contains multiple documents; please use YAML.parseAllDocuments()";i.errors.unshift(new cL.YAMLSemanticError(n[1],r))}return i}function fL(e,t){let n=lS(e,t);if(n.warnings.forEach(i=>lL.warn(i)),n.errors.length>0)throw n.errors[0];return n.toJSON()}function dL(e,t){let n=new ka(t);return n.contents=e,String(n)}var hL={createNode:uL,defaultOptions:cr.defaultOptions,Document:ka,parse:fL,parseAllDocuments:pL,parseCST:Jd.parse,parseDocument:lS,scalarOptions:cr.scalarOptions,stringify:dL};uS.YAML=hL});var dS=b((h4,fS)=>{fS.exports=pS().YAML});var SS=b((j4,_S)=>{var wS={};_S.exports=wS;var yS={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],grey:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBG:[40,49],redBG:[41,49],greenBG:[42,49],yellowBG:[43,49],blueBG:[44,49],magentaBG:[45,49],cyanBG:[46,49],whiteBG:[47,49]};Object.keys(yS).forEach(function(e){var t=yS[e],n=wS[e]=[];n.open="\x1B["+t[0]+"m",n.close="\x1B["+t[1]+"m"})});var OS=b((M4,ES)=>{var Hs=process.argv;ES.exports=function(){return Hs.indexOf("--no-color")!==-1||Hs.indexOf("--color=false")!==-1?!1:Hs.indexOf("--color")!==-1||Hs.indexOf("--color=true")!==-1||Hs.indexOf("--color=always")!==-1?!0:process.stdout&&!process.stdout.isTTY?!1:process.platform==="win32"||"COLORTERM"in process.env?!0:process.env.TERM==="dumb"?!1:!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)}()});var CS=b((R4,kS)=>{kS.exports=function(t,n){var i="";t=t||"Run the trap, drop the bass",t=t.split("");var r={a:["@","\u0104","\u023A","\u0245","\u0394","\u039B","\u0414"],b:["\xDF","\u0181","\u0243","\u026E","\u03B2","\u0E3F"],c:["\xA9","\u023B","\u03FE"],d:["\xD0","\u018A","\u0500","\u0501","\u0502","\u0503"],e:["\xCB","\u0115","\u018E","\u0258","\u03A3","\u03BE","\u04BC","\u0A6C"],f:["\u04FA"],g:["\u0262"],h:["\u0126","\u0195","\u04A2","\u04BA","\u04C7","\u050A"],i:["\u0F0F"],j:["\u0134"],k:["\u0138","\u04A0","\u04C3","\u051E"],l:["\u0139"],m:["\u028D","\u04CD","\u04CE","\u0520","\u0521","\u0D69"],n:["\xD1","\u014B","\u019D","\u0376","\u03A0","\u048A"],o:["\xD8","\xF5","\xF8","\u01FE","\u0298","\u047A","\u05DD","\u06DD","\u0E4F"],p:["\u01F7","\u048E"],q:["\u09CD"],r:["\xAE","\u01A6","\u0210","\u024C","\u0280","\u042F"],s:["\xA7","\u03DE","\u03DF","\u03E8"],t:["\u0141","\u0166","\u0373"],u:["\u01B1","\u054D"],v:["\u05D8"],w:["\u0428","\u0460","\u047C","\u0D70"],x:["\u04B2","\u04FE","\u04FC","\u04FD"],y:["\xA5","\u04B0","\u04CB"],z:["\u01B5","\u0240"]};return t.forEach(function(a){a=a.toLowerCase();var s=r[a]||[" "],o=Math.floor(Math.random()*s.length);typeof r[a]<"u"?i+=r[a][o]:i+=a}),i}});var TS=b((N4,AS)=>{AS.exports=function(t,n){t=t||" he is here ";var i={up:["\u030D","\u030E","\u0304","\u0305","\u033F","\u0311","\u0306","\u0310","\u0352","\u0357","\u0351","\u0307","\u0308","\u030A","\u0342","\u0313","\u0308","\u034A","\u034B","\u034C","\u0303","\u0302","\u030C","\u0350","\u0300","\u0301","\u030B","\u030F","\u0312","\u0313","\u0314","\u033D","\u0309","\u0363","\u0364","\u0365","\u0366","\u0367","\u0368","\u0369","\u036A","\u036B","\u036C","\u036D","\u036E","\u036F","\u033E","\u035B","\u0346","\u031A"],down:["\u0316","\u0317","\u0318","\u0319","\u031C","\u031D","\u031E","\u031F","\u0320","\u0324","\u0325","\u0326","\u0329","\u032A","\u032B","\u032C","\u032D","\u032E","\u032F","\u0330","\u0331","\u0332","\u0333","\u0339","\u033A","\u033B","\u033C","\u0345","\u0347","\u0348","\u0349","\u034D","\u034E","\u0353","\u0354","\u0355","\u0356","\u0359","\u035A","\u0323"],mid:["\u0315","\u031B","\u0300","\u0301","\u0358","\u0321","\u0322","\u0327","\u0328","\u0334","\u0335","\u0336","\u035C","\u035D","\u035E","\u035F","\u0360","\u0362","\u0338","\u0337","\u0361"," \u0489"]},r=[].concat(i.up,i.down,i.mid),a={};function s(u){var l=Math.floor(Math.random()*u);return l}function o(u){var l=!1;return r.filter(function(p){l=p===u}),l}function c(u,l){var p="",f,m;l=l||{},l.up=l.up||!0,l.mid=l.mid||!0,l.down=l.down||!0,l.size=l.size||"maxi",u=u.split("");for(m in u)if(!o(m)){switch(p=p+u[m],f={up:0,down:0,mid:0},l.size){case"mini":f.up=s(8),f.min=s(2),f.down=s(8);break;case"maxi":f.up=s(16)+3,f.min=s(4)+1,f.down=s(64)+3;break;default:f.up=s(8)+1,f.mid=s(6)/2,f.down=s(8)+1;break}var v=["up","mid","down"];for(var g in v)for(var d=v[g],x=0;x<=f[d];x++)l[d]&&(p=p+i[d][s(i[d].length)])}return p}return c(t)}});var MS=b((L4,jS)=>{var ch=Ca();jS.exports=function(){return function(e,t,n){if(e===" ")return e;switch(t%3){case 0:return ch.red(e);case 1:return ch.white(e);case 2:return ch.blue(e)}}}()});var NS=b((I4,RS)=>{var BL=Ca();RS.exports=function(e,t,n){return t%2===0?e:BL.inverse(e)}});var IS=b((q4,LS)=>{var FL=Ca();LS.exports=function(){var e=["red","yellow","green","blue","magenta"];return function(t,n,i){return t===" "?t:FL[e[n++%e.length]](t)}}()});var PS=b((P4,qS)=>{var DL=Ca();qS.exports=function(){var e=["underline","inverse","grey","yellow","red","green","blue","white","cyan","magenta"];return function(t,n,i){return t===" "?t:DL[e[Math.round(Math.random()*(e.length-1))]](t)}}()});var Ca=b((F4,US)=>{var we={};US.exports=we;we.themes={};var hi=we.styles=SS(),DS=Object.defineProperties;we.supportsColor=OS();typeof we.enabled>"u"&&(we.enabled=we.supportsColor);we.stripColors=we.strip=function(e){return(""+e).replace(/\x1B\[\d+m/g,"")};var B4=we.stylize=function(t,n){return hi[n].open+t+hi[n].close},zL=/[|\\{}()[\]^$+*?.]/g,$L=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(zL,"\\$&")};function zS(e){var t=function n(){return WL.apply(n,arguments)};return t._styles=e,t.__proto__=UL,t}var $S=function(){var e={};return hi.grey=hi.gray,Object.keys(hi).forEach(function(t){hi[t].closeRe=new RegExp($L(hi[t].close),"g"),e[t]={get:function(){return zS(this._styles.concat(t))}}}),e}(),UL=DS(function(){},$S);function WL(){var e=arguments,t=e.length,n=t!==0&&String(arguments[0]);if(t>1)for(var i=1;i<t;i++)n+=" "+e[i];if(!we.enabled||!n)return n;for(var r=this._styles,a=r.length;a--;){var s=hi[r[a]];n=s.open+n.replace(s.closeRe,s.open)+s.close}return n}function BS(e){for(var t in e)(function(n){we[n]=function(i){return we[e[n]](i)}})(t)}we.setTheme=function(e){if(typeof e=="string")try{return we.themes[e]=require(e),BS(we.themes[e]),we.themes[e]}catch(t){return console.log(t),t}else BS(e)};function KL(){var e={};return Object.keys($S).forEach(function(t){e[t]={get:function(){return zS([t])}}}),e}var YL=function(t,n){var i=n.split(""),r=0;return i=i.map(t),i.join("")};we.trap=CS();we.zalgo=TS();we.maps={};we.maps.america=MS();we.maps.zebra=NS();we.maps.rainbow=IS();we.maps.random=PS();for(FS in we.maps)(function(e){we[e]=function(t){return YL(we.maps[e],t)}})(FS);var FS;DS(we,KL())});var KS=b((D4,WS)=>{var HL=Ca();WS.exports=HL});var HS=b(Aa=>{Aa.repeat=function(e,t){return Array(t+1).join(e)};Aa.pad=function(e,t,n,i){if(t+1>=e.length)switch(i){case"left":e=Array(t+1-e.length).join(n)+e;break;case"both":var r=Math.ceil((padlen=t-e.length)/2),a=padlen-r;e=Array(a+1).join(n)+e+Array(r+1).join(n);break;default:e=e+Array(t+1-e.length).join(n)}return e};Aa.truncate=function(e,t,n){return n=n||"\u2026",e.length>=t?e.substr(0,t-n.length)+n:e};function YS(e,t){for(var n in t)n==="__proto__"||n==="constructor"||n==="prototype"||(t[n]&&t[n].constructor&&t[n].constructor===Object?(e[n]=e[n]||{},YS(e[n],t[n])):e[n]=t[n]);return e}Aa.options=YS;Aa.strlen=function(e){var t=/\u001b\[(?:\d*;){0,5}\d*m/g,n=(""+e).replace(t,""),i=n.split(`
|
|
182
|
+
`);return i.reduce(function(r,a){return a.length>r?a.length:r},0)}});var GS=b(($4,uh)=>{var GL=KS(),lr=HS(),lh=lr.repeat,VL=lr.truncate,ZL=lr.pad;function Gs(e){if(this.options=lr.options({chars:{top:"\u2500","top-mid":"\u252C","top-left":"\u250C","top-right":"\u2510",bottom:"\u2500","bottom-mid":"\u2534","bottom-left":"\u2514","bottom-right":"\u2518",left:"\u2502","left-mid":"\u251C",mid:"\u2500","mid-mid":"\u253C",right:"\u2502","right-mid":"\u2524",middle:"\u2502"},truncate:"\u2026",colWidths:[],colAligns:[],style:{"padding-left":1,"padding-right":1,head:["red"],border:["grey"],compact:!1},head:[]},e),e&&e.rows)for(var t=0;t<e.rows.length;t++)this.push(e.rows[t])}Gs.prototype.__proto__=Array.prototype;Gs.prototype.__defineGetter__("width",function(){var e=this.toString().split(`
|
|
183
|
+
`);return e.length?e[0].length:0});Gs.prototype.render;Gs.prototype.toString=function(){var e="",t=this.options,n=t.style,i=t.head,r=t.chars,a=t.truncate,s=t.colWidths||new Array(this.head.length),o=0;if(!i.length&&!this.length)return"";if(!s.length){var c=this.slice(0);i.length&&(c=c.concat([i])),c.forEach(function(x){if(typeof x=="object"&&x.length)u(x);else{var _=Object.keys(x)[0],C=x[_];s[0]=Math.max(s[0]||0,l(_)||0),typeof C=="object"&&C.length?u(C,1):s[1]=Math.max(s[1]||0,l(C)||0)}})}o=(s.length==1?s[0]:s.reduce(function(x,_){return x+_}))+s.length+1;function u(x,C){var C=C||0;x.forEach(function(k,O){s[O+C]=Math.max(s[O+C]||0,l(k)||0)})}function l(x){return typeof x=="object"&&x.width!=null?x.width:(typeof x=="object"?lr.strlen(x.text):lr.strlen(x))+(n["padding-left"]||0)+(n["padding-right"]||0)}function p(F,_,C,k){var O=0,F=_+lh(F,o-2)+C;return s.forEach(function(P,L){L!=s.length-1&&(O+=P+1,F=F.substr(0,O)+k+F.substr(O+1))}),v(t.style.border,F)}function f(){var x=p(r.top,r["top-left"]||r.top,r["top-right"]||r.top,r["top-mid"]);x&&(e+=x+`
|
|
184
184
|
`)}function m(x,_){var C=[],k=0;if(!Array.isArray(x)&&typeof x=="object"){var O=Object.keys(x)[0],F=x[O],P=!0;Array.isArray(F)?(x=F,x.unshift(O)):x=[O,F]}x.forEach(function(B,q){var R=B.toString().split(`
|
|
185
185
|
`).reduce(function(I,K){return I.push(g(K,q)),I},[]),M=R.length;M>k&&(k=M),C.push({contents:R,height:M})});var L=new Array(k);C.forEach(function(B,q){B.contents.forEach(function(I,K){L[K]||(L[K]=[]),(_||P&&q===0&&t.style.head)&&(I=v(t.style.head,I)),L[K].push(I)});for(var R=B.height,M=k;R<M;R++)L[R]||(L[R]=[]),L[R].push(g("",q))});var $="";return L.forEach(function(B,q){$.length>0&&($+=`
|
|
186
|
-
`+v(t.style.border,r.left)),$+=B.join(v(t.style.border,r.middle))+v(t.style.border,r.right)}),v(t.style.border,r.left)+$}function v(x,_){return _?(x.forEach(function(C){_=GL[C](_)}),_):""}function g(C,_){var C=String(typeof C=="object"&&C.text?C.text:C),k=lr.strlen(C),O=s[_]-(n["padding-left"]||0)-(n["padding-right"]||0),F=t.colAligns[_]||"left";return
|
|
186
|
+
`+v(t.style.border,r.left)),$+=B.join(v(t.style.border,r.middle))+v(t.style.border,r.right)}),v(t.style.border,r.left)+$}function v(x,_){return _?(x.forEach(function(C){_=GL[C](_)}),_):""}function g(C,_){var C=String(typeof C=="object"&&C.text?C.text:C),k=lr.strlen(C),O=s[_]-(n["padding-left"]||0)-(n["padding-right"]||0),F=t.colAligns[_]||"left";return lh(" ",n["padding-left"]||0)+(k==O?C:k<O?ZL(C,O+(C.length-k)," ",F=="left"?"right":F=="middle"?"both":"left"):a?VL(C,O,a):C)+lh(" ",n["padding-right"]||0)}i.length&&(f(),e+=m(i,n.head)+`
|
|
187
187
|
`),this.length&&this.forEach(function(x,_){if(!i.length&&_==0)f();else if(!n.compact||_<!!i.length||x.length==0){var C=p(r.mid,r["left-mid"],r["right-mid"],r["mid-mid"]);C&&(e+=C+`
|
|
188
188
|
`)}x.hasOwnProperty("length")&&!x.length||(e+=m(x)+`
|
|
189
|
-
`)});var d=p(r.bottom,r["bottom-left"]||r.bottom,r["bottom-right"]||r.bottom,r["bottom-mid"]);return d?e+=d:e=e.slice(0,-1),e};
|
|
189
|
+
`)});var d=p(r.bottom,r["bottom-left"]||r.bottom,r["bottom-right"]||r.bottom,r["bottom-mid"]);return d?e+=d:e=e.slice(0,-1),e};uh.exports=Gs;uh.exports.version="0.0.1"});var yI={};module.exports=lE(yI);var no=require("assert");var uE={right:mE,center:gE},pE=0,Vs=1,fE=2,Zs=3,Fl=class{constructor(t){var n;this.width=t.width,this.wrap=(n=t.wrap)!==null&&n!==void 0?n:!0,this.rows=[]}span(...t){let n=this.div(...t);n.span=!0}resetOutput(){this.rows=[]}div(...t){if(t.length===0&&this.div(""),this.wrap&&this.shouldApplyLayoutDSL(...t)&&typeof t[0]=="string")return this.applyLayoutDSL(t[0]);let n=t.map(i=>typeof i=="string"?this.colFromString(i):i);return this.rows.push(n),n}shouldApplyLayoutDSL(...t){return t.length===1&&typeof t[0]=="string"&&/[\t\n]/.test(t[0])}applyLayoutDSL(t){let n=t.split(`
|
|
190
190
|
`).map(r=>r.split(" ")),i=0;return n.forEach(r=>{r.length>1&&kt.stringWidth(r[0])>i&&(i=Math.min(Math.floor(this.width*.5),kt.stringWidth(r[0])))}),n.forEach(r=>{this.div(...r.map((a,s)=>({text:a.trim(),padding:this.measurePadding(a),width:s===0&&r.length>1?i:void 0})))}),this.rows[this.rows.length-1]}colFromString(t){return{text:t,padding:this.measurePadding(t)}}measurePadding(t){let n=kt.stripAnsi(t);return[0,n.match(/\s*$/)[0].length,0,n.match(/^\s*/)[0].length]}toString(){let t=[];return this.rows.forEach(n=>{this.rowToString(n,t)}),t.filter(n=>!n.hidden).map(n=>n.text).join(`
|
|
191
|
-
`)}rowToString(t,n){return this.rasterize(t).forEach((i,r)=>{let a="";i.forEach((s,o)=>{let{width:c}=t[o],u=this.negatePadding(t[o]),l=s;if(u>kt.stringWidth(s)&&(l+=" ".repeat(u-kt.stringWidth(s))),t[o].align&&t[o].align!=="left"&&this.wrap){let f=uE[t[o].align];l=f(l,u),kt.stringWidth(l)<u&&(l+=" ".repeat((c||0)-kt.stringWidth(l)-1))}let p=t[o].padding||[0,0,0,0];p[Zs]&&(a+=" ".repeat(p[Zs])),a+=
|
|
191
|
+
`)}rowToString(t,n){return this.rasterize(t).forEach((i,r)=>{let a="";i.forEach((s,o)=>{let{width:c}=t[o],u=this.negatePadding(t[o]),l=s;if(u>kt.stringWidth(s)&&(l+=" ".repeat(u-kt.stringWidth(s))),t[o].align&&t[o].align!=="left"&&this.wrap){let f=uE[t[o].align];l=f(l,u),kt.stringWidth(l)<u&&(l+=" ".repeat((c||0)-kt.stringWidth(l)-1))}let p=t[o].padding||[0,0,0,0];p[Zs]&&(a+=" ".repeat(p[Zs])),a+=wh(t[o],l,"| "),a+=l,a+=wh(t[o],l," |"),p[Vs]&&(a+=" ".repeat(p[Vs])),r===0&&n.length>0&&(a=this.renderInline(a,n[n.length-1]))}),n.push({text:a.replace(/ +$/,""),span:t.span})}),n}renderInline(t,n){let i=t.match(/^ */),r=i?i[0].length:0,a=n.text,s=kt.stringWidth(a.trimRight());return n.span?this.wrap?r<s?t:(n.hidden=!0,a.trimRight()+" ".repeat(r-s)+t.trimLeft()):(n.hidden=!0,a+t):t}rasterize(t){let n=[],i=this.columnWidths(t),r;return t.forEach((a,s)=>{a.width=i[s],this.wrap?r=kt.wrap(a.text,this.negatePadding(a),{hard:!0}).split(`
|
|
192
192
|
`):r=a.text.split(`
|
|
193
|
-
`),a.border&&(r.unshift("."+"-".repeat(this.negatePadding(a)+2)+"."),r.push("'"+"-".repeat(this.negatePadding(a)+2)+"'")),a.padding&&(r.unshift(...new Array(a.padding[pE]||0).fill("")),r.push(...new Array(a.padding[fE]||0).fill(""))),r.forEach((o,c)=>{n[c]||n.push([]);let u=n[c];for(let l=0;l<s;l++)u[l]===void 0&&u.push("");u.push(o)})}),n}negatePadding(t){let n=t.width||0;return t.padding&&(n-=(t.padding[Zs]||0)+(t.padding[Vs]||0)),t.border&&(n-=4),n}columnWidths(t){if(!this.wrap)return t.map(s=>s.width||kt.stringWidth(s.text));let n=t.length,i=this.width,r=t.map(s=>{if(s.width)return n--,i-=s.width,s.width}),a=n?Math.floor(i/n):0;return r.map((s,o)=>s===void 0?Math.max(a,dE(t[o])):s)}};function
|
|
194
|
-
`),r+=e.charAt(a);return n&&i&&(r=`${n}${r}${i}`),r}function Dl(e){return wh(e,{stringWidth:t=>[...t].length,stripAnsi:Fl,wrap:Sh})}var ur=require("path"),Js=require("fs");function Eh(e,t){let n=(0,ur.resolve)(".",e),i;for((0,Js.statSync)(n).isDirectory()||(n=(0,ur.dirname)(n));;){if(i=t(n,(0,Js.readdirSync)(n)),i)return(0,ur.resolve)(n,i);if(n=(0,ur.dirname)(i=n),i===n)break}}var Fh=require("util"),Dh=require("fs"),zh=require("url");var Ah=require("util"),to=require("path");function mi(e){if(e!==e.toLowerCase()&&e!==e.toUpperCase()||(e=e.toLowerCase()),e.indexOf("-")===-1&&e.indexOf("_")===-1)return e;{let n="",i=!1,r=e.match(/^-+/);for(let a=r?r[0].length:0;a<e.length;a++){let s=e.charAt(a);i&&(i=!1,s=s.toUpperCase()),a!==0&&(s==="-"||s==="_")?i=!0:s!=="-"&&s!=="_"&&(n+=s)}return n}}function Xs(e,t){let n=e.toLowerCase();t=t||"-";let i="";for(let r=0;r<e.length;r++){let a=n.charAt(r),s=e.charAt(r);a!==s&&r>0?i+=`${t}${n.charAt(r)}`:i+=s}return i}function Qs(e){return e==null?!1:typeof e=="number"||/^0x[0-9a-f]+$/i.test(e)?!0:/^0[^.]/.test(e)?!1:/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e)}function Oh(e){if(Array.isArray(e))return e.map(s=>typeof s!="string"?s+"":s);e=e.trim();let t=0,n=null,i=null,r=null,a=[];for(let s=0;s<e.length;s++){if(n=i,i=e.charAt(s),i===" "&&!r){n!==" "&&t++;continue}i===r?r=null:(i==="'"||i==='"')&&!r&&(r=i),a[t]||(a[t]=""),a[t]+=i}return a}var Dt;(function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array"})(Dt||(Dt={}));var wn,eo=class{constructor(t){wn=t}parse(t,n){let i=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},n),r=Oh(t),a=typeof t=="string",s=vE(Object.assign(Object.create(null),i.alias)),o=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},i.configuration),c=Object.assign(Object.create(null),i.default),u=i.configObjects||[],l=i.envPrefix,p=o["populate--"],f=p?"--":"_",m=Object.create(null),v=Object.create(null),g=i.__||wn.format,d={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},x=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,_=new RegExp("^--"+o["negation-prefix"]+"(.+)");[].concat(i.array||[]).filter(Boolean).forEach(function(y){let E=typeof y=="object"?y.key:y,N=Object.keys(y).map(function(T){return{boolean:"bools",string:"strings",number:"numbers"}[T]}).filter(Boolean).pop();N&&(d[N][E]=!0),d.arrays[E]=!0,d.keys.push(E)}),[].concat(i.boolean||[]).filter(Boolean).forEach(function(y){d.bools[y]=!0,d.keys.push(y)}),[].concat(i.string||[]).filter(Boolean).forEach(function(y){d.strings[y]=!0,d.keys.push(y)}),[].concat(i.number||[]).filter(Boolean).forEach(function(y){d.numbers[y]=!0,d.keys.push(y)}),[].concat(i.count||[]).filter(Boolean).forEach(function(y){d.counts[y]=!0,d.keys.push(y)}),[].concat(i.normalize||[]).filter(Boolean).forEach(function(y){d.normalize[y]=!0,d.keys.push(y)}),typeof i.narg=="object"&&Object.entries(i.narg).forEach(([y,E])=>{typeof E=="number"&&(d.nargs[y]=E,d.keys.push(y))}),typeof i.coerce=="object"&&Object.entries(i.coerce).forEach(([y,E])=>{typeof E=="function"&&(d.coercions[y]=E,d.keys.push(y))}),typeof i.config<"u"&&(Array.isArray(i.config)||typeof i.config=="string"?[].concat(i.config).filter(Boolean).forEach(function(y){d.configs[y]=!0}):typeof i.config=="object"&&Object.entries(i.config).forEach(([y,E])=>{(typeof E=="boolean"||typeof E=="function")&&(d.configs[y]=E)})),ie(i.key,s,i.default,d.arrays),Object.keys(c).forEach(function(y){(d.aliases[y]||[]).forEach(function(E){c[E]=c[y]})});let C=null;Pl();let k=[],O=Object.assign(Object.create(null),{_:[]}),F={};for(let y=0;y<r.length;y++){let E=r[y],N=E.replace(/^-{3,}/,"---"),T,S,H,D,Q,He;if(E!=="--"&&oe(E))P(E);else if(N.match(/---+(=|$)/)){P(E);continue}else if(E.match(/^--.+=/)||!o["short-option-groups"]&&E.match(/^-.+=/))D=E.match(/^--?([^=]+)=([\s\S]*)$/),D!==null&&Array.isArray(D)&&D.length>=3&&(z(D[1],d.arrays)?y=$(y,D[1],r,D[2]):z(D[1],d.nargs)!==!1?y=L(y,D[1],r,D[2]):B(D[1],D[2],!0));else if(E.match(_)&&o["boolean-negation"])D=E.match(_),D!==null&&Array.isArray(D)&&D.length>=2&&(S=D[1],B(S,z(S,d.arrays)?[!1]:!1));else if(E.match(/^--.+/)||!o["short-option-groups"]&&E.match(/^-[^-]+/))D=E.match(/^--?(.+)/),D!==null&&Array.isArray(D)&&D.length>=2&&(S=D[1],z(S,d.arrays)?y=$(y,S,r):z(S,d.nargs)!==!1?y=L(y,S,r):(Q=r[y+1],Q!==void 0&&(!Q.match(/^-/)||Q.match(x))&&!z(S,d.bools)&&!z(S,d.counts)||/^(true|false)$/.test(Q)?(B(S,Q),y++):B(S,te(S))));else if(E.match(/^-.\..+=/))D=E.match(/^-([^=]+)=([\s\S]*)$/),D!==null&&Array.isArray(D)&&D.length>=3&&B(D[1],D[2]);else if(E.match(/^-.\..+/)&&!E.match(x))Q=r[y+1],D=E.match(/^-(.\..+)/),D!==null&&Array.isArray(D)&&D.length>=2&&(S=D[1],Q!==void 0&&!Q.match(/^-/)&&!z(S,d.bools)&&!z(S,d.counts)?(B(S,Q),y++):B(S,te(S)));else if(E.match(/^-[^-]+/)&&!E.match(x)){H=E.slice(1,-1).split(""),T=!1;for(let dt=0;dt<H.length;dt++){if(Q=E.slice(dt+2),H[dt+1]&&H[dt+1]==="="){He=E.slice(dt+3),S=H[dt],z(S,d.arrays)?y=$(y,S,r,He):z(S,d.nargs)!==!1?y=L(y,S,r,He):B(S,He),T=!0;break}if(Q==="-"){B(H[dt],Q);continue}if(/[A-Za-z]/.test(H[dt])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(Q)&&z(Q,d.bools)===!1){B(H[dt],Q),T=!0;break}if(H[dt+1]&&H[dt+1].match(/\W/)){B(H[dt],Q),T=!0;break}else B(H[dt],te(H[dt]))}S=E.slice(-1)[0],!T&&S!=="-"&&(z(S,d.arrays)?y=$(y,S,r):z(S,d.nargs)!==!1?y=L(y,S,r):(Q=r[y+1],Q!==void 0&&(!/^(-|--)[^-]/.test(Q)||Q.match(x))&&!z(S,d.bools)&&!z(S,d.counts)||/^(true|false)$/.test(Q)?(B(S,Q),y++):B(S,te(S))))}else if(E.match(/^-[0-9]$/)&&E.match(x)&&z(E.slice(1),d.bools))S=E.slice(1),B(S,te(S));else if(E==="--"){k=r.slice(y+1);break}else if(o["halt-at-non-option"]){k=r.slice(y);break}else P(E)}ve(O,!0),ve(O,!1),I(O),ce(),le(O,d.aliases,c,!0),X(O),o["set-placeholder-key"]&&Se(O),Object.keys(d.counts).forEach(function(y){Y(O,y.split("."))||B(y,0)}),p&&k.length&&(O[f]=[]),k.forEach(function(y){O[f].push(y)}),o["camel-case-expansion"]&&o["strip-dashed"]&&Object.keys(O).filter(y=>y!=="--"&&y.includes("-")).forEach(y=>{delete O[y]}),o["strip-aliased"]&&[].concat(...Object.keys(s).map(y=>s[y])).forEach(y=>{o["camel-case-expansion"]&&y.includes("-")&&delete O[y.split(".").map(E=>mi(E)).join(".")],delete O[y]});function P(y){let E=M("_",y);(typeof E=="string"||typeof E=="number")&&O._.push(E)}function L(y,E,N,T){let S,H=z(E,d.nargs);if(H=typeof H!="number"||isNaN(H)?1:H,H===0)return We(T)||(C=Error(g("Argument unexpected for: %s",E))),B(E,te(E)),y;let D=We(T)?0:1;if(o["nargs-eats-options"])N.length-(y+1)+D<H&&(C=Error(g("Not enough arguments following: %s",E))),D=H;else{for(S=y+1;S<N.length&&(!N[S].match(/^-[^0-9]/)||N[S].match(x)||oe(N[S]));S++)D++;D<H&&(C=Error(g("Not enough arguments following: %s",E)))}let Q=Math.min(D,H);for(!We(T)&&Q>0&&(B(E,T),Q--),S=y+1;S<Q+y+1;S++)B(E,N[S]);return y+Q}function $(y,E,N,T){let S=[],H=T||N[y+1],D=z(E,d.nargs);if(z(E,d.bools)&&!/^(true|false)$/.test(H))S.push(!0);else if(We(H)||We(T)&&/^-/.test(H)&&!x.test(H)&&!oe(H)){if(c[E]!==void 0){let Q=c[E];S=Array.isArray(Q)?Q:[Q]}}else{We(T)||S.push(R(E,T,!0));for(let Q=y+1;Q<N.length&&!(!o["greedy-arrays"]&&S.length>0||D&&typeof D=="number"&&S.length>=D||(H=N[Q],/^-/.test(H)&&!x.test(H)&&!oe(H)));Q++)y=Q,S.push(R(E,H,a))}return typeof D=="number"&&(D&&S.length<D||isNaN(D)&&S.length===0)&&(C=Error(g("Not enough arguments following: %s",E))),B(E,S),y}function B(y,E,N=a){if(/-/.test(y)&&o["camel-case-expansion"]){let H=y.split(".").map(function(D){return mi(D)}).join(".");q(y,H)}let T=R(y,E,N),S=y.split(".");fe(O,S,T),d.aliases[y]&&d.aliases[y].forEach(function(H){let D=H.split(".");fe(O,D,T)}),S.length>1&&o["dot-notation"]&&(d.aliases[S[0]]||[]).forEach(function(H){let D=H.split("."),Q=[].concat(S);Q.shift(),D=D.concat(Q),(d.aliases[y]||[]).includes(D.join("."))||fe(O,D,T)}),z(y,d.normalize)&&!z(y,d.arrays)&&[y].concat(d.aliases[y]||[]).forEach(function(D){Object.defineProperty(F,D,{enumerable:!0,get(){return E},set(Q){E=typeof Q=="string"?wn.normalize(Q):Q}})})}function q(y,E){d.aliases[y]&&d.aliases[y].length||(d.aliases[y]=[E],m[E]=!0),d.aliases[E]&&d.aliases[E].length||q(E,y)}function R(y,E,N){N&&(E=bE(E)),(z(y,d.bools)||z(y,d.counts))&&typeof E=="string"&&(E=E==="true");let T=Array.isArray(E)?E.map(function(S){return M(y,S)}):M(y,E);return z(y,d.counts)&&(We(T)||typeof T=="boolean")&&(T=zl()),z(y,d.normalize)&&z(y,d.arrays)&&(Array.isArray(E)?T=E.map(S=>wn.normalize(S)):T=wn.normalize(E)),T}function M(y,E){return!o["parse-positional-numbers"]&&y==="_"||!z(y,d.strings)&&!z(y,d.bools)&&!Array.isArray(E)&&(Qs(E)&&o["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${E}`)))||!We(E)&&z(y,d.numbers))&&(E=Number(E)),E}function I(y){let E=Object.create(null);le(E,d.aliases,c),Object.keys(d.configs).forEach(function(N){let T=y[N]||E[N];if(T)try{let S=null,H=wn.resolve(wn.cwd(),T),D=d.configs[N];if(typeof D=="function"){try{S=D(H)}catch(Q){S=Q}if(S instanceof Error){C=S;return}}else S=wn.require(H);K(S)}catch(S){S.name==="PermissionDenied"?C=S:y[N]&&(C=Error(g("Invalid JSON config file: %s",T)))}})}function K(y,E){Object.keys(y).forEach(function(N){let T=y[N],S=E?E+"."+N:N;typeof T=="object"&&T!==null&&!Array.isArray(T)&&o["dot-notation"]?K(T,S):(!Y(O,S.split("."))||z(S,d.arrays)&&o["combine-arrays"])&&B(S,T)})}function ce(){typeof u<"u"&&u.forEach(function(y){K(y)})}function ve(y,E){if(typeof l>"u")return;let N=typeof l=="string"?l:"",T=wn.env();Object.keys(T).forEach(function(S){if(N===""||S.lastIndexOf(N,0)===0){let H=S.split("__").map(function(D,Q){return Q===0&&(D=D.substring(N.length)),mi(D)});(E&&d.configs[H.join(".")]||!E)&&!Y(y,H)&&B(H.join("."),T[S])}})}function X(y){let E,N=new Set;Object.keys(y).forEach(function(T){if(!N.has(T)&&(E=z(T,d.coercions),typeof E=="function"))try{let S=M(T,E(y[T]));[].concat(d.aliases[T]||[],T).forEach(H=>{N.add(H),y[H]=S})}catch(S){C=S}})}function Se(y){return d.keys.forEach(E=>{~E.indexOf(".")||typeof y[E]>"u"&&(y[E]=void 0)}),y}function le(y,E,N,T=!1){Object.keys(N).forEach(function(S){Y(y,S.split("."))||(fe(y,S.split("."),N[S]),T&&(v[S]=!0),(E[S]||[]).forEach(function(H){Y(y,H.split("."))||fe(y,H.split("."),N[S])}))})}function Y(y,E){let N=y;o["dot-notation"]||(E=[E.join(".")]),E.slice(0,-1).forEach(function(S){N=N[S]||{}});let T=E[E.length-1];return typeof N!="object"?!1:T in N}function fe(y,E,N){let T=y;o["dot-notation"]||(E=[E.join(".")]),E.slice(0,-1).forEach(function(He){He=kh(He),typeof T=="object"&&T[He]===void 0&&(T[He]={}),typeof T[He]!="object"||Array.isArray(T[He])?(Array.isArray(T[He])?T[He].push({}):T[He]=[T[He],{}],T=T[He][T[He].length-1]):T=T[He]});let S=kh(E[E.length-1]),H=z(E.join("."),d.arrays),D=Array.isArray(N),Q=o["duplicate-arguments-array"];!Q&&z(S,d.nargs)&&(Q=!0,(!We(T[S])&&d.nargs[S]===1||Array.isArray(T[S])&&T[S].length===d.nargs[S])&&(T[S]=void 0)),N===zl()?T[S]=zl(T[S]):Array.isArray(T[S])?Q&&H&&D?T[S]=o["flatten-duplicate-arrays"]?T[S].concat(N):(Array.isArray(T[S][0])?T[S]:[T[S]]).concat([N]):!Q&&Boolean(H)===Boolean(D)?T[S]=N:T[S]=T[S].concat([N]):T[S]===void 0&&H?T[S]=D?N:[N]:Q&&!(T[S]===void 0||z(S,d.counts)||z(S,d.bools))?T[S]=[T[S],N]:T[S]=N}function ie(...y){y.forEach(function(E){Object.keys(E||{}).forEach(function(N){d.aliases[N]||(d.aliases[N]=[].concat(s[N]||[]),d.aliases[N].concat(N).forEach(function(T){if(/-/.test(T)&&o["camel-case-expansion"]){let S=mi(T);S!==N&&d.aliases[N].indexOf(S)===-1&&(d.aliases[N].push(S),m[S]=!0)}}),d.aliases[N].concat(N).forEach(function(T){if(T.length>1&&/[A-Z]/.test(T)&&o["camel-case-expansion"]){let S=Xs(T,"-");S!==N&&d.aliases[N].indexOf(S)===-1&&(d.aliases[N].push(S),m[S]=!0)}}),d.aliases[N].forEach(function(T){d.aliases[T]=[N].concat(d.aliases[N].filter(function(S){return T!==S}))}))})})}function z(y,E){let N=[].concat(d.aliases[y]||[],y),T=Object.keys(E),S=N.find(H=>T.includes(H));return S?E[S]:!1}function ft(y){let E=Object.keys(d);return[].concat(E.map(T=>d[T])).some(function(T){return Array.isArray(T)?T.includes(y):T[y]})}function Ft(y,...E){return[].concat(...E).some(function(T){let S=y.match(T);return S&&ft(S[1])})}function Z(y){if(y.match(x)||!y.match(/^-[^-]+/))return!1;let E=!0,N,T=y.slice(1).split("");for(let S=0;S<T.length;S++){if(N=y.slice(S+2),!ft(T[S])){E=!1;break}if(T[S+1]&&T[S+1]==="="||N==="-"||/[A-Za-z]/.test(T[S])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(N)||T[S+1]&&T[S+1].match(/\W/))break}return E}function oe(y){return o["unknown-options-as-args"]&&Me(y)}function Me(y){return y=y.replace(/^-{3,}/,"--"),y.match(x)||Z(y)?!1:!Ft(y,/^-+([^=]+?)=[\s\S]*$/,_,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function te(y){return!z(y,d.bools)&&!z(y,d.counts)&&`${y}`in c?c[y]:Fe(qe(y))}function Fe(y){return{[Dt.BOOLEAN]:!0,[Dt.STRING]:"",[Dt.NUMBER]:void 0,[Dt.ARRAY]:[]}[y]}function qe(y){let E=Dt.BOOLEAN;return z(y,d.strings)?E=Dt.STRING:z(y,d.numbers)?E=Dt.NUMBER:z(y,d.bools)?E=Dt.BOOLEAN:z(y,d.arrays)&&(E=Dt.ARRAY),E}function We(y){return y===void 0}function Pl(){Object.keys(d.counts).find(y=>z(y,d.arrays)?(C=Error(g("Invalid configuration: %s, opts.count excludes opts.array.",y)),!0):z(y,d.nargs)?(C=Error(g("Invalid configuration: %s, opts.count excludes opts.narg.",y)),!0):!1)}return{aliases:Object.assign({},d.aliases),argv:Object.assign(F,O),configuration:o,defaulted:Object.assign({},v),error:C,newAliases:Object.assign({},m)}}};function vE(e){let t=[],n=Object.create(null),i=!0;for(Object.keys(e).forEach(function(r){t.push([].concat(e[r],r))});i;){i=!1;for(let r=0;r<t.length;r++)for(let a=r+1;a<t.length;a++)if(t[r].filter(function(o){return t[a].indexOf(o)!==-1}).length){t[r]=t[r].concat(t[a]),t.splice(a,1),i=!0;break}}return t.forEach(function(r){r=r.filter(function(s,o,c){return c.indexOf(s)===o});let a=r.pop();a!==void 0&&typeof a=="string"&&(n[a]=r)}),n}function zl(e){return e!==void 0?e+1:1}function kh(e){return e==="__proto__"?"___proto___":e}function bE(e){return typeof e=="string"&&(e[0]==="'"||e[0]==='"')&&e[e.length-1]===e[0]?e.substring(1,e.length-1):e}var Th=require("fs");var Ch=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):12;if(process&&process.version&&Number(process.version.match(/v([^.]+)/)[1])<Ch)throw Error(`yargs parser supports a minimum Node.js version of ${Ch}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var xE=process?process.env:{},jh=new eo({cwd:process.cwd,env:()=>xE,format:Ah.format,normalize:to.normalize,resolve:to.resolve,require:e=>{if(typeof require<"u")return require(e);if(e.match(/\.json$/))return JSON.parse((0,Th.readFileSync)(e,"utf8"));throw Error("only .json config files are supported in ESM")}}),ja=function(t,n){return jh.parse(t.slice(),n).argv};ja.detailed=function(e,t){return jh.parse(e.slice(),t)};ja.camelCase=mi;ja.decamelize=Xs;ja.looksLikeNumber=Qs;var $l=ja;var Xt=require("path");function Mh(){return yE()?0:1}function yE(){return wE()&&!process.defaultApp}function wE(){return!!process.versions.electron}function Ul(e){return e.slice(Mh()+1)}function Rh(){return process.argv[Mh()]}var _e=class extends Error{constructor(t){super(t||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,_e)}};var pr=require("fs"),Nh=require("util"),Lh=require("path"),Ih={fs:{readFileSync:pr.readFileSync,writeFile:pr.writeFile},format:Nh.format,resolve:Lh.resolve,exists:e=>{try{return(0,pr.statSync)(e).isFile()}catch{return!1}}};var Jt,Wl=class{constructor(t){t=t||{},this.directory=t.directory||"./locales",this.updateFiles=typeof t.updateFiles=="boolean"?t.updateFiles:!0,this.locale=t.locale||"en",this.fallbackToLanguage=typeof t.fallbackToLanguage=="boolean"?t.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...t){if(typeof arguments[0]!="string")return this._taggedLiteral(arguments[0],...arguments);let n=t.shift(),i=function(){};return typeof t[t.length-1]=="function"&&(i=t.pop()),i=i||function(){},this.cache[this.locale]||this._readLocaleFile(),!this.cache[this.locale][n]&&this.updateFiles?(this.cache[this.locale][n]=n,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:i})):i(),Jt.format.apply(Jt.format,[this.cache[this.locale][n]||n].concat(t))}__n(){let t=Array.prototype.slice.call(arguments),n=t.shift(),i=t.shift(),r=t.shift(),a=function(){};typeof t[t.length-1]=="function"&&(a=t.pop()),this.cache[this.locale]||this._readLocaleFile();let s=r===1?n:i;this.cache[this.locale][n]&&(s=this.cache[this.locale][n][r===1?"one":"other"]),!this.cache[this.locale][n]&&this.updateFiles?(this.cache[this.locale][n]={one:n,other:i},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:a})):a();let o=[s];return~s.indexOf("%d")&&o.push(r),Jt.format.apply(Jt.format,o.concat(t))}setLocale(t){this.locale=t}getLocale(){return this.locale}updateLocale(t){this.cache[this.locale]||this._readLocaleFile();for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(this.cache[this.locale][n]=t[n])}_taggedLiteral(t,...n){let i="";return t.forEach(function(r,a){let s=n[a+1];i+=r,typeof s<"u"&&(i+="%s")}),this.__.apply(this,[i].concat([].slice.call(n,1)))}_enqueueWrite(t){this.writeQueue.push(t),this.writeQueue.length===1&&this._processWriteQueue()}_processWriteQueue(){let t=this,n=this.writeQueue[0],i=n.directory,r=n.locale,a=n.cb,s=this._resolveLocaleFile(i,r),o=JSON.stringify(this.cache[r],null,2);Jt.fs.writeFile(s,o,"utf-8",function(c){t.writeQueue.shift(),t.writeQueue.length>0&&t._processWriteQueue(),a(c)})}_readLocaleFile(){let t={},n=this._resolveLocaleFile(this.directory,this.locale);try{Jt.fs.readFileSync&&(t=JSON.parse(Jt.fs.readFileSync(n,"utf-8")))}catch(i){if(i instanceof SyntaxError&&(i.message="syntax error in "+n),i.code==="ENOENT")t={};else throw i}this.cache[this.locale]=t}_resolveLocaleFile(t,n){let i=Jt.resolve(t,"./",n+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(i)&&~n.lastIndexOf("_")){let r=Jt.resolve(t,"./",n.split("_")[0]+".json");this._fileExistsSync(r)&&(i=r)}return i}_fileExistsSync(t){return Jt.exists(t)}};function qh(e,t){Jt=t;let n=new Wl(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}}var _E=e=>qh(e,Ih),Ph=_E;var OE={},SE="require is not supported by ESM",Bh="loading a directory of commands is not supported yet for ESM",Ma;try{Ma=(0,zh.fileURLToPath)(OE.url)}catch{Ma=process.cwd()}var EE=Ma.substring(0,Ma.lastIndexOf("node_modules")),Kl={assert:{notStrictEqual:no.notStrictEqual,strictEqual:no.strictEqual},cliui:Dl,findUp:Eh,getEnv:e=>process.env[e],inspect:Fh.inspect,getCallerFile:()=>{throw new _e(Bh)},getProcessArgvBin:Rh,mainFilename:EE||process.cwd(),Parser:$l,path:{basename:Xt.basename,dirname:Xt.dirname,extname:Xt.extname,relative:Xt.relative,resolve:Xt.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:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:Dh.readFileSync,require:()=>{throw new _e(SE)},requireDirectory:()=>{throw new _e(Bh)},stringWidth:e=>[...e].length,y18n:Ph({directory:(0,Xt.resolve)(Ma,"../../../locales"),updateFiles:!1})};function ht(e,t,n,i){n.assert.notStrictEqual(e,t,i)}function Yl(e,t){t.assert.strictEqual(typeof e,"string")}function fr(e){return Object.keys(e)}function Oe(e){return!!e&&!!e.then&&typeof e.then=="function"}function Pn(e){let n=e.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),i=/\.*[\][<>]/g,r=n.shift();if(!r)throw new Error(`No command found in: ${e}`);let a={cmd:r.replace(i,""),demanded:[],optional:[]};return n.forEach((s,o)=>{let c=!1;s=s.replace(/\s/g,""),/\.+[\]>]/.test(s)&&o===n.length-1&&(c=!0),/^\[/.test(s)?a.optional.push({cmd:s.replace(i,"").split("|"),variadic:c}):a.demanded.push({cmd:s.replace(i,"").split("|"),variadic:c})}),a}var kE=["first","second","third","fourth","fifth","sixth"];function U(e,t,n){function i(){return typeof e=="object"?[{demanded:[],optional:[]},e,t]:[Pn(`cmd ${e}`),t,n]}try{let r=0,[a,s,o]=i(),c=[].slice.call(s);for(;c.length&&c[c.length-1]===void 0;)c.pop();let u=o||c.length;if(u<a.demanded.length)throw new _e(`Not enough arguments provided. Expected ${a.demanded.length} but received ${c.length}.`);let l=a.demanded.length+a.optional.length;if(u>l)throw new _e(`Too many arguments provided. Expected max ${l} but received ${u}.`);a.demanded.forEach(p=>{let f=c.shift(),m=$h(f);p.cmd.filter(g=>g===m||g==="*").length===0&&Uh(m,p.cmd,r),r+=1}),a.optional.forEach(p=>{if(c.length===0)return;let f=c.shift(),m=$h(f);p.cmd.filter(g=>g===m||g==="*").length===0&&Uh(m,p.cmd,r),r+=1})}catch(r){console.warn(r.stack)}}function $h(e){return Array.isArray(e)?"array":e===null?"null":typeof e}function Uh(e,t,n){throw new _e(`Invalid ${kE[n]||"manyith"} argument. Expected ${t.join(" or ")} but received ${e}.`)}var io=class{constructor(t){this.globalMiddleware=[],this.frozens=[],this.yargs=t}addMiddleware(t,n,i=!0,r=!1){if(U("<array|function> [boolean] [boolean] [boolean]",[t,n,i],arguments.length),Array.isArray(t)){for(let a=0;a<t.length;a++){if(typeof t[a]!="function")throw Error("middleware must be a function");let s=t[a];s.applyBeforeValidation=n,s.global=i}Array.prototype.push.apply(this.globalMiddleware,t)}else if(typeof t=="function"){let a=t;a.applyBeforeValidation=n,a.global=i,a.mutates=r,this.globalMiddleware.push(t)}return this.yargs}addCoerceMiddleware(t,n){let i=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter(r=>{let a=[...i[n]||[],n];return r.option?!a.includes(r.option):!0}),t.option=n,this.addMiddleware(t,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){let t=this.frozens.pop();t!==void 0&&(this.globalMiddleware=t)}reset(){this.globalMiddleware=this.globalMiddleware.filter(t=>t.global)}};function Wh(e){return e?e.map(t=>(t.applyBeforeValidation=!1,t)):[]}function gi(e,t,n,i){return n.reduce((r,a)=>{if(a.applyBeforeValidation!==i)return r;if(a.mutates){if(a.applied)return r;a.applied=!0}if(Oe(r))return r.then(s=>Promise.all([s,a(s,t)])).then(([s,o])=>Object.assign(s,o));{let s=a(r,t);return Oe(s)?s.then(o=>Object.assign(r,o)):Object.assign(r,s)}},e)}function vi(e,t,n=i=>{throw i}){try{let i=CE(e)?e():e;return Oe(i)?i.then(r=>t(r)):t(i)}catch(i){return n(i)}}function CE(e){return typeof e=="function"}function Hl(e){if(typeof require>"u")return null;for(let t=0,n=Object.keys(require.cache),i;t<n.length;t++)if(i=require.cache[n[t]],i.exports===e)return i;return null}var dr=/(^\*)|(^\$0)/,Gl=class{constructor(t,n,i,r){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=r,this.usage=t,this.globalMiddleware=i,this.validation=n}addDirectory(t,n,i,r){r=r||{},typeof r.recurse!="boolean"&&(r.recurse=!1),Array.isArray(r.extensions)||(r.extensions=["js"]);let a=typeof r.visit=="function"?r.visit:s=>s;r.visit=(s,o,c)=>{let u=a(s,o,c);if(u){if(this.requireCache.has(o))return u;this.requireCache.add(o),this.addHandler(u)}return u},this.shim.requireDirectory({require:n,filename:i},t,r)}addHandler(t,n,i,r,a,s){let o=[],c=Wh(a);if(r=r||(()=>{}),Array.isArray(t))if(AE(t))[t,...o]=t;else for(let u of t)this.addHandler(u);else if(jE(t)){let u=Array.isArray(t.command)||typeof t.command=="string"?t.command:this.moduleName(t);t.aliases&&(u=[].concat(u).concat(t.aliases)),this.addHandler(u,this.extractDesc(t),t.builder,t.handler,t.middlewares,t.deprecated);return}else if(Kh(i)){this.addHandler([t].concat(o),n,i.builder,i.handler,i.middlewares,i.deprecated);return}if(typeof t=="string"){let u=Pn(t);o=o.map(f=>Pn(f).cmd);let l=!1,p=[u.cmd].concat(o).filter(f=>dr.test(f)?(l=!0,!1):!0);p.length===0&&l&&p.push("$0"),l&&(u.cmd=p[0],o=p.slice(1),t=t.replace(dr,u.cmd)),o.forEach(f=>{this.aliasMap[f]=u.cmd}),n!==!1&&this.usage.command(t,n,l,o,s),this.handlers[u.cmd]={original:t,description:n,handler:r,builder:i||{},middlewares:c,deprecated:s,demanded:u.demanded,optional:u.optional},l&&(this.defaultCommand=this.handlers[u.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(t,n,i,r,a,s){let o=this.handlers[t]||this.handlers[this.aliasMap[t]]||this.defaultCommand,c=n.getInternalMethods().getContext(),u=c.commands.slice(),l=!t;t&&(c.commands.push(t),c.fullCommands.push(o.original));let p=this.applyBuilderUpdateUsageAndParse(l,o,n,i.aliases,u,r,a,s);return Oe(p)?p.then(f=>this.applyMiddlewareAndGetResult(l,o,f.innerArgv,c,a,f.aliases,n)):this.applyMiddlewareAndGetResult(l,o,p.innerArgv,c,a,p.aliases,n)}applyBuilderUpdateUsageAndParse(t,n,i,r,a,s,o,c){let u=n.builder,l=i;if(ro(u)){let p=u(i.getInternalMethods().reset(r),c);if(Oe(p))return p.then(f=>(l=Hh(f)?f:i,this.parseAndUpdateUsage(t,n,l,a,s,o)))}else TE(u)&&(l=i.getInternalMethods().reset(r),Object.keys(n.builder).forEach(p=>{l.option(p,u[p])}));return this.parseAndUpdateUsage(t,n,l,a,s,o)}parseAndUpdateUsage(t,n,i,r,a,s){t&&i.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(i)&&i.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(r,n),n.description);let o=i.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,a,s);return Oe(o)?o.then(c=>({aliases:i.parsed.aliases,innerArgv:c})):{aliases:i.parsed.aliases,innerArgv:o}}shouldUpdateUsage(t){return!t.getInternalMethods().getUsageInstance().getUsageDisabled()&&t.getInternalMethods().getUsageInstance().getUsage().length===0}usageFromParentCommandsCommandHandler(t,n){let i=dr.test(n.original)?n.original.replace(dr,"").trim():n.original,r=t.filter(a=>!dr.test(a));return r.push(i),`$0 ${r.join(" ")}`}handleValidationAndGetResult(t,n,i,r,a,s,o,c){if(!s.getInternalMethods().getHasOutput()){let u=s.getInternalMethods().runValidation(a,c,s.parsed.error,t);i=vi(i,l=>(u(l),l))}if(n.handler&&!s.getInternalMethods().getHasOutput()){s.getInternalMethods().setHasOutput();let u=!!s.getOptions().configuration["populate--"];s.getInternalMethods().postProcess(i,u,!1,!1),i=gi(i,s,o,!1),i=vi(i,l=>{let p=n.handler(l);return Oe(p)?p.then(()=>l):l}),t||s.getInternalMethods().getUsageInstance().cacheHelpMessage(),Oe(i)&&!s.getInternalMethods().hasParseCallback()&&i.catch(l=>{try{s.getInternalMethods().getUsageInstance().fail(null,l)}catch{}})}return t||(r.commands.pop(),r.fullCommands.pop()),i}applyMiddlewareAndGetResult(t,n,i,r,a,s,o){let c={};if(a)return i;o.getInternalMethods().getHasOutput()||(c=this.populatePositionals(n,i,r,o));let u=this.globalMiddleware.getMiddleware().slice(0).concat(n.middlewares),l=gi(i,o,u,!0);return Oe(l)?l.then(p=>this.handleValidationAndGetResult(t,n,p,r,s,o,u,c)):this.handleValidationAndGetResult(t,n,l,r,s,o,u,c)}populatePositionals(t,n,i,r){n._=n._.slice(i.commands.length);let a=t.demanded.slice(0),s=t.optional.slice(0),o={};for(this.validation.positionalCount(a.length,n._.length);a.length;){let c=a.shift();this.populatePositional(c,n,o)}for(;s.length;){let c=s.shift();this.populatePositional(c,n,o)}return n._=i.commands.concat(n._.map(c=>""+c)),this.postProcessPositionals(n,o,this.cmdToParseOptions(t.original),r),o}populatePositional(t,n,i){let r=t.cmd[0];t.variadic?i[r]=n._.splice(0).map(String):n._.length&&(i[r]=[String(n._.shift())])}cmdToParseOptions(t){let n={array:[],default:{},alias:{},demand:{}},i=Pn(t);return i.demanded.forEach(r=>{let[a,...s]=r.cmd;r.variadic&&(n.array.push(a),n.default[a]=[]),n.alias[a]=s,n.demand[a]=!0}),i.optional.forEach(r=>{let[a,...s]=r.cmd;r.variadic&&(n.array.push(a),n.default[a]=[]),n.alias[a]=s}),n}postProcessPositionals(t,n,i,r){let a=Object.assign({},r.getOptions());a.default=Object.assign(i.default,a.default);for(let u of Object.keys(i.alias))a.alias[u]=(a.alias[u]||[]).concat(i.alias[u]);a.array=a.array.concat(i.array),a.config={};let s=[];if(Object.keys(n).forEach(u=>{n[u].map(l=>{a.configuration["unknown-options-as-args"]&&(a.key[u]=!0),s.push(`--${u}`),s.push(l)})}),!s.length)return;let o=Object.assign({},a.configuration,{"populate--":!1}),c=this.shim.Parser.detailed(s,Object.assign({},a,{configuration:o}));if(c.error)r.getInternalMethods().getUsageInstance().fail(c.error.message,c.error);else{let u=Object.keys(n);Object.keys(n).forEach(l=>{u.push(...c.aliases[l])}),Object.keys(c.argv).forEach(l=>{u.includes(l)&&(n[l]||(n[l]=c.argv[l]),!this.isInConfigs(r,l)&&!this.isDefaulted(r,l)&&Object.prototype.hasOwnProperty.call(t,l)&&Object.prototype.hasOwnProperty.call(c.argv,l)&&(Array.isArray(t[l])||Array.isArray(c.argv[l]))?t[l]=[].concat(t[l],c.argv[l]):t[l]=c.argv[l])})}}isDefaulted(t,n){let{default:i}=t.getOptions();return Object.prototype.hasOwnProperty.call(i,n)||Object.prototype.hasOwnProperty.call(i,this.shim.Parser.camelCase(n))}isInConfigs(t,n){let{configObjects:i}=t.getOptions();return i.some(r=>Object.prototype.hasOwnProperty.call(r,n))||i.some(r=>Object.prototype.hasOwnProperty.call(r,this.shim.Parser.camelCase(n)))}runDefaultBuilderOn(t){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(t)){let i=dr.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");t.getInternalMethods().getUsageInstance().usage(i,this.defaultCommand.description)}let n=this.defaultCommand.builder;if(ro(n))return n(t,!0);Kh(n)||Object.keys(n).forEach(i=>{t.option(i,n[i])})}moduleName(t){let n=Hl(t);if(!n)throw new Error(`No command name given for module: ${this.shim.inspect(t)}`);return this.commandFromFilename(n.filename)}commandFromFilename(t){return this.shim.path.basename(t,this.shim.path.extname(t))}extractDesc({describe:t,description:n,desc:i}){for(let r of[t,n,i]){if(typeof r=="string"||r===!1)return r;ht(r,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){let t=this.frozens.pop();ht(t,void 0,this.shim),{handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand}=t}reset(){return this.handlers={},this.aliasMap={},this.defaultCommand=void 0,this.requireCache=new Set,this}};function Yh(e,t,n,i){return new Gl(e,t,n,i)}function Kh(e){return typeof e=="object"&&!!e.builder&&typeof e.handler=="function"}function AE(e){return e.every(t=>typeof t=="string")}function ro(e){return typeof e=="function"}function TE(e){return typeof e=="object"}function jE(e){return typeof e=="object"&&!Array.isArray(e)}function Bn(e={},t=()=>!0){let n={};return fr(e).forEach(i=>{t(i,e[i])&&(n[i]=e[i])}),n}function Fn(e){typeof process>"u"||[process.stdout,process.stderr].forEach(t=>{let n=t;n._handle&&n.isTTY&&typeof n._handle.setBlocking=="function"&&n._handle.setBlocking(e)})}function ME(e){return typeof e=="boolean"}function Vh(e,t){let n=t.y18n.__,i={},r=[];i.failFn=function(M){r.push(M)};let a=null,s=null,o=!0;i.showHelpOnFail=function(M=!0,I){let[K,ce]=typeof M=="string"?[!0,M]:[M,I];return e.getInternalMethods().isGlobalContext()&&(s=ce),a=ce,o=K,i};let c=!1;i.fail=function(M,I){let K=e.getInternalMethods().getLoggerInstance();if(r.length)for(let ce=r.length-1;ce>=0;--ce){let ve=r[ce];if(ME(ve)){if(I)throw I;if(M)throw Error(M)}else ve(M,I,i)}else{if(e.getExitProcess()&&Fn(!0),!c){c=!0,o&&(e.showHelp("error"),K.error()),(M||I)&&K.error(M||I);let ce=a||s;ce&&((M||I)&&K.error(""),K.error(ce))}if(I=I||new _e(M),e.getExitProcess())return e.exit(1);if(e.getInternalMethods().hasParseCallback())return e.exit(1,I);throw I}};let u=[],l=!1;i.usage=(R,M)=>R===null?(l=!0,u=[],i):(l=!1,u.push([R,M||""]),i),i.getUsage=()=>u,i.getUsageDisabled=()=>l,i.getPositionalGroupName=()=>n("Positionals:");let p=[];i.example=(R,M)=>{p.push([R,M||""])};let f=[];i.command=function(M,I,K,ce,ve=!1){K&&(f=f.map(X=>(X[2]=!1,X))),f.push([M,I||"",K,ce,ve])},i.getCommands=()=>f;let m={};i.describe=function(M,I){Array.isArray(M)?M.forEach(K=>{i.describe(K,I)}):typeof M=="object"?Object.keys(M).forEach(K=>{i.describe(K,M[K])}):m[M]=I},i.getDescriptions=()=>m;let v=[];i.epilog=R=>{v.push(R)};let g=!1,d;i.wrap=R=>{g=!0,d=R};function x(){return g||(d=$(),g=!0),d}let _="__yargsString__:";i.deferY18nLookup=R=>_+R,i.help=function(){if(O)return O;k();let M=e.customScriptName?e.$0:t.path.basename(e.$0),I=e.getDemandedOptions(),K=e.getDemandedCommands(),ce=e.getDeprecatedOptions(),ve=e.getGroups(),X=e.getOptions(),Se=[];Se=Se.concat(Object.keys(m)),Se=Se.concat(Object.keys(I)),Se=Se.concat(Object.keys(K)),Se=Se.concat(Object.keys(X.default)),Se=Se.filter(P),Se=Object.keys(Se.reduce((Z,oe)=>(oe!=="_"&&(Z[oe]=!0),Z),{}));let le=x(),Y=t.cliui({width:le,wrap:!!le});if(!l){if(u.length)u.forEach(Z=>{Y.div({text:`${Z[0].replace(/\$0/g,M)}`}),Z[1]&&Y.div({text:`${Z[1]}`,padding:[1,0,0,0]})}),Y.div();else if(f.length){let Z=null;K._?Z=`${M} <${n("command")}>
|
|
193
|
+
`),a.border&&(r.unshift("."+"-".repeat(this.negatePadding(a)+2)+"."),r.push("'"+"-".repeat(this.negatePadding(a)+2)+"'")),a.padding&&(r.unshift(...new Array(a.padding[pE]||0).fill("")),r.push(...new Array(a.padding[fE]||0).fill(""))),r.forEach((o,c)=>{n[c]||n.push([]);let u=n[c];for(let l=0;l<s;l++)u[l]===void 0&&u.push("");u.push(o)})}),n}negatePadding(t){let n=t.width||0;return t.padding&&(n-=(t.padding[Zs]||0)+(t.padding[Vs]||0)),t.border&&(n-=4),n}columnWidths(t){if(!this.wrap)return t.map(s=>s.width||kt.stringWidth(s.text));let n=t.length,i=this.width,r=t.map(s=>{if(s.width)return n--,i-=s.width,s.width}),a=n?Math.floor(i/n):0;return r.map((s,o)=>s===void 0?Math.max(a,dE(t[o])):s)}};function wh(e,t,n){return e.border?/[.']-+[.']/.test(t)?"":t.trim().length!==0?n:" ":""}function dE(e){let t=e.padding||[],n=1+(t[Zs]||0)+(t[Vs]||0);return e.border?n+4:n}function hE(){return typeof process=="object"&&process.stdout&&process.stdout.columns?process.stdout.columns:80}function mE(e,t){e=e.trim();let n=kt.stringWidth(e);return n<t?" ".repeat(t-n)+e:e}function gE(e,t){e=e.trim();let n=kt.stringWidth(e);return n>=t?e:" ".repeat(t-n>>1)+e}var kt;function _h(e,t){return kt=t,new Fl({width:e?.width||hE(),wrap:e?.wrap})}var Sh=new RegExp("\x1B(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)","g");function Dl(e){return e.replace(Sh,"")}function Eh(e,t){let[n,i]=e.match(Sh)||["",""];e=Dl(e);let r="";for(let a=0;a<e.length;a++)a!==0&&a%t===0&&(r+=`
|
|
194
|
+
`),r+=e.charAt(a);return n&&i&&(r=`${n}${r}${i}`),r}function zl(e){return _h(e,{stringWidth:t=>[...t].length,stripAnsi:Dl,wrap:Eh})}var ur=require("path"),Js=require("fs");function Oh(e,t){let n=(0,ur.resolve)(".",e),i;for((0,Js.statSync)(n).isDirectory()||(n=(0,ur.dirname)(n));;){if(i=t(n,(0,Js.readdirSync)(n)),i)return(0,ur.resolve)(n,i);if(n=(0,ur.dirname)(i=n),i===n)break}}var Dh=require("util"),zh=require("fs"),$h=require("url");var Th=require("util"),to=require("path");function mi(e){if(e!==e.toLowerCase()&&e!==e.toUpperCase()||(e=e.toLowerCase()),e.indexOf("-")===-1&&e.indexOf("_")===-1)return e;{let n="",i=!1,r=e.match(/^-+/);for(let a=r?r[0].length:0;a<e.length;a++){let s=e.charAt(a);i&&(i=!1,s=s.toUpperCase()),a!==0&&(s==="-"||s==="_")?i=!0:s!=="-"&&s!=="_"&&(n+=s)}return n}}function Xs(e,t){let n=e.toLowerCase();t=t||"-";let i="";for(let r=0;r<e.length;r++){let a=n.charAt(r),s=e.charAt(r);a!==s&&r>0?i+=`${t}${n.charAt(r)}`:i+=s}return i}function Qs(e){return e==null?!1:typeof e=="number"||/^0x[0-9a-f]+$/i.test(e)?!0:/^0[^.]/.test(e)?!1:/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e)}function kh(e){if(Array.isArray(e))return e.map(s=>typeof s!="string"?s+"":s);e=e.trim();let t=0,n=null,i=null,r=null,a=[];for(let s=0;s<e.length;s++){if(n=i,i=e.charAt(s),i===" "&&!r){n!==" "&&t++;continue}i===r?r=null:(i==="'"||i==='"')&&!r&&(r=i),a[t]||(a[t]=""),a[t]+=i}return a}var Dt;(function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array"})(Dt||(Dt={}));var wn,eo=class{constructor(t){wn=t}parse(t,n){let i=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},n),r=kh(t),a=typeof t=="string",s=vE(Object.assign(Object.create(null),i.alias)),o=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},i.configuration),c=Object.assign(Object.create(null),i.default),u=i.configObjects||[],l=i.envPrefix,p=o["populate--"],f=p?"--":"_",m=Object.create(null),v=Object.create(null),g=i.__||wn.format,d={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},x=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,_=new RegExp("^--"+o["negation-prefix"]+"(.+)");[].concat(i.array||[]).filter(Boolean).forEach(function(y){let E=typeof y=="object"?y.key:y,N=Object.keys(y).map(function(T){return{boolean:"bools",string:"strings",number:"numbers"}[T]}).filter(Boolean).pop();N&&(d[N][E]=!0),d.arrays[E]=!0,d.keys.push(E)}),[].concat(i.boolean||[]).filter(Boolean).forEach(function(y){d.bools[y]=!0,d.keys.push(y)}),[].concat(i.string||[]).filter(Boolean).forEach(function(y){d.strings[y]=!0,d.keys.push(y)}),[].concat(i.number||[]).filter(Boolean).forEach(function(y){d.numbers[y]=!0,d.keys.push(y)}),[].concat(i.count||[]).filter(Boolean).forEach(function(y){d.counts[y]=!0,d.keys.push(y)}),[].concat(i.normalize||[]).filter(Boolean).forEach(function(y){d.normalize[y]=!0,d.keys.push(y)}),typeof i.narg=="object"&&Object.entries(i.narg).forEach(([y,E])=>{typeof E=="number"&&(d.nargs[y]=E,d.keys.push(y))}),typeof i.coerce=="object"&&Object.entries(i.coerce).forEach(([y,E])=>{typeof E=="function"&&(d.coercions[y]=E,d.keys.push(y))}),typeof i.config<"u"&&(Array.isArray(i.config)||typeof i.config=="string"?[].concat(i.config).filter(Boolean).forEach(function(y){d.configs[y]=!0}):typeof i.config=="object"&&Object.entries(i.config).forEach(([y,E])=>{(typeof E=="boolean"||typeof E=="function")&&(d.configs[y]=E)})),ie(i.key,s,i.default,d.arrays),Object.keys(c).forEach(function(y){(d.aliases[y]||[]).forEach(function(E){c[E]=c[y]})});let C=null;Bl();let k=[],O=Object.assign(Object.create(null),{_:[]}),F={};for(let y=0;y<r.length;y++){let E=r[y],N=E.replace(/^-{3,}/,"---"),T,S,H,D,Q,He;if(E!=="--"&&oe(E))P(E);else if(N.match(/---+(=|$)/)){P(E);continue}else if(E.match(/^--.+=/)||!o["short-option-groups"]&&E.match(/^-.+=/))D=E.match(/^--?([^=]+)=([\s\S]*)$/),D!==null&&Array.isArray(D)&&D.length>=3&&(z(D[1],d.arrays)?y=$(y,D[1],r,D[2]):z(D[1],d.nargs)!==!1?y=L(y,D[1],r,D[2]):B(D[1],D[2],!0));else if(E.match(_)&&o["boolean-negation"])D=E.match(_),D!==null&&Array.isArray(D)&&D.length>=2&&(S=D[1],B(S,z(S,d.arrays)?[!1]:!1));else if(E.match(/^--.+/)||!o["short-option-groups"]&&E.match(/^-[^-]+/))D=E.match(/^--?(.+)/),D!==null&&Array.isArray(D)&&D.length>=2&&(S=D[1],z(S,d.arrays)?y=$(y,S,r):z(S,d.nargs)!==!1?y=L(y,S,r):(Q=r[y+1],Q!==void 0&&(!Q.match(/^-/)||Q.match(x))&&!z(S,d.bools)&&!z(S,d.counts)||/^(true|false)$/.test(Q)?(B(S,Q),y++):B(S,te(S))));else if(E.match(/^-.\..+=/))D=E.match(/^-([^=]+)=([\s\S]*)$/),D!==null&&Array.isArray(D)&&D.length>=3&&B(D[1],D[2]);else if(E.match(/^-.\..+/)&&!E.match(x))Q=r[y+1],D=E.match(/^-(.\..+)/),D!==null&&Array.isArray(D)&&D.length>=2&&(S=D[1],Q!==void 0&&!Q.match(/^-/)&&!z(S,d.bools)&&!z(S,d.counts)?(B(S,Q),y++):B(S,te(S)));else if(E.match(/^-[^-]+/)&&!E.match(x)){H=E.slice(1,-1).split(""),T=!1;for(let dt=0;dt<H.length;dt++){if(Q=E.slice(dt+2),H[dt+1]&&H[dt+1]==="="){He=E.slice(dt+3),S=H[dt],z(S,d.arrays)?y=$(y,S,r,He):z(S,d.nargs)!==!1?y=L(y,S,r,He):B(S,He),T=!0;break}if(Q==="-"){B(H[dt],Q);continue}if(/[A-Za-z]/.test(H[dt])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(Q)&&z(Q,d.bools)===!1){B(H[dt],Q),T=!0;break}if(H[dt+1]&&H[dt+1].match(/\W/)){B(H[dt],Q),T=!0;break}else B(H[dt],te(H[dt]))}S=E.slice(-1)[0],!T&&S!=="-"&&(z(S,d.arrays)?y=$(y,S,r):z(S,d.nargs)!==!1?y=L(y,S,r):(Q=r[y+1],Q!==void 0&&(!/^(-|--)[^-]/.test(Q)||Q.match(x))&&!z(S,d.bools)&&!z(S,d.counts)||/^(true|false)$/.test(Q)?(B(S,Q),y++):B(S,te(S))))}else if(E.match(/^-[0-9]$/)&&E.match(x)&&z(E.slice(1),d.bools))S=E.slice(1),B(S,te(S));else if(E==="--"){k=r.slice(y+1);break}else if(o["halt-at-non-option"]){k=r.slice(y);break}else P(E)}ve(O,!0),ve(O,!1),I(O),ce(),le(O,d.aliases,c,!0),X(O),o["set-placeholder-key"]&&Se(O),Object.keys(d.counts).forEach(function(y){Y(O,y.split("."))||B(y,0)}),p&&k.length&&(O[f]=[]),k.forEach(function(y){O[f].push(y)}),o["camel-case-expansion"]&&o["strip-dashed"]&&Object.keys(O).filter(y=>y!=="--"&&y.includes("-")).forEach(y=>{delete O[y]}),o["strip-aliased"]&&[].concat(...Object.keys(s).map(y=>s[y])).forEach(y=>{o["camel-case-expansion"]&&y.includes("-")&&delete O[y.split(".").map(E=>mi(E)).join(".")],delete O[y]});function P(y){let E=M("_",y);(typeof E=="string"||typeof E=="number")&&O._.push(E)}function L(y,E,N,T){let S,H=z(E,d.nargs);if(H=typeof H!="number"||isNaN(H)?1:H,H===0)return We(T)||(C=Error(g("Argument unexpected for: %s",E))),B(E,te(E)),y;let D=We(T)?0:1;if(o["nargs-eats-options"])N.length-(y+1)+D<H&&(C=Error(g("Not enough arguments following: %s",E))),D=H;else{for(S=y+1;S<N.length&&(!N[S].match(/^-[^0-9]/)||N[S].match(x)||oe(N[S]));S++)D++;D<H&&(C=Error(g("Not enough arguments following: %s",E)))}let Q=Math.min(D,H);for(!We(T)&&Q>0&&(B(E,T),Q--),S=y+1;S<Q+y+1;S++)B(E,N[S]);return y+Q}function $(y,E,N,T){let S=[],H=T||N[y+1],D=z(E,d.nargs);if(z(E,d.bools)&&!/^(true|false)$/.test(H))S.push(!0);else if(We(H)||We(T)&&/^-/.test(H)&&!x.test(H)&&!oe(H)){if(c[E]!==void 0){let Q=c[E];S=Array.isArray(Q)?Q:[Q]}}else{We(T)||S.push(R(E,T,!0));for(let Q=y+1;Q<N.length&&!(!o["greedy-arrays"]&&S.length>0||D&&typeof D=="number"&&S.length>=D||(H=N[Q],/^-/.test(H)&&!x.test(H)&&!oe(H)));Q++)y=Q,S.push(R(E,H,a))}return typeof D=="number"&&(D&&S.length<D||isNaN(D)&&S.length===0)&&(C=Error(g("Not enough arguments following: %s",E))),B(E,S),y}function B(y,E,N=a){if(/-/.test(y)&&o["camel-case-expansion"]){let H=y.split(".").map(function(D){return mi(D)}).join(".");q(y,H)}let T=R(y,E,N),S=y.split(".");fe(O,S,T),d.aliases[y]&&d.aliases[y].forEach(function(H){let D=H.split(".");fe(O,D,T)}),S.length>1&&o["dot-notation"]&&(d.aliases[S[0]]||[]).forEach(function(H){let D=H.split("."),Q=[].concat(S);Q.shift(),D=D.concat(Q),(d.aliases[y]||[]).includes(D.join("."))||fe(O,D,T)}),z(y,d.normalize)&&!z(y,d.arrays)&&[y].concat(d.aliases[y]||[]).forEach(function(D){Object.defineProperty(F,D,{enumerable:!0,get(){return E},set(Q){E=typeof Q=="string"?wn.normalize(Q):Q}})})}function q(y,E){d.aliases[y]&&d.aliases[y].length||(d.aliases[y]=[E],m[E]=!0),d.aliases[E]&&d.aliases[E].length||q(E,y)}function R(y,E,N){N&&(E=bE(E)),(z(y,d.bools)||z(y,d.counts))&&typeof E=="string"&&(E=E==="true");let T=Array.isArray(E)?E.map(function(S){return M(y,S)}):M(y,E);return z(y,d.counts)&&(We(T)||typeof T=="boolean")&&(T=$l()),z(y,d.normalize)&&z(y,d.arrays)&&(Array.isArray(E)?T=E.map(S=>wn.normalize(S)):T=wn.normalize(E)),T}function M(y,E){return!o["parse-positional-numbers"]&&y==="_"||!z(y,d.strings)&&!z(y,d.bools)&&!Array.isArray(E)&&(Qs(E)&&o["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${E}`)))||!We(E)&&z(y,d.numbers))&&(E=Number(E)),E}function I(y){let E=Object.create(null);le(E,d.aliases,c),Object.keys(d.configs).forEach(function(N){let T=y[N]||E[N];if(T)try{let S=null,H=wn.resolve(wn.cwd(),T),D=d.configs[N];if(typeof D=="function"){try{S=D(H)}catch(Q){S=Q}if(S instanceof Error){C=S;return}}else S=wn.require(H);K(S)}catch(S){S.name==="PermissionDenied"?C=S:y[N]&&(C=Error(g("Invalid JSON config file: %s",T)))}})}function K(y,E){Object.keys(y).forEach(function(N){let T=y[N],S=E?E+"."+N:N;typeof T=="object"&&T!==null&&!Array.isArray(T)&&o["dot-notation"]?K(T,S):(!Y(O,S.split("."))||z(S,d.arrays)&&o["combine-arrays"])&&B(S,T)})}function ce(){typeof u<"u"&&u.forEach(function(y){K(y)})}function ve(y,E){if(typeof l>"u")return;let N=typeof l=="string"?l:"",T=wn.env();Object.keys(T).forEach(function(S){if(N===""||S.lastIndexOf(N,0)===0){let H=S.split("__").map(function(D,Q){return Q===0&&(D=D.substring(N.length)),mi(D)});(E&&d.configs[H.join(".")]||!E)&&!Y(y,H)&&B(H.join("."),T[S])}})}function X(y){let E,N=new Set;Object.keys(y).forEach(function(T){if(!N.has(T)&&(E=z(T,d.coercions),typeof E=="function"))try{let S=M(T,E(y[T]));[].concat(d.aliases[T]||[],T).forEach(H=>{N.add(H),y[H]=S})}catch(S){C=S}})}function Se(y){return d.keys.forEach(E=>{~E.indexOf(".")||typeof y[E]>"u"&&(y[E]=void 0)}),y}function le(y,E,N,T=!1){Object.keys(N).forEach(function(S){Y(y,S.split("."))||(fe(y,S.split("."),N[S]),T&&(v[S]=!0),(E[S]||[]).forEach(function(H){Y(y,H.split("."))||fe(y,H.split("."),N[S])}))})}function Y(y,E){let N=y;o["dot-notation"]||(E=[E.join(".")]),E.slice(0,-1).forEach(function(S){N=N[S]||{}});let T=E[E.length-1];return typeof N!="object"?!1:T in N}function fe(y,E,N){let T=y;o["dot-notation"]||(E=[E.join(".")]),E.slice(0,-1).forEach(function(He){He=Ch(He),typeof T=="object"&&T[He]===void 0&&(T[He]={}),typeof T[He]!="object"||Array.isArray(T[He])?(Array.isArray(T[He])?T[He].push({}):T[He]=[T[He],{}],T=T[He][T[He].length-1]):T=T[He]});let S=Ch(E[E.length-1]),H=z(E.join("."),d.arrays),D=Array.isArray(N),Q=o["duplicate-arguments-array"];!Q&&z(S,d.nargs)&&(Q=!0,(!We(T[S])&&d.nargs[S]===1||Array.isArray(T[S])&&T[S].length===d.nargs[S])&&(T[S]=void 0)),N===$l()?T[S]=$l(T[S]):Array.isArray(T[S])?Q&&H&&D?T[S]=o["flatten-duplicate-arrays"]?T[S].concat(N):(Array.isArray(T[S][0])?T[S]:[T[S]]).concat([N]):!Q&&Boolean(H)===Boolean(D)?T[S]=N:T[S]=T[S].concat([N]):T[S]===void 0&&H?T[S]=D?N:[N]:Q&&!(T[S]===void 0||z(S,d.counts)||z(S,d.bools))?T[S]=[T[S],N]:T[S]=N}function ie(...y){y.forEach(function(E){Object.keys(E||{}).forEach(function(N){d.aliases[N]||(d.aliases[N]=[].concat(s[N]||[]),d.aliases[N].concat(N).forEach(function(T){if(/-/.test(T)&&o["camel-case-expansion"]){let S=mi(T);S!==N&&d.aliases[N].indexOf(S)===-1&&(d.aliases[N].push(S),m[S]=!0)}}),d.aliases[N].concat(N).forEach(function(T){if(T.length>1&&/[A-Z]/.test(T)&&o["camel-case-expansion"]){let S=Xs(T,"-");S!==N&&d.aliases[N].indexOf(S)===-1&&(d.aliases[N].push(S),m[S]=!0)}}),d.aliases[N].forEach(function(T){d.aliases[T]=[N].concat(d.aliases[N].filter(function(S){return T!==S}))}))})})}function z(y,E){let N=[].concat(d.aliases[y]||[],y),T=Object.keys(E),S=N.find(H=>T.includes(H));return S?E[S]:!1}function ft(y){let E=Object.keys(d);return[].concat(E.map(T=>d[T])).some(function(T){return Array.isArray(T)?T.includes(y):T[y]})}function Ft(y,...E){return[].concat(...E).some(function(T){let S=y.match(T);return S&&ft(S[1])})}function Z(y){if(y.match(x)||!y.match(/^-[^-]+/))return!1;let E=!0,N,T=y.slice(1).split("");for(let S=0;S<T.length;S++){if(N=y.slice(S+2),!ft(T[S])){E=!1;break}if(T[S+1]&&T[S+1]==="="||N==="-"||/[A-Za-z]/.test(T[S])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(N)||T[S+1]&&T[S+1].match(/\W/))break}return E}function oe(y){return o["unknown-options-as-args"]&&Me(y)}function Me(y){return y=y.replace(/^-{3,}/,"--"),y.match(x)||Z(y)?!1:!Ft(y,/^-+([^=]+?)=[\s\S]*$/,_,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function te(y){return!z(y,d.bools)&&!z(y,d.counts)&&`${y}`in c?c[y]:Fe(qe(y))}function Fe(y){return{[Dt.BOOLEAN]:!0,[Dt.STRING]:"",[Dt.NUMBER]:void 0,[Dt.ARRAY]:[]}[y]}function qe(y){let E=Dt.BOOLEAN;return z(y,d.strings)?E=Dt.STRING:z(y,d.numbers)?E=Dt.NUMBER:z(y,d.bools)?E=Dt.BOOLEAN:z(y,d.arrays)&&(E=Dt.ARRAY),E}function We(y){return y===void 0}function Bl(){Object.keys(d.counts).find(y=>z(y,d.arrays)?(C=Error(g("Invalid configuration: %s, opts.count excludes opts.array.",y)),!0):z(y,d.nargs)?(C=Error(g("Invalid configuration: %s, opts.count excludes opts.narg.",y)),!0):!1)}return{aliases:Object.assign({},d.aliases),argv:Object.assign(F,O),configuration:o,defaulted:Object.assign({},v),error:C,newAliases:Object.assign({},m)}}};function vE(e){let t=[],n=Object.create(null),i=!0;for(Object.keys(e).forEach(function(r){t.push([].concat(e[r],r))});i;){i=!1;for(let r=0;r<t.length;r++)for(let a=r+1;a<t.length;a++)if(t[r].filter(function(o){return t[a].indexOf(o)!==-1}).length){t[r]=t[r].concat(t[a]),t.splice(a,1),i=!0;break}}return t.forEach(function(r){r=r.filter(function(s,o,c){return c.indexOf(s)===o});let a=r.pop();a!==void 0&&typeof a=="string"&&(n[a]=r)}),n}function $l(e){return e!==void 0?e+1:1}function Ch(e){return e==="__proto__"?"___proto___":e}function bE(e){return typeof e=="string"&&(e[0]==="'"||e[0]==='"')&&e[e.length-1]===e[0]?e.substring(1,e.length-1):e}var jh=require("fs");var Ah=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):12;if(process&&process.version&&Number(process.version.match(/v([^.]+)/)[1])<Ah)throw Error(`yargs parser supports a minimum Node.js version of ${Ah}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var xE=process?process.env:{},Mh=new eo({cwd:process.cwd,env:()=>xE,format:Th.format,normalize:to.normalize,resolve:to.resolve,require:e=>{if(typeof require<"u")return require(e);if(e.match(/\.json$/))return JSON.parse((0,jh.readFileSync)(e,"utf8"));throw Error("only .json config files are supported in ESM")}}),ja=function(t,n){return Mh.parse(t.slice(),n).argv};ja.detailed=function(e,t){return Mh.parse(e.slice(),t)};ja.camelCase=mi;ja.decamelize=Xs;ja.looksLikeNumber=Qs;var Ul=ja;var Xt=require("path");function Rh(){return yE()?0:1}function yE(){return wE()&&!process.defaultApp}function wE(){return!!process.versions.electron}function Wl(e){return e.slice(Rh()+1)}function Nh(){return process.argv[Rh()]}var _e=class extends Error{constructor(t){super(t||"yargs error"),this.name="YError",Error.captureStackTrace&&Error.captureStackTrace(this,_e)}};var pr=require("fs"),Lh=require("util"),Ih=require("path"),qh={fs:{readFileSync:pr.readFileSync,writeFile:pr.writeFile},format:Lh.format,resolve:Ih.resolve,exists:e=>{try{return(0,pr.statSync)(e).isFile()}catch{return!1}}};var Jt,Kl=class{constructor(t){t=t||{},this.directory=t.directory||"./locales",this.updateFiles=typeof t.updateFiles=="boolean"?t.updateFiles:!0,this.locale=t.locale||"en",this.fallbackToLanguage=typeof t.fallbackToLanguage=="boolean"?t.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...t){if(typeof arguments[0]!="string")return this._taggedLiteral(arguments[0],...arguments);let n=t.shift(),i=function(){};return typeof t[t.length-1]=="function"&&(i=t.pop()),i=i||function(){},this.cache[this.locale]||this._readLocaleFile(),!this.cache[this.locale][n]&&this.updateFiles?(this.cache[this.locale][n]=n,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:i})):i(),Jt.format.apply(Jt.format,[this.cache[this.locale][n]||n].concat(t))}__n(){let t=Array.prototype.slice.call(arguments),n=t.shift(),i=t.shift(),r=t.shift(),a=function(){};typeof t[t.length-1]=="function"&&(a=t.pop()),this.cache[this.locale]||this._readLocaleFile();let s=r===1?n:i;this.cache[this.locale][n]&&(s=this.cache[this.locale][n][r===1?"one":"other"]),!this.cache[this.locale][n]&&this.updateFiles?(this.cache[this.locale][n]={one:n,other:i},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:a})):a();let o=[s];return~s.indexOf("%d")&&o.push(r),Jt.format.apply(Jt.format,o.concat(t))}setLocale(t){this.locale=t}getLocale(){return this.locale}updateLocale(t){this.cache[this.locale]||this._readLocaleFile();for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(this.cache[this.locale][n]=t[n])}_taggedLiteral(t,...n){let i="";return t.forEach(function(r,a){let s=n[a+1];i+=r,typeof s<"u"&&(i+="%s")}),this.__.apply(this,[i].concat([].slice.call(n,1)))}_enqueueWrite(t){this.writeQueue.push(t),this.writeQueue.length===1&&this._processWriteQueue()}_processWriteQueue(){let t=this,n=this.writeQueue[0],i=n.directory,r=n.locale,a=n.cb,s=this._resolveLocaleFile(i,r),o=JSON.stringify(this.cache[r],null,2);Jt.fs.writeFile(s,o,"utf-8",function(c){t.writeQueue.shift(),t.writeQueue.length>0&&t._processWriteQueue(),a(c)})}_readLocaleFile(){let t={},n=this._resolveLocaleFile(this.directory,this.locale);try{Jt.fs.readFileSync&&(t=JSON.parse(Jt.fs.readFileSync(n,"utf-8")))}catch(i){if(i instanceof SyntaxError&&(i.message="syntax error in "+n),i.code==="ENOENT")t={};else throw i}this.cache[this.locale]=t}_resolveLocaleFile(t,n){let i=Jt.resolve(t,"./",n+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(i)&&~n.lastIndexOf("_")){let r=Jt.resolve(t,"./",n.split("_")[0]+".json");this._fileExistsSync(r)&&(i=r)}return i}_fileExistsSync(t){return Jt.exists(t)}};function Ph(e,t){Jt=t;let n=new Kl(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}}var _E=e=>Ph(e,qh),Bh=_E;var OE={},SE="require is not supported by ESM",Fh="loading a directory of commands is not supported yet for ESM",Ma;try{Ma=(0,$h.fileURLToPath)(OE.url)}catch{Ma=process.cwd()}var EE=Ma.substring(0,Ma.lastIndexOf("node_modules")),Yl={assert:{notStrictEqual:no.notStrictEqual,strictEqual:no.strictEqual},cliui:zl,findUp:Oh,getEnv:e=>process.env[e],inspect:Dh.inspect,getCallerFile:()=>{throw new _e(Fh)},getProcessArgvBin:Nh,mainFilename:EE||process.cwd(),Parser:Ul,path:{basename:Xt.basename,dirname:Xt.dirname,extname:Xt.extname,relative:Xt.relative,resolve:Xt.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:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:zh.readFileSync,require:()=>{throw new _e(SE)},requireDirectory:()=>{throw new _e(Fh)},stringWidth:e=>[...e].length,y18n:Bh({directory:(0,Xt.resolve)(Ma,"../../../locales"),updateFiles:!1})};function ht(e,t,n,i){n.assert.notStrictEqual(e,t,i)}function Hl(e,t){t.assert.strictEqual(typeof e,"string")}function fr(e){return Object.keys(e)}function Oe(e){return!!e&&!!e.then&&typeof e.then=="function"}function Pn(e){let n=e.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),i=/\.*[\][<>]/g,r=n.shift();if(!r)throw new Error(`No command found in: ${e}`);let a={cmd:r.replace(i,""),demanded:[],optional:[]};return n.forEach((s,o)=>{let c=!1;s=s.replace(/\s/g,""),/\.+[\]>]/.test(s)&&o===n.length-1&&(c=!0),/^\[/.test(s)?a.optional.push({cmd:s.replace(i,"").split("|"),variadic:c}):a.demanded.push({cmd:s.replace(i,"").split("|"),variadic:c})}),a}var kE=["first","second","third","fourth","fifth","sixth"];function U(e,t,n){function i(){return typeof e=="object"?[{demanded:[],optional:[]},e,t]:[Pn(`cmd ${e}`),t,n]}try{let r=0,[a,s,o]=i(),c=[].slice.call(s);for(;c.length&&c[c.length-1]===void 0;)c.pop();let u=o||c.length;if(u<a.demanded.length)throw new _e(`Not enough arguments provided. Expected ${a.demanded.length} but received ${c.length}.`);let l=a.demanded.length+a.optional.length;if(u>l)throw new _e(`Too many arguments provided. Expected max ${l} but received ${u}.`);a.demanded.forEach(p=>{let f=c.shift(),m=Uh(f);p.cmd.filter(g=>g===m||g==="*").length===0&&Wh(m,p.cmd,r),r+=1}),a.optional.forEach(p=>{if(c.length===0)return;let f=c.shift(),m=Uh(f);p.cmd.filter(g=>g===m||g==="*").length===0&&Wh(m,p.cmd,r),r+=1})}catch(r){console.warn(r.stack)}}function Uh(e){return Array.isArray(e)?"array":e===null?"null":typeof e}function Wh(e,t,n){throw new _e(`Invalid ${kE[n]||"manyith"} argument. Expected ${t.join(" or ")} but received ${e}.`)}var io=class{constructor(t){this.globalMiddleware=[],this.frozens=[],this.yargs=t}addMiddleware(t,n,i=!0,r=!1){if(U("<array|function> [boolean] [boolean] [boolean]",[t,n,i],arguments.length),Array.isArray(t)){for(let a=0;a<t.length;a++){if(typeof t[a]!="function")throw Error("middleware must be a function");let s=t[a];s.applyBeforeValidation=n,s.global=i}Array.prototype.push.apply(this.globalMiddleware,t)}else if(typeof t=="function"){let a=t;a.applyBeforeValidation=n,a.global=i,a.mutates=r,this.globalMiddleware.push(t)}return this.yargs}addCoerceMiddleware(t,n){let i=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter(r=>{let a=[...i[n]||[],n];return r.option?!a.includes(r.option):!0}),t.option=n,this.addMiddleware(t,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){let t=this.frozens.pop();t!==void 0&&(this.globalMiddleware=t)}reset(){this.globalMiddleware=this.globalMiddleware.filter(t=>t.global)}};function Kh(e){return e?e.map(t=>(t.applyBeforeValidation=!1,t)):[]}function gi(e,t,n,i){return n.reduce((r,a)=>{if(a.applyBeforeValidation!==i)return r;if(a.mutates){if(a.applied)return r;a.applied=!0}if(Oe(r))return r.then(s=>Promise.all([s,a(s,t)])).then(([s,o])=>Object.assign(s,o));{let s=a(r,t);return Oe(s)?s.then(o=>Object.assign(r,o)):Object.assign(r,s)}},e)}function vi(e,t,n=i=>{throw i}){try{let i=CE(e)?e():e;return Oe(i)?i.then(r=>t(r)):t(i)}catch(i){return n(i)}}function CE(e){return typeof e=="function"}function Gl(e){if(typeof require>"u")return null;for(let t=0,n=Object.keys(require.cache),i;t<n.length;t++)if(i=require.cache[n[t]],i.exports===e)return i;return null}var dr=/(^\*)|(^\$0)/,Vl=class{constructor(t,n,i,r){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=r,this.usage=t,this.globalMiddleware=i,this.validation=n}addDirectory(t,n,i,r){r=r||{},typeof r.recurse!="boolean"&&(r.recurse=!1),Array.isArray(r.extensions)||(r.extensions=["js"]);let a=typeof r.visit=="function"?r.visit:s=>s;r.visit=(s,o,c)=>{let u=a(s,o,c);if(u){if(this.requireCache.has(o))return u;this.requireCache.add(o),this.addHandler(u)}return u},this.shim.requireDirectory({require:n,filename:i},t,r)}addHandler(t,n,i,r,a,s){let o=[],c=Kh(a);if(r=r||(()=>{}),Array.isArray(t))if(AE(t))[t,...o]=t;else for(let u of t)this.addHandler(u);else if(jE(t)){let u=Array.isArray(t.command)||typeof t.command=="string"?t.command:this.moduleName(t);t.aliases&&(u=[].concat(u).concat(t.aliases)),this.addHandler(u,this.extractDesc(t),t.builder,t.handler,t.middlewares,t.deprecated);return}else if(Yh(i)){this.addHandler([t].concat(o),n,i.builder,i.handler,i.middlewares,i.deprecated);return}if(typeof t=="string"){let u=Pn(t);o=o.map(f=>Pn(f).cmd);let l=!1,p=[u.cmd].concat(o).filter(f=>dr.test(f)?(l=!0,!1):!0);p.length===0&&l&&p.push("$0"),l&&(u.cmd=p[0],o=p.slice(1),t=t.replace(dr,u.cmd)),o.forEach(f=>{this.aliasMap[f]=u.cmd}),n!==!1&&this.usage.command(t,n,l,o,s),this.handlers[u.cmd]={original:t,description:n,handler:r,builder:i||{},middlewares:c,deprecated:s,demanded:u.demanded,optional:u.optional},l&&(this.defaultCommand=this.handlers[u.cmd])}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(t,n,i,r,a,s){let o=this.handlers[t]||this.handlers[this.aliasMap[t]]||this.defaultCommand,c=n.getInternalMethods().getContext(),u=c.commands.slice(),l=!t;t&&(c.commands.push(t),c.fullCommands.push(o.original));let p=this.applyBuilderUpdateUsageAndParse(l,o,n,i.aliases,u,r,a,s);return Oe(p)?p.then(f=>this.applyMiddlewareAndGetResult(l,o,f.innerArgv,c,a,f.aliases,n)):this.applyMiddlewareAndGetResult(l,o,p.innerArgv,c,a,p.aliases,n)}applyBuilderUpdateUsageAndParse(t,n,i,r,a,s,o,c){let u=n.builder,l=i;if(ro(u)){let p=u(i.getInternalMethods().reset(r),c);if(Oe(p))return p.then(f=>(l=Gh(f)?f:i,this.parseAndUpdateUsage(t,n,l,a,s,o)))}else TE(u)&&(l=i.getInternalMethods().reset(r),Object.keys(n.builder).forEach(p=>{l.option(p,u[p])}));return this.parseAndUpdateUsage(t,n,l,a,s,o)}parseAndUpdateUsage(t,n,i,r,a,s){t&&i.getInternalMethods().getUsageInstance().unfreeze(!0),this.shouldUpdateUsage(i)&&i.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler(r,n),n.description);let o=i.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,a,s);return Oe(o)?o.then(c=>({aliases:i.parsed.aliases,innerArgv:c})):{aliases:i.parsed.aliases,innerArgv:o}}shouldUpdateUsage(t){return!t.getInternalMethods().getUsageInstance().getUsageDisabled()&&t.getInternalMethods().getUsageInstance().getUsage().length===0}usageFromParentCommandsCommandHandler(t,n){let i=dr.test(n.original)?n.original.replace(dr,"").trim():n.original,r=t.filter(a=>!dr.test(a));return r.push(i),`$0 ${r.join(" ")}`}handleValidationAndGetResult(t,n,i,r,a,s,o,c){if(!s.getInternalMethods().getHasOutput()){let u=s.getInternalMethods().runValidation(a,c,s.parsed.error,t);i=vi(i,l=>(u(l),l))}if(n.handler&&!s.getInternalMethods().getHasOutput()){s.getInternalMethods().setHasOutput();let u=!!s.getOptions().configuration["populate--"];s.getInternalMethods().postProcess(i,u,!1,!1),i=gi(i,s,o,!1),i=vi(i,l=>{let p=n.handler(l);return Oe(p)?p.then(()=>l):l}),t||s.getInternalMethods().getUsageInstance().cacheHelpMessage(),Oe(i)&&!s.getInternalMethods().hasParseCallback()&&i.catch(l=>{try{s.getInternalMethods().getUsageInstance().fail(null,l)}catch{}})}return t||(r.commands.pop(),r.fullCommands.pop()),i}applyMiddlewareAndGetResult(t,n,i,r,a,s,o){let c={};if(a)return i;o.getInternalMethods().getHasOutput()||(c=this.populatePositionals(n,i,r,o));let u=this.globalMiddleware.getMiddleware().slice(0).concat(n.middlewares),l=gi(i,o,u,!0);return Oe(l)?l.then(p=>this.handleValidationAndGetResult(t,n,p,r,s,o,u,c)):this.handleValidationAndGetResult(t,n,l,r,s,o,u,c)}populatePositionals(t,n,i,r){n._=n._.slice(i.commands.length);let a=t.demanded.slice(0),s=t.optional.slice(0),o={};for(this.validation.positionalCount(a.length,n._.length);a.length;){let c=a.shift();this.populatePositional(c,n,o)}for(;s.length;){let c=s.shift();this.populatePositional(c,n,o)}return n._=i.commands.concat(n._.map(c=>""+c)),this.postProcessPositionals(n,o,this.cmdToParseOptions(t.original),r),o}populatePositional(t,n,i){let r=t.cmd[0];t.variadic?i[r]=n._.splice(0).map(String):n._.length&&(i[r]=[String(n._.shift())])}cmdToParseOptions(t){let n={array:[],default:{},alias:{},demand:{}},i=Pn(t);return i.demanded.forEach(r=>{let[a,...s]=r.cmd;r.variadic&&(n.array.push(a),n.default[a]=[]),n.alias[a]=s,n.demand[a]=!0}),i.optional.forEach(r=>{let[a,...s]=r.cmd;r.variadic&&(n.array.push(a),n.default[a]=[]),n.alias[a]=s}),n}postProcessPositionals(t,n,i,r){let a=Object.assign({},r.getOptions());a.default=Object.assign(i.default,a.default);for(let u of Object.keys(i.alias))a.alias[u]=(a.alias[u]||[]).concat(i.alias[u]);a.array=a.array.concat(i.array),a.config={};let s=[];if(Object.keys(n).forEach(u=>{n[u].map(l=>{a.configuration["unknown-options-as-args"]&&(a.key[u]=!0),s.push(`--${u}`),s.push(l)})}),!s.length)return;let o=Object.assign({},a.configuration,{"populate--":!1}),c=this.shim.Parser.detailed(s,Object.assign({},a,{configuration:o}));if(c.error)r.getInternalMethods().getUsageInstance().fail(c.error.message,c.error);else{let u=Object.keys(n);Object.keys(n).forEach(l=>{u.push(...c.aliases[l])}),Object.keys(c.argv).forEach(l=>{u.includes(l)&&(n[l]||(n[l]=c.argv[l]),!this.isInConfigs(r,l)&&!this.isDefaulted(r,l)&&Object.prototype.hasOwnProperty.call(t,l)&&Object.prototype.hasOwnProperty.call(c.argv,l)&&(Array.isArray(t[l])||Array.isArray(c.argv[l]))?t[l]=[].concat(t[l],c.argv[l]):t[l]=c.argv[l])})}}isDefaulted(t,n){let{default:i}=t.getOptions();return Object.prototype.hasOwnProperty.call(i,n)||Object.prototype.hasOwnProperty.call(i,this.shim.Parser.camelCase(n))}isInConfigs(t,n){let{configObjects:i}=t.getOptions();return i.some(r=>Object.prototype.hasOwnProperty.call(r,n))||i.some(r=>Object.prototype.hasOwnProperty.call(r,this.shim.Parser.camelCase(n)))}runDefaultBuilderOn(t){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(t)){let i=dr.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");t.getInternalMethods().getUsageInstance().usage(i,this.defaultCommand.description)}let n=this.defaultCommand.builder;if(ro(n))return n(t,!0);Yh(n)||Object.keys(n).forEach(i=>{t.option(i,n[i])})}moduleName(t){let n=Gl(t);if(!n)throw new Error(`No command name given for module: ${this.shim.inspect(t)}`);return this.commandFromFilename(n.filename)}commandFromFilename(t){return this.shim.path.basename(t,this.shim.path.extname(t))}extractDesc({describe:t,description:n,desc:i}){for(let r of[t,n,i]){if(typeof r=="string"||r===!1)return r;ht(r,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){let t=this.frozens.pop();ht(t,void 0,this.shim),{handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand}=t}reset(){return this.handlers={},this.aliasMap={},this.defaultCommand=void 0,this.requireCache=new Set,this}};function Hh(e,t,n,i){return new Vl(e,t,n,i)}function Yh(e){return typeof e=="object"&&!!e.builder&&typeof e.handler=="function"}function AE(e){return e.every(t=>typeof t=="string")}function ro(e){return typeof e=="function"}function TE(e){return typeof e=="object"}function jE(e){return typeof e=="object"&&!Array.isArray(e)}function Bn(e={},t=()=>!0){let n={};return fr(e).forEach(i=>{t(i,e[i])&&(n[i]=e[i])}),n}function Fn(e){typeof process>"u"||[process.stdout,process.stderr].forEach(t=>{let n=t;n._handle&&n.isTTY&&typeof n._handle.setBlocking=="function"&&n._handle.setBlocking(e)})}function ME(e){return typeof e=="boolean"}function Zh(e,t){let n=t.y18n.__,i={},r=[];i.failFn=function(M){r.push(M)};let a=null,s=null,o=!0;i.showHelpOnFail=function(M=!0,I){let[K,ce]=typeof M=="string"?[!0,M]:[M,I];return e.getInternalMethods().isGlobalContext()&&(s=ce),a=ce,o=K,i};let c=!1;i.fail=function(M,I){let K=e.getInternalMethods().getLoggerInstance();if(r.length)for(let ce=r.length-1;ce>=0;--ce){let ve=r[ce];if(ME(ve)){if(I)throw I;if(M)throw Error(M)}else ve(M,I,i)}else{if(e.getExitProcess()&&Fn(!0),!c){c=!0,o&&(e.showHelp("error"),K.error()),(M||I)&&K.error(M||I);let ce=a||s;ce&&((M||I)&&K.error(""),K.error(ce))}if(I=I||new _e(M),e.getExitProcess())return e.exit(1);if(e.getInternalMethods().hasParseCallback())return e.exit(1,I);throw I}};let u=[],l=!1;i.usage=(R,M)=>R===null?(l=!0,u=[],i):(l=!1,u.push([R,M||""]),i),i.getUsage=()=>u,i.getUsageDisabled=()=>l,i.getPositionalGroupName=()=>n("Positionals:");let p=[];i.example=(R,M)=>{p.push([R,M||""])};let f=[];i.command=function(M,I,K,ce,ve=!1){K&&(f=f.map(X=>(X[2]=!1,X))),f.push([M,I||"",K,ce,ve])},i.getCommands=()=>f;let m={};i.describe=function(M,I){Array.isArray(M)?M.forEach(K=>{i.describe(K,I)}):typeof M=="object"?Object.keys(M).forEach(K=>{i.describe(K,M[K])}):m[M]=I},i.getDescriptions=()=>m;let v=[];i.epilog=R=>{v.push(R)};let g=!1,d;i.wrap=R=>{g=!0,d=R};function x(){return g||(d=$(),g=!0),d}let _="__yargsString__:";i.deferY18nLookup=R=>_+R,i.help=function(){if(O)return O;k();let M=e.customScriptName?e.$0:t.path.basename(e.$0),I=e.getDemandedOptions(),K=e.getDemandedCommands(),ce=e.getDeprecatedOptions(),ve=e.getGroups(),X=e.getOptions(),Se=[];Se=Se.concat(Object.keys(m)),Se=Se.concat(Object.keys(I)),Se=Se.concat(Object.keys(K)),Se=Se.concat(Object.keys(X.default)),Se=Se.filter(P),Se=Object.keys(Se.reduce((Z,oe)=>(oe!=="_"&&(Z[oe]=!0),Z),{}));let le=x(),Y=t.cliui({width:le,wrap:!!le});if(!l){if(u.length)u.forEach(Z=>{Y.div({text:`${Z[0].replace(/\$0/g,M)}`}),Z[1]&&Y.div({text:`${Z[1]}`,padding:[1,0,0,0]})}),Y.div();else if(f.length){let Z=null;K._?Z=`${M} <${n("command")}>
|
|
195
195
|
`:Z=`${M} [${n("command")}]
|
|
196
|
-
`,Y.div(`${Z}`)}}if(f.length>1||f.length===1&&!f[0][2]){Y.div(n("Commands:"));let Z=e.getInternalMethods().getContext(),oe=Z.commands.length?`${Z.commands.join(" ")} `:"";e.getInternalMethods().getParserConfiguration()["sort-commands"]===!0&&(f=f.sort((te,Fe)=>te[0].localeCompare(Fe[0])));let Me=M?`${M} `:"";f.forEach(te=>{let Fe=`${Me}${oe}${te[0].replace(/^\$0 ?/,"")}`;Y.span({text:Fe,padding:[0,2,0,2],width:C(f,le,`${M}${oe}`)+4},{text:te[1]});let qe=[];te[2]&&qe.push(`[${n("default")}]`),te[3]&&te[3].length&&qe.push(`[${n("aliases:")} ${te[3].join(", ")}]`),te[4]&&(typeof te[4]=="string"?qe.push(`[${n("deprecated: %s",te[4])}]`):qe.push(`[${n("deprecated")}]`)),qe.length?Y.div({text:qe.join(" "),padding:[0,0,0,2],align:"right"}):Y.div()}),Y.div()}let fe=(Object.keys(X.alias)||[]).concat(Object.keys(e.parsed.newAliases)||[]);Se=Se.filter(Z=>!e.parsed.newAliases[Z]&&fe.every(oe=>(X.alias[oe]||[]).indexOf(Z)===-1));let ie=n("Options:");ve[ie]||(ve[ie]=[]),F(Se,X.alias,ve,ie);let z=Z=>/^--/.test(ao(Z)),ft=Object.keys(ve).filter(Z=>ve[Z].length>0).map(Z=>{let oe=ve[Z].filter(P).map(Me=>{if(fe.includes(Me))return Me;for(let te=0,Fe;(Fe=fe[te])!==void 0;te++)if((X.alias[Fe]||[]).includes(Me))return Fe;return Me});return{groupName:Z,normalizedKeys:oe}}).filter(({normalizedKeys:Z})=>Z.length>0).map(({groupName:Z,normalizedKeys:oe})=>{let Me=oe.reduce((te,Fe)=>(te[Fe]=[Fe].concat(X.alias[Fe]||[]).map(qe=>Z===i.getPositionalGroupName()?qe:(/^[0-9]$/.test(qe)?X.boolean.includes(Fe)?"-":"--":qe.length>1?"--":"-")+qe).sort((qe,We)=>z(qe)===z(We)?0:z(qe)?1:-1).join(", "),te),{});return{groupName:Z,normalizedKeys:oe,switches:Me}});if(ft.filter(({groupName:Z})=>Z!==i.getPositionalGroupName()).some(({normalizedKeys:Z,switches:oe})=>!Z.every(Me=>z(oe[Me])))&&ft.filter(({groupName:Z})=>Z!==i.getPositionalGroupName()).forEach(({normalizedKeys:Z,switches:oe})=>{Z.forEach(Me=>{z(oe[Me])&&(oe[Me]=RE(oe[Me],4))})}),ft.forEach(({groupName:Z,normalizedKeys:oe,switches:Me})=>{Y.div(Z),oe.forEach(te=>{let Fe=Me[te],qe=m[te]||"",We=null;qe.includes(_)&&(qe=n(qe.substring(_.length))),X.boolean.includes(te)&&(We=`[${n("boolean")}]`),X.count.includes(te)&&(We=`[${n("count")}]`),X.string.includes(te)&&(We=`[${n("string")}]`),X.normalize.includes(te)&&(We=`[${n("string")}]`),X.array.includes(te)&&(We=`[${n("array")}]`),X.number.includes(te)&&(We=`[${n("number")}]`);let
|
|
196
|
+
`,Y.div(`${Z}`)}}if(f.length>1||f.length===1&&!f[0][2]){Y.div(n("Commands:"));let Z=e.getInternalMethods().getContext(),oe=Z.commands.length?`${Z.commands.join(" ")} `:"";e.getInternalMethods().getParserConfiguration()["sort-commands"]===!0&&(f=f.sort((te,Fe)=>te[0].localeCompare(Fe[0])));let Me=M?`${M} `:"";f.forEach(te=>{let Fe=`${Me}${oe}${te[0].replace(/^\$0 ?/,"")}`;Y.span({text:Fe,padding:[0,2,0,2],width:C(f,le,`${M}${oe}`)+4},{text:te[1]});let qe=[];te[2]&&qe.push(`[${n("default")}]`),te[3]&&te[3].length&&qe.push(`[${n("aliases:")} ${te[3].join(", ")}]`),te[4]&&(typeof te[4]=="string"?qe.push(`[${n("deprecated: %s",te[4])}]`):qe.push(`[${n("deprecated")}]`)),qe.length?Y.div({text:qe.join(" "),padding:[0,0,0,2],align:"right"}):Y.div()}),Y.div()}let fe=(Object.keys(X.alias)||[]).concat(Object.keys(e.parsed.newAliases)||[]);Se=Se.filter(Z=>!e.parsed.newAliases[Z]&&fe.every(oe=>(X.alias[oe]||[]).indexOf(Z)===-1));let ie=n("Options:");ve[ie]||(ve[ie]=[]),F(Se,X.alias,ve,ie);let z=Z=>/^--/.test(ao(Z)),ft=Object.keys(ve).filter(Z=>ve[Z].length>0).map(Z=>{let oe=ve[Z].filter(P).map(Me=>{if(fe.includes(Me))return Me;for(let te=0,Fe;(Fe=fe[te])!==void 0;te++)if((X.alias[Fe]||[]).includes(Me))return Fe;return Me});return{groupName:Z,normalizedKeys:oe}}).filter(({normalizedKeys:Z})=>Z.length>0).map(({groupName:Z,normalizedKeys:oe})=>{let Me=oe.reduce((te,Fe)=>(te[Fe]=[Fe].concat(X.alias[Fe]||[]).map(qe=>Z===i.getPositionalGroupName()?qe:(/^[0-9]$/.test(qe)?X.boolean.includes(Fe)?"-":"--":qe.length>1?"--":"-")+qe).sort((qe,We)=>z(qe)===z(We)?0:z(qe)?1:-1).join(", "),te),{});return{groupName:Z,normalizedKeys:oe,switches:Me}});if(ft.filter(({groupName:Z})=>Z!==i.getPositionalGroupName()).some(({normalizedKeys:Z,switches:oe})=>!Z.every(Me=>z(oe[Me])))&&ft.filter(({groupName:Z})=>Z!==i.getPositionalGroupName()).forEach(({normalizedKeys:Z,switches:oe})=>{Z.forEach(Me=>{z(oe[Me])&&(oe[Me]=RE(oe[Me],4))})}),ft.forEach(({groupName:Z,normalizedKeys:oe,switches:Me})=>{Y.div(Z),oe.forEach(te=>{let Fe=Me[te],qe=m[te]||"",We=null;qe.includes(_)&&(qe=n(qe.substring(_.length))),X.boolean.includes(te)&&(We=`[${n("boolean")}]`),X.count.includes(te)&&(We=`[${n("count")}]`),X.string.includes(te)&&(We=`[${n("string")}]`),X.normalize.includes(te)&&(We=`[${n("string")}]`),X.array.includes(te)&&(We=`[${n("array")}]`),X.number.includes(te)&&(We=`[${n("number")}]`);let Bl=E=>typeof E=="string"?`[${n("deprecated: %s",E)}]`:`[${n("deprecated")}]`,y=[te in ce?Bl(ce[te]):null,We,te in I?`[${n("required")}]`:null,X.choices&&X.choices[te]?`[${n("choices:")} ${i.stringifiedValues(X.choices[te])}]`:null,L(X.default[te],X.defaultDescription[te])].filter(Boolean).join(" ");Y.span({text:ao(Fe),padding:[0,2,0,2+Vh(Fe)],width:C(Me,le)+4},qe),y?Y.div({text:y,padding:[0,0,0,2],align:"right"}):Y.div()}),Y.div()}),p.length&&(Y.div(n("Examples:")),p.forEach(Z=>{Z[0]=Z[0].replace(/\$0/g,M)}),p.forEach(Z=>{Z[1]===""?Y.div({text:Z[0],padding:[0,2,0,2]}):Y.div({text:Z[0],padding:[0,2,0,2],width:C(p,le)+4},{text:Z[1]})}),Y.div()),v.length>0){let Z=v.map(oe=>oe.replace(/\$0/g,M)).join(`
|
|
197
197
|
`);Y.div(`${Z}
|
|
198
|
-
`)}return Y.toString().replace(/\s*$/,"")};function C(R,M,I){let K=0;return Array.isArray(R)||(R=Object.values(R).map(ce=>[ce])),R.forEach(ce=>{K=Math.max(t.stringWidth(I?`${I} ${ao(ce[0])}`:ao(ce[0]))+
|
|
198
|
+
`)}return Y.toString().replace(/\s*$/,"")};function C(R,M,I){let K=0;return Array.isArray(R)||(R=Object.values(R).map(ce=>[ce])),R.forEach(ce=>{K=Math.max(t.stringWidth(I?`${I} ${ao(ce[0])}`:ao(ce[0]))+Vh(ce[0]),K)}),M&&(K=Math.min(K,parseInt((M*.5).toString(),10))),K}function k(){let R=e.getDemandedOptions(),M=e.getOptions();(Object.keys(M.alias)||[]).forEach(I=>{M.alias[I].forEach(K=>{m[K]&&i.describe(I,m[K]),K in R&&e.demandOption(I,R[K]),M.boolean.includes(K)&&e.boolean(I),M.count.includes(K)&&e.count(I),M.string.includes(K)&&e.string(I),M.normalize.includes(K)&&e.normalize(I),M.array.includes(K)&&e.array(I),M.number.includes(K)&&e.number(I)})})}let O;i.cacheHelpMessage=function(){O=this.help()},i.clearCachedHelpMessage=function(){O=void 0},i.hasCachedHelpMessage=function(){return!!O};function F(R,M,I,K){let ce=[],ve=null;return Object.keys(I).forEach(X=>{ce=ce.concat(I[X])}),R.forEach(X=>{ve=[X].concat(M[X]),ve.some(Se=>ce.indexOf(Se)!==-1)||I[K].push(X)}),ce}function P(R){return e.getOptions().hiddenOptions.indexOf(R)<0||e.parsed.argv[e.getOptions().showHiddenOpt]}i.showHelp=R=>{let M=e.getInternalMethods().getLoggerInstance();R||(R="error"),(typeof R=="function"?R:M[R])(i.help())},i.functionDescription=R=>{let M=R.name?t.Parser.decamelize(R.name,"-"):n("generated-value");return["(",M,")"].join("")},i.stringifiedValues=function(M,I){let K="",ce=I||", ",ve=[].concat(M);return!M||!ve.length||ve.forEach(X=>{K.length&&(K+=ce),K+=JSON.stringify(X)}),K};function L(R,M){let I=`[${n("default:")} `;if(R===void 0&&!M)return null;if(M)I+=M;else switch(typeof R){case"string":I+=`"${R}"`;break;case"object":I+=JSON.stringify(R);break;default:I+=R}return`${I}]`}function $(){return t.process.stdColumns?Math.min(80,t.process.stdColumns):80}let B=null;i.version=R=>{B=R},i.showVersion=R=>{let M=e.getInternalMethods().getLoggerInstance();R||(R="error"),(typeof R=="function"?R:M[R])(B)},i.reset=function(M){return a=null,c=!1,u=[],l=!1,v=[],p=[],f=[],m=Bn(m,I=>!M[I]),i};let q=[];return i.freeze=function(){q.push({failMessage:a,failureOutput:c,usages:u,usageDisabled:l,epilogs:v,examples:p,commands:f,descriptions:m})},i.unfreeze=function(M=!1){let I=q.pop();!I||(M?(m={...I.descriptions,...m},f=[...I.commands,...f],u=[...I.usages,...u],p=[...I.examples,...p],v=[...I.epilogs,...v]):{failMessage:a,failureOutput:c,usages:u,usageDisabled:l,epilogs:v,examples:p,commands:f,descriptions:m}=I)},i}function Zl(e){return typeof e=="object"}function RE(e,t){return Zl(e)?{text:e.text,indentation:e.indentation+t}:{text:e,indentation:t}}function Vh(e){return Zl(e)?e.indentation:0}function ao(e){return Zl(e)?e.text:e}var Jh=`###-begin-{{app_name}}-completions-###
|
|
199
199
|
#
|
|
200
200
|
# yargs command completion script
|
|
201
201
|
#
|
|
@@ -223,7 +223,7 @@ _{{app_name}}_yargs_completions()
|
|
|
223
223
|
}
|
|
224
224
|
complete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name}}
|
|
225
225
|
###-end-{{app_name}}-completions-###
|
|
226
|
-
`,
|
|
226
|
+
`,Xh=`#compdef {{app_name}}
|
|
227
227
|
###-begin-{{app_name}}-completions-###
|
|
228
228
|
#
|
|
229
229
|
# yargs command completion script
|
|
@@ -242,19 +242,19 @@ _{{app_name}}_yargs_completions()
|
|
|
242
242
|
}
|
|
243
243
|
compdef _{{app_name}}_yargs_completions {{app_name}}
|
|
244
244
|
###-end-{{app_name}}-completions-###
|
|
245
|
-
`;var
|
|
245
|
+
`;var Jl=class{constructor(t,n,i,r){var a,s,o;this.yargs=t,this.usage=n,this.command=i,this.shim=r,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=(o=((a=this.shim.getEnv("SHELL"))===null||a===void 0?void 0:a.includes("zsh"))||((s=this.shim.getEnv("ZSH_NAME"))===null||s===void 0?void 0:s.includes("zsh")))!==null&&o!==void 0?o:!1}defaultCompletion(t,n,i,r){let a=this.command.getCommandHandlers();for(let o=0,c=t.length;o<c;++o)if(a[t[o]]&&a[t[o]].builder){let u=a[t[o]].builder;if(ro(u)){this.indexAfterLastReset=o+1;let l=this.yargs.getInternalMethods().reset();return u(l,!0),l.argv}}let s=[];this.commandCompletions(s,t,i),this.optionCompletions(s,t,n,i),this.choicesFromOptionsCompletions(s,t,n,i),this.choicesFromPositionalsCompletions(s,t,n,i),r(null,s)}commandCompletions(t,n,i){let r=this.yargs.getInternalMethods().getContext().commands;!i.match(/^-/)&&r[r.length-1]!==i&&!this.previousArgHasChoices(n)&&this.usage.getCommands().forEach(a=>{let s=Pn(a[0]).cmd;if(n.indexOf(s)===-1)if(!this.zshShell)t.push(s);else{let o=a[1]||"";t.push(s.replace(/:/g,"\\:")+":"+o)}})}optionCompletions(t,n,i,r){if((r.match(/^-/)||r===""&&t.length===0)&&!this.previousArgHasChoices(n)){let a=this.yargs.getOptions(),s=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(a.key).forEach(o=>{let c=!!a.configuration["boolean-negation"]&&a.boolean.includes(o);!s.includes(o)&&!a.hiddenOptions.includes(o)&&!this.argsContainKey(n,o,c)&&(this.completeOptionKey(o,t,r),c&&!!a.default[o]&&this.completeOptionKey(`no-${o}`,t,r))})}}choicesFromOptionsCompletions(t,n,i,r){if(this.previousArgHasChoices(n)){let a=this.getPreviousArgChoices(n);a&&a.length>0&&t.push(...a.map(s=>s.replace(/:/g,"\\:")))}}choicesFromPositionalsCompletions(t,n,i,r){if(r===""&&t.length>0&&this.previousArgHasChoices(n))return;let a=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],s=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),o=a[i._.length-s-1];if(!o)return;let c=this.yargs.getOptions().choices[o]||[];for(let u of c)u.startsWith(r)&&t.push(u.replace(/:/g,"\\:"))}getPreviousArgChoices(t){if(t.length<1)return;let n=t[t.length-1],i="";if(!n.startsWith("-")&&t.length>1&&(i=n,n=t[t.length-2]),!n.startsWith("-"))return;let r=n.replace(/^-+/,""),a=this.yargs.getOptions(),s=[r,...this.yargs.getAliases()[r]||[]],o;for(let c of s)if(Object.prototype.hasOwnProperty.call(a.key,c)&&Array.isArray(a.choices[c])){o=a.choices[c];break}if(o)return o.filter(c=>!i||c.startsWith(i))}previousArgHasChoices(t){let n=this.getPreviousArgChoices(t);return n!==void 0&&n.length>0}argsContainKey(t,n,i){let r=a=>t.indexOf((/^[^0-9]$/.test(a)?"-":"--")+a)!==-1;if(r(n)||i&&r(`no-${n}`))return!0;if(this.aliases){for(let a of this.aliases[n])if(r(a))return!0}return!1}completeOptionKey(t,n,i){let r=this.usage.getDescriptions(),a=c=>/^--/.test(c),s=c=>/^[^0-9]$/.test(c),o=!a(i)&&s(t)?"-":"--";if(!this.zshShell)n.push(o+t);else{let c=r[t]||"";n.push(o+`${t.replace(/:/g,"\\:")}:${c.replace("__yargsString__:","")}`)}}customCompletion(t,n,i,r){if(ht(this.customCompletionFunction,null,this.shim),LE(this.customCompletionFunction)){let a=this.customCompletionFunction(i,n);return Oe(a)?a.then(s=>{this.shim.process.nextTick(()=>{r(null,s)})}).catch(s=>{this.shim.process.nextTick(()=>{r(s,void 0)})}):r(null,a)}else return IE(this.customCompletionFunction)?this.customCompletionFunction(i,n,(a=r)=>this.defaultCompletion(t,n,i,a),a=>{r(null,a)}):this.customCompletionFunction(i,n,a=>{r(null,a)})}getCompletion(t,n){let i=t.length?t[t.length-1]:"",r=this.yargs.parse(t,!0),a=this.customCompletionFunction?s=>this.customCompletion(t,s,i,n):s=>this.defaultCompletion(t,s,i,n);return Oe(r)?r.then(a):a(r)}generateCompletionScript(t,n){let i=this.zshShell?Xh:Jh,r=this.shim.path.basename(t);return t.match(/\.js$/)&&(t=`./${t}`),i=i.replace(/{{app_name}}/g,r),i=i.replace(/{{completion_command}}/g,n),i.replace(/{{app_path}}/g,t)}registerFunction(t){this.customCompletionFunction=t}setParsed(t){this.aliases=t.aliases}};function Qh(e,t,n,i){return new Jl(e,t,n,i)}function LE(e){return e.length<3}function IE(e){return e.length>3}function em(e,t){if(e.length===0)return t.length;if(t.length===0)return e.length;let n=[],i;for(i=0;i<=t.length;i++)n[i]=[i];let r;for(r=0;r<=e.length;r++)n[0][r]=r;for(i=1;i<=t.length;i++)for(r=1;r<=e.length;r++)t.charAt(i-1)===e.charAt(r-1)?n[i][r]=n[i-1][r-1]:i>1&&r>1&&t.charAt(i-2)===e.charAt(r-1)&&t.charAt(i-1)===e.charAt(r-2)?n[i][r]=n[i-2][r-2]+1:n[i][r]=Math.min(n[i-1][r-1]+1,Math.min(n[i][r-1]+1,n[i-1][r]+1));return n[t.length][e.length]}var tm=["$0","--","_"];function nm(e,t,n){let i=n.y18n.__,r=n.y18n.__n,a={};a.nonOptionCount=function(p){let f=e.getDemandedCommands(),v=p._.length+(p["--"]?p["--"].length:0)-e.getInternalMethods().getContext().commands.length;f._&&(v<f._.min||v>f._.max)&&(v<f._.min?f._.minMsg!==void 0?t.fail(f._.minMsg?f._.minMsg.replace(/\$0/g,v.toString()).replace(/\$1/,f._.min.toString()):null):t.fail(r("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",v,v.toString(),f._.min.toString())):v>f._.max&&(f._.maxMsg!==void 0?t.fail(f._.maxMsg?f._.maxMsg.replace(/\$0/g,v.toString()).replace(/\$1/,f._.max.toString()):null):t.fail(r("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",v,v.toString(),f._.max.toString()))))},a.positionalCount=function(p,f){f<p&&t.fail(r("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",f,f+"",p+""))},a.requiredArguments=function(p,f){let m=null;for(let v of Object.keys(f))(!Object.prototype.hasOwnProperty.call(p,v)||typeof p[v]>"u")&&(m=m||{},m[v]=f[v]);if(m){let v=[];for(let d of Object.keys(m)){let x=m[d];x&&v.indexOf(x)<0&&v.push(x)}let g=v.length?`
|
|
246
246
|
${v.join(`
|
|
247
|
-
`)}`:"";t.fail(r("Missing required argument: %s","Missing required arguments: %s",Object.keys(m).length,Object.keys(m).join(", ")+g))}},a.unknownArguments=function(p,f,m,v,g=!0){var d;let x=e.getInternalMethods().getCommandInstance().getCommands(),_=[],C=e.getInternalMethods().getContext();if(Object.keys(p).forEach(k=>{!
|
|
247
|
+
`)}`:"";t.fail(r("Missing required argument: %s","Missing required arguments: %s",Object.keys(m).length,Object.keys(m).join(", ")+g))}},a.unknownArguments=function(p,f,m,v,g=!0){var d;let x=e.getInternalMethods().getCommandInstance().getCommands(),_=[],C=e.getInternalMethods().getContext();if(Object.keys(p).forEach(k=>{!tm.includes(k)&&!Object.prototype.hasOwnProperty.call(m,k)&&!Object.prototype.hasOwnProperty.call(e.getInternalMethods().getParseContext(),k)&&!a.isValidAndSomeAliasIsNotNew(k,f)&&_.push(k)}),g&&(C.commands.length>0||x.length>0||v)&&p._.slice(C.commands.length).forEach(k=>{x.includes(""+k)||_.push(""+k)}),g){let O=((d=e.getDemandedCommands()._)===null||d===void 0?void 0:d.max)||0,F=C.commands.length+O;F<p._.length&&p._.slice(F).forEach(P=>{P=String(P),!C.commands.includes(P)&&!_.includes(P)&&_.push(P)})}_.length&&t.fail(r("Unknown argument: %s","Unknown arguments: %s",_.length,_.map(k=>k.trim()?k:`"${k}"`).join(", ")))},a.unknownCommands=function(p){let f=e.getInternalMethods().getCommandInstance().getCommands(),m=[],v=e.getInternalMethods().getContext();return(v.commands.length>0||f.length>0)&&p._.slice(v.commands.length).forEach(g=>{f.includes(""+g)||m.push(""+g)}),m.length>0?(t.fail(r("Unknown command: %s","Unknown commands: %s",m.length,m.join(", "))),!0):!1},a.isValidAndSomeAliasIsNotNew=function(p,f){if(!Object.prototype.hasOwnProperty.call(f,p))return!1;let m=e.parsed.newAliases;return[p,...f[p]].some(v=>!Object.prototype.hasOwnProperty.call(m,v)||!m[p])},a.limitedChoices=function(p){let f=e.getOptions(),m={};if(!Object.keys(f.choices).length)return;Object.keys(p).forEach(d=>{tm.indexOf(d)===-1&&Object.prototype.hasOwnProperty.call(f.choices,d)&&[].concat(p[d]).forEach(x=>{f.choices[d].indexOf(x)===-1&&x!==void 0&&(m[d]=(m[d]||[]).concat(x))})});let v=Object.keys(m);if(!v.length)return;let g=i("Invalid values:");v.forEach(d=>{g+=`
|
|
248
248
|
${i("Argument: %s, Given: %s, Choices: %s",d,t.stringifiedValues(m[d]),t.stringifiedValues(f.choices[d]))}`}),t.fail(g)};let s={};a.implies=function(p,f){U("<string|object> [array|number|string]",[p,f],arguments.length),typeof p=="object"?Object.keys(p).forEach(m=>{a.implies(m,p[m])}):(e.global(p),s[p]||(s[p]=[]),Array.isArray(f)?f.forEach(m=>a.implies(p,m)):(ht(f,void 0,n),s[p].push(f)))},a.getImplied=function(){return s};function o(l,p){let f=Number(p);return p=isNaN(f)?p:f,typeof p=="number"?p=l._.length>=p:p.match(/^--no-.+/)?(p=p.match(/^--no-(.+)/)[1],p=!Object.prototype.hasOwnProperty.call(l,p)):p=Object.prototype.hasOwnProperty.call(l,p),p}a.implications=function(p){let f=[];if(Object.keys(s).forEach(m=>{let v=m;(s[m]||[]).forEach(g=>{let d=v,x=g;d=o(p,d),g=o(p,g),d&&!g&&f.push(` ${v} -> ${x}`)})}),f.length){let m=`${i("Implications failed:")}
|
|
249
|
-
`;f.forEach(v=>{m+=v}),t.fail(m)}};let c={};a.conflicts=function(p,f){U("<string|object> [array|string]",[p,f],arguments.length),typeof p=="object"?Object.keys(p).forEach(m=>{a.conflicts(m,p[m])}):(e.global(p),c[p]||(c[p]=[]),Array.isArray(f)?f.forEach(m=>a.conflicts(p,m)):c[p].push(f))},a.getConflicting=()=>c,a.conflicting=function(p){Object.keys(p).forEach(f=>{c[f]&&c[f].forEach(m=>{m&&p[f]!==void 0&&p[m]!==void 0&&t.fail(i("Arguments %s and %s are mutually exclusive",f,m))})}),e.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(c).forEach(f=>{c[f].forEach(m=>{m&&p[n.Parser.camelCase(f)]!==void 0&&p[n.Parser.camelCase(m)]!==void 0&&t.fail(i("Arguments %s and %s are mutually exclusive",f,m))})})},a.recommendCommands=function(p,f){f=f.sort((d,x)=>x.length-d.length);let v=null,g=1/0;for(let d=0,x;(x=f[d])!==void 0;d++){let _=Qh(p,x);_<=3&&_<g&&(g=_,v=x)}v&&t.fail(i("Did you mean %s?",v))},a.reset=function(p){return s=Bn(s,f=>!p[f]),c=Bn(c,f=>!p[f]),a};let u=[];return a.freeze=function(){u.push({implied:s,conflicting:c})},a.unfreeze=function(){let p=u.pop();ht(p,void 0,n),{implied:s,conflicting:c}=p},a}var Jl=[],Ra;function Na(e,t,n,i){Ra=i;let r={};if(Object.prototype.hasOwnProperty.call(e,"extends")){if(typeof e.extends!="string")return r;let a=/\.json|\..*rc$/.test(e.extends),s=null;if(a)s=PE(t,e.extends);else try{s=require.resolve(e.extends)}catch{return e}qE(s),Jl.push(s),r=a?JSON.parse(Ra.readFileSync(s,"utf8")):require(e.extends),delete e.extends,r=Na(r,Ra.path.dirname(s),n,Ra)}return Jl=[],n?nm(r,e):Object.assign({},r,e)}function qE(e){if(Jl.indexOf(e)>-1)throw new _e(`Circular extended configurations: '${e}'.`)}function PE(e,t){return Ra.path.resolve(e,t)}function nm(e,t){let n={};function i(r){return r&&typeof r=="object"&&!Array.isArray(r)}Object.assign(n,e);for(let r of Object.keys(t))i(t[r])&&i(n[r])?n[r]=nm(e[r],t[r]):n[r]=t[r];return n}var W=function(e,t,n,i,r){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?r.call(e,n):r?r.value=n:t.set(e,n),n},h=function(e,t,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)},Pe,bi,La,zt,Ct,so,Dn,xi,oo,$t,co,Ut,un,At,Wt,lo,hr,Ge,J,uo,po,Tt,yi,mr,wi,zn,fo,ne,_i,Si,Ei,se,pn,Le;function wm(e){return(t=[],n=e.process.cwd(),i)=>{let r=new cu(t,n,i,e);return Object.defineProperty(r,"argv",{get:()=>r.parse(),enumerable:!0}),r.help(),r.version(),r}}var im=Symbol("copyDoubleDash"),rm=Symbol("copyDoubleDash"),Xl=Symbol("deleteFromParserHintObject"),am=Symbol("emitWarning"),sm=Symbol("freeze"),om=Symbol("getDollarZero"),Oi=Symbol("getParserConfiguration"),Ql=Symbol("guessLocale"),cm=Symbol("guessVersion"),lm=Symbol("parsePositionalNumbers"),eu=Symbol("pkgUp"),$n=Symbol("populateParserHintArray"),gr=Symbol("populateParserHintSingleValueDictionary"),tu=Symbol("populateParserHintArrayDictionary"),nu=Symbol("populateParserHintDictionary"),iu=Symbol("sanitizeKey"),ru=Symbol("setKey"),au=Symbol("unfreeze"),um=Symbol("validateAsync"),pm=Symbol("getCommandInstance"),fm=Symbol("getContext"),dm=Symbol("getHasOutput"),hm=Symbol("getLoggerInstance"),mm=Symbol("getParseContext"),gm=Symbol("getUsageInstance"),vm=Symbol("getValidationInstance"),ho=Symbol("hasParseCallback"),bm=Symbol("isGlobalContext"),ki=Symbol("postProcess"),xm=Symbol("rebase"),su=Symbol("reset"),Ia=Symbol("runYargsParserAndExecuteCommands"),ou=Symbol("runValidation"),ym=Symbol("setHasOutput"),Ci=Symbol("kTrackManuallySetKeys"),cu=class{constructor(t=[],n,i,r){this.customScriptName=!1,this.parsed=!1,Pe.set(this,void 0),bi.set(this,void 0),La.set(this,{commands:[],fullCommands:[]}),zt.set(this,null),Ct.set(this,null),so.set(this,"show-hidden"),Dn.set(this,null),xi.set(this,!0),oo.set(this,{}),$t.set(this,!0),co.set(this,[]),Ut.set(this,void 0),un.set(this,{}),At.set(this,!1),Wt.set(this,null),lo.set(this,!0),hr.set(this,void 0),Ge.set(this,""),J.set(this,void 0),uo.set(this,void 0),po.set(this,{}),Tt.set(this,null),yi.set(this,null),mr.set(this,{}),wi.set(this,{}),zn.set(this,void 0),fo.set(this,!1),ne.set(this,void 0),_i.set(this,!1),Si.set(this,!1),Ei.set(this,!1),se.set(this,void 0),pn.set(this,null),Le.set(this,void 0),W(this,ne,r,"f"),W(this,zn,t,"f"),W(this,bi,n,"f"),W(this,uo,i,"f"),W(this,Ut,new io(this),"f"),this.$0=this[om](),this[su](),W(this,Pe,h(this,Pe,"f"),"f"),W(this,se,h(this,se,"f"),"f"),W(this,Le,h(this,Le,"f"),"f"),W(this,J,h(this,J,"f"),"f"),h(this,J,"f").showHiddenOpt=h(this,so,"f"),W(this,hr,this[rm](),"f")}addHelpOpt(t,n){let i="help";return U("[string|boolean] [string]",[t,n],arguments.length),h(this,Wt,"f")&&(this[Xl](h(this,Wt,"f")),W(this,Wt,null,"f")),t===!1&&n===void 0?this:(W(this,Wt,typeof t=="string"?t:i,"f"),this.boolean(h(this,Wt,"f")),this.describe(h(this,Wt,"f"),n||h(this,se,"f").deferY18nLookup("Show help")),this)}help(t,n){return this.addHelpOpt(t,n)}addShowHiddenOpt(t,n){if(U("[string|boolean] [string]",[t,n],arguments.length),t===!1&&n===void 0)return this;let i=typeof t=="string"?t:h(this,so,"f");return this.boolean(i),this.describe(i,n||h(this,se,"f").deferY18nLookup("Show hidden options")),h(this,J,"f").showHiddenOpt=i,this}showHidden(t,n){return this.addShowHiddenOpt(t,n)}alias(t,n){return U("<object|string|array> [string|array]",[t,n],arguments.length),this[tu](this.alias.bind(this),"alias",t,n),this}array(t){return U("<array|string>",[t],arguments.length),this[$n]("array",t),this[Ci](t),this}boolean(t){return U("<array|string>",[t],arguments.length),this[$n]("boolean",t),this[Ci](t),this}check(t,n){return U("<function> [boolean]",[t,n],arguments.length),this.middleware((i,r)=>vi(()=>t(i,r.getOptions()),a=>(a?(typeof a=="string"||a instanceof Error)&&h(this,se,"f").fail(a.toString(),a):h(this,se,"f").fail(h(this,ne,"f").y18n.__("Argument check failed: %s",t.toString())),i),a=>(h(this,se,"f").fail(a.message?a.message:a.toString(),a),i)),!1,n),this}choices(t,n){return U("<object|string|array> [string|array]",[t,n],arguments.length),this[tu](this.choices.bind(this),"choices",t,n),this}coerce(t,n){if(U("<object|string|array> [function]",[t,n],arguments.length),Array.isArray(t)){if(!n)throw new _e("coerce callback must be provided");for(let i of t)this.coerce(i,n);return this}else if(typeof t=="object"){for(let i of Object.keys(t))this.coerce(i,t[i]);return this}if(!n)throw new _e("coerce callback must be provided");return h(this,J,"f").key[t]=!0,h(this,Ut,"f").addCoerceMiddleware((i,r)=>{let a;return Object.prototype.hasOwnProperty.call(i,t)?vi(()=>(a=r.getAliases(),n(i[t])),o=>{i[t]=o;let c=r.getInternalMethods().getParserConfiguration()["strip-aliased"];if(a[t]&&c!==!0)for(let u of a[t])i[u]=o;return i},o=>{throw new _e(o.message)}):i},t),this}conflicts(t,n){return U("<string|object> [string|array]",[t,n],arguments.length),h(this,Le,"f").conflicts(t,n),this}config(t="config",n,i){return U("[object|string] [string|function] [function]",[t,n,i],arguments.length),typeof t=="object"&&!Array.isArray(t)?(t=Na(t,h(this,bi,"f"),this[Oi]()["deep-merge-config"]||!1,h(this,ne,"f")),h(this,J,"f").configObjects=(h(this,J,"f").configObjects||[]).concat(t),this):(typeof n=="function"&&(i=n,n=void 0),this.describe(t,n||h(this,se,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(t)?t:[t]).forEach(r=>{h(this,J,"f").config[r]=i||!0}),this)}completion(t,n,i){return U("[string] [string|boolean|function] [function]",[t,n,i],arguments.length),typeof n=="function"&&(i=n,n=void 0),W(this,Ct,t||h(this,Ct,"f")||"completion","f"),!n&&n!==!1&&(n="generate completion script"),this.command(h(this,Ct,"f"),n),i&&h(this,zt,"f").registerFunction(i),this}command(t,n,i,r,a,s){return U("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[t,n,i,r,a,s],arguments.length),h(this,Pe,"f").addHandler(t,n,i,r,a,s),this}commands(t,n,i,r,a,s){return this.command(t,n,i,r,a,s)}commandDir(t,n){U("<string> [object]",[t,n],arguments.length);let i=h(this,uo,"f")||h(this,ne,"f").require;return h(this,Pe,"f").addDirectory(t,i,h(this,ne,"f").getCallerFile(),n),this}count(t){return U("<array|string>",[t],arguments.length),this[$n]("count",t),this[Ci](t),this}default(t,n,i){return U("<object|string|array> [*] [string]",[t,n,i],arguments.length),i&&(Yl(t,h(this,ne,"f")),h(this,J,"f").defaultDescription[t]=i),typeof n=="function"&&(Yl(t,h(this,ne,"f")),h(this,J,"f").defaultDescription[t]||(h(this,J,"f").defaultDescription[t]=h(this,se,"f").functionDescription(n)),n=n.call()),this[gr](this.default.bind(this),"default",t,n),this}defaults(t,n,i){return this.default(t,n,i)}demandCommand(t=1,n,i,r){return U("[number] [number|string] [string|null|undefined] [string|null|undefined]",[t,n,i,r],arguments.length),typeof n!="number"&&(i=n,n=1/0),this.global("_",!1),h(this,J,"f").demandedCommands._={min:t,max:n,minMsg:i,maxMsg:r},this}demand(t,n,i){return Array.isArray(n)?(n.forEach(r=>{ht(i,!0,h(this,ne,"f")),this.demandOption(r,i)}),n=1/0):typeof n!="number"&&(i=n,n=1/0),typeof t=="number"?(ht(i,!0,h(this,ne,"f")),this.demandCommand(t,n,i,i)):Array.isArray(t)?t.forEach(r=>{ht(i,!0,h(this,ne,"f")),this.demandOption(r,i)}):typeof i=="string"?this.demandOption(t,i):(i===!0||typeof i>"u")&&this.demandOption(t),this}demandOption(t,n){return U("<object|string|array> [string]",[t,n],arguments.length),this[gr](this.demandOption.bind(this),"demandedOptions",t,n),this}deprecateOption(t,n){return U("<string> [string|boolean]",[t,n],arguments.length),h(this,J,"f").deprecatedOptions[t]=n,this}describe(t,n){return U("<object|string|array> [string]",[t,n],arguments.length),this[ru](t,!0),h(this,se,"f").describe(t,n),this}detectLocale(t){return U("<boolean>",[t],arguments.length),W(this,xi,t,"f"),this}env(t){return U("[string|boolean]",[t],arguments.length),t===!1?delete h(this,J,"f").envPrefix:h(this,J,"f").envPrefix=t||"",this}epilogue(t){return U("<string>",[t],arguments.length),h(this,se,"f").epilog(t),this}epilog(t){return this.epilogue(t)}example(t,n){return U("<string|array> [string]",[t,n],arguments.length),Array.isArray(t)?t.forEach(i=>this.example(...i)):h(this,se,"f").example(t,n),this}exit(t,n){W(this,At,!0,"f"),W(this,Dn,n,"f"),h(this,$t,"f")&&h(this,ne,"f").process.exit(t)}exitProcess(t=!0){return U("[boolean]",[t],arguments.length),W(this,$t,t,"f"),this}fail(t){if(U("<function|boolean>",[t],arguments.length),typeof t=="boolean"&&t!==!1)throw new _e("Invalid first argument. Expected function or boolean 'false'");return h(this,se,"f").failFn(t),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(t,n){return U("<array> [function]",[t,n],arguments.length),n?h(this,zt,"f").getCompletion(t,n):new Promise((i,r)=>{h(this,zt,"f").getCompletion(t,(a,s)=>{a?r(a):i(s)})})}getDemandedOptions(){return U([],0),h(this,J,"f").demandedOptions}getDemandedCommands(){return U([],0),h(this,J,"f").demandedCommands}getDeprecatedOptions(){return U([],0),h(this,J,"f").deprecatedOptions}getDetectLocale(){return h(this,xi,"f")}getExitProcess(){return h(this,$t,"f")}getGroups(){return Object.assign({},h(this,un,"f"),h(this,wi,"f"))}getHelp(){if(W(this,At,!0,"f"),!h(this,se,"f").hasCachedHelpMessage()){if(!this.parsed){let n=this[Ia](h(this,zn,"f"),void 0,void 0,0,!0);if(Oe(n))return n.then(()=>h(this,se,"f").help())}let t=h(this,Pe,"f").runDefaultBuilderOn(this);if(Oe(t))return t.then(()=>h(this,se,"f").help())}return Promise.resolve(h(this,se,"f").help())}getOptions(){return h(this,J,"f")}getStrict(){return h(this,_i,"f")}getStrictCommands(){return h(this,Si,"f")}getStrictOptions(){return h(this,Ei,"f")}global(t,n){return U("<string|array> [boolean]",[t,n],arguments.length),t=[].concat(t),n!==!1?h(this,J,"f").local=h(this,J,"f").local.filter(i=>t.indexOf(i)===-1):t.forEach(i=>{h(this,J,"f").local.includes(i)||h(this,J,"f").local.push(i)}),this}group(t,n){U("<string|array> <string>",[t,n],arguments.length);let i=h(this,wi,"f")[n]||h(this,un,"f")[n];h(this,wi,"f")[n]&&delete h(this,wi,"f")[n];let r={};return h(this,un,"f")[n]=(i||[]).concat(t).filter(a=>r[a]?!1:r[a]=!0),this}hide(t){return U("<string>",[t],arguments.length),h(this,J,"f").hiddenOptions.push(t),this}implies(t,n){return U("<string|object> [number|string|array]",[t,n],arguments.length),h(this,Le,"f").implies(t,n),this}locale(t){return U("[string]",[t],arguments.length),t===void 0?(this[Ql](),h(this,ne,"f").y18n.getLocale()):(W(this,xi,!1,"f"),h(this,ne,"f").y18n.setLocale(t),this)}middleware(t,n,i){return h(this,Ut,"f").addMiddleware(t,!!n,i)}nargs(t,n){return U("<string|object|array> [number]",[t,n],arguments.length),this[gr](this.nargs.bind(this),"narg",t,n),this}normalize(t){return U("<array|string>",[t],arguments.length),this[$n]("normalize",t),this}number(t){return U("<array|string>",[t],arguments.length),this[$n]("number",t),this[Ci](t),this}option(t,n){if(U("<string|object> [object]",[t,n],arguments.length),typeof t=="object")Object.keys(t).forEach(i=>{this.options(i,t[i])});else{typeof n!="object"&&(n={}),this[Ci](t),h(this,pn,"f")&&(t==="version"||n?.alias==="version")&&this[am](['"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(`
|
|
250
|
-
`),void 0,"versionWarning"),h(this,J,"f").key[t]=!0,n.alias&&this.alias(t,n.alias);let i=n.deprecate||n.deprecated;i&&this.deprecateOption(t,i);let r=n.demand||n.required||n.require;r&&this.demand(t,r),n.demandOption&&this.demandOption(t,typeof n.demandOption=="string"?n.demandOption:void 0),n.conflicts&&this.conflicts(t,n.conflicts),"default"in n&&this.default(t,n.default),n.implies!==void 0&&this.implies(t,n.implies),n.nargs!==void 0&&this.nargs(t,n.nargs),n.config&&this.config(t,n.configParser),n.normalize&&this.normalize(t),n.choices&&this.choices(t,n.choices),n.coerce&&this.coerce(t,n.coerce),n.group&&this.group(t,n.group),(n.boolean||n.type==="boolean")&&(this.boolean(t),n.alias&&this.boolean(n.alias)),(n.array||n.type==="array")&&(this.array(t),n.alias&&this.array(n.alias)),(n.number||n.type==="number")&&(this.number(t),n.alias&&this.number(n.alias)),(n.string||n.type==="string")&&(this.string(t),n.alias&&this.string(n.alias)),(n.count||n.type==="count")&&this.count(t),typeof n.global=="boolean"&&this.global(t,n.global),n.defaultDescription&&(h(this,J,"f").defaultDescription[t]=n.defaultDescription),n.skipValidation&&this.skipValidation(t);let a=n.describe||n.description||n.desc;this.describe(t,a),n.hidden&&this.hide(t),n.requiresArg&&this.requiresArg(t)}return this}options(t,n){return this.option(t,n)}parse(t,n,i){U("[string|array] [function|boolean|object] [function]",[t,n,i],arguments.length),this[
|
|
249
|
+
`;f.forEach(v=>{m+=v}),t.fail(m)}};let c={};a.conflicts=function(p,f){U("<string|object> [array|string]",[p,f],arguments.length),typeof p=="object"?Object.keys(p).forEach(m=>{a.conflicts(m,p[m])}):(e.global(p),c[p]||(c[p]=[]),Array.isArray(f)?f.forEach(m=>a.conflicts(p,m)):c[p].push(f))},a.getConflicting=()=>c,a.conflicting=function(p){Object.keys(p).forEach(f=>{c[f]&&c[f].forEach(m=>{m&&p[f]!==void 0&&p[m]!==void 0&&t.fail(i("Arguments %s and %s are mutually exclusive",f,m))})}),e.getInternalMethods().getParserConfiguration()["strip-dashed"]&&Object.keys(c).forEach(f=>{c[f].forEach(m=>{m&&p[n.Parser.camelCase(f)]!==void 0&&p[n.Parser.camelCase(m)]!==void 0&&t.fail(i("Arguments %s and %s are mutually exclusive",f,m))})})},a.recommendCommands=function(p,f){f=f.sort((d,x)=>x.length-d.length);let v=null,g=1/0;for(let d=0,x;(x=f[d])!==void 0;d++){let _=em(p,x);_<=3&&_<g&&(g=_,v=x)}v&&t.fail(i("Did you mean %s?",v))},a.reset=function(p){return s=Bn(s,f=>!p[f]),c=Bn(c,f=>!p[f]),a};let u=[];return a.freeze=function(){u.push({implied:s,conflicting:c})},a.unfreeze=function(){let p=u.pop();ht(p,void 0,n),{implied:s,conflicting:c}=p},a}var Xl=[],Ra;function Na(e,t,n,i){Ra=i;let r={};if(Object.prototype.hasOwnProperty.call(e,"extends")){if(typeof e.extends!="string")return r;let a=/\.json|\..*rc$/.test(e.extends),s=null;if(a)s=PE(t,e.extends);else try{s=require.resolve(e.extends)}catch{return e}qE(s),Xl.push(s),r=a?JSON.parse(Ra.readFileSync(s,"utf8")):require(e.extends),delete e.extends,r=Na(r,Ra.path.dirname(s),n,Ra)}return Xl=[],n?im(r,e):Object.assign({},r,e)}function qE(e){if(Xl.indexOf(e)>-1)throw new _e(`Circular extended configurations: '${e}'.`)}function PE(e,t){return Ra.path.resolve(e,t)}function im(e,t){let n={};function i(r){return r&&typeof r=="object"&&!Array.isArray(r)}Object.assign(n,e);for(let r of Object.keys(t))i(t[r])&&i(n[r])?n[r]=im(e[r],t[r]):n[r]=t[r];return n}var W=function(e,t,n,i,r){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!r)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?r.call(e,n):r?r.value=n:t.set(e,n),n},h=function(e,t,n,i){if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)},Pe,bi,La,zt,Ct,so,Dn,xi,oo,$t,co,Ut,un,At,Wt,lo,hr,Ge,J,uo,po,Tt,yi,mr,wi,zn,fo,ne,_i,Si,Ei,se,pn,Le;function _m(e){return(t=[],n=e.process.cwd(),i)=>{let r=new lu(t,n,i,e);return Object.defineProperty(r,"argv",{get:()=>r.parse(),enumerable:!0}),r.help(),r.version(),r}}var rm=Symbol("copyDoubleDash"),am=Symbol("copyDoubleDash"),Ql=Symbol("deleteFromParserHintObject"),sm=Symbol("emitWarning"),om=Symbol("freeze"),cm=Symbol("getDollarZero"),Oi=Symbol("getParserConfiguration"),eu=Symbol("guessLocale"),lm=Symbol("guessVersion"),um=Symbol("parsePositionalNumbers"),tu=Symbol("pkgUp"),$n=Symbol("populateParserHintArray"),gr=Symbol("populateParserHintSingleValueDictionary"),nu=Symbol("populateParserHintArrayDictionary"),iu=Symbol("populateParserHintDictionary"),ru=Symbol("sanitizeKey"),au=Symbol("setKey"),su=Symbol("unfreeze"),pm=Symbol("validateAsync"),fm=Symbol("getCommandInstance"),dm=Symbol("getContext"),hm=Symbol("getHasOutput"),mm=Symbol("getLoggerInstance"),gm=Symbol("getParseContext"),vm=Symbol("getUsageInstance"),bm=Symbol("getValidationInstance"),ho=Symbol("hasParseCallback"),xm=Symbol("isGlobalContext"),ki=Symbol("postProcess"),ym=Symbol("rebase"),ou=Symbol("reset"),Ia=Symbol("runYargsParserAndExecuteCommands"),cu=Symbol("runValidation"),wm=Symbol("setHasOutput"),Ci=Symbol("kTrackManuallySetKeys"),lu=class{constructor(t=[],n,i,r){this.customScriptName=!1,this.parsed=!1,Pe.set(this,void 0),bi.set(this,void 0),La.set(this,{commands:[],fullCommands:[]}),zt.set(this,null),Ct.set(this,null),so.set(this,"show-hidden"),Dn.set(this,null),xi.set(this,!0),oo.set(this,{}),$t.set(this,!0),co.set(this,[]),Ut.set(this,void 0),un.set(this,{}),At.set(this,!1),Wt.set(this,null),lo.set(this,!0),hr.set(this,void 0),Ge.set(this,""),J.set(this,void 0),uo.set(this,void 0),po.set(this,{}),Tt.set(this,null),yi.set(this,null),mr.set(this,{}),wi.set(this,{}),zn.set(this,void 0),fo.set(this,!1),ne.set(this,void 0),_i.set(this,!1),Si.set(this,!1),Ei.set(this,!1),se.set(this,void 0),pn.set(this,null),Le.set(this,void 0),W(this,ne,r,"f"),W(this,zn,t,"f"),W(this,bi,n,"f"),W(this,uo,i,"f"),W(this,Ut,new io(this),"f"),this.$0=this[cm](),this[ou](),W(this,Pe,h(this,Pe,"f"),"f"),W(this,se,h(this,se,"f"),"f"),W(this,Le,h(this,Le,"f"),"f"),W(this,J,h(this,J,"f"),"f"),h(this,J,"f").showHiddenOpt=h(this,so,"f"),W(this,hr,this[am](),"f")}addHelpOpt(t,n){let i="help";return U("[string|boolean] [string]",[t,n],arguments.length),h(this,Wt,"f")&&(this[Ql](h(this,Wt,"f")),W(this,Wt,null,"f")),t===!1&&n===void 0?this:(W(this,Wt,typeof t=="string"?t:i,"f"),this.boolean(h(this,Wt,"f")),this.describe(h(this,Wt,"f"),n||h(this,se,"f").deferY18nLookup("Show help")),this)}help(t,n){return this.addHelpOpt(t,n)}addShowHiddenOpt(t,n){if(U("[string|boolean] [string]",[t,n],arguments.length),t===!1&&n===void 0)return this;let i=typeof t=="string"?t:h(this,so,"f");return this.boolean(i),this.describe(i,n||h(this,se,"f").deferY18nLookup("Show hidden options")),h(this,J,"f").showHiddenOpt=i,this}showHidden(t,n){return this.addShowHiddenOpt(t,n)}alias(t,n){return U("<object|string|array> [string|array]",[t,n],arguments.length),this[nu](this.alias.bind(this),"alias",t,n),this}array(t){return U("<array|string>",[t],arguments.length),this[$n]("array",t),this[Ci](t),this}boolean(t){return U("<array|string>",[t],arguments.length),this[$n]("boolean",t),this[Ci](t),this}check(t,n){return U("<function> [boolean]",[t,n],arguments.length),this.middleware((i,r)=>vi(()=>t(i,r.getOptions()),a=>(a?(typeof a=="string"||a instanceof Error)&&h(this,se,"f").fail(a.toString(),a):h(this,se,"f").fail(h(this,ne,"f").y18n.__("Argument check failed: %s",t.toString())),i),a=>(h(this,se,"f").fail(a.message?a.message:a.toString(),a),i)),!1,n),this}choices(t,n){return U("<object|string|array> [string|array]",[t,n],arguments.length),this[nu](this.choices.bind(this),"choices",t,n),this}coerce(t,n){if(U("<object|string|array> [function]",[t,n],arguments.length),Array.isArray(t)){if(!n)throw new _e("coerce callback must be provided");for(let i of t)this.coerce(i,n);return this}else if(typeof t=="object"){for(let i of Object.keys(t))this.coerce(i,t[i]);return this}if(!n)throw new _e("coerce callback must be provided");return h(this,J,"f").key[t]=!0,h(this,Ut,"f").addCoerceMiddleware((i,r)=>{let a;return Object.prototype.hasOwnProperty.call(i,t)?vi(()=>(a=r.getAliases(),n(i[t])),o=>{i[t]=o;let c=r.getInternalMethods().getParserConfiguration()["strip-aliased"];if(a[t]&&c!==!0)for(let u of a[t])i[u]=o;return i},o=>{throw new _e(o.message)}):i},t),this}conflicts(t,n){return U("<string|object> [string|array]",[t,n],arguments.length),h(this,Le,"f").conflicts(t,n),this}config(t="config",n,i){return U("[object|string] [string|function] [function]",[t,n,i],arguments.length),typeof t=="object"&&!Array.isArray(t)?(t=Na(t,h(this,bi,"f"),this[Oi]()["deep-merge-config"]||!1,h(this,ne,"f")),h(this,J,"f").configObjects=(h(this,J,"f").configObjects||[]).concat(t),this):(typeof n=="function"&&(i=n,n=void 0),this.describe(t,n||h(this,se,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(t)?t:[t]).forEach(r=>{h(this,J,"f").config[r]=i||!0}),this)}completion(t,n,i){return U("[string] [string|boolean|function] [function]",[t,n,i],arguments.length),typeof n=="function"&&(i=n,n=void 0),W(this,Ct,t||h(this,Ct,"f")||"completion","f"),!n&&n!==!1&&(n="generate completion script"),this.command(h(this,Ct,"f"),n),i&&h(this,zt,"f").registerFunction(i),this}command(t,n,i,r,a,s){return U("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[t,n,i,r,a,s],arguments.length),h(this,Pe,"f").addHandler(t,n,i,r,a,s),this}commands(t,n,i,r,a,s){return this.command(t,n,i,r,a,s)}commandDir(t,n){U("<string> [object]",[t,n],arguments.length);let i=h(this,uo,"f")||h(this,ne,"f").require;return h(this,Pe,"f").addDirectory(t,i,h(this,ne,"f").getCallerFile(),n),this}count(t){return U("<array|string>",[t],arguments.length),this[$n]("count",t),this[Ci](t),this}default(t,n,i){return U("<object|string|array> [*] [string]",[t,n,i],arguments.length),i&&(Hl(t,h(this,ne,"f")),h(this,J,"f").defaultDescription[t]=i),typeof n=="function"&&(Hl(t,h(this,ne,"f")),h(this,J,"f").defaultDescription[t]||(h(this,J,"f").defaultDescription[t]=h(this,se,"f").functionDescription(n)),n=n.call()),this[gr](this.default.bind(this),"default",t,n),this}defaults(t,n,i){return this.default(t,n,i)}demandCommand(t=1,n,i,r){return U("[number] [number|string] [string|null|undefined] [string|null|undefined]",[t,n,i,r],arguments.length),typeof n!="number"&&(i=n,n=1/0),this.global("_",!1),h(this,J,"f").demandedCommands._={min:t,max:n,minMsg:i,maxMsg:r},this}demand(t,n,i){return Array.isArray(n)?(n.forEach(r=>{ht(i,!0,h(this,ne,"f")),this.demandOption(r,i)}),n=1/0):typeof n!="number"&&(i=n,n=1/0),typeof t=="number"?(ht(i,!0,h(this,ne,"f")),this.demandCommand(t,n,i,i)):Array.isArray(t)?t.forEach(r=>{ht(i,!0,h(this,ne,"f")),this.demandOption(r,i)}):typeof i=="string"?this.demandOption(t,i):(i===!0||typeof i>"u")&&this.demandOption(t),this}demandOption(t,n){return U("<object|string|array> [string]",[t,n],arguments.length),this[gr](this.demandOption.bind(this),"demandedOptions",t,n),this}deprecateOption(t,n){return U("<string> [string|boolean]",[t,n],arguments.length),h(this,J,"f").deprecatedOptions[t]=n,this}describe(t,n){return U("<object|string|array> [string]",[t,n],arguments.length),this[au](t,!0),h(this,se,"f").describe(t,n),this}detectLocale(t){return U("<boolean>",[t],arguments.length),W(this,xi,t,"f"),this}env(t){return U("[string|boolean]",[t],arguments.length),t===!1?delete h(this,J,"f").envPrefix:h(this,J,"f").envPrefix=t||"",this}epilogue(t){return U("<string>",[t],arguments.length),h(this,se,"f").epilog(t),this}epilog(t){return this.epilogue(t)}example(t,n){return U("<string|array> [string]",[t,n],arguments.length),Array.isArray(t)?t.forEach(i=>this.example(...i)):h(this,se,"f").example(t,n),this}exit(t,n){W(this,At,!0,"f"),W(this,Dn,n,"f"),h(this,$t,"f")&&h(this,ne,"f").process.exit(t)}exitProcess(t=!0){return U("[boolean]",[t],arguments.length),W(this,$t,t,"f"),this}fail(t){if(U("<function|boolean>",[t],arguments.length),typeof t=="boolean"&&t!==!1)throw new _e("Invalid first argument. Expected function or boolean 'false'");return h(this,se,"f").failFn(t),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(t,n){return U("<array> [function]",[t,n],arguments.length),n?h(this,zt,"f").getCompletion(t,n):new Promise((i,r)=>{h(this,zt,"f").getCompletion(t,(a,s)=>{a?r(a):i(s)})})}getDemandedOptions(){return U([],0),h(this,J,"f").demandedOptions}getDemandedCommands(){return U([],0),h(this,J,"f").demandedCommands}getDeprecatedOptions(){return U([],0),h(this,J,"f").deprecatedOptions}getDetectLocale(){return h(this,xi,"f")}getExitProcess(){return h(this,$t,"f")}getGroups(){return Object.assign({},h(this,un,"f"),h(this,wi,"f"))}getHelp(){if(W(this,At,!0,"f"),!h(this,se,"f").hasCachedHelpMessage()){if(!this.parsed){let n=this[Ia](h(this,zn,"f"),void 0,void 0,0,!0);if(Oe(n))return n.then(()=>h(this,se,"f").help())}let t=h(this,Pe,"f").runDefaultBuilderOn(this);if(Oe(t))return t.then(()=>h(this,se,"f").help())}return Promise.resolve(h(this,se,"f").help())}getOptions(){return h(this,J,"f")}getStrict(){return h(this,_i,"f")}getStrictCommands(){return h(this,Si,"f")}getStrictOptions(){return h(this,Ei,"f")}global(t,n){return U("<string|array> [boolean]",[t,n],arguments.length),t=[].concat(t),n!==!1?h(this,J,"f").local=h(this,J,"f").local.filter(i=>t.indexOf(i)===-1):t.forEach(i=>{h(this,J,"f").local.includes(i)||h(this,J,"f").local.push(i)}),this}group(t,n){U("<string|array> <string>",[t,n],arguments.length);let i=h(this,wi,"f")[n]||h(this,un,"f")[n];h(this,wi,"f")[n]&&delete h(this,wi,"f")[n];let r={};return h(this,un,"f")[n]=(i||[]).concat(t).filter(a=>r[a]?!1:r[a]=!0),this}hide(t){return U("<string>",[t],arguments.length),h(this,J,"f").hiddenOptions.push(t),this}implies(t,n){return U("<string|object> [number|string|array]",[t,n],arguments.length),h(this,Le,"f").implies(t,n),this}locale(t){return U("[string]",[t],arguments.length),t===void 0?(this[eu](),h(this,ne,"f").y18n.getLocale()):(W(this,xi,!1,"f"),h(this,ne,"f").y18n.setLocale(t),this)}middleware(t,n,i){return h(this,Ut,"f").addMiddleware(t,!!n,i)}nargs(t,n){return U("<string|object|array> [number]",[t,n],arguments.length),this[gr](this.nargs.bind(this),"narg",t,n),this}normalize(t){return U("<array|string>",[t],arguments.length),this[$n]("normalize",t),this}number(t){return U("<array|string>",[t],arguments.length),this[$n]("number",t),this[Ci](t),this}option(t,n){if(U("<string|object> [object]",[t,n],arguments.length),typeof t=="object")Object.keys(t).forEach(i=>{this.options(i,t[i])});else{typeof n!="object"&&(n={}),this[Ci](t),h(this,pn,"f")&&(t==="version"||n?.alias==="version")&&this[sm](['"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(`
|
|
250
|
+
`),void 0,"versionWarning"),h(this,J,"f").key[t]=!0,n.alias&&this.alias(t,n.alias);let i=n.deprecate||n.deprecated;i&&this.deprecateOption(t,i);let r=n.demand||n.required||n.require;r&&this.demand(t,r),n.demandOption&&this.demandOption(t,typeof n.demandOption=="string"?n.demandOption:void 0),n.conflicts&&this.conflicts(t,n.conflicts),"default"in n&&this.default(t,n.default),n.implies!==void 0&&this.implies(t,n.implies),n.nargs!==void 0&&this.nargs(t,n.nargs),n.config&&this.config(t,n.configParser),n.normalize&&this.normalize(t),n.choices&&this.choices(t,n.choices),n.coerce&&this.coerce(t,n.coerce),n.group&&this.group(t,n.group),(n.boolean||n.type==="boolean")&&(this.boolean(t),n.alias&&this.boolean(n.alias)),(n.array||n.type==="array")&&(this.array(t),n.alias&&this.array(n.alias)),(n.number||n.type==="number")&&(this.number(t),n.alias&&this.number(n.alias)),(n.string||n.type==="string")&&(this.string(t),n.alias&&this.string(n.alias)),(n.count||n.type==="count")&&this.count(t),typeof n.global=="boolean"&&this.global(t,n.global),n.defaultDescription&&(h(this,J,"f").defaultDescription[t]=n.defaultDescription),n.skipValidation&&this.skipValidation(t);let a=n.describe||n.description||n.desc;this.describe(t,a),n.hidden&&this.hide(t),n.requiresArg&&this.requiresArg(t)}return this}options(t,n){return this.option(t,n)}parse(t,n,i){U("[string|array] [function|boolean|object] [function]",[t,n,i],arguments.length),this[om](),typeof t>"u"&&(t=h(this,zn,"f")),typeof n=="object"&&(W(this,yi,n,"f"),n=i),typeof n=="function"&&(W(this,Tt,n,"f"),n=!1),n||W(this,zn,t,"f"),h(this,Tt,"f")&&W(this,$t,!1,"f");let r=this[Ia](t,!!n),a=this.parsed;return h(this,zt,"f").setParsed(this.parsed),Oe(r)?r.then(s=>(h(this,Tt,"f")&&h(this,Tt,"f").call(this,h(this,Dn,"f"),s,h(this,Ge,"f")),s)).catch(s=>{throw h(this,Tt,"f")&&h(this,Tt,"f")(s,this.parsed.argv,h(this,Ge,"f")),s}).finally(()=>{this[su](),this.parsed=a}):(h(this,Tt,"f")&&h(this,Tt,"f").call(this,h(this,Dn,"f"),r,h(this,Ge,"f")),this[su](),this.parsed=a,r)}parseAsync(t,n,i){let r=this.parse(t,n,i);return Oe(r)?r:Promise.resolve(r)}parseSync(t,n,i){let r=this.parse(t,n,i);if(Oe(r))throw new _e(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return r}parserConfiguration(t){return U("<object>",[t],arguments.length),W(this,po,t,"f"),this}pkgConf(t,n){U("<string> [string]",[t,n],arguments.length);let i=null,r=this[tu](n||h(this,bi,"f"));return r[t]&&typeof r[t]=="object"&&(i=Na(r[t],n||h(this,bi,"f"),this[Oi]()["deep-merge-config"]||!1,h(this,ne,"f")),h(this,J,"f").configObjects=(h(this,J,"f").configObjects||[]).concat(i)),this}positional(t,n){U("<string> <object>",[t,n],arguments.length);let i=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];n=Bn(n,(s,o)=>s==="type"&&!["string","number","boolean"].includes(o)?!1:i.includes(s));let r=h(this,La,"f").fullCommands[h(this,La,"f").fullCommands.length-1],a=r?h(this,Pe,"f").cmdToParseOptions(r):{array:[],alias:{},default:{},demand:{}};return fr(a).forEach(s=>{let o=a[s];Array.isArray(o)?o.indexOf(t)!==-1&&(n[s]=!0):o[t]&&!(s in n)&&(n[s]=o[t])}),this.group(t,h(this,se,"f").getPositionalGroupName()),this.option(t,n)}recommendCommands(t=!0){return U("[boolean]",[t],arguments.length),W(this,fo,t,"f"),this}required(t,n,i){return this.demand(t,n,i)}require(t,n,i){return this.demand(t,n,i)}requiresArg(t){return U("<array|string|object> [number]",[t],arguments.length),typeof t=="string"&&h(this,J,"f").narg[t]?this:(this[gr](this.requiresArg.bind(this),"narg",t,NaN),this)}showCompletionScript(t,n){return U("[string] [string]",[t,n],arguments.length),t=t||this.$0,h(this,hr,"f").log(h(this,zt,"f").generateCompletionScript(t,n||h(this,Ct,"f")||"completion")),this}showHelp(t){if(U("[string|function]",[t],arguments.length),W(this,At,!0,"f"),!h(this,se,"f").hasCachedHelpMessage()){if(!this.parsed){let i=this[Ia](h(this,zn,"f"),void 0,void 0,0,!0);if(Oe(i))return i.then(()=>{h(this,se,"f").showHelp(t)}),this}let n=h(this,Pe,"f").runDefaultBuilderOn(this);if(Oe(n))return n.then(()=>{h(this,se,"f").showHelp(t)}),this}return h(this,se,"f").showHelp(t),this}scriptName(t){return this.customScriptName=!0,this.$0=t,this}showHelpOnFail(t,n){return U("[boolean|string] [string]",[t,n],arguments.length),h(this,se,"f").showHelpOnFail(t,n),this}showVersion(t){return U("[string|function]",[t],arguments.length),h(this,se,"f").showVersion(t),this}skipValidation(t){return U("<array|string>",[t],arguments.length),this[$n]("skipValidation",t),this}strict(t){return U("[boolean]",[t],arguments.length),W(this,_i,t!==!1,"f"),this}strictCommands(t){return U("[boolean]",[t],arguments.length),W(this,Si,t!==!1,"f"),this}strictOptions(t){return U("[boolean]",[t],arguments.length),W(this,Ei,t!==!1,"f"),this}string(t){return U("<array|string>",[t],arguments.length),this[$n]("string",t),this[Ci](t),this}terminalWidth(){return U([],0),h(this,ne,"f").process.stdColumns}updateLocale(t){return this.updateStrings(t)}updateStrings(t){return U("<object>",[t],arguments.length),W(this,xi,!1,"f"),h(this,ne,"f").y18n.updateLocale(t),this}usage(t,n,i,r){if(U("<string|null|undefined> [string|boolean] [function|object] [function]",[t,n,i,r],arguments.length),n!==void 0){if(ht(t,null,h(this,ne,"f")),(t||"").match(/^\$0( |$)/))return this.command(t,n,i,r);throw new _e(".usage() description must start with $0 if being used as alias for .command()")}else return h(this,se,"f").usage(t),this}version(t,n,i){let r="version";if(U("[boolean|string] [string] [string]",[t,n,i],arguments.length),h(this,pn,"f")&&(this[Ql](h(this,pn,"f")),h(this,se,"f").version(void 0),W(this,pn,null,"f")),arguments.length===0)i=this[lm](),t=r;else if(arguments.length===1){if(t===!1)return this;i=t,t=r}else arguments.length===2&&(i=n,n=void 0);return W(this,pn,typeof t=="string"?t:r,"f"),n=n||h(this,se,"f").deferY18nLookup("Show version number"),h(this,se,"f").version(i||void 0),this.boolean(h(this,pn,"f")),this.describe(h(this,pn,"f"),n),this}wrap(t){return U("<number|null|undefined>",[t],arguments.length),h(this,se,"f").wrap(t),this}[(Pe=new WeakMap,bi=new WeakMap,La=new WeakMap,zt=new WeakMap,Ct=new WeakMap,so=new WeakMap,Dn=new WeakMap,xi=new WeakMap,oo=new WeakMap,$t=new WeakMap,co=new WeakMap,Ut=new WeakMap,un=new WeakMap,At=new WeakMap,Wt=new WeakMap,lo=new WeakMap,hr=new WeakMap,Ge=new WeakMap,J=new WeakMap,uo=new WeakMap,po=new WeakMap,Tt=new WeakMap,yi=new WeakMap,mr=new WeakMap,wi=new WeakMap,zn=new WeakMap,fo=new WeakMap,ne=new WeakMap,_i=new WeakMap,Si=new WeakMap,Ei=new WeakMap,se=new WeakMap,pn=new WeakMap,Le=new WeakMap,rm)](t){if(!t._||!t["--"])return t;t._.push.apply(t._,t["--"]);try{delete t["--"]}catch{}return t}[am](){return{log:(...t)=>{this[ho]()||console.log(...t),W(this,At,!0,"f"),h(this,Ge,"f").length&&W(this,Ge,h(this,Ge,"f")+`
|
|
251
251
|
`,"f"),W(this,Ge,h(this,Ge,"f")+t.join(" "),"f")},error:(...t)=>{this[ho]()||console.error(...t),W(this,At,!0,"f"),h(this,Ge,"f").length&&W(this,Ge,h(this,Ge,"f")+`
|
|
252
|
-
`,"f"),W(this,Ge,h(this,Ge,"f")+t.join(" "),"f")}}}[Xl](t){fr(h(this,J,"f")).forEach(n=>{if((r=>r==="configObjects")(n))return;let i=h(this,J,"f")[n];Array.isArray(i)?i.includes(t)&&i.splice(i.indexOf(t),1):typeof i=="object"&&delete i[t]}),delete h(this,se,"f").getDescriptions()[t]}[am](t,n,i){h(this,oo,"f")[i]||(h(this,ne,"f").process.emitWarning(t,n),h(this,oo,"f")[i]=!0)}[sm](){h(this,co,"f").push({options:h(this,J,"f"),configObjects:h(this,J,"f").configObjects.slice(0),exitProcess:h(this,$t,"f"),groups:h(this,un,"f"),strict:h(this,_i,"f"),strictCommands:h(this,Si,"f"),strictOptions:h(this,Ei,"f"),completionCommand:h(this,Ct,"f"),output:h(this,Ge,"f"),exitError:h(this,Dn,"f"),hasOutput:h(this,At,"f"),parsed:this.parsed,parseFn:h(this,Tt,"f"),parseContext:h(this,yi,"f")}),h(this,se,"f").freeze(),h(this,Le,"f").freeze(),h(this,Pe,"f").freeze(),h(this,Ut,"f").freeze()}[om](){let t="",n;return/\b(node|iojs|electron)(\.exe)?$/.test(h(this,ne,"f").process.argv()[0])?n=h(this,ne,"f").process.argv().slice(1,2):n=h(this,ne,"f").process.argv().slice(0,1),t=n.map(i=>{let r=this[xm](h(this,bi,"f"),i);return i.match(/^(\/|([a-zA-Z]:)?\\)/)&&r.length<i.length?r:i}).join(" ").trim(),h(this,ne,"f").getEnv("_")&&h(this,ne,"f").getProcessArgvBin()===h(this,ne,"f").getEnv("_")&&(t=h(this,ne,"f").getEnv("_").replace(`${h(this,ne,"f").path.dirname(h(this,ne,"f").process.execPath())}/`,"")),t}[Oi](){return h(this,po,"f")}[Ql](){if(!h(this,xi,"f"))return;let t=h(this,ne,"f").getEnv("LC_ALL")||h(this,ne,"f").getEnv("LC_MESSAGES")||h(this,ne,"f").getEnv("LANG")||h(this,ne,"f").getEnv("LANGUAGE")||"en_US";this.locale(t.replace(/[.:].*/,""))}[cm](){return this[eu]().version||"unknown"}[lm](t){let n=t["--"]?t["--"]:t._;for(let i=0,r;(r=n[i])!==void 0;i++)h(this,ne,"f").Parser.looksLikeNumber(r)&&Number.isSafeInteger(Math.floor(parseFloat(`${r}`)))&&(n[i]=Number(r));return t}[eu](t){let n=t||"*";if(h(this,mr,"f")[n])return h(this,mr,"f")[n];let i={};try{let r=t||h(this,ne,"f").mainFilename;!t&&h(this,ne,"f").path.extname(r)&&(r=h(this,ne,"f").path.dirname(r));let a=h(this,ne,"f").findUp(r,(s,o)=>{if(o.includes("package.json"))return"package.json"});ht(a,void 0,h(this,ne,"f")),i=JSON.parse(h(this,ne,"f").readFileSync(a,"utf8"))}catch{}return h(this,mr,"f")[n]=i||{},h(this,mr,"f")[n]}[$n](t,n){n=[].concat(n),n.forEach(i=>{i=this[iu](i),h(this,J,"f")[t].push(i)})}[gr](t,n,i,r){this[nu](t,n,i,r,(a,s,o)=>{h(this,J,"f")[a][s]=o})}[tu](t,n,i,r){this[nu](t,n,i,r,(a,s,o)=>{h(this,J,"f")[a][s]=(h(this,J,"f")[a][s]||[]).concat(o)})}[nu](t,n,i,r,a){if(Array.isArray(i))i.forEach(s=>{t(s,r)});else if((s=>typeof s=="object")(i))for(let s of fr(i))t(s,i[s]);else a(n,this[iu](i),r)}[iu](t){return t==="__proto__"?"___proto___":t}[ru](t,n){return this[gr](this[ru].bind(this),"key",t,n),this}[au](){var t,n,i,r,a,s,o,c,u,l,p,f;let m=h(this,co,"f").pop();ht(m,void 0,h(this,ne,"f"));let v;t=this,n=this,i=this,r=this,a=this,s=this,o=this,c=this,u=this,l=this,p=this,f=this,{options:{set value(g){W(t,J,g,"f")}}.value,configObjects:v,exitProcess:{set value(g){W(n,$t,g,"f")}}.value,groups:{set value(g){W(i,un,g,"f")}}.value,output:{set value(g){W(r,Ge,g,"f")}}.value,exitError:{set value(g){W(a,Dn,g,"f")}}.value,hasOutput:{set value(g){W(s,At,g,"f")}}.value,parsed:this.parsed,strict:{set value(g){W(o,_i,g,"f")}}.value,strictCommands:{set value(g){W(c,Si,g,"f")}}.value,strictOptions:{set value(g){W(u,Ei,g,"f")}}.value,completionCommand:{set value(g){W(l,Ct,g,"f")}}.value,parseFn:{set value(g){W(p,Tt,g,"f")}}.value,parseContext:{set value(g){W(f,yi,g,"f")}}.value}=m,h(this,J,"f").configObjects=v,h(this,se,"f").unfreeze(),h(this,Le,"f").unfreeze(),h(this,Pe,"f").unfreeze(),h(this,Ut,"f").unfreeze()}[um](t,n){return vi(n,i=>(t(i),i))}getInternalMethods(){return{getCommandInstance:this[pm].bind(this),getContext:this[fm].bind(this),getHasOutput:this[dm].bind(this),getLoggerInstance:this[hm].bind(this),getParseContext:this[mm].bind(this),getParserConfiguration:this[Oi].bind(this),getUsageInstance:this[gm].bind(this),getValidationInstance:this[vm].bind(this),hasParseCallback:this[ho].bind(this),isGlobalContext:this[bm].bind(this),postProcess:this[ki].bind(this),reset:this[su].bind(this),runValidation:this[ou].bind(this),runYargsParserAndExecuteCommands:this[Ia].bind(this),setHasOutput:this[ym].bind(this)}}[pm](){return h(this,Pe,"f")}[fm](){return h(this,La,"f")}[dm](){return h(this,At,"f")}[hm](){return h(this,hr,"f")}[mm](){return h(this,yi,"f")||{}}[gm](){return h(this,se,"f")}[vm](){return h(this,Le,"f")}[ho](){return!!h(this,Tt,"f")}[bm](){return h(this,lo,"f")}[ki](t,n,i,r){return i||Oe(t)||(n||(t=this[im](t)),(this[Oi]()["parse-positional-numbers"]||this[Oi]()["parse-positional-numbers"]===void 0)&&(t=this[lm](t)),r&&(t=gi(t,this,h(this,Ut,"f").getMiddleware(),!1))),t}[su](t={}){W(this,J,h(this,J,"f")||{},"f");let n={};n.local=h(this,J,"f").local||[],n.configObjects=h(this,J,"f").configObjects||[];let i={};n.local.forEach(s=>{i[s]=!0,(t[s]||[]).forEach(o=>{i[o]=!0})}),Object.assign(h(this,wi,"f"),Object.keys(h(this,un,"f")).reduce((s,o)=>{let c=h(this,un,"f")[o].filter(u=>!(u in i));return c.length>0&&(s[o]=c),s},{})),W(this,un,{},"f");let r=["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"],a=["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"];return r.forEach(s=>{n[s]=(h(this,J,"f")[s]||[]).filter(o=>!i[o])}),a.forEach(s=>{n[s]=Bn(h(this,J,"f")[s],o=>!i[o])}),n.envPrefix=h(this,J,"f").envPrefix,W(this,J,n,"f"),W(this,se,h(this,se,"f")?h(this,se,"f").reset(i):Vh(this,h(this,ne,"f")),"f"),W(this,Le,h(this,Le,"f")?h(this,Le,"f").reset(i):tm(this,h(this,se,"f"),h(this,ne,"f")),"f"),W(this,Pe,h(this,Pe,"f")?h(this,Pe,"f").reset():Yh(h(this,se,"f"),h(this,Le,"f"),h(this,Ut,"f"),h(this,ne,"f")),"f"),h(this,zt,"f")||W(this,zt,Xh(this,h(this,se,"f"),h(this,Pe,"f"),h(this,ne,"f")),"f"),h(this,Ut,"f").reset(),W(this,Ct,null,"f"),W(this,Ge,"","f"),W(this,Dn,null,"f"),W(this,At,!1,"f"),this.parsed=!1,this}[xm](t,n){return h(this,ne,"f").path.relative(t,n)}[Ia](t,n,i,r=0,a=!1){let s=!!i||a;t=t||h(this,zn,"f"),h(this,J,"f").__=h(this,ne,"f").y18n.__,h(this,J,"f").configuration=this[Oi]();let o=!!h(this,J,"f").configuration["populate--"],c=Object.assign({},h(this,J,"f").configuration,{"populate--":!0}),u=h(this,ne,"f").Parser.detailed(t,Object.assign({},h(this,J,"f"),{configuration:{"parse-positional-numbers":!1,...c}})),l=Object.assign(u.argv,h(this,yi,"f")),p,f=u.aliases,m=!1,v=!1;Object.keys(l).forEach(g=>{g===h(this,Wt,"f")&&l[g]?m=!0:g===h(this,pn,"f")&&l[g]&&(v=!0)}),l.$0=this.$0,this.parsed=u,r===0&&h(this,se,"f").clearCachedHelpMessage();try{if(this[Ql](),n)return this[ki](l,o,!!i,!1);h(this,Wt,"f")&&[h(this,Wt,"f")].concat(f[h(this,Wt,"f")]||[]).filter(C=>C.length>1).includes(""+l._[l._.length-1])&&(l._.pop(),m=!0),W(this,lo,!1,"f");let g=h(this,Pe,"f").getCommands(),d=h(this,zt,"f").completionKey in l,x=m||d||a;if(l._.length){if(g.length){let _;for(let C=r||0,k;l._[C]!==void 0;C++)if(k=String(l._[C]),g.includes(k)&&k!==h(this,Ct,"f")){let O=h(this,Pe,"f").runCommand(k,this,u,C+1,a,m||v||a);return this[ki](O,o,!!i,!1)}else if(!_&&k!==h(this,Ct,"f")){_=k;break}!h(this,Pe,"f").hasDefaultCommand()&&h(this,fo,"f")&&_&&!x&&h(this,Le,"f").recommendCommands(_,g)}h(this,Ct,"f")&&l._.includes(h(this,Ct,"f"))&&!d&&(h(this,$t,"f")&&Fn(!0),this.showCompletionScript(),this.exit(0))}if(h(this,Pe,"f").hasDefaultCommand()&&!x){let _=h(this,Pe,"f").runCommand(null,this,u,0,a,m||v||a);return this[ki](_,o,!!i,!1)}if(d){h(this,$t,"f")&&Fn(!0),t=[].concat(t);let _=t.slice(t.indexOf(`--${h(this,zt,"f").completionKey}`)+1);return h(this,zt,"f").getCompletion(_,(C,k)=>{if(C)throw new _e(C.message);(k||[]).forEach(O=>{h(this,hr,"f").log(O)}),this.exit(0)}),this[ki](l,!o,!!i,!1)}if(h(this,At,"f")||(m?(h(this,$t,"f")&&Fn(!0),s=!0,this.showHelp("log"),this.exit(0)):v&&(h(this,$t,"f")&&Fn(!0),s=!0,h(this,se,"f").showVersion("log"),this.exit(0))),!s&&h(this,J,"f").skipValidation.length>0&&(s=Object.keys(l).some(_=>h(this,J,"f").skipValidation.indexOf(_)>=0&&l[_]===!0)),!s){if(u.error)throw new _e(u.error.message);if(!d){let _=this[ou](f,{},u.error);i||(p=gi(l,this,h(this,Ut,"f").getMiddleware(),!0)),p=this[um](_,p??l),Oe(p)&&!i&&(p=p.then(()=>gi(l,this,h(this,Ut,"f").getMiddleware(),!1)))}}}catch(g){if(g instanceof _e)h(this,se,"f").fail(g.message,g);else throw g}return this[ki](p??l,o,!!i,!0)}[ou](t,n,i,r){let a={...this.getDemandedOptions()};return s=>{if(i)throw new _e(i.message);h(this,Le,"f").nonOptionCount(s),h(this,Le,"f").requiredArguments(s,a);let o=!1;h(this,Si,"f")&&(o=h(this,Le,"f").unknownCommands(s)),h(this,_i,"f")&&!o?h(this,Le,"f").unknownArguments(s,t,n,!!r):h(this,Ei,"f")&&h(this,Le,"f").unknownArguments(s,t,{},!1,!1),h(this,Le,"f").limitedChoices(s),h(this,Le,"f").implications(s),h(this,Le,"f").conflicting(s)}}[ym](){W(this,At,!0,"f")}[Ci](t){if(typeof t=="string")h(this,J,"f").key[t]=!0;else for(let n of t)h(this,J,"f").key[n]=!0}};function Hh(e){return!!e&&typeof e.getInternalMethods=="function"}var BE=wm(Kl),_m=BE;var ql=ue(Kn());var qp={};Ot(qp,{builder:()=>s5,command:()=>r5,describe:()=>a5,handler:()=>o5});var Da=ue(require("path")),Bo=ue(require("os")),jr=ue(require("fs")),H0=ue(Kn());async function EC(){let e=Bo.default.homedir(),t=Da.default.join(e,".goldsky","auth_token");try{return await jr.default.promises.readFile(t,"utf8")}catch(n){}return null}async function G0(){let e=await EC();e&&za(e)}function za(e){H0.ApiFetch.setAuth(`Bearer ${e}`)}async function V0(e){let t=Bo.default.homedir(),n=Da.default.join(t,".goldsky");try{await jr.default.promises.stat(n)}catch(i){await jr.default.promises.mkdir(n)}await jr.default.promises.writeFile(Da.default.join(n,"auth_token"),e,"utf8")}async function Z0(){let e=Bo.default.homedir(),t=Da.default.join(e,".goldsky","auth_token");try{await jr.default.promises.rm(t)}catch(n){}}var Xa=ue(Yt()),iy=ue(require("readline")),ry=ue(gp()),ay=ue(Hn());async function ny(e,t){za(e),console.log();let n=(0,ay.default)("Validating API Token").start();try{let i=await ry.default.get(`${t.apiHost}/auth/check_token`,{headers:{Authorization:`Bearer ${e}`},validateStatus:r=>!0});if(i.status===200&&i.data.success){await V0(e),n.succeed(`${Xa.default.bold(`Logged in to project '${i.data.project.name}'`)} You can now run any authenticated commands on Goldsky from this computer`);return}}catch(i){}n.fail(`${Xa.default.bold("Login failed")}. Make sure you entered your API token correctly - or contact Goldsky for more assistance`),process.exit(1)}async function sy(e){if(e.token)return ny(e.token,e);let t=iy.default.createInterface({input:process.stdin,output:process.stdout});t.stdoutMuted=!0,t.question(`Enter or paste in your Goldsky API token ${Xa.default.italic("(you can create a new one at https://app.goldsky.com/dashboard/settings)")}: `,async n=>{t.close(),await ny(n,e)}),t._writeToOutput=()=>{process.stdout.isTTY&&t.output.write("*")}}async function oy(e){Z0(),console.log(`${Xa.default.bold("Logged out")}. You will need to log in again if you want to run authenticated commands on this computer in future`)}var r5="login",a5="Log in to Goldsky to enable running authenticated CLI commands",s5=e=>e.version(!1),o5=async({apiHost:e,token:t})=>{await sy({apiHost:e,token:t})};var Pp={};Ot(Pp,{builder:()=>u5,command:()=>c5,describe:()=>l5,handler:()=>p5});var c5="logout",l5="Log out of Goldsky on this computer",u5=e=>e.version(!1),p5=async({apiHost:e})=>{await oy({apiHost:e})};var hh={};Ot(hh,{builder:()=>mI,command:()=>dI,describe:()=>hI,handler:()=>gI});var Fp={};Ot(Fp,{builder:()=>h5,command:()=>f5,describe:()=>d5,handler:()=>m5});var Oc=ue(Yt()),cy=ue(Kn()),ly=ue(Hn());async function Bp(e){let t=(0,ly.default)("Removing subgraph").start(),[n,i]=await cy.ApiFetch.delete_(r=>`/api/admin/subgraph/v1/subgraphs/${r.name}/deployments/${r.version_label}`,{params:{name:e.name,version_label:e.v}});n?(t.fail(`${Oc.default.bold("Subgraph removal failed:")} ${Oc.default.red(n.message)}`),process.exit(1)):t.succeed(Oc.default.bold("Removed subgraph"))}var rt=e=>e.split("/");var f5="delete <nameAndVersion>",d5="Delete a subgraph from Goldsky",h5=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}),m5=async({apiHost:e,nameAndVersion:t})=>Bp({apiHost:e,name:rt(t)[0],v:rt(t)[1]});var Qd={};Ot(Qd,{builder:()=>yL,command:()=>bL,describe:()=>xL,handler:()=>wL});var In=ue(Yt());var Qa=ue(require("fs")),Vr=ue(require("path")),uy=ue(Hn());async function py(e){let t=(0,uy.default)("Validating build path").start(),n={isValid:!1,buildPath:e};try{let i=await Promise.all([Qa.default.promises.stat(Vr.default.join(e,"package.json")),Qa.default.promises.stat(Vr.default.join(e,"build"))]);i[0].isFile()&&i[1].isDirectory()&&(n.buildPath=Vr.default.join(e,"build"))}catch(i){}try{await Promise.all([Qa.default.promises.stat(Vr.default.join(e,"subgraph.yaml")),Qa.default.promises.stat(Vr.default.join(e,"schema.graphql"))]),n.isValid=!0,t.succeed()}catch(i){t.fail()}return n}var mS=ue(k2()),qn=ue(require("fs")),gS=ue(require("os")),fi=ue(require("path")),jl=ue(dS()),Jd=ue(Kn()),Ys=ue(Hn()),Xd=ue(gp());var hS=3;async function mL(e,t,n){let i=Xd.default.create({}),r=fi.default.join(gS.default.tmpdir(),`goldsky-deploy-${e}`);try{await qn.default.promises.mkdir(r)}catch(f){if(f.code!=="EEXIST")throw f}let a=[],s=0,o=0,c=(f,m,v)=>{let g=f.getIn(m);a.push([g.get("/").replace("/ipfs/",""),v]),f.setIn(m,jl.default.createNode(v))},u=()=>{n.prefixText=`${Math.round(o++/(a.length+1)*100)}%`},l=await i.get(`${t}/api/v0/cat?arg=${e}`);u();let p=jl.default.parseDocument(l.data);c(p,["schema","file"],"schema.graphql");for(let f of["dataSources","templates"]){let m=p.get(f);if(m)for(let[v,g]of m.items.entries()){c(g,["mapping","file"],`${s++}.wasm`);for(let[d,x]of g.getIn(["mapping","abis"]).items.entries())c(x,["file"],`${s++}.json`)}}await qn.default.promises.writeFile(fi.default.join(r,"subgraph.yaml"),p.toString());for(let f of a){let m=fi.default.join(r,f[1]);if(!qn.default.existsSync(m))try{let v=0;for(;v<hS;){let g=await i.get(`${t}/api/v0/cat?arg=${f[0]}`,{responseType:"arraybuffer",validateStatus:d=>d>=200&&d<300||v<hS-1&&d===504});if(g.status===504)++v;else{await qn.default.promises.writeFile(m,g.data);break}}}catch(v){try{await qn.default.promises.rm(m)}catch(g){}throw v}u()}return n.prefixText="",r}async function gL(e){let t=new URL(e);return(await Xd.default.create({}).post(e,{query:"{_meta{deployment}}",variables:null},bh({},t.host==="gateway.thegraph.com"?{headers:{origin:"https://thegraph.com"}}:{}))).data.data._meta.deployment}async function vS(e){console.log(In.default.bold("Deploying Subgraph:"));let t=e.path||fi.default.join(process.cwd()),n=e.ipfsHash;if(e.graphql){let u=(0,Ys.default)("Getting subgraph deployment metadata").start();try{n=await gL(e.graphql),u.succeed()}catch(l){u.fail(),console.log(),console.log(`${In.default.bold("Deployment failed:")} ${In.default.red(l.message)}`);return}}if(n){let u=(0,Ys.default)("Downloading subgraph from IPFS (This can take a while)").start();try{t=await mL(n,e.ipfsGateway,u),u.succeed()}catch(l){u.fail(),console.log(),console.log(`${In.default.bold("Deployment failed:")} ${In.default.red(l.message)}`);return}}let i=await py(t);if(!i.isValid){console.log("Deployment failed: This path doesn't point to a subgraph build path");return}let r=await vL(i.buildPath),a=(0,Ys.default)("Deploying to Goldsky").start(),s=Jd.ApiFetch.FormData();s.append("bundle",r.generateNodeStream({streamFiles:!0}),"bundle.zip"),s.append("overwrite",e.overwrite?"1":"0");let[o,c]=await Jd.ApiFetch.put(u=>`/api/admin/subgraph/v1/subgraphs/${u.name}/deployments/${u.version_label}`,{params:{name:e.name,version_label:e.v},body:s});o?(a.fail(),console.log(),console.log(`${In.default.bold("Deployment failed:")} ${In.default.red(o.message)}`),process.exit(1)):(a.succeed(),console.log(),console.log(`${In.default.bold("Deployed subgraph API:")} ${e.apiHost}${c.data.subgraph.graphql_endpoint}`))}async function vL(e){let t=(0,Ys.default)(`Packaging deployment bundle from ${e}`).start();try{let n=new mS.default;n.generateNodeStream({type:"nodebuffer",streamFiles:!0});let i=await qn.default.promises.readFile(fi.default.join(e,"subgraph.yaml"),{encoding:"utf8"}),r=jl.default.parse(i);n.file("subgraph.yaml",i);let a=r.schema.file,s=await qn.default.promises.readFile(fi.default.join(e,a));n.file(a,s);let o=r.dataSources.concat(r.templates||[]);for(let c of o){let u=c.mapping,l=[u.file,...u.abis.map(p=>p.file)];for(let p of l){let f=await qn.default.promises.readFile(fi.default.join(e,p));n.file(p,f)}}return t.succeed(),n}catch(n){throw t.fail(),n}}var bL="deploy <nameAndVersion>",xL="Deploy a subgraph to Goldsky",yL=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}).option("path",{describe:"Path to subgraph",type:"string"}).option("from-ipfs-hash",{describe:"IPFS hash of a publicly deployed subgraph",type:"string"}).option("ipfs-gateway",{describe:"IPFS gateway to use if downloading the subgraph from IPFS",type:"string",default:"https://ipfs.network.thegraph.com"}).option("from-graphql",{describe:"GraphQL endpoint for a publicly deployed subgraph",type:"string"}).option("overwrite",{describe:"Overwrite existing subgraph with the matching name/version",type:"boolean",default:!1}).conflicts("from-ipfs-hash","path").conflicts("from-graphql","path").conflicts("from-ipfs-hash","from-graphql"),wL=async({apiHost:e,nameAndVersion:t,overwrite:n,path:i,fromIpfsHash:r,fromGraphql:a,ipfsGateway:s})=>vS({apiHost:e,name:rt(t)[0],overwrite:n,path:i,ipfsHash:r,graphql:a,ipfsGateway:s,v:rt(t)[1]});var th={};Ot(th,{builder:()=>EL,command:()=>_L,describe:()=>SL,handler:()=>OL});var cn=ue(Yt()),eh=ue(Kn()),bS=ue(Hn());async function xS(e){var a,s;let t="/api/admin/subgraph/v1/subgraphs";e.name&&(t+=`/${e.name}`),e.filter&&(t+=`/${e.filter}`),e.v&&(t+=`/${e.v}`);let n=(0,bS.default)("Fetching subgraphs").start(),[i,r]=await eh.ApiFetch.get(t);if(i)n.fail(`${cn.default.bold("Subgraph listing failed:")} ${cn.default.red(i.message)}`),process.exit(1);else if(n.stop(),r.data.length===0)console.log(cn.default.bold("No subgraphs found."),"Run 'goldsky subgraph deploy --help' for information on deploying a subgraph");else{console.log(cn.default.bold("Subgraphs"));for(let o of r.data)if(o.tag?o.tag.target_version?console.log(cn.default.bold(`* ${o.name}/${o.version} -> ${o.name}/${o.tag.target_version}`)):console.log(cn.default.bold(`* ${o.name}/${o.version} -> [no target]`)):console.log(cn.default.bold(`* ${o.name}/${o.version}`)),!e.summary&&o.deployments.length){let c=o.deployments[0];console.log(" ","GraphQL API:",eh.ApiFetch.getPath(o.graphql_endpoint,{})),console.log(" ","Created:",new Date(c.created_at*1e3).toLocaleString()),console.log(" ","Status:",`${cn.default[c.health==="healthy"?"green":"red"](c.health)}`),c.fatal_error&&console.log(" ","Fatal error:",cn.default.red(c.fatal_error.replace(/\t/g,`\r
|
|
253
|
-
`))),console.log(" ","Synced:",`${c.synced?cn.default.green("\u2714"):`${((a=c.indexing_progress)==null?void 0:a.progress_percent.toPrecision(3))||0}%`}`),c.indexing_progress&&(console.log(" ","Blocks indexed:",`${c.indexing_progress.deployment_start_block} -> ${c.indexing_progress.deployment_head_block}`),console.log(" ","Chain:",(s=c.indexing_progress)==null?void 0:s.network))}}}var _L="list [nameAndVersion]",SL="View deployed subgraphs and tags",EL=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string"}).option("filter",{describe:"Limit results to just tags or deployments",choices:["tags","deployments"]}).option("summary",{describe:"Summarize subgraphs & versions without all their details",type:"boolean",default:!1}).implies("version","name").conflicts("filter","version"),OL=async({apiHost:e,summary:t,filter:n,nameAndVersion:i})=>xS({apiHost:e,summary:t,filter:n,name:i?rt(i)[0]:void 0,v:i?rt(i)[1]:void 0});var
|
|
252
|
+
`,"f"),W(this,Ge,h(this,Ge,"f")+t.join(" "),"f")}}}[Ql](t){fr(h(this,J,"f")).forEach(n=>{if((r=>r==="configObjects")(n))return;let i=h(this,J,"f")[n];Array.isArray(i)?i.includes(t)&&i.splice(i.indexOf(t),1):typeof i=="object"&&delete i[t]}),delete h(this,se,"f").getDescriptions()[t]}[sm](t,n,i){h(this,oo,"f")[i]||(h(this,ne,"f").process.emitWarning(t,n),h(this,oo,"f")[i]=!0)}[om](){h(this,co,"f").push({options:h(this,J,"f"),configObjects:h(this,J,"f").configObjects.slice(0),exitProcess:h(this,$t,"f"),groups:h(this,un,"f"),strict:h(this,_i,"f"),strictCommands:h(this,Si,"f"),strictOptions:h(this,Ei,"f"),completionCommand:h(this,Ct,"f"),output:h(this,Ge,"f"),exitError:h(this,Dn,"f"),hasOutput:h(this,At,"f"),parsed:this.parsed,parseFn:h(this,Tt,"f"),parseContext:h(this,yi,"f")}),h(this,se,"f").freeze(),h(this,Le,"f").freeze(),h(this,Pe,"f").freeze(),h(this,Ut,"f").freeze()}[cm](){let t="",n;return/\b(node|iojs|electron)(\.exe)?$/.test(h(this,ne,"f").process.argv()[0])?n=h(this,ne,"f").process.argv().slice(1,2):n=h(this,ne,"f").process.argv().slice(0,1),t=n.map(i=>{let r=this[ym](h(this,bi,"f"),i);return i.match(/^(\/|([a-zA-Z]:)?\\)/)&&r.length<i.length?r:i}).join(" ").trim(),h(this,ne,"f").getEnv("_")&&h(this,ne,"f").getProcessArgvBin()===h(this,ne,"f").getEnv("_")&&(t=h(this,ne,"f").getEnv("_").replace(`${h(this,ne,"f").path.dirname(h(this,ne,"f").process.execPath())}/`,"")),t}[Oi](){return h(this,po,"f")}[eu](){if(!h(this,xi,"f"))return;let t=h(this,ne,"f").getEnv("LC_ALL")||h(this,ne,"f").getEnv("LC_MESSAGES")||h(this,ne,"f").getEnv("LANG")||h(this,ne,"f").getEnv("LANGUAGE")||"en_US";this.locale(t.replace(/[.:].*/,""))}[lm](){return this[tu]().version||"unknown"}[um](t){let n=t["--"]?t["--"]:t._;for(let i=0,r;(r=n[i])!==void 0;i++)h(this,ne,"f").Parser.looksLikeNumber(r)&&Number.isSafeInteger(Math.floor(parseFloat(`${r}`)))&&(n[i]=Number(r));return t}[tu](t){let n=t||"*";if(h(this,mr,"f")[n])return h(this,mr,"f")[n];let i={};try{let r=t||h(this,ne,"f").mainFilename;!t&&h(this,ne,"f").path.extname(r)&&(r=h(this,ne,"f").path.dirname(r));let a=h(this,ne,"f").findUp(r,(s,o)=>{if(o.includes("package.json"))return"package.json"});ht(a,void 0,h(this,ne,"f")),i=JSON.parse(h(this,ne,"f").readFileSync(a,"utf8"))}catch{}return h(this,mr,"f")[n]=i||{},h(this,mr,"f")[n]}[$n](t,n){n=[].concat(n),n.forEach(i=>{i=this[ru](i),h(this,J,"f")[t].push(i)})}[gr](t,n,i,r){this[iu](t,n,i,r,(a,s,o)=>{h(this,J,"f")[a][s]=o})}[nu](t,n,i,r){this[iu](t,n,i,r,(a,s,o)=>{h(this,J,"f")[a][s]=(h(this,J,"f")[a][s]||[]).concat(o)})}[iu](t,n,i,r,a){if(Array.isArray(i))i.forEach(s=>{t(s,r)});else if((s=>typeof s=="object")(i))for(let s of fr(i))t(s,i[s]);else a(n,this[ru](i),r)}[ru](t){return t==="__proto__"?"___proto___":t}[au](t,n){return this[gr](this[au].bind(this),"key",t,n),this}[su](){var t,n,i,r,a,s,o,c,u,l,p,f;let m=h(this,co,"f").pop();ht(m,void 0,h(this,ne,"f"));let v;t=this,n=this,i=this,r=this,a=this,s=this,o=this,c=this,u=this,l=this,p=this,f=this,{options:{set value(g){W(t,J,g,"f")}}.value,configObjects:v,exitProcess:{set value(g){W(n,$t,g,"f")}}.value,groups:{set value(g){W(i,un,g,"f")}}.value,output:{set value(g){W(r,Ge,g,"f")}}.value,exitError:{set value(g){W(a,Dn,g,"f")}}.value,hasOutput:{set value(g){W(s,At,g,"f")}}.value,parsed:this.parsed,strict:{set value(g){W(o,_i,g,"f")}}.value,strictCommands:{set value(g){W(c,Si,g,"f")}}.value,strictOptions:{set value(g){W(u,Ei,g,"f")}}.value,completionCommand:{set value(g){W(l,Ct,g,"f")}}.value,parseFn:{set value(g){W(p,Tt,g,"f")}}.value,parseContext:{set value(g){W(f,yi,g,"f")}}.value}=m,h(this,J,"f").configObjects=v,h(this,se,"f").unfreeze(),h(this,Le,"f").unfreeze(),h(this,Pe,"f").unfreeze(),h(this,Ut,"f").unfreeze()}[pm](t,n){return vi(n,i=>(t(i),i))}getInternalMethods(){return{getCommandInstance:this[fm].bind(this),getContext:this[dm].bind(this),getHasOutput:this[hm].bind(this),getLoggerInstance:this[mm].bind(this),getParseContext:this[gm].bind(this),getParserConfiguration:this[Oi].bind(this),getUsageInstance:this[vm].bind(this),getValidationInstance:this[bm].bind(this),hasParseCallback:this[ho].bind(this),isGlobalContext:this[xm].bind(this),postProcess:this[ki].bind(this),reset:this[ou].bind(this),runValidation:this[cu].bind(this),runYargsParserAndExecuteCommands:this[Ia].bind(this),setHasOutput:this[wm].bind(this)}}[fm](){return h(this,Pe,"f")}[dm](){return h(this,La,"f")}[hm](){return h(this,At,"f")}[mm](){return h(this,hr,"f")}[gm](){return h(this,yi,"f")||{}}[vm](){return h(this,se,"f")}[bm](){return h(this,Le,"f")}[ho](){return!!h(this,Tt,"f")}[xm](){return h(this,lo,"f")}[ki](t,n,i,r){return i||Oe(t)||(n||(t=this[rm](t)),(this[Oi]()["parse-positional-numbers"]||this[Oi]()["parse-positional-numbers"]===void 0)&&(t=this[um](t)),r&&(t=gi(t,this,h(this,Ut,"f").getMiddleware(),!1))),t}[ou](t={}){W(this,J,h(this,J,"f")||{},"f");let n={};n.local=h(this,J,"f").local||[],n.configObjects=h(this,J,"f").configObjects||[];let i={};n.local.forEach(s=>{i[s]=!0,(t[s]||[]).forEach(o=>{i[o]=!0})}),Object.assign(h(this,wi,"f"),Object.keys(h(this,un,"f")).reduce((s,o)=>{let c=h(this,un,"f")[o].filter(u=>!(u in i));return c.length>0&&(s[o]=c),s},{})),W(this,un,{},"f");let r=["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"],a=["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"];return r.forEach(s=>{n[s]=(h(this,J,"f")[s]||[]).filter(o=>!i[o])}),a.forEach(s=>{n[s]=Bn(h(this,J,"f")[s],o=>!i[o])}),n.envPrefix=h(this,J,"f").envPrefix,W(this,J,n,"f"),W(this,se,h(this,se,"f")?h(this,se,"f").reset(i):Zh(this,h(this,ne,"f")),"f"),W(this,Le,h(this,Le,"f")?h(this,Le,"f").reset(i):nm(this,h(this,se,"f"),h(this,ne,"f")),"f"),W(this,Pe,h(this,Pe,"f")?h(this,Pe,"f").reset():Hh(h(this,se,"f"),h(this,Le,"f"),h(this,Ut,"f"),h(this,ne,"f")),"f"),h(this,zt,"f")||W(this,zt,Qh(this,h(this,se,"f"),h(this,Pe,"f"),h(this,ne,"f")),"f"),h(this,Ut,"f").reset(),W(this,Ct,null,"f"),W(this,Ge,"","f"),W(this,Dn,null,"f"),W(this,At,!1,"f"),this.parsed=!1,this}[ym](t,n){return h(this,ne,"f").path.relative(t,n)}[Ia](t,n,i,r=0,a=!1){let s=!!i||a;t=t||h(this,zn,"f"),h(this,J,"f").__=h(this,ne,"f").y18n.__,h(this,J,"f").configuration=this[Oi]();let o=!!h(this,J,"f").configuration["populate--"],c=Object.assign({},h(this,J,"f").configuration,{"populate--":!0}),u=h(this,ne,"f").Parser.detailed(t,Object.assign({},h(this,J,"f"),{configuration:{"parse-positional-numbers":!1,...c}})),l=Object.assign(u.argv,h(this,yi,"f")),p,f=u.aliases,m=!1,v=!1;Object.keys(l).forEach(g=>{g===h(this,Wt,"f")&&l[g]?m=!0:g===h(this,pn,"f")&&l[g]&&(v=!0)}),l.$0=this.$0,this.parsed=u,r===0&&h(this,se,"f").clearCachedHelpMessage();try{if(this[eu](),n)return this[ki](l,o,!!i,!1);h(this,Wt,"f")&&[h(this,Wt,"f")].concat(f[h(this,Wt,"f")]||[]).filter(C=>C.length>1).includes(""+l._[l._.length-1])&&(l._.pop(),m=!0),W(this,lo,!1,"f");let g=h(this,Pe,"f").getCommands(),d=h(this,zt,"f").completionKey in l,x=m||d||a;if(l._.length){if(g.length){let _;for(let C=r||0,k;l._[C]!==void 0;C++)if(k=String(l._[C]),g.includes(k)&&k!==h(this,Ct,"f")){let O=h(this,Pe,"f").runCommand(k,this,u,C+1,a,m||v||a);return this[ki](O,o,!!i,!1)}else if(!_&&k!==h(this,Ct,"f")){_=k;break}!h(this,Pe,"f").hasDefaultCommand()&&h(this,fo,"f")&&_&&!x&&h(this,Le,"f").recommendCommands(_,g)}h(this,Ct,"f")&&l._.includes(h(this,Ct,"f"))&&!d&&(h(this,$t,"f")&&Fn(!0),this.showCompletionScript(),this.exit(0))}if(h(this,Pe,"f").hasDefaultCommand()&&!x){let _=h(this,Pe,"f").runCommand(null,this,u,0,a,m||v||a);return this[ki](_,o,!!i,!1)}if(d){h(this,$t,"f")&&Fn(!0),t=[].concat(t);let _=t.slice(t.indexOf(`--${h(this,zt,"f").completionKey}`)+1);return h(this,zt,"f").getCompletion(_,(C,k)=>{if(C)throw new _e(C.message);(k||[]).forEach(O=>{h(this,hr,"f").log(O)}),this.exit(0)}),this[ki](l,!o,!!i,!1)}if(h(this,At,"f")||(m?(h(this,$t,"f")&&Fn(!0),s=!0,this.showHelp("log"),this.exit(0)):v&&(h(this,$t,"f")&&Fn(!0),s=!0,h(this,se,"f").showVersion("log"),this.exit(0))),!s&&h(this,J,"f").skipValidation.length>0&&(s=Object.keys(l).some(_=>h(this,J,"f").skipValidation.indexOf(_)>=0&&l[_]===!0)),!s){if(u.error)throw new _e(u.error.message);if(!d){let _=this[cu](f,{},u.error);i||(p=gi(l,this,h(this,Ut,"f").getMiddleware(),!0)),p=this[pm](_,p??l),Oe(p)&&!i&&(p=p.then(()=>gi(l,this,h(this,Ut,"f").getMiddleware(),!1)))}}}catch(g){if(g instanceof _e)h(this,se,"f").fail(g.message,g);else throw g}return this[ki](p??l,o,!!i,!0)}[cu](t,n,i,r){let a={...this.getDemandedOptions()};return s=>{if(i)throw new _e(i.message);h(this,Le,"f").nonOptionCount(s),h(this,Le,"f").requiredArguments(s,a);let o=!1;h(this,Si,"f")&&(o=h(this,Le,"f").unknownCommands(s)),h(this,_i,"f")&&!o?h(this,Le,"f").unknownArguments(s,t,n,!!r):h(this,Ei,"f")&&h(this,Le,"f").unknownArguments(s,t,{},!1,!1),h(this,Le,"f").limitedChoices(s),h(this,Le,"f").implications(s),h(this,Le,"f").conflicting(s)}}[wm](){W(this,At,!0,"f")}[Ci](t){if(typeof t=="string")h(this,J,"f").key[t]=!0;else for(let n of t)h(this,J,"f").key[n]=!0}};function Gh(e){return!!e&&typeof e.getInternalMethods=="function"}var BE=_m(Yl),Sm=BE;var Pl=ue(Kn());var Pp={};Ot(Pp,{builder:()=>s5,command:()=>r5,describe:()=>a5,handler:()=>o5});var Da=ue(require("path")),Bo=ue(require("os")),jr=ue(require("fs")),G0=ue(Kn());async function EC(){let e=Bo.default.homedir(),t=Da.default.join(e,".goldsky","auth_token");try{return await jr.default.promises.readFile(t,"utf8")}catch(n){}return null}async function V0(){let e=await EC();e&&za(e)}function za(e){G0.ApiFetch.setAuth(`Bearer ${e}`)}async function Z0(e){let t=Bo.default.homedir(),n=Da.default.join(t,".goldsky");try{await jr.default.promises.stat(n)}catch(i){await jr.default.promises.mkdir(n)}await jr.default.promises.writeFile(Da.default.join(n,"auth_token"),e,"utf8")}async function J0(){let e=Bo.default.homedir(),t=Da.default.join(e,".goldsky","auth_token");try{await jr.default.promises.rm(t)}catch(n){}}var Xa=ue(Yt()),Oc=ue(require("readline")),ry=ue(vp()),ay=ue(Hn());async function iy(e,t){za(e),console.log();let n=(0,ay.default)("Validating API Token").start();try{let i=await ry.default.get(`${t.apiHost}/auth/check_token`,{headers:{Authorization:`Bearer ${e}`},validateStatus:r=>!0});if(i.status===200&&i.data.success){await Z0(e),n.succeed(`${Xa.default.bold(`Logged in to project '${i.data.project.name}'`)} You can now run any authenticated commands on Goldsky from this computer`);return}}catch(i){}n.fail(`${Xa.default.bold("Login failed")}. Make sure you entered your API token correctly - or contact Goldsky for more assistance`),process.exit(1)}async function sy(e){if(e.token)return iy(e.token,e);let t=`Enter or paste in your Goldsky API token ${Xa.default.italic("(you can create a new one at https://app.goldsky.com/dashboard/settings)")}: `,n=Oc.default.createInterface({input:process.stdin,output:process.stdout});n.stdoutMuted=!0,n.question(t,async i=>{n.close(),await iy(i,e)}),n._writeToOutput=i=>{if(process.stdout.isTTY)if(i.charCodeAt(0)===13)n.output.write(i);else if(i.length>1){let r=n.line.length;Oc.default.moveCursor(n.output,0,0),Oc.default.clearLine(n.output,1),n.output.write(`${t}${"*".repeat(r)}`)}else n.output.write("*")}}async function oy(e){J0(),console.log(`${Xa.default.bold("Logged out")}. You will need to log in again if you want to run authenticated commands on this computer in future`)}var r5="login",a5="Log in to Goldsky to enable running authenticated CLI commands",s5=e=>e.version(!1),o5=async({apiHost:e,token:t})=>{await sy({apiHost:e,token:t})};var Bp={};Ot(Bp,{builder:()=>u5,command:()=>c5,describe:()=>l5,handler:()=>p5});var c5="logout",l5="Log out of Goldsky on this computer",u5=e=>e.version(!1),p5=async({apiHost:e})=>{await oy({apiHost:e})};var mh={};Ot(mh,{builder:()=>mI,command:()=>dI,describe:()=>hI,handler:()=>gI});var Dp={};Ot(Dp,{builder:()=>h5,command:()=>f5,describe:()=>d5,handler:()=>m5});var kc=ue(Yt()),cy=ue(Kn()),ly=ue(Hn());async function Fp(e){let t=(0,ly.default)("Removing subgraph").start(),[n,i]=await cy.ApiFetch.delete_(r=>`/api/admin/subgraph/v1/subgraphs/${r.name}/deployments/${r.version_label}`,{params:{name:e.name,version_label:e.v}});n?(t.fail(`${kc.default.bold("Subgraph removal failed:")} ${kc.default.red(n.message)}`),process.exit(1)):t.succeed(kc.default.bold("Removed subgraph"))}var rt=e=>e.split("/");var f5="delete <nameAndVersion>",d5="Delete a subgraph from Goldsky",h5=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}),m5=async({apiHost:e,nameAndVersion:t})=>Fp({apiHost:e,name:rt(t)[0],v:rt(t)[1]});var eh={};Ot(eh,{builder:()=>yL,command:()=>bL,describe:()=>xL,handler:()=>wL});var In=ue(Yt());var Qa=ue(require("fs")),Vr=ue(require("path")),uy=ue(Hn());async function py(e){let t=(0,uy.default)("Validating build path").start(),n={isValid:!1,buildPath:e};try{let i=await Promise.all([Qa.default.promises.stat(Vr.default.join(e,"package.json")),Qa.default.promises.stat(Vr.default.join(e,"build"))]);i[0].isFile()&&i[1].isDirectory()&&(n.buildPath=Vr.default.join(e,"build"))}catch(i){}try{await Promise.all([Qa.default.promises.stat(Vr.default.join(e,"subgraph.yaml")),Qa.default.promises.stat(Vr.default.join(e,"schema.graphql"))]),n.isValid=!0,t.succeed()}catch(i){t.fail()}return n}var mS=ue(k2()),qn=ue(require("fs")),gS=ue(require("os")),fi=ue(require("path")),Ml=ue(dS()),Xd=ue(Kn()),Ys=ue(Hn()),Qd=ue(vp());var hS=3;async function mL(e,t,n){let i=Qd.default.create({}),r=fi.default.join(gS.default.tmpdir(),`goldsky-deploy-${e}`);try{await qn.default.promises.mkdir(r)}catch(f){if(f.code!=="EEXIST")throw f}let a=[],s=0,o=0,c=(f,m,v)=>{let g=f.getIn(m);a.push([g.get("/").replace("/ipfs/",""),v]),f.setIn(m,Ml.default.createNode(v))},u=()=>{n.prefixText=`${Math.round(o++/(a.length+1)*100)}%`},l=await i.get(`${t}/api/v0/cat?arg=${e}`);u();let p=Ml.default.parseDocument(l.data);c(p,["schema","file"],"schema.graphql");for(let f of["dataSources","templates"]){let m=p.get(f);if(m)for(let[v,g]of m.items.entries()){c(g,["mapping","file"],`${s++}.wasm`);for(let[d,x]of g.getIn(["mapping","abis"]).items.entries())c(x,["file"],`${s++}.json`)}}await qn.default.promises.writeFile(fi.default.join(r,"subgraph.yaml"),p.toString());for(let f of a){let m=fi.default.join(r,f[1]);if(!qn.default.existsSync(m))try{let v=0;for(;v<hS;){let g=await i.get(`${t}/api/v0/cat?arg=${f[0]}`,{responseType:"arraybuffer",validateStatus:d=>d>=200&&d<300||v<hS-1&&d===504});if(g.status===504)++v;else{await qn.default.promises.writeFile(m,g.data);break}}}catch(v){try{await qn.default.promises.rm(m)}catch(g){}throw v}u()}return n.prefixText="",r}async function gL(e){let t=new URL(e);return(await Qd.default.create({}).post(e,{query:"{_meta{deployment}}",variables:null},xh({},t.host==="gateway.thegraph.com"?{headers:{origin:"https://thegraph.com"}}:{}))).data.data._meta.deployment}async function vS(e){console.log(In.default.bold("Deploying Subgraph:"));let t=e.path||fi.default.join(process.cwd()),n=e.ipfsHash;if(e.graphql){let u=(0,Ys.default)("Getting subgraph deployment metadata").start();try{n=await gL(e.graphql),u.succeed()}catch(l){u.fail(),console.log(),console.log(`${In.default.bold("Deployment failed:")} ${In.default.red(l.message)}`);return}}if(n){let u=(0,Ys.default)("Downloading subgraph from IPFS (This can take a while)").start();try{t=await mL(n,e.ipfsGateway,u),u.succeed()}catch(l){u.fail(),console.log(),console.log(`${In.default.bold("Deployment failed:")} ${In.default.red(l.message)}`);return}}let i=await py(t);if(!i.isValid){console.log("Deployment failed: This path doesn't point to a subgraph build path");return}let r=await vL(i.buildPath),a=(0,Ys.default)("Deploying to Goldsky").start(),s=Xd.ApiFetch.FormData();s.append("bundle",r.generateNodeStream({streamFiles:!0}),"bundle.zip"),s.append("overwrite",e.overwrite?"1":"0");let[o,c]=await Xd.ApiFetch.put(u=>`/api/admin/subgraph/v1/subgraphs/${u.name}/deployments/${u.version_label}`,{params:{name:e.name,version_label:e.v},body:s});o?(a.fail(),console.log(),console.log(`${In.default.bold("Deployment failed:")} ${In.default.red(o.message||o.error)}`),process.exit(1)):(a.succeed(),console.log(),console.log(`${In.default.bold("Deployed subgraph API:")} ${e.apiHost}${c.data.subgraph.graphql_endpoint}`))}async function vL(e){let t=(0,Ys.default)(`Packaging deployment bundle from ${e}`).start();try{let n=new mS.default;n.generateNodeStream({type:"nodebuffer",streamFiles:!0});let i=await qn.default.promises.readFile(fi.default.join(e,"subgraph.yaml"),{encoding:"utf8"}),r=Ml.default.parse(i);n.file("subgraph.yaml",i);let a=r.schema.file,s=await qn.default.promises.readFile(fi.default.join(e,a));n.file(a,s);let o=r.dataSources.concat(r.templates||[]);for(let c of o){let u=c.mapping,l=[u.file,...u.abis.map(p=>p.file)];for(let p of l){let f=await qn.default.promises.readFile(fi.default.join(e,p));n.file(p,f)}}return t.succeed(),n}catch(n){throw t.fail(),n}}var bL="deploy <nameAndVersion>",xL="Deploy a subgraph to Goldsky",yL=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}).option("path",{describe:"Path to subgraph",type:"string"}).option("from-ipfs-hash",{describe:"IPFS hash of a publicly deployed subgraph",type:"string"}).option("ipfs-gateway",{describe:"IPFS gateway to use if downloading the subgraph from IPFS",type:"string",default:"https://ipfs.network.thegraph.com"}).option("from-graphql",{describe:"[Deprecated] Use --from-url instead",type:"string",hidden:!0}).option("from-url",{describe:"GraphQL endpoint for a publicly deployed subgraph",type:"string"}).option("overwrite",{describe:"Overwrite existing subgraph with the matching name/version",type:"boolean",default:!1}).conflicts("path",["from-ipfs-hash","from-graphql","from-url"]).conflicts("from-ipfs-hash",["path","from-graphql","from-url"]).conflicts("from-graphql",["path","from-ipfs-hash","from-url"]).conflicts("from-url",["path","from-ipfs-hash","from-graphql"]),wL=async({apiHost:e,nameAndVersion:t,overwrite:n,path:i,fromIpfsHash:r,fromUrl:a,fromGraphql:s,ipfsGateway:o})=>vS({apiHost:e,name:rt(t)[0],overwrite:n,path:i,ipfsHash:r,graphql:a||s,ipfsGateway:o,v:rt(t)[1]});var nh={};Ot(nh,{builder:()=>EL,command:()=>_L,describe:()=>SL,handler:()=>OL});var cn=ue(Yt()),th=ue(Kn()),bS=ue(Hn());async function xS(e){var a,s;let t="/api/admin/subgraph/v1/subgraphs";e.name&&(t+=`/${e.name}`),e.filter&&(t+=`/${e.filter}`),e.v&&(t+=`/${e.v}`);let n=(0,bS.default)("Fetching subgraphs").start(),[i,r]=await th.ApiFetch.get(t);if(i)n.fail(`${cn.default.bold("Subgraph listing failed:")} ${cn.default.red(i.message)}`),process.exit(1);else if(n.stop(),r.data.length===0)console.log(cn.default.bold("No subgraphs found."),"Run 'goldsky subgraph deploy --help' for information on deploying a subgraph");else{console.log(cn.default.bold("Subgraphs"));for(let o of r.data)if(o.tag?o.tag.target_version?console.log(cn.default.bold(`* ${o.name}/${o.version} -> ${o.name}/${o.tag.target_version}`)):console.log(cn.default.bold(`* ${o.name}/${o.version} -> [no target]`)):console.log(cn.default.bold(`* ${o.name}/${o.version}`)),!e.summary&&o.deployments.length){let c=o.deployments[0];console.log(" ","GraphQL API:",th.ApiFetch.getPath(o.graphql_endpoint,{})),console.log(" ","Created:",new Date(c.created_at*1e3).toLocaleString()),console.log(" ","Status:",`${cn.default[c.health==="healthy"?"green":"red"](c.health)}`),c.fatal_error&&console.log(" ","Fatal error:",cn.default.red(c.fatal_error.replace(/\t/g,`\r
|
|
253
|
+
`))),console.log(" ","Synced:",`${c.synced?cn.default.green("\u2714"):`${((a=c.indexing_progress)==null?void 0:a.progress_percent.toPrecision(3))||0}%`}`),c.indexing_progress&&(console.log(" ","Blocks indexed:",`${c.indexing_progress.deployment_start_block} -> ${c.indexing_progress.deployment_head_block}`),console.log(" ","Chain:",(s=c.indexing_progress)==null?void 0:s.network))}}}var _L="list [nameAndVersion]",SL="View deployed subgraphs and tags",EL=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string"}).option("filter",{describe:"Limit results to just tags or deployments",choices:["tags","deployments"]}).option("summary",{describe:"Summarize subgraphs & versions without all their details",type:"boolean",default:!1}).implies("version","name").conflicts("filter","version"),OL=async({apiHost:e,summary:t,filter:n,nameAndVersion:i})=>xS({apiHost:e,summary:t,filter:n,name:i?rt(i)[0]:void 0,v:i?rt(i)[1]:void 0});var oh={};Ot(oh,{builder:()=>qL,command:()=>LL,describe:()=>IL,handler:()=>PL});var ah={};Ot(ah,{builder:()=>AL,command:()=>kL,describe:()=>CL,handler:()=>TL});var di=ue(Yt()),ih=ue(Kn()),rh=ue(Hn());async function Rl(e){let t=n=>`/api/admin/subgraph/v1/subgraphs/${n.name}/tags/${n.version_label}`;if(e.remove){let n=(0,rh.default)("Removing tag").start(),[i,r]=await ih.ApiFetch.delete_(t,{params:{name:e.name,version_label:e.v}});i?n.fail(`${di.default.bold("Tag removal failed:")} ${di.default.red(i.message)}`):n.succeed(`${di.default.bold("Removed tag:")} ${t({name:e.name,version_label:e.v})}`)}else{let n=(0,rh.default)("Tagging subgraph").start(),[i,r]=await ih.ApiFetch.put(t,{params:{name:e.name,version_label:e.v},body:{target_version:e.t}});i?(n.fail(`${di.default.bold("Tagging failed:")} ${di.default.red(i.message)}`),process.exit(1)):(n.succeed(`${di.default.bold("Tagged subgraph:")}
|
|
254
254
|
${t({name:e.name,version_label:e.v})} ->
|
|
255
|
-
${e.t?t({name:e.name,version_label:e.t}):"null"}`),r.data.subgraph.deployments.length&&console.log(`${di.default.bold("GraphQL API:")} ${e.apiHost}${r.data.subgraph.graphql_endpoint}`))}}var kL="create <nameAndVersion>",CL="Create a new tag",AL=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}).option("tag",{alias:"t",describe:"The name of the tag",type:"string",demandOption:!0}),TL=async({apiHost:e,nameAndVersion:t,tag:n})=>{await
|
|
255
|
+
${e.t?t({name:e.name,version_label:e.t}):"null"}`),r.data.subgraph.deployments.length&&console.log(`${di.default.bold("GraphQL API:")} ${e.apiHost}${r.data.subgraph.graphql_endpoint}`))}}var kL="create <nameAndVersion>",CL="Create a new tag",AL=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}).option("tag",{alias:"t",describe:"The name of the tag",type:"string",demandOption:!0}),TL=async({apiHost:e,nameAndVersion:t,tag:n})=>{await Rl({apiHost:e,name:rt(t)[0],remove:!1,v:n,t:rt(t)[1]})};var sh={};Ot(sh,{builder:()=>RL,command:()=>jL,describe:()=>ML,handler:()=>NL});var jL="delete <nameAndVersion>",ML="Delete a tag",RL=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}).option("tag",{alias:"t",describe:"The name of the tag to delete",type:"string",demandOption:!0}),NL=async({apiHost:e,nameAndVersion:t,tag:n})=>{await Rl({apiHost:e,name:rt(t)[0],remove:!0,v:n})};var LL="tag",IL="Commands related to tags",qL=e=>e.command(ah).command(sh),PL=async()=>{};var hh={};Ot(hh,{builder:()=>pI,command:()=>lI,describe:()=>uI,handler:()=>fI});var nE=ue(Yt());var ph={};Ot(ph,{builder:()=>QL,command:()=>JL,describe:()=>XL,handler:()=>eI});var QS=ue(Yt());var Nl=ue(Kn()),Ll=ue(Hn()),ln=ue(Yt()),VS=ue(GS());async function ZS(e){let t=(0,Ll.default)("Creating webhook").start(),[n,i]=await Nl.ApiFetch.post(r=>`/api/admin/subgraph/v1/webhooks/${r.subgraphName}/${r.subgraphVersion}`,{params:{subgraphName:e.subgraphName,subgraphVersion:e.subgraphVersion},body:{name:e.name,webhookUrl:e.webhookUrl,entity:e.entity}});n?(t.fail(),console.log(),console.log(`${ln.default.bold("Webhook creation failed:")} ${ln.default.red(n.message)}`),process.exit(1)):(t.succeed(),console.log(),console.log(`Webhook '${ln.default.bold(i.data.name)}' created.`),console.log(`Make sure calls to your endpoint have the following value for the 'goldsky-webhook-secret' header: ${ln.default.bold(`${i.data.webhookSecret}`)}`))}async function JS(e){let t=(0,Ll.default)("Deleting webhook").start(),[n]=await Nl.ApiFetch.delete_(i=>`/api/admin/subgraph/v1/webhooks/${i.name}`,{params:{name:e.name}});n?(t.fail(),console.log(),console.log(`${ln.default.bold("Webhook deletion failed:")} ${ln.default.red(n.message)}`),process.exit(1)):(t.succeed(),console.log(),console.log(`Webhook '${ln.default.bold(e.name)}' deleted.`))}async function XS(){let e=(0,Ll.default)("Listing webhooks").start(),t="/api/admin/subgraph/v1/webhooks",[n,i]=await Nl.ApiFetch.get(t);if(n)e.fail(),console.log(),console.log(`${ln.default.bold("Could not list webhooks:")} ${ln.default.red(n.message)}`),process.exit(1);else if(e.succeed(),console.log(),i.data.length>0){let r=new VS.default({head:["Subgraph Name","Subgraph Version","Webhook Name","Entity","URL"],style:{head:["green"]}});i.data.map(a=>{r.push([a.subgraphName,a.subgraphVersion,a.name,a.entity,a.webhookUrl])}),console.log(r.toString())}else console.log(`No webhooks found. Create one with ${ln.default.bold("goldsky subgraph webhook create")}.`)}var JL="create <nameAndVersion>",XL=`${QS.default.red("[BETA]")} commands related to webhooks`,QL=e=>e.positional("nameAndVersion",{describe:"Name and version of the subgraph, e.g. 'my-subgraph/1.0.0'",type:"string",demandOption:!0}).option("name",{describe:"Name of the webhook, must be unique",type:"string",demandOption:!0}).option("url",{describe:"URL to send events to",type:"string",demandOption:!0}).option("entity",{describe:"Subgraph entity to send events for",type:"string",demandOption:!0}),eI=async({entity:e,name:t,nameAndVersion:n,url:i})=>{await ZS({name:t,subgraphName:rt(n)[0],subgraphVersion:rt(n)[1],webhookUrl:i,entity:e})};var fh={};Ot(fh,{builder:()=>iI,command:()=>tI,describe:()=>nI,handler:()=>rI});var eE=ue(Yt());var tI="delete",nI=`${eE.default.red("[BETA]")} Delete a webhook`,iI=e=>e.option("name",{describe:"Name of the webhook to delete",type:"string",demandOption:!0}),rI=async({apiHost:e,name:t})=>{await JS({name:t})};var dh={};Ot(dh,{builder:()=>oI,command:()=>aI,describe:()=>sI,handler:()=>cI});var tE=ue(Yt());var aI="list",sI=`${tE.default.red("[BETA]")} List webhooks`,oI=e=>e,cI=async({apiHost:e})=>{await XS()};var lI="webhook",uI=`${nE.default.red("[BETA]")} Commands related to webhooks`,pI=e=>e.command(ph).command(fh).command(dh),fI=async()=>{};var dI="subgraph",hI="commands related to subgraphs",mI=e=>e.command(eh).command(nh).command(Dp).command(oh).command(hh).version(!1),gI=async()=>{};var ql=ue(Yt());var Il={name:"@goldskycom/cli",version:"0.2.9",description:"The Goldsky CLI to deploy subgraphs, index & transform blockchain data, configure webhooks, and access your data in real-time.",main:"dist/index.js",keywords:["goldsky","web3","blockchain","real-time","data pipelines","streams","webhooks"],author:"Goldsky",scripts:{test:'echo "Error: no test specified" && exit 1',clean:"rimraf ./dist && rimraf tsconfig.tsbuildinfo",build:"npm run clean && tsc --noEmit --skipLibCheck && node ./scripts/build.js && chmod a+x bin/goldsky","build:sdk":"npx pkg -t linux,macos,win . -o sdk/goldsky","dev:debug":"ts-node src/index.ts",prepublishOnly:"npm run build"},bin:{goldsky:"bin/goldsky"},files:["bin/goldsky","dist"],devDependencies:{"@types/axios":"^0.14.0","@types/cli-table":"^0.3.0","@types/form-data":"^2.5.0","@types/jszip":"^3.4.1","@types/node":"^16.11.11","@types/update-notifier":"^6.0.1","@types/yaml":"^1.9.7","@types/yargs":"^17.0.7",axios:"^0.24.0",chalk:"^4.1.2","cli-table":"^0.3.11","form-data":"^4.0.0",jszip:"^3.7.1",ora:"^4.1.1",yaml:"^1.10.2",yargs:"^17.5.1"},license:"",dependencies:{"update-notifier":"^6.0.2"}};var iE=async()=>{(await Function('return import("update-notifier")')()).default({pkg:Il}).notify({message:`\u{1F389} A new version of the Goldsky CLI is available \u{1F389}
|
|
256
256
|
|
|
257
|
-
Run {updateCommand} to update (${
|
|
257
|
+
Run {updateCommand} to update (${ql.default.dim("{currentVersion}")}${ql.default.reset(" \u2192 ")}${ql.default.green("{latestVersion}")})`})};var bI=e=>["subgraph list","subgraph tag delete"].includes(e),xI=Wl(process.argv);iE().then(V0).then(()=>{Sm(xI).scriptName("goldsky").usage("$0 <cmd> args").check(e=>{if(e.nameAndVersion&&!bI(e._.join(" "))&&!e.nameAndVersion.match(/^.*\/.*$/))throw new Error(`The provided <nameAndValue> "${e.nameAndVersion}" does not match the "name/version" pattern, such as "my-subgraph/1.0.0".`);return!0}).option("apiHost",{alias:"api-host",describe:"Goldsky API host path",type:"string",default:Pl.API_URL,hidden:!0}).option("token",{describe:"CLI Auth Token",type:"string",default:""}).command(Pp).command(Bp).command(mh).version(Il.version).alias("v","version").alias("h","help").strict().demandCommand(1).middleware([e=>{Pl.ApiFetch.setApiHost(e.apiHost),e.token&&za(e.token)}]).showHelpOnFail(!0).argv});
|
|
258
258
|
/*!
|
|
259
259
|
* mime-db
|
|
260
260
|
* Copyright(c) 2014 Jonathan Ong
|